@undp/data-viz 2.3.16 → 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 +4 -0
- package/dist/MultiLineAltChart.js +412 -402
- 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 +94 -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/TreeMapGraph.js
CHANGED
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { useRef as
|
|
3
|
-
import { _ as
|
|
4
|
-
import { T as
|
|
5
|
-
import { n as
|
|
6
|
-
import { g as
|
|
7
|
-
import { Colors as
|
|
8
|
-
import { D as
|
|
9
|
-
import { m as
|
|
10
|
-
import { u as
|
|
11
|
-
import { A as
|
|
12
|
-
import { c as
|
|
13
|
-
import { GraphFooter as
|
|
14
|
-
import { GraphHeader as
|
|
15
|
-
import { ColorLegendWithMouseOver as
|
|
16
|
-
import { E as
|
|
17
|
-
import { u as
|
|
18
|
-
import { a as
|
|
19
|
-
function
|
|
1
|
+
import { c as Kt, j as M, m as Wt } from "./index-CHPV5EwG-BzibaIRc.js";
|
|
2
|
+
import { useRef as zt, useState as at, useEffect as ee } from "react";
|
|
3
|
+
import { _ as qt } from "./Typography-BO0gQDIT.js";
|
|
4
|
+
import { T as ne } from "./Tooltip-Bj-s__cI.js";
|
|
5
|
+
import { n as ie } from "./numberFormattingFunction-DqMf_v1m.js";
|
|
6
|
+
import { g as Et } from "./getTextColorBasedOnBgColor-CDY808zi.js";
|
|
7
|
+
import { Colors as Q } from "./Colors.js";
|
|
8
|
+
import { D as oe } from "./DetailsModal-B2XBWR7w.js";
|
|
9
|
+
import { m as kt } from "./proxy-BsxtcZKa.js";
|
|
10
|
+
import { u as re } from "./use-in-view-KOXq5Kmc.js";
|
|
11
|
+
import { A as ae } from "./index-Cv_5q6Rb.js";
|
|
12
|
+
import { c as le } from "./checkIfNullOrUndefined-DmfiKkNw.js";
|
|
13
|
+
import { GraphFooter as se } from "./GraphFooter.js";
|
|
14
|
+
import { GraphHeader as ce } from "./GraphHeader.js";
|
|
15
|
+
import { ColorLegendWithMouseOver as ue } from "./ColorLegendWithMouseOver.js";
|
|
16
|
+
import { E as de } from "./EmptyState-CaxXCkiN.js";
|
|
17
|
+
import { u as Ft } from "./uniqBy-BHy4I8PK.js";
|
|
18
|
+
import { a as fe, G as he } from "./GraphContainer-B8ZqOzKI.js";
|
|
19
|
+
function pe(e) {
|
|
20
20
|
var t = 0, n = e.children, i = n && n.length;
|
|
21
21
|
if (!i) t = 1;
|
|
22
22
|
else for (; --i >= 0; ) t += n[i].value;
|
|
23
23
|
e.value = t;
|
|
24
24
|
}
|
|
25
|
-
function
|
|
26
|
-
return this.eachAfter(
|
|
25
|
+
function ge() {
|
|
26
|
+
return this.eachAfter(pe);
|
|
27
27
|
}
|
|
28
|
-
function
|
|
28
|
+
function me(e, t) {
|
|
29
29
|
let n = -1;
|
|
30
30
|
for (const i of this)
|
|
31
31
|
e.call(t, i, ++n, this);
|
|
32
32
|
return this;
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function ve(e, t) {
|
|
35
35
|
for (var n = this, i = [n], r, l, a = -1; n = i.pop(); )
|
|
36
36
|
if (e.call(t, n, ++a, this), r = n.children)
|
|
37
37
|
for (l = r.length - 1; l >= 0; --l)
|
|
38
38
|
i.push(r[l]);
|
|
39
39
|
return this;
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function ye(e, t) {
|
|
42
42
|
for (var n = this, i = [n], r = [], l, a, d, g = -1; n = i.pop(); )
|
|
43
43
|
if (r.push(n), l = n.children)
|
|
44
44
|
for (a = 0, d = l.length; a < d; ++a)
|
|
@@ -47,58 +47,58 @@ function me(e, t) {
|
|
|
47
47
|
e.call(t, n, ++g, this);
|
|
48
48
|
return this;
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function we(e, t) {
|
|
51
51
|
let n = -1;
|
|
52
52
|
for (const i of this)
|
|
53
53
|
if (e.call(t, i, ++n, this))
|
|
54
54
|
return i;
|
|
55
55
|
}
|
|
56
|
-
function
|
|
56
|
+
function xe(e) {
|
|
57
57
|
return this.eachAfter(function(t) {
|
|
58
58
|
for (var n = +e(t.data) || 0, i = t.children, r = i && i.length; --r >= 0; ) n += i[r].value;
|
|
59
59
|
t.value = n;
|
|
60
60
|
});
|
|
61
61
|
}
|
|
62
|
-
function
|
|
62
|
+
function be(e) {
|
|
63
63
|
return this.eachBefore(function(t) {
|
|
64
64
|
t.children && t.children.sort(e);
|
|
65
65
|
});
|
|
66
66
|
}
|
|
67
|
-
function
|
|
68
|
-
for (var t = this, n =
|
|
67
|
+
function Me(e) {
|
|
68
|
+
for (var t = this, n = Oe(t, e), i = [t]; t !== n; )
|
|
69
69
|
t = t.parent, i.push(t);
|
|
70
70
|
for (var r = i.length; e !== n; )
|
|
71
71
|
i.splice(r, 0, e), e = e.parent;
|
|
72
72
|
return i;
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function Oe(e, t) {
|
|
75
75
|
if (e === t) return e;
|
|
76
76
|
var n = e.ancestors(), i = t.ancestors(), r = null;
|
|
77
77
|
for (e = n.pop(), t = i.pop(); e === t; )
|
|
78
78
|
r = e, e = n.pop(), t = i.pop();
|
|
79
79
|
return r;
|
|
80
80
|
}
|
|
81
|
-
function
|
|
81
|
+
function Ce() {
|
|
82
82
|
for (var e = this, t = [e]; e = e.parent; )
|
|
83
83
|
t.push(e);
|
|
84
84
|
return t;
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function je() {
|
|
87
87
|
return Array.from(this);
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function De() {
|
|
90
90
|
var e = [];
|
|
91
91
|
return this.eachBefore(function(t) {
|
|
92
92
|
t.children || e.push(t);
|
|
93
93
|
}), e;
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function ke() {
|
|
96
96
|
var e = this, t = [];
|
|
97
97
|
return e.each(function(n) {
|
|
98
98
|
n !== e && t.push({ source: n.parent, target: n });
|
|
99
99
|
}), t;
|
|
100
100
|
}
|
|
101
|
-
function*
|
|
101
|
+
function* Ie() {
|
|
102
102
|
var e = this, t, n = [e], i, r, l;
|
|
103
103
|
do
|
|
104
104
|
for (t = n.reverse(), n = []; e = t.pop(); )
|
|
@@ -107,97 +107,97 @@ function* De() {
|
|
|
107
107
|
n.push(i[r]);
|
|
108
108
|
while (n.length);
|
|
109
109
|
}
|
|
110
|
-
function
|
|
111
|
-
e instanceof Map ? (e = [void 0, e], t === void 0 && (t =
|
|
112
|
-
for (var n = new
|
|
110
|
+
function Ut(e, t) {
|
|
111
|
+
e instanceof Map ? (e = [void 0, e], t === void 0 && (t = Ne)) : t === void 0 && (t = Be);
|
|
112
|
+
for (var n = new bt(e), i, r = [n], l, a, d, g; i = r.pop(); )
|
|
113
113
|
if ((a = t(i.data)) && (g = (a = Array.from(a)).length))
|
|
114
114
|
for (i.children = a, d = g - 1; d >= 0; --d)
|
|
115
|
-
r.push(l = a[d] = new
|
|
116
|
-
return n.eachBefore(
|
|
115
|
+
r.push(l = a[d] = new bt(a[d])), l.parent = i, l.depth = i.depth + 1;
|
|
116
|
+
return n.eachBefore(Zt);
|
|
117
117
|
}
|
|
118
|
-
function
|
|
119
|
-
return
|
|
118
|
+
function Ve() {
|
|
119
|
+
return Ut(this).eachBefore(Se);
|
|
120
120
|
}
|
|
121
|
-
function
|
|
121
|
+
function Be(e) {
|
|
122
122
|
return e.children;
|
|
123
123
|
}
|
|
124
|
-
function
|
|
124
|
+
function Ne(e) {
|
|
125
125
|
return Array.isArray(e) ? e[1] : null;
|
|
126
126
|
}
|
|
127
|
-
function
|
|
127
|
+
function Se(e) {
|
|
128
128
|
e.data.value !== void 0 && (e.value = e.data.value), e.data = e.data.data;
|
|
129
129
|
}
|
|
130
|
-
function
|
|
130
|
+
function Zt(e) {
|
|
131
131
|
var t = 0;
|
|
132
132
|
do
|
|
133
133
|
e.height = t;
|
|
134
134
|
while ((e = e.parent) && e.height < ++t);
|
|
135
135
|
}
|
|
136
|
-
function
|
|
136
|
+
function bt(e) {
|
|
137
137
|
this.data = e, this.depth = this.height = 0, this.parent = null;
|
|
138
138
|
}
|
|
139
|
-
|
|
140
|
-
constructor:
|
|
141
|
-
count:
|
|
142
|
-
each:
|
|
143
|
-
eachAfter:
|
|
144
|
-
eachBefore:
|
|
145
|
-
find:
|
|
146
|
-
sum:
|
|
147
|
-
sort:
|
|
148
|
-
path:
|
|
149
|
-
ancestors:
|
|
150
|
-
descendants:
|
|
151
|
-
leaves:
|
|
152
|
-
links:
|
|
153
|
-
copy:
|
|
154
|
-
[Symbol.iterator]:
|
|
139
|
+
bt.prototype = Ut.prototype = {
|
|
140
|
+
constructor: bt,
|
|
141
|
+
count: ge,
|
|
142
|
+
each: me,
|
|
143
|
+
eachAfter: ye,
|
|
144
|
+
eachBefore: ve,
|
|
145
|
+
find: we,
|
|
146
|
+
sum: xe,
|
|
147
|
+
sort: be,
|
|
148
|
+
path: Me,
|
|
149
|
+
ancestors: Ce,
|
|
150
|
+
descendants: je,
|
|
151
|
+
leaves: De,
|
|
152
|
+
links: ke,
|
|
153
|
+
copy: Ve,
|
|
154
|
+
[Symbol.iterator]: Ie
|
|
155
155
|
};
|
|
156
|
-
function
|
|
157
|
-
return e == null ? null :
|
|
156
|
+
function Lt(e) {
|
|
157
|
+
return e == null ? null : Jt(e);
|
|
158
158
|
}
|
|
159
|
-
function
|
|
159
|
+
function Jt(e) {
|
|
160
160
|
if (typeof e != "function") throw new Error();
|
|
161
161
|
return e;
|
|
162
162
|
}
|
|
163
|
-
function
|
|
163
|
+
function wt() {
|
|
164
164
|
return 0;
|
|
165
165
|
}
|
|
166
|
-
function
|
|
166
|
+
function xt(e) {
|
|
167
167
|
return function() {
|
|
168
168
|
return e;
|
|
169
169
|
};
|
|
170
170
|
}
|
|
171
|
-
function
|
|
171
|
+
function $e(e) {
|
|
172
172
|
e.x0 = Math.round(e.x0), e.y0 = Math.round(e.y0), e.x1 = Math.round(e.x1), e.y1 = Math.round(e.y1);
|
|
173
173
|
}
|
|
174
|
-
function
|
|
174
|
+
function Ae(e, t, n, i, r) {
|
|
175
175
|
for (var l = e.children, a, d = -1, g = l.length, y = e.value && (i - t) / e.value; ++d < g; )
|
|
176
176
|
a = l[d], a.y0 = n, a.y1 = r, a.x0 = t, a.x1 = t += a.value * y;
|
|
177
177
|
}
|
|
178
|
-
var
|
|
179
|
-
function
|
|
178
|
+
var Ee = { depth: -1 }, Xt = {}, Tt = {};
|
|
179
|
+
function Le(e) {
|
|
180
180
|
return e.id;
|
|
181
181
|
}
|
|
182
|
-
function
|
|
182
|
+
function Te(e) {
|
|
183
183
|
return e.parentId;
|
|
184
184
|
}
|
|
185
|
-
function
|
|
186
|
-
var e =
|
|
185
|
+
function ze() {
|
|
186
|
+
var e = Le, t = Te, n;
|
|
187
187
|
function i(r) {
|
|
188
188
|
var l = Array.from(r), a = e, d = t, g, y, c, v, o, f, u, m, h = /* @__PURE__ */ new Map();
|
|
189
189
|
if (n != null) {
|
|
190
|
-
const p = l.map((O, x) =>
|
|
190
|
+
const p = l.map((O, x) => Re(n(O, x, r))), C = p.map(Yt), k = new Set(p).add("");
|
|
191
191
|
for (const O of C)
|
|
192
|
-
k.has(O) || (k.add(O), p.push(O), C.push(
|
|
192
|
+
k.has(O) || (k.add(O), p.push(O), C.push(Yt(O)), l.push(Tt));
|
|
193
193
|
a = (O, x) => p[x], d = (O, x) => C[x];
|
|
194
194
|
}
|
|
195
195
|
for (c = 0, g = l.length; c < g; ++c)
|
|
196
|
-
y = l[c], f = l[c] = new
|
|
196
|
+
y = l[c], f = l[c] = new bt(y), (u = a(y, c, r)) != null && (u += "") && (m = f.id = u, h.set(m, h.has(m) ? Xt : f)), (u = d(y, c, r)) != null && (u += "") && (f.parent = u);
|
|
197
197
|
for (c = 0; c < g; ++c)
|
|
198
198
|
if (f = l[c], u = f.parent) {
|
|
199
199
|
if (o = h.get(u), !o) throw new Error("missing: " + u);
|
|
200
|
-
if (o ===
|
|
200
|
+
if (o === Xt) throw new Error("ambiguous: " + u);
|
|
201
201
|
o.children ? o.children.push(f) : o.children = [f], f.parent = o;
|
|
202
202
|
} else {
|
|
203
203
|
if (v) throw new Error("multiple roots");
|
|
@@ -205,36 +205,36 @@ function Le() {
|
|
|
205
205
|
}
|
|
206
206
|
if (!v) throw new Error("no root");
|
|
207
207
|
if (n != null) {
|
|
208
|
-
for (; v.data ===
|
|
208
|
+
for (; v.data === Tt && v.children.length === 1; )
|
|
209
209
|
v = v.children[0], --g;
|
|
210
|
-
for (let p = l.length - 1; p >= 0 && (f = l[p], f.data ===
|
|
210
|
+
for (let p = l.length - 1; p >= 0 && (f = l[p], f.data === Tt); --p)
|
|
211
211
|
f.data = null;
|
|
212
212
|
}
|
|
213
|
-
if (v.parent =
|
|
213
|
+
if (v.parent = Ee, v.eachBefore(function(p) {
|
|
214
214
|
p.depth = p.parent.depth + 1, --g;
|
|
215
|
-
}).eachBefore(
|
|
215
|
+
}).eachBefore(Zt), v.parent = null, g > 0) throw new Error("cycle");
|
|
216
216
|
return v;
|
|
217
217
|
}
|
|
218
218
|
return i.id = function(r) {
|
|
219
|
-
return arguments.length ? (e =
|
|
219
|
+
return arguments.length ? (e = Lt(r), i) : e;
|
|
220
220
|
}, i.parentId = function(r) {
|
|
221
|
-
return arguments.length ? (t =
|
|
221
|
+
return arguments.length ? (t = Lt(r), i) : t;
|
|
222
222
|
}, i.path = function(r) {
|
|
223
|
-
return arguments.length ? (n =
|
|
223
|
+
return arguments.length ? (n = Lt(r), i) : n;
|
|
224
224
|
}, i;
|
|
225
225
|
}
|
|
226
|
-
function
|
|
226
|
+
function Re(e) {
|
|
227
227
|
e = `${e}`;
|
|
228
228
|
let t = e.length;
|
|
229
|
-
return
|
|
229
|
+
return Rt(e, t - 1) && !Rt(e, t - 2) && (e = e.slice(0, -1)), e[0] === "/" ? e : `/${e}`;
|
|
230
230
|
}
|
|
231
|
-
function
|
|
231
|
+
function Yt(e) {
|
|
232
232
|
let t = e.length;
|
|
233
233
|
if (t < 2) return "";
|
|
234
|
-
for (; --t > 1 && !
|
|
234
|
+
for (; --t > 1 && !Rt(e, t); ) ;
|
|
235
235
|
return e.slice(0, t);
|
|
236
236
|
}
|
|
237
|
-
function
|
|
237
|
+
function Rt(e, t) {
|
|
238
238
|
if (e[t] === "/") {
|
|
239
239
|
let n = 0;
|
|
240
240
|
for (; t > 0 && e[--t] === "\\"; ) ++n;
|
|
@@ -242,12 +242,12 @@ function Tt(e, t) {
|
|
|
242
242
|
}
|
|
243
243
|
return !1;
|
|
244
244
|
}
|
|
245
|
-
function
|
|
245
|
+
function Pe(e, t, n, i, r) {
|
|
246
246
|
for (var l = e.children, a, d = -1, g = l.length, y = e.value && (r - n) / e.value; ++d < g; )
|
|
247
247
|
a = l[d], a.x0 = t, a.x1 = i, a.y0 = n, a.y1 = n += a.value * y;
|
|
248
248
|
}
|
|
249
|
-
var
|
|
250
|
-
function
|
|
249
|
+
var He = (1 + Math.sqrt(5)) / 2;
|
|
250
|
+
function Ge(e, t, n, i, r, l) {
|
|
251
251
|
for (var a = [], d = t.children, g, y, c = 0, v = 0, o = d.length, f, u, m = t.value, h, p, C, k, O, x, j; c < o; ) {
|
|
252
252
|
f = r - n, u = l - i;
|
|
253
253
|
do
|
|
@@ -260,22 +260,22 @@ function Pe(e, t, n, i, r, l) {
|
|
|
260
260
|
}
|
|
261
261
|
O = k;
|
|
262
262
|
}
|
|
263
|
-
a.push(g = { value: h, dice: f < u, children: d.slice(c, v) }), g.dice ?
|
|
263
|
+
a.push(g = { value: h, dice: f < u, children: d.slice(c, v) }), g.dice ? Ae(g, n, i, r, m ? i += u * h / m : l) : Pe(g, n, i, m ? n += f * h / m : r, l), m -= h, c = v;
|
|
264
264
|
}
|
|
265
265
|
return a;
|
|
266
266
|
}
|
|
267
|
-
const
|
|
267
|
+
const We = (function e(t) {
|
|
268
268
|
function n(i, r, l, a, d) {
|
|
269
|
-
|
|
269
|
+
Ge(t, i, r, l, a, d);
|
|
270
270
|
}
|
|
271
271
|
return n.ratio = function(i) {
|
|
272
272
|
return e((i = +i) > 1 ? i : 1);
|
|
273
273
|
}, n;
|
|
274
|
-
})(
|
|
275
|
-
function
|
|
276
|
-
var e =
|
|
274
|
+
})(He);
|
|
275
|
+
function qe() {
|
|
276
|
+
var e = We, t = !1, n = 1, i = 1, r = [0], l = wt, a = wt, d = wt, g = wt, y = wt;
|
|
277
277
|
function c(o) {
|
|
278
|
-
return o.x0 = o.y0 = 0, o.x1 = n, o.y1 = i, o.eachBefore(v), r = [0], t && o.eachBefore(
|
|
278
|
+
return o.x0 = o.y0 = 0, o.x1 = n, o.y1 = i, o.eachBefore(v), r = [0], t && o.eachBefore($e), o;
|
|
279
279
|
}
|
|
280
280
|
function v(o) {
|
|
281
281
|
var f = r[o.depth], u = o.x0 + f, m = o.y0 + f, h = o.x1 - f, p = o.y1 - f;
|
|
@@ -286,25 +286,25 @@ function Ge() {
|
|
|
286
286
|
}, c.size = function(o) {
|
|
287
287
|
return arguments.length ? (n = +o[0], i = +o[1], c) : [n, i];
|
|
288
288
|
}, c.tile = function(o) {
|
|
289
|
-
return arguments.length ? (e =
|
|
289
|
+
return arguments.length ? (e = Jt(o), c) : e;
|
|
290
290
|
}, c.padding = function(o) {
|
|
291
291
|
return arguments.length ? c.paddingInner(o).paddingOuter(o) : c.paddingInner();
|
|
292
292
|
}, c.paddingInner = function(o) {
|
|
293
|
-
return arguments.length ? (l = typeof o == "function" ? o :
|
|
293
|
+
return arguments.length ? (l = typeof o == "function" ? o : xt(+o), c) : l;
|
|
294
294
|
}, c.paddingOuter = function(o) {
|
|
295
295
|
return arguments.length ? c.paddingTop(o).paddingRight(o).paddingBottom(o).paddingLeft(o) : c.paddingTop();
|
|
296
296
|
}, c.paddingTop = function(o) {
|
|
297
|
-
return arguments.length ? (a = typeof o == "function" ? o :
|
|
297
|
+
return arguments.length ? (a = typeof o == "function" ? o : xt(+o), c) : a;
|
|
298
298
|
}, c.paddingRight = function(o) {
|
|
299
|
-
return arguments.length ? (d = typeof o == "function" ? o :
|
|
299
|
+
return arguments.length ? (d = typeof o == "function" ? o : xt(+o), c) : d;
|
|
300
300
|
}, c.paddingBottom = function(o) {
|
|
301
|
-
return arguments.length ? (g = typeof o == "function" ? o :
|
|
301
|
+
return arguments.length ? (g = typeof o == "function" ? o : xt(+o), c) : g;
|
|
302
302
|
}, c.paddingLeft = function(o) {
|
|
303
|
-
return arguments.length ? (y = typeof o == "function" ? o :
|
|
303
|
+
return arguments.length ? (y = typeof o == "function" ? o : xt(+o), c) : y;
|
|
304
304
|
}, c;
|
|
305
305
|
}
|
|
306
|
-
function
|
|
307
|
-
const t =
|
|
306
|
+
function Fe(e) {
|
|
307
|
+
const t = Kt.c(74), {
|
|
308
308
|
data: n,
|
|
309
309
|
colors: i,
|
|
310
310
|
leftMargin: r,
|
|
@@ -326,37 +326,38 @@ function We(e) {
|
|
|
326
326
|
resetSelectionOnDoubleClick: O,
|
|
327
327
|
detailsOnClick: x,
|
|
328
328
|
language: j,
|
|
329
|
-
styles:
|
|
329
|
+
styles: B,
|
|
330
330
|
classNames: I,
|
|
331
331
|
animate: D,
|
|
332
332
|
dimmedOpacity: U,
|
|
333
|
-
precision: Z
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
333
|
+
precision: Z,
|
|
334
|
+
locale: _
|
|
335
|
+
} = e, vt = zt(null);
|
|
336
|
+
let tt;
|
|
337
|
+
t[0] !== D.amount || t[1] !== D.once ? (tt = {
|
|
337
338
|
once: D.once,
|
|
338
339
|
amount: D.amount
|
|
339
|
-
}, t[0] = D.amount, t[1] = D.once, t[2] =
|
|
340
|
-
const J =
|
|
341
|
-
let
|
|
342
|
-
t[3] !== c || t[4] !== r || t[5] !== g || t[6] !== y ? (
|
|
340
|
+
}, t[0] = D.amount, t[1] = D.once, t[2] = tt) : tt = t[2];
|
|
341
|
+
const J = re(vt, tt), [et, lt] = at(void 0), [L, nt] = at(void 0), [it, ot] = at(void 0), [b, w] = at(void 0);
|
|
342
|
+
let rt;
|
|
343
|
+
t[3] !== c || t[4] !== r || t[5] !== g || t[6] !== y ? (rt = {
|
|
343
344
|
top: y,
|
|
344
345
|
bottom: c,
|
|
345
346
|
left: r,
|
|
346
347
|
right: g
|
|
347
|
-
}, t[3] = c, t[4] = r, t[5] = g, t[6] = y, t[7] =
|
|
348
|
-
const V =
|
|
348
|
+
}, t[3] = c, t[4] = r, t[5] = g, t[6] = y, t[7] = rt) : rt = t[7];
|
|
349
|
+
const V = rt, st = l - V.left - V.right, ct = a - V.top - V.bottom;
|
|
349
350
|
let T, z, R, P, H, G, W, q, F;
|
|
350
|
-
if (t[8] !== D.duration || t[9] !== I?.graphObjectValues || t[10] !== d || t[11] !== i || t[12] !== n || t[13] !== x || t[14] !== U || t[15] !== ct || t[16] !== st || t[17] !== a || t[18] !== C || t[19] !== J || t[20] !== j || t[21] !== V.left || t[
|
|
351
|
-
const
|
|
351
|
+
if (t[8] !== D.duration || t[9] !== I?.graphObjectValues || t[10] !== d || t[11] !== i || t[12] !== n || t[13] !== x || t[14] !== U || t[15] !== ct || t[16] !== st || t[17] !== a || t[18] !== C || t[19] !== J || t[20] !== j || t[21] !== _ || t[22] !== V.left || t[23] !== V.top || t[24] !== L || t[25] !== k || t[26] !== f || t[27] !== Z || t[28] !== p || t[29] !== O || t[30] !== u || t[31] !== v || t[32] !== m || t[33] !== B?.graphObjectValues || t[34] !== h || t[35] !== l) {
|
|
352
|
+
const yt = [{
|
|
352
353
|
id: "root",
|
|
353
354
|
parent: void 0,
|
|
354
355
|
value: void 0,
|
|
355
356
|
data: void 0
|
|
356
|
-
}, ...n.map(
|
|
357
|
-
ut.sum(
|
|
358
|
-
const E =
|
|
359
|
-
z =
|
|
357
|
+
}, ...n.map(tn)], ut = ze().id(_e).parentId(Qe)(yt);
|
|
358
|
+
ut.sum(Je);
|
|
359
|
+
const E = qe().size([st, ct]).padding(2)(ut);
|
|
360
|
+
z = kt.svg, H = `${l}px`, G = `${a}px`, W = `0 0 ${l} ${a}`, q = "ltr", F = vt, P = `translate(${V.left},${V.top})`, T = ae, R = E.children?.map((s) => /* @__PURE__ */ M.jsxs(kt.g, { className: "undp-viz-g-with-hover", variants: {
|
|
360
361
|
initial: {
|
|
361
362
|
opacity: 0,
|
|
362
363
|
x: s.x0,
|
|
@@ -376,15 +377,15 @@ function We(e) {
|
|
|
376
377
|
duration: D.duration
|
|
377
378
|
}
|
|
378
379
|
}, onMouseEnter: (K) => {
|
|
379
|
-
|
|
380
|
+
lt(s.data.data), w(K.clientY), ot(K.clientX), f?.(s.data.data);
|
|
380
381
|
}, onClick: () => {
|
|
381
|
-
(k || x) && (L === s.data.id && O ? (
|
|
382
|
+
(k || x) && (L === s.data.id && O ? (nt(void 0), k?.(void 0)) : (nt(s.data.id), k?.(s.data.data)));
|
|
382
383
|
}, onMouseMove: (K) => {
|
|
383
|
-
|
|
384
|
+
lt(s.data.data), w(K.clientY), ot(K.clientX);
|
|
384
385
|
}, onMouseLeave: () => {
|
|
385
|
-
|
|
386
|
+
lt(void 0), ot(void 0), w(void 0), f?.(void 0);
|
|
386
387
|
}, children: [
|
|
387
|
-
/* @__PURE__ */
|
|
388
|
+
/* @__PURE__ */ M.jsx(kt.rect, { x: 0, y: 0, exit: {
|
|
388
389
|
width: 0,
|
|
389
390
|
height: 0,
|
|
390
391
|
opacity: 0,
|
|
@@ -395,18 +396,18 @@ function We(e) {
|
|
|
395
396
|
initial: {
|
|
396
397
|
width: 0,
|
|
397
398
|
height: 0,
|
|
398
|
-
fill: n.filter(
|
|
399
|
+
fill: n.filter(Ze).length === 0 ? i[0] : s.data.data.color ? i[d.indexOf(s.data.data.color)] : Q.gray
|
|
399
400
|
},
|
|
400
401
|
whileInView: {
|
|
401
402
|
width: s.x1 - s.x0,
|
|
402
403
|
height: s.y1 - s.y0,
|
|
403
|
-
fill: n.filter(
|
|
404
|
+
fill: n.filter(Ue).length === 0 ? i[0] : s.data.data.color ? i[d.indexOf(s.data.data.color)] : Q.gray,
|
|
404
405
|
transition: {
|
|
405
406
|
duration: D.duration
|
|
406
407
|
}
|
|
407
408
|
}
|
|
408
409
|
}, initial: "initial", animate: J ? "whileInView" : "initial" }),
|
|
409
|
-
s.x1 - s.x0 > 50 && s.y1 - s.y0 > 25 && (v || m) ? /* @__PURE__ */
|
|
410
|
+
s.x1 - s.x0 > 50 && s.y1 - s.y0 > 25 && (v || m) ? /* @__PURE__ */ M.jsx(kt.g, { variants: {
|
|
410
411
|
initial: {
|
|
411
412
|
opacity: 0
|
|
412
413
|
},
|
|
@@ -421,47 +422,41 @@ function We(e) {
|
|
|
421
422
|
transition: {
|
|
422
423
|
duration: D.duration
|
|
423
424
|
}
|
|
424
|
-
}, children: /* @__PURE__ */
|
|
425
|
-
color:
|
|
425
|
+
}, children: /* @__PURE__ */ M.jsx("foreignObject", { y: 0, x: 0, width: s.x1 - s.x0, height: s.y1 - s.y0, children: /* @__PURE__ */ M.jsxs("div", { className: "flex flex-col gap-0.5 p-2 w-full", style: {
|
|
426
|
+
color: Et(n.filter(Ke).length === 0 ? i[0] : s.data.data.color ? i[d.indexOf(s.data.data.color)] : Q.gray)
|
|
426
427
|
}, children: [
|
|
427
|
-
v ? /* @__PURE__ */
|
|
428
|
+
v ? /* @__PURE__ */ M.jsx(qt, { marginBottom: "none", size: "sm", leading: "none", className: Wt("w-full treemap-label", j === "ar" || j === "he" ? "text-right" : "text-left", I?.graphObjectValues), style: {
|
|
428
429
|
WebkitLineClamp: s.y1 - s.y0 > 50 ? s.y1 - s.y0 > 100 ? s.y1 - s.y0 > 150 ? void 0 : 3 : 2 : 1,
|
|
429
430
|
display: "-webkit-box",
|
|
430
431
|
WebkitBoxOrient: "vertical",
|
|
431
432
|
overflow: "hidden",
|
|
432
|
-
color:
|
|
433
|
-
...
|
|
433
|
+
color: Et(n.filter(Ye).length === 0 ? i[0] : s.data.data.color ? i[d.indexOf(s.data.data.color)] : Q.gray),
|
|
434
|
+
...B?.graphObjectValues || {}
|
|
434
435
|
}, children: s.data.id }) : null,
|
|
435
|
-
m ? /* @__PURE__ */
|
|
436
|
-
color:
|
|
437
|
-
...
|
|
438
|
-
}, children:
|
|
436
|
+
m ? /* @__PURE__ */ M.jsx(qt, { marginBottom: "none", size: "sm", leading: "none", className: Wt("w-full font-bold treemap-value", j === "ar" || j === "he" ? "text-right" : "text-left", I?.graphObjectValues), style: {
|
|
437
|
+
color: Et(n.filter(Xe).length === 0 ? i[0] : s.data.data.color ? i[d.indexOf(s.data.data.color)] : Q.gray),
|
|
438
|
+
...B?.graphObjectValues || {}
|
|
439
|
+
}, children: ie(s.data.value, void 0, Z, p, h, _) }) : null
|
|
439
440
|
] }) }) }) : null
|
|
440
|
-
] }, s.data.id)), t[8] = D.duration, t[9] = I?.graphObjectValues, t[10] = d, t[11] = i, t[12] = n, t[13] = x, t[14] = U, t[15] = ct, t[16] = st, t[17] = a, t[18] = C, t[19] = J, t[20] = j, t[21] = V.left, t[
|
|
441
|
+
] }, s.data.id)), t[8] = D.duration, t[9] = I?.graphObjectValues, t[10] = d, t[11] = i, t[12] = n, t[13] = x, t[14] = U, t[15] = ct, t[16] = st, t[17] = a, t[18] = C, t[19] = J, t[20] = j, t[21] = _, t[22] = V.left, t[23] = V.top, t[24] = L, t[25] = k, t[26] = f, t[27] = Z, t[28] = p, t[29] = O, t[30] = u, t[31] = v, t[32] = m, t[33] = B?.graphObjectValues, t[34] = h, t[35] = l, t[36] = T, t[37] = z, t[38] = R, t[39] = P, t[40] = H, t[41] = G, t[42] = W, t[43] = q, t[44] = F;
|
|
441
442
|
} else
|
|
442
|
-
T = t[
|
|
443
|
+
T = t[36], z = t[37], R = t[38], P = t[39], H = t[40], G = t[41], W = t[42], q = t[43], F = t[44];
|
|
443
444
|
let X;
|
|
444
|
-
t[
|
|
445
|
-
let
|
|
446
|
-
t[
|
|
445
|
+
t[45] !== T || t[46] !== R ? (X = /* @__PURE__ */ M.jsx(T, { children: R }), t[45] = T, t[46] = R, t[47] = X) : X = t[47];
|
|
446
|
+
let N;
|
|
447
|
+
t[48] !== P || t[49] !== X ? (N = /* @__PURE__ */ M.jsx("g", { transform: P, children: X }), t[48] = P, t[49] = X, t[50] = N) : N = t[50];
|
|
447
448
|
let Y;
|
|
448
|
-
t[
|
|
449
|
+
t[51] !== z || t[52] !== N || t[53] !== H || t[54] !== G || t[55] !== W || t[56] !== q || t[57] !== F ? (Y = /* @__PURE__ */ M.jsx(z, { width: H, height: G, viewBox: W, direction: q, ref: F, children: N }), t[51] = z, t[52] = N, t[53] = H, t[54] = G, t[55] = W, t[56] = q, t[57] = F, t[58] = Y) : Y = t[58];
|
|
449
450
|
let S;
|
|
450
|
-
t[
|
|
451
|
+
t[59] !== I?.tooltip || t[60] !== it || t[61] !== b || t[62] !== et || t[63] !== B?.tooltip || t[64] !== o ? (S = et && o && it && b ? /* @__PURE__ */ M.jsx(ne, { data: et, body: o, xPos: it, yPos: b, backgroundStyle: B?.tooltip, className: I?.tooltip }) : null, t[59] = I?.tooltip, t[60] = it, t[61] = b, t[62] = et, t[63] = B?.tooltip, t[64] = o, t[65] = S) : S = t[65];
|
|
451
452
|
let $;
|
|
452
|
-
t[
|
|
453
|
+
t[66] !== I?.modal || t[67] !== x || t[68] !== L ? ($ = x && L !== void 0 ? /* @__PURE__ */ M.jsx(oe, { body: x, data: L, setData: nt, className: I?.modal }) : null, t[66] = I?.modal, t[67] = x, t[68] = L, t[69] = $) : $ = t[69];
|
|
453
454
|
let A;
|
|
454
|
-
return t[
|
|
455
|
+
return t[70] !== Y || t[71] !== S || t[72] !== $ ? (A = /* @__PURE__ */ M.jsxs(M.Fragment, { children: [
|
|
455
456
|
Y,
|
|
456
457
|
S,
|
|
457
458
|
$
|
|
458
|
-
] }), t[
|
|
459
|
-
}
|
|
460
|
-
function qe(e) {
|
|
461
|
-
return e.color;
|
|
462
|
-
}
|
|
463
|
-
function Fe(e) {
|
|
464
|
-
return e.color;
|
|
459
|
+
] }), t[70] = Y, t[71] = S, t[72] = $, t[73] = A) : A = t[73], A;
|
|
465
460
|
}
|
|
466
461
|
function Xe(e) {
|
|
467
462
|
return e.color;
|
|
@@ -473,15 +468,21 @@ function Ke(e) {
|
|
|
473
468
|
return e.color;
|
|
474
469
|
}
|
|
475
470
|
function Ue(e) {
|
|
476
|
-
return e.
|
|
471
|
+
return e.color;
|
|
477
472
|
}
|
|
478
473
|
function Ze(e) {
|
|
479
|
-
return e.
|
|
474
|
+
return e.color;
|
|
480
475
|
}
|
|
481
476
|
function Je(e) {
|
|
482
|
-
return e.
|
|
477
|
+
return e.value;
|
|
483
478
|
}
|
|
484
479
|
function Qe(e) {
|
|
480
|
+
return e.parent;
|
|
481
|
+
}
|
|
482
|
+
function _e(e) {
|
|
483
|
+
return e.id;
|
|
484
|
+
}
|
|
485
|
+
function tn(e) {
|
|
485
486
|
return {
|
|
486
487
|
id: e.label,
|
|
487
488
|
value: e.size,
|
|
@@ -489,8 +490,8 @@ function Qe(e) {
|
|
|
489
490
|
data: e
|
|
490
491
|
};
|
|
491
492
|
}
|
|
492
|
-
function
|
|
493
|
-
const t =
|
|
493
|
+
function Vn(e) {
|
|
494
|
+
const t = Kt.c(84), {
|
|
494
495
|
data: n,
|
|
495
496
|
graphTitle: i,
|
|
496
497
|
colors: r,
|
|
@@ -512,52 +513,53 @@ function kn(e) {
|
|
|
512
513
|
showLabels: O,
|
|
513
514
|
relativeHeight: x,
|
|
514
515
|
tooltip: j,
|
|
515
|
-
onSeriesMouseOver:
|
|
516
|
+
onSeriesMouseOver: B,
|
|
516
517
|
showColorScale: I,
|
|
517
518
|
showValues: D,
|
|
518
519
|
graphID: U,
|
|
519
520
|
highlightedDataPoints: Z,
|
|
520
|
-
onSeriesMouseClick:
|
|
521
|
-
graphDownload:
|
|
522
|
-
dataDownload:
|
|
523
|
-
language:
|
|
524
|
-
showNAColor:
|
|
525
|
-
minHeight:
|
|
526
|
-
theme:
|
|
527
|
-
ariaLabel:
|
|
528
|
-
resetSelectionOnDoubleClick:
|
|
529
|
-
detailsOnClick:
|
|
530
|
-
styles:
|
|
521
|
+
onSeriesMouseClick: _,
|
|
522
|
+
graphDownload: vt,
|
|
523
|
+
dataDownload: tt,
|
|
524
|
+
language: J,
|
|
525
|
+
showNAColor: et,
|
|
526
|
+
minHeight: lt,
|
|
527
|
+
theme: L,
|
|
528
|
+
ariaLabel: nt,
|
|
529
|
+
resetSelectionOnDoubleClick: it,
|
|
530
|
+
detailsOnClick: ot,
|
|
531
|
+
styles: b,
|
|
531
532
|
classNames: w,
|
|
532
|
-
animate:
|
|
533
|
-
dimmedOpacity:
|
|
534
|
-
precision:
|
|
533
|
+
animate: rt,
|
|
534
|
+
dimmedOpacity: V,
|
|
535
|
+
precision: st,
|
|
536
|
+
locale: ct
|
|
535
537
|
} = e, T = l === void 0 ? "" : l, z = d === void 0 ? "" : d, R = y === void 0 ? 0 : y, P = c === void 0 ? 0 : c, H = v === void 0 ? 0 : v, G = o === void 0 ? 0 : o, W = k === void 0 ? !1 : k, q = O === void 0 ? !0 : O, F = I === void 0 ? !0 : I, X = D === void 0 ? !0 : D;
|
|
536
|
-
let
|
|
537
|
-
t[0] !== Z ? (
|
|
538
|
-
const Y =
|
|
539
|
-
let
|
|
540
|
-
t[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
541
|
-
const
|
|
542
|
-
|
|
538
|
+
let N;
|
|
539
|
+
t[0] !== Z ? (N = Z === void 0 ? [] : Z, t[0] = Z, t[1] = N) : N = t[1];
|
|
540
|
+
const Y = N, S = vt === void 0 ? !1 : vt, $ = tt === void 0 ? !1 : tt, A = J === void 0 ? "en" : J, yt = et === void 0 ? !0 : et, ut = lt === void 0 ? 0 : lt, E = L === void 0 ? "light" : L, s = it === void 0 ? !0 : it, K = rt === void 0 ? !1 : rt, It = V === void 0 ? 0.3 : V, Vt = st === void 0 ? 2 : st, Bt = ct === void 0 ? "en" : ct, [Mt, Qt] = at(0), [Ot, _t] = at(0), [Nt, te] = at(void 0), St = zt(null), Pt = zt(null);
|
|
541
|
+
let Ct, jt;
|
|
542
|
+
t[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Ct = () => {
|
|
543
|
+
const Ht = new ResizeObserver((Gt) => {
|
|
544
|
+
Qt(Gt[0].target.clientWidth || 620), _t(Gt[0].target.clientHeight || 480);
|
|
543
545
|
});
|
|
544
|
-
return
|
|
545
|
-
},
|
|
546
|
-
const
|
|
546
|
+
return St.current && Ht.observe(St.current), () => Ht.disconnect();
|
|
547
|
+
}, jt = [], t[2] = Ct, t[3] = jt) : (Ct = t[2], jt = t[3]), ee(Ct, jt);
|
|
548
|
+
const $t = w?.graphContainer, At = b?.graphContainer;
|
|
547
549
|
let dt;
|
|
548
|
-
t[4] !== w?.description || t[5] !== w?.title || t[6] !== n || t[7] !== $ || t[8] !== g || t[9] !== S || t[10] !== i || t[11] !==
|
|
549
|
-
title:
|
|
550
|
-
description:
|
|
550
|
+
t[4] !== w?.description || t[5] !== w?.title || t[6] !== n || t[7] !== $ || t[8] !== g || t[9] !== S || t[10] !== i || t[11] !== b?.description || t[12] !== b?.title || t[13] !== u ? (dt = i || g || S || $ ? /* @__PURE__ */ M.jsx(ce, { styles: {
|
|
551
|
+
title: b?.title,
|
|
552
|
+
description: b?.description
|
|
551
553
|
}, classNames: {
|
|
552
554
|
title: w?.title,
|
|
553
555
|
description: w?.description
|
|
554
|
-
}, graphTitle: i, graphDescription: g, width: u, graphDownload: S ?
|
|
556
|
+
}, graphTitle: i, graphDescription: g, width: u, graphDownload: S ? Pt : void 0, dataDownload: $ ? n.map(un).filter(cn).length > 0 ? n.map(sn).filter(ln) : n.filter(an) : null }) : null, t[4] = w?.description, t[5] = w?.title, t[6] = n, t[7] = $, t[8] = g, t[9] = S, t[10] = i, t[11] = b?.description, t[12] = b?.title, t[13] = u, t[14] = dt) : dt = t[14];
|
|
555
557
|
let ft;
|
|
556
|
-
t[15] !== w?.colorLegend || t[16] !== h || t[17] !== p || t[18] !== r || t[19] !== n || t[20] !== F || t[21] !==
|
|
558
|
+
t[15] !== w?.colorLegend || t[16] !== h || t[17] !== p || t[18] !== r || t[19] !== n || t[20] !== F || t[21] !== yt || t[22] !== E || t[23] !== u ? (ft = F && n.filter(rn).length !== 0 && n.length > 0 ? /* @__PURE__ */ M.jsx(ue, { width: u, colorLegendTitle: p, colors: r || Q[E].categoricalColors.colors, colorDomain: h || Ft(n, "color", !0), setSelectedColor: te, showNAColor: yt, className: w?.colorLegend }) : null, t[15] = w?.colorLegend, t[16] = h, t[17] = p, t[18] = r, t[19] = n, t[20] = F, t[21] = yt, t[22] = E, t[23] = u, t[24] = ft) : ft = t[24];
|
|
557
559
|
let ht;
|
|
558
|
-
t[25] !== n.length ? (ht = n.length === 0 && /* @__PURE__ */
|
|
560
|
+
t[25] !== n.length ? (ht = n.length === 0 && /* @__PURE__ */ M.jsx(de, {}), t[25] = n.length, t[26] = ht) : ht = t[26];
|
|
559
561
|
let pt;
|
|
560
|
-
t[27] !== K || t[28] !== G || t[29] !== w || t[30] !== h || t[31] !== r || t[32] !== n || t[33] !==
|
|
562
|
+
t[27] !== K || t[28] !== G || t[29] !== w || t[30] !== h || t[31] !== r || t[32] !== n || t[33] !== ot || t[34] !== It || t[35] !== Y || t[36] !== A || t[37] !== R || t[38] !== Bt || t[39] !== _ || t[40] !== B || t[41] !== Vt || t[42] !== z || t[43] !== s || t[44] !== P || t[45] !== Nt || t[46] !== q || t[47] !== X || t[48] !== b || t[49] !== T || t[50] !== Ot || t[51] !== Mt || t[52] !== E || t[53] !== j || t[54] !== H ? (pt = Mt && Ot && n.length > 0 ? /* @__PURE__ */ M.jsx(Fe, { data: n.filter(on), colors: n.filter(nn).length === 0 ? r ? [r] : [Q.primaryColors["blue-600"]] : r || Q[E].categoricalColors.colors, colorDomain: n.filter(en).length === 0 ? [] : h || Ft(n, "color", !0), width: Mt, height: Ot, leftMargin: R, rightMargin: P, topMargin: H, bottomMargin: G, showLabels: q, showValues: X, suffix: T, prefix: z, selectedColor: Nt, tooltip: j, onSeriesMouseOver: B, onSeriesMouseClick: _, highlightedDataPoints: Y, resetSelectionOnDoubleClick: s, detailsOnClick: ot, styles: b, classNames: w, language: A, animate: K === !0 ? {
|
|
561
563
|
duration: 0.5,
|
|
562
564
|
once: !0,
|
|
563
565
|
amount: 0.5
|
|
@@ -565,48 +567,42 @@ function kn(e) {
|
|
|
565
567
|
duration: 0,
|
|
566
568
|
once: !0,
|
|
567
569
|
amount: 0
|
|
568
|
-
}, dimmedOpacity:
|
|
570
|
+
}, dimmedOpacity: It, precision: Vt, locale: Bt }) : null, t[27] = K, t[28] = G, t[29] = w, t[30] = h, t[31] = r, t[32] = n, t[33] = ot, t[34] = It, t[35] = Y, t[36] = A, t[37] = R, t[38] = Bt, t[39] = _, t[40] = B, t[41] = Vt, t[42] = z, t[43] = s, t[44] = P, t[45] = Nt, t[46] = q, t[47] = X, t[48] = b, t[49] = T, t[50] = Ot, t[51] = Mt, t[52] = E, t[53] = j, t[54] = H, t[55] = pt) : pt = t[55];
|
|
569
571
|
let gt;
|
|
570
|
-
t[
|
|
572
|
+
t[56] !== ht || t[57] !== pt ? (gt = /* @__PURE__ */ M.jsxs(fe, { ref: St, children: [
|
|
571
573
|
ht,
|
|
572
574
|
pt
|
|
573
|
-
] }), t[
|
|
575
|
+
] }), t[56] = ht, t[57] = pt, t[58] = gt) : gt = t[58];
|
|
574
576
|
let mt;
|
|
575
|
-
t[
|
|
576
|
-
footnote:
|
|
577
|
-
source:
|
|
577
|
+
t[59] !== w?.footnote || t[60] !== w?.source || t[61] !== m || t[62] !== a || t[63] !== b?.footnote || t[64] !== b?.source || t[65] !== u ? (mt = a || m ? /* @__PURE__ */ M.jsx(se, { styles: {
|
|
578
|
+
footnote: b?.footnote,
|
|
579
|
+
source: b?.source
|
|
578
580
|
}, classNames: {
|
|
579
581
|
footnote: w?.footnote,
|
|
580
582
|
source: w?.source
|
|
581
|
-
}, sources: a, footNote: m, width: u }) : null, t[
|
|
582
|
-
let
|
|
583
|
-
return t[
|
|
583
|
+
}, sources: a, footNote: m, width: u }) : null, t[59] = w?.footnote, t[60] = w?.source, t[61] = m, t[62] = a, t[63] = b?.footnote, t[64] = b?.source, t[65] = u, t[66] = mt) : mt = t[66];
|
|
584
|
+
let Dt;
|
|
585
|
+
return t[67] !== nt || t[68] !== W || t[69] !== U || t[70] !== f || t[71] !== A || t[72] !== ut || t[73] !== C || t[74] !== x || t[75] !== $t || t[76] !== At || t[77] !== dt || t[78] !== ft || t[79] !== gt || t[80] !== mt || t[81] !== E || t[82] !== u ? (Dt = /* @__PURE__ */ M.jsxs(he, { className: $t, style: At, id: U, ref: Pt, "aria-label": nt, backgroundColor: W, theme: E, language: A, minHeight: ut, width: u, height: f, relativeHeight: x, padding: C, children: [
|
|
584
586
|
dt,
|
|
585
587
|
ft,
|
|
586
588
|
gt,
|
|
587
589
|
mt
|
|
588
|
-
] }), t[
|
|
589
|
-
}
|
|
590
|
-
function _e(e) {
|
|
591
|
-
return e.color;
|
|
592
|
-
}
|
|
593
|
-
function tn(e) {
|
|
594
|
-
return e.color;
|
|
590
|
+
] }), t[67] = nt, t[68] = W, t[69] = U, t[70] = f, t[71] = A, t[72] = ut, t[73] = C, t[74] = x, t[75] = $t, t[76] = At, t[77] = dt, t[78] = ft, t[79] = gt, t[80] = mt, t[81] = E, t[82] = u, t[83] = Dt) : Dt = t[83], Dt;
|
|
595
591
|
}
|
|
596
592
|
function en(e) {
|
|
597
|
-
return
|
|
593
|
+
return e.color;
|
|
598
594
|
}
|
|
599
595
|
function nn(e) {
|
|
600
596
|
return e.color;
|
|
601
597
|
}
|
|
602
598
|
function on(e) {
|
|
603
|
-
return e
|
|
599
|
+
return !le(e.size);
|
|
604
600
|
}
|
|
605
601
|
function rn(e) {
|
|
606
|
-
return e
|
|
602
|
+
return e.color;
|
|
607
603
|
}
|
|
608
604
|
function an(e) {
|
|
609
|
-
return e
|
|
605
|
+
return e !== void 0;
|
|
610
606
|
}
|
|
611
607
|
function ln(e) {
|
|
612
608
|
return e !== void 0;
|
|
@@ -614,7 +610,13 @@ function ln(e) {
|
|
|
614
610
|
function sn(e) {
|
|
615
611
|
return e.data;
|
|
616
612
|
}
|
|
613
|
+
function cn(e) {
|
|
614
|
+
return e !== void 0;
|
|
615
|
+
}
|
|
616
|
+
function un(e) {
|
|
617
|
+
return e.data;
|
|
618
|
+
}
|
|
617
619
|
export {
|
|
618
|
-
|
|
620
|
+
Vn as TreeMapGraph
|
|
619
621
|
};
|
|
620
622
|
//# sourceMappingURL=TreeMapGraph.js.map
|