@covalent/echarts 4.0.0 → 4.1.1-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -90
- package/bar/README.md +23 -21
- package/bar/bar.component.d.ts +30 -27
- package/bar/bar.module.d.ts +6 -1
- package/bar/covalent-echarts-bar.d.ts +2 -1
- package/bar/package.json +6 -7
- package/bar/{public-api.d.ts → public_api.d.ts} +0 -0
- package/base/README.md +26 -26
- package/base/axis/axis.component.d.ts +32 -29
- package/base/axis/x-axis.component.d.ts +3 -0
- package/base/axis/y-axis.component.d.ts +3 -0
- package/base/base.module.d.ts +9 -1
- package/base/chart-options.service.d.ts +3 -0
- package/base/chart.component.d.ts +6 -3
- package/base/covalent-echarts-base.d.ts +2 -2
- package/base/dataset/dataset.component.d.ts +8 -5
- package/base/package.json +6 -7
- package/base/{public-api.d.ts → public_api.d.ts} +0 -0
- package/base/series/series.component.d.ts +18 -15
- package/base/{axis → src/axis}/README.md +19 -19
- package/base/{dataset → src/dataset}/README.md +19 -16
- package/covalent-echarts.d.ts +2 -1
- package/esm2020/bar/bar.component.mjs +135 -0
- package/esm2020/bar/bar.module.mjs +19 -0
- package/esm2020/bar/covalent-echarts-bar.mjs +5 -0
- package/esm2020/bar/public_api.mjs +3 -0
- package/esm2020/base/axis/axis.component.mjs +127 -0
- package/esm2020/base/axis/axis.interface.mjs +2 -0
- package/esm2020/base/axis/x-axis.component.mjs +55 -0
- package/esm2020/base/axis/y-axis.component.mjs +55 -0
- package/esm2020/base/base.module.mjs +35 -0
- package/esm2020/base/base.types.mjs +2 -0
- package/esm2020/base/chart-options.service.mjs +65 -0
- package/esm2020/base/chart.component.mjs +195 -0
- package/esm2020/base/covalent-echarts-base.mjs +5 -0
- package/esm2020/base/dataset/dataset.component.mjs +52 -0
- package/esm2020/base/public_api.mjs +10 -0
- package/esm2020/base/series/series.component.mjs +91 -0
- package/esm2020/base/series/series.interface.mjs +2 -0
- package/esm2020/base/themes/aqua-splash.mjs +487 -0
- package/esm2020/base/themes/california-coast.mjs +460 -0
- package/esm2020/base/themes/hawaiian-sunrise.mjs +460 -0
- package/esm2020/base/themes/passion-flower.mjs +460 -0
- package/esm2020/base/themes/razzleberry-pie.mjs +487 -0
- package/esm2020/base/themes/teradata-classic.mjs +487 -0
- package/{esm2015/base/themes/razzleberry-pie.js → esm2020/base/themes/teradata-default.mjs} +30 -35
- package/esm2020/base/themes/urban-sunrise.mjs +460 -0
- package/esm2020/base/themes/volcanic-eruption.mjs +460 -0
- package/esm2020/base/utils/assign-defined.mjs +25 -0
- package/esm2020/base/utils/echarts.mjs +49 -0
- package/esm2020/base/utils/index.mjs +3 -0
- package/esm2020/covalent-echarts.mjs +5 -0
- package/esm2020/graph/covalent-echarts-graph.mjs +5 -0
- package/esm2020/graph/graph.component.mjs +185 -0
- package/esm2020/graph/graph.module.mjs +21 -0
- package/esm2020/graph/public_api.mjs +3 -0
- package/esm2020/line/covalent-echarts-line.mjs +5 -0
- package/esm2020/line/line.component.mjs +159 -0
- package/esm2020/line/line.module.mjs +19 -0
- package/esm2020/line/public_api.mjs +3 -0
- package/esm2020/map/covalent-echarts-map.mjs +5 -0
- package/esm2020/map/map.component.mjs +132 -0
- package/esm2020/map/map.module.mjs +19 -0
- package/esm2020/map/public_api.mjs +3 -0
- package/esm2020/pie/covalent-echarts-pie.mjs +5 -0
- package/esm2020/pie/pie.component.mjs +127 -0
- package/esm2020/pie/pie.module.mjs +19 -0
- package/esm2020/pie/public_api.mjs +3 -0
- package/esm2020/public_api.mjs +2 -0
- package/esm2020/sankey/covalent-echarts-sankey.mjs +5 -0
- package/esm2020/sankey/public_api.mjs +3 -0
- package/esm2020/sankey/sankey.component.mjs +117 -0
- package/esm2020/sankey/sankey.module.mjs +21 -0
- package/esm2020/scatter/covalent-echarts-scatter.mjs +5 -0
- package/esm2020/scatter/public_api.mjs +3 -0
- package/esm2020/scatter/scatter.component.mjs +144 -0
- package/esm2020/scatter/scatter.module.mjs +21 -0
- package/esm2020/toolbox/covalent-echarts-toolbox.mjs +5 -0
- package/esm2020/toolbox/public_api.mjs +3 -0
- package/esm2020/toolbox/toolbox.component.mjs +135 -0
- package/esm2020/toolbox/toolbox.module.mjs +24 -0
- package/esm2020/tooltip/covalent-echarts-tooltip.mjs +5 -0
- package/esm2020/tooltip/public_api.mjs +4 -0
- package/esm2020/tooltip/series-tooltip.component.mjs +102 -0
- package/esm2020/tooltip/tooltip.component.mjs +156 -0
- package/esm2020/tooltip/tooltip.module.mjs +28 -0
- package/esm2020/tree/covalent-echarts-tree.mjs +5 -0
- package/esm2020/tree/public_api.mjs +3 -0
- package/esm2020/tree/tree.component.mjs +117 -0
- package/esm2020/tree/tree.module.mjs +19 -0
- package/esm2020/treemap/covalent-echarts-treemap.mjs +5 -0
- package/esm2020/treemap/public_api.mjs +3 -0
- package/esm2020/treemap/treemap.component.mjs +149 -0
- package/esm2020/treemap/treemap.module.mjs +21 -0
- package/esm2020/wordcloud/covalent-echarts-wordcloud.mjs +5 -0
- package/esm2020/wordcloud/public_api.mjs +3 -0
- package/esm2020/wordcloud/wordcloud.component.mjs +92 -0
- package/esm2020/wordcloud/wordcloud.module.mjs +21 -0
- package/fesm2015/covalent-echarts-bar.mjs +158 -0
- package/fesm2015/covalent-echarts-bar.mjs.map +1 -0
- package/fesm2015/{covalent-echarts-base.js → covalent-echarts-base.mjs} +390 -856
- package/fesm2015/covalent-echarts-base.mjs.map +1 -0
- package/fesm2015/covalent-echarts-graph.mjs +210 -0
- package/fesm2015/covalent-echarts-graph.mjs.map +1 -0
- package/fesm2015/covalent-echarts-line.mjs +182 -0
- package/fesm2015/covalent-echarts-line.mjs.map +1 -0
- package/fesm2015/covalent-echarts-map.mjs +155 -0
- package/fesm2015/covalent-echarts-map.mjs.map +1 -0
- package/fesm2015/covalent-echarts-pie.mjs +150 -0
- package/fesm2015/covalent-echarts-pie.mjs.map +1 -0
- package/fesm2015/covalent-echarts-sankey.mjs +142 -0
- package/fesm2015/covalent-echarts-sankey.mjs.map +1 -0
- package/fesm2015/covalent-echarts-scatter.mjs +169 -0
- package/fesm2015/covalent-echarts-scatter.mjs.map +1 -0
- package/fesm2015/covalent-echarts-toolbox.mjs +158 -0
- package/fesm2015/covalent-echarts-toolbox.mjs.map +1 -0
- package/fesm2015/covalent-echarts-tooltip.mjs +283 -0
- package/fesm2015/covalent-echarts-tooltip.mjs.map +1 -0
- package/fesm2015/covalent-echarts-tree.mjs +140 -0
- package/fesm2015/covalent-echarts-tree.mjs.map +1 -0
- package/fesm2015/covalent-echarts-treemap.mjs +174 -0
- package/fesm2015/covalent-echarts-treemap.mjs.map +1 -0
- package/fesm2015/covalent-echarts-wordcloud.mjs +117 -0
- package/fesm2015/covalent-echarts-wordcloud.mjs.map +1 -0
- package/fesm2015/covalent-echarts.mjs +4 -0
- package/fesm2015/covalent-echarts.mjs.map +1 -0
- package/fesm2020/covalent-echarts-bar.mjs +158 -0
- package/fesm2020/covalent-echarts-bar.mjs.map +1 -0
- package/fesm2020/covalent-echarts-base.mjs +4930 -0
- package/fesm2020/covalent-echarts-base.mjs.map +1 -0
- package/fesm2020/covalent-echarts-graph.mjs +210 -0
- package/fesm2020/covalent-echarts-graph.mjs.map +1 -0
- package/fesm2020/covalent-echarts-line.mjs +182 -0
- package/fesm2020/covalent-echarts-line.mjs.map +1 -0
- package/fesm2020/covalent-echarts-map.mjs +155 -0
- package/fesm2020/covalent-echarts-map.mjs.map +1 -0
- package/fesm2020/covalent-echarts-pie.mjs +150 -0
- package/fesm2020/covalent-echarts-pie.mjs.map +1 -0
- package/fesm2020/covalent-echarts-sankey.mjs +142 -0
- package/fesm2020/covalent-echarts-sankey.mjs.map +1 -0
- package/fesm2020/covalent-echarts-scatter.mjs +169 -0
- package/fesm2020/covalent-echarts-scatter.mjs.map +1 -0
- package/fesm2020/covalent-echarts-toolbox.mjs +163 -0
- package/fesm2020/covalent-echarts-toolbox.mjs.map +1 -0
- package/fesm2020/covalent-echarts-tooltip.mjs +283 -0
- package/fesm2020/covalent-echarts-tooltip.mjs.map +1 -0
- package/fesm2020/covalent-echarts-tree.mjs +140 -0
- package/fesm2020/covalent-echarts-tree.mjs.map +1 -0
- package/fesm2020/covalent-echarts-treemap.mjs +174 -0
- package/fesm2020/covalent-echarts-treemap.mjs.map +1 -0
- package/fesm2020/covalent-echarts-wordcloud.mjs +117 -0
- package/fesm2020/covalent-echarts-wordcloud.mjs.map +1 -0
- package/fesm2020/covalent-echarts.mjs +4 -0
- package/fesm2020/covalent-echarts.mjs.map +1 -0
- package/graph/README.md +21 -19
- package/graph/covalent-echarts-graph.d.ts +2 -1
- package/graph/graph.component.d.ts +63 -60
- package/graph/graph.module.d.ts +6 -1
- package/graph/package.json +6 -7
- package/graph/{public-api.d.ts → public_api.d.ts} +0 -0
- package/line/README.md +19 -21
- package/line/covalent-echarts-line.d.ts +2 -1
- package/line/line.component.d.ts +38 -35
- package/line/line.module.d.ts +6 -1
- package/line/package.json +6 -7
- package/line/{public-api.d.ts → public_api.d.ts} +0 -0
- package/map/README.md +19 -17
- package/map/covalent-echarts-map.d.ts +2 -1
- package/map/map.component.d.ts +30 -27
- package/map/map.module.d.ts +6 -1
- package/map/package.json +6 -7
- package/map/{public-api.d.ts → public_api.d.ts} +0 -0
- package/package.json +130 -31
- package/pie/README.md +17 -15
- package/pie/covalent-echarts-pie.d.ts +2 -1
- package/pie/package.json +6 -7
- package/pie/pie.component.d.ts +29 -26
- package/pie/pie.module.d.ts +6 -1
- package/pie/{public-api.d.ts → public_api.d.ts} +0 -0
- package/{index.d.ts → public_api.d.ts} +0 -0
- package/sankey/README.md +22 -20
- package/sankey/covalent-echarts-sankey.d.ts +2 -1
- package/sankey/package.json +6 -7
- package/sankey/{public-api.d.ts → public_api.d.ts} +0 -0
- package/sankey/sankey.component.d.ts +25 -22
- package/sankey/sankey.module.d.ts +6 -1
- package/scatter/README.md +19 -21
- package/scatter/covalent-echarts-scatter.d.ts +2 -1
- package/scatter/package.json +6 -7
- package/scatter/{public-api.d.ts → public_api.d.ts} +0 -0
- package/scatter/scatter.component.d.ts +34 -31
- package/scatter/scatter.module.d.ts +6 -1
- package/toolbox/README.md +12 -11
- package/toolbox/covalent-echarts-toolbox.d.ts +2 -1
- package/toolbox/package.json +6 -7
- package/toolbox/{public-api.d.ts → public_api.d.ts} +0 -0
- package/toolbox/toolbox.component.d.ts +15 -10
- package/toolbox/toolbox.module.d.ts +6 -1
- package/tooltip/README.md +30 -26
- package/tooltip/covalent-echarts-tooltip.d.ts +2 -1
- package/tooltip/package.json +6 -7
- package/tooltip/{public-api.d.ts → public_api.d.ts} +0 -0
- package/tooltip/series-tooltip.component.d.ts +14 -9
- package/tooltip/tooltip.component.d.ts +21 -16
- package/tooltip/tooltip.module.d.ts +7 -1
- package/tree/README.md +20 -18
- package/tree/covalent-echarts-tree.d.ts +2 -1
- package/tree/package.json +6 -7
- package/tree/{public-api.d.ts → public_api.d.ts} +0 -0
- package/tree/tree.component.d.ts +27 -24
- package/tree/tree.module.d.ts +6 -1
- package/treemap/README.md +23 -21
- package/treemap/covalent-echarts-treemap.d.ts +2 -1
- package/treemap/package.json +6 -7
- package/treemap/{public-api.d.ts → public_api.d.ts} +0 -0
- package/treemap/treemap.component.d.ts +40 -37
- package/treemap/treemap.module.d.ts +6 -1
- package/wordcloud/README.md +25 -23
- package/wordcloud/covalent-echarts-wordcloud.d.ts +2 -1
- package/wordcloud/package.json +6 -7
- package/wordcloud/{public-api.d.ts → public_api.d.ts} +0 -0
- package/wordcloud/wordcloud.component.d.ts +17 -14
- package/wordcloud/wordcloud.module.d.ts +6 -1
- package/bar/covalent-echarts-bar.metadata.json +0 -1
- package/bar/index.d.ts +0 -1
- package/base/chart.component.scss +0 -4
- package/base/covalent-echarts-base.metadata.json +0 -1
- package/base/index.d.ts +0 -1
- package/bundles/covalent-echarts-bar.umd.js +0 -588
- package/bundles/covalent-echarts-bar.umd.js.map +0 -1
- package/bundles/covalent-echarts-bar.umd.min.js +0 -16
- package/bundles/covalent-echarts-bar.umd.min.js.map +0 -1
- package/bundles/covalent-echarts-base.umd.js +0 -5750
- package/bundles/covalent-echarts-base.umd.js.map +0 -1
- package/bundles/covalent-echarts-base.umd.min.js +0 -16
- package/bundles/covalent-echarts-base.umd.min.js.map +0 -1
- package/bundles/covalent-echarts-graph.umd.js +0 -745
- package/bundles/covalent-echarts-graph.umd.js.map +0 -1
- package/bundles/covalent-echarts-graph.umd.min.js +0 -16
- package/bundles/covalent-echarts-graph.umd.min.js.map +0 -1
- package/bundles/covalent-echarts-line.umd.js +0 -638
- package/bundles/covalent-echarts-line.umd.js.map +0 -1
- package/bundles/covalent-echarts-line.umd.min.js +0 -16
- package/bundles/covalent-echarts-line.umd.min.js.map +0 -1
- package/bundles/covalent-echarts-map.umd.js +0 -600
- package/bundles/covalent-echarts-map.umd.js.map +0 -1
- package/bundles/covalent-echarts-map.umd.min.js +0 -16
- package/bundles/covalent-echarts-map.umd.min.js.map +0 -1
- package/bundles/covalent-echarts-pie.umd.js +0 -574
- package/bundles/covalent-echarts-pie.umd.js.map +0 -1
- package/bundles/covalent-echarts-pie.umd.min.js +0 -16
- package/bundles/covalent-echarts-pie.umd.min.js.map +0 -1
- package/bundles/covalent-echarts-sankey.umd.js +0 -570
- package/bundles/covalent-echarts-sankey.umd.js.map +0 -1
- package/bundles/covalent-echarts-sankey.umd.min.js +0 -16
- package/bundles/covalent-echarts-sankey.umd.min.js.map +0 -1
- package/bundles/covalent-echarts-scatter.umd.js +0 -610
- package/bundles/covalent-echarts-scatter.umd.js.map +0 -1
- package/bundles/covalent-echarts-scatter.umd.min.js +0 -16
- package/bundles/covalent-echarts-scatter.umd.min.js.map +0 -1
- package/bundles/covalent-echarts-toolbox.umd.js +0 -460
- package/bundles/covalent-echarts-toolbox.umd.js.map +0 -1
- package/bundles/covalent-echarts-toolbox.umd.min.js +0 -2
- package/bundles/covalent-echarts-toolbox.umd.min.js.map +0 -1
- package/bundles/covalent-echarts-tooltip.umd.js +0 -476
- package/bundles/covalent-echarts-tooltip.umd.js.map +0 -1
- package/bundles/covalent-echarts-tooltip.umd.min.js +0 -2
- package/bundles/covalent-echarts-tooltip.umd.min.js.map +0 -1
- package/bundles/covalent-echarts-tree.umd.js +0 -584
- package/bundles/covalent-echarts-tree.umd.js.map +0 -1
- package/bundles/covalent-echarts-tree.umd.min.js +0 -16
- package/bundles/covalent-echarts-tree.umd.min.js.map +0 -1
- package/bundles/covalent-echarts-treemap.umd.js +0 -728
- package/bundles/covalent-echarts-treemap.umd.js.map +0 -1
- package/bundles/covalent-echarts-treemap.umd.min.js +0 -16
- package/bundles/covalent-echarts-treemap.umd.min.js.map +0 -1
- package/bundles/covalent-echarts-wordcloud.umd.js +0 -521
- package/bundles/covalent-echarts-wordcloud.umd.js.map +0 -1
- package/bundles/covalent-echarts-wordcloud.umd.min.js +0 -16
- package/bundles/covalent-echarts-wordcloud.umd.min.js.map +0 -1
- package/bundles/covalent-echarts.umd.js +0 -9
- package/bundles/covalent-echarts.umd.js.map +0 -1
- package/bundles/covalent-echarts.umd.min.js +0 -2
- package/bundles/covalent-echarts.umd.min.js.map +0 -1
- package/covalent-echarts.metadata.json +0 -1
- package/esm2015/bar/bar.component.js +0 -241
- package/esm2015/bar/bar.module.js +0 -21
- package/esm2015/bar/covalent-echarts-bar.js +0 -10
- package/esm2015/bar/index.js +0 -7
- package/esm2015/bar/public-api.js +0 -8
- package/esm2015/base/axis/axis.component.js +0 -209
- package/esm2015/base/axis/axis.interface.js +0 -324
- package/esm2015/base/axis/x-axis.component.js +0 -67
- package/esm2015/base/axis/y-axis.component.js +0 -67
- package/esm2015/base/base.module.js +0 -31
- package/esm2015/base/base.types.js +0 -278
- package/esm2015/base/chart-options.service.js +0 -115
- package/esm2015/base/chart.component.js +0 -354
- package/esm2015/base/covalent-echarts-base.js +0 -11
- package/esm2015/base/dataset/dataset.component.js +0 -93
- package/esm2015/base/index.js +0 -7
- package/esm2015/base/public-api.js +0 -15
- package/esm2015/base/series/series.component.js +0 -187
- package/esm2015/base/series/series.interface.js +0 -178
- package/esm2015/base/themes/aqua-splash.js +0 -465
- package/esm2015/base/themes/california-coast.js +0 -465
- package/esm2015/base/themes/hawaiian-sunrise.js +0 -465
- package/esm2015/base/themes/passion-flower.js +0 -465
- package/esm2015/base/themes/teradata-classic.js +0 -465
- package/esm2015/base/themes/teradata-default.js +0 -465
- package/esm2015/base/themes/urban-sunrise.js +0 -465
- package/esm2015/base/themes/volcanic-eruption.js +0 -465
- package/esm2015/base/utils/assign-defined.js +0 -37
- package/esm2015/base/utils/echarts.js +0 -60
- package/esm2015/base/utils/index.js +0 -8
- package/esm2015/covalent-echarts.js +0 -10
- package/esm2015/graph/covalent-echarts-graph.js +0 -10
- package/esm2015/graph/graph.component.js +0 -398
- package/esm2015/graph/graph.module.js +0 -21
- package/esm2015/graph/index.js +0 -7
- package/esm2015/graph/public-api.js +0 -8
- package/esm2015/index.js +0 -7
- package/esm2015/line/covalent-echarts-line.js +0 -10
- package/esm2015/line/index.js +0 -7
- package/esm2015/line/line.component.js +0 -291
- package/esm2015/line/line.module.js +0 -21
- package/esm2015/line/public-api.js +0 -8
- package/esm2015/map/covalent-echarts-map.js +0 -10
- package/esm2015/map/index.js +0 -7
- package/esm2015/map/map.component.js +0 -253
- package/esm2015/map/map.module.js +0 -21
- package/esm2015/map/public-api.js +0 -8
- package/esm2015/pie/covalent-echarts-pie.js +0 -10
- package/esm2015/pie/index.js +0 -7
- package/esm2015/pie/pie.component.js +0 -227
- package/esm2015/pie/pie.module.js +0 -21
- package/esm2015/pie/public-api.js +0 -8
- package/esm2015/sankey/covalent-echarts-sankey.js +0 -10
- package/esm2015/sankey/index.js +0 -7
- package/esm2015/sankey/public-api.js +0 -8
- package/esm2015/sankey/sankey.component.js +0 -223
- package/esm2015/sankey/sankey.module.js +0 -21
- package/esm2015/scatter/covalent-echarts-scatter.js +0 -10
- package/esm2015/scatter/index.js +0 -7
- package/esm2015/scatter/public-api.js +0 -8
- package/esm2015/scatter/scatter.component.js +0 -263
- package/esm2015/scatter/scatter.module.js +0 -21
- package/esm2015/toolbox/covalent-echarts-toolbox.js +0 -10
- package/esm2015/toolbox/index.js +0 -7
- package/esm2015/toolbox/public-api.js +0 -8
- package/esm2015/toolbox/toolbox.component.js +0 -405
- package/esm2015/toolbox/toolbox.module.js +0 -21
- package/esm2015/tooltip/covalent-echarts-tooltip.js +0 -10
- package/esm2015/tooltip/index.js +0 -7
- package/esm2015/tooltip/public-api.js +0 -9
- package/esm2015/tooltip/series-tooltip.component.js +0 -170
- package/esm2015/tooltip/tooltip.component.js +0 -246
- package/esm2015/tooltip/tooltip.module.js +0 -26
- package/esm2015/tree/covalent-echarts-tree.js +0 -10
- package/esm2015/tree/index.js +0 -7
- package/esm2015/tree/public-api.js +0 -8
- package/esm2015/tree/tree.component.js +0 -237
- package/esm2015/tree/tree.module.js +0 -21
- package/esm2015/treemap/covalent-echarts-treemap.js +0 -10
- package/esm2015/treemap/index.js +0 -7
- package/esm2015/treemap/public-api.js +0 -8
- package/esm2015/treemap/treemap.component.js +0 -380
- package/esm2015/treemap/treemap.module.js +0 -21
- package/esm2015/wordcloud/covalent-echarts-wordcloud.js +0 -10
- package/esm2015/wordcloud/index.js +0 -7
- package/esm2015/wordcloud/public-api.js +0 -8
- package/esm2015/wordcloud/wordcloud.component.js +0 -174
- package/esm2015/wordcloud/wordcloud.module.js +0 -21
- package/fesm2015/covalent-echarts-bar.js +0 -281
- package/fesm2015/covalent-echarts-bar.js.map +0 -1
- package/fesm2015/covalent-echarts-base.js.map +0 -1
- package/fesm2015/covalent-echarts-graph.js +0 -438
- package/fesm2015/covalent-echarts-graph.js.map +0 -1
- package/fesm2015/covalent-echarts-line.js +0 -331
- package/fesm2015/covalent-echarts-line.js.map +0 -1
- package/fesm2015/covalent-echarts-map.js +0 -293
- package/fesm2015/covalent-echarts-map.js.map +0 -1
- package/fesm2015/covalent-echarts-pie.js +0 -267
- package/fesm2015/covalent-echarts-pie.js.map +0 -1
- package/fesm2015/covalent-echarts-sankey.js +0 -263
- package/fesm2015/covalent-echarts-sankey.js.map +0 -1
- package/fesm2015/covalent-echarts-scatter.js +0 -303
- package/fesm2015/covalent-echarts-scatter.js.map +0 -1
- package/fesm2015/covalent-echarts-toolbox.js +0 -445
- package/fesm2015/covalent-echarts-toolbox.js.map +0 -1
- package/fesm2015/covalent-echarts-tooltip.js +0 -457
- package/fesm2015/covalent-echarts-tooltip.js.map +0 -1
- package/fesm2015/covalent-echarts-tree.js +0 -277
- package/fesm2015/covalent-echarts-tree.js.map +0 -1
- package/fesm2015/covalent-echarts-treemap.js +0 -420
- package/fesm2015/covalent-echarts-treemap.js.map +0 -1
- package/fesm2015/covalent-echarts-wordcloud.js +0 -214
- package/fesm2015/covalent-echarts-wordcloud.js.map +0 -1
- package/fesm2015/covalent-echarts.js +0 -12
- package/fesm2015/covalent-echarts.js.map +0 -1
- package/graph/covalent-echarts-graph.metadata.json +0 -1
- package/graph/index.d.ts +0 -1
- package/line/covalent-echarts-line.metadata.json +0 -1
- package/line/index.d.ts +0 -1
- package/map/covalent-echarts-map.metadata.json +0 -1
- package/map/index.d.ts +0 -1
- package/pie/covalent-echarts-pie.metadata.json +0 -1
- package/pie/index.d.ts +0 -1
- package/sankey/covalent-echarts-sankey.metadata.json +0 -1
- package/sankey/index.d.ts +0 -1
- package/scatter/covalent-echarts-scatter.metadata.json +0 -1
- package/scatter/index.d.ts +0 -1
- package/toolbox/covalent-echarts-toolbox.metadata.json +0 -1
- package/toolbox/index.d.ts +0 -1
- package/tooltip/covalent-echarts-tooltip.metadata.json +0 -1
- package/tooltip/index.d.ts +0 -1
- package/tree/covalent-echarts-tree.metadata.json +0 -1
- package/tree/index.d.ts +0 -1
- package/treemap/covalent-echarts-treemap.metadata.json +0 -1
- package/treemap/index.d.ts +0 -1
- package/wordcloud/covalent-echarts-wordcloud.metadata.json +0 -1
- package/wordcloud/index.d.ts +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"covalent-echarts-tree.mjs","sources":["../../../../libs/angular-echarts/tree/src/tree.component.ts","../../../../libs/angular-echarts/tree/src/tree.module.ts","../../../../libs/angular-echarts/tree/src/covalent-echarts-tree.ts"],"sourcesContent":["import {\n Component,\n Input,\n ChangeDetectionStrategy,\n forwardRef,\n} from '@angular/core';\n\nimport {\n TdChartOptionsService,\n ITdItemStyle,\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\n extends TdSeriesDirective\n implements ITdTreeSeries\n{\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 './public_api';\n"],"names":[],"mappings":";;;;;;MA0Ga,0BACX,SAAQ,iBAAiB;IA0BzB,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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S;sBAAjB,KAAK;gBACG,MAAM;sBAAd,KAAK;gBACG,QAAQ;sBAAhB,KAAK;;;MC9HK,sBAAsB,GAAgB,CAAC,0BAA0B,EAAE;MAOnE,yBAAyB;;sHAAzB,yBAAyB;uHAAzB,yBAAyB,iBAPc,0BAA0B,aAGlE,YAAY,aAH4B,0BAA0B;uHAOjE,yBAAyB,YAJ3B,CAAC,YAAY,CAAC;2FAIZ,yBAAyB;kBALrC,QAAQ;mBAAC;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,YAAY,EAAE,CAAC,sBAAsB,CAAC;oBACtC,OAAO,EAAE,CAAC,sBAAsB,CAAC;iBAClC;;;ACXD;;;;;;"}
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { forwardRef, Component, ChangeDetectionStrategy, Input, NgModule } from '@angular/core';
|
|
3
|
+
import { CommonModule } from '@angular/common';
|
|
4
|
+
import * as i1 from '@covalent/echarts/base';
|
|
5
|
+
import { TdSeriesDirective } from '@covalent/echarts/base';
|
|
6
|
+
|
|
7
|
+
class TdChartSeriesTreemapComponent extends TdSeriesDirective {
|
|
8
|
+
constructor(_optionsService) {
|
|
9
|
+
super('treemap', _optionsService);
|
|
10
|
+
this.config = {};
|
|
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
|
+
squareRatio: this.squareRatio,
|
|
23
|
+
leafDepth: this.leafDepth,
|
|
24
|
+
drillDownIcon: this.drillDownIcon,
|
|
25
|
+
roam: this.roam,
|
|
26
|
+
nodeClick: this.nodeClick,
|
|
27
|
+
zoomToNodeRatio: this.zoomToNodeRatio,
|
|
28
|
+
levels: this.levels,
|
|
29
|
+
silent: this.silent,
|
|
30
|
+
visualDimension: this.visualDimension,
|
|
31
|
+
visualMin: this.visualMin,
|
|
32
|
+
visualMax: this.visualMax,
|
|
33
|
+
colorAlpha: this.colorAlpha,
|
|
34
|
+
colorSaturation: this.colorSaturation,
|
|
35
|
+
colorMappingBy: this.colorMappingBy,
|
|
36
|
+
visibleMin: this.visibleMin,
|
|
37
|
+
childrenVisibleMin: this.childrenVisibleMin,
|
|
38
|
+
itemStyle: this.itemStyle,
|
|
39
|
+
label: this.label,
|
|
40
|
+
upperLabel: this.upperLabel,
|
|
41
|
+
breadcrumb: this.breadcrumb,
|
|
42
|
+
emphasis: this.emphasis,
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
TdChartSeriesTreemapComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdChartSeriesTreemapComponent, deps: [{ token: i1.TdChartOptionsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
47
|
+
TdChartSeriesTreemapComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: TdChartSeriesTreemapComponent, selector: "td-chart-series[td-treemap]", inputs: { config: "config", id: "id", name: "name", color: "color", data: "data", animation: "animation", animationThreshold: "animationThreshold", animationDuration: "animationDuration", animationEasing: "animationEasing", animationDelay: "animationDelay", animationDurationUpdate: "animationDurationUpdate", animationEasingUpdate: "animationEasingUpdate", animationDelayUpdate: "animationDelayUpdate", tooltip: "tooltip", zlevel: "zlevel", z: "z", left: "left", top: "top", right: "right", bottom: "bottom", width: "width", height: "height", squareRatio: "squareRatio", leafDepth: "leafDepth", drillDownIcon: "drillDownIcon", roam: "roam", nodeClick: "nodeClick", zoomToNodeRatio: "zoomToNodeRatio", levels: "levels", silent: "silent", visualDimension: "visualDimension", visualMin: "visualMin", visualMax: "visualMax", colorAlpha: "colorAlpha", colorSaturation: "colorSaturation", colorMappingBy: "colorMappingBy", visibleMin: "visibleMin", childrenVisibleMin: "childrenVisibleMin", itemStyle: "itemStyle", label: "label", upperLabel: "upperLabel", breadcrumb: "breadcrumb", emphasis: "emphasis" }, providers: [
|
|
48
|
+
{
|
|
49
|
+
provide: TdSeriesDirective,
|
|
50
|
+
useExisting: forwardRef(() => TdChartSeriesTreemapComponent),
|
|
51
|
+
},
|
|
52
|
+
], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
53
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdChartSeriesTreemapComponent, decorators: [{
|
|
54
|
+
type: Component,
|
|
55
|
+
args: [{
|
|
56
|
+
selector: 'td-chart-series[td-treemap]',
|
|
57
|
+
template: '',
|
|
58
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
59
|
+
inputs: [
|
|
60
|
+
'config',
|
|
61
|
+
'id',
|
|
62
|
+
'name',
|
|
63
|
+
'color',
|
|
64
|
+
'data',
|
|
65
|
+
'animation',
|
|
66
|
+
'animationThreshold',
|
|
67
|
+
'animationDuration',
|
|
68
|
+
'animationEasing',
|
|
69
|
+
'animationDelay',
|
|
70
|
+
'animationDurationUpdate',
|
|
71
|
+
'animationEasingUpdate',
|
|
72
|
+
'animationDelayUpdate',
|
|
73
|
+
'tooltip',
|
|
74
|
+
],
|
|
75
|
+
providers: [
|
|
76
|
+
{
|
|
77
|
+
provide: TdSeriesDirective,
|
|
78
|
+
useExisting: forwardRef(() => TdChartSeriesTreemapComponent),
|
|
79
|
+
},
|
|
80
|
+
],
|
|
81
|
+
}]
|
|
82
|
+
}], ctorParameters: function () { return [{ type: i1.TdChartOptionsService }]; }, propDecorators: { config: [{
|
|
83
|
+
type: Input
|
|
84
|
+
}], id: [{
|
|
85
|
+
type: Input
|
|
86
|
+
}], name: [{
|
|
87
|
+
type: Input
|
|
88
|
+
}], data: [{
|
|
89
|
+
type: Input
|
|
90
|
+
}], zlevel: [{
|
|
91
|
+
type: Input
|
|
92
|
+
}], z: [{
|
|
93
|
+
type: Input
|
|
94
|
+
}], left: [{
|
|
95
|
+
type: Input
|
|
96
|
+
}], top: [{
|
|
97
|
+
type: Input
|
|
98
|
+
}], right: [{
|
|
99
|
+
type: Input
|
|
100
|
+
}], bottom: [{
|
|
101
|
+
type: Input
|
|
102
|
+
}], width: [{
|
|
103
|
+
type: Input
|
|
104
|
+
}], height: [{
|
|
105
|
+
type: Input
|
|
106
|
+
}], squareRatio: [{
|
|
107
|
+
type: Input
|
|
108
|
+
}], leafDepth: [{
|
|
109
|
+
type: Input
|
|
110
|
+
}], drillDownIcon: [{
|
|
111
|
+
type: Input
|
|
112
|
+
}], roam: [{
|
|
113
|
+
type: Input
|
|
114
|
+
}], nodeClick: [{
|
|
115
|
+
type: Input
|
|
116
|
+
}], zoomToNodeRatio: [{
|
|
117
|
+
type: Input
|
|
118
|
+
}], levels: [{
|
|
119
|
+
type: Input
|
|
120
|
+
}], silent: [{
|
|
121
|
+
type: Input
|
|
122
|
+
}], visualDimension: [{
|
|
123
|
+
type: Input
|
|
124
|
+
}], visualMin: [{
|
|
125
|
+
type: Input
|
|
126
|
+
}], visualMax: [{
|
|
127
|
+
type: Input
|
|
128
|
+
}], colorAlpha: [{
|
|
129
|
+
type: Input
|
|
130
|
+
}], colorSaturation: [{
|
|
131
|
+
type: Input
|
|
132
|
+
}], colorMappingBy: [{
|
|
133
|
+
type: Input
|
|
134
|
+
}], visibleMin: [{
|
|
135
|
+
type: Input
|
|
136
|
+
}], childrenVisibleMin: [{
|
|
137
|
+
type: Input
|
|
138
|
+
}], itemStyle: [{
|
|
139
|
+
type: Input
|
|
140
|
+
}], label: [{
|
|
141
|
+
type: Input
|
|
142
|
+
}], upperLabel: [{
|
|
143
|
+
type: Input
|
|
144
|
+
}], breadcrumb: [{
|
|
145
|
+
type: Input
|
|
146
|
+
}], emphasis: [{
|
|
147
|
+
type: Input
|
|
148
|
+
}], tooltip: [{
|
|
149
|
+
type: Input
|
|
150
|
+
}] } });
|
|
151
|
+
|
|
152
|
+
const TREEMAP_MODULE_COMPONENTS = [
|
|
153
|
+
TdChartSeriesTreemapComponent,
|
|
154
|
+
];
|
|
155
|
+
class CovalentTreemapEchartsModule {
|
|
156
|
+
}
|
|
157
|
+
CovalentTreemapEchartsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentTreemapEchartsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
158
|
+
CovalentTreemapEchartsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentTreemapEchartsModule, declarations: [TdChartSeriesTreemapComponent], imports: [CommonModule], exports: [TdChartSeriesTreemapComponent] });
|
|
159
|
+
CovalentTreemapEchartsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentTreemapEchartsModule, imports: [[CommonModule]] });
|
|
160
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentTreemapEchartsModule, decorators: [{
|
|
161
|
+
type: NgModule,
|
|
162
|
+
args: [{
|
|
163
|
+
imports: [CommonModule],
|
|
164
|
+
declarations: [TREEMAP_MODULE_COMPONENTS],
|
|
165
|
+
exports: [TREEMAP_MODULE_COMPONENTS],
|
|
166
|
+
}]
|
|
167
|
+
}] });
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* Generated bundle index. Do not edit.
|
|
171
|
+
*/
|
|
172
|
+
|
|
173
|
+
export { CovalentTreemapEchartsModule, TREEMAP_MODULE_COMPONENTS, TdChartSeriesTreemapComponent };
|
|
174
|
+
//# sourceMappingURL=covalent-echarts-treemap.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"covalent-echarts-treemap.mjs","sources":["../../../../libs/angular-echarts/treemap/src/treemap.component.ts","../../../../libs/angular-echarts/treemap/src/treemap.module.ts","../../../../libs/angular-echarts/treemap/src/covalent-echarts-treemap.ts"],"sourcesContent":["import {\n Component,\n Input,\n ChangeDetectionStrategy,\n forwardRef,\n} from '@angular/core';\n\nimport {\n TdChartOptionsService,\n ITdItemStyle,\n ITdSeriesTooltip,\n ITdLabel,\n ITdSeries,\n TdSeriesDirective,\n ITdEmphasis,\n ITdShadow,\n} from '@covalent/echarts/base';\n\n/**\n * ECHART OPTION DOCS\n * https://ecomfe.github.io/echarts-examples/public/index.html#chart-type-treemap\n *\n */\n\nexport interface ITdTreemapEmphasisLineStyle extends ITdShadow {\n color?: any;\n width?: number;\n curveness?: number;\n}\n\nexport interface ITdTreemapEmphasis extends ITdEmphasis {\n lineStyle: ITdTreemapEmphasisLineStyle;\n}\n\nexport interface ITdTreemapUpperLabel {\n show?: boolean;\n position?: string | any[];\n distance?: string | number;\n rotate?: string | number;\n offset?: any[];\n formatter?: string;\n color?: any;\n fontStyle?: string;\n fontWeight?: string;\n fontFamily?: string;\n fontSize?: string | number;\n align?: string;\n verticalAlign?: string;\n lineHeight?: string | number;\n backgroundColor?: any;\n borderColor?: string;\n borderWidth?: string | number;\n borderRadius?: string | number;\n padding?: number | any[];\n shadowColor?: string;\n shadowBlur?: string | number;\n shadowOffsetX?: string | number;\n shadowOffsetY?: string | number;\n width?: string | number;\n height?: string | number;\n textBorderColor?: string;\n textBorderWidth?: string | number;\n textShadowColor?: string;\n textShadowBlur?: string | number;\n textShadowOffsetX?: string | number;\n textShadowOffsetY?: string | number;\n rich?: any;\n ellipsis?: any;\n}\n\nexport interface ITdTreemapBreadcrumb {\n show?: boolean;\n left?: string | number;\n top?: string | number;\n right?: string | number;\n bottom?: string | number;\n height?: string | number;\n emptyItemWidth?: string | number;\n itemStyle?: ITdItemStyle;\n emphasis?: ITdTreemapEmphasis;\n}\n\ninterface ITdTreemapSeries extends ITdSeries {\n zlevel?: number;\n z?: number;\n left?: string | number;\n top?: string | number;\n right?: string | number;\n bottom?: string | number;\n width?: string | number;\n height?: string | number;\n squareRatio?: string | number;\n leafDepth?: string | number;\n drillDownIcon?: string;\n roam?: boolean | string;\n nodeClick?: boolean | string;\n zoomToNodeRatio?: string | number;\n levels?: any[];\n silent?: boolean;\n visualDimension?: string | number;\n visualMin?: string | number;\n visualMax?: string | number;\n colorAlpha?: any[];\n colorSaturation?: string | number;\n colorMappingBy?: string;\n visibleMin?: string | number;\n childrenVisibleMin?: string | number;\n itemStyle?: ITdItemStyle;\n label?: ITdLabel;\n upperLabel?: ITdTreemapUpperLabel;\n breadcrumb?: ITdTreemapBreadcrumb;\n emphasis?: ITdTreemapEmphasis;\n data?: any[];\n}\n\n@Component({\n selector: 'td-chart-series[td-treemap]',\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush,\n inputs: [\n 'config',\n 'id',\n 'name',\n 'color',\n 'data',\n\n 'animation',\n 'animationThreshold',\n 'animationDuration',\n 'animationEasing',\n 'animationDelay',\n 'animationDurationUpdate',\n 'animationEasingUpdate',\n 'animationDelayUpdate',\n 'tooltip',\n ],\n providers: [\n {\n provide: TdSeriesDirective,\n useExisting: forwardRef(() => TdChartSeriesTreemapComponent),\n },\n ],\n})\nexport class TdChartSeriesTreemapComponent\n extends TdSeriesDirective\n implements ITdTreemapSeries\n{\n @Input() override config?: any = {};\n @Input() override id?: string;\n @Input() override name?: string;\n @Input() override data?: any;\n @Input() zlevel?: number;\n @Input() z?: number;\n @Input() left?: string | number;\n @Input() top?: string | number;\n @Input() right?: string | number;\n @Input() bottom?: string | number;\n @Input() width?: string | number;\n @Input() height?: string | number;\n @Input() squareRatio?: string | number;\n @Input() leafDepth?: string | number;\n @Input() drillDownIcon?: string;\n @Input() roam?: boolean | string;\n @Input() nodeClick?: boolean | string;\n @Input() zoomToNodeRatio?: string | number;\n @Input() levels?: any[];\n @Input() silent?: boolean;\n @Input() visualDimension?: string | number;\n @Input() visualMin?: string | number;\n @Input() visualMax?: string | number;\n @Input() colorAlpha?: any[];\n @Input() colorSaturation?: string | number;\n @Input() colorMappingBy?: string;\n @Input() visibleMin?: string | number;\n @Input() childrenVisibleMin?: string | number;\n @Input() itemStyle?: ITdItemStyle;\n @Input() label?: ITdLabel;\n @Input() upperLabel?: ITdTreemapUpperLabel;\n @Input() breadcrumb?: ITdTreemapBreadcrumb;\n @Input() emphasis?: ITdTreemapEmphasis;\n @Input() override tooltip?: ITdSeriesTooltip;\n\n constructor(_optionsService: TdChartOptionsService) {\n super('treemap', _optionsService);\n }\n\n getConfig(): any {\n return {\n zlevel: this.zlevel,\n z: this.z,\n left: this.left,\n top: this.top,\n right: this.right,\n bottom: this.bottom,\n width: this.width,\n height: this.height,\n squareRatio: this.squareRatio,\n leafDepth: this.leafDepth,\n drillDownIcon: this.drillDownIcon,\n roam: this.roam,\n nodeClick: this.nodeClick,\n zoomToNodeRatio: this.zoomToNodeRatio,\n levels: this.levels,\n silent: this.silent,\n visualDimension: this.visualDimension,\n visualMin: this.visualMin,\n visualMax: this.visualMax,\n colorAlpha: this.colorAlpha,\n colorSaturation: this.colorSaturation,\n colorMappingBy: this.colorMappingBy,\n visibleMin: this.visibleMin,\n childrenVisibleMin: this.childrenVisibleMin,\n itemStyle: this.itemStyle,\n label: this.label,\n upperLabel: this.upperLabel,\n breadcrumb: this.breadcrumb,\n emphasis: this.emphasis,\n };\n }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { TdChartSeriesTreemapComponent } from './treemap.component';\n\nexport const TREEMAP_MODULE_COMPONENTS: Type<any>[] = [\n TdChartSeriesTreemapComponent,\n];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [TREEMAP_MODULE_COMPONENTS],\n exports: [TREEMAP_MODULE_COMPONENTS],\n})\nexport class CovalentTreemapEchartsModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;MA+Ia,6BACX,SAAQ,iBAA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AAe;sBAAvB,KAAK;gBACG,cAAc;sBAAtB,KAAK;gBACG,UAAU;sBAAlB,KAAK;gBACG,kBAAkB;sBAA1B,KAAK;gBACG,SAAS;sBAAjB,KAAK;gBACG,KAAK;sBAAb,KAAK;gBACG,UAAU;sBAAlB,KAAK;gBACG,UAAU;sBAAlB,KAAK;gBACG,QAAQ;sBAAhB,KAAK;gBACY,OAAO;sBAAxB,KAAK;;;MC/KK,yBAAyB,GAAgB;IACpD,6BAA6B;EAC7B;MAOW,4BAA4B;;yHAA5B,4BAA4B;0HAA5B,4BAA4B,iBARvC,6BAA6B,aAInB,YAAY,aAJtB,6BAA6B;0HAQlB,4BAA4B,YAJ9B,CAAC,YAAY,CAAC;2FAIZ,4BAA4B;kBALxC,QAAQ;mBAAC;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,YAAY,EAAE,CAAC,yBAAyB,CAAC;oBACzC,OAAO,EAAE,CAAC,yBAAyB,CAAC;iBACrC;;;ACbD;;;;;;"}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { forwardRef, Component, ChangeDetectionStrategy, Input, NgModule } from '@angular/core';
|
|
3
|
+
import { CommonModule } from '@angular/common';
|
|
4
|
+
import * as i1 from '@covalent/echarts/base';
|
|
5
|
+
import { TdSeriesDirective } from '@covalent/echarts/base';
|
|
6
|
+
|
|
7
|
+
class TdChartSeriesWordcloudComponent extends TdSeriesDirective {
|
|
8
|
+
constructor(_optionsService) {
|
|
9
|
+
super('wordCloud', _optionsService);
|
|
10
|
+
}
|
|
11
|
+
getConfig() {
|
|
12
|
+
return {
|
|
13
|
+
shape: this.shape,
|
|
14
|
+
left: this.left,
|
|
15
|
+
top: this.top,
|
|
16
|
+
width: this.width,
|
|
17
|
+
height: this.height,
|
|
18
|
+
right: this.right,
|
|
19
|
+
bottom: this.bottom,
|
|
20
|
+
sizeRange: this.sizeRange,
|
|
21
|
+
rotationRange: this.rotationRange,
|
|
22
|
+
rotationStep: this.rotationStep,
|
|
23
|
+
gridSize: this.gridSize,
|
|
24
|
+
drawOutOfBound: this.drawOutOfBound,
|
|
25
|
+
textStyle: this.textStyle,
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
TdChartSeriesWordcloudComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdChartSeriesWordcloudComponent, deps: [{ token: i1.TdChartOptionsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
30
|
+
TdChartSeriesWordcloudComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: TdChartSeriesWordcloudComponent, selector: "td-chart-series[td-wordCloud]", inputs: { config: "config", id: "id", name: "name", color: "color", data: "data", animation: "animation", animationThreshold: "animationThreshold", animationDuration: "animationDuration", animationEasing: "animationEasing", animationDelay: "animationDelay", animationDurationUpdate: "animationDurationUpdate", animationEasingUpdate: "animationEasingUpdate", animationDelayUpdate: "animationDelayUpdate", tooltip: "tooltip", shape: "shape", left: "left", top: "top", width: "width", height: "height", right: "right", bottom: "bottom", sizeRange: "sizeRange", rotationRange: "rotationRange", rotationStep: "rotationStep", gridSize: "gridSize", drawOutOfBound: "drawOutOfBound", textStyle: "textStyle" }, providers: [
|
|
31
|
+
{
|
|
32
|
+
provide: TdSeriesDirective,
|
|
33
|
+
useExisting: forwardRef(() => TdChartSeriesWordcloudComponent),
|
|
34
|
+
},
|
|
35
|
+
], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
36
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdChartSeriesWordcloudComponent, decorators: [{
|
|
37
|
+
type: Component,
|
|
38
|
+
args: [{
|
|
39
|
+
selector: 'td-chart-series[td-wordCloud]',
|
|
40
|
+
template: '',
|
|
41
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
42
|
+
inputs: [
|
|
43
|
+
'config',
|
|
44
|
+
'id',
|
|
45
|
+
'name',
|
|
46
|
+
'color',
|
|
47
|
+
'data',
|
|
48
|
+
'animation',
|
|
49
|
+
'animationThreshold',
|
|
50
|
+
'animationDuration',
|
|
51
|
+
'animationEasing',
|
|
52
|
+
'animationDelay',
|
|
53
|
+
'animationDurationUpdate',
|
|
54
|
+
'animationEasingUpdate',
|
|
55
|
+
'animationDelayUpdate',
|
|
56
|
+
'tooltip',
|
|
57
|
+
],
|
|
58
|
+
providers: [
|
|
59
|
+
{
|
|
60
|
+
provide: TdSeriesDirective,
|
|
61
|
+
useExisting: forwardRef(() => TdChartSeriesWordcloudComponent),
|
|
62
|
+
},
|
|
63
|
+
],
|
|
64
|
+
}]
|
|
65
|
+
}], ctorParameters: function () { return [{ type: i1.TdChartOptionsService }]; }, propDecorators: { data: [{
|
|
66
|
+
type: Input
|
|
67
|
+
}], shape: [{
|
|
68
|
+
type: Input
|
|
69
|
+
}], left: [{
|
|
70
|
+
type: Input
|
|
71
|
+
}], top: [{
|
|
72
|
+
type: Input
|
|
73
|
+
}], width: [{
|
|
74
|
+
type: Input
|
|
75
|
+
}], height: [{
|
|
76
|
+
type: Input
|
|
77
|
+
}], right: [{
|
|
78
|
+
type: Input
|
|
79
|
+
}], bottom: [{
|
|
80
|
+
type: Input
|
|
81
|
+
}], sizeRange: [{
|
|
82
|
+
type: Input
|
|
83
|
+
}], rotationRange: [{
|
|
84
|
+
type: Input
|
|
85
|
+
}], rotationStep: [{
|
|
86
|
+
type: Input
|
|
87
|
+
}], gridSize: [{
|
|
88
|
+
type: Input
|
|
89
|
+
}], drawOutOfBound: [{
|
|
90
|
+
type: Input
|
|
91
|
+
}], textStyle: [{
|
|
92
|
+
type: Input
|
|
93
|
+
}] } });
|
|
94
|
+
|
|
95
|
+
const WORDCLOUD_MODULE_COMPONENTS = [
|
|
96
|
+
TdChartSeriesWordcloudComponent,
|
|
97
|
+
];
|
|
98
|
+
class CovalentWordcloudEchartsModule {
|
|
99
|
+
}
|
|
100
|
+
CovalentWordcloudEchartsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentWordcloudEchartsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
101
|
+
CovalentWordcloudEchartsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentWordcloudEchartsModule, declarations: [TdChartSeriesWordcloudComponent], imports: [CommonModule], exports: [TdChartSeriesWordcloudComponent] });
|
|
102
|
+
CovalentWordcloudEchartsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentWordcloudEchartsModule, imports: [[CommonModule]] });
|
|
103
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentWordcloudEchartsModule, decorators: [{
|
|
104
|
+
type: NgModule,
|
|
105
|
+
args: [{
|
|
106
|
+
imports: [CommonModule],
|
|
107
|
+
declarations: [WORDCLOUD_MODULE_COMPONENTS],
|
|
108
|
+
exports: [WORDCLOUD_MODULE_COMPONENTS],
|
|
109
|
+
}]
|
|
110
|
+
}] });
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* Generated bundle index. Do not edit.
|
|
114
|
+
*/
|
|
115
|
+
|
|
116
|
+
export { CovalentWordcloudEchartsModule, TdChartSeriesWordcloudComponent, WORDCLOUD_MODULE_COMPONENTS };
|
|
117
|
+
//# sourceMappingURL=covalent-echarts-wordcloud.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"covalent-echarts-wordcloud.mjs","sources":["../../../../libs/angular-echarts/wordcloud/src/wordcloud.component.ts","../../../../libs/angular-echarts/wordcloud/src/wordcloud.module.ts","../../../../libs/angular-echarts/wordcloud/src/covalent-echarts-wordcloud.ts"],"sourcesContent":["import {\n Component,\n Input,\n ChangeDetectionStrategy,\n forwardRef,\n} from '@angular/core';\n\nimport {\n TdChartOptionsService,\n ITdSeries,\n TdSeriesDirective,\n} from '@covalent/echarts/base';\n\nexport type TdWordcloudShape =\n | 'circle'\n | 'cardioid'\n | 'diamond'\n | 'triangle-forward'\n | 'triangle'\n | 'pentagon'\n | 'star';\n\nexport interface ITdWordcloudTextStyle {\n normal?: {\n fontFamily?: string;\n fontWeight?: string;\n color?: string | ((x: any) => string);\n };\n emphasis?: {\n shadowBlur?: number;\n shadowColor?: string;\n };\n}\n\nexport interface ITdWordCloudData {\n name: string;\n value: number;\n textStyle?: ITdWordcloudTextStyle;\n}\n\nexport interface ITdWordcloudSeries extends ITdSeries {\n data?: ITdWordCloudData[];\n shape?: TdWordcloudShape;\n left?: string | number;\n top?: string | number;\n width?: string | number;\n height?: string | number;\n right?: string | number;\n bottom?: string | number;\n sizeRange?: number[];\n rotationRange?: number[];\n rotationStep?: number;\n gridSize?: number;\n drawOutOfBound?: boolean;\n textStyle?: ITdWordcloudTextStyle;\n}\n\n@Component({\n selector: 'td-chart-series[td-wordCloud]',\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush,\n inputs: [\n 'config',\n 'id',\n 'name',\n 'color',\n 'data',\n\n 'animation',\n 'animationThreshold',\n 'animationDuration',\n 'animationEasing',\n 'animationDelay',\n 'animationDurationUpdate',\n 'animationEasingUpdate',\n 'animationDelayUpdate',\n 'tooltip',\n ],\n providers: [\n {\n provide: TdSeriesDirective,\n useExisting: forwardRef(() => TdChartSeriesWordcloudComponent),\n },\n ],\n})\nexport class TdChartSeriesWordcloudComponent\n extends TdSeriesDirective\n implements ITdWordcloudSeries\n{\n @Input() override data?: ITdWordCloudData[];\n @Input() shape?: TdWordcloudShape;\n @Input() left?: string | number;\n @Input() top?: string | number;\n @Input() width?: string | number;\n @Input() height?: string | number;\n @Input() right?: string | number;\n @Input() bottom?: string | number;\n @Input() sizeRange?: number[];\n @Input() rotationRange?: number[];\n @Input() rotationStep?: number;\n @Input() gridSize?: number;\n @Input() drawOutOfBound?: boolean;\n @Input() textStyle?: ITdWordcloudTextStyle;\n\n constructor(_optionsService: TdChartOptionsService) {\n super('wordCloud', _optionsService);\n }\n\n getConfig(): any {\n return {\n shape: this.shape,\n left: this.left,\n top: this.top,\n width: this.width,\n height: this.height,\n right: this.right,\n bottom: this.bottom,\n sizeRange: this.sizeRange,\n rotationRange: this.rotationRange,\n rotationStep: this.rotationStep,\n gridSize: this.gridSize,\n drawOutOfBound: this.drawOutOfBound,\n textStyle: this.textStyle,\n };\n }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { TdChartSeriesWordcloudComponent } from './wordcloud.component';\n\nexport const WORDCLOUD_MODULE_COMPONENTS: Type<any>[] = [\n TdChartSeriesWordcloudComponent,\n];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [WORDCLOUD_MODULE_COMPONENTS],\n exports: [WORDCLOUD_MODULE_COMPONENTS],\n})\nexport class CovalentWordcloudEchartsModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;MAqFa,+BACX,SAAQ,iBAAiB;IAkBzB,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,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AJtB,+BAA+B;4HAQpB,8BAA8B,YAJhC,CAAC,YAAY,CAAC;2FAIZ,8BAA8B;kBAL1C,QAAQ;mBAAC;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,YAAY,EAAE,CAAC,2BAA2B,CAAC;oBAC3C,OAAO,EAAE,CAAC,2BAA2B,CAAC;iBACvC;;;ACbD;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"covalent-echarts.mjs","sources":["../../../../libs/angular-echarts/src/covalent-echarts.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":"AAAA;;"}
|
package/graph/README.md
CHANGED
|
@@ -6,22 +6,22 @@
|
|
|
6
6
|
|
|
7
7
|
#### Inputs
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
- config?: any
|
|
10
|
+
- Sets the JS config object if you choose to not use the property inputs.
|
|
11
|
+
- Note: [config] input properties will override input values
|
|
12
12
|
|
|
13
13
|
There are also lots of property inputs like:
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
15
|
+
- id?: string
|
|
16
|
+
- It can be used to refer the component in option or API.
|
|
17
|
+
- name?: string
|
|
18
|
+
- Series name used for displaying in tooltip and filtering with legend.
|
|
19
|
+
- color?: any
|
|
20
|
+
- Global color for the series.
|
|
21
|
+
- nodes?: any[] // or data?: any[]
|
|
22
|
+
- Data array of series.
|
|
23
|
+
- links?: any[] // or edges?: any[]
|
|
24
|
+
- The links between nodes.
|
|
25
25
|
|
|
26
26
|
And so many more.. for more info [click here](https://echarts.apache.org/en/option.html#series-graph)
|
|
27
27
|
|
|
@@ -49,8 +49,9 @@ Basic Example:
|
|
|
49
49
|
|
|
50
50
|
```html
|
|
51
51
|
<td-chart>
|
|
52
|
-
<td-chart-series
|
|
53
|
-
|
|
52
|
+
<td-chart-series
|
|
53
|
+
td-graph
|
|
54
|
+
[data]="[{ x: -739.36383, y: -404.26147, id: 'jquery', name: 'jquery',
|
|
54
55
|
symbolSize: 40.7252817, itemStyle: { normal: { color: '#4f19c7' } } },
|
|
55
56
|
{ x: -134.2215, y: -862.7517, id: 'backbone', name: 'backbone',
|
|
56
57
|
symbolSize: 60.1554675, itemStyle: { normal: { color: '#c71969' } } },
|
|
@@ -68,7 +69,7 @@ Basic Example:
|
|
|
68
69
|
symbolSize: 30.3863845, itemStyle: { normal: { color: '#c71969' } } },
|
|
69
70
|
{ x: -644.2716, y: -230.14833, id: 'express', name: 'express',
|
|
70
71
|
symbolSize: 49.608772, itemStyle: { normal: { color: '#c71919' } } }]"
|
|
71
|
-
|
|
72
|
+
[edges]="[{ source: 'jquery', target: 'backbone' },
|
|
72
73
|
{ source: 'jquery', target: 'vue.js' },
|
|
73
74
|
{ source: 'jquery', target: 'lodash' },
|
|
74
75
|
{ source: 'jquery', target: 'dateformat' },
|
|
@@ -80,9 +81,10 @@ Basic Example:
|
|
|
80
81
|
{ source: 'vue.js', target: 'dateformat' },
|
|
81
82
|
{ source: 'express', target: 'socket.io' },
|
|
82
83
|
{ source: 'express', target: 'dateformat' }]"
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
84
|
+
[roam]="true"
|
|
85
|
+
[focusNodeAdjacency]="true"
|
|
86
|
+
[label]="{ emphasis: { position: 'right', show: true } }"
|
|
87
|
+
>
|
|
86
88
|
</td-chart-series>
|
|
87
89
|
</td-chart>
|
|
88
90
|
```
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { TdChartOptionsService, TdCoordinateSystem, ITdItemStyle, ITdEmphasis, ITdMarkPoint, ITdMarkLine, ITdMarkArea, ITdSeries, ITdLabel, TdSeriesDirective, TdMarkPointSymbol, ITdLineStyle, ITdEdgeLabel } from '@covalent/echarts/base';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export interface ITdCategories {
|
|
3
4
|
name?: string;
|
|
4
5
|
symbol?: TdMarkPointSymbol | string;
|
|
@@ -37,10 +38,10 @@ export interface ITdGraphSeries extends ITdSeries {
|
|
|
37
38
|
symbolRotate?: number;
|
|
38
39
|
symbolKeepAspect?: boolean;
|
|
39
40
|
symbolOffset?: any[];
|
|
40
|
-
focusNodeAdjacency
|
|
41
|
-
edgeSymbol
|
|
42
|
-
edgeSymbolSize
|
|
43
|
-
cursor
|
|
41
|
+
focusNodeAdjacency?: boolean;
|
|
42
|
+
edgeSymbol?: any[] | string;
|
|
43
|
+
edgeSymbolSize?: number;
|
|
44
|
+
cursor?: string;
|
|
44
45
|
roam?: boolean;
|
|
45
46
|
expandAndCollapse?: boolean;
|
|
46
47
|
initialTreeDepth?: number;
|
|
@@ -49,23 +50,23 @@ export interface ITdGraphSeries extends ITdSeries {
|
|
|
49
50
|
label?: ITdLabel;
|
|
50
51
|
edgeLabel?: ITdEdgeLabel;
|
|
51
52
|
emphasis?: ITdEmphasis;
|
|
52
|
-
categories
|
|
53
|
+
categories?: ITdCategories;
|
|
53
54
|
data?: any[];
|
|
54
|
-
nodes
|
|
55
|
-
links
|
|
56
|
-
edges
|
|
55
|
+
nodes?: any[];
|
|
56
|
+
links?: any[];
|
|
57
|
+
edges?: any[];
|
|
57
58
|
markPoint?: ITdMarkPoint;
|
|
58
59
|
markLine?: ITdMarkLine;
|
|
59
60
|
markArea?: ITdMarkArea;
|
|
60
|
-
zlevel
|
|
61
|
+
zlevel?: number;
|
|
61
62
|
z?: number;
|
|
62
63
|
silent?: boolean;
|
|
63
|
-
left
|
|
64
|
-
top
|
|
65
|
-
right
|
|
66
|
-
bottom
|
|
67
|
-
width
|
|
68
|
-
height
|
|
64
|
+
left?: string | number;
|
|
65
|
+
top?: string | number;
|
|
66
|
+
right?: string | number;
|
|
67
|
+
bottom?: string | number;
|
|
68
|
+
width?: string | number;
|
|
69
|
+
height?: string | number;
|
|
69
70
|
animation?: boolean;
|
|
70
71
|
animationThreshold?: number;
|
|
71
72
|
animationDuration?: number | Function;
|
|
@@ -76,51 +77,53 @@ export interface ITdGraphSeries extends ITdSeries {
|
|
|
76
77
|
animationDelayUpdate?: number | Function;
|
|
77
78
|
}
|
|
78
79
|
export declare class TdChartSeriesGraphComponent extends TdSeriesDirective implements ITdGraphSeries {
|
|
79
|
-
legendHoverLink
|
|
80
|
-
coordinateSystem
|
|
81
|
-
xAxisIndex
|
|
82
|
-
yAxisIndex
|
|
83
|
-
polarIndex
|
|
84
|
-
calendarIndex
|
|
85
|
-
geoIndex
|
|
86
|
-
hoverAnimation
|
|
87
|
-
circular
|
|
88
|
-
force
|
|
89
|
-
layout
|
|
90
|
-
nodeScaleRatio
|
|
91
|
-
draggable
|
|
92
|
-
symbol
|
|
93
|
-
symbolSize
|
|
94
|
-
symbolRotate
|
|
95
|
-
symbolKeepAspect
|
|
96
|
-
symbolOffset
|
|
97
|
-
focusNodeAdjacency
|
|
98
|
-
edgeSymbol
|
|
99
|
-
edgeSymbolSize
|
|
100
|
-
cursor
|
|
101
|
-
roam
|
|
102
|
-
initialTreeDepth
|
|
103
|
-
itemStyle
|
|
104
|
-
lineStyle
|
|
105
|
-
label
|
|
106
|
-
edgeLabel
|
|
107
|
-
emphasis
|
|
108
|
-
categories
|
|
109
|
-
nodes
|
|
110
|
-
links
|
|
111
|
-
edges
|
|
112
|
-
markPoint
|
|
113
|
-
markLine
|
|
114
|
-
markArea
|
|
115
|
-
zlevel
|
|
116
|
-
z
|
|
117
|
-
silent
|
|
118
|
-
left
|
|
119
|
-
top
|
|
120
|
-
right
|
|
121
|
-
bottom
|
|
122
|
-
width
|
|
123
|
-
height
|
|
80
|
+
legendHoverLink?: boolean;
|
|
81
|
+
coordinateSystem?: TdCoordinateSystem;
|
|
82
|
+
xAxisIndex?: number;
|
|
83
|
+
yAxisIndex?: number;
|
|
84
|
+
polarIndex?: number;
|
|
85
|
+
calendarIndex?: number;
|
|
86
|
+
geoIndex?: number;
|
|
87
|
+
hoverAnimation?: boolean;
|
|
88
|
+
circular?: object;
|
|
89
|
+
force?: ITdGraphForce;
|
|
90
|
+
layout?: TdGraphLayout;
|
|
91
|
+
nodeScaleRatio?: boolean;
|
|
92
|
+
draggable?: boolean;
|
|
93
|
+
symbol?: TdMarkPointSymbol | string;
|
|
94
|
+
symbolSize?: number | any[] | Function;
|
|
95
|
+
symbolRotate?: number;
|
|
96
|
+
symbolKeepAspect?: boolean;
|
|
97
|
+
symbolOffset?: any[];
|
|
98
|
+
focusNodeAdjacency?: boolean;
|
|
99
|
+
edgeSymbol?: any[] | string;
|
|
100
|
+
edgeSymbolSize?: number;
|
|
101
|
+
cursor?: string;
|
|
102
|
+
roam?: boolean;
|
|
103
|
+
initialTreeDepth?: number;
|
|
104
|
+
itemStyle?: ITdItemStyle;
|
|
105
|
+
lineStyle?: ITdLineStyle;
|
|
106
|
+
label?: ITdLabel;
|
|
107
|
+
edgeLabel?: ITdEdgeLabel;
|
|
108
|
+
emphasis?: ITdEmphasis;
|
|
109
|
+
categories?: ITdCategories;
|
|
110
|
+
nodes?: any[];
|
|
111
|
+
links?: any[];
|
|
112
|
+
edges?: any[];
|
|
113
|
+
markPoint?: ITdMarkPoint;
|
|
114
|
+
markLine?: ITdMarkLine;
|
|
115
|
+
markArea?: ITdMarkArea;
|
|
116
|
+
zlevel?: number;
|
|
117
|
+
z?: number;
|
|
118
|
+
silent?: boolean;
|
|
119
|
+
left?: string | number;
|
|
120
|
+
top?: string | number;
|
|
121
|
+
right?: string | number;
|
|
122
|
+
bottom?: string | number;
|
|
123
|
+
width?: string | number;
|
|
124
|
+
height?: string | number;
|
|
124
125
|
constructor(_optionsService: TdChartOptionsService);
|
|
125
126
|
getConfig(): any;
|
|
127
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TdChartSeriesGraphComponent, never>;
|
|
128
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TdChartSeriesGraphComponent, "td-chart-series[td-graph]", never, { "config": "config"; "id": "id"; "name": "name"; "color": "color"; "data": "data"; "animation": "animation"; "animationThreshold": "animationThreshold"; "animationDuration": "animationDuration"; "animationEasing": "animationEasing"; "animationDelay": "animationDelay"; "animationDurationUpdate": "animationDurationUpdate"; "animationEasingUpdate": "animationEasingUpdate"; "animationDelayUpdate": "animationDelayUpdate"; "tooltip": "tooltip"; "legendHoverLink": "legendHoverLink"; "coordinateSystem": "coordinateSystem"; "xAxisIndex": "xAxisIndex"; "yAxisIndex": "yAxisIndex"; "polarIndex": "polarIndex"; "calendarIndex": "calendarIndex"; "geoIndex": "geoIndex"; "hoverAnimation": "hoverAnimation"; "circular": "circular"; "force": "force"; "layout": "layout"; "nodeScaleRatio": "nodeScaleRatio"; "draggable": "draggable"; "symbol": "symbol"; "symbolSize": "symbolSize"; "symbolRotate": "symbolRotate"; "symbolKeepAspect": "symbolKeepAspect"; "symbolOffset": "symbolOffset"; "focusNodeAdjacency": "focusNodeAdjacency"; "edgeSymbol": "edgeSymbol"; "edgeSymbolSize": "edgeSymbolSize"; "cursor": "cursor"; "roam": "roam"; "initialTreeDepth": "initialTreeDepth"; "itemStyle": "itemStyle"; "lineStyle": "lineStyle"; "label": "label"; "edgeLabel": "edgeLabel"; "emphasis": "emphasis"; "categories": "categories"; "nodes": "nodes"; "links": "links"; "edges": "edges"; "markPoint": "markPoint"; "markLine": "markLine"; "markArea": "markArea"; "zlevel": "zlevel"; "z": "z"; "silent": "silent"; "left": "left"; "top": "top"; "right": "right"; "bottom": "bottom"; "width": "width"; "height": "height"; }, {}, never, never>;
|
|
126
129
|
}
|
package/graph/graph.module.d.ts
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { Type } from '@angular/core';
|
|
2
|
-
import
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "./graph.component";
|
|
4
|
+
import * as i2 from "@angular/common";
|
|
3
5
|
export declare const GRAPH_MODULE_COMPONENTS: Type<any>[];
|
|
4
6
|
export declare class CovalentGraphEchartsModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CovalentGraphEchartsModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CovalentGraphEchartsModule, [typeof i1.TdChartSeriesGraphComponent], [typeof i2.CommonModule], [typeof i1.TdChartSeriesGraphComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CovalentGraphEchartsModule>;
|
|
5
10
|
}
|
package/graph/package.json
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"fesm2015": "../fesm2015/covalent-echarts-graph.
|
|
2
|
+
"module": "../fesm2015/covalent-echarts-graph.mjs",
|
|
3
|
+
"es2020": "../fesm2020/covalent-echarts-graph.mjs",
|
|
4
|
+
"esm2020": "../esm2020/graph/covalent-echarts-graph.mjs",
|
|
5
|
+
"fesm2020": "../fesm2020/covalent-echarts-graph.mjs",
|
|
6
|
+
"fesm2015": "../fesm2015/covalent-echarts-graph.mjs",
|
|
7
7
|
"typings": "covalent-echarts-graph.d.ts",
|
|
8
|
-
"metadata": "covalent-echarts-graph.metadata.json",
|
|
9
8
|
"sideEffects": false,
|
|
10
9
|
"name": "@covalent/echarts/graph"
|
|
11
|
-
}
|
|
10
|
+
}
|
|
File without changes
|