@undp/data-viz 1.3.0 → 1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (572) hide show
  1. package/dist/AreaChart.cjs +2 -0
  2. package/dist/AreaChart.cjs.map +1 -0
  3. package/dist/AreaChart.js +530 -1
  4. package/dist/AreaChart.js.map +1 -1
  5. package/dist/Axis-DE7dSn1_.cjs +2 -0
  6. package/dist/{Axis-BlyBRMNw.cjs.map → Axis-DE7dSn1_.cjs.map} +1 -1
  7. package/dist/{Axis-CvK-w3E2.js → Axis-Ddg-seDi.js} +10 -11
  8. package/dist/{Axis-CvK-w3E2.js.map → Axis-Ddg-seDi.js.map} +1 -1
  9. package/dist/AxisTitle-BmHLMRJZ.js +20 -0
  10. package/dist/{AxisTitle-BeMxcw5I.js.map → AxisTitle-BmHLMRJZ.js.map} +1 -1
  11. package/dist/AxisTitle-CK9YeovX.cjs +2 -0
  12. package/dist/{AxisTitle-BY8MI9jC.cjs.map → AxisTitle-CK9YeovX.cjs.map} +1 -1
  13. package/dist/BarGraph.cjs +2 -0
  14. package/dist/BarGraph.cjs.map +1 -0
  15. package/dist/BarGraph.js +4043 -1
  16. package/dist/BarGraph.js.map +1 -1
  17. package/dist/BasicStatCard.cjs +2 -0
  18. package/dist/BasicStatCard.cjs.map +1 -0
  19. package/dist/BasicStatCard.js +190 -1
  20. package/dist/BasicStatCard.js.map +1 -1
  21. package/dist/BeeSwarmChart.cjs +2 -0
  22. package/dist/BeeSwarmChart.cjs.map +1 -0
  23. package/dist/BeeSwarmChart.d.ts +0 -8
  24. package/dist/BeeSwarmChart.js +1042 -1
  25. package/dist/BeeSwarmChart.js.map +1 -1
  26. package/dist/BiVariateChoroplethMap.cjs +2 -0
  27. package/dist/BiVariateChoroplethMap.cjs.map +1 -0
  28. package/dist/BiVariateChoroplethMap.js +720 -1
  29. package/dist/BiVariateChoroplethMap.js.map +1 -1
  30. package/dist/BulletChart.cjs +2 -0
  31. package/dist/BulletChart.cjs.map +1 -0
  32. package/dist/BulletChart.js +1431 -1
  33. package/dist/BulletChart.js.map +1 -1
  34. package/dist/ButterflyChart.cjs +2 -0
  35. package/dist/ButterflyChart.cjs.map +1 -0
  36. package/dist/ButterflyChart.js +692 -1
  37. package/dist/ButterflyChart.js.map +1 -1
  38. package/dist/ChoroplethMap.cjs +2 -0
  39. package/dist/ChoroplethMap.cjs.map +1 -0
  40. package/dist/ChoroplethMap.js +745 -1
  41. package/dist/ChoroplethMap.js.map +1 -1
  42. package/dist/CirclePackingGraph.cjs +2 -0
  43. package/dist/CirclePackingGraph.cjs.map +1 -0
  44. package/dist/CirclePackingGraph.d.ts +0 -8
  45. package/dist/CirclePackingGraph.js +14 -1
  46. package/dist/CirclePackingGraph.js.map +1 -1
  47. package/dist/ColorLegend.cjs +2 -0
  48. package/dist/ColorLegend.cjs.map +1 -0
  49. package/dist/ColorLegend.js +47 -1
  50. package/dist/ColorLegend.js.map +1 -1
  51. package/dist/ColorLegendWithMouseOver.cjs +2 -0
  52. package/dist/ColorLegendWithMouseOver.cjs.map +1 -0
  53. package/dist/ColorLegendWithMouseOver.js +70 -1
  54. package/dist/ColorLegendWithMouseOver.js.map +1 -1
  55. package/dist/Colors.cjs +2 -0
  56. package/dist/Colors.cjs.map +1 -0
  57. package/dist/Colors.js +561 -1
  58. package/dist/Colors.js.map +1 -1
  59. package/dist/CopyTextButton.cjs +17 -0
  60. package/dist/CopyTextButton.cjs.map +1 -0
  61. package/dist/CopyTextButton.js +698 -16
  62. package/dist/CopyTextButton.js.map +1 -1
  63. package/dist/CsvDownloadButton.cjs +23 -0
  64. package/dist/CsvDownloadButton.cjs.map +1 -0
  65. package/dist/CsvDownloadButton.js +852 -7
  66. package/dist/CsvDownloadButton.js.map +1 -1
  67. package/dist/DataCards.cjs +2 -0
  68. package/dist/DataCards.cjs.map +1 -0
  69. package/dist/DataCards.js +14 -1
  70. package/dist/DataCards.js.map +1 -1
  71. package/dist/DataTable.cjs +2 -0
  72. package/dist/DataTable.cjs.map +1 -0
  73. package/dist/DataTable.js +331 -1
  74. package/dist/DataTable.js.map +1 -1
  75. package/dist/DifferenceLineChart.cjs +2 -0
  76. package/dist/DifferenceLineChart.cjs.map +1 -0
  77. package/dist/DifferenceLineChart.js +805 -1
  78. package/dist/DifferenceLineChart.js.map +1 -1
  79. package/dist/DonutChart.cjs +2 -0
  80. package/dist/DonutChart.cjs.map +1 -0
  81. package/dist/DonutChart.js +478 -1
  82. package/dist/DonutChart.js.map +1 -1
  83. package/dist/DotDensityMap.cjs +2 -0
  84. package/dist/DotDensityMap.cjs.map +1 -0
  85. package/dist/DotDensityMap.js +600 -1
  86. package/dist/DotDensityMap.js.map +1 -1
  87. package/dist/DropdownSelect-0I2QxaVy.cjs +29 -0
  88. package/dist/DropdownSelect-0I2QxaVy.cjs.map +1 -0
  89. package/dist/DropdownSelect-CDC9lEqU.js +4193 -0
  90. package/dist/DropdownSelect-CDC9lEqU.js.map +1 -0
  91. package/dist/DualAxisLineChart.cjs +2 -0
  92. package/dist/DualAxisLineChart.cjs.map +1 -0
  93. package/dist/DualAxisLineChart.js +699 -1
  94. package/dist/DualAxisLineChart.js.map +1 -1
  95. package/dist/DumbbellChart.cjs +2 -0
  96. package/dist/DumbbellChart.cjs.map +1 -0
  97. package/dist/DumbbellChart.js +1510 -1
  98. package/dist/DumbbellChart.js.map +1 -1
  99. package/dist/{EmptyState-b2Ln487i.js → EmptyState-DdTp-Mdn.js} +8 -8
  100. package/dist/{EmptyState-b2Ln487i.js.map → EmptyState-DdTp-Mdn.js.map} +1 -1
  101. package/dist/EmptyState-d8_8SxeW.cjs +2 -0
  102. package/dist/{EmptyState-BQguKAp5.cjs.map → EmptyState-d8_8SxeW.cjs.map} +1 -1
  103. package/dist/ExcelDownloadButton.cjs +2 -0
  104. package/dist/ExcelDownloadButton.cjs.map +1 -0
  105. package/dist/ExcelDownloadButton.js +29 -1
  106. package/dist/ExcelDownloadButton.js.map +1 -1
  107. package/dist/FootNote.cjs +2 -0
  108. package/dist/FootNote.cjs.map +1 -0
  109. package/dist/FootNote.js +20 -1
  110. package/dist/FootNote.js.map +1 -1
  111. package/dist/GeoHubCompareMaps.cjs +2 -0
  112. package/dist/GeoHubCompareMaps.cjs.map +1 -0
  113. package/dist/GeoHubCompareMaps.js +370 -1
  114. package/dist/GeoHubCompareMaps.js.map +1 -1
  115. package/dist/GeoHubMap.cjs +2 -0
  116. package/dist/GeoHubMap.cjs.map +1 -0
  117. package/dist/GeoHubMap.js +429 -1
  118. package/dist/GeoHubMap.js.map +1 -1
  119. package/dist/GeoHubMapWithLayerSelection.cjs +2 -0
  120. package/dist/GeoHubMapWithLayerSelection.cjs.map +1 -0
  121. package/dist/GeoHubMapWithLayerSelection.js +307 -1
  122. package/dist/GeoHubMapWithLayerSelection.js.map +1 -1
  123. package/dist/GraphDescription.cjs +2 -0
  124. package/dist/GraphDescription.cjs.map +1 -0
  125. package/dist/GraphDescription.js +20 -1
  126. package/dist/GraphDescription.js.map +1 -1
  127. package/dist/GraphFooter.cjs +2 -0
  128. package/dist/GraphFooter.cjs.map +1 -0
  129. package/dist/GraphFooter.js +21 -1
  130. package/dist/GraphFooter.js.map +1 -1
  131. package/dist/GraphHeader.cjs +2 -0
  132. package/dist/GraphHeader.cjs.map +1 -0
  133. package/dist/GraphHeader.js +63 -1
  134. package/dist/GraphHeader.js.map +1 -1
  135. package/dist/GraphTitle.cjs +2 -0
  136. package/dist/GraphTitle.cjs.map +1 -0
  137. package/dist/GraphTitle.js +28 -1
  138. package/dist/GraphTitle.js.map +1 -1
  139. package/dist/GriddedGraphs.cjs +2 -0
  140. package/dist/GriddedGraphs.cjs.map +1 -0
  141. package/dist/GriddedGraphs.js +482 -1
  142. package/dist/GriddedGraphs.js.map +1 -1
  143. package/dist/GriddedGraphsFromConfig.cjs +2 -0
  144. package/dist/GriddedGraphsFromConfig.cjs.map +1 -0
  145. package/dist/GriddedGraphsFromConfig.js +42 -1
  146. package/dist/GriddedGraphsFromConfig.js.map +1 -1
  147. package/dist/HeatMap.cjs +2 -0
  148. package/dist/HeatMap.cjs.map +1 -0
  149. package/dist/HeatMap.js +451 -1
  150. package/dist/HeatMap.js.map +1 -1
  151. package/dist/Histogram.cjs +2 -0
  152. package/dist/Histogram.cjs.map +1 -0
  153. package/dist/Histogram.js +287 -1
  154. package/dist/Histogram.js.map +1 -1
  155. package/dist/ImageDownloadButton.cjs +2 -0
  156. package/dist/ImageDownloadButton.cjs.map +1 -0
  157. package/dist/ImageDownloadButton.js +28 -1
  158. package/dist/ImageDownloadButton.js.map +1 -1
  159. package/dist/LineChartWithConfidenceInterval.cjs +2 -0
  160. package/dist/LineChartWithConfidenceInterval.cjs.map +1 -0
  161. package/dist/LineChartWithConfidenceInterval.js +818 -1
  162. package/dist/LineChartWithConfidenceInterval.js.map +1 -1
  163. package/dist/LinearColorLegend.cjs +2 -0
  164. package/dist/LinearColorLegend.cjs.map +1 -0
  165. package/dist/LinearColorLegend.js +33 -1
  166. package/dist/LinearColorLegend.js.map +1 -1
  167. package/dist/Modal-CUU6ZK3U.js +1019 -0
  168. package/dist/Modal-CUU6ZK3U.js.map +1 -0
  169. package/dist/Modal-C_dl0EtQ.cjs +46 -0
  170. package/dist/Modal-C_dl0EtQ.cjs.map +1 -0
  171. package/dist/MultiGraphDashboard.cjs +2 -0
  172. package/dist/MultiGraphDashboard.cjs.map +1 -0
  173. package/dist/MultiGraphDashboard.js +303 -1
  174. package/dist/MultiGraphDashboard.js.map +1 -1
  175. package/dist/MultiGraphDashboardFromConfig.cjs +2 -0
  176. package/dist/MultiGraphDashboardFromConfig.cjs.map +1 -0
  177. package/dist/MultiGraphDashboardFromConfig.js +37 -1
  178. package/dist/MultiGraphDashboardFromConfig.js.map +1 -1
  179. package/dist/MultiGraphDashboardWideToLongFormat.cjs +2 -0
  180. package/dist/MultiGraphDashboardWideToLongFormat.cjs.map +1 -0
  181. package/dist/MultiGraphDashboardWideToLongFormat.js +243 -1
  182. package/dist/MultiGraphDashboardWideToLongFormat.js.map +1 -1
  183. package/dist/MultiGraphDashboardWideToLongFormatFromConfig.cjs +2 -0
  184. package/dist/MultiGraphDashboardWideToLongFormatFromConfig.cjs.map +1 -0
  185. package/dist/MultiGraphDashboardWideToLongFormatFromConfig.js +30 -1
  186. package/dist/MultiGraphDashboardWideToLongFormatFromConfig.js.map +1 -1
  187. package/dist/MultiLineAltChart.cjs +2 -0
  188. package/dist/MultiLineAltChart.cjs.map +1 -0
  189. package/dist/MultiLineAltChart.js +689 -1
  190. package/dist/MultiLineAltChart.js.map +1 -1
  191. package/dist/MultiLineChart.cjs +2 -0
  192. package/dist/MultiLineChart.cjs.map +1 -0
  193. package/dist/MultiLineChart.js +722 -1
  194. package/dist/MultiLineChart.js.map +1 -1
  195. package/dist/ParetoChart.cjs +2 -0
  196. package/dist/ParetoChart.cjs.map +1 -0
  197. package/dist/ParetoChart.js +636 -1
  198. package/dist/ParetoChart.js.map +1 -1
  199. package/dist/RadarChart.cjs +2 -0
  200. package/dist/RadarChart.cjs.map +1 -0
  201. package/dist/RadarChart.js +677 -1
  202. package/dist/RadarChart.js.map +1 -1
  203. package/dist/{ReferenceLine-BgDdQbDI.js → ReferenceLine-C1GpoG9d.js} +33 -34
  204. package/dist/ReferenceLine-C1GpoG9d.js.map +1 -0
  205. package/dist/ReferenceLine-CuFMk0cI.cjs +2 -0
  206. package/dist/ReferenceLine-CuFMk0cI.cjs.map +1 -0
  207. package/dist/RegressionLine-7_rKTHN_.cjs +2 -0
  208. package/dist/{RegressionLine-BfpCuD7B.cjs.map → RegressionLine-7_rKTHN_.cjs.map} +1 -1
  209. package/dist/{RegressionLine-cSljpHaE.js → RegressionLine-BFwDCTUU.js} +17 -18
  210. package/dist/{RegressionLine-cSljpHaE.js.map → RegressionLine-BFwDCTUU.js.map} +1 -1
  211. package/dist/SVGDownloadButton.cjs +2 -0
  212. package/dist/SVGDownloadButton.cjs.map +1 -0
  213. package/dist/SVGDownloadButton.js +28 -1
  214. package/dist/SVGDownloadButton.js.map +1 -1
  215. package/dist/SankeyChart.cjs +2 -0
  216. package/dist/SankeyChart.cjs.map +1 -0
  217. package/dist/SankeyChart.js +989 -1
  218. package/dist/SankeyChart.js.map +1 -1
  219. package/dist/ScatterPlot.cjs +2 -0
  220. package/dist/ScatterPlot.cjs.map +1 -0
  221. package/dist/ScatterPlot.js +828 -1
  222. package/dist/ScatterPlot.js.map +1 -1
  223. package/dist/ScrollStory.cjs +2 -0
  224. package/dist/ScrollStory.cjs.map +1 -0
  225. package/dist/ScrollStory.js +105 -1
  226. package/dist/ScrollStory.js.map +1 -1
  227. package/dist/SimpleLineChart.cjs +2 -0
  228. package/dist/SimpleLineChart.cjs.map +1 -0
  229. package/dist/SimpleLineChart.js +619 -1
  230. package/dist/SimpleLineChart.js.map +1 -1
  231. package/dist/SingleGraphDashboard.cjs +2 -0
  232. package/dist/SingleGraphDashboard.cjs.map +1 -0
  233. package/dist/SingleGraphDashboard.js +522 -1
  234. package/dist/SingleGraphDashboard.js.map +1 -1
  235. package/dist/SingleGraphDashboardFromConfig.cjs +2 -0
  236. package/dist/SingleGraphDashboardFromConfig.cjs.map +1 -0
  237. package/dist/SingleGraphDashboardFromConfig.js +34 -1
  238. package/dist/SingleGraphDashboardFromConfig.js.map +1 -1
  239. package/dist/SlopeChart.cjs +2 -0
  240. package/dist/SlopeChart.cjs.map +1 -0
  241. package/dist/SlopeChart.js +582 -1
  242. package/dist/SlopeChart.js.map +1 -1
  243. package/dist/Source.cjs +2 -0
  244. package/dist/Source.cjs.map +1 -0
  245. package/dist/Source.js +40 -1
  246. package/dist/Source.js.map +1 -1
  247. package/dist/SparkLine.cjs +2 -0
  248. package/dist/SparkLine.cjs.map +1 -0
  249. package/dist/SparkLine.js +320 -1
  250. package/dist/SparkLine.js.map +1 -1
  251. package/dist/Spinner-C85UF28E.js +30 -0
  252. package/dist/Spinner-C85UF28E.js.map +1 -0
  253. package/dist/Spinner-DA6Z5E4n.cjs +2 -0
  254. package/dist/Spinner-DA6Z5E4n.cjs.map +1 -0
  255. package/dist/StatCardFromData.cjs +2 -0
  256. package/dist/StatCardFromData.cjs.map +1 -0
  257. package/dist/StatCardFromData.js +249 -1
  258. package/dist/StatCardFromData.js.map +1 -1
  259. package/dist/StripChart.cjs +2 -0
  260. package/dist/StripChart.cjs.map +1 -0
  261. package/dist/StripChart.js +988 -1
  262. package/dist/StripChart.js.map +1 -1
  263. package/dist/ThreeDGlobe.cjs +2 -0
  264. package/dist/ThreeDGlobe.cjs.map +1 -0
  265. package/dist/ThreeDGlobe.js +451 -1
  266. package/dist/ThreeDGlobe.js.map +1 -1
  267. package/dist/ThresholdColorLegendWithMouseOver.cjs +2 -0
  268. package/dist/ThresholdColorLegendWithMouseOver.cjs.map +1 -0
  269. package/dist/ThresholdColorLegendWithMouseOver.js +130 -1
  270. package/dist/ThresholdColorLegendWithMouseOver.js.map +1 -1
  271. package/dist/{Tooltip-CzZ1wFyF.js → Tooltip-DyM5snqx.js} +15 -16
  272. package/dist/{Tooltip-CzZ1wFyF.js.map → Tooltip-DyM5snqx.js.map} +1 -1
  273. package/dist/Tooltip-n8z5bfav.cjs +2 -0
  274. package/dist/{Tooltip-BM18N_3l.cjs.map → Tooltip-n8z5bfav.cjs.map} +1 -1
  275. package/dist/TreeMapGraph.cjs +2 -0
  276. package/dist/TreeMapGraph.cjs.map +1 -0
  277. package/dist/TreeMapGraph.js +760 -1
  278. package/dist/TreeMapGraph.js.map +1 -1
  279. package/dist/Types.cjs +2 -0
  280. package/dist/Types.cjs.map +1 -0
  281. package/dist/Types.js +1 -1
  282. package/dist/Typography-Ctgfl1J5.js +140 -0
  283. package/dist/Typography-Ctgfl1J5.js.map +1 -0
  284. package/dist/Typography-k-kOjICQ.cjs +2 -0
  285. package/dist/Typography-k-kOjICQ.cjs.map +1 -0
  286. package/dist/UnitChart.cjs +2 -0
  287. package/dist/UnitChart.cjs.map +1 -0
  288. package/dist/UnitChart.js +216 -1
  289. package/dist/UnitChart.js.map +1 -1
  290. package/dist/XAxesLabels-CJMQbfVy.cjs +2 -0
  291. package/dist/{XAxesLabels-C9REbQQs.cjs.map → XAxesLabels-CJMQbfVy.cjs.map} +1 -1
  292. package/dist/{XAxesLabels-DVw7Lvuz.js → XAxesLabels-DQFo_z2R.js} +21 -22
  293. package/dist/{XAxesLabels-DVw7Lvuz.js.map → XAxesLabels-DQFo_z2R.js.map} +1 -1
  294. package/dist/{XTicksAndGridLines-CUefTINd.js → XTicksAndGridLines-Bn9u5gOM.js} +19 -20
  295. package/dist/{XTicksAndGridLines-CUefTINd.js.map → XTicksAndGridLines-Bn9u5gOM.js.map} +1 -1
  296. package/dist/XTicksAndGridLines-CCzXIV8d.cjs +2 -0
  297. package/dist/{XTicksAndGridLines-DuK35ROS.cjs.map → XTicksAndGridLines-CCzXIV8d.cjs.map} +1 -1
  298. package/dist/YAxesLabels-BXLTX7AI.cjs +2 -0
  299. package/dist/{YAxesLabels-DhBdLk3Z.cjs.map → YAxesLabels-BXLTX7AI.cjs.map} +1 -1
  300. package/dist/{YAxesLabels-CYVY053X.js → YAxesLabels-H5-002X5.js} +11 -12
  301. package/dist/{YAxesLabels-CYVY053X.js.map → YAxesLabels-H5-002X5.js.map} +1 -1
  302. package/dist/{YTicksAndGridLines-BJRXuBdC.js → YTicksAndGridLines-B6ah7CRf.js} +14 -15
  303. package/dist/{YTicksAndGridLines-BJRXuBdC.js.map → YTicksAndGridLines-B6ah7CRf.js.map} +1 -1
  304. package/dist/YTicksAndGridLines-DBDuz6vb.cjs +2 -0
  305. package/dist/{YTicksAndGridLines-CtLvzExe.cjs.map → YTicksAndGridLines-DBDuz6vb.cjs.map} +1 -1
  306. package/dist/{checkIfMultiple-CaefP4X2.js → checkIfMultiple-BB7PlCNh.js} +1013 -518
  307. package/dist/checkIfMultiple-BB7PlCNh.js.map +1 -0
  308. package/dist/checkIfMultiple-D5ysrI7G.cjs +12 -0
  309. package/dist/checkIfMultiple-D5ysrI7G.cjs.map +1 -0
  310. package/dist/checkIfNullOrUndefined-BCW3Y1ML.cjs +2 -0
  311. package/dist/checkIfNullOrUndefined-BCW3Y1ML.cjs.map +1 -0
  312. package/dist/checkIfNullOrUndefined-DmfiKkNw.js +7 -0
  313. package/dist/checkIfNullOrUndefined-DmfiKkNw.js.map +1 -0
  314. package/dist/customArea-BYNyxAkm.cjs +2 -0
  315. package/dist/{customArea-B47Ew5cT.cjs.map → customArea-BYNyxAkm.cjs.map} +1 -1
  316. package/dist/{customArea-I3MsoqIl.js → customArea-CaxScFmW.js} +29 -30
  317. package/dist/{customArea-I3MsoqIl.js.map → customArea-CaxScFmW.js.map} +1 -1
  318. package/dist/excelDownload-BOA-lskf.js +19 -0
  319. package/dist/excelDownload-BOA-lskf.js.map +1 -0
  320. package/dist/excelDownload-BQpsCa62.cjs +2 -0
  321. package/dist/excelDownload-BQpsCa62.cjs.map +1 -0
  322. package/dist/fetchAndParseData-Bcmr659B.js +1196 -0
  323. package/dist/fetchAndParseData-Bcmr659B.js.map +1 -0
  324. package/dist/fetchAndParseData-DmgQtB9n.cjs +16 -0
  325. package/dist/fetchAndParseData-DmgQtB9n.cjs.map +1 -0
  326. package/dist/fetchAndParseData.cjs +2 -0
  327. package/dist/fetchAndParseData.cjs.map +1 -0
  328. package/dist/fetchAndParseData.js +9 -15
  329. package/dist/fetchAndParseData.js.map +1 -1
  330. package/dist/getGraphList-DuColTJM.js +265 -0
  331. package/dist/getGraphList-DuColTJM.js.map +1 -0
  332. package/dist/getGraphList-gf02xgT2.cjs +2 -0
  333. package/dist/getGraphList-gf02xgT2.cjs.map +1 -0
  334. package/dist/getJenks-TWQvbuOz.cjs +2 -0
  335. package/dist/getJenks-TWQvbuOz.cjs.map +1 -0
  336. package/dist/getJenks-VhM3GIoC.js +23 -0
  337. package/dist/getJenks-VhM3GIoC.js.map +1 -0
  338. package/dist/getSchema.cjs +2 -0
  339. package/dist/getSchema.cjs.map +1 -0
  340. package/dist/getSchema.js +910 -1
  341. package/dist/getSchema.js.map +1 -1
  342. package/dist/getSliderMarks-C0jptXeP.js +1054 -0
  343. package/dist/getSliderMarks-C0jptXeP.js.map +1 -0
  344. package/dist/getSliderMarks-CtsEXiLV.cjs +6 -0
  345. package/dist/getSliderMarks-CtsEXiLV.cjs.map +1 -0
  346. package/dist/getTextColorBasedOnBgColor-B6Nk2WBf.js +28 -0
  347. package/dist/getTextColorBasedOnBgColor-B6Nk2WBf.js.map +1 -0
  348. package/dist/getTextColorBasedOnBgColor-nqY-bsM_.cjs +2 -0
  349. package/dist/getTextColorBasedOnBgColor-nqY-bsM_.cjs.map +1 -0
  350. package/dist/getUniqValue-BtUENB2H.js +20 -0
  351. package/dist/getUniqValue-BtUENB2H.js.map +1 -0
  352. package/dist/getUniqValue-CHqgSss5.cjs +2 -0
  353. package/dist/getUniqValue-CHqgSss5.cjs.map +1 -0
  354. package/dist/imageDownload-CgDcm1Sj.cjs +3 -0
  355. package/dist/imageDownload-CgDcm1Sj.cjs.map +1 -0
  356. package/dist/imageDownload-Dcci2LEy.js +495 -0
  357. package/dist/imageDownload-Dcci2LEy.js.map +1 -0
  358. package/dist/index-BVnYktl4.js +435 -0
  359. package/dist/index-BVnYktl4.js.map +1 -0
  360. package/dist/index-BW_-wD2k.cjs +2 -0
  361. package/dist/index-BW_-wD2k.cjs.map +1 -0
  362. package/dist/{index-DXmF_0ez.js → index-BmCqpO1B.js} +74 -40
  363. package/dist/index-BmCqpO1B.js.map +1 -0
  364. package/dist/{index-Db-Yg_Ud.js → index-BxAUvrua.js} +19 -19
  365. package/dist/{index-Db-Yg_Ud.js.map → index-BxAUvrua.js.map} +1 -1
  366. package/dist/index-CHPV5EwG-BPSP-7Jg.js +3341 -0
  367. package/dist/index-CHPV5EwG-BPSP-7Jg.js.map +1 -0
  368. package/dist/index-CHPV5EwG-DDoeWRVt.cjs +44 -0
  369. package/dist/index-CHPV5EwG-DDoeWRVt.cjs.map +1 -0
  370. package/dist/index-CylX-pWB.cjs +2 -0
  371. package/dist/{index-BYroABPm.cjs.map → index-CylX-pWB.cjs.map} +1 -1
  372. package/dist/index-D9h2WYDS.cjs +22 -0
  373. package/dist/index-D9h2WYDS.cjs.map +1 -0
  374. package/dist/index-DG3YrCr5-D3FrrXj8.js +459 -0
  375. package/dist/index-DG3YrCr5-D3FrrXj8.js.map +1 -0
  376. package/dist/index-DG3YrCr5-v7rayV3N.cjs +2 -0
  377. package/dist/index-DG3YrCr5-v7rayV3N.cjs.map +1 -0
  378. package/dist/index-DVOJ7vxH.cjs +10 -0
  379. package/dist/{index-a2C2Bqn2.cjs.map → index-DVOJ7vxH.cjs.map} +1 -1
  380. package/dist/index-D_n8aamX.cjs +2 -0
  381. package/dist/index-D_n8aamX.cjs.map +1 -0
  382. package/dist/index-OCoyy1wG.js +635 -0
  383. package/dist/index-OCoyy1wG.js.map +1 -0
  384. package/dist/{index-DzdwZ2OA.js → index-n_RI8T0n.js} +3 -3
  385. package/dist/{index-DzdwZ2OA.js.map → index-n_RI8T0n.js.map} +1 -1
  386. package/dist/index-tvAyXPPW-DBlMKnNB.js +47 -0
  387. package/dist/index-tvAyXPPW-DBlMKnNB.js.map +1 -0
  388. package/dist/index-tvAyXPPW-DPOG-C2i.cjs +2 -0
  389. package/dist/index-tvAyXPPW-DPOG-C2i.cjs.map +1 -0
  390. package/dist/index.cjs +2 -0
  391. package/dist/index.cjs.map +1 -0
  392. package/dist/index.d.ts +1 -5
  393. package/dist/index.js +180 -1
  394. package/dist/index.js.map +1 -1
  395. package/dist/numberFormattingFunction-02t-wJta.cjs +2 -0
  396. package/dist/numberFormattingFunction-02t-wJta.cjs.map +1 -0
  397. package/dist/numberFormattingFunction-14YCbkN2.js +13 -0
  398. package/dist/numberFormattingFunction-14YCbkN2.js.map +1 -0
  399. package/dist/{use-in-view-CZPXmTZM.js → proxy-DJxJg1kD.js} +699 -732
  400. package/dist/proxy-DJxJg1kD.js.map +1 -0
  401. package/dist/{use-in-view-Dl1CsAIo.cjs → proxy-PQd2AItT.cjs} +2 -2
  402. package/dist/proxy-PQd2AItT.cjs.map +1 -0
  403. package/dist/removeOutliers-DR48e-18.js +57 -0
  404. package/dist/removeOutliers-DR48e-18.js.map +1 -0
  405. package/dist/removeOutliers-WELHHqiI.cjs +2 -0
  406. package/dist/removeOutliers-WELHHqiI.cjs.map +1 -0
  407. package/dist/{string2HTML-BX0oNw83.js → string2HTML-CWHGfz_d.js} +2 -2
  408. package/dist/{string2HTML-BX0oNw83.js.map → string2HTML-CWHGfz_d.js.map} +1 -1
  409. package/dist/{string2HTML-X4ZYX5jI.cjs → string2HTML-D2Avudmb.cjs} +2 -2
  410. package/dist/{string2HTML-X4ZYX5jI.cjs.map → string2HTML-D2Avudmb.cjs.map} +1 -1
  411. package/dist/svgDownload-C2-E3yf2.js +9 -0
  412. package/dist/svgDownload-C2-E3yf2.js.map +1 -0
  413. package/dist/svgDownload-D9zEGjTF.cjs +2 -0
  414. package/dist/svgDownload-D9zEGjTF.cjs.map +1 -0
  415. package/dist/toConsumableArray-DiWOvh_d-DcLaZvDq.cjs +4 -0
  416. package/dist/toConsumableArray-DiWOvh_d-DcLaZvDq.cjs.map +1 -0
  417. package/dist/toConsumableArray-DiWOvh_d-DlpOlgap.js +145 -0
  418. package/dist/toConsumableArray-DiWOvh_d-DlpOlgap.js.map +1 -0
  419. package/dist/transformData.cjs +2 -0
  420. package/dist/transformData.cjs.map +1 -0
  421. package/dist/transformData.d.ts +170 -0
  422. package/dist/transformData.js +10 -0
  423. package/dist/transformData.js.map +1 -0
  424. package/dist/transformDataForAggregation-BUGJnson.cjs +2 -0
  425. package/dist/transformDataForAggregation-BUGJnson.cjs.map +1 -0
  426. package/dist/transformDataForAggregation-DAQJWGNL.js +759 -0
  427. package/dist/transformDataForAggregation-DAQJWGNL.js.map +1 -0
  428. package/dist/transformDataForGraphFromFile-CrntpaMU.cjs +2 -0
  429. package/dist/transformDataForGraphFromFile-CrntpaMU.cjs.map +1 -0
  430. package/dist/transformDataForGraphFromFile-DdNiOWeC.js +24 -0
  431. package/dist/transformDataForGraphFromFile-DdNiOWeC.js.map +1 -0
  432. package/dist/use-in-view-BAHrBy6b.js +40 -0
  433. package/dist/use-in-view-BAHrBy6b.js.map +1 -0
  434. package/dist/use-in-view-BCmzDU2O.cjs +2 -0
  435. package/dist/use-in-view-BCmzDU2O.cjs.map +1 -0
  436. package/dist/utils.cjs +2 -0
  437. package/dist/utils.cjs.map +1 -0
  438. package/dist/utils.d.ts +217 -0
  439. package/dist/utils.js +27 -0
  440. package/dist/utils.js.map +1 -0
  441. package/dist/validateSchema.cjs +2 -0
  442. package/dist/validateSchema.cjs.map +1 -0
  443. package/dist/validateSchema.js +104 -1
  444. package/dist/validateSchema.js.map +1 -1
  445. package/dist/x-CnsEH4Ox-CGGXQl4M.cjs +27 -0
  446. package/dist/x-CnsEH4Ox-CGGXQl4M.cjs.map +1 -0
  447. package/dist/x-CnsEH4Ox-DDvAJndW.js +101 -0
  448. package/dist/x-CnsEH4Ox-DDvAJndW.js.map +1 -0
  449. package/package.json +15 -90
  450. package/dist/Axis-BlyBRMNw.cjs +0 -2
  451. package/dist/AxisTitle-BY8MI9jC.cjs +0 -2
  452. package/dist/AxisTitle-BeMxcw5I.js +0 -21
  453. package/dist/DropdownSelect-CuzV7gdj.cjs +0 -29
  454. package/dist/DropdownSelect-CuzV7gdj.cjs.map +0 -1
  455. package/dist/DropdownSelect-DmZsXrhY.js +0 -2698
  456. package/dist/DropdownSelect-DmZsXrhY.js.map +0 -1
  457. package/dist/EmptyState-BQguKAp5.cjs +0 -2
  458. package/dist/Modal-C9txyGOk.js +0 -723
  459. package/dist/Modal-C9txyGOk.js.map +0 -1
  460. package/dist/Modal-cQF2UQIa.cjs +0 -46
  461. package/dist/Modal-cQF2UQIa.cjs.map +0 -1
  462. package/dist/ReferenceLine-BgDdQbDI.js.map +0 -1
  463. package/dist/ReferenceLine-Bsb5jeE4.cjs +0 -2
  464. package/dist/ReferenceLine-Bsb5jeE4.cjs.map +0 -1
  465. package/dist/RegressionLine-BfpCuD7B.cjs +0 -2
  466. package/dist/Spinner-DN3s4S0H.js +0 -17
  467. package/dist/Spinner-DN3s4S0H.js.map +0 -1
  468. package/dist/Spinner-UmN-KPe9.cjs +0 -2
  469. package/dist/Spinner-UmN-KPe9.cjs.map +0 -1
  470. package/dist/Tooltip-BM18N_3l.cjs +0 -2
  471. package/dist/Typography-CDR-DAHH.cjs +0 -2
  472. package/dist/Typography-CDR-DAHH.cjs.map +0 -1
  473. package/dist/Typography-XJoSE-By.js +0 -58
  474. package/dist/Typography-XJoSE-By.js.map +0 -1
  475. package/dist/XAxesLabels-C9REbQQs.cjs +0 -2
  476. package/dist/XTicksAndGridLines-DuK35ROS.cjs +0 -2
  477. package/dist/YAxesLabels-DhBdLk3Z.cjs +0 -2
  478. package/dist/YTicksAndGridLines-CtLvzExe.cjs +0 -2
  479. package/dist/checkIfMultiple-CaefP4X2.js.map +0 -1
  480. package/dist/checkIfMultiple-D3h8to1T.cjs +0 -12
  481. package/dist/checkIfMultiple-D3h8to1T.cjs.map +0 -1
  482. package/dist/checkIfNullOrUndefined.d.ts +0 -15
  483. package/dist/checkIfNullOrUndefined.js +0 -2
  484. package/dist/checkIfNullOrUndefined.js.map +0 -1
  485. package/dist/customArea-B47Ew5cT.cjs +0 -2
  486. package/dist/excelDownload.d.ts +0 -31
  487. package/dist/excelDownload.js +0 -2
  488. package/dist/excelDownload.js.map +0 -1
  489. package/dist/generateCodes.d.ts +0 -25
  490. package/dist/generateCodes.js +0 -2
  491. package/dist/generateCodes.js.map +0 -1
  492. package/dist/getJenks.d.ts +0 -17
  493. package/dist/getJenks.js +0 -2
  494. package/dist/getJenks.js.map +0 -1
  495. package/dist/getPercentileValue.d.ts +0 -13
  496. package/dist/getPercentileValue.js +0 -2
  497. package/dist/getPercentileValue.js.map +0 -1
  498. package/dist/getQueryParamsFromLink.d.ts +0 -18
  499. package/dist/getQueryParamsFromLink.js +0 -2
  500. package/dist/getQueryParamsFromLink.js.map +0 -1
  501. package/dist/getSliderMarks-CWajGCGq.js +0 -719
  502. package/dist/getSliderMarks-CWajGCGq.js.map +0 -1
  503. package/dist/getSliderMarks-DDJ1CdhL.cjs +0 -6
  504. package/dist/getSliderMarks-DDJ1CdhL.cjs.map +0 -1
  505. package/dist/getTextColorBasedOnBgColor.d.ts +0 -13
  506. package/dist/getTextColorBasedOnBgColor.js +0 -2
  507. package/dist/getTextColorBasedOnBgColor.js.map +0 -1
  508. package/dist/getUniqValue.d.ts +0 -18
  509. package/dist/getUniqValue.js +0 -2
  510. package/dist/getUniqValue.js.map +0 -1
  511. package/dist/graphList.d.ts +0 -9
  512. package/dist/graphList.js +0 -2
  513. package/dist/graphList.js.map +0 -1
  514. package/dist/imageDownload.d.ts +0 -16
  515. package/dist/imageDownload.js +0 -3
  516. package/dist/imageDownload.js.map +0 -1
  517. package/dist/index-01r5X3Gr-9jE0ObrK.cjs +0 -2
  518. package/dist/index-01r5X3Gr-9jE0ObrK.cjs.map +0 -1
  519. package/dist/index-01r5X3Gr-kH7FxQ7P.js +0 -451
  520. package/dist/index-01r5X3Gr-kH7FxQ7P.js.map +0 -1
  521. package/dist/index-BGMGC-HN.cjs +0 -22
  522. package/dist/index-BGMGC-HN.cjs.map +0 -1
  523. package/dist/index-BHm2KTjD-2e-Fu8L-.js +0 -702
  524. package/dist/index-BHm2KTjD-2e-Fu8L-.js.map +0 -1
  525. package/dist/index-BHm2KTjD-D8FylaKc.cjs +0 -44
  526. package/dist/index-BHm2KTjD-D8FylaKc.cjs.map +0 -1
  527. package/dist/index-BIPNFFja.js +0 -506
  528. package/dist/index-BIPNFFja.js.map +0 -1
  529. package/dist/index-BYroABPm.cjs +0 -2
  530. package/dist/index-CEc_9zWy.cjs +0 -2
  531. package/dist/index-CEc_9zWy.cjs.map +0 -1
  532. package/dist/index-CbVeVrla.cjs +0 -2
  533. package/dist/index-CbVeVrla.cjs.map +0 -1
  534. package/dist/index-CqzhBPuO-CfQywbdq.js +0 -41
  535. package/dist/index-CqzhBPuO-CfQywbdq.js.map +0 -1
  536. package/dist/index-CqzhBPuO-raKZqS7l.cjs +0 -2
  537. package/dist/index-CqzhBPuO-raKZqS7l.cjs.map +0 -1
  538. package/dist/index-DSnvdkHZ.js +0 -495
  539. package/dist/index-DSnvdkHZ.js.map +0 -1
  540. package/dist/index-DXmF_0ez.js.map +0 -1
  541. package/dist/index-a2C2Bqn2.cjs +0 -10
  542. package/dist/numberFormattingFunction.d.ts +0 -22
  543. package/dist/numberFormattingFunction.js +0 -2
  544. package/dist/numberFormattingFunction.js.map +0 -1
  545. package/dist/removeOutliers.d.ts +0 -16
  546. package/dist/removeOutliers.js +0 -2
  547. package/dist/removeOutliers.js.map +0 -1
  548. package/dist/svgDownload.d.ts +0 -16
  549. package/dist/svgDownload.js +0 -2
  550. package/dist/svgDownload.js.map +0 -1
  551. package/dist/toConsumableArray-BSMMWi3w-Cu4vcE-m.js +0 -139
  552. package/dist/toConsumableArray-BSMMWi3w-Cu4vcE-m.js.map +0 -1
  553. package/dist/toConsumableArray-BSMMWi3w-DJL7-zAp.cjs +0 -4
  554. package/dist/toConsumableArray-BSMMWi3w-DJL7-zAp.cjs.map +0 -1
  555. package/dist/transformColumnsToArray.d.ts +0 -38
  556. package/dist/transformColumnsToArray.js +0 -2
  557. package/dist/transformColumnsToArray.js.map +0 -1
  558. package/dist/transformDataForAggregation.d.ts +0 -38
  559. package/dist/transformDataForAggregation.js +0 -2
  560. package/dist/transformDataForAggregation.js.map +0 -1
  561. package/dist/transformDataForGraph.d.ts +0 -47
  562. package/dist/transformDataForGraph.js +0 -2
  563. package/dist/transformDataForGraph.js.map +0 -1
  564. package/dist/transformDataForGraphFromFile.d.ts +0 -66
  565. package/dist/transformDataForGraphFromFile.js +0 -2
  566. package/dist/transformDataForGraphFromFile.js.map +0 -1
  567. package/dist/use-in-view-CZPXmTZM.js.map +0 -1
  568. package/dist/use-in-view-Dl1CsAIo.cjs.map +0 -1
  569. package/dist/x-Dft9NVe_-DcB7wtv5.js +0 -61
  570. package/dist/x-Dft9NVe_-DcB7wtv5.js.map +0 -1
  571. package/dist/x-Dft9NVe_-LeyJu02C.cjs +0 -27
  572. package/dist/x-Dft9NVe_-LeyJu02C.cjs.map +0 -1
@@ -1,2 +0,0 @@
1
- "use strict";const r=require("./index-BHm2KTjD-D8FylaKc.cjs"),j=require("react");var t={},s;function n(){return s||(s=1,function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const o=r.requireJsxRuntimeDszzpdy0(),a=j,x=r.requireIndexBHm2KTjD(),p=r.requireUtilsD9QIS7T(),d=x.cva("undp-button m-0! tracking-[0.48px] inline-flex items-center justify-center gap-2 uppercase whitespace-nowrap rounded-none text-lg font-bold transition-colors focus-visible:outline-hidden focus-visible:ring-1 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{primary:"bg-accent-dark-red text-primary-white button-arrow black-arrow hover:bg-accent-red","primary-without-icon":"bg-accent-dark-red text-primary-white hover:bg-accent-red",secondary:"bg-primary-blue-600 text-primary-white button-arrow white-arrow hover:bg-primary-blue-400","secondary-without-icon":"bg-primary-blue-600 text-primary-white hover:bg-primary-blue-400",tertiary:"bg-primary-gray-300 text-primary-gray-700 dark:bg-primary-gray-600 dark:text-primary-white red-arrow hover:bg-primary-gray-400 dark:hover:bg-primary-gray-550",link:"text-primary-gray-700 dark:text-primary-white red-arrow button-arrow","link-without-icon":"text-primary-gray-700 dark:text-primary-white dark:hover:text-primary-gray-500 hover:text-primary-gray-500",outline:"bg-transparent text-primary-black dark:text-primary-white border-2 border-primary-gray-700 dark:border-primary-gray-100 dark:hover:bg-primary-gray-550 hover:bg-primary-gray-300",icon:"bg-transparent dark:text-primary-gray-100 text-primary-gray-700 dark:hover:text-primary-gray-500 hover:text-primary-gray-500"},size:{base:"leading-none text-base!",xs:"leading-none text-xs!",sm:"leading-none text-sm!",xl:"leading-none text-xl!"},padding:{base:"py-4 px-6",sm:"px-4 py-2",none:"py-0 px-0"}},defaultVariants:{variant:"primary",size:"base",padding:"base"}}),i=a.forwardRef(({className:m,variant:h,size:l,padding:c,...u},g)=>o.jsxRuntimeExports.jsx("button",{...u,className:p.cn(d({variant:h,size:l,padding:c}),m),ref:g}));i.displayName="Button",e.Button=i}(t)),t}var w=n();function y(){return r.jsxRuntimeExports.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",className:"stroke-primary-black dark:stroke-primary-white",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",children:[r.jsxRuntimeExports.jsx("path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z"}),r.jsxRuntimeExports.jsx("path",{d:"M14 2v4a2 2 0 0 0 2 2h4"}),r.jsxRuntimeExports.jsx("path",{d:"M12 18v-6"}),r.jsxRuntimeExports.jsx("path",{d:"m9 15 3 3 3-3"})]})}function k(){return r.jsxRuntimeExports.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",className:"stroke-primary-black dark:stroke-primary-white",fill:"none",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round",children:[r.jsxRuntimeExports.jsx("path",{d:"M10.3 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v10l-3.1-3.1a2 2 0 0 0-2.814.014L6 21"}),r.jsxRuntimeExports.jsx("path",{d:"m14 19 3 3v-5.5"}),r.jsxRuntimeExports.jsx("path",{d:"m17 22 3-3"}),r.jsxRuntimeExports.jsx("circle",{cx:"9",cy:"9",r:"2"})]})}function v(){return r.jsxRuntimeExports.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",className:"stroke-primary-black dark:stroke-primary-white",fill:"none",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round",children:[r.jsxRuntimeExports.jsx("rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2"}),r.jsxRuntimeExports.jsx("path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"})]})}function R(){return r.jsxRuntimeExports.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",className:"stroke-primary-gray-600 dark:stroke-primary-white",fill:"none",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[r.jsxRuntimeExports.jsx("path",{d:"M18 6 6 18"}),r.jsxRuntimeExports.jsx("path",{d:"m6 6 12 12"})]})}function f(){return r.jsxRuntimeExports.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 24 24",className:"stroke-primary-black dark:stroke-primary-white",fill:"none",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round",children:[r.jsxRuntimeExports.jsx("path",{d:"m3 16 4 4 4-4"}),r.jsxRuntimeExports.jsx("path",{d:"M7 20V4"}),r.jsxRuntimeExports.jsx("path",{d:"m21 8-4-4-4 4"}),r.jsxRuntimeExports.jsx("path",{d:"M17 4v16"})]})}function E(){return r.jsxRuntimeExports.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 24 24",className:"stroke-primary-black dark:stroke-primary-white",fill:"none",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round",children:[r.jsxRuntimeExports.jsx("path",{d:"m3 16 4 4 4-4"}),r.jsxRuntimeExports.jsx("path",{d:"M7 20V4"}),r.jsxRuntimeExports.jsx("path",{d:"M11 4h10"}),r.jsxRuntimeExports.jsx("path",{d:"M11 8h7"}),r.jsxRuntimeExports.jsx("path",{d:"M11 12h4"})]})}function b(){return r.jsxRuntimeExports.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 24 24",className:"stroke-primary-black dark:stroke-primary-white",fill:"none",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round",children:[r.jsxRuntimeExports.jsx("path",{d:"m3 16 4 4 4-4"}),r.jsxRuntimeExports.jsx("path",{d:"M7 20V4"}),r.jsxRuntimeExports.jsx("path",{d:"M11 4h4"}),r.jsxRuntimeExports.jsx("path",{d:"M11 8h7"}),r.jsxRuntimeExports.jsx("path",{d:"M11 12h10"})]})}function L(){return r.jsxRuntimeExports.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 24 24",className:"stroke-primary-black dark:stroke-primary-white",fill:"none",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round",children:r.jsxRuntimeExports.jsx("polygon",{points:"22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3"})})}function B(){return r.jsxRuntimeExports.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[r.jsxRuntimeExports.jsx("path",{d:"M16.926 9L14 12.46V21L10 19V12.46L2 3H14.5",className:"stroke-primary-black dark:stroke-primary-white",fill:"none",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"}),r.jsxRuntimeExports.jsx("circle",{cx:"20",cy:"4",r:"3",className:"stroke-primary-black dark:stroke-primary-white fill-primary-black dark:fill-primary-white",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"})]})}function M(){return r.jsxRuntimeExports.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",className:"stroke-primary-white dark:stroke-primary-white",fill:"none",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[r.jsxRuntimeExports.jsx("path",{d:"m9 7-5 5 5 5"}),r.jsxRuntimeExports.jsx("path",{d:"m15 7 5 5-5 5"})]})}function N(){return r.jsxRuntimeExports.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48",children:[r.jsxRuntimeExports.jsx("circle",{cx:24,cy:24,r:24,className:"fill-primary-gray-300 dark:fill-primary-gray-600"}),r.jsxRuntimeExports.jsx("polygon",{points:"6 3 20 12 6 21 6 3",className:"fill-accent-dark-red dark:fill-accent-red",transform:"translate(10,10) scale(1.25)"})]})}function I(){return r.jsxRuntimeExports.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48",children:[r.jsxRuntimeExports.jsx("circle",{cx:24,cy:24,r:24,className:"fill-primary-gray-300 dark:fill-primary-gray-600"}),r.jsxRuntimeExports.jsx("rect",{x:"14",y:"4",width:"4",height:"16",rx:"1",className:"fill-accent-dark-red dark:fill-accent-red",transform:"translate(10,10) scale(1.25)"}),r.jsxRuntimeExports.jsx("rect",{x:"6",y:"4",width:"4",height:"16",rx:"1",className:"fill-accent-dark-red dark:fill-accent-red",transform:"translate(10,10) scale(1.25)"})]})}function W(){return r.jsxRuntimeExports.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:"stroke-primary-gray-500 dark:stroke-primary-gray-550",children:[r.jsxRuntimeExports.jsx("path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3"}),r.jsxRuntimeExports.jsx("path",{d:"M12 9v4"}),r.jsxRuntimeExports.jsx("path",{d:"M12 17h.01"})]})}exports.Alert=W;exports.ButtonExports=w;exports.ChevronLeftRight=M;exports.Copy=v;exports.FileDown=y;exports.FilterIcon=L;exports.FilterIconApplied=B;exports.ImageDown=k;exports.Pause=I;exports.Play=N;exports.SortingIcon=f;exports.SortingIconAscending=b;exports.SortingIconDescending=E;exports.X=R;exports.requireButton=n;
2
- //# sourceMappingURL=index-CEc_9zWy.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index-CEc_9zWy.cjs","sources":["../node_modules/@undp/design-system-react/dist/Button.js","../src/Components/Icons/index.tsx"],"sourcesContent":["\"use strict\";Object.defineProperty(exports,Symbol.toStringTag,{value:\"Module\"});const y=require(\"./jsx-runtime-Dszzpdy0.cjs\"),p=require(\"react\"),s=require(\"./index-BHm2KTjD.cjs\"),d=require(\"./utils-D9-qIS7T.cjs\"),g=s.cva(\"undp-button m-0! tracking-[0.48px] inline-flex items-center justify-center gap-2 uppercase whitespace-nowrap rounded-none text-lg font-bold transition-colors focus-visible:outline-hidden focus-visible:ring-1 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0\",{variants:{variant:{primary:\"bg-accent-dark-red text-primary-white button-arrow black-arrow hover:bg-accent-red\",\"primary-without-icon\":\"bg-accent-dark-red text-primary-white hover:bg-accent-red\",secondary:\"bg-primary-blue-600 text-primary-white button-arrow white-arrow hover:bg-primary-blue-400\",\"secondary-without-icon\":\"bg-primary-blue-600 text-primary-white hover:bg-primary-blue-400\",tertiary:\"bg-primary-gray-300 text-primary-gray-700 dark:bg-primary-gray-600 dark:text-primary-white red-arrow hover:bg-primary-gray-400 dark:hover:bg-primary-gray-550\",link:\"text-primary-gray-700 dark:text-primary-white red-arrow button-arrow\",\"link-without-icon\":\"text-primary-gray-700 dark:text-primary-white dark:hover:text-primary-gray-500 hover:text-primary-gray-500\",outline:\"bg-transparent text-primary-black dark:text-primary-white border-2 border-primary-gray-700 dark:border-primary-gray-100 dark:hover:bg-primary-gray-550 hover:bg-primary-gray-300\",icon:\"bg-transparent dark:text-primary-gray-100 text-primary-gray-700 dark:hover:text-primary-gray-500 hover:text-primary-gray-500\"},size:{base:\"leading-none text-base!\",xs:\"leading-none text-xs!\",sm:\"leading-none text-sm!\",xl:\"leading-none text-xl!\"},padding:{base:\"py-4 px-6\",sm:\"px-4 py-2\",none:\"py-0 px-0\"}},defaultVariants:{variant:\"primary\",size:\"base\",padding:\"base\"}}),r=p.forwardRef(({className:e,variant:t,size:a,padding:i,...n},o)=>y.jsxRuntimeExports.jsx(\"button\",{...n,className:d.cn(g({variant:t,size:a,padding:i}),e),ref:o}));r.displayName=\"Button\";exports.Button=r;\n//# sourceMappingURL=Button.js.map\n","export function FileDown() {\r\n return (\r\n <svg\r\n xmlns='http://www.w3.org/2000/svg'\r\n width='20'\r\n height='20'\r\n viewBox='0 0 24 24'\r\n className='stroke-primary-black dark:stroke-primary-white'\r\n fill='none'\r\n strokeLinecap='round'\r\n strokeLinejoin='round'\r\n >\r\n <path d='M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z' />\r\n <path d='M14 2v4a2 2 0 0 0 2 2h4' />\r\n <path d='M12 18v-6' />\r\n <path d='m9 15 3 3 3-3' />\r\n </svg>\r\n );\r\n}\r\n\r\nexport function ImageDown() {\r\n return (\r\n <svg\r\n xmlns='http://www.w3.org/2000/svg'\r\n width='20'\r\n height='20'\r\n viewBox='0 0 24 24'\r\n className='stroke-primary-black dark:stroke-primary-white'\r\n fill='none'\r\n strokeWidth='1.2'\r\n strokeLinecap='round'\r\n strokeLinejoin='round'\r\n >\r\n <path d='M10.3 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v10l-3.1-3.1a2 2 0 0 0-2.814.014L6 21' />\r\n <path d='m14 19 3 3v-5.5' />\r\n <path d='m17 22 3-3' />\r\n <circle cx='9' cy='9' r='2' />\r\n </svg>\r\n );\r\n}\r\n\r\nexport function Copy() {\r\n return (\r\n <svg\r\n xmlns='http://www.w3.org/2000/svg'\r\n width='20'\r\n height='20'\r\n viewBox='0 0 24 24'\r\n className='stroke-primary-black dark:stroke-primary-white'\r\n fill='none'\r\n strokeWidth='1.2'\r\n strokeLinecap='round'\r\n strokeLinejoin='round'\r\n >\r\n <rect width='14' height='14' x='8' y='8' rx='2' ry='2' />\r\n <path d='M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2' />\r\n </svg>\r\n );\r\n}\r\n\r\nexport function X() {\r\n return (\r\n <svg\r\n xmlns='http://www.w3.org/2000/svg'\r\n width='16'\r\n height='16'\r\n viewBox='0 0 24 24'\r\n className='stroke-primary-gray-600 dark:stroke-primary-white'\r\n fill='none'\r\n strokeWidth='2'\r\n strokeLinecap='round'\r\n strokeLinejoin='round'\r\n >\r\n <path d='M18 6 6 18' />\r\n <path d='m6 6 12 12' />\r\n </svg>\r\n );\r\n}\r\n\r\nexport function CircleCheckBig() {\r\n return (\r\n <svg\r\n xmlns='http://www.w3.org/2000/svg'\r\n width='20'\r\n height='20'\r\n viewBox='0 0 24 24'\r\n className='stroke-primary-black dark:stroke-primary-white'\r\n fill='none'\r\n strokeWidth='2'\r\n strokeLinecap='round'\r\n strokeLinejoin='round'\r\n >\r\n <path d='M22 11.08V12a10 10 0 1 1-5.93-9.14' />\r\n <path d='m9 11 3 3L22 4' />\r\n </svg>\r\n );\r\n}\r\n\r\nexport function SortingIcon() {\r\n return (\r\n <svg\r\n xmlns='http://www.w3.org/2000/svg'\r\n width='14'\r\n height='14'\r\n viewBox='0 0 24 24'\r\n className='stroke-primary-black dark:stroke-primary-white'\r\n fill='none'\r\n strokeWidth='1.25'\r\n strokeLinecap='round'\r\n strokeLinejoin='round'\r\n >\r\n <path d='m3 16 4 4 4-4' />\r\n <path d='M7 20V4' />\r\n <path d='m21 8-4-4-4 4' />\r\n <path d='M17 4v16' />\r\n </svg>\r\n );\r\n}\r\nexport function SortingIconDescending() {\r\n return (\r\n <svg\r\n xmlns='http://www.w3.org/2000/svg'\r\n width='14'\r\n height='14'\r\n viewBox='0 0 24 24'\r\n className='stroke-primary-black dark:stroke-primary-white'\r\n fill='none'\r\n strokeWidth='1.25'\r\n strokeLinecap='round'\r\n strokeLinejoin='round'\r\n >\r\n <path d='m3 16 4 4 4-4' />\r\n <path d='M7 20V4' />\r\n <path d='M11 4h10' />\r\n <path d='M11 8h7' />\r\n <path d='M11 12h4' />\r\n </svg>\r\n );\r\n}\r\n\r\nexport function SortingIconAscending() {\r\n return (\r\n <svg\r\n xmlns='http://www.w3.org/2000/svg'\r\n width='14'\r\n height='14'\r\n viewBox='0 0 24 24'\r\n className='stroke-primary-black dark:stroke-primary-white'\r\n fill='none'\r\n strokeWidth='1.25'\r\n strokeLinecap='round'\r\n strokeLinejoin='round'\r\n >\r\n <path d='m3 16 4 4 4-4' />\r\n <path d='M7 20V4' />\r\n <path d='M11 4h4' />\r\n <path d='M11 8h7' />\r\n <path d='M11 12h10' />\r\n </svg>\r\n );\r\n}\r\n\r\nexport function FilterIcon() {\r\n return (\r\n <svg\r\n xmlns='http://www.w3.org/2000/svg'\r\n width='14'\r\n height='14'\r\n viewBox='0 0 24 24'\r\n className='stroke-primary-black dark:stroke-primary-white'\r\n fill='none'\r\n strokeWidth='1.25'\r\n strokeLinecap='round'\r\n strokeLinejoin='round'\r\n >\r\n <polygon points='22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3' />\r\n </svg>\r\n );\r\n}\r\n\r\nexport function FilterIconApplied() {\r\n return (\r\n <svg width='14' height='14' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'>\r\n <path\r\n d='M16.926 9L14 12.46V21L10 19V12.46L2 3H14.5'\r\n className='stroke-primary-black dark:stroke-primary-white'\r\n fill='none'\r\n strokeWidth='1.25'\r\n strokeLinecap='round'\r\n strokeLinejoin='round'\r\n />\r\n <circle\r\n cx='20'\r\n cy='4'\r\n r='3'\r\n className='stroke-primary-black dark:stroke-primary-white fill-primary-black dark:fill-primary-white'\r\n strokeWidth='1.25'\r\n strokeLinecap='round'\r\n strokeLinejoin='round'\r\n />\r\n </svg>\r\n );\r\n}\r\n\r\nexport function ChevronLeftRight() {\r\n return (\r\n <svg\r\n xmlns='http://www.w3.org/2000/svg'\r\n width='24'\r\n height='24'\r\n viewBox='0 0 24 24'\r\n className='stroke-primary-white dark:stroke-primary-white'\r\n fill='none'\r\n strokeWidth='2'\r\n strokeLinecap='round'\r\n strokeLinejoin='round'\r\n >\r\n <path d='m9 7-5 5 5 5' />\r\n <path d='m15 7 5 5-5 5' />\r\n </svg>\r\n );\r\n}\r\n\r\nexport function ChevronLeft() {\r\n return (\r\n <svg\r\n xmlns='http://www.w3.org/2000/svg'\r\n width='24'\r\n height='24'\r\n viewBox='0 0 24 24'\r\n className='stroke-primary-white dark:stroke-primary-white'\r\n fill='none'\r\n strokeWidth='2'\r\n strokeLinecap='round'\r\n strokeLinejoin='round'\r\n >\r\n <path d='m15 18-6-6 6-6' />\r\n </svg>\r\n );\r\n}\r\n\r\nexport function ChevronRight() {\r\n return (\r\n <svg\r\n xmlns='http://www.w3.org/2000/svg'\r\n width='24'\r\n height='24'\r\n viewBox='0 0 24 24'\r\n className='stroke-primary-black dark:stroke-primary-white'\r\n fill='none'\r\n strokeWidth='2'\r\n strokeLinecap='round'\r\n strokeLinejoin='round'\r\n >\r\n <path d='m9 18 6-6-6-6' />\r\n </svg>\r\n );\r\n}\r\n\r\nexport function MoreHorizontal() {\r\n return (\r\n <svg\r\n xmlns='http://www.w3.org/2000/svg'\r\n width='24'\r\n height='24'\r\n viewBox='0 0 24 24'\r\n className='stroke-primary-black dark:stroke-primary-white'\r\n fill='none'\r\n strokeWidth='2'\r\n strokeLinecap='round'\r\n strokeLinejoin='round'\r\n >\r\n <circle cx='12' cy='12' r='1' />\r\n <circle cx='19' cy='12' r='1' />\r\n <circle cx='5' cy='12' r='1' />\r\n </svg>\r\n );\r\n}\r\n\r\nexport function Play() {\r\n return (\r\n <svg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'>\r\n <circle cx={24} cy={24} r={24} className='fill-primary-gray-300 dark:fill-primary-gray-600' />\r\n <polygon\r\n points='6 3 20 12 6 21 6 3'\r\n className='fill-accent-dark-red dark:fill-accent-red'\r\n transform='translate(10,10) scale(1.25)'\r\n />\r\n </svg>\r\n );\r\n}\r\n\r\nexport function Pause() {\r\n return (\r\n <svg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'>\r\n <circle cx={24} cy={24} r={24} className='fill-primary-gray-300 dark:fill-primary-gray-600' />\r\n <rect\r\n x='14'\r\n y='4'\r\n width='4'\r\n height='16'\r\n rx='1'\r\n className='fill-accent-dark-red dark:fill-accent-red'\r\n transform='translate(10,10) scale(1.25)'\r\n />\r\n <rect\r\n x='6'\r\n y='4'\r\n width='4'\r\n height='16'\r\n rx='1'\r\n className='fill-accent-dark-red dark:fill-accent-red'\r\n transform='translate(10,10) scale(1.25)'\r\n />\r\n </svg>\r\n );\r\n}\r\n\r\nexport function Alert() {\r\n return (\r\n <svg\r\n xmlns='http://www.w3.org/2000/svg'\r\n width='48'\r\n height='48'\r\n viewBox='0 0 24 24'\r\n fill='none'\r\n stroke='currentColor'\r\n strokeWidth='1.5'\r\n strokeLinecap='round'\r\n strokeLinejoin='round'\r\n className='stroke-primary-gray-500 dark:stroke-primary-gray-550'\r\n >\r\n <path d='m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3' />\r\n <path d='M12 9v4' />\r\n <path d='M12 17h.01' />\r\n </svg>\r\n );\r\n}\r\n"],"names":["exports","y","require$$0","p","require$$1","s","require$$2","d","g","r","e","t","a","i","n","o","FileDown","jsxs","jsx","ImageDown","Copy","X","SortingIcon","SortingIconDescending","SortingIconAscending","FilterIcon","FilterIconApplied","ChevronLeftRight","Play","Pause","Alert"],"mappings":"oIAAa,OAAO,eAAeA,EAAQ,OAAO,YAAY,CAAC,MAAM,QAAQ,CAAC,EAAE,MAAMC,EAAEC,EAAAA,0BAAA,EAAsCC,EAAEC,EAAiBC,EAAEC,EAAAA,qBAAA,EAAgCC,0BAAkCC,EAAEH,EAAE,IAAI,+TAA+T,CAAC,SAAS,CAAC,QAAQ,CAAC,QAAQ,qFAAqF,uBAAuB,4DAA4D,UAAU,4FAA4F,yBAAyB,mEAAmE,SAAS,gKAAgK,KAAK,uEAAu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,SAAA,CAAAC,EAAAA,kBAAAA,IAAC,SAAA,CAAO,GAAI,GAAI,GAAI,GAAI,EAAG,GAAI,UAAU,kDAAA,CAAmD,EAC5FA,EAAAA,kBAAAA,IAAC,OAAA,CACC,EAAE,KACF,EAAE,IACF,MAAM,IACN,OAAO,KACP,GAAG,IACH,UAAU,4CACV,UAAU,8BAAA,CAAA,EAEZA,EAAAA,kBAAAA,IAAC,OAAA,CACC,EAAE,IACF,EAAE,IACF,MAAM,IACN,OAAO,KACP,GAAG,IACH,UAAU,4CACV,UAAU,8BAAA,CAAA,CACZ,EACF,CAEJ,CAEO,SAASY,GAAQ,CACtB,OACEb,EAAAA,kBAAAA,KAAC,MAAA,CACC,MAAM,6BACN,MAAM,KACN,OAAO,KACP,QAAQ,YACR,KAAK,OACL,OAAO,eACP,YAAY,MACZ,cAAc,QACd,eAAe,QACf,UAAU,uDAEV,SAAA,CAAAC,EAAAA,kBAAAA,IAAC,OAAA,CAAK,EAAE,0EAAA,CAA2E,EACnFA,EAAAA,kBAAAA,IAAC,OAAA,CAAK,EAAE,SAAA,CAAU,EAClBA,EAAAA,kBAAAA,IAAC,OAAA,CAAK,EAAE,YAAA,CAAa,CAAA,CAAA,CAAA,CAG3B","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";const o=require("./index-BHm2KTjD-D8FylaKc.cjs"),me=require("./index-CZbIGs8q.cjs"),n=require("react"),ve=require("./index-C21TvELx.cjs"),fe=require("./Typography-CDR-DAHH.cjs"),je=require("./index-BczVvEBZ.cjs"),ye=require("./Modal-cQF2UQIa.cjs"),we=require("./Spinner-UmN-KPe9.cjs"),be=require("./Tooltip-BM18N_3l.cjs"),Ce=require("./numberFormattingFunction.js"),pe=require("./getTextColorBasedOnBgColor.js"),ae=require("./Colors.js"),K=require("./checkIfNullOrUndefined.js"),Me=require("./string2HTML-X4ZYX5jI.cjs"),Y=require("./use-in-view-Dl1CsAIo.cjs"),Ee=require("./pow-B5-jkdHU.cjs"),Re=require("./index-a2C2Bqn2.cjs"),A=require("./y-QcCbqrzx.cjs"),ke=require("./GraphFooter.js"),Oe=require("./GraphHeader.js"),Se=require("./ColorLegendWithMouseOver.js"),Ne=require("./EmptyState-BQguKAp5.cjs");function _(k,i){let s,x;if(i===void 0)for(const c of k)c!=null&&(s===void 0?c>=c&&(s=x=c):(s>c&&(s=c),x<c&&(x=c)));else{let c=-1;for(let u of k)(u=i(u,++c,k))!=null&&(s===void 0?u>=u&&(s=x=u):(s>u&&(s=u),x<u&&(x=u)))}return[s,x]}const ge=n.memo(k=>{const{data:i,colors:s,leftMargin:x,width:c,height:u,colorDomain:$,selectedColor:b,rightMargin:J,topMargin:Q,bottomMargin:C,showLabels:a,tooltip:B,onSeriesMouseOver:O,showValues:H,suffix:Z,prefix:M,highlightedDataPoints:L,onSeriesMouseClick:q,maxRadiusValue:z,radius:d,resetSelectionOnDoubleClick:ee,detailsOnClick:j,styles:te,classNames:P,animate:y,dimmedOpacity:D,precision:ce}=k,F=n.useRef(null),I=Y.useInView(F,{once:y.once,amount:y.amount}),[V,S]=n.useState(void 0),[m,E]=n.useState(void 0),[f,ie]=n.useState(void 0),[oe,W]=n.useState(void 0),[ne,v]=n.useState(void 0),[w,G]=n.useState(null),R=n.useMemo(()=>({top:Q,bottom:C,left:x,right:J}),[Q,C,x,J]),re=c-R.left-R.right,p=u-R.top-R.bottom,U=n.useMemo(()=>i.filter(e=>!K.checkIfNullOrUndefined(e.size)).length===0?i:je.orderBy(i.filter(e=>!K.checkIfNullOrUndefined(e.size)),"radius","asc"),[i]),h=n.useMemo(()=>i.filter(e=>e.size===void 0||e.size===null).length!==i.length?Ee.sqrt().domain([0,K.checkIfNullOrUndefined(z)?Math.max(...i.map(e=>e.size).filter(e=>e!=null)):z]).range([.25,d]).nice():void 0,[i,z,d]);n.useEffect(()=>{(()=>{const l=[...U];A.forceSimulation(l).force("y",A.forceY(r=>p/2).strength(1)).force("x",A.forceX(r=>re/2).strength(1)).force("collide",A.forceCollide(r=>h?h(r.size||0)+1:d+1)).force("charge",A.forceManyBody().strength(-15)).alphaDecay(.05).tick(1e4).on("tick",()=>{G(l)}).on("end",()=>{G(l);const r=_(l,g=>g.x-(h?h(g.size||0)+1:d+1))[0]||0,X=_(l,g=>g.y-(h?h(g.size||0)+1:d+1))[0]||0,T=_(l,g=>g.x+(h?h(g.size||0)+1:d+1))[1]||0,xe=_(l,g=>g.y+(h?h(g.size||0)+1:d+1))[1]||0;ie([r,X,r<0?T-r:T,X<0?xe-X:xe])})})()},[i,d,p,re,z,U,h]);const se=n.useCallback((e,l)=>{S(l),v(e.clientY),W(e.clientX),O?.(l)},[O]),ue=n.useCallback((e,l)=>{S(l),v(e.clientY),W(e.clientX)},[]),de=n.useCallback(e=>{(q||j)&&(m===e.label&&ee?(E(void 0),q?.(void 0)):(E(e.label),q?.(e)))},[q,j,m,ee]),N=n.useCallback(()=>{S(void 0),W(void 0),v(void 0),O?.(void 0)},[O]),le=n.useCallback(e=>i.filter(l=>l.color).length===0?s[0]:e.color?s[$.indexOf(e.color)]:ae.Colors.gray,[i,s,$]),t=n.useCallback(e=>b?e.color&&s[$.indexOf(e.color)]===b?1:D:L.length!==0?L.indexOf(e.label)!==-1?.85:D:.85,[b,D,s,$,L]);return w?f?o.jsxRuntimeExports.jsxs(o.jsxRuntimeExports.Fragment,{children:[o.jsxRuntimeExports.jsx(Y.motion.svg,{width:`${c}px`,height:`${u}px`,viewBox:`${f[0]>0?0:f[0]} ${f[1]>0?0:f[1]} ${c<f[2]?f[2]:c} ${u<f[3]?f[3]:u}`,direction:"ltr",ref:F,children:o.jsxRuntimeExports.jsx("g",{transform:`translate(${R.left},${R.top})`,children:o.jsxRuntimeExports.jsx(Re.AnimatePresence,{children:w.map(e=>{const l=le(e),he=t(e),r=h?h(e.size||0):d,X=r>20&&(a||H);return o.jsxRuntimeExports.jsxs(Y.motion.g,{className:"undp-viz-g-with-hover",transform:`translate(${e.x},${e.y})`,onMouseEnter:T=>se(T,e),onMouseMove:T=>ue(T,e),onClick:()=>de(e),onMouseLeave:N,variants:{initial:{opacity:0},whileInView:{opacity:he,transition:{duration:y.duration}}},initial:"initial",animate:I?"whileInView":"initial",children:[o.jsxRuntimeExports.jsx(Y.motion.circle,{cx:0,cy:0,r,exit:{fill:l,r:0,opacity:0,transition:{duration:y.duration}},variants:{initial:{fill:l,r:0,opacity:0},whileInView:{fill:l,r,opacity:1,transition:{duration:y.duration}}},initial:"initial",animate:I?"whileInView":"initial"}),(X||H)&&e.size!==void 0&&e.size!==null&&o.jsxRuntimeExports.jsx(Y.motion.g,{variants:{initial:{opacity:0},whileInView:{opacity:1,transition:{duration:y.duration}}},initial:"initial",animate:I?"whileInView":"initial",exit:{opacity:0,transition:{duration:y.duration}},children:o.jsxRuntimeExports.jsx("foreignObject",{y:0-r,x:0-r,width:2*r,height:2*r,children:o.jsxRuntimeExports.jsxs("div",{className:"flex flex-col justify-center items-center h-full py-0 px-3",children:[a&&o.jsxRuntimeExports.jsx("p",{className:fe.cnExports.cn("text-center leading-[1.25] overflow-hidden m-0 circle-packing-label",P?.graphObjectValues),style:{fontSize:`${Math.min(Math.max(Math.round(r/4),12),Math.max(Math.round(r*12/`${e.label}`.length),12),14)}px`,WebkitLineClamp:r*2<60?1:r*2<75?2:r*2<100?3:void 0,display:"-webkit-box",WebkitBoxOrient:"vertical",color:pe.getTextColorBasedOnBgColor(l),hyphens:"auto",...te?.graphObjectValues||{}},children:e.label}),H&&o.jsxRuntimeExports.jsx("p",{className:"text-center font-bold leading-[1.25] w-full m-0 circle-packing-value",style:{fontSize:`${Math.min(Math.max(Math.round(r/4),14),14)}px`,color:pe.getTextColorBasedOnBgColor(l)},children:Ce.numberFormattingFunction(e.size,"NA",ce,M,Z)})]})})})]},e.label)})})})}),V&&B&&oe&&ne&&o.jsxRuntimeExports.jsx(be.Tooltip,{data:V,body:B,xPos:oe,yPos:ne,backgroundStyle:te?.tooltip,className:P?.tooltip}),j&&m!==void 0?o.jsxRuntimeExports.jsx(ye.ModalExports.Modal,{open:m!==void 0,onClose:()=>{E(void 0)},children:o.jsxRuntimeExports.jsx("div",{className:"graph-modal-content m-0",dangerouslySetInnerHTML:typeof j=="string"?{__html:Me.string2HTML(j,m)}:void 0,children:typeof j=="function"?j(m):null})}):null]}):null:o.jsxRuntimeExports.jsx("div",{style:{width:`${c}px`,height:`${u}px`},children:o.jsxRuntimeExports.jsx("div",{className:"flex m-auto items-center justify-center p-0 leading-none text-base h-40",children:o.jsxRuntimeExports.jsx(we.SpinnerExports.Spinner,{})})})});ge.displayName="BubbleChart";function $e(k){const{data:i,graphTitle:s,colors:x,suffix:c="",sources:u,prefix:$="",graphDescription:b,leftMargin:J=0,rightMargin:Q=0,height:C,width:a,footNote:B,colorDomain:O,colorLegendTitle:H,padding:Z,backgroundColor:M=!1,topMargin:L=0,bottomMargin:q=0,showLabels:z=!0,relativeHeight:d,tooltip:ee,onSeriesMouseOver:j,showColorScale:te=!0,showValues:P,graphID:y,highlightedDataPoints:D=[],onSeriesMouseClick:ce,graphDownload:F=!1,dataDownload:I=!1,language:V="en",showNAColor:S,minHeight:m=0,theme:E="light",ariaLabel:f,radius:ie,maxRadiusValue:oe,resetSelectionOnDoubleClick:W=!0,detailsOnClick:ne,styles:v,classNames:w,animate:G=!1,dimmedOpacity:R=.3,precision:re=2}=k,[p,U]=n.useState(0),[h,se]=n.useState(0),[ue,de]=n.useState(void 0),N=n.useRef(null),le=n.useRef(null);return n.useEffect(()=>{const t=new ResizeObserver(e=>{U(a||e[0].target.clientWidth||620),se(C||e[0].target.clientHeight||480)});return N.current&&(se(N.current.clientHeight||480),U(N.current.clientWidth||620),a||t.observe(N.current)),()=>t.disconnect()},[a,C]),o.jsxRuntimeExports.jsx("div",{className:`${E||"light"} flex ${a?"w-fit grow-0":"w-full grow"}`,dir:V==="he"||V==="ar"?"rtl":void 0,children:o.jsxRuntimeExports.jsx("div",{className:fe.cnExports.cn(`${M?M===!0?"bg-primary-gray-200 dark:bg-primary-gray-650 ":"":"bg-transparent "}ml-auto mr-auto flex flex-col grow h-inherit ${V||"en"}`,w?.graphContainer),style:{...v?.graphContainer||{},...M&&M!==!0?{backgroundColor:M}:{}},id:y,ref:le,"aria-label":f||`${s?`The graph shows ${s}. `:""}This is a chart where data points are represented by circles, and their sizes reflect their values.${b?` ${b}`:""}`,children:o.jsxRuntimeExports.jsx("div",{className:"flex grow",style:{padding:M?Z||"1rem":Z||0},children:o.jsxRuntimeExports.jsxs("div",{className:"flex flex-col w-full gap-4 grow justify-between",children:[s||b||F||I?o.jsxRuntimeExports.jsx(Oe.GraphHeader,{styles:{title:v?.title,description:v?.description},classNames:{title:w?.title,description:w?.description},graphTitle:s,graphDescription:b,width:a,graphDownload:F?le.current:void 0,dataDownload:I?i.map(t=>t.data).filter(t=>t!==void 0).length>0?i.map(t=>t.data).filter(t=>t!==void 0):i.filter(t=>t!==void 0):null}):null,o.jsxRuntimeExports.jsx("div",{className:"grow flex flex-col justify-center gap-3 w-full",children:i.length===0?o.jsxRuntimeExports.jsx(Ne.EmptyState,{}):o.jsxRuntimeExports.jsxs(o.jsxRuntimeExports.Fragment,{children:[te&&i.filter(t=>t.color).length!==0?o.jsxRuntimeExports.jsx(Se.ColorLegendWithMouseOver,{width:a,colorLegendTitle:H,colors:x||ae.Colors[E].categoricalColors.colors,colorDomain:O||me.uniqBy(i.filter(t=>t.color),"color").map(t=>t.color),setSelectedColor:de,showNAColor:S??!0,isCenter:!0}):null,o.jsxRuntimeExports.jsx("div",{className:"flex flex-col grow justify-center w-full leading-0",ref:N,"aria-label":"Graph area",children:(a||p)&&(C||h)?o.jsxRuntimeExports.jsx(ge,{data:i,colors:i.filter(t=>t.color).length===0?x?[x]:[ae.Colors.primaryColors["blue-600"]]:x||ae.Colors[E].categoricalColors.colors,colorDomain:i.filter(t=>t.color).length===0?[]:O||me.uniqBy(i.filter(t=>t.color),"color").map(t=>t.color),width:a||p,height:Math.max(m,C||(d?m?(a||p)*d>m?(a||p)*d:m:(a||p)*d:h)),leftMargin:J,rightMargin:Q,topMargin:L,bottomMargin:q,showLabels:z,showValues:P!==!1?i.filter(t=>t.size).length!==0:P,selectedColor:ue,suffix:c,prefix:$,tooltip:ee,onSeriesMouseOver:j,highlightedDataPoints:D,onSeriesMouseClick:ce,theme:E,radius:ie||Math.min(a||p,C||(d?m?(a||p)*d>m?(a||p)*d:m:(a||p)*d:h))*(i.filter(t=>!K.checkIfNullOrUndefined(t.size)).length===0?1:Math.max(...i.map(t=>t.size).filter(t=>t!=null)))/(i.filter(t=>!K.checkIfNullOrUndefined(t.size)).length===0?i.length:ve.sum(i.filter(t=>t.size).map(t=>t.size))*1.25),maxRadiusValue:oe,resetSelectionOnDoubleClick:W,detailsOnClick:ne,styles:v,classNames:w,animate:G===!0?{duration:.5,once:!0,amount:.5}:G||{duration:0,once:!0,amount:0},dimmedOpacity:R,precision:re}):null})]})}),u||B?o.jsxRuntimeExports.jsx(ke.GraphFooter,{styles:{footnote:v?.footnote,source:v?.source},classNames:{footnote:w?.footnote,source:w?.source},sources:u,footNote:B,width:a}):null]})})})})}exports.CirclePackingGraph=$e;exports.extent=_;
2
- //# sourceMappingURL=index-CbVeVrla.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index-CbVeVrla.cjs","sources":["../node_modules/d3-array/src/extent.js","../src/Components/Graphs/CirclePackingGraph/Graph.tsx","../src/Components/Graphs/CirclePackingGraph/index.tsx"],"sourcesContent":["export default function extent(values, valueof) {\n let min;\n let max;\n if (valueof === undefined) {\n for (const value of values) {\n if (value != null) {\n if (min === undefined) {\n if (value >= value) min = max = value;\n } else {\n if (min > value) min = value;\n if (max < value) max = value;\n }\n }\n }\n } else {\n let index = -1;\n for (let value of values) {\n if ((value = valueof(value, ++index, values)) != null) {\n if (min === undefined) {\n if (value >= value) min = max = value;\n } else {\n if (min > value) min = value;\n if (max < value) max = value;\n }\n }\n }\n }\n return [min, max];\n}\n","import { memo, useCallback, useMemo, useEffect, useState, useRef } from 'react';\r\nimport { forceCollide, forceManyBody, forceSimulation, forceX, forceY } from 'd3-force';\r\nimport orderBy from 'lodash.orderby';\r\nimport { scaleSqrt } from 'd3-scale';\r\nimport { extent } from 'd3-array';\r\nimport { Modal } from '@undp/design-system-react/Modal';\r\nimport { cn } from '@undp/design-system-react/cn';\r\nimport { Spinner } from '@undp/design-system-react/Spinner';\r\nimport { AnimatePresence, motion, useInView } from 'motion/react';\r\n\r\nimport { AnimateDataType, ClassNameObject, StyleObject, TreeMapDataType } from '@/Types';\r\nimport { Tooltip } from '@/Components/Elements/Tooltip';\r\nimport { numberFormattingFunction } from '@/Utils/numberFormattingFunction';\r\nimport { getTextColorBasedOnBgColor } from '@/Utils/getTextColorBasedOnBgColor';\r\nimport { Colors } from '@/Components/ColorPalette';\r\nimport { checkIfNullOrUndefined } from '@/Utils/checkIfNullOrUndefined';\r\nimport { string2HTML } from '@/Utils/string2HTML';\r\n\r\ninterface Props {\r\n data: TreeMapDataType[];\r\n colors: string[];\r\n colorDomain: string[];\r\n leftMargin: number;\r\n rightMargin: number;\r\n topMargin: number;\r\n bottomMargin: number;\r\n showLabels: boolean;\r\n showValues: boolean;\r\n width: number;\r\n height: number;\r\n suffix: string;\r\n prefix: string;\r\n selectedColor?: string;\r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n tooltip?: string | ((_d: any) => React.ReactNode);\r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n onSeriesMouseOver?: (_d: any) => void;\r\n highlightedDataPoints: (string | number)[];\r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n onSeriesMouseClick?: (_d: any) => void;\r\n theme: 'light' | 'dark';\r\n maxRadiusValue?: number;\r\n radius: number;\r\n resetSelectionOnDoubleClick: boolean;\r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n detailsOnClick?: string | ((_d: any) => React.ReactNode);\r\n styles?: StyleObject;\r\n classNames?: ClassNameObject;\r\n animate: AnimateDataType;\r\n dimmedOpacity: number;\r\n precision: number;\r\n}\r\n\r\ninterface TreeMapDataTypeForBubbleChart extends TreeMapDataType {\r\n x: number;\r\n y: number;\r\n vx: number;\r\n vy: number;\r\n}\r\n\r\nexport const Graph = memo((props: Props) => {\r\n const {\r\n data,\r\n colors,\r\n leftMargin,\r\n width,\r\n height,\r\n colorDomain,\r\n selectedColor,\r\n rightMargin,\r\n topMargin,\r\n bottomMargin,\r\n showLabels,\r\n tooltip,\r\n onSeriesMouseOver,\r\n showValues,\r\n suffix,\r\n prefix,\r\n highlightedDataPoints,\r\n onSeriesMouseClick,\r\n maxRadiusValue,\r\n radius,\r\n resetSelectionOnDoubleClick,\r\n detailsOnClick,\r\n styles,\r\n classNames,\r\n animate,\r\n dimmedOpacity,\r\n precision,\r\n } = props;\r\n const svgRef = useRef(null);\r\n const isInView = useInView(svgRef, {\r\n once: animate.once,\r\n amount: animate.amount,\r\n });\r\n\r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n const [mouseOverData, setMouseOverData] = useState<any>(undefined);\r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n const [mouseClickData, setMouseClickData] = useState<any>(undefined);\r\n const [viewPortDimensions, setViewPortDimensions] = useState<\r\n [number, number, number, number] | undefined\r\n >(undefined);\r\n const [eventX, setEventX] = useState<number | undefined>(undefined);\r\n const [eventY, setEventY] = useState<number | undefined>(undefined);\r\n const [finalData, setFinalData] = useState<TreeMapDataTypeForBubbleChart[] | null>(null);\r\n\r\n // Memoize expensive calculations\r\n const margin = useMemo(\r\n () => ({\r\n top: topMargin,\r\n bottom: bottomMargin,\r\n left: leftMargin,\r\n right: rightMargin,\r\n }),\r\n [topMargin, bottomMargin, leftMargin, rightMargin],\r\n );\r\n\r\n const graphWidth = width - margin.left - margin.right;\r\n const graphHeight = height - margin.top - margin.bottom;\r\n\r\n // Memoize data ordering and radius scale\r\n const dataOrdered = useMemo(\r\n () =>\r\n data.filter(d => !checkIfNullOrUndefined(d.size)).length === 0\r\n ? data\r\n : orderBy(\r\n data.filter(d => !checkIfNullOrUndefined(d.size)),\r\n 'radius',\r\n 'asc',\r\n ),\r\n [data],\r\n );\r\n\r\n const radiusScale = useMemo(() => {\r\n return data.filter(d => d.size === undefined || d.size === null).length !== data.length\r\n ? scaleSqrt()\r\n .domain([\r\n 0,\r\n checkIfNullOrUndefined(maxRadiusValue)\r\n ? Math.max(...data.map(d => d.size).filter(d => d !== undefined && d !== null))\r\n : (maxRadiusValue as number),\r\n ])\r\n .range([0.25, radius])\r\n .nice()\r\n : undefined;\r\n }, [data, maxRadiusValue, radius]);\r\n\r\n // Memoize simulation setup\r\n useEffect(() => {\r\n const setupSimulation = () => {\r\n const dataTemp = [...dataOrdered];\r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n const simulation = forceSimulation(dataTemp as any)\r\n .force('y', forceY(_d => graphHeight / 2).strength(1))\r\n .force('x', forceX(_d => graphWidth / 2).strength(1))\r\n .force(\r\n 'collide',\r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n forceCollide((d: any) => (radiusScale ? radiusScale(d.size || 0) + 1 : radius + 1)),\r\n )\r\n .force('charge', forceManyBody().strength(-15))\r\n .alphaDecay(0.05)\r\n .tick(10000);\r\n\r\n simulation\r\n .on('tick', () => {\r\n setFinalData(dataTemp as TreeMapDataTypeForBubbleChart[]);\r\n })\r\n .on('end', () => {\r\n setFinalData(dataTemp as TreeMapDataTypeForBubbleChart[]);\r\n const xMinExtent =\r\n extent(\r\n dataTemp as TreeMapDataTypeForBubbleChart[],\r\n d => d.x - (radiusScale ? radiusScale(d.size || 0) + 1 : radius + 1),\r\n )[0] || 0;\r\n const yMinExtent =\r\n extent(\r\n dataTemp as TreeMapDataTypeForBubbleChart[],\r\n d => d.y - (radiusScale ? radiusScale(d.size || 0) + 1 : radius + 1),\r\n )[0] || 0;\r\n const xMaxExtent =\r\n extent(\r\n dataTemp as TreeMapDataTypeForBubbleChart[],\r\n d => d.x + (radiusScale ? radiusScale(d.size || 0) + 1 : radius + 1),\r\n )[1] || 0;\r\n const yMaxExtent =\r\n extent(\r\n dataTemp as TreeMapDataTypeForBubbleChart[],\r\n d => d.y + (radiusScale ? radiusScale(d.size || 0) + 1 : radius + 1),\r\n )[1] || 0;\r\n setViewPortDimensions([\r\n xMinExtent,\r\n yMinExtent,\r\n xMinExtent < 0 ? xMaxExtent - xMinExtent : xMaxExtent,\r\n yMinExtent < 0 ? yMaxExtent - yMinExtent : yMaxExtent,\r\n ]);\r\n });\r\n };\r\n\r\n setupSimulation();\r\n }, [data, radius, graphHeight, graphWidth, maxRadiusValue, dataOrdered, radiusScale]);\r\n\r\n // Memoize event handlers to prevent unnecessary re-renders\r\n const handleMouseEnter = useCallback(\r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n (event: any, d: any) => {\r\n setMouseOverData(d);\r\n setEventY(event.clientY);\r\n setEventX(event.clientX);\r\n onSeriesMouseOver?.(d);\r\n },\r\n [onSeriesMouseOver],\r\n );\r\n\r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n const handleMouseMove = useCallback((event: any, d: any) => {\r\n setMouseOverData(d);\r\n setEventY(event.clientY);\r\n setEventX(event.clientX);\r\n }, []);\r\n\r\n const handleClick = useCallback(\r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n (d: any) => {\r\n if (onSeriesMouseClick || detailsOnClick) {\r\n if (mouseClickData === d.label && resetSelectionOnDoubleClick) {\r\n setMouseClickData(undefined);\r\n onSeriesMouseClick?.(undefined);\r\n } else {\r\n setMouseClickData(d.label);\r\n onSeriesMouseClick?.(d);\r\n }\r\n }\r\n },\r\n [onSeriesMouseClick, detailsOnClick, mouseClickData, resetSelectionOnDoubleClick],\r\n );\r\n\r\n const handleMouseLeave = useCallback(() => {\r\n setMouseOverData(undefined);\r\n setEventX(undefined);\r\n setEventY(undefined);\r\n onSeriesMouseOver?.(undefined);\r\n }, [onSeriesMouseOver]);\r\n\r\n // Memoize color and opacity calculations\r\n const getCircleColor = useCallback(\r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n (d: any) =>\r\n data.filter(el => el.color).length === 0\r\n ? colors[0]\r\n : !d.color\r\n ? Colors.gray\r\n : colors[colorDomain.indexOf(d.color)],\r\n [data, colors, colorDomain],\r\n );\r\n\r\n const getOpacity = useCallback(\r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n (d: any) =>\r\n selectedColor\r\n ? d.color\r\n ? colors[colorDomain.indexOf(d.color)] === selectedColor\r\n ? 1\r\n : dimmedOpacity\r\n : dimmedOpacity\r\n : highlightedDataPoints.length !== 0\r\n ? highlightedDataPoints.indexOf(d.label) !== -1\r\n ? 0.85\r\n : dimmedOpacity\r\n : 0.85,\r\n [selectedColor, dimmedOpacity, colors, colorDomain, highlightedDataPoints],\r\n );\r\n\r\n // Render loading state\r\n if (!finalData) {\r\n return (\r\n <div style={{ width: `${width}px`, height: `${height}px` }}>\r\n <div className='flex m-auto items-center justify-center p-0 leading-none text-base h-40'>\r\n <Spinner />\r\n </div>\r\n </div>\r\n );\r\n }\r\n if (viewPortDimensions) {\r\n return (\r\n <>\r\n <motion.svg\r\n width={`${width}px`}\r\n height={`${height}px`}\r\n viewBox={`${viewPortDimensions[0] > 0 ? 0 : viewPortDimensions[0]} ${\r\n viewPortDimensions[1] > 0 ? 0 : viewPortDimensions[1]\r\n } ${width < viewPortDimensions[2] ? viewPortDimensions[2] : width} ${\r\n height < viewPortDimensions[3] ? viewPortDimensions[3] : height\r\n }`}\r\n direction='ltr'\r\n ref={svgRef}\r\n >\r\n <g transform={`translate(${margin.left},${margin.top})`}>\r\n <AnimatePresence>\r\n {finalData.map(d => {\r\n const circleColor = getCircleColor(d);\r\n const opacity = getOpacity(d);\r\n const bubbleRadius = radiusScale ? radiusScale(d.size || 0) : radius;\r\n const showLabel = bubbleRadius > 20 && (showLabels || showValues);\r\n\r\n return (\r\n <motion.g\r\n className='undp-viz-g-with-hover'\r\n key={d.label}\r\n transform={`translate(${d.x},${d.y})`}\r\n onMouseEnter={event => handleMouseEnter(event, d)}\r\n onMouseMove={event => handleMouseMove(event, d)}\r\n onClick={() => handleClick(d)}\r\n onMouseLeave={handleMouseLeave}\r\n variants={{\r\n initial: { opacity: 0 },\r\n whileInView: {\r\n opacity,\r\n transition: { duration: animate.duration },\r\n },\r\n }}\r\n initial='initial'\r\n animate={isInView ? 'whileInView' : 'initial'}\r\n >\r\n <motion.circle\r\n cx={0}\r\n cy={0}\r\n r={bubbleRadius}\r\n exit={{\r\n fill: circleColor,\r\n r: 0,\r\n opacity: 0,\r\n transition: { duration: animate.duration },\r\n }}\r\n variants={{\r\n initial: {\r\n fill: circleColor,\r\n r: 0,\r\n opacity: 0,\r\n },\r\n whileInView: {\r\n fill: circleColor,\r\n r: bubbleRadius,\r\n opacity: 1,\r\n transition: { duration: animate.duration },\r\n },\r\n }}\r\n initial='initial'\r\n animate={isInView ? 'whileInView' : 'initial'}\r\n />\r\n {(showLabel || showValues) && d.size !== undefined && d.size !== null && (\r\n <motion.g\r\n variants={{\r\n initial: { opacity: 0 },\r\n whileInView: {\r\n opacity: 1,\r\n transition: { duration: animate.duration },\r\n },\r\n }}\r\n initial='initial'\r\n animate={isInView ? 'whileInView' : 'initial'}\r\n exit={{ opacity: 0, transition: { duration: animate.duration } }}\r\n >\r\n <foreignObject\r\n y={0 - bubbleRadius}\r\n x={0 - bubbleRadius}\r\n width={2 * bubbleRadius}\r\n height={2 * bubbleRadius}\r\n >\r\n <div className='flex flex-col justify-center items-center h-full py-0 px-3'>\r\n {showLabels && (\r\n <p\r\n className={cn(\r\n 'text-center leading-[1.25] overflow-hidden m-0 circle-packing-label',\r\n classNames?.graphObjectValues,\r\n )}\r\n style={{\r\n fontSize: `${Math.min(\r\n Math.max(Math.round(bubbleRadius / 4), 12),\r\n Math.max(\r\n Math.round((bubbleRadius * 12) / `${d.label}`.length),\r\n 12,\r\n ),\r\n 14,\r\n )}px`,\r\n WebkitLineClamp:\r\n bubbleRadius * 2 < 60\r\n ? 1\r\n : bubbleRadius * 2 < 75\r\n ? 2\r\n : bubbleRadius * 2 < 100\r\n ? 3\r\n : undefined,\r\n display: '-webkit-box',\r\n WebkitBoxOrient: 'vertical',\r\n color: getTextColorBasedOnBgColor(circleColor),\r\n hyphens: 'auto',\r\n ...(styles?.graphObjectValues || {}),\r\n }}\r\n >\r\n {d.label}\r\n </p>\r\n )}\r\n {showValues && (\r\n <p\r\n className='text-center font-bold leading-[1.25] w-full m-0 circle-packing-value'\r\n style={{\r\n fontSize: `${Math.min(\r\n Math.max(Math.round(bubbleRadius / 4), 14),\r\n 14,\r\n )}px`,\r\n color: getTextColorBasedOnBgColor(circleColor),\r\n }}\r\n >\r\n {numberFormattingFunction(d.size, 'NA', precision, prefix, suffix)}\r\n </p>\r\n )}\r\n </div>\r\n </foreignObject>\r\n </motion.g>\r\n )}\r\n </motion.g>\r\n );\r\n })}\r\n </AnimatePresence>\r\n </g>\r\n </motion.svg>\r\n {mouseOverData && tooltip && eventX && eventY && (\r\n <Tooltip\r\n data={mouseOverData}\r\n body={tooltip}\r\n xPos={eventX}\r\n yPos={eventY}\r\n backgroundStyle={styles?.tooltip}\r\n className={classNames?.tooltip}\r\n />\r\n )}\r\n {detailsOnClick && mouseClickData !== undefined ? (\r\n <Modal\r\n open={mouseClickData !== undefined}\r\n onClose={() => {\r\n setMouseClickData(undefined);\r\n }}\r\n >\r\n <div\r\n className='graph-modal-content m-0'\r\n dangerouslySetInnerHTML={\r\n typeof detailsOnClick === 'string'\r\n ? { __html: string2HTML(detailsOnClick, mouseClickData) }\r\n : undefined\r\n }\r\n >\r\n {typeof detailsOnClick === 'function' ? detailsOnClick(mouseClickData) : null}\r\n </div>\r\n </Modal>\r\n ) : null}\r\n </>\r\n );\r\n }\r\n return null;\r\n});\r\n\r\nGraph.displayName = 'BubbleChart';\r\n","import uniqBy from 'lodash.uniqby';\r\nimport { useState, useRef, useEffect } from 'react';\r\nimport sum from 'lodash.sum';\r\nimport { cn } from '@undp/design-system-react/cn';\r\n\r\nimport { Graph } from './Graph';\r\n\r\nimport {\r\n Languages,\r\n SourcesDataType,\r\n StyleObject,\r\n ClassNameObject,\r\n TreeMapDataType,\r\n AnimateDataType,\r\n} from '@/Types';\r\nimport { GraphFooter } from '@/Components/Elements/GraphFooter';\r\nimport { GraphHeader } from '@/Components/Elements/GraphHeader';\r\nimport { ColorLegendWithMouseOver } from '@/Components/Elements/ColorLegendWithMouseOver';\r\nimport { Colors } from '@/Components/ColorPalette';\r\nimport { checkIfNullOrUndefined } from '@/Utils/checkIfNullOrUndefined';\r\nimport { EmptyState } from '@/Components/Elements/EmptyState';\r\n\r\ninterface Props {\r\n // Data\r\n /** Array of data objects */\r\n data: TreeMapDataType[];\r\n\r\n // Titles, Labels, and Sources\r\n /** Title of the graph */\r\n graphTitle?: string | React.ReactNode;\r\n /** Description of the graph */\r\n graphDescription?: string | React.ReactNode;\r\n /** Footnote for the graph */\r\n footNote?: string | React.ReactNode;\r\n /** Source data for the graph */\r\n sources?: SourcesDataType[];\r\n /** Accessibility label */\r\n ariaLabel?: string;\r\n\r\n // Colors and Styling\r\n /** Color or array of colors for circle */\r\n colors?: string | string[];\r\n /** Domain of colors for the graph */\r\n colorDomain?: string[];\r\n /** Title for the color legend */\r\n colorLegendTitle?: string;\r\n /** Background color of the graph */\r\n backgroundColor?: string | boolean;\r\n /** Custom styles for the graph. Each object should be a valid React CSS style object. */\r\n styles?: StyleObject;\r\n /** Custom class names */\r\n classNames?: ClassNameObject;\r\n\r\n // Size and Spacing\r\n /** Width of the graph */\r\n width?: number;\r\n /** Height of the graph */\r\n height?: number;\r\n /** Minimum height of the graph */\r\n minHeight?: number;\r\n /** Relative height scaling factor. This overwrites the height props */\r\n relativeHeight?: number;\r\n /** Padding around the graph. Defaults to 0 if no backgroundColor is mentioned else defaults to 1rem */\r\n padding?: string;\r\n /** Left margin of the graph */\r\n leftMargin?: number;\r\n /** Right margin of the graph */\r\n rightMargin?: number;\r\n /** Top margin of the graph */\r\n topMargin?: number;\r\n /** Bottom margin of the graph */\r\n bottomMargin?: number;\r\n\r\n // Values and Ticks\r\n /** Prefix for values */\r\n prefix?: string;\r\n /** Suffix for values */\r\n suffix?: string;\r\n /** Maximum value mapped to the radius chart */\r\n maxRadiusValue?: number;\r\n\r\n // Graph Parameters\r\n /** Maximum radius of the circle */\r\n radius?: number;\r\n /** Toggle visibility of labels */\r\n showLabels?: boolean;\r\n /** Toggle visibility of values */\r\n showValues?: boolean;\r\n /** Toggle visibility of color scale. This is only applicable if the data props hae color parameter */\r\n showColorScale?: boolean;\r\n /** 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 */\r\n showNAColor?: boolean;\r\n /** Data points to highlight. Use the label value from data to highlight the data point */\r\n highlightedDataPoints?: (string | number)[];\r\n /** Defines the opacity of the non-highlighted data */\r\n dimmedOpacity?: number;\r\n /** Toggles if the graph animates in when loaded. */\r\n animate?: boolean | AnimateDataType;\r\n /** Specifies the number of decimal places to display in the value. */\r\n precision?: number;\r\n /** Enable graph download option as png */\r\n graphDownload?: boolean;\r\n /** Enable data download option as a csv */\r\n dataDownload?: boolean;\r\n /** Reset selection on double-click. Only applicable when used in a dashboard context with filters. */\r\n resetSelectionOnDoubleClick?: boolean;\r\n\r\n // Interactions and Callbacks\r\n /** 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 */\r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n tooltip?: string | ((_d: any) => React.ReactNode);\r\n /** 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 */\r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n detailsOnClick?: string | ((_d: any) => React.ReactNode);\r\n /** Callback for mouse over event */\r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n onSeriesMouseOver?: (_d: any) => void;\r\n /** Callback for mouse click event */\r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n onSeriesMouseClick?: (_d: any) => void;\r\n\r\n // Configuration and Options\r\n /** Language setting */\r\n language?: Languages;\r\n /** Color theme */\r\n theme?: 'light' | 'dark';\r\n /** Unique ID for the graph */\r\n graphID?: string;\r\n}\r\n\r\nexport function CirclePackingGraph(props: Props) {\r\n const {\r\n data,\r\n graphTitle,\r\n colors,\r\n suffix = '',\r\n sources,\r\n prefix = '',\r\n graphDescription,\r\n leftMargin = 0,\r\n rightMargin = 0,\r\n height,\r\n width,\r\n footNote,\r\n colorDomain,\r\n colorLegendTitle,\r\n padding,\r\n backgroundColor = false,\r\n topMargin = 0,\r\n bottomMargin = 0,\r\n showLabels = true,\r\n relativeHeight,\r\n tooltip,\r\n onSeriesMouseOver,\r\n showColorScale = true,\r\n showValues,\r\n graphID,\r\n highlightedDataPoints = [],\r\n onSeriesMouseClick,\r\n graphDownload = false,\r\n dataDownload = false,\r\n language = 'en',\r\n showNAColor,\r\n minHeight = 0,\r\n theme = 'light',\r\n ariaLabel,\r\n radius,\r\n maxRadiusValue,\r\n resetSelectionOnDoubleClick = true,\r\n detailsOnClick,\r\n styles,\r\n classNames,\r\n animate = false,\r\n dimmedOpacity = 0.3,\r\n precision = 2,\r\n } = props;\r\n const [svgWidth, setSvgWidth] = useState(0);\r\n const [svgHeight, setSvgHeight] = useState(0);\r\n const [selectedColor, setSelectedColor] = useState<string | undefined>(undefined);\r\n const graphDiv = useRef<HTMLDivElement>(null);\r\n const graphParentDiv = useRef<HTMLDivElement>(null);\r\n useEffect(() => {\r\n const resizeObserver = new ResizeObserver(entries => {\r\n setSvgWidth(width || entries[0].target.clientWidth || 620);\r\n setSvgHeight(height || entries[0].target.clientHeight || 480);\r\n });\r\n if (graphDiv.current) {\r\n setSvgHeight(graphDiv.current.clientHeight || 480);\r\n setSvgWidth(graphDiv.current.clientWidth || 620);\r\n if (!width) resizeObserver.observe(graphDiv.current);\r\n }\r\n return () => resizeObserver.disconnect();\r\n }, [width, height]);\r\n return (\r\n <div\r\n className={`${theme || 'light'} flex ${width ? 'w-fit grow-0' : 'w-full grow'}`}\r\n dir={language === 'he' || language === 'ar' ? 'rtl' : undefined}\r\n >\r\n <div\r\n className={cn(\r\n `${\r\n !backgroundColor\r\n ? 'bg-transparent '\r\n : backgroundColor === true\r\n ? 'bg-primary-gray-200 dark:bg-primary-gray-650 '\r\n : ''\r\n }ml-auto mr-auto flex flex-col grow h-inherit ${language || 'en'}`,\r\n classNames?.graphContainer,\r\n )}\r\n style={{\r\n ...(styles?.graphContainer || {}),\r\n ...(backgroundColor && backgroundColor !== true ? { backgroundColor } : {}),\r\n }}\r\n id={graphID}\r\n ref={graphParentDiv}\r\n aria-label={\r\n ariaLabel ||\r\n `${\r\n graphTitle ? `The graph shows ${graphTitle}. ` : ''\r\n }This is a chart where data points are represented by circles, and their sizes reflect their values.${\r\n graphDescription ? ` ${graphDescription}` : ''\r\n }`\r\n }\r\n >\r\n <div\r\n className='flex grow'\r\n style={{ padding: backgroundColor ? padding || '1rem' : padding || 0 }}\r\n >\r\n <div className='flex flex-col w-full gap-4 grow justify-between'>\r\n {graphTitle || graphDescription || graphDownload || dataDownload ? (\r\n <GraphHeader\r\n styles={{\r\n title: styles?.title,\r\n description: styles?.description,\r\n }}\r\n classNames={{\r\n title: classNames?.title,\r\n description: classNames?.description,\r\n }}\r\n graphTitle={graphTitle}\r\n graphDescription={graphDescription}\r\n width={width}\r\n graphDownload={graphDownload ? graphParentDiv.current : undefined}\r\n dataDownload={\r\n dataDownload\r\n ? data.map(d => d.data).filter(d => d !== undefined).length > 0\r\n ? data.map(d => d.data).filter(d => d !== undefined)\r\n : data.filter(d => d !== undefined)\r\n : null\r\n }\r\n />\r\n ) : null}\r\n <div className='grow flex flex-col justify-center gap-3 w-full'>\r\n {data.length === 0 ? (\r\n <EmptyState />\r\n ) : (\r\n <>\r\n {showColorScale && data.filter(el => el.color).length !== 0 ? (\r\n <ColorLegendWithMouseOver\r\n width={width}\r\n colorLegendTitle={colorLegendTitle}\r\n colors={\r\n (colors as string[] | undefined) || Colors[theme].categoricalColors.colors\r\n }\r\n colorDomain={\r\n colorDomain ||\r\n (uniqBy(\r\n data.filter(el => el.color),\r\n 'color',\r\n ).map(d => d.color) as string[])\r\n }\r\n setSelectedColor={setSelectedColor}\r\n showNAColor={\r\n showNAColor === undefined || showNAColor === null ? true : showNAColor\r\n }\r\n isCenter\r\n />\r\n ) : null}\r\n <div\r\n className='flex flex-col grow justify-center w-full leading-0'\r\n ref={graphDiv}\r\n aria-label='Graph area'\r\n >\r\n {(width || svgWidth) && (height || svgHeight) ? (\r\n <Graph\r\n data={data}\r\n colors={\r\n data.filter(el => el.color).length === 0\r\n ? colors\r\n ? [colors as string]\r\n : [Colors.primaryColors['blue-600']]\r\n : (colors as string[] | undefined) ||\r\n Colors[theme].categoricalColors.colors\r\n }\r\n colorDomain={\r\n data.filter(el => el.color).length === 0\r\n ? []\r\n : colorDomain ||\r\n (uniqBy(\r\n data.filter(el => el.color),\r\n 'color',\r\n ).map(d => d.color) as string[])\r\n }\r\n width={width || svgWidth}\r\n height={Math.max(\r\n minHeight,\r\n height ||\r\n (relativeHeight\r\n ? minHeight\r\n ? (width || svgWidth) * relativeHeight > minHeight\r\n ? (width || svgWidth) * relativeHeight\r\n : minHeight\r\n : (width || svgWidth) * relativeHeight\r\n : svgHeight),\r\n )}\r\n leftMargin={leftMargin}\r\n rightMargin={rightMargin}\r\n topMargin={topMargin}\r\n bottomMargin={bottomMargin}\r\n showLabels={showLabels}\r\n showValues={\r\n showValues !== false\r\n ? data.filter(el => el.size).length !== 0\r\n : (showValues as boolean)\r\n }\r\n selectedColor={selectedColor}\r\n suffix={suffix}\r\n prefix={prefix}\r\n tooltip={tooltip}\r\n onSeriesMouseOver={onSeriesMouseOver}\r\n highlightedDataPoints={highlightedDataPoints}\r\n onSeriesMouseClick={onSeriesMouseClick}\r\n theme={theme}\r\n radius={\r\n !radius\r\n ? (Math.min(\r\n width || svgWidth,\r\n height ||\r\n (relativeHeight\r\n ? minHeight\r\n ? (width || svgWidth) * relativeHeight > minHeight\r\n ? (width || svgWidth) * relativeHeight\r\n : minHeight\r\n : (width || svgWidth) * relativeHeight\r\n : svgHeight),\r\n ) *\r\n (data.filter(d => !checkIfNullOrUndefined(d.size)).length === 0\r\n ? 1\r\n : Math.max(\r\n ...data\r\n .map(d => d.size)\r\n .filter(d => d !== undefined && d !== null),\r\n ))) /\r\n (data.filter(d => !checkIfNullOrUndefined(d.size)).length === 0\r\n ? data.length\r\n : sum(data.filter(d => d.size).map(d => d.size)) * 1.25)\r\n : radius\r\n }\r\n maxRadiusValue={maxRadiusValue}\r\n resetSelectionOnDoubleClick={resetSelectionOnDoubleClick}\r\n detailsOnClick={detailsOnClick}\r\n styles={styles}\r\n classNames={classNames}\r\n animate={\r\n animate === true\r\n ? { duration: 0.5, once: true, amount: 0.5 }\r\n : animate || { duration: 0, once: true, amount: 0 }\r\n }\r\n dimmedOpacity={dimmedOpacity}\r\n precision={precision}\r\n />\r\n ) : null}\r\n </div>\r\n </>\r\n )}\r\n </div>\r\n {sources || footNote ? (\r\n <GraphFooter\r\n styles={{ footnote: styles?.footnote, source: styles?.source }}\r\n classNames={{\r\n footnote: classNames?.footnote,\r\n source: classNames?.source,\r\n }}\r\n sources={sources}\r\n footNote={footNote}\r\n width={width}\r\n />\r\n ) : null}\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n );\r\n}\r\n"],"names":["extent","values","valueof","min","max","value","index","Graph","memo","props","data","colors","leftMargin","width","height","colorDomain","selectedColor","rightMargin","topMargin","bottomMargin","showLabels","tooltip","onSeriesMouseOver","showValues","suffix","prefix","highlightedDataPoints","onSeriesMouseClick","maxRadiusValue","radius","resetSelectionOnDoubleClick","detailsOnClick","styles","classNames","animate","dimmedOpacity","precision","svgRef","useRef","isInView","useInView","mouseOverData","setMouseOverData","useState","mouseClickData","setMouseClickData","viewPortDimensions","setViewPortDimensions","eventX","setEventX","eventY","setEventY","finalData","setFinalData","margin","useMemo","graphWidth","graphHeight","dataOrdered","d","checkIfNullOrUndefined","orderBy","radiusScale","scaleSqrt","useEffect","dataTemp","forceSimulation","forceY","_d","forceX","forceCollide","forceManyBody","xMinExtent","yMinExtent","xMaxExtent","yMaxExtent","handleMouseEnter","useCallback","event","handleMouseMove","handleClick","handleMouseLeave","getCircleColor","el","Colors","getOpacity","jsxs","Fragment","jsx","motion","AnimatePresence","circleColor","opacity","bubbleRadius","showLabel","cn","getTextColorBasedOnBgColor","Tooltip","Modal","string2HTML","Spinner","CirclePackingGraph","graphTitle","sources","graphDescription","footNote","colorLegendTitle","padding","backgroundColor","relativeHeight","showColorScale","graphID","graphDownload","dataDownload","language","showNAColor","minHeight","theme","ariaLabel","svgWidth","setSvgWidth","svgHeight","setSvgHeight","setSelectedColor","graphDiv","graphParentDiv","resizeObserver","entries","GraphHeader","EmptyState","ColorLegendWithMouseOver","uniqBy","sum","GraphFooter"],"mappings":"izBAAe,SAASA,EAAOC,EAAQC,EAAS,CAC9C,IAAIC,EACAC,EACJ,GAAIF,IAAY,OACd,UAAWG,KAASJ,EACdI,GAAS,OACPF,IAAQ,OACNE,GAASA,IAAOF,EAAMC,EAAMC,IAE5BF,EAAME,IAAOF,EAAME,GACnBD,EAAMC,IAAOD,EAAMC,SAIxB,CACL,IAAIC,EAAQ,GACZ,QAASD,KAASJ,GACXI,EAAQH,EAAQG,EAAO,EAAEC,EAAOL,CAAM,IAAM,OAC3CE,IAAQ,OACNE,GAASA,IAAOF,EAAMC,EAAMC,IAE5BF,EAAME,IAAOF,EAAME,GACnBD,EAAMC,IAAOD,EAAMC,IAI/B,CACA,MAAO,CAACF,EAAKC,CAAG,CAClB,CCgCO,MAAMG,GAAQC,EAAAA,KAAMC,GAAiB,CAC1C,KAAM,CACJ,KAAAC,EACA,OAAAC,EACA,WAAAC,EACA,MAAAC,EACA,OAAAC,EACA,YAAAC,EACA,cAAAC,EACA,YAAAC,EACA,UAAAC,EACA,aAA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,GAAM,IAAI,CAAA,IAEnDjD,EAAK,OAAOiD,GAAK,CAACC,EAAAA,uBAAuBD,EAAE,IAAI,CAAC,EAAE,SAAW,EAC1DjD,EAAK,OACL0H,GAAAA,IAAI1H,EAAK,OAAOiD,GAAKA,EAAE,IAAI,EAAE,IAAIA,GAAKA,EAAE,IAAI,CAAC,EAAI,MAG3D,eAAA/B,GACA,4BAAAE,EACA,eAAAC,GACA,OAAAC,EACA,WAAAC,EACA,QACEC,IAAY,GACR,CAAE,SAAU,GAAK,KAAM,GAAM,OAAQ,EAAA,EACrCA,GAAW,CAAE,SAAU,EAAG,KAAM,GAAM,OAAQ,CAAA,EAEpD,cAAAC,EACA,UAAAC,EAAA,CAAA,EAEA,IAAA,CAAA,CACN,CAAA,CACF,CAAA,CAEJ,EACCmE,GAAWE,EACVjB,EAAAA,kBAAAA,IAAC6C,GAAAA,YAAA,CACC,OAAQ,CAAE,SAAUrG,GAAQ,SAAU,OAAQA,GAAQ,MAAA,EACtD,WAAY,CACV,SAAUC,GAAY,SACtB,OAAQA,GAAY,MAAA,EAEtB,QAAAsE,EACA,SAAAE,EACA,MAAA5F,CAAA,CAAA,EAEA,IAAA,CAAA,CACN,CAAA,CAAA,CACF,CAAA,CACF,CAAA,CAGN","x_google_ignoreList":[0]}
@@ -1,41 +0,0 @@
1
- import P from "react";
2
- import { r as w, a as N } from "./index-01r5X3Gr-kH7FxQ7P.js";
3
- import { r as B } from "./index-BHm2KTjD-2e-Fu8L-.js";
4
- var p = {}, M;
5
- function b() {
6
- if (M) return p;
7
- M = 1;
8
- const n = P, S = /* @__PURE__ */ w(), i = /* @__PURE__ */ N(), u = /* @__PURE__ */ B();
9
- function y(s) {
10
- const a = s + "CollectionProvider", [j, v] = S.createContextScope(a), [I, f] = j(a, { collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }), x = (l) => {
11
- const { scope: e, children: r } = l, t = n.useRef(null), c = n.useRef(/* @__PURE__ */ new Map()).current;
12
- return u.jsxRuntimeExports.jsx(I, { scope: e, itemMap: c, collectionRef: t, children: r });
13
- };
14
- x.displayName = a;
15
- const d = s + "CollectionSlot", z = i.createSlot(d), R = n.forwardRef((l, e) => {
16
- const { scope: r, children: t } = l, c = f(d, r), o = i.useComposedRefs(e, c.collectionRef);
17
- return u.jsxRuntimeExports.jsx(z, { ref: o, children: t });
18
- });
19
- R.displayName = d;
20
- const m = s + "CollectionItemSlot", C = "data-radix-collection-item", E = i.createSlot(m), q = n.forwardRef((l, e) => {
21
- const { scope: r, children: t, ...c } = l, o = n.useRef(null), O = i.useComposedRefs(e, o), h = f(m, r);
22
- return n.useEffect(() => (h.itemMap.set(o, { ref: o, ...c }), () => void h.itemMap.delete(o))), u.jsxRuntimeExports.jsx(E, { [C]: "", ref: O, children: t });
23
- });
24
- q.displayName = m;
25
- function A(l) {
26
- const e = f(s + "CollectionConsumer", l);
27
- return n.useCallback(() => {
28
- const r = e.collectionRef.current;
29
- if (!r) return [];
30
- const t = Array.from(r.querySelectorAll(`[${C}]`));
31
- return Array.from(e.itemMap.values()).sort((c, o) => t.indexOf(c.ref.current) - t.indexOf(o.ref.current));
32
- }, [e.collectionRef, e.itemMap]);
33
- }
34
- return [{ Provider: x, Slot: R, ItemSlot: q }, A, v];
35
- }
36
- return p.createCollection = y, p;
37
- }
38
- export {
39
- b as r
40
- };
41
- //# sourceMappingURL=index-CqzhBPuO-CfQywbdq.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index-CqzhBPuO-CfQywbdq.js","sources":["../node_modules/@undp/design-system-react/dist/index-CqzhBPuO.cjs"],"sourcesContent":["\"use strict\";const r=require(\"react\"),_=require(\"./index-CAzER7yd.cjs\"),u=require(\"./index-DV8mFL7q.cjs\"),p=require(\"./jsx-runtime-Dszzpdy0.cjs\");function v(s){const d=s+\"CollectionProvider\",[M,E]=_.createContextScope(d),[A,m]=M(d,{collectionRef:{current:null},itemMap:new Map}),C=c=>{const{scope:e,children:l}=c,t=r.useRef(null),o=r.useRef(new Map).current;return p.jsxRuntimeExports.jsx(A,{scope:e,itemMap:o,collectionRef:t,children:l})};C.displayName=d;const a=s+\"CollectionSlot\",N=u.createSlot(a),R=r.forwardRef((c,e)=>{const{scope:l,children:t}=c,o=m(a,l),n=u.useComposedRefs(e,o.collectionRef);return p.jsxRuntimeExports.jsx(N,{ref:n,children:t})});R.displayName=a;const f=s+\"CollectionItemSlot\",x=\"data-radix-collection-item\",T=u.createSlot(f),I=r.forwardRef((c,e)=>{const{scope:l,children:t,...o}=c,n=r.useRef(null),S=u.useComposedRefs(e,n),i=m(f,l);return r.useEffect(()=>(i.itemMap.set(n,{ref:n,...o}),()=>void i.itemMap.delete(n))),p.jsxRuntimeExports.jsx(T,{[x]:\"\",ref:S,children:t})});I.displayName=f;function j(c){const e=m(s+\"CollectionConsumer\",c);return r.useCallback(()=>{const t=e.collectionRef.current;if(!t)return[];const o=Array.from(t.querySelectorAll(`[${x}]`));return Array.from(e.itemMap.values()).sort((i,O)=>o.indexOf(i.ref.current)-o.indexOf(O.ref.current))},[e.collectionRef,e.itemMap])}return[{Provider:C,Slot:R,ItemSlot:I},j,E]}exports.createCollection=v;\n//# sourceMappingURL=index-CqzhBPuO.cjs.map\n"],"names":["r","require$$0","_","require$$1","u","require$$2","p","require$$3","v","d","M","E","A","m","C","c","l","o","a","N","n","f","x","T","I","S","i","j","t","O","indexCqzhBPuO"],"mappings":";;;;;;;AAAa,QAAMA,IAAEC,GAAiBC,IAAEC,gBAAAA,EAAA,GAAgCC,IAAEC,gBAAAA,EAAA,GAAgCC,IAAEC,gBAAAA,EAAA;AAAsC,WAASC,EAAE,GAAE;AAAC,UAAMC,IAAE,IAAE,sBAAqB,CAACC,GAAEC,CAAC,IAAET,EAAE,mBAAmBO,CAAC,GAAE,CAACG,GAAEC,CAAC,IAAEH,EAAED,GAAE,EAAC,eAAc,EAAC,SAAQ,KAAI,GAAE,SAAQ,oBAAI,MAAG,CAAC,GAAEK,IAAE,CAAAC,MAAG;AAAC,YAAK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E;AAAC,YAAM,IAAEF,EAAE,IAAE,sBAAqBE,CAAC;AAAE,aAAOf,EAAE,YAAY,MAAI;AAAC,cAAM4B,IAAE,EAAE,cAAc;AAAQ,YAAG,CAACA,EAAE,QAAM,CAAA;AAAG,cAAMX,IAAE,MAAM,KAAKW,EAAE,iBAAiB,IAAIN,CAAC,GAAG,CAAC;AAAE,eAAO,MAAM,KAAK,EAAE,QAAQ,OAAM,CAAE,EAAE,KAAK,CAACI,GAAEG,MAAIZ,EAAE,QAAQS,EAAE,IAAI,OAAO,IAAET,EAAE,QAAQY,EAAE,IAAI,OAAO,CAAC;AAAA,MAAC,GAAE,CAAC,EAAE,eAAc,EAAE,OAAO,CAAC;AAAA,IAAC;AAAC,WAAM,CAAC,EAAC,UAASf,GAAE,MAAK,GAAE,UAASU,EAAC,GAAEG,GAAEhB,CAAC;AAAA,EAAC;AAAC,SAAAmB,EAAA,mBAAyBtB;;","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";const B=require("react"),M=require("./index-01r5X3Gr-9jE0ObrK.cjs"),w=require("./index-BHm2KTjD-D8FylaKc.cjs");var p={},S;function N(){if(S)return p;S=1;const o=B,j=M.requireIndexCAzER7yd(),l=M.requireIndexDV8mFL7q(),s=w.requireJsxRuntimeDszzpdy0();function y(u){const d=u+"CollectionProvider",[I,v]=j.createContextScope(d),[z,a]=I(d,{collectionRef:{current:null},itemMap:new Map}),x=c=>{const{scope:e,children:r}=c,t=o.useRef(null),i=o.useRef(new Map).current;return s.jsxRuntimeExports.jsx(z,{scope:e,itemMap:i,collectionRef:t,children:r})};x.displayName=d;const f=u+"CollectionSlot",E=l.createSlot(f),R=o.forwardRef((c,e)=>{const{scope:r,children:t}=c,i=a(f,r),n=l.useComposedRefs(e,i.collectionRef);return s.jsxRuntimeExports.jsx(E,{ref:n,children:t})});R.displayName=f;const m=u+"CollectionItemSlot",q="data-radix-collection-item",O=l.createSlot(m),C=o.forwardRef((c,e)=>{const{scope:r,children:t,...i}=c,n=o.useRef(null),A=l.useComposedRefs(e,n),h=a(m,r);return o.useEffect(()=>(h.itemMap.set(n,{ref:n,...i}),()=>void h.itemMap.delete(n))),s.jsxRuntimeExports.jsx(O,{[q]:"",ref:A,children:t})});C.displayName=m;function P(c){const e=a(u+"CollectionConsumer",c);return o.useCallback(()=>{const r=e.collectionRef.current;if(!r)return[];const t=Array.from(r.querySelectorAll(`[${q}]`));return Array.from(e.itemMap.values()).sort((i,n)=>t.indexOf(i.ref.current)-t.indexOf(n.ref.current))},[e.collectionRef,e.itemMap])}return[{Provider:x,Slot:R,ItemSlot:C},P,v]}return p.createCollection=y,p}exports.requireIndexCqzhBPuO=N;
2
- //# sourceMappingURL=index-CqzhBPuO-raKZqS7l.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index-CqzhBPuO-raKZqS7l.cjs","sources":["../node_modules/@undp/design-system-react/dist/index-CqzhBPuO.cjs"],"sourcesContent":["\"use strict\";const r=require(\"react\"),_=require(\"./index-CAzER7yd.cjs\"),u=require(\"./index-DV8mFL7q.cjs\"),p=require(\"./jsx-runtime-Dszzpdy0.cjs\");function v(s){const d=s+\"CollectionProvider\",[M,E]=_.createContextScope(d),[A,m]=M(d,{collectionRef:{current:null},itemMap:new Map}),C=c=>{const{scope:e,children:l}=c,t=r.useRef(null),o=r.useRef(new Map).current;return p.jsxRuntimeExports.jsx(A,{scope:e,itemMap:o,collectionRef:t,children:l})};C.displayName=d;const a=s+\"CollectionSlot\",N=u.createSlot(a),R=r.forwardRef((c,e)=>{const{scope:l,children:t}=c,o=m(a,l),n=u.useComposedRefs(e,o.collectionRef);return p.jsxRuntimeExports.jsx(N,{ref:n,children:t})});R.displayName=a;const f=s+\"CollectionItemSlot\",x=\"data-radix-collection-item\",T=u.createSlot(f),I=r.forwardRef((c,e)=>{const{scope:l,children:t,...o}=c,n=r.useRef(null),S=u.useComposedRefs(e,n),i=m(f,l);return r.useEffect(()=>(i.itemMap.set(n,{ref:n,...o}),()=>void i.itemMap.delete(n))),p.jsxRuntimeExports.jsx(T,{[x]:\"\",ref:S,children:t})});I.displayName=f;function j(c){const e=m(s+\"CollectionConsumer\",c);return r.useCallback(()=>{const t=e.collectionRef.current;if(!t)return[];const o=Array.from(t.querySelectorAll(`[${x}]`));return Array.from(e.itemMap.values()).sort((i,O)=>o.indexOf(i.ref.current)-o.indexOf(O.ref.current))},[e.collectionRef,e.itemMap])}return[{Provider:C,Slot:R,ItemSlot:I},j,E]}exports.createCollection=v;\n//# sourceMappingURL=index-CqzhBPuO.cjs.map\n"],"names":["r","require$$0","_","require$$1","u","require$$2","p","require$$3","v","s","M","E","A","m","C","l","o","a","N","f","x","T","I","S","i","j","t","O","indexCqzhBPuO"],"mappings":"sKAAa,MAAMA,EAAEC,EAAiBC,EAAEC,EAAAA,qBAAA,EAAgCC,EAAEC,EAAAA,qBAAA,EAAgCC,EAAEC,EAAAA,0BAAA,EAAsC,SAASC,EAAEC,EAAE,CAAC,MAAM,EAAEA,EAAE,qBAAqB,CAACC,EAAEC,CAAC,EAAET,EAAE,mBAAmB,CAAC,EAAE,CAACU,EAAEC,CAAC,EAAEH,EAAE,EAAE,CAAC,cAAc,CAAC,QAAQ,IAAI,EAAE,QAAQ,IAAI,GAAG,CAAC,EAAEI,EAAE,GAAG,CAAC,KAAK,CAAC,MAAM,EAAE,SAASC,CAAC,EAAE,EAAE,EAAEf,EAAE,OAAO,IAAI,EAAEgB,EAAEhB,EAAE,OAAO,IAAI,GAAG,EAAE,QAAQ,OAAOM,EAAE,kBAAkB,IAAIM,EAAE,CAAC,MAAM,EAAE,QAAQI,EAAE,cAAc,EAAE,SAASD,CAAC,CAAC,CAAC,EAAED,EAAE,YAAY,EAAE,MAAMG,EAAER,EAAE,iBAAiBS,EAAEd,EAAE,WAAWa,CAAC,EAAE,EAAEjB,EAAE,WAAW,CAAC,EAAE,IAAI,CAAC,KAAK,CAAC,MAAMe,EAAE,SAAS,CAAC,EAAE,EAAEC,EAAEH,EAAEI,EA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