@undp/data-viz 2.1.8 → 2.2.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.js +19 -19
- package/dist/AreaChart.js.map +1 -1
- package/dist/{Axis-CRyfcLjc.js → Axis-DoOqnt6g.js} +2 -2
- package/dist/{Axis-CRyfcLjc.js.map → Axis-DoOqnt6g.js.map} +1 -1
- package/dist/{Axis-DxRV2yMi.cjs → Axis-Dtjn-EgM.cjs} +2 -2
- package/dist/{Axis-DxRV2yMi.cjs.map → Axis-Dtjn-EgM.cjs.map} +1 -1
- package/dist/{AxisTitle-sS5bLLR7.cjs → AxisTitle-DV4n0RxE.cjs} +2 -2
- package/dist/{AxisTitle-sS5bLLR7.cjs.map → AxisTitle-DV4n0RxE.cjs.map} +1 -1
- package/dist/{AxisTitle-jeI7am8o.js → AxisTitle-VFq89Olw.js} +2 -2
- package/dist/{AxisTitle-jeI7am8o.js.map → AxisTitle-VFq89Olw.js.map} +1 -1
- package/dist/BarGraph.cjs +1 -1
- package/dist/BarGraph.js +24 -24
- package/dist/BarGraph.js.map +1 -1
- package/dist/BasicStatCard.cjs +1 -1
- package/dist/BasicStatCard.js +2 -2
- package/dist/BeeSwarmChart.cjs +1 -1
- package/dist/BeeSwarmChart.js +14 -14
- package/dist/BeeSwarmChart.js.map +1 -1
- package/dist/BiVariateChoroplethMap.cjs +1 -1
- package/dist/BiVariateChoroplethMap.cjs.map +1 -1
- package/dist/BiVariateChoroplethMap.js +48 -48
- package/dist/BiVariateChoroplethMap.js.map +1 -1
- package/dist/BulletChart.cjs +1 -1
- package/dist/BulletChart.js +22 -22
- package/dist/BulletChart.js.map +1 -1
- package/dist/ButterflyChart.cjs +1 -1
- package/dist/ButterflyChart.js +19 -19
- package/dist/ButterflyChart.js.map +1 -1
- package/dist/ChoroplethMap.cjs +1 -1
- package/dist/ChoroplethMap.cjs.map +1 -1
- package/dist/ChoroplethMap.js +51 -51
- package/dist/ChoroplethMap.js.map +1 -1
- package/dist/CirclePackingGraph.cjs +1 -1
- package/dist/CirclePackingGraph.js +4 -4
- package/dist/ColorLegend.cjs +1 -1
- package/dist/ColorLegend.js +2 -2
- package/dist/ColorLegendWithMouseOver.cjs +1 -1
- package/dist/ColorLegendWithMouseOver.js +2 -2
- package/dist/CopyTextButton.cjs +1 -16
- package/dist/CopyTextButton.cjs.map +1 -1
- package/dist/CopyTextButton.js +13 -31
- package/dist/CopyTextButton.js.map +1 -1
- package/dist/CsvDownloadButton.cjs +2 -20
- package/dist/CsvDownloadButton.cjs.map +1 -1
- package/dist/CsvDownloadButton.js +5 -26
- package/dist/CsvDownloadButton.js.map +1 -1
- package/dist/DataCards.cjs +1 -21
- package/dist/DataCards.cjs.map +1 -1
- package/dist/DataCards.js +18 -42
- package/dist/DataCards.js.map +1 -1
- package/dist/DataTable.cjs +1 -1
- package/dist/DataTable.js +6 -6
- package/dist/DataTable.js.map +1 -1
- package/dist/{DetailsModal-0Ry5nXiC.js → DetailsModal-BMCTgVsk.js} +4 -4
- package/dist/{DetailsModal-0Ry5nXiC.js.map → DetailsModal-BMCTgVsk.js.map} +1 -1
- package/dist/{DetailsModal-BN0HDFlV.cjs → DetailsModal-DHttOA80.cjs} +2 -2
- package/dist/{DetailsModal-BN0HDFlV.cjs.map → DetailsModal-DHttOA80.cjs.map} +1 -1
- package/dist/DifferenceLineChart.cjs +1 -1
- package/dist/DifferenceLineChart.js +22 -22
- package/dist/DifferenceLineChart.js.map +1 -1
- package/dist/DonutChart.cjs +1 -1
- package/dist/DonutChart.js +10 -10
- package/dist/DotDensityMap.cjs +1 -1
- package/dist/DotDensityMap.cjs.map +1 -1
- package/dist/DotDensityMap.d.ts +1 -1
- package/dist/DotDensityMap.js +78 -78
- package/dist/DotDensityMap.js.map +1 -1
- package/dist/{DropdownSelect-BbdPQa2k.js → DropdownSelect-D8rFbygC.js} +5 -33
- package/dist/{DropdownSelect-BbdPQa2k.js.map → DropdownSelect-D8rFbygC.js.map} +1 -1
- package/dist/{DropdownSelect-Doz3mCrM.cjs → DropdownSelect-NNpOs7DX.cjs} +2 -26
- package/dist/{DropdownSelect-Doz3mCrM.cjs.map → DropdownSelect-NNpOs7DX.cjs.map} +1 -1
- package/dist/DualAxisLineChart.cjs +1 -1
- package/dist/DualAxisLineChart.js +15 -15
- package/dist/DualAxisLineChart.js.map +1 -1
- package/dist/DumbbellChart.cjs +1 -1
- package/dist/DumbbellChart.js +22 -22
- package/dist/DumbbellChart.js.map +1 -1
- package/dist/{EmptyState-gLDRXBHm.cjs → EmptyState-CGeBqbmR.cjs} +2 -2
- package/dist/{EmptyState-gLDRXBHm.cjs.map → EmptyState-CGeBqbmR.cjs.map} +1 -1
- package/dist/EmptyState-tZBErBKF.js +15 -0
- package/dist/{EmptyState-C7ZXkZWd.js.map → EmptyState-tZBErBKF.js.map} +1 -1
- package/dist/ExcelDownloadButton.cjs +1 -1
- package/dist/ExcelDownloadButton.js +2 -2
- package/dist/FootNote.cjs +1 -1
- package/dist/FootNote.js +2 -2
- package/dist/GeoHubCompareMaps.cjs +1 -1
- package/dist/GeoHubCompareMaps.js +13 -13
- package/dist/GeoHubCompareMaps.js.map +1 -1
- package/dist/GeoHubMap.cjs +1 -1
- package/dist/GeoHubMap.js +8 -8
- package/dist/GeoHubMap.js.map +1 -1
- package/dist/GeoHubMapWithLayerSelection.cjs +1 -1
- package/dist/GeoHubMapWithLayerSelection.js +12 -12
- package/dist/GeoHubMapWithLayerSelection.js.map +1 -1
- package/dist/{GraphContainer-d8A46BK2.cjs → GraphContainer-B1EDxJ0S.cjs} +2 -2
- package/dist/{GraphContainer-d8A46BK2.cjs.map → GraphContainer-B1EDxJ0S.cjs.map} +1 -1
- package/dist/{GraphContainer-CRqzdKu2.js → GraphContainer-CF6ws3pd.js} +2 -2
- package/dist/{GraphContainer-CRqzdKu2.js.map → GraphContainer-CF6ws3pd.js.map} +1 -1
- package/dist/GraphDescription.cjs +1 -1
- package/dist/GraphDescription.js +2 -2
- package/dist/GraphEl-CBZdcvb7.cjs +2 -0
- package/dist/GraphEl-CBZdcvb7.cjs.map +1 -0
- package/dist/{GraphEl-Dyu_EIQb.js → GraphEl-DKrjuQNB.js} +79 -18
- package/dist/GraphEl-DKrjuQNB.js.map +1 -0
- package/dist/GraphFooter.cjs +1 -1
- package/dist/GraphFooter.js +2 -2
- package/dist/GraphHeader.cjs +1 -1
- package/dist/GraphHeader.js +1 -1
- package/dist/GraphTitle.cjs +1 -1
- package/dist/GraphTitle.js +2 -2
- package/dist/GriddedGraphs.cjs +1 -1
- package/dist/GriddedGraphs.d.ts +1 -1
- package/dist/GriddedGraphs.js +8 -8
- package/dist/GriddedGraphsFromConfig.cjs +1 -1
- package/dist/GriddedGraphsFromConfig.d.ts +1 -1
- package/dist/GriddedGraphsFromConfig.js +4 -4
- package/dist/GriddedGraphsFromConfig.js.map +1 -1
- package/dist/HeatMap.cjs +1 -1
- package/dist/HeatMap.js +14 -14
- package/dist/HeatMap.js.map +1 -1
- package/dist/Histogram.cjs +1 -1
- package/dist/Histogram.js +5 -5
- package/dist/Histogram.js.map +1 -1
- package/dist/HybridMap.cjs +1 -1
- package/dist/HybridMap.cjs.map +1 -1
- package/dist/HybridMap.js +134 -133
- package/dist/HybridMap.js.map +1 -1
- package/dist/ImageDownloadButton.cjs +1 -1
- package/dist/ImageDownloadButton.js +3 -3
- package/dist/LineChartWithConfidenceInterval.cjs +1 -1
- package/dist/LineChartWithConfidenceInterval.js +18 -18
- package/dist/LineChartWithConfidenceInterval.js.map +1 -1
- package/dist/LinearColorLegend.cjs +1 -1
- package/dist/LinearColorLegend.js +2 -2
- package/dist/{Modal-JW_IExO3.cjs → Modal-CaYa_TLE.cjs} +2 -2
- package/dist/{Modal-JW_IExO3.cjs.map → Modal-CaYa_TLE.cjs.map} +1 -1
- package/dist/{Modal-bMQA6bL_.js → Modal-Ch9wvKxF.js} +4 -4
- package/dist/{Modal-bMQA6bL_.js.map → Modal-Ch9wvKxF.js.map} +1 -1
- package/dist/MultiGraphDashboard.cjs +1 -1
- package/dist/MultiGraphDashboard.d.ts +1 -1
- package/dist/MultiGraphDashboard.js +5 -5
- package/dist/MultiGraphDashboardFromConfig.cjs +1 -1
- package/dist/MultiGraphDashboardFromConfig.d.ts +1 -1
- package/dist/MultiGraphDashboardFromConfig.js +4 -4
- package/dist/MultiGraphDashboardFromConfig.js.map +1 -1
- package/dist/MultiGraphDashboardWideToLongFormat.cjs +1 -1
- package/dist/MultiGraphDashboardWideToLongFormat.js +5 -5
- package/dist/MultiGraphDashboardWideToLongFormatFromConfig.cjs +1 -1
- package/dist/MultiGraphDashboardWideToLongFormatFromConfig.js +4 -4
- package/dist/MultiGraphDashboardWideToLongFormatFromConfig.js.map +1 -1
- package/dist/MultiLineAltChart.cjs +1 -1
- package/dist/MultiLineAltChart.js +17 -17
- package/dist/MultiLineAltChart.js.map +1 -1
- package/dist/MultiLineChart.cjs +1 -1
- package/dist/MultiLineChart.js +19 -19
- package/dist/MultiLineChart.js.map +1 -1
- package/dist/ParetoChart.cjs +1 -1
- package/dist/ParetoChart.js +15 -15
- package/dist/ParetoChart.js.map +1 -1
- package/dist/PerformanceIntensiveMultiGraphDashboard.cjs +1 -1
- package/dist/PerformanceIntensiveMultiGraphDashboard.d.ts +1 -1
- package/dist/PerformanceIntensiveMultiGraphDashboard.js +5 -5
- package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.cjs +1 -1
- package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.d.ts +1 -1
- package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.js +4 -4
- package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.js.map +1 -1
- package/dist/PerformanceIntensiveScrollStory.cjs +1 -1
- package/dist/PerformanceIntensiveScrollStory.d.ts +1 -1
- package/dist/PerformanceIntensiveScrollStory.js +6 -6
- package/dist/PerformanceIntensiveScrollStory.js.map +1 -1
- package/dist/RadarChart.cjs +1 -1
- package/dist/RadarChart.cjs.map +1 -1
- package/dist/RadarChart.js +9 -9
- package/dist/{ReferenceLine-2XCwHXQ4.js → ReferenceLine-DgtoRgw0.js} +5 -5
- package/dist/ReferenceLine-DgtoRgw0.js.map +1 -0
- package/dist/{ReferenceLine-BH0qdf4R.cjs → ReferenceLine-M9aP3dj-.cjs} +2 -2
- package/dist/{ReferenceLine-BH0qdf4R.cjs.map → ReferenceLine-M9aP3dj-.cjs.map} +1 -1
- package/dist/{RegressionLine-BOTTNSrr.cjs → RegressionLine-Ci-Dh0w0.cjs} +2 -2
- package/dist/{RegressionLine-BOTTNSrr.cjs.map → RegressionLine-Ci-Dh0w0.cjs.map} +1 -1
- package/dist/{RegressionLine-DAcY2DjT.js → RegressionLine-D2aqeBKp.js} +6 -6
- package/dist/RegressionLine-D2aqeBKp.js.map +1 -0
- package/dist/SVGDownloadButton.cjs +1 -1
- package/dist/SVGDownloadButton.js +2 -2
- package/dist/SankeyChart.cjs +1 -1
- package/dist/SankeyChart.cjs.map +1 -1
- package/dist/SankeyChart.js +61 -67
- package/dist/SankeyChart.js.map +1 -1
- package/dist/ScatterPlot.cjs +1 -1
- package/dist/ScatterPlot.js +23 -23
- package/dist/ScatterPlot.js.map +1 -1
- package/dist/ScrollStory.cjs +1 -1
- package/dist/ScrollStory.d.ts +1 -1
- package/dist/ScrollStory.js +4 -4
- package/dist/ScrollStory.js.map +1 -1
- package/dist/SimpleLineChart.cjs +1 -1
- package/dist/SimpleLineChart.js +19 -19
- package/dist/SimpleLineChart.js.map +1 -1
- package/dist/SingleGraphDashboard.cjs +1 -1
- package/dist/SingleGraphDashboard.d.ts +1 -1
- package/dist/SingleGraphDashboard.js +9 -9
- package/dist/SingleGraphDashboardFromConfig.cjs +1 -1
- package/dist/SingleGraphDashboardFromConfig.d.ts +1 -1
- package/dist/SingleGraphDashboardFromConfig.js +4 -4
- package/dist/SingleGraphDashboardFromConfig.js.map +1 -1
- package/dist/SingleGraphDashboardGeoHubMaps.cjs +1 -1
- package/dist/SingleGraphDashboardGeoHubMaps.js +5 -5
- package/dist/SingleGraphDashboardGeoHubMaps.js.map +1 -1
- package/dist/SingleGraphDashboardGeoHubMapsFromConfig.cjs +1 -1
- package/dist/SingleGraphDashboardGeoHubMapsFromConfig.js +4 -4
- package/dist/SingleGraphDashboardGeoHubMapsFromConfig.js.map +1 -1
- package/dist/SingleGraphDashboardThreeDGraphs.cjs +1 -1
- package/dist/SingleGraphDashboardThreeDGraphs.cjs.map +1 -1
- package/dist/SingleGraphDashboardThreeDGraphs.js +63 -70
- package/dist/SingleGraphDashboardThreeDGraphs.js.map +1 -1
- package/dist/SingleGraphDashboardThreeDGraphsFromConfig.cjs +1 -1
- package/dist/SingleGraphDashboardThreeDGraphsFromConfig.js +4 -4
- package/dist/SingleGraphDashboardThreeDGraphsFromConfig.js.map +1 -1
- package/dist/SlopeChart.cjs +1 -1
- package/dist/SlopeChart.js +12 -12
- package/dist/SlopeChart.js.map +1 -1
- package/dist/{Source-DYMJRrsq.cjs → Source-B5AoSlsi.cjs} +2 -2
- package/dist/{Source-DYMJRrsq.cjs.map → Source-B5AoSlsi.cjs.map} +1 -1
- package/dist/{Source-DwTHB8fn.js → Source-F8EYCYkV.js} +4 -4
- package/dist/{Source-DwTHB8fn.js.map → Source-F8EYCYkV.js.map} +1 -1
- package/dist/Source.cjs +1 -1
- package/dist/Source.js +3 -3
- package/dist/SparkLine.cjs +1 -1
- package/dist/SparkLine.js +8 -8
- package/dist/SparkLine.js.map +1 -1
- package/dist/{Spinner-DVBnY6Vg.js → Spinner--r2RrJV8.js} +2 -2
- package/dist/{Spinner-DVBnY6Vg.js.map → Spinner--r2RrJV8.js.map} +1 -1
- package/dist/{Spinner-CQZcjzwd.cjs → Spinner-jTMOLuw_.cjs} +2 -2
- package/dist/{Spinner-CQZcjzwd.cjs.map → Spinner-jTMOLuw_.cjs.map} +1 -1
- package/dist/StatCardFromData.cjs +1 -1
- package/dist/StatCardFromData.js +2 -2
- package/dist/StripChart.cjs +1 -1
- package/dist/StripChart.js +10 -10
- package/dist/StripChart.js.map +1 -1
- package/dist/ThreeDGlobe.cjs +1 -1
- package/dist/ThreeDGlobe.js +13 -13
- package/dist/ThreeDGlobe.js.map +1 -1
- package/dist/ThresholdColorLegendWithMouseOver.cjs +1 -1
- package/dist/ThresholdColorLegendWithMouseOver.js +3 -3
- package/dist/ThresholdColorLegendWithMouseOver.js.map +1 -1
- package/dist/{Tooltip-uUdw6wJL.cjs → Tooltip-BLa2EfMs.cjs} +2 -2
- package/dist/{Tooltip-uUdw6wJL.cjs.map → Tooltip-BLa2EfMs.cjs.map} +1 -1
- package/dist/{Tooltip-Dj5eVppQ.js → Tooltip-BRnAz2Gv.js} +3 -3
- package/dist/{Tooltip-Dj5eVppQ.js.map → Tooltip-BRnAz2Gv.js.map} +1 -1
- package/dist/TreeMapGraph.cjs +1 -1
- package/dist/TreeMapGraph.js +10 -10
- package/dist/TreeMapGraph.js.map +1 -1
- package/dist/Types.d.ts +8 -1
- package/dist/{Typography-PxtFcnJb.js → Typography-hWfh3H0J.js} +2 -2
- package/dist/{Typography-PxtFcnJb.js.map → Typography-hWfh3H0J.js.map} +1 -1
- package/dist/{Typography-DX7PlgQU.cjs → Typography-sa1UE0oF.cjs} +2 -2
- package/dist/{Typography-DX7PlgQU.cjs.map → Typography-sa1UE0oF.cjs.map} +1 -1
- package/dist/UnitChart.cjs +1 -1
- package/dist/UnitChart.js +8 -8
- package/dist/WaterfallChart.cjs +2 -0
- package/dist/WaterfallChart.cjs.map +1 -0
- package/dist/WaterfallChart.d.ts +208 -0
- package/dist/WaterfallChart.js +427 -0
- package/dist/WaterfallChart.js.map +1 -0
- package/dist/{XAxesLabels-Bt5NZBmX.cjs → XAxesLabels-C6o9jJal.cjs} +2 -2
- package/dist/{XAxesLabels-Bt5NZBmX.cjs.map → XAxesLabels-C6o9jJal.cjs.map} +1 -1
- package/dist/{XAxesLabels-Dy8E1SEo.js → XAxesLabels-rhK7lRjO.js} +3 -3
- package/dist/{XAxesLabels-Dy8E1SEo.js.map → XAxesLabels-rhK7lRjO.js.map} +1 -1
- package/dist/{XTicksAndGridLines-CObVFSm4.js → XTicksAndGridLines-CVZkZkpS.js} +2 -2
- package/dist/{XTicksAndGridLines-CObVFSm4.js.map → XTicksAndGridLines-CVZkZkpS.js.map} +1 -1
- package/dist/{XTicksAndGridLines-B6CELS7q.cjs → XTicksAndGridLines-CekrPykD.cjs} +2 -2
- package/dist/{XTicksAndGridLines-B6CELS7q.cjs.map → XTicksAndGridLines-CekrPykD.cjs.map} +1 -1
- package/dist/{YAxesLabels-DesLesUP.cjs → YAxesLabels-BQ2aCazV.cjs} +2 -2
- package/dist/{YAxesLabels-DesLesUP.cjs.map → YAxesLabels-BQ2aCazV.cjs.map} +1 -1
- package/dist/{YAxesLabels-a57ZRv-0.js → YAxesLabels-QICWVsHf.js} +3 -3
- package/dist/{YAxesLabels-a57ZRv-0.js.map → YAxesLabels-QICWVsHf.js.map} +1 -1
- package/dist/{YTicksAndGridLines-Blepl7XF.js → YTicksAndGridLines-GnXnSRF2.js} +2 -2
- package/dist/{YTicksAndGridLines-Blepl7XF.js.map → YTicksAndGridLines-GnXnSRF2.js.map} +1 -1
- package/dist/{YTicksAndGridLines-4pxTRlRK.cjs → YTicksAndGridLines-UzVC5eBM.cjs} +2 -2
- package/dist/{YTicksAndGridLines-4pxTRlRK.cjs.map → YTicksAndGridLines-UzVC5eBM.cjs.map} +1 -1
- package/dist/{band-DHUZ2X7J.js → band-DYty33LD.js} +2 -2
- package/dist/{band-DHUZ2X7J.js.map → band-DYty33LD.js.map} +1 -1
- package/dist/{checkIfMultiple-CIRtG0KE.js → checkIfMultiple-D9fVkeOq.js} +7 -19
- package/dist/{checkIfMultiple-CIRtG0KE.js.map → checkIfMultiple-D9fVkeOq.js.map} +1 -1
- package/dist/checkIfMultiple-DxnGtm3t.cjs +2 -0
- package/dist/{checkIfMultiple-wg6hJLXy.cjs.map → checkIfMultiple-DxnGtm3t.cjs.map} +1 -1
- package/dist/{customArea-BUhPiPT6.js → customArea-ASDaSE4u.js} +5 -5
- package/dist/{customArea-BUhPiPT6.js.map → customArea-ASDaSE4u.js.map} +1 -1
- package/dist/{customArea-CMF5g-C3.cjs → customArea-B1LWQBmM.cjs} +2 -2
- package/dist/{customArea-CMF5g-C3.cjs.map → customArea-B1LWQBmM.cjs.map} +1 -1
- package/dist/defaultLocale-C4wbwF1n.cjs +2 -0
- package/dist/defaultLocale-C4wbwF1n.cjs.map +1 -0
- package/dist/defaultLocale-CPy_WVtp.js +172 -0
- package/dist/defaultLocale-CPy_WVtp.js.map +1 -0
- package/dist/{ensureCompleteData-DH5c52Ub.js → ensureCompleteData-CDIukSG6.js} +2 -2
- package/dist/{ensureCompleteData-DH5c52Ub.js.map → ensureCompleteData-CDIukSG6.js.map} +1 -1
- package/dist/{ensureCompleteData-pZ9QO6kB.cjs → ensureCompleteData-D9bQTiVS.cjs} +2 -2
- package/dist/{ensureCompleteData-pZ9QO6kB.cjs.map → ensureCompleteData-D9bQTiVS.cjs.map} +1 -1
- package/dist/{fetchAndParseData-BpqkBPQL.js → fetchAndParseData-BAXhgTDM.js} +12 -18
- package/dist/{fetchAndParseData-BpqkBPQL.js.map → fetchAndParseData-BAXhgTDM.js.map} +1 -1
- package/dist/{fetchAndParseData-l5HGMAEs.cjs → fetchAndParseData-QTF6tjij.cjs} +3 -8
- package/dist/{fetchAndParseData-l5HGMAEs.cjs.map → fetchAndParseData-QTF6tjij.cjs.map} +1 -1
- package/dist/fetchAndParseData.cjs +1 -1
- package/dist/fetchAndParseData.js +1 -1
- package/dist/getCentroidCoordinates-CtBGrNC8.cjs +2 -0
- package/dist/getCentroidCoordinates-CtBGrNC8.cjs.map +1 -0
- package/dist/{getCentroidCoordinates-D7r34N4w.js → getCentroidCoordinates-s0OOUjLF.js} +15 -15
- package/dist/getCentroidCoordinates-s0OOUjLF.js.map +1 -0
- package/dist/{getGraphList-Dxwo9TDb.js → getGraphList-Bpd3PVmF.js} +7 -1
- package/dist/getGraphList-Bpd3PVmF.js.map +1 -0
- package/dist/getGraphList-DQ24IzAn.cjs +2 -0
- package/dist/getGraphList-DQ24IzAn.cjs.map +1 -0
- package/dist/{getJenks-GYmdwBqm.cjs → getJenks-BzJvhy_H.cjs} +2 -2
- package/dist/{getJenks-GYmdwBqm.cjs.map → getJenks-BzJvhy_H.cjs.map} +1 -1
- package/dist/{getJenks-BbngDoBQ.js → getJenks-DTCcQSDi.js} +2 -2
- package/dist/{getJenks-BbngDoBQ.js.map → getJenks-DTCcQSDi.js.map} +1 -1
- package/dist/getSchema.cjs +1 -1
- package/dist/getSchema.cjs.map +1 -1
- package/dist/getSchema.d.ts +3 -3
- package/dist/getSchema.js +24 -16
- package/dist/getSchema.js.map +1 -1
- package/dist/getSliderMarks-CIuSoedo.cjs +2 -0
- package/dist/{getSliderMarks-BmADcPQt.cjs.map → getSliderMarks-CIuSoedo.cjs.map} +1 -1
- package/dist/{getSliderMarks-HIDJ0_Cd.js → getSliderMarks-Cvg8zHBU.js} +4 -9
- package/dist/getSliderMarks-Cvg8zHBU.js.map +1 -0
- package/dist/{imageDownload-NYXbvKob.cjs → imageDownload-61q6jyJW.cjs} +3 -3
- package/dist/imageDownload-61q6jyJW.cjs.map +1 -0
- package/dist/{imageDownload-BU4qnxJP.js → imageDownload-Diofs_vY.js} +14 -15
- package/dist/imageDownload-Diofs_vY.js.map +1 -0
- package/dist/{index-D491FEn1.js → index-BQYOuXdl.js} +15 -15
- package/dist/{index-D491FEn1.js.map → index-BQYOuXdl.js.map} +1 -1
- package/dist/{index-DxXnJ8Ti.cjs → index-C5K--w8d.cjs} +2 -2
- package/dist/index-C5K--w8d.cjs.map +1 -0
- package/dist/{index-DRXx7m-C.cjs → index-C6er0ety.cjs} +2 -2
- package/dist/{index-DRXx7m-C.cjs.map → index-C6er0ety.cjs.map} +1 -1
- package/dist/{index-CHPV5EwG-CTPQjnHt.cjs → index-CHPV5EwG-6v2a2njQ.cjs} +5 -69
- package/dist/{index-CHPV5EwG-CTPQjnHt.cjs.map → index-CHPV5EwG-6v2a2njQ.cjs.map} +1 -1
- package/dist/{index-CHPV5EwG-Curnpaqc.js → index-CHPV5EwG-DecW7_qr.js} +5 -77
- package/dist/{index-CHPV5EwG-Curnpaqc.js.map → index-CHPV5EwG-DecW7_qr.js.map} +1 -1
- package/dist/{index-SKgJALZg.js → index-CSiFiXPj.js} +3 -3
- package/dist/{index-SKgJALZg.js.map → index-CSiFiXPj.js.map} +1 -1
- package/dist/index-CoobIWNj.cjs +10 -0
- package/dist/index-CoobIWNj.cjs.map +1 -0
- package/dist/index-CtMBjvtq.js +148 -0
- package/dist/index-CtMBjvtq.js.map +1 -0
- package/dist/{index-Cw8sCyo_-BrHiWiRF.cjs → index-Cw8sCyo_-CEcCMKUi.cjs} +2 -2
- package/dist/{index-Cw8sCyo_-BrHiWiRF.cjs.map → index-Cw8sCyo_-CEcCMKUi.cjs.map} +1 -1
- package/dist/{index-Cw8sCyo_-B2hEKjzG.js → index-Cw8sCyo_-n4AacHGk.js} +6 -4
- package/dist/{index-Cw8sCyo_-B2hEKjzG.js.map → index-Cw8sCyo_-n4AacHGk.js.map} +1 -1
- package/dist/{index-R1gTfap5.js → index-D5ihtaJJ.js} +12 -12
- package/dist/{index-R1gTfap5.js.map → index-D5ihtaJJ.js.map} +1 -1
- package/dist/{index-B_sAFsEV.cjs → index-D69M6klB.cjs} +2 -2
- package/dist/{index-B_sAFsEV.cjs.map → index-D69M6klB.cjs.map} +1 -1
- package/dist/{index-GEsywGxz.js → index-DCsFBfJ_.js} +160 -104
- package/dist/index-DCsFBfJ_.js.map +1 -0
- package/dist/{index-WML2dCZ0.cjs → index-Dgjq6aZ2.cjs} +2 -2
- package/dist/{index-WML2dCZ0.cjs.map → index-Dgjq6aZ2.cjs.map} +1 -1
- package/dist/{index-Dzc_aaI9-BmkfPMyc.cjs → index-Dzc_aaI9-C3DbPpy3.cjs} +2 -2
- package/dist/{index-Dzc_aaI9-BmkfPMyc.cjs.map → index-Dzc_aaI9-C3DbPpy3.cjs.map} +1 -1
- package/dist/{index-Dzc_aaI9-Bb7gobH_.js → index-Dzc_aaI9-CG2Ar7l1.js} +4 -4
- package/dist/{index-Dzc_aaI9-Bb7gobH_.js.map → index-Dzc_aaI9-CG2Ar7l1.js.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +209 -94
- package/dist/index.js +129 -127
- package/dist/index.js.map +1 -1
- package/dist/{linear-BqltdMeF.js → linear-CalFSAaO.js} +2 -2
- package/dist/{linear-BqltdMeF.js.map → linear-CalFSAaO.js.map} +1 -1
- package/dist/{linear-BwPAspcq.cjs → linear-CgUCbw9F.cjs} +2 -2
- package/dist/{linear-BwPAspcq.cjs.map → linear-CgUCbw9F.cjs.map} +1 -1
- package/dist/{ordinal-BJ6O_LC5.js → ordinal-CHaxGJ_l.js} +2 -2
- package/dist/{ordinal-BJ6O_LC5.js.map → ordinal-CHaxGJ_l.js.map} +1 -1
- package/dist/{parse-DlCRUFh_.js → parse-Dv4of-PN.js} +2 -67
- package/dist/{parse-DlCRUFh_.js.map → parse-Dv4of-PN.js.map} +1 -1
- package/dist/parse-xYI9yrvL.cjs +2 -0
- package/dist/{parse-hMnG_lRV.cjs.map → parse-xYI9yrvL.cjs.map} +1 -1
- package/dist/{pow-DgrUorRi.cjs → pow-BnyPO-NX.cjs} +2 -2
- package/dist/{pow-DgrUorRi.cjs.map → pow-BnyPO-NX.cjs.map} +1 -1
- package/dist/{pow-CM2aze4M.js → pow-CaIrlM4J.js} +2 -2
- package/dist/{pow-CM2aze4M.js.map → pow-CaIrlM4J.js.map} +1 -1
- package/dist/proxy-C4-uo6nS.cjs +2 -0
- package/dist/proxy-C4-uo6nS.cjs.map +1 -0
- package/dist/{proxy-BxkFHwUw.js → proxy-DRuSUlPL.js} +2828 -2717
- package/dist/proxy-DRuSUlPL.js.map +1 -0
- package/dist/{string2HTML-DhG75NqA.js → string2HTML-DUYZT1L9.js} +17 -17
- package/dist/{string2HTML-DhG75NqA.js.map → string2HTML-DUYZT1L9.js.map} +1 -1
- package/dist/{string2HTML-CPGr_I5E.cjs → string2HTML-xx9MzTtY.cjs} +3 -3
- package/dist/{string2HTML-CPGr_I5E.cjs.map → string2HTML-xx9MzTtY.cjs.map} +1 -1
- package/dist/style.css +1 -1
- package/dist/{time-BUL-dwnK.js → time-CAtex-RV.js} +2 -2
- package/dist/{time-BUL-dwnK.js.map → time-CAtex-RV.js.map} +1 -1
- package/dist/{time-CZd5YLSP.cjs → time-CkcKbhwe.cjs} +2 -2
- package/dist/{time-CZd5YLSP.cjs.map → time-CkcKbhwe.cjs.map} +1 -1
- package/dist/transformData.cjs +1 -1
- package/dist/transformData.d.ts +1 -1
- package/dist/transformData.js +3 -3
- package/dist/transformDataForAggregation-BFdha9Dx.cjs +2 -0
- package/dist/transformDataForAggregation-BFdha9Dx.cjs.map +1 -0
- package/dist/{transformDataForAggregation-j34UL73s.js → transformDataForAggregation-wdPf8bNt.js} +26 -11
- package/dist/transformDataForAggregation-wdPf8bNt.js.map +1 -0
- package/dist/{transformDataForGraphFromFile-CuXxR8uA.cjs → transformDataForGraphFromFile-DOhp1qrp.cjs} +2 -2
- package/dist/{transformDataForGraphFromFile-CuXxR8uA.cjs.map → transformDataForGraphFromFile-DOhp1qrp.cjs.map} +1 -1
- package/dist/{transformDataForGraphFromFile-DyP-83Nh.js → transformDataForGraphFromFile-dt9sHTVy.js} +3 -3
- package/dist/{transformDataForGraphFromFile-DyP-83Nh.js.map → transformDataForGraphFromFile-dt9sHTVy.js.map} +1 -1
- package/dist/{use-in-view-QcfiW0w3.cjs → use-in-view-C3o_ntMv.cjs} +2 -2
- package/dist/use-in-view-C3o_ntMv.cjs.map +1 -0
- package/dist/{use-in-view-Cxa7y1TH.js → use-in-view-Dl5L8LtP.js} +2 -2
- package/dist/use-in-view-Dl5L8LtP.js.map +1 -0
- package/dist/utils.cjs +1 -1
- package/dist/utils.js +4 -4
- package/dist/validateSchema.cjs +1 -1
- package/dist/validateSchema.d.ts +1 -1
- package/dist/validateSchema.js +1 -1
- package/dist/{x-BBpi7a_7-WVdj1j6r.js → x-BBpi7a_7-BsvWCzYM.js} +1 -31
- package/dist/{x-BBpi7a_7-WVdj1j6r.js.map → x-BBpi7a_7-BsvWCzYM.js.map} +1 -1
- package/dist/x-BBpi7a_7-DXYIEFwN.cjs +2 -0
- package/dist/{x-BBpi7a_7-mTo40uId.cjs.map → x-BBpi7a_7-DXYIEFwN.cjs.map} +1 -1
- package/dist/{zoom-C9MFjAaV.js → zoom-5AkJSuWO.js} +3 -3
- package/dist/zoom-5AkJSuWO.js.map +1 -0
- package/dist/{zoom-DPw8bba-.cjs → zoom-ChcvXFIz.cjs} +2 -2
- package/dist/zoom-ChcvXFIz.cjs.map +1 -0
- package/package.json +21 -1
- package/readme.md +33 -22
- package/dist/EmptyState-C7ZXkZWd.js +0 -15
- package/dist/GraphEl-BixTEyKW.cjs +0 -2
- package/dist/GraphEl-BixTEyKW.cjs.map +0 -1
- package/dist/GraphEl-Dyu_EIQb.js.map +0 -1
- package/dist/ReferenceLine-2XCwHXQ4.js.map +0 -1
- package/dist/RegressionLine-DAcY2DjT.js.map +0 -1
- package/dist/checkIfMultiple-wg6hJLXy.cjs +0 -12
- package/dist/defaultLocale-BEa-49Qz.js +0 -172
- package/dist/defaultLocale-BEa-49Qz.js.map +0 -1
- package/dist/defaultLocale-DIVzfLaQ.cjs +0 -2
- package/dist/defaultLocale-DIVzfLaQ.cjs.map +0 -1
- package/dist/getCentroidCoordinates-D7r34N4w.js.map +0 -1
- package/dist/getCentroidCoordinates-Dng1HVjO.cjs +0 -2
- package/dist/getCentroidCoordinates-Dng1HVjO.cjs.map +0 -1
- package/dist/getGraphList-CA17dvFB.cjs +0 -2
- package/dist/getGraphList-CA17dvFB.cjs.map +0 -1
- package/dist/getGraphList-Dxwo9TDb.js.map +0 -1
- package/dist/getSliderMarks-BmADcPQt.cjs +0 -6
- package/dist/getSliderMarks-HIDJ0_Cd.js.map +0 -1
- package/dist/imageDownload-BU4qnxJP.js.map +0 -1
- package/dist/imageDownload-NYXbvKob.cjs.map +0 -1
- package/dist/index-BqfRwk1n.js +0 -146
- package/dist/index-BqfRwk1n.js.map +0 -1
- package/dist/index-DG2bgAva.cjs +0 -10
- package/dist/index-DG2bgAva.cjs.map +0 -1
- package/dist/index-DxXnJ8Ti.cjs.map +0 -1
- package/dist/index-GEsywGxz.js.map +0 -1
- package/dist/parse-hMnG_lRV.cjs +0 -2
- package/dist/proxy-BxkFHwUw.js.map +0 -1
- package/dist/proxy-BxvUI_9l.cjs +0 -2
- package/dist/proxy-BxvUI_9l.cjs.map +0 -1
- package/dist/transformDataForAggregation-CYoB5Xsk.cjs +0 -2
- package/dist/transformDataForAggregation-CYoB5Xsk.cjs.map +0 -1
- package/dist/transformDataForAggregation-j34UL73s.js.map +0 -1
- package/dist/use-in-view-Cxa7y1TH.js.map +0 -1
- package/dist/use-in-view-QcfiW0w3.cjs.map +0 -1
- package/dist/x-BBpi7a_7-mTo40uId.cjs +0 -27
- package/dist/zoom-C9MFjAaV.js.map +0 -1
- package/dist/zoom-DPw8bba-.cjs.map +0 -1
package/dist/HybridMap.js
CHANGED
|
@@ -1,63 +1,63 @@
|
|
|
1
|
-
import { _ as
|
|
1
|
+
import { _ as We, m as Ne, b as Oe, j as a, c as _e } from "./index-CHPV5EwG-DecW7_qr.js";
|
|
2
2
|
import * as Ae from "react";
|
|
3
3
|
import Fe, { useState as z, useRef as Tt, useEffect as se, useEffectEvent as Te } from "react";
|
|
4
|
-
import { f as Re, p as qe } from "./parse-
|
|
5
|
-
import { g as Ge, N as He } from "./getSliderMarks-
|
|
6
|
-
import { w as Ue } from "./Spinner
|
|
7
|
-
import { i as
|
|
8
|
-
import { z as Xe,
|
|
9
|
-
import { j as
|
|
10
|
-
import {
|
|
11
|
-
import { n as
|
|
12
|
-
import { w as oo } from "./index-Dzc_aaI9-
|
|
13
|
-
import { T as ao } from "./Tooltip-
|
|
14
|
-
import { X as ro, P as io, e as no } from "./index-
|
|
15
|
-
import { D as lo } from "./DetailsModal-
|
|
16
|
-
import { s as so } from "./pow-
|
|
17
|
-
import { o as co } from "./ordinal-
|
|
4
|
+
import { f as Re, p as qe } from "./parse-Dv4of-PN.js";
|
|
5
|
+
import { g as Ge, N as He } from "./getSliderMarks-Cvg8zHBU.js";
|
|
6
|
+
import { w as Ue } from "./Spinner--r2RrJV8.js";
|
|
7
|
+
import { i as $e } from "./index-Bwrro8-q.js";
|
|
8
|
+
import { z as Xe, i as Ye, g as Je, a as Ke, b as Ze, c as Qe, d as to } from "./zoom-5AkJSuWO.js";
|
|
9
|
+
import { j as ke } from "./Typography-hWfh3H0J.js";
|
|
10
|
+
import { i as eo } from "./index-DCsFBfJ_.js";
|
|
11
|
+
import { n as Se } from "./Source-F8EYCYkV.js";
|
|
12
|
+
import { w as oo } from "./index-Dzc_aaI9-CG2Ar7l1.js";
|
|
13
|
+
import { T as ao } from "./Tooltip-BRnAz2Gv.js";
|
|
14
|
+
import { X as ro, P as io, e as no } from "./index-BQYOuXdl.js";
|
|
15
|
+
import { D as lo } from "./DetailsModal-BMCTgVsk.js";
|
|
16
|
+
import { s as so } from "./pow-CaIrlM4J.js";
|
|
17
|
+
import { o as co } from "./ordinal-CHaxGJ_l.js";
|
|
18
18
|
import { t as mo } from "./threshold-DFfqcDMa.js";
|
|
19
19
|
import { s as Ce } from "./select-DKy99ogv.js";
|
|
20
|
+
import { m as ht } from "./proxy-DRuSUlPL.js";
|
|
20
21
|
import { c as ce } from "./checkIfNullOrUndefined-DmfiKkNw.js";
|
|
21
22
|
import { n as po } from "./numberFormattingFunction-14YCbkN2.js";
|
|
22
|
-
import { u as uo } from "./use-in-view-
|
|
23
|
-
import {
|
|
24
|
-
import { A as ho } from "./index-BqfRwk1n.js";
|
|
23
|
+
import { u as uo } from "./use-in-view-Dl5L8LtP.js";
|
|
24
|
+
import { A as ho } from "./index-CtMBjvtq.js";
|
|
25
25
|
import { GraphFooter as go } from "./GraphFooter.js";
|
|
26
26
|
import { GraphHeader as fo } from "./GraphHeader.js";
|
|
27
27
|
import { Colors as St } from "./Colors.js";
|
|
28
|
-
import { f as yo } from "./fetchAndParseData-
|
|
29
|
-
import { a as xo, G as vo } from "./GraphContainer-
|
|
28
|
+
import { f as yo } from "./fetchAndParseData-BAXhgTDM.js";
|
|
29
|
+
import { a as xo, G as vo } from "./GraphContainer-CF6ws3pd.js";
|
|
30
30
|
import { g as bo } from "./getUniqValue-DsqSii6M.js";
|
|
31
|
-
import { g as wo } from "./getJenks-
|
|
32
|
-
var
|
|
33
|
-
const { decorative: e, orientation: h =
|
|
31
|
+
import { g as wo } from "./getJenks-DTCcQSDi.js";
|
|
32
|
+
var jo = "Separator", Me = "horizontal", ko = ["horizontal", "vertical"], Ee = Ae.forwardRef((r, t) => {
|
|
33
|
+
const { decorative: e, orientation: h = Me, ...w } = r, n = Co(h) ? h : Me, j = e ? { role: "none" } : { "aria-orientation": n === "vertical" ? n : void 0, role: "separator" };
|
|
34
34
|
return /* @__PURE__ */ Oe.jsx(
|
|
35
35
|
oo.div,
|
|
36
36
|
{
|
|
37
37
|
"data-orientation": n,
|
|
38
|
-
...
|
|
38
|
+
...j,
|
|
39
39
|
...w,
|
|
40
40
|
ref: t
|
|
41
41
|
}
|
|
42
42
|
);
|
|
43
43
|
});
|
|
44
|
-
Ee.displayName =
|
|
44
|
+
Ee.displayName = jo;
|
|
45
45
|
function Co(r) {
|
|
46
|
-
return
|
|
46
|
+
return ko.includes(r);
|
|
47
47
|
}
|
|
48
48
|
var Ie = Ee;
|
|
49
49
|
const ze = Fe.forwardRef((r, t) => {
|
|
50
|
-
const e =
|
|
51
|
-
let h, w, n,
|
|
50
|
+
const e = We.c(14);
|
|
51
|
+
let h, w, n, j;
|
|
52
52
|
e[0] !== r ? ({
|
|
53
53
|
className: h,
|
|
54
54
|
variant: n,
|
|
55
|
-
orientation:
|
|
55
|
+
orientation: j,
|
|
56
56
|
...w
|
|
57
|
-
} = r, e[0] = r, e[1] = h, e[2] = w, e[3] = n, e[4] =
|
|
58
|
-
const
|
|
57
|
+
} = r, e[0] = r, e[1] = h, e[2] = w, e[3] = n, e[4] = j) : (h = e[1], w = e[2], n = e[3], j = e[4]);
|
|
58
|
+
const k = n === void 0 ? "dark" : n, d = j === void 0 ? "horizontal" : j, g = d === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]", S = k === "dark" ? "bg-primary-gray-600 dark:bg-primary-gray-200" : "bg-primary-gray-400 dark:bg-primary-gray-550";
|
|
59
59
|
let N;
|
|
60
|
-
e[5] !== h || e[6] !== g || e[7] !== S ? (N =
|
|
60
|
+
e[5] !== h || e[6] !== g || e[7] !== S ? (N = Ne(g, S, h), e[5] = h, e[6] = g, e[7] = S, e[8] = N) : N = e[8];
|
|
61
61
|
let L;
|
|
62
62
|
return e[9] !== d || e[10] !== w || e[11] !== t || e[12] !== N ? (L = /* @__PURE__ */ Oe.jsx(Ie, { ...w, ref: t, orientation: d, className: N }), e[9] = d, e[10] = w, e[11] = t, e[12] = N, e[13] = L) : L = e[13], L;
|
|
63
63
|
});
|
|
@@ -69,15 +69,15 @@ function No(r) {
|
|
|
69
69
|
mapData: h,
|
|
70
70
|
mapColorLegendTitle: w,
|
|
71
71
|
colorDomain: n,
|
|
72
|
-
radius:
|
|
73
|
-
height:
|
|
72
|
+
radius: j,
|
|
73
|
+
height: k,
|
|
74
74
|
width: d,
|
|
75
75
|
scale: g,
|
|
76
76
|
centerPoint: S,
|
|
77
77
|
tooltip: N,
|
|
78
78
|
showLabels: L,
|
|
79
|
-
mapBorderWidth:
|
|
80
|
-
mapBorderColor:
|
|
79
|
+
mapBorderWidth: at,
|
|
80
|
+
mapBorderColor: rt,
|
|
81
81
|
mapNoDataColor: gt,
|
|
82
82
|
onSeriesMouseOver: K,
|
|
83
83
|
showColorScale: Mt,
|
|
@@ -87,46 +87,46 @@ function No(r) {
|
|
|
87
87
|
onSeriesMouseClick: F,
|
|
88
88
|
resetSelectionOnDoubleClick: Et,
|
|
89
89
|
detailsOnClick: Z,
|
|
90
|
-
styles:
|
|
91
|
-
classNames:
|
|
90
|
+
styles: M,
|
|
91
|
+
classNames: Q,
|
|
92
92
|
mapProjection: it,
|
|
93
|
-
zoomInteraction:
|
|
93
|
+
zoomInteraction: tt,
|
|
94
94
|
animate: x,
|
|
95
95
|
dimmedOpacity: T,
|
|
96
96
|
customLayers: ft,
|
|
97
97
|
maxRadiusValue: yt,
|
|
98
98
|
categorical: nt,
|
|
99
|
-
dotColor:
|
|
99
|
+
dotColor: et,
|
|
100
100
|
collapseColorScaleByDefault: It,
|
|
101
101
|
highlightedIds: lt,
|
|
102
102
|
mapProperty: xt,
|
|
103
103
|
dotLegendTitle: vt,
|
|
104
104
|
dotBorderColor: zt,
|
|
105
105
|
labelColor: Lt
|
|
106
|
-
} = r, [P,
|
|
106
|
+
} = r, [P, V] = z(void 0), [b, v] = z(It === void 0 ? !(d < 680) : !It), st = Tt(null), [ct, ot] = z(void 0), [Pt, E] = z(void 0), [dt, I] = z(void 0), [bt, R] = z(void 0), B = Tt(null), q = uo(B, {
|
|
107
107
|
once: x.once,
|
|
108
108
|
amount: x.amount
|
|
109
|
-
}), wt = Tt(null),
|
|
109
|
+
}), wt = Tt(null), W = t.filter((o) => o.radius === void 0 || o.radius === null).length !== t.length ? so().domain([0, yt]).range([0.25, j]).nice() : void 0, Gt = nt ? co().domain(n).range(e) : mo().domain(n).range(e);
|
|
110
110
|
se(() => {
|
|
111
|
-
const o = Ce(wt.current), i = Ce(
|
|
112
|
-
if (
|
|
113
|
-
if (
|
|
111
|
+
const o = Ce(wt.current), i = Ce(B.current), O = (m) => {
|
|
112
|
+
if (tt === "noZoom") return !1;
|
|
113
|
+
if (tt === "button") return !m.type.includes("wheel");
|
|
114
114
|
const s = m.type === "wheel", C = m.type.startsWith("touch"), p = m.type === "mousedown" || m.type === "mousemove";
|
|
115
|
-
return C ? !0 : s ?
|
|
116
|
-
}, l = Xe().scaleExtent(Rt).translateExtent(qt || [[-20, -20], [d + 20,
|
|
115
|
+
return C ? !0 : s ? tt === "scroll" ? !0 : m.ctrlKey : p && !m.button && !m.ctrlKey;
|
|
116
|
+
}, l = Xe().scaleExtent(Rt).translateExtent(qt || [[-20, -20], [d + 20, k + 20]]).filter(O).on("zoom", ({
|
|
117
117
|
transform: m
|
|
118
118
|
}) => {
|
|
119
119
|
o.attr("transform", m);
|
|
120
120
|
});
|
|
121
121
|
i.call(l), st.current = l;
|
|
122
|
-
}, [
|
|
123
|
-
const D = Ye(h),
|
|
124
|
-
if (!
|
|
125
|
-
Ce(
|
|
122
|
+
}, [k, d, tt]);
|
|
123
|
+
const D = Ye(h), _ = eo(h), G = D[2] - D[0], Vt = D[3] - D[1], Bt = d * 190 / 960 * 360 / G, Wt = k * 190 / 678 * 180 / Vt, H = g * Math.min(Bt, Wt), A = it === "mercator" ? Je().rotate([0, 0]).center(S || _.geometry.coordinates).translate([d / 2, k / 2]).scale(H) : it === "equalEarth" ? Ke().rotate([0, 0]).center(S || _.geometry.coordinates).translate([d / 2, k / 2]).scale(H) : it === "naturalEarth" ? Ze().rotate([0, 0]).center(S || _.geometry.coordinates).translate([d / 2, k / 2]).scale(H) : it === "orthographic" ? Qe().rotate([0, 0]).center(S || _.geometry.coordinates).translate([d / 2, k / 2]).scale(H) : to().rotate([0, 0]).center(S || _.geometry.coordinates).translate([d / 2, k / 2]).scale(H), jt = (o) => {
|
|
124
|
+
if (!B.current || !st.current) return;
|
|
125
|
+
Ce(B.current).call(st.current.scaleBy, o === "in" ? 1.2 : 1 / 1.2);
|
|
126
126
|
};
|
|
127
127
|
return /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
128
128
|
/* @__PURE__ */ a.jsxs("div", { className: "relative", children: [
|
|
129
|
-
/* @__PURE__ */ a.jsx(ht.svg, { width: `${d}px`, height: `${
|
|
129
|
+
/* @__PURE__ */ a.jsx(ht.svg, { width: `${d}px`, height: `${k}px`, viewBox: `0 0 ${d} ${k}`, ref: B, direction: "ltr", children: /* @__PURE__ */ a.jsxs("g", { ref: wt, children: [
|
|
130
130
|
ft.filter((o) => o.position === "before").map((o) => o.layer),
|
|
131
131
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
132
132
|
h.features.map((o, i) => t.findIndex((l) => l.id === o.properties[xt]) !== -1 ? null : /* @__PURE__ */ a.jsx("g", { opacity: P ? T : lt.length !== 0 ? lt.indexOf(o.properties[xt]) !== -1 ? 1 : T : 1, children: o.geometry.type === "MultiPolygon" ? (
|
|
@@ -140,8 +140,8 @@ function No(r) {
|
|
|
140
140
|
mt !== C.length - 1 ? p = `${p}${$[0]} ${$[1]}L` : p = `${p}${$[0]} ${$[1]}`;
|
|
141
141
|
}), s += p;
|
|
142
142
|
}), /* @__PURE__ */ a.jsx("path", { d: s, style: {
|
|
143
|
-
stroke:
|
|
144
|
-
strokeWidth:
|
|
143
|
+
stroke: rt,
|
|
144
|
+
strokeWidth: at,
|
|
145
145
|
fill: gt
|
|
146
146
|
} }, m);
|
|
147
147
|
})
|
|
@@ -153,8 +153,8 @@ function No(r) {
|
|
|
153
153
|
const f = A([C[0], C[1]]);
|
|
154
154
|
p !== l.length - 1 ? s = `${s}${f[0]} ${f[1]}L` : s = `${s}${f[0]} ${f[1]}`;
|
|
155
155
|
}), /* @__PURE__ */ a.jsx("path", { d: s, style: {
|
|
156
|
-
stroke:
|
|
157
|
-
strokeWidth:
|
|
156
|
+
stroke: rt,
|
|
157
|
+
strokeWidth: at,
|
|
158
158
|
fill: gt
|
|
159
159
|
} }, m);
|
|
160
160
|
})
|
|
@@ -164,7 +164,7 @@ function No(r) {
|
|
|
164
164
|
const i = h.features.findIndex(
|
|
165
165
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
166
166
|
(l) => o.id === l.properties[xt]
|
|
167
|
-
),
|
|
167
|
+
), O = ce(o.x) ? gt : (
|
|
168
168
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
169
169
|
Gt(o.x)
|
|
170
170
|
);
|
|
@@ -173,7 +173,7 @@ function No(r) {
|
|
|
173
173
|
opacity: 0
|
|
174
174
|
},
|
|
175
175
|
whileInView: {
|
|
176
|
-
opacity: P ? P ===
|
|
176
|
+
opacity: P ? P === O ? 1 : T : lt.length !== 0 ? lt.indexOf(o.id) !== -1 ? 1 : T : 1,
|
|
177
177
|
transition: {
|
|
178
178
|
duration: x.duration
|
|
179
179
|
}
|
|
@@ -190,7 +190,7 @@ function No(r) {
|
|
|
190
190
|
}, onMouseLeave: () => {
|
|
191
191
|
E(void 0), I(void 0), R(void 0), K?.(void 0);
|
|
192
192
|
}, onClick: () => {
|
|
193
|
-
(F || Z) && (
|
|
193
|
+
(F || Z) && ($e(ct, o) && Et ? (ot(void 0), F?.(void 0)) : (ot(o), F?.(o)));
|
|
194
194
|
}, children: i === -1 ? null : h.features[i].geometry.type === "MultiPolygon" ? h.features[i].geometry.coordinates.map(
|
|
195
195
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
196
196
|
(l, m) => {
|
|
@@ -203,11 +203,11 @@ function No(r) {
|
|
|
203
203
|
}), s += p;
|
|
204
204
|
}), /* @__PURE__ */ a.jsx(ht.path, { d: s, variants: {
|
|
205
205
|
initial: {
|
|
206
|
-
fill:
|
|
206
|
+
fill: O,
|
|
207
207
|
opacity: 0
|
|
208
208
|
},
|
|
209
209
|
whileInView: {
|
|
210
|
-
fill:
|
|
210
|
+
fill: O,
|
|
211
211
|
opacity: 1,
|
|
212
212
|
transition: {
|
|
213
213
|
duration: x.duration
|
|
@@ -219,8 +219,8 @@ function No(r) {
|
|
|
219
219
|
duration: x.duration
|
|
220
220
|
}
|
|
221
221
|
}, style: {
|
|
222
|
-
stroke:
|
|
223
|
-
strokeWidth:
|
|
222
|
+
stroke: rt,
|
|
223
|
+
strokeWidth: at
|
|
224
224
|
} }, `${o.id}-${m}`);
|
|
225
225
|
}
|
|
226
226
|
) : h.features[i].geometry.coordinates.map(
|
|
@@ -232,11 +232,11 @@ function No(r) {
|
|
|
232
232
|
p !== l.length - 1 ? s = `${s}${f[0]} ${f[1]}L` : s = `${s}${f[0]} ${f[1]}`;
|
|
233
233
|
}), /* @__PURE__ */ a.jsx(ht.path, { d: s, variants: {
|
|
234
234
|
initial: {
|
|
235
|
-
fill:
|
|
235
|
+
fill: O,
|
|
236
236
|
opacity: 0
|
|
237
237
|
},
|
|
238
238
|
whileInView: {
|
|
239
|
-
fill:
|
|
239
|
+
fill: O,
|
|
240
240
|
opacity: 1,
|
|
241
241
|
transition: {
|
|
242
242
|
duration: x.duration
|
|
@@ -248,8 +248,8 @@ function No(r) {
|
|
|
248
248
|
duration: x.duration
|
|
249
249
|
}
|
|
250
250
|
}, style: {
|
|
251
|
-
stroke:
|
|
252
|
-
strokeWidth:
|
|
251
|
+
stroke: rt,
|
|
252
|
+
strokeWidth: at
|
|
253
253
|
} }, `${o.id}-${m}`);
|
|
254
254
|
}
|
|
255
255
|
) }, o.id);
|
|
@@ -276,18 +276,18 @@ function No(r) {
|
|
|
276
276
|
}, onMouseLeave: () => {
|
|
277
277
|
E(void 0), I(void 0), R(void 0), K?.(void 0);
|
|
278
278
|
}, onClick: () => {
|
|
279
|
-
(F || Z) && (
|
|
279
|
+
(F || Z) && ($e(ct, o) && Et ? (ot(void 0), F?.(void 0)) : (ot(o), F?.(o)));
|
|
280
280
|
}, transform: `translate(${A([o.long, o.lat])[0]},${A([o.long, o.lat])[1]})`, children: [
|
|
281
281
|
/* @__PURE__ */ a.jsx(ht.circle, { cx: 0, cy: 0, variants: {
|
|
282
282
|
initial: {
|
|
283
283
|
r: 0,
|
|
284
|
-
fill:
|
|
285
|
-
stroke: zt ||
|
|
284
|
+
fill: et,
|
|
285
|
+
stroke: zt || et
|
|
286
286
|
},
|
|
287
287
|
whileInView: {
|
|
288
|
-
r:
|
|
289
|
-
fill:
|
|
290
|
-
stroke: zt ||
|
|
288
|
+
r: W ? W(o.radius || 0) : j,
|
|
289
|
+
fill: et,
|
|
290
|
+
stroke: zt || et,
|
|
291
291
|
transition: {
|
|
292
292
|
duration: x.duration
|
|
293
293
|
}
|
|
@@ -303,11 +303,11 @@ function No(r) {
|
|
|
303
303
|
L && o.label ? /* @__PURE__ */ a.jsx(ht.text, { variants: {
|
|
304
304
|
initial: {
|
|
305
305
|
opacity: 0,
|
|
306
|
-
x:
|
|
306
|
+
x: W ? W(o.radius || 0) : j
|
|
307
307
|
},
|
|
308
308
|
whileInView: {
|
|
309
309
|
opacity: 1,
|
|
310
|
-
x:
|
|
310
|
+
x: W ? W(o.radius || 0) : j,
|
|
311
311
|
transition: {
|
|
312
312
|
duration: x.duration
|
|
313
313
|
}
|
|
@@ -317,15 +317,16 @@ function No(r) {
|
|
|
317
317
|
transition: {
|
|
318
318
|
duration: x.duration
|
|
319
319
|
}
|
|
320
|
-
}, y: 0, className: "text-sm", style: {
|
|
320
|
+
}, y: 0, className: Ne("text-sm", Q?.graphObjectValues), style: {
|
|
321
321
|
textAnchor: "start",
|
|
322
|
-
fill: Lt || "#000"
|
|
322
|
+
fill: Lt || "#000",
|
|
323
|
+
...M?.graphObjectValues || {}
|
|
323
324
|
}, dx: 4, dy: 5, children: o.label }) : null
|
|
324
325
|
] }, o.label || `${o.lat}-${o.long}`))
|
|
325
326
|
] }),
|
|
326
327
|
ft.filter((o) => o.position === "after").map((o) => o.layer)
|
|
327
328
|
] }) }),
|
|
328
|
-
Mt === !1 ? null : /* @__PURE__ */ a.jsx("div", { className:
|
|
329
|
+
Mt === !1 ? null : /* @__PURE__ */ a.jsx("div", { className: Ne("absolute left-4 bottom-4 map-color-legend", Q?.colorLegend), children: b ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
329
330
|
/* @__PURE__ */ a.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: () => {
|
|
330
331
|
v(!1);
|
|
331
332
|
}, children: /* @__PURE__ */ a.jsx(ro, {}) }),
|
|
@@ -335,37 +336,37 @@ function No(r) {
|
|
|
335
336
|
vt && vt !== "" ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
336
337
|
/* @__PURE__ */ a.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
337
338
|
/* @__PURE__ */ a.jsx("div", { className: "w-3 h-3 rounded-full", style: {
|
|
338
|
-
backgroundColor:
|
|
339
|
+
backgroundColor: et
|
|
339
340
|
} }),
|
|
340
|
-
/* @__PURE__ */ a.jsx(
|
|
341
|
+
/* @__PURE__ */ a.jsx(ke, { size: "xs", marginBottom: "none", className: "p-0 leading-normal overflow-hidden text-primary-gray-700 dark:text-primary-gray-300", style: {
|
|
341
342
|
display: "-webkit-box",
|
|
342
343
|
WebkitLineClamp: "1",
|
|
343
344
|
WebkitBoxOrient: "vertical"
|
|
344
345
|
}, children: vt })
|
|
345
346
|
] }),
|
|
346
|
-
/* @__PURE__ */ a.jsx(
|
|
347
|
+
/* @__PURE__ */ a.jsx(Se, { size: "xl" }),
|
|
347
348
|
/* @__PURE__ */ a.jsx(ze, {}),
|
|
348
|
-
/* @__PURE__ */ a.jsx(
|
|
349
|
+
/* @__PURE__ */ a.jsx(Se, { size: "xl" })
|
|
349
350
|
] }) : null,
|
|
350
|
-
w && w !== "" ? /* @__PURE__ */ a.jsx(
|
|
351
|
+
w && w !== "" ? /* @__PURE__ */ a.jsx(ke, { size: "xs", marginBottom: "xs", className: "p-0 leading-normal overflow-hidden text-primary-gray-700 dark:text-primary-gray-300", style: {
|
|
351
352
|
display: "-webkit-box",
|
|
352
353
|
WebkitLineClamp: "1",
|
|
353
354
|
WebkitBoxOrient: "vertical"
|
|
354
355
|
}, children: w }) : null,
|
|
355
356
|
nt ? /* @__PURE__ */ a.jsx("div", { className: "flex flex-col gap-3", children: n.map((o, i) => /* @__PURE__ */ a.jsxs("div", { className: "flex gap-2 items-center", onMouseOver: () => {
|
|
356
|
-
|
|
357
|
+
V(e[i % e.length]);
|
|
357
358
|
}, onMouseLeave: () => {
|
|
358
|
-
|
|
359
|
+
V(void 0);
|
|
359
360
|
}, children: [
|
|
360
361
|
/* @__PURE__ */ a.jsx("div", { className: "w-2 h-2 rounded-full", style: {
|
|
361
362
|
backgroundColor: e[i % e.length]
|
|
362
363
|
} }),
|
|
363
|
-
/* @__PURE__ */ a.jsx(
|
|
364
|
+
/* @__PURE__ */ a.jsx(ke, { size: "sm", marginBottom: "none", leading: "none", children: o })
|
|
364
365
|
] }, i)) }) : /* @__PURE__ */ a.jsx("svg", { width: "100%", viewBox: "0 0 320 30", direction: "ltr", children: /* @__PURE__ */ a.jsxs("g", { children: [
|
|
365
366
|
n.map((o, i) => /* @__PURE__ */ a.jsxs("g", { onMouseOver: () => {
|
|
366
|
-
|
|
367
|
+
V(e[i]);
|
|
367
368
|
}, onMouseLeave: () => {
|
|
368
|
-
|
|
369
|
+
V(void 0);
|
|
369
370
|
}, className: "cursor-pointer", children: [
|
|
370
371
|
/* @__PURE__ */ a.jsx("rect", { x: i * 320 / e.length + 1, y: 1, width: 320 / e.length - 2, height: 8, className: P === e[i] ? "stroke-primary-gray-700 dark:stroke-primary-gray-300" : "", style: {
|
|
371
372
|
fill: e[i],
|
|
@@ -378,9 +379,9 @@ function No(r) {
|
|
|
378
379
|
}, children: po(o, "NA") })
|
|
379
380
|
] }, i)),
|
|
380
381
|
/* @__PURE__ */ a.jsx("g", { children: /* @__PURE__ */ a.jsx("rect", { onMouseOver: () => {
|
|
381
|
-
|
|
382
|
+
V(e[n.length]);
|
|
382
383
|
}, onMouseLeave: () => {
|
|
383
|
-
|
|
384
|
+
V(void 0);
|
|
384
385
|
}, x: n.length * 320 / e.length + 1, y: 1, width: 320 / e.length - 2, height: 8, className: `cursor-pointer ${P === e[n.length] ? "stroke-1 stroke-primary-gray-700 dark:stroke-primary-gray-300" : ""}`, style: {
|
|
385
386
|
fill: e[n.length],
|
|
386
387
|
...P === e[n.length] ? {} : {
|
|
@@ -392,30 +393,30 @@ function No(r) {
|
|
|
392
393
|
] }) : /* @__PURE__ */ a.jsx("button", { type: "button", className: "mb-0 border-0 bg-transparent p-0 self-start map-legend-button", onClick: () => {
|
|
393
394
|
v(!0);
|
|
394
395
|
}, children: /* @__PURE__ */ a.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" }) }) }),
|
|
395
|
-
|
|
396
|
-
/* @__PURE__ */ a.jsx("button", { onClick: () =>
|
|
397
|
-
/* @__PURE__ */ a.jsx("button", { onClick: () =>
|
|
396
|
+
tt === "button" && /* @__PURE__ */ a.jsxs("div", { className: "absolute left-4 top-4 flex flex-col zoom-buttons", children: [
|
|
397
|
+
/* @__PURE__ */ a.jsx("button", { onClick: () => jt("in"), className: "leading-0 px-2 py-3.5 text-primary-gray-700 border border-primary-gray-400 bg-primary-gray-200 dark:border-primary-gray-550 dark:bg-primary-gray-600 dark:text-primary-gray-100", children: "+" }),
|
|
398
|
+
/* @__PURE__ */ a.jsx("button", { onClick: () => jt("out"), className: "leading-0 px-2 py-3.5 text-primary-gray-700 border 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: "–" })
|
|
398
399
|
] })
|
|
399
400
|
] }),
|
|
400
|
-
Z && ct !== void 0 ? /* @__PURE__ */ a.jsx(lo, { body: Z, data: ct, setData:
|
|
401
|
-
Pt && N && dt && bt ? /* @__PURE__ */ a.jsx(ao, { data: Pt, body: N, xPos: dt, yPos: bt, backgroundStyle:
|
|
401
|
+
Z && ct !== void 0 ? /* @__PURE__ */ a.jsx(lo, { body: Z, data: ct, setData: ot, className: Q?.modal }) : null,
|
|
402
|
+
Pt && N && dt && bt ? /* @__PURE__ */ a.jsx(ao, { data: Pt, body: N, xPos: dt, yPos: bt, backgroundStyle: M?.tooltip, className: Q?.tooltip }) : null
|
|
402
403
|
] });
|
|
403
404
|
}
|
|
404
405
|
function ua(r) {
|
|
405
|
-
const t =
|
|
406
|
+
const t = _e.c(131), {
|
|
406
407
|
data: e,
|
|
407
408
|
mapData: h,
|
|
408
409
|
graphTitle: w,
|
|
409
410
|
colors: n,
|
|
410
|
-
sources:
|
|
411
|
-
graphDescription:
|
|
411
|
+
sources: j,
|
|
412
|
+
graphDescription: k,
|
|
412
413
|
height: d,
|
|
413
414
|
width: g,
|
|
414
415
|
footNote: S,
|
|
415
416
|
mapColorLegendTitle: N,
|
|
416
417
|
colorDomain: L,
|
|
417
|
-
choroplethScaleType:
|
|
418
|
-
radius:
|
|
418
|
+
choroplethScaleType: at,
|
|
419
|
+
radius: rt,
|
|
419
420
|
scale: gt,
|
|
420
421
|
centerPoint: K,
|
|
421
422
|
padding: Mt,
|
|
@@ -425,16 +426,16 @@ function ua(r) {
|
|
|
425
426
|
showLabels: F,
|
|
426
427
|
mapBorderColor: Et,
|
|
427
428
|
tooltip: Z,
|
|
428
|
-
relativeHeight:
|
|
429
|
-
onSeriesMouseOver:
|
|
429
|
+
relativeHeight: M,
|
|
430
|
+
onSeriesMouseOver: Q,
|
|
430
431
|
isWorldMap: it,
|
|
431
|
-
showColorScale:
|
|
432
|
+
showColorScale: tt,
|
|
432
433
|
zoomScaleExtend: x,
|
|
433
434
|
zoomTranslateExtend: T,
|
|
434
435
|
graphID: ft,
|
|
435
436
|
highlightedDataPoints: yt,
|
|
436
437
|
onSeriesMouseClick: nt,
|
|
437
|
-
graphDownload:
|
|
438
|
+
graphDownload: et,
|
|
438
439
|
dataDownload: It,
|
|
439
440
|
showAntarctica: lt,
|
|
440
441
|
language: xt,
|
|
@@ -442,30 +443,30 @@ function ua(r) {
|
|
|
442
443
|
theme: zt,
|
|
443
444
|
ariaLabel: Lt,
|
|
444
445
|
resetSelectionOnDoubleClick: P,
|
|
445
|
-
detailsOnClick:
|
|
446
|
+
detailsOnClick: V,
|
|
446
447
|
styles: b,
|
|
447
448
|
classNames: v,
|
|
448
449
|
mapProjection: st,
|
|
449
450
|
zoomInteraction: ct,
|
|
450
|
-
animate:
|
|
451
|
+
animate: ot,
|
|
451
452
|
dimmedOpacity: Pt,
|
|
452
453
|
customLayers: E,
|
|
453
454
|
maxRadiusValue: dt,
|
|
454
455
|
timeline: I,
|
|
455
456
|
collapseColorScaleByDefault: bt,
|
|
456
457
|
dotColor: R,
|
|
457
|
-
highlightedIds:
|
|
458
|
+
highlightedIds: B,
|
|
458
459
|
mapProperty: q,
|
|
459
460
|
dotLegendTitle: wt,
|
|
460
|
-
dotBorderColor:
|
|
461
|
+
dotBorderColor: W,
|
|
461
462
|
labelColor: Gt
|
|
462
|
-
} = r, D = h === void 0 ? "https://raw.githubusercontent.com/UNDP-Data/dv-country-geojson/refs/heads/main/worldMap.json" : h,
|
|
463
|
+
} = r, D = h === void 0 ? "https://raw.githubusercontent.com/UNDP-Data/dv-country-geojson/refs/heads/main/worldMap.json" : h, _ = S === 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." : S, G = at === void 0 ? "threshold" : at, Vt = rt === void 0 ? 5 : rt, Bt = gt === void 0 ? 0.95 : gt, Wt = Rt === void 0 ? 0.5 : Rt, H = qt === void 0 ? St.light.graphNoData : qt, A = Ot === void 0 ? !1 : Ot, jt = F === void 0 ? !1 : F, o = Et === void 0 ? St.light.grays["gray-500"] : Et, i = it === void 0 ? !0 : it, O = tt === void 0 ? !0 : tt;
|
|
463
464
|
let l;
|
|
464
465
|
t[0] !== x ? (l = x === void 0 ? [0.8, 6] : x, t[0] = x, t[1] = l) : l = t[1];
|
|
465
466
|
const m = l;
|
|
466
467
|
let s;
|
|
467
468
|
t[2] !== yt ? (s = yt === void 0 ? [] : yt, t[2] = yt, t[3] = s) : s = t[3];
|
|
468
|
-
const C = s, p =
|
|
469
|
+
const C = s, p = et === void 0 ? !1 : et, f = It === void 0 ? !1 : It, mt = lt === void 0 ? !1 : lt, $ = xt === void 0 ? "en" : xt, U = vt === void 0 ? 0 : vt, pt = zt === void 0 ? "light" : zt, de = P === void 0 ? !0 : P, me = ct === void 0 ? "button" : ct, Ht = ot === void 0 ? !1 : ot, pe = Pt === void 0 ? 0.3 : Pt;
|
|
469
470
|
let Ut;
|
|
470
471
|
t[4] !== E ? (Ut = E === void 0 ? [] : E, t[4] = E, t[5] = Ut) : Ut = t[5];
|
|
471
472
|
const ue = Ut;
|
|
@@ -477,28 +478,28 @@ function ua(r) {
|
|
|
477
478
|
} : I, t[6] = I, t[7] = Xt) : Xt = t[7];
|
|
478
479
|
const c = Xt, he = R === void 0 ? St.primaryColors["blue-600"] : R;
|
|
479
480
|
let Yt;
|
|
480
|
-
t[8] !==
|
|
481
|
-
const ge = Yt, fe = q === void 0 ? "ISO3" : q, ye = Gt === void 0 ? St.primaryColors["blue-600"] : Gt, [ut, Le] = z(0), [
|
|
481
|
+
t[8] !== B ? (Yt = B === void 0 ? [] : B, t[8] = B, t[9] = Yt) : Yt = t[9];
|
|
482
|
+
const ge = Yt, fe = q === void 0 ? "ISO3" : q, ye = Gt === void 0 ? St.primaryColors["blue-600"] : Gt, [ut, Le] = z(0), [_t, Pe] = z(0), [X, Ve] = z(c.autoplay);
|
|
482
483
|
let At;
|
|
483
484
|
if (t[10] !== e || t[11] !== c.dateFormat) {
|
|
484
485
|
let y;
|
|
485
|
-
t[13] !== c.dateFormat ? (y = (J) => qe(`${J.date}`, c.dateFormat || "yyyy", /* @__PURE__ */ new Date()).getTime(), t[13] = c.dateFormat, t[14] = y) : y = t[14], At = [...new Set(e.filter(
|
|
486
|
+
t[13] !== c.dateFormat ? (y = (J) => qe(`${J.date}`, c.dateFormat || "yyyy", /* @__PURE__ */ new Date()).getTime(), t[13] = c.dateFormat, t[14] = y) : y = t[14], At = [...new Set(e.filter(Vo).map(y))], At.sort(Po), t[10] = e, t[11] = c.dateFormat, t[12] = At;
|
|
486
487
|
} else
|
|
487
488
|
At = t[12];
|
|
488
|
-
const u = At, [Y, xe] = z(c.autoplay ? 0 : u.length - 1), [
|
|
489
|
+
const u = At, [Y, xe] = z(c.autoplay ? 0 : u.length - 1), [kt, Be] = z(void 0), ve = Tt(null), De = Tt(null);
|
|
489
490
|
let Jt;
|
|
490
491
|
t[15] !== G || t[16] !== L || t[17] !== n?.length || t[18] !== e ? (Jt = L || (G === "categorical" ? bo(e, "x") : wo(e.map(Lo), n?.length || 4)), t[15] = G, t[16] = L, t[17] = n?.length, t[18] = e, t[19] = Jt) : Jt = t[19];
|
|
491
492
|
const Ft = Jt;
|
|
492
493
|
let Kt, Zt;
|
|
493
|
-
t[20] === Symbol.for("react.memo_cache_sentinel") ? (Kt = () => {
|
|
494
|
+
t[20] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Kt = () => {
|
|
494
495
|
const y = new ResizeObserver((J) => {
|
|
495
496
|
Le(J[0].target.clientWidth || 620), Pe(J[0].target.clientHeight || 480);
|
|
496
497
|
});
|
|
497
498
|
return ve.current && y.observe(ve.current), () => y.disconnect();
|
|
498
499
|
}, Zt = [], t[20] = Kt, t[21] = Zt) : (Kt = t[20], Zt = t[21]), se(Kt, Zt);
|
|
499
500
|
let Qt;
|
|
500
|
-
t[22] === Symbol.for("react.memo_cache_sentinel") ? (Qt = (y) => {
|
|
501
|
-
|
|
501
|
+
t[22] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Qt = (y) => {
|
|
502
|
+
Be(y);
|
|
502
503
|
}, t[22] = Qt) : Qt = t[22];
|
|
503
504
|
const te = Te(Qt);
|
|
504
505
|
let ee;
|
|
@@ -519,19 +520,19 @@ function ua(r) {
|
|
|
519
520
|
const be = c.dateFormat || "yyyy";
|
|
520
521
|
let ie;
|
|
521
522
|
t[33] !== Y || t[34] !== be || t[35] !== c.showOnlyActiveDate || t[36] !== u ? (ie = Ge(u, Y, c.showOnlyActiveDate, be), t[33] = Y, t[34] = be, t[35] = c.showOnlyActiveDate, t[36] = u, t[37] = ie) : ie = t[37];
|
|
522
|
-
const ne = ie, we = v?.graphContainer,
|
|
523
|
+
const ne = ie, we = v?.graphContainer, je = b?.graphContainer;
|
|
523
524
|
let Ct;
|
|
524
|
-
t[38] !== v?.description || t[39] !== v?.title || t[40] !== e || t[41] !== f || t[42] !==
|
|
525
|
+
t[38] !== v?.description || t[39] !== v?.title || t[40] !== e || t[41] !== f || t[42] !== k || t[43] !== p || t[44] !== w || t[45] !== b?.description || t[46] !== b?.title || t[47] !== g ? (Ct = w || k || p || f ? /* @__PURE__ */ a.jsx(fo, { styles: {
|
|
525
526
|
title: b?.title,
|
|
526
527
|
description: b?.description
|
|
527
528
|
}, classNames: {
|
|
528
529
|
title: v?.title,
|
|
529
530
|
description: v?.description
|
|
530
|
-
}, graphTitle: w, graphDescription:
|
|
531
|
+
}, graphTitle: w, graphDescription: k, width: g, graphDownload: p ? De : void 0, dataDownload: f ? e.map(zo).filter(Io).length > 0 ? e.map(Eo).filter(Oo) : e.filter(Mo) : null }) : null, t[38] = v?.description, t[39] = v?.title, t[40] = e, t[41] = f, t[42] = k, t[43] = p, t[44] = w, t[45] = b?.description, t[46] = b?.title, t[47] = g, t[48] = Ct) : Ct = t[48];
|
|
531
532
|
let Nt;
|
|
532
533
|
t[49] !== Y || t[50] !== ne || t[51] !== X || t[52] !== c.enabled || t[53] !== u ? (Nt = c.enabled && u.length > 0 && ne ? /* @__PURE__ */ a.jsxs("div", { className: "flex gap-6 items-center", dir: "ltr", children: [
|
|
533
534
|
/* @__PURE__ */ a.jsx("button", { type: "button", onClick: () => {
|
|
534
|
-
|
|
535
|
+
Ve(!X);
|
|
535
536
|
}, className: "p-0 border-0 cursor-pointer bg-transparent", "aria-label": X ? "Click to pause animation" : "Click to play animation", children: X ? /* @__PURE__ */ a.jsx(io, {}) : /* @__PURE__ */ a.jsx(no, {}) }),
|
|
536
537
|
/* @__PURE__ */ a.jsx(He, { min: u[0], max: u[u.length - 1], marks: ne, step: null, defaultValue: u[u.length - 1], value: u[Y], onChangeComplete: (y) => {
|
|
537
538
|
xe(u.indexOf(y));
|
|
@@ -540,10 +541,10 @@ function ua(r) {
|
|
|
540
541
|
}, "aria-label": "Time slider. Use arrow keys to adjust selected time period." })
|
|
541
542
|
] }) : null, t[49] = Y, t[50] = ne, t[51] = X, t[52] = c.enabled, t[53] = u, t[54] = Nt) : Nt = t[54];
|
|
542
543
|
let Dt;
|
|
543
|
-
t[55] !== Ht || t[56] !== K || t[57] !== G || t[58] !== v || t[59] !== bt || t[60] !== n || t[61] !== ue || t[62] !== e || t[63] !==
|
|
544
|
-
...
|
|
545
|
-
features:
|
|
546
|
-
}, colorDomain: Ft, width: ut, height:
|
|
544
|
+
t[55] !== Ht || t[56] !== K || t[57] !== G || t[58] !== v || t[59] !== bt || t[60] !== n || t[61] !== ue || t[62] !== e || t[63] !== V || t[64] !== pe || t[65] !== Ft || t[66] !== W || t[67] !== he || t[68] !== wt || t[69] !== d || t[70] !== C || t[71] !== ge || t[72] !== Y || t[73] !== i || t[74] !== ye || t[75] !== o || t[76] !== Wt || t[77] !== N || t[78] !== H || t[79] !== st || t[80] !== fe || t[81] !== kt || t[82] !== dt || t[83] !== U || t[84] !== nt || t[85] !== Q || t[86] !== Vt || t[87] !== M || t[88] !== de || t[89] !== Bt || t[90] !== mt || t[91] !== O || t[92] !== jt || t[93] !== b || t[94] !== _t || t[95] !== ut || t[96] !== pt || t[97] !== c.dateFormat || t[98] !== c.enabled || t[99] !== Z || t[100] !== u || t[101] !== g || t[102] !== me || t[103] !== m || t[104] !== T ? (Dt = /* @__PURE__ */ a.jsx(xo, { ref: ve, children: ut && _t && kt ? /* @__PURE__ */ a.jsx(No, { dotColor: he, data: e.filter((y) => c.enabled ? y.date === Re(new Date(u[Y]), c.dateFormat || "yyyy") : y), mapData: mt ? kt : {
|
|
545
|
+
...kt,
|
|
546
|
+
features: kt.features.filter(So)
|
|
547
|
+
}, colorDomain: Ft, width: ut, height: _t, scale: Bt, centerPoint: K, colors: n || (G === "categorical" ? St[pt].sequentialColors[`neutralColorsx0${Ft.length}`] : St[pt].sequentialColors[`neutralColorsx0${Ft.length + 1}`]), mapColorLegendTitle: N, radius: Vt, categorical: G === "categorical", mapBorderWidth: Wt, mapNoDataColor: H, mapBorderColor: o, tooltip: Z, onSeriesMouseOver: Q, showLabels: jt, isWorldMap: i, showColorScale: O, zoomScaleExtend: m, zoomTranslateExtend: T, onSeriesMouseClick: nt, highlightedDataPoints: C, resetSelectionOnDoubleClick: de, styles: b, classNames: v, zoomInteraction: me, detailsOnClick: V, mapProjection: st || (i ? "naturalEarth" : "mercator"), animate: Ht === !0 ? {
|
|
547
548
|
duration: 0.5,
|
|
548
549
|
once: !0,
|
|
549
550
|
amount: 0.5
|
|
@@ -551,24 +552,24 @@ function ua(r) {
|
|
|
551
552
|
duration: 0,
|
|
552
553
|
once: !0,
|
|
553
554
|
amount: 0
|
|
554
|
-
}, dimmedOpacity: pe, customLayers: ue, maxRadiusValue: ce(dt) ? Math.max(...e.map($o).filter(Do)) : dt, collapseColorScaleByDefault: bt, highlightedIds: ge, mapProperty: fe, dotLegendTitle: wt, dotBorderColor:
|
|
555
|
-
height: `${Math.max(U, d || (
|
|
556
|
-
}, className: "flex items-center justify-center", children: /* @__PURE__ */ a.jsx(Ue, { "aria-label": "Loading graph" }) }) }), t[55] = Ht, t[56] = K, t[57] = G, t[58] = v, t[59] = bt, t[60] = n, t[61] = ue, t[62] = e, t[63] =
|
|
555
|
+
}, dimmedOpacity: pe, customLayers: ue, maxRadiusValue: ce(dt) ? Math.max(...e.map($o).filter(Do)) : dt, collapseColorScaleByDefault: bt, highlightedIds: ge, mapProperty: fe, dotLegendTitle: wt, dotBorderColor: W, labelColor: ye }) : /* @__PURE__ */ a.jsx("div", { style: {
|
|
556
|
+
height: `${Math.max(U, d || (M ? U ? (g || ut) * M > U ? (g || ut) * M : U : (g || ut) * M : _t))}px`
|
|
557
|
+
}, className: "flex items-center justify-center", children: /* @__PURE__ */ a.jsx(Ue, { "aria-label": "Loading graph" }) }) }), t[55] = Ht, t[56] = K, t[57] = G, t[58] = v, t[59] = bt, t[60] = n, t[61] = ue, t[62] = e, t[63] = V, t[64] = pe, t[65] = Ft, t[66] = W, t[67] = he, t[68] = wt, t[69] = d, t[70] = C, t[71] = ge, t[72] = Y, t[73] = i, t[74] = ye, t[75] = o, t[76] = Wt, t[77] = N, t[78] = H, t[79] = st, t[80] = fe, t[81] = kt, t[82] = dt, t[83] = U, t[84] = nt, t[85] = Q, t[86] = Vt, t[87] = M, t[88] = de, t[89] = Bt, t[90] = mt, t[91] = O, t[92] = jt, t[93] = b, t[94] = _t, t[95] = ut, t[96] = pt, t[97] = c.dateFormat, t[98] = c.enabled, t[99] = Z, t[100] = u, t[101] = g, t[102] = me, t[103] = m, t[104] = T, t[105] = Dt) : Dt = t[105];
|
|
557
558
|
let $t;
|
|
558
|
-
t[106] !== v?.footnote || t[107] !== v?.source || t[108] !==
|
|
559
|
+
t[106] !== v?.footnote || t[107] !== v?.source || t[108] !== _ || t[109] !== j || t[110] !== b?.footnote || t[111] !== b?.source || t[112] !== g ? ($t = j || _ ? /* @__PURE__ */ a.jsx(go, { styles: {
|
|
559
560
|
footnote: b?.footnote,
|
|
560
561
|
source: b?.source
|
|
561
562
|
}, classNames: {
|
|
562
563
|
footnote: v?.footnote,
|
|
563
564
|
source: v?.source
|
|
564
|
-
}, sources:
|
|
565
|
+
}, sources: j, footNote: _, width: g }) : null, t[106] = v?.footnote, t[107] = v?.source, t[108] = _, t[109] = j, t[110] = b?.footnote, t[111] = b?.source, t[112] = g, t[113] = $t) : $t = t[113];
|
|
565
566
|
let le;
|
|
566
|
-
return t[114] !== Lt || t[115] !== A || t[116] !== ft || t[117] !== d || t[118] !== $ || t[119] !== U || t[120] !== Mt || t[121] !==
|
|
567
|
+
return t[114] !== Lt || t[115] !== A || t[116] !== ft || t[117] !== d || t[118] !== $ || t[119] !== U || t[120] !== Mt || t[121] !== M || t[122] !== we || t[123] !== je || t[124] !== Ct || t[125] !== Nt || t[126] !== Dt || t[127] !== $t || t[128] !== pt || t[129] !== g ? (le = /* @__PURE__ */ a.jsxs(vo, { className: we, style: je, id: ft, ref: De, "aria-label": Lt, backgroundColor: A, theme: pt, language: $, minHeight: U, width: g, height: d, relativeHeight: M, padding: Mt, children: [
|
|
567
568
|
Ct,
|
|
568
569
|
Nt,
|
|
569
570
|
Dt,
|
|
570
571
|
$t
|
|
571
|
-
] }), t[114] = Lt, t[115] = A, t[116] = ft, t[117] = d, t[118] = $, t[119] = U, t[120] = Mt, t[121] =
|
|
572
|
+
] }), t[114] = Lt, t[115] = A, t[116] = ft, t[117] = d, t[118] = $, t[119] = U, t[120] = Mt, t[121] = M, t[122] = we, t[123] = je, t[124] = Ct, t[125] = Nt, t[126] = Dt, t[127] = $t, t[128] = pt, t[129] = g, t[130] = le) : le = t[130], le;
|
|
572
573
|
}
|
|
573
574
|
function Do(r) {
|
|
574
575
|
return r != null;
|
|
@@ -600,7 +601,7 @@ function Lo(r) {
|
|
|
600
601
|
function Po(r, t) {
|
|
601
602
|
return r - t;
|
|
602
603
|
}
|
|
603
|
-
function
|
|
604
|
+
function Vo(r) {
|
|
604
605
|
return r.date;
|
|
605
606
|
}
|
|
606
607
|
export {
|