@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,2759 @@
1
+ import { a as n, m as L, p as Z, b as P, j as I } from "./index-CHPV5EwG-BPSP-7Jg.js";
2
+ import * as c from "react";
3
+ import x from "react";
4
+ import { w as M, b as Fe, g as B, E as Q, _, P as V, j as v, c as We } from "./index-DG3YrCr5-D3FrrXj8.js";
5
+ import { b as J } from "./x-CnsEH4Ox-DDvAJndW.js";
6
+ import { h as $e } from "./index-tvAyXPPW-DBlMKnNB.js";
7
+ import { n as Ee } from "./Modal-CUU6ZK3U.js";
8
+ import { u as U } from "./Typography-Ctgfl1J5.js";
9
+ import { ButterflyChart as _e } from "./ButterflyChart.js";
10
+ import { C as ze } from "./index-BVnYktl4.js";
11
+ import { DataTable as Ge } from "./DataTable.js";
12
+ import { DonutChart as Xe } from "./DonutChart.js";
13
+ import { HeatMap as Ye } from "./HeatMap.js";
14
+ import { Histogram as qe } from "./Histogram.js";
15
+ import { DualAxisLineChart as Ke } from "./DualAxisLineChart.js";
16
+ import { SimpleLineChart as Ue } from "./SimpleLineChart.js";
17
+ import { MultiLineChart as Ze } from "./MultiLineChart.js";
18
+ import { MultiLineAltChart as Qe } from "./MultiLineAltChart.js";
19
+ import { SparkLine as Je } from "./SparkLine.js";
20
+ import { BiVariateChoroplethMap as ea } from "./BiVariateChoroplethMap.js";
21
+ import { ChoroplethMap as aa } from "./ChoroplethMap.js";
22
+ import { DotDensityMap as oa } from "./DotDensityMap.js";
23
+ import { GeoHubCompareMaps as ta } from "./GeoHubCompareMaps.js";
24
+ import { GeoHubMap as ra } from "./GeoHubMap.js";
25
+ import { ParetoChart as ia } from "./ParetoChart.js";
26
+ import { ScatterPlot as la } from "./ScatterPlot.js";
27
+ import { SlopeChart as na } from "./SlopeChart.js";
28
+ import { AreaChart as sa } from "./AreaChart.js";
29
+ import { StatCardFromData as ca } from "./StatCardFromData.js";
30
+ import { TreeMapGraph as da } from "./TreeMapGraph.js";
31
+ import { UnitChart as ha } from "./UnitChart.js";
32
+ import { DifferenceLineChart as ga } from "./DifferenceLineChart.js";
33
+ import { GeoHubMapWithLayerSelection as ua } from "./GeoHubMapWithLayerSelection.js";
34
+ import { SankeyChart as pa } from "./SankeyChart.js";
35
+ import { LineChartWithConfidenceInterval as ma } from "./LineChartWithConfidenceInterval.js";
36
+ import { D as fa } from "./index-OCoyy1wG.js";
37
+ import { StackedBarGraph as ba, GroupedBarGraph as Da, SimpleBarGraph as Ca } from "./BarGraph.js";
38
+ import { DumbbellChart as wa } from "./DumbbellChart.js";
39
+ import { StripChart as ka } from "./StripChart.js";
40
+ import { BeeSwarmChart as ya } from "./BeeSwarmChart.js";
41
+ import { RadarChart as xa } from "./RadarChart.js";
42
+ import { BulletChart as Ta } from "./BulletChart.js";
43
+ import { ThreeDGlobe as La } from "./ThreeDGlobe.js";
44
+ var va = "Label", ee = c.forwardRef((o, e) => /* @__PURE__ */ n.jsx(
45
+ M.label,
46
+ {
47
+ ...o,
48
+ ref: e,
49
+ onMouseDown: (t) => {
50
+ t.target.closest("button, input, select, textarea") || (o.onMouseDown?.(t), !t.defaultPrevented && t.detail > 1 && t.preventDefault());
51
+ }
52
+ }
53
+ ));
54
+ ee.displayName = va;
55
+ var ae = ee;
56
+ const z = x.forwardRef(({ className: o, ...e }, t) => /* @__PURE__ */ n.jsx(
57
+ ae,
58
+ {
59
+ ...e,
60
+ ref: t,
61
+ className: L(
62
+ "text-sm m-0 p-0 block text-primary-gray-700 dark:text-primary-white peer-disabled:cursor-not-allowed peer-disabled:opacity-50",
63
+ o
64
+ )
65
+ }
66
+ ));
67
+ z.displayName = ae.displayName;
68
+ function oe(o) {
69
+ const e = c.useRef({ value: o, previous: o });
70
+ return c.useMemo(() => (e.current.value !== o && (e.current.previous = e.current.value, e.current.value = o), e.current.previous), [o]);
71
+ }
72
+ function te(o) {
73
+ const [e, t] = c.useState(void 0);
74
+ return Fe(() => {
75
+ if (o) {
76
+ t({ width: o.offsetWidth, height: o.offsetHeight });
77
+ const a = new ResizeObserver((l) => {
78
+ if (!Array.isArray(l) || !l.length)
79
+ return;
80
+ const r = l[0];
81
+ let i, s;
82
+ if ("borderBoxSize" in r) {
83
+ const h = r.borderBoxSize, g = Array.isArray(h) ? h[0] : h;
84
+ i = g.inlineSize, s = g.blockSize;
85
+ } else
86
+ i = o.offsetWidth, s = o.offsetHeight;
87
+ t({ width: i, height: s });
88
+ });
89
+ return a.observe(o, { box: "border-box" }), () => a.unobserve(o);
90
+ } else
91
+ t(void 0);
92
+ }, [o]), e;
93
+ }
94
+ /**
95
+ * @license lucide-react v0.488.0 - ISC
96
+ *
97
+ * This source code is licensed under the ISC license.
98
+ * See the LICENSE file in the root directory of this source tree.
99
+ */
100
+ const Ma = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]], Oa = J("check", Ma);
101
+ var j = "Checkbox", [Na, at] = B(j), [Sa, G] = Na(j);
102
+ function Va(o) {
103
+ const {
104
+ __scopeCheckbox: e,
105
+ checked: t,
106
+ children: a,
107
+ defaultChecked: l,
108
+ disabled: r,
109
+ form: i,
110
+ name: s,
111
+ onCheckedChange: h,
112
+ required: g,
113
+ value: u = "on",
114
+ // @ts-expect-error
115
+ internal_do_not_use_render: p
116
+ } = o, [f, d] = _({
117
+ prop: t,
118
+ defaultProp: l ?? !1,
119
+ onChange: h,
120
+ caller: j
121
+ }), [D, k] = c.useState(null), [m, C] = c.useState(null), w = c.useRef(!1), y = D ? !!i || !!D.closest("form") : (
122
+ // We set this to true by default so that events bubble to forms without JS (SSR)
123
+ !0
124
+ ), N = {
125
+ checked: f,
126
+ disabled: r,
127
+ setChecked: d,
128
+ control: D,
129
+ setControl: k,
130
+ name: s,
131
+ form: i,
132
+ value: u,
133
+ hasConsumerStoppedPropagationRef: w,
134
+ required: g,
135
+ defaultChecked: O(l) ? !1 : l,
136
+ isFormControl: y,
137
+ bubbleInput: m,
138
+ setBubbleInput: C
139
+ };
140
+ return /* @__PURE__ */ n.jsx(
141
+ Sa,
142
+ {
143
+ scope: e,
144
+ ...N,
145
+ children: Ha(p) ? p(N) : a
146
+ }
147
+ );
148
+ }
149
+ var re = "CheckboxTrigger", ie = c.forwardRef(
150
+ ({ __scopeCheckbox: o, onKeyDown: e, onClick: t, ...a }, l) => {
151
+ const {
152
+ control: r,
153
+ value: i,
154
+ disabled: s,
155
+ checked: h,
156
+ required: g,
157
+ setControl: u,
158
+ setChecked: p,
159
+ hasConsumerStoppedPropagationRef: f,
160
+ isFormControl: d,
161
+ bubbleInput: D
162
+ } = G(re, o), k = V(l, u), m = c.useRef(h);
163
+ return c.useEffect(() => {
164
+ const C = r?.form;
165
+ if (C) {
166
+ const w = () => p(m.current);
167
+ return C.addEventListener("reset", w), () => C.removeEventListener("reset", w);
168
+ }
169
+ }, [r, p]), /* @__PURE__ */ n.jsx(
170
+ M.button,
171
+ {
172
+ type: "button",
173
+ role: "checkbox",
174
+ "aria-checked": O(h) ? "mixed" : h,
175
+ "aria-required": g,
176
+ "data-state": de(h),
177
+ "data-disabled": s ? "" : void 0,
178
+ disabled: s,
179
+ value: i,
180
+ ...a,
181
+ ref: k,
182
+ onKeyDown: v(e, (C) => {
183
+ C.key === "Enter" && C.preventDefault();
184
+ }),
185
+ onClick: v(t, (C) => {
186
+ p((w) => O(w) ? !0 : !w), D && d && (f.current = C.isPropagationStopped(), f.current || C.stopPropagation());
187
+ })
188
+ }
189
+ );
190
+ }
191
+ );
192
+ ie.displayName = re;
193
+ var X = c.forwardRef(
194
+ (o, e) => {
195
+ const {
196
+ __scopeCheckbox: t,
197
+ name: a,
198
+ checked: l,
199
+ defaultChecked: r,
200
+ required: i,
201
+ disabled: s,
202
+ value: h,
203
+ onCheckedChange: g,
204
+ form: u,
205
+ ...p
206
+ } = o;
207
+ return /* @__PURE__ */ n.jsx(
208
+ Va,
209
+ {
210
+ __scopeCheckbox: t,
211
+ checked: l,
212
+ defaultChecked: r,
213
+ disabled: s,
214
+ required: i,
215
+ onCheckedChange: g,
216
+ name: a,
217
+ form: u,
218
+ value: h,
219
+ internal_do_not_use_render: ({ isFormControl: f }) => /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
220
+ /* @__PURE__ */ n.jsx(
221
+ ie,
222
+ {
223
+ ...p,
224
+ ref: e,
225
+ __scopeCheckbox: t
226
+ }
227
+ ),
228
+ f && /* @__PURE__ */ n.jsx(
229
+ ce,
230
+ {
231
+ __scopeCheckbox: t
232
+ }
233
+ )
234
+ ] })
235
+ }
236
+ );
237
+ }
238
+ );
239
+ X.displayName = j;
240
+ var le = "CheckboxIndicator", ne = c.forwardRef(
241
+ (o, e) => {
242
+ const { __scopeCheckbox: t, forceMount: a, ...l } = o, r = G(le, t);
243
+ return /* @__PURE__ */ n.jsx(
244
+ Q,
245
+ {
246
+ present: a || O(r.checked) || r.checked === !0,
247
+ children: /* @__PURE__ */ n.jsx(
248
+ M.span,
249
+ {
250
+ "data-state": de(r.checked),
251
+ "data-disabled": r.disabled ? "" : void 0,
252
+ ...l,
253
+ ref: e,
254
+ style: { pointerEvents: "none", ...o.style }
255
+ }
256
+ )
257
+ }
258
+ );
259
+ }
260
+ );
261
+ ne.displayName = le;
262
+ var se = "CheckboxBubbleInput", ce = c.forwardRef(
263
+ ({ __scopeCheckbox: o, ...e }, t) => {
264
+ const {
265
+ control: a,
266
+ hasConsumerStoppedPropagationRef: l,
267
+ checked: r,
268
+ defaultChecked: i,
269
+ required: s,
270
+ disabled: h,
271
+ name: g,
272
+ value: u,
273
+ form: p,
274
+ bubbleInput: f,
275
+ setBubbleInput: d
276
+ } = G(se, o), D = V(t, d), k = oe(r), m = te(a);
277
+ c.useEffect(() => {
278
+ const w = f;
279
+ if (!w) return;
280
+ const y = window.HTMLInputElement.prototype, N = Object.getOwnPropertyDescriptor(
281
+ y,
282
+ "checked"
283
+ ).set, H = !l.current;
284
+ if (k !== r && N) {
285
+ const F = new Event("click", { bubbles: H });
286
+ w.indeterminate = O(r), N.call(w, O(r) ? !1 : r), w.dispatchEvent(F);
287
+ }
288
+ }, [f, k, r, l]);
289
+ const C = c.useRef(O(r) ? !1 : r);
290
+ return /* @__PURE__ */ n.jsx(
291
+ M.input,
292
+ {
293
+ type: "checkbox",
294
+ "aria-hidden": !0,
295
+ defaultChecked: i ?? C.current,
296
+ required: s,
297
+ disabled: h,
298
+ name: g,
299
+ value: u,
300
+ form: p,
301
+ ...e,
302
+ tabIndex: -1,
303
+ ref: D,
304
+ style: {
305
+ ...e.style,
306
+ ...m,
307
+ position: "absolute",
308
+ pointerEvents: "none",
309
+ opacity: 0,
310
+ margin: 0,
311
+ // We transform because the input is absolutely positioned but we have
312
+ // rendered it **after** the button. This pulls it back to sit on top
313
+ // of the button.
314
+ transform: "translateX(-100%)"
315
+ }
316
+ }
317
+ );
318
+ }
319
+ );
320
+ ce.displayName = se;
321
+ function Ha(o) {
322
+ return typeof o == "function";
323
+ }
324
+ function O(o) {
325
+ return o === "indeterminate";
326
+ }
327
+ function de(o) {
328
+ return O(o) ? "indeterminate" : o ? "checked" : "unchecked";
329
+ }
330
+ const Ia = P(
331
+ "peer h-4 w-4 shrink-0 rounded-0 bg-primary-white dark:bg-primary-gray-650 focus-visible:outline-hidden focus-visible:ring-1 disabled:cursor-not-allowed disabled:opacity-50",
332
+ {
333
+ variants: {
334
+ color: {
335
+ blue: "border-primary-blue-600 hover:bg-primary-blue-100 dark:border-primary-blue-400 dark:hover:bg-primary-blue-200",
336
+ red: "border-accent-dark-red hover:bg-accent-light-red dark:border-accent-red dark:hover:bg-accent-light-red",
337
+ black: "border-primary-gray-700 hover:bg-primary-gray-400 dark:border-primary-gray-100 dark:hover:bg-primary-gray-550",
338
+ custom: "border-custom-color-600 hover:bg-custom-color-100 dark:border-custom-color-400 dark:hover:bg-custom-color-200"
339
+ },
340
+ variant: {
341
+ light: "border",
342
+ normal: "border-2"
343
+ }
344
+ },
345
+ defaultVariants: {
346
+ color: "red",
347
+ variant: "normal"
348
+ }
349
+ }
350
+ ), Aa = P("h-4 w-4", {
351
+ variants: {
352
+ color: {
353
+ blue: "stroke-primary-blue-600 dark:stroke-primary-blue-400",
354
+ red: "stroke-accent-dark-red dark:stroke-accent-red",
355
+ black: "stroke-primary-gray-700 dark:stroke-primary-gray-100",
356
+ custom: "stroke-custom-color-600 dark:stroke-custom-color-400"
357
+ },
358
+ variant: {
359
+ light: "-mt-px",
360
+ normal: "-mt-0.5"
361
+ }
362
+ },
363
+ defaultVariants: {
364
+ color: "red",
365
+ variant: "normal"
366
+ }
367
+ }), he = x.forwardRef(
368
+ ({
369
+ className: o,
370
+ labelClassName: e,
371
+ checkBoxClassName: t,
372
+ checkIconClassName: a,
373
+ label: l,
374
+ color: r,
375
+ variant: i,
376
+ ...s
377
+ }, h) => {
378
+ const g = s.id || Z();
379
+ return /* @__PURE__ */ n.jsxs("div", { className: L("flex flex-row gap-2 items-center", o), children: [
380
+ /* @__PURE__ */ n.jsx(
381
+ X,
382
+ {
383
+ ...s,
384
+ ref: h,
385
+ className: L(Ia({ color: r, variant: i }), t),
386
+ id: g,
387
+ children: /* @__PURE__ */ n.jsx(
388
+ ne,
389
+ {
390
+ className: L("flex items-center justify-center text-current"),
391
+ children: /* @__PURE__ */ n.jsx(
392
+ Oa,
393
+ {
394
+ className: L(Aa({ color: r, variant: i }), a),
395
+ strokeWidth: i === "light" ? 2 : 4
396
+ }
397
+ )
398
+ }
399
+ )
400
+ }
401
+ ),
402
+ l ? /* @__PURE__ */ n.jsx(z, { className: L("mt-0.5 text-base!", e), htmlFor: g, children: l }) : null
403
+ ] });
404
+ }
405
+ );
406
+ he.displayName = X.displayName;
407
+ const ge = x.createContext({
408
+ selectedValues: [],
409
+ onValueChange: () => {
410
+ },
411
+ color: void 0,
412
+ variant: void 0
413
+ }), Pa = x.forwardRef(
414
+ ({ className: o, children: e, value: t, variant: a, color: l, onValueChange: r, defaultValue: i, ...s }, h) => {
415
+ const [g, u] = x.useState(i || []), p = t !== void 0 ? t : g, f = x.useCallback(
416
+ (D, k) => {
417
+ const m = k ? [...p, D] : p.filter((C) => C !== D);
418
+ t === void 0 && u(m), r?.(m);
419
+ },
420
+ [p, t, r]
421
+ ), d = x.useMemo(
422
+ () => ({
423
+ selectedValues: p,
424
+ color: l,
425
+ variant: a,
426
+ onValueChange: f
427
+ }),
428
+ [p, f, l, a]
429
+ );
430
+ return /* @__PURE__ */ n.jsx(ge.Provider, { value: d, children: /* @__PURE__ */ n.jsx(
431
+ "div",
432
+ {
433
+ ...s,
434
+ className: L("flex gap-x-4 gap-y-2 flex-row flex-wrap", o),
435
+ ref: h,
436
+ children: e
437
+ }
438
+ ) });
439
+ }
440
+ );
441
+ Pa.displayName = "CheckboxGroup";
442
+ const Ba = x.forwardRef(({ value: o, ...e }, t) => {
443
+ const { selectedValues: a, onValueChange: l, color: r, variant: i } = x.useContext(ge);
444
+ return /* @__PURE__ */ n.jsx(
445
+ he,
446
+ {
447
+ ref: t,
448
+ ...e,
449
+ value: o,
450
+ color: r,
451
+ variant: i,
452
+ checked: a.includes(o),
453
+ onCheckedChange: (s) => l(o, s === !0)
454
+ }
455
+ );
456
+ });
457
+ Ba.displayName = "CheckboxGroupItem";
458
+ var ja = c.createContext(void 0);
459
+ function ue(o) {
460
+ const e = c.useContext(ja);
461
+ return o || e || "ltr";
462
+ }
463
+ var $ = "rovingFocusGroup.onEntryFocus", Ra = { bubbles: !1, cancelable: !0 }, A = "RovingFocusGroup", [E, pe, Fa] = $e(A), [Wa, me] = B(
464
+ A,
465
+ [Fa]
466
+ ), [$a, Ea] = Wa(A), fe = c.forwardRef(
467
+ (o, e) => /* @__PURE__ */ n.jsx(E.Provider, { scope: o.__scopeRovingFocusGroup, children: /* @__PURE__ */ n.jsx(E.Slot, { scope: o.__scopeRovingFocusGroup, children: /* @__PURE__ */ n.jsx(_a, { ...o, ref: e }) }) })
468
+ );
469
+ fe.displayName = A;
470
+ var _a = c.forwardRef((o, e) => {
471
+ const {
472
+ __scopeRovingFocusGroup: t,
473
+ orientation: a,
474
+ loop: l = !1,
475
+ dir: r,
476
+ currentTabStopId: i,
477
+ defaultCurrentTabStopId: s,
478
+ onCurrentTabStopIdChange: h,
479
+ onEntryFocus: g,
480
+ preventScrollOnEntryFocus: u = !1,
481
+ ...p
482
+ } = o, f = c.useRef(null), d = V(e, f), D = ue(r), [k, m] = _({
483
+ prop: i,
484
+ defaultProp: s ?? null,
485
+ onChange: h,
486
+ caller: A
487
+ }), [C, w] = c.useState(!1), y = We(g), N = pe(t), H = c.useRef(!1), [F, q] = c.useState(0);
488
+ return c.useEffect(() => {
489
+ const T = f.current;
490
+ if (T)
491
+ return T.addEventListener($, y), () => T.removeEventListener($, y);
492
+ }, [y]), /* @__PURE__ */ n.jsx(
493
+ $a,
494
+ {
495
+ scope: t,
496
+ orientation: a,
497
+ dir: D,
498
+ loop: l,
499
+ currentTabStopId: k,
500
+ onItemFocus: c.useCallback(
501
+ (T) => m(T),
502
+ [m]
503
+ ),
504
+ onItemShiftTab: c.useCallback(() => w(!0), []),
505
+ onFocusableItemAdd: c.useCallback(
506
+ () => q((T) => T + 1),
507
+ []
508
+ ),
509
+ onFocusableItemRemove: c.useCallback(
510
+ () => q((T) => T - 1),
511
+ []
512
+ ),
513
+ children: /* @__PURE__ */ n.jsx(
514
+ M.div,
515
+ {
516
+ tabIndex: C || F === 0 ? -1 : 0,
517
+ "data-orientation": a,
518
+ ...p,
519
+ ref: d,
520
+ style: { outline: "none", ...o.style },
521
+ onMouseDown: v(o.onMouseDown, () => {
522
+ H.current = !0;
523
+ }),
524
+ onFocus: v(o.onFocus, (T) => {
525
+ const Pe = !H.current;
526
+ if (T.target === T.currentTarget && Pe && !C) {
527
+ const K = new CustomEvent($, Ra);
528
+ if (T.currentTarget.dispatchEvent(K), !K.defaultPrevented) {
529
+ const W = N().filter((S) => S.focusable), Be = W.find((S) => S.active), je = W.find((S) => S.id === k), Re = [Be, je, ...W].filter(
530
+ Boolean
531
+ ).map((S) => S.ref.current);
532
+ Ce(Re, u);
533
+ }
534
+ }
535
+ H.current = !1;
536
+ }),
537
+ onBlur: v(o.onBlur, () => w(!1))
538
+ }
539
+ )
540
+ }
541
+ );
542
+ }), be = "RovingFocusGroupItem", De = c.forwardRef(
543
+ (o, e) => {
544
+ const {
545
+ __scopeRovingFocusGroup: t,
546
+ focusable: a = !0,
547
+ active: l = !1,
548
+ tabStopId: r,
549
+ children: i,
550
+ ...s
551
+ } = o, h = Ee(), g = r || h, u = Ea(be, t), p = u.currentTabStopId === g, f = pe(t), { onFocusableItemAdd: d, onFocusableItemRemove: D, currentTabStopId: k } = u;
552
+ return c.useEffect(() => {
553
+ if (a)
554
+ return d(), () => D();
555
+ }, [a, d, D]), /* @__PURE__ */ n.jsx(
556
+ E.ItemSlot,
557
+ {
558
+ scope: t,
559
+ id: g,
560
+ focusable: a,
561
+ active: l,
562
+ children: /* @__PURE__ */ n.jsx(
563
+ M.span,
564
+ {
565
+ tabIndex: p ? 0 : -1,
566
+ "data-orientation": u.orientation,
567
+ ...s,
568
+ ref: e,
569
+ onMouseDown: v(o.onMouseDown, (m) => {
570
+ a ? u.onItemFocus(g) : m.preventDefault();
571
+ }),
572
+ onFocus: v(o.onFocus, () => u.onItemFocus(g)),
573
+ onKeyDown: v(o.onKeyDown, (m) => {
574
+ if (m.key === "Tab" && m.shiftKey) {
575
+ u.onItemShiftTab();
576
+ return;
577
+ }
578
+ if (m.target !== m.currentTarget) return;
579
+ const C = Xa(m, u.orientation, u.dir);
580
+ if (C !== void 0) {
581
+ if (m.metaKey || m.ctrlKey || m.altKey || m.shiftKey) return;
582
+ m.preventDefault();
583
+ let w = f().filter((y) => y.focusable).map((y) => y.ref.current);
584
+ if (C === "last") w.reverse();
585
+ else if (C === "prev" || C === "next") {
586
+ C === "prev" && w.reverse();
587
+ const y = w.indexOf(m.currentTarget);
588
+ w = u.loop ? Ya(w, y + 1) : w.slice(y + 1);
589
+ }
590
+ setTimeout(() => Ce(w));
591
+ }
592
+ }),
593
+ children: typeof i == "function" ? i({ isCurrentTabStop: p, hasTabStop: k != null }) : i
594
+ }
595
+ )
596
+ }
597
+ );
598
+ }
599
+ );
600
+ De.displayName = be;
601
+ var za = {
602
+ ArrowLeft: "prev",
603
+ ArrowUp: "prev",
604
+ ArrowRight: "next",
605
+ ArrowDown: "next",
606
+ PageUp: "first",
607
+ Home: "first",
608
+ PageDown: "last",
609
+ End: "last"
610
+ };
611
+ function Ga(o, e) {
612
+ return e !== "rtl" ? o : o === "ArrowLeft" ? "ArrowRight" : o === "ArrowRight" ? "ArrowLeft" : o;
613
+ }
614
+ function Xa(o, e, t) {
615
+ const a = Ga(o.key, t);
616
+ if (!(e === "vertical" && ["ArrowLeft", "ArrowRight"].includes(a)) && !(e === "horizontal" && ["ArrowUp", "ArrowDown"].includes(a)))
617
+ return za[a];
618
+ }
619
+ function Ce(o, e = !1) {
620
+ const t = document.activeElement;
621
+ for (const a of o)
622
+ if (a === t || (a.focus({ preventScroll: e }), document.activeElement !== t)) return;
623
+ }
624
+ function Ya(o, e) {
625
+ return o.map((t, a) => o[(e + a) % o.length]);
626
+ }
627
+ var qa = fe, Ka = De;
628
+ /**
629
+ * @license lucide-react v0.488.0 - ISC
630
+ *
631
+ * This source code is licensed under the ISC license.
632
+ * See the LICENSE file in the root directory of this source tree.
633
+ */
634
+ const Ua = [["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }]], Za = J("circle", Ua);
635
+ var Y = "Radio", [Qa, we] = B(Y), [Ja, eo] = Qa(Y), ke = c.forwardRef(
636
+ (o, e) => {
637
+ const {
638
+ __scopeRadio: t,
639
+ name: a,
640
+ checked: l = !1,
641
+ required: r,
642
+ disabled: i,
643
+ value: s = "on",
644
+ onCheck: h,
645
+ form: g,
646
+ ...u
647
+ } = o, [p, f] = c.useState(null), d = V(e, (m) => f(m)), D = c.useRef(!1), k = p ? g || !!p.closest("form") : !0;
648
+ return /* @__PURE__ */ n.jsxs(Ja, { scope: t, checked: l, disabled: i, children: [
649
+ /* @__PURE__ */ n.jsx(
650
+ M.button,
651
+ {
652
+ type: "button",
653
+ role: "radio",
654
+ "aria-checked": l,
655
+ "data-state": Le(l),
656
+ "data-disabled": i ? "" : void 0,
657
+ disabled: i,
658
+ value: s,
659
+ ...u,
660
+ ref: d,
661
+ onClick: v(o.onClick, (m) => {
662
+ l || h?.(), k && (D.current = m.isPropagationStopped(), D.current || m.stopPropagation());
663
+ })
664
+ }
665
+ ),
666
+ k && /* @__PURE__ */ n.jsx(
667
+ Te,
668
+ {
669
+ control: p,
670
+ bubbles: !D.current,
671
+ name: a,
672
+ value: s,
673
+ checked: l,
674
+ required: r,
675
+ disabled: i,
676
+ form: g,
677
+ style: { transform: "translateX(-100%)" }
678
+ }
679
+ )
680
+ ] });
681
+ }
682
+ );
683
+ ke.displayName = Y;
684
+ var ye = "RadioIndicator", xe = c.forwardRef(
685
+ (o, e) => {
686
+ const { __scopeRadio: t, forceMount: a, ...l } = o, r = eo(ye, t);
687
+ return /* @__PURE__ */ n.jsx(Q, { present: a || r.checked, children: /* @__PURE__ */ n.jsx(
688
+ M.span,
689
+ {
690
+ "data-state": Le(r.checked),
691
+ "data-disabled": r.disabled ? "" : void 0,
692
+ ...l,
693
+ ref: e
694
+ }
695
+ ) });
696
+ }
697
+ );
698
+ xe.displayName = ye;
699
+ var ao = "RadioBubbleInput", Te = c.forwardRef(
700
+ ({
701
+ __scopeRadio: o,
702
+ control: e,
703
+ checked: t,
704
+ bubbles: a = !0,
705
+ ...l
706
+ }, r) => {
707
+ const i = c.useRef(null), s = V(i, r), h = oe(t), g = te(e);
708
+ return c.useEffect(() => {
709
+ const u = i.current;
710
+ if (!u) return;
711
+ const p = window.HTMLInputElement.prototype, f = Object.getOwnPropertyDescriptor(
712
+ p,
713
+ "checked"
714
+ ).set;
715
+ if (h !== t && f) {
716
+ const d = new Event("click", { bubbles: a });
717
+ f.call(u, t), u.dispatchEvent(d);
718
+ }
719
+ }, [h, t, a]), /* @__PURE__ */ n.jsx(
720
+ M.input,
721
+ {
722
+ type: "radio",
723
+ "aria-hidden": !0,
724
+ defaultChecked: t,
725
+ ...l,
726
+ tabIndex: -1,
727
+ ref: s,
728
+ style: {
729
+ ...l.style,
730
+ ...g,
731
+ position: "absolute",
732
+ pointerEvents: "none",
733
+ opacity: 0,
734
+ margin: 0
735
+ }
736
+ }
737
+ );
738
+ }
739
+ );
740
+ Te.displayName = ao;
741
+ function Le(o) {
742
+ return o ? "checked" : "unchecked";
743
+ }
744
+ var oo = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"], R = "RadioGroup", [to, ot] = B(R, [
745
+ me,
746
+ we
747
+ ]), ve = me(), Me = we(), [ro, io] = to(R), Oe = c.forwardRef(
748
+ (o, e) => {
749
+ const {
750
+ __scopeRadioGroup: t,
751
+ name: a,
752
+ defaultValue: l,
753
+ value: r,
754
+ required: i = !1,
755
+ disabled: s = !1,
756
+ orientation: h,
757
+ dir: g,
758
+ loop: u = !0,
759
+ onValueChange: p,
760
+ ...f
761
+ } = o, d = ve(t), D = ue(g), [k, m] = _({
762
+ prop: r,
763
+ defaultProp: l ?? null,
764
+ onChange: p,
765
+ caller: R
766
+ });
767
+ return /* @__PURE__ */ n.jsx(
768
+ ro,
769
+ {
770
+ scope: t,
771
+ name: a,
772
+ required: i,
773
+ disabled: s,
774
+ value: k,
775
+ onValueChange: m,
776
+ children: /* @__PURE__ */ n.jsx(
777
+ qa,
778
+ {
779
+ asChild: !0,
780
+ ...d,
781
+ orientation: h,
782
+ dir: D,
783
+ loop: u,
784
+ children: /* @__PURE__ */ n.jsx(
785
+ M.div,
786
+ {
787
+ role: "radiogroup",
788
+ "aria-required": i,
789
+ "aria-orientation": h,
790
+ "data-disabled": s ? "" : void 0,
791
+ dir: D,
792
+ ...f,
793
+ ref: e
794
+ }
795
+ )
796
+ }
797
+ )
798
+ }
799
+ );
800
+ }
801
+ );
802
+ Oe.displayName = R;
803
+ var Ne = "RadioGroupItem", Se = c.forwardRef(
804
+ (o, e) => {
805
+ const { __scopeRadioGroup: t, disabled: a, ...l } = o, r = io(Ne, t), i = r.disabled || a, s = ve(t), h = Me(t), g = c.useRef(null), u = V(e, g), p = r.value === l.value, f = c.useRef(!1);
806
+ return c.useEffect(() => {
807
+ const d = (k) => {
808
+ oo.includes(k.key) && (f.current = !0);
809
+ }, D = () => f.current = !1;
810
+ return document.addEventListener("keydown", d), document.addEventListener("keyup", D), () => {
811
+ document.removeEventListener("keydown", d), document.removeEventListener("keyup", D);
812
+ };
813
+ }, []), /* @__PURE__ */ n.jsx(
814
+ Ka,
815
+ {
816
+ asChild: !0,
817
+ ...s,
818
+ focusable: !i,
819
+ active: p,
820
+ children: /* @__PURE__ */ n.jsx(
821
+ ke,
822
+ {
823
+ disabled: i,
824
+ required: r.required,
825
+ checked: p,
826
+ ...h,
827
+ ...l,
828
+ name: r.name,
829
+ ref: u,
830
+ onCheck: () => r.onValueChange(l.value),
831
+ onKeyDown: v((d) => {
832
+ d.key === "Enter" && d.preventDefault();
833
+ }),
834
+ onFocus: v(l.onFocus, () => {
835
+ f.current && g.current?.click();
836
+ })
837
+ }
838
+ )
839
+ }
840
+ );
841
+ }
842
+ );
843
+ Se.displayName = Ne;
844
+ var lo = "RadioGroupIndicator", Ve = c.forwardRef(
845
+ (o, e) => {
846
+ const { __scopeRadioGroup: t, ...a } = o, l = Me(t);
847
+ return /* @__PURE__ */ n.jsx(xe, { ...l, ...a, ref: e });
848
+ }
849
+ );
850
+ Ve.displayName = lo;
851
+ var He = Oe, Ie = Se, no = Ve;
852
+ const so = P(
853
+ "aspect-square h-4 w-4 bg-primary-white dark:bg-primary-gray-650 rounded-full text-primary-gray-700 dark:text-primary-white shadow-sm focus:outline-hidden focus-visible:ring-1 disabled:cursor-not-allowed disabled:opacity-50",
854
+ {
855
+ variants: {
856
+ color: {
857
+ blue: "border-primary-blue-600 hover:bg-primary-blue-100 dark:border-primary-blue-400 dark:hover:bg-primary-blue-200",
858
+ red: "border-accent-dark-red hover:bg-accent-light-red dark:border-accent-red dark:hover:bg-accent-light-red",
859
+ black: "border-primary-gray-700 hover:bg-primary-gray-400 dark:border-primary-gray-100 dark:hover:bg-primary-gray-550",
860
+ custom: "border-custom-color-600 hover:bg-custom-color-100 dark:border-custom-color-400 dark:hover:bg-custom-color-200"
861
+ },
862
+ variant: {
863
+ light: "border",
864
+ normal: "border-2"
865
+ }
866
+ },
867
+ defaultVariants: {
868
+ color: "red",
869
+ variant: "normal"
870
+ }
871
+ }
872
+ ), co = P("stroke-0", {
873
+ variants: {
874
+ color: {
875
+ blue: "fill-primary-blue-600 dark:fill-primary-blue-400",
876
+ red: "fill-accent-dark-red dark:fill-accent-red",
877
+ black: "fill-primary-gray-700 dark:fill-primary-gray-100",
878
+ custom: "fill-custom-color-600 dark:fill-custom-color-400"
879
+ },
880
+ variant: {
881
+ light: "h-1.5 w-1.5",
882
+ normal: "h-2.5 w-2.5"
883
+ }
884
+ },
885
+ defaultVariants: {
886
+ color: "red",
887
+ variant: "normal"
888
+ }
889
+ }), Ae = x.createContext({
890
+ color: null,
891
+ variant: null
892
+ }), ho = x.forwardRef(({ className: o, color: e, variant: t, ...a }, l) => {
893
+ const r = x.useMemo(
894
+ () => ({
895
+ color: e,
896
+ variant: t
897
+ }),
898
+ [e, t]
899
+ );
900
+ return /* @__PURE__ */ n.jsx(Ae.Provider, { value: r, children: /* @__PURE__ */ n.jsx(
901
+ He,
902
+ {
903
+ ...a,
904
+ className: L("flex gap-x-4 gap-y-2 flex-row flex-wrap rtl:[direction:rtl]", o),
905
+ ref: l
906
+ }
907
+ ) });
908
+ });
909
+ ho.displayName = He.displayName;
910
+ const go = x.forwardRef(({ className: o, radioClassName: e, labelClassName: t, label: a, ...l }, r) => {
911
+ const i = l.id || Z(), { color: s, variant: h } = x.useContext(Ae);
912
+ return /* @__PURE__ */ n.jsxs("div", { className: L("flex flex-row gap-2 items-center", o), children: [
913
+ /* @__PURE__ */ n.jsx(
914
+ Ie,
915
+ {
916
+ ...l,
917
+ ref: r,
918
+ className: L(so({ color: s, variant: h }), e),
919
+ id: i,
920
+ children: /* @__PURE__ */ n.jsx(no, { className: "flex items-center justify-center", children: /* @__PURE__ */ n.jsx(Za, { className: co({ color: s, variant: h }) }) })
921
+ }
922
+ ),
923
+ /* @__PURE__ */ n.jsx(z, { className: L("mt-0.5 text-base!", t), htmlFor: i, children: a })
924
+ ] });
925
+ });
926
+ go.displayName = Ie.displayName;
927
+ function b(o, e, t) {
928
+ return e.findIndex((a) => a.chartConfigId === o) === -1 ? void 0 : typeof e[e.findIndex((a) => a.chartConfigId === o)].columnId == "object" ? e[e.findIndex((a) => a.chartConfigId === o)].columnId.map(
929
+ (a) => t.findIndex((l) => l.value === a) === -1 ? a : t[t.findIndex((l) => l.value === a)].label
930
+ ) : t.findIndex(
931
+ (a) => a.value === e[e.findIndex((l) => l.chartConfigId === o)].columnId
932
+ ) === -1 ? e[e.findIndex((a) => a.chartConfigId === o)].columnId : t[t.findIndex(
933
+ (a) => a.value === e[e.findIndex((l) => l.chartConfigId === o)].columnId
934
+ )].label;
935
+ }
936
+ function tt(o) {
937
+ const {
938
+ settings: e,
939
+ graph: t,
940
+ graphData: a,
941
+ debugMode: l,
942
+ graphDataConfiguration: r,
943
+ readableHeader: i,
944
+ updateFilters: s
945
+ } = o;
946
+ if (l && (console.log(`Graph: ${t}`), console.log("Transformed data:", a), console.log("Settings:", e)), typeof a == "string")
947
+ return /* @__PURE__ */ I.jsx(
948
+ "div",
949
+ {
950
+ className: `flex my-0 mx-auto grow flex-col justify-center ${e?.width ? "w-fit" : "w-full"}`,
951
+ style: { height: "inherit" },
952
+ children: /* @__PURE__ */ I.jsx(
953
+ U,
954
+ {
955
+ size: "sm",
956
+ marginBottom: "none",
957
+ className: "p-2 text-center text-accent-dark-red dark:text-accent-red",
958
+ children: a
959
+ }
960
+ )
961
+ }
962
+ );
963
+ const h = {
964
+ barChart: Ca,
965
+ bulletChart: Ta,
966
+ groupedBarChart: Da,
967
+ stackedBarChart: ba,
968
+ lineChart: Ue,
969
+ dualAxisLineChart: Ke,
970
+ multiLineChart: Ze,
971
+ multiLineAltChart: Qe,
972
+ stackedAreaChart: sa,
973
+ choroplethMap: aa,
974
+ biVariateChoroplethMap: ea,
975
+ dotDensityMap: oa,
976
+ donutChart: Xe,
977
+ slopeChart: na,
978
+ scatterPlot: la,
979
+ dumbbellChart: wa,
980
+ treeMap: da,
981
+ circlePacking: ze,
982
+ heatMap: Ye,
983
+ stripChart: ka,
984
+ beeSwarmChart: ya,
985
+ butterflyChart: _e,
986
+ histogram: qe,
987
+ sparkLine: Je,
988
+ paretoChart: ia,
989
+ dataTable: Ge,
990
+ statCard: ca,
991
+ geoHubCompareMap: ta,
992
+ geoHubMap: ra,
993
+ unitChart: ha,
994
+ differenceLineChart: ga,
995
+ geoHubMapWithLayerSelection: ua,
996
+ sankeyChart: pa,
997
+ lineChartWithConfidenceInterval: ma,
998
+ dataCards: fa,
999
+ radarChart: xa,
1000
+ threeDGlobe: La
1001
+ }, g = (f) => {
1002
+ switch (f) {
1003
+ case "barChart":
1004
+ return {
1005
+ timeline: e?.timeline,
1006
+ customLayers: e?.customLayers,
1007
+ precision: e?.precision,
1008
+ theme: e?.theme,
1009
+ dimmedOpacity: e?.dimmedOpacity,
1010
+ orientation: e?.orientation,
1011
+ data: a,
1012
+ colors: e?.colors,
1013
+ graphTitle: e?.graphTitle,
1014
+ graphDescription: e?.graphDescription,
1015
+ footNote: e?.footNote,
1016
+ height: e?.height,
1017
+ width: e?.width,
1018
+ suffix: e?.suffix,
1019
+ prefix: e?.prefix,
1020
+ sources: e?.sources,
1021
+ barPadding: e?.barPadding,
1022
+ showValues: e?.showValues,
1023
+ showTicks: e?.showTicks,
1024
+ leftMargin: e?.leftMargin,
1025
+ rightMargin: e?.rightMargin,
1026
+ truncateBy: e?.truncateBy,
1027
+ colorDomain: e?.colorDomain,
1028
+ colorLegendTitle: Object.keys(e || {}).indexOf("colorLegendTitle") !== -1 ? e?.colorLegendTitle : b("color", r || [], i || []),
1029
+ backgroundColor: e?.backgroundColor,
1030
+ padding: e?.padding,
1031
+ topMargin: e?.topMargin,
1032
+ bottomMargin: e?.bottomMargin,
1033
+ relativeHeight: e?.relativeHeight,
1034
+ showLabels: e?.showLabels,
1035
+ showColorScale: e?.showColorScale,
1036
+ maxValue: e?.maxValue,
1037
+ minValue: e?.minValue,
1038
+ labelOrder: e?.labelOrder,
1039
+ tooltip: e?.tooltip,
1040
+ refValues: e?.refValues,
1041
+ graphID: e?.graphID,
1042
+ highlightedDataPoints: e?.highlightedDataPoints,
1043
+ graphDownload: e?.graphDownload,
1044
+ dataDownload: e?.dataDownload,
1045
+ sortData: e?.sortData,
1046
+ language: e?.language,
1047
+ minHeight: e?.minHeight,
1048
+ showNAColor: e?.showNAColor,
1049
+ maxBarThickness: e?.maxBarThickness,
1050
+ minBarThickness: e?.minBarThickness,
1051
+ maxNumberOfBars: e?.maxNumberOfBars,
1052
+ ariaLabel: e?.ariaLabel,
1053
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
1054
+ onSeriesMouseClick: (d) => {
1055
+ s?.(d.label);
1056
+ },
1057
+ resetSelectionOnDoubleClick: e?.resetSelectionOnDoubleClick,
1058
+ detailsOnClick: e?.detailsOnClick,
1059
+ barAxisTitle: e?.barAxisTitle,
1060
+ noOfTicks: e?.noOfTicks,
1061
+ valueColor: e?.valueColor,
1062
+ styles: e?.styles,
1063
+ classNames: e?.classNames,
1064
+ filterNA: e?.filterNA,
1065
+ animate: e?.animate,
1066
+ naLabel: e?.naLabel
1067
+ };
1068
+ case "groupedBarChart":
1069
+ return {
1070
+ timeline: e?.timeline,
1071
+ customLayers: e?.customLayers,
1072
+ precision: e?.precision,
1073
+ theme: e?.theme,
1074
+ orientation: e?.orientation,
1075
+ data: a,
1076
+ colors: e?.colors,
1077
+ graphTitle: e?.graphTitle,
1078
+ graphDescription: e?.graphDescription,
1079
+ footNote: e?.footNote,
1080
+ width: e?.width,
1081
+ height: e?.height,
1082
+ showColorScale: e?.showColorScale,
1083
+ sources: e?.sources,
1084
+ barPadding: e?.barPadding,
1085
+ showTicks: e?.showTicks,
1086
+ truncateBy: e?.truncateBy,
1087
+ colorDomain: e?.colorDomain || b("size", r || [], i || []),
1088
+ colorLegendTitle: e?.colorLegendTitle,
1089
+ suffix: e?.suffix,
1090
+ prefix: e?.prefix,
1091
+ showValues: e?.showValues,
1092
+ backgroundColor: e?.backgroundColor,
1093
+ padding: e?.padding,
1094
+ leftMargin: e?.leftMargin,
1095
+ rightMargin: e?.rightMargin,
1096
+ topMargin: e?.topMargin,
1097
+ showLabels: e?.showLabels,
1098
+ bottomMargin: e?.bottomMargin,
1099
+ relativeHeight: e?.relativeHeight,
1100
+ tooltip: e?.tooltip,
1101
+ refValues: e?.refValues,
1102
+ graphID: e?.graphID,
1103
+ labelOrder: e?.labelOrder,
1104
+ maxValue: e?.maxValue,
1105
+ minValue: e?.minValue,
1106
+ graphDownload: e?.graphDownload,
1107
+ dataDownload: e?.dataDownload,
1108
+ language: e?.language,
1109
+ minHeight: e?.minHeight,
1110
+ maxBarThickness: e?.maxBarThickness,
1111
+ ariaLabel: e?.ariaLabel,
1112
+ resetSelectionOnDoubleClick: e?.resetSelectionOnDoubleClick,
1113
+ detailsOnClick: e?.detailsOnClick,
1114
+ barAxisTitle: e?.barAxisTitle,
1115
+ noOfTicks: e?.noOfTicks,
1116
+ valueColor: e?.valueColor,
1117
+ styles: e?.styles,
1118
+ classNames: e?.classNames,
1119
+ animate: e?.animate,
1120
+ naLabel: e?.naLabel
1121
+ };
1122
+ case "stackedBarChart":
1123
+ return {
1124
+ timeline: e?.timeline,
1125
+ customLayers: e?.customLayers,
1126
+ precision: e?.precision,
1127
+ theme: e?.theme,
1128
+ orientation: e?.orientation,
1129
+ resetSelectionOnDoubleClick: e?.resetSelectionOnDoubleClick,
1130
+ data: a,
1131
+ colors: e?.colors,
1132
+ graphTitle: e?.graphTitle,
1133
+ graphDescription: e?.graphDescription,
1134
+ footNote: e?.footNote,
1135
+ showColorScale: e?.showColorScale,
1136
+ width: e?.width,
1137
+ height: e?.height,
1138
+ sources: e?.sources,
1139
+ barPadding: e?.barPadding,
1140
+ showTicks: e?.showTicks,
1141
+ leftMargin: e?.leftMargin,
1142
+ rightMargin: e?.rightMargin,
1143
+ truncateBy: e?.truncateBy,
1144
+ colorDomain: e?.colorDomain || b("size", r || [], i || []),
1145
+ colorLegendTitle: e?.colorLegendTitle,
1146
+ backgroundColor: e?.backgroundColor,
1147
+ padding: e?.padding,
1148
+ topMargin: e?.topMargin,
1149
+ bottomMargin: e?.bottomMargin,
1150
+ suffix: e?.suffix,
1151
+ prefix: e?.prefix,
1152
+ labelOrder: e?.labelOrder,
1153
+ showValues: e?.showValues,
1154
+ showLabels: e?.showLabels,
1155
+ relativeHeight: e?.relativeHeight,
1156
+ tooltip: e?.tooltip,
1157
+ refValues: e?.refValues,
1158
+ graphID: e?.graphID,
1159
+ maxValue: e?.maxValue,
1160
+ graphDownload: e?.graphDownload,
1161
+ dataDownload: e?.dataDownload,
1162
+ language: e?.language,
1163
+ minHeight: e?.minHeight,
1164
+ maxBarThickness: e?.maxBarThickness,
1165
+ minBarThickness: e?.minBarThickness,
1166
+ maxNumberOfBars: e?.maxNumberOfBars,
1167
+ sortParameter: e?.sortParameter,
1168
+ ariaLabel: e?.ariaLabel,
1169
+ detailsOnClick: e?.detailsOnClick,
1170
+ barAxisTitle: e?.barAxisTitle,
1171
+ noOfTicks: e?.noOfTicks,
1172
+ valueColor: e?.valueColor,
1173
+ styles: e?.styles,
1174
+ classNames: e?.classNames,
1175
+ animate: e?.animate,
1176
+ naLabel: e?.naLabel
1177
+ };
1178
+ case "bulletChart":
1179
+ return {
1180
+ customLayers: e?.customLayers,
1181
+ precision: e?.precision,
1182
+ theme: e?.theme,
1183
+ dimmedOpacity: e?.dimmedOpacity,
1184
+ orientation: e?.orientation,
1185
+ data: a,
1186
+ barColor: e?.colors,
1187
+ graphTitle: e?.graphTitle,
1188
+ graphDescription: e?.graphDescription,
1189
+ footNote: e?.footNote,
1190
+ height: e?.height,
1191
+ width: e?.width,
1192
+ suffix: e?.suffix,
1193
+ prefix: e?.prefix,
1194
+ sources: e?.sources,
1195
+ barPadding: e?.barPadding,
1196
+ showValues: e?.showValues,
1197
+ showTicks: e?.showTicks,
1198
+ leftMargin: e?.leftMargin,
1199
+ rightMargin: e?.rightMargin,
1200
+ truncateBy: e?.truncateBy,
1201
+ colorDomain: e?.colorDomain,
1202
+ colorLegendTitle: Object.keys(e || {}).indexOf("colorLegendTitle") !== -1 ? e?.colorLegendTitle : b("color", r || [], i || []),
1203
+ backgroundColor: e?.backgroundColor,
1204
+ padding: e?.padding,
1205
+ topMargin: e?.topMargin,
1206
+ bottomMargin: e?.bottomMargin,
1207
+ relativeHeight: e?.relativeHeight,
1208
+ showLabels: e?.showLabels,
1209
+ showColorScale: e?.showColorScale,
1210
+ maxValue: e?.maxValue,
1211
+ minValue: e?.minValue,
1212
+ labelOrder: e?.labelOrder,
1213
+ tooltip: e?.tooltip,
1214
+ refValues: e?.refValues,
1215
+ graphID: e?.graphID,
1216
+ highlightedDataPoints: e?.highlightedDataPoints,
1217
+ graphDownload: e?.graphDownload,
1218
+ dataDownload: e?.dataDownload,
1219
+ sortData: e?.sortData,
1220
+ language: e?.language,
1221
+ minHeight: e?.minHeight,
1222
+ showNAColor: e?.showNAColor,
1223
+ maxBarThickness: e?.maxBarThickness,
1224
+ minBarThickness: e?.minBarThickness,
1225
+ maxNumberOfBars: e?.maxNumberOfBars,
1226
+ ariaLabel: e?.ariaLabel,
1227
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
1228
+ onSeriesMouseClick: (d) => {
1229
+ s?.(d.label);
1230
+ },
1231
+ resetSelectionOnDoubleClick: e?.resetSelectionOnDoubleClick,
1232
+ detailsOnClick: e?.detailsOnClick,
1233
+ barAxisTitle: e?.barAxisTitle,
1234
+ noOfTicks: e?.noOfTicks,
1235
+ valueColor: e?.valueColor,
1236
+ styles: e?.styles,
1237
+ classNames: e?.classNames,
1238
+ filterNA: e?.filterNA,
1239
+ qualitativeRangeColors: e?.qualitativeRangeColors,
1240
+ targetStyle: e?.targetStyle,
1241
+ targetColor: e?.targetColor,
1242
+ measureBarWidthFactor: e?.measureBarWidthFactor,
1243
+ animate: e?.animate,
1244
+ naLabel: e?.naLabel
1245
+ };
1246
+ case "lineChart":
1247
+ return {
1248
+ customLayers: e?.customLayers,
1249
+ precision: e?.precision,
1250
+ theme: e?.theme,
1251
+ curveType: e?.curveType,
1252
+ data: a,
1253
+ graphID: e?.graphID,
1254
+ lineColor: e?.lineColor,
1255
+ graphTitle: e?.graphTitle,
1256
+ graphDescription: e?.graphDescription,
1257
+ footNote: e?.footNote,
1258
+ width: e?.width,
1259
+ height: e?.height,
1260
+ suffix: e?.suffix,
1261
+ prefix: e?.prefix,
1262
+ sources: e?.sources,
1263
+ noOfXTicks: e?.noOfXTicks,
1264
+ dateFormat: e?.dateFormat,
1265
+ showValues: e?.showValues,
1266
+ backgroundColor: e?.backgroundColor,
1267
+ padding: e?.padding,
1268
+ leftMargin: e?.leftMargin,
1269
+ rightMargin: e?.rightMargin,
1270
+ topMargin: e?.topMargin,
1271
+ bottomMargin: e?.bottomMargin,
1272
+ relativeHeight: e?.relativeHeight,
1273
+ tooltip: e?.tooltip,
1274
+ refValues: e?.refValues,
1275
+ highlightAreaSettings: e?.highlightAreaSettings,
1276
+ maxValue: e?.maxValue,
1277
+ minValue: e?.minValue,
1278
+ graphDownload: e?.graphDownload,
1279
+ dataDownload: e?.dataDownload,
1280
+ language: e?.language,
1281
+ minHeight: e?.minHeight,
1282
+ animate: e?.animate,
1283
+ strokeWidth: e?.strokeWidth,
1284
+ showDots: e?.showDots,
1285
+ customHighlightAreaSettings: e?.customHighlightAreaSettings,
1286
+ annotations: e?.annotations,
1287
+ regressionLine: e?.regressionLine,
1288
+ ariaLabel: e?.ariaLabel,
1289
+ yAxisTitle: e?.yAxisTitle,
1290
+ noOfYTicks: e?.noOfYTicks,
1291
+ minDate: e?.minDate,
1292
+ maxDate: e?.maxDate,
1293
+ styles: e?.styles,
1294
+ classNames: e?.classNames
1295
+ };
1296
+ case "lineChartWithConfidenceInterval":
1297
+ return {
1298
+ customLayers: e?.customLayers,
1299
+ precision: e?.precision,
1300
+ theme: e?.theme,
1301
+ data: a,
1302
+ curveType: e?.curveType,
1303
+ graphID: e?.graphID,
1304
+ lineColor: e?.lineColor,
1305
+ graphTitle: e?.graphTitle,
1306
+ graphDescription: e?.graphDescription,
1307
+ footNote: e?.footNote,
1308
+ width: e?.width,
1309
+ height: e?.height,
1310
+ suffix: e?.suffix,
1311
+ prefix: e?.prefix,
1312
+ sources: e?.sources,
1313
+ noOfXTicks: e?.noOfXTicks,
1314
+ dateFormat: e?.dateFormat,
1315
+ showValues: e?.showValues,
1316
+ backgroundColor: e?.backgroundColor,
1317
+ padding: e?.padding,
1318
+ leftMargin: e?.leftMargin,
1319
+ rightMargin: e?.rightMargin,
1320
+ topMargin: e?.topMargin,
1321
+ bottomMargin: e?.bottomMargin,
1322
+ relativeHeight: e?.relativeHeight,
1323
+ tooltip: e?.tooltip,
1324
+ refValues: e?.refValues,
1325
+ highlightAreaSettings: e?.highlightAreaSettings,
1326
+ maxValue: e?.maxValue,
1327
+ minValue: e?.minValue,
1328
+ graphDownload: e?.graphDownload,
1329
+ dataDownload: e?.dataDownload,
1330
+ language: e?.language,
1331
+ minHeight: e?.minHeight,
1332
+ animate: e?.animate,
1333
+ strokeWidth: e?.strokeWidth,
1334
+ showDots: e?.showDots,
1335
+ customHighlightAreaSettings: e?.customHighlightAreaSettings,
1336
+ annotations: e?.annotations,
1337
+ regressionLine: e?.regressionLine,
1338
+ ariaLabel: e?.ariaLabel,
1339
+ showIntervalDots: e?.showIntervalDots,
1340
+ showIntervalValues: e?.showIntervalValues,
1341
+ intervalLineStrokeWidth: e?.intervalLineStrokeWidth,
1342
+ intervalLineColors: e?.intervalLineColors,
1343
+ intervalAreaColor: e?.intervalAreaColor,
1344
+ intervalAreaOpacity: e?.intervalAreaOpacity,
1345
+ yAxisTitle: e?.yAxisTitle,
1346
+ noOfYTicks: e?.noOfYTicks,
1347
+ minDate: e?.minDate,
1348
+ maxDate: e?.maxDate,
1349
+ colorLegendTitle: e?.colorLegendTitle,
1350
+ colorLegendColors: e?.colorLegendColors,
1351
+ colorLegendDomain: e?.colorLegendDomain,
1352
+ styles: e?.styles,
1353
+ classNames: e?.classNames
1354
+ };
1355
+ case "dualAxisLineChart":
1356
+ return {
1357
+ customLayers: e?.customLayers,
1358
+ precision: e?.precision,
1359
+ theme: e?.theme,
1360
+ data: a,
1361
+ curveType: e?.curveType,
1362
+ graphTitle: e?.graphTitle,
1363
+ graphDescription: e?.graphDescription,
1364
+ labels: e?.labels || [
1365
+ b("y1", r || [], i || []),
1366
+ b("y2", r || [], i || [])
1367
+ ],
1368
+ footNote: e?.footNote,
1369
+ width: e?.width,
1370
+ height: e?.height,
1371
+ suffix: e?.suffix,
1372
+ prefix: e?.prefix,
1373
+ sources: e?.sources,
1374
+ noOfXTicks: e?.noOfXTicks,
1375
+ dateFormat: e?.dateFormat,
1376
+ showValues: e?.showValues,
1377
+ backgroundColor: e?.backgroundColor,
1378
+ padding: e?.padding,
1379
+ leftMargin: e?.leftMargin,
1380
+ rightMargin: e?.rightMargin,
1381
+ topMargin: e?.topMargin,
1382
+ bottomMargin: e?.bottomMargin,
1383
+ lineColors: e?.lineColors,
1384
+ sameAxes: e?.sameAxes,
1385
+ relativeHeight: e?.relativeHeight,
1386
+ tooltip: e?.tooltip,
1387
+ highlightAreaSettings: e?.highlightAreaSettings,
1388
+ graphID: e?.graphID,
1389
+ graphDownload: e?.graphDownload,
1390
+ dataDownload: e?.dataDownload,
1391
+ language: e?.language,
1392
+ minHeight: e?.minHeight,
1393
+ animate: e?.animate,
1394
+ strokeWidth: e?.strokeWidth,
1395
+ showDots: e?.showDots,
1396
+ colorLegendTitle: e?.colorLegendTitle,
1397
+ ariaLabel: e?.ariaLabel,
1398
+ noOfYTicks: e?.noOfYTicks,
1399
+ minDate: e?.minDate,
1400
+ maxDate: e?.maxDate,
1401
+ lineSuffixes: e?.lineSuffixes,
1402
+ linePrefixes: e?.linePrefixes,
1403
+ styles: e?.styles,
1404
+ classNames: e?.classNames
1405
+ };
1406
+ case "multiLineChart":
1407
+ return {
1408
+ customLayers: e?.customLayers,
1409
+ precision: e?.precision,
1410
+ theme: e?.theme,
1411
+ dimmedOpacity: e?.dimmedOpacity,
1412
+ data: a,
1413
+ curveType: e?.curveType,
1414
+ lineColors: e?.lineColors,
1415
+ graphTitle: e?.graphTitle,
1416
+ graphDescription: e?.graphDescription,
1417
+ footNote: e?.footNote,
1418
+ width: e?.width,
1419
+ height: e?.height,
1420
+ sources: e?.sources,
1421
+ noOfXTicks: e?.noOfXTicks,
1422
+ dateFormat: e?.dateFormat,
1423
+ suffix: e?.suffix,
1424
+ prefix: e?.prefix,
1425
+ showColorScale: e?.showColorScale,
1426
+ labels: e?.labels || b("y", r || [], i || []),
1427
+ backgroundColor: e?.backgroundColor,
1428
+ padding: e?.padding,
1429
+ leftMargin: e?.leftMargin,
1430
+ rightMargin: e?.rightMargin,
1431
+ topMargin: e?.topMargin,
1432
+ bottomMargin: e?.bottomMargin,
1433
+ showValues: e?.showValues,
1434
+ relativeHeight: e?.relativeHeight,
1435
+ showColorLegendAtTop: e?.showColorLegendAtTop,
1436
+ tooltip: e?.tooltip,
1437
+ refValues: e?.refValues,
1438
+ highlightAreaSettings: e?.highlightAreaSettings,
1439
+ graphID: e?.graphID,
1440
+ maxValue: e?.maxValue,
1441
+ minValue: e?.minValue,
1442
+ highlightedLines: e?.highlightedLines,
1443
+ graphDownload: e?.graphDownload,
1444
+ dataDownload: e?.dataDownload,
1445
+ language: e?.language,
1446
+ minHeight: e?.minHeight,
1447
+ animate: e?.animate,
1448
+ strokeWidth: e?.strokeWidth,
1449
+ showDots: e?.showDots,
1450
+ colorLegendTitle: e?.colorLegendTitle,
1451
+ customHighlightAreaSettings: e?.customHighlightAreaSettings,
1452
+ annotations: e?.annotations,
1453
+ ariaLabel: e?.ariaLabel,
1454
+ yAxisTitle: e?.yAxisTitle,
1455
+ noOfYTicks: e?.noOfYTicks,
1456
+ minDate: e?.minDate,
1457
+ maxDate: e?.maxDate,
1458
+ styles: e?.styles,
1459
+ classNames: e?.classNames,
1460
+ dashedLines: e?.dashedLines,
1461
+ dashSettings: e?.dashSettings,
1462
+ labelsToBeHidden: e?.labelsToBeHidden
1463
+ };
1464
+ case "multiLineAltChart":
1465
+ return {
1466
+ naLabel: e?.naLabel,
1467
+ customLayers: e?.customLayers,
1468
+ precision: e?.precision,
1469
+ theme: e?.theme,
1470
+ data: a,
1471
+ dimmedOpacity: e?.dimmedOpacity,
1472
+ curveType: e?.curveType,
1473
+ colors: e?.colors,
1474
+ graphTitle: e?.graphTitle,
1475
+ graphDescription: e?.graphDescription,
1476
+ footNote: e?.footNote,
1477
+ width: e?.width,
1478
+ height: e?.height,
1479
+ sources: e?.sources,
1480
+ noOfXTicks: e?.noOfXTicks,
1481
+ dateFormat: e?.dateFormat,
1482
+ suffix: e?.suffix,
1483
+ prefix: e?.prefix,
1484
+ backgroundColor: e?.backgroundColor,
1485
+ padding: e?.padding,
1486
+ leftMargin: e?.leftMargin,
1487
+ rightMargin: e?.rightMargin,
1488
+ topMargin: e?.topMargin,
1489
+ bottomMargin: e?.bottomMargin,
1490
+ relativeHeight: e?.relativeHeight,
1491
+ tooltip: e?.tooltip,
1492
+ refValues: e?.refValues,
1493
+ showLabels: e?.showLabels,
1494
+ highlightAreaSettings: e?.highlightAreaSettings,
1495
+ graphID: e?.graphID,
1496
+ maxValue: e?.maxValue,
1497
+ minValue: e?.minValue,
1498
+ highlightedLines: e?.highlightedLines,
1499
+ graphDownload: e?.graphDownload,
1500
+ dataDownload: e?.dataDownload,
1501
+ language: e?.language,
1502
+ minHeight: e?.minHeight,
1503
+ animate: e?.animate,
1504
+ strokeWidth: e?.strokeWidth,
1505
+ showDots: e?.showDots,
1506
+ colorLegendTitle: e?.colorLegendTitle,
1507
+ customHighlightAreaSettings: e?.customHighlightAreaSettings,
1508
+ annotations: e?.annotations,
1509
+ ariaLabel: e?.ariaLabel,
1510
+ yAxisTitle: e?.yAxisTitle,
1511
+ noOfYTicks: e?.noOfYTicks,
1512
+ minDate: e?.minDate,
1513
+ maxDate: e?.maxDate,
1514
+ styles: e?.styles,
1515
+ classNames: e?.classNames,
1516
+ colorDomain: e?.colorDomain,
1517
+ showNAColor: e?.showNAColor
1518
+ };
1519
+ case "differenceLineChart":
1520
+ return {
1521
+ customLayers: e?.customLayers,
1522
+ precision: e?.precision,
1523
+ theme: e?.theme,
1524
+ data: a,
1525
+ curveType: e?.curveType,
1526
+ lineColors: e?.lineColors,
1527
+ diffAreaColors: e?.diffAreaColors,
1528
+ graphTitle: e?.graphTitle,
1529
+ graphDescription: e?.graphDescription,
1530
+ footNote: e?.footNote,
1531
+ width: e?.width,
1532
+ height: e?.height,
1533
+ sources: e?.sources,
1534
+ noOfXTicks: e?.noOfXTicks,
1535
+ dateFormat: e?.dateFormat,
1536
+ suffix: e?.suffix,
1537
+ prefix: e?.prefix,
1538
+ labels: e?.labels || [
1539
+ b("y1", r || [], i || []),
1540
+ b("y2", r || [], i || [])
1541
+ ],
1542
+ backgroundColor: e?.backgroundColor,
1543
+ padding: e?.padding,
1544
+ leftMargin: e?.leftMargin,
1545
+ rightMargin: e?.rightMargin,
1546
+ topMargin: e?.topMargin,
1547
+ bottomMargin: e?.bottomMargin,
1548
+ showValues: e?.showValues,
1549
+ relativeHeight: e?.relativeHeight,
1550
+ showColorLegendAtTop: e?.showColorLegendAtTop,
1551
+ tooltip: e?.tooltip,
1552
+ refValues: e?.refValues,
1553
+ highlightAreaSettings: e?.highlightAreaSettings,
1554
+ graphID: e?.graphID,
1555
+ maxValue: e?.maxValue,
1556
+ minValue: e?.minValue,
1557
+ graphDownload: e?.graphDownload,
1558
+ dataDownload: e?.dataDownload,
1559
+ language: e?.language,
1560
+ minHeight: e?.minHeight,
1561
+ animate: e?.animate,
1562
+ strokeWidth: e?.strokeWidth,
1563
+ showDots: e?.showDots,
1564
+ colorLegendTitle: e?.colorLegendTitle,
1565
+ customHighlightAreaSettings: e?.customHighlightAreaSettings,
1566
+ annotations: e?.annotations,
1567
+ ariaLabel: e?.ariaLabel,
1568
+ yAxisTitle: e?.yAxisTitle,
1569
+ noOfYTicks: e?.noOfYTicks,
1570
+ minDate: e?.minDate,
1571
+ maxDate: e?.maxDate,
1572
+ styles: e?.styles,
1573
+ classNames: e?.classNames
1574
+ };
1575
+ case "stackedAreaChart":
1576
+ return {
1577
+ customLayers: e?.customLayers,
1578
+ precision: e?.precision,
1579
+ theme: e?.theme,
1580
+ data: a,
1581
+ curveType: e?.curveType,
1582
+ colors: e?.colors,
1583
+ graphTitle: e?.graphTitle,
1584
+ graphDescription: e?.graphDescription,
1585
+ footNote: e?.footNote,
1586
+ width: e?.width,
1587
+ height: e?.height,
1588
+ sources: e?.sources,
1589
+ noOfXTicks: e?.noOfXTicks,
1590
+ dateFormat: e?.dateFormat,
1591
+ colorDomain: e?.colorDomain || b("y", r || [], i || []),
1592
+ backgroundColor: e?.backgroundColor,
1593
+ padding: e?.padding,
1594
+ colorLegendTitle: e?.colorLegendTitle,
1595
+ leftMargin: e?.leftMargin,
1596
+ rightMargin: e?.rightMargin,
1597
+ topMargin: e?.topMargin,
1598
+ relativeHeight: e?.relativeHeight,
1599
+ bottomMargin: e?.bottomMargin,
1600
+ tooltip: e?.tooltip,
1601
+ refValues: e?.refValues,
1602
+ highlightAreaSettings: e?.highlightAreaSettings,
1603
+ graphID: e?.graphID,
1604
+ maxValue: e?.maxValue,
1605
+ minValue: e?.minValue,
1606
+ graphDownload: e?.graphDownload,
1607
+ dataDownload: e?.dataDownload,
1608
+ showColorScale: e?.showColorScale,
1609
+ language: e?.language,
1610
+ minHeight: e?.minHeight,
1611
+ customHighlightAreaSettings: e?.customHighlightAreaSettings,
1612
+ annotations: e?.annotations,
1613
+ ariaLabel: e?.ariaLabel,
1614
+ yAxisTitle: e?.yAxisTitle,
1615
+ noOfYTicks: e?.noOfYTicks,
1616
+ suffix: e?.suffix,
1617
+ prefix: e?.prefix,
1618
+ styles: e?.styles,
1619
+ classNames: e?.classNames
1620
+ };
1621
+ case "choroplethMap":
1622
+ return {
1623
+ timeline: e?.timeline,
1624
+ customLayers: e?.customLayers,
1625
+ theme: e?.theme,
1626
+ dimmedOpacity: e?.dimmedOpacity,
1627
+ resetSelectionOnDoubleClick: e?.resetSelectionOnDoubleClick,
1628
+ graphTitle: e?.graphTitle,
1629
+ mapData: e?.mapData,
1630
+ mapProjection: e?.mapProjection,
1631
+ graphDescription: e?.graphDescription,
1632
+ footNote: e?.footNote,
1633
+ width: e?.width,
1634
+ height: e?.height,
1635
+ sources: e?.sources,
1636
+ colorDomain: e?.colorDomain,
1637
+ colors: e?.colors,
1638
+ colorLegendTitle: Object.keys(e || {}).indexOf("colorLegendTitle") !== -1 ? e?.colorLegendTitle : b("x", r || [], i || []),
1639
+ scaleType: e?.scaleType,
1640
+ categorical: e?.categorical,
1641
+ data: a,
1642
+ scale: e?.scale,
1643
+ centerPoint: e?.centerPoint,
1644
+ backgroundColor: e?.backgroundColor,
1645
+ mapBorderWidth: e?.mapBorderWidth,
1646
+ mapNoDataColor: e?.mapNoDataColor,
1647
+ mapBorderColor: e?.mapBorderColor,
1648
+ relativeHeight: e?.relativeHeight,
1649
+ padding: e?.padding,
1650
+ isWorldMap: e?.isWorldMap,
1651
+ tooltip: e?.tooltip,
1652
+ showColorScale: e?.showColorScale,
1653
+ zoomScaleExtend: e?.zoomScaleExtend,
1654
+ zoomTranslateExtend: e?.zoomTranslateExtend,
1655
+ graphID: e?.graphID,
1656
+ highlightedIds: e?.highlightedIds,
1657
+ graphDownload: e?.graphDownload,
1658
+ dataDownload: e?.dataDownload,
1659
+ mapProperty: e?.mapProperty,
1660
+ showAntarctica: e?.showAntarctica,
1661
+ language: e?.language,
1662
+ minHeight: e?.minHeight,
1663
+ ariaLabel: e?.ariaLabel,
1664
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
1665
+ onSeriesMouseClick: (d) => {
1666
+ s?.(d.id);
1667
+ },
1668
+ detailsOnClick: e?.detailsOnClick,
1669
+ styles: e?.styles,
1670
+ classNames: e?.classNames,
1671
+ zoomInteraction: e?.zoomInteraction,
1672
+ animate: e?.animate
1673
+ };
1674
+ case "biVariateChoroplethMap":
1675
+ return {
1676
+ timeline: e?.timeline,
1677
+ customLayers: e?.customLayers,
1678
+ theme: e?.theme,
1679
+ dimmedOpacity: e?.dimmedOpacity,
1680
+ resetSelectionOnDoubleClick: e?.resetSelectionOnDoubleClick,
1681
+ data: a,
1682
+ mapData: e?.mapData,
1683
+ mapProjection: e?.mapProjection,
1684
+ graphTitle: e?.graphTitle,
1685
+ graphDescription: e?.graphDescription,
1686
+ footNote: e?.footNote,
1687
+ width: e?.width,
1688
+ height: e?.height,
1689
+ sources: e?.sources,
1690
+ xColorLegendTitle: Object.keys(e || {}).indexOf("xColorLegendTitle") !== -1 ? e?.xColorLegendTitle : b("x", r || [], i || []),
1691
+ yColorLegendTitle: Object.keys(e || {}).indexOf("yColorLegendTitle") !== -1 ? e?.yColorLegendTitle : b("y", r || [], i || []),
1692
+ xDomain: e?.xDomain,
1693
+ yDomain: e?.yDomain,
1694
+ colors: e?.colors,
1695
+ scale: e?.scale,
1696
+ centerPoint: e?.centerPoint,
1697
+ backgroundColor: e?.backgroundColor,
1698
+ mapBorderWidth: e?.mapBorderWidth,
1699
+ mapNoDataColor: e?.mapNoDataColor,
1700
+ padding: e?.padding,
1701
+ mapBorderColor: e?.mapBorderColor,
1702
+ relativeHeight: e?.relativeHeight,
1703
+ tooltip: e?.tooltip,
1704
+ isWorldMap: e?.isWorldMap,
1705
+ zoomScaleExtend: e?.zoomScaleExtend,
1706
+ zoomTranslateExtend: e?.zoomTranslateExtend,
1707
+ graphID: e?.graphID,
1708
+ highlightedIds: e?.highlightedIds,
1709
+ mapProperty: e?.mapProperty,
1710
+ graphDownload: e?.graphDownload,
1711
+ dataDownload: e?.dataDownload,
1712
+ showAntarctica: e?.showAntarctica,
1713
+ language: e?.language,
1714
+ minHeight: e?.minHeight,
1715
+ ariaLabel: e?.ariaLabel,
1716
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
1717
+ onSeriesMouseClick: (d) => {
1718
+ s?.(d.id);
1719
+ },
1720
+ detailsOnClick: e?.detailsOnClick,
1721
+ styles: e?.styles,
1722
+ classNames: e?.classNames,
1723
+ zoomInteraction: e?.zoomInteraction,
1724
+ animate: e?.animate
1725
+ };
1726
+ case "dotDensityMap":
1727
+ return {
1728
+ timeline: e?.timeline,
1729
+ customLayers: e?.customLayers,
1730
+ theme: e?.theme,
1731
+ dimmedOpacity: e?.dimmedOpacity,
1732
+ resetSelectionOnDoubleClick: e?.resetSelectionOnDoubleClick,
1733
+ graphTitle: e?.graphTitle,
1734
+ mapData: e?.mapData,
1735
+ mapProjection: e?.mapProjection,
1736
+ graphDescription: e?.graphDescription,
1737
+ footNote: e?.footNote,
1738
+ maxRadiusValue: e?.maxRadiusValue,
1739
+ width: e?.width,
1740
+ height: e?.height,
1741
+ radius: e?.radius,
1742
+ sources: e?.sources,
1743
+ colors: e?.colors,
1744
+ colorDomain: e?.colorDomain,
1745
+ colorLegendTitle: Object.keys(e || {}).indexOf("colorLegendTitle") !== -1 ? e?.colorLegendTitle : b("color", r || [], i || []),
1746
+ data: a,
1747
+ scale: e?.scale,
1748
+ centerPoint: e?.centerPoint,
1749
+ backgroundColor: e?.backgroundColor,
1750
+ mapBorderWidth: e?.mapBorderWidth,
1751
+ mapNoDataColor: e?.mapNoDataColor,
1752
+ mapBorderColor: e?.mapBorderColor,
1753
+ padding: e?.padding,
1754
+ showLabels: e?.showLabels,
1755
+ relativeHeight: e?.relativeHeight,
1756
+ isWorldMap: e?.isWorldMap,
1757
+ tooltip: e?.tooltip,
1758
+ showColorScale: e?.showColorScale,
1759
+ zoomScaleExtend: e?.zoomScaleExtend,
1760
+ zoomTranslateExtend: e?.zoomTranslateExtend,
1761
+ graphID: e?.graphID,
1762
+ highlightedDataPoints: e?.highlightedDataPoints,
1763
+ graphDownload: e?.graphDownload,
1764
+ dataDownload: e?.dataDownload,
1765
+ showAntarctica: e?.showAntarctica,
1766
+ language: e?.language,
1767
+ minHeight: e?.minHeight,
1768
+ ariaLabel: e?.ariaLabel,
1769
+ detailsOnClick: e?.detailsOnClick,
1770
+ styles: e?.styles,
1771
+ classNames: e?.classNames,
1772
+ zoomInteraction: e?.zoomInteraction,
1773
+ animate: e?.animate
1774
+ };
1775
+ case "threeDGlobe":
1776
+ return {
1777
+ globeOffset: e?.globeOffset,
1778
+ polygonAltitude: e?.polygonAltitude,
1779
+ highlightedIds: e?.highlightedIds,
1780
+ scale: e?.scale,
1781
+ theme: e?.theme,
1782
+ resetSelectionOnDoubleClick: e?.resetSelectionOnDoubleClick,
1783
+ graphTitle: e?.graphTitle,
1784
+ mapData: e?.mapData,
1785
+ graphDescription: e?.graphDescription,
1786
+ footNote: e?.footNote,
1787
+ width: e?.width,
1788
+ height: e?.height,
1789
+ sources: e?.sources,
1790
+ colorDomain: e?.colorDomain,
1791
+ colors: e?.colors,
1792
+ colorLegendTitle: Object.keys(e || {}).indexOf("colorLegendTitle") !== -1 ? e?.colorLegendTitle : b("x", r || [], i || []),
1793
+ scaleType: e?.scaleType,
1794
+ data: a,
1795
+ centerPoint: e?.centerPoint,
1796
+ backgroundColor: e?.backgroundColor,
1797
+ mapNoDataColor: e?.mapNoDataColor,
1798
+ mapBorderColor: e?.mapBorderColor,
1799
+ relativeHeight: e?.relativeHeight,
1800
+ padding: e?.padding,
1801
+ tooltip: e?.tooltip,
1802
+ showColorScale: e?.showColorScale,
1803
+ graphID: e?.graphID,
1804
+ dataDownload: e?.dataDownload,
1805
+ mapProperty: e?.mapProperty,
1806
+ language: e?.language,
1807
+ minHeight: e?.minHeight,
1808
+ ariaLabel: e?.ariaLabel,
1809
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
1810
+ onSeriesMouseClick: (d) => {
1811
+ s?.(d.id);
1812
+ },
1813
+ detailsOnClick: e?.detailsOnClick,
1814
+ styles: e?.styles,
1815
+ classNames: e?.classNames,
1816
+ categorical: e?.categorical,
1817
+ autoRotate: e?.autoRotate,
1818
+ globeMaterial: e?.globeMaterial,
1819
+ atmosphereColor: e?.atmosphereColor,
1820
+ enableZoom: e?.enableZoom
1821
+ };
1822
+ case "donutChart":
1823
+ return {
1824
+ precision: e?.precision,
1825
+ theme: e?.theme,
1826
+ resetSelectionOnDoubleClick: e?.resetSelectionOnDoubleClick,
1827
+ mainText: e?.mainText,
1828
+ data: a,
1829
+ colors: e?.colors,
1830
+ graphTitle: e?.graphTitle,
1831
+ suffix: e?.suffix,
1832
+ prefix: e?.prefix,
1833
+ sources: e?.sources,
1834
+ graphDescription: e?.graphDescription,
1835
+ subNote: e?.subNote,
1836
+ footNote: e?.footNote,
1837
+ radius: e?.radius,
1838
+ strokeWidth: e?.strokeWidth,
1839
+ showColorScale: e?.showColorScale,
1840
+ backgroundColor: e?.backgroundColor,
1841
+ padding: e?.padding,
1842
+ tooltip: e?.tooltip,
1843
+ graphID: e?.graphID,
1844
+ graphDownload: e?.graphDownload,
1845
+ dataDownload: e?.dataDownload,
1846
+ colorDomain: e?.colorDomain,
1847
+ sortData: e?.sortData,
1848
+ language: e?.language,
1849
+ width: e?.width,
1850
+ height: e?.height,
1851
+ minHeight: e?.minHeight,
1852
+ relativeHeight: e?.relativeHeight,
1853
+ topMargin: e?.topMargin,
1854
+ bottomMargin: e?.bottomMargin,
1855
+ ariaLabel: e?.ariaLabel,
1856
+ legendMaxWidth: e?.legendMaxWidth,
1857
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
1858
+ onSeriesMouseClick: (d) => {
1859
+ s?.(d.label);
1860
+ },
1861
+ detailsOnClick: e?.detailsOnClick,
1862
+ styles: e?.styles,
1863
+ classNames: e?.classNames,
1864
+ colorScaleMaxWidth: e?.colorScaleMaxWidth
1865
+ };
1866
+ case "slopeChart":
1867
+ return {
1868
+ customLayers: e?.customLayers,
1869
+ theme: e?.theme,
1870
+ dimmedOpacity: e?.dimmedOpacity,
1871
+ resetSelectionOnDoubleClick: e?.resetSelectionOnDoubleClick,
1872
+ data: a,
1873
+ graphTitle: e?.graphTitle,
1874
+ graphDescription: e?.graphDescription,
1875
+ footNote: e?.footNote,
1876
+ width: e?.width,
1877
+ height: e?.height,
1878
+ sources: e?.sources,
1879
+ showLabels: e?.showLabels,
1880
+ colors: e?.colors,
1881
+ colorDomain: e?.colorDomain,
1882
+ colorLegendTitle: Object.keys(e || {}).indexOf("colorLegendTitle") !== -1 ? e?.colorLegendTitle : b("color", r || [], i || []),
1883
+ radius: e?.radius,
1884
+ axisTitles: e?.axisTitles,
1885
+ backgroundColor: e?.backgroundColor,
1886
+ padding: e?.padding,
1887
+ leftMargin: e?.leftMargin,
1888
+ rightMargin: e?.rightMargin,
1889
+ topMargin: e?.topMargin,
1890
+ bottomMargin: e?.bottomMargin,
1891
+ relativeHeight: e?.relativeHeight,
1892
+ tooltip: e?.tooltip,
1893
+ highlightedDataPoints: e?.highlightedDataPoints,
1894
+ showColorScale: e?.showColorScale,
1895
+ graphID: e?.graphID,
1896
+ maxValue: e?.maxValue,
1897
+ minValue: e?.minValue,
1898
+ graphDownload: e?.graphDownload,
1899
+ dataDownload: e?.dataDownload,
1900
+ fillContainer: e?.fillContainer,
1901
+ language: e?.language,
1902
+ minHeight: e?.minHeight,
1903
+ ariaLabel: e?.ariaLabel,
1904
+ detailsOnClick: e?.detailsOnClick,
1905
+ styles: e?.styles,
1906
+ classNames: e?.classNames,
1907
+ animate: e?.animate
1908
+ };
1909
+ case "scatterPlot":
1910
+ return {
1911
+ timeline: e?.timeline,
1912
+ customLayers: e?.customLayers,
1913
+ precision: e?.precision,
1914
+ theme: e?.theme,
1915
+ dimmedOpacity: e?.dimmedOpacity,
1916
+ resetSelectionOnDoubleClick: e?.resetSelectionOnDoubleClick,
1917
+ data: a,
1918
+ graphTitle: e?.graphTitle,
1919
+ graphDescription: e?.graphDescription,
1920
+ footNote: e?.footNote,
1921
+ width: e?.width,
1922
+ height: e?.height,
1923
+ sources: e?.sources,
1924
+ showLabels: e?.showLabels,
1925
+ colors: e?.colors,
1926
+ colorDomain: e?.colorDomain,
1927
+ colorLegendTitle: Object.keys(e || {}).indexOf("colorLegendTitle") !== -1 ? e?.colorLegendTitle : b("color", r || [], i || []),
1928
+ radius: e?.radius,
1929
+ xAxisTitle: Object.keys(e || {}).indexOf("xAxisTitle") !== -1 ? e?.xAxisTitle : b("x", r || [], i || []),
1930
+ yAxisTitle: Object.keys(e || {}).indexOf("yAxisTitle") !== -1 ? e?.yAxisTitle : b("y", r || [], i || []),
1931
+ backgroundColor: e?.backgroundColor,
1932
+ padding: e?.padding,
1933
+ leftMargin: e?.leftMargin,
1934
+ rightMargin: e?.rightMargin,
1935
+ topMargin: e?.topMargin,
1936
+ bottomMargin: e?.bottomMargin,
1937
+ relativeHeight: e?.relativeHeight,
1938
+ tooltip: e?.tooltip,
1939
+ refXValues: e?.refXValues,
1940
+ refYValues: e?.refYValues,
1941
+ highlightedDataPoints: e?.highlightedDataPoints,
1942
+ highlightAreaSettings: e?.highlightAreaSettings,
1943
+ showColorScale: e?.showColorScale,
1944
+ graphID: e?.graphID,
1945
+ maxRadiusValue: e?.maxRadiusValue,
1946
+ maxXValue: e?.maxXValue,
1947
+ minXValue: e?.minXValue,
1948
+ maxYValue: e?.maxYValue,
1949
+ minYValue: e?.minYValue,
1950
+ graphDownload: e?.graphDownload,
1951
+ dataDownload: e?.dataDownload,
1952
+ language: e?.language,
1953
+ minHeight: e?.minHeight,
1954
+ showNAColor: e?.showNAColor,
1955
+ customHighlightAreaSettings: e?.customHighlightAreaSettings,
1956
+ annotations: e?.annotations,
1957
+ regressionLine: e?.regressionLine,
1958
+ ariaLabel: e?.ariaLabel,
1959
+ detailsOnClick: e?.detailsOnClick,
1960
+ noOfXTicks: e?.noOfXTicks,
1961
+ noOfYTicks: e?.noOfYTicks,
1962
+ labelColor: e?.labelColor,
1963
+ xSuffix: e?.xSuffix,
1964
+ ySuffix: e?.ySuffix,
1965
+ xPrefix: e?.xPrefix,
1966
+ yPrefix: e?.yPrefix,
1967
+ styles: e?.styles,
1968
+ classNames: e?.classNames,
1969
+ animate: e?.animate
1970
+ };
1971
+ case "dumbbellChart":
1972
+ return {
1973
+ timeline: e?.timeline,
1974
+ customLayers: e?.customLayers,
1975
+ precision: e?.precision,
1976
+ theme: e?.theme,
1977
+ orientation: e?.orientation,
1978
+ refValues: e?.refValues,
1979
+ resetSelectionOnDoubleClick: e?.resetSelectionOnDoubleClick,
1980
+ data: a,
1981
+ colors: e?.colors,
1982
+ graphTitle: e?.graphTitle,
1983
+ graphDescription: e?.graphDescription,
1984
+ footNote: e?.footNote,
1985
+ width: e?.width,
1986
+ height: e?.height,
1987
+ sources: e?.sources,
1988
+ barPadding: e?.barPadding,
1989
+ showTicks: e?.showTicks,
1990
+ leftMargin: e?.leftMargin,
1991
+ rightMargin: e?.rightMargin,
1992
+ topMargin: e?.topMargin,
1993
+ bottomMargin: e?.bottomMargin,
1994
+ truncateBy: e?.truncateBy,
1995
+ labelOrder: e?.labelOrder,
1996
+ showColorScale: e?.showColorScale,
1997
+ colorDomain: e?.colorDomain || b("x", r || [], i || []),
1998
+ colorLegendTitle: e?.colorLegendTitle,
1999
+ backgroundColor: e?.backgroundColor,
2000
+ padding: e?.padding,
2001
+ radius: e?.radius,
2002
+ relativeHeight: e?.relativeHeight,
2003
+ showValues: e?.showValues,
2004
+ showLabels: e?.showLabels,
2005
+ tooltip: e?.tooltip,
2006
+ graphID: e?.graphID,
2007
+ maxValue: e?.maxValue,
2008
+ minValue: e?.minValue,
2009
+ graphDownload: e?.graphDownload,
2010
+ dataDownload: e?.dataDownload,
2011
+ suffix: e?.suffix,
2012
+ prefix: e?.prefix,
2013
+ language: e?.language,
2014
+ minHeight: e?.minHeight,
2015
+ sortParameter: e?.sortParameter,
2016
+ arrowConnector: e?.arrowConnector,
2017
+ connectorStrokeWidth: e?.connectorStrokeWidth,
2018
+ maxBarThickness: e?.maxBarThickness,
2019
+ minBarThickness: e?.minBarThickness,
2020
+ maxNumberOfBars: e?.maxNumberOfBars,
2021
+ ariaLabel: e?.ariaLabel,
2022
+ detailsOnClick: e?.detailsOnClick,
2023
+ axisTitle: e?.axisTitle,
2024
+ noOfTicks: e?.noOfTicks,
2025
+ valueColor: e?.valueColor,
2026
+ styles: e?.styles,
2027
+ classNames: e?.classNames,
2028
+ animate: e?.animate,
2029
+ highlightedDataPoints: e?.highlightedDataPoints,
2030
+ dimmedOpacity: e?.dimmedOpacity
2031
+ };
2032
+ case "treeMap":
2033
+ return {
2034
+ precision: e?.precision,
2035
+ theme: e?.theme,
2036
+ dimmedOpacity: e?.dimmedOpacity,
2037
+ resetSelectionOnDoubleClick: e?.resetSelectionOnDoubleClick,
2038
+ data: a,
2039
+ colors: e?.colors,
2040
+ graphTitle: e?.graphTitle,
2041
+ graphDescription: e?.graphDescription,
2042
+ footNote: e?.footNote,
2043
+ width: e?.width,
2044
+ height: e?.height,
2045
+ suffix: e?.suffix,
2046
+ prefix: e?.prefix,
2047
+ sources: e?.sources,
2048
+ leftMargin: e?.leftMargin,
2049
+ rightMargin: e?.rightMargin,
2050
+ colorDomain: e?.colorDomain,
2051
+ colorLegendTitle: Object.keys(e || {}).indexOf("colorLegendTitle") !== -1 ? e?.colorLegendTitle : b("color", r || [], i || []),
2052
+ backgroundColor: e?.backgroundColor,
2053
+ padding: e?.padding,
2054
+ topMargin: e?.topMargin,
2055
+ bottomMargin: e?.bottomMargin,
2056
+ relativeHeight: e?.relativeHeight,
2057
+ showLabels: e?.showLabels,
2058
+ tooltip: e?.tooltip,
2059
+ showColorScale: e?.showColorScale,
2060
+ showValues: e?.showValues,
2061
+ graphID: e?.graphID,
2062
+ highlightedDataPoints: e?.highlightedDataPoints,
2063
+ graphDownload: e?.graphDownload,
2064
+ dataDownload: e?.dataDownload,
2065
+ language: e?.language,
2066
+ minHeight: e?.minHeight,
2067
+ showNAColor: e?.showNAColor,
2068
+ ariaLabel: e?.ariaLabel,
2069
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
2070
+ onSeriesMouseClick: (d) => {
2071
+ s?.(d.label);
2072
+ },
2073
+ detailsOnClick: e?.detailsOnClick,
2074
+ styles: e?.styles,
2075
+ classNames: e?.classNames,
2076
+ animate: e?.animate
2077
+ };
2078
+ case "circlePacking":
2079
+ return {
2080
+ precision: e?.precision,
2081
+ theme: e?.theme,
2082
+ dimmedOpacity: e?.dimmedOpacity,
2083
+ resetSelectionOnDoubleClick: e?.resetSelectionOnDoubleClick,
2084
+ data: a,
2085
+ colors: e?.colors,
2086
+ graphTitle: e?.graphTitle,
2087
+ graphDescription: e?.graphDescription,
2088
+ footNote: e?.footNote,
2089
+ width: e?.width,
2090
+ height: e?.height,
2091
+ suffix: e?.suffix,
2092
+ prefix: e?.prefix,
2093
+ sources: e?.sources,
2094
+ leftMargin: e?.leftMargin,
2095
+ rightMargin: e?.rightMargin,
2096
+ colorDomain: e?.colorDomain,
2097
+ colorLegendTitle: Object.keys(e || {}).indexOf("colorLegendTitle") !== -1 ? e?.colorLegendTitle : b("color", r || [], i || []),
2098
+ backgroundColor: e?.backgroundColor,
2099
+ padding: e?.padding,
2100
+ topMargin: e?.topMargin,
2101
+ bottomMargin: e?.bottomMargin,
2102
+ relativeHeight: e?.relativeHeight,
2103
+ showLabels: e?.showLabels,
2104
+ tooltip: e?.tooltip,
2105
+ showColorScale: e?.showColorScale,
2106
+ showValues: e?.showValues,
2107
+ graphID: e?.graphID,
2108
+ highlightedDataPoints: e?.highlightedDataPoints,
2109
+ graphDownload: e?.graphDownload,
2110
+ dataDownload: e?.dataDownload,
2111
+ language: e?.language,
2112
+ minHeight: e?.minHeight,
2113
+ showNAColor: e?.showNAColor,
2114
+ ariaLabel: e?.ariaLabel,
2115
+ radius: e?.radius,
2116
+ maxRadiusValue: e?.maxRadiusValue,
2117
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
2118
+ onSeriesMouseClick: (d) => {
2119
+ s?.(d.label);
2120
+ },
2121
+ detailsOnClick: e?.detailsOnClick,
2122
+ styles: e?.styles,
2123
+ classNames: e?.classNames,
2124
+ animate: e?.animate
2125
+ };
2126
+ case "heatMap":
2127
+ return {
2128
+ precision: e?.precision,
2129
+ theme: e?.theme,
2130
+ resetSelectionOnDoubleClick: e?.resetSelectionOnDoubleClick,
2131
+ data: a,
2132
+ colors: e?.colors,
2133
+ graphTitle: e?.graphTitle,
2134
+ graphDescription: e?.graphDescription,
2135
+ footNote: e?.footNote,
2136
+ width: e?.width,
2137
+ height: e?.height,
2138
+ sources: e?.sources,
2139
+ scaleType: e?.scaleType,
2140
+ colorDomain: e?.colorDomain,
2141
+ showColumnLabels: e?.showColumnLabels,
2142
+ leftMargin: e?.leftMargin,
2143
+ rightMargin: e?.rightMargin,
2144
+ truncateBy: e?.truncateBy,
2145
+ colorLegendTitle: Object.keys(e || {}).indexOf("colorLegendTitle") !== -1 ? e?.colorLegendTitle : b("color", r || [], i || []),
2146
+ backgroundColor: e?.backgroundColor,
2147
+ padding: e?.padding,
2148
+ topMargin: e?.topMargin,
2149
+ bottomMargin: e?.bottomMargin,
2150
+ suffix: e?.suffix,
2151
+ prefix: e?.prefix,
2152
+ showValues: e?.showValues,
2153
+ showRowLabels: e?.showRowLabels,
2154
+ relativeHeight: e?.relativeHeight,
2155
+ tooltip: e?.tooltip,
2156
+ graphID: e?.graphID,
2157
+ noDataColor: e?.noDataColor,
2158
+ showColorScale: e?.showColorScale,
2159
+ graphDownload: e?.graphDownload,
2160
+ dataDownload: e?.dataDownload,
2161
+ fillContainer: e?.fillContainer,
2162
+ language: e?.language,
2163
+ minHeight: e?.minHeight,
2164
+ showNAColor: e?.showNAColor,
2165
+ ariaLabel: e?.ariaLabel,
2166
+ detailsOnClick: e?.detailsOnClick,
2167
+ styles: e?.styles,
2168
+ classNames: e?.classNames,
2169
+ animate: e?.animate
2170
+ };
2171
+ case "stripChart":
2172
+ return {
2173
+ customLayers: e?.customLayers,
2174
+ precision: e?.precision,
2175
+ theme: e?.theme,
2176
+ dimmedOpacity: e?.dimmedOpacity,
2177
+ orientation: e?.orientation,
2178
+ resetSelectionOnDoubleClick: e?.resetSelectionOnDoubleClick,
2179
+ data: a,
2180
+ graphTitle: e?.graphTitle,
2181
+ graphDescription: e?.graphDescription,
2182
+ footNote: e?.footNote,
2183
+ width: e?.width,
2184
+ height: e?.height,
2185
+ sources: e?.sources,
2186
+ colors: e?.colors,
2187
+ colorDomain: e?.colorDomain,
2188
+ colorLegendTitle: Object.keys(e || {}).indexOf("colorLegendTitle") !== -1 ? e?.colorLegendTitle : b("color", r || [], i || []),
2189
+ radius: e?.radius,
2190
+ backgroundColor: e?.backgroundColor,
2191
+ padding: e?.padding,
2192
+ leftMargin: e?.leftMargin,
2193
+ rightMargin: e?.rightMargin,
2194
+ topMargin: e?.topMargin,
2195
+ bottomMargin: e?.bottomMargin,
2196
+ relativeHeight: e?.relativeHeight,
2197
+ tooltip: e?.tooltip,
2198
+ highlightedDataPoints: e?.highlightedDataPoints,
2199
+ showColorScale: e?.showColorScale,
2200
+ graphID: e?.graphID,
2201
+ maxValue: e?.maxValue,
2202
+ minValue: e?.minValue,
2203
+ noOfTicks: e?.noOfTicks,
2204
+ graphDownload: e?.graphDownload,
2205
+ dataDownload: e?.dataDownload,
2206
+ prefix: e?.prefix,
2207
+ suffix: e?.suffix,
2208
+ stripType: e?.stripType,
2209
+ valueColor: e?.valueColor,
2210
+ language: e?.language,
2211
+ minHeight: e?.minHeight,
2212
+ highlightColor: e?.highlightColor,
2213
+ dotOpacity: e?.dotOpacity,
2214
+ showNAColor: e?.showNAColor,
2215
+ ariaLabel: e?.ariaLabel,
2216
+ detailsOnClick: e?.detailsOnClick,
2217
+ styles: e?.styles,
2218
+ classNames: e?.classNames,
2219
+ animate: e?.animate
2220
+ };
2221
+ case "beeSwarmChart":
2222
+ return {
2223
+ customLayers: e?.customLayers,
2224
+ precision: e?.precision,
2225
+ theme: e?.theme,
2226
+ dimmedOpacity: e?.dimmedOpacity,
2227
+ resetSelectionOnDoubleClick: e?.resetSelectionOnDoubleClick,
2228
+ data: a,
2229
+ colors: e?.colors,
2230
+ graphTitle: e?.graphTitle,
2231
+ graphDescription: e?.graphDescription,
2232
+ footNote: e?.footNote,
2233
+ width: e?.width,
2234
+ height: e?.height,
2235
+ sources: e?.sources,
2236
+ showTicks: e?.showTicks,
2237
+ leftMargin: e?.leftMargin,
2238
+ rightMargin: e?.rightMargin,
2239
+ colorDomain: e?.colorDomain,
2240
+ colorLegendTitle: Object.keys(e || {}).indexOf("colorLegendTitle") !== -1 ? e?.colorLegendTitle : b("color", r || [], i || []),
2241
+ backgroundColor: e?.backgroundColor,
2242
+ padding: e?.padding,
2243
+ topMargin: e?.topMargin,
2244
+ bottomMargin: e?.bottomMargin,
2245
+ relativeHeight: e?.relativeHeight,
2246
+ showLabels: e?.showLabels,
2247
+ showColorScale: e?.showColorScale,
2248
+ tooltip: e?.tooltip,
2249
+ refValues: e?.refValues,
2250
+ graphID: e?.graphID,
2251
+ radius: e?.radius,
2252
+ maxRadiusValue: e?.maxRadiusValue,
2253
+ maxValue: e?.maxValue,
2254
+ minValue: e?.minValue,
2255
+ highlightedDataPoints: e?.highlightedDataPoints,
2256
+ graphDownload: e?.graphDownload,
2257
+ dataDownload: e?.dataDownload,
2258
+ language: e?.language,
2259
+ minHeight: e?.minHeight,
2260
+ showNAColor: e?.showNAColor,
2261
+ ariaLabel: e?.ariaLabel,
2262
+ detailsOnClick: e?.detailsOnClick,
2263
+ orientation: e?.orientation,
2264
+ styles: e?.styles,
2265
+ classNames: e?.classNames,
2266
+ animate: e?.animate
2267
+ };
2268
+ case "butterflyChart":
2269
+ return {
2270
+ naLabel: e?.naLabel,
2271
+ timeline: e?.timeline,
2272
+ customLayers: e?.customLayers,
2273
+ precision: e?.precision,
2274
+ theme: e?.theme,
2275
+ resetSelectionOnDoubleClick: e?.resetSelectionOnDoubleClick,
2276
+ data: a,
2277
+ graphTitle: e?.graphTitle,
2278
+ graphDescription: e?.graphDescription,
2279
+ leftBarTitle: Object.keys(e || {}).indexOf("leftBarTitle") !== -1 ? e?.leftBarTitle : b("leftBar", r || [], i || []),
2280
+ rightBarTitle: Object.keys(e || {}).indexOf("rightBarTitle") !== -1 ? e?.rightBarTitle : b("rightBar", r || [], i || []),
2281
+ footNote: e?.footNote,
2282
+ width: e?.width,
2283
+ height: e?.height,
2284
+ sources: e?.sources,
2285
+ backgroundColor: e?.backgroundColor,
2286
+ padding: e?.padding,
2287
+ leftMargin: e?.leftMargin,
2288
+ rightMargin: e?.rightMargin,
2289
+ topMargin: e?.topMargin,
2290
+ bottomMargin: e?.bottomMargin,
2291
+ barColors: e?.barColors,
2292
+ relativeHeight: e?.relativeHeight,
2293
+ tooltip: e?.tooltip,
2294
+ graphID: e?.graphID,
2295
+ graphDownload: e?.graphDownload,
2296
+ dataDownload: e?.dataDownload,
2297
+ barPadding: e?.barPadding,
2298
+ truncateBy: e?.truncateBy,
2299
+ suffix: e?.suffix,
2300
+ prefix: e?.prefix,
2301
+ showTicks: e?.showTicks,
2302
+ showValues: e?.showValues,
2303
+ centerGap: e?.centerGap,
2304
+ maxValue: e?.maxValue,
2305
+ minValue: e?.minValue,
2306
+ showColorScale: e?.showColorScale,
2307
+ refValues: e?.refValues,
2308
+ language: e?.language,
2309
+ minHeight: e?.minHeight,
2310
+ ariaLabel: e?.ariaLabel,
2311
+ detailsOnClick: e?.detailsOnClick,
2312
+ styles: e?.styles,
2313
+ classNames: e?.classNames,
2314
+ animate: e?.animate
2315
+ };
2316
+ case "histogram":
2317
+ return {
2318
+ precision: e?.precision,
2319
+ theme: e?.theme,
2320
+ data: a,
2321
+ colors: e?.colors,
2322
+ graphTitle: e?.graphTitle,
2323
+ graphDescription: e?.graphDescription,
2324
+ footNote: e?.footNote,
2325
+ width: e?.width,
2326
+ height: e?.height,
2327
+ sources: e?.sources,
2328
+ barPadding: e?.barPadding,
2329
+ showValues: e?.showValues,
2330
+ showTicks: e?.showTicks,
2331
+ leftMargin: e?.leftMargin,
2332
+ rightMargin: e?.rightMargin,
2333
+ backgroundColor: e?.backgroundColor,
2334
+ padding: e?.padding,
2335
+ topMargin: e?.topMargin,
2336
+ bottomMargin: e?.bottomMargin,
2337
+ relativeHeight: e?.relativeHeight,
2338
+ showLabels: e?.showLabels,
2339
+ maxValue: e?.maxValue,
2340
+ tooltip: e?.tooltip,
2341
+ refValues: e?.refValues,
2342
+ graphID: e?.graphID,
2343
+ graphDownload: e?.graphDownload,
2344
+ dataDownload: e?.dataDownload,
2345
+ numberOfBins: e?.numberOfBins,
2346
+ truncateBy: e?.truncateBy,
2347
+ donutStrokeWidth: e?.donutStrokeWidth,
2348
+ sortData: e?.sortData,
2349
+ barGraphLayout: e?.barGraphLayout,
2350
+ graphType: e?.graphType,
2351
+ language: e?.language,
2352
+ minHeight: e?.minHeight,
2353
+ maxBarThickness: e?.maxBarThickness,
2354
+ ariaLabel: e?.ariaLabel,
2355
+ detailsOnClick: e?.detailsOnClick,
2356
+ styles: e?.styles,
2357
+ classNames: e?.classNames
2358
+ };
2359
+ case "sparkLine":
2360
+ return {
2361
+ customLayers: e?.customLayers,
2362
+ theme: e?.theme,
2363
+ data: a,
2364
+ curveType: e?.curveType,
2365
+ lineColor: e?.lineColor,
2366
+ graphTitle: e?.graphTitle,
2367
+ graphDescription: e?.graphDescription,
2368
+ footNote: e?.footNote,
2369
+ width: e?.width,
2370
+ height: e?.height,
2371
+ sources: e?.sources,
2372
+ dateFormat: e?.dateFormat,
2373
+ area: e?.area,
2374
+ backgroundColor: e?.backgroundColor,
2375
+ padding: e?.padding,
2376
+ leftMargin: e?.leftMargin,
2377
+ rightMargin: e?.rightMargin,
2378
+ topMargin: e?.topMargin,
2379
+ bottomMargin: e?.bottomMargin,
2380
+ relativeHeight: e?.relativeHeight,
2381
+ tooltip: e?.tooltip,
2382
+ graphID: e?.graphID,
2383
+ maxValue: e?.maxValue,
2384
+ minValue: e?.minValue,
2385
+ graphDownload: e?.graphDownload,
2386
+ dataDownload: e?.dataDownload,
2387
+ language: e?.language,
2388
+ minHeight: e?.minHeight,
2389
+ ariaLabel: e?.ariaLabel,
2390
+ styles: e?.styles,
2391
+ classNames: e?.classNames
2392
+ };
2393
+ case "paretoChart":
2394
+ return {
2395
+ naLabel: e?.naLabel,
2396
+ customLayers: e?.customLayers,
2397
+ precision: e?.precision,
2398
+ theme: e?.theme,
2399
+ resetSelectionOnDoubleClick: e?.resetSelectionOnDoubleClick,
2400
+ data: a,
2401
+ showValues: e?.showValues,
2402
+ graphTitle: e?.graphTitle,
2403
+ graphDescription: e?.graphDescription,
2404
+ barTitle: Object.keys(e || {}).indexOf("barTitle") !== -1 ? e?.barTitle : b("barTitle", r || [], i || []),
2405
+ lineTitle: Object.keys(e || {}).indexOf("lineTitle") !== -1 ? e?.lineTitle : b("lineTitle", r || [], i || []),
2406
+ footNote: e?.footNote,
2407
+ width: e?.width,
2408
+ height: e?.height,
2409
+ sources: e?.sources,
2410
+ backgroundColor: e?.backgroundColor,
2411
+ padding: e?.padding,
2412
+ leftMargin: e?.leftMargin,
2413
+ rightMargin: e?.rightMargin,
2414
+ topMargin: e?.topMargin,
2415
+ bottomMargin: e?.bottomMargin,
2416
+ barColor: e?.barColor,
2417
+ curveType: e?.curveType,
2418
+ lineColor: e?.lineColor,
2419
+ sameAxes: e?.sameAxes,
2420
+ relativeHeight: e?.relativeHeight,
2421
+ tooltip: e?.tooltip,
2422
+ graphID: e?.graphID,
2423
+ graphDownload: e?.graphDownload,
2424
+ dataDownload: e?.dataDownload,
2425
+ barPadding: e?.barPadding,
2426
+ truncateBy: e?.truncateBy,
2427
+ showLabels: e?.showLabels,
2428
+ language: e?.language,
2429
+ minHeight: e?.minHeight,
2430
+ ariaLabel: e?.ariaLabel,
2431
+ detailsOnClick: e?.detailsOnClick,
2432
+ noOfTicks: e?.noOfTicks,
2433
+ lineSuffix: e?.lineSuffix,
2434
+ barSuffix: e?.barSuffix,
2435
+ linePrefix: e?.lineSuffix,
2436
+ barPrefix: e?.barPrefix,
2437
+ barAxisTitle: e?.barAxisTitle,
2438
+ lineAxisTitle: e?.lineAxisTitle,
2439
+ styles: e?.styles,
2440
+ classNames: e?.classNames,
2441
+ animate: e?.animate
2442
+ };
2443
+ case "dataTable":
2444
+ return {
2445
+ naLabel: e?.naLabel,
2446
+ precision: e?.precision,
2447
+ theme: e?.theme,
2448
+ resetSelectionOnDoubleClick: e?.resetSelectionOnDoubleClick,
2449
+ graphTitle: e?.graphTitle,
2450
+ sources: e?.sources,
2451
+ graphDescription: e?.graphDescription,
2452
+ footNote: e?.footNote,
2453
+ graphID: e?.graphID,
2454
+ width: e?.width,
2455
+ height: e?.height,
2456
+ columnData: e?.columnData || [],
2457
+ data: a,
2458
+ language: e?.language,
2459
+ ariaLabel: e?.ariaLabel,
2460
+ minWidth: e?.minWidth,
2461
+ backgroundColor: e?.backgroundColor,
2462
+ padding: e?.padding,
2463
+ styles: e?.styles,
2464
+ classNames: e?.classNames
2465
+ };
2466
+ case "statCard":
2467
+ return {
2468
+ precision: e?.precision,
2469
+ theme: e?.theme,
2470
+ year: e?.year,
2471
+ data: a,
2472
+ graphTitle: e?.graphTitle || "",
2473
+ graphDescription: e?.graphDescription,
2474
+ suffix: e?.suffix,
2475
+ prefix: e?.prefix,
2476
+ sources: e?.sources || [],
2477
+ footNote: e?.footNote,
2478
+ backgroundColor: e?.backgroundColor,
2479
+ padding: e?.padding,
2480
+ graphID: e?.graphID,
2481
+ aggregationMethod: e?.aggregationMethod,
2482
+ language: e?.language,
2483
+ minHeight: e?.minHeight,
2484
+ countOnly: e?.countOnly,
2485
+ ariaLabel: e?.ariaLabel,
2486
+ textBackground: e?.textBackground,
2487
+ headingFontSize: e?.headingFontSize,
2488
+ centerAlign: e?.centerAlign,
2489
+ verticalAlign: e?.verticalAlign,
2490
+ styles: e?.styles,
2491
+ classNames: e?.classNames,
2492
+ layout: e?.layout
2493
+ };
2494
+ case "geoHubCompareMap":
2495
+ return {
2496
+ theme: e?.theme,
2497
+ graphTitle: e?.graphTitle,
2498
+ sources: e?.sources,
2499
+ graphDescription: e?.graphDescription,
2500
+ footNote: e?.footNote,
2501
+ backgroundColor: e?.backgroundColor,
2502
+ padding: e?.padding,
2503
+ width: e?.width,
2504
+ height: e?.height,
2505
+ relativeHeight: e?.relativeHeight,
2506
+ graphID: e?.graphID,
2507
+ mapStyles: e?.mapStyles,
2508
+ center: e?.center,
2509
+ zoomLevel: e?.zoomLevel,
2510
+ language: e?.language,
2511
+ minHeight: e?.minHeight,
2512
+ ariaLabel: e?.ariaLabel,
2513
+ styles: e?.styles,
2514
+ classNames: e?.classNames,
2515
+ mapLegend: e?.mapLegend
2516
+ };
2517
+ case "geoHubMap":
2518
+ return {
2519
+ theme: e?.theme,
2520
+ mapStyle: e?.mapStyle,
2521
+ center: e?.center,
2522
+ zoomLevel: e?.zoomLevel,
2523
+ graphTitle: e?.graphTitle,
2524
+ sources: e?.sources,
2525
+ graphDescription: e?.graphDescription,
2526
+ footNote: e?.footNote,
2527
+ backgroundColor: e?.backgroundColor,
2528
+ padding: e?.padding,
2529
+ width: e?.width,
2530
+ height: e?.height,
2531
+ relativeHeight: e?.relativeHeight,
2532
+ graphID: e?.graphID,
2533
+ language: e?.language,
2534
+ minHeight: e?.minHeight,
2535
+ includeLayers: e?.includeLayers,
2536
+ excludeLayers: e?.excludeLayers,
2537
+ ariaLabel: e?.ariaLabel,
2538
+ uiMode: e?.uiMode,
2539
+ styles: e?.styles,
2540
+ classNames: e?.classNames,
2541
+ mapLegend: e?.mapLegend
2542
+ };
2543
+ case "geoHubMapWithLayerSelection":
2544
+ return {
2545
+ theme: e?.theme,
2546
+ mapStyle: e?.mapStyle,
2547
+ center: e?.center,
2548
+ zoomLevel: e?.zoomLevel,
2549
+ graphTitle: e?.graphTitle,
2550
+ sources: e?.sources,
2551
+ graphDescription: e?.graphDescription,
2552
+ footNote: e?.footNote,
2553
+ backgroundColor: e?.backgroundColor,
2554
+ padding: e?.padding,
2555
+ width: e?.width,
2556
+ height: e?.height,
2557
+ relativeHeight: e?.relativeHeight,
2558
+ graphID: e?.graphID,
2559
+ language: e?.language,
2560
+ minHeight: e?.minHeight,
2561
+ layerSelection: e?.layerSelection,
2562
+ excludeLayers: e?.excludeLayers,
2563
+ ariaLabel: e?.ariaLabel,
2564
+ uiMode: e?.uiMode,
2565
+ mapLegend: e?.mapLegend
2566
+ };
2567
+ case "unitChart":
2568
+ return {
2569
+ precision: e?.precision,
2570
+ theme: e?.theme,
2571
+ totalNoOfDots: e?.totalNoOfDots,
2572
+ gridSize: e?.gridSize,
2573
+ unitPadding: e?.unitPadding,
2574
+ size: e?.size,
2575
+ graphTitle: e?.graphTitle,
2576
+ sources: e?.sources,
2577
+ colors: e?.colors,
2578
+ graphDescription: e?.graphDescription,
2579
+ footNote: e?.footNote,
2580
+ backgroundColor: e?.backgroundColor,
2581
+ padding: e?.padding,
2582
+ graphID: e?.graphID,
2583
+ graphDownload: e?.graphDownload,
2584
+ dataDownload: e?.dataDownload,
2585
+ language: e?.language,
2586
+ showColorScale: e?.showColorScale,
2587
+ showStrokeForWhiteDots: e?.showStrokeForWhiteDots,
2588
+ note: e?.note,
2589
+ data: a,
2590
+ width: e?.width,
2591
+ height: e?.height,
2592
+ minHeight: e?.minHeight,
2593
+ relativeHeight: e?.relativeHeight,
2594
+ ariaLabel: e?.ariaLabel,
2595
+ styles: e?.styles,
2596
+ classNames: e?.classNames,
2597
+ animate: e?.animate
2598
+ };
2599
+ case "sankeyChart":
2600
+ return {
2601
+ customLayers: e?.customLayers,
2602
+ precision: e?.precision,
2603
+ theme: e?.theme,
2604
+ resetSelectionOnDoubleClick: e?.resetSelectionOnDoubleClick,
2605
+ data: a,
2606
+ graphTitle: e?.graphTitle,
2607
+ graphDescription: e?.graphDescription,
2608
+ footNote: e?.footNote,
2609
+ width: e?.width,
2610
+ height: e?.height,
2611
+ sources: e?.sources,
2612
+ showLabels: e?.showLabels,
2613
+ leftMargin: e?.leftMargin,
2614
+ rightMargin: e?.rightMargin,
2615
+ topMargin: e?.topMargin,
2616
+ bottomMargin: e?.bottomMargin,
2617
+ truncateBy: e?.truncateBy,
2618
+ padding: e?.padding,
2619
+ backgroundColor: e?.backgroundColor,
2620
+ tooltip: e?.tooltip,
2621
+ suffix: e?.suffix,
2622
+ prefix: e?.prefix,
2623
+ relativeHeight: e?.relativeHeight,
2624
+ showValues: e?.showValues,
2625
+ graphID: e?.graphID,
2626
+ graphDownload: e?.graphDownload,
2627
+ dataDownload: e?.dataDownload,
2628
+ fillContainer: e?.fillContainer,
2629
+ language: e?.language,
2630
+ minHeight: e?.minHeight,
2631
+ ariaLabel: e?.ariaLabel,
2632
+ sourceColors: e?.sourceColors,
2633
+ targetColors: e?.targetColors,
2634
+ sourceColorDomain: e?.sourceColorDomain,
2635
+ targetColorDomain: e?.targetColorDomain,
2636
+ nodePadding: e?.nodePadding,
2637
+ nodeWidth: e?.nodeWidth,
2638
+ highlightedSourceDataPoints: e?.highlightedSourceDataPoints,
2639
+ highlightedTargetDataPoints: e?.highlightedTargetDataPoints,
2640
+ defaultLinkOpacity: e?.defaultLinkOpacity,
2641
+ sourceTitle: e?.sourceTitle,
2642
+ targetTitle: e?.targetTitle,
2643
+ sortNodes: e?.sortNodes,
2644
+ detailsOnClick: e?.detailsOnClick,
2645
+ styles: e?.styles,
2646
+ classNames: e?.classNames,
2647
+ animate: e?.animate
2648
+ };
2649
+ case "dataCards":
2650
+ return {
2651
+ theme: e?.theme,
2652
+ graphTitle: e?.graphTitle,
2653
+ sources: e?.sources,
2654
+ graphDescription: e?.graphDescription,
2655
+ footNote: e?.footNote,
2656
+ graphID: e?.graphID,
2657
+ width: e?.width,
2658
+ height: e?.height,
2659
+ columnData: e?.columnData || [],
2660
+ data: a,
2661
+ language: e?.language,
2662
+ ariaLabel: e?.ariaLabel,
2663
+ cardTemplate: e?.cardTemplate,
2664
+ cardBackgroundColor: e?.cardBackgroundColor,
2665
+ cardFilters: e?.cardFilters || [],
2666
+ cardSortingOptions: e?.cardSortingOptions,
2667
+ cardSearchColumns: e?.cardSearchColumns,
2668
+ cardMinWidth: e?.cardMinWidth,
2669
+ backgroundColor: e?.backgroundColor,
2670
+ padding: e?.padding,
2671
+ detailsOnClick: e?.detailsOnClick,
2672
+ allowDataDownloadOnDetail: e?.allowDataDownloadOnDetail,
2673
+ noOfItemsInAPage: e?.noOfItemsInAPage,
2674
+ uiMode: e?.uiMode,
2675
+ styles: e?.styles,
2676
+ classNames: e?.classNames
2677
+ };
2678
+ case "radarChart":
2679
+ return {
2680
+ customLayers: e?.customLayers,
2681
+ precision: e?.precision,
2682
+ graphTitle: e?.graphTitle,
2683
+ dimmedOpacity: e?.dimmedOpacity,
2684
+ graphDescription: e?.graphDescription,
2685
+ footNote: e?.footNote,
2686
+ sources: e?.sources,
2687
+ ariaLabel: e?.ariaLabel,
2688
+ colors: e?.colors,
2689
+ colorDomain: e?.colorDomain,
2690
+ colorLegendTitle: e?.colorLegendTitle,
2691
+ backgroundColor: e?.backgroundColor,
2692
+ styles: e?.styles,
2693
+ classNames: e?.classNames,
2694
+ width: e?.width,
2695
+ height: e?.height,
2696
+ minHeight: e?.minHeight,
2697
+ relativeHeight: e?.relativeHeight,
2698
+ padding: e?.padding,
2699
+ radius: e?.radius,
2700
+ leftMargin: e?.leftMargin,
2701
+ rightMargin: e?.rightMargin,
2702
+ topMargin: e?.topMargin,
2703
+ bottomMargin: e?.bottomMargin,
2704
+ maxValue: e?.maxValue,
2705
+ minValue: e?.minValue,
2706
+ showValues: e?.showValues,
2707
+ showDots: e?.showDots,
2708
+ strokeWidth: e?.strokeWidth,
2709
+ fillShape: e?.fillShape,
2710
+ noOfTicks: e?.noOfTicks,
2711
+ showColorScale: e?.showColorScale,
2712
+ showNAColor: e?.showNAColor,
2713
+ highlightedLines: e?.highlightedLines,
2714
+ axisLabels: e?.axisLabels,
2715
+ curveType: e?.curveType,
2716
+ resetSelectionOnDoubleClick: e?.resetSelectionOnDoubleClick,
2717
+ graphDownload: e?.graphDownload,
2718
+ dataDownload: e?.dataDownload,
2719
+ tooltip: e?.tooltip,
2720
+ detailsOnClick: e?.detailsOnClick,
2721
+ language: e?.language,
2722
+ theme: e?.theme,
2723
+ graphID: e?.graphID,
2724
+ animate: e?.animate
2725
+ };
2726
+ default:
2727
+ return {};
2728
+ }
2729
+ }, u = h[t], p = g(t);
2730
+ return /* @__PURE__ */ I.jsx(
2731
+ "div",
2732
+ {
2733
+ className: `grow my-0 ${t !== "statCard" ? "mx-auto" : "mx-0"} flex flex-col h-inherit ${e?.width ? "w-fit" : "w-full"} ${t !== "unitChart" && t !== "statCard" ? "justify-center" : "justify-start"} ${e?.theme || "light"}`,
2734
+ style: { minHeight: "inherit" },
2735
+ children: u ? /* @__PURE__ */ I.jsx(u, { ...p }) : /* @__PURE__ */ I.jsx(
2736
+ U,
2737
+ {
2738
+ size: "sm",
2739
+ marginBottom: "none",
2740
+ className: "p-2 text-center text-accent-dark-red dark:text-accent-red",
2741
+ children: `Invalid chart type: ${t}`
2742
+ }
2743
+ )
2744
+ }
2745
+ );
2746
+ }
2747
+ function rt(o, e) {
2748
+ return e.findIndex((t) => t.chartConfigId === o) === -1 ? !1 : typeof e[e.findIndex((t) => t.chartConfigId === o)].columnId != "string";
2749
+ }
2750
+ export {
2751
+ Ba as G,
2752
+ ho as a,
2753
+ tt as b,
2754
+ rt as c,
2755
+ z as f,
2756
+ go as v,
2757
+ Pa as w
2758
+ };
2759
+ //# sourceMappingURL=checkIfMultiple-BB7PlCNh.js.map