@undp/data-viz 1.2.8 → 1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (642) hide show
  1. package/dist/AreaChart.cjs +2 -0
  2. package/dist/AreaChart.cjs.map +1 -0
  3. package/dist/AreaChart.d.ts +224 -0
  4. package/dist/AreaChart.js +531 -0
  5. package/dist/AreaChart.js.map +1 -0
  6. package/dist/Axis-DE7dSn1_.cjs +2 -0
  7. package/dist/Axis-DE7dSn1_.cjs.map +1 -0
  8. package/dist/Axis-Ddg-seDi.js +43 -0
  9. package/dist/Axis-Ddg-seDi.js.map +1 -0
  10. package/dist/AxisTitle-BmHLMRJZ.js +20 -0
  11. package/dist/AxisTitle-BmHLMRJZ.js.map +1 -0
  12. package/dist/AxisTitle-CK9YeovX.cjs +2 -0
  13. package/dist/AxisTitle-CK9YeovX.cjs.map +1 -0
  14. package/dist/BarGraph.cjs +2 -0
  15. package/dist/BarGraph.cjs.map +1 -0
  16. package/dist/BarGraph.d.ts +460 -0
  17. package/dist/BarGraph.js +4044 -0
  18. package/dist/BarGraph.js.map +1 -0
  19. package/dist/BasicStatCard.cjs +2 -0
  20. package/dist/BasicStatCard.cjs.map +1 -0
  21. package/dist/BasicStatCard.d.ts +106 -0
  22. package/dist/BasicStatCard.js +191 -0
  23. package/dist/BasicStatCard.js.map +1 -0
  24. package/dist/BeeSwarmChart.cjs +2 -0
  25. package/dist/BeeSwarmChart.cjs.map +1 -0
  26. package/dist/BeeSwarmChart.d.ts +181 -0
  27. package/dist/BeeSwarmChart.js +1043 -0
  28. package/dist/BeeSwarmChart.js.map +1 -0
  29. package/dist/BiVariateChoroplethMap.cjs +2 -0
  30. package/dist/BiVariateChoroplethMap.cjs.map +1 -0
  31. package/dist/BiVariateChoroplethMap.d.ts +189 -0
  32. package/dist/BiVariateChoroplethMap.js +721 -0
  33. package/dist/BiVariateChoroplethMap.js.map +1 -0
  34. package/dist/BulletChart.cjs +2 -0
  35. package/dist/BulletChart.cjs.map +1 -0
  36. package/dist/BulletChart.d.ts +219 -0
  37. package/dist/BulletChart.js +1432 -0
  38. package/dist/BulletChart.js.map +1 -0
  39. package/dist/ButterflyChart.cjs +2 -0
  40. package/dist/ButterflyChart.cjs.map +1 -0
  41. package/dist/ButterflyChart.d.ts +201 -0
  42. package/dist/ButterflyChart.js +693 -0
  43. package/dist/ButterflyChart.js.map +1 -0
  44. package/dist/ChoroplethMap.cjs +2 -0
  45. package/dist/ChoroplethMap.cjs.map +1 -0
  46. package/dist/ChoroplethMap.d.ts +190 -0
  47. package/dist/ChoroplethMap.js +746 -0
  48. package/dist/ChoroplethMap.js.map +1 -0
  49. package/dist/CirclePackingGraph.cjs +2 -0
  50. package/dist/CirclePackingGraph.cjs.map +1 -0
  51. package/dist/CirclePackingGraph.d.ts +153 -0
  52. package/dist/CirclePackingGraph.js +15 -0
  53. package/dist/CirclePackingGraph.js.map +1 -0
  54. package/dist/ColorLegend.cjs +2 -0
  55. package/dist/ColorLegend.cjs.map +1 -0
  56. package/dist/ColorLegend.d.ts +17 -0
  57. package/dist/ColorLegend.js +48 -0
  58. package/dist/ColorLegend.js.map +1 -0
  59. package/dist/ColorLegendWithMouseOver.cjs +2 -0
  60. package/dist/ColorLegendWithMouseOver.cjs.map +1 -0
  61. package/dist/ColorLegendWithMouseOver.d.ts +16 -0
  62. package/dist/ColorLegendWithMouseOver.js +71 -0
  63. package/dist/ColorLegendWithMouseOver.js.map +1 -0
  64. package/dist/Colors.cjs +2 -0
  65. package/dist/Colors.cjs.map +1 -0
  66. package/dist/Colors.d.ts +174 -0
  67. package/dist/Colors.js +562 -0
  68. package/dist/Colors.js.map +1 -0
  69. package/dist/CopyTextButton.cjs +17 -0
  70. package/dist/CopyTextButton.cjs.map +1 -0
  71. package/dist/CopyTextButton.d.ts +13 -0
  72. package/dist/CopyTextButton.js +699 -0
  73. package/dist/CopyTextButton.js.map +1 -0
  74. package/dist/CsvDownloadButton.cjs +23 -0
  75. package/dist/CsvDownloadButton.cjs.map +1 -0
  76. package/dist/CsvDownloadButton.d.ts +22 -0
  77. package/dist/CsvDownloadButton.js +868 -0
  78. package/dist/CsvDownloadButton.js.map +1 -0
  79. package/dist/DataCards.cjs +2 -0
  80. package/dist/DataCards.cjs.map +1 -0
  81. package/dist/DataCards.d.ts +131 -0
  82. package/dist/DataCards.js +15 -0
  83. package/dist/DataCards.js.map +1 -0
  84. package/dist/DataTable.cjs +2 -0
  85. package/dist/DataTable.cjs.map +1 -0
  86. package/dist/DataTable.d.ts +122 -0
  87. package/dist/DataTable.js +332 -0
  88. package/dist/DataTable.js.map +1 -0
  89. package/dist/DifferenceLineChart.cjs +2 -0
  90. package/dist/DifferenceLineChart.cjs.map +1 -0
  91. package/dist/DifferenceLineChart.d.ts +237 -0
  92. package/dist/DifferenceLineChart.js +806 -0
  93. package/dist/DifferenceLineChart.js.map +1 -0
  94. package/dist/DonutChart.cjs +2 -0
  95. package/dist/DonutChart.cjs.map +1 -0
  96. package/dist/DonutChart.d.ts +148 -0
  97. package/dist/DonutChart.js +479 -0
  98. package/dist/DonutChart.js.map +1 -0
  99. package/dist/DotDensityMap.cjs +2 -0
  100. package/dist/DotDensityMap.cjs.map +1 -0
  101. package/dist/DotDensityMap.d.ts +191 -0
  102. package/dist/DotDensityMap.js +601 -0
  103. package/dist/DotDensityMap.js.map +1 -0
  104. package/dist/DropdownSelect-0I2QxaVy.cjs +29 -0
  105. package/dist/DropdownSelect-0I2QxaVy.cjs.map +1 -0
  106. package/dist/DropdownSelect-CDC9lEqU.js +4193 -0
  107. package/dist/DropdownSelect-CDC9lEqU.js.map +1 -0
  108. package/dist/DualAxisLineChart.cjs +2 -0
  109. package/dist/DualAxisLineChart.cjs.map +1 -0
  110. package/dist/DualAxisLineChart.d.ts +180 -0
  111. package/dist/DualAxisLineChart.js +700 -0
  112. package/dist/DualAxisLineChart.js.map +1 -0
  113. package/dist/DumbbellChart.cjs +2 -0
  114. package/dist/DumbbellChart.cjs.map +1 -0
  115. package/dist/DumbbellChart.d.ts +224 -0
  116. package/dist/DumbbellChart.js +1511 -0
  117. package/dist/DumbbellChart.js.map +1 -0
  118. package/dist/EmptyState-DdTp-Mdn.js +22 -0
  119. package/dist/EmptyState-DdTp-Mdn.js.map +1 -0
  120. package/dist/EmptyState-d8_8SxeW.cjs +2 -0
  121. package/dist/EmptyState-d8_8SxeW.cjs.map +1 -0
  122. package/dist/ExcelDownloadButton.cjs +2 -0
  123. package/dist/ExcelDownloadButton.cjs.map +1 -0
  124. package/dist/ExcelDownloadButton.d.ts +22 -0
  125. package/dist/ExcelDownloadButton.js +30 -0
  126. package/dist/ExcelDownloadButton.js.map +1 -0
  127. package/dist/FootNote.cjs +2 -0
  128. package/dist/FootNote.cjs.map +1 -0
  129. package/dist/FootNote.d.ts +12 -0
  130. package/dist/FootNote.js +21 -0
  131. package/dist/FootNote.js.map +1 -0
  132. package/dist/GeoHubCompareMaps.cjs +2 -0
  133. package/dist/GeoHubCompareMaps.cjs.map +1 -0
  134. package/dist/GeoHubCompareMaps.d.ts +103 -0
  135. package/dist/GeoHubCompareMaps.js +371 -0
  136. package/dist/GeoHubCompareMaps.js.map +1 -0
  137. package/dist/GeoHubMap.cjs +2 -0
  138. package/dist/GeoHubMap.cjs.map +1 -0
  139. package/dist/GeoHubMap.d.ts +118 -0
  140. package/dist/GeoHubMap.js +430 -0
  141. package/dist/GeoHubMap.js.map +1 -0
  142. package/dist/GeoHubMapWithLayerSelection.cjs +2 -0
  143. package/dist/GeoHubMapWithLayerSelection.cjs.map +1 -0
  144. package/dist/GeoHubMapWithLayerSelection.d.ts +117 -0
  145. package/dist/GeoHubMapWithLayerSelection.js +308 -0
  146. package/dist/GeoHubMapWithLayerSelection.js.map +1 -0
  147. package/dist/GraphDescription.cjs +2 -0
  148. package/dist/GraphDescription.cjs.map +1 -0
  149. package/dist/GraphDescription.d.ts +12 -0
  150. package/dist/GraphDescription.js +21 -0
  151. package/dist/GraphDescription.js.map +1 -0
  152. package/dist/GraphFooter.cjs +2 -0
  153. package/dist/GraphFooter.cjs.map +1 -0
  154. package/dist/GraphFooter.d.ts +24 -0
  155. package/dist/GraphFooter.js +22 -0
  156. package/dist/GraphFooter.js.map +1 -0
  157. package/dist/GraphHeader.cjs +2 -0
  158. package/dist/GraphHeader.cjs.map +1 -0
  159. package/dist/GraphHeader.d.ts +22 -0
  160. package/dist/GraphHeader.js +64 -0
  161. package/dist/GraphHeader.js.map +1 -0
  162. package/dist/GraphTitle.cjs +2 -0
  163. package/dist/GraphTitle.cjs.map +1 -0
  164. package/dist/GraphTitle.d.ts +13 -0
  165. package/dist/GraphTitle.js +29 -0
  166. package/dist/GraphTitle.js.map +1 -0
  167. package/dist/GriddedGraphs.cjs +2 -0
  168. package/dist/GriddedGraphs.cjs.map +1 -0
  169. package/dist/GriddedGraphs.d.ts +540 -0
  170. package/dist/GriddedGraphs.js +483 -0
  171. package/dist/GriddedGraphs.js.map +1 -0
  172. package/dist/GriddedGraphsFromConfig.cjs +2 -0
  173. package/dist/GriddedGraphsFromConfig.cjs.map +1 -0
  174. package/dist/GriddedGraphsFromConfig.d.ts +543 -0
  175. package/dist/GriddedGraphsFromConfig.js +43 -0
  176. package/dist/GriddedGraphsFromConfig.js.map +1 -0
  177. package/dist/HeatMap.cjs +2 -0
  178. package/dist/HeatMap.cjs.map +1 -0
  179. package/dist/HeatMap.d.ts +166 -0
  180. package/dist/HeatMap.js +452 -0
  181. package/dist/HeatMap.js.map +1 -0
  182. package/dist/Histogram.cjs +2 -0
  183. package/dist/Histogram.cjs.map +1 -0
  184. package/dist/Histogram.d.ts +165 -0
  185. package/dist/Histogram.js +288 -0
  186. package/dist/Histogram.js.map +1 -0
  187. package/dist/ImageDownloadButton.cjs +2 -0
  188. package/dist/ImageDownloadButton.cjs.map +1 -0
  189. package/dist/ImageDownloadButton.d.ts +15 -0
  190. package/dist/ImageDownloadButton.js +29 -0
  191. package/dist/ImageDownloadButton.js.map +1 -0
  192. package/dist/LineChartWithConfidenceInterval.cjs +2 -0
  193. package/dist/LineChartWithConfidenceInterval.cjs.map +1 -0
  194. package/dist/LineChartWithConfidenceInterval.d.ts +250 -0
  195. package/dist/LineChartWithConfidenceInterval.js +819 -0
  196. package/dist/LineChartWithConfidenceInterval.js.map +1 -0
  197. package/dist/LinearColorLegend.cjs +2 -0
  198. package/dist/LinearColorLegend.cjs.map +1 -0
  199. package/dist/LinearColorLegend.d.ts +13 -0
  200. package/dist/LinearColorLegend.js +34 -0
  201. package/dist/LinearColorLegend.js.map +1 -0
  202. package/dist/Modal-CUU6ZK3U.js +1019 -0
  203. package/dist/Modal-CUU6ZK3U.js.map +1 -0
  204. package/dist/Modal-C_dl0EtQ.cjs +46 -0
  205. package/dist/Modal-C_dl0EtQ.cjs.map +1 -0
  206. package/dist/MultiGraphDashboard.cjs +2 -0
  207. package/dist/MultiGraphDashboard.cjs.map +1 -0
  208. package/dist/MultiGraphDashboard.d.ts +558 -0
  209. package/dist/MultiGraphDashboard.js +304 -0
  210. package/dist/MultiGraphDashboard.js.map +1 -0
  211. package/dist/MultiGraphDashboardFromConfig.cjs +2 -0
  212. package/dist/MultiGraphDashboardFromConfig.cjs.map +1 -0
  213. package/dist/MultiGraphDashboardFromConfig.d.ts +562 -0
  214. package/dist/MultiGraphDashboardFromConfig.js +38 -0
  215. package/dist/MultiGraphDashboardFromConfig.js.map +1 -0
  216. package/dist/MultiGraphDashboardWideToLongFormat.cjs +2 -0
  217. package/dist/MultiGraphDashboardWideToLongFormat.cjs.map +1 -0
  218. package/dist/MultiGraphDashboardWideToLongFormat.d.ts +128 -0
  219. package/dist/MultiGraphDashboardWideToLongFormat.js +244 -0
  220. package/dist/MultiGraphDashboardWideToLongFormat.js.map +1 -0
  221. package/dist/MultiGraphDashboardWideToLongFormatFromConfig.cjs +2 -0
  222. package/dist/MultiGraphDashboardWideToLongFormatFromConfig.cjs.map +1 -0
  223. package/dist/MultiGraphDashboardWideToLongFormatFromConfig.d.ts +133 -0
  224. package/dist/MultiGraphDashboardWideToLongFormatFromConfig.js +31 -0
  225. package/dist/MultiGraphDashboardWideToLongFormatFromConfig.js.map +1 -0
  226. package/dist/MultiLineAltChart.cjs +2 -0
  227. package/dist/MultiLineAltChart.cjs.map +1 -0
  228. package/dist/MultiLineAltChart.d.ts +244 -0
  229. package/dist/MultiLineAltChart.js +690 -0
  230. package/dist/MultiLineAltChart.js.map +1 -0
  231. package/dist/MultiLineChart.cjs +2 -0
  232. package/dist/MultiLineChart.cjs.map +1 -0
  233. package/dist/MultiLineChart.d.ts +246 -0
  234. package/dist/MultiLineChart.js +723 -0
  235. package/dist/MultiLineChart.js.map +1 -0
  236. package/dist/ParetoChart.cjs +2 -0
  237. package/dist/ParetoChart.cjs.map +1 -0
  238. package/dist/ParetoChart.d.ts +178 -0
  239. package/dist/ParetoChart.js +637 -0
  240. package/dist/ParetoChart.js.map +1 -0
  241. package/dist/RadarChart.cjs +2 -0
  242. package/dist/RadarChart.cjs.map +1 -0
  243. package/dist/RadarChart.d.ts +176 -0
  244. package/dist/RadarChart.js +678 -0
  245. package/dist/RadarChart.js.map +1 -0
  246. package/dist/ReferenceLine-C1GpoG9d.js +128 -0
  247. package/dist/ReferenceLine-C1GpoG9d.js.map +1 -0
  248. package/dist/ReferenceLine-CuFMk0cI.cjs +2 -0
  249. package/dist/ReferenceLine-CuFMk0cI.cjs.map +1 -0
  250. package/dist/RegressionLine-7_rKTHN_.cjs +2 -0
  251. package/dist/RegressionLine-7_rKTHN_.cjs.map +1 -0
  252. package/dist/RegressionLine-BFwDCTUU.js +48 -0
  253. package/dist/RegressionLine-BFwDCTUU.js.map +1 -0
  254. package/dist/SVGDownloadButton.cjs +2 -0
  255. package/dist/SVGDownloadButton.cjs.map +1 -0
  256. package/dist/SVGDownloadButton.d.ts +15 -0
  257. package/dist/SVGDownloadButton.js +29 -0
  258. package/dist/SVGDownloadButton.js.map +1 -0
  259. package/dist/SankeyChart.cjs +2 -0
  260. package/dist/SankeyChart.cjs.map +1 -0
  261. package/dist/SankeyChart.d.ts +178 -0
  262. package/dist/SankeyChart.js +990 -0
  263. package/dist/SankeyChart.js.map +1 -0
  264. package/dist/ScatterPlot.cjs +2 -0
  265. package/dist/ScatterPlot.cjs.map +1 -0
  266. package/dist/ScatterPlot.d.ts +266 -0
  267. package/dist/ScatterPlot.js +829 -0
  268. package/dist/ScatterPlot.js.map +1 -0
  269. package/dist/ScrollStory.cjs +2 -0
  270. package/dist/ScrollStory.cjs.map +1 -0
  271. package/dist/ScrollStory.d.ts +491 -0
  272. package/dist/ScrollStory.js +106 -0
  273. package/dist/ScrollStory.js.map +1 -0
  274. package/dist/SimpleLineChart.cjs +2 -0
  275. package/dist/SimpleLineChart.cjs.map +1 -0
  276. package/dist/SimpleLineChart.d.ts +230 -0
  277. package/dist/SimpleLineChart.js +620 -0
  278. package/dist/SimpleLineChart.js.map +1 -0
  279. package/dist/SingleGraphDashboard.cjs +2 -0
  280. package/dist/SingleGraphDashboard.cjs.map +1 -0
  281. package/dist/SingleGraphDashboard.d.ts +545 -0
  282. package/dist/SingleGraphDashboard.js +523 -0
  283. package/dist/SingleGraphDashboard.js.map +1 -0
  284. package/dist/SingleGraphDashboardFromConfig.cjs +2 -0
  285. package/dist/SingleGraphDashboardFromConfig.cjs.map +1 -0
  286. package/dist/SingleGraphDashboardFromConfig.d.ts +547 -0
  287. package/dist/SingleGraphDashboardFromConfig.js +35 -0
  288. package/dist/SingleGraphDashboardFromConfig.js.map +1 -0
  289. package/dist/SlopeChart.cjs +2 -0
  290. package/dist/SlopeChart.cjs.map +1 -0
  291. package/dist/SlopeChart.d.ts +167 -0
  292. package/dist/SlopeChart.js +583 -0
  293. package/dist/SlopeChart.js.map +1 -0
  294. package/dist/Source.cjs +2 -0
  295. package/dist/Source.cjs.map +1 -0
  296. package/dist/Source.d.ts +16 -0
  297. package/dist/Source.js +41 -0
  298. package/dist/Source.js.map +1 -0
  299. package/dist/SparkLine.cjs +2 -0
  300. package/dist/SparkLine.cjs.map +1 -0
  301. package/dist/SparkLine.d.ts +139 -0
  302. package/dist/SparkLine.js +321 -0
  303. package/dist/SparkLine.js.map +1 -0
  304. package/dist/Spinner-C85UF28E.js +30 -0
  305. package/dist/Spinner-C85UF28E.js.map +1 -0
  306. package/dist/Spinner-DA6Z5E4n.cjs +2 -0
  307. package/dist/Spinner-DA6Z5E4n.cjs.map +1 -0
  308. package/dist/StatCardFromData.cjs +2 -0
  309. package/dist/StatCardFromData.cjs.map +1 -0
  310. package/dist/StatCardFromData.d.ts +115 -0
  311. package/dist/StatCardFromData.js +250 -0
  312. package/dist/StatCardFromData.js.map +1 -0
  313. package/dist/StripChart.cjs +2 -0
  314. package/dist/StripChart.cjs.map +1 -0
  315. package/dist/StripChart.d.ts +178 -0
  316. package/dist/StripChart.js +989 -0
  317. package/dist/StripChart.js.map +1 -0
  318. package/dist/ThreeDGlobe.cjs +2 -0
  319. package/dist/ThreeDGlobe.cjs.map +1 -0
  320. package/dist/ThreeDGlobe.d.ts +158 -0
  321. package/dist/ThreeDGlobe.js +452 -0
  322. package/dist/ThreeDGlobe.js.map +1 -0
  323. package/dist/ThresholdColorLegendWithMouseOver.cjs +2 -0
  324. package/dist/ThresholdColorLegendWithMouseOver.cjs.map +1 -0
  325. package/dist/ThresholdColorLegendWithMouseOver.d.ts +16 -0
  326. package/dist/ThresholdColorLegendWithMouseOver.js +131 -0
  327. package/dist/ThresholdColorLegendWithMouseOver.js.map +1 -0
  328. package/dist/Tooltip-DyM5snqx.js +46 -0
  329. package/dist/Tooltip-DyM5snqx.js.map +1 -0
  330. package/dist/Tooltip-n8z5bfav.cjs +2 -0
  331. package/dist/Tooltip-n8z5bfav.cjs.map +1 -0
  332. package/dist/TreeMapGraph.cjs +2 -0
  333. package/dist/TreeMapGraph.cjs.map +1 -0
  334. package/dist/TreeMapGraph.d.ts +158 -0
  335. package/dist/TreeMapGraph.js +761 -0
  336. package/dist/TreeMapGraph.js.map +1 -0
  337. package/dist/Types.cjs +2 -0
  338. package/dist/Types.cjs.map +1 -0
  339. package/dist/Types.d.ts +883 -0
  340. package/dist/Types.js +2 -0
  341. package/dist/Types.js.map +1 -0
  342. package/dist/Typography-Ctgfl1J5.js +140 -0
  343. package/dist/Typography-Ctgfl1J5.js.map +1 -0
  344. package/dist/Typography-k-kOjICQ.cjs +2 -0
  345. package/dist/Typography-k-kOjICQ.cjs.map +1 -0
  346. package/dist/UnitChart.cjs +2 -0
  347. package/dist/UnitChart.cjs.map +1 -0
  348. package/dist/UnitChart.d.ts +132 -0
  349. package/dist/UnitChart.js +217 -0
  350. package/dist/UnitChart.js.map +1 -0
  351. package/dist/XAxesLabels-CJMQbfVy.cjs +2 -0
  352. package/dist/XAxesLabels-CJMQbfVy.cjs.map +1 -0
  353. package/dist/XAxesLabels-DQFo_z2R.js +57 -0
  354. package/dist/XAxesLabels-DQFo_z2R.js.map +1 -0
  355. package/dist/XTicksAndGridLines-Bn9u5gOM.js +56 -0
  356. package/dist/XTicksAndGridLines-Bn9u5gOM.js.map +1 -0
  357. package/dist/XTicksAndGridLines-CCzXIV8d.cjs +2 -0
  358. package/dist/XTicksAndGridLines-CCzXIV8d.cjs.map +1 -0
  359. package/dist/YAxesLabels-BXLTX7AI.cjs +2 -0
  360. package/dist/YAxesLabels-BXLTX7AI.cjs.map +1 -0
  361. package/dist/YAxesLabels-H5-002X5.js +52 -0
  362. package/dist/YAxesLabels-H5-002X5.js.map +1 -0
  363. package/dist/YTicksAndGridLines-B6ah7CRf.js +56 -0
  364. package/dist/YTicksAndGridLines-B6ah7CRf.js.map +1 -0
  365. package/dist/YTicksAndGridLines-DBDuz6vb.cjs +2 -0
  366. package/dist/YTicksAndGridLines-DBDuz6vb.cjs.map +1 -0
  367. package/dist/_commonjsHelpers-DKOUU3wS.cjs +2 -0
  368. package/dist/_commonjsHelpers-DKOUU3wS.cjs.map +1 -0
  369. package/dist/_commonjsHelpers-DaMA6jEr.js +9 -0
  370. package/dist/_commonjsHelpers-DaMA6jEr.js.map +1 -0
  371. package/dist/area-BE2wo7fv.js +53 -0
  372. package/dist/area-BE2wo7fv.js.map +1 -0
  373. package/dist/area-D3Qx7k7K.cjs +2 -0
  374. package/dist/area-D3Qx7k7K.cjs.map +1 -0
  375. package/dist/array-B7TkkRH0.js +89 -0
  376. package/dist/array-B7TkkRH0.js.map +1 -0
  377. package/dist/array-DKbXV8lR.cjs +2 -0
  378. package/dist/array-DKbXV8lR.cjs.map +1 -0
  379. package/dist/band-BEjh2CHI.js +47 -0
  380. package/dist/band-BEjh2CHI.js.map +1 -0
  381. package/dist/band-CAApY4Pd.cjs +2 -0
  382. package/dist/band-CAApY4Pd.cjs.map +1 -0
  383. package/dist/checkIfMultiple-BB7PlCNh.js +2759 -0
  384. package/dist/checkIfMultiple-BB7PlCNh.js.map +1 -0
  385. package/dist/checkIfMultiple-D5ysrI7G.cjs +12 -0
  386. package/dist/checkIfMultiple-D5ysrI7G.cjs.map +1 -0
  387. package/dist/checkIfNullOrUndefined-BCW3Y1ML.cjs +2 -0
  388. package/dist/checkIfNullOrUndefined-BCW3Y1ML.cjs.map +1 -0
  389. package/dist/checkIfNullOrUndefined-DmfiKkNw.js +7 -0
  390. package/dist/checkIfNullOrUndefined-DmfiKkNw.js.map +1 -0
  391. package/dist/customArea-BYNyxAkm.cjs +2 -0
  392. package/dist/customArea-BYNyxAkm.cjs.map +1 -0
  393. package/dist/customArea-CaxScFmW.js +175 -0
  394. package/dist/customArea-CaxScFmW.js.map +1 -0
  395. package/dist/defaultLocale-BEa-49Qz.js +172 -0
  396. package/dist/defaultLocale-BEa-49Qz.js.map +1 -0
  397. package/dist/defaultLocale-DIVzfLaQ.cjs +2 -0
  398. package/dist/defaultLocale-DIVzfLaQ.cjs.map +1 -0
  399. package/dist/delaunay-C1uAf38t.js +684 -0
  400. package/dist/delaunay-C1uAf38t.js.map +1 -0
  401. package/dist/delaunay-rcy0HhZi.cjs +2 -0
  402. package/dist/delaunay-rcy0HhZi.cjs.map +1 -0
  403. package/dist/ensureCompleteData-BBDZbDCE.js +102 -0
  404. package/dist/ensureCompleteData-BBDZbDCE.js.map +1 -0
  405. package/dist/ensureCompleteData-DqWQ2Zbi.cjs +2 -0
  406. package/dist/ensureCompleteData-DqWQ2Zbi.cjs.map +1 -0
  407. package/dist/excelDownload-BOA-lskf.js +19 -0
  408. package/dist/excelDownload-BOA-lskf.js.map +1 -0
  409. package/dist/excelDownload-BQpsCa62.cjs +2 -0
  410. package/dist/excelDownload-BQpsCa62.cjs.map +1 -0
  411. package/dist/fetchAndParseData-Bcmr659B.js +1196 -0
  412. package/dist/fetchAndParseData-Bcmr659B.js.map +1 -0
  413. package/dist/fetchAndParseData-DmgQtB9n.cjs +16 -0
  414. package/dist/fetchAndParseData-DmgQtB9n.cjs.map +1 -0
  415. package/dist/fetchAndParseData.cjs +2 -0
  416. package/dist/fetchAndParseData.cjs.map +1 -0
  417. package/dist/fetchAndParseData.d.ts +84 -0
  418. package/dist/fetchAndParseData.js +10 -0
  419. package/dist/fetchAndParseData.js.map +1 -0
  420. package/dist/filterData-B8ocT57s.js +14 -0
  421. package/dist/filterData-B8ocT57s.js.map +1 -0
  422. package/dist/filterData-DN6py7y_.cjs +2 -0
  423. package/dist/filterData-DN6py7y_.cjs.map +1 -0
  424. package/dist/generateRandomString-B5zBiJzS.cjs +2 -0
  425. package/dist/generateRandomString-B5zBiJzS.cjs.map +1 -0
  426. package/dist/generateRandomString-za3IQGfQ.js +11 -0
  427. package/dist/generateRandomString-za3IQGfQ.js.map +1 -0
  428. package/dist/getGraphList-DuColTJM.js +265 -0
  429. package/dist/getGraphList-DuColTJM.js.map +1 -0
  430. package/dist/getGraphList-gf02xgT2.cjs +2 -0
  431. package/dist/getGraphList-gf02xgT2.cjs.map +1 -0
  432. package/dist/getJenks-TWQvbuOz.cjs +2 -0
  433. package/dist/getJenks-TWQvbuOz.cjs.map +1 -0
  434. package/dist/getJenks-VhM3GIoC.js +23 -0
  435. package/dist/getJenks-VhM3GIoC.js.map +1 -0
  436. package/dist/getSchema.cjs +2 -0
  437. package/dist/getSchema.cjs.map +1 -0
  438. package/dist/getSchema.d.ts +3256 -0
  439. package/dist/getSchema.js +911 -0
  440. package/dist/getSchema.js.map +1 -0
  441. package/dist/getSliderMarks-C0jptXeP.js +1054 -0
  442. package/dist/getSliderMarks-C0jptXeP.js.map +1 -0
  443. package/dist/getSliderMarks-CtsEXiLV.cjs +6 -0
  444. package/dist/getSliderMarks-CtsEXiLV.cjs.map +1 -0
  445. package/dist/getTextColorBasedOnBgColor-B6Nk2WBf.js +28 -0
  446. package/dist/getTextColorBasedOnBgColor-B6Nk2WBf.js.map +1 -0
  447. package/dist/getTextColorBasedOnBgColor-nqY-bsM_.cjs +2 -0
  448. package/dist/getTextColorBasedOnBgColor-nqY-bsM_.cjs.map +1 -0
  449. package/dist/getUniqValue-BtUENB2H.js +20 -0
  450. package/dist/getUniqValue-BtUENB2H.js.map +1 -0
  451. package/dist/getUniqValue-CHqgSss5.cjs +2 -0
  452. package/dist/getUniqValue-CHqgSss5.cjs.map +1 -0
  453. package/dist/imageDownload-CgDcm1Sj.cjs +3 -0
  454. package/dist/imageDownload-CgDcm1Sj.cjs.map +1 -0
  455. package/dist/imageDownload-Dcci2LEy.js +495 -0
  456. package/dist/imageDownload-Dcci2LEy.js.map +1 -0
  457. package/dist/index-27yTRcko.js +35 -0
  458. package/dist/index-27yTRcko.js.map +1 -0
  459. package/dist/index-B0rbzOoC.cjs +2 -0
  460. package/dist/index-B0rbzOoC.cjs.map +1 -0
  461. package/dist/index-BLizQDlg.js +658 -0
  462. package/dist/index-BLizQDlg.js.map +1 -0
  463. package/dist/index-BVnYktl4.js +435 -0
  464. package/dist/index-BVnYktl4.js.map +1 -0
  465. package/dist/index-BW_-wD2k.cjs +2 -0
  466. package/dist/index-BW_-wD2k.cjs.map +1 -0
  467. package/dist/index-BXns0-ng.cjs +2 -0
  468. package/dist/index-BXns0-ng.cjs.map +1 -0
  469. package/dist/index-BczVvEBZ.cjs +2 -0
  470. package/dist/index-BczVvEBZ.cjs.map +1 -0
  471. package/dist/index-BmCqpO1B.js +342 -0
  472. package/dist/index-BmCqpO1B.js.map +1 -0
  473. package/dist/index-BxAUvrua.js +120 -0
  474. package/dist/index-BxAUvrua.js.map +1 -0
  475. package/dist/index-BzeLQvXk.cjs +2 -0
  476. package/dist/index-BzeLQvXk.cjs.map +1 -0
  477. package/dist/index-C1rRk_50.js +273 -0
  478. package/dist/index-C1rRk_50.js.map +1 -0
  479. package/dist/index-C21TvELx.cjs +2 -0
  480. package/dist/index-C21TvELx.cjs.map +1 -0
  481. package/dist/index-CHPV5EwG-BPSP-7Jg.js +3341 -0
  482. package/dist/index-CHPV5EwG-BPSP-7Jg.js.map +1 -0
  483. package/dist/index-CHPV5EwG-DDoeWRVt.cjs +44 -0
  484. package/dist/index-CHPV5EwG-DDoeWRVt.cjs.map +1 -0
  485. package/dist/index-CZbIGs8q.cjs +2 -0
  486. package/dist/index-CZbIGs8q.cjs.map +1 -0
  487. package/dist/index-CaAIPGZo.js +631 -0
  488. package/dist/index-CaAIPGZo.js.map +1 -0
  489. package/dist/index-CylX-pWB.cjs +2 -0
  490. package/dist/index-CylX-pWB.cjs.map +1 -0
  491. package/dist/index-D7ltPi18.js +26 -0
  492. package/dist/index-D7ltPi18.js.map +1 -0
  493. package/dist/index-D9h2WYDS.cjs +22 -0
  494. package/dist/index-D9h2WYDS.cjs.map +1 -0
  495. package/dist/index-DG3YrCr5-D3FrrXj8.js +459 -0
  496. package/dist/index-DG3YrCr5-D3FrrXj8.js.map +1 -0
  497. package/dist/index-DG3YrCr5-v7rayV3N.cjs +2 -0
  498. package/dist/index-DG3YrCr5-v7rayV3N.cjs.map +1 -0
  499. package/dist/index-DVOJ7vxH.cjs +10 -0
  500. package/dist/index-DVOJ7vxH.cjs.map +1 -0
  501. package/dist/index-D_n8aamX.cjs +2 -0
  502. package/dist/index-D_n8aamX.cjs.map +1 -0
  503. package/dist/index-Ds0uHjK9.cjs +2 -0
  504. package/dist/index-Ds0uHjK9.cjs.map +1 -0
  505. package/dist/index-DxagiOHo.js +707 -0
  506. package/dist/index-DxagiOHo.js.map +1 -0
  507. package/dist/index-OCoyy1wG.js +635 -0
  508. package/dist/index-OCoyy1wG.js.map +1 -0
  509. package/dist/index-UV9hjG_S.js +53 -0
  510. package/dist/index-UV9hjG_S.js.map +1 -0
  511. package/dist/index-n_RI8T0n.js +77 -0
  512. package/dist/index-n_RI8T0n.js.map +1 -0
  513. package/dist/index-tvAyXPPW-DBlMKnNB.js +47 -0
  514. package/dist/index-tvAyXPPW-DBlMKnNB.js.map +1 -0
  515. package/dist/index-tvAyXPPW-DPOG-C2i.cjs +2 -0
  516. package/dist/index-tvAyXPPW-DPOG-C2i.cjs.map +1 -0
  517. package/dist/index.cjs +1 -67
  518. package/dist/index.cjs.map +1 -1
  519. package/dist/index.d.ts +1 -5
  520. package/dist/index.js +178 -52486
  521. package/dist/index.js.map +1 -1
  522. package/dist/init-BhZylTFx.js +63 -0
  523. package/dist/init-BhZylTFx.js.map +1 -0
  524. package/dist/init-DU0ybBc_.cjs +2 -0
  525. package/dist/init-DU0ybBc_.cjs.map +1 -0
  526. package/dist/line-CPfhohvF.js +68 -0
  527. package/dist/line-CPfhohvF.js.map +1 -0
  528. package/dist/line-DHV4JwCR.cjs +2 -0
  529. package/dist/line-DHV4JwCR.cjs.map +1 -0
  530. package/dist/linear-BVckp9RD.cjs +2 -0
  531. package/dist/linear-BVckp9RD.cjs.map +1 -0
  532. package/dist/linear-DUdu7l2G.js +221 -0
  533. package/dist/linear-DUdu7l2G.js.map +1 -0
  534. package/dist/numberFormattingFunction-02t-wJta.cjs +2 -0
  535. package/dist/numberFormattingFunction-02t-wJta.cjs.map +1 -0
  536. package/dist/numberFormattingFunction-14YCbkN2.js +13 -0
  537. package/dist/numberFormattingFunction-14YCbkN2.js.map +1 -0
  538. package/dist/ordinal-BOeNbyae.cjs +2 -0
  539. package/dist/ordinal-BOeNbyae.cjs.map +1 -0
  540. package/dist/ordinal-w9Lu4Stb.js +62 -0
  541. package/dist/ordinal-w9Lu4Stb.js.map +1 -0
  542. package/dist/parse-DlCRUFh_.js +2768 -0
  543. package/dist/parse-DlCRUFh_.js.map +1 -0
  544. package/dist/parse-hMnG_lRV.cjs +2 -0
  545. package/dist/parse-hMnG_lRV.cjs.map +1 -0
  546. package/dist/pointer-CWRWOsrb.js +23 -0
  547. package/dist/pointer-CWRWOsrb.js.map +1 -0
  548. package/dist/pointer-Dkq5NV1q.cjs +2 -0
  549. package/dist/pointer-Dkq5NV1q.cjs.map +1 -0
  550. package/dist/pow-B5-jkdHU.cjs +2 -0
  551. package/dist/pow-B5-jkdHU.cjs.map +1 -0
  552. package/dist/pow-e8zx3AQJ.js +35 -0
  553. package/dist/pow-e8zx3AQJ.js.map +1 -0
  554. package/dist/proxy-DJxJg1kD.js +4612 -0
  555. package/dist/proxy-DJxJg1kD.js.map +1 -0
  556. package/dist/proxy-PQd2AItT.cjs +2 -0
  557. package/dist/proxy-PQd2AItT.cjs.map +1 -0
  558. package/dist/removeOutliers-DR48e-18.js +57 -0
  559. package/dist/removeOutliers-DR48e-18.js.map +1 -0
  560. package/dist/removeOutliers-WELHHqiI.cjs +2 -0
  561. package/dist/removeOutliers-WELHHqiI.cjs.map +1 -0
  562. package/dist/select-Bnfk0lJx.cjs +2 -0
  563. package/dist/select-Bnfk0lJx.cjs.map +1 -0
  564. package/dist/select-DKy99ogv.js +584 -0
  565. package/dist/select-DKy99ogv.js.map +1 -0
  566. package/dist/simple-statistics-flVzqVtt.js +65 -0
  567. package/dist/simple-statistics-flVzqVtt.js.map +1 -0
  568. package/dist/simple-statistics-xm8c0LQQ.cjs +2 -0
  569. package/dist/simple-statistics-xm8c0LQQ.cjs.map +1 -0
  570. package/dist/step-BZ3C8QFW.cjs +2 -0
  571. package/dist/step-BZ3C8QFW.cjs.map +1 -0
  572. package/dist/step-BrDul-H4.js +119 -0
  573. package/dist/step-BrDul-H4.js.map +1 -0
  574. package/dist/string-B8KlVSPX.js +364 -0
  575. package/dist/string-B8KlVSPX.js.map +1 -0
  576. package/dist/string-CRoCZCYa.cjs +2 -0
  577. package/dist/string-CRoCZCYa.cjs.map +1 -0
  578. package/dist/string2HTML-CWHGfz_d.js +758 -0
  579. package/dist/string2HTML-CWHGfz_d.js.map +1 -0
  580. package/dist/string2HTML-D2Avudmb.cjs +3 -0
  581. package/dist/string2HTML-D2Avudmb.cjs.map +1 -0
  582. package/dist/style.css +1 -1
  583. package/dist/svgDownload-C2-E3yf2.js +9 -0
  584. package/dist/svgDownload-C2-E3yf2.js.map +1 -0
  585. package/dist/svgDownload-D9zEGjTF.cjs +2 -0
  586. package/dist/svgDownload-D9zEGjTF.cjs.map +1 -0
  587. package/dist/threshold-DFfqcDMa.js +23 -0
  588. package/dist/threshold-DFfqcDMa.js.map +1 -0
  589. package/dist/threshold-DNsSUf8Q.cjs +2 -0
  590. package/dist/threshold-DNsSUf8Q.cjs.map +1 -0
  591. package/dist/time-Byw_jYQ7.cjs +2 -0
  592. package/dist/time-Byw_jYQ7.cjs.map +1 -0
  593. package/dist/time-BzJP5SPC.js +715 -0
  594. package/dist/time-BzJP5SPC.js.map +1 -0
  595. package/dist/timer-B39XOBYL.js +124 -0
  596. package/dist/timer-B39XOBYL.js.map +1 -0
  597. package/dist/timer-CKyBCVzT.cjs +2 -0
  598. package/dist/timer-CKyBCVzT.cjs.map +1 -0
  599. package/dist/toConsumableArray-DiWOvh_d-DcLaZvDq.cjs +4 -0
  600. package/dist/toConsumableArray-DiWOvh_d-DcLaZvDq.cjs.map +1 -0
  601. package/dist/toConsumableArray-DiWOvh_d-DlpOlgap.js +145 -0
  602. package/dist/toConsumableArray-DiWOvh_d-DlpOlgap.js.map +1 -0
  603. package/dist/transformData.cjs +2 -0
  604. package/dist/transformData.cjs.map +1 -0
  605. package/dist/transformData.d.ts +170 -0
  606. package/dist/transformData.js +10 -0
  607. package/dist/transformData.js.map +1 -0
  608. package/dist/transformDataForAggregation-BUGJnson.cjs +2 -0
  609. package/dist/transformDataForAggregation-BUGJnson.cjs.map +1 -0
  610. package/dist/transformDataForAggregation-DAQJWGNL.js +759 -0
  611. package/dist/transformDataForAggregation-DAQJWGNL.js.map +1 -0
  612. package/dist/transformDataForGraphFromFile-CrntpaMU.cjs +2 -0
  613. package/dist/transformDataForGraphFromFile-CrntpaMU.cjs.map +1 -0
  614. package/dist/transformDataForGraphFromFile-DdNiOWeC.js +24 -0
  615. package/dist/transformDataForGraphFromFile-DdNiOWeC.js.map +1 -0
  616. package/dist/use-in-view-BAHrBy6b.js +40 -0
  617. package/dist/use-in-view-BAHrBy6b.js.map +1 -0
  618. package/dist/use-in-view-BCmzDU2O.cjs +2 -0
  619. package/dist/use-in-view-BCmzDU2O.cjs.map +1 -0
  620. package/dist/utils.cjs +2 -0
  621. package/dist/utils.cjs.map +1 -0
  622. package/dist/utils.d.ts +217 -0
  623. package/dist/utils.js +27 -0
  624. package/dist/utils.js.map +1 -0
  625. package/dist/validateSchema.cjs +2 -0
  626. package/dist/validateSchema.cjs.map +1 -0
  627. package/dist/validateSchema.d.ts +68 -0
  628. package/dist/validateSchema.js +105 -0
  629. package/dist/validateSchema.js.map +1 -0
  630. package/dist/x-CnsEH4Ox-CGGXQl4M.cjs +27 -0
  631. package/dist/x-CnsEH4Ox-CGGXQl4M.cjs.map +1 -0
  632. package/dist/x-CnsEH4Ox-DDvAJndW.js +101 -0
  633. package/dist/x-CnsEH4Ox-DDvAJndW.js.map +1 -0
  634. package/dist/y-D0sAaVii.js +421 -0
  635. package/dist/y-D0sAaVii.js.map +1 -0
  636. package/dist/y-QcCbqrzx.cjs +2 -0
  637. package/dist/y-QcCbqrzx.cjs.map +1 -0
  638. package/dist/zoom-Lo7IAUfC.cjs +2 -0
  639. package/dist/zoom-Lo7IAUfC.cjs.map +1 -0
  640. package/dist/zoom-_lqdiGoI.js +1983 -0
  641. package/dist/zoom-_lqdiGoI.js.map +1 -0
  642. package/package.json +340 -4
@@ -0,0 +1,819 @@
1
+ import { j as i, m as B } from "./index-CHPV5EwG-BPSP-7Jg.js";
2
+ import { useRef as mt, useState as R, useEffect as Vt } from "react";
3
+ import { p as u, f as Rt } from "./parse-DlCRUFh_.js";
4
+ import { s as Wt } from "./index-DxagiOHo.js";
5
+ import { l as Ft, a as Ht } from "./simple-statistics-flVzqVtt.js";
6
+ import { n as lt } from "./numberFormattingFunction-14YCbkN2.js";
7
+ import { T as Yt } from "./Tooltip-DyM5snqx.js";
8
+ import { c as v } from "./checkIfNullOrUndefined-DmfiKkNw.js";
9
+ import { C as Pt, g as Et, A as Xt } from "./customArea-CaxScFmW.js";
10
+ import { A as Gt } from "./AxisTitle-BmHLMRJZ.js";
11
+ import { A as Bt } from "./Axis-Ddg-seDi.js";
12
+ import { R as zt } from "./ReferenceLine-C1GpoG9d.js";
13
+ import { R as Ut } from "./RegressionLine-BFwDCTUU.js";
14
+ import { Y as qt } from "./YTicksAndGridLines-B6ah7CRf.js";
15
+ import { H as Jt } from "./index-n_RI8T0n.js";
16
+ import { u as Kt } from "./use-in-view-BAHrBy6b.js";
17
+ import { t as Qt } from "./time-BzJP5SPC.js";
18
+ import { a as Zt } from "./linear-DUdu7l2G.js";
19
+ import { l as Ot, c as _t } from "./line-CPfhohvF.js";
20
+ import { c as ti, s as ii, a as ei, m as ai } from "./step-BrDul-H4.js";
21
+ import { a as ni } from "./area-BE2wo7fv.js";
22
+ import { s as oi } from "./select-DKy99ogv.js";
23
+ import { m as g } from "./proxy-DJxJg1kD.js";
24
+ import { a as ri } from "./init-BhZylTFx.js";
25
+ import { p as si } from "./pointer-CWRWOsrb.js";
26
+ import { GraphFooter as li } from "./GraphFooter.js";
27
+ import { GraphHeader as ci } from "./GraphHeader.js";
28
+ import { Colors as ct } from "./Colors.js";
29
+ import { ColorLegend as mi } from "./ColorLegend.js";
30
+ import { E as yi } from "./EmptyState-DdTp-Mdn.js";
31
+ function xi(yt) {
32
+ const {
33
+ data: V,
34
+ width: C,
35
+ height: W,
36
+ lineColor: k,
37
+ suffix: L,
38
+ prefix: f,
39
+ dateFormat: s,
40
+ highlightAreaSettings: h,
41
+ showValues: z,
42
+ noOfXTicks: xt,
43
+ rightMargin: ht,
44
+ leftMargin: j,
45
+ topMargin: b,
46
+ bottomMargin: U,
47
+ tooltip: q,
48
+ onSeriesMouseOver: F,
49
+ refValues: J,
50
+ minValue: K,
51
+ maxValue: Q,
52
+ animate: n,
53
+ rtl: Z,
54
+ strokeWidth: ut,
55
+ showDots: $,
56
+ annotations: pt,
57
+ customHighlightAreaSettings: gt,
58
+ regressionLine: H,
59
+ showIntervalDots: dt,
60
+ showIntervalValues: ft,
61
+ intervalLineStrokeWidth: Y,
62
+ intervalLineColors: A,
63
+ intervalAreaColor: wt,
64
+ intervalAreaOpacity: vt,
65
+ yAxisTitle: _,
66
+ noOfYTicks: jt,
67
+ minDate: P,
68
+ maxDate: E,
69
+ curveType: D,
70
+ styles: c,
71
+ classNames: m,
72
+ precision: N,
73
+ customLayers: tt
74
+ } = yt, it = mt(null), l = Kt(it, {
75
+ once: n.once,
76
+ amount: n.amount
77
+ }), [y, Mt] = R(!1);
78
+ Vt(() => {
79
+ if (l && !y) {
80
+ const t = setTimeout(
81
+ () => {
82
+ Mt(!0);
83
+ },
84
+ (n.duration + 0.5) * 1e3
85
+ );
86
+ return () => clearTimeout(t);
87
+ }
88
+ }, [l, y, n.duration]);
89
+ const S = D === "linear" ? _t : D === "step" ? ti : D === "stepAfter" ? ii : D === "stepBefore" ? ei : ai, [I, et] = R(void 0), [at, nt] = R(void 0), [X, G] = R(void 0), d = {
90
+ top: b,
91
+ bottom: U,
92
+ left: _ ? j + 30 : j,
93
+ right: ht
94
+ }, M = mt(null), a = Wt(
95
+ V.filter((t) => !v(t.y)).map((t) => ({
96
+ date: u(`${t.date}`, s, /* @__PURE__ */ new Date()),
97
+ y: t.y,
98
+ yMin: v(t.yMin) ? t.y : t.yMin,
99
+ yMax: v(t.yMax) ? t.y : t.yMax,
100
+ data: t.data
101
+ })),
102
+ "date"
103
+ ), Ct = h.map((t) => ({
104
+ ...t,
105
+ coordinates: [
106
+ t.coordinates[0] === null ? null : u(`${t.coordinates[0]}`, s, /* @__PURE__ */ new Date()),
107
+ t.coordinates[1] === null ? null : u(`${t.coordinates[1]}`, s, /* @__PURE__ */ new Date())
108
+ ]
109
+ })), bt = gt.map((t) => ({
110
+ ...t,
111
+ coordinates: t.coordinates.map(
112
+ (p, O) => O % 2 === 0 ? u(`${p}`, s, /* @__PURE__ */ new Date()) : p
113
+ )
114
+ })), r = C - d.left - d.right, w = W - d.top - d.bottom, ot = P ? u(`${P}`, s, /* @__PURE__ */ new Date()) : a[0].date, rt = E ? u(`${E}`, s, /* @__PURE__ */ new Date()) : a[a.length - 1].date, x = v(K) ? Math.min(...a.map((t) => Math.min(t.y, t.yMax, t.yMin))) ? Math.min(...a.map((t) => Math.min(t.y, t.yMax, t.yMin))) > 0 ? 0 : Math.min(...a.map((t) => Math.min(t.y, t.yMax, t.yMin))) : 0 : K, T = Math.max(...a.map((t) => Math.max(t.y, t.yMax, t.yMin))) ? Math.max(...a.map((t) => Math.max(t.y, t.yMax, t.yMin))) : 0, e = Qt().domain([ot, rt]).range([0, r]), o = Zt().domain([
115
+ x,
116
+ v(Q) ? T > 0 ? T : 0 : Q
117
+ ]).range([w, 0]).nice(), Lt = Ot().x((t) => e(t.date)).y((t) => o(t.y)).curve(S), Dt = Ot().x((t) => e(t.date)).y((t) => o(t.yMin)).curve(S), Nt = Ot().x((t) => e(t.date)).y((t) => o(t.yMax)).curve(S), It = ni().x((t) => e(t.date)).y0((t) => o(t.yMin)).y1((t) => o(t.yMax)).curve(S), kt = o.ticks(jt), St = e.ticks(xt);
118
+ Vt(() => {
119
+ const t = (O) => {
120
+ const st = a[ri(
121
+ a.map((At) => At.date),
122
+ e.invert(si(O)[0]),
123
+ 1
124
+ )];
125
+ et(st || a[a.length - 1]), F?.(st || a[a.length - 1]), G(O.clientY), nt(O.clientX);
126
+ }, p = () => {
127
+ et(void 0), nt(void 0), G(void 0), F?.(void 0);
128
+ };
129
+ oi(M.current).on("mousemove", t).on("mouseout", p);
130
+ }, [e, a, F]);
131
+ const Tt = Ft(
132
+ a.filter((t) => !v(t.date) && !v(t.y)).map((t) => [e(t.date), o(t.y)])
133
+ ), $t = Ht(Tt);
134
+ return /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
135
+ /* @__PURE__ */ i.jsx(
136
+ g.svg,
137
+ {
138
+ width: `${C}px`,
139
+ height: `${W}px`,
140
+ viewBox: `0 0 ${C} ${W}`,
141
+ direction: "ltr",
142
+ ref: it,
143
+ children: /* @__PURE__ */ i.jsxs("g", { transform: `translate(${d.left},${d.top})`, children: [
144
+ /* @__PURE__ */ i.jsx(
145
+ Jt,
146
+ {
147
+ areaSettings: Ct,
148
+ width: r,
149
+ height: w,
150
+ scale: e,
151
+ animate: n,
152
+ isInView: l
153
+ }
154
+ ),
155
+ /* @__PURE__ */ i.jsx(
156
+ Pt,
157
+ {
158
+ areaSettings: bt,
159
+ scaleX: e,
160
+ scaleY: o,
161
+ animate: n,
162
+ isInView: l
163
+ }
164
+ ),
165
+ /* @__PURE__ */ i.jsxs("g", { children: [
166
+ /* @__PURE__ */ i.jsx(
167
+ qt,
168
+ {
169
+ values: kt.filter((t) => t !== 0),
170
+ y: kt.filter((t) => t !== 0).map((t) => o(t)),
171
+ x1: 0 - j,
172
+ x2: r + d.right,
173
+ styles: {
174
+ gridLines: c?.yAxis?.gridLines,
175
+ labels: c?.yAxis?.labels
176
+ },
177
+ classNames: {
178
+ gridLines: m?.yAxis?.gridLines,
179
+ labels: m?.yAxis?.labels
180
+ },
181
+ suffix: L,
182
+ prefix: f,
183
+ labelType: "secondary",
184
+ showGridLines: !0,
185
+ labelPos: "vertical",
186
+ precision: N
187
+ }
188
+ ),
189
+ /* @__PURE__ */ i.jsx(
190
+ Bt,
191
+ {
192
+ y1: o(x < 0 ? 0 : x),
193
+ y2: o(x < 0 ? 0 : x),
194
+ x1: 0 - j,
195
+ x2: r + d.right,
196
+ label: lt(
197
+ x < 0 ? 0 : x,
198
+ "NA",
199
+ N,
200
+ f,
201
+ L
202
+ ),
203
+ labelPos: {
204
+ x: 0 - j,
205
+ y: o(x < 0 ? 0 : x),
206
+ dx: 0,
207
+ dy: T < 0 ? "1em" : -5
208
+ },
209
+ classNames: {
210
+ axis: m?.xAxis?.axis,
211
+ label: m?.yAxis?.labels
212
+ },
213
+ styles: {
214
+ axis: c?.xAxis?.axis,
215
+ label: c?.yAxis?.labels
216
+ }
217
+ }
218
+ ),
219
+ /* @__PURE__ */ i.jsx(
220
+ Gt,
221
+ {
222
+ x: 0 - j + 15,
223
+ y: w / 2,
224
+ style: c?.yAxis?.title,
225
+ className: m?.yAxis?.title,
226
+ text: _,
227
+ rotate90: !0
228
+ }
229
+ )
230
+ ] }),
231
+ /* @__PURE__ */ i.jsx("g", { children: St.map((t, p) => /* @__PURE__ */ i.jsx("g", { children: /* @__PURE__ */ i.jsx(
232
+ "text",
233
+ {
234
+ y: w,
235
+ x: e(t),
236
+ style: { textAnchor: "middle" },
237
+ className: "fill-primary-gray-700 dark:fill-primary-gray-300 xs:max-[360px]:hidden text-[9px] md:text-[10px] lg:text-xs",
238
+ dy: 15,
239
+ children: Rt(t, s)
240
+ }
241
+ ) }, p)) }),
242
+ tt.filter((t) => t.position === "before").map((t) => t.layer),
243
+ /* @__PURE__ */ i.jsx(
244
+ g.path,
245
+ {
246
+ style: {
247
+ fill: wt
248
+ },
249
+ exit: { opacity: 0, transition: { duration: n.duration } },
250
+ variants: {
251
+ initial: { opacity: 0, d: It(a) || "" },
252
+ whileInView: {
253
+ opacity: vt,
254
+ d: It(a) || "",
255
+ transition: { duration: n.duration }
256
+ }
257
+ },
258
+ initial: "initial",
259
+ animate: l ? "whileInView" : "initial"
260
+ }
261
+ ),
262
+ Y ? /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
263
+ /* @__PURE__ */ i.jsx(
264
+ g.path,
265
+ {
266
+ style: {
267
+ stroke: A[0],
268
+ fill: "none",
269
+ strokeWidth: Y
270
+ },
271
+ exit: { opacity: 0, transition: { duration: n.duration } },
272
+ variants: {
273
+ initial: {
274
+ pathLength: 0,
275
+ d: Dt(a) || "",
276
+ opacity: 1
277
+ },
278
+ whileInView: {
279
+ pathLength: 1,
280
+ d: Dt(a) || "",
281
+ opacity: 1,
282
+ transition: { duration: n.duration }
283
+ }
284
+ },
285
+ initial: "initial",
286
+ animate: l ? "whileInView" : "initial"
287
+ }
288
+ ),
289
+ /* @__PURE__ */ i.jsx(
290
+ g.path,
291
+ {
292
+ style: {
293
+ stroke: A[1],
294
+ fill: "none",
295
+ strokeWidth: Y
296
+ },
297
+ exit: { opacity: 0, transition: { duration: n.duration } },
298
+ variants: {
299
+ initial: {
300
+ pathLength: 0,
301
+ d: Nt(a) || "",
302
+ opacity: 1
303
+ },
304
+ whileInView: {
305
+ pathLength: 1,
306
+ d: Nt(a) || "",
307
+ opacity: 1,
308
+ transition: { duration: n.duration }
309
+ }
310
+ },
311
+ initial: "initial",
312
+ animate: l ? "whileInView" : "initial"
313
+ }
314
+ )
315
+ ] }) : null,
316
+ /* @__PURE__ */ i.jsx(
317
+ g.path,
318
+ {
319
+ style: {
320
+ stroke: k,
321
+ fill: "none",
322
+ strokeWidth: ut
323
+ },
324
+ exit: { opacity: 0, transition: { duration: n.duration } },
325
+ variants: {
326
+ initial: {
327
+ pathLength: 0,
328
+ d: Lt(a) || "",
329
+ opacity: 1
330
+ },
331
+ whileInView: {
332
+ pathLength: 1,
333
+ d: Lt(a) || "",
334
+ opacity: 1,
335
+ transition: { duration: n.duration }
336
+ }
337
+ },
338
+ initial: "initial",
339
+ animate: l ? "whileInView" : "initial"
340
+ }
341
+ ),
342
+ I ? /* @__PURE__ */ i.jsx(
343
+ "line",
344
+ {
345
+ y1: 0,
346
+ y2: w,
347
+ x1: e(I.date),
348
+ x2: e(I.date),
349
+ className: B(
350
+ "undp-tick-line stroke-primary-gray-700 dark:stroke-primary-gray-100",
351
+ m?.mouseOverLine
352
+ ),
353
+ style: c?.mouseOverLine
354
+ }
355
+ ) : null,
356
+ /* @__PURE__ */ i.jsx("g", { children: a.map((t, p) => /* @__PURE__ */ i.jsx(g.g, { children: v(t.y) ? null : /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
357
+ $ ? /* @__PURE__ */ i.jsx(
358
+ g.circle,
359
+ {
360
+ r: r / a.length < 5 ? 0 : r / a.length < 20 ? 2 : 4,
361
+ style: { fill: k },
362
+ exit: { opacity: 0, transition: { duration: n.duration } },
363
+ variants: {
364
+ initial: { opacity: 0, cx: e(t.date), cy: o(t.y) },
365
+ whileInView: {
366
+ opacity: 1,
367
+ transition: {
368
+ duration: y ? n.duration : 0.5,
369
+ delay: y ? 0 : n.duration
370
+ },
371
+ cx: e(t.date),
372
+ cy: o(t.y)
373
+ }
374
+ },
375
+ initial: "initial",
376
+ animate: l ? "whileInView" : "initial"
377
+ }
378
+ ) : null,
379
+ dt ? /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
380
+ /* @__PURE__ */ i.jsx(
381
+ g.circle,
382
+ {
383
+ r: r / a.length < 5 ? 0 : r / a.length < 20 ? 2 : 4,
384
+ style: { fill: A[0] },
385
+ exit: { opacity: 0, transition: { duration: n.duration } },
386
+ variants: {
387
+ initial: { opacity: 0, cx: e(t.date), cy: o(t.yMin) },
388
+ whileInView: {
389
+ opacity: 1,
390
+ transition: {
391
+ duration: y ? n.duration : 0.5,
392
+ delay: y ? 0 : n.duration
393
+ },
394
+ cx: e(t.date),
395
+ cy: o(t.yMin)
396
+ }
397
+ },
398
+ initial: "initial",
399
+ animate: l ? "whileInView" : "initial"
400
+ }
401
+ ),
402
+ /* @__PURE__ */ i.jsx(
403
+ g.circle,
404
+ {
405
+ r: r / a.length < 5 ? 0 : r / a.length < 20 ? 2 : 4,
406
+ style: { fill: A[1] },
407
+ exit: { opacity: 0, transition: { duration: n.duration } },
408
+ variants: {
409
+ initial: { opacity: 0, cx: e(t.date), cy: o(t.yMax) },
410
+ whileInView: {
411
+ opacity: 1,
412
+ transition: {
413
+ duration: y ? n.duration : 0.5,
414
+ delay: y ? 0 : n.duration
415
+ },
416
+ cx: e(t.date),
417
+ cy: o(t.yMax)
418
+ }
419
+ },
420
+ initial: "initial",
421
+ animate: l ? "whileInView" : "initial"
422
+ }
423
+ )
424
+ ] }) : null,
425
+ z ? /* @__PURE__ */ i.jsx(
426
+ g.text,
427
+ {
428
+ dy: -8,
429
+ style: {
430
+ fill: k,
431
+ textAnchor: "middle",
432
+ ...c?.graphObjectValues || {}
433
+ },
434
+ className: B(
435
+ "graph-value text-xs font-bold",
436
+ m?.graphObjectValues
437
+ ),
438
+ exit: { opacity: 0, transition: { duration: n.duration } },
439
+ variants: {
440
+ initial: { opacity: 0, x: e(t.date), y: o(t.y) },
441
+ whileInView: {
442
+ opacity: 1,
443
+ x: e(t.date),
444
+ y: o(t.y),
445
+ transition: {
446
+ duration: y ? n.duration : 0.5,
447
+ delay: y ? 0 : n.duration
448
+ }
449
+ }
450
+ },
451
+ initial: "initial",
452
+ animate: l ? "whileInView" : "initial",
453
+ children: lt(t.y, "NA", N, f, L)
454
+ }
455
+ ) : null,
456
+ ft ? /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
457
+ /* @__PURE__ */ i.jsx(
458
+ g.text,
459
+ {
460
+ dy: "1em",
461
+ style: {
462
+ fill: A[0],
463
+ textAnchor: "middle",
464
+ ...c?.graphObjectValues || {}
465
+ },
466
+ className: B("text-xs font-bold", m?.graphObjectValues),
467
+ exit: { opacity: 0, transition: { duration: n.duration } },
468
+ variants: {
469
+ initial: { opacity: 0, x: e(t.date), y: o(t.yMin) },
470
+ whileInView: {
471
+ opacity: 1,
472
+ x: e(t.date),
473
+ y: o(t.yMin),
474
+ transition: {
475
+ duration: y ? n.duration : 0.5,
476
+ delay: y ? 0 : n.duration
477
+ }
478
+ }
479
+ },
480
+ initial: "initial",
481
+ animate: l ? "whileInView" : "initial",
482
+ children: lt(t.yMin, "NA", N, f, L)
483
+ }
484
+ ),
485
+ /* @__PURE__ */ i.jsx(
486
+ g.text,
487
+ {
488
+ dy: -8,
489
+ style: {
490
+ fill: A[1],
491
+ textAnchor: "middle",
492
+ ...c?.graphObjectValues || {}
493
+ },
494
+ className: B("text-xs font-bold", m?.graphObjectValues),
495
+ exit: { opacity: 0, transition: { duration: n.duration } },
496
+ variants: {
497
+ initial: { opacity: 0, x: e(t.date), y: o(t.yMax) },
498
+ whileInView: {
499
+ opacity: 1,
500
+ x: e(t.date),
501
+ y: o(t.yMax),
502
+ transition: {
503
+ duration: y ? n.duration : 0.5,
504
+ delay: y ? 0 : n.duration
505
+ }
506
+ }
507
+ },
508
+ initial: "initial",
509
+ animate: l ? "whileInView" : "initial",
510
+ children: lt(t.yMax, "NA", N, f, L)
511
+ }
512
+ )
513
+ ] }) : null
514
+ ] }) }, p)) }),
515
+ J ? /* @__PURE__ */ i.jsx(i.Fragment, { children: J.map((t, p) => /* @__PURE__ */ i.jsx(
516
+ zt,
517
+ {
518
+ text: t.text,
519
+ color: t.color,
520
+ y: o(t.value),
521
+ x1: 0 - j,
522
+ x2: r + d.right,
523
+ classNames: t.classNames,
524
+ styles: t.styles,
525
+ animate: n,
526
+ isInView: l
527
+ },
528
+ p
529
+ )) }) : null,
530
+ /* @__PURE__ */ i.jsx("g", { children: pt.map((t, p) => {
531
+ const O = Et(
532
+ {
533
+ x: t.xCoordinate ? e(u(`${t.xCoordinate}`, s, /* @__PURE__ */ new Date())) + (t.xOffset || 0) : 0 + (t.xOffset || 0),
534
+ y: t.yCoordinate ? o(t.yCoordinate) + (t.yOffset || 0) - 8 : 0 + (t.yOffset || 0) - 8
535
+ },
536
+ {
537
+ x: t.xCoordinate ? e(u(`${t.xCoordinate}`, s, /* @__PURE__ */ new Date())) : 0,
538
+ y: t.yCoordinate ? o(t.yCoordinate) : 0
539
+ },
540
+ v(t.connectorRadius) ? 3.5 : t.connectorRadius
541
+ ), st = t.showConnector ? {
542
+ y1: O.y,
543
+ x1: O.x,
544
+ y2: t.yCoordinate ? o(t.yCoordinate) + (t.yOffset || 0) : 0 + (t.yOffset || 0),
545
+ x2: t.xCoordinate ? e(u(`${t.xCoordinate}`, s, /* @__PURE__ */ new Date())) + (t.xOffset || 0) : 0 + (t.xOffset || 0),
546
+ cy: t.yCoordinate ? o(t.yCoordinate) : 0,
547
+ cx: t.xCoordinate ? e(u(`${t.xCoordinate}`, s, /* @__PURE__ */ new Date())) : 0,
548
+ circleRadius: v(t.connectorRadius) ? 3.5 : t.connectorRadius,
549
+ strokeWidth: t.showConnector === !0 ? 2 : Math.min(t.showConnector || 0, 1)
550
+ } : void 0, At = {
551
+ y: t.yCoordinate ? o(t.yCoordinate) + (t.yOffset || 0) - 8 : 0 + (t.yOffset || 0) - 8,
552
+ x: Z ? 0 : t.xCoordinate ? e(u(`${t.xCoordinate}`, s, /* @__PURE__ */ new Date())) + (t.xOffset || 0) : 0 + (t.xOffset || 0),
553
+ width: Z ? t.xCoordinate ? e(u(`${t.xCoordinate}`, s, /* @__PURE__ */ new Date())) + (t.xOffset || 0) : 0 + (t.xOffset || 0) : r - (t.xCoordinate ? e(u(`${t.xCoordinate}`, s, /* @__PURE__ */ new Date())) + (t.xOffset || 0) : 0 + (t.xOffset || 0)),
554
+ maxWidth: t.maxWidth,
555
+ fontWeight: t.fontWeight,
556
+ align: t.align
557
+ };
558
+ return /* @__PURE__ */ i.jsx(
559
+ Xt,
560
+ {
561
+ color: t.color,
562
+ connectorsSettings: st,
563
+ labelSettings: At,
564
+ text: t.text,
565
+ classNames: t.classNames,
566
+ styles: t.styles,
567
+ animate: n,
568
+ isInView: l
569
+ },
570
+ p
571
+ );
572
+ }) }),
573
+ /* @__PURE__ */ i.jsx("g", { children: H ? /* @__PURE__ */ i.jsx(
574
+ Ut,
575
+ {
576
+ x1: 0,
577
+ x2: r,
578
+ y1: $t(0),
579
+ y2: $t(r),
580
+ graphHeight: w,
581
+ graphWidth: r,
582
+ className: m?.regLine,
583
+ style: c?.regLine,
584
+ color: typeof H == "string" ? H : void 0,
585
+ animate: n,
586
+ isInView: l
587
+ }
588
+ ) : null }),
589
+ tt.filter((t) => t.position === "after").map((t) => t.layer),
590
+ /* @__PURE__ */ i.jsx(
591
+ "rect",
592
+ {
593
+ ref: M,
594
+ style: {
595
+ fill: "none",
596
+ pointerEvents: "all"
597
+ },
598
+ width: r,
599
+ height: w
600
+ }
601
+ )
602
+ ] })
603
+ }
604
+ ),
605
+ I && q && at && X ? /* @__PURE__ */ i.jsx(
606
+ Yt,
607
+ {
608
+ data: I,
609
+ body: q,
610
+ xPos: at,
611
+ yPos: X,
612
+ backgroundStyle: c?.tooltip,
613
+ className: m?.tooltip
614
+ }
615
+ ) : null
616
+ ] });
617
+ }
618
+ function Xi(yt) {
619
+ const {
620
+ data: V,
621
+ graphTitle: C,
622
+ suffix: W = "",
623
+ sources: k,
624
+ prefix: L = "",
625
+ graphDescription: f,
626
+ height: s,
627
+ width: h,
628
+ footNote: z,
629
+ noOfXTicks: xt = 10,
630
+ dateFormat: ht = "yyyy",
631
+ showValues: j = !1,
632
+ backgroundColor: b = !1,
633
+ padding: U,
634
+ lineColor: q,
635
+ leftMargin: F = 30,
636
+ rightMargin: J = 30,
637
+ topMargin: K = 20,
638
+ bottomMargin: Q = 25,
639
+ tooltip: n,
640
+ refValues: Z = [],
641
+ highlightAreaSettings: ut = [],
642
+ relativeHeight: $,
643
+ onSeriesMouseOver: pt,
644
+ graphID: gt,
645
+ minValue: H,
646
+ maxValue: dt,
647
+ regressionLine: ft = !1,
648
+ showIntervalDots: Y = !1,
649
+ showIntervalValues: A = !1,
650
+ intervalLineStrokeWidth: wt = 0,
651
+ intervalLineColors: vt = [ct.light.grays["gray-500"], ct.light.grays["gray-500"]],
652
+ intervalAreaColor: _ = ct.primaryColors["blue-100"],
653
+ intervalAreaOpacity: jt = 0.4,
654
+ graphDownload: P = !1,
655
+ dataDownload: E = !1,
656
+ animate: D = !1,
657
+ language: c = "en",
658
+ minHeight: m = 0,
659
+ strokeWidth: N = 2,
660
+ showDots: tt = !0,
661
+ annotations: it = [],
662
+ customHighlightAreaSettings: l = [],
663
+ theme: y = "light",
664
+ ariaLabel: Mt,
665
+ yAxisTitle: S,
666
+ noOfYTicks: I = 5,
667
+ minDate: et,
668
+ maxDate: at,
669
+ colorLegendTitle: nt,
670
+ colorLegendColors: X,
671
+ colorLegendDomain: G,
672
+ curveType: d = "curve",
673
+ styles: M,
674
+ classNames: a,
675
+ precision: Ct = 2,
676
+ customLayers: bt = []
677
+ } = yt, [r, w] = R(0), [ot, rt] = R(0), x = mt(null), T = mt(null);
678
+ return Vt(() => {
679
+ const e = new ResizeObserver((o) => {
680
+ w(h || o[0].target.clientWidth || 620), rt(s || o[0].target.clientHeight || 480);
681
+ });
682
+ return x.current && (rt(x.current.clientHeight || 480), w(x.current.clientWidth || 620), h || e.observe(x.current)), () => e.disconnect();
683
+ }, [h, s]), /* @__PURE__ */ i.jsx(
684
+ "div",
685
+ {
686
+ className: `${y || "light"} flex ${h ? "w-fit grow-0" : "w-full grow"}`,
687
+ dir: c === "he" || c === "ar" ? "rtl" : void 0,
688
+ children: /* @__PURE__ */ i.jsx(
689
+ "div",
690
+ {
691
+ className: B(
692
+ `${b ? b === !0 ? "bg-primary-gray-200 dark:bg-primary-gray-650 " : "" : "bg-transparent "}ml-auto mr-auto flex flex-col grow h-inherit ${c || "en"}`,
693
+ a?.graphContainer
694
+ ),
695
+ style: {
696
+ ...M?.graphContainer || {},
697
+ ...b && b !== !0 ? { backgroundColor: b } : {}
698
+ },
699
+ id: gt,
700
+ ref: T,
701
+ "aria-label": Mt || `${C ? `The graph shows ${C}. ` : ""}This is a line chart that highlights the difference between two datasets over time.${f ? ` ${f}` : ""}`,
702
+ children: /* @__PURE__ */ i.jsx(
703
+ "div",
704
+ {
705
+ className: "flex grow",
706
+ style: { padding: b ? U || "1rem" : U || 0 },
707
+ children: /* @__PURE__ */ i.jsxs("div", { className: "flex flex-col w-full gap-4 grow justify-between", children: [
708
+ C || f || P || E ? /* @__PURE__ */ i.jsx(
709
+ ci,
710
+ {
711
+ styles: {
712
+ title: M?.title,
713
+ description: M?.description
714
+ },
715
+ classNames: {
716
+ title: a?.title,
717
+ description: a?.description
718
+ },
719
+ graphTitle: C,
720
+ graphDescription: f,
721
+ width: h,
722
+ graphDownload: P ? T.current : void 0,
723
+ dataDownload: E ? V.map((e) => e.data).filter((e) => e !== void 0).length > 0 ? V.map((e) => e.data).filter((e) => e !== void 0) : V.filter((e) => e !== void 0) : null
724
+ }
725
+ ) : null,
726
+ /* @__PURE__ */ i.jsx("div", { className: "grow flex flex-col justify-center gap-3 w-full", children: V.length === 0 ? /* @__PURE__ */ i.jsx(yi, {}) : /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
727
+ X && G ? /* @__PURE__ */ i.jsx(
728
+ mi,
729
+ {
730
+ width: h,
731
+ colorLegendTitle: nt,
732
+ colors: X,
733
+ colorDomain: G,
734
+ showNAColor: !1
735
+ }
736
+ ) : null,
737
+ /* @__PURE__ */ i.jsx(
738
+ "div",
739
+ {
740
+ className: "flex flex-col grow justify-center leading-0",
741
+ ref: x,
742
+ "aria-label": "Graph area",
743
+ children: (h || r) && (s || ot) ? /* @__PURE__ */ i.jsx(
744
+ xi,
745
+ {
746
+ data: V,
747
+ lineColor: q || ct.primaryColors["blue-600"],
748
+ width: h || r,
749
+ height: Math.max(
750
+ m,
751
+ s || ($ ? m ? (h || r) * $ > m ? (h || r) * $ : m : (h || r) * $ : ot)
752
+ ),
753
+ suffix: W,
754
+ prefix: L,
755
+ dateFormat: ht,
756
+ showValues: j,
757
+ noOfXTicks: xt,
758
+ leftMargin: F,
759
+ rightMargin: J,
760
+ topMargin: K,
761
+ bottomMargin: Q,
762
+ tooltip: n,
763
+ highlightAreaSettings: ut,
764
+ onSeriesMouseOver: pt,
765
+ refValues: Z,
766
+ minValue: H,
767
+ maxValue: dt,
768
+ animate: D === !0 ? { duration: 0.5, once: !0, amount: 0.5 } : D || { duration: 0, once: !0, amount: 0 },
769
+ rtl: c === "he" || c === "ar",
770
+ strokeWidth: N,
771
+ showDots: tt,
772
+ annotations: it,
773
+ customHighlightAreaSettings: l,
774
+ regressionLine: ft,
775
+ showIntervalDots: Y,
776
+ showIntervalValues: A,
777
+ intervalLineStrokeWidth: wt,
778
+ intervalLineColors: vt,
779
+ intervalAreaColor: _,
780
+ intervalAreaOpacity: jt,
781
+ yAxisTitle: S,
782
+ noOfYTicks: I,
783
+ minDate: et,
784
+ maxDate: at,
785
+ curveType: d,
786
+ styles: M,
787
+ classNames: a,
788
+ precision: Ct,
789
+ customLayers: bt
790
+ }
791
+ ) : null
792
+ }
793
+ )
794
+ ] }) }),
795
+ k || z ? /* @__PURE__ */ i.jsx(
796
+ li,
797
+ {
798
+ styles: { footnote: M?.footnote, source: M?.source },
799
+ classNames: {
800
+ footnote: a?.footnote,
801
+ source: a?.source
802
+ },
803
+ sources: k,
804
+ footNote: z,
805
+ width: h
806
+ }
807
+ ) : null
808
+ ] })
809
+ }
810
+ )
811
+ }
812
+ )
813
+ }
814
+ );
815
+ }
816
+ export {
817
+ Xi as LineChartWithConfidenceInterval
818
+ };
819
+ //# sourceMappingURL=LineChartWithConfidenceInterval.js.map