@carbon/charts 1.11.2 → 1.11.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/dist/{_baseEach-477c04db.js → _baseEach-326db134.js} +2 -2
  3. package/dist/{_baseEach-477c04db.js.map → _baseEach-326db134.js.map} +1 -1
  4. package/dist/{_baseEach-05847c57.mjs → _baseEach-9b6a12fa.mjs} +2 -2
  5. package/dist/{_baseEach-05847c57.mjs.map → _baseEach-9b6a12fa.mjs.map} +1 -1
  6. package/dist/angle-utils-264ed176.mjs +840 -0
  7. package/dist/angle-utils-264ed176.mjs.map +1 -0
  8. package/dist/angle-utils-ccc0d890.js +3 -0
  9. package/dist/angle-utils-ccc0d890.js.map +1 -0
  10. package/dist/chart.d.ts +1 -1
  11. package/dist/{choropleth-9a359c3b.mjs → choropleth-141685a0.mjs} +280 -277
  12. package/dist/choropleth-141685a0.mjs.map +1 -0
  13. package/dist/{choropleth-2f8ec4a1.js → choropleth-b1a3729f.js} +9 -9
  14. package/dist/choropleth-b1a3729f.js.map +1 -0
  15. package/dist/color-scale-utils-2cd523be.js +2 -0
  16. package/dist/color-scale-utils-2cd523be.js.map +1 -0
  17. package/dist/color-scale-utils-b9604b2c.mjs +3335 -0
  18. package/dist/color-scale-utils-b9604b2c.mjs.map +1 -0
  19. package/dist/components/index.js +1 -1
  20. package/dist/components/index.mjs +4 -4
  21. package/dist/demo/charts/index.d.ts +9 -6
  22. package/dist/demo/index.js +197 -193
  23. package/dist/demo/index.js.map +1 -1
  24. package/dist/demo/index.mjs +2119 -1592
  25. package/dist/demo/index.mjs.map +1 -1
  26. package/dist/demo/utils/index.d.ts +1 -1
  27. package/dist/demo/utils/package-versions.d.ts +20 -0
  28. package/dist/demo/utils/stackblitz/angular.d.ts +3 -0
  29. package/dist/demo/utils/stackblitz/index.d.ts +5 -0
  30. package/dist/demo/utils/stackblitz/react.d.ts +3 -0
  31. package/dist/demo/utils/stackblitz/svelte.d.ts +3 -0
  32. package/dist/demo/utils/stackblitz/vanilla-js.d.ts +3 -0
  33. package/dist/demo/utils/stackblitz/vue.d.ts +3 -0
  34. package/dist/{index-e425a7b5.mjs → index-4b5d1e49.mjs} +3 -3
  35. package/dist/{index-e425a7b5.mjs.map → index-4b5d1e49.mjs.map} +1 -1
  36. package/dist/{index-4203ca23.js → index-eace9da9.js} +2 -2
  37. package/dist/{index-4203ca23.js.map → index-eace9da9.js.map} +1 -1
  38. package/dist/index.js +1 -1
  39. package/dist/index.js.map +1 -1
  40. package/dist/index.mjs +126 -125
  41. package/dist/index.mjs.map +1 -1
  42. package/dist/model/index.js +1 -1
  43. package/dist/model/index.js.map +1 -1
  44. package/dist/model/index.mjs +34 -34
  45. package/dist/model/index.mjs.map +1 -1
  46. package/dist/services/index.js +1 -1
  47. package/dist/services/index.mjs +10 -10
  48. package/package.json +5 -5
  49. package/dist/angle-utils-512bc5cd.js +0 -2
  50. package/dist/angle-utils-512bc5cd.js.map +0 -1
  51. package/dist/angle-utils-7255d1d9.mjs +0 -387
  52. package/dist/angle-utils-7255d1d9.mjs.map +0 -1
  53. package/dist/choropleth-2f8ec4a1.js.map +0 -1
  54. package/dist/choropleth-9a359c3b.mjs.map +0 -1
  55. package/dist/color-scale-utils-222feda6.mjs +0 -3815
  56. package/dist/color-scale-utils-222feda6.mjs.map +0 -1
  57. package/dist/color-scale-utils-79786095.js +0 -3
  58. package/dist/color-scale-utils-79786095.js.map +0 -1
  59. package/dist/demo/utils/sandbox.d.ts +0 -36
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./color-scale-utils-79786095.js"),_=require("./index-822564ed.js"),l=require("./model/index.js"),s=require("./enums-aa2efd99.js"),e=require("./choropleth-2f8ec4a1.js"),c=require("./index-4203ca23.js"),R=require("./angle-utils-512bc5cd.js");require("d3");require("./index-d865d500.js");require("./a11y-c7c9d087.js");require("./_baseEach-477c04db.js");require("d3-sankey");require("d3-cloud");function N(i,t,o){var r=-1,a=i.length;t<0&&(t=-t>a?0:a+t),o=o>a?a:o,o<0&&(o+=a),a=t>o?0:o-t>>>0,t>>>=0;for(var h=Array(a);++r<a;)h[r]=i[r+t];return h}function W(i,t,o){var r=i.length;return o=o===void 0?r:o,!t&&o>=r?i:N(i,t,o)}var z="\\ud800-\\udfff",q="\\u0300-\\u036f",j="\\ufe20-\\ufe2f",$="\\u20d0-\\u20ff",K=q+j+$,J="\\ufe0e\\ufe0f",X="\\u200d",Q=RegExp("["+X+z+K+J+"]");function k(i){return Q.test(i)}function Y(i){return i.split("")}var M="\\ud800-\\udfff",ee="\\u0300-\\u036f",te="\\ufe20-\\ufe2f",oe="\\u20d0-\\u20ff",se=ee+te+oe,ne="\\ufe0e\\ufe0f",ie="["+M+"]",b="["+se+"]",x="\\ud83c[\\udffb-\\udfff]",re="(?:"+b+"|"+x+")",P="[^"+M+"]",G="(?:\\ud83c[\\udde6-\\uddff]){2}",B="[\\ud800-\\udbff][\\udc00-\\udfff]",ae="\\u200d",F=re+"?",I="["+ne+"]?",le="(?:"+ae+"(?:"+[P,G,B].join("|")+")"+I+F+")*",he=I+F+le,ce="(?:"+[P+b+"?",b,G,B,ie].join("|")+")",pe=RegExp(x+"(?="+x+")|"+ce+he,"g");function me(i){return i.match(pe)||[]}function de(i){return k(i)?me(i):Y(i)}function ue(i){return function(t){t=n.toString(t);var o=k(t)?de(t):void 0,r=o?o[0]:t.charAt(0),a=o?W(o,1).join(""):t.slice(1);return r[i]()+a}}var Ce=ue("toUpperCase");const ge=Ce;function ve(i){return ge(n.toString(i).toLowerCase())}var we=e.createCompounder(function(i,t,o){return t=t.toLowerCase(),i+(o?ve(t):t)});const Te=we;class C{constructor(t,o){this.components=[],this.services={canvasZoom:c.CanvasZoom,domUtils:R.DOMUtils,events:c.Events,files:c.Files,gradientUtils:R.GradientUtils,transitions:c.Transitions},this.model=new l.ChartModel(this.services)}init(t,o){this.model.set({holder:t},{skipUpdate:!0}),Object.keys(this.services).forEach(r=>{const a=this.services[r];this.services[r]=new a(this.model,this.services)}),this.services.events.addEventListener(s.Events.Model.UPDATE,()=>{this.update()}),this.model.setData(o.data),this.services.events.addEventListener(s.Events.Chart.RESIZE,()=>{this.update()}),this.components=this.getComponents(),this.update()}getComponents(){return console.error("getComponents() method is not implemented"),[]}update(){if(!this.components)return;Object.keys(this.services).forEach(r=>{this.services[r].update()}),this.components.forEach(r=>r.render(!0));const t=this.services.transitions.getPendingTransitions(),o=Object.keys(t).map(r=>t[r].end().catch(h=>h));Promise.all(o).then(()=>this.services.events.dispatchEvent(s.Events.Chart.RENDER_FINISHED))}destroy(){this.components.forEach(t=>t.destroy()),this.services.domUtils.getHolder().remove(),this.model.set({destroyed:!0},{skipUpdate:!0})}getChartComponents(t,o){const r=this.model.getOptions(),a=n.getProperty(r,"toolbar","enabled"),h={id:"legend",components:[new e.Legend(this.model,this.services)],growth:s.LayoutGrowth.PREFERRED},m=n.getProperty(r,"canvasZoom","enabled");m&&m===!0&&t.push(new e.CanvasChartClip(this.model,this.services));const g=!!this.model.getOptions().title,v={id:"title",components:[new e.Title(this.model,this.services)],growth:s.LayoutGrowth.STRETCH},y={id:"toolbar",components:[new e.Toolbar(this.model,this.services)],growth:s.LayoutGrowth.PREFERRED},L={id:"header",components:[new e.LayoutComponent(this.model,this.services,[v,...a?[y]:[]],{direction:s.LayoutDirection.ROW,alignItems:s.LayoutAlignItems.CENTER})],growth:s.LayoutGrowth.PREFERRED},S={id:"graph-frame",components:t,growth:s.LayoutGrowth.STRETCH,renderType:n.getProperty(o,"graphFrameRenderType")||s.RenderTypes.SVG},E=n.getProperty(o,"excludeLegend")!==!0&&r.legend.enabled!==!1;let w=s.LayoutDirection.COLUMN;if(E){const T=n.getProperty(r,"legend","position");T==="left"?(w=s.LayoutDirection.ROW,r.legend.orientation||(r.legend.orientation=s.LegendOrientations.VERTICAL)):T==="right"?(w=s.LayoutDirection.ROW_REVERSE,r.legend.orientation||(r.legend.orientation=s.LegendOrientations.VERTICAL)):T==="bottom"&&(w=s.LayoutDirection.COLUMN_REVERSE)}const A={id:"spacer",components:[new e.Spacer(this.model,this.services)],growth:s.LayoutGrowth.PREFERRED},d={id:"full-frame",components:[new e.LayoutComponent(this.model,this.services,[...E?[h]:[],...E?[A]:[],S],{direction:w})],growth:s.LayoutGrowth.STRETCH},u=[];if(g||a){u.push(L);const T={id:"spacer",components:[new e.Spacer(this.model,this.services,a?{size:15}:void 0)],growth:s.LayoutGrowth.PREFERRED};u.push(T)}return u.push(d),[new e.Tooltip(this.model,this.services),new e.Modal(this.model,this.services),new e.LayoutComponent(this.model,this.services,u,{direction:s.LayoutDirection.COLUMN})]}}class p extends C{constructor(t,o){super(t,o),this.services=Object.assign(this.services,{cartesianScales:c.CartesianScales,curves:c.Curves,zoom:c.Zoom}),this.model=new l.ChartModelCartesian(this.services)}getAxisChartComponents(t,o){const r=this.model.getOptions(),a=n.getProperty(r,"zoomBar",s.AxisPositions.TOP,"enabled"),h=n.getProperty(r,"toolbar","enabled");this.services.cartesianScales.determineAxisDuality(),this.services.cartesianScales.findDomainAndRangeAxes(),this.services.cartesianScales.determineOrientation();const m=this.services.cartesianScales.getMainXAxisPosition(),g=n.getProperty(r,"axes",m,"scaleType"),v=a&&m===s.AxisPositions.BOTTOM&&g===s.ScaleTypes.TIME,y=this.services.zoom.isZoomBarLocked(s.AxisPositions.TOP),L=!!this.model.getOptions().title,S={id:"title",components:[new e.Title(this.model,this.services)],growth:s.LayoutGrowth.STRETCH},E={id:"toolbar",components:[new e.Toolbar(this.model,this.services)],growth:s.LayoutGrowth.PREFERRED},w={id:"header",components:[new e.LayoutComponent(this.model,this.services,[S,...h?[E]:[]],{direction:s.LayoutDirection.ROW,alignItems:s.LayoutAlignItems.CENTER})],growth:s.LayoutGrowth.PREFERRED},A={id:"legend",components:[new e.Legend(this.model,this.services)],growth:s.LayoutGrowth.PREFERRED};v&&!y&&t.push(new e.ChartClip(this.model,this.services),new e.ChartBrush(this.model,this.services)),t.push(new e.Threshold(this.model,this.services)),t.push(new e.Highlight(this.model,this.services));const d={id:"graph-frame",components:t,growth:s.LayoutGrowth.STRETCH,renderType:s.RenderTypes.SVG},u=n.getProperty(o,"legend","enabled")!==!1&&this.model.getOptions().legend.enabled!==!1;let T=s.LayoutDirection.COLUMN;if(u){const O=n.getProperty(this.model.getOptions(),"legend","position");O===s.LegendPositions.LEFT?(T=s.LayoutDirection.ROW,this.model.getOptions().legend.orientation||(this.model.getOptions().legend.orientation=s.LegendOrientations.VERTICAL)):O===s.LegendPositions.RIGHT?(T=s.LayoutDirection.ROW_REVERSE,this.model.getOptions().legend.orientation||(this.model.getOptions().legend.orientation=s.LegendOrientations.VERTICAL)):O===s.LegendPositions.BOTTOM&&(T=s.LayoutDirection.COLUMN_REVERSE)}const Z={id:"spacer",components:[new e.Spacer(this.model,this.services)],growth:s.LayoutGrowth.PREFERRED},U={id:"full-frame",components:[new e.LayoutComponent(this.model,this.services,[...u?[A]:[],...u?[Z]:[],d],{direction:T})],growth:s.LayoutGrowth.STRETCH},V={id:"zoom-bar",components:[new e.ZoomBar(this.model,this.services)],growth:s.LayoutGrowth.PREFERRED,renderType:s.RenderTypes.SVG},D=[];if(L||h){D.push(w);const O={id:"spacer",components:[new e.Spacer(this.model,this.services,h?{size:15}:void 0)],growth:s.LayoutGrowth.PREFERRED};D.push(O)}return v&&D.push(V),D.push(U),[new e.AxisChartsTooltip(this.model,this.services),new e.Modal(this.model,this.services),new e.LayoutComponent(this.model,this.services,D,{direction:s.LayoutDirection.COLUMN})]}}class Re extends C{constructor(t,o){super(t,o),this.model=new l.AlluvialChartModel(this.services),this.model.setOptions(n.mergeDefaultChartOptions(n.options.alluvialChart,o.options)),this.init(t,o)}getComponents(){const t=[new e.Alluvial(this.model,this.services)];return this.getChartComponents(t,{excludeLegend:!0})}}class ye extends p{constructor(t,o){super(t,o),this.model.setOptions(n.mergeDefaultChartOptions(n.clone(n.options.areaChart),o.options)),this.init(t,o)}getComponents(){const t=[new e.TwoDimensionalAxes(this.model,this.services),new e.Grid(this.model,this.services),new e.Ruler(this.model,this.services),new e.Line(this.model,this.services),new e.Area(this.model,this.services),new e.Scatter(this.model,this.services,{fadeInOnChartHolderMouseover:!0,handleThresholds:!0}),new e.Skeleton(this.model,this.services,{skeleton:s.Skeletons.GRID})];return this.getAxisChartComponents(t)}}class Se extends p{constructor(t,o){super(t,o),this.model=new l.BoxplotChartModel(this.services),this.model.setOptions(n.mergeDefaultChartOptions(n.options.boxplotChart,o.options)),this.init(t,o)}getComponents(){const t=[new e.TwoDimensionalAxes(this.model,this.services),new e.Grid(this.model,this.services),new e.Boxplot(this.model,this.services),new e.ZeroLine(this.model,this.services),new e.Skeleton(this.model,this.services,{skeleton:s.Skeletons.VERT_OR_HORIZ})];return this.getAxisChartComponents(t,{legend:{enabled:!1}})}}class Ee extends p{constructor(t,o){super(t,o),this.model.setOptions(n.mergeDefaultChartOptions(n.options.bubbleChart,o.options)),this.init(t,o)}getComponents(){const t=[new e.TwoDimensionalAxes(this.model,this.services),new e.Grid(this.model,this.services),new e.Ruler(this.model,this.services),new e.Bubble(this.model,this.services),new e.Skeleton(this.model,this.services,{skeleton:s.Skeletons.GRID})];return this.getAxisChartComponents(t)}}class Le extends p{constructor(t,o){super(t,o),this.model=new l.BulletChartModel(this.services),this.model.setOptions(n.mergeDefaultChartOptions(n.options.bulletChart,o.options)),this.init(t,o)}getComponents(){const t=[new e.TwoDimensionalAxes(this.model,this.services),new e.Grid(this.model,this.services),new e.Bullet(this.model,this.services),new e.Skeleton(this.model,this.services,{skeleton:s.Skeletons.GRID})];return this.getAxisChartComponents(t)}}class Ae extends C{constructor(t,o){super(t,o),this.model=new l.ChoroplethModel(this.services),this.model.setOptions(n.mergeDefaultChartOptions(n.options.choroplethChart,o.options)),this.init(t,o)}getChartComponents(t,o){const r=this.model.getOptions(),a=n.getProperty(r,"toolbar","enabled"),h=!!this.model.getOptions().title,m={id:"title",components:[new e.Title(this.model,this.services)],growth:s.LayoutGrowth.STRETCH},g={id:"toolbar",components:[new e.Toolbar(this.model,this.services)],growth:s.LayoutGrowth.PREFERRED},v={id:"header",components:[new e.LayoutComponent(this.model,this.services,[m,...a?[g]:[]],{direction:s.LayoutDirection.ROW,alignItems:s.LayoutAlignItems.CENTER})],growth:s.LayoutGrowth.PREFERRED},y={id:"legend",components:[new e.ColorScaleLegend(this.model,this.services,{chartType:"choropleth"})],growth:s.LayoutGrowth.PREFERRED,renderType:s.RenderTypes.SVG},L={id:"graph-frame",components:t,growth:s.LayoutGrowth.STRETCH,renderType:s.RenderTypes.SVG},S=n.getProperty(o,"legend","enabled")!==!1&&this.model.getOptions().legend.enabled!==!1,E=s.LayoutDirection.COLUMN_REVERSE,w={id:"spacer",components:[new e.Spacer(this.model,this.services,{size:15})],growth:s.LayoutGrowth.PREFERRED},A={id:"full-frame",components:[new e.LayoutComponent(this.model,this.services,[...S?[y]:[],...S?[w]:[],L],{direction:E})],growth:s.LayoutGrowth.STRETCH},d=[];if(h||a){d.push(v);const u={id:"spacer",components:[new e.Spacer(this.model,this.services,a?{size:15}:void 0)],growth:s.LayoutGrowth.PREFERRED};d.push(u)}return d.push(A),[new e.Tooltip(this.model,this.services),new e.Modal(this.model,this.services),new e.LayoutComponent(this.model,this.services,d,{direction:s.LayoutDirection.COLUMN})]}getComponents(){const t=[new e.Choropleth(this.model,this.services)];return this.getChartComponents(t)}}class De extends C{constructor(t,o){super(t,o),this.model=new l.CirclePackChartModel(this.services),this.model.setOptions(n.mergeDefaultChartOptions(n.options.circlePackChart,o.options)),this.init(t,o)}getComponents(){const t=[new e.CirclePack(this.model,this.services)];return this.getChartComponents(t)}}const f={[s.ChartTypes.LINE]:[e.Line,e.Scatter],[s.ChartTypes.SCATTER]:[e.Scatter],[s.ChartTypes.AREA]:[e.Area,e.Line,e.Scatter],[s.ChartTypes.STACKED_AREA]:[e.StackedArea,e.Line,e.StackedScatter,e.StackedRuler],[s.ChartTypes.SIMPLE_BAR]:[e.SimpleBar],[s.ChartTypes.GROUPED_BAR]:[e.GroupedBar,e.ZeroLine],[s.ChartTypes.STACKED_BAR]:[e.StackedBar,e.StackedRuler]};class Oe extends p{constructor(t,o){super(t,o);const r=n.mergeDefaultChartOptions(n.options.comboChart,o.options);o.options.comboChartTypes||(console.error("No comboChartTypes defined for the Combo Chart!"),r.comboChartTypes=[{type:s.ChartTypes.LINE,correspondingDatasets:[]}]),this.model.setOptions(r),this.init(t,o)}getGraphComponents(){const{comboChartTypes:t}=this.model.getOptions();let o=0;const r=t.map(a=>{const h=a.type;let m;if(typeof a.type=="string"){if(!Object.keys(f).includes(a.type))return console.error(`Invalid chart type "${a.type}" specified for combo chart. Please refer to the ComboChart tutorial for more guidance.`),null;let g=!1;const v=`${Te(a.type)}Chart`;return m=n.merge({},n.options[v],this.model.getOptions(),a.options),a.type===s.ChartTypes.STACKED_AREA&&(g=!0),f[a.type].map(y=>new y(this.model,this.services,{groups:a.correspondingDatasets,id:o++,options:m,stacked:g}))}else return m=n.merge({},this.model.getOptions(),a.options),new h(this.model,this.services,{groups:a.correspondingDatasets,id:o++,options:m})}).filter(a=>a!==null);return c.flatten(r)}getComponents(){const{comboChartTypes:t}=this.model.getOptions(),o=t.some(h=>h.type===s.ChartTypes.STACKED_BAR||h.type===s.ChartTypes.STACKED_AREA),r=[new e.TwoDimensionalAxes(this.model,this.services),new e.Grid(this.model,this.services),new e.Skeleton(this.model,this.services,{skeleton:s.Skeletons.GRID}),...o?[]:[new e.Ruler(this.model,this.services)],...this.getGraphComponents()];return this.getAxisChartComponents(r)}}class H extends C{constructor(t,o,r=!1){super(t,o),this.model=new l.PieChartModel(this.services),!r&&(this.model.setOptions(n.mergeDefaultChartOptions(n.options.pieChart,o.options)),this.init(t,o))}getComponents(){const t=[new e.Pie(this.model,this.services),new e.Skeleton(this.model,this.services,{skeleton:s.Skeletons.PIE})];return this.getChartComponents(t)}}class be extends H{constructor(t,o){super(t,o,!0),this.model.setOptions(n.mergeDefaultChartOptions(n.options.donutChart,o.options)),this.init(t,o)}getComponents(){const t=[new e.Donut(this.model,this.services),new e.Skeleton(this.model,this.services,{skeleton:s.Skeletons.DONUT})];return this.getChartComponents(t)}}class xe extends C{constructor(t,o){super(t,o),this.model=new l.GaugeChartModel(this.services),this.model.setOptions(n.mergeDefaultChartOptions(n.options.gaugeChart,o.options)),this.init(t,o)}getComponents(){const t=[new e.Gauge(this.model,this.services)];return this.getChartComponents(t)}}class fe extends p{constructor(t,o){super(t,o),this.model.setOptions(n.mergeDefaultChartOptions(n.options.groupedBarChart,o.options)),this.init(t,o)}getComponents(){const t=[new e.TwoDimensionalAxes(this.model,this.services),new e.Grid(this.model,this.services),new e.GroupedBar(this.model,this.services),new e.ZeroLine(this.model,this.services),new e.Skeleton(this.model,this.services,{skeleton:s.Skeletons.VERT_OR_HORIZ})];return this.getAxisChartComponents(t)}}class ke extends p{constructor(t,o){super(t,o),this.model=new l.HeatmapModel(this.services),this.model.setOptions(n.mergeDefaultChartOptions(n.options.heatmapChart,o.options)),this.init(t,o)}getAxisChartComponents(t,o){const r=this.model.getOptions(),a=n.getProperty(r,"toolbar","enabled");this.services.cartesianScales.determineAxisDuality(),this.services.cartesianScales.findDomainAndRangeAxes(),this.services.cartesianScales.determineOrientation();const h=!!this.model.getOptions().title,m={id:"title",components:[new e.Title(this.model,this.services)],growth:s.LayoutGrowth.STRETCH},g={id:"toolbar",components:[new e.Toolbar(this.model,this.services)],growth:s.LayoutGrowth.PREFERRED},v={id:"header",components:[new e.LayoutComponent(this.model,this.services,[m,...a?[g]:[]],{direction:s.LayoutDirection.ROW,alignItems:s.LayoutAlignItems.CENTER})],growth:s.LayoutGrowth.PREFERRED},y={id:"legend",components:[new e.ColorScaleLegend(this.model,this.services,{chartType:"heatmap"})],growth:s.LayoutGrowth.PREFERRED,renderType:s.RenderTypes.SVG},L={id:"graph-frame",components:t,growth:s.LayoutGrowth.STRETCH,renderType:s.RenderTypes.SVG},S=n.getProperty(o,"legend","enabled")!==!1&&this.model.getOptions().legend.enabled!==!1,E=s.LayoutDirection.COLUMN_REVERSE,w={id:"spacer",components:[new e.Spacer(this.model,this.services,{size:15})],growth:s.LayoutGrowth.PREFERRED},A={id:"full-frame",components:[new e.LayoutComponent(this.model,this.services,[...S?[y]:[],...S?[w]:[],L],{direction:E})],growth:s.LayoutGrowth.STRETCH},d=[];if(h||a){d.push(v);const u={id:"spacer",components:[new e.Spacer(this.model,this.services,a?{size:15}:void 0)],growth:s.LayoutGrowth.PREFERRED};d.push(u)}return d.push(A),[new e.AxisChartsTooltip(this.model,this.services),new e.Modal(this.model,this.services),new e.LayoutComponent(this.model,this.services,d,{direction:s.LayoutDirection.COLUMN})]}getComponents(){const t=[new e.TwoDimensionalAxes(this.model,this.services),new e.Heatmap(this.model,this.services)];return this.getAxisChartComponents(t)}}class Me extends p{constructor(t,o){super(t,o),this.model=new l.ChartModelBinned(this.services),this.model.setOptions(n.mergeDefaultChartOptions(n.options.histogramChart,o.options)),this.init(t,o),this.update()}getComponents(){const t=[new e.TwoDimensionalAxes(this.model,this.services),new e.Grid(this.model,this.services),new e.BinnedRuler(this.model,this.services),new e.Histogram(this.model,this.services)];return this.getAxisChartComponents(t)}}class Pe extends p{constructor(t,o){super(t,o),this.model.setOptions(n.mergeDefaultChartOptions(n.options.lineChart,o.options)),this.init(t,o)}getComponents(){const t=[new e.TwoDimensionalAxes(this.model,this.services),new e.Grid(this.model,this.services),new e.Ruler(this.model,this.services),new e.Line(this.model,this.services),new e.Scatter(this.model,this.services,{handleThresholds:!0}),new e.SkeletonLines(this.model,this.services),new e.ZeroLine(this.model,this.services)];return this.getAxisChartComponents(t)}}class Ge extends p{constructor(t,o){super(t,o),this.model.setOptions(n.mergeDefaultChartOptions(n.options.lollipopChart,o.options)),this.init(t,o)}getComponents(){const t=[new e.TwoDimensionalAxes(this.model,this.services),new e.Grid(this.model,this.services),new e.Ruler(this.model,this.services),new e.Lollipop(this.model,this.services),new e.Scatter(this.model,this.services),new e.Skeleton(this.model,this.services,{skeleton:s.Skeletons.GRID})];return this.getAxisChartComponents(t)}}class Be extends C{constructor(t,o){var a;super(t,o),this.model=new l.MeterChartModel(this.services);const r=(a=o.options.meter)!=null&&a.proportional?n.merge(n.clone(n.options.proportionalMeterChart),o.options):n.merge(n.clone(n.options.meterChart),o.options);this.model.setOptions(r),this.init(t,o)}getComponents(){const o=[...n.getProperty(this.model.getOptions(),"meter","showLabels")?[{id:"meter-title",components:[new e.MeterTitle(this.model,this.services)],growth:s.LayoutGrowth.STRETCH,renderType:s.RenderTypes.SVG},{id:"spacer",components:[new e.Spacer(this.model,this.services,{size:8})],growth:s.LayoutGrowth.STRETCH}]:[],{id:"meter-graph",components:[new e.Meter(this.model,this.services)],growth:s.LayoutGrowth.STRETCH,renderType:s.RenderTypes.SVG}],r=[new e.LayoutComponent(this.model,this.services,o,{direction:s.LayoutDirection.COLUMN})];return this.getChartComponents(r,{graphFrameRenderType:s.RenderTypes.HTML})}}class Fe extends C{constructor(t,o){super(t,o),this.model=new l.RadarChartModel(this.services),this.model.setOptions(n.mergeDefaultChartOptions(n.options.radarChart,o.options)),this.init(t,o)}getComponents(){const t=[new e.Radar(this.model,this.services)];return this.getChartComponents(t)}}class Ie extends p{constructor(t,o){super(t,o),this.model.setOptions(n.mergeDefaultChartOptions(n.options.scatterChart,o.options)),this.init(t,o)}getComponents(){const t=[new e.TwoDimensionalAxes(this.model,this.services),new e.Grid(this.model,this.services),new e.Ruler(this.model,this.services),new e.Scatter(this.model,this.services),new e.Skeleton(this.model,this.services,{skeleton:s.Skeletons.GRID})];return this.getAxisChartComponents(t)}}class He extends C{constructor(t,o){super(t,o),this.model=new l.TreeChartModel(this.services),this.model.setOptions(n.mergeDefaultChartOptions(n.options.treeChart,o.options)),this.init(t,o)}getComponents(){const t=[new e.Tree(this.model,this.services)];return this.getChartComponents(t,{excludeLegend:!0})}}class Ze extends C{constructor(t,o){super(t,o),this.model=new l.TreemapChartModel(this.services),this.model.setOptions(n.mergeDefaultChartOptions(n.options.treemapChart,o.options)),this.init(t,o)}getComponents(){const t=[new e.Treemap(this.model,this.services)];return this.getChartComponents(t)}}class Ue extends p{constructor(t,o){super(t,o),this.model.setOptions(n.mergeDefaultChartOptions(n.options.simpleBarChart,o.options)),this.init(t,o)}getComponents(){const t=[new e.TwoDimensionalAxes(this.model,this.services),new e.Grid(this.model,this.services),new e.SimpleBar(this.model,this.services),new e.ZeroLine(this.model,this.services),new e.Skeleton(this.model,this.services,{skeleton:s.Skeletons.VERT_OR_HORIZ})];return this.getAxisChartComponents(t)}}class Ve extends p{constructor(t,o){super(t,o),this.model.setOptions(n.mergeDefaultChartOptions(n.options.stackedAreaChart,o.options)),this.init(t,o)}getComponents(){const t=[new e.TwoDimensionalAxes(this.model,this.services),new e.Grid(this.model,this.services),new e.StackedRuler(this.model,this.services),new e.StackedArea(this.model,this.services),new e.Line(this.model,this.services,{stacked:!0}),new e.StackedScatter(this.model,this.services,{fadeInOnChartHolderMouseover:!0,handleThresholds:!0,stacked:!0}),new e.Skeleton(this.model,this.services,{skeleton:s.Skeletons.GRID})];return this.getAxisChartComponents(t)}}class _e extends p{constructor(t,o){super(t,o),this.model.setOptions(n.mergeDefaultChartOptions(n.options.stackedBarChart,o.options)),this.init(t,o)}getComponents(){const t=[new e.TwoDimensionalAxes(this.model,this.services),new e.Grid(this.model,this.services),new e.StackedRuler(this.model,this.services),new e.StackedBar(this.model,this.services),new e.Skeleton(this.model,this.services,{skeleton:s.Skeletons.VERT_OR_HORIZ}),new e.ZeroLine(this.model,this.services)];return this.getAxisChartComponents(t)}}class Ne extends C{constructor(t,o){super(t,o),this.model=new l.WordCloudModel(this.services),this.model.setOptions(n.mergeDefaultChartOptions(n.options.wordCloudChart,o.options)),this.init(t,o)}getComponents(){const t=[new e.WordCloud(this.model,this.services),new e.Skeleton(this.model,this.services,{skeleton:s.Skeletons.PIE})];return this.getChartComponents(t)}}exports.TIME_INTERVALS=n.TIME_INTERVALS;exports.alluvial=n.alluvial;exports.area=n.area;exports.axis=n.axis;exports.baseTooltip=n.baseTooltip;exports.boxplot=n.boxplot;exports.canvasZoomSettings=n.canvasZoomSettings;exports.carbonPrefix=n.carbonPrefix;exports.circlePack=n.circlePack;exports.color=n.color;exports.computeTimeIntervalName=n.computeTimeIntervalName;exports.configurations=n.configuration;exports.defaultLegendAdditionalItems=n.defaultLegendAdditionalItems;exports.formatDateTillMilliSeconds=n.formatDateTillMilliSeconds;exports.formatTick=n.formatTick;exports.getColorScale=n.getColorScale;exports.getDomain=n.getDomain;exports.getTimeformats=n.getTimeformats;exports.grid=n.grid;exports.histogram=n.histogram;exports.isTickPrimary=n.isTickPrimary;exports.legend=n.legend;exports.lines=n.lines;exports.meter=n.meter;exports.options=n.options;exports.pie=n.pie;exports.radar=n.radar;exports.ruler=n.ruler;exports.spacers=n.spacers;exports.timeScale=n.timeScale;exports.toolbar=n.toolbar;exports.tooltips=n.tooltips;exports.transitions=n.transitions;exports.zoomBar=n.zoomBar;exports.interfaces=_.index;exports.AlluvialChartModel=l.AlluvialChartModel;exports.BoxplotChartModel=l.BoxplotChartModel;exports.BulletChartModel=l.BulletChartModel;exports.ChartModel=l.ChartModel;exports.ChartModelBinned=l.ChartModelBinned;exports.ChartModelCartesian=l.ChartModelCartesian;exports.ChoroplethModel=l.ChoroplethModel;exports.CirclePackChartModel=l.CirclePackChartModel;exports.GaugeChartModel=l.GaugeChartModel;exports.HeatmapModel=l.HeatmapModel;exports.MeterChartModel=l.MeterChartModel;exports.PieChartModel=l.PieChartModel;exports.RadarChartModel=l.RadarChartModel;exports.TreeChartModel=l.TreeChartModel;exports.TreemapChartModel=l.TreemapChartModel;exports.WordCloudModel=l.WordCloudModel;exports.Alignments=s.Alignments;exports.AreaEvent=s.Area;exports.ArrowDirections=s.ArrowDirections;exports.AxisEvent=s.Axis;exports.AxisFlavor=s.AxisFlavor;exports.AxisPositions=s.AxisPositions;exports.AxisTitleOrientations=s.AxisTitleOrientations;exports.BarEvent=s.Bar;exports.BoxplotEvent=s.Boxplot;exports.CalloutDirections=s.CalloutDirections;exports.CanvasZoomEvent=s.CanvasZoom;exports.CartesianOrientations=s.CartesianOrientations;exports.ChartEvent=s.Chart;exports.ChartTheme=s.ChartTheme;exports.ChartTypes=s.ChartTypes;exports.ColorClassNameTypes=s.ColorClassNameTypes;exports.ColorLegendType=s.ColorLegendType;exports.DividerStatus=s.DividerStatus;exports.DominantBaseline=s.DominantBaseline;exports.GaugeEvent=s.Gauge;exports.GaugeTypes=s.GaugeTypes;exports.LayoutAlignItems=s.LayoutAlignItems;exports.LayoutDirection=s.LayoutDirection;exports.LayoutGrowth=s.LayoutGrowth;exports.LegendItemType=s.LegendItemType;exports.LegendOrientations=s.LegendOrientations;exports.LegendPositions=s.LegendPositions;exports.LineEvent=s.Line;exports.ModalEvent=s.Modal;exports.ModelEvent=s.Model;exports.PieEvent=s.Pie;exports.Projection=s.Projection;exports.RadarEvent=s.Radar;exports.RenderTypes=s.RenderTypes;exports.ScaleTypes=s.ScaleTypes;exports.ScatterEvent=s.Scatter;exports.Skeletons=s.Skeletons;exports.Statuses=s.Statuses;exports.TextAnchor=s.TextAnchor;exports.ThresholdEvent=s.Threshold;exports.TickRotations=s.TickRotations;exports.ToolbarControlTypes=s.ToolbarControlTypes;exports.TooltipEvent=s.Tooltip;exports.TreeEvent=s.Tree;exports.TreeTypes=s.TreeTypes;exports.TreemapEvent=s.Treemap;exports.TruncationTypes=s.TruncationTypes;exports.WordCloudEvent=s.WordCloud;exports.ZoomBarTypes=s.ZoomBarTypes;exports.ZoomDomainEvent=s.ZoomDomain;exports.ZoombarEvent=s.ZoomBar;exports.Alluvial=e.Alluvial;exports.Area=e.Area;exports.Axis=e.Axis;exports.AxisChartsTooltip=e.AxisChartsTooltip;exports.Bar=e.Bar;exports.BinnedRuler=e.BinnedRuler;exports.Boxplot=e.Boxplot;exports.Bubble=e.Bubble;exports.Bullet=e.Bullet;exports.CanvasChartClip=e.CanvasChartClip;exports.ChartBrush=e.ChartBrush;exports.ChartClip=e.ChartClip;exports.Choropleth=e.Choropleth;exports.CirclePack=e.CirclePack;exports.ColorScaleLegend=e.ColorScaleLegend;exports.Component=e.Component;exports.Donut=e.Donut;exports.Gauge=e.Gauge;exports.GeoProjection=e.GeoProjection;exports.Grid=e.Grid;exports.GroupedBar=e.GroupedBar;exports.Heatmap=e.Heatmap;exports.Highlight=e.Highlight;exports.Histogram=e.Histogram;exports.HoverAxis=e.HoverAxis;exports.LayoutComponent=e.LayoutComponent;exports.Legend=e.Legend;exports.Line=e.Line;exports.Lollipop=e.Lollipop;exports.Meter=e.Meter;exports.MeterTitle=e.MeterTitle;exports.Modal=e.Modal;exports.Pie=e.Pie;exports.Radar=e.Radar;exports.Ruler=e.Ruler;exports.Scatter=e.Scatter;exports.SimpleBar=e.SimpleBar;exports.Skeleton=e.Skeleton;exports.SkeletonLines=e.SkeletonLines;exports.Spacer=e.Spacer;exports.StackedArea=e.StackedArea;exports.StackedBar=e.StackedBar;exports.StackedRuler=e.StackedRuler;exports.StackedScatter=e.StackedScatter;exports.Threshold=e.Threshold;exports.Title=e.Title;exports.Toolbar=e.Toolbar;exports.Tooltip=e.Tooltip;exports.Tree=e.Tree;exports.Treemap=e.Treemap;exports.TwoDimensionalAxes=e.TwoDimensionalAxes;exports.WordCloud=e.WordCloud;exports.ZeroLine=e.ZeroLine;exports.ZoomBar=e.ZoomBar;exports.arrowLeft=e.arrowLeft;exports.arrowRight=e.arrowRight;exports.buildBezierPathString=e.buildBezierPathString;exports.buildElbowPathString=e.buildElbowPathString;exports.buildStraightPathString=e.buildStraightPathString;exports.circle=e.circle;exports.diamond=e.diamond;exports.square=e.square;exports.tee=e.tee;exports.CanvasZoom=c.CanvasZoom;exports.CartesianScales=c.CartesianScales;exports.Curves=c.Curves;exports.Events=c.Events;exports.Files=c.Files;exports.Transitions=c.Transitions;exports.Zoom=c.Zoom;exports.DOMUtils=R.DOMUtils;exports.GradientUtils=R.GradientUtils;exports.Service=R.Service;exports.degToRad=R.degToRad;exports.distanceBetweenPointOnCircAndVerticalDiameter=R.distanceBetweenPointOnCircAndVerticalDiameter;exports.polarToCartesianCoords=R.polarToCartesianCoords;exports.radToDeg=R.radToDeg;exports.radialLabelPlacement=R.radialLabelPlacement;exports.AlluvialChart=Re;exports.AreaChart=ye;exports.AxisChart=p;exports.BoxplotChart=Se;exports.BubbleChart=Ee;exports.BulletChart=Le;exports.Chart=C;exports.CirclePackChart=De;exports.ComboChart=Oe;exports.DonutChart=be;exports.ExperimentalChoroplethChart=Ae;exports.GaugeChart=xe;exports.GroupedBarChart=fe;exports.HeatmapChart=ke;exports.HistogramChart=Me;exports.LineChart=Pe;exports.LollipopChart=Ge;exports.MeterChart=Be;exports.PieChart=H;exports.RadarChart=Fe;exports.ScatterChart=Ie;exports.SimpleBarChart=Ue;exports.StackedAreaChart=Ve;exports.StackedBarChart=_e;exports.TreeChart=He;exports.TreemapChart=Ze;exports.WordCloudChart=Ne;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./color-scale-utils-2cd523be.js"),_=require("./index-822564ed.js"),l=require("./model/index.js"),s=require("./enums-aa2efd99.js"),e=require("./choropleth-b1a3729f.js"),p=require("./index-eace9da9.js"),R=require("./angle-utils-ccc0d890.js");require("d3");require("./index-d865d500.js");require("./a11y-c7c9d087.js");require("./_baseEach-326db134.js");require("d3-sankey");require("d3-cloud");function N(r,t,o){var a=-1,i=r.length;t<0&&(t=-t>i?0:i+t),o=o>i?i:o,o<0&&(o+=i),i=t>o?0:o-t>>>0,t>>>=0;for(var h=Array(i);++a<i;)h[a]=r[a+t];return h}function W(r,t,o){var a=r.length;return o=o===void 0?a:o,!t&&o>=a?r:N(r,t,o)}var z="\\ud800-\\udfff",q="\\u0300-\\u036f",j="\\ufe20-\\ufe2f",$="\\u20d0-\\u20ff",K=q+j+$,J="\\ufe0e\\ufe0f",X="\\u200d",Q=RegExp("["+X+z+K+J+"]");function k(r){return Q.test(r)}function Y(r){return r.split("")}var M="\\ud800-\\udfff",ee="\\u0300-\\u036f",te="\\ufe20-\\ufe2f",oe="\\u20d0-\\u20ff",se=ee+te+oe,ne="\\ufe0e\\ufe0f",ie="["+M+"]",b="["+se+"]",x="\\ud83c[\\udffb-\\udfff]",re="(?:"+b+"|"+x+")",P="[^"+M+"]",G="(?:\\ud83c[\\udde6-\\uddff]){2}",B="[\\ud800-\\udbff][\\udc00-\\udfff]",ae="\\u200d",F=re+"?",I="["+ne+"]?",le="(?:"+ae+"(?:"+[P,G,B].join("|")+")"+I+F+")*",he=I+F+le,ce="(?:"+[P+b+"?",b,G,B,ie].join("|")+")",pe=RegExp(x+"(?="+x+")|"+ce+he,"g");function me(r){return r.match(pe)||[]}function de(r){return k(r)?me(r):Y(r)}function ue(r){return function(t){t=n.toString(t);var o=k(t)?de(t):void 0,a=o?o[0]:t.charAt(0),i=o?W(o,1).join(""):t.slice(1);return a[r]()+i}}var Ce=ue("toUpperCase");const ge=Ce;function ve(r){return ge(n.toString(r).toLowerCase())}var we=e.createCompounder(function(r,t,o){return t=t.toLowerCase(),r+(o?ve(t):t)});const Te=we;class C{constructor(t,o){this.components=[],this.services={canvasZoom:p.CanvasZoom,domUtils:R.DOMUtils,events:p.Events,files:p.Files,gradientUtils:R.GradientUtils,transitions:p.Transitions},this.model=new l.ChartModel(this.services)}init(t,o){this.model.set({holder:t},{skipUpdate:!0}),Object.keys(this.services).forEach(a=>{const i=this.services[a];this.services[a]=new i(this.model,this.services)}),this.services.events.addEventListener(s.Events.Model.UPDATE,a=>{const i=!!n.getProperty(a,"detail","animate");this.update(i)}),this.model.setData(o.data),this.services.events.addEventListener(s.Events.Chart.RESIZE,()=>{this.update(!1)}),this.components=this.getComponents(),this.update()}getComponents(){return console.error("getComponents() method is not implemented"),[]}update(t=!0){if(!this.components)return;Object.keys(this.services).forEach(i=>{this.services[i].update()}),this.components.forEach(i=>i.render(t));const o=this.services.transitions.getPendingTransitions(),a=Object.keys(o).map(i=>o[i].end().catch(c=>c));Promise.all(a).then(()=>this.services.events.dispatchEvent(s.Events.Chart.RENDER_FINISHED))}destroy(){this.components.forEach(t=>t.destroy()),this.services.domUtils.getHolder().remove(),this.model.set({destroyed:!0},{skipUpdate:!0})}getChartComponents(t,o){const a=this.model.getOptions(),i=n.getProperty(a,"toolbar","enabled"),h={id:"legend",components:[new e.Legend(this.model,this.services)],growth:s.LayoutGrowth.PREFERRED},c=n.getProperty(a,"canvasZoom","enabled");c&&c===!0&&t.push(new e.CanvasChartClip(this.model,this.services));const g=!!this.model.getOptions().title,v={id:"title",components:[new e.Title(this.model,this.services)],growth:s.LayoutGrowth.STRETCH},y={id:"toolbar",components:[new e.Toolbar(this.model,this.services)],growth:s.LayoutGrowth.PREFERRED},L={id:"header",components:[new e.LayoutComponent(this.model,this.services,[v,...i?[y]:[]],{direction:s.LayoutDirection.ROW,alignItems:s.LayoutAlignItems.CENTER})],growth:s.LayoutGrowth.PREFERRED},S={id:"graph-frame",components:t,growth:s.LayoutGrowth.STRETCH,renderType:n.getProperty(o,"graphFrameRenderType")||s.RenderTypes.SVG},E=n.getProperty(o,"excludeLegend")!==!0&&a.legend.enabled!==!1;let w=s.LayoutDirection.COLUMN;if(E){const T=n.getProperty(a,"legend","position");T==="left"?(w=s.LayoutDirection.ROW,a.legend.orientation||(a.legend.orientation=s.LegendOrientations.VERTICAL)):T==="right"?(w=s.LayoutDirection.ROW_REVERSE,a.legend.orientation||(a.legend.orientation=s.LegendOrientations.VERTICAL)):T==="bottom"&&(w=s.LayoutDirection.COLUMN_REVERSE)}const A={id:"spacer",components:[new e.Spacer(this.model,this.services)],growth:s.LayoutGrowth.PREFERRED},d={id:"full-frame",components:[new e.LayoutComponent(this.model,this.services,[...E?[h]:[],...E?[A]:[],S],{direction:w})],growth:s.LayoutGrowth.STRETCH},u=[];if(g||i){u.push(L);const T={id:"spacer",components:[new e.Spacer(this.model,this.services,i?{size:15}:void 0)],growth:s.LayoutGrowth.PREFERRED};u.push(T)}return u.push(d),[new e.Tooltip(this.model,this.services),new e.Modal(this.model,this.services),new e.LayoutComponent(this.model,this.services,u,{direction:s.LayoutDirection.COLUMN})]}}class m extends C{constructor(t,o){super(t,o),this.services=Object.assign(this.services,{cartesianScales:p.CartesianScales,curves:p.Curves,zoom:p.Zoom}),this.model=new l.ChartModelCartesian(this.services)}getAxisChartComponents(t,o){const a=this.model.getOptions(),i=n.getProperty(a,"zoomBar",s.AxisPositions.TOP,"enabled"),h=n.getProperty(a,"toolbar","enabled");this.services.cartesianScales.determineAxisDuality(),this.services.cartesianScales.findDomainAndRangeAxes(),this.services.cartesianScales.determineOrientation();const c=this.services.cartesianScales.getMainXAxisPosition(),g=n.getProperty(a,"axes",c,"scaleType"),v=i&&c===s.AxisPositions.BOTTOM&&g===s.ScaleTypes.TIME,y=this.services.zoom.isZoomBarLocked(s.AxisPositions.TOP),L=!!this.model.getOptions().title,S={id:"title",components:[new e.Title(this.model,this.services)],growth:s.LayoutGrowth.STRETCH},E={id:"toolbar",components:[new e.Toolbar(this.model,this.services)],growth:s.LayoutGrowth.PREFERRED},w={id:"header",components:[new e.LayoutComponent(this.model,this.services,[S,...h?[E]:[]],{direction:s.LayoutDirection.ROW,alignItems:s.LayoutAlignItems.CENTER})],growth:s.LayoutGrowth.PREFERRED},A={id:"legend",components:[new e.Legend(this.model,this.services)],growth:s.LayoutGrowth.PREFERRED};v&&!y&&t.push(new e.ChartClip(this.model,this.services),new e.ChartBrush(this.model,this.services)),t.push(new e.Threshold(this.model,this.services)),t.push(new e.Highlight(this.model,this.services));const d={id:"graph-frame",components:t,growth:s.LayoutGrowth.STRETCH,renderType:s.RenderTypes.SVG},u=n.getProperty(o,"legend","enabled")!==!1&&this.model.getOptions().legend.enabled!==!1;let T=s.LayoutDirection.COLUMN;if(u){const O=n.getProperty(this.model.getOptions(),"legend","position");O===s.LegendPositions.LEFT?(T=s.LayoutDirection.ROW,this.model.getOptions().legend.orientation||(this.model.getOptions().legend.orientation=s.LegendOrientations.VERTICAL)):O===s.LegendPositions.RIGHT?(T=s.LayoutDirection.ROW_REVERSE,this.model.getOptions().legend.orientation||(this.model.getOptions().legend.orientation=s.LegendOrientations.VERTICAL)):O===s.LegendPositions.BOTTOM&&(T=s.LayoutDirection.COLUMN_REVERSE)}const Z={id:"spacer",components:[new e.Spacer(this.model,this.services)],growth:s.LayoutGrowth.PREFERRED},U={id:"full-frame",components:[new e.LayoutComponent(this.model,this.services,[...u?[A]:[],...u?[Z]:[],d],{direction:T})],growth:s.LayoutGrowth.STRETCH},V={id:"zoom-bar",components:[new e.ZoomBar(this.model,this.services)],growth:s.LayoutGrowth.PREFERRED,renderType:s.RenderTypes.SVG},D=[];if(L||h){D.push(w);const O={id:"spacer",components:[new e.Spacer(this.model,this.services,h?{size:15}:void 0)],growth:s.LayoutGrowth.PREFERRED};D.push(O)}return v&&D.push(V),D.push(U),[new e.AxisChartsTooltip(this.model,this.services),new e.Modal(this.model,this.services),new e.LayoutComponent(this.model,this.services,D,{direction:s.LayoutDirection.COLUMN})]}}class Re extends C{constructor(t,o){super(t,o),this.model=new l.AlluvialChartModel(this.services),this.model.setOptions(n.mergeDefaultChartOptions(n.options.alluvialChart,o.options)),this.init(t,o)}getComponents(){const t=[new e.Alluvial(this.model,this.services)];return this.getChartComponents(t,{excludeLegend:!0})}}class ye extends m{constructor(t,o){super(t,o),this.model.setOptions(n.mergeDefaultChartOptions(n.clone(n.options.areaChart),o.options)),this.init(t,o)}getComponents(){const t=[new e.TwoDimensionalAxes(this.model,this.services),new e.Grid(this.model,this.services),new e.Ruler(this.model,this.services),new e.Line(this.model,this.services),new e.Area(this.model,this.services),new e.Scatter(this.model,this.services,{fadeInOnChartHolderMouseover:!0,handleThresholds:!0}),new e.Skeleton(this.model,this.services,{skeleton:s.Skeletons.GRID})];return this.getAxisChartComponents(t)}}class Se extends m{constructor(t,o){super(t,o),this.model=new l.BoxplotChartModel(this.services),this.model.setOptions(n.mergeDefaultChartOptions(n.options.boxplotChart,o.options)),this.init(t,o)}getComponents(){const t=[new e.TwoDimensionalAxes(this.model,this.services),new e.Grid(this.model,this.services),new e.Boxplot(this.model,this.services),new e.ZeroLine(this.model,this.services),new e.Skeleton(this.model,this.services,{skeleton:s.Skeletons.VERT_OR_HORIZ})];return this.getAxisChartComponents(t,{legend:{enabled:!1}})}}class Ee extends m{constructor(t,o){super(t,o),this.model.setOptions(n.mergeDefaultChartOptions(n.options.bubbleChart,o.options)),this.init(t,o)}getComponents(){const t=[new e.TwoDimensionalAxes(this.model,this.services),new e.Grid(this.model,this.services),new e.Ruler(this.model,this.services),new e.Bubble(this.model,this.services),new e.Skeleton(this.model,this.services,{skeleton:s.Skeletons.GRID})];return this.getAxisChartComponents(t)}}class Le extends m{constructor(t,o){super(t,o),this.model=new l.BulletChartModel(this.services),this.model.setOptions(n.mergeDefaultChartOptions(n.options.bulletChart,o.options)),this.init(t,o)}getComponents(){const t=[new e.TwoDimensionalAxes(this.model,this.services),new e.Grid(this.model,this.services),new e.Bullet(this.model,this.services),new e.Skeleton(this.model,this.services,{skeleton:s.Skeletons.GRID})];return this.getAxisChartComponents(t)}}class Ae extends C{constructor(t,o){super(t,o),this.model=new l.ChoroplethModel(this.services),this.model.setOptions(n.mergeDefaultChartOptions(n.options.choroplethChart,o.options)),this.init(t,o)}getChartComponents(t,o){const a=this.model.getOptions(),i=n.getProperty(a,"toolbar","enabled"),h=!!this.model.getOptions().title,c={id:"title",components:[new e.Title(this.model,this.services)],growth:s.LayoutGrowth.STRETCH},g={id:"toolbar",components:[new e.Toolbar(this.model,this.services)],growth:s.LayoutGrowth.PREFERRED},v={id:"header",components:[new e.LayoutComponent(this.model,this.services,[c,...i?[g]:[]],{direction:s.LayoutDirection.ROW,alignItems:s.LayoutAlignItems.CENTER})],growth:s.LayoutGrowth.PREFERRED},y={id:"legend",components:[new e.ColorScaleLegend(this.model,this.services,{chartType:"choropleth"})],growth:s.LayoutGrowth.PREFERRED,renderType:s.RenderTypes.SVG},L={id:"graph-frame",components:t,growth:s.LayoutGrowth.STRETCH,renderType:s.RenderTypes.SVG},S=n.getProperty(o,"legend","enabled")!==!1&&this.model.getOptions().legend.enabled!==!1,E=s.LayoutDirection.COLUMN_REVERSE,w={id:"spacer",components:[new e.Spacer(this.model,this.services,{size:15})],growth:s.LayoutGrowth.PREFERRED},A={id:"full-frame",components:[new e.LayoutComponent(this.model,this.services,[...S?[y]:[],...S?[w]:[],L],{direction:E})],growth:s.LayoutGrowth.STRETCH},d=[];if(h||i){d.push(v);const u={id:"spacer",components:[new e.Spacer(this.model,this.services,i?{size:15}:void 0)],growth:s.LayoutGrowth.PREFERRED};d.push(u)}return d.push(A),[new e.Tooltip(this.model,this.services),new e.Modal(this.model,this.services),new e.LayoutComponent(this.model,this.services,d,{direction:s.LayoutDirection.COLUMN})]}getComponents(){const t=[new e.Choropleth(this.model,this.services)];return this.getChartComponents(t)}}class De extends C{constructor(t,o){super(t,o),this.model=new l.CirclePackChartModel(this.services),this.model.setOptions(n.mergeDefaultChartOptions(n.options.circlePackChart,o.options)),this.init(t,o)}getComponents(){const t=[new e.CirclePack(this.model,this.services)];return this.getChartComponents(t)}}const f={[s.ChartTypes.LINE]:[e.Line,e.Scatter],[s.ChartTypes.SCATTER]:[e.Scatter],[s.ChartTypes.AREA]:[e.Area,e.Line,e.Scatter],[s.ChartTypes.STACKED_AREA]:[e.StackedArea,e.Line,e.StackedScatter,e.StackedRuler],[s.ChartTypes.SIMPLE_BAR]:[e.SimpleBar],[s.ChartTypes.GROUPED_BAR]:[e.GroupedBar,e.ZeroLine],[s.ChartTypes.STACKED_BAR]:[e.StackedBar,e.StackedRuler]};class Oe extends m{constructor(t,o){super(t,o);const a=n.mergeDefaultChartOptions(n.options.comboChart,o.options);o.options.comboChartTypes||(console.error("No comboChartTypes defined for the Combo Chart!"),a.comboChartTypes=[{type:s.ChartTypes.LINE,correspondingDatasets:[]}]),this.model.setOptions(a),this.init(t,o)}getGraphComponents(){const{comboChartTypes:t}=this.model.getOptions();let o=0;const a=t.map(i=>{const h=i.type;let c;if(typeof i.type=="string"){if(!Object.keys(f).includes(i.type))return console.error(`Invalid chart type "${i.type}" specified for combo chart. Please refer to the ComboChart tutorial for more guidance.`),null;let g=!1;const v=`${Te(i.type)}Chart`;return c=n.merge({},n.options[v],this.model.getOptions(),i.options),i.type===s.ChartTypes.STACKED_AREA&&(g=!0),f[i.type].map(y=>new y(this.model,this.services,{groups:i.correspondingDatasets,id:o++,options:c,stacked:g}))}else return c=n.merge({},this.model.getOptions(),i.options),new h(this.model,this.services,{groups:i.correspondingDatasets,id:o++,options:c})}).filter(i=>i!==null);return p.flatten(a)}getComponents(){const{comboChartTypes:t}=this.model.getOptions(),o=t.some(h=>h.type===s.ChartTypes.STACKED_BAR||h.type===s.ChartTypes.STACKED_AREA),a=[new e.TwoDimensionalAxes(this.model,this.services),new e.Grid(this.model,this.services),new e.Skeleton(this.model,this.services,{skeleton:s.Skeletons.GRID}),...o?[]:[new e.Ruler(this.model,this.services)],...this.getGraphComponents()];return this.getAxisChartComponents(a)}}class H extends C{constructor(t,o,a=!1){super(t,o),this.model=new l.PieChartModel(this.services),!a&&(this.model.setOptions(n.mergeDefaultChartOptions(n.options.pieChart,o.options)),this.init(t,o))}getComponents(){const t=[new e.Pie(this.model,this.services),new e.Skeleton(this.model,this.services,{skeleton:s.Skeletons.PIE})];return this.getChartComponents(t)}}class be extends H{constructor(t,o){super(t,o,!0),this.model.setOptions(n.mergeDefaultChartOptions(n.options.donutChart,o.options)),this.init(t,o)}getComponents(){const t=[new e.Donut(this.model,this.services),new e.Skeleton(this.model,this.services,{skeleton:s.Skeletons.DONUT})];return this.getChartComponents(t)}}class xe extends C{constructor(t,o){super(t,o),this.model=new l.GaugeChartModel(this.services),this.model.setOptions(n.mergeDefaultChartOptions(n.options.gaugeChart,o.options)),this.init(t,o)}getComponents(){const t=[new e.Gauge(this.model,this.services)];return this.getChartComponents(t)}}class fe extends m{constructor(t,o){super(t,o),this.model.setOptions(n.mergeDefaultChartOptions(n.options.groupedBarChart,o.options)),this.init(t,o)}getComponents(){const t=[new e.TwoDimensionalAxes(this.model,this.services),new e.Grid(this.model,this.services),new e.GroupedBar(this.model,this.services),new e.ZeroLine(this.model,this.services),new e.Skeleton(this.model,this.services,{skeleton:s.Skeletons.VERT_OR_HORIZ})];return this.getAxisChartComponents(t)}}class ke extends m{constructor(t,o){super(t,o),this.model=new l.HeatmapModel(this.services),this.model.setOptions(n.mergeDefaultChartOptions(n.options.heatmapChart,o.options)),this.init(t,o)}getAxisChartComponents(t,o){const a=this.model.getOptions(),i=n.getProperty(a,"toolbar","enabled");this.services.cartesianScales.determineAxisDuality(),this.services.cartesianScales.findDomainAndRangeAxes(),this.services.cartesianScales.determineOrientation();const h=!!this.model.getOptions().title,c={id:"title",components:[new e.Title(this.model,this.services)],growth:s.LayoutGrowth.STRETCH},g={id:"toolbar",components:[new e.Toolbar(this.model,this.services)],growth:s.LayoutGrowth.PREFERRED},v={id:"header",components:[new e.LayoutComponent(this.model,this.services,[c,...i?[g]:[]],{direction:s.LayoutDirection.ROW,alignItems:s.LayoutAlignItems.CENTER})],growth:s.LayoutGrowth.PREFERRED},y={id:"legend",components:[new e.ColorScaleLegend(this.model,this.services,{chartType:"heatmap"})],growth:s.LayoutGrowth.PREFERRED,renderType:s.RenderTypes.SVG},L={id:"graph-frame",components:t,growth:s.LayoutGrowth.STRETCH,renderType:s.RenderTypes.SVG},S=n.getProperty(o,"legend","enabled")!==!1&&this.model.getOptions().legend.enabled!==!1,E=s.LayoutDirection.COLUMN_REVERSE,w={id:"spacer",components:[new e.Spacer(this.model,this.services,{size:15})],growth:s.LayoutGrowth.PREFERRED},A={id:"full-frame",components:[new e.LayoutComponent(this.model,this.services,[...S?[y]:[],...S?[w]:[],L],{direction:E})],growth:s.LayoutGrowth.STRETCH},d=[];if(h||i){d.push(v);const u={id:"spacer",components:[new e.Spacer(this.model,this.services,i?{size:15}:void 0)],growth:s.LayoutGrowth.PREFERRED};d.push(u)}return d.push(A),[new e.AxisChartsTooltip(this.model,this.services),new e.Modal(this.model,this.services),new e.LayoutComponent(this.model,this.services,d,{direction:s.LayoutDirection.COLUMN})]}getComponents(){const t=[new e.TwoDimensionalAxes(this.model,this.services),new e.Heatmap(this.model,this.services)];return this.getAxisChartComponents(t)}}class Me extends m{constructor(t,o){super(t,o),this.model=new l.ChartModelBinned(this.services),this.model.setOptions(n.mergeDefaultChartOptions(n.options.histogramChart,o.options)),this.init(t,o),this.update()}getComponents(){const t=[new e.TwoDimensionalAxes(this.model,this.services),new e.Grid(this.model,this.services),new e.BinnedRuler(this.model,this.services),new e.Histogram(this.model,this.services)];return this.getAxisChartComponents(t)}}class Pe extends m{constructor(t,o){super(t,o),this.model.setOptions(n.mergeDefaultChartOptions(n.options.lineChart,o.options)),this.init(t,o)}getComponents(){const t=[new e.TwoDimensionalAxes(this.model,this.services),new e.Grid(this.model,this.services),new e.Ruler(this.model,this.services),new e.Line(this.model,this.services),new e.Scatter(this.model,this.services,{handleThresholds:!0}),new e.SkeletonLines(this.model,this.services),new e.ZeroLine(this.model,this.services)];return this.getAxisChartComponents(t)}}class Ge extends m{constructor(t,o){super(t,o),this.model.setOptions(n.mergeDefaultChartOptions(n.options.lollipopChart,o.options)),this.init(t,o)}getComponents(){const t=[new e.TwoDimensionalAxes(this.model,this.services),new e.Grid(this.model,this.services),new e.Ruler(this.model,this.services),new e.Lollipop(this.model,this.services),new e.Scatter(this.model,this.services),new e.Skeleton(this.model,this.services,{skeleton:s.Skeletons.GRID})];return this.getAxisChartComponents(t)}}class Be extends C{constructor(t,o){var i;super(t,o),this.model=new l.MeterChartModel(this.services);const a=(i=o.options.meter)!=null&&i.proportional?n.merge(n.clone(n.options.proportionalMeterChart),o.options):n.merge(n.clone(n.options.meterChart),o.options);this.model.setOptions(a),this.init(t,o)}getComponents(){const o=[...n.getProperty(this.model.getOptions(),"meter","showLabels")?[{id:"meter-title",components:[new e.MeterTitle(this.model,this.services)],growth:s.LayoutGrowth.STRETCH,renderType:s.RenderTypes.SVG},{id:"spacer",components:[new e.Spacer(this.model,this.services,{size:8})],growth:s.LayoutGrowth.STRETCH}]:[],{id:"meter-graph",components:[new e.Meter(this.model,this.services)],growth:s.LayoutGrowth.STRETCH,renderType:s.RenderTypes.SVG}],a=[new e.LayoutComponent(this.model,this.services,o,{direction:s.LayoutDirection.COLUMN})];return this.getChartComponents(a,{graphFrameRenderType:s.RenderTypes.HTML})}}class Fe extends C{constructor(t,o){super(t,o),this.model=new l.RadarChartModel(this.services),this.model.setOptions(n.mergeDefaultChartOptions(n.options.radarChart,o.options)),this.init(t,o)}getComponents(){const t=[new e.Radar(this.model,this.services)];return this.getChartComponents(t)}}class Ie extends m{constructor(t,o){super(t,o),this.model.setOptions(n.mergeDefaultChartOptions(n.options.scatterChart,o.options)),this.init(t,o)}getComponents(){const t=[new e.TwoDimensionalAxes(this.model,this.services),new e.Grid(this.model,this.services),new e.Ruler(this.model,this.services),new e.Scatter(this.model,this.services),new e.Skeleton(this.model,this.services,{skeleton:s.Skeletons.GRID})];return this.getAxisChartComponents(t)}}class He extends C{constructor(t,o){super(t,o),this.model=new l.TreeChartModel(this.services),this.model.setOptions(n.mergeDefaultChartOptions(n.options.treeChart,o.options)),this.init(t,o)}getComponents(){const t=[new e.Tree(this.model,this.services)];return this.getChartComponents(t,{excludeLegend:!0})}}class Ze extends C{constructor(t,o){super(t,o),this.model=new l.TreemapChartModel(this.services),this.model.setOptions(n.mergeDefaultChartOptions(n.options.treemapChart,o.options)),this.init(t,o)}getComponents(){const t=[new e.Treemap(this.model,this.services)];return this.getChartComponents(t)}}class Ue extends m{constructor(t,o){super(t,o),this.model.setOptions(n.mergeDefaultChartOptions(n.options.simpleBarChart,o.options)),this.init(t,o)}getComponents(){const t=[new e.TwoDimensionalAxes(this.model,this.services),new e.Grid(this.model,this.services),new e.SimpleBar(this.model,this.services),new e.ZeroLine(this.model,this.services),new e.Skeleton(this.model,this.services,{skeleton:s.Skeletons.VERT_OR_HORIZ})];return this.getAxisChartComponents(t)}}class Ve extends m{constructor(t,o){super(t,o),this.model.setOptions(n.mergeDefaultChartOptions(n.options.stackedAreaChart,o.options)),this.init(t,o)}getComponents(){const t=[new e.TwoDimensionalAxes(this.model,this.services),new e.Grid(this.model,this.services),new e.StackedRuler(this.model,this.services),new e.StackedArea(this.model,this.services),new e.Line(this.model,this.services,{stacked:!0}),new e.StackedScatter(this.model,this.services,{fadeInOnChartHolderMouseover:!0,handleThresholds:!0,stacked:!0}),new e.Skeleton(this.model,this.services,{skeleton:s.Skeletons.GRID})];return this.getAxisChartComponents(t)}}class _e extends m{constructor(t,o){super(t,o),this.model.setOptions(n.mergeDefaultChartOptions(n.options.stackedBarChart,o.options)),this.init(t,o)}getComponents(){const t=[new e.TwoDimensionalAxes(this.model,this.services),new e.Grid(this.model,this.services),new e.StackedRuler(this.model,this.services),new e.StackedBar(this.model,this.services),new e.Skeleton(this.model,this.services,{skeleton:s.Skeletons.VERT_OR_HORIZ}),new e.ZeroLine(this.model,this.services)];return this.getAxisChartComponents(t)}}class Ne extends C{constructor(t,o){super(t,o),this.model=new l.WordCloudModel(this.services),this.model.setOptions(n.mergeDefaultChartOptions(n.options.wordCloudChart,o.options)),this.init(t,o)}getComponents(){const t=[new e.WordCloud(this.model,this.services),new e.Skeleton(this.model,this.services,{skeleton:s.Skeletons.PIE})];return this.getChartComponents(t)}}exports.TIME_INTERVALS=n.TIME_INTERVALS;exports.alluvial=n.alluvial;exports.area=n.area;exports.axis=n.axis;exports.baseTooltip=n.baseTooltip;exports.boxplot=n.boxplot;exports.canvasZoomSettings=n.canvasZoomSettings;exports.carbonPrefix=n.carbonPrefix;exports.circlePack=n.circlePack;exports.color=n.color;exports.computeTimeIntervalName=n.computeTimeIntervalName;exports.configurations=n.configuration;exports.defaultLegendAdditionalItems=n.defaultLegendAdditionalItems;exports.formatDateTillMilliSeconds=n.formatDateTillMilliSeconds;exports.formatTick=n.formatTick;exports.getColorScale=n.getColorScale;exports.getDomain=n.getDomain;exports.getTimeformats=n.getTimeformats;exports.grid=n.grid;exports.histogram=n.histogram;exports.isTickPrimary=n.isTickPrimary;exports.legend=n.legend;exports.lines=n.lines;exports.meter=n.meter;exports.options=n.options;exports.pie=n.pie;exports.radar=n.radar;exports.ruler=n.ruler;exports.spacers=n.spacers;exports.timeScale=n.timeScale;exports.toolbar=n.toolbar;exports.tooltips=n.tooltips;exports.transitions=n.transitions;exports.zoomBar=n.zoomBar;exports.interfaces=_.index;exports.AlluvialChartModel=l.AlluvialChartModel;exports.BoxplotChartModel=l.BoxplotChartModel;exports.BulletChartModel=l.BulletChartModel;exports.ChartModel=l.ChartModel;exports.ChartModelBinned=l.ChartModelBinned;exports.ChartModelCartesian=l.ChartModelCartesian;exports.ChoroplethModel=l.ChoroplethModel;exports.CirclePackChartModel=l.CirclePackChartModel;exports.GaugeChartModel=l.GaugeChartModel;exports.HeatmapModel=l.HeatmapModel;exports.MeterChartModel=l.MeterChartModel;exports.PieChartModel=l.PieChartModel;exports.RadarChartModel=l.RadarChartModel;exports.TreeChartModel=l.TreeChartModel;exports.TreemapChartModel=l.TreemapChartModel;exports.WordCloudModel=l.WordCloudModel;exports.Alignments=s.Alignments;exports.AreaEvent=s.Area;exports.ArrowDirections=s.ArrowDirections;exports.AxisEvent=s.Axis;exports.AxisFlavor=s.AxisFlavor;exports.AxisPositions=s.AxisPositions;exports.AxisTitleOrientations=s.AxisTitleOrientations;exports.BarEvent=s.Bar;exports.BoxplotEvent=s.Boxplot;exports.CalloutDirections=s.CalloutDirections;exports.CanvasZoomEvent=s.CanvasZoom;exports.CartesianOrientations=s.CartesianOrientations;exports.ChartEvent=s.Chart;exports.ChartTheme=s.ChartTheme;exports.ChartTypes=s.ChartTypes;exports.ColorClassNameTypes=s.ColorClassNameTypes;exports.ColorLegendType=s.ColorLegendType;exports.DividerStatus=s.DividerStatus;exports.DominantBaseline=s.DominantBaseline;exports.GaugeEvent=s.Gauge;exports.GaugeTypes=s.GaugeTypes;exports.LayoutAlignItems=s.LayoutAlignItems;exports.LayoutDirection=s.LayoutDirection;exports.LayoutGrowth=s.LayoutGrowth;exports.LegendItemType=s.LegendItemType;exports.LegendOrientations=s.LegendOrientations;exports.LegendPositions=s.LegendPositions;exports.LineEvent=s.Line;exports.ModalEvent=s.Modal;exports.ModelEvent=s.Model;exports.PieEvent=s.Pie;exports.Projection=s.Projection;exports.RadarEvent=s.Radar;exports.RenderTypes=s.RenderTypes;exports.ScaleTypes=s.ScaleTypes;exports.ScatterEvent=s.Scatter;exports.Skeletons=s.Skeletons;exports.Statuses=s.Statuses;exports.TextAnchor=s.TextAnchor;exports.ThresholdEvent=s.Threshold;exports.TickRotations=s.TickRotations;exports.ToolbarControlTypes=s.ToolbarControlTypes;exports.TooltipEvent=s.Tooltip;exports.TreeEvent=s.Tree;exports.TreeTypes=s.TreeTypes;exports.TreemapEvent=s.Treemap;exports.TruncationTypes=s.TruncationTypes;exports.WordCloudEvent=s.WordCloud;exports.ZoomBarTypes=s.ZoomBarTypes;exports.ZoomDomainEvent=s.ZoomDomain;exports.ZoombarEvent=s.ZoomBar;exports.Alluvial=e.Alluvial;exports.Area=e.Area;exports.Axis=e.Axis;exports.AxisChartsTooltip=e.AxisChartsTooltip;exports.Bar=e.Bar;exports.BinnedRuler=e.BinnedRuler;exports.Boxplot=e.Boxplot;exports.Bubble=e.Bubble;exports.Bullet=e.Bullet;exports.CanvasChartClip=e.CanvasChartClip;exports.ChartBrush=e.ChartBrush;exports.ChartClip=e.ChartClip;exports.Choropleth=e.Choropleth;exports.CirclePack=e.CirclePack;exports.ColorScaleLegend=e.ColorScaleLegend;exports.Component=e.Component;exports.Donut=e.Donut;exports.Gauge=e.Gauge;exports.GeoProjection=e.GeoProjection;exports.Grid=e.Grid;exports.GroupedBar=e.GroupedBar;exports.Heatmap=e.Heatmap;exports.Highlight=e.Highlight;exports.Histogram=e.Histogram;exports.HoverAxis=e.HoverAxis;exports.LayoutComponent=e.LayoutComponent;exports.Legend=e.Legend;exports.Line=e.Line;exports.Lollipop=e.Lollipop;exports.Meter=e.Meter;exports.MeterTitle=e.MeterTitle;exports.Modal=e.Modal;exports.Pie=e.Pie;exports.Radar=e.Radar;exports.Ruler=e.Ruler;exports.Scatter=e.Scatter;exports.SimpleBar=e.SimpleBar;exports.Skeleton=e.Skeleton;exports.SkeletonLines=e.SkeletonLines;exports.Spacer=e.Spacer;exports.StackedArea=e.StackedArea;exports.StackedBar=e.StackedBar;exports.StackedRuler=e.StackedRuler;exports.StackedScatter=e.StackedScatter;exports.Threshold=e.Threshold;exports.Title=e.Title;exports.Toolbar=e.Toolbar;exports.Tooltip=e.Tooltip;exports.Tree=e.Tree;exports.Treemap=e.Treemap;exports.TwoDimensionalAxes=e.TwoDimensionalAxes;exports.WordCloud=e.WordCloud;exports.ZeroLine=e.ZeroLine;exports.ZoomBar=e.ZoomBar;exports.arrowLeft=e.arrowLeft;exports.arrowRight=e.arrowRight;exports.buildBezierPathString=e.buildBezierPathString;exports.buildElbowPathString=e.buildElbowPathString;exports.buildStraightPathString=e.buildStraightPathString;exports.circle=e.circle;exports.diamond=e.diamond;exports.square=e.square;exports.tee=e.tee;exports.CanvasZoom=p.CanvasZoom;exports.CartesianScales=p.CartesianScales;exports.Curves=p.Curves;exports.Events=p.Events;exports.Files=p.Files;exports.Transitions=p.Transitions;exports.Zoom=p.Zoom;exports.DOMUtils=R.DOMUtils;exports.GradientUtils=R.GradientUtils;exports.Service=R.Service;exports.degToRad=R.degToRad;exports.distanceBetweenPointOnCircAndVerticalDiameter=R.distanceBetweenPointOnCircAndVerticalDiameter;exports.polarToCartesianCoords=R.polarToCartesianCoords;exports.radToDeg=R.radToDeg;exports.radialLabelPlacement=R.radialLabelPlacement;exports.AlluvialChart=Re;exports.AreaChart=ye;exports.AxisChart=m;exports.BoxplotChart=Se;exports.BubbleChart=Ee;exports.BulletChart=Le;exports.Chart=C;exports.CirclePackChart=De;exports.ComboChart=Oe;exports.DonutChart=be;exports.ExperimentalChoroplethChart=Ae;exports.GaugeChart=xe;exports.GroupedBarChart=fe;exports.HeatmapChart=ke;exports.HistogramChart=Me;exports.LineChart=Pe;exports.LollipopChart=Ge;exports.MeterChart=Be;exports.PieChart=H;exports.RadarChart=Fe;exports.ScatterChart=Ie;exports.SimpleBarChart=Ue;exports.StackedAreaChart=Ve;exports.StackedBarChart=_e;exports.TreeChart=He;exports.TreemapChart=Ze;exports.WordCloudChart=Ne;
2
2
  //# sourceMappingURL=index.js.map