@undp/data-viz 1.5.8 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AreaChart.cjs +1 -1
- package/dist/AreaChart.cjs.map +1 -1
- package/dist/AreaChart.d.ts +1 -0
- package/dist/AreaChart.js +420 -520
- package/dist/AreaChart.js.map +1 -1
- package/dist/Axis-CRyfcLjc.js +32 -0
- package/dist/Axis-CRyfcLjc.js.map +1 -0
- package/dist/Axis-DxRV2yMi.cjs +2 -0
- package/dist/Axis-DxRV2yMi.cjs.map +1 -0
- package/dist/AxisTitle-jeI7am8o.js +29 -0
- package/dist/AxisTitle-jeI7am8o.js.map +1 -0
- package/dist/AxisTitle-sS5bLLR7.cjs +2 -0
- package/dist/AxisTitle-sS5bLLR7.cjs.map +1 -0
- package/dist/BarGraph.cjs +1 -1
- package/dist/BarGraph.cjs.map +1 -1
- package/dist/BarGraph.d.ts +1 -0
- package/dist/BarGraph.js +2188 -4045
- package/dist/BarGraph.js.map +1 -1
- package/dist/BasicStatCard.cjs +1 -1
- package/dist/BasicStatCard.cjs.map +1 -1
- package/dist/BasicStatCard.d.ts +1 -0
- package/dist/BasicStatCard.js +120 -186
- package/dist/BasicStatCard.js.map +1 -1
- package/dist/BeeSwarmChart.cjs +1 -1
- package/dist/BeeSwarmChart.cjs.map +1 -1
- package/dist/BeeSwarmChart.d.ts +5 -0
- package/dist/BeeSwarmChart.js +501 -1019
- package/dist/BeeSwarmChart.js.map +1 -1
- package/dist/BiVariateChoroplethMap.cjs +1 -1
- package/dist/BiVariateChoroplethMap.cjs.map +1 -1
- package/dist/BiVariateChoroplethMap.d.ts +3 -0
- package/dist/BiVariateChoroplethMap.js +458 -706
- package/dist/BiVariateChoroplethMap.js.map +1 -1
- package/dist/BulletChart.cjs +1 -1
- package/dist/BulletChart.cjs.map +1 -1
- package/dist/BulletChart.d.ts +1 -0
- package/dist/BulletChart.js +863 -1414
- package/dist/BulletChart.js.map +1 -1
- package/dist/ButterflyChart.cjs +1 -1
- package/dist/ButterflyChart.cjs.map +1 -1
- package/dist/ButterflyChart.d.ts +1 -0
- package/dist/ButterflyChart.js +474 -684
- package/dist/ButterflyChart.js.map +1 -1
- package/dist/ChoroplethMap.cjs +1 -1
- package/dist/ChoroplethMap.cjs.map +1 -1
- package/dist/ChoroplethMap.d.ts +3 -0
- package/dist/ChoroplethMap.js +469 -731
- package/dist/ChoroplethMap.js.map +1 -1
- package/dist/CirclePackingGraph.cjs +1 -1
- package/dist/CirclePackingGraph.d.ts +1 -0
- package/dist/CirclePackingGraph.js +5 -4
- package/dist/CirclePackingGraph.js.map +1 -1
- package/dist/ColorLegend.cjs +1 -1
- package/dist/ColorLegend.cjs.map +1 -1
- package/dist/ColorLegend.js +57 -44
- package/dist/ColorLegend.js.map +1 -1
- package/dist/ColorLegendWithMouseOver.cjs +1 -1
- package/dist/ColorLegendWithMouseOver.cjs.map +1 -1
- package/dist/ColorLegendWithMouseOver.js +60 -65
- package/dist/ColorLegendWithMouseOver.js.map +1 -1
- package/dist/Colors.cjs.map +1 -1
- package/dist/Colors.js +44 -430
- package/dist/Colors.js.map +1 -1
- package/dist/CopyTextButton.cjs +4 -4
- package/dist/CopyTextButton.cjs.map +1 -1
- package/dist/CopyTextButton.js +537 -455
- package/dist/CopyTextButton.js.map +1 -1
- package/dist/CsvDownloadButton.cjs +7 -7
- package/dist/CsvDownloadButton.cjs.map +1 -1
- package/dist/CsvDownloadButton.js +442 -447
- package/dist/CsvDownloadButton.js.map +1 -1
- package/dist/DataCards.cjs +5 -5
- package/dist/DataCards.cjs.map +1 -1
- package/dist/DataCards.d.ts +1 -0
- package/dist/DataCards.js +488 -581
- package/dist/DataCards.js.map +1 -1
- package/dist/DataTable.cjs +1 -1
- package/dist/DataTable.cjs.map +1 -1
- package/dist/DataTable.d.ts +1 -0
- package/dist/DataTable.js +183 -326
- package/dist/DataTable.js.map +1 -1
- package/dist/DifferenceLineChart.cjs +1 -1
- package/dist/DifferenceLineChart.cjs.map +1 -1
- package/dist/DifferenceLineChart.d.ts +1 -0
- package/dist/DifferenceLineChart.js +729 -794
- package/dist/DifferenceLineChart.js.map +1 -1
- package/dist/DonutChart.cjs +1 -1
- package/dist/DonutChart.cjs.map +1 -1
- package/dist/DonutChart.d.ts +1 -4
- package/dist/DonutChart.js +260 -444
- package/dist/DonutChart.js.map +1 -1
- package/dist/DotDensityMap.cjs +1 -1
- package/dist/DotDensityMap.cjs.map +1 -1
- package/dist/DotDensityMap.d.ts +3 -0
- package/dist/DotDensityMap.js +388 -582
- package/dist/DotDensityMap.js.map +1 -1
- package/dist/{DropdownSelect-CtOKZHD0.js → DropdownSelect-BbdPQa2k.js} +1401 -1374
- package/dist/DropdownSelect-BbdPQa2k.js.map +1 -0
- package/dist/DropdownSelect-Doz3mCrM.cjs +29 -0
- package/dist/DropdownSelect-Doz3mCrM.cjs.map +1 -0
- package/dist/DualAxisLineChart.cjs +1 -1
- package/dist/DualAxisLineChart.cjs.map +1 -1
- package/dist/DualAxisLineChart.d.ts +1 -0
- package/dist/DualAxisLineChart.js +617 -712
- package/dist/DualAxisLineChart.js.map +1 -1
- package/dist/DumbbellChart.cjs +1 -1
- package/dist/DumbbellChart.cjs.map +1 -1
- package/dist/DumbbellChart.d.ts +1 -0
- package/dist/DumbbellChart.js +789 -1499
- package/dist/DumbbellChart.js.map +1 -1
- package/dist/EmptyState-BZo1BbAn.js +15 -0
- package/dist/{EmptyState-DdTp-Mdn.js.map → EmptyState-BZo1BbAn.js.map} +1 -1
- package/dist/EmptyState-sAEZ_5rU.cjs +2 -0
- package/dist/{EmptyState-d8_8SxeW.cjs.map → EmptyState-sAEZ_5rU.cjs.map} +1 -1
- package/dist/ExcelDownloadButton.cjs +1 -1
- package/dist/ExcelDownloadButton.cjs.map +1 -1
- package/dist/ExcelDownloadButton.js +20 -24
- package/dist/ExcelDownloadButton.js.map +1 -1
- package/dist/FootNote.cjs +1 -1
- package/dist/FootNote.cjs.map +1 -1
- package/dist/FootNote.js +26 -17
- package/dist/FootNote.js.map +1 -1
- package/dist/GeoHubCompareMaps.cjs +1 -1
- package/dist/GeoHubCompareMaps.cjs.map +1 -1
- package/dist/GeoHubCompareMaps.d.ts +1 -0
- package/dist/GeoHubCompareMaps.js +264 -354
- package/dist/GeoHubCompareMaps.js.map +1 -1
- package/dist/GeoHubMap.cjs +1 -1
- package/dist/GeoHubMap.cjs.map +1 -1
- package/dist/GeoHubMap.d.ts +1 -0
- package/dist/GeoHubMap.js +214 -409
- package/dist/GeoHubMap.js.map +1 -1
- package/dist/GeoHubMapWithLayerSelection.cjs +1 -1
- package/dist/GeoHubMapWithLayerSelection.cjs.map +1 -1
- package/dist/GeoHubMapWithLayerSelection.d.ts +1 -0
- package/dist/GeoHubMapWithLayerSelection.js +192 -293
- package/dist/GeoHubMapWithLayerSelection.js.map +1 -1
- package/dist/GraphContainer-CRqzdKu2.js +78 -0
- package/dist/GraphContainer-CRqzdKu2.js.map +1 -0
- package/dist/GraphContainer-d8A46BK2.cjs +2 -0
- package/dist/GraphContainer-d8A46BK2.cjs.map +1 -0
- package/dist/GraphDescription.cjs +1 -1
- package/dist/GraphDescription.cjs.map +1 -1
- package/dist/GraphDescription.js +23 -17
- package/dist/GraphDescription.js.map +1 -1
- package/dist/GraphEl-BkyLYXG5.cjs +2 -0
- package/dist/GraphEl-BkyLYXG5.cjs.map +1 -0
- package/dist/{GraphEl-CqWzvOyr.js → GraphEl-DzRon4cb.js} +184 -202
- package/dist/GraphEl-DzRon4cb.js.map +1 -0
- package/dist/GraphFooter.cjs +1 -1
- package/dist/GraphFooter.cjs.map +1 -1
- package/dist/GraphFooter.js +28 -18
- package/dist/GraphFooter.js.map +1 -1
- package/dist/GraphHeader.cjs +1 -1
- package/dist/GraphHeader.cjs.map +1 -1
- package/dist/GraphHeader.d.ts +2 -1
- package/dist/GraphHeader.js +45 -59
- package/dist/GraphHeader.js.map +1 -1
- package/dist/GraphTitle.cjs +1 -1
- package/dist/GraphTitle.cjs.map +1 -1
- package/dist/GraphTitle.js +29 -24
- package/dist/GraphTitle.js.map +1 -1
- package/dist/GriddedGraphs.cjs +1 -1
- package/dist/GriddedGraphs.cjs.map +1 -1
- package/dist/GriddedGraphs.d.ts +2 -0
- package/dist/GriddedGraphs.js +216 -450
- package/dist/GriddedGraphs.js.map +1 -1
- package/dist/GriddedGraphsFromConfig.cjs +1 -1
- package/dist/GriddedGraphsFromConfig.cjs.map +1 -1
- package/dist/GriddedGraphsFromConfig.d.ts +2 -0
- package/dist/GriddedGraphsFromConfig.js +22 -36
- package/dist/GriddedGraphsFromConfig.js.map +1 -1
- package/dist/HeatMap.cjs +1 -1
- package/dist/HeatMap.cjs.map +1 -1
- package/dist/HeatMap.d.ts +1 -0
- package/dist/HeatMap.js +278 -446
- package/dist/HeatMap.js.map +1 -1
- package/dist/Histogram.cjs +1 -1
- package/dist/Histogram.cjs.map +1 -1
- package/dist/Histogram.d.ts +1 -0
- package/dist/Histogram.js +154 -264
- package/dist/Histogram.js.map +1 -1
- package/dist/ImageDownloadButton.cjs +1 -1
- package/dist/ImageDownloadButton.cjs.map +1 -1
- package/dist/ImageDownloadButton.d.ts +2 -1
- package/dist/ImageDownloadButton.js +21 -25
- package/dist/ImageDownloadButton.js.map +1 -1
- package/dist/LineChartWithConfidenceInterval.cjs +1 -1
- package/dist/LineChartWithConfidenceInterval.cjs.map +1 -1
- package/dist/LineChartWithConfidenceInterval.d.ts +1 -0
- package/dist/LineChartWithConfidenceInterval.js +674 -825
- package/dist/LineChartWithConfidenceInterval.js.map +1 -1
- package/dist/LinearColorLegend.cjs +1 -1
- package/dist/LinearColorLegend.cjs.map +1 -1
- package/dist/LinearColorLegend.js +49 -30
- package/dist/LinearColorLegend.js.map +1 -1
- package/dist/Modal-DGcuAHyK.js +1047 -0
- package/dist/Modal-DGcuAHyK.js.map +1 -0
- package/dist/Modal-JW_IExO3.cjs +46 -0
- package/dist/Modal-JW_IExO3.cjs.map +1 -0
- package/dist/MultiGraphDashboard.cjs +1 -1
- package/dist/MultiGraphDashboard.cjs.map +1 -1
- package/dist/MultiGraphDashboard.d.ts +2 -0
- package/dist/MultiGraphDashboard.js +122 -290
- package/dist/MultiGraphDashboard.js.map +1 -1
- package/dist/MultiGraphDashboardFromConfig.cjs +1 -1
- package/dist/MultiGraphDashboardFromConfig.cjs.map +1 -1
- package/dist/MultiGraphDashboardFromConfig.d.ts +2 -0
- package/dist/MultiGraphDashboardFromConfig.js +22 -31
- package/dist/MultiGraphDashboardFromConfig.js.map +1 -1
- package/dist/MultiGraphDashboardWideToLongFormat.cjs +1 -1
- package/dist/MultiGraphDashboardWideToLongFormat.cjs.map +1 -1
- package/dist/MultiGraphDashboardWideToLongFormat.d.ts +1 -0
- package/dist/MultiGraphDashboardWideToLongFormat.js +137 -223
- package/dist/MultiGraphDashboardWideToLongFormat.js.map +1 -1
- package/dist/MultiGraphDashboardWideToLongFormatFromConfig.cjs +1 -1
- package/dist/MultiGraphDashboardWideToLongFormatFromConfig.cjs.map +1 -1
- package/dist/MultiGraphDashboardWideToLongFormatFromConfig.d.ts +1 -0
- package/dist/MultiGraphDashboardWideToLongFormatFromConfig.js +25 -27
- package/dist/MultiGraphDashboardWideToLongFormatFromConfig.js.map +1 -1
- package/dist/MultiLineAltChart.cjs +1 -1
- package/dist/MultiLineAltChart.cjs.map +1 -1
- package/dist/MultiLineAltChart.d.ts +1 -0
- package/dist/MultiLineAltChart.js +581 -659
- package/dist/MultiLineAltChart.js.map +1 -1
- package/dist/MultiLineChart.cjs +1 -1
- package/dist/MultiLineChart.cjs.map +1 -1
- package/dist/MultiLineChart.d.ts +1 -0
- package/dist/MultiLineChart.js +617 -725
- package/dist/MultiLineChart.js.map +1 -1
- package/dist/ParetoChart.cjs +1 -1
- package/dist/ParetoChart.cjs.map +1 -1
- package/dist/ParetoChart.d.ts +1 -0
- package/dist/ParetoChart.js +531 -635
- package/dist/ParetoChart.js.map +1 -1
- package/dist/PerformanceIntensiveMultiGraphDashboard.cjs +1 -1
- package/dist/PerformanceIntensiveMultiGraphDashboard.cjs.map +1 -1
- package/dist/PerformanceIntensiveMultiGraphDashboard.d.ts +2 -0
- package/dist/PerformanceIntensiveMultiGraphDashboard.js +147 -338
- package/dist/PerformanceIntensiveMultiGraphDashboard.js.map +1 -1
- package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.cjs +1 -1
- package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.cjs.map +1 -1
- package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.d.ts +2 -0
- package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.js +22 -31
- package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.js.map +1 -1
- package/dist/PerformanceIntensiveScrollStory.cjs +1 -1
- package/dist/PerformanceIntensiveScrollStory.cjs.map +1 -1
- package/dist/PerformanceIntensiveScrollStory.d.ts +2 -0
- package/dist/PerformanceIntensiveScrollStory.js +93 -114
- package/dist/PerformanceIntensiveScrollStory.js.map +1 -1
- package/dist/RadarChart.cjs +1 -1
- package/dist/RadarChart.cjs.map +1 -1
- package/dist/RadarChart.d.ts +1 -0
- package/dist/RadarChart.js +426 -575
- package/dist/RadarChart.js.map +1 -1
- package/dist/ReferenceLine-2XCwHXQ4.js +162 -0
- package/dist/ReferenceLine-2XCwHXQ4.js.map +1 -0
- package/dist/ReferenceLine-BH0qdf4R.cjs +2 -0
- package/dist/ReferenceLine-BH0qdf4R.cjs.map +1 -0
- package/dist/RegressionLine-BOTTNSrr.cjs +2 -0
- package/dist/RegressionLine-BOTTNSrr.cjs.map +1 -0
- package/dist/RegressionLine-DAcY2DjT.js +87 -0
- package/dist/RegressionLine-DAcY2DjT.js.map +1 -0
- package/dist/SVGDownloadButton.cjs +1 -1
- package/dist/SVGDownloadButton.cjs.map +1 -1
- package/dist/SVGDownloadButton.js +21 -25
- package/dist/SVGDownloadButton.js.map +1 -1
- package/dist/SankeyChart.cjs +1 -1
- package/dist/SankeyChart.cjs.map +1 -1
- package/dist/SankeyChart.d.ts +1 -0
- package/dist/SankeyChart.js +665 -854
- package/dist/SankeyChart.js.map +1 -1
- package/dist/ScatterPlot.cjs +1 -1
- package/dist/ScatterPlot.cjs.map +1 -1
- package/dist/ScatterPlot.d.ts +1 -0
- package/dist/ScatterPlot.js +675 -815
- package/dist/ScatterPlot.js.map +1 -1
- package/dist/ScrollStory.cjs +1 -1
- package/dist/ScrollStory.cjs.map +1 -1
- package/dist/ScrollStory.d.ts +2 -0
- package/dist/ScrollStory.js +85 -97
- package/dist/ScrollStory.js.map +1 -1
- package/dist/SimpleLineChart.cjs +1 -1
- package/dist/SimpleLineChart.cjs.map +1 -1
- package/dist/SimpleLineChart.d.ts +1 -0
- package/dist/SimpleLineChart.js +504 -613
- package/dist/SimpleLineChart.js.map +1 -1
- package/dist/SingleGraphDashboard.cjs +1 -1
- package/dist/SingleGraphDashboard.cjs.map +1 -1
- package/dist/SingleGraphDashboard.d.ts +3 -1
- package/dist/SingleGraphDashboard.js +279 -507
- package/dist/SingleGraphDashboard.js.map +1 -1
- package/dist/SingleGraphDashboardFromConfig.cjs +1 -1
- package/dist/SingleGraphDashboardFromConfig.cjs.map +1 -1
- package/dist/SingleGraphDashboardFromConfig.d.ts +3 -1
- package/dist/SingleGraphDashboardFromConfig.js +25 -31
- package/dist/SingleGraphDashboardFromConfig.js.map +1 -1
- package/dist/SingleGraphDashboardGeoHubMaps.cjs +1 -1
- package/dist/SingleGraphDashboardGeoHubMaps.cjs.map +1 -1
- package/dist/SingleGraphDashboardGeoHubMaps.d.ts +2 -0
- package/dist/SingleGraphDashboardGeoHubMaps.js +146 -168
- package/dist/SingleGraphDashboardGeoHubMaps.js.map +1 -1
- package/dist/SingleGraphDashboardGeoHubMapsFromConfig.cjs +1 -1
- package/dist/SingleGraphDashboardGeoHubMapsFromConfig.cjs.map +1 -1
- package/dist/SingleGraphDashboardGeoHubMapsFromConfig.d.ts +2 -0
- package/dist/SingleGraphDashboardGeoHubMapsFromConfig.js +25 -21
- package/dist/SingleGraphDashboardGeoHubMapsFromConfig.js.map +1 -1
- package/dist/SingleGraphDashboardThreeDGraphs.cjs +1 -1
- package/dist/SingleGraphDashboardThreeDGraphs.cjs.map +1 -1
- package/dist/SingleGraphDashboardThreeDGraphs.d.ts +2 -0
- package/dist/SingleGraphDashboardThreeDGraphs.js +356 -589
- package/dist/SingleGraphDashboardThreeDGraphs.js.map +1 -1
- package/dist/SingleGraphDashboardThreeDGraphsFromConfig.cjs +1 -1
- package/dist/SingleGraphDashboardThreeDGraphsFromConfig.cjs.map +1 -1
- package/dist/SingleGraphDashboardThreeDGraphsFromConfig.d.ts +2 -0
- package/dist/SingleGraphDashboardThreeDGraphsFromConfig.js +25 -31
- package/dist/SingleGraphDashboardThreeDGraphsFromConfig.js.map +1 -1
- package/dist/SlopeChart.cjs +1 -1
- package/dist/SlopeChart.cjs.map +1 -1
- package/dist/SlopeChart.d.ts +1 -0
- package/dist/SlopeChart.js +539 -573
- package/dist/SlopeChart.js.map +1 -1
- package/dist/Source-DYMJRrsq.cjs +2 -0
- package/dist/Source-DYMJRrsq.cjs.map +1 -0
- package/dist/Source-DwTHB8fn.js +78 -0
- package/dist/Source-DwTHB8fn.js.map +1 -0
- package/dist/Source.cjs +1 -1
- package/dist/Source.cjs.map +1 -1
- package/dist/Source.js +4 -38
- package/dist/Source.js.map +1 -1
- package/dist/SparkLine.cjs +1 -1
- package/dist/SparkLine.cjs.map +1 -1
- package/dist/SparkLine.d.ts +1 -0
- package/dist/SparkLine.js +286 -314
- package/dist/SparkLine.js.map +1 -1
- package/dist/Spinner-D7rnnwnA.js +47 -0
- package/dist/Spinner-D7rnnwnA.js.map +1 -0
- package/dist/Spinner-DRMBUsX7.cjs +2 -0
- package/dist/Spinner-DRMBUsX7.cjs.map +1 -0
- package/dist/StatCardFromData.cjs +1 -1
- package/dist/StatCardFromData.cjs.map +1 -1
- package/dist/StatCardFromData.d.ts +1 -0
- package/dist/StatCardFromData.js +163 -243
- package/dist/StatCardFromData.js.map +1 -1
- package/dist/StripChart.cjs +1 -1
- package/dist/StripChart.cjs.map +1 -1
- package/dist/StripChart.d.ts +1 -0
- package/dist/StripChart.js +665 -983
- package/dist/StripChart.js.map +1 -1
- package/dist/ThreeDGlobe.cjs +1 -1
- package/dist/ThreeDGlobe.cjs.map +1 -1
- package/dist/ThreeDGlobe.d.ts +3 -0
- package/dist/ThreeDGlobe.js +355 -526
- package/dist/ThreeDGlobe.js.map +1 -1
- package/dist/ThresholdColorLegendWithMouseOver.cjs +1 -1
- package/dist/ThresholdColorLegendWithMouseOver.cjs.map +1 -1
- package/dist/ThresholdColorLegendWithMouseOver.js +96 -126
- package/dist/ThresholdColorLegendWithMouseOver.js.map +1 -1
- package/dist/Tooltip-4dJo4_AF.cjs +2 -0
- package/dist/Tooltip-4dJo4_AF.cjs.map +1 -0
- package/dist/Tooltip-CwWUegPB.js +43 -0
- package/dist/Tooltip-CwWUegPB.js.map +1 -0
- package/dist/TreeMapGraph.cjs +1 -1
- package/dist/TreeMapGraph.cjs.map +1 -1
- package/dist/TreeMapGraph.d.ts +1 -0
- package/dist/TreeMapGraph.js +479 -617
- package/dist/TreeMapGraph.js.map +1 -1
- package/dist/Types.d.ts +2 -0
- package/dist/Typography-DX7PlgQU.cjs +2 -0
- package/dist/Typography-DX7PlgQU.cjs.map +1 -0
- package/dist/Typography-PxtFcnJb.js +142 -0
- package/dist/Typography-PxtFcnJb.js.map +1 -0
- package/dist/UnitChart.cjs +1 -1
- package/dist/UnitChart.cjs.map +1 -1
- package/dist/UnitChart.d.ts +1 -0
- package/dist/UnitChart.js +160 -212
- package/dist/UnitChart.js.map +1 -1
- package/dist/XAxesLabels-D5X8jngD.cjs +2 -0
- package/dist/XAxesLabels-D5X8jngD.cjs.map +1 -0
- package/dist/XAxesLabels-DNO0KmjL.js +73 -0
- package/dist/XAxesLabels-DNO0KmjL.js.map +1 -0
- package/dist/XTicksAndGridLines-B6CELS7q.cjs +2 -0
- package/dist/XTicksAndGridLines-B6CELS7q.cjs.map +1 -0
- package/dist/XTicksAndGridLines-CObVFSm4.js +38 -0
- package/dist/XTicksAndGridLines-CObVFSm4.js.map +1 -0
- package/dist/YAxesLabels-DcS85Beo.cjs +2 -0
- package/dist/YAxesLabels-DcS85Beo.cjs.map +1 -0
- package/dist/YAxesLabels-Dnnng49-.js +70 -0
- package/dist/YAxesLabels-Dnnng49-.js.map +1 -0
- package/dist/YTicksAndGridLines-4pxTRlRK.cjs +2 -0
- package/dist/YTicksAndGridLines-4pxTRlRK.cjs.map +1 -0
- package/dist/YTicksAndGridLines-Blepl7XF.js +38 -0
- package/dist/YTicksAndGridLines-Blepl7XF.js.map +1 -0
- package/dist/{band-BEjh2CHI.js → band-CyHaVft5.js} +3 -3
- package/dist/{band-BEjh2CHI.js.map → band-CyHaVft5.js.map} +1 -1
- package/dist/{band-CAApY4Pd.cjs → band-VYfcZeJ2.cjs} +2 -2
- package/dist/{band-CAApY4Pd.cjs.map → band-VYfcZeJ2.cjs.map} +1 -1
- package/dist/checkIfMultiple-Y9iKaV_u.js +950 -0
- package/dist/checkIfMultiple-Y9iKaV_u.js.map +1 -0
- package/dist/checkIfMultiple-wg6hJLXy.cjs +12 -0
- package/dist/checkIfMultiple-wg6hJLXy.cjs.map +1 -0
- package/dist/customArea-BUhPiPT6.js +163 -0
- package/dist/{customArea-B-dWU0zZ.js.map → customArea-BUhPiPT6.js.map} +1 -1
- package/dist/customArea-CMF5g-C3.cjs +2 -0
- package/dist/{customArea-CK768gCn.cjs.map → customArea-CMF5g-C3.cjs.map} +1 -1
- package/dist/delaunay-C1uAf38t.js.map +1 -1
- package/dist/delaunay-rcy0HhZi.cjs.map +1 -1
- package/dist/{ensureCompleteData-DlmibgaI.js → ensureCompleteData-DNKEGRiP.js} +12 -32
- package/dist/{ensureCompleteData-DlmibgaI.js.map → ensureCompleteData-DNKEGRiP.js.map} +1 -1
- package/dist/{ensureCompleteData-DkQYPeDa.cjs → ensureCompleteData-I6nYmT8E.cjs} +2 -2
- package/dist/{ensureCompleteData-DkQYPeDa.cjs.map → ensureCompleteData-I6nYmT8E.cjs.map} +1 -1
- package/dist/{excelDownload-BOA-lskf.js → excelDownload-BEC1AyQW.js} +12 -2
- package/dist/{excelDownload-BOA-lskf.js.map → excelDownload-BEC1AyQW.js.map} +1 -1
- package/dist/excelDownload-BQpsCa62.cjs.map +1 -1
- package/dist/{fetchAndParseData-sapWbnYk.js → fetchAndParseData-BpqkBPQL.js} +15 -28
- package/dist/{fetchAndParseData-sapWbnYk.js.map → fetchAndParseData-BpqkBPQL.js.map} +1 -1
- package/dist/fetchAndParseData-l5HGMAEs.cjs +16 -0
- package/dist/{fetchAndParseData-Ba-_CgxS.cjs.map → fetchAndParseData-l5HGMAEs.cjs.map} +1 -1
- package/dist/fetchAndParseData.cjs +1 -1
- package/dist/fetchAndParseData.js +1 -1
- package/dist/{filterData-9nEcQ-Jp.js → filterData-DsAiFzKY.js} +3 -5
- package/dist/{filterData-9nEcQ-Jp.js.map → filterData-DsAiFzKY.js.map} +1 -1
- package/dist/{filterData-BoYadk0l.cjs → filterData-T5DQBE9b.cjs} +2 -2
- package/dist/{filterData-BoYadk0l.cjs.map → filterData-T5DQBE9b.cjs.map} +1 -1
- package/dist/generateRandomString-B5zBiJzS.cjs.map +1 -1
- package/dist/generateRandomString-za3IQGfQ.js.map +1 -1
- package/dist/{getCentroidCoordinates-Dfk6IqEG.js → getCentroidCoordinates-D7r34N4w.js} +2 -2
- package/dist/{getCentroidCoordinates-Dfk6IqEG.js.map → getCentroidCoordinates-D7r34N4w.js.map} +1 -1
- package/dist/{getCentroidCoordinates-DxTBqzp2.cjs → getCentroidCoordinates-Dng1HVjO.cjs} +2 -2
- package/dist/{getCentroidCoordinates-DxTBqzp2.cjs.map → getCentroidCoordinates-Dng1HVjO.cjs.map} +1 -1
- package/dist/getGraphList-BpEWn1Tk.js +227 -0
- package/dist/{getGraphList-DuColTJM.js.map → getGraphList-BpEWn1Tk.js.map} +1 -1
- package/dist/getGraphList-gf02xgT2.cjs.map +1 -1
- package/dist/getJenks-BbngDoBQ.js.map +1 -1
- package/dist/getJenks-GYmdwBqm.cjs.map +1 -1
- package/dist/getSchema.cjs.map +1 -1
- package/dist/getSchema.js +445 -231
- package/dist/getSchema.js.map +1 -1
- package/dist/getSliderMarks-BmADcPQt.cjs +6 -0
- package/dist/getSliderMarks-BmADcPQt.cjs.map +1 -0
- package/dist/getSliderMarks-HIDJ0_Cd.js +1033 -0
- package/dist/getSliderMarks-HIDJ0_Cd.js.map +1 -0
- package/dist/{getTextColorBasedOnBgColor-B6Nk2WBf.js → getTextColorBasedOnBgColor-CDY808zi.js} +11 -3
- package/dist/{getTextColorBasedOnBgColor-B6Nk2WBf.js.map → getTextColorBasedOnBgColor-CDY808zi.js.map} +1 -1
- package/dist/getTextColorBasedOnBgColor-nqY-bsM_.cjs.map +1 -1
- package/dist/{getUniqValue-DiCh_MOD.js → getUniqValue-BKHCm3zE.js} +2 -4
- package/dist/{getUniqValue-DiCh_MOD.js.map → getUniqValue-BKHCm3zE.js.map} +1 -1
- package/dist/getUniqValue-RViz8tTw.cjs.map +1 -1
- package/dist/{imageDownload-Dcci2LEy.js → imageDownload-BX6SILNZ.js} +4 -2
- package/dist/{imageDownload-Dcci2LEy.js.map → imageDownload-BX6SILNZ.js.map} +1 -1
- package/dist/imageDownload-CgDcm1Sj.cjs.map +1 -1
- package/dist/{index-DvVprvy6.js → index-BZQYSqar.js} +7 -7
- package/dist/{index-DvVprvy6.js.map → index-BZQYSqar.js.map} +1 -1
- package/dist/index-B_sAFsEV.cjs +2 -0
- package/dist/{index-BYzIB5V6.cjs.map → index-B_sAFsEV.cjs.map} +1 -1
- package/dist/index-BqfRwk1n.js +146 -0
- package/dist/index-BqfRwk1n.js.map +1 -0
- package/dist/{index-V_JXij1_.js → index-BuwmuDFJ.js} +3 -3
- package/dist/{index-V_JXij1_.js.map → index-BuwmuDFJ.js.map} +1 -1
- package/dist/index-CHPV5EwG-CTPQjnHt.cjs +84 -0
- package/dist/index-CHPV5EwG-CTPQjnHt.cjs.map +1 -0
- package/dist/{index-CHPV5EwG-BPSP-7Jg.js → index-CHPV5EwG-Curnpaqc.js} +937 -842
- package/dist/index-CHPV5EwG-Curnpaqc.js.map +1 -0
- package/dist/index-Cno4Q0YE.cjs +2 -0
- package/dist/{index-CQ3e6Ewi.cjs.map → index-Cno4Q0YE.cjs.map} +1 -1
- package/dist/{index-tvAyXPPW-DBlMKnNB.js → index-Cw8sCyo_-B2hEKjzG.js} +16 -16
- package/dist/{index-tvAyXPPW-DBlMKnNB.js.map → index-Cw8sCyo_-B2hEKjzG.js.map} +1 -1
- package/dist/index-Cw8sCyo_-BrHiWiRF.cjs +2 -0
- package/dist/index-Cw8sCyo_-BrHiWiRF.cjs.map +1 -0
- package/dist/index-CyZ1lmi_.cjs +2 -0
- package/dist/{index-D72cOtq7.cjs.map → index-CyZ1lmi_.cjs.map} +1 -1
- package/dist/index-D491FEn1.js +184 -0
- package/dist/index-D491FEn1.js.map +1 -0
- package/dist/index-DG2bgAva.cjs +10 -0
- package/dist/index-DG2bgAva.cjs.map +1 -0
- package/dist/index-DRXx7m-C.cjs +2 -0
- package/dist/index-DRXx7m-C.cjs.map +1 -0
- package/dist/index-DoY3Ga3W.cjs +2 -0
- package/dist/index-DoY3Ga3W.cjs.map +1 -0
- package/dist/index-DxXnJ8Ti.cjs +2 -0
- package/dist/index-DxXnJ8Ti.cjs.map +1 -0
- package/dist/{index-DG3YrCr5-D3FrrXj8.js → index-Dzc_aaI9-Bb7gobH_.js} +2 -2
- package/dist/{index-DG3YrCr5-D3FrrXj8.js.map → index-Dzc_aaI9-Bb7gobH_.js.map} +1 -1
- package/dist/{index-DG3YrCr5-v7rayV3N.cjs → index-Dzc_aaI9-BmkfPMyc.cjs} +2 -2
- package/dist/{index-DG3YrCr5-v7rayV3N.cjs.map → index-Dzc_aaI9-BmkfPMyc.cjs.map} +1 -1
- package/dist/{index-9tDEUqOZ.js → index-GEsywGxz.js} +9 -9
- package/dist/index-GEsywGxz.js.map +1 -0
- package/dist/index-SKgJALZg.js +99 -0
- package/dist/{index-DKCxu1Gh.js.map → index-SKgJALZg.js.map} +1 -1
- package/dist/index-leTnKT2q.js +329 -0
- package/dist/index-leTnKT2q.js.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +19 -8
- package/dist/index.js +13 -13
- package/dist/{init-BhZylTFx.js → init-BJFW6EwE.js} +3 -3
- package/dist/{init-BhZylTFx.js.map → init-BJFW6EwE.js.map} +1 -1
- package/dist/{linear-BVckp9RD.cjs → linear-BwPAspcq.cjs} +2 -2
- package/dist/{linear-BVckp9RD.cjs.map → linear-BwPAspcq.cjs.map} +1 -1
- package/dist/{linear-DUdu7l2G.js → linear-BwnDd9KF.js} +3 -3
- package/dist/{linear-DUdu7l2G.js.map → linear-BwnDd9KF.js.map} +1 -1
- package/dist/numberFormattingFunction-02t-wJta.cjs.map +1 -1
- package/dist/numberFormattingFunction-14YCbkN2.js.map +1 -1
- package/dist/{ordinal-BOeNbyae.cjs → ordinal-CrsysVE-.cjs} +2 -2
- package/dist/ordinal-CrsysVE-.cjs.map +1 -0
- package/dist/{ordinal-w9Lu4Stb.js → ordinal-P77xw8aL.js} +24 -24
- package/dist/ordinal-P77xw8aL.js.map +1 -0
- package/dist/{pow-e8zx3AQJ.js → pow-DE4c7dbW.js} +3 -3
- package/dist/{pow-e8zx3AQJ.js.map → pow-DE4c7dbW.js.map} +1 -1
- package/dist/{pow-B5-jkdHU.cjs → pow-DgrUorRi.cjs} +2 -2
- package/dist/{pow-B5-jkdHU.cjs.map → pow-DgrUorRi.cjs.map} +1 -1
- package/dist/{proxy-CkpFesk1.js → proxy-BxkFHwUw.js} +144 -134
- package/dist/proxy-BxkFHwUw.js.map +1 -0
- package/dist/proxy-BxvUI_9l.cjs +2 -0
- package/dist/proxy-BxvUI_9l.cjs.map +1 -0
- package/dist/{removeOutliers-DR48e-18.js → removeOutliers-BqW0sPqj.js} +2 -5
- package/dist/{removeOutliers-DR48e-18.js.map → removeOutliers-BqW0sPqj.js.map} +1 -1
- package/dist/removeOutliers-WELHHqiI.cjs.map +1 -1
- package/dist/{sort-DfK1b0F5.js → sort-BIvMlUH1.js} +5 -5
- package/dist/{sort-DfK1b0F5.js.map → sort-BIvMlUH1.js.map} +1 -1
- package/dist/{string-CRoCZCYa.cjs → string-C-kRh1bQ.cjs} +2 -2
- package/dist/{string-CRoCZCYa.cjs.map → string-C-kRh1bQ.cjs.map} +1 -1
- package/dist/{string-B8KlVSPX.js → string-C_xJ4Wg4.js} +3 -3
- package/dist/{string-B8KlVSPX.js.map → string-C_xJ4Wg4.js.map} +1 -1
- package/dist/string2HTML-CPGr_I5E.cjs +3 -0
- package/dist/{string2HTML-z7CwHXcx.cjs.map → string2HTML-CPGr_I5E.cjs.map} +1 -1
- package/dist/{string2HTML-oFCROsus.js → string2HTML-DhG75NqA.js} +15 -9
- package/dist/{string2HTML-oFCROsus.js.map → string2HTML-DhG75NqA.js.map} +1 -1
- package/dist/style.css +1 -1
- package/dist/{svgDownload-C2-E3yf2.js → svgDownload-BAoarWNt.js} +4 -2
- package/dist/{svgDownload-C2-E3yf2.js.map → svgDownload-BAoarWNt.js.map} +1 -1
- package/dist/svgDownload-D9zEGjTF.cjs.map +1 -1
- package/dist/{threshold-DFfqcDMa.js → threshold-Bgr20hik.js} +2 -2
- package/dist/{threshold-DFfqcDMa.js.map → threshold-Bgr20hik.js.map} +1 -1
- package/dist/{time-Byw_jYQ7.cjs → time-CZd5YLSP.cjs} +2 -2
- package/dist/{time-Byw_jYQ7.cjs.map → time-CZd5YLSP.cjs.map} +1 -1
- package/dist/{time-BzJP5SPC.js → time-DCCfQk3V.js} +3 -3
- package/dist/{time-BzJP5SPC.js.map → time-DCCfQk3V.js.map} +1 -1
- package/dist/transformData.cjs +1 -1
- package/dist/transformData.js +3 -3
- package/dist/transformDataForAggregation-CE3bAlHU.js +585 -0
- package/dist/{transformDataForAggregation-sBpdlX8n.js.map → transformDataForAggregation-CE3bAlHU.js.map} +1 -1
- package/dist/transformDataForAggregation-KXGm6flX.cjs.map +1 -1
- package/dist/transformDataForGraphFromFile-BExxcITV.js +14 -0
- package/dist/{transformDataForGraphFromFile-ComYvzuz.js.map → transformDataForGraphFromFile-BExxcITV.js.map} +1 -1
- package/dist/{transformDataForGraphFromFile-DVZodTHd.cjs → transformDataForGraphFromFile-DaJHQCsL.cjs} +2 -2
- package/dist/{transformDataForGraphFromFile-DVZodTHd.cjs.map → transformDataForGraphFromFile-DaJHQCsL.cjs.map} +1 -1
- package/dist/transformDataForSelect-D8AuvYdf.js.map +1 -1
- package/dist/transformDataForSelect-YmStusCI.cjs.map +1 -1
- package/dist/uniqBy-BHy4I8PK.js.map +1 -1
- package/dist/uniqBy-O05lp2S5.cjs.map +1 -1
- package/dist/{use-in-view-yS6jzJAp.js → use-in-view-Cxa7y1TH.js} +2 -2
- package/dist/use-in-view-Cxa7y1TH.js.map +1 -0
- package/dist/use-in-view-QcfiW0w3.cjs +2 -0
- package/dist/use-in-view-QcfiW0w3.cjs.map +1 -0
- package/dist/utils.cjs +1 -1
- package/dist/utils.js +8 -8
- package/dist/validateSchema.cjs.map +1 -1
- package/dist/validateSchema.js +33 -29
- package/dist/validateSchema.js.map +1 -1
- package/dist/{x-BBpi7a_7-Dz2vKSfu.cjs → x-BBpi7a_7-mTo40uId.cjs} +2 -2
- package/dist/{x-BBpi7a_7-Dz2vKSfu.cjs.map → x-BBpi7a_7-mTo40uId.cjs.map} +1 -1
- package/dist/{y-D0sAaVii.js → y-BqfogMAB.js} +3 -3
- package/dist/{y-D0sAaVii.js.map → y-BqfogMAB.js.map} +1 -1
- package/dist/{zoom-QipiAl5W.js → zoom-C9MFjAaV.js} +5 -5
- package/dist/{zoom-QipiAl5W.js.map → zoom-C9MFjAaV.js.map} +1 -1
- package/dist/zoom-DPw8bba-.cjs +2 -0
- package/dist/{zoom-BiMNsz72.cjs.map → zoom-DPw8bba-.cjs.map} +1 -1
- package/package.json +9 -8
- package/dist/Axis-DE7dSn1_.cjs +0 -2
- package/dist/Axis-DE7dSn1_.cjs.map +0 -1
- package/dist/Axis-Ddg-seDi.js +0 -43
- package/dist/Axis-Ddg-seDi.js.map +0 -1
- package/dist/AxisTitle-BmHLMRJZ.js +0 -20
- package/dist/AxisTitle-BmHLMRJZ.js.map +0 -1
- package/dist/AxisTitle-CK9YeovX.cjs +0 -2
- package/dist/AxisTitle-CK9YeovX.cjs.map +0 -1
- package/dist/DropdownSelect-CtOKZHD0.js.map +0 -1
- package/dist/DropdownSelect-DBDM64B5.cjs +0 -29
- package/dist/DropdownSelect-DBDM64B5.cjs.map +0 -1
- package/dist/EmptyState-DdTp-Mdn.js +0 -22
- package/dist/EmptyState-d8_8SxeW.cjs +0 -2
- package/dist/GraphEl-C6yjl1VM.cjs +0 -2
- package/dist/GraphEl-C6yjl1VM.cjs.map +0 -1
- package/dist/GraphEl-CqWzvOyr.js.map +0 -1
- package/dist/Modal-DVVwpKhP.js +0 -1019
- package/dist/Modal-DVVwpKhP.js.map +0 -1
- package/dist/Modal-tXZlLE5s.cjs +0 -46
- package/dist/Modal-tXZlLE5s.cjs.map +0 -1
- package/dist/ReferenceLine-CFVBBN__.cjs +0 -2
- package/dist/ReferenceLine-CFVBBN__.cjs.map +0 -1
- package/dist/ReferenceLine-CfAW3vKJ.js +0 -128
- package/dist/ReferenceLine-CfAW3vKJ.js.map +0 -1
- package/dist/RegressionLine-C2--oMQq.js +0 -49
- package/dist/RegressionLine-C2--oMQq.js.map +0 -1
- package/dist/RegressionLine-Dj0GSiAp.cjs +0 -2
- package/dist/RegressionLine-Dj0GSiAp.cjs.map +0 -1
- package/dist/Spinner-C85UF28E.js +0 -30
- package/dist/Spinner-C85UF28E.js.map +0 -1
- package/dist/Spinner-DA6Z5E4n.cjs +0 -2
- package/dist/Spinner-DA6Z5E4n.cjs.map +0 -1
- package/dist/Tooltip-CVCGWyzw.js +0 -46
- package/dist/Tooltip-CVCGWyzw.js.map +0 -1
- package/dist/Tooltip-De16GWhY.cjs +0 -2
- package/dist/Tooltip-De16GWhY.cjs.map +0 -1
- package/dist/Typography-Ctgfl1J5.js +0 -140
- package/dist/Typography-Ctgfl1J5.js.map +0 -1
- package/dist/Typography-k-kOjICQ.cjs +0 -2
- package/dist/Typography-k-kOjICQ.cjs.map +0 -1
- package/dist/XAxesLabels-Drf7M3YK.cjs +0 -2
- package/dist/XAxesLabels-Drf7M3YK.cjs.map +0 -1
- package/dist/XAxesLabels-loO78vUO.js +0 -57
- package/dist/XAxesLabels-loO78vUO.js.map +0 -1
- package/dist/XTicksAndGridLines-Bn9u5gOM.js +0 -56
- package/dist/XTicksAndGridLines-Bn9u5gOM.js.map +0 -1
- package/dist/XTicksAndGridLines-CCzXIV8d.cjs +0 -2
- package/dist/XTicksAndGridLines-CCzXIV8d.cjs.map +0 -1
- package/dist/YAxesLabels-DECkMgq8.js +0 -52
- package/dist/YAxesLabels-DECkMgq8.js.map +0 -1
- package/dist/YAxesLabels-yRFFdx1s.cjs +0 -2
- package/dist/YAxesLabels-yRFFdx1s.cjs.map +0 -1
- package/dist/YTicksAndGridLines-B6ah7CRf.js +0 -56
- package/dist/YTicksAndGridLines-B6ah7CRf.js.map +0 -1
- package/dist/YTicksAndGridLines-DBDuz6vb.cjs +0 -2
- package/dist/YTicksAndGridLines-DBDuz6vb.cjs.map +0 -1
- package/dist/checkIfMultiple-BXbHUCWM.cjs +0 -12
- package/dist/checkIfMultiple-BXbHUCWM.cjs.map +0 -1
- package/dist/checkIfMultiple-ChTJk2Tk.js +0 -912
- package/dist/checkIfMultiple-ChTJk2Tk.js.map +0 -1
- package/dist/customArea-B-dWU0zZ.js +0 -175
- package/dist/customArea-CK768gCn.cjs +0 -2
- package/dist/fetchAndParseData-Ba-_CgxS.cjs +0 -16
- package/dist/getGraphList-DuColTJM.js +0 -265
- package/dist/getSliderMarks-9cNoRkDx.js +0 -1023
- package/dist/getSliderMarks-9cNoRkDx.js.map +0 -1
- package/dist/getSliderMarks-CRIbTGYV.cjs +0 -6
- package/dist/getSliderMarks-CRIbTGYV.cjs.map +0 -1
- package/dist/index-37q0ULNQ.js +0 -430
- package/dist/index-37q0ULNQ.js.map +0 -1
- package/dist/index-9tDEUqOZ.js.map +0 -1
- package/dist/index-BW8iNx7E.cjs +0 -10
- package/dist/index-BW8iNx7E.cjs.map +0 -1
- package/dist/index-BW_-wD2k.cjs +0 -2
- package/dist/index-BW_-wD2k.cjs.map +0 -1
- package/dist/index-BYzIB5V6.cjs +0 -2
- package/dist/index-BmCqpO1B.js +0 -342
- package/dist/index-BmCqpO1B.js.map +0 -1
- package/dist/index-CHPV5EwG-BPSP-7Jg.js.map +0 -1
- package/dist/index-CHPV5EwG-DDoeWRVt.cjs +0 -44
- package/dist/index-CHPV5EwG-DDoeWRVt.cjs.map +0 -1
- package/dist/index-CNvov0eg.js +0 -122
- package/dist/index-CNvov0eg.js.map +0 -1
- package/dist/index-CQ3e6Ewi.cjs +0 -2
- package/dist/index-CVlCtJbC.cjs +0 -2
- package/dist/index-CVlCtJbC.cjs.map +0 -1
- package/dist/index-CoZbeNM9.cjs +0 -2
- package/dist/index-CoZbeNM9.cjs.map +0 -1
- package/dist/index-D72cOtq7.cjs +0 -2
- package/dist/index-DKCxu1Gh.js +0 -77
- package/dist/index-tvAyXPPW-DPOG-C2i.cjs +0 -2
- package/dist/index-tvAyXPPW-DPOG-C2i.cjs.map +0 -1
- package/dist/ordinal-BOeNbyae.cjs.map +0 -1
- package/dist/ordinal-w9Lu4Stb.js.map +0 -1
- package/dist/proxy-BHRoeZgd.cjs +0 -2
- package/dist/proxy-BHRoeZgd.cjs.map +0 -1
- package/dist/proxy-CkpFesk1.js.map +0 -1
- package/dist/string2HTML-z7CwHXcx.cjs +0 -3
- package/dist/transformDataForAggregation-sBpdlX8n.js +0 -755
- package/dist/transformDataForGraphFromFile-ComYvzuz.js +0 -24
- package/dist/use-in-view-sQJZ_xDO.cjs +0 -2
- package/dist/use-in-view-sQJZ_xDO.cjs.map +0 -1
- package/dist/use-in-view-yS6jzJAp.js.map +0 -1
- package/dist/zoom-BiMNsz72.cjs +0 -2
|
@@ -1,723 +1,475 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import { useState as
|
|
3
|
-
import { g as
|
|
4
|
-
import {
|
|
5
|
-
import { p as
|
|
6
|
-
import { i as
|
|
7
|
-
import { z as
|
|
8
|
-
import { t as
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { n as
|
|
12
|
-
import { T as
|
|
13
|
-
import { s as
|
|
14
|
-
import { c as
|
|
15
|
-
import { X as
|
|
16
|
-
import { s as
|
|
17
|
-
import { t as
|
|
18
|
-
import { u as
|
|
19
|
-
import { m as
|
|
20
|
-
import { A as
|
|
21
|
-
import { GraphHeader as
|
|
22
|
-
import { GraphFooter as
|
|
23
|
-
import { Colors as
|
|
24
|
-
import { f as
|
|
25
|
-
import { g as
|
|
26
|
-
import { u as
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
|
|
1
|
+
import { j as o, m as ue, c as ge } from "./index-CHPV5EwG-Curnpaqc.js";
|
|
2
|
+
import { useState as N, useRef as Pt, useEffect as qt, useEffectEvent as fe } from "react";
|
|
3
|
+
import { g as ye, N as xe } from "./getSliderMarks-HIDJ0_Cd.js";
|
|
4
|
+
import { w as ve } from "./Spinner-D7rnnwnA.js";
|
|
5
|
+
import { p as be, f as ke } from "./parse-DlCRUFh_.js";
|
|
6
|
+
import { i as we } from "./index-Bwrro8-q.js";
|
|
7
|
+
import { z as je, t as Ce, g as $e, a as De, b as Ne, c as Se, d as Me } from "./zoom-C9MFjAaV.js";
|
|
8
|
+
import { t as Ee } from "./index-GEsywGxz.js";
|
|
9
|
+
import { l as Oe } from "./Modal-DGcuAHyK.js";
|
|
10
|
+
import { j as ne } from "./Typography-PxtFcnJb.js";
|
|
11
|
+
import { n as se } from "./numberFormattingFunction-14YCbkN2.js";
|
|
12
|
+
import { T as Le } from "./Tooltip-CwWUegPB.js";
|
|
13
|
+
import { s as Pe } from "./string2HTML-DhG75NqA.js";
|
|
14
|
+
import { c as le } from "./checkIfNullOrUndefined-DmfiKkNw.js";
|
|
15
|
+
import { X as Ie, P as ze, e as _e } from "./index-D491FEn1.js";
|
|
16
|
+
import { s as re } from "./select-DKy99ogv.js";
|
|
17
|
+
import { t as ce } from "./threshold-Bgr20hik.js";
|
|
18
|
+
import { u as We } from "./use-in-view-Cxa7y1TH.js";
|
|
19
|
+
import { m as Lt } from "./proxy-BxkFHwUw.js";
|
|
20
|
+
import { A as Be } from "./index-BqfRwk1n.js";
|
|
21
|
+
import { GraphHeader as Ae } from "./GraphHeader.js";
|
|
22
|
+
import { GraphFooter as Te } from "./GraphFooter.js";
|
|
23
|
+
import { Colors as ae } from "./Colors.js";
|
|
24
|
+
import { f as Fe } from "./fetchAndParseData-BpqkBPQL.js";
|
|
25
|
+
import { g as de } from "./getJenks-BbngDoBQ.js";
|
|
26
|
+
import { u as Ve } from "./uniqBy-BHy4I8PK.js";
|
|
27
|
+
import { a as He, G as Ge } from "./GraphContainer-CRqzdKu2.js";
|
|
28
|
+
import { s as Re } from "./sort-BIvMlUH1.js";
|
|
29
|
+
import { a as Ue } from "./init-BJFW6EwE.js";
|
|
30
|
+
function Xe(d) {
|
|
30
31
|
const {
|
|
31
|
-
data:
|
|
32
|
-
xDomain:
|
|
33
|
-
mapData:
|
|
34
|
-
xColorLegendTitle:
|
|
35
|
-
yDomain:
|
|
36
|
-
yColorLegendTitle:
|
|
37
|
-
width:
|
|
38
|
-
height:
|
|
39
|
-
colors:
|
|
40
|
-
scale:
|
|
41
|
-
centerPoint:
|
|
42
|
-
mapBorderWidth:
|
|
43
|
-
mapNoDataColor:
|
|
44
|
-
mapBorderColor:
|
|
45
|
-
tooltip:
|
|
46
|
-
onSeriesMouseOver:
|
|
47
|
-
zoomScaleExtend:
|
|
48
|
-
zoomTranslateExtend:
|
|
49
|
-
highlightedIds:
|
|
50
|
-
onSeriesMouseClick:
|
|
51
|
-
mapProperty:
|
|
52
|
-
resetSelectionOnDoubleClick:
|
|
53
|
-
detailsOnClick:
|
|
54
|
-
showColorScale:
|
|
55
|
-
styles:
|
|
56
|
-
classNames:
|
|
57
|
-
mapProjection:
|
|
58
|
-
zoomInteraction:
|
|
59
|
-
animate:
|
|
60
|
-
dimmedOpacity:
|
|
61
|
-
customLayers:
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
if (
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
).filter(r).on("zoom", ({ transform: a }) => {
|
|
78
|
-
e.attr("transform", a);
|
|
32
|
+
data: t,
|
|
33
|
+
xDomain: k,
|
|
34
|
+
mapData: C,
|
|
35
|
+
xColorLegendTitle: It,
|
|
36
|
+
yDomain: tt,
|
|
37
|
+
yColorLegendTitle: et,
|
|
38
|
+
width: w,
|
|
39
|
+
height: f,
|
|
40
|
+
colors: m,
|
|
41
|
+
scale: zt,
|
|
42
|
+
centerPoint: $,
|
|
43
|
+
mapBorderWidth: S,
|
|
44
|
+
mapNoDataColor: W,
|
|
45
|
+
mapBorderColor: gt,
|
|
46
|
+
tooltip: ot,
|
|
47
|
+
onSeriesMouseOver: ft,
|
|
48
|
+
zoomScaleExtend: yt,
|
|
49
|
+
zoomTranslateExtend: xt,
|
|
50
|
+
highlightedIds: G,
|
|
51
|
+
onSeriesMouseClick: rt,
|
|
52
|
+
mapProperty: R,
|
|
53
|
+
resetSelectionOnDoubleClick: _t,
|
|
54
|
+
detailsOnClick: p,
|
|
55
|
+
showColorScale: vt,
|
|
56
|
+
styles: Wt,
|
|
57
|
+
classNames: U,
|
|
58
|
+
mapProjection: B,
|
|
59
|
+
zoomInteraction: L,
|
|
60
|
+
animate: D,
|
|
61
|
+
dimmedOpacity: P,
|
|
62
|
+
customLayers: at,
|
|
63
|
+
collapseColorScaleByDefault: bt
|
|
64
|
+
} = d, [Bt, kt] = N(bt === void 0 ? !(w < 680) : !bt), [X, wt] = N(void 0), [A, it] = N(void 0), [T, nt] = N(void 0), [st, h] = N(void 0), [u, Y] = N(void 0), F = Pt(null), lt = We(F, {
|
|
65
|
+
once: D.once,
|
|
66
|
+
amount: D.amount
|
|
67
|
+
}), jt = Pt(null), V = Pt(null);
|
|
68
|
+
qt(() => {
|
|
69
|
+
const e = re(jt.current), n = re(F.current), y = (r) => {
|
|
70
|
+
if (L === "noZoom") return !1;
|
|
71
|
+
if (L === "button") return !r.type.includes("wheel");
|
|
72
|
+
const a = r.type === "wheel", c = r.type.startsWith("touch"), i = r.type === "mousedown" || r.type === "mousemove";
|
|
73
|
+
return c ? !0 : a ? L === "scroll" ? !0 : r.ctrlKey : i && !r.button && !r.ctrlKey;
|
|
74
|
+
}, l = je().scaleExtent(yt).translateExtent(xt || [[-20, -20], [w + 20, f + 20]]).filter(y).on("zoom", ({
|
|
75
|
+
transform: r
|
|
76
|
+
}) => {
|
|
77
|
+
e.attr("transform", r);
|
|
79
78
|
});
|
|
80
|
-
n.call(
|
|
81
|
-
}, [
|
|
82
|
-
const
|
|
83
|
-
|
|
84
|
-
|
|
79
|
+
n.call(l), V.current = l;
|
|
80
|
+
}, [f, w, L]);
|
|
81
|
+
const q = Ce(C), I = Ee(C), M = q[2] - q[0], z = q[3] - q[1], ct = w * 190 / 960 * 360 / M, Ct = f * 190 / 678 * 180 / z, _ = zt * Math.min(ct, Ct), E = B === "mercator" ? $e().rotate([0, 0]).center($ || I.geometry.coordinates).translate([w / 2, f / 2]).scale(_) : B === "equalEarth" ? De().rotate([0, 0]).center($ || I.geometry.coordinates).translate([w / 2, f / 2]).scale(_) : B === "naturalEarth" ? Ne().rotate([0, 0]).center($ || I.geometry.coordinates).translate([w / 2, f / 2]).scale(_) : B === "orthographic" ? Se().rotate([0, 0]).center($ || I.geometry.coordinates).translate([w / 2, f / 2]).scale(_) : Me().rotate([0, 0]).center($ || I.geometry.coordinates).translate([w / 2, f / 2]).scale(_), $t = Array.from({
|
|
82
|
+
length: k.length
|
|
83
|
+
}, (e, n) => n), Dt = Array.from({
|
|
84
|
+
length: tt.length
|
|
85
|
+
}, (e, n) => n), Nt = ce().domain(k).range($t), St = ce().domain(tt).range(Dt), J = (e) => {
|
|
86
|
+
if (!F.current || !V.current) return;
|
|
87
|
+
re(F.current).call(V.current.scaleBy, e === "in" ? 1.2 : 1 / 1.2);
|
|
85
88
|
};
|
|
86
|
-
return /* @__PURE__ */
|
|
87
|
-
/* @__PURE__ */
|
|
88
|
-
/* @__PURE__ */
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
89
|
+
return /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
|
|
90
|
+
/* @__PURE__ */ o.jsxs("div", { className: "relative", children: [
|
|
91
|
+
/* @__PURE__ */ o.jsx(Lt.svg, { viewBox: `0 0 ${w} ${f}`, width: `${w}px`, height: `${f}px`, ref: F, direction: "ltr", children: /* @__PURE__ */ o.jsxs("g", { ref: jt, children: [
|
|
92
|
+
at.filter((e) => e.position === "before").map((e) => e.layer),
|
|
93
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
94
|
+
C.features.map((e, n) => t.findIndex((l) => l.id === e.properties[R]) !== -1 ? null : /* @__PURE__ */ o.jsx(Lt.g, { opacity: X ? P : G.length !== 0 ? G.indexOf(e.properties[R]) !== -1 ? 1 : P : 1, children: e.geometry.type === "MultiPolygon" ? (
|
|
95
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
96
|
+
e.geometry.coordinates.map((l, r) => {
|
|
97
|
+
let a = "";
|
|
98
|
+
return l.forEach((c) => {
|
|
99
|
+
let i = " M";
|
|
100
|
+
c.forEach((g, x) => {
|
|
101
|
+
const s = E([g[0], g[1]]);
|
|
102
|
+
x !== c.length - 1 ? i = `${i}${s[0]} ${s[1]}L` : i = `${i}${s[0]} ${s[1]}`;
|
|
103
|
+
}), a += i;
|
|
104
|
+
}), /* @__PURE__ */ o.jsx("path", { d: a, style: {
|
|
105
|
+
stroke: gt,
|
|
106
|
+
strokeWidth: S,
|
|
107
|
+
fill: W
|
|
108
|
+
} }, r);
|
|
109
|
+
})
|
|
110
|
+
) : (
|
|
111
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
112
|
+
e.geometry.coordinates.map((l, r) => {
|
|
113
|
+
let a = "M";
|
|
114
|
+
return l.forEach((c, i) => {
|
|
115
|
+
const g = E([c[0], c[1]]);
|
|
116
|
+
i !== l.length - 1 ? a = `${a}${g[0]} ${g[1]}L` : a = `${a}${g[0]} ${g[1]}`;
|
|
117
|
+
}), /* @__PURE__ */ o.jsx("path", { d: a, style: {
|
|
118
|
+
stroke: gt,
|
|
119
|
+
strokeWidth: S,
|
|
120
|
+
fill: W
|
|
121
|
+
} }, r);
|
|
122
|
+
})
|
|
123
|
+
) }, n)),
|
|
124
|
+
/* @__PURE__ */ o.jsx(Be, { children: t.map((e) => {
|
|
125
|
+
const n = C.features.findIndex(
|
|
98
126
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
105
|
-
e.geometry.coordinates.map((o, a) => {
|
|
106
|
-
let i = "";
|
|
107
|
-
return o.forEach((m) => {
|
|
108
|
-
let l = " M";
|
|
109
|
-
m.forEach((h, u) => {
|
|
110
|
-
const x = c([h[0], h[1]]);
|
|
111
|
-
u !== m.length - 1 ? l = `${l}${x[0]} ${x[1]}L` : l = `${l}${x[0]} ${x[1]}`;
|
|
112
|
-
}), i += l;
|
|
113
|
-
}), /* @__PURE__ */ t.jsx(
|
|
114
|
-
"path",
|
|
115
|
-
{
|
|
116
|
-
d: i,
|
|
117
|
-
style: {
|
|
118
|
-
stroke: ne,
|
|
119
|
-
strokeWidth: A,
|
|
120
|
-
fill: O
|
|
121
|
-
}
|
|
122
|
-
},
|
|
123
|
-
a
|
|
124
|
-
);
|
|
125
|
-
})
|
|
126
|
-
) : (
|
|
127
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
128
|
-
e.geometry.coordinates.map((o, a) => {
|
|
129
|
-
let i = "M";
|
|
130
|
-
return o.forEach((m, l) => {
|
|
131
|
-
const h = c([m[0], m[1]]);
|
|
132
|
-
l !== o.length - 1 ? i = `${i}${h[0]} ${h[1]}L` : i = `${i}${h[0]} ${h[1]}`;
|
|
133
|
-
}), /* @__PURE__ */ t.jsx(
|
|
134
|
-
"path",
|
|
135
|
-
{
|
|
136
|
-
d: i,
|
|
137
|
-
style: {
|
|
138
|
-
stroke: ne,
|
|
139
|
-
strokeWidth: A,
|
|
140
|
-
fill: O
|
|
141
|
-
}
|
|
142
|
-
},
|
|
143
|
-
a
|
|
144
|
-
);
|
|
145
|
-
})
|
|
146
|
-
)
|
|
147
|
-
},
|
|
148
|
-
n
|
|
149
|
-
)),
|
|
150
|
-
/* @__PURE__ */ t.jsx(et, { children: b.map((e) => {
|
|
151
|
-
const n = f.features.findIndex(
|
|
152
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
153
|
-
(i) => e.id === i.properties[V]
|
|
154
|
-
), r = Me(e.x) ? void 0 : Y(e.x), o = Me(e.y) ? void 0 : fe(e.y), a = r !== void 0 && o !== void 0 ? q[o][r] : O;
|
|
155
|
-
return /* @__PURE__ */ t.jsx(
|
|
156
|
-
oe.g,
|
|
157
|
-
{
|
|
158
|
-
variants: {
|
|
159
|
-
initial: { opacity: 0 },
|
|
160
|
-
whileInView: {
|
|
161
|
-
opacity: H ? H === a ? 1 : F : B.length !== 0 ? B.indexOf(e.id) !== -1 ? 1 : F : 1,
|
|
162
|
-
transition: { duration: j.duration }
|
|
163
|
-
}
|
|
164
|
-
},
|
|
165
|
-
initial: "initial",
|
|
166
|
-
animate: U ? "whileInView" : "initial",
|
|
167
|
-
exit: { opacity: 0, transition: { duration: j.duration } },
|
|
168
|
-
onMouseEnter: (i) => {
|
|
169
|
-
Z(e), Q(i.clientY), $(i.clientX), le?.(e);
|
|
170
|
-
},
|
|
171
|
-
onClick: () => {
|
|
172
|
-
(k || M) && (Ae(g, e) && w ? (K(void 0), k?.(void 0)) : (K(e), k?.(e)));
|
|
173
|
-
},
|
|
174
|
-
onMouseMove: (i) => {
|
|
175
|
-
Z(e), Q(i.clientY), $(i.clientX);
|
|
176
|
-
},
|
|
177
|
-
onMouseLeave: () => {
|
|
178
|
-
Z(void 0), $(void 0), Q(void 0), le?.(void 0);
|
|
179
|
-
},
|
|
180
|
-
children: n === -1 ? null : f.features[n].geometry.type === "MultiPolygon" ? f.features[n].geometry.coordinates.map(
|
|
181
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
182
|
-
(i, m) => {
|
|
183
|
-
let l = "";
|
|
184
|
-
return i.forEach((h) => {
|
|
185
|
-
let u = " M";
|
|
186
|
-
h.forEach((x, Oe) => {
|
|
187
|
-
const xe = c([x[0], x[1]]);
|
|
188
|
-
Oe !== h.length - 1 ? u = `${u}${xe[0]} ${xe[1]}L` : u = `${u}${xe[0]} ${xe[1]}`;
|
|
189
|
-
}), l += u;
|
|
190
|
-
}), /* @__PURE__ */ t.jsx(
|
|
191
|
-
oe.path,
|
|
192
|
-
{
|
|
193
|
-
variants: {
|
|
194
|
-
initial: { fill: a, opacity: 0 },
|
|
195
|
-
whileInView: {
|
|
196
|
-
fill: a,
|
|
197
|
-
opacity: 1,
|
|
198
|
-
transition: { duration: j.duration }
|
|
199
|
-
}
|
|
200
|
-
},
|
|
201
|
-
initial: "initial",
|
|
202
|
-
animate: U ? "whileInView" : "initial",
|
|
203
|
-
exit: { opacity: 0, transition: { duration: j.duration } },
|
|
204
|
-
d: l,
|
|
205
|
-
className: `${a === O ? "stroke-primary-gray-400 dark:stroke-primary-gray-500" : "stroke-primary-white dark:stroke-primary-gray-650"}`,
|
|
206
|
-
style: {
|
|
207
|
-
strokeWidth: A
|
|
208
|
-
}
|
|
209
|
-
},
|
|
210
|
-
`${e.id}-${m}`
|
|
211
|
-
);
|
|
212
|
-
}
|
|
213
|
-
) : f.features[n].geometry.coordinates.map(
|
|
214
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
215
|
-
(i, m) => {
|
|
216
|
-
let l = "M";
|
|
217
|
-
return i.forEach((h, u) => {
|
|
218
|
-
const x = c([h[0], h[1]]);
|
|
219
|
-
u !== i.length - 1 ? l = `${l}${x[0]} ${x[1]}L` : l = `${l}${x[0]} ${x[1]}`;
|
|
220
|
-
}), /* @__PURE__ */ t.jsx(
|
|
221
|
-
oe.path,
|
|
222
|
-
{
|
|
223
|
-
d: l,
|
|
224
|
-
variants: {
|
|
225
|
-
initial: { fill: a, opacity: 0 },
|
|
226
|
-
whileInView: {
|
|
227
|
-
fill: a,
|
|
228
|
-
opacity: 1,
|
|
229
|
-
transition: { duration: j.duration }
|
|
230
|
-
}
|
|
231
|
-
},
|
|
232
|
-
initial: "initial",
|
|
233
|
-
animate: U ? "whileInView" : "initial",
|
|
234
|
-
exit: { opacity: 0, transition: { duration: j.duration } },
|
|
235
|
-
className: `${a === O ? "stroke-primary-gray-400 dark:stroke-primary-gray-500" : "stroke-primary-white dark:stroke-primary-gray-650"}`,
|
|
236
|
-
style: {
|
|
237
|
-
strokeWidth: A
|
|
238
|
-
}
|
|
239
|
-
},
|
|
240
|
-
`${e.id}-${m}`
|
|
241
|
-
);
|
|
242
|
-
}
|
|
243
|
-
)
|
|
244
|
-
},
|
|
245
|
-
e.id
|
|
246
|
-
);
|
|
247
|
-
}) }),
|
|
248
|
-
R ? f.features.filter(
|
|
249
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
250
|
-
(e) => e.properties[V] === R.id
|
|
251
|
-
).map((e, n) => /* @__PURE__ */ t.jsx("g", { children: e.geometry.type === "MultiPolygon" ? (
|
|
252
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
253
|
-
e.geometry.coordinates.map((r, o) => {
|
|
254
|
-
let a = "";
|
|
255
|
-
return r.forEach((i) => {
|
|
256
|
-
let m = " M";
|
|
257
|
-
i.forEach((l, h) => {
|
|
258
|
-
const u = c([l[0], l[1]]);
|
|
259
|
-
h !== i.length - 1 ? m = `${m}${u[0]} ${u[1]}L` : m = `${m}${u[0]} ${u[1]}`;
|
|
260
|
-
}), a += m;
|
|
261
|
-
}), /* @__PURE__ */ t.jsx(
|
|
262
|
-
"path",
|
|
263
|
-
{
|
|
264
|
-
d: a,
|
|
265
|
-
className: "stroke-primary-gray-700 dark:stroke-primary-gray-300",
|
|
266
|
-
style: {
|
|
267
|
-
fill: "none",
|
|
268
|
-
fillOpacity: 0,
|
|
269
|
-
strokeWidth: "0.5"
|
|
270
|
-
}
|
|
271
|
-
},
|
|
272
|
-
o
|
|
273
|
-
);
|
|
274
|
-
})
|
|
275
|
-
) : (
|
|
276
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
277
|
-
e.geometry.coordinates.map((r, o) => {
|
|
278
|
-
let a = "M";
|
|
279
|
-
return r.forEach((i, m) => {
|
|
280
|
-
const l = c([i[0], i[1]]);
|
|
281
|
-
m !== r.length - 1 ? a = `${a}${l[0]} ${l[1]}L` : a = `${a}${l[0]} ${l[1]}`;
|
|
282
|
-
}), /* @__PURE__ */ t.jsx(
|
|
283
|
-
"path",
|
|
284
|
-
{
|
|
285
|
-
d: a,
|
|
286
|
-
className: "stroke-primary-gray-700 dark:stroke-primary-gray-300",
|
|
287
|
-
style: {
|
|
288
|
-
fill: "none",
|
|
289
|
-
fillOpacity: 0,
|
|
290
|
-
strokeWidth: "0.5"
|
|
291
|
-
}
|
|
292
|
-
},
|
|
293
|
-
o
|
|
294
|
-
);
|
|
295
|
-
})
|
|
296
|
-
) }, n)) : null,
|
|
297
|
-
de.filter((e) => e.position === "after").map((e) => e.layer)
|
|
298
|
-
] })
|
|
299
|
-
}
|
|
300
|
-
),
|
|
301
|
-
me === !1 ? null : /* @__PURE__ */ t.jsx("div", { className: "absolute left-4 bottom-4", children: pe ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
302
|
-
/* @__PURE__ */ t.jsx(
|
|
303
|
-
"div",
|
|
304
|
-
{
|
|
305
|
-
style: {
|
|
306
|
-
backgroundColor: "rgba(240,240,240, 0.7)",
|
|
307
|
-
border: "1px solid var(--gray-400)",
|
|
308
|
-
borderRadius: "999px",
|
|
309
|
-
width: "24px",
|
|
310
|
-
height: "24px",
|
|
311
|
-
padding: "3px",
|
|
312
|
-
cursor: "pointer",
|
|
313
|
-
zIndex: 10,
|
|
314
|
-
position: "absolute",
|
|
315
|
-
right: "-0.75rem",
|
|
316
|
-
top: "-0.75rem"
|
|
317
|
-
},
|
|
318
|
-
onClick: () => {
|
|
319
|
-
J(!1);
|
|
127
|
+
(a) => e.id === a.properties[R]
|
|
128
|
+
), y = le(e.x) ? void 0 : Nt(e.x), l = le(e.y) ? void 0 : St(e.y), r = y !== void 0 && l !== void 0 ? m[l][y] : W;
|
|
129
|
+
return /* @__PURE__ */ o.jsx(Lt.g, { variants: {
|
|
130
|
+
initial: {
|
|
131
|
+
opacity: 0
|
|
320
132
|
},
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
133
|
+
whileInView: {
|
|
134
|
+
opacity: X ? X === r ? 1 : P : G.length !== 0 ? G.indexOf(e.id) !== -1 ? 1 : P : 1,
|
|
135
|
+
transition: {
|
|
136
|
+
duration: D.duration
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}, initial: "initial", animate: lt ? "whileInView" : "initial", exit: {
|
|
140
|
+
opacity: 0,
|
|
141
|
+
transition: {
|
|
142
|
+
duration: D.duration
|
|
143
|
+
}
|
|
144
|
+
}, onMouseEnter: (a) => {
|
|
145
|
+
nt(e), Y(a.clientY), h(a.clientX), ft?.(e);
|
|
146
|
+
}, onClick: () => {
|
|
147
|
+
(rt || p) && (we(A, e) && _t ? (it(void 0), rt?.(void 0)) : (it(e), rt?.(e)));
|
|
148
|
+
}, onMouseMove: (a) => {
|
|
149
|
+
nt(e), Y(a.clientY), h(a.clientX);
|
|
150
|
+
}, onMouseLeave: () => {
|
|
151
|
+
nt(void 0), h(void 0), Y(void 0), ft?.(void 0);
|
|
152
|
+
}, children: n === -1 ? null : C.features[n].geometry.type === "MultiPolygon" ? C.features[n].geometry.coordinates.map(
|
|
153
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
154
|
+
(a, c) => {
|
|
155
|
+
let i = "";
|
|
156
|
+
return a.forEach((g) => {
|
|
157
|
+
let x = " M";
|
|
158
|
+
g.forEach((s, Mt) => {
|
|
159
|
+
const H = E([s[0], s[1]]);
|
|
160
|
+
Mt !== g.length - 1 ? x = `${x}${H[0]} ${H[1]}L` : x = `${x}${H[0]} ${H[1]}`;
|
|
161
|
+
}), i += x;
|
|
162
|
+
}), /* @__PURE__ */ o.jsx(Lt.path, { variants: {
|
|
163
|
+
initial: {
|
|
164
|
+
fill: r,
|
|
165
|
+
opacity: 0
|
|
166
|
+
},
|
|
167
|
+
whileInView: {
|
|
168
|
+
fill: r,
|
|
169
|
+
opacity: 1,
|
|
170
|
+
transition: {
|
|
171
|
+
duration: D.duration
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
}, initial: "initial", animate: lt ? "whileInView" : "initial", exit: {
|
|
175
|
+
opacity: 0,
|
|
176
|
+
transition: {
|
|
177
|
+
duration: D.duration
|
|
178
|
+
}
|
|
179
|
+
}, d: i, className: `${r === W ? "stroke-primary-gray-400 dark:stroke-primary-gray-500" : "stroke-primary-white dark:stroke-primary-gray-650"}`, style: {
|
|
180
|
+
strokeWidth: S
|
|
181
|
+
} }, `${e.id}-${c}`);
|
|
182
|
+
}
|
|
183
|
+
) : C.features[n].geometry.coordinates.map(
|
|
184
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
185
|
+
(a, c) => {
|
|
186
|
+
let i = "M";
|
|
187
|
+
return a.forEach((g, x) => {
|
|
188
|
+
const s = E([g[0], g[1]]);
|
|
189
|
+
x !== a.length - 1 ? i = `${i}${s[0]} ${s[1]}L` : i = `${i}${s[0]} ${s[1]}`;
|
|
190
|
+
}), /* @__PURE__ */ o.jsx(Lt.path, { d: i, variants: {
|
|
191
|
+
initial: {
|
|
192
|
+
fill: r,
|
|
193
|
+
opacity: 0
|
|
194
|
+
},
|
|
195
|
+
whileInView: {
|
|
196
|
+
fill: r,
|
|
197
|
+
opacity: 1,
|
|
198
|
+
transition: {
|
|
199
|
+
duration: D.duration
|
|
387
200
|
}
|
|
388
|
-
)
|
|
389
|
-
] }),
|
|
390
|
-
/* @__PURE__ */ t.jsx(
|
|
391
|
-
Ne,
|
|
392
|
-
{
|
|
393
|
-
marginBottom: "none",
|
|
394
|
-
size: "xs",
|
|
395
|
-
className: "mt-1 leading-normal text-center",
|
|
396
|
-
style: {
|
|
397
|
-
display: "-webkit-box",
|
|
398
|
-
WebkitLineClamp: "1",
|
|
399
|
-
width: "8.5rem",
|
|
400
|
-
WebkitBoxOrient: "vertical",
|
|
401
|
-
overflow: "hidden"
|
|
402
|
-
},
|
|
403
|
-
children: E
|
|
404
201
|
}
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
202
|
+
}, initial: "initial", animate: lt ? "whileInView" : "initial", exit: {
|
|
203
|
+
opacity: 0,
|
|
204
|
+
transition: {
|
|
205
|
+
duration: D.duration
|
|
206
|
+
}
|
|
207
|
+
}, className: `${r === W ? "stroke-primary-gray-400 dark:stroke-primary-gray-500" : "stroke-primary-white dark:stroke-primary-gray-650"}`, style: {
|
|
208
|
+
strokeWidth: S
|
|
209
|
+
} }, `${e.id}-${c}`);
|
|
210
|
+
}
|
|
211
|
+
) }, e.id);
|
|
212
|
+
}) }),
|
|
213
|
+
T ? C.features.filter(
|
|
214
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
215
|
+
(e) => e.properties[R] === T.id
|
|
216
|
+
).map((e, n) => /* @__PURE__ */ o.jsx("g", { children: e.geometry.type === "MultiPolygon" ? (
|
|
217
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
218
|
+
e.geometry.coordinates.map((y, l) => {
|
|
219
|
+
let r = "";
|
|
220
|
+
return y.forEach((a) => {
|
|
221
|
+
let c = " M";
|
|
222
|
+
a.forEach((i, g) => {
|
|
223
|
+
const x = E([i[0], i[1]]);
|
|
224
|
+
g !== a.length - 1 ? c = `${c}${x[0]} ${x[1]}L` : c = `${c}${x[0]} ${x[1]}`;
|
|
225
|
+
}), r += c;
|
|
226
|
+
}), /* @__PURE__ */ o.jsx("path", { d: r, className: "stroke-primary-gray-700 dark:stroke-primary-gray-300", style: {
|
|
227
|
+
fill: "none",
|
|
228
|
+
fillOpacity: 0,
|
|
229
|
+
strokeWidth: "0.5"
|
|
230
|
+
} }, l);
|
|
231
|
+
})
|
|
232
|
+
) : (
|
|
233
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
234
|
+
e.geometry.coordinates.map((y, l) => {
|
|
235
|
+
let r = "M";
|
|
236
|
+
return y.forEach((a, c) => {
|
|
237
|
+
const i = E([a[0], a[1]]);
|
|
238
|
+
c !== y.length - 1 ? r = `${r}${i[0]} ${i[1]}L` : r = `${r}${i[0]} ${i[1]}`;
|
|
239
|
+
}), /* @__PURE__ */ o.jsx("path", { d: r, className: "stroke-primary-gray-700 dark:stroke-primary-gray-300", style: {
|
|
240
|
+
fill: "none",
|
|
241
|
+
fillOpacity: 0,
|
|
242
|
+
strokeWidth: "0.5"
|
|
243
|
+
} }, l);
|
|
244
|
+
})
|
|
245
|
+
) }, n)) : null,
|
|
246
|
+
at.filter((e) => e.position === "after").map((e) => e.layer)
|
|
247
|
+
] }) }),
|
|
248
|
+
vt === !1 ? null : /* @__PURE__ */ o.jsx("div", { className: ue("absolute left-4 bottom-4 map-color-legend", U?.colorLegend), children: Bt ? /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
|
|
249
|
+
/* @__PURE__ */ o.jsx("div", { className: "color-legend-close-button bg-[rgba(240,240,240,0.7)] dark:bg-[rgba(30,30,30,0.7)] border border-[var(--gray-400)] rounded-full w-6 h-6 p-[3px] cursor-pointer z-10 absolute right-[-0.75rem] top-[-0.75rem]", onClick: () => {
|
|
250
|
+
kt(!1);
|
|
251
|
+
}, children: /* @__PURE__ */ o.jsx(Ie, {}) }),
|
|
252
|
+
/* @__PURE__ */ o.jsxs("div", { className: "color-legend-box p-2 bg-[rgba(240,240,240,0.7)] dark:bg-[rgba(30,30,30,0.7)]", style: {
|
|
253
|
+
width: "175px"
|
|
254
|
+
}, children: [
|
|
255
|
+
/* @__PURE__ */ o.jsxs("div", { className: "flex gap-1 items-center", children: [
|
|
256
|
+
/* @__PURE__ */ o.jsx("svg", { width: "136px", viewBox: "0 0 136 136", className: "shrink-0", children: /* @__PURE__ */ o.jsxs("g", { children: [
|
|
257
|
+
m.map((e, n) => /* @__PURE__ */ o.jsx("g", { transform: `translate(0,${100 - n * 25})`, children: e.map((y, l) => /* @__PURE__ */ o.jsx("rect", { y: 1, x: l * 25 + 1, fill: y, width: 23, height: 23, strokeWidth: X === y ? 2 : 0.25, style: {
|
|
258
|
+
cursor: "pointer"
|
|
259
|
+
}, onMouseOver: () => {
|
|
260
|
+
wt(y);
|
|
261
|
+
}, onMouseLeave: () => {
|
|
262
|
+
wt(void 0);
|
|
263
|
+
} }, l)) }, n)),
|
|
264
|
+
/* @__PURE__ */ o.jsx("g", { transform: "translate(0,125)", children: k.map((e, n) => /* @__PURE__ */ o.jsx("text", { y: 10, x: (n + 1) * 25, fontSize: 10, textAnchor: "middle", children: typeof e == "string" || e < 1 ? e : se(e, "NA") }, n)) }),
|
|
265
|
+
tt.map((e, n) => /* @__PURE__ */ o.jsx("g", { transform: `translate(${Math.max(Math.min(k.length + 1, 5), 4) * 25 + 10},${100 - n * 25})`, children: /* @__PURE__ */ o.jsx("text", { x: 0, transform: "rotate(-90)", y: 0, fontSize: 10, textAnchor: "middle", children: typeof e == "string" || e < 1 ? e : se(e, "NA") }) }, n))
|
|
266
|
+
] }) }),
|
|
267
|
+
/* @__PURE__ */ o.jsx(ne, { marginBottom: "none", size: "xs", className: "leading-normal text-center shrink-0", style: {
|
|
268
|
+
display: "-webkit-box",
|
|
269
|
+
WebkitLineClamp: "1",
|
|
270
|
+
WebkitBoxOrient: "vertical",
|
|
271
|
+
overflow: "hidden",
|
|
272
|
+
writingMode: "vertical-rl",
|
|
273
|
+
height: "8.5rem",
|
|
274
|
+
transform: "rotate(180deg)"
|
|
275
|
+
}, children: et })
|
|
276
|
+
] }),
|
|
277
|
+
/* @__PURE__ */ o.jsx(ne, { marginBottom: "none", size: "xs", className: "mt-1 leading-normal text-center", style: {
|
|
278
|
+
display: "-webkit-box",
|
|
279
|
+
WebkitLineClamp: "1",
|
|
280
|
+
width: "8.5rem",
|
|
281
|
+
WebkitBoxOrient: "vertical",
|
|
282
|
+
overflow: "hidden"
|
|
283
|
+
}, children: It })
|
|
284
|
+
] })
|
|
285
|
+
] }) : /* @__PURE__ */ o.jsx("button", { type: "button", className: "mb-0 border-0 bg-transparent p-0 self-start", onClick: () => {
|
|
286
|
+
kt(!0);
|
|
287
|
+
}, children: /* @__PURE__ */ o.jsx("div", { className: "show-color-legend-button items-start text-sm font-medium cursor-pointer p-2 mb-0 flex text-primary-black dark:text-primary-gray-300 bg-primary-gray-300 dark:bg-primary-gray-600 border-primary-gray-400 dark:border-primary-gray-500", children: "Show Legend" }) }) }),
|
|
288
|
+
L === "button" && /* @__PURE__ */ o.jsxs("div", { className: "absolute left-4 top-4 flex flex-col zoom-buttons", children: [
|
|
289
|
+
/* @__PURE__ */ o.jsx("button", { onClick: () => J("in"), className: "leading-0 px-2 py-3.5 border text-primary-gray-700 border-primary-gray-400 bg-primary-gray-200 dark:border-primary-gray-550 dark:bg-primary-gray-600 dark:text-primary-gray-100", children: "+" }),
|
|
290
|
+
/* @__PURE__ */ o.jsx("button", { onClick: () => J("out"), className: "leading-0 px-2 py-3.5 border text-primary-gray-700 border-t-0 border-primary-gray-400 bg-primary-gray-200 dark:border-primary-gray-550 dark:bg-primary-gray-600 dark:text-primary-gray-100", children: "–" })
|
|
437
291
|
] })
|
|
438
292
|
] }),
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
yPos: D,
|
|
446
|
-
backgroundStyle: we?.tooltip,
|
|
447
|
-
className: je?.tooltip
|
|
448
|
-
}
|
|
449
|
-
) : null,
|
|
450
|
-
M && g !== void 0 ? /* @__PURE__ */ t.jsx(
|
|
451
|
-
Ye,
|
|
452
|
-
{
|
|
453
|
-
open: g !== void 0,
|
|
454
|
-
onClose: () => {
|
|
455
|
-
K(void 0);
|
|
456
|
-
},
|
|
457
|
-
children: /* @__PURE__ */ t.jsx(
|
|
458
|
-
"div",
|
|
459
|
-
{
|
|
460
|
-
className: "graph-modal-content m-0",
|
|
461
|
-
dangerouslySetInnerHTML: typeof M == "string" ? { __html: Ge(M, g) } : void 0,
|
|
462
|
-
children: typeof M == "function" ? M(g) : null
|
|
463
|
-
}
|
|
464
|
-
)
|
|
465
|
-
}
|
|
466
|
-
) : null
|
|
293
|
+
T && ot && st && u ? /* @__PURE__ */ o.jsx(Le, { data: T, body: ot, xPos: st, yPos: u, backgroundStyle: Wt?.tooltip, className: U?.tooltip }) : null,
|
|
294
|
+
p && A !== void 0 ? /* @__PURE__ */ o.jsx(Oe, { open: A !== void 0, onClose: () => {
|
|
295
|
+
it(void 0);
|
|
296
|
+
}, children: /* @__PURE__ */ o.jsx("div", { className: "graph-modal-content m-0", dangerouslySetInnerHTML: typeof p == "string" ? {
|
|
297
|
+
__html: Pe(p, A)
|
|
298
|
+
} : void 0, children: typeof p == "function" ? p(A) : null }) }) : null
|
|
467
299
|
] });
|
|
468
300
|
}
|
|
469
|
-
function
|
|
470
|
-
const {
|
|
471
|
-
data:
|
|
301
|
+
function Po(d) {
|
|
302
|
+
const t = ge.c(101), {
|
|
303
|
+
data: k,
|
|
472
304
|
graphTitle: C,
|
|
473
|
-
mapData:
|
|
474
|
-
colors:
|
|
475
|
-
sources:
|
|
476
|
-
graphDescription:
|
|
477
|
-
height:
|
|
478
|
-
width:
|
|
479
|
-
footNote:
|
|
480
|
-
xDomain:
|
|
481
|
-
yDomain:
|
|
482
|
-
xColorLegendTitle:
|
|
483
|
-
yColorLegendTitle:
|
|
484
|
-
tooltip:
|
|
485
|
-
scale:
|
|
486
|
-
centerPoint:
|
|
487
|
-
padding:
|
|
488
|
-
mapBorderWidth:
|
|
489
|
-
mapNoDataColor:
|
|
490
|
-
backgroundColor:
|
|
491
|
-
mapBorderColor:
|
|
492
|
-
relativeHeight:
|
|
493
|
-
onSeriesMouseOver:
|
|
494
|
-
isWorldMap:
|
|
495
|
-
zoomScaleExtend:
|
|
496
|
-
zoomTranslateExtend:
|
|
497
|
-
graphID:
|
|
498
|
-
showColorScale:
|
|
499
|
-
highlightedIds:
|
|
500
|
-
onSeriesMouseClick:
|
|
501
|
-
mapProperty:
|
|
502
|
-
graphDownload:
|
|
503
|
-
dataDownload:
|
|
504
|
-
showAntarctica:
|
|
505
|
-
language:
|
|
506
|
-
minHeight:
|
|
507
|
-
theme:
|
|
508
|
-
ariaLabel:
|
|
509
|
-
resetSelectionOnDoubleClick:
|
|
510
|
-
detailsOnClick:
|
|
511
|
-
styles:
|
|
512
|
-
classNames:
|
|
513
|
-
mapProjection:
|
|
514
|
-
zoomInteraction:
|
|
515
|
-
animate:
|
|
516
|
-
dimmedOpacity:
|
|
517
|
-
customLayers:
|
|
518
|
-
timeline:
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
305
|
+
mapData: It,
|
|
306
|
+
colors: tt,
|
|
307
|
+
sources: et,
|
|
308
|
+
graphDescription: w,
|
|
309
|
+
height: f,
|
|
310
|
+
width: m,
|
|
311
|
+
footNote: zt,
|
|
312
|
+
xDomain: $,
|
|
313
|
+
yDomain: S,
|
|
314
|
+
xColorLegendTitle: W,
|
|
315
|
+
yColorLegendTitle: gt,
|
|
316
|
+
tooltip: ot,
|
|
317
|
+
scale: ft,
|
|
318
|
+
centerPoint: yt,
|
|
319
|
+
padding: xt,
|
|
320
|
+
mapBorderWidth: G,
|
|
321
|
+
mapNoDataColor: rt,
|
|
322
|
+
backgroundColor: R,
|
|
323
|
+
mapBorderColor: _t,
|
|
324
|
+
relativeHeight: p,
|
|
325
|
+
onSeriesMouseOver: vt,
|
|
326
|
+
isWorldMap: Wt,
|
|
327
|
+
zoomScaleExtend: U,
|
|
328
|
+
zoomTranslateExtend: B,
|
|
329
|
+
graphID: L,
|
|
330
|
+
showColorScale: D,
|
|
331
|
+
highlightedIds: P,
|
|
332
|
+
onSeriesMouseClick: at,
|
|
333
|
+
mapProperty: bt,
|
|
334
|
+
graphDownload: Bt,
|
|
335
|
+
dataDownload: kt,
|
|
336
|
+
showAntarctica: X,
|
|
337
|
+
language: wt,
|
|
338
|
+
minHeight: A,
|
|
339
|
+
theme: it,
|
|
340
|
+
ariaLabel: T,
|
|
341
|
+
resetSelectionOnDoubleClick: nt,
|
|
342
|
+
detailsOnClick: st,
|
|
343
|
+
styles: h,
|
|
344
|
+
classNames: u,
|
|
345
|
+
mapProjection: Y,
|
|
346
|
+
zoomInteraction: F,
|
|
347
|
+
animate: lt,
|
|
348
|
+
dimmedOpacity: jt,
|
|
349
|
+
customLayers: V,
|
|
350
|
+
timeline: q,
|
|
351
|
+
collapseColorScaleByDefault: I
|
|
352
|
+
} = d, M = It === void 0 ? "https://raw.githubusercontent.com/UNDP-Data/dv-country-geojson/refs/heads/main/worldMap.json" : It, z = tt === void 0 ? ae.light.bivariateColors.colors05x05 : tt, ct = zt === void 0 ? "The designations employed and the presentation of material on this map do not imply the expression of any opinion whatsoever on the part of the Secretariat of the United Nations or UNDP concerning the legal status of any country, territory, city or area or its authorities, or concerning the delimitation of its frontiers or boundaries." : zt, Ct = W === void 0 ? "X Color key" : W, _ = gt === void 0 ? "Y Color key" : gt, E = ft === void 0 ? 0.95 : ft, $t = G === void 0 ? 0.5 : G, Dt = rt === void 0 ? ae.light.graphNoData : rt, Nt = R === void 0 ? !1 : R, St = _t === void 0 ? ae.light.grays["gray-500"] : _t, J = Wt === void 0 ? !0 : Wt;
|
|
353
|
+
let e;
|
|
354
|
+
t[0] !== U ? (e = U === void 0 ? [0.8, 6] : U, t[0] = U, t[1] = e) : e = t[1];
|
|
355
|
+
const n = e, y = D === void 0 ? !0 : D;
|
|
356
|
+
let l;
|
|
357
|
+
t[2] !== P ? (l = P === void 0 ? [] : P, t[2] = P, t[3] = l) : l = t[3];
|
|
358
|
+
const r = l, a = bt === void 0 ? "ISO3" : bt, c = Bt === void 0 ? !1 : Bt, i = kt === void 0 ? !1 : kt, g = X === void 0 ? !1 : X, x = wt === void 0 ? "en" : wt, s = A === void 0 ? 0 : A, Mt = it === void 0 ? "light" : it, H = nt === void 0 ? !0 : nt, Jt = F === void 0 ? "button" : F, At = lt === void 0 ? !1 : lt, Kt = jt === void 0 ? 0.3 : jt;
|
|
359
|
+
let Tt;
|
|
360
|
+
t[4] !== V ? (Tt = V === void 0 ? [] : V, t[4] = V, t[5] = Tt) : Tt = t[5];
|
|
361
|
+
const Zt = Tt, j = q === void 0 ? {
|
|
362
|
+
enabled: !1,
|
|
363
|
+
autoplay: !1,
|
|
364
|
+
showOnlyActiveDate: !0
|
|
365
|
+
} : q, [O, me] = N(0), [Et, pe] = N(0), [K, Qt] = N(j.autoplay), v = Re(Ve(k, "date", !0).map((b) => be(`${b}`, j.dateFormat || "yyyy", /* @__PURE__ */ new Date()).getTime()), oo), [Z, Ot] = N(j.autoplay ? 0 : v.length - 1), [dt, he] = N(void 0), te = Pt(null), ie = Pt(null);
|
|
366
|
+
let Ft, Vt;
|
|
367
|
+
t[6] === Symbol.for("react.memo_cache_sentinel") ? (Ft = () => {
|
|
368
|
+
const b = new ResizeObserver((Q) => {
|
|
369
|
+
me(Q[0].target.clientWidth || 620), pe(Q[0].target.clientHeight || 480);
|
|
528
370
|
});
|
|
529
|
-
return
|
|
530
|
-
}, [
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
}, [
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
(
|
|
540
|
-
);
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
);
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
ref: S,
|
|
630
|
-
"aria-label": "Map area",
|
|
631
|
-
children: (s || y) && (d || te) && Y ? /* @__PURE__ */ t.jsx(
|
|
632
|
-
st,
|
|
633
|
-
{
|
|
634
|
-
data: b.filter(
|
|
635
|
-
(r) => p.enabled ? r.date === Te(new Date(c[re]), p.dateFormat || "yyyy") : r
|
|
636
|
-
),
|
|
637
|
-
mapData: H ? Y : {
|
|
638
|
-
...Y,
|
|
639
|
-
features: Y.features.filter(
|
|
640
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
641
|
-
(r) => r.properties.NAME !== "Antarctica"
|
|
642
|
-
)
|
|
643
|
-
},
|
|
644
|
-
xDomain: G || Ee(
|
|
645
|
-
b.map((r) => r.x),
|
|
646
|
-
E[0].length
|
|
647
|
-
),
|
|
648
|
-
yDomain: N || Ee(
|
|
649
|
-
b.map((r) => r.y),
|
|
650
|
-
E.length
|
|
651
|
-
),
|
|
652
|
-
width: s || y,
|
|
653
|
-
height: Math.max(
|
|
654
|
-
g,
|
|
655
|
-
d || (w ? g ? (s || y) * w > g ? (s || y) * w : g : (s || y) * w : te)
|
|
656
|
-
),
|
|
657
|
-
scale: se,
|
|
658
|
-
centerPoint: le,
|
|
659
|
-
colors: E,
|
|
660
|
-
xColorLegendTitle: A,
|
|
661
|
-
yColorLegendTitle: O,
|
|
662
|
-
mapBorderWidth: ke,
|
|
663
|
-
mapNoDataColor: B,
|
|
664
|
-
mapBorderColor: V,
|
|
665
|
-
tooltip: ne,
|
|
666
|
-
onSeriesMouseOver: M,
|
|
667
|
-
isWorldMap: me,
|
|
668
|
-
zoomScaleExtend: we,
|
|
669
|
-
zoomTranslateExtend: je,
|
|
670
|
-
onSeriesMouseClick: F,
|
|
671
|
-
mapProperty: de,
|
|
672
|
-
highlightedIds: j,
|
|
673
|
-
resetSelectionOnDoubleClick: Z,
|
|
674
|
-
styles: $,
|
|
675
|
-
showColorScale: P,
|
|
676
|
-
classNames: D,
|
|
677
|
-
mapProjection: Q || (me ? "naturalEarth" : "mercator"),
|
|
678
|
-
detailsOnClick: he,
|
|
679
|
-
zoomInteraction: I,
|
|
680
|
-
animate: U === !0 ? { duration: 0.5, once: !0, amount: 0.5 } : U || { duration: 0, once: !0, amount: 0 },
|
|
681
|
-
dimmedOpacity: ge,
|
|
682
|
-
customLayers: ee
|
|
683
|
-
}
|
|
684
|
-
) : /* @__PURE__ */ t.jsx(
|
|
685
|
-
"div",
|
|
686
|
-
{
|
|
687
|
-
style: {
|
|
688
|
-
height: `${Math.max(
|
|
689
|
-
g,
|
|
690
|
-
d || (w ? g ? (s || y) * w > g ? (s || y) * w : g : (s || y) * w : te)
|
|
691
|
-
)}px`
|
|
692
|
-
},
|
|
693
|
-
className: "flex items-center justify-center",
|
|
694
|
-
children: /* @__PURE__ */ t.jsx(ze, { "aria-label": "Loading graph" })
|
|
695
|
-
}
|
|
696
|
-
)
|
|
697
|
-
}
|
|
698
|
-
),
|
|
699
|
-
W || q ? /* @__PURE__ */ t.jsx(
|
|
700
|
-
rt,
|
|
701
|
-
{
|
|
702
|
-
styles: { footnote: $?.footnote, source: $?.source },
|
|
703
|
-
classNames: {
|
|
704
|
-
footnote: D?.footnote,
|
|
705
|
-
source: D?.source
|
|
706
|
-
},
|
|
707
|
-
sources: W,
|
|
708
|
-
footNote: q,
|
|
709
|
-
width: s
|
|
710
|
-
}
|
|
711
|
-
) : null
|
|
712
|
-
] })
|
|
713
|
-
}
|
|
714
|
-
)
|
|
715
|
-
}
|
|
716
|
-
)
|
|
717
|
-
}
|
|
718
|
-
);
|
|
371
|
+
return te.current && b.observe(te.current), () => b.disconnect();
|
|
372
|
+
}, Vt = [], t[6] = Ft, t[7] = Vt) : (Ft = t[6], Vt = t[7]), qt(Ft, Vt);
|
|
373
|
+
let Ht;
|
|
374
|
+
t[8] === Symbol.for("react.memo_cache_sentinel") ? (Ht = (b) => {
|
|
375
|
+
he(b);
|
|
376
|
+
}, t[8] = Ht) : Ht = t[8];
|
|
377
|
+
const Gt = fe(Ht);
|
|
378
|
+
let Rt;
|
|
379
|
+
t[9] !== M || t[10] !== Gt ? (Rt = () => {
|
|
380
|
+
typeof M == "string" ? Fe(M).then((Q) => {
|
|
381
|
+
Gt(Q);
|
|
382
|
+
}) : Gt(M);
|
|
383
|
+
}, t[9] = M, t[10] = Gt, t[11] = Rt) : Rt = t[11];
|
|
384
|
+
let Ut;
|
|
385
|
+
t[12] !== M ? (Ut = [M], t[12] = M, t[13] = Ut) : Ut = t[13], qt(Rt, Ut), qt(() => {
|
|
386
|
+
const b = setInterval(() => {
|
|
387
|
+
Ot((Q) => Q < v.length - 1 ? Q + 1 : 0);
|
|
388
|
+
}, (j.speed || 2) * 1e3);
|
|
389
|
+
return K || clearInterval(b), () => clearInterval(b);
|
|
390
|
+
}, [v, K, j.speed]);
|
|
391
|
+
const Xt = ye(v, Z, j.showOnlyActiveDate, j.dateFormat || "yyyy");
|
|
392
|
+
if ($ && S && ($.length !== z[0].length - 1 || S.length !== z.length - 1))
|
|
393
|
+
return console.error("the xDomain and yDomain array length don't match to the color array length"), null;
|
|
394
|
+
const ee = u?.graphContainer, oe = h?.graphContainer;
|
|
395
|
+
let mt;
|
|
396
|
+
t[14] !== u?.description || t[15] !== u?.title || t[16] !== k || t[17] !== i || t[18] !== w || t[19] !== c || t[20] !== C || t[21] !== h?.description || t[22] !== h?.title || t[23] !== m ? (mt = C || w || c || i ? /* @__PURE__ */ o.jsx(Ae, { styles: {
|
|
397
|
+
title: h?.title,
|
|
398
|
+
description: h?.description
|
|
399
|
+
}, classNames: {
|
|
400
|
+
title: u?.title,
|
|
401
|
+
description: u?.description
|
|
402
|
+
}, graphTitle: C, graphDescription: w, width: m, graphDownload: c ? ie : void 0, dataDownload: i ? k.map(eo).filter(to).length > 0 ? k.map(Qe).filter(Ze) : k.filter(Ke) : null }) : null, t[14] = u?.description, t[15] = u?.title, t[16] = k, t[17] = i, t[18] = w, t[19] = c, t[20] = C, t[21] = h?.description, t[22] = h?.title, t[23] = m, t[24] = mt) : mt = t[24];
|
|
403
|
+
let pt;
|
|
404
|
+
t[25] !== Z || t[26] !== Xt || t[27] !== K || t[28] !== Ot || t[29] !== Qt || t[30] !== j.enabled || t[31] !== v ? (pt = j.enabled && v.length > 0 && Xt ? /* @__PURE__ */ o.jsxs("div", { className: "flex gap-6 items-center", dir: "ltr", children: [
|
|
405
|
+
/* @__PURE__ */ o.jsx("button", { type: "button", onClick: () => {
|
|
406
|
+
Qt(!K);
|
|
407
|
+
}, className: "p-0 border-0 cursor-pointer bg-transparent", "aria-label": K ? "Click to pause animation" : "Click to play animation", children: K ? /* @__PURE__ */ o.jsx(ze, {}) : /* @__PURE__ */ o.jsx(_e, {}) }),
|
|
408
|
+
/* @__PURE__ */ o.jsx(xe, { min: v[0], max: v[v.length - 1], marks: Xt, step: null, defaultValue: v[v.length - 1], value: v[Z], onChangeComplete: (b) => {
|
|
409
|
+
Ot(v.indexOf(b));
|
|
410
|
+
}, onChange: (b) => {
|
|
411
|
+
Ot(v.indexOf(b));
|
|
412
|
+
}, "aria-label": "Time slider. Use arrow keys to adjust selected time period." })
|
|
413
|
+
] }) : null, t[25] = Z, t[26] = Xt, t[27] = K, t[28] = Ot, t[29] = Qt, t[30] = j.enabled, t[31] = v, t[32] = pt) : pt = t[32];
|
|
414
|
+
let ht;
|
|
415
|
+
t[33] !== At || t[34] !== yt || t[35] !== u || t[36] !== I || t[37] !== z || t[38] !== Zt || t[39] !== k || t[40] !== st || t[41] !== Kt || t[42] !== f || t[43] !== r || t[44] !== Z || t[45] !== J || t[46] !== St || t[47] !== $t || t[48] !== Dt || t[49] !== Y || t[50] !== a || t[51] !== dt || t[52] !== s || t[53] !== at || t[54] !== vt || t[55] !== p || t[56] !== H || t[57] !== E || t[58] !== g || t[59] !== y || t[60] !== h || t[61] !== Et || t[62] !== O || t[63] !== j.dateFormat || t[64] !== j.enabled || t[65] !== ot || t[66] !== v || t[67] !== m || t[68] !== Ct || t[69] !== $ || t[70] !== _ || t[71] !== S || t[72] !== Jt || t[73] !== n || t[74] !== B ? (ht = /* @__PURE__ */ o.jsx(He, { ref: te, children: O && Et && dt ? /* @__PURE__ */ o.jsx(Xe, { data: k.filter((b) => j.enabled ? b.date === ke(new Date(v[Z]), j.dateFormat || "yyyy") : b), mapData: g ? dt : {
|
|
416
|
+
...dt,
|
|
417
|
+
features: dt.features.filter(Je)
|
|
418
|
+
}, xDomain: $ || de(k.map(qe), z[0].length), yDomain: S || de(k.map(Ye), z.length), width: m || O, height: Math.max(s, f || (p ? s ? (m || O) * p > s ? (m || O) * p : s : (m || O) * p : Et)), scale: E, centerPoint: yt, colors: z, xColorLegendTitle: Ct, yColorLegendTitle: _, mapBorderWidth: $t, mapNoDataColor: Dt, mapBorderColor: St, tooltip: ot, onSeriesMouseOver: vt, isWorldMap: J, zoomScaleExtend: n, zoomTranslateExtend: B, onSeriesMouseClick: at, mapProperty: a, highlightedIds: r, resetSelectionOnDoubleClick: H, styles: h, showColorScale: y, classNames: u, mapProjection: Y || (J ? "naturalEarth" : "mercator"), detailsOnClick: st, zoomInteraction: Jt, animate: At === !0 ? {
|
|
419
|
+
duration: 0.5,
|
|
420
|
+
once: !0,
|
|
421
|
+
amount: 0.5
|
|
422
|
+
} : At || {
|
|
423
|
+
duration: 0,
|
|
424
|
+
once: !0,
|
|
425
|
+
amount: 0
|
|
426
|
+
}, dimmedOpacity: Kt, customLayers: Zt, collapseColorScaleByDefault: I }) : /* @__PURE__ */ o.jsx("div", { style: {
|
|
427
|
+
height: `${Math.max(s, f || (p ? s ? (m || O) * p > s ? (m || O) * p : s : (m || O) * p : Et))}px`
|
|
428
|
+
}, className: "flex items-center justify-center", children: /* @__PURE__ */ o.jsx(ve, { "aria-label": "Loading graph" }) }) }), t[33] = At, t[34] = yt, t[35] = u, t[36] = I, t[37] = z, t[38] = Zt, t[39] = k, t[40] = st, t[41] = Kt, t[42] = f, t[43] = r, t[44] = Z, t[45] = J, t[46] = St, t[47] = $t, t[48] = Dt, t[49] = Y, t[50] = a, t[51] = dt, t[52] = s, t[53] = at, t[54] = vt, t[55] = p, t[56] = H, t[57] = E, t[58] = g, t[59] = y, t[60] = h, t[61] = Et, t[62] = O, t[63] = j.dateFormat, t[64] = j.enabled, t[65] = ot, t[66] = v, t[67] = m, t[68] = Ct, t[69] = $, t[70] = _, t[71] = S, t[72] = Jt, t[73] = n, t[74] = B, t[75] = ht) : ht = t[75];
|
|
429
|
+
let ut;
|
|
430
|
+
t[76] !== u?.footnote || t[77] !== u?.source || t[78] !== ct || t[79] !== et || t[80] !== h?.footnote || t[81] !== h?.source || t[82] !== m ? (ut = et || ct ? /* @__PURE__ */ o.jsx(Te, { styles: {
|
|
431
|
+
footnote: h?.footnote,
|
|
432
|
+
source: h?.source
|
|
433
|
+
}, classNames: {
|
|
434
|
+
footnote: u?.footnote,
|
|
435
|
+
source: u?.source
|
|
436
|
+
}, sources: et, footNote: ct, width: m }) : null, t[76] = u?.footnote, t[77] = u?.source, t[78] = ct, t[79] = et, t[80] = h?.footnote, t[81] = h?.source, t[82] = m, t[83] = ut) : ut = t[83];
|
|
437
|
+
let Yt;
|
|
438
|
+
return t[84] !== T || t[85] !== Nt || t[86] !== L || t[87] !== f || t[88] !== x || t[89] !== s || t[90] !== xt || t[91] !== p || t[92] !== ee || t[93] !== oe || t[94] !== mt || t[95] !== pt || t[96] !== ht || t[97] !== ut || t[98] !== Mt || t[99] !== m ? (Yt = /* @__PURE__ */ o.jsxs(Ge, { className: ee, style: oe, id: L, ref: ie, "aria-label": T, backgroundColor: Nt, theme: Mt, language: x, minHeight: s, width: m, height: f, relativeHeight: p, padding: xt, children: [
|
|
439
|
+
mt,
|
|
440
|
+
pt,
|
|
441
|
+
ht,
|
|
442
|
+
ut
|
|
443
|
+
] }), t[84] = T, t[85] = Nt, t[86] = L, t[87] = f, t[88] = x, t[89] = s, t[90] = xt, t[91] = p, t[92] = ee, t[93] = oe, t[94] = mt, t[95] = pt, t[96] = ht, t[97] = ut, t[98] = Mt, t[99] = m, t[100] = Yt) : Yt = t[100], Yt;
|
|
444
|
+
}
|
|
445
|
+
function Ye(d) {
|
|
446
|
+
return d.y;
|
|
447
|
+
}
|
|
448
|
+
function qe(d) {
|
|
449
|
+
return d.x;
|
|
450
|
+
}
|
|
451
|
+
function Je(d) {
|
|
452
|
+
return d.properties.NAME !== "Antarctica";
|
|
453
|
+
}
|
|
454
|
+
function Ke(d) {
|
|
455
|
+
return d !== void 0;
|
|
456
|
+
}
|
|
457
|
+
function Ze(d) {
|
|
458
|
+
return d !== void 0;
|
|
459
|
+
}
|
|
460
|
+
function Qe(d) {
|
|
461
|
+
return d.data;
|
|
462
|
+
}
|
|
463
|
+
function to(d) {
|
|
464
|
+
return d !== void 0;
|
|
465
|
+
}
|
|
466
|
+
function eo(d) {
|
|
467
|
+
return d.data;
|
|
468
|
+
}
|
|
469
|
+
function oo(d, t) {
|
|
470
|
+
return Ue(d, t);
|
|
719
471
|
}
|
|
720
472
|
export {
|
|
721
|
-
|
|
473
|
+
Po as BiVariateChoroplethMap
|
|
722
474
|
};
|
|
723
475
|
//# sourceMappingURL=BiVariateChoroplethMap.js.map
|