@undp/data-viz 1.5.8 → 2.0.0

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 (672) hide show
  1. package/dist/AreaChart.cjs +1 -1
  2. package/dist/AreaChart.cjs.map +1 -1
  3. package/dist/AreaChart.d.ts +1 -0
  4. package/dist/AreaChart.js +420 -520
  5. package/dist/AreaChart.js.map +1 -1
  6. package/dist/Axis-CRyfcLjc.js +32 -0
  7. package/dist/Axis-CRyfcLjc.js.map +1 -0
  8. package/dist/Axis-DxRV2yMi.cjs +2 -0
  9. package/dist/Axis-DxRV2yMi.cjs.map +1 -0
  10. package/dist/AxisTitle-jeI7am8o.js +29 -0
  11. package/dist/AxisTitle-jeI7am8o.js.map +1 -0
  12. package/dist/AxisTitle-sS5bLLR7.cjs +2 -0
  13. package/dist/AxisTitle-sS5bLLR7.cjs.map +1 -0
  14. package/dist/BarGraph.cjs +1 -1
  15. package/dist/BarGraph.cjs.map +1 -1
  16. package/dist/BarGraph.d.ts +1 -0
  17. package/dist/BarGraph.js +2188 -4045
  18. package/dist/BarGraph.js.map +1 -1
  19. package/dist/BasicStatCard.cjs +1 -1
  20. package/dist/BasicStatCard.cjs.map +1 -1
  21. package/dist/BasicStatCard.d.ts +1 -0
  22. package/dist/BasicStatCard.js +120 -186
  23. package/dist/BasicStatCard.js.map +1 -1
  24. package/dist/BeeSwarmChart.cjs +1 -1
  25. package/dist/BeeSwarmChart.cjs.map +1 -1
  26. package/dist/BeeSwarmChart.d.ts +5 -0
  27. package/dist/BeeSwarmChart.js +501 -1019
  28. package/dist/BeeSwarmChart.js.map +1 -1
  29. package/dist/BiVariateChoroplethMap.cjs +1 -1
  30. package/dist/BiVariateChoroplethMap.cjs.map +1 -1
  31. package/dist/BiVariateChoroplethMap.d.ts +3 -0
  32. package/dist/BiVariateChoroplethMap.js +458 -706
  33. package/dist/BiVariateChoroplethMap.js.map +1 -1
  34. package/dist/BulletChart.cjs +1 -1
  35. package/dist/BulletChart.cjs.map +1 -1
  36. package/dist/BulletChart.d.ts +1 -0
  37. package/dist/BulletChart.js +863 -1414
  38. package/dist/BulletChart.js.map +1 -1
  39. package/dist/ButterflyChart.cjs +1 -1
  40. package/dist/ButterflyChart.cjs.map +1 -1
  41. package/dist/ButterflyChart.d.ts +1 -0
  42. package/dist/ButterflyChart.js +474 -684
  43. package/dist/ButterflyChart.js.map +1 -1
  44. package/dist/ChoroplethMap.cjs +1 -1
  45. package/dist/ChoroplethMap.cjs.map +1 -1
  46. package/dist/ChoroplethMap.d.ts +3 -0
  47. package/dist/ChoroplethMap.js +469 -731
  48. package/dist/ChoroplethMap.js.map +1 -1
  49. package/dist/CirclePackingGraph.cjs +1 -1
  50. package/dist/CirclePackingGraph.d.ts +1 -0
  51. package/dist/CirclePackingGraph.js +5 -4
  52. package/dist/CirclePackingGraph.js.map +1 -1
  53. package/dist/ColorLegend.cjs +1 -1
  54. package/dist/ColorLegend.cjs.map +1 -1
  55. package/dist/ColorLegend.js +57 -44
  56. package/dist/ColorLegend.js.map +1 -1
  57. package/dist/ColorLegendWithMouseOver.cjs +1 -1
  58. package/dist/ColorLegendWithMouseOver.cjs.map +1 -1
  59. package/dist/ColorLegendWithMouseOver.js +60 -65
  60. package/dist/ColorLegendWithMouseOver.js.map +1 -1
  61. package/dist/Colors.cjs.map +1 -1
  62. package/dist/Colors.js +44 -430
  63. package/dist/Colors.js.map +1 -1
  64. package/dist/CopyTextButton.cjs +4 -4
  65. package/dist/CopyTextButton.cjs.map +1 -1
  66. package/dist/CopyTextButton.js +537 -455
  67. package/dist/CopyTextButton.js.map +1 -1
  68. package/dist/CsvDownloadButton.cjs +7 -7
  69. package/dist/CsvDownloadButton.cjs.map +1 -1
  70. package/dist/CsvDownloadButton.js +442 -447
  71. package/dist/CsvDownloadButton.js.map +1 -1
  72. package/dist/DataCards.cjs +5 -5
  73. package/dist/DataCards.cjs.map +1 -1
  74. package/dist/DataCards.d.ts +1 -0
  75. package/dist/DataCards.js +488 -581
  76. package/dist/DataCards.js.map +1 -1
  77. package/dist/DataTable.cjs +1 -1
  78. package/dist/DataTable.cjs.map +1 -1
  79. package/dist/DataTable.d.ts +1 -0
  80. package/dist/DataTable.js +183 -326
  81. package/dist/DataTable.js.map +1 -1
  82. package/dist/DifferenceLineChart.cjs +1 -1
  83. package/dist/DifferenceLineChart.cjs.map +1 -1
  84. package/dist/DifferenceLineChart.d.ts +1 -0
  85. package/dist/DifferenceLineChart.js +729 -794
  86. package/dist/DifferenceLineChart.js.map +1 -1
  87. package/dist/DonutChart.cjs +1 -1
  88. package/dist/DonutChart.cjs.map +1 -1
  89. package/dist/DonutChart.d.ts +1 -4
  90. package/dist/DonutChart.js +260 -444
  91. package/dist/DonutChart.js.map +1 -1
  92. package/dist/DotDensityMap.cjs +1 -1
  93. package/dist/DotDensityMap.cjs.map +1 -1
  94. package/dist/DotDensityMap.d.ts +3 -0
  95. package/dist/DotDensityMap.js +388 -582
  96. package/dist/DotDensityMap.js.map +1 -1
  97. package/dist/{DropdownSelect-CtOKZHD0.js → DropdownSelect-BbdPQa2k.js} +1401 -1374
  98. package/dist/DropdownSelect-BbdPQa2k.js.map +1 -0
  99. package/dist/DropdownSelect-Doz3mCrM.cjs +29 -0
  100. package/dist/DropdownSelect-Doz3mCrM.cjs.map +1 -0
  101. package/dist/DualAxisLineChart.cjs +1 -1
  102. package/dist/DualAxisLineChart.cjs.map +1 -1
  103. package/dist/DualAxisLineChart.d.ts +1 -0
  104. package/dist/DualAxisLineChart.js +617 -712
  105. package/dist/DualAxisLineChart.js.map +1 -1
  106. package/dist/DumbbellChart.cjs +1 -1
  107. package/dist/DumbbellChart.cjs.map +1 -1
  108. package/dist/DumbbellChart.d.ts +1 -0
  109. package/dist/DumbbellChart.js +789 -1499
  110. package/dist/DumbbellChart.js.map +1 -1
  111. package/dist/EmptyState-BZo1BbAn.js +15 -0
  112. package/dist/{EmptyState-DdTp-Mdn.js.map → EmptyState-BZo1BbAn.js.map} +1 -1
  113. package/dist/EmptyState-sAEZ_5rU.cjs +2 -0
  114. package/dist/{EmptyState-d8_8SxeW.cjs.map → EmptyState-sAEZ_5rU.cjs.map} +1 -1
  115. package/dist/ExcelDownloadButton.cjs +1 -1
  116. package/dist/ExcelDownloadButton.cjs.map +1 -1
  117. package/dist/ExcelDownloadButton.js +20 -24
  118. package/dist/ExcelDownloadButton.js.map +1 -1
  119. package/dist/FootNote.cjs +1 -1
  120. package/dist/FootNote.cjs.map +1 -1
  121. package/dist/FootNote.js +26 -17
  122. package/dist/FootNote.js.map +1 -1
  123. package/dist/GeoHubCompareMaps.cjs +1 -1
  124. package/dist/GeoHubCompareMaps.cjs.map +1 -1
  125. package/dist/GeoHubCompareMaps.d.ts +1 -0
  126. package/dist/GeoHubCompareMaps.js +264 -354
  127. package/dist/GeoHubCompareMaps.js.map +1 -1
  128. package/dist/GeoHubMap.cjs +1 -1
  129. package/dist/GeoHubMap.cjs.map +1 -1
  130. package/dist/GeoHubMap.d.ts +1 -0
  131. package/dist/GeoHubMap.js +214 -409
  132. package/dist/GeoHubMap.js.map +1 -1
  133. package/dist/GeoHubMapWithLayerSelection.cjs +1 -1
  134. package/dist/GeoHubMapWithLayerSelection.cjs.map +1 -1
  135. package/dist/GeoHubMapWithLayerSelection.d.ts +1 -0
  136. package/dist/GeoHubMapWithLayerSelection.js +192 -293
  137. package/dist/GeoHubMapWithLayerSelection.js.map +1 -1
  138. package/dist/GraphContainer-CRqzdKu2.js +78 -0
  139. package/dist/GraphContainer-CRqzdKu2.js.map +1 -0
  140. package/dist/GraphContainer-d8A46BK2.cjs +2 -0
  141. package/dist/GraphContainer-d8A46BK2.cjs.map +1 -0
  142. package/dist/GraphDescription.cjs +1 -1
  143. package/dist/GraphDescription.cjs.map +1 -1
  144. package/dist/GraphDescription.js +23 -17
  145. package/dist/GraphDescription.js.map +1 -1
  146. package/dist/GraphEl-BkyLYXG5.cjs +2 -0
  147. package/dist/GraphEl-BkyLYXG5.cjs.map +1 -0
  148. package/dist/{GraphEl-CqWzvOyr.js → GraphEl-DzRon4cb.js} +184 -202
  149. package/dist/GraphEl-DzRon4cb.js.map +1 -0
  150. package/dist/GraphFooter.cjs +1 -1
  151. package/dist/GraphFooter.cjs.map +1 -1
  152. package/dist/GraphFooter.js +28 -18
  153. package/dist/GraphFooter.js.map +1 -1
  154. package/dist/GraphHeader.cjs +1 -1
  155. package/dist/GraphHeader.cjs.map +1 -1
  156. package/dist/GraphHeader.d.ts +2 -1
  157. package/dist/GraphHeader.js +45 -59
  158. package/dist/GraphHeader.js.map +1 -1
  159. package/dist/GraphTitle.cjs +1 -1
  160. package/dist/GraphTitle.cjs.map +1 -1
  161. package/dist/GraphTitle.js +29 -24
  162. package/dist/GraphTitle.js.map +1 -1
  163. package/dist/GriddedGraphs.cjs +1 -1
  164. package/dist/GriddedGraphs.cjs.map +1 -1
  165. package/dist/GriddedGraphs.d.ts +2 -0
  166. package/dist/GriddedGraphs.js +216 -450
  167. package/dist/GriddedGraphs.js.map +1 -1
  168. package/dist/GriddedGraphsFromConfig.cjs +1 -1
  169. package/dist/GriddedGraphsFromConfig.cjs.map +1 -1
  170. package/dist/GriddedGraphsFromConfig.d.ts +2 -0
  171. package/dist/GriddedGraphsFromConfig.js +22 -36
  172. package/dist/GriddedGraphsFromConfig.js.map +1 -1
  173. package/dist/HeatMap.cjs +1 -1
  174. package/dist/HeatMap.cjs.map +1 -1
  175. package/dist/HeatMap.d.ts +1 -0
  176. package/dist/HeatMap.js +278 -446
  177. package/dist/HeatMap.js.map +1 -1
  178. package/dist/Histogram.cjs +1 -1
  179. package/dist/Histogram.cjs.map +1 -1
  180. package/dist/Histogram.d.ts +1 -0
  181. package/dist/Histogram.js +154 -264
  182. package/dist/Histogram.js.map +1 -1
  183. package/dist/ImageDownloadButton.cjs +1 -1
  184. package/dist/ImageDownloadButton.cjs.map +1 -1
  185. package/dist/ImageDownloadButton.d.ts +2 -1
  186. package/dist/ImageDownloadButton.js +21 -25
  187. package/dist/ImageDownloadButton.js.map +1 -1
  188. package/dist/LineChartWithConfidenceInterval.cjs +1 -1
  189. package/dist/LineChartWithConfidenceInterval.cjs.map +1 -1
  190. package/dist/LineChartWithConfidenceInterval.d.ts +1 -0
  191. package/dist/LineChartWithConfidenceInterval.js +674 -825
  192. package/dist/LineChartWithConfidenceInterval.js.map +1 -1
  193. package/dist/LinearColorLegend.cjs +1 -1
  194. package/dist/LinearColorLegend.cjs.map +1 -1
  195. package/dist/LinearColorLegend.js +49 -30
  196. package/dist/LinearColorLegend.js.map +1 -1
  197. package/dist/Modal-DGcuAHyK.js +1047 -0
  198. package/dist/Modal-DGcuAHyK.js.map +1 -0
  199. package/dist/Modal-JW_IExO3.cjs +46 -0
  200. package/dist/Modal-JW_IExO3.cjs.map +1 -0
  201. package/dist/MultiGraphDashboard.cjs +1 -1
  202. package/dist/MultiGraphDashboard.cjs.map +1 -1
  203. package/dist/MultiGraphDashboard.d.ts +2 -0
  204. package/dist/MultiGraphDashboard.js +122 -290
  205. package/dist/MultiGraphDashboard.js.map +1 -1
  206. package/dist/MultiGraphDashboardFromConfig.cjs +1 -1
  207. package/dist/MultiGraphDashboardFromConfig.cjs.map +1 -1
  208. package/dist/MultiGraphDashboardFromConfig.d.ts +2 -0
  209. package/dist/MultiGraphDashboardFromConfig.js +22 -31
  210. package/dist/MultiGraphDashboardFromConfig.js.map +1 -1
  211. package/dist/MultiGraphDashboardWideToLongFormat.cjs +1 -1
  212. package/dist/MultiGraphDashboardWideToLongFormat.cjs.map +1 -1
  213. package/dist/MultiGraphDashboardWideToLongFormat.d.ts +1 -0
  214. package/dist/MultiGraphDashboardWideToLongFormat.js +137 -223
  215. package/dist/MultiGraphDashboardWideToLongFormat.js.map +1 -1
  216. package/dist/MultiGraphDashboardWideToLongFormatFromConfig.cjs +1 -1
  217. package/dist/MultiGraphDashboardWideToLongFormatFromConfig.cjs.map +1 -1
  218. package/dist/MultiGraphDashboardWideToLongFormatFromConfig.d.ts +1 -0
  219. package/dist/MultiGraphDashboardWideToLongFormatFromConfig.js +25 -27
  220. package/dist/MultiGraphDashboardWideToLongFormatFromConfig.js.map +1 -1
  221. package/dist/MultiLineAltChart.cjs +1 -1
  222. package/dist/MultiLineAltChart.cjs.map +1 -1
  223. package/dist/MultiLineAltChart.d.ts +1 -0
  224. package/dist/MultiLineAltChart.js +581 -659
  225. package/dist/MultiLineAltChart.js.map +1 -1
  226. package/dist/MultiLineChart.cjs +1 -1
  227. package/dist/MultiLineChart.cjs.map +1 -1
  228. package/dist/MultiLineChart.d.ts +1 -0
  229. package/dist/MultiLineChart.js +617 -725
  230. package/dist/MultiLineChart.js.map +1 -1
  231. package/dist/ParetoChart.cjs +1 -1
  232. package/dist/ParetoChart.cjs.map +1 -1
  233. package/dist/ParetoChart.d.ts +1 -0
  234. package/dist/ParetoChart.js +531 -635
  235. package/dist/ParetoChart.js.map +1 -1
  236. package/dist/PerformanceIntensiveMultiGraphDashboard.cjs +1 -1
  237. package/dist/PerformanceIntensiveMultiGraphDashboard.cjs.map +1 -1
  238. package/dist/PerformanceIntensiveMultiGraphDashboard.d.ts +2 -0
  239. package/dist/PerformanceIntensiveMultiGraphDashboard.js +147 -338
  240. package/dist/PerformanceIntensiveMultiGraphDashboard.js.map +1 -1
  241. package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.cjs +1 -1
  242. package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.cjs.map +1 -1
  243. package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.d.ts +2 -0
  244. package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.js +22 -31
  245. package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.js.map +1 -1
  246. package/dist/PerformanceIntensiveScrollStory.cjs +1 -1
  247. package/dist/PerformanceIntensiveScrollStory.cjs.map +1 -1
  248. package/dist/PerformanceIntensiveScrollStory.d.ts +2 -0
  249. package/dist/PerformanceIntensiveScrollStory.js +93 -114
  250. package/dist/PerformanceIntensiveScrollStory.js.map +1 -1
  251. package/dist/RadarChart.cjs +1 -1
  252. package/dist/RadarChart.cjs.map +1 -1
  253. package/dist/RadarChart.d.ts +1 -0
  254. package/dist/RadarChart.js +426 -575
  255. package/dist/RadarChart.js.map +1 -1
  256. package/dist/ReferenceLine-2XCwHXQ4.js +162 -0
  257. package/dist/ReferenceLine-2XCwHXQ4.js.map +1 -0
  258. package/dist/ReferenceLine-BH0qdf4R.cjs +2 -0
  259. package/dist/ReferenceLine-BH0qdf4R.cjs.map +1 -0
  260. package/dist/RegressionLine-BOTTNSrr.cjs +2 -0
  261. package/dist/RegressionLine-BOTTNSrr.cjs.map +1 -0
  262. package/dist/RegressionLine-DAcY2DjT.js +87 -0
  263. package/dist/RegressionLine-DAcY2DjT.js.map +1 -0
  264. package/dist/SVGDownloadButton.cjs +1 -1
  265. package/dist/SVGDownloadButton.cjs.map +1 -1
  266. package/dist/SVGDownloadButton.js +21 -25
  267. package/dist/SVGDownloadButton.js.map +1 -1
  268. package/dist/SankeyChart.cjs +1 -1
  269. package/dist/SankeyChart.cjs.map +1 -1
  270. package/dist/SankeyChart.d.ts +1 -0
  271. package/dist/SankeyChart.js +665 -854
  272. package/dist/SankeyChart.js.map +1 -1
  273. package/dist/ScatterPlot.cjs +1 -1
  274. package/dist/ScatterPlot.cjs.map +1 -1
  275. package/dist/ScatterPlot.d.ts +1 -0
  276. package/dist/ScatterPlot.js +675 -815
  277. package/dist/ScatterPlot.js.map +1 -1
  278. package/dist/ScrollStory.cjs +1 -1
  279. package/dist/ScrollStory.cjs.map +1 -1
  280. package/dist/ScrollStory.d.ts +2 -0
  281. package/dist/ScrollStory.js +85 -97
  282. package/dist/ScrollStory.js.map +1 -1
  283. package/dist/SimpleLineChart.cjs +1 -1
  284. package/dist/SimpleLineChart.cjs.map +1 -1
  285. package/dist/SimpleLineChart.d.ts +1 -0
  286. package/dist/SimpleLineChart.js +504 -613
  287. package/dist/SimpleLineChart.js.map +1 -1
  288. package/dist/SingleGraphDashboard.cjs +1 -1
  289. package/dist/SingleGraphDashboard.cjs.map +1 -1
  290. package/dist/SingleGraphDashboard.d.ts +3 -1
  291. package/dist/SingleGraphDashboard.js +279 -507
  292. package/dist/SingleGraphDashboard.js.map +1 -1
  293. package/dist/SingleGraphDashboardFromConfig.cjs +1 -1
  294. package/dist/SingleGraphDashboardFromConfig.cjs.map +1 -1
  295. package/dist/SingleGraphDashboardFromConfig.d.ts +3 -1
  296. package/dist/SingleGraphDashboardFromConfig.js +25 -31
  297. package/dist/SingleGraphDashboardFromConfig.js.map +1 -1
  298. package/dist/SingleGraphDashboardGeoHubMaps.cjs +1 -1
  299. package/dist/SingleGraphDashboardGeoHubMaps.cjs.map +1 -1
  300. package/dist/SingleGraphDashboardGeoHubMaps.d.ts +2 -0
  301. package/dist/SingleGraphDashboardGeoHubMaps.js +146 -168
  302. package/dist/SingleGraphDashboardGeoHubMaps.js.map +1 -1
  303. package/dist/SingleGraphDashboardGeoHubMapsFromConfig.cjs +1 -1
  304. package/dist/SingleGraphDashboardGeoHubMapsFromConfig.cjs.map +1 -1
  305. package/dist/SingleGraphDashboardGeoHubMapsFromConfig.d.ts +2 -0
  306. package/dist/SingleGraphDashboardGeoHubMapsFromConfig.js +25 -21
  307. package/dist/SingleGraphDashboardGeoHubMapsFromConfig.js.map +1 -1
  308. package/dist/SingleGraphDashboardThreeDGraphs.cjs +1 -1
  309. package/dist/SingleGraphDashboardThreeDGraphs.cjs.map +1 -1
  310. package/dist/SingleGraphDashboardThreeDGraphs.d.ts +2 -0
  311. package/dist/SingleGraphDashboardThreeDGraphs.js +356 -589
  312. package/dist/SingleGraphDashboardThreeDGraphs.js.map +1 -1
  313. package/dist/SingleGraphDashboardThreeDGraphsFromConfig.cjs +1 -1
  314. package/dist/SingleGraphDashboardThreeDGraphsFromConfig.cjs.map +1 -1
  315. package/dist/SingleGraphDashboardThreeDGraphsFromConfig.d.ts +2 -0
  316. package/dist/SingleGraphDashboardThreeDGraphsFromConfig.js +25 -31
  317. package/dist/SingleGraphDashboardThreeDGraphsFromConfig.js.map +1 -1
  318. package/dist/SlopeChart.cjs +1 -1
  319. package/dist/SlopeChart.cjs.map +1 -1
  320. package/dist/SlopeChart.d.ts +1 -0
  321. package/dist/SlopeChart.js +539 -573
  322. package/dist/SlopeChart.js.map +1 -1
  323. package/dist/Source-DYMJRrsq.cjs +2 -0
  324. package/dist/Source-DYMJRrsq.cjs.map +1 -0
  325. package/dist/Source-DwTHB8fn.js +78 -0
  326. package/dist/Source-DwTHB8fn.js.map +1 -0
  327. package/dist/Source.cjs +1 -1
  328. package/dist/Source.cjs.map +1 -1
  329. package/dist/Source.js +4 -38
  330. package/dist/Source.js.map +1 -1
  331. package/dist/SparkLine.cjs +1 -1
  332. package/dist/SparkLine.cjs.map +1 -1
  333. package/dist/SparkLine.d.ts +1 -0
  334. package/dist/SparkLine.js +286 -314
  335. package/dist/SparkLine.js.map +1 -1
  336. package/dist/Spinner-D7rnnwnA.js +47 -0
  337. package/dist/Spinner-D7rnnwnA.js.map +1 -0
  338. package/dist/Spinner-DRMBUsX7.cjs +2 -0
  339. package/dist/Spinner-DRMBUsX7.cjs.map +1 -0
  340. package/dist/StatCardFromData.cjs +1 -1
  341. package/dist/StatCardFromData.cjs.map +1 -1
  342. package/dist/StatCardFromData.d.ts +1 -0
  343. package/dist/StatCardFromData.js +163 -243
  344. package/dist/StatCardFromData.js.map +1 -1
  345. package/dist/StripChart.cjs +1 -1
  346. package/dist/StripChart.cjs.map +1 -1
  347. package/dist/StripChart.d.ts +1 -0
  348. package/dist/StripChart.js +665 -983
  349. package/dist/StripChart.js.map +1 -1
  350. package/dist/ThreeDGlobe.cjs +1 -1
  351. package/dist/ThreeDGlobe.cjs.map +1 -1
  352. package/dist/ThreeDGlobe.d.ts +3 -0
  353. package/dist/ThreeDGlobe.js +355 -526
  354. package/dist/ThreeDGlobe.js.map +1 -1
  355. package/dist/ThresholdColorLegendWithMouseOver.cjs +1 -1
  356. package/dist/ThresholdColorLegendWithMouseOver.cjs.map +1 -1
  357. package/dist/ThresholdColorLegendWithMouseOver.js +96 -126
  358. package/dist/ThresholdColorLegendWithMouseOver.js.map +1 -1
  359. package/dist/Tooltip-4dJo4_AF.cjs +2 -0
  360. package/dist/Tooltip-4dJo4_AF.cjs.map +1 -0
  361. package/dist/Tooltip-CwWUegPB.js +43 -0
  362. package/dist/Tooltip-CwWUegPB.js.map +1 -0
  363. package/dist/TreeMapGraph.cjs +1 -1
  364. package/dist/TreeMapGraph.cjs.map +1 -1
  365. package/dist/TreeMapGraph.d.ts +1 -0
  366. package/dist/TreeMapGraph.js +479 -617
  367. package/dist/TreeMapGraph.js.map +1 -1
  368. package/dist/Types.d.ts +2 -0
  369. package/dist/Typography-DX7PlgQU.cjs +2 -0
  370. package/dist/Typography-DX7PlgQU.cjs.map +1 -0
  371. package/dist/Typography-PxtFcnJb.js +142 -0
  372. package/dist/Typography-PxtFcnJb.js.map +1 -0
  373. package/dist/UnitChart.cjs +1 -1
  374. package/dist/UnitChart.cjs.map +1 -1
  375. package/dist/UnitChart.d.ts +1 -0
  376. package/dist/UnitChart.js +160 -212
  377. package/dist/UnitChart.js.map +1 -1
  378. package/dist/XAxesLabels-D5X8jngD.cjs +2 -0
  379. package/dist/XAxesLabels-D5X8jngD.cjs.map +1 -0
  380. package/dist/XAxesLabels-DNO0KmjL.js +73 -0
  381. package/dist/XAxesLabels-DNO0KmjL.js.map +1 -0
  382. package/dist/XTicksAndGridLines-B6CELS7q.cjs +2 -0
  383. package/dist/XTicksAndGridLines-B6CELS7q.cjs.map +1 -0
  384. package/dist/XTicksAndGridLines-CObVFSm4.js +38 -0
  385. package/dist/XTicksAndGridLines-CObVFSm4.js.map +1 -0
  386. package/dist/YAxesLabels-DcS85Beo.cjs +2 -0
  387. package/dist/YAxesLabels-DcS85Beo.cjs.map +1 -0
  388. package/dist/YAxesLabels-Dnnng49-.js +70 -0
  389. package/dist/YAxesLabels-Dnnng49-.js.map +1 -0
  390. package/dist/YTicksAndGridLines-4pxTRlRK.cjs +2 -0
  391. package/dist/YTicksAndGridLines-4pxTRlRK.cjs.map +1 -0
  392. package/dist/YTicksAndGridLines-Blepl7XF.js +38 -0
  393. package/dist/YTicksAndGridLines-Blepl7XF.js.map +1 -0
  394. package/dist/{band-BEjh2CHI.js → band-CyHaVft5.js} +3 -3
  395. package/dist/{band-BEjh2CHI.js.map → band-CyHaVft5.js.map} +1 -1
  396. package/dist/{band-CAApY4Pd.cjs → band-VYfcZeJ2.cjs} +2 -2
  397. package/dist/{band-CAApY4Pd.cjs.map → band-VYfcZeJ2.cjs.map} +1 -1
  398. package/dist/checkIfMultiple-Y9iKaV_u.js +950 -0
  399. package/dist/checkIfMultiple-Y9iKaV_u.js.map +1 -0
  400. package/dist/checkIfMultiple-wg6hJLXy.cjs +12 -0
  401. package/dist/checkIfMultiple-wg6hJLXy.cjs.map +1 -0
  402. package/dist/customArea-BUhPiPT6.js +163 -0
  403. package/dist/{customArea-B-dWU0zZ.js.map → customArea-BUhPiPT6.js.map} +1 -1
  404. package/dist/customArea-CMF5g-C3.cjs +2 -0
  405. package/dist/{customArea-CK768gCn.cjs.map → customArea-CMF5g-C3.cjs.map} +1 -1
  406. package/dist/delaunay-C1uAf38t.js.map +1 -1
  407. package/dist/delaunay-rcy0HhZi.cjs.map +1 -1
  408. package/dist/{ensureCompleteData-DlmibgaI.js → ensureCompleteData-DNKEGRiP.js} +12 -32
  409. package/dist/{ensureCompleteData-DlmibgaI.js.map → ensureCompleteData-DNKEGRiP.js.map} +1 -1
  410. package/dist/{ensureCompleteData-DkQYPeDa.cjs → ensureCompleteData-I6nYmT8E.cjs} +2 -2
  411. package/dist/{ensureCompleteData-DkQYPeDa.cjs.map → ensureCompleteData-I6nYmT8E.cjs.map} +1 -1
  412. package/dist/{excelDownload-BOA-lskf.js → excelDownload-BEC1AyQW.js} +12 -2
  413. package/dist/{excelDownload-BOA-lskf.js.map → excelDownload-BEC1AyQW.js.map} +1 -1
  414. package/dist/excelDownload-BQpsCa62.cjs.map +1 -1
  415. package/dist/{fetchAndParseData-sapWbnYk.js → fetchAndParseData-BpqkBPQL.js} +15 -28
  416. package/dist/{fetchAndParseData-sapWbnYk.js.map → fetchAndParseData-BpqkBPQL.js.map} +1 -1
  417. package/dist/fetchAndParseData-l5HGMAEs.cjs +16 -0
  418. package/dist/{fetchAndParseData-Ba-_CgxS.cjs.map → fetchAndParseData-l5HGMAEs.cjs.map} +1 -1
  419. package/dist/fetchAndParseData.cjs +1 -1
  420. package/dist/fetchAndParseData.js +1 -1
  421. package/dist/{filterData-9nEcQ-Jp.js → filterData-DsAiFzKY.js} +3 -5
  422. package/dist/{filterData-9nEcQ-Jp.js.map → filterData-DsAiFzKY.js.map} +1 -1
  423. package/dist/{filterData-BoYadk0l.cjs → filterData-T5DQBE9b.cjs} +2 -2
  424. package/dist/{filterData-BoYadk0l.cjs.map → filterData-T5DQBE9b.cjs.map} +1 -1
  425. package/dist/generateRandomString-B5zBiJzS.cjs.map +1 -1
  426. package/dist/generateRandomString-za3IQGfQ.js.map +1 -1
  427. package/dist/{getCentroidCoordinates-Dfk6IqEG.js → getCentroidCoordinates-D7r34N4w.js} +2 -2
  428. package/dist/{getCentroidCoordinates-Dfk6IqEG.js.map → getCentroidCoordinates-D7r34N4w.js.map} +1 -1
  429. package/dist/{getCentroidCoordinates-DxTBqzp2.cjs → getCentroidCoordinates-Dng1HVjO.cjs} +2 -2
  430. package/dist/{getCentroidCoordinates-DxTBqzp2.cjs.map → getCentroidCoordinates-Dng1HVjO.cjs.map} +1 -1
  431. package/dist/getGraphList-BpEWn1Tk.js +227 -0
  432. package/dist/{getGraphList-DuColTJM.js.map → getGraphList-BpEWn1Tk.js.map} +1 -1
  433. package/dist/getGraphList-gf02xgT2.cjs.map +1 -1
  434. package/dist/getJenks-BbngDoBQ.js.map +1 -1
  435. package/dist/getJenks-GYmdwBqm.cjs.map +1 -1
  436. package/dist/getSchema.cjs.map +1 -1
  437. package/dist/getSchema.js +445 -231
  438. package/dist/getSchema.js.map +1 -1
  439. package/dist/getSliderMarks-BmADcPQt.cjs +6 -0
  440. package/dist/getSliderMarks-BmADcPQt.cjs.map +1 -0
  441. package/dist/getSliderMarks-HIDJ0_Cd.js +1033 -0
  442. package/dist/getSliderMarks-HIDJ0_Cd.js.map +1 -0
  443. package/dist/{getTextColorBasedOnBgColor-B6Nk2WBf.js → getTextColorBasedOnBgColor-CDY808zi.js} +11 -3
  444. package/dist/{getTextColorBasedOnBgColor-B6Nk2WBf.js.map → getTextColorBasedOnBgColor-CDY808zi.js.map} +1 -1
  445. package/dist/getTextColorBasedOnBgColor-nqY-bsM_.cjs.map +1 -1
  446. package/dist/{getUniqValue-DiCh_MOD.js → getUniqValue-BKHCm3zE.js} +2 -4
  447. package/dist/{getUniqValue-DiCh_MOD.js.map → getUniqValue-BKHCm3zE.js.map} +1 -1
  448. package/dist/getUniqValue-RViz8tTw.cjs.map +1 -1
  449. package/dist/{imageDownload-Dcci2LEy.js → imageDownload-BX6SILNZ.js} +4 -2
  450. package/dist/{imageDownload-Dcci2LEy.js.map → imageDownload-BX6SILNZ.js.map} +1 -1
  451. package/dist/imageDownload-CgDcm1Sj.cjs.map +1 -1
  452. package/dist/{index-DvVprvy6.js → index-BZQYSqar.js} +7 -7
  453. package/dist/{index-DvVprvy6.js.map → index-BZQYSqar.js.map} +1 -1
  454. package/dist/index-B_sAFsEV.cjs +2 -0
  455. package/dist/{index-BYzIB5V6.cjs.map → index-B_sAFsEV.cjs.map} +1 -1
  456. package/dist/index-BqfRwk1n.js +146 -0
  457. package/dist/index-BqfRwk1n.js.map +1 -0
  458. package/dist/{index-V_JXij1_.js → index-BuwmuDFJ.js} +3 -3
  459. package/dist/{index-V_JXij1_.js.map → index-BuwmuDFJ.js.map} +1 -1
  460. package/dist/index-CHPV5EwG-CTPQjnHt.cjs +84 -0
  461. package/dist/index-CHPV5EwG-CTPQjnHt.cjs.map +1 -0
  462. package/dist/{index-CHPV5EwG-BPSP-7Jg.js → index-CHPV5EwG-Curnpaqc.js} +937 -842
  463. package/dist/index-CHPV5EwG-Curnpaqc.js.map +1 -0
  464. package/dist/index-Cno4Q0YE.cjs +2 -0
  465. package/dist/{index-CQ3e6Ewi.cjs.map → index-Cno4Q0YE.cjs.map} +1 -1
  466. package/dist/{index-tvAyXPPW-DBlMKnNB.js → index-Cw8sCyo_-B2hEKjzG.js} +16 -16
  467. package/dist/{index-tvAyXPPW-DBlMKnNB.js.map → index-Cw8sCyo_-B2hEKjzG.js.map} +1 -1
  468. package/dist/index-Cw8sCyo_-BrHiWiRF.cjs +2 -0
  469. package/dist/index-Cw8sCyo_-BrHiWiRF.cjs.map +1 -0
  470. package/dist/index-CyZ1lmi_.cjs +2 -0
  471. package/dist/{index-D72cOtq7.cjs.map → index-CyZ1lmi_.cjs.map} +1 -1
  472. package/dist/index-D491FEn1.js +184 -0
  473. package/dist/index-D491FEn1.js.map +1 -0
  474. package/dist/index-DG2bgAva.cjs +10 -0
  475. package/dist/index-DG2bgAva.cjs.map +1 -0
  476. package/dist/index-DRXx7m-C.cjs +2 -0
  477. package/dist/index-DRXx7m-C.cjs.map +1 -0
  478. package/dist/index-DoY3Ga3W.cjs +2 -0
  479. package/dist/index-DoY3Ga3W.cjs.map +1 -0
  480. package/dist/index-DxXnJ8Ti.cjs +2 -0
  481. package/dist/index-DxXnJ8Ti.cjs.map +1 -0
  482. package/dist/{index-DG3YrCr5-D3FrrXj8.js → index-Dzc_aaI9-Bb7gobH_.js} +2 -2
  483. package/dist/{index-DG3YrCr5-D3FrrXj8.js.map → index-Dzc_aaI9-Bb7gobH_.js.map} +1 -1
  484. package/dist/{index-DG3YrCr5-v7rayV3N.cjs → index-Dzc_aaI9-BmkfPMyc.cjs} +2 -2
  485. package/dist/{index-DG3YrCr5-v7rayV3N.cjs.map → index-Dzc_aaI9-BmkfPMyc.cjs.map} +1 -1
  486. package/dist/{index-9tDEUqOZ.js → index-GEsywGxz.js} +9 -9
  487. package/dist/index-GEsywGxz.js.map +1 -0
  488. package/dist/index-SKgJALZg.js +99 -0
  489. package/dist/{index-DKCxu1Gh.js.map → index-SKgJALZg.js.map} +1 -1
  490. package/dist/index-leTnKT2q.js +329 -0
  491. package/dist/index-leTnKT2q.js.map +1 -0
  492. package/dist/index.cjs +1 -1
  493. package/dist/index.d.ts +19 -8
  494. package/dist/index.js +13 -13
  495. package/dist/{init-BhZylTFx.js → init-BJFW6EwE.js} +3 -3
  496. package/dist/{init-BhZylTFx.js.map → init-BJFW6EwE.js.map} +1 -1
  497. package/dist/{linear-BVckp9RD.cjs → linear-BwPAspcq.cjs} +2 -2
  498. package/dist/{linear-BVckp9RD.cjs.map → linear-BwPAspcq.cjs.map} +1 -1
  499. package/dist/{linear-DUdu7l2G.js → linear-BwnDd9KF.js} +3 -3
  500. package/dist/{linear-DUdu7l2G.js.map → linear-BwnDd9KF.js.map} +1 -1
  501. package/dist/numberFormattingFunction-02t-wJta.cjs.map +1 -1
  502. package/dist/numberFormattingFunction-14YCbkN2.js.map +1 -1
  503. package/dist/{ordinal-BOeNbyae.cjs → ordinal-CrsysVE-.cjs} +2 -2
  504. package/dist/ordinal-CrsysVE-.cjs.map +1 -0
  505. package/dist/{ordinal-w9Lu4Stb.js → ordinal-P77xw8aL.js} +24 -24
  506. package/dist/ordinal-P77xw8aL.js.map +1 -0
  507. package/dist/{pow-e8zx3AQJ.js → pow-DE4c7dbW.js} +3 -3
  508. package/dist/{pow-e8zx3AQJ.js.map → pow-DE4c7dbW.js.map} +1 -1
  509. package/dist/{pow-B5-jkdHU.cjs → pow-DgrUorRi.cjs} +2 -2
  510. package/dist/{pow-B5-jkdHU.cjs.map → pow-DgrUorRi.cjs.map} +1 -1
  511. package/dist/{proxy-CkpFesk1.js → proxy-BxkFHwUw.js} +144 -134
  512. package/dist/proxy-BxkFHwUw.js.map +1 -0
  513. package/dist/proxy-BxvUI_9l.cjs +2 -0
  514. package/dist/proxy-BxvUI_9l.cjs.map +1 -0
  515. package/dist/{removeOutliers-DR48e-18.js → removeOutliers-BqW0sPqj.js} +2 -5
  516. package/dist/{removeOutliers-DR48e-18.js.map → removeOutliers-BqW0sPqj.js.map} +1 -1
  517. package/dist/removeOutliers-WELHHqiI.cjs.map +1 -1
  518. package/dist/{sort-DfK1b0F5.js → sort-BIvMlUH1.js} +5 -5
  519. package/dist/{sort-DfK1b0F5.js.map → sort-BIvMlUH1.js.map} +1 -1
  520. package/dist/{string-CRoCZCYa.cjs → string-C-kRh1bQ.cjs} +2 -2
  521. package/dist/{string-CRoCZCYa.cjs.map → string-C-kRh1bQ.cjs.map} +1 -1
  522. package/dist/{string-B8KlVSPX.js → string-C_xJ4Wg4.js} +3 -3
  523. package/dist/{string-B8KlVSPX.js.map → string-C_xJ4Wg4.js.map} +1 -1
  524. package/dist/string2HTML-CPGr_I5E.cjs +3 -0
  525. package/dist/{string2HTML-z7CwHXcx.cjs.map → string2HTML-CPGr_I5E.cjs.map} +1 -1
  526. package/dist/{string2HTML-oFCROsus.js → string2HTML-DhG75NqA.js} +15 -9
  527. package/dist/{string2HTML-oFCROsus.js.map → string2HTML-DhG75NqA.js.map} +1 -1
  528. package/dist/style.css +1 -1
  529. package/dist/{svgDownload-C2-E3yf2.js → svgDownload-BAoarWNt.js} +4 -2
  530. package/dist/{svgDownload-C2-E3yf2.js.map → svgDownload-BAoarWNt.js.map} +1 -1
  531. package/dist/svgDownload-D9zEGjTF.cjs.map +1 -1
  532. package/dist/{threshold-DFfqcDMa.js → threshold-Bgr20hik.js} +2 -2
  533. package/dist/{threshold-DFfqcDMa.js.map → threshold-Bgr20hik.js.map} +1 -1
  534. package/dist/{time-Byw_jYQ7.cjs → time-CZd5YLSP.cjs} +2 -2
  535. package/dist/{time-Byw_jYQ7.cjs.map → time-CZd5YLSP.cjs.map} +1 -1
  536. package/dist/{time-BzJP5SPC.js → time-DCCfQk3V.js} +3 -3
  537. package/dist/{time-BzJP5SPC.js.map → time-DCCfQk3V.js.map} +1 -1
  538. package/dist/transformData.cjs +1 -1
  539. package/dist/transformData.js +3 -3
  540. package/dist/transformDataForAggregation-CE3bAlHU.js +585 -0
  541. package/dist/{transformDataForAggregation-sBpdlX8n.js.map → transformDataForAggregation-CE3bAlHU.js.map} +1 -1
  542. package/dist/transformDataForAggregation-KXGm6flX.cjs.map +1 -1
  543. package/dist/transformDataForGraphFromFile-BExxcITV.js +14 -0
  544. package/dist/{transformDataForGraphFromFile-ComYvzuz.js.map → transformDataForGraphFromFile-BExxcITV.js.map} +1 -1
  545. package/dist/{transformDataForGraphFromFile-DVZodTHd.cjs → transformDataForGraphFromFile-DaJHQCsL.cjs} +2 -2
  546. package/dist/{transformDataForGraphFromFile-DVZodTHd.cjs.map → transformDataForGraphFromFile-DaJHQCsL.cjs.map} +1 -1
  547. package/dist/transformDataForSelect-D8AuvYdf.js.map +1 -1
  548. package/dist/transformDataForSelect-YmStusCI.cjs.map +1 -1
  549. package/dist/uniqBy-BHy4I8PK.js.map +1 -1
  550. package/dist/uniqBy-O05lp2S5.cjs.map +1 -1
  551. package/dist/{use-in-view-yS6jzJAp.js → use-in-view-Cxa7y1TH.js} +2 -2
  552. package/dist/use-in-view-Cxa7y1TH.js.map +1 -0
  553. package/dist/use-in-view-QcfiW0w3.cjs +2 -0
  554. package/dist/use-in-view-QcfiW0w3.cjs.map +1 -0
  555. package/dist/utils.cjs +1 -1
  556. package/dist/utils.js +8 -8
  557. package/dist/validateSchema.cjs.map +1 -1
  558. package/dist/validateSchema.js +33 -29
  559. package/dist/validateSchema.js.map +1 -1
  560. package/dist/{x-BBpi7a_7-Dz2vKSfu.cjs → x-BBpi7a_7-mTo40uId.cjs} +2 -2
  561. package/dist/{x-BBpi7a_7-Dz2vKSfu.cjs.map → x-BBpi7a_7-mTo40uId.cjs.map} +1 -1
  562. package/dist/{y-D0sAaVii.js → y-BqfogMAB.js} +3 -3
  563. package/dist/{y-D0sAaVii.js.map → y-BqfogMAB.js.map} +1 -1
  564. package/dist/{zoom-QipiAl5W.js → zoom-C9MFjAaV.js} +5 -5
  565. package/dist/{zoom-QipiAl5W.js.map → zoom-C9MFjAaV.js.map} +1 -1
  566. package/dist/zoom-DPw8bba-.cjs +2 -0
  567. package/dist/{zoom-BiMNsz72.cjs.map → zoom-DPw8bba-.cjs.map} +1 -1
  568. package/package.json +9 -8
  569. package/dist/Axis-DE7dSn1_.cjs +0 -2
  570. package/dist/Axis-DE7dSn1_.cjs.map +0 -1
  571. package/dist/Axis-Ddg-seDi.js +0 -43
  572. package/dist/Axis-Ddg-seDi.js.map +0 -1
  573. package/dist/AxisTitle-BmHLMRJZ.js +0 -20
  574. package/dist/AxisTitle-BmHLMRJZ.js.map +0 -1
  575. package/dist/AxisTitle-CK9YeovX.cjs +0 -2
  576. package/dist/AxisTitle-CK9YeovX.cjs.map +0 -1
  577. package/dist/DropdownSelect-CtOKZHD0.js.map +0 -1
  578. package/dist/DropdownSelect-DBDM64B5.cjs +0 -29
  579. package/dist/DropdownSelect-DBDM64B5.cjs.map +0 -1
  580. package/dist/EmptyState-DdTp-Mdn.js +0 -22
  581. package/dist/EmptyState-d8_8SxeW.cjs +0 -2
  582. package/dist/GraphEl-C6yjl1VM.cjs +0 -2
  583. package/dist/GraphEl-C6yjl1VM.cjs.map +0 -1
  584. package/dist/GraphEl-CqWzvOyr.js.map +0 -1
  585. package/dist/Modal-DVVwpKhP.js +0 -1019
  586. package/dist/Modal-DVVwpKhP.js.map +0 -1
  587. package/dist/Modal-tXZlLE5s.cjs +0 -46
  588. package/dist/Modal-tXZlLE5s.cjs.map +0 -1
  589. package/dist/ReferenceLine-CFVBBN__.cjs +0 -2
  590. package/dist/ReferenceLine-CFVBBN__.cjs.map +0 -1
  591. package/dist/ReferenceLine-CfAW3vKJ.js +0 -128
  592. package/dist/ReferenceLine-CfAW3vKJ.js.map +0 -1
  593. package/dist/RegressionLine-C2--oMQq.js +0 -49
  594. package/dist/RegressionLine-C2--oMQq.js.map +0 -1
  595. package/dist/RegressionLine-Dj0GSiAp.cjs +0 -2
  596. package/dist/RegressionLine-Dj0GSiAp.cjs.map +0 -1
  597. package/dist/Spinner-C85UF28E.js +0 -30
  598. package/dist/Spinner-C85UF28E.js.map +0 -1
  599. package/dist/Spinner-DA6Z5E4n.cjs +0 -2
  600. package/dist/Spinner-DA6Z5E4n.cjs.map +0 -1
  601. package/dist/Tooltip-CVCGWyzw.js +0 -46
  602. package/dist/Tooltip-CVCGWyzw.js.map +0 -1
  603. package/dist/Tooltip-De16GWhY.cjs +0 -2
  604. package/dist/Tooltip-De16GWhY.cjs.map +0 -1
  605. package/dist/Typography-Ctgfl1J5.js +0 -140
  606. package/dist/Typography-Ctgfl1J5.js.map +0 -1
  607. package/dist/Typography-k-kOjICQ.cjs +0 -2
  608. package/dist/Typography-k-kOjICQ.cjs.map +0 -1
  609. package/dist/XAxesLabels-Drf7M3YK.cjs +0 -2
  610. package/dist/XAxesLabels-Drf7M3YK.cjs.map +0 -1
  611. package/dist/XAxesLabels-loO78vUO.js +0 -57
  612. package/dist/XAxesLabels-loO78vUO.js.map +0 -1
  613. package/dist/XTicksAndGridLines-Bn9u5gOM.js +0 -56
  614. package/dist/XTicksAndGridLines-Bn9u5gOM.js.map +0 -1
  615. package/dist/XTicksAndGridLines-CCzXIV8d.cjs +0 -2
  616. package/dist/XTicksAndGridLines-CCzXIV8d.cjs.map +0 -1
  617. package/dist/YAxesLabels-DECkMgq8.js +0 -52
  618. package/dist/YAxesLabels-DECkMgq8.js.map +0 -1
  619. package/dist/YAxesLabels-yRFFdx1s.cjs +0 -2
  620. package/dist/YAxesLabels-yRFFdx1s.cjs.map +0 -1
  621. package/dist/YTicksAndGridLines-B6ah7CRf.js +0 -56
  622. package/dist/YTicksAndGridLines-B6ah7CRf.js.map +0 -1
  623. package/dist/YTicksAndGridLines-DBDuz6vb.cjs +0 -2
  624. package/dist/YTicksAndGridLines-DBDuz6vb.cjs.map +0 -1
  625. package/dist/checkIfMultiple-BXbHUCWM.cjs +0 -12
  626. package/dist/checkIfMultiple-BXbHUCWM.cjs.map +0 -1
  627. package/dist/checkIfMultiple-ChTJk2Tk.js +0 -912
  628. package/dist/checkIfMultiple-ChTJk2Tk.js.map +0 -1
  629. package/dist/customArea-B-dWU0zZ.js +0 -175
  630. package/dist/customArea-CK768gCn.cjs +0 -2
  631. package/dist/fetchAndParseData-Ba-_CgxS.cjs +0 -16
  632. package/dist/getGraphList-DuColTJM.js +0 -265
  633. package/dist/getSliderMarks-9cNoRkDx.js +0 -1023
  634. package/dist/getSliderMarks-9cNoRkDx.js.map +0 -1
  635. package/dist/getSliderMarks-CRIbTGYV.cjs +0 -6
  636. package/dist/getSliderMarks-CRIbTGYV.cjs.map +0 -1
  637. package/dist/index-37q0ULNQ.js +0 -430
  638. package/dist/index-37q0ULNQ.js.map +0 -1
  639. package/dist/index-9tDEUqOZ.js.map +0 -1
  640. package/dist/index-BW8iNx7E.cjs +0 -10
  641. package/dist/index-BW8iNx7E.cjs.map +0 -1
  642. package/dist/index-BW_-wD2k.cjs +0 -2
  643. package/dist/index-BW_-wD2k.cjs.map +0 -1
  644. package/dist/index-BYzIB5V6.cjs +0 -2
  645. package/dist/index-BmCqpO1B.js +0 -342
  646. package/dist/index-BmCqpO1B.js.map +0 -1
  647. package/dist/index-CHPV5EwG-BPSP-7Jg.js.map +0 -1
  648. package/dist/index-CHPV5EwG-DDoeWRVt.cjs +0 -44
  649. package/dist/index-CHPV5EwG-DDoeWRVt.cjs.map +0 -1
  650. package/dist/index-CNvov0eg.js +0 -122
  651. package/dist/index-CNvov0eg.js.map +0 -1
  652. package/dist/index-CQ3e6Ewi.cjs +0 -2
  653. package/dist/index-CVlCtJbC.cjs +0 -2
  654. package/dist/index-CVlCtJbC.cjs.map +0 -1
  655. package/dist/index-CoZbeNM9.cjs +0 -2
  656. package/dist/index-CoZbeNM9.cjs.map +0 -1
  657. package/dist/index-D72cOtq7.cjs +0 -2
  658. package/dist/index-DKCxu1Gh.js +0 -77
  659. package/dist/index-tvAyXPPW-DPOG-C2i.cjs +0 -2
  660. package/dist/index-tvAyXPPW-DPOG-C2i.cjs.map +0 -1
  661. package/dist/ordinal-BOeNbyae.cjs.map +0 -1
  662. package/dist/ordinal-w9Lu4Stb.js.map +0 -1
  663. package/dist/proxy-BHRoeZgd.cjs +0 -2
  664. package/dist/proxy-BHRoeZgd.cjs.map +0 -1
  665. package/dist/proxy-CkpFesk1.js.map +0 -1
  666. package/dist/string2HTML-z7CwHXcx.cjs +0 -3
  667. package/dist/transformDataForAggregation-sBpdlX8n.js +0 -755
  668. package/dist/transformDataForGraphFromFile-ComYvzuz.js +0 -24
  669. package/dist/use-in-view-sQJZ_xDO.cjs +0 -2
  670. package/dist/use-in-view-sQJZ_xDO.cjs.map +0 -1
  671. package/dist/use-in-view-yS6jzJAp.js.map +0 -1
  672. package/dist/zoom-BiMNsz72.cjs +0 -2
@@ -1,810 +1,745 @@
1
- import { j as e, m as G } from "./index-CHPV5EwG-BPSP-7Jg.js";
2
- import { useRef as ut, useState as W, useEffect as Dt } from "react";
3
- import { p as u, f as Ht } from "./parse-DlCRUFh_.js";
4
- import { o as Rt } from "./index-DvVprvy6.js";
5
- import { n as Ct } from "./numberFormattingFunction-14YCbkN2.js";
6
- import { T as Ft } from "./Tooltip-CVCGWyzw.js";
7
- import { c as P } from "./checkIfNullOrUndefined-DmfiKkNw.js";
8
- import { C as Gt, g as Wt, A as Yt } from "./customArea-B-dWU0zZ.js";
9
- import { A as Xt } from "./AxisTitle-BmHLMRJZ.js";
10
- import { A as Et } from "./Axis-Ddg-seDi.js";
11
- import { X as Bt } from "./XTicksAndGridLines-Bn9u5gOM.js";
12
- import { R as zt } from "./ReferenceLine-CfAW3vKJ.js";
13
- import { Y as Ut } from "./YTicksAndGridLines-B6ah7CRf.js";
14
- import { H as qt } from "./index-DKCxu1Gh.js";
15
- import { t as Jt } from "./time-BzJP5SPC.js";
16
- import { a as Kt } from "./linear-DUdu7l2G.js";
17
- import { l as Mt, c as Qt } from "./line-CPfhohvF.js";
18
- import { c as Zt, s as _t, a as ti, m as ii } from "./step-BrDul-H4.js";
19
- import { a as Ot } from "./area-BE2wo7fv.js";
20
- import { s as ei } from "./select-DKy99ogv.js";
21
- import { a as ai } from "./init-BhZylTFx.js";
22
- import { p as ni } from "./pointer-CWRWOsrb.js";
23
- import { u as oi } from "./use-in-view-yS6jzJAp.js";
24
- import { m as g } from "./proxy-CkpFesk1.js";
25
- import { GraphFooter as ri } from "./GraphFooter.js";
26
- import { GraphHeader as si } from "./GraphHeader.js";
27
- import { ColorLegend as li } from "./ColorLegend.js";
28
- import { Colors as dt } from "./Colors.js";
29
- import { g as ci } from "./generateRandomString-za3IQGfQ.js";
30
- import { E as mi } from "./EmptyState-DdTp-Mdn.js";
31
- function hi(pt) {
32
- const {
33
- data: N,
34
- width: D,
35
- height: Y,
36
- lineColors: l,
37
- suffix: L,
1
+ import { c as si, m as fe, j as a } from "./index-CHPV5EwG-Curnpaqc.js";
2
+ import { useRef as Ye, useState as ie, useEffect as oi } from "react";
3
+ import { p as V, f as ui } from "./parse-DlCRUFh_.js";
4
+ import { o as di } from "./index-BZQYSqar.js";
5
+ import { n as ii } from "./numberFormattingFunction-14YCbkN2.js";
6
+ import { T as hi } from "./Tooltip-CwWUegPB.js";
7
+ import { c as It } from "./checkIfNullOrUndefined-DmfiKkNw.js";
8
+ import { C as pi, g as xi, A as yi } from "./customArea-BUhPiPT6.js";
9
+ import { A as gi } from "./AxisTitle-jeI7am8o.js";
10
+ import { A as vi } from "./Axis-CRyfcLjc.js";
11
+ import { X as wi } from "./XTicksAndGridLines-CObVFSm4.js";
12
+ import { a as bi } from "./ReferenceLine-2XCwHXQ4.js";
13
+ import { Y as ji } from "./YTicksAndGridLines-Blepl7XF.js";
14
+ import { H as Ai } from "./index-SKgJALZg.js";
15
+ import { t as Ci } from "./time-DCCfQk3V.js";
16
+ import { a as Oi } from "./linear-BwnDd9KF.js";
17
+ import { l as ai, c as Vi } from "./line-CPfhohvF.js";
18
+ import { c as Di, s as Li, a as Si, m as $i } from "./step-BrDul-H4.js";
19
+ import { a as ni } from "./area-BE2wo7fv.js";
20
+ import { s as ki } from "./select-DKy99ogv.js";
21
+ import { c as Ii } from "./init-BJFW6EwE.js";
22
+ import { p as Mi } from "./pointer-CWRWOsrb.js";
23
+ import { u as Ti } from "./use-in-view-Cxa7y1TH.js";
24
+ import { m as S } from "./proxy-BxkFHwUw.js";
25
+ import { GraphFooter as Ni } from "./GraphFooter.js";
26
+ import { GraphHeader as Pi } from "./GraphHeader.js";
27
+ import { ColorLegend as Hi } from "./ColorLegend.js";
28
+ import { Colors as We } from "./Colors.js";
29
+ import { g as Fi } from "./generateRandomString-za3IQGfQ.js";
30
+ import { E as Gi } from "./EmptyState-BZo1BbAn.js";
31
+ import { a as Ri, G as Wi } from "./GraphContainer-CRqzdKu2.js";
32
+ function Yi(r) {
33
+ const t = si.c(217), {
34
+ data: $,
35
+ width: it,
36
+ height: Mt,
37
+ lineColors: c,
38
+ suffix: C,
38
39
  prefix: w,
39
- dateFormat: r,
40
- showValues: c,
41
- noOfXTicks: J,
42
- rightMargin: ft,
43
- leftMargin: j,
44
- topMargin: gt,
45
- bottomMargin: K,
46
- tooltip: X,
47
- highlightAreaSettings: V,
48
- onSeriesMouseOver: E,
49
- animate: a,
50
- rtl: Q,
51
- showColorLegendAtTop: wt,
52
- colorDomain: H,
53
- diffAreaColors: Z,
54
- idSuffix: b,
55
- strokeWidth: _,
56
- showDots: tt,
57
- refValues: B,
40
+ dateFormat: f,
41
+ showValues: b,
42
+ noOfXTicks: Tt,
43
+ rightMargin: Nt,
44
+ leftMargin: D,
45
+ topMargin: Pt,
46
+ bottomMargin: yt,
47
+ tooltip: W,
48
+ highlightAreaSettings: Ht,
49
+ onSeriesMouseOver: Ft,
50
+ animate: i,
51
+ rtl: Y,
52
+ showColorLegendAtTop: Gt,
53
+ colorDomain: M,
54
+ diffAreaColors: k,
55
+ idSuffix: nt,
56
+ strokeWidth: T,
57
+ showDots: N,
58
+ refValues: gt,
58
59
  minValue: I,
59
- maxValue: z,
60
- annotations: k,
61
- customHighlightAreaSettings: R,
62
- yAxisTitle: U,
63
- noOfYTicks: it,
64
- minDate: et,
65
- maxDate: at,
66
- curveType: F,
67
- styles: y,
60
+ maxValue: vt,
61
+ annotations: Rt,
62
+ customHighlightAreaSettings: Wt,
63
+ yAxisTitle: X,
64
+ noOfYTicks: ue,
65
+ minDate: Yt,
66
+ maxDate: wt,
67
+ curveType: bt,
68
+ styles: p,
68
69
  classNames: d,
69
- precision: T,
70
- customLayers: nt
71
- } = pt, ot = ut(null), s = oi(ot, {
72
- once: a.once,
73
- amount: a.amount
74
- }), [m, vt] = W(!1);
75
- Dt(() => {
76
- if (s && !m) {
77
- const t = setTimeout(
78
- () => {
79
- vt(!0);
80
- },
81
- (a.duration + 0.5) * 1e3
82
- );
83
- return () => clearTimeout(t);
70
+ precision: A,
71
+ customLayers: P
72
+ } = r, jt = Ye(null);
73
+ let E;
74
+ t[0] !== i.amount || t[1] !== i.once ? (E = {
75
+ once: i.once,
76
+ amount: i.amount
77
+ }, t[0] = i.amount, t[1] = i.once, t[2] = E) : E = t[2];
78
+ const m = Ti(jt, E), [h, ne] = ie(!1);
79
+ let At, ot;
80
+ t[3] !== i.duration || t[4] !== h || t[5] !== m ? (At = () => {
81
+ if (m && !h) {
82
+ const o = setTimeout(() => {
83
+ ne(!0);
84
+ }, (i.duration + 0.5) * 1e3);
85
+ return () => clearTimeout(o);
84
86
  }
85
- }, [s, m, a.duration]);
86
- const M = F === "linear" ? Qt : F === "step" ? Zt : F === "stepAfter" ? _t : F === "stepBefore" ? ti : ii, [S, rt] = W(void 0), [st, lt] = W(void 0), [A, C] = W(void 0), p = {
87
- top: gt,
88
- bottom: K,
89
- left: U ? j + 30 : j,
90
- right: ft
91
- }, ct = ut(null), i = Rt(
92
- N.map((t) => ({
93
- ...t,
94
- date: u(`${t.date}`, r, /* @__PURE__ */ new Date())
95
- })),
96
- ["date"],
97
- ["asc"]
98
- ), mt = V.map((t) => ({
99
- ...t,
100
- coordinates: [
101
- t.coordinates[0] === null ? null : u(`${t.coordinates[0]}`, r, /* @__PURE__ */ new Date()),
102
- t.coordinates[1] === null ? null : u(`${t.coordinates[1]}`, r, /* @__PURE__ */ new Date())
103
- ]
104
- })), ht = R.map((t) => ({
105
- ...t,
106
- coordinates: t.coordinates.map(
107
- (v, $) => $ % 2 === 0 ? u(`${v}`, r, /* @__PURE__ */ new Date()) : v
108
- )
109
- })), h = D - p.left - p.right, f = Y - p.top - p.bottom, xt = et ? u(`${et}`, r, /* @__PURE__ */ new Date()) : i[0].date, x = at ? u(`${at}`, r, /* @__PURE__ */ new Date()) : i[i.length - 1].date, q = Math.min(...i.map((t) => t.y1)) !== 1 / 0 ? Math.min(...i.map((t) => t.y1)) > 0 ? 0 : Math.min(...i.map((t) => t.y1)) : 0, Vt = Math.min(...i.map((t) => t.y2)) !== 1 / 0 ? Math.min(...i.map((t) => t.y2)) > 0 ? 0 : Math.min(...i.map((t) => t.y2)) : 0, $t = Math.max(...i.map((t) => t.y1)) !== 1 / 0 ? Math.max(...i.map((t) => t.y1)) : 0, Nt = Math.max(...i.map((t) => t.y2)) !== 1 / 0 ? Math.max(...i.map((t) => t.y2)) : 0, O = P(I) ? q < Vt ? q : Vt : I, jt = $t > Nt ? $t : Nt, n = Jt().domain([xt, x]).range([0, h]), o = Kt().domain([
110
- P(I) ? O : I,
111
- P(z) ? jt > 0 ? jt : 0 : z
112
- ]).range([f, 0]).nice(), bt = Mt().x((t) => n(t.date)).y((t) => o(t.y1)).curve(M), Lt = Mt().x((t) => n(t.date)).y((t) => o(t.y2)).curve(M), It = Ot().x((t) => n(t.date)).y1((t) => o(t.y1)).y0((t) => o(t.y2)).curve(M), St = Ot().x((t) => n(t.date)).y1((t) => o(t.y1)).y0(0).curve(M), Pt = Ot().x((t) => n(t.date)).y1((t) => o(t.y2)).y0(0).curve(M), kt = o.ticks(it), Tt = n.ticks(J);
113
- return Dt(() => {
114
- const t = ($) => {
115
- const yt = i[ai(
116
- i.map((At) => At.date),
117
- n.invert(ni($)[0]),
118
- 0
119
- )];
120
- rt(yt || i[i.length - 1]), E?.(yt || i[i.length - 1]), C($.clientY), lt($.clientX);
121
- }, v = () => {
122
- rt(void 0), lt(void 0), C(void 0), E?.(void 0);
87
+ }, ot = [m, h, i.duration], t[3] = i.duration, t[4] = h, t[5] = m, t[6] = At, t[7] = ot) : (At = t[6], ot = t[7]), oi(At, ot);
88
+ const B = bt === "linear" ? Vi : bt === "step" ? Di : bt === "stepAfter" ? Li : bt === "stepBefore" ? Si : $i, [L, g] = ie(void 0), [x, oe] = ie(void 0), [z, Xt] = ie(void 0), Ct = X ? D + 30 : D;
89
+ let at;
90
+ t[8] !== yt || t[9] !== Nt || t[10] !== Ct || t[11] !== Pt ? (at = {
91
+ top: Pt,
92
+ bottom: yt,
93
+ left: Ct,
94
+ right: Nt
95
+ }, t[8] = yt, t[9] = Nt, t[10] = Ct, t[11] = Pt, t[12] = at) : at = t[12];
96
+ const y = at, st = Ye(null);
97
+ let U;
98
+ t[13] !== f ? (U = (o) => ({
99
+ ...o,
100
+ date: V(`${o.date}`, f, /* @__PURE__ */ new Date())
101
+ }), t[13] = f, t[14] = U) : U = t[14];
102
+ const n = di($.map(U), ["date"], ["asc"]);
103
+ let rt;
104
+ if (t[15] !== f || t[16] !== Ht) {
105
+ let o;
106
+ t[18] !== f ? (o = (e) => ({
107
+ ...e,
108
+ coordinates: [e.coordinates[0] === null ? null : V(`${e.coordinates[0]}`, f, /* @__PURE__ */ new Date()), e.coordinates[1] === null ? null : V(`${e.coordinates[1]}`, f, /* @__PURE__ */ new Date())]
109
+ }), t[18] = f, t[19] = o) : o = t[19], rt = Ht.map(o), t[15] = f, t[16] = Ht, t[17] = rt;
110
+ } else
111
+ rt = t[17];
112
+ const Ot = rt;
113
+ let lt;
114
+ if (t[20] !== Wt || t[21] !== f) {
115
+ let o;
116
+ t[23] !== f ? (o = (e) => ({
117
+ ...e,
118
+ coordinates: e.coordinates.map((R, kt) => kt % 2 === 0 ? V(`${R}`, f, /* @__PURE__ */ new Date()) : R)
119
+ }), t[23] = f, t[24] = o) : o = t[24], lt = Wt.map(o), t[20] = Wt, t[21] = f, t[22] = lt;
120
+ } else
121
+ lt = t[22];
122
+ const ae = lt, u = it - y.left - y.right, v = Mt - y.top - y.bottom, se = Yt ? V(`${Yt}`, f, /* @__PURE__ */ new Date()) : n[0].date, Et = wt ? V(`${wt}`, f, /* @__PURE__ */ new Date()) : n[n.length - 1].date, q = Math.min(...n.map(sn)) !== 1 / 0 ? Math.min(...n.map(an)) > 0 ? 0 : Math.min(...n.map(on)) : 0, J = Math.min(...n.map(nn)) !== 1 / 0 ? Math.min(...n.map(en)) > 0 ? 0 : Math.min(...n.map(tn)) : 0, H = Math.max(...n.map(_i)) !== 1 / 0 ? Math.max(...n.map(Zi)) : 0, Bt = Math.max(...n.map(Qi)) !== 1 / 0 ? Math.max(...n.map(Ki)) : 0;
123
+ let K;
124
+ t[25] !== q || t[26] !== J || t[27] !== I ? (K = It(I) ? q < J ? q : J : I, t[25] = q, t[26] = J, t[27] = I, t[28] = K) : K = t[28];
125
+ const j = K, Q = H > Bt ? H : Bt, s = Ci().domain([se, Et]).range([0, u]);
126
+ let ct;
127
+ t[29] !== j || t[30] !== I ? (ct = It(I) ? j : I, t[29] = j, t[30] = I, t[31] = ct) : ct = t[31];
128
+ let Z;
129
+ t[32] !== Q || t[33] !== vt ? (Z = It(vt) ? Q > 0 ? Q : 0 : vt, t[32] = Q, t[33] = vt, t[34] = Z) : Z = t[34];
130
+ const l = Oi().domain([ct, Z]).range([v, 0]).nice(), mt = ai().x((o) => s(o.date)).y((o) => l(o.y1)).curve(B), zt = ai().x((o) => s(o.date)).y((o) => l(o.y2)).curve(B), Vt = ni().x((o) => s(o.date)).y1((o) => l(o.y1)).y0((o) => l(o.y2)).curve(B), re = ni().x((o) => s(o.date)).y1((o) => l(o.y1)).y0(0).curve(B), le = ni().x((o) => s(o.date)).y1((o) => l(o.y2)).y0(0).curve(B), Ut = l.ticks(ue), qt = s.ticks(Tt);
131
+ oi(() => {
132
+ const o = (R) => {
133
+ const kt = n[Ii(n.map(Ji), s.invert(Mi(R)[0]), 0)];
134
+ g(kt || n[n.length - 1]), Ft?.(kt || n[n.length - 1]), Xt(R.clientY), oe(R.clientX);
135
+ }, e = () => {
136
+ g(void 0), oe(void 0), Xt(void 0), Ft?.(void 0);
123
137
  };
124
- ei(ct.current).on("mousemove", t).on("mouseout", v);
125
- }, [n, i, E]), /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
126
- /* @__PURE__ */ e.jsx(
127
- g.svg,
128
- {
129
- width: `${D}px`,
130
- height: `${Y}px`,
131
- viewBox: `0 0 ${D} ${Y}`,
132
- direction: "ltr",
133
- ref: ot,
134
- children: /* @__PURE__ */ e.jsxs("g", { transform: `translate(${p.left},${p.top})`, children: [
135
- /* @__PURE__ */ e.jsx("clipPath", { id: `above${b}`, children: /* @__PURE__ */ e.jsx(
136
- "path",
137
- {
138
- d: Pt(i),
139
- style: { fill: "none" }
140
- }
141
- ) }),
142
- /* @__PURE__ */ e.jsx("clipPath", { id: `below${b}`, children: /* @__PURE__ */ e.jsx(
143
- "path",
144
- {
145
- d: St(i),
146
- style: { fill: "none" }
147
- }
148
- ) }),
149
- /* @__PURE__ */ e.jsx(
150
- qt,
151
- {
152
- areaSettings: mt,
153
- width: h,
154
- height: f,
155
- scale: n,
156
- animate: a,
157
- isInView: s
158
- }
159
- ),
160
- /* @__PURE__ */ e.jsx(
161
- Gt,
162
- {
163
- areaSettings: ht,
164
- scaleX: n,
165
- scaleY: o,
166
- animate: a,
167
- isInView: s
168
- }
169
- ),
170
- /* @__PURE__ */ e.jsx("g", { children: /* @__PURE__ */ e.jsxs("g", { children: [
171
- /* @__PURE__ */ e.jsx(
172
- Ut,
173
- {
174
- values: kt.filter((t) => t !== 0),
175
- y: kt.filter((t) => t !== 0).map((t) => o(t)),
176
- x1: 0 - j,
177
- x2: h + p.right,
178
- styles: {
179
- gridLines: y?.yAxis?.gridLines,
180
- labels: y?.yAxis?.labels
181
- },
182
- classNames: {
183
- gridLines: d?.yAxis?.gridLines,
184
- labels: d?.yAxis?.labels
185
- },
186
- suffix: L,
187
- prefix: w,
188
- labelType: "secondary",
189
- showGridLines: !0,
190
- labelPos: "vertical",
191
- precision: T
192
- }
193
- ),
194
- /* @__PURE__ */ e.jsx(
195
- Et,
196
- {
197
- y1: o(O < 0 ? 0 : O),
198
- y2: o(O < 0 ? 0 : O),
199
- x1: 0 - j,
200
- x2: h + p.right,
201
- label: Ct(
202
- O < 0 ? 0 : O,
203
- "NA",
204
- T,
205
- w,
206
- L
207
- ),
208
- labelPos: {
209
- x: 0 - j,
210
- y: o(O < 0 ? 0 : O),
211
- dx: 0,
212
- dy: jt < 0 ? "1rem" : -5
213
- },
214
- classNames: {
215
- axis: d?.xAxis?.axis,
216
- label: d?.yAxis?.labels
217
- },
218
- styles: {
219
- axis: y?.xAxis?.axis,
220
- label: y?.yAxis?.labels
221
- }
222
- }
223
- ),
224
- /* @__PURE__ */ e.jsx(
225
- Xt,
226
- {
227
- x: 0 - j - 15,
228
- y: f / 2,
229
- style: y?.yAxis?.title,
230
- className: d?.yAxis?.title,
231
- text: U,
232
- rotate90: !0
233
- }
234
- )
235
- ] }) }),
236
- /* @__PURE__ */ e.jsx(
237
- Bt,
238
- {
239
- values: Tt.map((t) => Ht(t, r)),
240
- x: Tt.map((t) => n(t)),
241
- y1: 0,
242
- y2: f,
243
- styles: {
244
- gridLines: y?.xAxis?.gridLines,
245
- labels: y?.xAxis?.labels
246
- },
247
- classNames: {
248
- gridLines: G("opacity-0", d?.xAxis?.gridLines),
249
- labels: G(
250
- "fill-primary-gray-700 dark:fill-primary-gray-300 xs:max-[360px]:hidden text-[9px] md:text-[10px] lg:text-xs",
251
- d?.xAxis?.labels
252
- )
253
- },
254
- suffix: L,
255
- prefix: w,
256
- labelType: "primary",
257
- showGridLines: !0,
258
- precision: T
138
+ ki(st.current).on("mousemove", o).on("mouseout", e);
139
+ }, [s, n, Ft]);
140
+ let ft;
141
+ t[35] === Symbol.for("react.memo_cache_sentinel") ? (ft = {
142
+ fill: "none"
143
+ }, t[35] = ft) : ft = t[35];
144
+ let _;
145
+ t[36] === Symbol.for("react.memo_cache_sentinel") ? (_ = {
146
+ fill: "none"
147
+ }, t[36] = _) : _ = t[36];
148
+ let ut;
149
+ t[37] !== i || t[38] !== v || t[39] !== u || t[40] !== Ot || t[41] !== m || t[42] !== s ? (ut = /* @__PURE__ */ a.jsx(Ai, { areaSettings: Ot, width: u, height: v, scale: s, animate: i, isInView: m }), t[37] = i, t[38] = v, t[39] = u, t[40] = Ot, t[41] = m, t[42] = s, t[43] = ut) : ut = t[43];
150
+ const dt = p?.yAxis?.gridLines, ce = p?.yAxis?.labels;
151
+ let tt;
152
+ t[44] !== dt || t[45] !== ce ? (tt = {
153
+ gridLines: dt,
154
+ labels: ce
155
+ }, t[44] = dt, t[45] = ce, t[46] = tt) : tt = t[46];
156
+ const me = d?.yAxis?.gridLines, Dt = d?.yAxis?.labels;
157
+ let Lt;
158
+ t[47] !== me || t[48] !== Dt ? (Lt = {
159
+ gridLines: me,
160
+ labels: Dt
161
+ }, t[47] = me, t[48] = Dt, t[49] = Lt) : Lt = t[49];
162
+ const ht = l(j < 0 ? 0 : j), pt = l(j < 0 ? 0 : j), St = 0 - D, $t = u + y.right, F = j < 0 ? 0 : j;
163
+ let O;
164
+ t[50] !== A || t[51] !== w || t[52] !== C || t[53] !== F ? (O = ii(F, "NA", A, w, C), t[50] = A, t[51] = w, t[52] = C, t[53] = F, t[54] = O) : O = t[54];
165
+ const G = 0 - D, xt = l(j < 0 ? 0 : j), Jt = Q < 0 ? "1rem" : -5;
166
+ let et;
167
+ t[55] !== G || t[56] !== xt || t[57] !== Jt ? (et = {
168
+ x: G,
169
+ y: xt,
170
+ dx: 0,
171
+ dy: Jt
172
+ }, t[55] = G, t[56] = xt, t[57] = Jt, t[58] = et) : et = t[58];
173
+ const Xe = d?.xAxis?.axis, Ee = d?.yAxis?.labels;
174
+ let Kt;
175
+ t[59] !== Xe || t[60] !== Ee ? (Kt = {
176
+ axis: Xe,
177
+ label: Ee
178
+ }, t[59] = Xe, t[60] = Ee, t[61] = Kt) : Kt = t[61];
179
+ const Be = p?.xAxis?.axis, ze = p?.yAxis?.labels;
180
+ let Qt;
181
+ t[62] !== Be || t[63] !== ze ? (Qt = {
182
+ axis: Be,
183
+ label: ze
184
+ }, t[62] = Be, t[63] = ze, t[64] = Qt) : Qt = t[64];
185
+ let de;
186
+ t[65] !== ht || t[66] !== pt || t[67] !== St || t[68] !== $t || t[69] !== O || t[70] !== et || t[71] !== Kt || t[72] !== Qt ? (de = /* @__PURE__ */ a.jsx(vi, { y1: ht, y2: pt, x1: St, x2: $t, label: O, labelPos: et, classNames: Kt, styles: Qt }), t[65] = ht, t[66] = pt, t[67] = St, t[68] = $t, t[69] = O, t[70] = et, t[71] = Kt, t[72] = Qt, t[73] = de) : de = t[73];
187
+ const Ue = 0 - D - 15, qe = v / 2, Je = p?.yAxis?.title, Ke = d?.yAxis?.title;
188
+ let he;
189
+ t[74] !== Ue || t[75] !== qe || t[76] !== Je || t[77] !== Ke || t[78] !== X ? (he = /* @__PURE__ */ a.jsx(gi, { x: Ue, y: qe, style: Je, className: Ke, text: X, rotate90: !0 }), t[74] = Ue, t[75] = qe, t[76] = Je, t[77] = Ke, t[78] = X, t[79] = he) : he = t[79];
190
+ let pe;
191
+ t[80] !== f ? (pe = (o) => ui(o, f), t[80] = f, t[81] = pe) : pe = t[81];
192
+ const ri = qt.map(pe), li = qt.map((o) => s(o)), Qe = p?.xAxis?.gridLines, Ze = p?.xAxis?.labels;
193
+ let xe;
194
+ t[82] !== Qe || t[83] !== Ze ? (xe = {
195
+ gridLines: Qe,
196
+ labels: Ze
197
+ }, t[82] = Qe, t[83] = Ze, t[84] = xe) : xe = t[84];
198
+ const _e = d?.xAxis?.gridLines;
199
+ let Zt;
200
+ t[85] !== _e ? (Zt = fe("opacity-0", _e), t[85] = _e, t[86] = Zt) : Zt = t[86];
201
+ const ti = d?.xAxis?.labels;
202
+ let _t;
203
+ t[87] !== ti ? (_t = fe("fill-primary-gray-700 dark:fill-primary-gray-300 xs:max-[360px]:hidden text-[9px] md:text-[10px] lg:text-xs", ti), t[87] = ti, t[88] = _t) : _t = t[88];
204
+ let ye;
205
+ t[89] !== Zt || t[90] !== _t ? (ye = {
206
+ gridLines: Zt,
207
+ labels: _t
208
+ }, t[89] = Zt, t[90] = _t, t[91] = ye) : ye = t[91];
209
+ let ge;
210
+ t[92] !== P ? (ge = P.filter(zi).map(Bi), t[92] = P, t[93] = ge) : ge = t[93];
211
+ let ve;
212
+ t[94] !== k[1] ? (ve = {
213
+ fill: k[1]
214
+ }, t[94] = k[1], t[95] = ve) : ve = t[95];
215
+ let we;
216
+ t[96] !== i.duration ? (we = {
217
+ opacity: 0,
218
+ transition: {
219
+ duration: i.duration
220
+ }
221
+ }, t[96] = i.duration, t[97] = we) : we = t[97];
222
+ let be;
223
+ t[98] === Symbol.for("react.memo_cache_sentinel") ? (be = {
224
+ opacity: 1
225
+ }, t[98] = be) : be = t[98];
226
+ let je;
227
+ t[99] !== i.duration ? (je = {
228
+ initial: be,
229
+ whileInView: {
230
+ opacity: 1,
231
+ transition: {
232
+ duration: i.duration
233
+ }
234
+ }
235
+ }, t[99] = i.duration, t[100] = je) : je = t[100];
236
+ let Ae;
237
+ t[101] !== k[0] ? (Ae = {
238
+ fill: k[0]
239
+ }, t[101] = k[0], t[102] = Ae) : Ae = t[102];
240
+ let Ce;
241
+ t[103] !== i.duration ? (Ce = {
242
+ opacity: 0,
243
+ transition: {
244
+ duration: i.duration
245
+ }
246
+ }, t[103] = i.duration, t[104] = Ce) : Ce = t[104];
247
+ let Oe;
248
+ t[105] === Symbol.for("react.memo_cache_sentinel") ? (Oe = {
249
+ opacity: 0
250
+ }, t[105] = Oe) : Oe = t[105];
251
+ let Ve;
252
+ t[106] !== i.duration ? (Ve = {
253
+ initial: Oe,
254
+ whileInView: {
255
+ opacity: 1,
256
+ transition: {
257
+ duration: i.duration
258
+ }
259
+ }
260
+ }, t[106] = i.duration, t[107] = Ve) : Ve = t[107];
261
+ let De;
262
+ t[108] !== c[0] || t[109] !== T ? (De = {
263
+ fill: "none",
264
+ stroke: c[0],
265
+ strokeWidth: T
266
+ }, t[108] = c[0], t[109] = T, t[110] = De) : De = t[110];
267
+ let Le;
268
+ t[111] !== i.duration ? (Le = {
269
+ opacity: 0,
270
+ transition: {
271
+ duration: i.duration
272
+ }
273
+ }, t[111] = i.duration, t[112] = Le) : Le = t[112];
274
+ let Se;
275
+ t[113] !== c[1] || t[114] !== T ? (Se = {
276
+ fill: "none",
277
+ stroke: c[1],
278
+ strokeWidth: T
279
+ }, t[113] = c[1], t[114] = T, t[115] = Se) : Se = t[115];
280
+ let $e;
281
+ t[116] !== i.duration ? ($e = {
282
+ opacity: 0,
283
+ transition: {
284
+ duration: i.duration
285
+ }
286
+ }, t[116] = i.duration, t[117] = $e) : $e = t[117];
287
+ const ci = 1, ei = zt(n) || "";
288
+ let te;
289
+ t[118] !== i.duration ? (te = {
290
+ duration: i.duration
291
+ }, t[118] = i.duration, t[119] = te) : te = t[119];
292
+ let ke;
293
+ t[120] !== ei || t[121] !== te ? (ke = {
294
+ pathLength: ci,
295
+ d: ei,
296
+ opacity: 1,
297
+ transition: te
298
+ }, t[120] = ei, t[121] = te, t[122] = ke) : ke = t[122];
299
+ let Ie;
300
+ t[123] !== i.duration || t[124] !== M || t[125] !== n || t[126] !== h || t[127] !== m || t[128] !== c[0] || t[129] !== c[1] || t[130] !== Gt || t[131] !== s || t[132] !== l ? (Ie = Gt ? null : /* @__PURE__ */ a.jsxs("g", { children: [
301
+ /* @__PURE__ */ a.jsx(S.text, { className: "text-xs", dx: 5, dy: 4, exit: {
302
+ opacity: 0,
303
+ transition: {
304
+ duration: i.duration
305
+ }
306
+ }, variants: {
307
+ initial: {
308
+ opacity: 0,
309
+ x: s(n[n.length - 1].date),
310
+ y: l(n[n.length - 1].y1),
311
+ fill: c[0]
312
+ },
313
+ whileInView: {
314
+ opacity: 1,
315
+ x: s(n[n.length - 1].date),
316
+ y: l(n[n.length - 1].y1),
317
+ fill: c[0],
318
+ transition: {
319
+ duration: h ? i.duration : 0.5,
320
+ delay: h ? 0 : i.duration
321
+ }
322
+ }
323
+ }, initial: "initial", animate: m ? "whileInView" : "initial", children: M[0] }, M[0]),
324
+ /* @__PURE__ */ a.jsx(S.text, { className: "text-xs", dx: 5, dy: 4, exit: {
325
+ opacity: 0,
326
+ transition: {
327
+ duration: i.duration
328
+ }
329
+ }, variants: {
330
+ initial: {
331
+ opacity: 0,
332
+ x: s(n[n.length - 1].date),
333
+ y: l(n[n.length - 1].y2),
334
+ fill: c[1]
335
+ },
336
+ whileInView: {
337
+ opacity: 1,
338
+ x: s(n[n.length - 1].date),
339
+ y: l(n[n.length - 1].y2),
340
+ fill: c[1],
341
+ transition: {
342
+ duration: h ? i.duration : 0.5,
343
+ delay: h ? 0 : i.duration
344
+ }
345
+ }
346
+ }, initial: "initial", animate: m ? "whileInView" : "initial", children: M[1] }, M[1])
347
+ ] }), t[123] = i.duration, t[124] = M, t[125] = n, t[126] = h, t[127] = m, t[128] = c[0], t[129] = c[1], t[130] = Gt, t[131] = s, t[132] = l, t[133] = Ie) : Ie = t[133];
348
+ let Me;
349
+ t[134] !== d?.mouseOverLine || t[135] !== v || t[136] !== L || t[137] !== p?.mouseOverLine || t[138] !== s ? (Me = L ? /* @__PURE__ */ a.jsx("line", { y1: 0, y2: v, x1: s(L.date), x2: s(L.date), className: fe("undp-tick-line stroke-primary-gray-700 dark:stroke-primary-gray-100", d?.mouseOverLine), style: p?.mouseOverLine }) : null, t[134] = d?.mouseOverLine, t[135] = v, t[136] = L, t[137] = p?.mouseOverLine, t[138] = s, t[139] = Me) : Me = t[139];
350
+ let Te;
351
+ if (t[140] !== i.duration || t[141] !== d?.graphObjectValues || t[142] !== n || t[143] !== u || t[144] !== h || t[145] !== m || t[146] !== c[0] || t[147] !== c[1] || t[148] !== A || t[149] !== w || t[150] !== N || t[151] !== b || t[152] !== p?.graphObjectValues || t[153] !== C || t[154] !== s || t[155] !== l) {
352
+ let o;
353
+ t[157] !== i.duration || t[158] !== d?.graphObjectValues || t[159] !== n.length || t[160] !== u || t[161] !== h || t[162] !== m || t[163] !== c[0] || t[164] !== c[1] || t[165] !== A || t[166] !== w || t[167] !== N || t[168] !== b || t[169] !== p?.graphObjectValues || t[170] !== C || t[171] !== s || t[172] !== l ? (o = (e, R) => /* @__PURE__ */ a.jsxs(S.g, { children: [
354
+ It(e.y1) ? null : /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
355
+ N ? /* @__PURE__ */ a.jsx(S.circle, { r: u / n.length < 5 ? 0 : u / n.length < 20 ? 2 : 4, exit: {
356
+ opacity: 0,
357
+ transition: {
358
+ duration: i.duration
359
+ }
360
+ }, variants: {
361
+ initial: {
362
+ opacity: 0,
363
+ cx: s(e.date),
364
+ cy: l(e.y1),
365
+ fill: c[0]
366
+ },
367
+ whileInView: {
368
+ opacity: 1,
369
+ fill: c[0],
370
+ transition: {
371
+ duration: 0.5,
372
+ delay: i.duration
373
+ },
374
+ cx: s(e.date),
375
+ cy: l(e.y1)
376
+ }
377
+ }, initial: "initial", animate: m ? "whileInView" : "initial" }) : null,
378
+ b ? /* @__PURE__ */ a.jsx(S.text, { dy: e.y2 < e.y1 ? -8 : "1em", style: {
379
+ textAnchor: "middle",
380
+ ...p?.graphObjectValues || {}
381
+ }, className: fe("graph-value graph-value-line-1 text-xs font-bold", d?.graphObjectValues), exit: {
382
+ opacity: 0,
383
+ transition: {
384
+ duration: i.duration
385
+ }
386
+ }, variants: {
387
+ initial: {
388
+ opacity: 0,
389
+ x: s(e.date),
390
+ y: l(e.y1),
391
+ fill: c[0]
392
+ },
393
+ whileInView: {
394
+ opacity: 1,
395
+ fill: c[0],
396
+ x: s(e.date),
397
+ y: l(e.y1),
398
+ transition: {
399
+ duration: h ? i.duration : 0.5,
400
+ delay: h ? 0 : i.duration
259
401
  }
260
- ),
261
- nt.filter((t) => t.position === "before").map((t) => t.layer),
262
- /* @__PURE__ */ e.jsxs("g", { children: [
263
- /* @__PURE__ */ e.jsx(
264
- g.path,
265
- {
266
- clipPath: `url(#below${b})`,
267
- d: It(i) || "",
268
- style: { fill: Z[1] },
269
- exit: { opacity: 0, transition: { duration: a.duration } },
270
- variants: {
271
- initial: { opacity: 1 },
272
- whileInView: { opacity: 1, transition: { duration: a.duration } }
273
- },
274
- initial: "initial",
275
- animate: s ? "whileInView" : "initial"
276
- }
277
- ),
278
- /* @__PURE__ */ e.jsx(
279
- g.path,
280
- {
281
- clipPath: `url(#above${b})`,
282
- d: It(i) || "",
283
- style: { fill: Z[0] },
284
- exit: { opacity: 0, transition: { duration: a.duration } },
285
- variants: {
286
- initial: { opacity: 0 },
287
- whileInView: { opacity: 1, transition: { duration: a.duration } }
288
- },
289
- initial: "initial",
290
- animate: s ? "whileInView" : "initial"
291
- }
292
- )
293
- ] }),
294
- /* @__PURE__ */ e.jsxs("g", { children: [
295
- /* @__PURE__ */ e.jsx(
296
- g.path,
297
- {
298
- d: bt(i) || "",
299
- style: {
300
- fill: "none",
301
- stroke: l[0],
302
- strokeWidth: _
303
- },
304
- exit: { opacity: 0, transition: { duration: a.duration } },
305
- variants: {
306
- initial: { pathLength: 0, d: bt(i) || "", opacity: 1 },
307
- whileInView: {
308
- pathLength: 1,
309
- d: bt(i) || "",
310
- opacity: 1,
311
- transition: { duration: a.duration }
312
- }
313
- },
314
- initial: "initial",
315
- animate: s ? "whileInView" : "initial"
316
- }
317
- ),
318
- /* @__PURE__ */ e.jsx(
319
- g.path,
320
- {
321
- style: {
322
- fill: "none",
323
- stroke: l[1],
324
- strokeWidth: _
325
- },
326
- exit: { opacity: 0, transition: { duration: a.duration } },
327
- variants: {
328
- initial: { pathLength: 0, d: Lt(i) || "", opacity: 1 },
329
- whileInView: {
330
- pathLength: 1,
331
- d: Lt(i) || "",
332
- opacity: 1,
333
- transition: { duration: a.duration }
334
- }
335
- },
336
- initial: "initial",
337
- animate: s ? "whileInView" : "initial"
338
- }
339
- ),
340
- wt ? null : /* @__PURE__ */ e.jsxs("g", { children: [
341
- /* @__PURE__ */ e.jsx(
342
- g.text,
343
- {
344
- className: "text-xs",
345
- dx: 5,
346
- dy: 4,
347
- exit: { opacity: 0, transition: { duration: a.duration } },
348
- variants: {
349
- initial: {
350
- opacity: 0,
351
- x: n(i[i.length - 1].date),
352
- y: o(i[i.length - 1].y1),
353
- fill: l[0]
354
- },
355
- whileInView: {
356
- opacity: 1,
357
- x: n(i[i.length - 1].date),
358
- y: o(i[i.length - 1].y1),
359
- fill: l[0],
360
- transition: {
361
- duration: m ? a.duration : 0.5,
362
- delay: m ? 0 : a.duration
363
- }
364
- }
365
- },
366
- initial: "initial",
367
- animate: s ? "whileInView" : "initial",
368
- children: H[0]
369
- },
370
- H[0]
371
- ),
372
- /* @__PURE__ */ e.jsx(
373
- g.text,
374
- {
375
- className: "text-xs",
376
- dx: 5,
377
- dy: 4,
378
- exit: { opacity: 0, transition: { duration: a.duration } },
379
- variants: {
380
- initial: {
381
- opacity: 0,
382
- x: n(i[i.length - 1].date),
383
- y: o(i[i.length - 1].y2),
384
- fill: l[1]
385
- },
386
- whileInView: {
387
- opacity: 1,
388
- x: n(i[i.length - 1].date),
389
- y: o(i[i.length - 1].y2),
390
- fill: l[1],
391
- transition: {
392
- duration: m ? a.duration : 0.5,
393
- delay: m ? 0 : a.duration
394
- }
395
- }
396
- },
397
- initial: "initial",
398
- animate: s ? "whileInView" : "initial",
399
- children: H[1]
400
- },
401
- H[1]
402
- )
403
- ] }),
404
- S ? /* @__PURE__ */ e.jsx(
405
- "line",
406
- {
407
- y1: 0,
408
- y2: f,
409
- x1: n(S.date),
410
- x2: n(S.date),
411
- className: G(
412
- "undp-tick-line stroke-primary-gray-700 dark:stroke-primary-gray-100",
413
- d?.mouseOverLine
414
- ),
415
- style: y?.mouseOverLine
416
- }
417
- ) : null,
418
- i.map((t, v) => /* @__PURE__ */ e.jsxs(g.g, { children: [
419
- P(t.y1) ? null : /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
420
- tt ? /* @__PURE__ */ e.jsx(
421
- g.circle,
422
- {
423
- r: h / i.length < 5 ? 0 : h / i.length < 20 ? 2 : 4,
424
- exit: { opacity: 0, transition: { duration: a.duration } },
425
- variants: {
426
- initial: { opacity: 0, cx: n(t.date), cy: o(t.y1), fill: l[0] },
427
- whileInView: {
428
- opacity: 1,
429
- fill: l[0],
430
- transition: { duration: 0.5, delay: a.duration },
431
- cx: n(t.date),
432
- cy: o(t.y1)
433
- }
434
- },
435
- initial: "initial",
436
- animate: s ? "whileInView" : "initial"
437
- }
438
- ) : null,
439
- c ? /* @__PURE__ */ e.jsx(
440
- g.text,
441
- {
442
- dy: t.y2 < t.y1 ? -8 : "1em",
443
- style: {
444
- textAnchor: "middle",
445
- ...y?.graphObjectValues || {}
446
- },
447
- className: G(
448
- "graph-value graph-value-line-1 text-xs font-bold",
449
- d?.graphObjectValues
450
- ),
451
- exit: { opacity: 0, transition: { duration: a.duration } },
452
- variants: {
453
- initial: { opacity: 0, x: n(t.date), y: o(t.y1), fill: l[0] },
454
- whileInView: {
455
- opacity: 1,
456
- fill: l[0],
457
- x: n(t.date),
458
- y: o(t.y1),
459
- transition: {
460
- duration: m ? a.duration : 0.5,
461
- delay: m ? 0 : a.duration
462
- }
463
- }
464
- },
465
- initial: "initial",
466
- animate: s ? "whileInView" : "initial",
467
- children: Ct(t.y1, "NA", T, w, L)
468
- }
469
- ) : null
470
- ] }),
471
- P(t.y2) ? null : /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
472
- tt ? /* @__PURE__ */ e.jsx(
473
- g.circle,
474
- {
475
- r: h / i.length < 5 ? 0 : h / i.length < 20 ? 2 : 4,
476
- exit: { opacity: 0, transition: { duration: a.duration } },
477
- variants: {
478
- initial: { opacity: 0, cx: n(t.date), cy: o(t.y2), fill: l[1] },
479
- whileInView: {
480
- opacity: 1,
481
- fill: l[1],
482
- transition: {
483
- duration: m ? a.duration : 0.5,
484
- delay: m ? 0 : a.duration
485
- },
486
- cx: n(t.date),
487
- cy: o(t.y2)
488
- }
489
- },
490
- initial: "initial",
491
- animate: s ? "whileInView" : "initial"
492
- }
493
- ) : null,
494
- c ? /* @__PURE__ */ e.jsx(
495
- g.text,
496
- {
497
- dy: t.y2 > t.y1 ? -8 : "1em",
498
- style: {
499
- textAnchor: "middle",
500
- ...y?.graphObjectValues || {}
501
- },
502
- className: G(
503
- "graph-value graph-value-line-2 text-xs font-bold",
504
- d?.graphObjectValues
505
- ),
506
- exit: { opacity: 0, transition: { duration: a.duration } },
507
- variants: {
508
- initial: { opacity: 0, x: n(t.date), y: o(t.y2), fill: l[1] },
509
- whileInView: {
510
- opacity: 1,
511
- x: n(t.date),
512
- y: o(t.y2),
513
- fill: l[1],
514
- transition: {
515
- duration: m ? a.duration : 0.5,
516
- delay: m ? 0 : a.duration
517
- }
518
- }
519
- },
520
- initial: "initial",
521
- animate: s ? "whileInView" : "initial",
522
- children: Ct(t.y2, "NA", T, w, L)
523
- }
524
- ) : null
525
- ] })
526
- ] }, v))
527
- ] }),
528
- B ? /* @__PURE__ */ e.jsx(e.Fragment, { children: B.map((t, v) => /* @__PURE__ */ e.jsx(
529
- zt,
530
- {
531
- text: t.text,
532
- color: t.color,
533
- y: o(t.value),
534
- x1: 0 - j,
535
- x2: h + p.right,
536
- classNames: t.classNames,
537
- styles: t.styles,
538
- animate: a,
539
- isInView: s
402
+ }
403
+ }, initial: "initial", animate: m ? "whileInView" : "initial", children: ii(e.y1, "NA", A, w, C) }) : null
404
+ ] }),
405
+ It(e.y2) ? null : /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
406
+ N ? /* @__PURE__ */ a.jsx(S.circle, { r: u / n.length < 5 ? 0 : u / n.length < 20 ? 2 : 4, exit: {
407
+ opacity: 0,
408
+ transition: {
409
+ duration: i.duration
410
+ }
411
+ }, variants: {
412
+ initial: {
413
+ opacity: 0,
414
+ cx: s(e.date),
415
+ cy: l(e.y2),
416
+ fill: c[1]
417
+ },
418
+ whileInView: {
419
+ opacity: 1,
420
+ fill: c[1],
421
+ transition: {
422
+ duration: h ? i.duration : 0.5,
423
+ delay: h ? 0 : i.duration
540
424
  },
541
- v
542
- )) }) : null,
543
- /* @__PURE__ */ e.jsx("g", { children: k.map((t, v) => {
544
- const $ = Wt(
545
- {
546
- x: t.xCoordinate ? n(u(`${t.xCoordinate}`, r, /* @__PURE__ */ new Date())) + (t.xOffset || 0) : 0 + (t.xOffset || 0),
547
- y: t.yCoordinate ? o(t.yCoordinate) + (t.yOffset || 0) - 8 : 0 + (t.yOffset || 0) - 8
548
- },
549
- {
550
- x: t.xCoordinate ? n(u(`${t.xCoordinate}`, r, /* @__PURE__ */ new Date())) : 0,
551
- y: t.yCoordinate ? o(t.yCoordinate) : 0
552
- },
553
- P(t.connectorRadius) ? 3.5 : t.connectorRadius
554
- ), yt = t.showConnector ? {
555
- y1: $.y,
556
- x1: $.x,
557
- y2: t.yCoordinate ? o(t.yCoordinate) + (t.yOffset || 0) : 0 + (t.yOffset || 0),
558
- x2: t.xCoordinate ? n(u(`${t.xCoordinate}`, r, /* @__PURE__ */ new Date())) + (t.xOffset || 0) : 0 + (t.xOffset || 0),
559
- cy: t.yCoordinate ? o(t.yCoordinate) : 0,
560
- cx: t.xCoordinate ? n(u(`${t.xCoordinate}`, r, /* @__PURE__ */ new Date())) : 0,
561
- circleRadius: P(t.connectorRadius) ? 3.5 : t.connectorRadius,
562
- strokeWidth: t.showConnector === !0 ? 2 : Math.min(t.showConnector || 0, 1)
563
- } : void 0, At = {
564
- y: t.yCoordinate ? o(t.yCoordinate) + (t.yOffset || 0) - 8 : 0 + (t.yOffset || 0) - 8,
565
- x: Q ? 0 : t.xCoordinate ? n(u(`${t.xCoordinate}`, r, /* @__PURE__ */ new Date())) + (t.xOffset || 0) : 0 + (t.xOffset || 0),
566
- width: Q ? t.xCoordinate ? n(u(`${t.xCoordinate}`, r, /* @__PURE__ */ new Date())) + (t.xOffset || 0) : 0 + (t.xOffset || 0) : h + p.right - (t.xCoordinate ? n(u(`${t.xCoordinate}`, r, /* @__PURE__ */ new Date())) + (t.xOffset || 0) : 0 + (t.xOffset || 0)),
567
- maxWidth: t.maxWidth,
568
- fontWeight: t.fontWeight,
569
- align: t.align
570
- };
571
- return /* @__PURE__ */ e.jsx(
572
- Yt,
573
- {
574
- color: t.color,
575
- connectorsSettings: yt,
576
- labelSettings: At,
577
- text: t.text,
578
- classNames: t.classNames,
579
- styles: t.styles,
580
- animate: a,
581
- isInView: s
582
- },
583
- v
584
- );
585
- }) }),
586
- nt.filter((t) => t.position === "after").map((t) => t.layer),
587
- /* @__PURE__ */ e.jsx(
588
- "rect",
589
- {
590
- ref: ct,
591
- style: {
592
- fill: "none",
593
- pointerEvents: "all"
594
- },
595
- width: h,
596
- height: f
425
+ cx: s(e.date),
426
+ cy: l(e.y2)
427
+ }
428
+ }, initial: "initial", animate: m ? "whileInView" : "initial" }) : null,
429
+ b ? /* @__PURE__ */ a.jsx(S.text, { dy: e.y2 > e.y1 ? -8 : "1em", style: {
430
+ textAnchor: "middle",
431
+ ...p?.graphObjectValues || {}
432
+ }, className: fe("graph-value graph-value-line-2 text-xs font-bold", d?.graphObjectValues), exit: {
433
+ opacity: 0,
434
+ transition: {
435
+ duration: i.duration
436
+ }
437
+ }, variants: {
438
+ initial: {
439
+ opacity: 0,
440
+ x: s(e.date),
441
+ y: l(e.y2),
442
+ fill: c[1]
443
+ },
444
+ whileInView: {
445
+ opacity: 1,
446
+ x: s(e.date),
447
+ y: l(e.y2),
448
+ fill: c[1],
449
+ transition: {
450
+ duration: h ? i.duration : 0.5,
451
+ delay: h ? 0 : i.duration
597
452
  }
598
- )
599
- ] })
600
- }
601
- ),
602
- S && X && st && A ? /* @__PURE__ */ e.jsx(
603
- Ft,
604
- {
605
- data: S,
606
- body: X,
607
- xPos: st,
608
- yPos: A,
609
- backgroundStyle: y?.tooltip,
610
- className: d?.tooltip
611
- }
612
- ) : null
453
+ }
454
+ }, initial: "initial", animate: m ? "whileInView" : "initial", children: ii(e.y2, "NA", A, w, C) }) : null
455
+ ] })
456
+ ] }, R), t[157] = i.duration, t[158] = d?.graphObjectValues, t[159] = n.length, t[160] = u, t[161] = h, t[162] = m, t[163] = c[0], t[164] = c[1], t[165] = A, t[166] = w, t[167] = N, t[168] = b, t[169] = p?.graphObjectValues, t[170] = C, t[171] = s, t[172] = l, t[173] = o) : o = t[173], Te = n.map(o), t[140] = i.duration, t[141] = d?.graphObjectValues, t[142] = n, t[143] = u, t[144] = h, t[145] = m, t[146] = c[0], t[147] = c[1], t[148] = A, t[149] = w, t[150] = N, t[151] = b, t[152] = p?.graphObjectValues, t[153] = C, t[154] = s, t[155] = l, t[156] = Te;
457
+ } else
458
+ Te = t[156];
459
+ let Ne;
460
+ t[174] !== i || t[175] !== u || t[176] !== m || t[177] !== D || t[178] !== y.right || t[179] !== gt || t[180] !== l ? (Ne = gt ? /* @__PURE__ */ a.jsx(a.Fragment, { children: gt.map((o, e) => /* @__PURE__ */ a.jsx(bi, { text: o.text, color: o.color, y: l(o.value), x1: 0 - D, x2: u + y.right, classNames: o.classNames, styles: o.styles, animate: i, isInView: m }, e)) }) : null, t[174] = i, t[175] = u, t[176] = m, t[177] = D, t[178] = y.right, t[179] = gt, t[180] = l, t[181] = Ne) : Ne = t[181];
461
+ let ee;
462
+ if (t[182] !== i || t[183] !== Rt || t[184] !== f || t[185] !== u || t[186] !== m || t[187] !== y.right || t[188] !== Y || t[189] !== s || t[190] !== l) {
463
+ let o;
464
+ t[192] !== i || t[193] !== f || t[194] !== u || t[195] !== m || t[196] !== y.right || t[197] !== Y || t[198] !== s || t[199] !== l ? (o = (e, R) => {
465
+ const kt = xi({
466
+ x: e.xCoordinate ? s(V(`${e.xCoordinate}`, f, /* @__PURE__ */ new Date())) + (e.xOffset || 0) : 0 + (e.xOffset || 0),
467
+ y: e.yCoordinate ? l(e.yCoordinate) + (e.yOffset || 0) - 8 : 0 + (e.yOffset || 0) - 8
468
+ }, {
469
+ x: e.xCoordinate ? s(V(`${e.xCoordinate}`, f, /* @__PURE__ */ new Date())) : 0,
470
+ y: e.yCoordinate ? l(e.yCoordinate) : 0
471
+ }, It(e.connectorRadius) ? 3.5 : e.connectorRadius), mi = e.showConnector ? {
472
+ y1: kt.y,
473
+ x1: kt.x,
474
+ y2: e.yCoordinate ? l(e.yCoordinate) + (e.yOffset || 0) : 0 + (e.yOffset || 0),
475
+ x2: e.xCoordinate ? s(V(`${e.xCoordinate}`, f, /* @__PURE__ */ new Date())) + (e.xOffset || 0) : 0 + (e.xOffset || 0),
476
+ cy: e.yCoordinate ? l(e.yCoordinate) : 0,
477
+ cx: e.xCoordinate ? s(V(`${e.xCoordinate}`, f, /* @__PURE__ */ new Date())) : 0,
478
+ circleRadius: It(e.connectorRadius) ? 3.5 : e.connectorRadius,
479
+ strokeWidth: e.showConnector === !0 ? 2 : Math.min(e.showConnector || 0, 1)
480
+ } : void 0, fi = {
481
+ y: e.yCoordinate ? l(e.yCoordinate) + (e.yOffset || 0) - 8 : 0 + (e.yOffset || 0) - 8,
482
+ x: Y ? 0 : e.xCoordinate ? s(V(`${e.xCoordinate}`, f, /* @__PURE__ */ new Date())) + (e.xOffset || 0) : 0 + (e.xOffset || 0),
483
+ width: Y ? e.xCoordinate ? s(V(`${e.xCoordinate}`, f, /* @__PURE__ */ new Date())) + (e.xOffset || 0) : 0 + (e.xOffset || 0) : u + y.right - (e.xCoordinate ? s(V(`${e.xCoordinate}`, f, /* @__PURE__ */ new Date())) + (e.xOffset || 0) : 0 + (e.xOffset || 0)),
484
+ maxWidth: e.maxWidth,
485
+ fontWeight: e.fontWeight,
486
+ align: e.align
487
+ };
488
+ return /* @__PURE__ */ a.jsx(yi, { color: e.color, connectorsSettings: mi, labelSettings: fi, text: e.text, classNames: e.classNames, styles: e.styles, animate: i, isInView: m }, R);
489
+ }, t[192] = i, t[193] = f, t[194] = u, t[195] = m, t[196] = y.right, t[197] = Y, t[198] = s, t[199] = l, t[200] = o) : o = t[200], ee = Rt.map(o), t[182] = i, t[183] = Rt, t[184] = f, t[185] = u, t[186] = m, t[187] = y.right, t[188] = Y, t[189] = s, t[190] = l, t[191] = ee;
490
+ } else
491
+ ee = t[191];
492
+ let Pe;
493
+ t[201] !== ee ? (Pe = /* @__PURE__ */ a.jsx("g", { children: ee }), t[201] = ee, t[202] = Pe) : Pe = t[202];
494
+ let He;
495
+ t[203] !== P ? (He = P.filter(Ei).map(Xi), t[203] = P, t[204] = He) : He = t[204];
496
+ let Fe;
497
+ t[205] === Symbol.for("react.memo_cache_sentinel") ? (Fe = {
498
+ fill: "none",
499
+ pointerEvents: "all"
500
+ }, t[205] = Fe) : Fe = t[205];
501
+ let Ge;
502
+ t[206] !== st || t[207] !== v || t[208] !== u ? (Ge = /* @__PURE__ */ a.jsx("rect", { ref: st, style: Fe, width: u, height: v }), t[206] = st, t[207] = v, t[208] = u, t[209] = Ge) : Ge = t[209];
503
+ let Re;
504
+ return t[210] !== d?.tooltip || t[211] !== x || t[212] !== z || t[213] !== L || t[214] !== p?.tooltip || t[215] !== W ? (Re = L && W && x && z ? /* @__PURE__ */ a.jsx(hi, { data: L, body: W, xPos: x, yPos: z, backgroundStyle: p?.tooltip, className: d?.tooltip }) : null, t[210] = d?.tooltip, t[211] = x, t[212] = z, t[213] = L, t[214] = p?.tooltip, t[215] = W, t[216] = Re) : Re = t[216], /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
505
+ /* @__PURE__ */ a.jsx(S.svg, { width: `${it}px`, height: `${Mt}px`, viewBox: `0 0 ${it} ${Mt}`, direction: "ltr", ref: jt, children: /* @__PURE__ */ a.jsxs("g", { transform: `translate(${y.left},${y.top})`, children: [
506
+ /* @__PURE__ */ a.jsx("clipPath", { id: `above${nt}`, children: /* @__PURE__ */ a.jsx("path", { d: le(n), style: ft }) }),
507
+ /* @__PURE__ */ a.jsx("clipPath", { id: `below${nt}`, children: /* @__PURE__ */ a.jsx("path", { d: re(n), style: _ }) }),
508
+ ut,
509
+ /* @__PURE__ */ a.jsx(pi, { areaSettings: ae, scaleX: s, scaleY: l, animate: i, isInView: m }),
510
+ /* @__PURE__ */ a.jsx("g", { children: /* @__PURE__ */ a.jsxs("g", { children: [
511
+ /* @__PURE__ */ a.jsx(ji, { values: Ut.filter(qi), y: Ut.filter(Ui).map((o) => l(o)), x1: 0 - D, x2: u + y.right, styles: tt, classNames: Lt, suffix: C, prefix: w, labelType: "secondary", showGridLines: !0, labelPos: "vertical", precision: A }),
512
+ de,
513
+ he
514
+ ] }) }),
515
+ /* @__PURE__ */ a.jsx(wi, { values: ri, x: li, y1: 0, y2: v, styles: xe, classNames: ye, suffix: C, prefix: w, labelType: "primary", showGridLines: !0, precision: A }),
516
+ ge,
517
+ /* @__PURE__ */ a.jsxs("g", { children: [
518
+ /* @__PURE__ */ a.jsx(S.path, { clipPath: `url(#below${nt})`, d: Vt(n) || "", style: ve, exit: we, variants: je, initial: "initial", animate: m ? "whileInView" : "initial" }),
519
+ /* @__PURE__ */ a.jsx(S.path, { clipPath: `url(#above${nt})`, d: Vt(n) || "", style: Ae, exit: Ce, variants: Ve, initial: "initial", animate: m ? "whileInView" : "initial" })
520
+ ] }),
521
+ /* @__PURE__ */ a.jsxs("g", { children: [
522
+ /* @__PURE__ */ a.jsx(S.path, { d: mt(n) || "", style: De, exit: Le, variants: {
523
+ initial: {
524
+ pathLength: 0,
525
+ d: mt(n) || "",
526
+ opacity: 1
527
+ },
528
+ whileInView: {
529
+ pathLength: 1,
530
+ d: mt(n) || "",
531
+ opacity: 1,
532
+ transition: {
533
+ duration: i.duration
534
+ }
535
+ }
536
+ }, initial: "initial", animate: m ? "whileInView" : "initial" }),
537
+ /* @__PURE__ */ a.jsx(S.path, { style: Se, exit: $e, variants: {
538
+ initial: {
539
+ pathLength: 0,
540
+ d: zt(n) || "",
541
+ opacity: 1
542
+ },
543
+ whileInView: ke
544
+ }, initial: "initial", animate: m ? "whileInView" : "initial" }),
545
+ Ie,
546
+ Me,
547
+ Te
548
+ ] }),
549
+ Ne,
550
+ Pe,
551
+ He,
552
+ Ge
553
+ ] }) }),
554
+ Re
613
555
  ] });
614
556
  }
615
- function Yi(pt) {
616
- const {
617
- data: N,
618
- graphTitle: D,
619
- suffix: Y = "",
620
- sources: l,
621
- prefix: L = "",
557
+ function Xi(r) {
558
+ return r.layer;
559
+ }
560
+ function Ei(r) {
561
+ return r.position === "after";
562
+ }
563
+ function Bi(r) {
564
+ return r.layer;
565
+ }
566
+ function zi(r) {
567
+ return r.position === "before";
568
+ }
569
+ function Ui(r) {
570
+ return r !== 0;
571
+ }
572
+ function qi(r) {
573
+ return r !== 0;
574
+ }
575
+ function Ji(r) {
576
+ return r.date;
577
+ }
578
+ function Ki(r) {
579
+ return r.y2;
580
+ }
581
+ function Qi(r) {
582
+ return r.y2;
583
+ }
584
+ function Zi(r) {
585
+ return r.y1;
586
+ }
587
+ function _i(r) {
588
+ return r.y1;
589
+ }
590
+ function tn(r) {
591
+ return r.y2;
592
+ }
593
+ function en(r) {
594
+ return r.y2;
595
+ }
596
+ function nn(r) {
597
+ return r.y2;
598
+ }
599
+ function on(r) {
600
+ return r.y1;
601
+ }
602
+ function an(r) {
603
+ return r.y1;
604
+ }
605
+ function sn(r) {
606
+ return r.y1;
607
+ }
608
+ function Xn(r) {
609
+ const t = si.c(90), {
610
+ data: $,
611
+ graphTitle: it,
612
+ suffix: Mt,
613
+ sources: c,
614
+ prefix: C,
622
615
  graphDescription: w,
623
- height: r,
624
- width: c,
625
- footNote: J,
626
- noOfXTicks: ft = 10,
627
- dateFormat: j = "yyyy",
628
- showValues: gt = !1,
629
- padding: K,
630
- lineColors: X = [
631
- dt.light.categoricalColors.colors[0],
632
- dt.light.categoricalColors.colors[1]
633
- ],
634
- backgroundColor: V = !1,
635
- leftMargin: E = 30,
636
- rightMargin: a = 50,
637
- topMargin: Q = 20,
638
- bottomMargin: wt = 25,
639
- tooltip: H,
640
- highlightAreaSettings: Z = [],
641
- relativeHeight: b,
642
- onSeriesMouseOver: _,
643
- graphID: tt,
644
- graphDownload: B = !1,
645
- dataDownload: I = !1,
646
- animate: z = !1,
647
- language: k = "en",
648
- minHeight: R = 0,
649
- labels: U,
650
- showColorLegendAtTop: it = !1,
651
- colorLegendTitle: et,
652
- diffAreaColors: at = [dt.alerts.red, dt.alerts.darkGreen],
653
- strokeWidth: F = 2,
654
- showDots: y = !0,
655
- refValues: d = [],
656
- minValue: T,
657
- maxValue: nt,
658
- annotations: ot = [],
659
- customHighlightAreaSettings: s = [],
660
- theme: m = "light",
661
- ariaLabel: vt,
662
- yAxisTitle: M,
663
- noOfYTicks: S = 5,
664
- minDate: rt,
665
- maxDate: st,
666
- curveType: lt = "curve",
667
- styles: A,
668
- classNames: C,
669
- precision: p = 2,
670
- customLayers: ct = []
671
- } = pt, [i, mt] = W(0), [ht, h] = W(0), f = ut(null), xt = ut(null);
672
- return Dt(() => {
673
- const x = new ResizeObserver((q) => {
674
- mt(c || q[0].target.clientWidth || 620), h(r || q[0].target.clientHeight || 480);
616
+ height: f,
617
+ width: b,
618
+ footNote: Tt,
619
+ noOfXTicks: Nt,
620
+ dateFormat: D,
621
+ showValues: Pt,
622
+ padding: yt,
623
+ lineColors: W,
624
+ backgroundColor: Ht,
625
+ leftMargin: Ft,
626
+ rightMargin: i,
627
+ topMargin: Y,
628
+ bottomMargin: Gt,
629
+ tooltip: M,
630
+ highlightAreaSettings: k,
631
+ relativeHeight: nt,
632
+ onSeriesMouseOver: T,
633
+ graphID: N,
634
+ graphDownload: gt,
635
+ dataDownload: I,
636
+ animate: vt,
637
+ language: Rt,
638
+ minHeight: Wt,
639
+ labels: X,
640
+ showColorLegendAtTop: ue,
641
+ colorLegendTitle: Yt,
642
+ diffAreaColors: wt,
643
+ strokeWidth: bt,
644
+ showDots: p,
645
+ refValues: d,
646
+ minValue: A,
647
+ maxValue: P,
648
+ annotations: jt,
649
+ customHighlightAreaSettings: E,
650
+ theme: m,
651
+ ariaLabel: h,
652
+ yAxisTitle: ne,
653
+ noOfYTicks: At,
654
+ minDate: ot,
655
+ maxDate: B,
656
+ curveType: L,
657
+ styles: g,
658
+ classNames: x,
659
+ precision: oe,
660
+ customLayers: z
661
+ } = r, Xt = Mt === void 0 ? "" : Mt, Ct = C === void 0 ? "" : C, at = Nt === void 0 ? 10 : Nt, y = D === void 0 ? "yyyy" : D, st = Pt === void 0 ? !1 : Pt;
662
+ let U;
663
+ t[0] !== W ? (U = W === void 0 ? [We.light.categoricalColors.colors[0], We.light.categoricalColors.colors[1]] : W, t[0] = W, t[1] = U) : U = t[1];
664
+ const n = U, rt = Ht === void 0 ? !1 : Ht, Ot = Ft === void 0 ? 30 : Ft, lt = i === void 0 ? 50 : i, ae = Y === void 0 ? 20 : Y, u = Gt === void 0 ? 25 : Gt;
665
+ let v;
666
+ t[2] !== k ? (v = k === void 0 ? [] : k, t[2] = k, t[3] = v) : v = t[3];
667
+ const se = v, Et = gt === void 0 ? !1 : gt, q = I === void 0 ? !1 : I, J = vt === void 0 ? !1 : vt, H = Rt === void 0 ? "en" : Rt, Bt = Wt === void 0 ? 0 : Wt, K = ue === void 0 ? !1 : ue;
668
+ let j;
669
+ t[4] !== wt ? (j = wt === void 0 ? [We.alerts.red, We.alerts.darkGreen] : wt, t[4] = wt, t[5] = j) : j = t[5];
670
+ const Q = j, s = bt === void 0 ? 2 : bt, ct = p === void 0 ? !0 : p;
671
+ let Z;
672
+ t[6] !== d ? (Z = d === void 0 ? [] : d, t[6] = d, t[7] = Z) : Z = t[7];
673
+ const l = Z;
674
+ let mt;
675
+ t[8] !== jt ? (mt = jt === void 0 ? [] : jt, t[8] = jt, t[9] = mt) : mt = t[9];
676
+ const zt = mt;
677
+ let Vt;
678
+ t[10] !== E ? (Vt = E === void 0 ? [] : E, t[10] = E, t[11] = Vt) : Vt = t[11];
679
+ const re = Vt, le = m === void 0 ? "light" : m, Ut = At === void 0 ? 5 : At, qt = L === void 0 ? "curve" : L, ft = oe === void 0 ? 2 : oe;
680
+ let _;
681
+ t[12] !== z ? (_ = z === void 0 ? [] : z, t[12] = z, t[13] = _) : _ = t[13];
682
+ const ut = _, [dt, ce] = ie(0), [tt, me] = ie(0), Dt = Ye(null), Lt = Ye(null);
683
+ let ht, pt;
684
+ t[14] === Symbol.for("react.memo_cache_sentinel") ? (ht = () => {
685
+ const Jt = new ResizeObserver((et) => {
686
+ ce(et[0].target.clientWidth || 620), me(et[0].target.clientHeight || 480);
675
687
  });
676
- return f.current && (h(f.current.clientHeight || 480), mt(f.current.clientWidth || 620), c || x.observe(f.current)), () => x.disconnect();
677
- }, [c, r]), /* @__PURE__ */ e.jsx(
678
- "div",
679
- {
680
- className: `${m || "light"} flex ${c ? "w-fit grow-0" : "w-full grow"}`,
681
- dir: k === "he" || k === "ar" ? "rtl" : void 0,
682
- children: /* @__PURE__ */ e.jsx(
683
- "div",
684
- {
685
- className: G(
686
- `${V ? V === !0 ? "bg-primary-gray-200 dark:bg-primary-gray-650 " : "" : "bg-transparent "}ml-auto mr-auto flex flex-col grow h-inherit ${k || "en"}`,
687
- c ? "w-fit" : "w-full",
688
- C?.graphContainer
689
- ),
690
- style: {
691
- ...A?.graphContainer || {},
692
- ...V && V !== !0 ? { backgroundColor: V } : {}
693
- },
694
- id: tt,
695
- ref: xt,
696
- "aria-label": vt || `${D ? `The graph shows ${D}. ` : ""}This is a line chart that highlights the difference between two datasets over time.${w ? ` ${w}` : ""}`,
697
- children: /* @__PURE__ */ e.jsx(
698
- "div",
699
- {
700
- className: "flex grow",
701
- style: { padding: V ? K || "1rem" : K || 0 },
702
- children: /* @__PURE__ */ e.jsxs("div", { className: "flex flex-col w-full gap-4 grow justify-between", children: [
703
- D || w || B || I ? /* @__PURE__ */ e.jsx(
704
- si,
705
- {
706
- styles: {
707
- title: A?.title,
708
- description: A?.description
709
- },
710
- classNames: {
711
- title: C?.title,
712
- description: C?.description
713
- },
714
- graphTitle: D,
715
- graphDescription: w,
716
- width: c,
717
- graphDownload: B ? xt.current : void 0,
718
- dataDownload: I ? N.map((x) => x.data).filter((x) => x !== void 0).length > 0 ? N.map((x) => x.data).filter((x) => x !== void 0) : N.filter((x) => x !== void 0) : null
719
- }
720
- ) : null,
721
- /* @__PURE__ */ e.jsx("div", { className: "grow flex flex-col justify-center gap-3 w-full", children: N.length === 0 ? /* @__PURE__ */ e.jsx(mi, {}) : /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
722
- it ? /* @__PURE__ */ e.jsx(
723
- li,
724
- {
725
- colorDomain: U,
726
- colorLegendTitle: et,
727
- colors: X,
728
- showNAColor: !1
729
- }
730
- ) : null,
731
- /* @__PURE__ */ e.jsx(
732
- "div",
733
- {
734
- className: "flex flex-col grow justify-center leading-0",
735
- ref: f,
736
- "aria-label": "Graph area",
737
- children: (c || i) && (r || ht) ? /* @__PURE__ */ e.jsx(
738
- hi,
739
- {
740
- data: N,
741
- lineColors: X,
742
- colorDomain: U,
743
- width: c || i,
744
- height: Math.max(
745
- R,
746
- r || (b ? R ? (c || i) * b > R ? (c || i) * b : R : (c || i) * b : ht)
747
- ),
748
- suffix: Y,
749
- prefix: L,
750
- dateFormat: j,
751
- showValues: gt,
752
- noOfXTicks: ft,
753
- leftMargin: E,
754
- rightMargin: a,
755
- topMargin: Q,
756
- bottomMargin: wt,
757
- highlightAreaSettings: Z,
758
- tooltip: H,
759
- onSeriesMouseOver: _,
760
- showColorLegendAtTop: it,
761
- animate: z === !0 ? { duration: 0.5, once: !0, amount: 0.5 } : z || { duration: 0, once: !0, amount: 0 },
762
- rtl: k === "he" || k === "ar",
763
- diffAreaColors: at,
764
- idSuffix: ci(8),
765
- strokeWidth: F,
766
- showDots: y,
767
- refValues: d,
768
- minValue: T,
769
- maxValue: nt,
770
- annotations: ot,
771
- customHighlightAreaSettings: s,
772
- yAxisTitle: M,
773
- noOfYTicks: S,
774
- minDate: rt,
775
- maxDate: st,
776
- curveType: lt,
777
- styles: A,
778
- classNames: C,
779
- precision: p,
780
- customLayers: ct
781
- }
782
- ) : null
783
- }
784
- )
785
- ] }) }),
786
- l || J ? /* @__PURE__ */ e.jsx(
787
- ri,
788
- {
789
- styles: { footnote: A?.footnote, source: A?.source },
790
- classNames: {
791
- footnote: C?.footnote,
792
- source: C?.source
793
- },
794
- sources: l,
795
- footNote: J,
796
- width: c
797
- }
798
- ) : null
799
- ] })
800
- }
801
- )
802
- }
803
- )
804
- }
805
- );
688
+ return Dt.current && Jt.observe(Dt.current), () => Jt.disconnect();
689
+ }, pt = [], t[14] = ht, t[15] = pt) : (ht = t[14], pt = t[15]), oi(ht, pt);
690
+ const St = x?.graphContainer, $t = g?.graphContainer;
691
+ let F;
692
+ t[16] !== x?.description || t[17] !== x?.title || t[18] !== $ || t[19] !== q || t[20] !== w || t[21] !== Et || t[22] !== it || t[23] !== g?.description || t[24] !== g?.title || t[25] !== b ? (F = it || w || Et || q ? /* @__PURE__ */ a.jsx(Pi, { styles: {
693
+ title: g?.title,
694
+ description: g?.description
695
+ }, classNames: {
696
+ title: x?.title,
697
+ description: x?.description
698
+ }, graphTitle: it, graphDescription: w, width: b, graphDownload: Et ? Lt : void 0, dataDownload: q ? $.map(fn).filter(mn).length > 0 ? $.map(cn).filter(ln) : $.filter(rn) : null }) : null, t[16] = x?.description, t[17] = x?.title, t[18] = $, t[19] = q, t[20] = w, t[21] = Et, t[22] = it, t[23] = g?.description, t[24] = g?.title, t[25] = b, t[26] = F) : F = t[26];
699
+ let O;
700
+ t[27] !== J || t[28] !== zt || t[29] !== u || t[30] !== x || t[31] !== Yt || t[32] !== qt || t[33] !== re || t[34] !== ut || t[35] !== $ || t[36] !== y || t[37] !== Q || t[38] !== se || t[39] !== X || t[40] !== H || t[41] !== Ot || t[42] !== n || t[43] !== B || t[44] !== P || t[45] !== ot || t[46] !== A || t[47] !== at || t[48] !== Ut || t[49] !== T || t[50] !== ft || t[51] !== Ct || t[52] !== l || t[53] !== lt || t[54] !== K || t[55] !== ct || t[56] !== st || t[57] !== s || t[58] !== g || t[59] !== Xt || t[60] !== tt || t[61] !== dt || t[62] !== M || t[63] !== ae || t[64] !== ne ? (O = $.length === 0 ? /* @__PURE__ */ a.jsx(Gi, {}) : /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
701
+ K ? /* @__PURE__ */ a.jsx(Hi, { colorDomain: X, colorLegendTitle: Yt, colors: n, showNAColor: !1, className: x?.colorLegend }) : null,
702
+ /* @__PURE__ */ a.jsx(Ri, { ref: Dt, children: dt && tt ? /* @__PURE__ */ a.jsx(Yi, { data: $, lineColors: n, colorDomain: X, width: dt, height: tt, suffix: Xt, prefix: Ct, dateFormat: y, showValues: st, noOfXTicks: at, leftMargin: Ot, rightMargin: lt, topMargin: ae, bottomMargin: u, highlightAreaSettings: se, tooltip: M, onSeriesMouseOver: T, showColorLegendAtTop: K, animate: J === !0 ? {
703
+ duration: 0.5,
704
+ once: !0,
705
+ amount: 0.5
706
+ } : J || {
707
+ duration: 0,
708
+ once: !0,
709
+ amount: 0
710
+ }, rtl: H === "he" || H === "ar", diffAreaColors: Q, idSuffix: Fi(8), strokeWidth: s, showDots: ct, refValues: l, minValue: A, maxValue: P, annotations: zt, customHighlightAreaSettings: re, yAxisTitle: ne, noOfYTicks: Ut, minDate: ot, maxDate: B, curveType: qt, styles: g, classNames: x, precision: ft, customLayers: ut }) : null })
711
+ ] }), t[27] = J, t[28] = zt, t[29] = u, t[30] = x, t[31] = Yt, t[32] = qt, t[33] = re, t[34] = ut, t[35] = $, t[36] = y, t[37] = Q, t[38] = se, t[39] = X, t[40] = H, t[41] = Ot, t[42] = n, t[43] = B, t[44] = P, t[45] = ot, t[46] = A, t[47] = at, t[48] = Ut, t[49] = T, t[50] = ft, t[51] = Ct, t[52] = l, t[53] = lt, t[54] = K, t[55] = ct, t[56] = st, t[57] = s, t[58] = g, t[59] = Xt, t[60] = tt, t[61] = dt, t[62] = M, t[63] = ae, t[64] = ne, t[65] = O) : O = t[65];
712
+ let G;
713
+ t[66] !== x?.footnote || t[67] !== x?.source || t[68] !== Tt || t[69] !== c || t[70] !== g?.footnote || t[71] !== g?.source || t[72] !== b ? (G = c || Tt ? /* @__PURE__ */ a.jsx(Ni, { styles: {
714
+ footnote: g?.footnote,
715
+ source: g?.source
716
+ }, classNames: {
717
+ footnote: x?.footnote,
718
+ source: x?.source
719
+ }, sources: c, footNote: Tt, width: b }) : null, t[66] = x?.footnote, t[67] = x?.source, t[68] = Tt, t[69] = c, t[70] = g?.footnote, t[71] = g?.source, t[72] = b, t[73] = G) : G = t[73];
720
+ let xt;
721
+ return t[74] !== h || t[75] !== rt || t[76] !== N || t[77] !== f || t[78] !== H || t[79] !== Bt || t[80] !== yt || t[81] !== nt || t[82] !== St || t[83] !== $t || t[84] !== F || t[85] !== O || t[86] !== G || t[87] !== le || t[88] !== b ? (xt = /* @__PURE__ */ a.jsxs(Wi, { className: St, style: $t, id: N, ref: Lt, "aria-label": h, backgroundColor: rt, theme: le, language: H, minHeight: Bt, width: b, height: f, relativeHeight: nt, padding: yt, children: [
722
+ F,
723
+ O,
724
+ G
725
+ ] }), t[74] = h, t[75] = rt, t[76] = N, t[77] = f, t[78] = H, t[79] = Bt, t[80] = yt, t[81] = nt, t[82] = St, t[83] = $t, t[84] = F, t[85] = O, t[86] = G, t[87] = le, t[88] = b, t[89] = xt) : xt = t[89], xt;
726
+ }
727
+ function rn(r) {
728
+ return r !== void 0;
729
+ }
730
+ function ln(r) {
731
+ return r !== void 0;
732
+ }
733
+ function cn(r) {
734
+ return r.data;
735
+ }
736
+ function mn(r) {
737
+ return r !== void 0;
738
+ }
739
+ function fn(r) {
740
+ return r.data;
806
741
  }
807
742
  export {
808
- Yi as DifferenceLineChart
743
+ Xn as DifferenceLineChart
809
744
  };
810
745
  //# sourceMappingURL=DifferenceLineChart.js.map