@undp/data-viz 2.3.17 → 2.4.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 +2 -0
- package/dist/AreaChart.js +356 -354
- package/dist/AreaChart.js.map +1 -1
- package/dist/{Axis-Jt_tmhxS.cjs → Axis-BTaS9oPQ.cjs} +2 -2
- package/dist/{Axis-Jt_tmhxS.cjs.map → Axis-BTaS9oPQ.cjs.map} +1 -1
- package/dist/{Axis-RyGdzLrG.js → Axis-CNZYWzH0.js} +2 -2
- package/dist/{Axis-RyGdzLrG.js.map → Axis-CNZYWzH0.js.map} +1 -1
- package/dist/{AxisTitle-DGjX1_2v.js → AxisTitle-CyLCqpW6.js} +2 -2
- package/dist/{AxisTitle-DGjX1_2v.js.map → AxisTitle-CyLCqpW6.js.map} +1 -1
- package/dist/{AxisTitle-DV4n0RxE.cjs → AxisTitle-DP_evhbe.cjs} +2 -2
- package/dist/{AxisTitle-DV4n0RxE.cjs.map → AxisTitle-DP_evhbe.cjs.map} +1 -1
- package/dist/BarGraph.cjs +1 -1
- package/dist/BarGraph.cjs.map +1 -1
- package/dist/BarGraph.d.ts +6 -0
- package/dist/BarGraph.js +1735 -1726
- 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 +2 -0
- package/dist/BasicStatCard.js +46 -45
- 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 +2 -0
- package/dist/BeeSwarmChart.js +266 -266
- 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 +2 -0
- package/dist/BiVariateChoroplethMap.js +300 -298
- 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 +2 -0
- package/dist/BulletChart.js +469 -469
- 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 +2 -0
- package/dist/ButterflyChart.js +330 -328
- 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 +2 -0
- package/dist/ChoroplethMap.js +303 -301
- package/dist/ChoroplethMap.js.map +1 -1
- package/dist/CirclePackingGraph.cjs +1 -1
- package/dist/CirclePackingGraph.d.ts +2 -0
- 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 -1
- package/dist/CopyTextButton.cjs.map +1 -1
- package/dist/CopyTextButton.js +7 -9
- package/dist/CopyTextButton.js.map +1 -1
- package/dist/CsvDownloadButton.cjs +1 -1
- package/dist/CsvDownloadButton.js +2 -2
- package/dist/DataCards.cjs +1 -1
- package/dist/DataCards.cjs.map +1 -1
- package/dist/DataCards.js +10 -12
- 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 +2 -0
- package/dist/DataTable.js +103 -102
- package/dist/DataTable.js.map +1 -1
- package/dist/{DetailsModal-C3qlUyFK.js → DetailsModal-B2XBWR7w.js} +4 -4
- package/dist/{DetailsModal-C3qlUyFK.js.map → DetailsModal-B2XBWR7w.js.map} +1 -1
- package/dist/{DetailsModal-DIRTulvr.cjs → DetailsModal-jmmKRMRM.cjs} +2 -2
- package/dist/{DetailsModal-DIRTulvr.cjs.map → DetailsModal-jmmKRMRM.cjs.map} +1 -1
- package/dist/DifferenceLineChart.cjs +1 -1
- package/dist/DifferenceLineChart.cjs.map +1 -1
- package/dist/DifferenceLineChart.d.ts +4 -0
- package/dist/DifferenceLineChart.js +441 -437
- 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 +4 -0
- package/dist/DonutChart.js +146 -142
- package/dist/DonutChart.js.map +1 -1
- package/dist/DotDensityMap.cjs +1 -1
- package/dist/DotDensityMap.cjs.map +1 -1
- package/dist/DotDensityMap.js +265 -268
- package/dist/DotDensityMap.js.map +1 -1
- package/dist/{DropdownSelect-NNpOs7DX.cjs → DropdownSelect-CX1yMemd.cjs} +2 -2
- package/dist/DropdownSelect-CX1yMemd.cjs.map +1 -0
- package/dist/{DropdownSelect-B2WTeedJ.js → DropdownSelect-Dz7imdTB.js} +6 -9
- package/dist/DropdownSelect-Dz7imdTB.js.map +1 -0
- package/dist/DualAxisLineChart.cjs +1 -1
- package/dist/DualAxisLineChart.cjs.map +1 -1
- package/dist/DualAxisLineChart.d.ts +4 -0
- package/dist/DualAxisLineChart.js +336 -332
- 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 +2 -0
- package/dist/DumbbellChart.js +484 -484
- package/dist/DumbbellChart.js.map +1 -1
- package/dist/{EmptyState-B4c-CrXs.cjs → EmptyState-CFmiFPHz.cjs} +2 -2
- package/dist/{EmptyState-B4c-CrXs.cjs.map → EmptyState-CFmiFPHz.cjs.map} +1 -1
- package/dist/{EmptyState-B3fPoH6L.js → EmptyState-CaxXCkiN.js} +4 -4
- package/dist/{EmptyState-B3fPoH6L.js.map → EmptyState-CaxXCkiN.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.cjs.map +1 -1
- package/dist/GeoHubCompareMaps.js +111 -111
- package/dist/GeoHubCompareMaps.js.map +1 -1
- package/dist/GeoHubMap.cjs +1 -1
- package/dist/GeoHubMap.cjs.map +1 -1
- package/dist/GeoHubMap.js +71 -71
- package/dist/GeoHubMap.js.map +1 -1
- package/dist/GeoHubMapWithLayerSelection.cjs +1 -1
- package/dist/GeoHubMapWithLayerSelection.cjs.map +1 -1
- package/dist/GeoHubMapWithLayerSelection.js +83 -83
- package/dist/GeoHubMapWithLayerSelection.js.map +1 -1
- package/dist/{GraphContainer-DwMxWRCi.js → GraphContainer-B8ZqOzKI.js} +2 -2
- package/dist/{GraphContainer-DwMxWRCi.js.map → GraphContainer-B8ZqOzKI.js.map} +1 -1
- package/dist/{GraphContainer-B1EDxJ0S.cjs → GraphContainer-Cul9b74X.cjs} +2 -2
- package/dist/{GraphContainer-B1EDxJ0S.cjs.map → GraphContainer-Cul9b74X.cjs.map} +1 -1
- package/dist/GraphDescription.cjs +1 -1
- package/dist/GraphDescription.js +2 -2
- package/dist/{GraphEl-CnJf8b50.js → GraphEl-B73N4RIA.js} +48 -10
- package/dist/GraphEl-B73N4RIA.js.map +1 -0
- package/dist/GraphEl-Lt1og0C-.cjs +2 -0
- package/dist/GraphEl-Lt1og0C-.cjs.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 -0
- package/dist/GriddedGraphs.js +6 -6
- package/dist/GriddedGraphsFromConfig.cjs +1 -1
- package/dist/GriddedGraphsFromConfig.d.ts +1 -0
- package/dist/GriddedGraphsFromConfig.js +2 -2
- package/dist/HeatMap.cjs +1 -1
- package/dist/HeatMap.cjs.map +1 -1
- package/dist/HeatMap.d.ts +4 -0
- package/dist/HeatMap.js +158 -155
- 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 +2 -0
- package/dist/Histogram.js +81 -80
- package/dist/Histogram.js.map +1 -1
- package/dist/HybridMap.cjs +1 -1
- package/dist/HybridMap.cjs.map +1 -1
- package/dist/HybridMap.d.ts +2 -0
- package/dist/HybridMap.js +314 -315
- package/dist/HybridMap.js.map +1 -1
- package/dist/ImageDownloadButton.cjs +1 -1
- package/dist/ImageDownloadButton.js +2 -2
- package/dist/LineChartWithConfidenceInterval.cjs +1 -1
- package/dist/LineChartWithConfidenceInterval.cjs.map +1 -1
- package/dist/LineChartWithConfidenceInterval.d.ts +2 -0
- package/dist/LineChartWithConfidenceInterval.js +367 -365
- package/dist/LineChartWithConfidenceInterval.js.map +1 -1
- package/dist/LinearColorLegend.cjs +1 -1
- package/dist/LinearColorLegend.cjs.map +1 -1
- package/dist/LinearColorLegend.d.ts +1 -0
- package/dist/LinearColorLegend.js +38 -37
- package/dist/LinearColorLegend.js.map +1 -1
- package/dist/{Modal-ZX55hLH-.cjs → Modal-BIErPPKT.cjs} +5 -5
- package/dist/{Modal-ZX55hLH-.cjs.map → Modal-BIErPPKT.cjs.map} +1 -1
- package/dist/{Modal-BV4rkoLM.js → Modal-CrUYln5V.js} +4 -4
- package/dist/{Modal-BV4rkoLM.js.map → Modal-CrUYln5V.js.map} +1 -1
- package/dist/MultiGraphDashboard.cjs +1 -1
- package/dist/MultiGraphDashboard.d.ts +1 -0
- package/dist/MultiGraphDashboard.js +4 -4
- package/dist/MultiGraphDashboardFromConfig.cjs +1 -1
- package/dist/MultiGraphDashboardFromConfig.d.ts +1 -0
- package/dist/MultiGraphDashboardFromConfig.js +2 -2
- package/dist/MultiGraphDashboardWideToLongFormat.cjs +1 -1
- package/dist/MultiGraphDashboardWideToLongFormat.js +4 -4
- package/dist/MultiGraphDashboardWideToLongFormatFromConfig.cjs +1 -1
- package/dist/MultiGraphDashboardWideToLongFormatFromConfig.js +2 -2
- package/dist/MultiLineAltChart.cjs +1 -1
- package/dist/MultiLineAltChart.cjs.map +1 -1
- package/dist/MultiLineAltChart.d.ts +2 -0
- package/dist/MultiLineAltChart.js +419 -420
- 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 +4 -0
- package/dist/MultiLineChart.js +410 -409
- 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 +2 -0
- package/dist/ParetoChart.js +273 -271
- package/dist/ParetoChart.js.map +1 -1
- package/dist/PerformanceIntensiveMultiGraphDashboard.cjs +1 -1
- package/dist/PerformanceIntensiveMultiGraphDashboard.d.ts +1 -0
- package/dist/PerformanceIntensiveMultiGraphDashboard.js +4 -4
- package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.cjs +1 -1
- package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.d.ts +1 -0
- package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.js +2 -2
- package/dist/PerformanceIntensiveScrollStory.cjs +1 -1
- package/dist/PerformanceIntensiveScrollStory.d.ts +1 -0
- package/dist/PerformanceIntensiveScrollStory.js +3 -3
- package/dist/RadarChart.cjs +1 -1
- package/dist/RadarChart.cjs.map +1 -1
- package/dist/RadarChart.d.ts +2 -0
- package/dist/RadarChart.js +221 -219
- package/dist/RadarChart.js.map +1 -1
- package/dist/{ReferenceLine-M9aP3dj-.cjs → ReferenceLine-CpU4G01Y.cjs} +2 -2
- package/dist/{ReferenceLine-M9aP3dj-.cjs.map → ReferenceLine-CpU4G01Y.cjs.map} +1 -1
- package/dist/{ReferenceLine-CNEjAYvv.js → ReferenceLine-D41VuUhE.js} +3 -3
- package/dist/{ReferenceLine-CNEjAYvv.js.map → ReferenceLine-D41VuUhE.js.map} +1 -1
- package/dist/{RegressionLine-Ci-Dh0w0.cjs → RegressionLine-BFoBiVJk.cjs} +2 -2
- package/dist/{RegressionLine-Ci-Dh0w0.cjs.map → RegressionLine-BFoBiVJk.cjs.map} +1 -1
- package/dist/{RegressionLine-BDrndQxo.js → RegressionLine-CuwB42I6.js} +4 -4
- package/dist/{RegressionLine-BDrndQxo.js.map → RegressionLine-CuwB42I6.js.map} +1 -1
- 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.d.ts +2 -0
- package/dist/SankeyChart.js +404 -408
- 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 +2 -0
- package/dist/ScatterPlot.js +444 -445
- package/dist/ScatterPlot.js.map +1 -1
- package/dist/ScrollStory.cjs +1 -1
- package/dist/ScrollStory.d.ts +1 -0
- package/dist/ScrollStory.js +3 -3
- package/dist/SimpleLineChart.cjs +1 -1
- package/dist/SimpleLineChart.cjs.map +1 -1
- package/dist/SimpleLineChart.d.ts +2 -0
- package/dist/SimpleLineChart.js +360 -358
- package/dist/SimpleLineChart.js.map +1 -1
- package/dist/SingleGraphDashboard.cjs +1 -1
- package/dist/SingleGraphDashboard.d.ts +1 -0
- package/dist/SingleGraphDashboard.js +6 -6
- package/dist/SingleGraphDashboardFromConfig.cjs +1 -1
- package/dist/SingleGraphDashboardFromConfig.d.ts +1 -0
- package/dist/SingleGraphDashboardFromConfig.js +2 -2
- package/dist/SingleGraphDashboardGeoHubMaps.cjs +1 -1
- package/dist/SingleGraphDashboardGeoHubMaps.d.ts +1 -0
- package/dist/SingleGraphDashboardGeoHubMaps.js +3 -3
- package/dist/SingleGraphDashboardGeoHubMapsFromConfig.cjs +1 -1
- package/dist/SingleGraphDashboardGeoHubMapsFromConfig.d.ts +1 -0
- package/dist/SingleGraphDashboardGeoHubMapsFromConfig.js +2 -2
- package/dist/SingleGraphDashboardThreeDGraphs.cjs +1 -1
- package/dist/SingleGraphDashboardThreeDGraphs.d.ts +1 -0
- package/dist/SingleGraphDashboardThreeDGraphs.js +6 -6
- package/dist/SingleGraphDashboardThreeDGraphsFromConfig.cjs +1 -1
- package/dist/SingleGraphDashboardThreeDGraphsFromConfig.d.ts +1 -0
- package/dist/SingleGraphDashboardThreeDGraphsFromConfig.js +2 -2
- package/dist/SlopeChart.cjs +1 -1
- package/dist/SlopeChart.cjs.map +1 -1
- package/dist/SlopeChart.js +259 -262
- package/dist/SlopeChart.js.map +1 -1
- package/dist/{Source-BOSAl3UX.cjs → Source-PKuwZOn3.cjs} +2 -2
- package/dist/{Source-BOSAl3UX.cjs.map → Source-PKuwZOn3.cjs.map} +1 -1
- package/dist/{Source-Djkz-7jX.js → Source-QGk8vhkS.js} +3 -3
- package/dist/{Source-Djkz-7jX.js.map → Source-QGk8vhkS.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 +3 -3
- package/dist/{Spinner-CtJETd5V.js → Spinner-B2IIKg9r.js} +2 -2
- package/dist/{Spinner-CtJETd5V.js.map → Spinner-B2IIKg9r.js.map} +1 -1
- package/dist/{Spinner-jTMOLuw_.cjs → Spinner-WHzzloYQ.cjs} +2 -2
- package/dist/{Spinner-jTMOLuw_.cjs.map → Spinner-WHzzloYQ.cjs.map} +1 -1
- package/dist/StatCardFromData.cjs +1 -1
- package/dist/StatCardFromData.cjs.map +1 -1
- package/dist/StatCardFromData.d.ts +4 -0
- package/dist/StatCardFromData.js +97 -95
- 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 +2 -0
- package/dist/StripChart.js +343 -343
- 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 +2 -0
- package/dist/ThreeDGlobe.js +198 -196
- package/dist/ThreeDGlobe.js.map +1 -1
- package/dist/ThresholdColorLegendWithMouseOver.cjs +1 -1
- package/dist/ThresholdColorLegendWithMouseOver.cjs.map +1 -1
- package/dist/ThresholdColorLegendWithMouseOver.d.ts +2 -0
- package/dist/ThresholdColorLegendWithMouseOver.js +50 -48
- package/dist/ThresholdColorLegendWithMouseOver.js.map +1 -1
- package/dist/{Tooltip-CohiIbLZ.js → Tooltip-Bj-s__cI.js} +3 -3
- package/dist/{Tooltip-CohiIbLZ.js.map → Tooltip-Bj-s__cI.js.map} +1 -1
- package/dist/{Tooltip-BLa2EfMs.cjs → Tooltip-Hr46paWP.cjs} +2 -2
- package/dist/{Tooltip-BLa2EfMs.cjs.map → Tooltip-Hr46paWP.cjs.map} +1 -1
- package/dist/TreeMapGraph.cjs +1 -1
- package/dist/TreeMapGraph.cjs.map +1 -1
- package/dist/TreeMapGraph.d.ts +2 -0
- package/dist/TreeMapGraph.js +139 -140
- package/dist/TreeMapGraph.js.map +1 -1
- package/dist/Types.d.ts +1 -0
- package/dist/{Typography-DMVW6JnV.js → Typography-BO0gQDIT.js} +2 -2
- package/dist/{Typography-DMVW6JnV.js.map → Typography-BO0gQDIT.js.map} +1 -1
- package/dist/{Typography-CZZxlj1W.cjs → Typography-BqmyF1gP.cjs} +2 -2
- package/dist/{Typography-CZZxlj1W.cjs.map → Typography-BqmyF1gP.cjs.map} +1 -1
- package/dist/UnitChart.cjs +1 -1
- package/dist/UnitChart.cjs.map +1 -1
- package/dist/UnitChart.d.ts +4 -0
- package/dist/UnitChart.js +88 -86
- package/dist/UnitChart.js.map +1 -1
- package/dist/WaterfallChart.cjs +1 -1
- package/dist/WaterfallChart.cjs.map +1 -1
- package/dist/WaterfallChart.d.ts +2 -0
- package/dist/WaterfallChart.js +257 -258
- package/dist/WaterfallChart.js.map +1 -1
- package/dist/{XAxesLabels-IwjMJkYS.js → XAxesLabels-B9gkjUiC.js} +3 -3
- package/dist/{XAxesLabels-IwjMJkYS.js.map → XAxesLabels-B9gkjUiC.js.map} +1 -1
- package/dist/{XAxesLabels-C6o9jJal.cjs → XAxesLabels-C03jHniq.cjs} +2 -2
- package/dist/{XAxesLabels-C6o9jJal.cjs.map → XAxesLabels-C03jHniq.cjs.map} +1 -1
- package/dist/XTicksAndGridLines-C5DuC5oY.cjs +2 -0
- package/dist/XTicksAndGridLines-C5DuC5oY.cjs.map +1 -0
- package/dist/XTicksAndGridLines-gdbGX2rm.js +39 -0
- package/dist/XTicksAndGridLines-gdbGX2rm.js.map +1 -0
- package/dist/{YAxesLabels-BQ2aCazV.cjs → YAxesLabels-DeENFC2M.cjs} +2 -2
- package/dist/{YAxesLabels-BQ2aCazV.cjs.map → YAxesLabels-DeENFC2M.cjs.map} +1 -1
- package/dist/{YAxesLabels-DoGvgHdw.js → YAxesLabels-hWEUCTvs.js} +3 -3
- package/dist/{YAxesLabels-DoGvgHdw.js.map → YAxesLabels-hWEUCTvs.js.map} +1 -1
- package/dist/YTicksAndGridLines-CsNSq9W9.js +39 -0
- package/dist/YTicksAndGridLines-CsNSq9W9.js.map +1 -0
- package/dist/YTicksAndGridLines-DFjm8RCc.cjs +2 -0
- package/dist/YTicksAndGridLines-DFjm8RCc.cjs.map +1 -0
- package/dist/{checkIfMultiple-TOaaUwS7.cjs → checkIfMultiple-CH5tqj4q.cjs} +2 -2
- package/dist/checkIfMultiple-CH5tqj4q.cjs.map +1 -0
- package/dist/{checkIfMultiple-B97uOUVq.js → checkIfMultiple-Dpyy6BUP.js} +6 -6
- package/dist/checkIfMultiple-Dpyy6BUP.js.map +1 -0
- package/dist/{customArea-B1LWQBmM.cjs → customArea-BAcQ3pBM.cjs} +2 -2
- package/dist/{customArea-B1LWQBmM.cjs.map → customArea-BAcQ3pBM.cjs.map} +1 -1
- package/dist/{customArea-Cc2whe6P.js → customArea-D89lETG0.js} +3 -3
- package/dist/{customArea-Cc2whe6P.js.map → customArea-D89lETG0.js.map} +1 -1
- package/dist/getSliderMarks-BzrpHrHS.cjs +2 -0
- package/dist/getSliderMarks-BzrpHrHS.cjs.map +1 -0
- package/dist/{getSliderMarks-vXsR8RrR.js → getSliderMarks-X-_goqH9.js} +3 -4
- package/dist/getSliderMarks-X-_goqH9.js.map +1 -0
- package/dist/{index-CZ0elhKR.js → index-ApTBN0kp.js} +20 -10
- package/dist/{index-CZ0elhKR.js.map → index-ApTBN0kp.js.map} +1 -1
- package/dist/index-B0Awa_de.js +377 -0
- package/dist/index-B0Awa_de.js.map +1 -0
- package/dist/{index-sbKVyHS2.cjs → index-BhI7mBJx.cjs} +2 -2
- package/dist/{index-sbKVyHS2.cjs.map → index-BhI7mBJx.cjs.map} +1 -1
- package/dist/{index-D69M6klB.cjs → index-BuhBhuCq.cjs} +2 -2
- package/dist/{index-D69M6klB.cjs.map → index-BuhBhuCq.cjs.map} +1 -1
- package/dist/{index-CHPV5EwG-BCLAYDCV.js → index-CHPV5EwG-BzibaIRc.js} +5 -9
- package/dist/index-CHPV5EwG-BzibaIRc.js.map +1 -0
- package/dist/{index-CHPV5EwG-6v2a2njQ.cjs → index-CHPV5EwG-D4pAp7u0.cjs} +3 -3
- package/dist/index-CHPV5EwG-D4pAp7u0.cjs.map +1 -0
- package/dist/index-CP8cmNzt.cjs +2 -0
- package/dist/index-CP8cmNzt.cjs.map +1 -0
- package/dist/{index-Co3YGYe1.js → index-Cv_5q6Rb.js} +3 -3
- package/dist/{index-Co3YGYe1.js.map → index-Cv_5q6Rb.js.map} +1 -1
- package/dist/{index-D_dtv_T9.js → index-DHVGV8Df.js} +3 -3
- package/dist/{index-D_dtv_T9.js.map → index-DHVGV8Df.js.map} +1 -1
- package/dist/{index-CoobIWNj.cjs → index-FXfr51ZM.cjs} +2 -2
- package/dist/{index-CoobIWNj.cjs.map → index-FXfr51ZM.cjs.map} +1 -1
- package/dist/{index-D6CYcVc7-BOa7Dpvf.js → index-Scxs_wcm-BAjU0Cob.js} +16 -16
- package/dist/index-Scxs_wcm-BAjU0Cob.js.map +1 -0
- package/dist/index-Scxs_wcm-DUDU-Gll.cjs +2 -0
- package/dist/index-Scxs_wcm-DUDU-Gll.cjs.map +1 -0
- package/dist/{index-DoS4bGNa-C3DbPpy3.cjs → index-w64Zl8io-DrMm5QSb.cjs} +2 -2
- package/dist/index-w64Zl8io-DrMm5QSb.cjs.map +1 -0
- package/dist/{index-DoS4bGNa-Bgab95kx.js → index-w64Zl8io-ihagHOdP.js} +2 -2
- package/dist/index-w64Zl8io-ihagHOdP.js.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +92 -17
- package/dist/index.js +3 -3
- package/dist/numberFormattingFunction-Cn9R7CM9.cjs +2 -0
- package/dist/numberFormattingFunction-Cn9R7CM9.cjs.map +1 -0
- package/dist/numberFormattingFunction-DqMf_v1m.js +28 -0
- package/dist/numberFormattingFunction-DqMf_v1m.js.map +1 -0
- package/dist/{proxy--_f6k3NR.js → proxy-BsxtcZKa.js} +2 -2
- package/dist/{proxy--_f6k3NR.js.map → proxy-BsxtcZKa.js.map} +1 -1
- package/dist/{proxy-C4-uo6nS.cjs → proxy-CqH8m8IQ.cjs} +2 -2
- package/dist/{proxy-C4-uo6nS.cjs.map → proxy-CqH8m8IQ.cjs.map} +1 -1
- package/dist/{string2HTML-DUYZT1L9.js → string2HTML-BrFperRM.js} +2 -2
- package/dist/{string2HTML-DUYZT1L9.js.map → string2HTML-BrFperRM.js.map} +1 -1
- package/dist/{string2HTML-xx9MzTtY.cjs → string2HTML-ZoGd08P_.cjs} +2 -2
- package/dist/{string2HTML-xx9MzTtY.cjs.map → string2HTML-ZoGd08P_.cjs.map} +1 -1
- package/dist/style.css +1 -1
- package/dist/{use-in-view-DqvKAveg.js → use-in-view-KOXq5Kmc.js} +2 -2
- package/dist/{use-in-view-DqvKAveg.js.map → use-in-view-KOXq5Kmc.js.map} +1 -1
- package/dist/{use-in-view-C3o_ntMv.cjs → use-in-view-dnRv_qqF.cjs} +2 -2
- package/dist/{use-in-view-C3o_ntMv.cjs.map → use-in-view-dnRv_qqF.cjs.map} +1 -1
- package/dist/utils.cjs +1 -1
- package/dist/utils.d.ts +9 -18
- package/dist/utils.js +1 -1
- package/dist/x-BXShoIAM-BC2sxios.cjs +2 -0
- package/dist/x-BXShoIAM-BC2sxios.cjs.map +1 -0
- package/dist/{x-BBpi7a_7-BsvWCzYM.js → x-BXShoIAM-D6VWO6z5.js} +3 -5
- package/dist/x-BXShoIAM-D6VWO6z5.js.map +1 -0
- package/package.json +2 -2
- package/dist/DropdownSelect-B2WTeedJ.js.map +0 -1
- package/dist/DropdownSelect-NNpOs7DX.cjs.map +0 -1
- package/dist/GraphEl-CnJf8b50.js.map +0 -1
- package/dist/GraphEl-D_w0Qak4.cjs +0 -2
- package/dist/GraphEl-D_w0Qak4.cjs.map +0 -1
- package/dist/XTicksAndGridLines-BDmF9etl.js +0 -38
- package/dist/XTicksAndGridLines-BDmF9etl.js.map +0 -1
- package/dist/XTicksAndGridLines-CekrPykD.cjs +0 -2
- package/dist/XTicksAndGridLines-CekrPykD.cjs.map +0 -1
- package/dist/YTicksAndGridLines-C3GW1xFG.js +0 -38
- package/dist/YTicksAndGridLines-C3GW1xFG.js.map +0 -1
- package/dist/YTicksAndGridLines-UzVC5eBM.cjs +0 -2
- package/dist/YTicksAndGridLines-UzVC5eBM.cjs.map +0 -1
- package/dist/checkIfMultiple-B97uOUVq.js.map +0 -1
- package/dist/checkIfMultiple-TOaaUwS7.cjs.map +0 -1
- package/dist/getSliderMarks-CIuSoedo.cjs +0 -2
- package/dist/getSliderMarks-CIuSoedo.cjs.map +0 -1
- package/dist/getSliderMarks-vXsR8RrR.js.map +0 -1
- package/dist/index-C6VwVS8W.js +0 -378
- package/dist/index-C6VwVS8W.js.map +0 -1
- package/dist/index-CHPV5EwG-6v2a2njQ.cjs.map +0 -1
- package/dist/index-CHPV5EwG-BCLAYDCV.js.map +0 -1
- package/dist/index-D6CYcVc7-BOa7Dpvf.js.map +0 -1
- package/dist/index-D6CYcVc7-CTEcAtiQ.cjs +0 -2
- package/dist/index-D6CYcVc7-CTEcAtiQ.cjs.map +0 -1
- package/dist/index-DoS4bGNa-Bgab95kx.js.map +0 -1
- package/dist/index-DoS4bGNa-C3DbPpy3.cjs.map +0 -1
- package/dist/index-_TlgeI_i.cjs +0 -2
- package/dist/index-_TlgeI_i.cjs.map +0 -1
- package/dist/numberFormattingFunction-02t-wJta.cjs +0 -2
- package/dist/numberFormattingFunction-02t-wJta.cjs.map +0 -1
- package/dist/numberFormattingFunction-14YCbkN2.js +0 -13
- package/dist/numberFormattingFunction-14YCbkN2.js.map +0 -1
- package/dist/x-BBpi7a_7-BsvWCzYM.js.map +0 -1
- package/dist/x-BBpi7a_7-DXYIEFwN.cjs +0 -2
- package/dist/x-BBpi7a_7-DXYIEFwN.cjs.map +0 -1
package/dist/BeeSwarmChart.js
CHANGED
|
@@ -1,142 +1,143 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { useRef as At, useState as
|
|
1
|
+
import { c as Gt, j as n, m as It } from "./index-CHPV5EwG-BzibaIRc.js";
|
|
2
|
+
import { useRef as At, useState as V, useEffect as Pt } from "react";
|
|
3
3
|
import { i as qt } from "./index-Bwrro8-q.js";
|
|
4
4
|
import { o as Zt } from "./index-BZQYSqar.js";
|
|
5
|
-
import { w as Ut } from "./Spinner-
|
|
6
|
-
import { _ as me } from "./Typography-
|
|
7
|
-
import { n as Jt } from "./numberFormattingFunction-
|
|
8
|
-
import { T as Kt } from "./Tooltip-
|
|
9
|
-
import { c as
|
|
5
|
+
import { w as Ut } from "./Spinner-B2IIKg9r.js";
|
|
6
|
+
import { _ as me } from "./Typography-BO0gQDIT.js";
|
|
7
|
+
import { n as Jt } from "./numberFormattingFunction-DqMf_v1m.js";
|
|
8
|
+
import { T as Kt } from "./Tooltip-Bj-s__cI.js";
|
|
9
|
+
import { c as g } from "./checkIfNullOrUndefined-DmfiKkNw.js";
|
|
10
10
|
import { g as Qt } from "./getTextColorBasedOnBgColor-CDY808zi.js";
|
|
11
|
-
import { Colors as
|
|
12
|
-
import { A as _t } from "./Axis-
|
|
13
|
-
import { R as fe, a as de } from "./ReferenceLine-
|
|
14
|
-
import { Y as pe } from "./YTicksAndGridLines-
|
|
15
|
-
import { X as he } from "./XTicksAndGridLines-
|
|
16
|
-
import { D as te } from "./DetailsModal-
|
|
11
|
+
import { Colors as yt } from "./Colors.js";
|
|
12
|
+
import { A as _t } from "./Axis-CNZYWzH0.js";
|
|
13
|
+
import { R as fe, a as de } from "./ReferenceLine-D41VuUhE.js";
|
|
14
|
+
import { Y as pe } from "./YTicksAndGridLines-CsNSq9W9.js";
|
|
15
|
+
import { X as he } from "./XTicksAndGridLines-gdbGX2rm.js";
|
|
16
|
+
import { D as te } from "./DetailsModal-B2XBWR7w.js";
|
|
17
17
|
import { s as ee } from "./pow-BXYLJHCq.js";
|
|
18
18
|
import { a as oe } from "./linear-DNXM5Pdl.js";
|
|
19
19
|
import { f as ie, a as ne, b as re, c as se, d as le } from "./y-BqfogMAB.js";
|
|
20
20
|
import { u as Wt } from "./uniqBy-BHy4I8PK.js";
|
|
21
|
-
import { GraphHeader as
|
|
22
|
-
import { a as
|
|
23
|
-
import { E as ye } from "./EmptyState-
|
|
21
|
+
import { GraphHeader as xe } from "./GraphHeader.js";
|
|
22
|
+
import { a as ge, G as ve } from "./GraphContainer-B8ZqOzKI.js";
|
|
23
|
+
import { E as ye } from "./EmptyState-CaxXCkiN.js";
|
|
24
24
|
import { ColorLegendWithMouseOver as be } from "./ColorLegendWithMouseOver.js";
|
|
25
25
|
import { GraphFooter as Me } from "./GraphFooter.js";
|
|
26
26
|
function je(e) {
|
|
27
|
-
const t =
|
|
27
|
+
const t = Gt.c(28), {
|
|
28
28
|
data: o,
|
|
29
|
-
circleColors:
|
|
30
|
-
showTicks:
|
|
31
|
-
width:
|
|
32
|
-
height:
|
|
33
|
-
colorDomain:
|
|
29
|
+
circleColors: M,
|
|
30
|
+
showTicks: nt,
|
|
31
|
+
width: w,
|
|
32
|
+
height: $,
|
|
33
|
+
colorDomain: P,
|
|
34
34
|
topMargin: k,
|
|
35
|
-
bottomMargin:
|
|
36
|
-
leftMargin:
|
|
37
|
-
rightMargin:
|
|
35
|
+
bottomMargin: Q,
|
|
36
|
+
leftMargin: _,
|
|
37
|
+
rightMargin: rt,
|
|
38
38
|
suffix: h,
|
|
39
|
-
prefix:
|
|
40
|
-
showLabels:
|
|
41
|
-
tooltip:
|
|
42
|
-
onSeriesMouseOver:
|
|
43
|
-
refValues:
|
|
44
|
-
selectedColor:
|
|
45
|
-
startFromZero:
|
|
39
|
+
prefix: T,
|
|
40
|
+
showLabels: F,
|
|
41
|
+
tooltip: H,
|
|
42
|
+
onSeriesMouseOver: st,
|
|
43
|
+
refValues: L,
|
|
44
|
+
selectedColor: x,
|
|
45
|
+
startFromZero: N,
|
|
46
46
|
radius: d,
|
|
47
|
-
maxRadiusValue:
|
|
48
|
-
maxValue:
|
|
49
|
-
minValue:
|
|
50
|
-
highlightedDataPoints:
|
|
47
|
+
maxRadiusValue: B,
|
|
48
|
+
maxValue: z,
|
|
49
|
+
minValue: W,
|
|
50
|
+
highlightedDataPoints: xt,
|
|
51
51
|
onSeriesMouseClick: ft,
|
|
52
|
-
resetSelectionOnDoubleClick:
|
|
53
|
-
detailsOnClick:
|
|
52
|
+
resetSelectionOnDoubleClick: I,
|
|
53
|
+
detailsOnClick: E,
|
|
54
54
|
styles: O,
|
|
55
|
-
classNames:
|
|
55
|
+
classNames: u,
|
|
56
56
|
noOfTicks: v,
|
|
57
|
-
dimmedOpacity:
|
|
58
|
-
precision:
|
|
57
|
+
dimmedOpacity: lt,
|
|
58
|
+
precision: at,
|
|
59
59
|
customLayers: dt,
|
|
60
|
-
hideAxisLine:
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
60
|
+
hideAxisLine: gt,
|
|
61
|
+
locale: vt
|
|
62
|
+
} = e, ct = k === void 0 ? 25 : k, R = Q === void 0 ? 10 : Q, tt = _ === void 0 ? 100 : _, et = rt === void 0 ? 40 : rt, ut = At(null), [mt, q] = V(void 0), [X, a] = V(void 0), [c, pt] = V(null), [ot, Z] = V(void 0), [A, U] = V(void 0);
|
|
63
|
+
let J;
|
|
64
|
+
t[0] !== R || t[1] !== tt || t[2] !== et || t[3] !== ct ? (J = {
|
|
65
|
+
top: ct,
|
|
65
66
|
bottom: R,
|
|
66
|
-
left:
|
|
67
|
-
right:
|
|
68
|
-
}, t[0] = R, t[1] =
|
|
69
|
-
const m =
|
|
70
|
-
let
|
|
71
|
-
t[5] !== o || t[6] !==
|
|
72
|
-
const
|
|
73
|
-
let
|
|
74
|
-
t[9] !== o || t[10] !==
|
|
75
|
-
const p =
|
|
76
|
-
|
|
77
|
-
const r =
|
|
78
|
-
ie(r).force("y", re((i) =>
|
|
79
|
-
|
|
67
|
+
left: tt,
|
|
68
|
+
right: et
|
|
69
|
+
}, t[0] = R, t[1] = tt, t[2] = et, t[3] = ct, t[4] = J) : J = t[4];
|
|
70
|
+
const m = J, f = w - m.left - m.right, it = $ - m.top - m.bottom, Y = o.filter(We).length === 0 ? o : Zt(o.filter(ze), "radius", "desc");
|
|
71
|
+
let G;
|
|
72
|
+
t[5] !== o || t[6] !== z || t[7] !== N ? (G = g(z) ? Math.max(...o.filter(Be).map(He)) < 0 && !N ? 0 : Math.max(...o.filter(Pe).map(Ge)) : z, t[5] = o, t[6] = z, t[7] = N, t[8] = G) : G = t[8];
|
|
73
|
+
const S = G;
|
|
74
|
+
let K;
|
|
75
|
+
t[9] !== o || t[10] !== W || t[11] !== N ? (K = g(W) ? Math.min(...o.filter(Ye).map(Xe)) >= 0 && !N ? 0 : Math.min(...o.filter(Re).map(Ee)) : W, t[9] = o, t[10] = W, t[11] = N, t[12] = K) : K = t[12];
|
|
76
|
+
const p = K, l = o.filter(Fe).length !== o.length ? ee().domain([0, g(B) ? Math.max(...o.map(Te).filter(Ve)) : B]).range([0.25, d]).nice() : void 0, s = oe().domain([p, S]).range([it, 0]).nice(), j = s.ticks(v);
|
|
77
|
+
Pt(() => {
|
|
78
|
+
const r = Y.map(Se).filter(Ae);
|
|
79
|
+
ie(r).force("y", re((i) => s(i.position)).strength(5)).force("x", ne((i) => f / 2).strength(1)).force("collide", se((i) => l ? l(i.radius || 0) + 1 : d + 1)).force("charge", le().strength(-15)).alphaDecay(0.05).tick(1e4).on("tick", () => {
|
|
80
|
+
pt(r);
|
|
80
81
|
}).on("end", () => {
|
|
81
|
-
|
|
82
|
+
pt(r);
|
|
82
83
|
});
|
|
83
|
-
}, [o, d,
|
|
84
|
-
const
|
|
85
|
-
|
|
86
|
-
/* @__PURE__ */ n.jsx(_t, { hideAxisLine:
|
|
84
|
+
}, [o, d, it, f, p, S, Y, s, l]);
|
|
85
|
+
const ht = c ? /* @__PURE__ */ n.jsx("svg", { width: `${w}px`, height: `${$}px`, viewBox: `0 0 ${w} ${$}`, direction: "ltr", ref: ut, children: /* @__PURE__ */ n.jsxs("g", { transform: `translate(${m.left},${m.top})`, children: [
|
|
86
|
+
nt ? /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
87
|
+
/* @__PURE__ */ n.jsx(_t, { hideAxisLine: gt, y1: s(p < 0 ? 0 : p), y2: s(p < 0 ? 0 : p), x1: 0 - m.left, x2: f + m.right, label: nt ? Jt(p < 0 ? 0 : p, void 0, at, T, h, vt) : void 0, labelPos: {
|
|
87
88
|
x: 0 - m.left,
|
|
88
|
-
y:
|
|
89
|
+
y: s(p < 0 ? 0 : p),
|
|
89
90
|
dx: 0,
|
|
90
|
-
dy:
|
|
91
|
+
dy: S < 0 ? "1em" : -5
|
|
91
92
|
}, classNames: {
|
|
92
|
-
axis:
|
|
93
|
-
label:
|
|
93
|
+
axis: u?.xAxis?.axis,
|
|
94
|
+
label: u?.yAxis?.labels
|
|
94
95
|
}, styles: {
|
|
95
96
|
axis: O?.xAxis?.axis,
|
|
96
97
|
label: O?.yAxis?.labels
|
|
97
98
|
} }),
|
|
98
|
-
/* @__PURE__ */ n.jsx(pe, { values:
|
|
99
|
+
/* @__PURE__ */ n.jsx(pe, { values: j.filter(Ne), y: j.filter(Le).map((r) => s(r)), x1: 0 - m.left, x2: f + m.right, styles: {
|
|
99
100
|
gridLines: O?.yAxis?.gridLines,
|
|
100
101
|
labels: O?.yAxis?.labels
|
|
101
102
|
}, classNames: {
|
|
102
|
-
gridLines:
|
|
103
|
-
labels:
|
|
104
|
-
}, suffix: h, prefix:
|
|
103
|
+
gridLines: u?.yAxis?.gridLines,
|
|
104
|
+
labels: u?.yAxis?.labels
|
|
105
|
+
}, suffix: h, prefix: T, labelType: "secondary", showGridLines: !0, labelPos: "vertical", precision: at, locale: vt })
|
|
105
106
|
] }) : null,
|
|
106
107
|
dt.filter($e).map(we),
|
|
107
|
-
|
|
108
|
-
|
|
108
|
+
c.map((r) => /* @__PURE__ */ n.jsxs("g", { className: "undp-viz-g-with-hover", transform: `translate(${r.x},${r.y})`, opacity: x ? r.color && M[P.indexOf(r.color)] === x ? 1 : lt : xt ? xt.indexOf(r.label) !== -1 ? 0.85 : lt : 0.85, onMouseEnter: (i) => {
|
|
109
|
+
q(r), U(i.clientY), Z(i.clientX), st?.(r);
|
|
109
110
|
}, onMouseMove: (i) => {
|
|
110
|
-
|
|
111
|
+
q(r), U(i.clientY), Z(i.clientX);
|
|
111
112
|
}, onClick: () => {
|
|
112
|
-
(ft ||
|
|
113
|
+
(ft || E) && (qt(X, r) && I ? (a(void 0), ft?.(void 0)) : (a(r), ft?.(r)));
|
|
113
114
|
}, onMouseLeave: () => {
|
|
114
|
-
|
|
115
|
+
q(void 0), Z(void 0), U(void 0), st?.(void 0);
|
|
115
116
|
}, children: [
|
|
116
|
-
/* @__PURE__ */ n.jsx("circle", { cx: 0, cy: 0, r:
|
|
117
|
-
(
|
|
118
|
-
fontSize: `${Math.min(Math.max(Math.round((
|
|
117
|
+
/* @__PURE__ */ n.jsx("circle", { cx: 0, cy: 0, r: l ? l(r.radius || 0) : d, fill: o.filter(De).length === 0 ? M[0] : r.color ? M[P.indexOf(r.color)] : yt.gray }),
|
|
118
|
+
(l ? l(r.radius || 0) : d) > 10 && F ? /* @__PURE__ */ n.jsx("g", { children: /* @__PURE__ */ n.jsx("foreignObject", { y: 0 - (l ? l(r.radius || 0) : d), x: 0 - (l ? l(r.radius || 0) : d), width: 2 * (l ? l(r.radius || 0) : d), height: 2 * (l ? l(r.radius || 0) : d), children: /* @__PURE__ */ n.jsx("div", { className: "flex flex-col justify-center items-center h-inherit py-0 px-1.5", children: F ? /* @__PURE__ */ n.jsx("p", { className: It("text-center leading-none m-0", u?.graphObjectValues), style: {
|
|
119
|
+
fontSize: `${Math.min(Math.max(Math.round((l ? l(r.radius || 0) : d) / 4), 10), Math.max(Math.round((l ? l(r.radius || 0) : d) * 12 / `${r.label}`.length), 10), 20)}px`,
|
|
119
120
|
hyphens: "auto",
|
|
120
|
-
color: Qt(o.filter(
|
|
121
|
+
color: Qt(o.filter(ke).length === 0 ? M[0] : r.color ? M[P.indexOf(r.color)] : yt.gray),
|
|
121
122
|
...O?.graphObjectValues || {}
|
|
122
123
|
}, children: r.label }) : null }) }) }) : null
|
|
123
124
|
] }, r.label)),
|
|
124
|
-
|
|
125
|
+
L ? /* @__PURE__ */ n.jsx(n.Fragment, { children: L.map((r, i) => /* @__PURE__ */ n.jsx(de, { text: r.text, color: r.color, y: s(r.value), x1: 0 - m.left, x2: f + m.right, classNames: r.classNames, styles: r.styles, isInView: !0 }, i)) }) : null,
|
|
125
126
|
dt.filter(Ce).map(Oe)
|
|
126
127
|
] }) }) : /* @__PURE__ */ n.jsx("div", { style: {
|
|
127
|
-
width: `${
|
|
128
|
-
height: `${
|
|
128
|
+
width: `${w}px`,
|
|
129
|
+
height: `${$}px`
|
|
129
130
|
}, children: /* @__PURE__ */ n.jsx("div", { className: "flex m-auto items-center justify-center p-0 leading-none text-base h-40", children: /* @__PURE__ */ n.jsx(Ut, {}) }) });
|
|
130
|
-
let w;
|
|
131
|
-
t[13] !== a?.tooltip || t[14] !== rt || t[15] !== K || t[16] !== nt || t[17] !== O?.tooltip || t[18] !== z ? (w = nt && z && rt && K ? /* @__PURE__ */ n.jsx(Kt, { data: nt, body: z, xPos: rt, yPos: K, backgroundStyle: O?.tooltip, className: a?.tooltip }) : null, t[13] = a?.tooltip, t[14] = rt, t[15] = K, t[16] = nt, t[17] = O?.tooltip, t[18] = z, t[19] = w) : w = t[19];
|
|
132
|
-
let C;
|
|
133
|
-
t[20] !== a?.modal || t[21] !== P || t[22] !== X ? (C = P && X !== void 0 ? /* @__PURE__ */ n.jsx(te, { body: P, data: X, setData: Y, className: a?.modal }) : null, t[20] = a?.modal, t[21] = P, t[22] = X, t[23] = C) : C = t[23];
|
|
134
131
|
let D;
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
132
|
+
t[13] !== u?.tooltip || t[14] !== ot || t[15] !== A || t[16] !== mt || t[17] !== O?.tooltip || t[18] !== H ? (D = mt && H && ot && A ? /* @__PURE__ */ n.jsx(Kt, { data: mt, body: H, xPos: ot, yPos: A, backgroundStyle: O?.tooltip, className: u?.tooltip }) : null, t[13] = u?.tooltip, t[14] = ot, t[15] = A, t[16] = mt, t[17] = O?.tooltip, t[18] = H, t[19] = D) : D = t[19];
|
|
133
|
+
let y;
|
|
134
|
+
t[20] !== u?.modal || t[21] !== E || t[22] !== X ? (y = E && X !== void 0 ? /* @__PURE__ */ n.jsx(te, { body: E, data: X, setData: a, className: u?.modal }) : null, t[20] = u?.modal, t[21] = E, t[22] = X, t[23] = y) : y = t[23];
|
|
135
|
+
let C;
|
|
136
|
+
return t[24] !== ht || t[25] !== D || t[26] !== y ? (C = /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
137
|
+
ht,
|
|
138
|
+
D,
|
|
139
|
+
y
|
|
140
|
+
] }), t[24] = ht, t[25] = D, t[26] = y, t[27] = C) : C = t[27], C;
|
|
140
141
|
}
|
|
141
142
|
function Oe(e) {
|
|
142
143
|
return e.layer;
|
|
@@ -144,10 +145,10 @@ function Oe(e) {
|
|
|
144
145
|
function Ce(e) {
|
|
145
146
|
return e.position === "after";
|
|
146
147
|
}
|
|
147
|
-
function
|
|
148
|
+
function ke(e) {
|
|
148
149
|
return e.color;
|
|
149
150
|
}
|
|
150
|
-
function
|
|
151
|
+
function De(e) {
|
|
151
152
|
return e.color;
|
|
152
153
|
}
|
|
153
154
|
function we(e) {
|
|
@@ -187,96 +188,97 @@ function Fe(e) {
|
|
|
187
188
|
function Ee(e) {
|
|
188
189
|
return e.position;
|
|
189
190
|
}
|
|
190
|
-
function Pe(e) {
|
|
191
|
-
return !x(e.position);
|
|
192
|
-
}
|
|
193
191
|
function Re(e) {
|
|
194
|
-
return e.position;
|
|
192
|
+
return !g(e.position);
|
|
195
193
|
}
|
|
196
194
|
function Xe(e) {
|
|
197
|
-
return
|
|
195
|
+
return e.position;
|
|
198
196
|
}
|
|
199
197
|
function Ye(e) {
|
|
200
|
-
return e.position;
|
|
198
|
+
return !g(e.position);
|
|
201
199
|
}
|
|
202
200
|
function Ge(e) {
|
|
203
|
-
return
|
|
201
|
+
return e.position;
|
|
202
|
+
}
|
|
203
|
+
function Pe(e) {
|
|
204
|
+
return !g(e.position);
|
|
204
205
|
}
|
|
205
206
|
function He(e) {
|
|
206
207
|
return e.position;
|
|
207
208
|
}
|
|
208
209
|
function Be(e) {
|
|
209
|
-
return !
|
|
210
|
+
return !g(e.position);
|
|
210
211
|
}
|
|
211
212
|
function ze(e) {
|
|
212
|
-
return !
|
|
213
|
+
return !g(e.radius);
|
|
213
214
|
}
|
|
214
215
|
function We(e) {
|
|
215
|
-
return !
|
|
216
|
+
return !g(e.radius);
|
|
216
217
|
}
|
|
217
218
|
function Ie(e) {
|
|
218
|
-
const t =
|
|
219
|
+
const t = Gt.c(28), {
|
|
219
220
|
data: o,
|
|
220
|
-
circleColors:
|
|
221
|
-
showTicks:
|
|
222
|
-
width:
|
|
223
|
-
height:
|
|
224
|
-
colorDomain:
|
|
221
|
+
circleColors: M,
|
|
222
|
+
showTicks: nt,
|
|
223
|
+
width: w,
|
|
224
|
+
height: $,
|
|
225
|
+
colorDomain: P,
|
|
225
226
|
topMargin: k,
|
|
226
|
-
bottomMargin:
|
|
227
|
-
leftMargin:
|
|
228
|
-
rightMargin:
|
|
227
|
+
bottomMargin: Q,
|
|
228
|
+
leftMargin: _,
|
|
229
|
+
rightMargin: rt,
|
|
229
230
|
showLabels: h,
|
|
230
|
-
tooltip:
|
|
231
|
-
onSeriesMouseOver:
|
|
232
|
-
refValues:
|
|
233
|
-
selectedColor:
|
|
234
|
-
startFromZero:
|
|
235
|
-
radius:
|
|
236
|
-
maxRadiusValue:
|
|
231
|
+
tooltip: T,
|
|
232
|
+
onSeriesMouseOver: F,
|
|
233
|
+
refValues: H,
|
|
234
|
+
selectedColor: st,
|
|
235
|
+
startFromZero: L,
|
|
236
|
+
radius: x,
|
|
237
|
+
maxRadiusValue: N,
|
|
237
238
|
maxValue: d,
|
|
238
|
-
minValue:
|
|
239
|
-
highlightedDataPoints:
|
|
240
|
-
onSeriesMouseClick:
|
|
241
|
-
rtl:
|
|
239
|
+
minValue: B,
|
|
240
|
+
highlightedDataPoints: z,
|
|
241
|
+
onSeriesMouseClick: W,
|
|
242
|
+
rtl: xt,
|
|
242
243
|
resetSelectionOnDoubleClick: ft,
|
|
243
|
-
detailsOnClick:
|
|
244
|
-
suffix:
|
|
244
|
+
detailsOnClick: I,
|
|
245
|
+
suffix: E,
|
|
245
246
|
prefix: O,
|
|
246
|
-
styles:
|
|
247
|
+
styles: u,
|
|
247
248
|
classNames: v,
|
|
248
|
-
noOfTicks:
|
|
249
|
-
dimmedOpacity:
|
|
249
|
+
noOfTicks: lt,
|
|
250
|
+
dimmedOpacity: at,
|
|
250
251
|
precision: dt,
|
|
251
|
-
customLayers:
|
|
252
|
-
hideAxisLine:
|
|
253
|
-
|
|
252
|
+
customLayers: gt,
|
|
253
|
+
hideAxisLine: vt,
|
|
254
|
+
locale: ct
|
|
255
|
+
} = e, R = k === void 0 ? 25 : k, tt = Q === void 0 ? 10 : Q, et = _ === void 0 ? 10 : _, ut = rt === void 0 ? 10 : rt, mt = At(null), [q, X] = V(void 0), [a, c] = V(void 0), [pt, ot] = V(null), [Z, A] = V(void 0), [U, J] = V(void 0);
|
|
254
256
|
let m;
|
|
255
|
-
t[0] !==
|
|
257
|
+
t[0] !== tt || t[1] !== et || t[2] !== ut || t[3] !== R ? (m = {
|
|
256
258
|
top: R,
|
|
257
|
-
bottom:
|
|
258
|
-
left:
|
|
259
|
-
right:
|
|
260
|
-
}, t[0] =
|
|
261
|
-
const f = m,
|
|
262
|
-
let
|
|
263
|
-
t[5] !== o || t[6] !== d || t[7] !==
|
|
264
|
-
const
|
|
259
|
+
bottom: tt,
|
|
260
|
+
left: et,
|
|
261
|
+
right: ut
|
|
262
|
+
}, t[0] = tt, t[1] = et, t[2] = ut, t[3] = R, t[4] = m) : m = t[4];
|
|
263
|
+
const f = m, it = w - f.left - f.right, Y = $ - f.top - f.bottom, G = o.filter(xo).length === 0 ? o : Zt(o.filter(ho), "radius", "desc");
|
|
264
|
+
let S;
|
|
265
|
+
t[5] !== o || t[6] !== d || t[7] !== L ? (S = g(d) ? Math.max(...o.filter(po).map(fo)) < 0 && !L ? 0 : Math.max(...o.filter(mo).map(uo)) : d, t[5] = o, t[6] = d, t[7] = L, t[8] = S) : S = t[8];
|
|
266
|
+
const K = S;
|
|
265
267
|
let p;
|
|
266
|
-
t[9] !== o || t[10] !==
|
|
267
|
-
const
|
|
268
|
-
|
|
269
|
-
const i =
|
|
270
|
-
ie(i).force("x", ne((
|
|
271
|
-
|
|
268
|
+
t[9] !== o || t[10] !== B || t[11] !== L ? (p = g(B) ? Math.min(...o.filter(co).map(ao)) >= 0 && !L ? 0 : Math.min(...o.filter(lo).map(so)) : B, t[9] = o, t[10] = B, t[11] = L, t[12] = p) : p = t[12];
|
|
269
|
+
const l = p, s = o.filter(ro).length !== o.length ? ee().domain([0, g(N) ? Math.max(...o.map(no).filter(io)) : N]).range([0.25, x]).nice() : void 0, j = oe().domain([l, K]).range([0, it]).nice(), ht = j.ticks(lt);
|
|
270
|
+
Pt(() => {
|
|
271
|
+
const i = G.map(oo).filter(eo);
|
|
272
|
+
ie(i).force("x", ne((b) => j(b.position)).strength(5)).force("y", re((b) => Y / 2).strength(1)).force("collide", se((b) => s ? s(b.radius || 0) + 1 : x + 1)).force("charge", le().strength(-15)).alphaDecay(0.05).tick(1e4).on("tick", () => {
|
|
273
|
+
ot(i);
|
|
272
274
|
}).on("end", () => {
|
|
273
|
-
|
|
275
|
+
ot(i);
|
|
274
276
|
});
|
|
275
|
-
}, [o,
|
|
276
|
-
const
|
|
277
|
-
|
|
278
|
-
/* @__PURE__ */ n.jsx(_t, { hideAxisLine:
|
|
279
|
-
x:
|
|
277
|
+
}, [o, x, Y, it, l, K, G, j, s]);
|
|
278
|
+
const D = pt ? /* @__PURE__ */ n.jsx("svg", { width: `${w}px`, height: `${$}px`, viewBox: `0 0 ${w} ${$}`, direction: "ltr", ref: mt, children: /* @__PURE__ */ n.jsxs("g", { transform: `translate(${f.left},${f.top})`, children: [
|
|
279
|
+
nt ? /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
280
|
+
/* @__PURE__ */ n.jsx(_t, { hideAxisLine: vt, x1: j(l < 0 ? 0 : l), x2: j(l < 0 ? 0 : l), y1: 0 - f.top, y2: Y + f.bottom, label: nt ? Jt(l < 0 ? 0 : l, void 0, dt, O, E, ct) : void 0, labelPos: {
|
|
281
|
+
x: j(l < 0 ? 0 : l),
|
|
280
282
|
y: 0 - R,
|
|
281
283
|
dy: "0.75em",
|
|
282
284
|
dx: 3
|
|
@@ -284,51 +286,51 @@ function Ie(e) {
|
|
|
284
286
|
axis: v?.xAxis?.axis,
|
|
285
287
|
label: v?.yAxis?.labels
|
|
286
288
|
}, styles: {
|
|
287
|
-
axis:
|
|
288
|
-
label:
|
|
289
|
+
axis: u?.xAxis?.axis,
|
|
290
|
+
label: u?.yAxis?.labels
|
|
289
291
|
} }),
|
|
290
|
-
/* @__PURE__ */ n.jsx(he, { values:
|
|
291
|
-
gridLines:
|
|
292
|
-
labels:
|
|
292
|
+
/* @__PURE__ */ n.jsx(he, { values: ht.filter(to), x: ht.filter(_e).map((i) => j(i)), y1: 0 - R, y2: Y + f.bottom, styles: {
|
|
293
|
+
gridLines: u?.xAxis?.gridLines,
|
|
294
|
+
labels: u?.xAxis?.labels
|
|
293
295
|
}, classNames: {
|
|
294
296
|
gridLines: v?.xAxis?.gridLines,
|
|
295
297
|
labels: v?.xAxis?.labels
|
|
296
|
-
}, suffix:
|
|
298
|
+
}, suffix: E, prefix: O, labelType: "secondary", showGridLines: !0, precision: dt, locale: ct })
|
|
297
299
|
] }) : null,
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
X(i),
|
|
301
|
-
}, onMouseMove: (
|
|
302
|
-
X(i),
|
|
300
|
+
gt.filter(Qe).map(Ke),
|
|
301
|
+
pt.map((i) => /* @__PURE__ */ n.jsxs("g", { className: "undp-viz-g-with-hover", transform: `translate(${i.x},${i.y})`, opacity: st ? i.color && M[P.indexOf(i.color)] === st ? 1 : at : z ? z.indexOf(i.label) !== -1 ? 0.85 : at : 0.85, onMouseEnter: (b) => {
|
|
302
|
+
X(i), J(b.clientY), A(b.clientX), F?.(i);
|
|
303
|
+
}, onMouseMove: (b) => {
|
|
304
|
+
X(i), J(b.clientY), A(b.clientX);
|
|
303
305
|
}, onClick: () => {
|
|
304
|
-
(
|
|
306
|
+
(W || I) && (qt(a, i) && ft ? (c(void 0), W?.(void 0)) : (c(i), W?.(i)));
|
|
305
307
|
}, onMouseLeave: () => {
|
|
306
|
-
X(void 0),
|
|
308
|
+
X(void 0), A(void 0), J(void 0), F?.(void 0);
|
|
307
309
|
}, children: [
|
|
308
|
-
/* @__PURE__ */ n.jsx("circle", { cx: 0, cy: 0, fill: o.filter(Je).length === 0 ?
|
|
309
|
-
(
|
|
310
|
-
fontSize: `${Math.min(Math.max(Math.round((
|
|
311
|
-
color: Qt(o.filter(Ue).length === 0 ?
|
|
310
|
+
/* @__PURE__ */ n.jsx("circle", { cx: 0, cy: 0, fill: o.filter(Je).length === 0 ? M[0] : i.color ? M[P.indexOf(i.color)] : yt.gray, radius: s ? s(i.radius || 0) : x }),
|
|
311
|
+
(s ? s(i.radius || 0) : x) > 10 && h ? /* @__PURE__ */ n.jsx("g", { children: /* @__PURE__ */ n.jsx("foreignObject", { y: 0 - (s ? s(i.radius || 0) : x), x: 0 - (s ? s(i.radius || 0) : x), width: 2 * (s ? s(i.radius || 0) : x), height: 2 * (s ? s(i.radius || 0) : x), children: /* @__PURE__ */ n.jsx("div", { className: "flex flex-col gap-0.5 justify-center items-center h-inherit py-0 px-1.5", children: h ? /* @__PURE__ */ n.jsx(me, { className: It("text-center leading-none m-0", v?.graphObjectValues), marginBottom: "none", style: {
|
|
312
|
+
fontSize: `${Math.min(Math.max(Math.round((s ? s(i.radius || 0) : x) / 4), 10), Math.max(Math.round((s ? s(i.radius || 0) : x) * 12 / `${i.label}`.length), 10), 20)}px`,
|
|
313
|
+
color: Qt(o.filter(Ue).length === 0 ? M[0] : i.color ? M[P.indexOf(i.color)] : yt.gray),
|
|
312
314
|
hyphens: "auto",
|
|
313
|
-
...
|
|
315
|
+
...u?.graphObjectValues || {}
|
|
314
316
|
}, children: i.label }) : null }) }) }) : null
|
|
315
317
|
] }, i.label)),
|
|
316
|
-
|
|
317
|
-
|
|
318
|
+
H ? /* @__PURE__ */ n.jsx(n.Fragment, { children: H.map((i, b) => /* @__PURE__ */ n.jsx(fe, { text: i.text, color: i.color, x: j(i.value), y1: 0 - f.top, y2: Y + f.bottom, textSide: j(i.value) > it * 0.75 || xt ? "left" : "right", classNames: i.classNames, styles: i.styles, isInView: !0 }, b)) }) : null,
|
|
319
|
+
gt.filter(Ze).map(qe)
|
|
318
320
|
] }) }) : /* @__PURE__ */ n.jsx("div", { style: {
|
|
319
|
-
width: `${
|
|
320
|
-
height: `${
|
|
321
|
+
width: `${w}px`,
|
|
322
|
+
height: `${$}px`
|
|
321
323
|
}, children: /* @__PURE__ */ n.jsx("div", { className: "flex m-auto items-center justify-center p-0 leading-none text-base h-40", children: /* @__PURE__ */ n.jsx(Ut, {}) }) });
|
|
324
|
+
let y;
|
|
325
|
+
t[13] !== v?.tooltip || t[14] !== Z || t[15] !== U || t[16] !== q || t[17] !== u?.tooltip || t[18] !== T ? (y = q && T && Z && U ? /* @__PURE__ */ n.jsx(Kt, { data: q, body: T, xPos: Z, yPos: U, backgroundStyle: u?.tooltip, className: v?.tooltip }) : null, t[13] = v?.tooltip, t[14] = Z, t[15] = U, t[16] = q, t[17] = u?.tooltip, t[18] = T, t[19] = y) : y = t[19];
|
|
322
326
|
let C;
|
|
323
|
-
t[
|
|
324
|
-
let D;
|
|
325
|
-
t[20] !== v?.modal || t[21] !== Z || t[22] !== Y ? (D = Z && Y !== void 0 ? /* @__PURE__ */ n.jsx(te, { body: Z, data: Y, setData: u, className: v?.modal }) : null, t[20] = v?.modal, t[21] = Z, t[22] = Y, t[23] = D) : D = t[23];
|
|
327
|
+
t[20] !== v?.modal || t[21] !== I || t[22] !== a ? (C = I && a !== void 0 ? /* @__PURE__ */ n.jsx(te, { body: I, data: a, setData: c, className: v?.modal }) : null, t[20] = v?.modal, t[21] = I, t[22] = a, t[23] = C) : C = t[23];
|
|
326
328
|
let r;
|
|
327
|
-
return t[24] !==
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
] }), t[24] =
|
|
329
|
+
return t[24] !== D || t[25] !== y || t[26] !== C ? (r = /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
330
|
+
D,
|
|
331
|
+
y,
|
|
332
|
+
C
|
|
333
|
+
] }), t[24] = D, t[25] = y, t[26] = C, t[27] = r) : r = t[27], r;
|
|
332
334
|
}
|
|
333
335
|
function qe(e) {
|
|
334
336
|
return e.layer;
|
|
@@ -380,134 +382,132 @@ function so(e) {
|
|
|
380
382
|
return e.position;
|
|
381
383
|
}
|
|
382
384
|
function lo(e) {
|
|
383
|
-
return !
|
|
385
|
+
return !g(e.position);
|
|
384
386
|
}
|
|
385
387
|
function ao(e) {
|
|
386
388
|
return e.position;
|
|
387
389
|
}
|
|
388
390
|
function co(e) {
|
|
389
|
-
return !
|
|
391
|
+
return !g(e.position);
|
|
390
392
|
}
|
|
391
393
|
function uo(e) {
|
|
392
394
|
return e.position;
|
|
393
395
|
}
|
|
394
396
|
function mo(e) {
|
|
395
|
-
return !
|
|
397
|
+
return !g(e.position);
|
|
396
398
|
}
|
|
397
399
|
function fo(e) {
|
|
398
400
|
return e.position;
|
|
399
401
|
}
|
|
400
402
|
function po(e) {
|
|
401
|
-
return !
|
|
403
|
+
return !g(e.position);
|
|
402
404
|
}
|
|
403
405
|
function ho(e) {
|
|
404
|
-
return !
|
|
406
|
+
return !g(e.radius);
|
|
405
407
|
}
|
|
406
|
-
function
|
|
407
|
-
return !
|
|
408
|
+
function xo(e) {
|
|
409
|
+
return !g(e.radius);
|
|
408
410
|
}
|
|
409
411
|
function Jo(e) {
|
|
410
|
-
const t =
|
|
412
|
+
const t = Gt.c(91), {
|
|
411
413
|
data: o,
|
|
412
|
-
graphTitle:
|
|
413
|
-
topMargin:
|
|
414
|
-
bottomMargin:
|
|
415
|
-
leftMargin:
|
|
416
|
-
rightMargin:
|
|
414
|
+
graphTitle: M,
|
|
415
|
+
topMargin: nt,
|
|
416
|
+
bottomMargin: w,
|
|
417
|
+
leftMargin: $,
|
|
418
|
+
rightMargin: P,
|
|
417
419
|
colors: k,
|
|
418
|
-
sources:
|
|
419
|
-
graphDescription:
|
|
420
|
-
height:
|
|
420
|
+
sources: Q,
|
|
421
|
+
graphDescription: _,
|
|
422
|
+
height: rt,
|
|
421
423
|
width: h,
|
|
422
|
-
footNote:
|
|
423
|
-
colorDomain:
|
|
424
|
-
colorLegendTitle:
|
|
425
|
-
padding:
|
|
426
|
-
relativeHeight:
|
|
427
|
-
tooltip:
|
|
428
|
-
onSeriesMouseOver:
|
|
424
|
+
footNote: T,
|
|
425
|
+
colorDomain: F,
|
|
426
|
+
colorLegendTitle: H,
|
|
427
|
+
padding: st,
|
|
428
|
+
relativeHeight: L,
|
|
429
|
+
tooltip: x,
|
|
430
|
+
onSeriesMouseOver: N,
|
|
429
431
|
refValues: d,
|
|
430
|
-
showColorScale:
|
|
431
|
-
graphID:
|
|
432
|
-
radius:
|
|
433
|
-
showLabels:
|
|
432
|
+
showColorScale: B,
|
|
433
|
+
graphID: z,
|
|
434
|
+
radius: W,
|
|
435
|
+
showLabels: xt,
|
|
434
436
|
showTicks: ft,
|
|
435
|
-
maxRadiusValue:
|
|
436
|
-
maxValue:
|
|
437
|
+
maxRadiusValue: I,
|
|
438
|
+
maxValue: E,
|
|
437
439
|
minValue: O,
|
|
438
|
-
highlightedDataPoints:
|
|
440
|
+
highlightedDataPoints: u,
|
|
439
441
|
onSeriesMouseClick: v,
|
|
440
|
-
ariaLabel:
|
|
441
|
-
backgroundColor:
|
|
442
|
+
ariaLabel: lt,
|
|
443
|
+
backgroundColor: at,
|
|
442
444
|
graphDownload: dt,
|
|
443
|
-
dataDownload:
|
|
444
|
-
language:
|
|
445
|
-
showNAColor:
|
|
446
|
-
minHeight:
|
|
447
|
-
theme:
|
|
448
|
-
resetSelectionOnDoubleClick:
|
|
449
|
-
detailsOnClick:
|
|
450
|
-
orientation:
|
|
451
|
-
suffix:
|
|
452
|
-
prefix:
|
|
453
|
-
styles:
|
|
445
|
+
dataDownload: gt,
|
|
446
|
+
language: vt,
|
|
447
|
+
showNAColor: ct,
|
|
448
|
+
minHeight: R,
|
|
449
|
+
theme: tt,
|
|
450
|
+
resetSelectionOnDoubleClick: et,
|
|
451
|
+
detailsOnClick: ut,
|
|
452
|
+
orientation: mt,
|
|
453
|
+
suffix: q,
|
|
454
|
+
prefix: X,
|
|
455
|
+
styles: a,
|
|
454
456
|
classNames: c,
|
|
455
|
-
noOfTicks:
|
|
456
|
-
dimmedOpacity:
|
|
457
|
-
precision:
|
|
458
|
-
customLayers:
|
|
459
|
-
hideAxisLine:
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
t[2] !== S ? (Dt = S === void 0 ? [] : S, t[2] = S, t[3] = Dt) : Dt = t[3];
|
|
466
|
-
const Vt = Dt, Tt = Q === void 0 ? !1 : Q, [kt, ae] = T(0), [wt, ce] = T(0), [Ft, ue] = T(void 0), Et = At(null), Ht = At(null), Pt = C === "horizontal" ? Ie : je;
|
|
457
|
+
noOfTicks: pt,
|
|
458
|
+
dimmedOpacity: ot,
|
|
459
|
+
precision: Z,
|
|
460
|
+
customLayers: A,
|
|
461
|
+
hideAxisLine: U,
|
|
462
|
+
locale: J
|
|
463
|
+
} = e, m = W === void 0 ? 5 : W, f = xt === void 0 ? !0 : xt, it = ft === void 0 ? !0 : ft, Y = at === void 0 ? !1 : at, G = dt === void 0 ? !1 : dt, S = gt === void 0 ? !1 : gt, K = vt === void 0 ? "en" : vt, p = ct === void 0 ? !0 : ct, l = R === void 0 ? 0 : R, s = tt === void 0 ? "light" : tt, j = et === void 0 ? !0 : et, ht = mt === void 0 ? "vertical" : mt, D = q === void 0 ? "" : q, y = X === void 0 ? "" : X, C = pt === void 0 ? 5 : pt, r = ot === void 0 ? 0.3 : ot, i = Z === void 0 ? 2 : Z;
|
|
464
|
+
let b;
|
|
465
|
+
t[0] !== A ? (b = A === void 0 ? [] : A, t[0] = A, t[1] = b) : b = t[1];
|
|
466
|
+
const St = b, Vt = U === void 0 ? !1 : U, Tt = J === void 0 ? "en" : J, [Dt, ae] = V(0), [wt, ce] = V(0), [Ft, ue] = V(void 0), Et = At(null), Ht = At(null), Rt = ht === "horizontal" ? Ie : je;
|
|
467
467
|
let $t, Lt;
|
|
468
|
-
t[
|
|
468
|
+
t[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? ($t = () => {
|
|
469
469
|
const Bt = new ResizeObserver((zt) => {
|
|
470
470
|
ae(zt[0].target.clientWidth || 620), ce(zt[0].target.clientHeight || 480);
|
|
471
471
|
});
|
|
472
472
|
return Et.current && Bt.observe(Et.current), () => Bt.disconnect();
|
|
473
|
-
}, Lt = [], t[
|
|
474
|
-
const
|
|
475
|
-
let
|
|
476
|
-
t[
|
|
477
|
-
title:
|
|
478
|
-
description:
|
|
473
|
+
}, Lt = [], t[2] = $t, t[3] = Lt) : ($t = t[2], Lt = t[3]), Pt($t, Lt);
|
|
474
|
+
const Xt = c?.graphContainer, Yt = a?.graphContainer;
|
|
475
|
+
let bt;
|
|
476
|
+
t[4] !== c?.description || t[5] !== c?.title || t[6] !== o || t[7] !== S || t[8] !== _ || t[9] !== G || t[10] !== M || t[11] !== a?.description || t[12] !== a?.title || t[13] !== h ? (bt = M || _ || G || S ? /* @__PURE__ */ n.jsx(xe, { styles: {
|
|
477
|
+
title: a?.title,
|
|
478
|
+
description: a?.description
|
|
479
479
|
}, classNames: {
|
|
480
480
|
title: c?.title,
|
|
481
481
|
description: c?.description
|
|
482
|
-
}, graphTitle:
|
|
483
|
-
let bt;
|
|
484
|
-
t[17] !== c?.colorLegend || t[18] !== E || t[19] !== z || t[20] !== k || t[21] !== o || t[22] !== W || t[23] !== l || t[24] !== M || t[25] !== h ? (bt = W !== !1 && o.filter(yo).length !== 0 && o.length > 0 ? /* @__PURE__ */ n.jsx(be, { width: h, colorLegendTitle: z, colors: k || vt[M].categoricalColors.colors, colorDomain: E || Wt(o, "color", !0), setSelectedColor: ue, showNAColor: l, className: c?.colorLegend }) : null, t[17] = c?.colorLegend, t[18] = E, t[19] = z, t[20] = k, t[21] = o, t[22] = W, t[23] = l, t[24] = M, t[25] = h, t[26] = bt) : bt = t[26];
|
|
482
|
+
}, graphTitle: M, graphDescription: _, width: h, graphDownload: G ? Ht : void 0, dataDownload: S ? o.map(Co).filter(Oo).length > 0 ? o.map(jo).filter(Mo) : o.filter(bo) : null }) : null, t[4] = c?.description, t[5] = c?.title, t[6] = o, t[7] = S, t[8] = _, t[9] = G, t[10] = M, t[11] = a?.description, t[12] = a?.title, t[13] = h, t[14] = bt) : bt = t[14];
|
|
485
483
|
let Mt;
|
|
486
|
-
t[
|
|
484
|
+
t[15] !== c?.colorLegend || t[16] !== F || t[17] !== H || t[18] !== k || t[19] !== o || t[20] !== B || t[21] !== p || t[22] !== s || t[23] !== h ? (Mt = B !== !1 && o.filter(yo).length !== 0 && o.length > 0 ? /* @__PURE__ */ n.jsx(be, { width: h, colorLegendTitle: H, colors: k || yt[s].categoricalColors.colors, colorDomain: F || Wt(o, "color", !0), setSelectedColor: ue, showNAColor: p, className: c?.colorLegend }) : null, t[15] = c?.colorLegend, t[16] = F, t[17] = H, t[18] = k, t[19] = o, t[20] = B, t[21] = p, t[22] = s, t[23] = h, t[24] = Mt) : Mt = t[24];
|
|
487
485
|
let jt;
|
|
488
|
-
t[
|
|
486
|
+
t[25] !== o.length ? (jt = o.length === 0 && /* @__PURE__ */ n.jsx(ye, {}), t[25] = o.length, t[26] = jt) : jt = t[26];
|
|
489
487
|
let Ot;
|
|
490
|
-
t[
|
|
491
|
-
Mt,
|
|
492
|
-
jt
|
|
493
|
-
] }), t[64] = Mt, t[65] = jt, t[66] = Ot) : Ot = t[66];
|
|
488
|
+
t[27] !== Rt || t[28] !== w || t[29] !== c || t[30] !== F || t[31] !== k || t[32] !== St || t[33] !== o || t[34] !== ut || t[35] !== r || t[36] !== Vt || t[37] !== u || t[38] !== $ || t[39] !== Tt || t[40] !== I || t[41] !== E || t[42] !== O || t[43] !== C || t[44] !== v || t[45] !== N || t[46] !== i || t[47] !== y || t[48] !== m || t[49] !== d || t[50] !== j || t[51] !== P || t[52] !== Ft || t[53] !== f || t[54] !== it || t[55] !== a || t[56] !== D || t[57] !== wt || t[58] !== Dt || t[59] !== s || t[60] !== x || t[61] !== nt ? (Ot = Dt && wt && o.length > 0 ? /* @__PURE__ */ n.jsx(Rt, { hideAxisLine: Vt, data: o, circleColors: o.filter(vo).length === 0 ? k ? [k] : [yt.primaryColors["blue-600"]] : k || yt[s].categoricalColors.colors, colorDomain: o.filter(go).length === 0 ? [] : F || Wt(o, "color", !0), width: Dt, selectedColor: Ft, height: wt, showTicks: it, leftMargin: $, rightMargin: P, topMargin: nt, bottomMargin: w, showLabels: f, tooltip: x, onSeriesMouseOver: N, refValues: d, startFromZero: !1, radius: m, maxRadiusValue: I, maxValue: E, minValue: O, highlightedDataPoints: u, onSeriesMouseClick: v, resetSelectionOnDoubleClick: j, detailsOnClick: ut, styles: a, classNames: c, suffix: D, prefix: y, noOfTicks: C || 5, dimmedOpacity: r, precision: i, customLayers: St, locale: Tt }) : null, t[27] = Rt, t[28] = w, t[29] = c, t[30] = F, t[31] = k, t[32] = St, t[33] = o, t[34] = ut, t[35] = r, t[36] = Vt, t[37] = u, t[38] = $, t[39] = Tt, t[40] = I, t[41] = E, t[42] = O, t[43] = C, t[44] = v, t[45] = N, t[46] = i, t[47] = y, t[48] = m, t[49] = d, t[50] = j, t[51] = P, t[52] = Ft, t[53] = f, t[54] = it, t[55] = a, t[56] = D, t[57] = wt, t[58] = Dt, t[59] = s, t[60] = x, t[61] = nt, t[62] = Ot) : Ot = t[62];
|
|
494
489
|
let Ct;
|
|
495
|
-
t[
|
|
496
|
-
|
|
497
|
-
|
|
490
|
+
t[63] !== jt || t[64] !== Ot ? (Ct = /* @__PURE__ */ n.jsxs(ge, { ref: Et, children: [
|
|
491
|
+
jt,
|
|
492
|
+
Ot
|
|
493
|
+
] }), t[63] = jt, t[64] = Ot, t[65] = Ct) : Ct = t[65];
|
|
494
|
+
let kt;
|
|
495
|
+
t[66] !== c?.footnote || t[67] !== c?.source || t[68] !== T || t[69] !== Q || t[70] !== a?.footnote || t[71] !== a?.source || t[72] !== h ? (kt = Q || T ? /* @__PURE__ */ n.jsx(Me, { styles: {
|
|
496
|
+
footnote: a?.footnote,
|
|
497
|
+
source: a?.source
|
|
498
498
|
}, classNames: {
|
|
499
499
|
footnote: c?.footnote,
|
|
500
500
|
source: c?.source
|
|
501
|
-
}, sources:
|
|
501
|
+
}, sources: Q, footNote: T, width: h }) : null, t[66] = c?.footnote, t[67] = c?.source, t[68] = T, t[69] = Q, t[70] = a?.footnote, t[71] = a?.source, t[72] = h, t[73] = kt) : kt = t[73];
|
|
502
502
|
let Nt;
|
|
503
|
-
return t[75] !==
|
|
504
|
-
yt,
|
|
503
|
+
return t[74] !== lt || t[75] !== Y || t[76] !== z || t[77] !== rt || t[78] !== K || t[79] !== l || t[80] !== st || t[81] !== L || t[82] !== Xt || t[83] !== Yt || t[84] !== bt || t[85] !== Mt || t[86] !== Ct || t[87] !== kt || t[88] !== s || t[89] !== h ? (Nt = /* @__PURE__ */ n.jsxs(ve, { className: Xt, style: Yt, id: z, ref: Ht, "aria-label": lt, backgroundColor: Y, theme: s, language: K, minHeight: l, width: h, height: rt, relativeHeight: L, padding: st, children: [
|
|
505
504
|
bt,
|
|
506
|
-
|
|
507
|
-
Ct
|
|
508
|
-
|
|
505
|
+
Mt,
|
|
506
|
+
Ct,
|
|
507
|
+
kt
|
|
508
|
+
] }), t[74] = lt, t[75] = Y, t[76] = z, t[77] = rt, t[78] = K, t[79] = l, t[80] = st, t[81] = L, t[82] = Xt, t[83] = Yt, t[84] = bt, t[85] = Mt, t[86] = Ct, t[87] = kt, t[88] = s, t[89] = h, t[90] = Nt) : Nt = t[90], Nt;
|
|
509
509
|
}
|
|
510
|
-
function
|
|
510
|
+
function go(e) {
|
|
511
511
|
return e.color;
|
|
512
512
|
}
|
|
513
513
|
function vo(e) {
|