@carbon/charts 1.8.0 → 1.9.0-rc.1
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/CHANGELOG.md +84 -155
- package/README.md +11 -13
- package/dist/_baseEach-603421de.mjs +21 -0
- package/dist/_baseEach-603421de.mjs.map +1 -0
- package/dist/_baseEach-cdac417f.js +2 -0
- package/dist/_baseEach-cdac417f.js.map +1 -0
- package/dist/a11y-7bad4f48.mjs +5 -0
- package/dist/a11y-7bad4f48.mjs.map +1 -0
- package/dist/a11y-c7c9d087.js +2 -0
- package/dist/a11y-c7c9d087.js.map +1 -0
- package/dist/angle-utils-6f166b40.js +2 -0
- package/dist/angle-utils-6f166b40.js.map +1 -0
- package/dist/angle-utils-8b6ce998.mjs +387 -0
- package/dist/angle-utils-8b6ce998.mjs.map +1 -0
- package/dist/axis-chart.d.ts +13 -0
- package/dist/chart.d.ts +18 -0
- package/dist/charts/alluvial.d.ts +10 -0
- package/dist/charts/area-stacked.d.ts +8 -0
- package/dist/charts/area.d.ts +8 -0
- package/dist/charts/bar-grouped.d.ts +8 -0
- package/dist/charts/bar-simple.d.ts +8 -0
- package/dist/charts/bar-stacked.d.ts +8 -0
- package/dist/charts/boxplot.d.ts +10 -0
- package/dist/charts/bubble.d.ts +8 -0
- package/dist/charts/bullet.d.ts +10 -0
- package/dist/charts/choropleth.d.ts +14 -0
- package/dist/charts/circle-pack.d.ts +10 -0
- package/dist/charts/combo.d.ts +9 -0
- package/dist/charts/donut.d.ts +8 -0
- package/dist/charts/gauge.d.ts +10 -0
- package/dist/charts/heatmap.d.ts +14 -0
- package/dist/charts/histogram.d.ts +10 -0
- package/dist/charts/index.d.ts +27 -0
- package/dist/charts/line.d.ts +8 -0
- package/dist/charts/lollipop.d.ts +8 -0
- package/dist/charts/meter.d.ts +10 -0
- package/dist/charts/pie.d.ts +10 -0
- package/dist/charts/radar.d.ts +10 -0
- package/dist/charts/scatter.d.ts +8 -0
- package/dist/charts/tree.d.ts +10 -0
- package/dist/charts/treemap.d.ts +10 -0
- package/dist/charts/wordcloud.d.ts +10 -0
- package/dist/choropleth-4ac6ac20.js +82 -0
- package/dist/choropleth-4ac6ac20.js.map +1 -0
- package/dist/choropleth-f473ea0d.mjs +7997 -0
- package/dist/choropleth-f473ea0d.mjs.map +1 -0
- package/dist/color-scale-utils-5eb3eeaa.mjs +3809 -0
- package/dist/color-scale-utils-5eb3eeaa.mjs.map +1 -0
- package/dist/color-scale-utils-7d463811.js +3 -0
- package/dist/color-scale-utils-7d463811.js.map +1 -0
- package/dist/components/axes/axis.d.ts +24 -0
- package/{build/src → dist}/components/axes/chart-clip.d.ts +3 -3
- package/{components → dist/components}/axes/grid-brush.d.ts +10 -10
- package/{components → dist/components}/axes/grid.d.ts +22 -22
- package/{build/src → dist}/components/axes/hover-axis.d.ts +1 -1
- package/dist/components/axes/index.d.ts +12 -0
- package/{components → dist/components}/axes/ruler-binned.d.ts +7 -7
- package/{components → dist/components}/axes/ruler.d.ts +27 -27
- package/{build/src → dist}/components/axes/toolbar.d.ts +7 -7
- package/{components → dist/components}/axes/two-dimensional-axes.d.ts +16 -16
- package/{components → dist/components}/axes/zero-line.d.ts +7 -7
- package/{components → dist/components}/axes/zoom-bar.d.ts +28 -28
- package/{build/src → dist}/components/component.d.ts +10 -8
- package/dist/components/diagrams/buildPaths.d.ts +40 -0
- package/dist/components/diagrams/index.d.ts +2 -0
- package/{components → dist/components}/essentials/canvas-chart-clip.d.ts +6 -6
- package/{build/src → dist}/components/essentials/color-scale-legend.d.ts +3 -3
- package/{build/src → dist}/components/essentials/geo-projection.d.ts +2 -2
- package/{build/src → dist}/components/essentials/highlights.d.ts +3 -3
- package/dist/components/essentials/index.d.ts +11 -0
- package/{build/src → dist}/components/essentials/legend.d.ts +3 -3
- package/{components → dist/components}/essentials/modal.d.ts +14 -14
- package/{build/src → dist}/components/essentials/threshold.d.ts +5 -5
- package/{components → dist/components}/essentials/title-meter.d.ts +30 -30
- package/{components → dist/components}/essentials/title.d.ts +20 -20
- package/{build/src → dist}/components/essentials/tooltip.d.ts +4 -4
- package/{components → dist/components}/graphs/alluvial.d.ts +14 -14
- package/{components → dist/components}/graphs/area-stacked.d.ts +11 -11
- package/dist/components/graphs/area.d.ts +12 -0
- package/{build/src → dist}/components/graphs/bar-grouped.d.ts +4 -4
- package/{build/src → dist}/components/graphs/bar-simple.d.ts +3 -3
- package/{build/src → dist}/components/graphs/bar-stacked.d.ts +4 -4
- package/{build/src → dist}/components/graphs/bar.d.ts +2 -2
- package/{components → dist/components}/graphs/boxplot.d.ts +9 -9
- package/{build/src → dist}/components/graphs/bubble.d.ts +2 -2
- package/dist/components/graphs/bullet.d.ts +12 -0
- package/{components → dist/components}/graphs/choropleth.d.ts +6 -6
- package/{build/src → dist}/components/graphs/circle-pack.d.ts +3 -3
- package/{build/src → dist}/components/graphs/donut.d.ts +1 -1
- package/{build/src → dist}/components/graphs/gauge.d.ts +2 -2
- package/{build/src → dist}/components/graphs/heatmap.d.ts +4 -4
- package/dist/components/graphs/histogram.d.ts +12 -0
- package/dist/components/graphs/index.d.ts +28 -0
- package/dist/components/graphs/line.d.ts +11 -0
- package/dist/components/graphs/lollipop.d.ts +14 -0
- package/{components → dist/components}/graphs/meter.d.ts +10 -10
- package/{build/src → dist}/components/graphs/pie.d.ts +4 -4
- package/{build/src → dist}/components/graphs/radar.d.ts +6 -6
- package/{build/src → dist}/components/graphs/scatter-stacked.d.ts +2 -2
- package/dist/components/graphs/scatter.d.ts +21 -0
- package/dist/components/graphs/skeleton-lines.d.ts +12 -0
- package/{build/src → dist}/components/graphs/skeleton.d.ts +6 -5
- package/{components → dist/components}/graphs/tree.d.ts +9 -9
- package/dist/components/graphs/treemap.d.ts +11 -0
- package/{build/src → dist}/components/graphs/wordcloud.d.ts +4 -4
- package/dist/components/index.d.ts +6 -0
- package/dist/components/index.js +2 -0
- package/dist/components/index.js.map +1 -0
- package/dist/components/index.mjs +76 -0
- package/dist/components/index.mjs.map +1 -0
- package/dist/components/layout/index.d.ts +2 -0
- package/{components → dist/components}/layout/layout.d.ts +18 -17
- package/dist/components/layout/spacer.d.ts +5 -0
- package/{build/src → dist}/configuration-non-customizable.d.ts +4 -4
- package/{configuration.d.ts → dist/configuration.d.ts} +48 -46
- package/dist/demo/charts/index.d.ts +62 -0
- package/{demo/data → dist/demo/charts}/time-series-axis.d.ts +60 -135
- package/{build/demo/data → dist/demo/charts}/zoom-bar.d.ts +12 -27
- package/dist/demo/index.d.ts +4 -0
- package/dist/demo/index.js +470 -0
- package/dist/demo/index.js.map +1 -0
- package/dist/demo/index.mjs +51786 -0
- package/dist/demo/index.mjs.map +1 -0
- package/{demo → dist/demo}/styles.css +286 -1142
- package/dist/demo/styles.css.map +1 -0
- package/dist/demo/utils/index.d.ts +2 -0
- package/dist/demo/utils/sandbox.d.ts +39 -0
- package/dist/demo/utils/story-widgets.d.ts +7 -0
- package/dist/enums-a96ef472.mjs +89 -0
- package/dist/enums-a96ef472.mjs.map +1 -0
- package/dist/enums-aa2efd99.js +2 -0
- package/dist/enums-aa2efd99.js.map +1 -0
- package/dist/index-822564ed.js +2 -0
- package/dist/index-822564ed.js.map +1 -0
- package/dist/index-a266373c.mjs +749 -0
- package/dist/index-a266373c.mjs.map +1 -0
- package/dist/index-becfb567.mjs +72 -0
- package/dist/index-becfb567.mjs.map +1 -0
- package/dist/index-d865d500.js +2 -0
- package/dist/index-d865d500.js.map +1 -0
- package/dist/index-ec554115.mjs +62 -0
- package/dist/index-ec554115.mjs.map +1 -0
- package/dist/index-f23685eb.js +2 -0
- package/dist/index-f23685eb.js.map +1 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +1121 -0
- package/dist/index.mjs.map +1 -0
- package/{build/src → dist}/interfaces/axis-scales.d.ts +11 -11
- package/{interfaces → dist/interfaces}/charts.d.ts +517 -512
- package/{build/src → dist}/interfaces/components.d.ts +11 -11
- package/dist/interfaces/index.d.ts +11 -0
- package/dist/interfaces/index.js +2 -0
- package/dist/interfaces/index.js.map +1 -0
- package/dist/interfaces/index.mjs +58 -0
- package/dist/interfaces/index.mjs.map +1 -0
- package/{interfaces → dist/interfaces}/layout.d.ts +21 -15
- package/{build/src → dist}/interfaces/model.d.ts +2 -2
- package/dist/interfaces/services.d.ts +20 -0
- package/{build/src → dist}/interfaces/truncation.d.ts +2 -2
- package/{build/src → dist}/model/binned-charts.d.ts +1 -1
- package/{build/src → dist}/model/cartesian-charts.d.ts +2 -2
- package/{model → dist/model}/heatmap.d.ts +57 -52
- package/dist/model/index.d.ts +16 -0
- package/dist/model/index.js +3 -0
- package/dist/model/index.js.map +1 -0
- package/dist/model/index.mjs +1107 -0
- package/dist/model/index.mjs.map +1 -0
- package/{model → dist/model}/meter.d.ts +20 -19
- package/{model → dist/model}/model.d.ts +110 -107
- package/{services → dist/services}/angle-utils.d.ts +15 -16
- package/{services → dist/services}/color-scale-utils.d.ts +2 -2
- package/dist/services/curves.d.ts +24 -0
- package/dist/services/essentials/dom-utils.d.ts +45 -0
- package/dist/services/essentials/events.d.ts +8 -0
- package/dist/services/essentials/files.d.ts +7 -0
- package/{build/src → dist}/services/essentials/gradient-utils.d.ts +2 -2
- package/dist/services/essentials/index.d.ts +5 -0
- package/dist/services/essentials/transitions.d.ts +13 -0
- package/dist/services/index.d.ts +9 -0
- package/dist/services/index.js +2 -0
- package/dist/services/index.js.map +1 -0
- package/dist/services/index.mjs +32 -0
- package/dist/services/index.mjs.map +1 -0
- package/dist/services/scales-cartesian.d.ts +89 -0
- package/dist/services/service.d.ts +11 -0
- package/{services → dist/services}/time-series.d.ts +13 -13
- package/{build/src → dist}/services/zoom.d.ts +2 -2
- package/{styles → dist/styles}/_chart-holder.scss +5 -5
- package/{styles → dist/styles}/color-palatte.scss +66 -66
- package/{styles → dist/styles}/colors.scss +15 -39
- package/{styles → dist/styles}/components/_color-legend.scss +2 -2
- package/{styles → dist/styles}/components/_edge.scss +4 -4
- package/{styles → dist/styles}/components/_grid.scss +2 -2
- package/dist/styles/components/_marker.scss +7 -0
- package/{styles → dist/styles}/components/_meter-title.scss +2 -2
- package/{styles → dist/styles}/components/_tooltip.scss +3 -3
- package/{styles → dist/styles}/components/diagrams/_card-node.scss +3 -3
- package/{styles → dist/styles}/components/diagrams/_edge.scss +5 -5
- package/{styles → dist/styles}/components/diagrams/_shape-node.scss +3 -3
- package/dist/styles/components/diagrams/index.scss +4 -0
- package/{styles → dist/styles}/graphs/_alluvial.scss +2 -2
- package/{styles → dist/styles}/graphs/_bullet.scss +3 -3
- package/{styles → dist/styles}/graphs/_circle-pack.scss +1 -1
- package/{styles → dist/styles}/graphs/_gauge.scss +1 -1
- package/{styles → dist/styles}/graphs/_heatmap.scss +2 -2
- package/{styles → dist/styles}/graphs/_meter.scss +1 -1
- package/{styles → dist/styles}/graphs/_radar.scss +1 -1
- package/{styles → dist/styles}/graphs/_scatter-stacked.scss +1 -1
- package/{styles → dist/styles}/graphs/_tree.scss +2 -3
- package/{styles → dist/styles}/styles.scss +8 -3
- package/{styles → dist/styles}/tokens.scss +97 -106
- package/dist/styles.css +28264 -0
- package/dist/styles.css.map +1 -0
- package/dist/styles.min.css +1 -0
- package/dist/styles.min.css.map +1 -0
- package/{tools.d.ts → dist/tools.d.ts} +144 -144
- package/package.json +136 -101
- package/LICENSE.md +0 -201
- package/axis-chart.d.ts +0 -10
- package/axis-chart.js +0 -169
- package/axis-chart.js.map +0 -1
- package/build/demo/create-codesandbox.d.ts +0 -113
- package/build/demo/data/high-scale.d.ts +0 -1
- package/build/demo/data/index.d.ts +0 -33
- package/build/demo/data/time-series-axis.d.ts +0 -368
- package/build/demo/utils.d.ts +0 -40
- package/build/src/axis-chart.d.ts +0 -10
- package/build/src/chart.d.ts +0 -14
- package/build/src/charts/alluvial.d.ts +0 -8
- package/build/src/charts/area-stacked.d.ts +0 -6
- package/build/src/charts/area.d.ts +0 -6
- package/build/src/charts/bar-grouped.d.ts +0 -6
- package/build/src/charts/bar-simple.d.ts +0 -6
- package/build/src/charts/bar-stacked.d.ts +0 -6
- package/build/src/charts/boxplot.d.ts +0 -8
- package/build/src/charts/bubble.d.ts +0 -6
- package/build/src/charts/bullet.d.ts +0 -8
- package/build/src/charts/choropleth.d.ts +0 -10
- package/build/src/charts/circle-pack.d.ts +0 -8
- package/build/src/charts/combo.d.ts +0 -7
- package/build/src/charts/donut.d.ts +0 -6
- package/build/src/charts/gauge.d.ts +0 -8
- package/build/src/charts/heatmap.d.ts +0 -10
- package/build/src/charts/histogram.d.ts +0 -8
- package/build/src/charts/index.d.ts +0 -25
- package/build/src/charts/line.d.ts +0 -6
- package/build/src/charts/lollipop.d.ts +0 -6
- package/build/src/charts/meter.d.ts +0 -8
- package/build/src/charts/pie.d.ts +0 -8
- package/build/src/charts/radar.d.ts +0 -8
- package/build/src/charts/scatter.d.ts +0 -6
- package/build/src/charts/tree.d.ts +0 -8
- package/build/src/charts/treemap.d.ts +0 -8
- package/build/src/charts/wordcloud.d.ts +0 -8
- package/build/src/components/axes/axis.d.ts +0 -24
- package/build/src/components/axes/grid-brush.d.ts +0 -10
- package/build/src/components/axes/grid.d.ts +0 -22
- package/build/src/components/axes/ruler-binned.d.ts +0 -7
- package/build/src/components/axes/ruler.d.ts +0 -27
- package/build/src/components/axes/two-dimensional-axes.d.ts +0 -16
- package/build/src/components/axes/zero-line.d.ts +0 -7
- package/build/src/components/axes/zoom-bar.d.ts +0 -28
- package/build/src/components/diagrams/buildPaths.d.ts +0 -63
- package/build/src/components/essentials/canvas-chart-clip.d.ts +0 -6
- package/build/src/components/essentials/modal.d.ts +0 -14
- package/build/src/components/essentials/title-meter.d.ts +0 -30
- package/build/src/components/essentials/title.d.ts +0 -20
- package/build/src/components/graphs/alluvial.d.ts +0 -14
- package/build/src/components/graphs/area-stacked.d.ts +0 -11
- package/build/src/components/graphs/area.d.ts +0 -12
- package/build/src/components/graphs/boxplot.d.ts +0 -9
- package/build/src/components/graphs/bullet.d.ts +0 -12
- package/build/src/components/graphs/choropleth.d.ts +0 -6
- package/build/src/components/graphs/histogram.d.ts +0 -12
- package/build/src/components/graphs/line.d.ts +0 -11
- package/build/src/components/graphs/lollipop.d.ts +0 -14
- package/build/src/components/graphs/meter.d.ts +0 -10
- package/build/src/components/graphs/scatter.d.ts +0 -21
- package/build/src/components/graphs/skeleton-lines.d.ts +0 -11
- package/build/src/components/graphs/tree.d.ts +0 -9
- package/build/src/components/graphs/treemap.d.ts +0 -11
- package/build/src/components/index.d.ts +0 -53
- package/build/src/components/layout/layout.d.ts +0 -17
- package/build/src/components/layout/spacer.d.ts +0 -5
- package/build/src/configuration.d.ts +0 -46
- package/build/src/interfaces/charts.d.ts +0 -512
- package/build/src/interfaces/index.d.ts +0 -7
- package/build/src/interfaces/layout.d.ts +0 -15
- package/build/src/model/heatmap.d.ts +0 -52
- package/build/src/model/meter.d.ts +0 -19
- package/build/src/model/model.d.ts +0 -107
- package/build/src/services/angle-utils.d.ts +0 -205
- package/build/src/services/color-scale-utils.d.ts +0 -10
- package/build/src/services/curves.d.ts +0 -25
- package/build/src/services/essentials/dom-utils.d.ts +0 -39
- package/build/src/services/essentials/events.d.ts +0 -8
- package/build/src/services/essentials/files.d.ts +0 -6
- package/build/src/services/essentials/transitions.d.ts +0 -13
- package/build/src/services/index.d.ts +0 -10
- package/build/src/services/scales-cartesian.d.ts +0 -86
- package/build/src/services/service.d.ts +0 -10
- package/build/src/services/time-series.d.ts +0 -787
- package/build/src/tools.d.ts +0 -2427
- package/build/stories/all.stories.d.ts +0 -1
- package/build/stories/tutorials/api.d.ts +0 -4
- package/build/stories/tutorials/color-palette.d.ts +0 -4
- package/build/stories/tutorials/combo-charts.d.ts +0 -4
- package/build/stories/tutorials/dual-axes.d.ts +0 -4
- package/build/stories/tutorials/event-listeners.d.ts +0 -4
- package/build/stories/tutorials/getting-started/angular.d.ts +0 -5
- package/build/stories/tutorials/getting-started/react.d.ts +0 -5
- package/build/stories/tutorials/getting-started/vanilla.d.ts +0 -5
- package/build/stories/tutorials/getting-started/vue.d.ts +0 -5
- package/build/stories/tutorials/index.d.ts +0 -11
- package/build/stories/tutorials/tabular-data-format.d.ts +0 -4
- package/build/stories/tutorials/themes.d.ts +0 -4
- package/build/stories/tutorials.stories.d.ts +0 -1
- package/bundle.js +0 -17
- package/chart.d.ts +0 -14
- package/chart.js +0 -198
- package/chart.js.map +0 -1
- package/charts/alluvial.d.ts +0 -8
- package/charts/alluvial.js +0 -46
- package/charts/alluvial.js.map +0 -1
- package/charts/area-stacked.d.ts +0 -6
- package/charts/area-stacked.js +0 -55
- package/charts/area-stacked.js.map +0 -1
- package/charts/area.d.ts +0 -6
- package/charts/area.js +0 -54
- package/charts/area.js.map +0 -1
- package/charts/bar-grouped.d.ts +0 -6
- package/charts/bar-grouped.js +0 -49
- package/charts/bar-grouped.js.map +0 -1
- package/charts/bar-simple.d.ts +0 -6
- package/charts/bar-simple.js +0 -49
- package/charts/bar-simple.js.map +0 -1
- package/charts/bar-stacked.d.ts +0 -6
- package/charts/bar-stacked.js +0 -50
- package/charts/bar-stacked.js.map +0 -1
- package/charts/boxplot.d.ts +0 -8
- package/charts/boxplot.js +0 -55
- package/charts/boxplot.js.map +0 -1
- package/charts/bubble.d.ts +0 -6
- package/charts/bubble.js +0 -49
- package/charts/bubble.js.map +0 -1
- package/charts/bullet.d.ts +0 -8
- package/charts/bullet.js +0 -50
- package/charts/bullet.js.map +0 -1
- package/charts/choropleth.d.ts +0 -10
- package/charts/choropleth.js +0 -141
- package/charts/choropleth.js.map +0 -1
- package/charts/circle-pack.d.ts +0 -8
- package/charts/circle-pack.js +0 -45
- package/charts/circle-pack.js.map +0 -1
- package/charts/combo.d.ts +0 -7
- package/charts/combo.js +0 -132
- package/charts/combo.js.map +0 -1
- package/charts/donut.d.ts +0 -6
- package/charts/donut.js +0 -46
- package/charts/donut.js.map +0 -1
- package/charts/gauge.d.ts +0 -8
- package/charts/gauge.js +0 -42
- package/charts/gauge.js.map +0 -1
- package/charts/heatmap.d.ts +0 -10
- package/charts/heatmap.js +0 -142
- package/charts/heatmap.js.map +0 -1
- package/charts/histogram.d.ts +0 -8
- package/charts/histogram.js +0 -48
- package/charts/histogram.js.map +0 -1
- package/charts/index.d.ts +0 -25
- package/charts/index.js +0 -26
- package/charts/index.js.map +0 -1
- package/charts/line.d.ts +0 -6
- package/charts/line.js +0 -48
- package/charts/line.js.map +0 -1
- package/charts/lollipop.d.ts +0 -6
- package/charts/lollipop.js +0 -50
- package/charts/lollipop.js.map +0 -1
- package/charts/meter.d.ts +0 -8
- package/charts/meter.js +0 -94
- package/charts/meter.js.map +0 -1
- package/charts/pie.d.ts +0 -8
- package/charts/pie.js +0 -55
- package/charts/pie.js.map +0 -1
- package/charts/radar.d.ts +0 -8
- package/charts/radar.js +0 -44
- package/charts/radar.js.map +0 -1
- package/charts/scatter.d.ts +0 -6
- package/charts/scatter.js +0 -49
- package/charts/scatter.js.map +0 -1
- package/charts/tree.d.ts +0 -8
- package/charts/tree.js +0 -47
- package/charts/tree.js.map +0 -1
- package/charts/treemap.d.ts +0 -8
- package/charts/treemap.js +0 -43
- package/charts/treemap.js.map +0 -1
- package/charts/wordcloud.d.ts +0 -8
- package/charts/wordcloud.js +0 -49
- package/charts/wordcloud.js.map +0 -1
- package/components/axes/axis.d.ts +0 -24
- package/components/axes/axis.js +0 -587
- package/components/axes/axis.js.map +0 -1
- package/components/axes/chart-clip.d.ts +0 -13
- package/components/axes/chart-clip.js +0 -63
- package/components/axes/chart-clip.js.map +0 -1
- package/components/axes/grid-brush.js +0 -170
- package/components/axes/grid-brush.js.map +0 -1
- package/components/axes/grid.js +0 -235
- package/components/axes/grid.js.map +0 -1
- package/components/axes/hover-axis.d.ts +0 -10
- package/components/axes/hover-axis.js +0 -243
- package/components/axes/hover-axis.js.map +0 -1
- package/components/axes/ruler-binned.js +0 -136
- package/components/axes/ruler-binned.js.map +0 -1
- package/components/axes/ruler-stacked.d.ts +0 -4
- package/components/axes/ruler-stacked.js +0 -26
- package/components/axes/ruler-stacked.js.map +0 -1
- package/components/axes/ruler.js +0 -209
- package/components/axes/ruler.js.map +0 -1
- package/components/axes/toolbar.d.ts +0 -40
- package/components/axes/toolbar.js +0 -558
- package/components/axes/toolbar.js.map +0 -1
- package/components/axes/two-dimensional-axes.js +0 -134
- package/components/axes/two-dimensional-axes.js.map +0 -1
- package/components/axes/zero-line.js +0 -76
- package/components/axes/zero-line.js.map +0 -1
- package/components/axes/zoom-bar.js +0 -490
- package/components/axes/zoom-bar.js.map +0 -1
- package/components/component.d.ts +0 -28
- package/components/component.js +0 -102
- package/components/component.js.map +0 -1
- package/components/diagrams/buildPaths.d.ts +0 -39
- package/components/diagrams/buildPaths.js +0 -71
- package/components/diagrams/buildPaths.js.map +0 -1
- package/components/diagrams/markerDefinitions.d.ts +0 -37
- package/components/diagrams/markerDefinitions.js +0 -38
- package/components/diagrams/markerDefinitions.js.map +0 -1
- package/components/essentials/canvas-chart-clip.js +0 -46
- package/components/essentials/canvas-chart-clip.js.map +0 -1
- package/components/essentials/color-scale-legend.d.ts +0 -20
- package/components/essentials/color-scale-legend.js +0 -237
- package/components/essentials/color-scale-legend.js.map +0 -1
- package/components/essentials/geo-projection.d.ts +0 -16
- package/components/essentials/geo-projection.js +0 -160
- package/components/essentials/geo-projection.js.map +0 -1
- package/components/essentials/highlights.d.ts +0 -13
- package/components/essentials/highlights.js +0 -196
- package/components/essentials/highlights.js.map +0 -1
- package/components/essentials/legend.d.ts +0 -11
- package/components/essentials/legend.js +0 -428
- package/components/essentials/legend.js.map +0 -1
- package/components/essentials/modal.js +0 -89
- package/components/essentials/modal.js.map +0 -1
- package/components/essentials/threshold.d.ts +0 -20
- package/components/essentials/threshold.js +0 -306
- package/components/essentials/threshold.js.map +0 -1
- package/components/essentials/title-meter.js +0 -279
- package/components/essentials/title-meter.js.map +0 -1
- package/components/essentials/title.js +0 -138
- package/components/essentials/title.js.map +0 -1
- package/components/essentials/tooltip-axis.d.ts +0 -4
- package/components/essentials/tooltip-axis.js +0 -142
- package/components/essentials/tooltip-axis.js.map +0 -1
- package/components/essentials/tooltip.d.ts +0 -22
- package/components/essentials/tooltip.js +0 -263
- package/components/essentials/tooltip.js.map +0 -1
- package/components/graphs/alluvial.js +0 -535
- package/components/graphs/alluvial.js.map +0 -1
- package/components/graphs/area-stacked.js +0 -131
- package/components/graphs/area-stacked.js.map +0 -1
- package/components/graphs/area.d.ts +0 -12
- package/components/graphs/area.js +0 -260
- package/components/graphs/area.js.map +0 -1
- package/components/graphs/bar-grouped.d.ts +0 -22
- package/components/graphs/bar-grouped.js +0 -312
- package/components/graphs/bar-grouped.js.map +0 -1
- package/components/graphs/bar-simple.d.ts +0 -12
- package/components/graphs/bar-simple.js +0 -218
- package/components/graphs/bar-simple.js.map +0 -1
- package/components/graphs/bar-stacked.d.ts +0 -13
- package/components/graphs/bar-stacked.js +0 -281
- package/components/graphs/bar-stacked.js.map +0 -1
- package/components/graphs/bar.d.ts +0 -5
- package/components/graphs/bar.js +0 -58
- package/components/graphs/bar.js.map +0 -1
- package/components/graphs/boxplot.js +0 -485
- package/components/graphs/boxplot.js.map +0 -1
- package/components/graphs/bubble.d.ts +0 -13
- package/components/graphs/bubble.js +0 -113
- package/components/graphs/bubble.js.map +0 -1
- package/components/graphs/bullet.d.ts +0 -12
- package/components/graphs/bullet.js +0 -395
- package/components/graphs/bullet.js.map +0 -1
- package/components/graphs/choropleth.js +0 -106
- package/components/graphs/choropleth.js.map +0 -1
- package/components/graphs/circle-pack.d.ts +0 -19
- package/components/graphs/circle-pack.js +0 -388
- package/components/graphs/circle-pack.js.map +0 -1
- package/components/graphs/donut.d.ts +0 -9
- package/components/graphs/donut.js +0 -116
- package/components/graphs/donut.js.map +0 -1
- package/components/graphs/gauge.d.ts +0 -27
- package/components/graphs/gauge.js +0 -347
- package/components/graphs/gauge.js.map +0 -1
- package/components/graphs/heatmap.d.ts +0 -25
- package/components/graphs/heatmap.js +0 -388
- package/components/graphs/heatmap.js.map +0 -1
- package/components/graphs/histogram.d.ts +0 -12
- package/components/graphs/histogram.js +0 -220
- package/components/graphs/histogram.js.map +0 -1
- package/components/graphs/line.d.ts +0 -11
- package/components/graphs/line.js +0 -179
- package/components/graphs/line.js.map +0 -1
- package/components/graphs/lollipop.d.ts +0 -14
- package/components/graphs/lollipop.js +0 -164
- package/components/graphs/lollipop.js.map +0 -1
- package/components/graphs/meter.js +0 -284
- package/components/graphs/meter.js.map +0 -1
- package/components/graphs/pie.d.ts +0 -16
- package/components/graphs/pie.js +0 -438
- package/components/graphs/pie.js.map +0 -1
- package/components/graphs/radar.d.ts +0 -25
- package/components/graphs/radar.js +0 -737
- package/components/graphs/radar.js.map +0 -1
- package/components/graphs/scatter-stacked.d.ts +0 -8
- package/components/graphs/scatter-stacked.js +0 -140
- package/components/graphs/scatter-stacked.js.map +0 -1
- package/components/graphs/scatter.d.ts +0 -21
- package/components/graphs/scatter.js +0 -360
- package/components/graphs/scatter.js.map +0 -1
- package/components/graphs/skeleton-lines.d.ts +0 -11
- package/components/graphs/skeleton-lines.js +0 -84
- package/components/graphs/skeleton-lines.js.map +0 -1
- package/components/graphs/skeleton.d.ts +0 -22
- package/components/graphs/skeleton.js +0 -272
- package/components/graphs/skeleton.js.map +0 -1
- package/components/graphs/tree.js +0 -262
- package/components/graphs/tree.js.map +0 -1
- package/components/graphs/treemap.d.ts +0 -11
- package/components/graphs/treemap.js +0 -344
- package/components/graphs/treemap.js.map +0 -1
- package/components/graphs/wordcloud.d.ts +0 -12
- package/components/graphs/wordcloud.js +0 -268
- package/components/graphs/wordcloud.js.map +0 -1
- package/components/index.d.ts +0 -53
- package/components/index.js +0 -59
- package/components/index.js.map +0 -1
- package/components/layout/layout.js +0 -191
- package/components/layout/layout.js.map +0 -1
- package/components/layout/spacer.d.ts +0 -5
- package/components/layout/spacer.js +0 -33
- package/components/layout/spacer.js.map +0 -1
- package/configuration-non-customizable.d.ts +0 -263
- package/configuration-non-customizable.js +0 -276
- package/configuration-non-customizable.js.map +0 -1
- package/configuration.js +0 -552
- package/configuration.js.map +0 -1
- package/demo/create-codesandbox.d.ts +0 -65
- package/demo/create-codesandbox.js +0 -173
- package/demo/create-codesandbox.js.map +0 -1
- package/demo/data/CHART_TYPES.d.ts +0 -128
- package/demo/data/CHART_TYPES.js +0 -128
- package/demo/data/CHART_TYPES.js.map +0 -1
- package/demo/data/alluvial.d.ts +0 -109
- package/demo/data/alluvial.js +0 -328
- package/demo/data/alluvial.js.map +0 -1
- package/demo/data/area.d.ts +0 -224
- package/demo/data/area.js +0 -330
- package/demo/data/area.js.map +0 -1
- package/demo/data/bar.d.ts +0 -681
- package/demo/data/bar.js +0 -915
- package/demo/data/bar.js.map +0 -1
- package/demo/data/boxplot.d.ts +0 -34
- package/demo/data/boxplot.js +0 -48
- package/demo/data/boxplot.js.map +0 -1
- package/demo/data/bubble.d.ts +0 -141
- package/demo/data/bubble.js +0 -182
- package/demo/data/bubble.js.map +0 -1
- package/demo/data/bullet.d.ts +0 -24
- package/demo/data/bullet.js +0 -55
- package/demo/data/bullet.js.map +0 -1
- package/demo/data/bundle.js +0 -1
- package/demo/data/choropleth.d.ts +0 -738
- package/demo/data/choropleth.js +0 -1684
- package/demo/data/choropleth.js.map +0 -1
- package/demo/data/circle-pack.d.ts +0 -91
- package/demo/data/circle-pack.js +0 -224
- package/demo/data/circle-pack.js.map +0 -1
- package/demo/data/combo.d.ts +0 -482
- package/demo/data/combo.js +0 -571
- package/demo/data/combo.js.map +0 -1
- package/demo/data/donut.d.ts +0 -64
- package/demo/data/donut.js +0 -60
- package/demo/data/donut.js.map +0 -1
- package/demo/data/gauge.d.ts +0 -40
- package/demo/data/gauge.js +0 -41
- package/demo/data/gauge.js.map +0 -1
- package/demo/data/heatmap.d.ts +0 -125
- package/demo/data/heatmap.js +0 -1149
- package/demo/data/heatmap.js.map +0 -1
- package/demo/data/high-scale.d.ts +0 -1
- package/demo/data/high-scale.js +0 -5
- package/demo/data/high-scale.js.map +0 -1
- package/demo/data/hightlight.d.ts +0 -40
- package/demo/data/hightlight.js +0 -44
- package/demo/data/hightlight.js.map +0 -1
- package/demo/data/histogram.d.ts +0 -63
- package/demo/data/histogram.js +0 -312
- package/demo/data/histogram.js.map +0 -1
- package/demo/data/index.d.ts +0 -33
- package/demo/data/index.js +0 -1305
- package/demo/data/index.js.map +0 -1
- package/demo/data/line.d.ts +0 -361
- package/demo/data/line.js +0 -480
- package/demo/data/line.js.map +0 -1
- package/demo/data/lollipop.d.ts +0 -39
- package/demo/data/lollipop.js +0 -37
- package/demo/data/lollipop.js.map +0 -1
- package/demo/data/meter.d.ts +0 -95
- package/demo/data/meter.js +0 -114
- package/demo/data/meter.js.map +0 -1
- package/demo/data/pie.d.ts +0 -46
- package/demo/data/pie.js +0 -55
- package/demo/data/pie.js.map +0 -1
- package/demo/data/radar.d.ts +0 -63
- package/demo/data/radar.js +0 -118
- package/demo/data/radar.js.map +0 -1
- package/demo/data/scatter.d.ts +0 -118
- package/demo/data/scatter.js +0 -143
- package/demo/data/scatter.js.map +0 -1
- package/demo/data/step.d.ts +0 -96
- package/demo/data/step.js +0 -27
- package/demo/data/step.js.map +0 -1
- package/demo/data/time-series-axis.js +0 -436
- package/demo/data/time-series-axis.js.map +0 -1
- package/demo/data/toolbar.d.ts +0 -12
- package/demo/data/toolbar.js +0 -67
- package/demo/data/toolbar.js.map +0 -1
- package/demo/data/topojson-110.d.ts +0 -360
- package/demo/data/topojson-110.js +0 -40724
- package/demo/data/topojson-110.js.map +0 -1
- package/demo/data/tree.d.ts +0 -30
- package/demo/data/tree.js +0 -209
- package/demo/data/tree.js.map +0 -1
- package/demo/data/treemap.d.ts +0 -15
- package/demo/data/treemap.js +0 -93
- package/demo/data/treemap.js.map +0 -1
- package/demo/data/wordcloud.d.ts +0 -14
- package/demo/data/wordcloud.js +0 -105
- package/demo/data/wordcloud.js.map +0 -1
- package/demo/data/zoom-bar.d.ts +0 -94
- package/demo/data/zoom-bar.js +0 -187
- package/demo/data/zoom-bar.js.map +0 -1
- package/demo/styles.css.map +0 -1
- package/demo/styles.min.css +0 -1
- package/demo/styles.min.css.map +0 -1
- package/demo/tsconfig.tsbuildinfo +0 -1451
- package/demo/utils.d.ts +0 -24
- package/demo/utils.js +0 -222
- package/demo/utils.js.map +0 -1
- package/index.d.ts +0 -4
- package/index.js +0 -6
- package/index.js.map +0 -1
- package/interfaces/a11y.d.ts +0 -12
- package/interfaces/a11y.js +0 -14
- package/interfaces/a11y.js.map +0 -1
- package/interfaces/axis-scales.d.ts +0 -201
- package/interfaces/axis-scales.js +0 -1
- package/interfaces/axis-scales.js.map +0 -1
- package/interfaces/charts.js +0 -1
- package/interfaces/charts.js.map +0 -1
- package/interfaces/components.d.ts +0 -231
- package/interfaces/components.js +0 -1
- package/interfaces/components.js.map +0 -1
- package/interfaces/enums.d.ts +0 -261
- package/interfaces/enums.js +0 -296
- package/interfaces/enums.js.map +0 -1
- package/interfaces/events.d.ts +0 -239
- package/interfaces/events.js +0 -269
- package/interfaces/events.js.map +0 -1
- package/interfaces/index.d.ts +0 -7
- package/interfaces/index.js +0 -3
- package/interfaces/index.js.map +0 -1
- package/interfaces/layout.js +0 -1
- package/interfaces/layout.js.map +0 -1
- package/interfaces/model.d.ts +0 -35
- package/interfaces/model.js +0 -1
- package/interfaces/model.js.map +0 -1
- package/interfaces/truncation.d.ts +0 -17
- package/interfaces/truncation.js +0 -1
- package/interfaces/truncation.js.map +0 -1
- package/model/alluvial.d.ts +0 -8
- package/model/alluvial.js +0 -47
- package/model/alluvial.js.map +0 -1
- package/model/binned-charts.d.ts +0 -7
- package/model/binned-charts.js +0 -52
- package/model/binned-charts.js.map +0 -1
- package/model/boxplot.d.ts +0 -14
- package/model/boxplot.js +0 -174
- package/model/boxplot.js.map +0 -1
- package/model/bullet.d.ts +0 -14
- package/model/bullet.js +0 -74
- package/model/bullet.js.map +0 -1
- package/model/cartesian-charts.d.ts +0 -24
- package/model/cartesian-charts.js +0 -202
- package/model/cartesian-charts.js.map +0 -1
- package/model/choropleth.d.ts +0 -29
- package/model/choropleth.js +0 -105
- package/model/choropleth.js.map +0 -1
- package/model/circle-pack.d.ts +0 -36
- package/model/circle-pack.js +0 -189
- package/model/circle-pack.js.map +0 -1
- package/model/gauge.d.ts +0 -9
- package/model/gauge.js +0 -51
- package/model/gauge.js.map +0 -1
- package/model/heatmap.js +0 -220
- package/model/heatmap.js.map +0 -1
- package/model/meter.js +0 -118
- package/model/meter.js.map +0 -1
- package/model/model.js +0 -712
- package/model/model.js.map +0 -1
- package/model/pie.d.ts +0 -9
- package/model/pie.js +0 -66
- package/model/pie.js.map +0 -1
- package/model/radar.d.ts +0 -7
- package/model/radar.js +0 -52
- package/model/radar.js.map +0 -1
- package/model/tree.d.ts +0 -14
- package/model/tree.js +0 -56
- package/model/tree.js.map +0 -1
- package/model/treemap.d.ts +0 -8
- package/model/treemap.js +0 -44
- package/model/treemap.js.map +0 -1
- package/model/wordcloud.d.ts +0 -7
- package/model/wordcloud.js +0 -47
- package/model/wordcloud.js.map +0 -1
- package/polyfills.d.ts +0 -0
- package/polyfills.js +0 -29
- package/polyfills.js.map +0 -1
- package/services/angle-utils.js +0 -82
- package/services/angle-utils.js.map +0 -1
- package/services/canvas-zoom.d.ts +0 -11
- package/services/canvas-zoom.js +0 -72
- package/services/canvas-zoom.js.map +0 -1
- package/services/color-scale-utils.js +0 -64
- package/services/color-scale-utils.js.map +0 -1
- package/services/curves.d.ts +0 -25
- package/services/curves.js +0 -77
- package/services/curves.js.map +0 -1
- package/services/essentials/dom-utils.d.ts +0 -39
- package/services/essentials/dom-utils.js +0 -423
- package/services/essentials/dom-utils.js.map +0 -1
- package/services/essentials/events.d.ts +0 -8
- package/services/essentials/events.js +0 -53
- package/services/essentials/events.js.map +0 -1
- package/services/essentials/files.d.ts +0 -6
- package/services/essentials/files.js +0 -60
- package/services/essentials/files.js.map +0 -1
- package/services/essentials/gradient-utils.d.ts +0 -6
- package/services/essentials/gradient-utils.js +0 -85
- package/services/essentials/gradient-utils.js.map +0 -1
- package/services/essentials/transitions.d.ts +0 -13
- package/services/essentials/transitions.js +0 -51
- package/services/essentials/transitions.js.map +0 -1
- package/services/index.d.ts +0 -10
- package/services/index.js +0 -13
- package/services/index.js.map +0 -1
- package/services/scales-cartesian.d.ts +0 -86
- package/services/scales-cartesian.js +0 -656
- package/services/scales-cartesian.js.map +0 -1
- package/services/service.d.ts +0 -10
- package/services/service.js +0 -24
- package/services/service.js.map +0 -1
- package/services/time-series.js +0 -147
- package/services/time-series.js.map +0 -1
- package/services/zoom.d.ts +0 -21
- package/services/zoom.js +0 -217
- package/services/zoom.js.map +0 -1
- package/styles/components/_marker.scss +0 -7
- package/styles/components/diagrams/index.scss +0 -4
- package/styles.css +0 -6325
- package/styles.css.map +0 -1
- package/styles.min.css +0 -1
- package/styles.min.css.map +0 -1
- package/tools.js +0 -348
- package/tools.js.map +0 -1
- package/tsconfig.tsbuildinfo +0 -3816
- /package/{build/src → dist}/components/axes/ruler-stacked.d.ts +0 -0
- /package/{build/src → dist}/components/diagrams/markerDefinitions.d.ts +0 -0
- /package/{build/src → dist}/components/essentials/tooltip-axis.d.ts +0 -0
- /package/{build/demo/data → dist/demo/charts}/alluvial.d.ts +0 -0
- /package/{build/demo/data → dist/demo/charts}/area.d.ts +0 -0
- /package/{build/demo/data → dist/demo/charts}/bar.d.ts +0 -0
- /package/{build/demo/data → dist/demo/charts}/boxplot.d.ts +0 -0
- /package/{build/demo/data → dist/demo/charts}/bubble.d.ts +0 -0
- /package/{build/demo/data → dist/demo/charts}/bullet.d.ts +0 -0
- /package/{build/demo/data/CHART_TYPES.d.ts → dist/demo/charts/chart-types.d.ts} +0 -0
- /package/{build/demo/data → dist/demo/charts}/choropleth.d.ts +0 -0
- /package/{build/demo/data → dist/demo/charts}/circle-pack.d.ts +0 -0
- /package/{build/demo/data → dist/demo/charts}/combo.d.ts +0 -0
- /package/{build/demo/data → dist/demo/charts}/donut.d.ts +0 -0
- /package/{build/demo/data → dist/demo/charts}/gauge.d.ts +0 -0
- /package/{build/demo/data → dist/demo/charts}/heatmap.d.ts +0 -0
- /package/{build/demo/data → dist/demo/charts}/hightlight.d.ts +0 -0
- /package/{build/demo/data → dist/demo/charts}/histogram.d.ts +0 -0
- /package/{build/demo/data → dist/demo/charts}/line.d.ts +0 -0
- /package/{build/demo/data → dist/demo/charts}/lollipop.d.ts +0 -0
- /package/{build/demo/data → dist/demo/charts}/meter.d.ts +0 -0
- /package/{build/demo/data → dist/demo/charts}/pie.d.ts +0 -0
- /package/{build/demo/data → dist/demo/charts}/radar.d.ts +0 -0
- /package/{build/demo/data → dist/demo/charts}/scatter.d.ts +0 -0
- /package/{build/demo/data → dist/demo/charts}/step.d.ts +0 -0
- /package/{build/demo/data → dist/demo/charts}/toolbar.d.ts +0 -0
- /package/{build/demo/data → dist/demo/charts}/topojson-110.d.ts +0 -0
- /package/{build/demo/data → dist/demo/charts}/tree.d.ts +0 -0
- /package/{build/demo/data → dist/demo/charts}/treemap.d.ts +0 -0
- /package/{build/demo/data → dist/demo/charts}/wordcloud.d.ts +0 -0
- /package/{build/src → dist}/interfaces/a11y.d.ts +0 -0
- /package/{build/src → dist}/interfaces/enums.d.ts +0 -0
- /package/{build/src → dist}/interfaces/events.d.ts +0 -0
- /package/{build/src → dist}/model/alluvial.d.ts +0 -0
- /package/{build/src → dist}/model/boxplot.d.ts +0 -0
- /package/{build/src → dist}/model/bullet.d.ts +0 -0
- /package/{build/src → dist}/model/choropleth.d.ts +0 -0
- /package/{build/src → dist}/model/circle-pack.d.ts +0 -0
- /package/{build/src → dist}/model/gauge.d.ts +0 -0
- /package/{build/src → dist}/model/pie.d.ts +0 -0
- /package/{build/src → dist}/model/radar.d.ts +0 -0
- /package/{build/src → dist}/model/tree.d.ts +0 -0
- /package/{build/src → dist}/model/treemap.d.ts +0 -0
- /package/{build/src → dist}/model/wordcloud.d.ts +0 -0
- /package/{build/src → dist}/services/canvas-zoom.d.ts +0 -0
- /package/{styles → dist/styles}/_type.scss +0 -0
- /package/{styles → dist/styles}/components/_axis.scss +0 -0
- /package/{styles → dist/styles}/components/_callouts.scss +0 -0
- /package/{styles → dist/styles}/components/_grid-brush.scss +0 -0
- /package/{styles → dist/styles}/components/_highlights.scss +0 -0
- /package/{styles → dist/styles}/components/_layout.scss +0 -0
- /package/{styles → dist/styles}/components/_legend.scss +0 -0
- /package/{styles → dist/styles}/components/_modal.scss +0 -0
- /package/{styles → dist/styles}/components/_ruler.scss +0 -0
- /package/{styles → dist/styles}/components/_skeleton-lines.scss +0 -0
- /package/{styles → dist/styles}/components/_skeleton.scss +0 -0
- /package/{styles → dist/styles}/components/_threshold.scss +0 -0
- /package/{styles → dist/styles}/components/_title.scss +0 -0
- /package/{styles → dist/styles}/components/_toolbar.scss +0 -0
- /package/{styles → dist/styles}/components/_zero-line.scss +0 -0
- /package/{styles → dist/styles}/components/_zoom-bar.scss +0 -0
- /package/{styles → dist/styles}/components/diagrams/_marker.scss +0 -0
- /package/{styles → dist/styles}/components/index.scss +0 -0
- /package/{styles → dist/styles}/graphs/_area.scss +0 -0
- /package/{styles → dist/styles}/graphs/_bubble.scss +0 -0
- /package/{styles → dist/styles}/graphs/_choropleth.scss +0 -0
- /package/{styles → dist/styles}/graphs/_donut.scss +0 -0
- /package/{styles → dist/styles}/graphs/_line.scss +0 -0
- /package/{styles → dist/styles}/graphs/_lollipop.scss +0 -0
- /package/{styles → dist/styles}/graphs/_pie.scss +0 -0
- /package/{styles → dist/styles}/graphs/_scatter.scss +0 -0
- /package/{styles → dist/styles}/graphs/_treemap.scss +0 -0
- /package/{styles → dist/styles}/graphs/_wordcloud.scss +0 -0
- /package/{styles → dist/styles}/graphs/index.scss +0 -0
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,1121 @@
|
|
|
1
|
+
import { t as Y, g as m, m as a, o as r, f as J, h as V } from "./color-scale-utils-5eb3eeaa.mjs";
|
|
2
|
+
import { T as It, j as Ht, l as Gt, n as Vt, p as Nt, q as Ut, s as Zt, d as _t, u as zt, v as Wt, M as jt, C as $t, w as Kt, N as Jt, O as qt, P as Xt, Q as Qt, R as Yt, x as eo, y as so, S as to, z as oo, A as no, B as io, D as ro, E as ao, F as ho, G as co, H as mo, K as lo, I as po, J as Co, L as uo } from "./color-scale-utils-5eb3eeaa.mjs";
|
|
3
|
+
import { i as go } from "./index-ec554115.mjs";
|
|
4
|
+
import { ChartModel as Re, ChartModelCartesian as Te, AlluvialChartModel as be, BoxplotChartModel as Oe, BulletChartModel as Se, ChoroplethModel as fe, CirclePackChartModel as Ae, PieChartModel as xe, GaugeChartModel as ye, HeatmapModel as De, ChartModelBinned as Fe, MeterChartModel as Le, RadarChartModel as Pe, TreeChartModel as Me, TreemapChartModel as ke, WordCloudModel as Be } from "./model/index.mjs";
|
|
5
|
+
import { _ as j, r as i, q as c, L as Z, y as A, t as N, e as $, S as Ie, u as K, F as p, l as R } from "./enums-a96ef472.mjs";
|
|
6
|
+
import { A as Eo, a as Ro, b as To, c as bo, d as Oo, f as So, B as fo, g as Ao, C as xo, h as yo, i as Do, j as Fo, k as Lo, m as Po, n as Mo, D as ko, o as Bo, G as Io, p as Ho, s as Go, v as Vo, M as No, w as Uo, P as Zo, x as _o, R as zo, z as Wo, H as jo, T as $o, I as Ko, J as Jo, K as qo, N as Xo, O as Qo, Q as Yo, U as en, V as sn, W as tn, Z as on, X as nn, Y as rn } from "./enums-a96ef472.mjs";
|
|
7
|
+
import { c as He, L as ee, C as Ge, T as _, a as z, b as g, S as F, d as se, M as W, e as Ve, f as Ne, g as Ue, H as Ze, Z as _e, A as te, h as ze, i as d, G as w, R as B, j as k, k as oe, l as M, m as C, B as We, n as I, o as je, p as $e, q as ne, r as Ke, s as Je, t as ie, u as re, v as U, w as ae, x as he, y as ce, P as qe, D as Xe, z as Qe, E as Ye, F as es, I as ss, J as ts, K as os, N as ns, O as is, Q as rs, U as as, V as hs, W as cs } from "./choropleth-f473ea0d.mjs";
|
|
8
|
+
import { X as hn, a8 as cn, a9 as mn, a7 as ln, Y as pn, _ as dn, $ as Cn, a0 as un, a1 as vn, a2 as gn, a3 as wn, a4 as En, a5 as Rn, a6 as Tn } from "./choropleth-f473ea0d.mjs";
|
|
9
|
+
import { C as ms, E as ls, F as ps, T as ds, a as Cs, b as us, Z as vs, f as gs } from "./index-a266373c.mjs";
|
|
10
|
+
import { D as ws, G as Es } from "./angle-utils-8b6ce998.mjs";
|
|
11
|
+
import { S as On, d as Sn, a as fn, p as An, b as xn, r as yn } from "./angle-utils-8b6ce998.mjs";
|
|
12
|
+
import "d3";
|
|
13
|
+
import "./index-becfb567.mjs";
|
|
14
|
+
import "./a11y-7bad4f48.mjs";
|
|
15
|
+
import "./_baseEach-603421de.mjs";
|
|
16
|
+
import "d3-sankey";
|
|
17
|
+
import "d3-cloud";
|
|
18
|
+
function Rs(t, e, s) {
|
|
19
|
+
var o = -1, n = t.length;
|
|
20
|
+
e < 0 && (e = -e > n ? 0 : n + e), s = s > n ? n : s, s < 0 && (s += n), n = e > s ? 0 : s - e >>> 0, e >>>= 0;
|
|
21
|
+
for (var h = Array(n); ++o < n; )
|
|
22
|
+
h[o] = t[o + e];
|
|
23
|
+
return h;
|
|
24
|
+
}
|
|
25
|
+
function Ts(t, e, s) {
|
|
26
|
+
var o = t.length;
|
|
27
|
+
return s = s === void 0 ? o : s, !e && s >= o ? t : Rs(t, e, s);
|
|
28
|
+
}
|
|
29
|
+
var bs = "\\ud800-\\udfff", Os = "\\u0300-\\u036f", Ss = "\\ufe20-\\ufe2f", fs = "\\u20d0-\\u20ff", As = Os + Ss + fs, xs = "\\ufe0e\\ufe0f", ys = "\\u200d", Ds = RegExp("[" + ys + bs + As + xs + "]");
|
|
30
|
+
function me(t) {
|
|
31
|
+
return Ds.test(t);
|
|
32
|
+
}
|
|
33
|
+
function Fs(t) {
|
|
34
|
+
return t.split("");
|
|
35
|
+
}
|
|
36
|
+
var le = "\\ud800-\\udfff", Ls = "\\u0300-\\u036f", Ps = "\\ufe20-\\ufe2f", Ms = "\\u20d0-\\u20ff", ks = Ls + Ps + Ms, Bs = "\\ufe0e\\ufe0f", Is = "[" + le + "]", q = "[" + ks + "]", X = "\\ud83c[\\udffb-\\udfff]", Hs = "(?:" + q + "|" + X + ")", pe = "[^" + le + "]", de = "(?:\\ud83c[\\udde6-\\uddff]){2}", Ce = "[\\ud800-\\udbff][\\udc00-\\udfff]", Gs = "\\u200d", ue = Hs + "?", ve = "[" + Bs + "]?", Vs = "(?:" + Gs + "(?:" + [pe, de, Ce].join("|") + ")" + ve + ue + ")*", Ns = ve + ue + Vs, Us = "(?:" + [pe + q + "?", q, de, Ce, Is].join("|") + ")", Zs = RegExp(X + "(?=" + X + ")|" + Us + Ns, "g");
|
|
37
|
+
function _s(t) {
|
|
38
|
+
return t.match(Zs) || [];
|
|
39
|
+
}
|
|
40
|
+
function zs(t) {
|
|
41
|
+
return me(t) ? _s(t) : Fs(t);
|
|
42
|
+
}
|
|
43
|
+
function Ws(t) {
|
|
44
|
+
return function(e) {
|
|
45
|
+
e = Y(e);
|
|
46
|
+
var s = me(e) ? zs(e) : void 0, o = s ? s[0] : e.charAt(0), n = s ? Ts(s, 1).join("") : e.slice(1);
|
|
47
|
+
return o[t]() + n;
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
var js = Ws("toUpperCase");
|
|
51
|
+
const $s = js;
|
|
52
|
+
function Ks(t) {
|
|
53
|
+
return $s(Y(t).toLowerCase());
|
|
54
|
+
}
|
|
55
|
+
var Js = He(function(t, e, s) {
|
|
56
|
+
return e = e.toLowerCase(), t + (s ? Ks(e) : e);
|
|
57
|
+
});
|
|
58
|
+
const qs = Js;
|
|
59
|
+
class T {
|
|
60
|
+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
61
|
+
// @ts-ignore
|
|
62
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
63
|
+
constructor(e, s) {
|
|
64
|
+
this.components = [], this.services = {
|
|
65
|
+
canvasZoom: ms,
|
|
66
|
+
domUtils: ws,
|
|
67
|
+
events: ls,
|
|
68
|
+
files: ps,
|
|
69
|
+
gradientUtils: Es,
|
|
70
|
+
transitions: ds
|
|
71
|
+
}, this.model = new Re(this.services);
|
|
72
|
+
}
|
|
73
|
+
// Contains the code that uses properties that are overridable by the super-class
|
|
74
|
+
init(e, s) {
|
|
75
|
+
this.model.set({ holder: e }, { skipUpdate: !0 }), Object.keys(this.services).forEach((o) => {
|
|
76
|
+
const n = this.services[o];
|
|
77
|
+
this.services[o] = new n(this.model, this.services);
|
|
78
|
+
}), this.services.events.addEventListener(j.Model.UPDATE, () => {
|
|
79
|
+
this.update();
|
|
80
|
+
}), this.model.setData(s.data), this.services.events.addEventListener(j.Chart.RESIZE, () => {
|
|
81
|
+
this.update();
|
|
82
|
+
}), this.components = this.getComponents(), this.update();
|
|
83
|
+
}
|
|
84
|
+
getComponents() {
|
|
85
|
+
return console.error("getComponents() method is not implemented"), [];
|
|
86
|
+
}
|
|
87
|
+
update() {
|
|
88
|
+
if (!this.components)
|
|
89
|
+
return;
|
|
90
|
+
Object.keys(this.services).forEach((o) => {
|
|
91
|
+
this.services[o].update();
|
|
92
|
+
}), this.components.forEach((o) => o.render(!0));
|
|
93
|
+
const e = this.services.transitions.getPendingTransitions(), s = Object.keys(e).map((o) => e[o].end().catch((h) => h));
|
|
94
|
+
Promise.all(s).then(
|
|
95
|
+
() => this.services.events.dispatchEvent(j.Chart.RENDER_FINISHED)
|
|
96
|
+
);
|
|
97
|
+
}
|
|
98
|
+
destroy() {
|
|
99
|
+
this.components.forEach((e) => e.destroy()), this.services.domUtils.getHolder().remove(), this.model.set({ destroyed: !0 }, { skipUpdate: !0 });
|
|
100
|
+
}
|
|
101
|
+
getChartComponents(e, s) {
|
|
102
|
+
const o = this.model.getOptions(), n = m(o, "toolbar", "enabled"), h = {
|
|
103
|
+
id: "legend",
|
|
104
|
+
components: [new ee(this.model, this.services)],
|
|
105
|
+
growth: i.PREFERRED
|
|
106
|
+
}, l = m(o, "canvasZoom", "enabled");
|
|
107
|
+
l && l === !0 && e.push(new Ge(this.model, this.services));
|
|
108
|
+
const b = !!this.model.getOptions().title, O = {
|
|
109
|
+
id: "title",
|
|
110
|
+
components: [new _(this.model, this.services)],
|
|
111
|
+
growth: i.STRETCH
|
|
112
|
+
}, x = {
|
|
113
|
+
id: "toolbar",
|
|
114
|
+
components: [new z(this.model, this.services)],
|
|
115
|
+
growth: i.PREFERRED
|
|
116
|
+
}, L = {
|
|
117
|
+
id: "header",
|
|
118
|
+
components: [
|
|
119
|
+
new g(
|
|
120
|
+
this.model,
|
|
121
|
+
this.services,
|
|
122
|
+
[
|
|
123
|
+
// always add title to keep layout correct
|
|
124
|
+
O,
|
|
125
|
+
...n ? [x] : []
|
|
126
|
+
],
|
|
127
|
+
{
|
|
128
|
+
direction: c.ROW,
|
|
129
|
+
alignItems: Z.CENTER
|
|
130
|
+
}
|
|
131
|
+
)
|
|
132
|
+
],
|
|
133
|
+
growth: i.PREFERRED
|
|
134
|
+
}, y = {
|
|
135
|
+
id: "graph-frame",
|
|
136
|
+
components: e,
|
|
137
|
+
growth: i.STRETCH,
|
|
138
|
+
renderType: m(s, "graphFrameRenderType") || A.SVG
|
|
139
|
+
}, D = m(s, "excludeLegend") !== !0 && o.legend.enabled !== !1;
|
|
140
|
+
let S = c.COLUMN;
|
|
141
|
+
if (D) {
|
|
142
|
+
const f = m(o, "legend", "position");
|
|
143
|
+
f === "left" ? (S = c.ROW, o.legend.orientation || (o.legend.orientation = N.VERTICAL)) : f === "right" ? (S = c.ROW_REVERSE, o.legend.orientation || (o.legend.orientation = N.VERTICAL)) : f === "bottom" && (S = c.COLUMN_REVERSE);
|
|
144
|
+
}
|
|
145
|
+
const P = {
|
|
146
|
+
id: "spacer",
|
|
147
|
+
components: [new F(this.model, this.services)],
|
|
148
|
+
growth: i.PREFERRED
|
|
149
|
+
}, v = {
|
|
150
|
+
id: "full-frame",
|
|
151
|
+
components: [
|
|
152
|
+
new g(
|
|
153
|
+
this.model,
|
|
154
|
+
this.services,
|
|
155
|
+
[
|
|
156
|
+
...D ? [h] : [],
|
|
157
|
+
...D ? [P] : [],
|
|
158
|
+
y
|
|
159
|
+
],
|
|
160
|
+
{
|
|
161
|
+
direction: S
|
|
162
|
+
}
|
|
163
|
+
)
|
|
164
|
+
],
|
|
165
|
+
growth: i.STRETCH
|
|
166
|
+
}, E = [];
|
|
167
|
+
if (b || n) {
|
|
168
|
+
E.push(L);
|
|
169
|
+
const f = {
|
|
170
|
+
id: "spacer",
|
|
171
|
+
components: [
|
|
172
|
+
new F(this.model, this.services, n ? { size: 15 } : void 0)
|
|
173
|
+
],
|
|
174
|
+
growth: i.PREFERRED
|
|
175
|
+
};
|
|
176
|
+
E.push(f);
|
|
177
|
+
}
|
|
178
|
+
return E.push(v), [
|
|
179
|
+
new se(this.model, this.services),
|
|
180
|
+
new W(this.model, this.services),
|
|
181
|
+
new g(this.model, this.services, E, {
|
|
182
|
+
direction: c.COLUMN
|
|
183
|
+
})
|
|
184
|
+
];
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
class u extends T {
|
|
188
|
+
constructor(e, s) {
|
|
189
|
+
super(e, s), this.services = Object.assign(this.services, {
|
|
190
|
+
cartesianScales: Cs,
|
|
191
|
+
curves: us,
|
|
192
|
+
zoom: vs
|
|
193
|
+
}), this.model = new Te(this.services);
|
|
194
|
+
}
|
|
195
|
+
getAxisChartComponents(e, s) {
|
|
196
|
+
const o = this.model.getOptions(), n = m(o, "zoomBar", $.TOP, "enabled"), h = m(o, "toolbar", "enabled");
|
|
197
|
+
this.services.cartesianScales.determineAxisDuality(), this.services.cartesianScales.findDomainAndRangeAxes(), this.services.cartesianScales.determineOrientation();
|
|
198
|
+
const l = this.services.cartesianScales.getMainXAxisPosition(), b = m(o, "axes", l, "scaleType"), O = n && l === $.BOTTOM && b === Ie.TIME, x = this.services.zoom.isZoomBarLocked($.TOP), L = !!this.model.getOptions().title, y = {
|
|
199
|
+
id: "title",
|
|
200
|
+
components: [new _(this.model, this.services)],
|
|
201
|
+
growth: i.STRETCH
|
|
202
|
+
}, D = {
|
|
203
|
+
id: "toolbar",
|
|
204
|
+
components: [new z(this.model, this.services)],
|
|
205
|
+
growth: i.PREFERRED
|
|
206
|
+
}, S = {
|
|
207
|
+
id: "header",
|
|
208
|
+
components: [
|
|
209
|
+
new g(
|
|
210
|
+
this.model,
|
|
211
|
+
this.services,
|
|
212
|
+
[
|
|
213
|
+
// always add title to keep layout correct
|
|
214
|
+
y,
|
|
215
|
+
...h ? [D] : []
|
|
216
|
+
],
|
|
217
|
+
{
|
|
218
|
+
direction: c.ROW,
|
|
219
|
+
alignItems: Z.CENTER
|
|
220
|
+
}
|
|
221
|
+
)
|
|
222
|
+
],
|
|
223
|
+
growth: i.PREFERRED
|
|
224
|
+
}, P = {
|
|
225
|
+
id: "legend",
|
|
226
|
+
components: [new ee(this.model, this.services)],
|
|
227
|
+
growth: i.PREFERRED
|
|
228
|
+
};
|
|
229
|
+
O && !x && e.push(
|
|
230
|
+
new Ve(this.model, this.services),
|
|
231
|
+
new Ne(this.model, this.services)
|
|
232
|
+
), e.push(new Ue(this.model, this.services)), e.push(new Ze(this.model, this.services));
|
|
233
|
+
const v = {
|
|
234
|
+
id: "graph-frame",
|
|
235
|
+
components: e,
|
|
236
|
+
growth: i.STRETCH,
|
|
237
|
+
renderType: A.SVG
|
|
238
|
+
}, E = m(s, "legend", "enabled") !== !1 && this.model.getOptions().legend.enabled !== !1;
|
|
239
|
+
let f = c.COLUMN;
|
|
240
|
+
if (E) {
|
|
241
|
+
const G = m(this.model.getOptions(), "legend", "position");
|
|
242
|
+
G === K.LEFT ? (f = c.ROW, this.model.getOptions().legend.orientation || (this.model.getOptions().legend.orientation = N.VERTICAL)) : G === K.RIGHT ? (f = c.ROW_REVERSE, this.model.getOptions().legend.orientation || (this.model.getOptions().legend.orientation = N.VERTICAL)) : G === K.BOTTOM && (f = c.COLUMN_REVERSE);
|
|
243
|
+
}
|
|
244
|
+
const ge = {
|
|
245
|
+
id: "spacer",
|
|
246
|
+
components: [new F(this.model, this.services)],
|
|
247
|
+
growth: i.PREFERRED
|
|
248
|
+
}, we = {
|
|
249
|
+
id: "full-frame",
|
|
250
|
+
components: [
|
|
251
|
+
new g(
|
|
252
|
+
this.model,
|
|
253
|
+
this.services,
|
|
254
|
+
[
|
|
255
|
+
...E ? [P] : [],
|
|
256
|
+
...E ? [ge] : [],
|
|
257
|
+
v
|
|
258
|
+
],
|
|
259
|
+
{
|
|
260
|
+
direction: f
|
|
261
|
+
}
|
|
262
|
+
)
|
|
263
|
+
],
|
|
264
|
+
growth: i.STRETCH
|
|
265
|
+
}, Ee = {
|
|
266
|
+
id: "zoom-bar",
|
|
267
|
+
components: [new _e(this.model, this.services)],
|
|
268
|
+
growth: i.PREFERRED,
|
|
269
|
+
renderType: A.SVG
|
|
270
|
+
}, H = [];
|
|
271
|
+
if (L || h) {
|
|
272
|
+
H.push(S);
|
|
273
|
+
const G = {
|
|
274
|
+
id: "spacer",
|
|
275
|
+
components: [
|
|
276
|
+
new F(this.model, this.services, h ? { size: 15 } : void 0)
|
|
277
|
+
],
|
|
278
|
+
growth: i.PREFERRED
|
|
279
|
+
};
|
|
280
|
+
H.push(G);
|
|
281
|
+
}
|
|
282
|
+
return O && H.push(Ee), H.push(we), [
|
|
283
|
+
new te(this.model, this.services),
|
|
284
|
+
new W(this.model, this.services),
|
|
285
|
+
new g(this.model, this.services, H, {
|
|
286
|
+
direction: c.COLUMN
|
|
287
|
+
})
|
|
288
|
+
];
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
class mt extends T {
|
|
292
|
+
constructor(e, s) {
|
|
293
|
+
super(e, s), this.model = new be(this.services), this.model.setOptions(a(r.alluvialChart, s.options)), this.init(e, s);
|
|
294
|
+
}
|
|
295
|
+
getComponents() {
|
|
296
|
+
const e = [new ze(this.model, this.services)];
|
|
297
|
+
return this.getChartComponents(e, {
|
|
298
|
+
excludeLegend: !0
|
|
299
|
+
});
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
class lt extends u {
|
|
303
|
+
constructor(e, s) {
|
|
304
|
+
super(e, s), this.model.setOptions(a(J(r.areaChart), s.options)), this.init(e, s);
|
|
305
|
+
}
|
|
306
|
+
getComponents() {
|
|
307
|
+
const e = [
|
|
308
|
+
new d(this.model, this.services),
|
|
309
|
+
new w(this.model, this.services),
|
|
310
|
+
new B(this.model, this.services),
|
|
311
|
+
new k(this.model, this.services),
|
|
312
|
+
new oe(this.model, this.services),
|
|
313
|
+
new M(this.model, this.services, {
|
|
314
|
+
fadeInOnChartHolderMouseover: !0,
|
|
315
|
+
handleThresholds: !0
|
|
316
|
+
}),
|
|
317
|
+
new C(this.model, this.services, {
|
|
318
|
+
skeleton: p.GRID
|
|
319
|
+
})
|
|
320
|
+
];
|
|
321
|
+
return this.getAxisChartComponents(e);
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
class pt extends u {
|
|
325
|
+
constructor(e, s) {
|
|
326
|
+
super(e, s), this.model = new Oe(this.services), this.model.setOptions(a(r.boxplotChart, s.options)), this.init(e, s);
|
|
327
|
+
}
|
|
328
|
+
getComponents() {
|
|
329
|
+
const e = [
|
|
330
|
+
new d(this.model, this.services),
|
|
331
|
+
new w(this.model, this.services),
|
|
332
|
+
new We(this.model, this.services),
|
|
333
|
+
new I(this.model, this.services),
|
|
334
|
+
new C(this.model, this.services, {
|
|
335
|
+
skeleton: p.VERT_OR_HORIZ
|
|
336
|
+
})
|
|
337
|
+
];
|
|
338
|
+
return this.getAxisChartComponents(e, {
|
|
339
|
+
legend: {
|
|
340
|
+
enabled: !1
|
|
341
|
+
}
|
|
342
|
+
});
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
class dt extends u {
|
|
346
|
+
constructor(e, s) {
|
|
347
|
+
super(e, s), this.model.setOptions(a(r.bubbleChart, s.options)), this.init(e, s);
|
|
348
|
+
}
|
|
349
|
+
getComponents() {
|
|
350
|
+
const e = [
|
|
351
|
+
new d(this.model, this.services),
|
|
352
|
+
new w(this.model, this.services),
|
|
353
|
+
new B(this.model, this.services),
|
|
354
|
+
new je(this.model, this.services),
|
|
355
|
+
new C(this.model, this.services, {
|
|
356
|
+
skeleton: p.GRID
|
|
357
|
+
})
|
|
358
|
+
];
|
|
359
|
+
return this.getAxisChartComponents(e);
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
class Ct extends u {
|
|
363
|
+
constructor(e, s) {
|
|
364
|
+
super(e, s), this.model = new Se(this.services), this.model.setOptions(a(r.bulletChart, s.options)), this.init(e, s);
|
|
365
|
+
}
|
|
366
|
+
getComponents() {
|
|
367
|
+
const e = [
|
|
368
|
+
new d(this.model, this.services),
|
|
369
|
+
new w(this.model, this.services),
|
|
370
|
+
new $e(this.model, this.services),
|
|
371
|
+
new C(this.model, this.services, {
|
|
372
|
+
skeleton: p.GRID
|
|
373
|
+
})
|
|
374
|
+
];
|
|
375
|
+
return this.getAxisChartComponents(e);
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
class ut extends T {
|
|
379
|
+
constructor(e, s) {
|
|
380
|
+
super(e, s), this.model = new fe(this.services), this.model.setOptions(
|
|
381
|
+
a(r.choroplethChart, s.options)
|
|
382
|
+
), this.init(e, s);
|
|
383
|
+
}
|
|
384
|
+
// Custom getChartComponents - Implements getChartComponents
|
|
385
|
+
// Removes zoombar support and additional `features` that are not supported in heatmap
|
|
386
|
+
getChartComponents(e, s) {
|
|
387
|
+
const o = this.model.getOptions(), n = m(o, "toolbar", "enabled"), h = !!this.model.getOptions().title, l = {
|
|
388
|
+
id: "title",
|
|
389
|
+
components: [new _(this.model, this.services)],
|
|
390
|
+
growth: i.STRETCH
|
|
391
|
+
}, b = {
|
|
392
|
+
id: "toolbar",
|
|
393
|
+
components: [new z(this.model, this.services)],
|
|
394
|
+
growth: i.PREFERRED
|
|
395
|
+
}, O = {
|
|
396
|
+
id: "header",
|
|
397
|
+
components: [
|
|
398
|
+
new g(
|
|
399
|
+
this.model,
|
|
400
|
+
this.services,
|
|
401
|
+
[
|
|
402
|
+
// always add title to keep layout correct
|
|
403
|
+
l,
|
|
404
|
+
...n ? [b] : []
|
|
405
|
+
],
|
|
406
|
+
{
|
|
407
|
+
direction: c.ROW,
|
|
408
|
+
alignItems: Z.CENTER
|
|
409
|
+
}
|
|
410
|
+
)
|
|
411
|
+
],
|
|
412
|
+
growth: i.PREFERRED
|
|
413
|
+
}, x = {
|
|
414
|
+
id: "legend",
|
|
415
|
+
components: [
|
|
416
|
+
new ne(this.model, this.services, {
|
|
417
|
+
chartType: "choropleth"
|
|
418
|
+
})
|
|
419
|
+
],
|
|
420
|
+
growth: i.PREFERRED,
|
|
421
|
+
renderType: A.SVG
|
|
422
|
+
}, L = {
|
|
423
|
+
id: "graph-frame",
|
|
424
|
+
components: e,
|
|
425
|
+
growth: i.STRETCH,
|
|
426
|
+
renderType: A.SVG
|
|
427
|
+
}, y = m(s, "legend", "enabled") !== !1 && this.model.getOptions().legend.enabled !== !1, D = c.COLUMN_REVERSE, S = {
|
|
428
|
+
id: "spacer",
|
|
429
|
+
components: [new F(this.model, this.services, { size: 15 })],
|
|
430
|
+
growth: i.PREFERRED
|
|
431
|
+
}, P = {
|
|
432
|
+
id: "full-frame",
|
|
433
|
+
components: [
|
|
434
|
+
new g(
|
|
435
|
+
this.model,
|
|
436
|
+
this.services,
|
|
437
|
+
[
|
|
438
|
+
...y ? [x] : [],
|
|
439
|
+
...y ? [S] : [],
|
|
440
|
+
L
|
|
441
|
+
],
|
|
442
|
+
{
|
|
443
|
+
direction: D
|
|
444
|
+
}
|
|
445
|
+
)
|
|
446
|
+
],
|
|
447
|
+
growth: i.STRETCH
|
|
448
|
+
}, v = [];
|
|
449
|
+
if (h || n) {
|
|
450
|
+
v.push(O);
|
|
451
|
+
const E = {
|
|
452
|
+
id: "spacer",
|
|
453
|
+
components: [
|
|
454
|
+
new F(this.model, this.services, n ? { size: 15 } : void 0)
|
|
455
|
+
],
|
|
456
|
+
growth: i.PREFERRED
|
|
457
|
+
};
|
|
458
|
+
v.push(E);
|
|
459
|
+
}
|
|
460
|
+
return v.push(P), [
|
|
461
|
+
new se(this.model, this.services),
|
|
462
|
+
new W(this.model, this.services),
|
|
463
|
+
new g(this.model, this.services, v, {
|
|
464
|
+
direction: c.COLUMN
|
|
465
|
+
})
|
|
466
|
+
];
|
|
467
|
+
}
|
|
468
|
+
getComponents() {
|
|
469
|
+
const e = [new Ke(this.model, this.services)];
|
|
470
|
+
return this.getChartComponents(e);
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
class vt extends T {
|
|
474
|
+
constructor(e, s) {
|
|
475
|
+
super(e, s), this.model = new Ae(this.services), this.model.setOptions(a(r.circlePackChart, s.options)), this.init(e, s);
|
|
476
|
+
}
|
|
477
|
+
getComponents() {
|
|
478
|
+
const e = [new Je(this.model, this.services)];
|
|
479
|
+
return this.getChartComponents(e);
|
|
480
|
+
}
|
|
481
|
+
}
|
|
482
|
+
const Q = {
|
|
483
|
+
[R.LINE]: [k, M],
|
|
484
|
+
[R.SCATTER]: [M],
|
|
485
|
+
[R.AREA]: [oe, k, M],
|
|
486
|
+
[R.STACKED_AREA]: [ie, k, re, U],
|
|
487
|
+
[R.SIMPLE_BAR]: [ae],
|
|
488
|
+
[R.GROUPED_BAR]: [he, I],
|
|
489
|
+
[R.STACKED_BAR]: [ce, U]
|
|
490
|
+
};
|
|
491
|
+
class gt extends u {
|
|
492
|
+
constructor(e, s) {
|
|
493
|
+
super(e, s);
|
|
494
|
+
const o = a(r.comboChart, s.options);
|
|
495
|
+
s.options.comboChartTypes || (console.error("No comboChartTypes defined for the Combo Chart!"), o.comboChartTypes = [{ type: R.LINE, correspondingDatasets: [] }]), this.model.setOptions(o), this.init(e, s);
|
|
496
|
+
}
|
|
497
|
+
getGraphComponents() {
|
|
498
|
+
const { comboChartTypes: e } = this.model.getOptions();
|
|
499
|
+
let s = 0;
|
|
500
|
+
const o = e.map((n) => {
|
|
501
|
+
const h = n.type;
|
|
502
|
+
let l;
|
|
503
|
+
if (typeof n.type == "string") {
|
|
504
|
+
if (!Object.keys(Q).includes(n.type))
|
|
505
|
+
return console.error(
|
|
506
|
+
`Invalid chart type "${n.type}" specified for combo chart. Please refer to the ComboChart tutorial for more guidance.`
|
|
507
|
+
), null;
|
|
508
|
+
let b = !1;
|
|
509
|
+
const O = `${qs(n.type)}Chart`;
|
|
510
|
+
return l = V(
|
|
511
|
+
{},
|
|
512
|
+
r[O],
|
|
513
|
+
this.model.getOptions(),
|
|
514
|
+
n.options
|
|
515
|
+
), n.type === R.STACKED_AREA && (b = !0), Q[n.type].map(
|
|
516
|
+
(x) => new x(this.model, this.services, {
|
|
517
|
+
groups: n.correspondingDatasets,
|
|
518
|
+
id: s++,
|
|
519
|
+
options: l,
|
|
520
|
+
stacked: b
|
|
521
|
+
})
|
|
522
|
+
);
|
|
523
|
+
} else
|
|
524
|
+
return l = V({}, this.model.getOptions(), n.options), new h(this.model, this.services, {
|
|
525
|
+
groups: n.correspondingDatasets,
|
|
526
|
+
id: s++,
|
|
527
|
+
options: l
|
|
528
|
+
});
|
|
529
|
+
}).filter((n) => n !== null);
|
|
530
|
+
return gs(o);
|
|
531
|
+
}
|
|
532
|
+
getComponents() {
|
|
533
|
+
const { comboChartTypes: e } = this.model.getOptions(), s = e.some(
|
|
534
|
+
(h) => h.type === R.STACKED_BAR || h.type === R.STACKED_AREA
|
|
535
|
+
), o = [
|
|
536
|
+
new d(this.model, this.services),
|
|
537
|
+
new w(this.model, this.services),
|
|
538
|
+
new C(this.model, this.services, {
|
|
539
|
+
skeleton: p.GRID
|
|
540
|
+
}),
|
|
541
|
+
...s ? [] : [new B(this.model, this.services)],
|
|
542
|
+
...this.getGraphComponents()
|
|
543
|
+
];
|
|
544
|
+
return this.getAxisChartComponents(o);
|
|
545
|
+
}
|
|
546
|
+
}
|
|
547
|
+
class Xs extends T {
|
|
548
|
+
// TODO - Optimize the use of "extending"
|
|
549
|
+
constructor(e, s, o = !1) {
|
|
550
|
+
super(e, s), this.model = new xe(this.services), !o && (this.model.setOptions(a(r.pieChart, s.options)), this.init(e, s));
|
|
551
|
+
}
|
|
552
|
+
getComponents() {
|
|
553
|
+
const e = [
|
|
554
|
+
new qe(this.model, this.services),
|
|
555
|
+
new C(this.model, this.services, {
|
|
556
|
+
skeleton: p.PIE
|
|
557
|
+
})
|
|
558
|
+
];
|
|
559
|
+
return this.getChartComponents(e);
|
|
560
|
+
}
|
|
561
|
+
}
|
|
562
|
+
class wt extends Xs {
|
|
563
|
+
constructor(e, s) {
|
|
564
|
+
super(e, s, !0), this.model.setOptions(a(r.donutChart, s.options)), this.init(e, s);
|
|
565
|
+
}
|
|
566
|
+
getComponents() {
|
|
567
|
+
const e = [
|
|
568
|
+
new Xe(this.model, this.services),
|
|
569
|
+
new C(this.model, this.services, {
|
|
570
|
+
skeleton: p.DONUT
|
|
571
|
+
})
|
|
572
|
+
];
|
|
573
|
+
return this.getChartComponents(e);
|
|
574
|
+
}
|
|
575
|
+
}
|
|
576
|
+
class Et extends T {
|
|
577
|
+
constructor(e, s) {
|
|
578
|
+
super(e, s), this.model = new ye(this.services), this.model.setOptions(a(r.gaugeChart, s.options)), this.init(e, s);
|
|
579
|
+
}
|
|
580
|
+
getComponents() {
|
|
581
|
+
const e = [new Qe(this.model, this.services)];
|
|
582
|
+
return this.getChartComponents(e);
|
|
583
|
+
}
|
|
584
|
+
}
|
|
585
|
+
class Rt extends u {
|
|
586
|
+
constructor(e, s) {
|
|
587
|
+
super(e, s), this.model.setOptions(a(r.groupedBarChart, s.options)), this.init(e, s);
|
|
588
|
+
}
|
|
589
|
+
getComponents() {
|
|
590
|
+
const e = [
|
|
591
|
+
new d(this.model, this.services),
|
|
592
|
+
new w(this.model, this.services),
|
|
593
|
+
new he(this.model, this.services),
|
|
594
|
+
new I(this.model, this.services),
|
|
595
|
+
new C(this.model, this.services, {
|
|
596
|
+
skeleton: p.VERT_OR_HORIZ
|
|
597
|
+
})
|
|
598
|
+
];
|
|
599
|
+
return this.getAxisChartComponents(e);
|
|
600
|
+
}
|
|
601
|
+
}
|
|
602
|
+
class Tt extends u {
|
|
603
|
+
constructor(e, s) {
|
|
604
|
+
super(e, s), this.model = new De(this.services), this.model.setOptions(a(r.heatmapChart, s.options)), this.init(e, s);
|
|
605
|
+
}
|
|
606
|
+
// Custom getChartComponents - Implements getChartComponents
|
|
607
|
+
// Removes zoombar support and additional `features` that are not supported in heatmap
|
|
608
|
+
getAxisChartComponents(e, s) {
|
|
609
|
+
const o = this.model.getOptions(), n = m(o, "toolbar", "enabled");
|
|
610
|
+
this.services.cartesianScales.determineAxisDuality(), this.services.cartesianScales.findDomainAndRangeAxes(), this.services.cartesianScales.determineOrientation();
|
|
611
|
+
const h = !!this.model.getOptions().title, l = {
|
|
612
|
+
id: "title",
|
|
613
|
+
components: [new _(this.model, this.services)],
|
|
614
|
+
growth: i.STRETCH
|
|
615
|
+
}, b = {
|
|
616
|
+
id: "toolbar",
|
|
617
|
+
components: [new z(this.model, this.services)],
|
|
618
|
+
growth: i.PREFERRED
|
|
619
|
+
}, O = {
|
|
620
|
+
id: "header",
|
|
621
|
+
components: [
|
|
622
|
+
new g(
|
|
623
|
+
this.model,
|
|
624
|
+
this.services,
|
|
625
|
+
[
|
|
626
|
+
// always add title to keep layout correct
|
|
627
|
+
l,
|
|
628
|
+
...n ? [b] : []
|
|
629
|
+
],
|
|
630
|
+
{
|
|
631
|
+
direction: c.ROW,
|
|
632
|
+
alignItems: Z.CENTER
|
|
633
|
+
}
|
|
634
|
+
)
|
|
635
|
+
],
|
|
636
|
+
growth: i.PREFERRED
|
|
637
|
+
}, x = {
|
|
638
|
+
id: "legend",
|
|
639
|
+
components: [
|
|
640
|
+
new ne(this.model, this.services, {
|
|
641
|
+
chartType: "heatmap"
|
|
642
|
+
})
|
|
643
|
+
],
|
|
644
|
+
growth: i.PREFERRED,
|
|
645
|
+
renderType: A.SVG
|
|
646
|
+
}, L = {
|
|
647
|
+
id: "graph-frame",
|
|
648
|
+
components: e,
|
|
649
|
+
growth: i.STRETCH,
|
|
650
|
+
renderType: A.SVG
|
|
651
|
+
}, y = m(s, "legend", "enabled") !== !1 && this.model.getOptions().legend.enabled !== !1, D = c.COLUMN_REVERSE, S = {
|
|
652
|
+
id: "spacer",
|
|
653
|
+
components: [new F(this.model, this.services, { size: 15 })],
|
|
654
|
+
growth: i.PREFERRED
|
|
655
|
+
}, P = {
|
|
656
|
+
id: "full-frame",
|
|
657
|
+
components: [
|
|
658
|
+
new g(
|
|
659
|
+
this.model,
|
|
660
|
+
this.services,
|
|
661
|
+
[
|
|
662
|
+
...y ? [x] : [],
|
|
663
|
+
...y ? [S] : [],
|
|
664
|
+
L
|
|
665
|
+
],
|
|
666
|
+
{
|
|
667
|
+
direction: D
|
|
668
|
+
}
|
|
669
|
+
)
|
|
670
|
+
],
|
|
671
|
+
growth: i.STRETCH
|
|
672
|
+
}, v = [];
|
|
673
|
+
if (h || n) {
|
|
674
|
+
v.push(O);
|
|
675
|
+
const E = {
|
|
676
|
+
id: "spacer",
|
|
677
|
+
components: [
|
|
678
|
+
new F(this.model, this.services, n ? { size: 15 } : void 0)
|
|
679
|
+
],
|
|
680
|
+
growth: i.PREFERRED
|
|
681
|
+
};
|
|
682
|
+
v.push(E);
|
|
683
|
+
}
|
|
684
|
+
return v.push(P), [
|
|
685
|
+
new te(this.model, this.services),
|
|
686
|
+
new W(this.model, this.services),
|
|
687
|
+
new g(this.model, this.services, v, {
|
|
688
|
+
direction: c.COLUMN
|
|
689
|
+
})
|
|
690
|
+
];
|
|
691
|
+
}
|
|
692
|
+
getComponents() {
|
|
693
|
+
const e = [
|
|
694
|
+
new d(this.model, this.services),
|
|
695
|
+
new Ye(this.model, this.services)
|
|
696
|
+
];
|
|
697
|
+
return this.getAxisChartComponents(e);
|
|
698
|
+
}
|
|
699
|
+
}
|
|
700
|
+
class bt extends u {
|
|
701
|
+
constructor(e, s) {
|
|
702
|
+
super(e, s), this.model = new Fe(this.services), this.model.setOptions(a(r.histogramChart, s.options)), this.init(e, s), this.update();
|
|
703
|
+
}
|
|
704
|
+
getComponents() {
|
|
705
|
+
const e = [
|
|
706
|
+
new d(this.model, this.services),
|
|
707
|
+
new w(this.model, this.services),
|
|
708
|
+
new es(this.model, this.services),
|
|
709
|
+
new ss(this.model, this.services)
|
|
710
|
+
];
|
|
711
|
+
return this.getAxisChartComponents(e);
|
|
712
|
+
}
|
|
713
|
+
}
|
|
714
|
+
class Ot extends u {
|
|
715
|
+
constructor(e, s) {
|
|
716
|
+
super(e, s), this.model.setOptions(a(r.lineChart, s.options)), this.init(e, s);
|
|
717
|
+
}
|
|
718
|
+
getComponents() {
|
|
719
|
+
const e = [
|
|
720
|
+
new d(this.model, this.services),
|
|
721
|
+
new w(this.model, this.services),
|
|
722
|
+
new B(this.model, this.services),
|
|
723
|
+
new k(this.model, this.services),
|
|
724
|
+
new M(this.model, this.services, { handleThresholds: !0 }),
|
|
725
|
+
new ts(this.model, this.services),
|
|
726
|
+
new I(this.model, this.services)
|
|
727
|
+
];
|
|
728
|
+
return this.getAxisChartComponents(e);
|
|
729
|
+
}
|
|
730
|
+
}
|
|
731
|
+
class St extends u {
|
|
732
|
+
constructor(e, s) {
|
|
733
|
+
super(e, s), this.model.setOptions(a(r.lollipopChart, s.options)), this.init(e, s);
|
|
734
|
+
}
|
|
735
|
+
getComponents() {
|
|
736
|
+
const e = [
|
|
737
|
+
new d(this.model, this.services),
|
|
738
|
+
new w(this.model, this.services),
|
|
739
|
+
new B(this.model, this.services),
|
|
740
|
+
new os(this.model, this.services),
|
|
741
|
+
new M(this.model, this.services),
|
|
742
|
+
new C(this.model, this.services, {
|
|
743
|
+
skeleton: p.GRID
|
|
744
|
+
})
|
|
745
|
+
];
|
|
746
|
+
return this.getAxisChartComponents(e);
|
|
747
|
+
}
|
|
748
|
+
}
|
|
749
|
+
class ft extends T {
|
|
750
|
+
constructor(e, s) {
|
|
751
|
+
var n;
|
|
752
|
+
super(e, s), this.model = new Le(this.services);
|
|
753
|
+
const o = (n = s.options.meter) != null && n.proportional ? V(J(r.proportionalMeterChart), s.options) : V(J(r.meterChart), s.options);
|
|
754
|
+
this.model.setOptions(o), this.init(e, s);
|
|
755
|
+
}
|
|
756
|
+
getComponents() {
|
|
757
|
+
const s = [
|
|
758
|
+
...m(this.model.getOptions(), "meter", "showLabels") ? [
|
|
759
|
+
// Meter has a unique dataset title within the graph
|
|
760
|
+
{
|
|
761
|
+
id: "meter-title",
|
|
762
|
+
components: [new ns(this.model, this.services)],
|
|
763
|
+
growth: i.STRETCH,
|
|
764
|
+
renderType: A.SVG
|
|
765
|
+
},
|
|
766
|
+
// Create the title spacer
|
|
767
|
+
{
|
|
768
|
+
id: "spacer",
|
|
769
|
+
components: [
|
|
770
|
+
new F(this.model, this.services, {
|
|
771
|
+
size: 8
|
|
772
|
+
})
|
|
773
|
+
],
|
|
774
|
+
growth: i.STRETCH
|
|
775
|
+
}
|
|
776
|
+
] : [],
|
|
777
|
+
// Specify what to render inside the graph only
|
|
778
|
+
{
|
|
779
|
+
id: "meter-graph",
|
|
780
|
+
components: [new is(this.model, this.services)],
|
|
781
|
+
growth: i.STRETCH,
|
|
782
|
+
renderType: A.SVG
|
|
783
|
+
}
|
|
784
|
+
], o = [
|
|
785
|
+
new g(this.model, this.services, s, {
|
|
786
|
+
direction: c.COLUMN
|
|
787
|
+
})
|
|
788
|
+
];
|
|
789
|
+
return this.getChartComponents(o, {
|
|
790
|
+
graphFrameRenderType: A.HTML
|
|
791
|
+
});
|
|
792
|
+
}
|
|
793
|
+
}
|
|
794
|
+
class At extends T {
|
|
795
|
+
constructor(e, s) {
|
|
796
|
+
super(e, s), this.model = new Pe(this.services), this.model.setOptions(a(r.radarChart, s.options)), this.init(e, s);
|
|
797
|
+
}
|
|
798
|
+
getComponents() {
|
|
799
|
+
const e = [new rs(this.model, this.services)];
|
|
800
|
+
return this.getChartComponents(e);
|
|
801
|
+
}
|
|
802
|
+
}
|
|
803
|
+
class xt extends u {
|
|
804
|
+
constructor(e, s) {
|
|
805
|
+
super(e, s), this.model.setOptions(a(r.scatterChart, s.options)), this.init(e, s);
|
|
806
|
+
}
|
|
807
|
+
getComponents() {
|
|
808
|
+
const e = [
|
|
809
|
+
new d(this.model, this.services),
|
|
810
|
+
new w(this.model, this.services),
|
|
811
|
+
new B(this.model, this.services),
|
|
812
|
+
new M(this.model, this.services),
|
|
813
|
+
new C(this.model, this.services, {
|
|
814
|
+
skeleton: p.GRID
|
|
815
|
+
})
|
|
816
|
+
];
|
|
817
|
+
return this.getAxisChartComponents(e);
|
|
818
|
+
}
|
|
819
|
+
}
|
|
820
|
+
class yt extends T {
|
|
821
|
+
constructor(e, s) {
|
|
822
|
+
super(e, s), this.model = new Me(this.services), this.model.setOptions(a(r.treeChart, s.options)), this.init(e, s);
|
|
823
|
+
}
|
|
824
|
+
getComponents() {
|
|
825
|
+
const e = [new as(this.model, this.services)];
|
|
826
|
+
return this.getChartComponents(e, {
|
|
827
|
+
excludeLegend: !0
|
|
828
|
+
});
|
|
829
|
+
}
|
|
830
|
+
}
|
|
831
|
+
class Dt extends T {
|
|
832
|
+
constructor(e, s) {
|
|
833
|
+
super(e, s), this.model = new ke(this.services), this.model.setOptions(a(r.treemapChart, s.options)), this.init(e, s);
|
|
834
|
+
}
|
|
835
|
+
getComponents() {
|
|
836
|
+
const e = [new hs(this.model, this.services)];
|
|
837
|
+
return this.getChartComponents(e);
|
|
838
|
+
}
|
|
839
|
+
}
|
|
840
|
+
class Ft extends u {
|
|
841
|
+
constructor(e, s) {
|
|
842
|
+
super(e, s), this.model.setOptions(a(r.simpleBarChart, s.options)), this.init(e, s);
|
|
843
|
+
}
|
|
844
|
+
getComponents() {
|
|
845
|
+
const e = [
|
|
846
|
+
new d(this.model, this.services),
|
|
847
|
+
new w(this.model, this.services),
|
|
848
|
+
new ae(this.model, this.services),
|
|
849
|
+
new I(this.model, this.services),
|
|
850
|
+
new C(this.model, this.services, {
|
|
851
|
+
skeleton: p.VERT_OR_HORIZ
|
|
852
|
+
})
|
|
853
|
+
];
|
|
854
|
+
return this.getAxisChartComponents(e);
|
|
855
|
+
}
|
|
856
|
+
}
|
|
857
|
+
class Lt extends u {
|
|
858
|
+
constructor(e, s) {
|
|
859
|
+
super(e, s), this.model.setOptions(a(r.stackedAreaChart, s.options)), this.init(e, s);
|
|
860
|
+
}
|
|
861
|
+
getComponents() {
|
|
862
|
+
const e = [
|
|
863
|
+
new d(this.model, this.services),
|
|
864
|
+
new w(this.model, this.services),
|
|
865
|
+
new U(this.model, this.services),
|
|
866
|
+
new ie(this.model, this.services),
|
|
867
|
+
new k(this.model, this.services, { stacked: !0 }),
|
|
868
|
+
new re(this.model, this.services, {
|
|
869
|
+
fadeInOnChartHolderMouseover: !0,
|
|
870
|
+
handleThresholds: !0,
|
|
871
|
+
stacked: !0
|
|
872
|
+
}),
|
|
873
|
+
new C(this.model, this.services, {
|
|
874
|
+
skeleton: p.GRID
|
|
875
|
+
})
|
|
876
|
+
];
|
|
877
|
+
return this.getAxisChartComponents(e);
|
|
878
|
+
}
|
|
879
|
+
}
|
|
880
|
+
class Pt extends u {
|
|
881
|
+
constructor(e, s) {
|
|
882
|
+
super(e, s), this.model.setOptions(a(r.stackedBarChart, s.options)), this.init(e, s);
|
|
883
|
+
}
|
|
884
|
+
getComponents() {
|
|
885
|
+
const e = [
|
|
886
|
+
new d(this.model, this.services),
|
|
887
|
+
new w(this.model, this.services),
|
|
888
|
+
new U(this.model, this.services),
|
|
889
|
+
new ce(this.model, this.services),
|
|
890
|
+
new C(this.model, this.services, {
|
|
891
|
+
skeleton: p.VERT_OR_HORIZ
|
|
892
|
+
}),
|
|
893
|
+
new I(this.model, this.services)
|
|
894
|
+
];
|
|
895
|
+
return this.getAxisChartComponents(e);
|
|
896
|
+
}
|
|
897
|
+
}
|
|
898
|
+
class Mt extends T {
|
|
899
|
+
constructor(e, s) {
|
|
900
|
+
super(e, s), this.model = new Be(this.services), this.model.setOptions(a(r.wordCloudChart, s.options)), this.init(e, s);
|
|
901
|
+
}
|
|
902
|
+
getComponents() {
|
|
903
|
+
const e = [
|
|
904
|
+
new cs(this.model, this.services),
|
|
905
|
+
new C(this.model, this.services, {
|
|
906
|
+
skeleton: p.PIE
|
|
907
|
+
})
|
|
908
|
+
];
|
|
909
|
+
return this.getChartComponents(e);
|
|
910
|
+
}
|
|
911
|
+
}
|
|
912
|
+
export {
|
|
913
|
+
Eo as Alignments,
|
|
914
|
+
ze as Alluvial,
|
|
915
|
+
mt as AlluvialChart,
|
|
916
|
+
be as AlluvialChartModel,
|
|
917
|
+
oe as Area,
|
|
918
|
+
lt as AreaChart,
|
|
919
|
+
Ro as AreaEvent,
|
|
920
|
+
To as ArrowDirections,
|
|
921
|
+
hn as Axis,
|
|
922
|
+
u as AxisChart,
|
|
923
|
+
te as AxisChartsTooltip,
|
|
924
|
+
bo as AxisEvent,
|
|
925
|
+
Oo as AxisFlavor,
|
|
926
|
+
$ as AxisPositions,
|
|
927
|
+
So as AxisTitleOrientations,
|
|
928
|
+
cn as Bar,
|
|
929
|
+
fo as BarEvent,
|
|
930
|
+
es as BinnedRuler,
|
|
931
|
+
We as Boxplot,
|
|
932
|
+
pt as BoxplotChart,
|
|
933
|
+
Oe as BoxplotChartModel,
|
|
934
|
+
Ao as BoxplotEvent,
|
|
935
|
+
je as Bubble,
|
|
936
|
+
dt as BubbleChart,
|
|
937
|
+
$e as Bullet,
|
|
938
|
+
Ct as BulletChart,
|
|
939
|
+
Se as BulletChartModel,
|
|
940
|
+
xo as CalloutDirections,
|
|
941
|
+
Ge as CanvasChartClip,
|
|
942
|
+
ms as CanvasZoom,
|
|
943
|
+
yo as CanvasZoomEvent,
|
|
944
|
+
Do as CartesianOrientations,
|
|
945
|
+
Cs as CartesianScales,
|
|
946
|
+
T as Chart,
|
|
947
|
+
Ne as ChartBrush,
|
|
948
|
+
Ve as ChartClip,
|
|
949
|
+
Fo as ChartEvent,
|
|
950
|
+
Re as ChartModel,
|
|
951
|
+
Fe as ChartModelBinned,
|
|
952
|
+
Te as ChartModelCartesian,
|
|
953
|
+
Lo as ChartTheme,
|
|
954
|
+
R as ChartTypes,
|
|
955
|
+
Ke as Choropleth,
|
|
956
|
+
fe as ChoroplethModel,
|
|
957
|
+
Je as CirclePack,
|
|
958
|
+
vt as CirclePackChart,
|
|
959
|
+
Ae as CirclePackChartModel,
|
|
960
|
+
Po as ColorClassNameTypes,
|
|
961
|
+
Mo as ColorLegendType,
|
|
962
|
+
ne as ColorScaleLegend,
|
|
963
|
+
gt as ComboChart,
|
|
964
|
+
mn as Component,
|
|
965
|
+
us as Curves,
|
|
966
|
+
ws as DOMUtils,
|
|
967
|
+
ko as DividerStatus,
|
|
968
|
+
Bo as DominantBaseline,
|
|
969
|
+
Xe as Donut,
|
|
970
|
+
wt as DonutChart,
|
|
971
|
+
ls as Events,
|
|
972
|
+
ut as ExperimentalChoroplethChart,
|
|
973
|
+
ps as Files,
|
|
974
|
+
Qe as Gauge,
|
|
975
|
+
Et as GaugeChart,
|
|
976
|
+
ye as GaugeChartModel,
|
|
977
|
+
Io as GaugeEvent,
|
|
978
|
+
Ho as GaugeTypes,
|
|
979
|
+
ln as GeoProjection,
|
|
980
|
+
Es as GradientUtils,
|
|
981
|
+
w as Grid,
|
|
982
|
+
he as GroupedBar,
|
|
983
|
+
Rt as GroupedBarChart,
|
|
984
|
+
Ye as Heatmap,
|
|
985
|
+
Tt as HeatmapChart,
|
|
986
|
+
De as HeatmapModel,
|
|
987
|
+
Ze as Highlight,
|
|
988
|
+
ss as Histogram,
|
|
989
|
+
bt as HistogramChart,
|
|
990
|
+
pn as HoverAxis,
|
|
991
|
+
Z as LayoutAlignItems,
|
|
992
|
+
g as LayoutComponent,
|
|
993
|
+
c as LayoutDirection,
|
|
994
|
+
i as LayoutGrowth,
|
|
995
|
+
ee as Legend,
|
|
996
|
+
Go as LegendItemType,
|
|
997
|
+
N as LegendOrientations,
|
|
998
|
+
K as LegendPositions,
|
|
999
|
+
k as Line,
|
|
1000
|
+
Ot as LineChart,
|
|
1001
|
+
Vo as LineEvent,
|
|
1002
|
+
os as Lollipop,
|
|
1003
|
+
St as LollipopChart,
|
|
1004
|
+
is as Meter,
|
|
1005
|
+
ft as MeterChart,
|
|
1006
|
+
Le as MeterChartModel,
|
|
1007
|
+
ns as MeterTitle,
|
|
1008
|
+
W as Modal,
|
|
1009
|
+
No as ModalEvent,
|
|
1010
|
+
Uo as ModelEvent,
|
|
1011
|
+
qe as Pie,
|
|
1012
|
+
Xs as PieChart,
|
|
1013
|
+
xe as PieChartModel,
|
|
1014
|
+
Zo as PieEvent,
|
|
1015
|
+
_o as Projection,
|
|
1016
|
+
rs as Radar,
|
|
1017
|
+
At as RadarChart,
|
|
1018
|
+
Pe as RadarChartModel,
|
|
1019
|
+
zo as RadarEvent,
|
|
1020
|
+
A as RenderTypes,
|
|
1021
|
+
B as Ruler,
|
|
1022
|
+
Ie as ScaleTypes,
|
|
1023
|
+
M as Scatter,
|
|
1024
|
+
xt as ScatterChart,
|
|
1025
|
+
Wo as ScatterEvent,
|
|
1026
|
+
On as Service,
|
|
1027
|
+
ae as SimpleBar,
|
|
1028
|
+
Ft as SimpleBarChart,
|
|
1029
|
+
C as Skeleton,
|
|
1030
|
+
ts as SkeletonLines,
|
|
1031
|
+
p as Skeletons,
|
|
1032
|
+
F as Spacer,
|
|
1033
|
+
ie as StackedArea,
|
|
1034
|
+
Lt as StackedAreaChart,
|
|
1035
|
+
ce as StackedBar,
|
|
1036
|
+
Pt as StackedBarChart,
|
|
1037
|
+
U as StackedRuler,
|
|
1038
|
+
re as StackedScatter,
|
|
1039
|
+
jo as Statuses,
|
|
1040
|
+
It as TIME_INTERVALS,
|
|
1041
|
+
$o as TextAnchor,
|
|
1042
|
+
Ue as Threshold,
|
|
1043
|
+
Ko as ThresholdEvent,
|
|
1044
|
+
Jo as TickRotations,
|
|
1045
|
+
_ as Title,
|
|
1046
|
+
z as Toolbar,
|
|
1047
|
+
qo as ToolbarControlTypes,
|
|
1048
|
+
se as Tooltip,
|
|
1049
|
+
Xo as TooltipEvent,
|
|
1050
|
+
ds as Transitions,
|
|
1051
|
+
as as Tree,
|
|
1052
|
+
yt as TreeChart,
|
|
1053
|
+
Me as TreeChartModel,
|
|
1054
|
+
Qo as TreeEvent,
|
|
1055
|
+
Yo as TreeTypes,
|
|
1056
|
+
hs as Treemap,
|
|
1057
|
+
Dt as TreemapChart,
|
|
1058
|
+
ke as TreemapChartModel,
|
|
1059
|
+
en as TreemapEvent,
|
|
1060
|
+
sn as TruncationTypes,
|
|
1061
|
+
d as TwoDimensionalAxes,
|
|
1062
|
+
cs as WordCloud,
|
|
1063
|
+
Mt as WordCloudChart,
|
|
1064
|
+
tn as WordCloudEvent,
|
|
1065
|
+
Be as WordCloudModel,
|
|
1066
|
+
I as ZeroLine,
|
|
1067
|
+
vs as Zoom,
|
|
1068
|
+
_e as ZoomBar,
|
|
1069
|
+
on as ZoomBarTypes,
|
|
1070
|
+
nn as ZoomDomainEvent,
|
|
1071
|
+
rn as ZoombarEvent,
|
|
1072
|
+
Ht as alluvial,
|
|
1073
|
+
Gt as area,
|
|
1074
|
+
dn as arrowLeft,
|
|
1075
|
+
Cn as arrowRight,
|
|
1076
|
+
Vt as axis,
|
|
1077
|
+
Nt as baseTooltip,
|
|
1078
|
+
Ut as boxplot,
|
|
1079
|
+
un as buildBezierPathString,
|
|
1080
|
+
vn as buildElbowPathString,
|
|
1081
|
+
gn as buildStraightPathString,
|
|
1082
|
+
Zt as canvasZoomSettings,
|
|
1083
|
+
_t as carbonPrefix,
|
|
1084
|
+
wn as circle,
|
|
1085
|
+
zt as circlePack,
|
|
1086
|
+
Wt as color,
|
|
1087
|
+
jt as computeTimeIntervalName,
|
|
1088
|
+
$t as configurations,
|
|
1089
|
+
Kt as defaultLegendAdditionalItems,
|
|
1090
|
+
Sn as degToRad,
|
|
1091
|
+
En as diamond,
|
|
1092
|
+
fn as distanceBetweenPointOnCircAndVerticalDiameter,
|
|
1093
|
+
Jt as formatDateTillMilliSeconds,
|
|
1094
|
+
qt as formatTick,
|
|
1095
|
+
Xt as getColorScale,
|
|
1096
|
+
Qt as getDomain,
|
|
1097
|
+
Yt as getTimeformats,
|
|
1098
|
+
eo as grid,
|
|
1099
|
+
so as histogram,
|
|
1100
|
+
go as interfaces,
|
|
1101
|
+
to as isTickPrimary,
|
|
1102
|
+
oo as legend,
|
|
1103
|
+
no as lines,
|
|
1104
|
+
io as meter,
|
|
1105
|
+
r as options,
|
|
1106
|
+
ro as pie,
|
|
1107
|
+
An as polarToCartesianCoords,
|
|
1108
|
+
xn as radToDeg,
|
|
1109
|
+
ao as radar,
|
|
1110
|
+
yn as radialLabelPlacement,
|
|
1111
|
+
ho as ruler,
|
|
1112
|
+
co as spacers,
|
|
1113
|
+
Rn as square,
|
|
1114
|
+
Tn as tee,
|
|
1115
|
+
mo as timeScale,
|
|
1116
|
+
lo as toolbar,
|
|
1117
|
+
po as tooltips,
|
|
1118
|
+
Co as transitions,
|
|
1119
|
+
uo as zoomBar
|
|
1120
|
+
};
|
|
1121
|
+
//# sourceMappingURL=index.mjs.map
|