@undp/data-viz 2.3.17 → 2.3.19
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 +1687 -1675
- 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 +268 -265
- 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 +526 -523
- 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 +146 -146
- 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 +547 -544
- 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-D8WRC8-j.cjs +2 -0
- package/dist/GraphEl-D8WRC8-j.cjs.map +1 -0
- package/dist/{GraphEl-CnJf8b50.js → GraphEl-Dorm_qQE.js} +48 -10
- package/dist/GraphEl-Dorm_qQE.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 -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 +283 -281
- 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 +434 -432
- 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 +398 -394
- 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 +220 -218
- 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 +439 -437
- 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 +425 -423
- 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.js +10 -10
- 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 +360 -357
- 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 +219 -217
- 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 +243 -241
- 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-Bdo_HXb_.cjs +2 -0
- package/dist/index-Bdo_HXb_.cjs.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-CGrBpeUa.js +380 -0
- package/dist/index-CGrBpeUa.js.map +1 -0
- 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-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,136 +1,137 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { useRef as
|
|
3
|
-
import { i as
|
|
4
|
-
import { o as
|
|
5
|
-
import { w as
|
|
6
|
-
import { _ as
|
|
7
|
-
import { n as
|
|
8
|
-
import { T as
|
|
1
|
+
import { c as Ht, j as n, m as Zt } from "./index-CHPV5EwG-BzibaIRc.js";
|
|
2
|
+
import { useRef as St, useState as T, useEffect as Bt } from "react";
|
|
3
|
+
import { i as Ut } from "./index-Bwrro8-q.js";
|
|
4
|
+
import { o as Jt } from "./index-BZQYSqar.js";
|
|
5
|
+
import { w as Kt } from "./Spinner-B2IIKg9r.js";
|
|
6
|
+
import { _ as de } from "./Typography-BO0gQDIT.js";
|
|
7
|
+
import { n as Qt } from "./numberFormattingFunction-DqMf_v1m.js";
|
|
8
|
+
import { T as _t } from "./Tooltip-Bj-s__cI.js";
|
|
9
9
|
import { c as x } from "./checkIfNullOrUndefined-DmfiKkNw.js";
|
|
10
|
-
import { g as
|
|
11
|
-
import { Colors as
|
|
12
|
-
import { A as
|
|
13
|
-
import { R as
|
|
14
|
-
import { Y as
|
|
15
|
-
import { X as
|
|
16
|
-
import { D as
|
|
17
|
-
import { s as
|
|
18
|
-
import { a as
|
|
19
|
-
import { f as
|
|
20
|
-
import { u as
|
|
21
|
-
import { GraphHeader as
|
|
22
|
-
import { a as
|
|
23
|
-
import { E as
|
|
24
|
-
import { ColorLegendWithMouseOver as
|
|
25
|
-
import { GraphFooter as
|
|
26
|
-
function
|
|
27
|
-
const t =
|
|
10
|
+
import { g as te } from "./getTextColorBasedOnBgColor-CDY808zi.js";
|
|
11
|
+
import { Colors as yt } from "./Colors.js";
|
|
12
|
+
import { A as ee } from "./Axis-CNZYWzH0.js";
|
|
13
|
+
import { R as pe, a as he } from "./ReferenceLine-D41VuUhE.js";
|
|
14
|
+
import { Y as ge } from "./YTicksAndGridLines-CsNSq9W9.js";
|
|
15
|
+
import { X as xe } from "./XTicksAndGridLines-gdbGX2rm.js";
|
|
16
|
+
import { D as oe } from "./DetailsModal-B2XBWR7w.js";
|
|
17
|
+
import { s as ie } from "./pow-BXYLJHCq.js";
|
|
18
|
+
import { a as ne } from "./linear-DNXM5Pdl.js";
|
|
19
|
+
import { f as re, a as se, b as le, c as ae, d as ce } from "./y-BqfogMAB.js";
|
|
20
|
+
import { u as qt } from "./uniqBy-BHy4I8PK.js";
|
|
21
|
+
import { GraphHeader as ve } from "./GraphHeader.js";
|
|
22
|
+
import { a as ye, G as be } from "./GraphContainer-B8ZqOzKI.js";
|
|
23
|
+
import { E as Me } from "./EmptyState-CaxXCkiN.js";
|
|
24
|
+
import { ColorLegendWithMouseOver as je } from "./ColorLegendWithMouseOver.js";
|
|
25
|
+
import { GraphFooter as Oe } from "./GraphFooter.js";
|
|
26
|
+
function Ce(e) {
|
|
27
|
+
const t = Ht.c(28), {
|
|
28
28
|
data: o,
|
|
29
29
|
circleColors: y,
|
|
30
|
-
showTicks:
|
|
30
|
+
showTicks: rt,
|
|
31
31
|
width: $,
|
|
32
32
|
height: L,
|
|
33
|
-
colorDomain:
|
|
33
|
+
colorDomain: H,
|
|
34
34
|
topMargin: k,
|
|
35
|
-
bottomMargin:
|
|
36
|
-
leftMargin:
|
|
37
|
-
rightMargin:
|
|
35
|
+
bottomMargin: _,
|
|
36
|
+
leftMargin: tt,
|
|
37
|
+
rightMargin: st,
|
|
38
38
|
suffix: h,
|
|
39
39
|
prefix: F,
|
|
40
40
|
showLabels: E,
|
|
41
|
-
tooltip:
|
|
42
|
-
onSeriesMouseOver:
|
|
41
|
+
tooltip: B,
|
|
42
|
+
onSeriesMouseOver: lt,
|
|
43
43
|
refValues: N,
|
|
44
44
|
selectedColor: g,
|
|
45
45
|
startFromZero: A,
|
|
46
46
|
radius: d,
|
|
47
|
-
maxRadiusValue:
|
|
48
|
-
maxValue:
|
|
49
|
-
minValue:
|
|
47
|
+
maxRadiusValue: z,
|
|
48
|
+
maxValue: W,
|
|
49
|
+
minValue: I,
|
|
50
50
|
highlightedDataPoints: gt,
|
|
51
|
-
onSeriesMouseClick:
|
|
52
|
-
resetSelectionOnDoubleClick:
|
|
51
|
+
onSeriesMouseClick: dt,
|
|
52
|
+
resetSelectionOnDoubleClick: q,
|
|
53
53
|
detailsOnClick: P,
|
|
54
54
|
styles: O,
|
|
55
|
-
classNames:
|
|
55
|
+
classNames: u,
|
|
56
56
|
noOfTicks: v,
|
|
57
|
-
dimmedOpacity:
|
|
58
|
-
precision:
|
|
59
|
-
customLayers:
|
|
60
|
-
hideAxisLine: xt
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
57
|
+
dimmedOpacity: at,
|
|
58
|
+
precision: ct,
|
|
59
|
+
customLayers: pt,
|
|
60
|
+
hideAxisLine: xt,
|
|
61
|
+
locale: vt
|
|
62
|
+
} = e, ut = k === void 0 ? 25 : k, R = _ === void 0 ? 10 : _, et = tt === void 0 ? 100 : tt, ot = st === void 0 ? 40 : st, mt = St(null), [ft, Z] = T(void 0), [X, a] = T(void 0), [c, ht] = T(null), [it, U] = T(void 0), [S, J] = T(void 0);
|
|
63
|
+
let K;
|
|
64
|
+
t[0] !== R || t[1] !== et || t[2] !== ot || t[3] !== ut ? (K = {
|
|
65
|
+
top: ut,
|
|
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 = V.map(
|
|
78
|
-
|
|
79
|
-
|
|
67
|
+
left: et,
|
|
68
|
+
right: ot
|
|
69
|
+
}, t[0] = R, t[1] = et, t[2] = ot, t[3] = ut, t[4] = K) : K = t[4];
|
|
70
|
+
const m = K, f = $ - m.left - m.right, nt = L - m.top - m.bottom, V = o.filter(qe).length === 0 ? o : Jt(o.filter(Ie), "radius", "desc");
|
|
71
|
+
let Q;
|
|
72
|
+
t[5] !== o || t[6] !== W || t[7] !== A ? (Q = x(W) ? Math.max(...o.filter(We).map(ze)) < 0 && !A ? 0 : Math.max(...o.filter(Be).map(He)) : W, t[5] = o, t[6] = W, t[7] = A, t[8] = Q) : Q = t[8];
|
|
73
|
+
const Y = Q;
|
|
74
|
+
let G;
|
|
75
|
+
t[9] !== o || t[10] !== I || t[11] !== A ? (G = x(I) ? Math.min(...o.filter(Ge).map(Ye)) >= 0 && !A ? 0 : Math.min(...o.filter(Xe).map(Re)) : I, t[9] = o, t[10] = I, t[11] = A, t[12] = G) : G = t[12];
|
|
76
|
+
const p = G, s = o.filter(Pe).length !== o.length ? ie().domain([0, x(z) ? Math.max(...o.map(Ee).filter(Fe)) : z]).range([0.25, d]).nice() : void 0, l = ne().domain([p, Y]).range([nt, 0]).nice(), b = l.ticks(v);
|
|
77
|
+
Bt(() => {
|
|
78
|
+
const r = V.map(Te).filter(Ve);
|
|
79
|
+
re(r).force("y", le((i) => l(i.position)).strength(5)).force("x", se((i) => f / 2).strength(1)).force("collide", ae((i) => s ? s(i.radius || 0) + 1 : d + 1)).force("charge", ce().strength(-15)).alphaDecay(0.05).tick(1e4).on("tick", () => {
|
|
80
|
+
ht(r);
|
|
80
81
|
}).on("end", () => {
|
|
81
|
-
|
|
82
|
+
ht(r);
|
|
82
83
|
});
|
|
83
|
-
}, [o, d,
|
|
84
|
-
const M =
|
|
85
|
-
|
|
86
|
-
/* @__PURE__ */ n.jsx(
|
|
84
|
+
}, [o, d, nt, f, p, Y, V, l, s]);
|
|
85
|
+
const M = c ? /* @__PURE__ */ n.jsx("svg", { width: `${$}px`, height: `${L}px`, viewBox: `0 0 ${$} ${L}`, direction: "ltr", ref: mt, children: /* @__PURE__ */ n.jsxs("g", { transform: `translate(${m.left},${m.top})`, children: [
|
|
86
|
+
rt ? /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
87
|
+
/* @__PURE__ */ n.jsx(ee, { hideAxisLine: xt, y1: l(p < 0 ? 0 : p), y2: l(p < 0 ? 0 : p), x1: 0 - m.left, x2: f + m.right, label: rt ? Qt(p < 0 ? 0 : p, void 0, ct, F, h, vt) : void 0, labelPos: {
|
|
87
88
|
x: 0 - m.left,
|
|
88
89
|
y: l(p < 0 ? 0 : p),
|
|
89
90
|
dx: 0,
|
|
90
|
-
dy:
|
|
91
|
+
dy: Y < 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(
|
|
99
|
+
/* @__PURE__ */ n.jsx(ge, { values: b.filter(Se), y: b.filter(Ae).map((r) => l(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: F, labelType: "secondary", showGridLines: !0, labelPos: "vertical", precision:
|
|
103
|
+
gridLines: u?.yAxis?.gridLines,
|
|
104
|
+
labels: u?.yAxis?.labels
|
|
105
|
+
}, suffix: h, prefix: F, labelType: "secondary", showGridLines: !0, labelPos: "vertical", precision: ct, locale: vt })
|
|
105
106
|
] }) : null,
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
107
|
+
pt.filter(Ne).map(Le),
|
|
108
|
+
c.map((r) => /* @__PURE__ */ n.jsxs("g", { className: "undp-viz-g-with-hover", transform: `translate(${r.x},${r.y})`, opacity: g ? r.color && y[H.indexOf(r.color)] === g ? 1 : at : gt.length !== 0 ? gt.indexOf(r.label) !== -1 ? 0.85 : at : 0.85, onMouseEnter: (i) => {
|
|
109
|
+
Z(r), J(i.clientY), U(i.clientX), lt?.(r);
|
|
109
110
|
}, onMouseMove: (i) => {
|
|
110
|
-
|
|
111
|
+
Z(r), J(i.clientY), U(i.clientX);
|
|
111
112
|
}, onClick: () => {
|
|
112
|
-
(
|
|
113
|
+
(dt || P) && (Ut(X, r) && q ? (a(void 0), dt?.(void 0)) : (a(r), dt?.(r)));
|
|
113
114
|
}, onMouseLeave: () => {
|
|
114
|
-
|
|
115
|
+
Z(void 0), U(void 0), J(void 0), lt?.(void 0);
|
|
115
116
|
}, children: [
|
|
116
|
-
/* @__PURE__ */ n.jsx("circle", { cx: 0, cy: 0, r: s ? s(r.radius || 0) : d, fill: o.filter(
|
|
117
|
-
(s ? s(r.radius || 0) : d) > 10 && E ? /* @__PURE__ */ n.jsx("g", { children: /* @__PURE__ */ n.jsx("foreignObject", { y: 0 - (s ? s(r.radius || 0) : d), x: 0 - (s ? s(r.radius || 0) : d), width: 2 * (s ? s(r.radius || 0) : d), height: 2 * (s ? s(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: E ? /* @__PURE__ */ n.jsx("p", { className:
|
|
117
|
+
/* @__PURE__ */ n.jsx("circle", { cx: 0, cy: 0, r: s ? s(r.radius || 0) : d, fill: o.filter($e).length === 0 ? y[0] : r.color ? y[H.indexOf(r.color)] : yt.gray }),
|
|
118
|
+
(s ? s(r.radius || 0) : d) > 10 && E ? /* @__PURE__ */ n.jsx("g", { children: /* @__PURE__ */ n.jsx("foreignObject", { y: 0 - (s ? s(r.radius || 0) : d), x: 0 - (s ? s(r.radius || 0) : d), width: 2 * (s ? s(r.radius || 0) : d), height: 2 * (s ? s(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: E ? /* @__PURE__ */ n.jsx("p", { className: Zt("text-center leading-none m-0", u?.graphObjectValues), style: {
|
|
118
119
|
fontSize: `${Math.min(Math.max(Math.round((s ? s(r.radius || 0) : d) / 4), 10), Math.max(Math.round((s ? s(r.radius || 0) : d) * 12 / `${r.label}`.length), 10), 20)}px`,
|
|
119
120
|
hyphens: "auto",
|
|
120
|
-
color:
|
|
121
|
+
color: te(o.filter(we).length === 0 ? y[0] : r.color ? y[H.indexOf(r.color)] : yt.gray),
|
|
121
122
|
...O?.graphObjectValues || {}
|
|
122
123
|
}, children: r.label }) : null }) }) }) : null
|
|
123
124
|
] }, r.label)),
|
|
124
|
-
N ? /* @__PURE__ */ n.jsx(n.Fragment, { children: N.map((r, i) => /* @__PURE__ */ n.jsx(
|
|
125
|
-
|
|
125
|
+
N ? /* @__PURE__ */ n.jsx(n.Fragment, { children: N.map((r, i) => /* @__PURE__ */ n.jsx(he, { text: r.text, color: r.color, y: l(r.value), x1: 0 - m.left, x2: f + m.right, classNames: r.classNames, styles: r.styles, isInView: !0 }, i)) }) : null,
|
|
126
|
+
pt.filter(ke).map(De)
|
|
126
127
|
] }) }) : /* @__PURE__ */ n.jsx("div", { style: {
|
|
127
128
|
width: `${$}px`,
|
|
128
129
|
height: `${L}px`
|
|
129
|
-
}, 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(
|
|
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(Kt, {}) }) });
|
|
130
131
|
let w;
|
|
131
|
-
t[13] !==
|
|
132
|
+
t[13] !== u?.tooltip || t[14] !== it || t[15] !== S || t[16] !== ft || t[17] !== O?.tooltip || t[18] !== B ? (w = ft && B && it && S ? /* @__PURE__ */ n.jsx(_t, { data: ft, body: B, xPos: it, yPos: S, backgroundStyle: O?.tooltip, className: u?.tooltip }) : null, t[13] = u?.tooltip, t[14] = it, t[15] = S, t[16] = ft, t[17] = O?.tooltip, t[18] = B, t[19] = w) : w = t[19];
|
|
132
133
|
let C;
|
|
133
|
-
t[20] !==
|
|
134
|
+
t[20] !== u?.modal || t[21] !== P || t[22] !== X ? (C = P && X !== void 0 ? /* @__PURE__ */ n.jsx(oe, { body: P, data: X, setData: a, className: u?.modal }) : null, t[20] = u?.modal, t[21] = P, t[22] = X, t[23] = C) : C = t[23];
|
|
134
135
|
let D;
|
|
135
136
|
return t[24] !== M || t[25] !== w || t[26] !== C ? (D = /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
136
137
|
M,
|
|
@@ -138,34 +139,34 @@ function je(e) {
|
|
|
138
139
|
C
|
|
139
140
|
] }), t[24] = M, t[25] = w, t[26] = C, t[27] = D) : D = t[27], D;
|
|
140
141
|
}
|
|
141
|
-
function
|
|
142
|
+
function De(e) {
|
|
142
143
|
return e.layer;
|
|
143
144
|
}
|
|
144
|
-
function
|
|
145
|
+
function ke(e) {
|
|
145
146
|
return e.position === "after";
|
|
146
147
|
}
|
|
147
|
-
function
|
|
148
|
+
function we(e) {
|
|
148
149
|
return e.color;
|
|
149
150
|
}
|
|
150
|
-
function
|
|
151
|
+
function $e(e) {
|
|
151
152
|
return e.color;
|
|
152
153
|
}
|
|
153
|
-
function
|
|
154
|
+
function Le(e) {
|
|
154
155
|
return e.layer;
|
|
155
156
|
}
|
|
156
|
-
function
|
|
157
|
+
function Ne(e) {
|
|
157
158
|
return e.position === "before";
|
|
158
159
|
}
|
|
159
|
-
function
|
|
160
|
+
function Ae(e) {
|
|
160
161
|
return e !== 0;
|
|
161
162
|
}
|
|
162
|
-
function
|
|
163
|
+
function Se(e) {
|
|
163
164
|
return e !== 0;
|
|
164
165
|
}
|
|
165
|
-
function
|
|
166
|
+
function Ve(e) {
|
|
166
167
|
return e.position;
|
|
167
168
|
}
|
|
168
|
-
function
|
|
169
|
+
function Te(e) {
|
|
169
170
|
return {
|
|
170
171
|
...e,
|
|
171
172
|
...e.data && {
|
|
@@ -175,20 +176,14 @@ function Se(e) {
|
|
|
175
176
|
}
|
|
176
177
|
};
|
|
177
178
|
}
|
|
178
|
-
function Ve(e) {
|
|
179
|
-
return e != null;
|
|
180
|
-
}
|
|
181
|
-
function Te(e) {
|
|
182
|
-
return e.radius;
|
|
183
|
-
}
|
|
184
179
|
function Fe(e) {
|
|
185
|
-
return e
|
|
180
|
+
return e != null;
|
|
186
181
|
}
|
|
187
182
|
function Ee(e) {
|
|
188
|
-
return e.
|
|
183
|
+
return e.radius;
|
|
189
184
|
}
|
|
190
185
|
function Pe(e) {
|
|
191
|
-
return
|
|
186
|
+
return e.radius === void 0 || e.radius === null;
|
|
192
187
|
}
|
|
193
188
|
function Re(e) {
|
|
194
189
|
return e.position;
|
|
@@ -209,73 +204,80 @@ function Be(e) {
|
|
|
209
204
|
return !x(e.position);
|
|
210
205
|
}
|
|
211
206
|
function ze(e) {
|
|
212
|
-
return
|
|
207
|
+
return e.position;
|
|
213
208
|
}
|
|
214
209
|
function We(e) {
|
|
215
|
-
return !x(e.
|
|
210
|
+
return !x(e.position);
|
|
216
211
|
}
|
|
217
212
|
function Ie(e) {
|
|
218
|
-
|
|
213
|
+
return !x(e.radius);
|
|
214
|
+
}
|
|
215
|
+
function qe(e) {
|
|
216
|
+
return !x(e.radius);
|
|
217
|
+
}
|
|
218
|
+
function Ze(e) {
|
|
219
|
+
const t = Ht.c(28), {
|
|
219
220
|
data: o,
|
|
220
221
|
circleColors: y,
|
|
221
|
-
showTicks:
|
|
222
|
+
showTicks: rt,
|
|
222
223
|
width: $,
|
|
223
224
|
height: L,
|
|
224
|
-
colorDomain:
|
|
225
|
+
colorDomain: H,
|
|
225
226
|
topMargin: k,
|
|
226
|
-
bottomMargin:
|
|
227
|
-
leftMargin:
|
|
228
|
-
rightMargin:
|
|
227
|
+
bottomMargin: _,
|
|
228
|
+
leftMargin: tt,
|
|
229
|
+
rightMargin: st,
|
|
229
230
|
showLabels: h,
|
|
230
231
|
tooltip: F,
|
|
231
232
|
onSeriesMouseOver: E,
|
|
232
|
-
refValues:
|
|
233
|
-
selectedColor:
|
|
233
|
+
refValues: B,
|
|
234
|
+
selectedColor: lt,
|
|
234
235
|
startFromZero: N,
|
|
235
236
|
radius: g,
|
|
236
237
|
maxRadiusValue: A,
|
|
237
238
|
maxValue: d,
|
|
238
|
-
minValue:
|
|
239
|
-
highlightedDataPoints:
|
|
240
|
-
onSeriesMouseClick:
|
|
239
|
+
minValue: z,
|
|
240
|
+
highlightedDataPoints: W,
|
|
241
|
+
onSeriesMouseClick: I,
|
|
241
242
|
rtl: gt,
|
|
242
|
-
resetSelectionOnDoubleClick:
|
|
243
|
-
detailsOnClick:
|
|
243
|
+
resetSelectionOnDoubleClick: dt,
|
|
244
|
+
detailsOnClick: q,
|
|
244
245
|
suffix: P,
|
|
245
246
|
prefix: O,
|
|
246
|
-
styles:
|
|
247
|
+
styles: u,
|
|
247
248
|
classNames: v,
|
|
248
|
-
noOfTicks:
|
|
249
|
-
dimmedOpacity:
|
|
250
|
-
precision:
|
|
249
|
+
noOfTicks: at,
|
|
250
|
+
dimmedOpacity: ct,
|
|
251
|
+
precision: pt,
|
|
251
252
|
customLayers: xt,
|
|
252
|
-
hideAxisLine:
|
|
253
|
-
|
|
253
|
+
hideAxisLine: vt,
|
|
254
|
+
locale: ut
|
|
255
|
+
} = e, R = k === void 0 ? 25 : k, et = _ === void 0 ? 10 : _, ot = tt === void 0 ? 10 : tt, mt = st === void 0 ? 10 : st, ft = St(null), [Z, X] = T(void 0), [a, c] = T(void 0), [ht, it] = T(null), [U, S] = T(void 0), [J, K] = T(void 0);
|
|
254
256
|
let m;
|
|
255
|
-
t[0] !==
|
|
257
|
+
t[0] !== et || t[1] !== ot || t[2] !== mt || 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] !== N ? (
|
|
264
|
-
const
|
|
259
|
+
bottom: et,
|
|
260
|
+
left: ot,
|
|
261
|
+
right: mt
|
|
262
|
+
}, t[0] = et, t[1] = ot, t[2] = mt, t[3] = R, t[4] = m) : m = t[4];
|
|
263
|
+
const f = m, nt = $ - f.left - f.right, V = L - f.top - f.bottom, Q = o.filter(vo).length === 0 ? o : Jt(o.filter(xo), "radius", "desc");
|
|
264
|
+
let Y;
|
|
265
|
+
t[5] !== o || t[6] !== d || t[7] !== N ? (Y = x(d) ? Math.max(...o.filter(go).map(ho)) < 0 && !N ? 0 : Math.max(...o.filter(po).map(fo)) : d, t[5] = o, t[6] = d, t[7] = N, t[8] = Y) : Y = t[8];
|
|
266
|
+
const G = Y;
|
|
265
267
|
let p;
|
|
266
|
-
t[9] !== o || t[10] !==
|
|
267
|
-
const s = p, l = o.filter(
|
|
268
|
-
|
|
269
|
-
const i =
|
|
270
|
-
|
|
271
|
-
|
|
268
|
+
t[9] !== o || t[10] !== z || t[11] !== N ? (p = x(z) ? Math.min(...o.filter(mo).map(uo)) >= 0 && !N ? 0 : Math.min(...o.filter(co).map(ao)) : z, t[9] = o, t[10] = z, t[11] = N, t[12] = p) : p = t[12];
|
|
269
|
+
const s = p, l = o.filter(lo).length !== o.length ? ie().domain([0, x(A) ? Math.max(...o.map(so).filter(ro)) : A]).range([0.25, g]).nice() : void 0, b = ne().domain([s, G]).range([0, nt]).nice(), M = b.ticks(at);
|
|
270
|
+
Bt(() => {
|
|
271
|
+
const i = Q.map(no).filter(io);
|
|
272
|
+
re(i).force("x", se((j) => b(j.position)).strength(5)).force("y", le((j) => V / 2).strength(1)).force("collide", ae((j) => l ? l(j.radius || 0) + 1 : g + 1)).force("charge", ce().strength(-15)).alphaDecay(0.05).tick(1e4).on("tick", () => {
|
|
273
|
+
it(i);
|
|
272
274
|
}).on("end", () => {
|
|
273
|
-
|
|
275
|
+
it(i);
|
|
274
276
|
});
|
|
275
|
-
}, [o, g, V,
|
|
276
|
-
const w =
|
|
277
|
-
|
|
278
|
-
/* @__PURE__ */ n.jsx(
|
|
277
|
+
}, [o, g, V, nt, s, G, Q, b, l]);
|
|
278
|
+
const w = ht ? /* @__PURE__ */ n.jsx("svg", { width: `${$}px`, height: `${L}px`, viewBox: `0 0 ${$} ${L}`, direction: "ltr", ref: ft, children: /* @__PURE__ */ n.jsxs("g", { transform: `translate(${f.left},${f.top})`, children: [
|
|
279
|
+
rt ? /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
280
|
+
/* @__PURE__ */ n.jsx(ee, { hideAxisLine: vt, x1: b(s < 0 ? 0 : s), x2: b(s < 0 ? 0 : s), y1: 0 - f.top, y2: V + f.bottom, label: rt ? Qt(s < 0 ? 0 : s, void 0, pt, O, P, ut) : void 0, labelPos: {
|
|
279
281
|
x: b(s < 0 ? 0 : s),
|
|
280
282
|
y: 0 - R,
|
|
281
283
|
dy: "0.75em",
|
|
@@ -284,45 +286,45 @@ 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(
|
|
291
|
-
gridLines:
|
|
292
|
-
labels:
|
|
292
|
+
/* @__PURE__ */ n.jsx(xe, { values: M.filter(oo), x: M.filter(eo).map((i) => b(i)), y1: 0 - R, y2: V + 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: P, prefix: O, labelType: "secondary", showGridLines: !0, precision:
|
|
298
|
+
}, suffix: P, prefix: O, labelType: "secondary", showGridLines: !0, precision: pt, locale: ut })
|
|
297
299
|
] }) : null,
|
|
298
|
-
xt.filter(
|
|
299
|
-
|
|
300
|
-
X(i),
|
|
300
|
+
xt.filter(to).map(_e),
|
|
301
|
+
ht.map((i) => /* @__PURE__ */ n.jsxs("g", { className: "undp-viz-g-with-hover", transform: `translate(${i.x},${i.y})`, opacity: lt ? i.color && y[H.indexOf(i.color)] === lt ? 1 : ct : W.length !== 0 ? W.indexOf(i.label) !== -1 ? 0.85 : ct : 0.85, onMouseEnter: (j) => {
|
|
302
|
+
X(i), K(j.clientY), S(j.clientX), E?.(i);
|
|
301
303
|
}, onMouseMove: (j) => {
|
|
302
|
-
X(i),
|
|
304
|
+
X(i), K(j.clientY), S(j.clientX);
|
|
303
305
|
}, onClick: () => {
|
|
304
|
-
(
|
|
306
|
+
(I || q) && (Ut(a, i) && dt ? (c(void 0), I?.(void 0)) : (c(i), I?.(i)));
|
|
305
307
|
}, onMouseLeave: () => {
|
|
306
|
-
X(void 0),
|
|
308
|
+
X(void 0), S(void 0), K(void 0), E?.(void 0);
|
|
307
309
|
}, children: [
|
|
308
|
-
/* @__PURE__ */ n.jsx("circle", { cx: 0, cy: 0, fill: o.filter(
|
|
309
|
-
(l ? l(i.radius || 0) : g) > 10 && h ? /* @__PURE__ */ n.jsx("g", { children: /* @__PURE__ */ n.jsx("foreignObject", { y: 0 - (l ? l(i.radius || 0) : g), x: 0 - (l ? l(i.radius || 0) : g), width: 2 * (l ? l(i.radius || 0) : g), height: 2 * (l ? l(i.radius || 0) : g), 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(
|
|
310
|
+
/* @__PURE__ */ n.jsx("circle", { cx: 0, cy: 0, fill: o.filter(Qe).length === 0 ? y[0] : i.color ? y[H.indexOf(i.color)] : yt.gray, radius: l ? l(i.radius || 0) : g }),
|
|
311
|
+
(l ? l(i.radius || 0) : g) > 10 && h ? /* @__PURE__ */ n.jsx("g", { children: /* @__PURE__ */ n.jsx("foreignObject", { y: 0 - (l ? l(i.radius || 0) : g), x: 0 - (l ? l(i.radius || 0) : g), width: 2 * (l ? l(i.radius || 0) : g), height: 2 * (l ? l(i.radius || 0) : g), 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(de, { className: Zt("text-center leading-none m-0", v?.graphObjectValues), marginBottom: "none", style: {
|
|
310
312
|
fontSize: `${Math.min(Math.max(Math.round((l ? l(i.radius || 0) : g) / 4), 10), Math.max(Math.round((l ? l(i.radius || 0) : g) * 12 / `${i.label}`.length), 10), 20)}px`,
|
|
311
|
-
color:
|
|
313
|
+
color: te(o.filter(Ke).length === 0 ? y[0] : i.color ? y[H.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
|
-
xt.filter(
|
|
318
|
+
B ? /* @__PURE__ */ n.jsx(n.Fragment, { children: B.map((i, j) => /* @__PURE__ */ n.jsx(pe, { text: i.text, color: i.color, x: b(i.value), y1: 0 - f.top, y2: V + f.bottom, textSide: b(i.value) > nt * 0.75 || gt ? "left" : "right", classNames: i.classNames, styles: i.styles, isInView: !0 }, j)) }) : null,
|
|
319
|
+
xt.filter(Je).map(Ue)
|
|
318
320
|
] }) }) : /* @__PURE__ */ n.jsx("div", { style: {
|
|
319
321
|
width: `${$}px`,
|
|
320
322
|
height: `${L}px`
|
|
321
|
-
}, 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(
|
|
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(Kt, {}) }) });
|
|
322
324
|
let C;
|
|
323
|
-
t[13] !== v?.tooltip || t[14] !==
|
|
325
|
+
t[13] !== v?.tooltip || t[14] !== U || t[15] !== J || t[16] !== Z || t[17] !== u?.tooltip || t[18] !== F ? (C = Z && F && U && J ? /* @__PURE__ */ n.jsx(_t, { data: Z, body: F, xPos: U, yPos: J, backgroundStyle: u?.tooltip, className: v?.tooltip }) : null, t[13] = v?.tooltip, t[14] = U, t[15] = J, t[16] = Z, t[17] = u?.tooltip, t[18] = F, t[19] = C) : C = t[19];
|
|
324
326
|
let D;
|
|
325
|
-
t[20] !== v?.modal || t[21] !==
|
|
327
|
+
t[20] !== v?.modal || t[21] !== q || t[22] !== a ? (D = q && a !== void 0 ? /* @__PURE__ */ n.jsx(oe, { body: q, data: a, setData: c, className: v?.modal }) : null, t[20] = v?.modal, t[21] = q, t[22] = a, t[23] = D) : D = t[23];
|
|
326
328
|
let r;
|
|
327
329
|
return t[24] !== w || t[25] !== C || t[26] !== D ? (r = /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
328
330
|
w,
|
|
@@ -330,34 +332,34 @@ function Ie(e) {
|
|
|
330
332
|
D
|
|
331
333
|
] }), t[24] = w, t[25] = C, t[26] = D, t[27] = r) : r = t[27], r;
|
|
332
334
|
}
|
|
333
|
-
function
|
|
335
|
+
function Ue(e) {
|
|
334
336
|
return e.layer;
|
|
335
337
|
}
|
|
336
|
-
function
|
|
338
|
+
function Je(e) {
|
|
337
339
|
return e.position === "after";
|
|
338
340
|
}
|
|
339
|
-
function
|
|
341
|
+
function Ke(e) {
|
|
340
342
|
return e.color;
|
|
341
343
|
}
|
|
342
|
-
function
|
|
344
|
+
function Qe(e) {
|
|
343
345
|
return e.color;
|
|
344
346
|
}
|
|
345
|
-
function
|
|
347
|
+
function _e(e) {
|
|
346
348
|
return e.layer;
|
|
347
349
|
}
|
|
348
|
-
function
|
|
350
|
+
function to(e) {
|
|
349
351
|
return e.position === "before";
|
|
350
352
|
}
|
|
351
|
-
function
|
|
353
|
+
function eo(e) {
|
|
352
354
|
return e !== 0;
|
|
353
355
|
}
|
|
354
|
-
function
|
|
356
|
+
function oo(e) {
|
|
355
357
|
return e !== 0;
|
|
356
358
|
}
|
|
357
|
-
function
|
|
359
|
+
function io(e) {
|
|
358
360
|
return e.position;
|
|
359
361
|
}
|
|
360
|
-
function
|
|
362
|
+
function no(e) {
|
|
361
363
|
return {
|
|
362
364
|
...e,
|
|
363
365
|
...e.data && {
|
|
@@ -367,20 +369,14 @@ function oo(e) {
|
|
|
367
369
|
}
|
|
368
370
|
};
|
|
369
371
|
}
|
|
370
|
-
function io(e) {
|
|
371
|
-
return e != null;
|
|
372
|
-
}
|
|
373
|
-
function no(e) {
|
|
374
|
-
return e.radius;
|
|
375
|
-
}
|
|
376
372
|
function ro(e) {
|
|
377
|
-
return e
|
|
373
|
+
return e != null;
|
|
378
374
|
}
|
|
379
375
|
function so(e) {
|
|
380
|
-
return e.
|
|
376
|
+
return e.radius;
|
|
381
377
|
}
|
|
382
378
|
function lo(e) {
|
|
383
|
-
return
|
|
379
|
+
return e.radius === void 0 || e.radius === null;
|
|
384
380
|
}
|
|
385
381
|
function ao(e) {
|
|
386
382
|
return e.position;
|
|
@@ -401,137 +397,144 @@ function po(e) {
|
|
|
401
397
|
return !x(e.position);
|
|
402
398
|
}
|
|
403
399
|
function ho(e) {
|
|
404
|
-
return
|
|
400
|
+
return e.position;
|
|
405
401
|
}
|
|
406
402
|
function go(e) {
|
|
403
|
+
return !x(e.position);
|
|
404
|
+
}
|
|
405
|
+
function xo(e) {
|
|
407
406
|
return !x(e.radius);
|
|
408
407
|
}
|
|
409
|
-
function
|
|
410
|
-
|
|
408
|
+
function vo(e) {
|
|
409
|
+
return !x(e.radius);
|
|
410
|
+
}
|
|
411
|
+
function Qo(e) {
|
|
412
|
+
const t = Ht.c(93), {
|
|
411
413
|
data: o,
|
|
412
414
|
graphTitle: y,
|
|
413
|
-
topMargin:
|
|
415
|
+
topMargin: rt,
|
|
414
416
|
bottomMargin: $,
|
|
415
417
|
leftMargin: L,
|
|
416
|
-
rightMargin:
|
|
418
|
+
rightMargin: H,
|
|
417
419
|
colors: k,
|
|
418
|
-
sources:
|
|
419
|
-
graphDescription:
|
|
420
|
-
height:
|
|
420
|
+
sources: _,
|
|
421
|
+
graphDescription: tt,
|
|
422
|
+
height: st,
|
|
421
423
|
width: h,
|
|
422
424
|
footNote: F,
|
|
423
425
|
colorDomain: E,
|
|
424
|
-
colorLegendTitle:
|
|
425
|
-
padding:
|
|
426
|
+
colorLegendTitle: B,
|
|
427
|
+
padding: lt,
|
|
426
428
|
relativeHeight: N,
|
|
427
429
|
tooltip: g,
|
|
428
430
|
onSeriesMouseOver: A,
|
|
429
431
|
refValues: d,
|
|
430
|
-
showColorScale:
|
|
431
|
-
graphID:
|
|
432
|
-
radius:
|
|
432
|
+
showColorScale: z,
|
|
433
|
+
graphID: W,
|
|
434
|
+
radius: I,
|
|
433
435
|
showLabels: gt,
|
|
434
|
-
showTicks:
|
|
435
|
-
maxRadiusValue:
|
|
436
|
+
showTicks: dt,
|
|
437
|
+
maxRadiusValue: q,
|
|
436
438
|
maxValue: P,
|
|
437
439
|
minValue: O,
|
|
438
|
-
highlightedDataPoints:
|
|
440
|
+
highlightedDataPoints: u,
|
|
439
441
|
onSeriesMouseClick: v,
|
|
440
|
-
ariaLabel:
|
|
441
|
-
backgroundColor:
|
|
442
|
-
graphDownload:
|
|
442
|
+
ariaLabel: at,
|
|
443
|
+
backgroundColor: ct,
|
|
444
|
+
graphDownload: pt,
|
|
443
445
|
dataDownload: xt,
|
|
444
|
-
language:
|
|
445
|
-
showNAColor:
|
|
446
|
-
minHeight:
|
|
447
|
-
theme:
|
|
448
|
-
resetSelectionOnDoubleClick:
|
|
449
|
-
detailsOnClick:
|
|
450
|
-
orientation:
|
|
451
|
-
suffix:
|
|
452
|
-
prefix:
|
|
453
|
-
styles:
|
|
446
|
+
language: vt,
|
|
447
|
+
showNAColor: ut,
|
|
448
|
+
minHeight: R,
|
|
449
|
+
theme: et,
|
|
450
|
+
resetSelectionOnDoubleClick: ot,
|
|
451
|
+
detailsOnClick: mt,
|
|
452
|
+
orientation: ft,
|
|
453
|
+
suffix: Z,
|
|
454
|
+
prefix: X,
|
|
455
|
+
styles: a,
|
|
454
456
|
classNames: c,
|
|
455
|
-
noOfTicks:
|
|
456
|
-
dimmedOpacity:
|
|
457
|
-
precision:
|
|
457
|
+
noOfTicks: ht,
|
|
458
|
+
dimmedOpacity: it,
|
|
459
|
+
precision: U,
|
|
458
460
|
customLayers: S,
|
|
459
|
-
hideAxisLine:
|
|
460
|
-
|
|
461
|
+
hideAxisLine: J,
|
|
462
|
+
locale: K
|
|
463
|
+
} = e, m = I === void 0 ? 5 : I, f = gt === void 0 ? !0 : gt, nt = dt === void 0 ? !0 : dt;
|
|
461
464
|
let V;
|
|
462
|
-
t[0] !==
|
|
463
|
-
const
|
|
464
|
-
let
|
|
465
|
-
t[2] !== S ? (
|
|
466
|
-
const
|
|
467
|
-
let
|
|
468
|
-
t[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
469
|
-
const
|
|
470
|
-
|
|
465
|
+
t[0] !== u ? (V = u === void 0 ? [] : u, t[0] = u, t[1] = V) : V = t[1];
|
|
466
|
+
const Q = V, Y = ct === void 0 ? !1 : ct, G = pt === void 0 ? !1 : pt, p = xt === void 0 ? !1 : xt, s = vt === void 0 ? "en" : vt, l = ut === void 0 ? !0 : ut, b = R === void 0 ? 0 : R, M = et === void 0 ? "light" : et, w = ot === void 0 ? !0 : ot, C = ft === void 0 ? "vertical" : ft, D = Z === void 0 ? "" : Z, r = X === void 0 ? "" : X, i = ht === void 0 ? 5 : ht, j = it === void 0 ? 0.3 : it, Vt = U === void 0 ? 2 : U;
|
|
467
|
+
let kt;
|
|
468
|
+
t[2] !== S ? (kt = S === void 0 ? [] : S, t[2] = S, t[3] = kt) : kt = t[3];
|
|
469
|
+
const Tt = kt, Ft = J === void 0 ? !1 : J, Et = K === void 0 ? "en" : K, [wt, ue] = T(0), [$t, me] = T(0), [Pt, fe] = T(void 0), Rt = St(null), zt = St(null), Xt = C === "horizontal" ? Ze : Ce;
|
|
470
|
+
let Lt, Nt;
|
|
471
|
+
t[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Lt = () => {
|
|
472
|
+
const Wt = new ResizeObserver((It) => {
|
|
473
|
+
ue(It[0].target.clientWidth || 620), me(It[0].target.clientHeight || 480);
|
|
471
474
|
});
|
|
472
|
-
return
|
|
473
|
-
},
|
|
474
|
-
const
|
|
475
|
-
let
|
|
476
|
-
t[6] !== c?.description || t[7] !== c?.title || t[8] !== o || t[9] !== p || t[10] !==
|
|
477
|
-
title:
|
|
478
|
-
description:
|
|
475
|
+
return Rt.current && Wt.observe(Rt.current), () => Wt.disconnect();
|
|
476
|
+
}, Nt = [], t[4] = Lt, t[5] = Nt) : (Lt = t[4], Nt = t[5]), Bt(Lt, Nt);
|
|
477
|
+
const Yt = c?.graphContainer, Gt = a?.graphContainer;
|
|
478
|
+
let bt;
|
|
479
|
+
t[6] !== c?.description || t[7] !== c?.title || t[8] !== o || t[9] !== p || t[10] !== tt || t[11] !== G || t[12] !== y || t[13] !== a?.description || t[14] !== a?.title || t[15] !== h ? (bt = y || tt || G || p ? /* @__PURE__ */ n.jsx(ve, { styles: {
|
|
480
|
+
title: a?.title,
|
|
481
|
+
description: a?.description
|
|
479
482
|
}, classNames: {
|
|
480
483
|
title: c?.title,
|
|
481
484
|
description: c?.description
|
|
482
|
-
}, graphTitle: y, graphDescription:
|
|
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];
|
|
485
|
+
}, graphTitle: y, graphDescription: tt, width: h, graphDownload: G ? zt : void 0, dataDownload: p ? o.map(ko).filter(Do).length > 0 ? o.map(Co).filter(Oo) : o.filter(jo) : null }) : null, t[6] = c?.description, t[7] = c?.title, t[8] = o, t[9] = p, t[10] = tt, t[11] = G, t[12] = y, t[13] = a?.description, t[14] = a?.title, t[15] = h, t[16] = bt) : bt = t[16];
|
|
485
486
|
let Mt;
|
|
486
|
-
t[
|
|
487
|
+
t[17] !== c?.colorLegend || t[18] !== E || t[19] !== B || t[20] !== k || t[21] !== o || t[22] !== z || t[23] !== l || t[24] !== M || t[25] !== h ? (Mt = z !== !1 && o.filter(Mo).length !== 0 && o.length > 0 ? /* @__PURE__ */ n.jsx(je, { width: h, colorLegendTitle: B, colors: k || yt[M].categoricalColors.colors, colorDomain: E || qt(o, "color", !0), setSelectedColor: fe, showNAColor: l, className: c?.colorLegend }) : null, t[17] = c?.colorLegend, t[18] = E, t[19] = B, t[20] = k, t[21] = o, t[22] = z, t[23] = l, t[24] = M, t[25] = h, t[26] = Mt) : Mt = t[26];
|
|
487
488
|
let jt;
|
|
488
|
-
t[
|
|
489
|
+
t[27] !== o.length ? (jt = o.length === 0 && /* @__PURE__ */ n.jsx(Me, {}), t[27] = o.length, t[28] = jt) : jt = t[28];
|
|
489
490
|
let Ot;
|
|
490
|
-
t[
|
|
491
|
-
Mt,
|
|
492
|
-
jt
|
|
493
|
-
] }), t[64] = Mt, t[65] = jt, t[66] = Ot) : Ot = t[66];
|
|
491
|
+
t[29] !== Xt || t[30] !== $ || t[31] !== c || t[32] !== E || t[33] !== k || t[34] !== Tt || t[35] !== o || t[36] !== mt || t[37] !== j || t[38] !== Ft || t[39] !== Q || t[40] !== L || t[41] !== Et || t[42] !== q || t[43] !== P || t[44] !== O || t[45] !== i || t[46] !== v || t[47] !== A || t[48] !== Vt || t[49] !== r || t[50] !== m || t[51] !== d || t[52] !== w || t[53] !== H || t[54] !== Pt || t[55] !== f || t[56] !== nt || t[57] !== a || t[58] !== D || t[59] !== $t || t[60] !== wt || t[61] !== M || t[62] !== g || t[63] !== rt ? (Ot = wt && $t && o.length > 0 ? /* @__PURE__ */ n.jsx(Xt, { hideAxisLine: Ft, data: o, circleColors: o.filter(bo).length === 0 ? k ? [k] : [yt.primaryColors["blue-600"]] : k || yt[M].categoricalColors.colors, colorDomain: o.filter(yo).length === 0 ? [] : E || qt(o, "color", !0), width: wt, selectedColor: Pt, height: $t, showTicks: nt, leftMargin: L, rightMargin: H, topMargin: rt, bottomMargin: $, showLabels: f, tooltip: g, onSeriesMouseOver: A, refValues: d, startFromZero: !1, radius: m, maxRadiusValue: q, maxValue: P, minValue: O, highlightedDataPoints: Q, onSeriesMouseClick: v, resetSelectionOnDoubleClick: w, detailsOnClick: mt, styles: a, classNames: c, suffix: D, prefix: r, noOfTicks: i || 5, dimmedOpacity: j, precision: Vt, customLayers: Tt, locale: Et }) : null, t[29] = Xt, t[30] = $, t[31] = c, t[32] = E, t[33] = k, t[34] = Tt, t[35] = o, t[36] = mt, t[37] = j, t[38] = Ft, t[39] = Q, t[40] = L, t[41] = Et, t[42] = q, t[43] = P, t[44] = O, t[45] = i, t[46] = v, t[47] = A, t[48] = Vt, t[49] = r, t[50] = m, t[51] = d, t[52] = w, t[53] = H, t[54] = Pt, t[55] = f, t[56] = nt, t[57] = a, t[58] = D, t[59] = $t, t[60] = wt, t[61] = M, t[62] = g, t[63] = rt, t[64] = Ot) : Ot = t[64];
|
|
494
492
|
let Ct;
|
|
495
|
-
t[
|
|
496
|
-
|
|
497
|
-
|
|
493
|
+
t[65] !== jt || t[66] !== Ot ? (Ct = /* @__PURE__ */ n.jsxs(ye, { ref: Rt, children: [
|
|
494
|
+
jt,
|
|
495
|
+
Ot
|
|
496
|
+
] }), t[65] = jt, t[66] = Ot, t[67] = Ct) : Ct = t[67];
|
|
497
|
+
let Dt;
|
|
498
|
+
t[68] !== c?.footnote || t[69] !== c?.source || t[70] !== F || t[71] !== _ || t[72] !== a?.footnote || t[73] !== a?.source || t[74] !== h ? (Dt = _ || F ? /* @__PURE__ */ n.jsx(Oe, { styles: {
|
|
499
|
+
footnote: a?.footnote,
|
|
500
|
+
source: a?.source
|
|
498
501
|
}, classNames: {
|
|
499
502
|
footnote: c?.footnote,
|
|
500
503
|
source: c?.source
|
|
501
|
-
}, sources:
|
|
502
|
-
let
|
|
503
|
-
return t[
|
|
504
|
-
yt,
|
|
504
|
+
}, sources: _, footNote: F, width: h }) : null, t[68] = c?.footnote, t[69] = c?.source, t[70] = F, t[71] = _, t[72] = a?.footnote, t[73] = a?.source, t[74] = h, t[75] = Dt) : Dt = t[75];
|
|
505
|
+
let At;
|
|
506
|
+
return t[76] !== at || t[77] !== Y || t[78] !== W || t[79] !== st || t[80] !== s || t[81] !== b || t[82] !== lt || t[83] !== N || t[84] !== Yt || t[85] !== Gt || t[86] !== bt || t[87] !== Mt || t[88] !== Ct || t[89] !== Dt || t[90] !== M || t[91] !== h ? (At = /* @__PURE__ */ n.jsxs(be, { className: Yt, style: Gt, id: W, ref: zt, "aria-label": at, backgroundColor: Y, theme: M, language: s, minHeight: b, width: h, height: st, relativeHeight: N, padding: lt, children: [
|
|
505
507
|
bt,
|
|
506
|
-
|
|
507
|
-
Ct
|
|
508
|
-
|
|
508
|
+
Mt,
|
|
509
|
+
Ct,
|
|
510
|
+
Dt
|
|
511
|
+
] }), t[76] = at, t[77] = Y, t[78] = W, t[79] = st, t[80] = s, t[81] = b, t[82] = lt, t[83] = N, t[84] = Yt, t[85] = Gt, t[86] = bt, t[87] = Mt, t[88] = Ct, t[89] = Dt, t[90] = M, t[91] = h, t[92] = At) : At = t[92], At;
|
|
509
512
|
}
|
|
510
|
-
function
|
|
513
|
+
function yo(e) {
|
|
511
514
|
return e.color;
|
|
512
515
|
}
|
|
513
|
-
function
|
|
516
|
+
function bo(e) {
|
|
514
517
|
return e.color;
|
|
515
518
|
}
|
|
516
|
-
function
|
|
519
|
+
function Mo(e) {
|
|
517
520
|
return e.color;
|
|
518
521
|
}
|
|
519
|
-
function
|
|
522
|
+
function jo(e) {
|
|
520
523
|
return e !== void 0;
|
|
521
524
|
}
|
|
522
|
-
function
|
|
525
|
+
function Oo(e) {
|
|
523
526
|
return e !== void 0;
|
|
524
527
|
}
|
|
525
|
-
function
|
|
528
|
+
function Co(e) {
|
|
526
529
|
return e.data;
|
|
527
530
|
}
|
|
528
|
-
function
|
|
531
|
+
function Do(e) {
|
|
529
532
|
return e !== void 0;
|
|
530
533
|
}
|
|
531
|
-
function
|
|
534
|
+
function ko(e) {
|
|
532
535
|
return e.data;
|
|
533
536
|
}
|
|
534
537
|
export {
|
|
535
|
-
|
|
538
|
+
Qo as BeeSwarmChart
|
|
536
539
|
};
|
|
537
540
|
//# sourceMappingURL=BeeSwarmChart.js.map
|