@undp/data-viz 2.3.16 → 2.3.19

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 (438) hide show
  1. package/dist/AreaChart.cjs +1 -1
  2. package/dist/AreaChart.cjs.map +1 -1
  3. package/dist/AreaChart.d.ts +2 -0
  4. package/dist/AreaChart.js +356 -354
  5. package/dist/AreaChart.js.map +1 -1
  6. package/dist/{Axis-Jt_tmhxS.cjs → Axis-BTaS9oPQ.cjs} +2 -2
  7. package/dist/{Axis-Jt_tmhxS.cjs.map → Axis-BTaS9oPQ.cjs.map} +1 -1
  8. package/dist/{Axis-RyGdzLrG.js → Axis-CNZYWzH0.js} +2 -2
  9. package/dist/{Axis-RyGdzLrG.js.map → Axis-CNZYWzH0.js.map} +1 -1
  10. package/dist/{AxisTitle-DGjX1_2v.js → AxisTitle-CyLCqpW6.js} +2 -2
  11. package/dist/{AxisTitle-DGjX1_2v.js.map → AxisTitle-CyLCqpW6.js.map} +1 -1
  12. package/dist/{AxisTitle-DV4n0RxE.cjs → AxisTitle-DP_evhbe.cjs} +2 -2
  13. package/dist/{AxisTitle-DV4n0RxE.cjs.map → AxisTitle-DP_evhbe.cjs.map} +1 -1
  14. package/dist/BarGraph.cjs +1 -1
  15. package/dist/BarGraph.cjs.map +1 -1
  16. package/dist/BarGraph.d.ts +6 -0
  17. package/dist/BarGraph.js +1687 -1675
  18. package/dist/BarGraph.js.map +1 -1
  19. package/dist/BasicStatCard.cjs +1 -1
  20. package/dist/BasicStatCard.cjs.map +1 -1
  21. package/dist/BasicStatCard.d.ts +2 -0
  22. package/dist/BasicStatCard.js +46 -45
  23. package/dist/BasicStatCard.js.map +1 -1
  24. package/dist/BeeSwarmChart.cjs +1 -1
  25. package/dist/BeeSwarmChart.cjs.map +1 -1
  26. package/dist/BeeSwarmChart.d.ts +2 -0
  27. package/dist/BeeSwarmChart.js +268 -265
  28. package/dist/BeeSwarmChart.js.map +1 -1
  29. package/dist/BiVariateChoroplethMap.cjs +1 -1
  30. package/dist/BiVariateChoroplethMap.cjs.map +1 -1
  31. package/dist/BiVariateChoroplethMap.d.ts +2 -0
  32. package/dist/BiVariateChoroplethMap.js +300 -298
  33. package/dist/BiVariateChoroplethMap.js.map +1 -1
  34. package/dist/BulletChart.cjs +1 -1
  35. package/dist/BulletChart.cjs.map +1 -1
  36. package/dist/BulletChart.d.ts +2 -0
  37. package/dist/BulletChart.js +526 -523
  38. package/dist/BulletChart.js.map +1 -1
  39. package/dist/ButterflyChart.cjs +1 -1
  40. package/dist/ButterflyChart.cjs.map +1 -1
  41. package/dist/ButterflyChart.d.ts +2 -0
  42. package/dist/ButterflyChart.js +330 -328
  43. package/dist/ButterflyChart.js.map +1 -1
  44. package/dist/ChoroplethMap.cjs +1 -1
  45. package/dist/ChoroplethMap.cjs.map +1 -1
  46. package/dist/ChoroplethMap.d.ts +2 -0
  47. package/dist/ChoroplethMap.js +303 -301
  48. package/dist/ChoroplethMap.js.map +1 -1
  49. package/dist/CirclePackingGraph.cjs +1 -1
  50. package/dist/CirclePackingGraph.d.ts +2 -0
  51. package/dist/CirclePackingGraph.js +4 -4
  52. package/dist/ColorLegend.cjs +1 -1
  53. package/dist/ColorLegend.js +2 -2
  54. package/dist/ColorLegendWithMouseOver.cjs +1 -1
  55. package/dist/ColorLegendWithMouseOver.js +2 -2
  56. package/dist/CopyTextButton.cjs +1 -1
  57. package/dist/CopyTextButton.cjs.map +1 -1
  58. package/dist/CopyTextButton.js +7 -9
  59. package/dist/CopyTextButton.js.map +1 -1
  60. package/dist/CsvDownloadButton.cjs +1 -1
  61. package/dist/CsvDownloadButton.js +2 -2
  62. package/dist/DataCards.cjs +1 -1
  63. package/dist/DataCards.cjs.map +1 -1
  64. package/dist/DataCards.js +10 -12
  65. package/dist/DataCards.js.map +1 -1
  66. package/dist/DataTable.cjs +1 -1
  67. package/dist/DataTable.cjs.map +1 -1
  68. package/dist/DataTable.d.ts +2 -0
  69. package/dist/DataTable.js +103 -102
  70. package/dist/DataTable.js.map +1 -1
  71. package/dist/{DetailsModal-C3qlUyFK.js → DetailsModal-B2XBWR7w.js} +4 -4
  72. package/dist/{DetailsModal-C3qlUyFK.js.map → DetailsModal-B2XBWR7w.js.map} +1 -1
  73. package/dist/{DetailsModal-DIRTulvr.cjs → DetailsModal-jmmKRMRM.cjs} +2 -2
  74. package/dist/{DetailsModal-DIRTulvr.cjs.map → DetailsModal-jmmKRMRM.cjs.map} +1 -1
  75. package/dist/DifferenceLineChart.cjs +1 -1
  76. package/dist/DifferenceLineChart.cjs.map +1 -1
  77. package/dist/DifferenceLineChart.d.ts +4 -0
  78. package/dist/DifferenceLineChart.js +441 -437
  79. package/dist/DifferenceLineChart.js.map +1 -1
  80. package/dist/DonutChart.cjs +1 -1
  81. package/dist/DonutChart.cjs.map +1 -1
  82. package/dist/DonutChart.d.ts +4 -0
  83. package/dist/DonutChart.js +146 -142
  84. package/dist/DonutChart.js.map +1 -1
  85. package/dist/DotDensityMap.cjs +1 -1
  86. package/dist/DotDensityMap.cjs.map +1 -1
  87. package/dist/DotDensityMap.js +146 -146
  88. package/dist/DotDensityMap.js.map +1 -1
  89. package/dist/{DropdownSelect-NNpOs7DX.cjs → DropdownSelect-CX1yMemd.cjs} +2 -2
  90. package/dist/DropdownSelect-CX1yMemd.cjs.map +1 -0
  91. package/dist/{DropdownSelect-B2WTeedJ.js → DropdownSelect-Dz7imdTB.js} +6 -9
  92. package/dist/DropdownSelect-Dz7imdTB.js.map +1 -0
  93. package/dist/DualAxisLineChart.cjs +1 -1
  94. package/dist/DualAxisLineChart.cjs.map +1 -1
  95. package/dist/DualAxisLineChart.d.ts +4 -0
  96. package/dist/DualAxisLineChart.js +336 -332
  97. package/dist/DualAxisLineChart.js.map +1 -1
  98. package/dist/DumbbellChart.cjs +1 -1
  99. package/dist/DumbbellChart.cjs.map +1 -1
  100. package/dist/DumbbellChart.d.ts +2 -0
  101. package/dist/DumbbellChart.js +547 -544
  102. package/dist/DumbbellChart.js.map +1 -1
  103. package/dist/{EmptyState-B4c-CrXs.cjs → EmptyState-CFmiFPHz.cjs} +2 -2
  104. package/dist/{EmptyState-B4c-CrXs.cjs.map → EmptyState-CFmiFPHz.cjs.map} +1 -1
  105. package/dist/{EmptyState-B3fPoH6L.js → EmptyState-CaxXCkiN.js} +4 -4
  106. package/dist/{EmptyState-B3fPoH6L.js.map → EmptyState-CaxXCkiN.js.map} +1 -1
  107. package/dist/ExcelDownloadButton.cjs +1 -1
  108. package/dist/ExcelDownloadButton.js +2 -2
  109. package/dist/FootNote.cjs +1 -1
  110. package/dist/FootNote.js +2 -2
  111. package/dist/GeoHubCompareMaps.cjs +1 -1
  112. package/dist/GeoHubCompareMaps.cjs.map +1 -1
  113. package/dist/GeoHubCompareMaps.js +111 -111
  114. package/dist/GeoHubCompareMaps.js.map +1 -1
  115. package/dist/GeoHubMap.cjs +1 -1
  116. package/dist/GeoHubMap.cjs.map +1 -1
  117. package/dist/GeoHubMap.js +71 -71
  118. package/dist/GeoHubMap.js.map +1 -1
  119. package/dist/GeoHubMapWithLayerSelection.cjs +1 -1
  120. package/dist/GeoHubMapWithLayerSelection.cjs.map +1 -1
  121. package/dist/GeoHubMapWithLayerSelection.js +83 -83
  122. package/dist/GeoHubMapWithLayerSelection.js.map +1 -1
  123. package/dist/{GraphContainer-DwMxWRCi.js → GraphContainer-B8ZqOzKI.js} +2 -2
  124. package/dist/{GraphContainer-DwMxWRCi.js.map → GraphContainer-B8ZqOzKI.js.map} +1 -1
  125. package/dist/{GraphContainer-B1EDxJ0S.cjs → GraphContainer-Cul9b74X.cjs} +2 -2
  126. package/dist/{GraphContainer-B1EDxJ0S.cjs.map → GraphContainer-Cul9b74X.cjs.map} +1 -1
  127. package/dist/GraphDescription.cjs +1 -1
  128. package/dist/GraphDescription.js +2 -2
  129. package/dist/GraphEl-D8WRC8-j.cjs +2 -0
  130. package/dist/GraphEl-D8WRC8-j.cjs.map +1 -0
  131. package/dist/{GraphEl-CnJf8b50.js → GraphEl-Dorm_qQE.js} +48 -10
  132. package/dist/GraphEl-Dorm_qQE.js.map +1 -0
  133. package/dist/GraphFooter.cjs +1 -1
  134. package/dist/GraphFooter.js +2 -2
  135. package/dist/GraphHeader.cjs +1 -1
  136. package/dist/GraphHeader.js +1 -1
  137. package/dist/GraphTitle.cjs +1 -1
  138. package/dist/GraphTitle.js +2 -2
  139. package/dist/GriddedGraphs.cjs +1 -1
  140. package/dist/GriddedGraphs.d.ts +1 -0
  141. package/dist/GriddedGraphs.js +6 -6
  142. package/dist/GriddedGraphsFromConfig.cjs +1 -1
  143. package/dist/GriddedGraphsFromConfig.d.ts +1 -0
  144. package/dist/GriddedGraphsFromConfig.js +2 -2
  145. package/dist/HeatMap.cjs +1 -1
  146. package/dist/HeatMap.cjs.map +1 -1
  147. package/dist/HeatMap.d.ts +4 -0
  148. package/dist/HeatMap.js +158 -155
  149. package/dist/HeatMap.js.map +1 -1
  150. package/dist/Histogram.cjs +1 -1
  151. package/dist/Histogram.cjs.map +1 -1
  152. package/dist/Histogram.d.ts +2 -0
  153. package/dist/Histogram.js +81 -80
  154. package/dist/Histogram.js.map +1 -1
  155. package/dist/HybridMap.cjs +1 -1
  156. package/dist/HybridMap.cjs.map +1 -1
  157. package/dist/HybridMap.d.ts +2 -0
  158. package/dist/HybridMap.js +283 -281
  159. package/dist/HybridMap.js.map +1 -1
  160. package/dist/ImageDownloadButton.cjs +1 -1
  161. package/dist/ImageDownloadButton.js +2 -2
  162. package/dist/LineChartWithConfidenceInterval.cjs +1 -1
  163. package/dist/LineChartWithConfidenceInterval.cjs.map +1 -1
  164. package/dist/LineChartWithConfidenceInterval.d.ts +2 -0
  165. package/dist/LineChartWithConfidenceInterval.js +367 -365
  166. package/dist/LineChartWithConfidenceInterval.js.map +1 -1
  167. package/dist/LinearColorLegend.cjs +1 -1
  168. package/dist/LinearColorLegend.cjs.map +1 -1
  169. package/dist/LinearColorLegend.d.ts +1 -0
  170. package/dist/LinearColorLegend.js +38 -37
  171. package/dist/LinearColorLegend.js.map +1 -1
  172. package/dist/{Modal-ZX55hLH-.cjs → Modal-BIErPPKT.cjs} +5 -5
  173. package/dist/{Modal-ZX55hLH-.cjs.map → Modal-BIErPPKT.cjs.map} +1 -1
  174. package/dist/{Modal-BV4rkoLM.js → Modal-CrUYln5V.js} +4 -4
  175. package/dist/{Modal-BV4rkoLM.js.map → Modal-CrUYln5V.js.map} +1 -1
  176. package/dist/MultiGraphDashboard.cjs +1 -1
  177. package/dist/MultiGraphDashboard.d.ts +1 -0
  178. package/dist/MultiGraphDashboard.js +4 -4
  179. package/dist/MultiGraphDashboardFromConfig.cjs +1 -1
  180. package/dist/MultiGraphDashboardFromConfig.d.ts +1 -0
  181. package/dist/MultiGraphDashboardFromConfig.js +2 -2
  182. package/dist/MultiGraphDashboardWideToLongFormat.cjs +1 -1
  183. package/dist/MultiGraphDashboardWideToLongFormat.js +4 -4
  184. package/dist/MultiGraphDashboardWideToLongFormatFromConfig.cjs +1 -1
  185. package/dist/MultiGraphDashboardWideToLongFormatFromConfig.js +2 -2
  186. package/dist/MultiLineAltChart.cjs +1 -1
  187. package/dist/MultiLineAltChart.cjs.map +1 -1
  188. package/dist/MultiLineAltChart.d.ts +4 -0
  189. package/dist/MultiLineAltChart.js +412 -402
  190. package/dist/MultiLineAltChart.js.map +1 -1
  191. package/dist/MultiLineChart.cjs +1 -1
  192. package/dist/MultiLineChart.cjs.map +1 -1
  193. package/dist/MultiLineChart.d.ts +4 -0
  194. package/dist/MultiLineChart.js +398 -394
  195. package/dist/MultiLineChart.js.map +1 -1
  196. package/dist/ParetoChart.cjs +1 -1
  197. package/dist/ParetoChart.cjs.map +1 -1
  198. package/dist/ParetoChart.d.ts +2 -0
  199. package/dist/ParetoChart.js +273 -271
  200. package/dist/ParetoChart.js.map +1 -1
  201. package/dist/PerformanceIntensiveMultiGraphDashboard.cjs +1 -1
  202. package/dist/PerformanceIntensiveMultiGraphDashboard.d.ts +1 -0
  203. package/dist/PerformanceIntensiveMultiGraphDashboard.js +4 -4
  204. package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.cjs +1 -1
  205. package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.d.ts +1 -0
  206. package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.js +2 -2
  207. package/dist/PerformanceIntensiveScrollStory.cjs +1 -1
  208. package/dist/PerformanceIntensiveScrollStory.d.ts +1 -0
  209. package/dist/PerformanceIntensiveScrollStory.js +3 -3
  210. package/dist/RadarChart.cjs +1 -1
  211. package/dist/RadarChart.cjs.map +1 -1
  212. package/dist/RadarChart.d.ts +2 -0
  213. package/dist/RadarChart.js +220 -218
  214. package/dist/RadarChart.js.map +1 -1
  215. package/dist/{ReferenceLine-M9aP3dj-.cjs → ReferenceLine-CpU4G01Y.cjs} +2 -2
  216. package/dist/{ReferenceLine-M9aP3dj-.cjs.map → ReferenceLine-CpU4G01Y.cjs.map} +1 -1
  217. package/dist/{ReferenceLine-CNEjAYvv.js → ReferenceLine-D41VuUhE.js} +3 -3
  218. package/dist/{ReferenceLine-CNEjAYvv.js.map → ReferenceLine-D41VuUhE.js.map} +1 -1
  219. package/dist/{RegressionLine-Ci-Dh0w0.cjs → RegressionLine-BFoBiVJk.cjs} +2 -2
  220. package/dist/{RegressionLine-Ci-Dh0w0.cjs.map → RegressionLine-BFoBiVJk.cjs.map} +1 -1
  221. package/dist/{RegressionLine-BDrndQxo.js → RegressionLine-CuwB42I6.js} +4 -4
  222. package/dist/{RegressionLine-BDrndQxo.js.map → RegressionLine-CuwB42I6.js.map} +1 -1
  223. package/dist/SVGDownloadButton.cjs +1 -1
  224. package/dist/SVGDownloadButton.js +2 -2
  225. package/dist/SankeyChart.cjs +1 -1
  226. package/dist/SankeyChart.cjs.map +1 -1
  227. package/dist/SankeyChart.d.ts +2 -0
  228. package/dist/SankeyChart.js +439 -437
  229. package/dist/SankeyChart.js.map +1 -1
  230. package/dist/ScatterPlot.cjs +1 -1
  231. package/dist/ScatterPlot.cjs.map +1 -1
  232. package/dist/ScatterPlot.d.ts +2 -0
  233. package/dist/ScatterPlot.js +425 -423
  234. package/dist/ScatterPlot.js.map +1 -1
  235. package/dist/ScrollStory.cjs +1 -1
  236. package/dist/ScrollStory.d.ts +1 -0
  237. package/dist/ScrollStory.js +3 -3
  238. package/dist/SimpleLineChart.cjs +1 -1
  239. package/dist/SimpleLineChart.cjs.map +1 -1
  240. package/dist/SimpleLineChart.d.ts +2 -0
  241. package/dist/SimpleLineChart.js +360 -358
  242. package/dist/SimpleLineChart.js.map +1 -1
  243. package/dist/SingleGraphDashboard.cjs +1 -1
  244. package/dist/SingleGraphDashboard.d.ts +1 -0
  245. package/dist/SingleGraphDashboard.js +6 -6
  246. package/dist/SingleGraphDashboardFromConfig.cjs +1 -1
  247. package/dist/SingleGraphDashboardFromConfig.d.ts +1 -0
  248. package/dist/SingleGraphDashboardFromConfig.js +2 -2
  249. package/dist/SingleGraphDashboardGeoHubMaps.cjs +1 -1
  250. package/dist/SingleGraphDashboardGeoHubMaps.d.ts +1 -0
  251. package/dist/SingleGraphDashboardGeoHubMaps.js +3 -3
  252. package/dist/SingleGraphDashboardGeoHubMapsFromConfig.cjs +1 -1
  253. package/dist/SingleGraphDashboardGeoHubMapsFromConfig.d.ts +1 -0
  254. package/dist/SingleGraphDashboardGeoHubMapsFromConfig.js +2 -2
  255. package/dist/SingleGraphDashboardThreeDGraphs.cjs +1 -1
  256. package/dist/SingleGraphDashboardThreeDGraphs.d.ts +1 -0
  257. package/dist/SingleGraphDashboardThreeDGraphs.js +6 -6
  258. package/dist/SingleGraphDashboardThreeDGraphsFromConfig.cjs +1 -1
  259. package/dist/SingleGraphDashboardThreeDGraphsFromConfig.d.ts +1 -0
  260. package/dist/SingleGraphDashboardThreeDGraphsFromConfig.js +2 -2
  261. package/dist/SlopeChart.cjs +1 -1
  262. package/dist/SlopeChart.js +10 -10
  263. package/dist/{Source-BOSAl3UX.cjs → Source-PKuwZOn3.cjs} +2 -2
  264. package/dist/{Source-BOSAl3UX.cjs.map → Source-PKuwZOn3.cjs.map} +1 -1
  265. package/dist/{Source-Djkz-7jX.js → Source-QGk8vhkS.js} +3 -3
  266. package/dist/{Source-Djkz-7jX.js.map → Source-QGk8vhkS.js.map} +1 -1
  267. package/dist/Source.cjs +1 -1
  268. package/dist/Source.js +3 -3
  269. package/dist/SparkLine.cjs +1 -1
  270. package/dist/SparkLine.js +3 -3
  271. package/dist/{Spinner-CtJETd5V.js → Spinner-B2IIKg9r.js} +2 -2
  272. package/dist/{Spinner-CtJETd5V.js.map → Spinner-B2IIKg9r.js.map} +1 -1
  273. package/dist/{Spinner-jTMOLuw_.cjs → Spinner-WHzzloYQ.cjs} +2 -2
  274. package/dist/{Spinner-jTMOLuw_.cjs.map → Spinner-WHzzloYQ.cjs.map} +1 -1
  275. package/dist/StatCardFromData.cjs +1 -1
  276. package/dist/StatCardFromData.cjs.map +1 -1
  277. package/dist/StatCardFromData.d.ts +4 -0
  278. package/dist/StatCardFromData.js +97 -95
  279. package/dist/StatCardFromData.js.map +1 -1
  280. package/dist/StripChart.cjs +1 -1
  281. package/dist/StripChart.cjs.map +1 -1
  282. package/dist/StripChart.d.ts +2 -0
  283. package/dist/StripChart.js +360 -357
  284. package/dist/StripChart.js.map +1 -1
  285. package/dist/ThreeDGlobe.cjs +1 -1
  286. package/dist/ThreeDGlobe.cjs.map +1 -1
  287. package/dist/ThreeDGlobe.d.ts +2 -0
  288. package/dist/ThreeDGlobe.js +198 -196
  289. package/dist/ThreeDGlobe.js.map +1 -1
  290. package/dist/ThresholdColorLegendWithMouseOver.cjs +1 -1
  291. package/dist/ThresholdColorLegendWithMouseOver.cjs.map +1 -1
  292. package/dist/ThresholdColorLegendWithMouseOver.d.ts +2 -0
  293. package/dist/ThresholdColorLegendWithMouseOver.js +50 -48
  294. package/dist/ThresholdColorLegendWithMouseOver.js.map +1 -1
  295. package/dist/{Tooltip-CohiIbLZ.js → Tooltip-Bj-s__cI.js} +3 -3
  296. package/dist/{Tooltip-CohiIbLZ.js.map → Tooltip-Bj-s__cI.js.map} +1 -1
  297. package/dist/{Tooltip-BLa2EfMs.cjs → Tooltip-Hr46paWP.cjs} +2 -2
  298. package/dist/{Tooltip-BLa2EfMs.cjs.map → Tooltip-Hr46paWP.cjs.map} +1 -1
  299. package/dist/TreeMapGraph.cjs +1 -1
  300. package/dist/TreeMapGraph.cjs.map +1 -1
  301. package/dist/TreeMapGraph.d.ts +2 -0
  302. package/dist/TreeMapGraph.js +219 -217
  303. package/dist/TreeMapGraph.js.map +1 -1
  304. package/dist/Types.d.ts +1 -0
  305. package/dist/{Typography-DMVW6JnV.js → Typography-BO0gQDIT.js} +2 -2
  306. package/dist/{Typography-DMVW6JnV.js.map → Typography-BO0gQDIT.js.map} +1 -1
  307. package/dist/{Typography-CZZxlj1W.cjs → Typography-BqmyF1gP.cjs} +2 -2
  308. package/dist/{Typography-CZZxlj1W.cjs.map → Typography-BqmyF1gP.cjs.map} +1 -1
  309. package/dist/UnitChart.cjs +1 -1
  310. package/dist/UnitChart.cjs.map +1 -1
  311. package/dist/UnitChart.d.ts +4 -0
  312. package/dist/UnitChart.js +88 -86
  313. package/dist/UnitChart.js.map +1 -1
  314. package/dist/WaterfallChart.cjs +1 -1
  315. package/dist/WaterfallChart.cjs.map +1 -1
  316. package/dist/WaterfallChart.d.ts +2 -0
  317. package/dist/WaterfallChart.js +243 -241
  318. package/dist/WaterfallChart.js.map +1 -1
  319. package/dist/{XAxesLabels-IwjMJkYS.js → XAxesLabels-B9gkjUiC.js} +3 -3
  320. package/dist/{XAxesLabels-IwjMJkYS.js.map → XAxesLabels-B9gkjUiC.js.map} +1 -1
  321. package/dist/{XAxesLabels-C6o9jJal.cjs → XAxesLabels-C03jHniq.cjs} +2 -2
  322. package/dist/{XAxesLabels-C6o9jJal.cjs.map → XAxesLabels-C03jHniq.cjs.map} +1 -1
  323. package/dist/XTicksAndGridLines-C5DuC5oY.cjs +2 -0
  324. package/dist/XTicksAndGridLines-C5DuC5oY.cjs.map +1 -0
  325. package/dist/XTicksAndGridLines-gdbGX2rm.js +39 -0
  326. package/dist/XTicksAndGridLines-gdbGX2rm.js.map +1 -0
  327. package/dist/{YAxesLabels-BQ2aCazV.cjs → YAxesLabels-DeENFC2M.cjs} +2 -2
  328. package/dist/{YAxesLabels-BQ2aCazV.cjs.map → YAxesLabels-DeENFC2M.cjs.map} +1 -1
  329. package/dist/{YAxesLabels-DoGvgHdw.js → YAxesLabels-hWEUCTvs.js} +3 -3
  330. package/dist/{YAxesLabels-DoGvgHdw.js.map → YAxesLabels-hWEUCTvs.js.map} +1 -1
  331. package/dist/YTicksAndGridLines-CsNSq9W9.js +39 -0
  332. package/dist/YTicksAndGridLines-CsNSq9W9.js.map +1 -0
  333. package/dist/YTicksAndGridLines-DFjm8RCc.cjs +2 -0
  334. package/dist/YTicksAndGridLines-DFjm8RCc.cjs.map +1 -0
  335. package/dist/{checkIfMultiple-TOaaUwS7.cjs → checkIfMultiple-CH5tqj4q.cjs} +2 -2
  336. package/dist/checkIfMultiple-CH5tqj4q.cjs.map +1 -0
  337. package/dist/{checkIfMultiple-B97uOUVq.js → checkIfMultiple-Dpyy6BUP.js} +6 -6
  338. package/dist/checkIfMultiple-Dpyy6BUP.js.map +1 -0
  339. package/dist/{customArea-B1LWQBmM.cjs → customArea-BAcQ3pBM.cjs} +2 -2
  340. package/dist/{customArea-B1LWQBmM.cjs.map → customArea-BAcQ3pBM.cjs.map} +1 -1
  341. package/dist/{customArea-Cc2whe6P.js → customArea-D89lETG0.js} +3 -3
  342. package/dist/{customArea-Cc2whe6P.js.map → customArea-D89lETG0.js.map} +1 -1
  343. package/dist/getSliderMarks-BzrpHrHS.cjs +2 -0
  344. package/dist/getSliderMarks-BzrpHrHS.cjs.map +1 -0
  345. package/dist/{getSliderMarks-vXsR8RrR.js → getSliderMarks-X-_goqH9.js} +3 -4
  346. package/dist/getSliderMarks-X-_goqH9.js.map +1 -0
  347. package/dist/{index-CZ0elhKR.js → index-ApTBN0kp.js} +20 -10
  348. package/dist/{index-CZ0elhKR.js.map → index-ApTBN0kp.js.map} +1 -1
  349. package/dist/index-Bdo_HXb_.cjs +2 -0
  350. package/dist/index-Bdo_HXb_.cjs.map +1 -0
  351. package/dist/{index-sbKVyHS2.cjs → index-BhI7mBJx.cjs} +2 -2
  352. package/dist/{index-sbKVyHS2.cjs.map → index-BhI7mBJx.cjs.map} +1 -1
  353. package/dist/{index-D69M6klB.cjs → index-BuhBhuCq.cjs} +2 -2
  354. package/dist/{index-D69M6klB.cjs.map → index-BuhBhuCq.cjs.map} +1 -1
  355. package/dist/index-CGrBpeUa.js +380 -0
  356. package/dist/index-CGrBpeUa.js.map +1 -0
  357. package/dist/{index-CHPV5EwG-BCLAYDCV.js → index-CHPV5EwG-BzibaIRc.js} +5 -9
  358. package/dist/index-CHPV5EwG-BzibaIRc.js.map +1 -0
  359. package/dist/{index-CHPV5EwG-6v2a2njQ.cjs → index-CHPV5EwG-D4pAp7u0.cjs} +3 -3
  360. package/dist/index-CHPV5EwG-D4pAp7u0.cjs.map +1 -0
  361. package/dist/{index-Co3YGYe1.js → index-Cv_5q6Rb.js} +3 -3
  362. package/dist/{index-Co3YGYe1.js.map → index-Cv_5q6Rb.js.map} +1 -1
  363. package/dist/{index-D_dtv_T9.js → index-DHVGV8Df.js} +3 -3
  364. package/dist/{index-D_dtv_T9.js.map → index-DHVGV8Df.js.map} +1 -1
  365. package/dist/{index-CoobIWNj.cjs → index-FXfr51ZM.cjs} +2 -2
  366. package/dist/{index-CoobIWNj.cjs.map → index-FXfr51ZM.cjs.map} +1 -1
  367. package/dist/{index-D6CYcVc7-BOa7Dpvf.js → index-Scxs_wcm-BAjU0Cob.js} +16 -16
  368. package/dist/index-Scxs_wcm-BAjU0Cob.js.map +1 -0
  369. package/dist/index-Scxs_wcm-DUDU-Gll.cjs +2 -0
  370. package/dist/index-Scxs_wcm-DUDU-Gll.cjs.map +1 -0
  371. package/dist/{index-DoS4bGNa-C3DbPpy3.cjs → index-w64Zl8io-DrMm5QSb.cjs} +2 -2
  372. package/dist/index-w64Zl8io-DrMm5QSb.cjs.map +1 -0
  373. package/dist/{index-DoS4bGNa-Bgab95kx.js → index-w64Zl8io-ihagHOdP.js} +2 -2
  374. package/dist/index-w64Zl8io-ihagHOdP.js.map +1 -0
  375. package/dist/index.cjs +1 -1
  376. package/dist/index.d.ts +94 -17
  377. package/dist/index.js +3 -3
  378. package/dist/numberFormattingFunction-Cn9R7CM9.cjs +2 -0
  379. package/dist/numberFormattingFunction-Cn9R7CM9.cjs.map +1 -0
  380. package/dist/numberFormattingFunction-DqMf_v1m.js +28 -0
  381. package/dist/numberFormattingFunction-DqMf_v1m.js.map +1 -0
  382. package/dist/{proxy--_f6k3NR.js → proxy-BsxtcZKa.js} +2 -2
  383. package/dist/{proxy--_f6k3NR.js.map → proxy-BsxtcZKa.js.map} +1 -1
  384. package/dist/{proxy-C4-uo6nS.cjs → proxy-CqH8m8IQ.cjs} +2 -2
  385. package/dist/{proxy-C4-uo6nS.cjs.map → proxy-CqH8m8IQ.cjs.map} +1 -1
  386. package/dist/{string2HTML-DUYZT1L9.js → string2HTML-BrFperRM.js} +2 -2
  387. package/dist/{string2HTML-DUYZT1L9.js.map → string2HTML-BrFperRM.js.map} +1 -1
  388. package/dist/{string2HTML-xx9MzTtY.cjs → string2HTML-ZoGd08P_.cjs} +2 -2
  389. package/dist/{string2HTML-xx9MzTtY.cjs.map → string2HTML-ZoGd08P_.cjs.map} +1 -1
  390. package/dist/style.css +1 -1
  391. package/dist/{use-in-view-DqvKAveg.js → use-in-view-KOXq5Kmc.js} +2 -2
  392. package/dist/{use-in-view-DqvKAveg.js.map → use-in-view-KOXq5Kmc.js.map} +1 -1
  393. package/dist/{use-in-view-C3o_ntMv.cjs → use-in-view-dnRv_qqF.cjs} +2 -2
  394. package/dist/{use-in-view-C3o_ntMv.cjs.map → use-in-view-dnRv_qqF.cjs.map} +1 -1
  395. package/dist/utils.cjs +1 -1
  396. package/dist/utils.d.ts +9 -18
  397. package/dist/utils.js +1 -1
  398. package/dist/x-BXShoIAM-BC2sxios.cjs +2 -0
  399. package/dist/x-BXShoIAM-BC2sxios.cjs.map +1 -0
  400. package/dist/{x-BBpi7a_7-BsvWCzYM.js → x-BXShoIAM-D6VWO6z5.js} +3 -5
  401. package/dist/x-BXShoIAM-D6VWO6z5.js.map +1 -0
  402. package/package.json +2 -2
  403. package/dist/DropdownSelect-B2WTeedJ.js.map +0 -1
  404. package/dist/DropdownSelect-NNpOs7DX.cjs.map +0 -1
  405. package/dist/GraphEl-CnJf8b50.js.map +0 -1
  406. package/dist/GraphEl-D_w0Qak4.cjs +0 -2
  407. package/dist/GraphEl-D_w0Qak4.cjs.map +0 -1
  408. package/dist/XTicksAndGridLines-BDmF9etl.js +0 -38
  409. package/dist/XTicksAndGridLines-BDmF9etl.js.map +0 -1
  410. package/dist/XTicksAndGridLines-CekrPykD.cjs +0 -2
  411. package/dist/XTicksAndGridLines-CekrPykD.cjs.map +0 -1
  412. package/dist/YTicksAndGridLines-C3GW1xFG.js +0 -38
  413. package/dist/YTicksAndGridLines-C3GW1xFG.js.map +0 -1
  414. package/dist/YTicksAndGridLines-UzVC5eBM.cjs +0 -2
  415. package/dist/YTicksAndGridLines-UzVC5eBM.cjs.map +0 -1
  416. package/dist/checkIfMultiple-B97uOUVq.js.map +0 -1
  417. package/dist/checkIfMultiple-TOaaUwS7.cjs.map +0 -1
  418. package/dist/getSliderMarks-CIuSoedo.cjs +0 -2
  419. package/dist/getSliderMarks-CIuSoedo.cjs.map +0 -1
  420. package/dist/getSliderMarks-vXsR8RrR.js.map +0 -1
  421. package/dist/index-C6VwVS8W.js +0 -378
  422. package/dist/index-C6VwVS8W.js.map +0 -1
  423. package/dist/index-CHPV5EwG-6v2a2njQ.cjs.map +0 -1
  424. package/dist/index-CHPV5EwG-BCLAYDCV.js.map +0 -1
  425. package/dist/index-D6CYcVc7-BOa7Dpvf.js.map +0 -1
  426. package/dist/index-D6CYcVc7-CTEcAtiQ.cjs +0 -2
  427. package/dist/index-D6CYcVc7-CTEcAtiQ.cjs.map +0 -1
  428. package/dist/index-DoS4bGNa-Bgab95kx.js.map +0 -1
  429. package/dist/index-DoS4bGNa-C3DbPpy3.cjs.map +0 -1
  430. package/dist/index-_TlgeI_i.cjs +0 -2
  431. package/dist/index-_TlgeI_i.cjs.map +0 -1
  432. package/dist/numberFormattingFunction-02t-wJta.cjs +0 -2
  433. package/dist/numberFormattingFunction-02t-wJta.cjs.map +0 -1
  434. package/dist/numberFormattingFunction-14YCbkN2.js +0 -13
  435. package/dist/numberFormattingFunction-14YCbkN2.js.map +0 -1
  436. package/dist/x-BBpi7a_7-BsvWCzYM.js.map +0 -1
  437. package/dist/x-BBpi7a_7-DXYIEFwN.cjs +0 -2
  438. package/dist/x-BBpi7a_7-DXYIEFwN.cjs.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-w64Zl8io-ihagHOdP.js","sources":["../node_modules/@undp/design-system-react/dist/index-DEx84bLj.js","../node_modules/@undp/design-system-react/dist/index-x074zSlZ.js","../node_modules/@undp/design-system-react/dist/index-CnQ7XQg1.js","../node_modules/@undp/design-system-react/dist/index-0ioNhtNM.js","../node_modules/@undp/design-system-react/dist/index-CkWXyUnb.js","../node_modules/@undp/design-system-react/dist/index-CkVr4wwq.js","../node_modules/@undp/design-system-react/dist/index-w64Zl8io.js"],"sourcesContent":["import * as l from \"react\";\nimport * as h from \"react-dom\";\nimport { j as f } from \"./jsx-runtime-tc70JA_2.js\";\nfunction d(e, t) {\n if (typeof e == \"function\")\n return e(t);\n e != null && (e.current = t);\n}\nfunction m(...e) {\n return (t) => {\n let r = !1;\n const o = e.map((n) => {\n const i = d(n, t);\n return !r && typeof i == \"function\" && (r = !0), i;\n });\n if (r)\n return () => {\n for (let n = 0; n < o.length; n++) {\n const i = o[n];\n typeof i == \"function\" ? i() : d(e[n], null);\n }\n };\n };\n}\nfunction P(...e) {\n return l.useCallback(m(...e), e);\n}\n// @__NO_SIDE_EFFECTS__\nfunction C(e) {\n const t = /* @__PURE__ */ E(e), r = l.forwardRef((o, n) => {\n const { children: i, ...a } = o, s = l.Children.toArray(i), c = s.find(b);\n if (c) {\n const u = c.props.children, S = s.map((p) => p === c ? l.Children.count(u) > 1 ? l.Children.only(null) : l.isValidElement(u) ? u.props.children : null : p);\n return /* @__PURE__ */ f.jsx(t, { ...a, ref: n, children: l.isValidElement(u) ? l.cloneElement(u, void 0, S) : null });\n }\n return /* @__PURE__ */ f.jsx(t, { ...a, ref: n, children: i });\n });\n return r.displayName = `${e}.Slot`, r;\n}\n// @__NO_SIDE_EFFECTS__\nfunction E(e) {\n const t = l.forwardRef((r, o) => {\n const { children: n, ...i } = r;\n if (l.isValidElement(n)) {\n const a = v(n), s = g(i, n.props);\n return n.type !== l.Fragment && (s.ref = o ? m(o, a) : a), l.cloneElement(n, s);\n }\n return l.Children.count(n) > 1 ? l.Children.only(null) : null;\n });\n return t.displayName = `${e}.SlotClone`, t;\n}\nvar y = /* @__PURE__ */ Symbol(\"radix.slottable\");\n// @__NO_SIDE_EFFECTS__\nfunction j(e) {\n const t = ({ children: r }) => /* @__PURE__ */ f.jsx(f.Fragment, { children: r });\n return t.displayName = `${e}.Slottable`, t.__radixId = y, t;\n}\nfunction b(e) {\n return l.isValidElement(e) && typeof e.type == \"function\" && \"__radixId\" in e.type && e.type.__radixId === y;\n}\nfunction g(e, t) {\n const r = { ...t };\n for (const o in t) {\n const n = e[o], i = t[o];\n /^on[A-Z]/.test(o) ? n && i ? r[o] = (...s) => {\n const c = i(...s);\n return n(...s), c;\n } : n && (r[o] = n) : o === \"style\" ? r[o] = { ...n, ...i } : o === \"className\" && (r[o] = [n, i].filter(Boolean).join(\" \"));\n }\n return { ...e, ...r };\n}\nfunction v(e) {\n let t = Object.getOwnPropertyDescriptor(e.props, \"ref\")?.get, r = t && \"isReactWarning\" in t && t.isReactWarning;\n return r ? e.ref : (t = Object.getOwnPropertyDescriptor(e, \"ref\")?.get, r = t && \"isReactWarning\" in t && t.isReactWarning, r ? e.props.ref : e.props.ref || e.ref);\n}\nvar R = [\n \"a\",\n \"button\",\n \"div\",\n \"form\",\n \"h2\",\n \"h3\",\n \"img\",\n \"input\",\n \"label\",\n \"li\",\n \"nav\",\n \"ol\",\n \"p\",\n \"select\",\n \"span\",\n \"svg\",\n \"ul\"\n], w = R.reduce((e, t) => {\n const r = /* @__PURE__ */ C(`Primitive.${t}`), o = l.forwardRef((n, i) => {\n const { asChild: a, ...s } = n, c = a ? r : t;\n return typeof window < \"u\" && (window[/* @__PURE__ */ Symbol.for(\"radix-ui\")] = !0), /* @__PURE__ */ f.jsx(c, { ...s, ref: i });\n });\n return o.displayName = `Primitive.${t}`, { ...e, [t]: o };\n}, {});\nfunction N(e, t) {\n e && h.flushSync(() => e.dispatchEvent(t));\n}\nexport {\n w as P,\n C as a,\n j as b,\n m as c,\n N as d,\n P as u\n};\n//# sourceMappingURL=index-DEx84bLj.js.map\n","import * as i from \"react\";\nimport { P as o } from \"./index-DEx84bLj.js\";\nimport { j as t } from \"./jsx-runtime-tc70JA_2.js\";\nvar s = Object.freeze({\n // See: https://github.com/twbs/bootstrap/blob/main/scss/mixins/_visually-hidden.scss\n position: \"absolute\",\n border: 0,\n width: 1,\n height: 1,\n padding: 0,\n margin: -1,\n overflow: \"hidden\",\n clip: \"rect(0, 0, 0, 0)\",\n whiteSpace: \"nowrap\",\n wordWrap: \"normal\"\n}), d = \"VisuallyHidden\", a = i.forwardRef(\n (r, e) => /* @__PURE__ */ t.jsx(\n o.span,\n {\n ...r,\n ref: e,\n style: { ...s, ...r.style }\n }\n )\n);\na.displayName = d;\nvar n = a;\nexport {\n n as R,\n s as V,\n a\n};\n//# sourceMappingURL=index-x074zSlZ.js.map\n","import * as c from \"react\";\nimport { j as x } from \"./jsx-runtime-tc70JA_2.js\";\nfunction R(e, s) {\n const t = c.createContext(s), i = (u) => {\n const { children: r, ...o } = u, l = c.useMemo(() => o, Object.values(o));\n return /* @__PURE__ */ x.jsx(t.Provider, { value: l, children: r });\n };\n i.displayName = e + \"Provider\";\n function n(u) {\n const r = c.useContext(t);\n if (r) return r;\n if (s !== void 0) return s;\n throw new Error(`\\`${u}\\` must be used within \\`${e}\\``);\n }\n return [i, n];\n}\nfunction g(e, s = []) {\n let t = [];\n function i(u, r) {\n const o = c.createContext(r), l = t.length;\n t = [...t, r];\n const d = (f) => {\n const { scope: v, children: p, ...m } = f, C = v?.[e]?.[l] || o, h = c.useMemo(() => m, Object.values(m));\n return /* @__PURE__ */ x.jsx(C.Provider, { value: h, children: p });\n };\n d.displayName = u + \"Provider\";\n function a(f, v) {\n const p = v?.[e]?.[l] || o, m = c.useContext(p);\n if (m) return m;\n if (r !== void 0) return r;\n throw new Error(`\\`${f}\\` must be used within \\`${u}\\``);\n }\n return [d, a];\n }\n const n = () => {\n const u = t.map((r) => c.createContext(r));\n return function(o) {\n const l = o?.[e] || u;\n return c.useMemo(\n () => ({ [`__scope${e}`]: { ...o, [e]: l } }),\n [o, l]\n );\n };\n };\n return n.scopeName = e, [i, S(n, ...s)];\n}\nfunction S(...e) {\n const s = e[0];\n if (e.length === 1) return s;\n const t = () => {\n const i = e.map((n) => ({\n useScope: n(),\n scopeName: n.scopeName\n }));\n return function(u) {\n const r = i.reduce((o, { useScope: l, scopeName: d }) => {\n const f = l(u)[`__scope${d}`];\n return { ...o, ...f };\n }, {});\n return c.useMemo(() => ({ [`__scope${s.scopeName}`]: r }), [r]);\n };\n };\n return t.scopeName = s.scopeName, t;\n}\nfunction j(e, s, { checkForDefaultPrevented: t = !0 } = {}) {\n return function(n) {\n if (e?.(n), t === !1 || !n.defaultPrevented)\n return s?.(n);\n };\n}\nvar E = globalThis?.document ? c.useLayoutEffect : () => {\n}, P = c[\" useInsertionEffect \".trim().toString()] || E;\nfunction _({\n prop: e,\n defaultProp: s,\n onChange: t = () => {\n },\n caller: i\n}) {\n const [n, u, r] = b({\n defaultProp: s,\n onChange: t\n }), o = e !== void 0, l = o ? e : n;\n {\n const a = c.useRef(e !== void 0);\n c.useEffect(() => {\n const f = a.current;\n f !== o && console.warn(\n `${i} is changing from ${f ? \"controlled\" : \"uncontrolled\"} to ${o ? \"controlled\" : \"uncontrolled\"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`\n ), a.current = o;\n }, [o, i]);\n }\n const d = c.useCallback(\n (a) => {\n if (o) {\n const f = w(a) ? a(e) : a;\n f !== e && r.current?.(f);\n } else\n u(a);\n },\n [o, e, u, r]\n );\n return [l, d];\n}\nfunction b({\n defaultProp: e,\n onChange: s\n}) {\n const [t, i] = c.useState(e), n = c.useRef(t), u = c.useRef(s);\n return P(() => {\n u.current = s;\n }, [s]), c.useEffect(() => {\n n.current !== t && (u.current?.(t), n.current = t);\n }, [t, n]), [t, i, u];\n}\nfunction w(e) {\n return typeof e == \"function\";\n}\nexport {\n g as a,\n E as b,\n j as c,\n R as d,\n _ as u\n};\n//# sourceMappingURL=index-CnQ7XQg1.js.map\n","import * as e from \"react\";\nfunction c(r) {\n const t = e.useRef(r);\n return e.useEffect(() => {\n t.current = r;\n }), e.useMemo(() => (...u) => t.current?.(...u), []);\n}\nexport {\n c as u\n};\n//# sourceMappingURL=index-0ioNhtNM.js.map\n","import * as i from \"react\";\nimport { c as h } from \"./index-CnQ7XQg1.js\";\nimport { u as R, P as g, d as j } from \"./index-DEx84bLj.js\";\nimport { u as m } from \"./index-0ioNhtNM.js\";\nimport { j as x } from \"./jsx-runtime-tc70JA_2.js\";\nfunction z(n, e = globalThis?.document) {\n const t = m(n);\n i.useEffect(() => {\n const o = (s) => {\n s.key === \"Escape\" && t(s);\n };\n return e.addEventListener(\"keydown\", o, { capture: !0 }), () => e.removeEventListener(\"keydown\", o, { capture: !0 });\n }, [t, e]);\n}\nvar H = \"DismissableLayer\", p = \"dismissableLayer.update\", K = \"dismissableLayer.pointerDownOutside\", M = \"dismissableLayer.focusOutside\", C, B = i.createContext({\n layers: /* @__PURE__ */ new Set(),\n layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),\n branches: /* @__PURE__ */ new Set()\n}), T = i.forwardRef(\n (n, e) => {\n const {\n disableOutsidePointerEvents: t = !1,\n onEscapeKeyDown: o,\n onPointerDownOutside: s,\n onFocusOutside: c,\n onInteractOutside: f,\n onDismiss: d,\n ...E\n } = n, a = i.useContext(B), [u, S] = i.useState(null), l = u?.ownerDocument ?? globalThis?.document, [, W] = i.useState({}), k = R(e, (r) => S(r)), b = Array.from(a.layers), [A] = [...a.layersWithOutsidePointerEventsDisabled].slice(-1), N = b.indexOf(A), D = u ? b.indexOf(u) : -1, _ = a.layersWithOutsidePointerEventsDisabled.size > 0, P = D >= N, U = Y((r) => {\n const v = r.target, L = [...a.branches].some((y) => y.contains(v));\n !P || L || (s?.(r), f?.(r), r.defaultPrevented || d?.());\n }, l), O = q((r) => {\n const v = r.target;\n [...a.branches].some((y) => y.contains(v)) || (c?.(r), f?.(r), r.defaultPrevented || d?.());\n }, l);\n return z((r) => {\n D === a.layers.size - 1 && (o?.(r), !r.defaultPrevented && d && (r.preventDefault(), d()));\n }, l), i.useEffect(() => {\n if (u)\n return t && (a.layersWithOutsidePointerEventsDisabled.size === 0 && (C = l.body.style.pointerEvents, l.body.style.pointerEvents = \"none\"), a.layersWithOutsidePointerEventsDisabled.add(u)), a.layers.add(u), w(), () => {\n t && a.layersWithOutsidePointerEventsDisabled.size === 1 && (l.body.style.pointerEvents = C);\n };\n }, [u, l, t, a]), i.useEffect(() => () => {\n u && (a.layers.delete(u), a.layersWithOutsidePointerEventsDisabled.delete(u), w());\n }, [u, a]), i.useEffect(() => {\n const r = () => W({});\n return document.addEventListener(p, r), () => document.removeEventListener(p, r);\n }, []), /* @__PURE__ */ x.jsx(\n g.div,\n {\n ...E,\n ref: k,\n style: {\n pointerEvents: _ ? P ? \"auto\" : \"none\" : void 0,\n ...n.style\n },\n onFocusCapture: h(n.onFocusCapture, O.onFocusCapture),\n onBlurCapture: h(n.onBlurCapture, O.onBlurCapture),\n onPointerDownCapture: h(\n n.onPointerDownCapture,\n U.onPointerDownCapture\n )\n }\n );\n }\n);\nT.displayName = H;\nvar X = \"DismissableLayerBranch\", F = i.forwardRef((n, e) => {\n const t = i.useContext(B), o = i.useRef(null), s = R(e, o);\n return i.useEffect(() => {\n const c = o.current;\n if (c)\n return t.branches.add(c), () => {\n t.branches.delete(c);\n };\n }, [t.branches]), /* @__PURE__ */ x.jsx(g.div, { ...n, ref: s });\n});\nF.displayName = X;\nfunction Y(n, e = globalThis?.document) {\n const t = m(n), o = i.useRef(!1), s = i.useRef(() => {\n });\n return i.useEffect(() => {\n const c = (d) => {\n if (d.target && !o.current) {\n let E = function() {\n I(\n K,\n t,\n a,\n { discrete: !0 }\n );\n };\n const a = { originalEvent: d };\n d.pointerType === \"touch\" ? (e.removeEventListener(\"click\", s.current), s.current = E, e.addEventListener(\"click\", s.current, { once: !0 })) : E();\n } else\n e.removeEventListener(\"click\", s.current);\n o.current = !1;\n }, f = window.setTimeout(() => {\n e.addEventListener(\"pointerdown\", c);\n }, 0);\n return () => {\n window.clearTimeout(f), e.removeEventListener(\"pointerdown\", c), e.removeEventListener(\"click\", s.current);\n };\n }, [e, t]), {\n // ensures we check React component tree (not just DOM tree)\n onPointerDownCapture: () => o.current = !0\n };\n}\nfunction q(n, e = globalThis?.document) {\n const t = m(n), o = i.useRef(!1);\n return i.useEffect(() => {\n const s = (c) => {\n c.target && !o.current && I(M, t, { originalEvent: c }, {\n discrete: !1\n });\n };\n return e.addEventListener(\"focusin\", s), () => e.removeEventListener(\"focusin\", s);\n }, [e, t]), {\n onFocusCapture: () => o.current = !0,\n onBlurCapture: () => o.current = !1\n };\n}\nfunction w() {\n const n = new CustomEvent(p);\n document.dispatchEvent(n);\n}\nfunction I(n, e, t, { discrete: o }) {\n const s = t.originalEvent.target, c = new CustomEvent(n, { bubbles: !1, cancelable: !0, detail: t });\n e && s.addEventListener(n, e, { once: !0 }), o ? j(s, c) : s.dispatchEvent(c);\n}\nvar Z = T, $ = F;\nexport {\n $ as B,\n T as D,\n Z as R\n};\n//# sourceMappingURL=index-CkWXyUnb.js.map\n","import * as o from \"react\";\nimport n from \"react-dom\";\nimport { P as f } from \"./index-DEx84bLj.js\";\nimport { b as c } from \"./index-CnQ7XQg1.js\";\nimport { j as l } from \"./jsx-runtime-tc70JA_2.js\";\nvar p = \"Portal\", u = o.forwardRef((r, a) => {\n const { container: e, ...s } = r, [i, m] = o.useState(!1);\n c(() => m(!0), []);\n const t = e || i && globalThis?.document?.body;\n return t ? n.createPortal(/* @__PURE__ */ l.jsx(f.div, { ...s, ref: a }), t) : null;\n});\nu.displayName = p;\nexport {\n u as P\n};\n//# sourceMappingURL=index-CkVr4wwq.js.map\n","import * as i from \"react\";\nimport { u as y } from \"./index-DEx84bLj.js\";\nimport { b as A } from \"./index-CnQ7XQg1.js\";\nfunction T(n, e) {\n return i.useReducer((t, r) => e[t][r] ?? t, n);\n}\nvar E = (n) => {\n const { present: e, children: t } = n, r = R(e), a = typeof t == \"function\" ? t({ present: r.isPresent }) : i.Children.only(t), c = y(r.ref, P(a));\n return typeof t == \"function\" || r.isPresent ? i.cloneElement(a, { ref: c }) : null;\n};\nE.displayName = \"Presence\";\nfunction R(n) {\n const [e, t] = i.useState(), r = i.useRef(null), a = i.useRef(n), c = i.useRef(\"none\"), p = n ? \"mounted\" : \"unmounted\", [N, s] = T(p, {\n mounted: {\n UNMOUNT: \"unmounted\",\n ANIMATION_OUT: \"unmountSuspended\"\n },\n unmountSuspended: {\n MOUNT: \"mounted\",\n ANIMATION_END: \"unmounted\"\n },\n unmounted: {\n MOUNT: \"mounted\"\n }\n });\n return i.useEffect(() => {\n const o = l(r.current);\n c.current = N === \"mounted\" ? o : \"none\";\n }, [N]), A(() => {\n const o = r.current, m = a.current;\n if (m !== n) {\n const f = c.current, u = l(o);\n n ? s(\"MOUNT\") : u === \"none\" || o?.display === \"none\" ? s(\"UNMOUNT\") : s(m && f !== u ? \"ANIMATION_OUT\" : \"UNMOUNT\"), a.current = n;\n }\n }, [n, s]), A(() => {\n if (e) {\n let o;\n const m = e.ownerDocument.defaultView ?? window, d = (u) => {\n const g = l(r.current).includes(CSS.escape(u.animationName));\n if (u.target === e && g && (s(\"ANIMATION_END\"), !a.current)) {\n const O = e.style.animationFillMode;\n e.style.animationFillMode = \"forwards\", o = m.setTimeout(() => {\n e.style.animationFillMode === \"forwards\" && (e.style.animationFillMode = O);\n });\n }\n }, f = (u) => {\n u.target === e && (c.current = l(r.current));\n };\n return e.addEventListener(\"animationstart\", f), e.addEventListener(\"animationcancel\", d), e.addEventListener(\"animationend\", d), () => {\n m.clearTimeout(o), e.removeEventListener(\"animationstart\", f), e.removeEventListener(\"animationcancel\", d), e.removeEventListener(\"animationend\", d);\n };\n } else\n s(\"ANIMATION_END\");\n }, [e, s]), {\n isPresent: [\"mounted\", \"unmountSuspended\"].includes(N),\n ref: i.useCallback((o) => {\n r.current = o ? getComputedStyle(o) : null, t(o);\n }, [])\n };\n}\nfunction l(n) {\n return n?.animationName || \"none\";\n}\nfunction P(n) {\n let e = Object.getOwnPropertyDescriptor(n.props, \"ref\")?.get, t = e && \"isReactWarning\" in e && e.isReactWarning;\n return t ? n.ref : (e = Object.getOwnPropertyDescriptor(n, \"ref\")?.get, t = e && \"isReactWarning\" in e && e.isReactWarning, t ? n.props.ref : n.props.ref || n.ref);\n}\nexport {\n E as P\n};\n//# sourceMappingURL=index-w64Zl8io.js.map\n"],"names":["d","m","r","n","P","l","C","E","a","s","c","b","u","S","p","f","v","g","y","R","w","N","h","i","e","t","o","x","j","_","z","H","K","M","B","T","W","k","A","D","U","Y","L","O","q","X","F","I","Z","$"],"mappings":";;;;AAGA,SAASA,EAAE,GAAG,GAAG;AACf,MAAI,OAAO,KAAK;AACd,WAAO,EAAE,CAAC;AACZ,OAAK,SAAS,EAAE,UAAU;AAC5B;AACA,SAASC,KAAK,GAAG;AACf,SAAO,CAAC,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CAAC;AAAA,IACjD,GAAG,CAAA,CAAE;AAAA,EACT;AACA;AACA,SAASrB,EAAEF,GAAG;AACZ,SAAOA,GAAG,iBAAiB;AAC7B;AACA,SAASC,GAAED,GAAG;AACZ,MAAIqB,IAAI,OAAO,yBAAyBrB,EAAE,OAAO,KAAK,GAAG,KAAKsB,IAAID,KAAK,oBAAoBA,KAAKA,EAAE;AAClG,SAAOC,IAAItB,EAAE,OAAOqB,IAAI,OAAO,yBAAyBrB,GAAG,KAAK,GAAG,KAAKsB,IAAID,KAAK,oBAAoBA,KAAKA,EAAE,gBAAgBC,IAAItB,EAAE,MAAM,MAAMA,EAAE,MAAM,OAAOA,EAAE;AACjK;","x_google_ignoreList":[0,1,2,3,4,5,6]}
package/dist/index.cjs CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./BarGraph.cjs"),t=require("./index-_TlgeI_i.cjs"),n=require("./DonutChart.cjs"),i=require("./DumbbellChart.cjs"),s=require("./BeeSwarmChart.cjs"),h=require("./DualAxisLineChart.cjs"),l=require("./LineChartWithConfidenceInterval.cjs"),u=require("./SimpleLineChart.cjs"),c=require("./MultiLineChart.cjs"),d=require("./MultiLineAltChart.cjs"),p=require("./DifferenceLineChart.cjs"),C=require("./SparkLine.cjs"),g=require("./BiVariateChoroplethMap.cjs"),D=require("./ChoroplethMap.cjs"),G=require("./DotDensityMap.cjs"),m=require("./HybridMap.cjs"),q=require("./ThreeDGlobe.cjs"),S=require("./GeoHubMap.cjs"),f=require("./GeoHubCompareMaps.cjs"),b=require("./GeoHubMapWithLayerSelection.cjs"),M=require("./ScatterPlot.cjs"),F=require("./SlopeChart.cjs"),L=require("./BulletChart.cjs"),B=require("./AreaChart.cjs"),T=require("./BasicStatCard.cjs"),P=require("./StatCardFromData.cjs"),y=require("./TreeMapGraph.cjs"),v=require("./UnitChart.cjs"),A=require("./HeatMap.cjs"),H=require("./DataTable.cjs"),w=require("./DataCards.cjs"),I=require("./StripChart.cjs"),k=require("./ParetoChart.cjs"),W=require("./ButterflyChart.cjs"),O=require("./Histogram.cjs"),x=require("./WaterfallChart.cjs"),V=require("./SankeyChart.cjs"),U=require("./RadarChart.cjs"),N=require("./MultiGraphDashboard.cjs"),E=require("./PerformanceIntensiveMultiGraphDashboard.cjs"),J=require("./MultiGraphDashboardWideToLongFormat.cjs"),R=require("./SingleGraphDashboard.cjs"),Q=require("./SingleGraphDashboardGeoHubMaps.cjs"),j=require("./SingleGraphDashboardThreeDGraphs.cjs"),z=require("./GriddedGraphs.cjs"),K=require("./ScrollStory.cjs"),X=require("./PerformanceIntensiveScrollStory.cjs"),Y=require("./MultiGraphDashboardFromConfig.cjs"),Z=require("./PerformanceIntensiveMultiGraphDashboardFromConfig.cjs"),_=require("./MultiGraphDashboardWideToLongFormatFromConfig.cjs"),$=require("./SingleGraphDashboardFromConfig.cjs"),rr=require("./SingleGraphDashboardGeoHubMapsFromConfig.cjs"),er=require("./SingleGraphDashboardThreeDGraphsFromConfig.cjs"),ar=require("./GriddedGraphsFromConfig.cjs"),or=require("./ExcelDownloadButton.cjs"),tr=require("./ImageDownloadButton.cjs"),nr=require("./SVGDownloadButton.cjs"),ir=require("./CsvDownloadButton.cjs"),sr=require("./CopyTextButton.cjs"),hr=require("./Colors.cjs"),lr=require("./ColorLegend.cjs"),ur=require("./ColorLegendWithMouseOver.cjs"),cr=require("./LinearColorLegend.cjs"),dr=require("./ThresholdColorLegendWithMouseOver.cjs"),pr=require("./GraphFooter.cjs"),Cr=require("./GraphHeader.cjs"),gr=require("./FootNote.cjs"),Dr=require("./GraphDescription.cjs"),Gr=require("./GraphTitle.cjs"),mr=require("./Source-BOSAl3UX.cjs"),qr=require("./checkIfNullOrUndefined-BCW3Y1ML.cjs"),e=require("./removeOutliers-WELHHqiI.cjs"),Sr=require("./numberFormattingFunction-02t-wJta.cjs"),fr=require("./getTextColorBasedOnBgColor-nqY-bsM_.cjs"),br=require("./getJenks-BzJvhy_H.cjs"),Mr=require("./imageDownload-61q6jyJW.cjs"),Fr=require("./svgDownload-D9zEGjTF.cjs"),Lr=require("./excelDownload-BQpsCa62.cjs"),Br=require("./getUniqValue-NX8DgwND.cjs"),Tr=require("./getCentroidCoordinates-CtBGrNC8.cjs"),r=require("./fetchAndParseData-QTF6tjij.cjs"),o=require("./transformDataForAggregation-BFdha9Dx.cjs"),Pr=require("./transformDataForGraphFromFile-DOhp1qrp.cjs"),yr=require("./getGraphList-DQ24IzAn.cjs");exports.GroupedBarGraph=a.GroupedBarGraph;exports.SimpleBarGraph=a.SimpleBarGraph;exports.StackedBarGraph=a.StackedBarGraph;exports.CirclePackingGraph=t.CirclePackingGraph;exports.DonutChart=n.DonutChart;exports.DumbbellChart=i.DumbbellChart;exports.BeeSwarmChart=s.BeeSwarmChart;exports.DualAxisLineChart=h.DualAxisLineChart;exports.LineChartWithConfidenceInterval=l.LineChartWithConfidenceInterval;exports.SimpleLineChart=u.SimpleLineChart;exports.MultiLineChart=c.MultiLineChart;exports.MultiLineAltChart=d.MultiLineAltChart;exports.DifferenceLineChart=p.DifferenceLineChart;exports.SparkLine=C.SparkLine;exports.BiVariateChoroplethMap=g.BiVariateChoroplethMap;exports.ChoroplethMap=D.ChoroplethMap;exports.DotDensityMap=G.DotDensityMap;exports.HybridMap=m.HybridMap;exports.ThreeDGlobe=q.ThreeDGlobe;exports.GeoHubMap=S.GeoHubMap;exports.GeoHubCompareMaps=f.GeoHubCompareMaps;exports.GeoHubMapWithLayerSelection=b.GeoHubMapWithLayerSelection;exports.ScatterPlot=M.ScatterPlot;exports.SlopeChart=F.SlopeChart;exports.BulletChart=L.BulletChart;exports.AreaChart=B.AreaChart;exports.BasicStatCard=T.BasicStatCard;exports.StatCardFromData=P.StatCardFromData;exports.TreeMapGraph=y.TreeMapGraph;exports.UnitChart=v.UnitChart;exports.HeatMap=A.HeatMap;exports.DataTable=H.DataTable;exports.DataCards=w.DataCards;exports.StripChart=I.StripChart;exports.ParetoChart=k.ParetoChart;exports.ButterflyChart=W.ButterflyChart;exports.Histogram=O.Histogram;exports.WaterfallChart=x.WaterfallChart;exports.SankeyChart=V.SankeyChart;exports.RadarChart=U.RadarChart;exports.MultiGraphDashboard=N.MultiGraphDashboard;exports.PerformanceIntensiveMultiGraphDashboard=E.PerformanceIntensiveMultiGraphDashboard;exports.MultiGraphDashboardWideToLongFormat=J.MultiGraphDashboardWideToLongFormat;exports.SingleGraphDashboard=R.SingleGraphDashboard;exports.SingleGraphDashboardGeoHubMaps=Q.SingleGraphDashboardGeoHubMaps;exports.SingleGraphDashboardThreeDGraphs=j.SingleGraphDashboardThreeDGraphs;exports.GriddedGraphs=z.GriddedGraphs;exports.ScrollStory=K.ScrollStory;exports.PerformanceIntensiveScrollStory=X.PerformanceIntensiveScrollStory;exports.MultiGraphDashboardFromConfig=Y.MultiGraphDashboardFromConfig;exports.PerformanceIntensiveMultiGraphDashboardFromConfig=Z.PerformanceIntensiveMultiGraphDashboardFromConfig;exports.MultiGraphDashboardWideToLongFormatFromConfig=_.MultiGraphDashboardWideToLongFormatFromConfig;exports.SingleGraphDashboardFromConfig=$.SingleGraphDashboardFromConfig;exports.SingleGraphDashboardGeoHubMapsFromConfig=rr.SingleGraphDashboardGeoHubMapsFromConfig;exports.SingleGraphDashboardThreeDGraphsFromConfig=er.SingleGraphDashboardThreeDGraphsFromConfig;exports.GriddedGraphsFromConfig=ar.GriddedGraphsFromConfig;exports.ExcelDownloadButton=or.ExcelDownloadButton;exports.ImageDownloadButton=tr.ImageDownloadButton;exports.SVGDownloadButton=nr.SVGDownloadButton;exports.CsvDownloadButton=ir.CsvDownloadButton;exports.CopyTextButton=sr.CopyTextButton;exports.Colors=hr.Colors;exports.ColorLegend=lr.ColorLegend;exports.ColorLegendWithMouseOver=ur.ColorLegendWithMouseOver;exports.LinearColorLegend=cr.LinearColorLegend;exports.ThresholdColorLegendWithMouseOver=dr.ThresholdColorLegendWithMouseOver;exports.GraphFooter=pr.GraphFooter;exports.GraphHeader=Cr.GraphHeader;exports.FootNote=gr.FootNote;exports.GraphDescription=Dr.GraphDescription;exports.GraphTitle=Gr.GraphTitle;exports.Source=mr.Source;exports.checkIfNullOrUndefined=qr.checkIfNullOrUndefined;exports.generateEmbedLink=e.generateEmbedLink;exports.generateIframeCode=e.generateIframeCode;exports.getPercentileValue=e.getPercentileValue;exports.getQueryParamsFromLink=e.getQueryParamsFromLink;exports.removeOutliers=e.removeOutliers;exports.numberFormattingFunction=Sr.numberFormattingFunction;exports.getTextColorBasedOnBgColor=fr.getTextColorBasedOnBgColor;exports.getJenks=br.getJenks;exports.imageDownload=Mr.imageDownload;exports.svgDownload=Fr.svgDownload;exports.excelDownload=Lr.excelDownload;exports.getUniqValue=Br.getUniqValue;exports.getCentroidCoordinates=Tr.getCentroidCoordinates;exports.fetchAndParseCSV=r.fetchAndParseCSV;exports.fetchAndParseCSVFromTextBlob=r.fetchAndParseCSVFromTextBlob;exports.fetchAndParseJSON=r.fetchAndParseJSON;exports.fetchAndParseMultipleDataSources=r.fetchAndParseMultipleDataSources;exports.fetchAndTransformDataFromAPI=r.fetchAndTransformDataFromAPI;exports.transformColumnsToArray=r.transformColumnsToArray;exports.transformDataForAggregation=o.transformDataForAggregation;exports.transformDataForGraph=o.transformDataForGraph;exports.transformDataForGraphFromFile=Pr.transformDataForGraphFromFile;exports.graphList=yr.graphList;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./BarGraph.cjs"),t=require("./index-Bdo_HXb_.cjs"),n=require("./DonutChart.cjs"),i=require("./DumbbellChart.cjs"),s=require("./BeeSwarmChart.cjs"),h=require("./DualAxisLineChart.cjs"),l=require("./LineChartWithConfidenceInterval.cjs"),u=require("./SimpleLineChart.cjs"),c=require("./MultiLineChart.cjs"),d=require("./MultiLineAltChart.cjs"),p=require("./DifferenceLineChart.cjs"),C=require("./SparkLine.cjs"),g=require("./BiVariateChoroplethMap.cjs"),D=require("./ChoroplethMap.cjs"),G=require("./DotDensityMap.cjs"),m=require("./HybridMap.cjs"),q=require("./ThreeDGlobe.cjs"),S=require("./GeoHubMap.cjs"),f=require("./GeoHubCompareMaps.cjs"),b=require("./GeoHubMapWithLayerSelection.cjs"),M=require("./ScatterPlot.cjs"),F=require("./SlopeChart.cjs"),L=require("./BulletChart.cjs"),B=require("./AreaChart.cjs"),T=require("./BasicStatCard.cjs"),P=require("./StatCardFromData.cjs"),y=require("./TreeMapGraph.cjs"),v=require("./UnitChart.cjs"),A=require("./HeatMap.cjs"),H=require("./DataTable.cjs"),w=require("./DataCards.cjs"),I=require("./StripChart.cjs"),k=require("./ParetoChart.cjs"),W=require("./ButterflyChart.cjs"),O=require("./Histogram.cjs"),x=require("./WaterfallChart.cjs"),V=require("./SankeyChart.cjs"),U=require("./RadarChart.cjs"),N=require("./MultiGraphDashboard.cjs"),E=require("./PerformanceIntensiveMultiGraphDashboard.cjs"),J=require("./MultiGraphDashboardWideToLongFormat.cjs"),R=require("./SingleGraphDashboard.cjs"),Q=require("./SingleGraphDashboardGeoHubMaps.cjs"),j=require("./SingleGraphDashboardThreeDGraphs.cjs"),z=require("./GriddedGraphs.cjs"),K=require("./ScrollStory.cjs"),X=require("./PerformanceIntensiveScrollStory.cjs"),Y=require("./MultiGraphDashboardFromConfig.cjs"),Z=require("./PerformanceIntensiveMultiGraphDashboardFromConfig.cjs"),_=require("./MultiGraphDashboardWideToLongFormatFromConfig.cjs"),$=require("./SingleGraphDashboardFromConfig.cjs"),rr=require("./SingleGraphDashboardGeoHubMapsFromConfig.cjs"),er=require("./SingleGraphDashboardThreeDGraphsFromConfig.cjs"),ar=require("./GriddedGraphsFromConfig.cjs"),or=require("./ExcelDownloadButton.cjs"),tr=require("./ImageDownloadButton.cjs"),nr=require("./SVGDownloadButton.cjs"),ir=require("./CsvDownloadButton.cjs"),sr=require("./CopyTextButton.cjs"),hr=require("./Colors.cjs"),lr=require("./ColorLegend.cjs"),ur=require("./ColorLegendWithMouseOver.cjs"),cr=require("./LinearColorLegend.cjs"),dr=require("./ThresholdColorLegendWithMouseOver.cjs"),pr=require("./GraphFooter.cjs"),Cr=require("./GraphHeader.cjs"),gr=require("./FootNote.cjs"),Dr=require("./GraphDescription.cjs"),Gr=require("./GraphTitle.cjs"),mr=require("./Source-PKuwZOn3.cjs"),qr=require("./checkIfNullOrUndefined-BCW3Y1ML.cjs"),e=require("./removeOutliers-WELHHqiI.cjs"),Sr=require("./numberFormattingFunction-Cn9R7CM9.cjs"),fr=require("./getTextColorBasedOnBgColor-nqY-bsM_.cjs"),br=require("./getJenks-BzJvhy_H.cjs"),Mr=require("./imageDownload-61q6jyJW.cjs"),Fr=require("./svgDownload-D9zEGjTF.cjs"),Lr=require("./excelDownload-BQpsCa62.cjs"),Br=require("./getUniqValue-NX8DgwND.cjs"),Tr=require("./getCentroidCoordinates-CtBGrNC8.cjs"),r=require("./fetchAndParseData-QTF6tjij.cjs"),o=require("./transformDataForAggregation-BFdha9Dx.cjs"),Pr=require("./transformDataForGraphFromFile-DOhp1qrp.cjs"),yr=require("./getGraphList-DQ24IzAn.cjs");exports.GroupedBarGraph=a.GroupedBarGraph;exports.SimpleBarGraph=a.SimpleBarGraph;exports.StackedBarGraph=a.StackedBarGraph;exports.CirclePackingGraph=t.CirclePackingGraph;exports.DonutChart=n.DonutChart;exports.DumbbellChart=i.DumbbellChart;exports.BeeSwarmChart=s.BeeSwarmChart;exports.DualAxisLineChart=h.DualAxisLineChart;exports.LineChartWithConfidenceInterval=l.LineChartWithConfidenceInterval;exports.SimpleLineChart=u.SimpleLineChart;exports.MultiLineChart=c.MultiLineChart;exports.MultiLineAltChart=d.MultiLineAltChart;exports.DifferenceLineChart=p.DifferenceLineChart;exports.SparkLine=C.SparkLine;exports.BiVariateChoroplethMap=g.BiVariateChoroplethMap;exports.ChoroplethMap=D.ChoroplethMap;exports.DotDensityMap=G.DotDensityMap;exports.HybridMap=m.HybridMap;exports.ThreeDGlobe=q.ThreeDGlobe;exports.GeoHubMap=S.GeoHubMap;exports.GeoHubCompareMaps=f.GeoHubCompareMaps;exports.GeoHubMapWithLayerSelection=b.GeoHubMapWithLayerSelection;exports.ScatterPlot=M.ScatterPlot;exports.SlopeChart=F.SlopeChart;exports.BulletChart=L.BulletChart;exports.AreaChart=B.AreaChart;exports.BasicStatCard=T.BasicStatCard;exports.StatCardFromData=P.StatCardFromData;exports.TreeMapGraph=y.TreeMapGraph;exports.UnitChart=v.UnitChart;exports.HeatMap=A.HeatMap;exports.DataTable=H.DataTable;exports.DataCards=w.DataCards;exports.StripChart=I.StripChart;exports.ParetoChart=k.ParetoChart;exports.ButterflyChart=W.ButterflyChart;exports.Histogram=O.Histogram;exports.WaterfallChart=x.WaterfallChart;exports.SankeyChart=V.SankeyChart;exports.RadarChart=U.RadarChart;exports.MultiGraphDashboard=N.MultiGraphDashboard;exports.PerformanceIntensiveMultiGraphDashboard=E.PerformanceIntensiveMultiGraphDashboard;exports.MultiGraphDashboardWideToLongFormat=J.MultiGraphDashboardWideToLongFormat;exports.SingleGraphDashboard=R.SingleGraphDashboard;exports.SingleGraphDashboardGeoHubMaps=Q.SingleGraphDashboardGeoHubMaps;exports.SingleGraphDashboardThreeDGraphs=j.SingleGraphDashboardThreeDGraphs;exports.GriddedGraphs=z.GriddedGraphs;exports.ScrollStory=K.ScrollStory;exports.PerformanceIntensiveScrollStory=X.PerformanceIntensiveScrollStory;exports.MultiGraphDashboardFromConfig=Y.MultiGraphDashboardFromConfig;exports.PerformanceIntensiveMultiGraphDashboardFromConfig=Z.PerformanceIntensiveMultiGraphDashboardFromConfig;exports.MultiGraphDashboardWideToLongFormatFromConfig=_.MultiGraphDashboardWideToLongFormatFromConfig;exports.SingleGraphDashboardFromConfig=$.SingleGraphDashboardFromConfig;exports.SingleGraphDashboardGeoHubMapsFromConfig=rr.SingleGraphDashboardGeoHubMapsFromConfig;exports.SingleGraphDashboardThreeDGraphsFromConfig=er.SingleGraphDashboardThreeDGraphsFromConfig;exports.GriddedGraphsFromConfig=ar.GriddedGraphsFromConfig;exports.ExcelDownloadButton=or.ExcelDownloadButton;exports.ImageDownloadButton=tr.ImageDownloadButton;exports.SVGDownloadButton=nr.SVGDownloadButton;exports.CsvDownloadButton=ir.CsvDownloadButton;exports.CopyTextButton=sr.CopyTextButton;exports.Colors=hr.Colors;exports.ColorLegend=lr.ColorLegend;exports.ColorLegendWithMouseOver=ur.ColorLegendWithMouseOver;exports.LinearColorLegend=cr.LinearColorLegend;exports.ThresholdColorLegendWithMouseOver=dr.ThresholdColorLegendWithMouseOver;exports.GraphFooter=pr.GraphFooter;exports.GraphHeader=Cr.GraphHeader;exports.FootNote=gr.FootNote;exports.GraphDescription=Dr.GraphDescription;exports.GraphTitle=Gr.GraphTitle;exports.Source=mr.Source;exports.checkIfNullOrUndefined=qr.checkIfNullOrUndefined;exports.generateEmbedLink=e.generateEmbedLink;exports.generateIframeCode=e.generateIframeCode;exports.getPercentileValue=e.getPercentileValue;exports.getQueryParamsFromLink=e.getQueryParamsFromLink;exports.removeOutliers=e.removeOutliers;exports.numberFormattingFunction=Sr.numberFormattingFunction;exports.getTextColorBasedOnBgColor=fr.getTextColorBasedOnBgColor;exports.getJenks=br.getJenks;exports.imageDownload=Mr.imageDownload;exports.svgDownload=Fr.svgDownload;exports.excelDownload=Lr.excelDownload;exports.getUniqValue=Br.getUniqValue;exports.getCentroidCoordinates=Tr.getCentroidCoordinates;exports.fetchAndParseCSV=r.fetchAndParseCSV;exports.fetchAndParseCSVFromTextBlob=r.fetchAndParseCSVFromTextBlob;exports.fetchAndParseJSON=r.fetchAndParseJSON;exports.fetchAndParseMultipleDataSources=r.fetchAndParseMultipleDataSources;exports.fetchAndTransformDataFromAPI=r.fetchAndTransformDataFromAPI;exports.transformColumnsToArray=r.transformColumnsToArray;exports.transformDataForAggregation=o.transformDataForAggregation;exports.transformDataForGraph=o.transformDataForGraph;exports.transformDataForGraphFromFile=Pr.transformDataForGraphFromFile;exports.graphList=yr.graphList;
2
2
  //# sourceMappingURL=index.cjs.map
package/dist/index.d.ts CHANGED
@@ -1237,6 +1237,7 @@ declare interface GraphSettingsDataType {
1237
1237
  showVoronoiTesselation?: boolean;
1238
1238
  mapOverlay?: MapOverlayDataType;
1239
1239
  useVoronoiInteraction?: boolean;
1240
+ locale?: string;
1240
1241
  }
1241
1242
 
1242
1243
  export declare function GraphTitle(props: Props_68): JSX.Element | null;
@@ -1340,6 +1341,8 @@ declare interface GroupedBarChartProps {
1340
1341
  naLabel?: string;
1341
1342
  /** Specifies the number of decimal places to display in the value. */
1342
1343
  precision?: number;
1344
+ /** Locale for number formatting. Must matches what `Intl.NumberFormat` expects. */
1345
+ locale?: string;
1343
1346
  /** Optional SVG <g> element or function that renders custom content behind or in front of the graph. */
1344
1347
  customLayers?: CustomLayerDataType[];
1345
1348
  /** Configures playback and slider controls for animating the chart over time. The data must have a key date for it to work properly. */
@@ -1517,25 +1520,16 @@ declare interface MultiLineChartDataType {
1517
1520
  }
1518
1521
 
1519
1522
  /**
1520
- * Formats a number into a human-readable string, optionally with a prefix and/or suffix.
1523
+ * Formats a number into a human-readable string, optionally with prefix/suffix
1524
+ * and locale-aware formatting.
1521
1525
  *
1522
- * - Adds suffixes like `K`, `M`, `B`, and `T` for large numbers.
1523
- * - If the number is less than 10,000 and an integer, it is returned as-is.
1524
- * - If `value` is `null` or `undefined`, returns `"NA"`.
1525
- *
1526
- * @param value - The number to format.
1527
- * @param precision - Optional no of digits after decimal.
1528
- * @param prefix - Optional string to prepend.
1529
- * @param suffix - Optional string to append.
1530
- * @returns A formatted string.
1531
- *
1532
- * @example
1533
- * numberFormattingFunction(5000); // "5000"
1534
- * numberFormattingFunction(125000); // "125K"
1535
- * numberFormattingFunction(3.14159, '$'); // "$3.14"
1536
- * numberFormattingFunction(null); // "NA"
1526
+ * Supports:
1527
+ * - Compact notation (K, M, B, T)
1528
+ * - Locale formatting via Intl.NumberFormat
1529
+ * - Prefix and suffix
1530
+ * - NA fallback
1537
1531
  */
1538
- export declare function numberFormattingFunction(value: number | string | undefined | null, naLabel?: string, precision?: number, prefix?: string, suffix?: string): string;
1532
+ export declare function numberFormattingFunction(value: number | string | undefined | null, naLabel?: string, precision?: number, prefix?: string, suffix?: string, locale?: string): string;
1539
1533
 
1540
1534
  /**
1541
1535
  * Represents a parameter to be embedded in a URL.
@@ -1694,6 +1688,8 @@ declare interface Props {
1694
1688
  animate?: boolean | AnimateDataType;
1695
1689
  /** Specifies the number of decimal places to display in the value. */
1696
1690
  precision?: number;
1691
+ /** Locale for number formatting. Must matches what `Intl.NumberFormat` expects. */
1692
+ locale?: string;
1697
1693
  /** Optional SVG <g> element or function that renders custom content behind or in front of the graph. */
1698
1694
  customLayers?: CustomLayerDataType[];
1699
1695
  /** Configures playback and slider controls for animating the chart over time. The data must have a key date for it to work properly. */
@@ -1797,6 +1793,8 @@ declare interface Props_10 {
1797
1793
  showColorScale?: boolean;
1798
1794
  /** Toggle visibility of NA color in the color scale. This is only applicable if the data props hae color parameter and showColorScale prop is true */
1799
1795
  showNAColor?: boolean;
1796
+ /** Toggle visibility of year labels on hover. */
1797
+ showDateOnHover?: boolean;
1800
1798
  /** Defines how “NA” values should be displayed/labelled in the graph */
1801
1799
  naLabel?: string;
1802
1800
  /** Data points to highlight. Use the label value from data to highlight the data point */
@@ -1815,6 +1813,8 @@ declare interface Props_10 {
1815
1813
  curveType?: CurveTypes;
1816
1814
  /** Specifies the number of decimal places to display in the value. */
1817
1815
  precision?: number;
1816
+ /** Locale for number formatting. Must matches what `Intl.NumberFormat` expects. */
1817
+ locale?: string;
1818
1818
  /** Optional SVG <g> element or function that renders custom content behind or in front of the graph. */
1819
1819
  customLayers?: CustomLayerDataType[];
1820
1820
  /** Enable graph download option as png */
@@ -1920,6 +1920,10 @@ declare interface Props_11 {
1920
1920
  curveType?: CurveTypes;
1921
1921
  /** Specifies the number of decimal places to display in the value. */
1922
1922
  precision?: number;
1923
+ /** Locale for number formatting. Must matches what `Intl.NumberFormat` expects. */
1924
+ locale?: string;
1925
+ /** Defines how “NA” values should be displayed/labelled in the graph */
1926
+ naLabel?: string;
1923
1927
  /** Optional SVG <g> element or function that renders custom content behind or in front of the graph. */
1924
1928
  customLayers?: CustomLayerDataType[];
1925
1929
  /** Enable graph download option as png */
@@ -2092,6 +2096,8 @@ declare interface Props_13 {
2092
2096
  customLayers?: CustomLayerDataType[];
2093
2097
  /** Configures playback and slider controls for animating the chart over time. The data must have a key date for it to work properly. */
2094
2098
  timeline?: TimelineDataType;
2099
+ /** Locale for number formatting. Must matches what `Intl.NumberFormat` expects. */
2100
+ locale?: string;
2095
2101
  /** Enable graph download option as png */
2096
2102
  graphDownload?: boolean;
2097
2103
  /** Enable data download option as a csv */
@@ -2199,6 +2205,8 @@ declare interface Props_14 {
2199
2205
  customLayers?: CustomLayerDataType[];
2200
2206
  /** Configures playback and slider controls for animating the chart over time. The data must have a key date for it to work properly. */
2201
2207
  timeline?: TimelineDataType;
2208
+ /** Locale for number formatting. Must matches what `Intl.NumberFormat` expects. */
2209
+ locale?: string;
2202
2210
  /** Enable graph download option as png */
2203
2211
  graphDownload?: boolean;
2204
2212
  /** Enable data download option as a csv */
@@ -2427,6 +2435,8 @@ declare interface Props_16 {
2427
2435
  mapProperty?: string;
2428
2436
  /** Configures playback and slider controls for animating the chart over time. The data must have a key date for it to work properly. */
2429
2437
  timeline?: TimelineDataType;
2438
+ /** Locale for number formatting. Must matches what `Intl.NumberFormat` expects. */
2439
+ locale?: string;
2430
2440
  /** Enable graph download option as png */
2431
2441
  graphDownload?: boolean;
2432
2442
  /** Enable data download option as a csv */
@@ -2512,6 +2522,8 @@ declare interface Props_17 {
2512
2522
  scaleType?: Exclude<ScaleDataType, 'linear'>;
2513
2523
  /** Toggle visibility of color scale. */
2514
2524
  showColorScale?: boolean;
2525
+ /** Locale for number formatting. Must matches what `Intl.NumberFormat` expects. */
2526
+ locale?: string;
2515
2527
  /** Toggle if color scale is collapsed by default. */
2516
2528
  collapseColorScaleByDefault?: boolean;
2517
2529
  /** The max altitude of the atmosphere, in terms of globe radius units. */
@@ -2712,6 +2724,8 @@ declare interface Props_2 {
2712
2724
  dimmedOpacity?: number;
2713
2725
  /** Specifies the number of decimal places to display in the value. */
2714
2726
  precision?: number;
2727
+ /** Locale for number formatting. Must matches what `Intl.NumberFormat` expects. */
2728
+ locale?: string;
2715
2729
  /** Enable graph download option as png */
2716
2730
  graphDownload?: boolean;
2717
2731
  /** Enable data download option as a csv */
@@ -2887,6 +2901,8 @@ declare interface Props_21 {
2887
2901
  animate?: boolean | AnimateDataType;
2888
2902
  /** Specifies the number of decimal places to display in the value. */
2889
2903
  precision?: number;
2904
+ /** Locale for number formatting. Must matches what `Intl.NumberFormat` expects. */
2905
+ locale?: string;
2890
2906
  /** Optional SVG <g> element or function that renders custom content behind or in front of the graph. */
2891
2907
  customLayers?: CustomLayerDataType[];
2892
2908
  /** Configures playback and slider controls for animating the chart over time. The data must have a key date for it to work properly. */
@@ -3115,6 +3131,8 @@ declare interface Props_23 {
3115
3131
  timeline?: TimelineDataType;
3116
3132
  /** Specifies the number of decimal places to display in the value. */
3117
3133
  precision?: number;
3134
+ /** Locale for number formatting. Must matches what `Intl.NumberFormat` expects. */
3135
+ locale?: string;
3118
3136
  /** Optional SVG <g> element or function that renders custom content behind or in front of the graph. */
3119
3137
  customLayers?: CustomLayerDataType[];
3120
3138
  /** Enable graph download option as png */
@@ -3212,6 +3230,8 @@ declare interface Props_24 {
3212
3230
  curveType?: CurveTypes;
3213
3231
  /** Specifies the number of decimal places to display in the value. */
3214
3232
  precision?: number;
3233
+ /** Locale for number formatting. Must matches what `Intl.NumberFormat` expects. */
3234
+ locale?: string;
3215
3235
  /** Optional SVG <g> element or function that renders custom content behind or in front of the graph. */
3216
3236
  customLayers?: CustomLayerDataType[];
3217
3237
  /** Toggles if the graph animates in when loaded. */
@@ -3271,6 +3291,8 @@ declare interface Props_25 {
3271
3291
  value: number | string;
3272
3292
  /** Sub text next to main text */
3273
3293
  year?: number | string;
3294
+ /** Locale for number formatting. Must matches what `Intl.NumberFormat` expects. */
3295
+ locale?: string;
3274
3296
  /** Language setting */
3275
3297
  language?: Languages;
3276
3298
  /** Color theme */
@@ -3316,6 +3338,10 @@ declare interface Props_26 {
3316
3338
  suffix?: string;
3317
3339
  /** Sub text next to main text */
3318
3340
  year?: number | string;
3341
+ /** Locale for number formatting. Must matches what `Intl.NumberFormat` expects. */
3342
+ locale?: string;
3343
+ /** Defines how “NA” values should be displayed/labelled in the graph */
3344
+ naLabel?: string;
3319
3345
  /** Data points that need to counted for aggregation. */
3320
3346
  countOnly?: (string | number)[];
3321
3347
  /** Method for aggregating the data to show as a single number in the card. If the data type of value in data object is string then only count is applicable. */
@@ -3394,6 +3420,8 @@ declare interface Props_27 {
3394
3420
  animate?: boolean | AnimateDataType;
3395
3421
  /** Specifies the number of decimal places to display in the value. */
3396
3422
  precision?: number;
3423
+ /** Locale for number formatting. Must matches what `Intl.NumberFormat` expects. */
3424
+ locale?: string;
3397
3425
  /** Enable graph download option as png */
3398
3426
  graphDownload?: boolean;
3399
3427
  /** Enable data download option as a csv */
@@ -3465,10 +3493,14 @@ declare interface Props_28 {
3465
3493
  showColorScale?: boolean;
3466
3494
  /** Specifies the number of decimal places to display in the value. */
3467
3495
  precision?: number;
3496
+ /** Defines how “NA” values should be displayed/labelled in the graph */
3497
+ naLabel?: string;
3468
3498
  /** Enable graph download option as png */
3469
3499
  graphDownload?: boolean;
3470
3500
  /** Enable data download option as a csv */
3471
3501
  dataDownload?: boolean;
3502
+ /** Locale for number formatting. Must matches what `Intl.NumberFormat` expects. */
3503
+ locale?: string;
3472
3504
  /** Language setting */
3473
3505
  language?: Languages;
3474
3506
  /** Color theme */
@@ -3547,6 +3579,10 @@ declare interface Props_29 {
3547
3579
  colorDomain: number[] | string[];
3548
3580
  /** Specifies the number of decimal places to display in the value. */
3549
3581
  precision?: number;
3582
+ /** Locale for number formatting. Must matches what `Intl.NumberFormat` expects. */
3583
+ locale?: string;
3584
+ /** Defines how “NA” values should be displayed/labelled in the graph */
3585
+ naLabel?: string;
3550
3586
  /** Enable graph download option as png */
3551
3587
  graphDownload?: boolean;
3552
3588
  /** Enable data download option as a csv */
@@ -3636,6 +3672,10 @@ declare interface Props_3 {
3636
3672
  dataDownload?: boolean;
3637
3673
  /** Reset selection on double-click. Only applicable when used in a dashboard context with filters. */
3638
3674
  resetSelectionOnDoubleClick?: boolean;
3675
+ /** Locale for number formatting. Must matches what `Intl.NumberFormat` expects. */
3676
+ locale?: string;
3677
+ /** Defines how “NA” values should be displayed/labelled in the graph */
3678
+ naLabel?: string;
3639
3679
  /** Tooltip content. If the type is string then this uses the [handlebar](../?path=/docs/misc-handlebars-templates-and-custom-helpers--docs) template to display the data */
3640
3680
  tooltip?: string | ((_d: any) => React.ReactNode);
3641
3681
  /** Details displayed on the modal when user clicks of a data point. If the type is string then this uses the [handlebar](../?path=/docs/misc-handlebars-templates-and-custom-helpers--docs) template to display the data */
@@ -3695,6 +3735,8 @@ declare interface Props_30 {
3695
3735
  theme?: 'light' | 'dark';
3696
3736
  /** Unique ID for the graph */
3697
3737
  graphID?: string;
3738
+ /** Locale for number formatting. Must matches what `Intl.NumberFormat` expects. */
3739
+ locale?: string;
3698
3740
  }
3699
3741
 
3700
3742
  declare interface Props_31 {
@@ -3839,6 +3881,8 @@ declare interface Props_32 {
3839
3881
  showDataMinMax?: boolean;
3840
3882
  /** Specifies the number of decimal places to display in the value. */
3841
3883
  precision?: number;
3884
+ /** Locale for number formatting. Must matches what `Intl.NumberFormat` expects. */
3885
+ locale?: string;
3842
3886
  /** Optional SVG <g> element or function that renders custom content behind or in front of the graph. */
3843
3887
  customLayers?: CustomLayerDataType[];
3844
3888
  /** Enable graph download option as png */
@@ -3942,6 +3986,8 @@ declare interface Props_33 {
3942
3986
  animate?: boolean | AnimateDataType;
3943
3987
  /** Specifies the number of decimal places to display in the value. */
3944
3988
  precision?: number;
3989
+ /** Locale for number formatting. Must matches what `Intl.NumberFormat` expects. */
3990
+ locale?: string;
3945
3991
  /** Optional SVG <g> element or function that renders custom content behind or in front of the graph. */
3946
3992
  customLayers?: CustomLayerDataType[];
3947
3993
  /** Enable graph download option as png */
@@ -4043,6 +4089,8 @@ declare interface Props_34 {
4043
4089
  animate?: boolean | AnimateDataType;
4044
4090
  /** Specifies the number of decimal places to display in the value. */
4045
4091
  precision?: number;
4092
+ /** Locale for number formatting. Must matches what `Intl.NumberFormat` expects. */
4093
+ locale?: string;
4046
4094
  /** Optional SVG <g> element or function that renders custom content behind or in front of the graph. */
4047
4095
  customLayers?: CustomLayerDataType[];
4048
4096
  /** Configures playback and slider controls for animating the chart over time. The data must have a key date for it to work properly. */
@@ -4138,6 +4186,8 @@ declare interface Props_35 {
4138
4186
  hideAxisLine?: boolean;
4139
4187
  /** Specifies the number of decimal places to display in the value. */
4140
4188
  precision?: number;
4189
+ /** Locale for number formatting. Must matches what `Intl.NumberFormat` expects. */
4190
+ locale?: string;
4141
4191
  /** Enable graph download option as png */
4142
4192
  graphDownload?: boolean;
4143
4193
  /** Enable data download option as a csv */
@@ -4251,6 +4301,8 @@ declare interface Props_36 {
4251
4301
  animate?: boolean | AnimateDataType;
4252
4302
  /** Specifies the number of decimal places to display in the value. */
4253
4303
  precision?: number;
4304
+ /** Locale for number formatting. Must matches what `Intl.NumberFormat` expects. */
4305
+ locale?: string;
4254
4306
  /** Optional SVG <g> element or function that renders custom content behind or in front of the graph. */
4255
4307
  customLayers?: CustomLayerDataType[];
4256
4308
  /** Enable graph download option as png */
@@ -4350,6 +4402,8 @@ declare interface Props_37 {
4350
4402
  animate?: boolean | AnimateDataType;
4351
4403
  /** Specifies the number of decimal places to display in the value. */
4352
4404
  precision?: number;
4405
+ /** Locale for number formatting. Must matches what `Intl.NumberFormat` expects. */
4406
+ locale?: string;
4353
4407
  /** Optional SVG <g> element or function that renders custom content behind or in front of the graph. */
4354
4408
  customLayers?: CustomLayerDataType[];
4355
4409
  /** Enable graph download option as png */
@@ -4451,6 +4505,8 @@ declare interface Props_38 {
4451
4505
  resetSelectionOnDoubleClick?: boolean;
4452
4506
  /** Specifies the number of decimal places to display in the value. */
4453
4507
  precision?: number;
4508
+ /** Locale for number formatting. Must matches what `Intl.NumberFormat` expects. */
4509
+ locale?: string;
4454
4510
  /** Optional SVG <g> element or function that renders custom content behind or in front of the graph. */
4455
4511
  customLayers?: CustomLayerDataType[];
4456
4512
  /** Enable graph download option as png */
@@ -4595,6 +4651,8 @@ declare interface Props_4 {
4595
4651
  animate?: boolean | AnimateDataType;
4596
4652
  /** Specifies the number of decimal places to display in the value. */
4597
4653
  precision?: number;
4654
+ /** Locale for number formatting. Must matches what `Intl.NumberFormat` expects. */
4655
+ locale?: string;
4598
4656
  /** Optional SVG <g> element or function that renders custom content behind or in front of the graph. */
4599
4657
  customLayers?: CustomLayerDataType[];
4600
4658
  /** Configures playback and slider controls for animating the chart over time. The data must have a key date for it to work properly. */
@@ -4854,6 +4912,8 @@ declare interface Props_5 {
4854
4912
  radius?: number;
4855
4913
  /** Specifies the number of decimal places to display in the value. */
4856
4914
  precision?: number;
4915
+ /** Locale for number formatting. Must matches what `Intl.NumberFormat` expects. */
4916
+ locale?: string;
4857
4917
  /** Optional SVG <g> element or function that renders custom content behind or in front of the graph. */
4858
4918
  customLayers?: CustomLayerDataType[];
4859
4919
  /** Enable graph download option as png */
@@ -5024,6 +5084,10 @@ declare interface Props_6 {
5024
5084
  curveType?: CurveTypes;
5025
5085
  /** Specifies the number of decimal places to display in the value. */
5026
5086
  precision?: number;
5087
+ /** Locale for number formatting. Must matches what `Intl.NumberFormat` expects. */
5088
+ locale?: string;
5089
+ /** Defines how “NA” values should be displayed/labelled in the graph */
5090
+ naLabel?: string;
5027
5091
  /** Optional SVG <g> element or function that renders custom content behind or in front of the graph. */
5028
5092
  customLayers?: CustomLayerDataType[];
5029
5093
  /** Enable graph download option as png */
@@ -5071,6 +5135,7 @@ declare interface Props_62 {
5071
5135
  colorLegendTitle?: string;
5072
5136
  width?: number;
5073
5137
  className?: string;
5138
+ locale?: string;
5074
5139
  }
5075
5140
 
5076
5141
  declare interface Props_63 {
@@ -5082,6 +5147,8 @@ declare interface Props_63 {
5082
5147
  naColor?: string;
5083
5148
  className?: string;
5084
5149
  showNAColor: boolean;
5150
+ locale?: string;
5151
+ naLabel: string;
5085
5152
  }
5086
5153
 
5087
5154
  declare interface Props_64 {
@@ -5233,6 +5300,8 @@ declare interface Props_7 {
5233
5300
  curveType?: CurveTypes;
5234
5301
  /** Specifies the number of decimal places to display in the value. */
5235
5302
  precision?: number;
5303
+ /** Locale for number formatting. Must matches what `Intl.NumberFormat` expects. */
5304
+ locale?: string;
5236
5305
  /** Optional SVG <g> element or function that renders custom content behind or in front of the graph. */
5237
5306
  customLayers?: CustomLayerDataType[];
5238
5307
  /** Enable graph download option as png */
@@ -5332,6 +5401,8 @@ declare interface Props_8 {
5332
5401
  curveType?: CurveTypes;
5333
5402
  /** Specifies the number of decimal places to display in the value. */
5334
5403
  precision?: number;
5404
+ /** Locale for number formatting. Must matches what `Intl.NumberFormat` expects. */
5405
+ locale?: string;
5335
5406
  /** Optional SVG <g> element or function that renders custom content behind or in front of the graph. */
5336
5407
  customLayers?: CustomLayerDataType[];
5337
5408
  /** Enable graph download option as png */
@@ -5447,6 +5518,10 @@ declare interface Props_9 {
5447
5518
  curveType?: CurveTypes;
5448
5519
  /** Specifies the number of decimal places to display in the value. */
5449
5520
  precision?: number;
5521
+ /** Locale for number formatting. Must matches what `Intl.NumberFormat` expects. */
5522
+ locale?: string;
5523
+ /** Defines how “NA” values should be displayed/labelled in the graph */
5524
+ naLabel?: string;
5450
5525
  /** Optional SVG <g> element or function that renders custom content behind or in front of the graph. */
5451
5526
  customLayers?: CustomLayerDataType[];
5452
5527
  /** Enable graph download option as png */
@@ -5692,6 +5767,8 @@ declare interface StackedBarChartProps {
5692
5767
  animate?: boolean | AnimateDataType;
5693
5768
  /** Specifies the number of decimal places to display in the value. */
5694
5769
  precision?: number;
5770
+ /** Locale for number formatting. Must matches what `Intl.NumberFormat` expects. */
5771
+ locale?: string;
5695
5772
  /** Optional SVG <g> element or function that renders custom content behind or in front of the graph. */
5696
5773
  customLayers?: CustomLayerDataType[];
5697
5774
  /** Configures playback and slider controls for animating the chart over time. The data must have a key date for it to work properly. */
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { GroupedBarGraph as e, SimpleBarGraph as t, StackedBarGraph as a } from "./BarGraph.js";
2
- import { C as m } from "./index-C6VwVS8W.js";
2
+ import { C as m } from "./index-CGrBpeUa.js";
3
3
  import { DonutChart as x } from "./DonutChart.js";
4
4
  import { DumbbellChart as h } from "./DumbbellChart.js";
5
5
  import { BeeSwarmChart as i } from "./BeeSwarmChart.js";
@@ -67,10 +67,10 @@ import { GraphHeader as To } from "./GraphHeader.js";
67
67
  import { FootNote as Ao } from "./FootNote.js";
68
68
  import { GraphDescription as vo } from "./GraphDescription.js";
69
69
  import { GraphTitle as ko } from "./GraphTitle.js";
70
- import { S as Io } from "./Source-Djkz-7jX.js";
70
+ import { S as Io } from "./Source-QGk8vhkS.js";
71
71
  import { c as Oo } from "./checkIfNullOrUndefined-DmfiKkNw.js";
72
72
  import { g as No, a as Uo, b as Eo, c as Jo, r as qo } from "./removeOutliers-BqW0sPqj.js";
73
- import { n as Ro } from "./numberFormattingFunction-14YCbkN2.js";
73
+ import { n as Ro } from "./numberFormattingFunction-DqMf_v1m.js";
74
74
  import { g as zo } from "./getTextColorBasedOnBgColor-CDY808zi.js";
75
75
  import { g as Xo } from "./getJenks-DTCcQSDi.js";
76
76
  import { i as Zo } from "./imageDownload-Diofs_vY.js";
@@ -0,0 +1,2 @@
1
+ "use strict";const i=require("./checkIfNullOrUndefined-BCW3Y1ML.cjs");function g(n,f,r,m,u,s){if(i.checkIfNullOrUndefined(n))return f||"NA";const o=(e,c)=>new Intl.NumberFormat(s||"en",{minimumFractionDigits:0,maximumFractionDigits:c,useGrouping:!1}).format(e);if(typeof n=="string")return`${m||""}${n}${u||""}`;if(i.checkIfNullOrUndefined(n))return f||"NA";const t=n,d=e=>{const c=["","K","M","B","T"],a=Math.floor(Math.log10(Math.abs(e))/3);if(a===0)return o(e,r===0?0:r||2);const $=e/Math.pow(10,a*3);return o($,r===0?0:r||2)+c[a]};if(t<1e4&&t>-1e4&&Number.isInteger(t))return`${m||""}${o(t,0)}${u||""}`;const h=Math.abs(t)<1e3?o(t,r===0?0:r||2):d(t);return`${m||""}${h}${u||""}`}exports.numberFormattingFunction=g;
2
+ //# sourceMappingURL=numberFormattingFunction-Cn9R7CM9.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"numberFormattingFunction-Cn9R7CM9.cjs","sources":["../src/Utils/numberFormattingFunction.ts"],"sourcesContent":["import { checkIfNullOrUndefined } from './checkIfNullOrUndefined';\r\n\r\n/**\r\n * Formats a number into a human-readable string, optionally with prefix/suffix\r\n * and locale-aware formatting.\r\n *\r\n * Supports:\r\n * - Compact notation (K, M, B, T)\r\n * - Locale formatting via Intl.NumberFormat\r\n * - Prefix and suffix\r\n * - NA fallback\r\n */\r\nexport function numberFormattingFunction(\r\n value: number | string | undefined | null,\r\n naLabel?: string,\r\n precision?: number,\r\n prefix?: string,\r\n suffix?: string,\r\n locale?: string,\r\n) {\r\n if (checkIfNullOrUndefined(value)) return naLabel || 'NA';\r\n const formatWithLocale = (num: number, precisionValue: number) => {\r\n return new Intl.NumberFormat(locale || 'en', {\r\n minimumFractionDigits: 0,\r\n maximumFractionDigits: precisionValue,\r\n useGrouping: false,\r\n }).format(num);\r\n };\r\n\r\n if (typeof value === 'string') {\r\n return `${prefix || ''}${value}${suffix || ''}`;\r\n }\r\n\r\n if (checkIfNullOrUndefined(value)) {\r\n return naLabel || 'NA';\r\n }\r\n\r\n const num = value as number;\r\n\r\n const formatCompact = (n: number) => {\r\n const suffixes = ['', 'K', 'M', 'B', 'T'];\r\n const tier = Math.floor(Math.log10(Math.abs(n)) / 3);\r\n\r\n if (tier === 0) {\r\n return formatWithLocale(n, precision === 0 ? 0 : precision || 2);\r\n }\r\n\r\n const scaled = n / Math.pow(10, tier * 3);\r\n\r\n const formatted = formatWithLocale(scaled, precision === 0 ? 0 : precision || 2);\r\n\r\n return formatted + suffixes[tier];\r\n };\r\n\r\n // Small numbers (no compacting)\r\n if (num < 10000 && num > -10000 && Number.isInteger(num)) {\r\n return `${prefix || ''}${formatWithLocale(num, 0)}${suffix || ''}`;\r\n }\r\n\r\n const formattedNumber =\r\n Math.abs(num) < 1000\r\n ? formatWithLocale(num, precision === 0 ? 0 : precision || 2)\r\n : formatCompact(num);\r\n\r\n return `${prefix || ''}${formattedNumber}${suffix || ''}`;\r\n}\r\n"],"names":["numberFormattingFunction","value","naLabel","precision","prefix","suffix","locale","checkIfNullOrUndefined","formatWithLocale","num","precisionValue","Intl","NumberFormat","minimumFractionDigits","maximumFractionDigits","useGrouping","format","formatCompact","n","suffixes","tier","Math","floor","log10","abs","scaled","pow","Number","isInteger","formattedNumber"],"mappings":"sEAYO,SAASA,EACdC,EACAC,EACAC,EACAC,EACAC,EACAC,EACA,CACA,GAAIC,yBAAuBN,CAAK,EAAG,OAAOC,GAAW,KACrD,MAAMM,EAAmBA,CAACC,EAAaC,IAC9B,IAAIC,KAAKC,aAAaN,GAAU,KAAM,CAC3CO,sBAAuB,EACvBC,sBAAuBJ,EACvBK,YAAa,EAAA,CACd,EAAEC,OAAOP,CAAG,EAGf,GAAI,OAAOR,GAAU,SACnB,MAAO,GAAGG,GAAU,EAAE,GAAGH,CAAK,GAAGI,GAAU,EAAE,GAG/C,GAAIE,EAAAA,uBAAuBN,CAAK,EAC9B,OAAOC,GAAW,KAGpB,MAAMO,EAAMR,EAENgB,EAAiBC,GAAc,CACnC,MAAMC,EAAW,CAAC,GAAI,IAAK,IAAK,IAAK,GAAG,EAClCC,EAAOC,KAAKC,MAAMD,KAAKE,MAAMF,KAAKG,IAAIN,CAAC,CAAC,EAAI,CAAC,EAEnD,GAAIE,IAAS,EACX,OAAOZ,EAAiBU,EAAGf,IAAc,EAAI,EAAIA,GAAa,CAAC,EAGjE,MAAMsB,EAASP,EAAIG,KAAKK,IAAI,GAAIN,EAAO,CAAC,EAIxC,OAFkBZ,EAAiBiB,EAAQtB,IAAc,EAAI,EAAIA,GAAa,CAAC,EAE5DgB,EAASC,CAAI,CAClC,EAGA,GAAIX,EAAM,KAASA,EAAM,MAAUkB,OAAOC,UAAUnB,CAAG,EACrD,MAAO,GAAGL,GAAU,EAAE,GAAGI,EAAiBC,EAAK,CAAC,CAAC,GAAGJ,GAAU,EAAE,GAGlE,MAAMwB,EACJR,KAAKG,IAAIf,CAAG,EAAI,IACZD,EAAiBC,EAAKN,IAAc,EAAI,EAAIA,GAAa,CAAC,EAC1Dc,EAAcR,CAAG,EAEvB,MAAO,GAAGL,GAAU,EAAE,GAAGyB,CAAe,GAAGxB,GAAU,EAAE,EACzD"}
@@ -0,0 +1,28 @@
1
+ import { c } from "./checkIfNullOrUndefined-DmfiKkNw.js";
2
+ function N(n, s, r, e, a, i) {
3
+ if (c(n)) return s || "NA";
4
+ const m = (o, u) => new Intl.NumberFormat(i || "en", {
5
+ minimumFractionDigits: 0,
6
+ maximumFractionDigits: u,
7
+ useGrouping: !1
8
+ }).format(o);
9
+ if (typeof n == "string")
10
+ return `${e || ""}${n}${a || ""}`;
11
+ if (c(n))
12
+ return s || "NA";
13
+ const t = n, $ = (o) => {
14
+ const u = ["", "K", "M", "B", "T"], f = Math.floor(Math.log10(Math.abs(o)) / 3);
15
+ if (f === 0)
16
+ return m(o, r === 0 ? 0 : r || 2);
17
+ const h = o / Math.pow(10, f * 3);
18
+ return m(h, r === 0 ? 0 : r || 2) + u[f];
19
+ };
20
+ if (t < 1e4 && t > -1e4 && Number.isInteger(t))
21
+ return `${e || ""}${m(t, 0)}${a || ""}`;
22
+ const g = Math.abs(t) < 1e3 ? m(t, r === 0 ? 0 : r || 2) : $(t);
23
+ return `${e || ""}${g}${a || ""}`;
24
+ }
25
+ export {
26
+ N as n
27
+ };
28
+ //# sourceMappingURL=numberFormattingFunction-DqMf_v1m.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"numberFormattingFunction-DqMf_v1m.js","sources":["../src/Utils/numberFormattingFunction.ts"],"sourcesContent":["import { checkIfNullOrUndefined } from './checkIfNullOrUndefined';\r\n\r\n/**\r\n * Formats a number into a human-readable string, optionally with prefix/suffix\r\n * and locale-aware formatting.\r\n *\r\n * Supports:\r\n * - Compact notation (K, M, B, T)\r\n * - Locale formatting via Intl.NumberFormat\r\n * - Prefix and suffix\r\n * - NA fallback\r\n */\r\nexport function numberFormattingFunction(\r\n value: number | string | undefined | null,\r\n naLabel?: string,\r\n precision?: number,\r\n prefix?: string,\r\n suffix?: string,\r\n locale?: string,\r\n) {\r\n if (checkIfNullOrUndefined(value)) return naLabel || 'NA';\r\n const formatWithLocale = (num: number, precisionValue: number) => {\r\n return new Intl.NumberFormat(locale || 'en', {\r\n minimumFractionDigits: 0,\r\n maximumFractionDigits: precisionValue,\r\n useGrouping: false,\r\n }).format(num);\r\n };\r\n\r\n if (typeof value === 'string') {\r\n return `${prefix || ''}${value}${suffix || ''}`;\r\n }\r\n\r\n if (checkIfNullOrUndefined(value)) {\r\n return naLabel || 'NA';\r\n }\r\n\r\n const num = value as number;\r\n\r\n const formatCompact = (n: number) => {\r\n const suffixes = ['', 'K', 'M', 'B', 'T'];\r\n const tier = Math.floor(Math.log10(Math.abs(n)) / 3);\r\n\r\n if (tier === 0) {\r\n return formatWithLocale(n, precision === 0 ? 0 : precision || 2);\r\n }\r\n\r\n const scaled = n / Math.pow(10, tier * 3);\r\n\r\n const formatted = formatWithLocale(scaled, precision === 0 ? 0 : precision || 2);\r\n\r\n return formatted + suffixes[tier];\r\n };\r\n\r\n // Small numbers (no compacting)\r\n if (num < 10000 && num > -10000 && Number.isInteger(num)) {\r\n return `${prefix || ''}${formatWithLocale(num, 0)}${suffix || ''}`;\r\n }\r\n\r\n const formattedNumber =\r\n Math.abs(num) < 1000\r\n ? formatWithLocale(num, precision === 0 ? 0 : precision || 2)\r\n : formatCompact(num);\r\n\r\n return `${prefix || ''}${formattedNumber}${suffix || ''}`;\r\n}\r\n"],"names":["numberFormattingFunction","value","naLabel","precision","prefix","suffix","locale","checkIfNullOrUndefined","formatWithLocale","num","precisionValue","Intl","NumberFormat","minimumFractionDigits","maximumFractionDigits","useGrouping","format","formatCompact","n","suffixes","tier","Math","floor","log10","abs","scaled","pow","Number","isInteger","formattedNumber"],"mappings":";AAYO,SAASA,EACdC,GACAC,GACAC,GACAC,GACAC,GACAC,GACA;AACA,MAAIC,EAAuBN,CAAK,EAAG,QAAOC,KAAW;AACrD,QAAMM,IAAmBA,CAACC,GAAaC,MAC9B,IAAIC,KAAKC,aAAaN,KAAU,MAAM;AAAA,IAC3CO,uBAAuB;AAAA,IACvBC,uBAAuBJ;AAAAA,IACvBK,aAAa;AAAA,EAAA,CACd,EAAEC,OAAOP,CAAG;AAGf,MAAI,OAAOR,KAAU;AACnB,WAAO,GAAGG,KAAU,EAAE,GAAGH,CAAK,GAAGI,KAAU,EAAE;AAG/C,MAAIE,EAAuBN,CAAK;AAC9B,WAAOC,KAAW;AAGpB,QAAMO,IAAMR,GAENgB,IAAgBA,CAACC,MAAc;AACnC,UAAMC,IAAW,CAAC,IAAI,KAAK,KAAK,KAAK,GAAG,GAClCC,IAAOC,KAAKC,MAAMD,KAAKE,MAAMF,KAAKG,IAAIN,CAAC,CAAC,IAAI,CAAC;AAEnD,QAAIE,MAAS;AACX,aAAOZ,EAAiBU,GAAGf,MAAc,IAAI,IAAIA,KAAa,CAAC;AAGjE,UAAMsB,IAASP,IAAIG,KAAKK,IAAI,IAAIN,IAAO,CAAC;AAIxC,WAFkBZ,EAAiBiB,GAAQtB,MAAc,IAAI,IAAIA,KAAa,CAAC,IAE5DgB,EAASC,CAAI;AAAA,EAClC;AAGA,MAAIX,IAAM,OAASA,IAAM,QAAUkB,OAAOC,UAAUnB,CAAG;AACrD,WAAO,GAAGL,KAAU,EAAE,GAAGI,EAAiBC,GAAK,CAAC,CAAC,GAAGJ,KAAU,EAAE;AAGlE,QAAMwB,IACJR,KAAKG,IAAIf,CAAG,IAAI,MACZD,EAAiBC,GAAKN,MAAc,IAAI,IAAIA,KAAa,CAAC,IAC1Dc,EAAcR,CAAG;AAEvB,SAAO,GAAGL,KAAU,EAAE,GAAGyB,CAAe,GAAGxB,KAAU,EAAE;AACzD;"}
@@ -1,5 +1,5 @@
1
1
  import { createContext as yt, useRef as mt, useLayoutEffect as br, useEffect as We, useContext as O, useId as Vr, useCallback as Os, useMemo as Zt, Fragment as js, createElement as Ar, useInsertionEffect as Ns, forwardRef as Dr, Component as Mr } from "react";
2
- import { j as ye } from "./index-CHPV5EwG-BCLAYDCV.js";
2
+ import { j as ye } from "./index-CHPV5EwG-BzibaIRc.js";
3
3
  const Us = yt({});
4
4
  function Cr(t) {
5
5
  const e = mt(null);
@@ -4778,4 +4778,4 @@ export {
4778
4778
  Fa as r,
4779
4779
  Cr as u
4780
4780
  };
4781
- //# sourceMappingURL=proxy--_f6k3NR.js.map
4781
+ //# sourceMappingURL=proxy-BsxtcZKa.js.map