@undp/data-viz 1.2.8 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AreaChart.d.ts +224 -0
- package/dist/AreaChart.js +2 -0
- package/dist/AreaChart.js.map +1 -0
- package/dist/Axis-BlyBRMNw.cjs +2 -0
- package/dist/Axis-BlyBRMNw.cjs.map +1 -0
- package/dist/Axis-CvK-w3E2.js +44 -0
- package/dist/Axis-CvK-w3E2.js.map +1 -0
- package/dist/AxisTitle-BY8MI9jC.cjs +2 -0
- package/dist/AxisTitle-BY8MI9jC.cjs.map +1 -0
- package/dist/AxisTitle-BeMxcw5I.js +21 -0
- package/dist/AxisTitle-BeMxcw5I.js.map +1 -0
- package/dist/BarGraph.d.ts +460 -0
- package/dist/BarGraph.js +2 -0
- package/dist/BarGraph.js.map +1 -0
- package/dist/BasicStatCard.d.ts +106 -0
- package/dist/BasicStatCard.js +2 -0
- package/dist/BasicStatCard.js.map +1 -0
- package/dist/BeeSwarmChart.d.ts +189 -0
- package/dist/BeeSwarmChart.js +2 -0
- package/dist/BeeSwarmChart.js.map +1 -0
- package/dist/BiVariateChoroplethMap.d.ts +189 -0
- package/dist/BiVariateChoroplethMap.js +2 -0
- package/dist/BiVariateChoroplethMap.js.map +1 -0
- package/dist/BulletChart.d.ts +219 -0
- package/dist/BulletChart.js +2 -0
- package/dist/BulletChart.js.map +1 -0
- package/dist/ButterflyChart.d.ts +201 -0
- package/dist/ButterflyChart.js +2 -0
- package/dist/ButterflyChart.js.map +1 -0
- package/dist/ChoroplethMap.d.ts +190 -0
- package/dist/ChoroplethMap.js +2 -0
- package/dist/ChoroplethMap.js.map +1 -0
- package/dist/CirclePackingGraph.d.ts +161 -0
- package/dist/CirclePackingGraph.js +2 -0
- package/dist/CirclePackingGraph.js.map +1 -0
- package/dist/ColorLegend.d.ts +17 -0
- package/dist/ColorLegend.js +2 -0
- package/dist/ColorLegend.js.map +1 -0
- package/dist/ColorLegendWithMouseOver.d.ts +16 -0
- package/dist/ColorLegendWithMouseOver.js +2 -0
- package/dist/ColorLegendWithMouseOver.js.map +1 -0
- package/dist/Colors.d.ts +174 -0
- package/dist/Colors.js +2 -0
- package/dist/Colors.js.map +1 -0
- package/dist/CopyTextButton.d.ts +13 -0
- package/dist/CopyTextButton.js +17 -0
- package/dist/CopyTextButton.js.map +1 -0
- package/dist/CsvDownloadButton.d.ts +22 -0
- package/dist/CsvDownloadButton.js +23 -0
- package/dist/CsvDownloadButton.js.map +1 -0
- package/dist/DataCards.d.ts +131 -0
- package/dist/DataCards.js +2 -0
- package/dist/DataCards.js.map +1 -0
- package/dist/DataTable.d.ts +122 -0
- package/dist/DataTable.js +2 -0
- package/dist/DataTable.js.map +1 -0
- package/dist/DifferenceLineChart.d.ts +237 -0
- package/dist/DifferenceLineChart.js +2 -0
- package/dist/DifferenceLineChart.js.map +1 -0
- package/dist/DonutChart.d.ts +148 -0
- package/dist/DonutChart.js +2 -0
- package/dist/DonutChart.js.map +1 -0
- package/dist/DotDensityMap.d.ts +191 -0
- package/dist/DotDensityMap.js +2 -0
- package/dist/DotDensityMap.js.map +1 -0
- package/dist/DropdownSelect-CuzV7gdj.cjs +29 -0
- package/dist/DropdownSelect-CuzV7gdj.cjs.map +1 -0
- package/dist/DropdownSelect-DmZsXrhY.js +2698 -0
- package/dist/DropdownSelect-DmZsXrhY.js.map +1 -0
- package/dist/DualAxisLineChart.d.ts +180 -0
- package/dist/DualAxisLineChart.js +2 -0
- package/dist/DualAxisLineChart.js.map +1 -0
- package/dist/DumbbellChart.d.ts +224 -0
- package/dist/DumbbellChart.js +2 -0
- package/dist/DumbbellChart.js.map +1 -0
- package/dist/EmptyState-BQguKAp5.cjs +2 -0
- package/dist/EmptyState-BQguKAp5.cjs.map +1 -0
- package/dist/EmptyState-b2Ln487i.js +22 -0
- package/dist/EmptyState-b2Ln487i.js.map +1 -0
- package/dist/ExcelDownloadButton.d.ts +22 -0
- package/dist/ExcelDownloadButton.js +2 -0
- package/dist/ExcelDownloadButton.js.map +1 -0
- package/dist/FootNote.d.ts +12 -0
- package/dist/FootNote.js +2 -0
- package/dist/FootNote.js.map +1 -0
- package/dist/GeoHubCompareMaps.d.ts +103 -0
- package/dist/GeoHubCompareMaps.js +2 -0
- package/dist/GeoHubCompareMaps.js.map +1 -0
- package/dist/GeoHubMap.d.ts +118 -0
- package/dist/GeoHubMap.js +2 -0
- package/dist/GeoHubMap.js.map +1 -0
- package/dist/GeoHubMapWithLayerSelection.d.ts +117 -0
- package/dist/GeoHubMapWithLayerSelection.js +2 -0
- package/dist/GeoHubMapWithLayerSelection.js.map +1 -0
- package/dist/GraphDescription.d.ts +12 -0
- package/dist/GraphDescription.js +2 -0
- package/dist/GraphDescription.js.map +1 -0
- package/dist/GraphFooter.d.ts +24 -0
- package/dist/GraphFooter.js +2 -0
- package/dist/GraphFooter.js.map +1 -0
- package/dist/GraphHeader.d.ts +22 -0
- package/dist/GraphHeader.js +2 -0
- package/dist/GraphHeader.js.map +1 -0
- package/dist/GraphTitle.d.ts +13 -0
- package/dist/GraphTitle.js +2 -0
- package/dist/GraphTitle.js.map +1 -0
- package/dist/GriddedGraphs.d.ts +540 -0
- package/dist/GriddedGraphs.js +2 -0
- package/dist/GriddedGraphs.js.map +1 -0
- package/dist/GriddedGraphsFromConfig.d.ts +543 -0
- package/dist/GriddedGraphsFromConfig.js +2 -0
- package/dist/GriddedGraphsFromConfig.js.map +1 -0
- package/dist/HeatMap.d.ts +166 -0
- package/dist/HeatMap.js +2 -0
- package/dist/HeatMap.js.map +1 -0
- package/dist/Histogram.d.ts +165 -0
- package/dist/Histogram.js +2 -0
- package/dist/Histogram.js.map +1 -0
- package/dist/ImageDownloadButton.d.ts +15 -0
- package/dist/ImageDownloadButton.js +2 -0
- package/dist/ImageDownloadButton.js.map +1 -0
- package/dist/LineChartWithConfidenceInterval.d.ts +250 -0
- package/dist/LineChartWithConfidenceInterval.js +2 -0
- package/dist/LineChartWithConfidenceInterval.js.map +1 -0
- package/dist/LinearColorLegend.d.ts +13 -0
- package/dist/LinearColorLegend.js +2 -0
- package/dist/LinearColorLegend.js.map +1 -0
- package/dist/Modal-C9txyGOk.js +723 -0
- package/dist/Modal-C9txyGOk.js.map +1 -0
- package/dist/Modal-cQF2UQIa.cjs +46 -0
- package/dist/Modal-cQF2UQIa.cjs.map +1 -0
- package/dist/MultiGraphDashboard.d.ts +558 -0
- package/dist/MultiGraphDashboard.js +2 -0
- package/dist/MultiGraphDashboard.js.map +1 -0
- package/dist/MultiGraphDashboardFromConfig.d.ts +562 -0
- package/dist/MultiGraphDashboardFromConfig.js +2 -0
- package/dist/MultiGraphDashboardFromConfig.js.map +1 -0
- package/dist/MultiGraphDashboardWideToLongFormat.d.ts +128 -0
- package/dist/MultiGraphDashboardWideToLongFormat.js +2 -0
- package/dist/MultiGraphDashboardWideToLongFormat.js.map +1 -0
- package/dist/MultiGraphDashboardWideToLongFormatFromConfig.d.ts +133 -0
- package/dist/MultiGraphDashboardWideToLongFormatFromConfig.js +2 -0
- package/dist/MultiGraphDashboardWideToLongFormatFromConfig.js.map +1 -0
- package/dist/MultiLineAltChart.d.ts +244 -0
- package/dist/MultiLineAltChart.js +2 -0
- package/dist/MultiLineAltChart.js.map +1 -0
- package/dist/MultiLineChart.d.ts +246 -0
- package/dist/MultiLineChart.js +2 -0
- package/dist/MultiLineChart.js.map +1 -0
- package/dist/ParetoChart.d.ts +178 -0
- package/dist/ParetoChart.js +2 -0
- package/dist/ParetoChart.js.map +1 -0
- package/dist/RadarChart.d.ts +176 -0
- package/dist/RadarChart.js +2 -0
- package/dist/RadarChart.js.map +1 -0
- package/dist/ReferenceLine-BgDdQbDI.js +129 -0
- package/dist/ReferenceLine-BgDdQbDI.js.map +1 -0
- package/dist/ReferenceLine-Bsb5jeE4.cjs +2 -0
- package/dist/ReferenceLine-Bsb5jeE4.cjs.map +1 -0
- package/dist/RegressionLine-BfpCuD7B.cjs +2 -0
- package/dist/RegressionLine-BfpCuD7B.cjs.map +1 -0
- package/dist/RegressionLine-cSljpHaE.js +49 -0
- package/dist/RegressionLine-cSljpHaE.js.map +1 -0
- package/dist/SVGDownloadButton.d.ts +15 -0
- package/dist/SVGDownloadButton.js +2 -0
- package/dist/SVGDownloadButton.js.map +1 -0
- package/dist/SankeyChart.d.ts +178 -0
- package/dist/SankeyChart.js +2 -0
- package/dist/SankeyChart.js.map +1 -0
- package/dist/ScatterPlot.d.ts +266 -0
- package/dist/ScatterPlot.js +2 -0
- package/dist/ScatterPlot.js.map +1 -0
- package/dist/ScrollStory.d.ts +491 -0
- package/dist/ScrollStory.js +2 -0
- package/dist/ScrollStory.js.map +1 -0
- package/dist/SimpleLineChart.d.ts +230 -0
- package/dist/SimpleLineChart.js +2 -0
- package/dist/SimpleLineChart.js.map +1 -0
- package/dist/SingleGraphDashboard.d.ts +545 -0
- package/dist/SingleGraphDashboard.js +2 -0
- package/dist/SingleGraphDashboard.js.map +1 -0
- package/dist/SingleGraphDashboardFromConfig.d.ts +547 -0
- package/dist/SingleGraphDashboardFromConfig.js +2 -0
- package/dist/SingleGraphDashboardFromConfig.js.map +1 -0
- package/dist/SlopeChart.d.ts +167 -0
- package/dist/SlopeChart.js +2 -0
- package/dist/SlopeChart.js.map +1 -0
- package/dist/Source.d.ts +16 -0
- package/dist/Source.js +2 -0
- package/dist/Source.js.map +1 -0
- package/dist/SparkLine.d.ts +139 -0
- package/dist/SparkLine.js +2 -0
- package/dist/SparkLine.js.map +1 -0
- package/dist/Spinner-DN3s4S0H.js +17 -0
- package/dist/Spinner-DN3s4S0H.js.map +1 -0
- package/dist/Spinner-UmN-KPe9.cjs +2 -0
- package/dist/Spinner-UmN-KPe9.cjs.map +1 -0
- package/dist/StatCardFromData.d.ts +115 -0
- package/dist/StatCardFromData.js +2 -0
- package/dist/StatCardFromData.js.map +1 -0
- package/dist/StripChart.d.ts +178 -0
- package/dist/StripChart.js +2 -0
- package/dist/StripChart.js.map +1 -0
- package/dist/ThreeDGlobe.d.ts +158 -0
- package/dist/ThreeDGlobe.js +2 -0
- package/dist/ThreeDGlobe.js.map +1 -0
- package/dist/ThresholdColorLegendWithMouseOver.d.ts +16 -0
- package/dist/ThresholdColorLegendWithMouseOver.js +2 -0
- package/dist/ThresholdColorLegendWithMouseOver.js.map +1 -0
- package/dist/Tooltip-BM18N_3l.cjs +2 -0
- package/dist/Tooltip-BM18N_3l.cjs.map +1 -0
- package/dist/Tooltip-CzZ1wFyF.js +47 -0
- package/dist/Tooltip-CzZ1wFyF.js.map +1 -0
- package/dist/TreeMapGraph.d.ts +158 -0
- package/dist/TreeMapGraph.js +2 -0
- package/dist/TreeMapGraph.js.map +1 -0
- package/dist/Types.d.ts +883 -0
- package/dist/Types.js +2 -0
- package/dist/Types.js.map +1 -0
- package/dist/Typography-CDR-DAHH.cjs +2 -0
- package/dist/Typography-CDR-DAHH.cjs.map +1 -0
- package/dist/Typography-XJoSE-By.js +58 -0
- package/dist/Typography-XJoSE-By.js.map +1 -0
- package/dist/UnitChart.d.ts +132 -0
- package/dist/UnitChart.js +2 -0
- package/dist/UnitChart.js.map +1 -0
- package/dist/XAxesLabels-C9REbQQs.cjs +2 -0
- package/dist/XAxesLabels-C9REbQQs.cjs.map +1 -0
- package/dist/XAxesLabels-DVw7Lvuz.js +58 -0
- package/dist/XAxesLabels-DVw7Lvuz.js.map +1 -0
- package/dist/XTicksAndGridLines-CUefTINd.js +57 -0
- package/dist/XTicksAndGridLines-CUefTINd.js.map +1 -0
- package/dist/XTicksAndGridLines-DuK35ROS.cjs +2 -0
- package/dist/XTicksAndGridLines-DuK35ROS.cjs.map +1 -0
- package/dist/YAxesLabels-CYVY053X.js +53 -0
- package/dist/YAxesLabels-CYVY053X.js.map +1 -0
- package/dist/YAxesLabels-DhBdLk3Z.cjs +2 -0
- package/dist/YAxesLabels-DhBdLk3Z.cjs.map +1 -0
- package/dist/YTicksAndGridLines-BJRXuBdC.js +57 -0
- package/dist/YTicksAndGridLines-BJRXuBdC.js.map +1 -0
- package/dist/YTicksAndGridLines-CtLvzExe.cjs +2 -0
- package/dist/YTicksAndGridLines-CtLvzExe.cjs.map +1 -0
- package/dist/_commonjsHelpers-DKOUU3wS.cjs +2 -0
- package/dist/_commonjsHelpers-DKOUU3wS.cjs.map +1 -0
- package/dist/_commonjsHelpers-DaMA6jEr.js +9 -0
- package/dist/_commonjsHelpers-DaMA6jEr.js.map +1 -0
- package/dist/area-BE2wo7fv.js +53 -0
- package/dist/area-BE2wo7fv.js.map +1 -0
- package/dist/area-D3Qx7k7K.cjs +2 -0
- package/dist/area-D3Qx7k7K.cjs.map +1 -0
- package/dist/array-B7TkkRH0.js +89 -0
- package/dist/array-B7TkkRH0.js.map +1 -0
- package/dist/array-DKbXV8lR.cjs +2 -0
- package/dist/array-DKbXV8lR.cjs.map +1 -0
- package/dist/band-BEjh2CHI.js +47 -0
- package/dist/band-BEjh2CHI.js.map +1 -0
- package/dist/band-CAApY4Pd.cjs +2 -0
- package/dist/band-CAApY4Pd.cjs.map +1 -0
- package/dist/checkIfMultiple-CaefP4X2.js +2264 -0
- package/dist/checkIfMultiple-CaefP4X2.js.map +1 -0
- package/dist/checkIfMultiple-D3h8to1T.cjs +12 -0
- package/dist/checkIfMultiple-D3h8to1T.cjs.map +1 -0
- package/dist/checkIfNullOrUndefined.d.ts +15 -0
- package/dist/checkIfNullOrUndefined.js +2 -0
- package/dist/checkIfNullOrUndefined.js.map +1 -0
- package/dist/customArea-B47Ew5cT.cjs +2 -0
- package/dist/customArea-B47Ew5cT.cjs.map +1 -0
- package/dist/customArea-I3MsoqIl.js +176 -0
- package/dist/customArea-I3MsoqIl.js.map +1 -0
- package/dist/defaultLocale-BEa-49Qz.js +172 -0
- package/dist/defaultLocale-BEa-49Qz.js.map +1 -0
- package/dist/defaultLocale-DIVzfLaQ.cjs +2 -0
- package/dist/defaultLocale-DIVzfLaQ.cjs.map +1 -0
- package/dist/delaunay-C1uAf38t.js +684 -0
- package/dist/delaunay-C1uAf38t.js.map +1 -0
- package/dist/delaunay-rcy0HhZi.cjs +2 -0
- package/dist/delaunay-rcy0HhZi.cjs.map +1 -0
- package/dist/ensureCompleteData-BBDZbDCE.js +102 -0
- package/dist/ensureCompleteData-BBDZbDCE.js.map +1 -0
- package/dist/ensureCompleteData-DqWQ2Zbi.cjs +2 -0
- package/dist/ensureCompleteData-DqWQ2Zbi.cjs.map +1 -0
- package/dist/excelDownload.d.ts +31 -0
- package/dist/excelDownload.js +2 -0
- package/dist/excelDownload.js.map +1 -0
- package/dist/fetchAndParseData.d.ts +84 -0
- package/dist/fetchAndParseData.js +16 -0
- package/dist/fetchAndParseData.js.map +1 -0
- package/dist/filterData-B8ocT57s.js +14 -0
- package/dist/filterData-B8ocT57s.js.map +1 -0
- package/dist/filterData-DN6py7y_.cjs +2 -0
- package/dist/filterData-DN6py7y_.cjs.map +1 -0
- package/dist/generateCodes.d.ts +25 -0
- package/dist/generateCodes.js +2 -0
- package/dist/generateCodes.js.map +1 -0
- package/dist/generateRandomString-B5zBiJzS.cjs +2 -0
- package/dist/generateRandomString-B5zBiJzS.cjs.map +1 -0
- package/dist/generateRandomString-za3IQGfQ.js +11 -0
- package/dist/generateRandomString-za3IQGfQ.js.map +1 -0
- package/dist/getJenks.d.ts +17 -0
- package/dist/getJenks.js +2 -0
- package/dist/getJenks.js.map +1 -0
- package/dist/getPercentileValue.d.ts +13 -0
- package/dist/getPercentileValue.js +2 -0
- package/dist/getPercentileValue.js.map +1 -0
- package/dist/getQueryParamsFromLink.d.ts +18 -0
- package/dist/getQueryParamsFromLink.js +2 -0
- package/dist/getQueryParamsFromLink.js.map +1 -0
- package/dist/getSchema.d.ts +3256 -0
- package/dist/getSchema.js +2 -0
- package/dist/getSchema.js.map +1 -0
- package/dist/getSliderMarks-CWajGCGq.js +719 -0
- package/dist/getSliderMarks-CWajGCGq.js.map +1 -0
- package/dist/getSliderMarks-DDJ1CdhL.cjs +6 -0
- package/dist/getSliderMarks-DDJ1CdhL.cjs.map +1 -0
- package/dist/getTextColorBasedOnBgColor.d.ts +13 -0
- package/dist/getTextColorBasedOnBgColor.js +2 -0
- package/dist/getTextColorBasedOnBgColor.js.map +1 -0
- package/dist/getUniqValue.d.ts +18 -0
- package/dist/getUniqValue.js +2 -0
- package/dist/getUniqValue.js.map +1 -0
- package/dist/graphList.d.ts +9 -0
- package/dist/graphList.js +2 -0
- package/dist/graphList.js.map +1 -0
- package/dist/imageDownload.d.ts +16 -0
- package/dist/imageDownload.js +3 -0
- package/dist/imageDownload.js.map +1 -0
- package/dist/index-01r5X3Gr-9jE0ObrK.cjs +2 -0
- package/dist/index-01r5X3Gr-9jE0ObrK.cjs.map +1 -0
- package/dist/index-01r5X3Gr-kH7FxQ7P.js +451 -0
- package/dist/index-01r5X3Gr-kH7FxQ7P.js.map +1 -0
- package/dist/index-27yTRcko.js +35 -0
- package/dist/index-27yTRcko.js.map +1 -0
- package/dist/index-B0rbzOoC.cjs +2 -0
- package/dist/index-B0rbzOoC.cjs.map +1 -0
- package/dist/index-BGMGC-HN.cjs +22 -0
- package/dist/index-BGMGC-HN.cjs.map +1 -0
- package/dist/index-BHm2KTjD-2e-Fu8L-.js +702 -0
- package/dist/index-BHm2KTjD-2e-Fu8L-.js.map +1 -0
- package/dist/index-BHm2KTjD-D8FylaKc.cjs +44 -0
- package/dist/index-BHm2KTjD-D8FylaKc.cjs.map +1 -0
- package/dist/index-BIPNFFja.js +506 -0
- package/dist/index-BIPNFFja.js.map +1 -0
- package/dist/index-BLizQDlg.js +658 -0
- package/dist/index-BLizQDlg.js.map +1 -0
- package/dist/index-BXns0-ng.cjs +2 -0
- package/dist/index-BXns0-ng.cjs.map +1 -0
- package/dist/index-BYroABPm.cjs +2 -0
- package/dist/index-BYroABPm.cjs.map +1 -0
- package/dist/index-BczVvEBZ.cjs +2 -0
- package/dist/index-BczVvEBZ.cjs.map +1 -0
- package/dist/index-BzeLQvXk.cjs +2 -0
- package/dist/index-BzeLQvXk.cjs.map +1 -0
- package/dist/index-C1rRk_50.js +273 -0
- package/dist/index-C1rRk_50.js.map +1 -0
- package/dist/index-C21TvELx.cjs +2 -0
- package/dist/index-C21TvELx.cjs.map +1 -0
- package/dist/index-CEc_9zWy.cjs +2 -0
- package/dist/index-CEc_9zWy.cjs.map +1 -0
- package/dist/index-CZbIGs8q.cjs +2 -0
- package/dist/index-CZbIGs8q.cjs.map +1 -0
- package/dist/index-CaAIPGZo.js +631 -0
- package/dist/index-CaAIPGZo.js.map +1 -0
- package/dist/index-CbVeVrla.cjs +2 -0
- package/dist/index-CbVeVrla.cjs.map +1 -0
- package/dist/index-CqzhBPuO-CfQywbdq.js +41 -0
- package/dist/index-CqzhBPuO-CfQywbdq.js.map +1 -0
- package/dist/index-CqzhBPuO-raKZqS7l.cjs +2 -0
- package/dist/index-CqzhBPuO-raKZqS7l.cjs.map +1 -0
- package/dist/index-D7ltPi18.js +26 -0
- package/dist/index-D7ltPi18.js.map +1 -0
- package/dist/index-DSnvdkHZ.js +495 -0
- package/dist/index-DSnvdkHZ.js.map +1 -0
- package/dist/index-DXmF_0ez.js +308 -0
- package/dist/index-DXmF_0ez.js.map +1 -0
- package/dist/index-Db-Yg_Ud.js +120 -0
- package/dist/index-Db-Yg_Ud.js.map +1 -0
- package/dist/index-Ds0uHjK9.cjs +2 -0
- package/dist/index-Ds0uHjK9.cjs.map +1 -0
- package/dist/index-DxagiOHo.js +707 -0
- package/dist/index-DxagiOHo.js.map +1 -0
- package/dist/index-DzdwZ2OA.js +77 -0
- package/dist/index-DzdwZ2OA.js.map +1 -0
- package/dist/index-UV9hjG_S.js +53 -0
- package/dist/index-UV9hjG_S.js.map +1 -0
- package/dist/index-a2C2Bqn2.cjs +10 -0
- package/dist/index-a2C2Bqn2.cjs.map +1 -0
- package/dist/index.js +1 -52488
- package/dist/index.js.map +1 -1
- package/dist/init-BhZylTFx.js +63 -0
- package/dist/init-BhZylTFx.js.map +1 -0
- package/dist/init-DU0ybBc_.cjs +2 -0
- package/dist/init-DU0ybBc_.cjs.map +1 -0
- package/dist/line-CPfhohvF.js +68 -0
- package/dist/line-CPfhohvF.js.map +1 -0
- package/dist/line-DHV4JwCR.cjs +2 -0
- package/dist/line-DHV4JwCR.cjs.map +1 -0
- package/dist/linear-BVckp9RD.cjs +2 -0
- package/dist/linear-BVckp9RD.cjs.map +1 -0
- package/dist/linear-DUdu7l2G.js +221 -0
- package/dist/linear-DUdu7l2G.js.map +1 -0
- package/dist/numberFormattingFunction.d.ts +22 -0
- package/dist/numberFormattingFunction.js +2 -0
- package/dist/numberFormattingFunction.js.map +1 -0
- package/dist/ordinal-BOeNbyae.cjs +2 -0
- package/dist/ordinal-BOeNbyae.cjs.map +1 -0
- package/dist/ordinal-w9Lu4Stb.js +62 -0
- package/dist/ordinal-w9Lu4Stb.js.map +1 -0
- package/dist/parse-DlCRUFh_.js +2768 -0
- package/dist/parse-DlCRUFh_.js.map +1 -0
- package/dist/parse-hMnG_lRV.cjs +2 -0
- package/dist/parse-hMnG_lRV.cjs.map +1 -0
- package/dist/pointer-CWRWOsrb.js +23 -0
- package/dist/pointer-CWRWOsrb.js.map +1 -0
- package/dist/pointer-Dkq5NV1q.cjs +2 -0
- package/dist/pointer-Dkq5NV1q.cjs.map +1 -0
- package/dist/pow-B5-jkdHU.cjs +2 -0
- package/dist/pow-B5-jkdHU.cjs.map +1 -0
- package/dist/pow-e8zx3AQJ.js +35 -0
- package/dist/pow-e8zx3AQJ.js.map +1 -0
- package/dist/removeOutliers.d.ts +16 -0
- package/dist/removeOutliers.js +2 -0
- package/dist/removeOutliers.js.map +1 -0
- package/dist/select-Bnfk0lJx.cjs +2 -0
- package/dist/select-Bnfk0lJx.cjs.map +1 -0
- package/dist/select-DKy99ogv.js +584 -0
- package/dist/select-DKy99ogv.js.map +1 -0
- package/dist/simple-statistics-flVzqVtt.js +65 -0
- package/dist/simple-statistics-flVzqVtt.js.map +1 -0
- package/dist/simple-statistics-xm8c0LQQ.cjs +2 -0
- package/dist/simple-statistics-xm8c0LQQ.cjs.map +1 -0
- package/dist/step-BZ3C8QFW.cjs +2 -0
- package/dist/step-BZ3C8QFW.cjs.map +1 -0
- package/dist/step-BrDul-H4.js +119 -0
- package/dist/step-BrDul-H4.js.map +1 -0
- package/dist/string-B8KlVSPX.js +364 -0
- package/dist/string-B8KlVSPX.js.map +1 -0
- package/dist/string-CRoCZCYa.cjs +2 -0
- package/dist/string-CRoCZCYa.cjs.map +1 -0
- package/dist/string2HTML-BX0oNw83.js +758 -0
- package/dist/string2HTML-BX0oNw83.js.map +1 -0
- package/dist/string2HTML-X4ZYX5jI.cjs +3 -0
- package/dist/string2HTML-X4ZYX5jI.cjs.map +1 -0
- package/dist/style.css +1 -1
- package/dist/svgDownload.d.ts +16 -0
- package/dist/svgDownload.js +2 -0
- package/dist/svgDownload.js.map +1 -0
- package/dist/threshold-DFfqcDMa.js +23 -0
- package/dist/threshold-DFfqcDMa.js.map +1 -0
- package/dist/threshold-DNsSUf8Q.cjs +2 -0
- package/dist/threshold-DNsSUf8Q.cjs.map +1 -0
- package/dist/time-Byw_jYQ7.cjs +2 -0
- package/dist/time-Byw_jYQ7.cjs.map +1 -0
- package/dist/time-BzJP5SPC.js +715 -0
- package/dist/time-BzJP5SPC.js.map +1 -0
- package/dist/timer-B39XOBYL.js +124 -0
- package/dist/timer-B39XOBYL.js.map +1 -0
- package/dist/timer-CKyBCVzT.cjs +2 -0
- package/dist/timer-CKyBCVzT.cjs.map +1 -0
- package/dist/toConsumableArray-BSMMWi3w-Cu4vcE-m.js +139 -0
- package/dist/toConsumableArray-BSMMWi3w-Cu4vcE-m.js.map +1 -0
- package/dist/toConsumableArray-BSMMWi3w-DJL7-zAp.cjs +4 -0
- package/dist/toConsumableArray-BSMMWi3w-DJL7-zAp.cjs.map +1 -0
- package/dist/transformColumnsToArray.d.ts +38 -0
- package/dist/transformColumnsToArray.js +2 -0
- package/dist/transformColumnsToArray.js.map +1 -0
- package/dist/transformDataForAggregation.d.ts +38 -0
- package/dist/transformDataForAggregation.js +2 -0
- package/dist/transformDataForAggregation.js.map +1 -0
- package/dist/transformDataForGraph.d.ts +47 -0
- package/dist/transformDataForGraph.js +2 -0
- package/dist/transformDataForGraph.js.map +1 -0
- package/dist/transformDataForGraphFromFile.d.ts +66 -0
- package/dist/transformDataForGraphFromFile.js +2 -0
- package/dist/transformDataForGraphFromFile.js.map +1 -0
- package/dist/use-in-view-CZPXmTZM.js +4645 -0
- package/dist/use-in-view-CZPXmTZM.js.map +1 -0
- package/dist/use-in-view-Dl1CsAIo.cjs +2 -0
- package/dist/use-in-view-Dl1CsAIo.cjs.map +1 -0
- package/dist/validateSchema.d.ts +68 -0
- package/dist/validateSchema.js +2 -0
- package/dist/validateSchema.js.map +1 -0
- package/dist/x-Dft9NVe_-DcB7wtv5.js +61 -0
- package/dist/x-Dft9NVe_-DcB7wtv5.js.map +1 -0
- package/dist/x-Dft9NVe_-LeyJu02C.cjs +27 -0
- package/dist/x-Dft9NVe_-LeyJu02C.cjs.map +1 -0
- package/dist/y-D0sAaVii.js +421 -0
- package/dist/y-D0sAaVii.js.map +1 -0
- package/dist/y-QcCbqrzx.cjs +2 -0
- package/dist/y-QcCbqrzx.cjs.map +1 -0
- package/dist/zoom-Lo7IAUfC.cjs +2 -0
- package/dist/zoom-Lo7IAUfC.cjs.map +1 -0
- package/dist/zoom-_lqdiGoI.js +1983 -0
- package/dist/zoom-_lqdiGoI.js.map +1 -0
- package/package.json +415 -4
- package/dist/index.cjs +0 -68
- package/dist/index.cjs.map +0 -1
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { JSX } from 'react/jsx-runtime';
|
|
2
|
+
|
|
3
|
+
declare interface AxesClassNameObject {
|
|
4
|
+
gridLines?: string;
|
|
5
|
+
labels?: string;
|
|
6
|
+
title?: string;
|
|
7
|
+
axis?: string;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
declare interface AxesStyleObject {
|
|
11
|
+
gridLines?: React.CSSProperties;
|
|
12
|
+
labels?: React.CSSProperties;
|
|
13
|
+
title?: React.CSSProperties;
|
|
14
|
+
axis?: React.CSSProperties;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export declare function BasicStatCard(props: Props): JSX.Element;
|
|
18
|
+
|
|
19
|
+
declare interface ClassNameObject {
|
|
20
|
+
title?: string;
|
|
21
|
+
footnote?: string;
|
|
22
|
+
source?: string;
|
|
23
|
+
description?: string;
|
|
24
|
+
tooltip?: string;
|
|
25
|
+
xAxis?: AxesClassNameObject;
|
|
26
|
+
yAxis?: AxesClassNameObject;
|
|
27
|
+
legend?: string;
|
|
28
|
+
graphContainer?: string;
|
|
29
|
+
graphObjectValues?: string;
|
|
30
|
+
dataConnectors?: string;
|
|
31
|
+
mouseOverLine?: string;
|
|
32
|
+
regLine?: string;
|
|
33
|
+
dataCards?: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
declare type Languages = 'en' | 'ar' | 'az' | 'bn' | 'cy' | 'he' | 'hi' | 'jp' | 'ka' | 'km' | 'ko' | 'my' | 'ne' | 'zh' | 'custom';
|
|
37
|
+
|
|
38
|
+
declare interface Props {
|
|
39
|
+
/** Title of the graph */
|
|
40
|
+
graphTitle?: string | React.ReactNode;
|
|
41
|
+
/** Description of the graph */
|
|
42
|
+
graphDescription?: string | React.ReactNode;
|
|
43
|
+
/** Footnote for the graph */
|
|
44
|
+
footNote?: string | React.ReactNode;
|
|
45
|
+
/** Source data for the graph */
|
|
46
|
+
sources?: SourcesDataType[];
|
|
47
|
+
/** Accessibility label */
|
|
48
|
+
ariaLabel?: string;
|
|
49
|
+
/** Background color of the graph */
|
|
50
|
+
backgroundColor?: string | boolean;
|
|
51
|
+
/** Defines the layout for the cards */
|
|
52
|
+
layout?: 'primary' | 'secondary';
|
|
53
|
+
/** Font size of the main text */
|
|
54
|
+
headingFontSize?: string;
|
|
55
|
+
/** Padding around the graph. Defaults to 0 if no backgroundColor is mentioned else defaults to 1rem */
|
|
56
|
+
padding?: string;
|
|
57
|
+
/** Toggle the fill color of the main text. */
|
|
58
|
+
textBackground?: boolean;
|
|
59
|
+
/** Toggle is the text is center aligned. */
|
|
60
|
+
centerAlign?: boolean;
|
|
61
|
+
/** Vertical alignment of the main text */
|
|
62
|
+
verticalAlign?: 'center' | 'top' | 'bottom';
|
|
63
|
+
/** Custom styles for the graph. Each object should be a valid React CSS style object. */
|
|
64
|
+
styles?: StyleObject;
|
|
65
|
+
/** Custom class names */
|
|
66
|
+
classNames?: ClassNameObject;
|
|
67
|
+
/** Prefix for values */
|
|
68
|
+
prefix?: string;
|
|
69
|
+
/** Suffix for values */
|
|
70
|
+
suffix?: string;
|
|
71
|
+
/** Specifies the number of decimal places to display in the value. */
|
|
72
|
+
precision?: number;
|
|
73
|
+
/** Main text */
|
|
74
|
+
value: number | string;
|
|
75
|
+
/** Sub text next to main text */
|
|
76
|
+
year?: number | string;
|
|
77
|
+
/** Language setting */
|
|
78
|
+
language?: Languages;
|
|
79
|
+
/** Color theme */
|
|
80
|
+
theme?: 'light' | 'dark';
|
|
81
|
+
/** Unique ID for the graph */
|
|
82
|
+
graphID?: string;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
declare interface SourcesDataType {
|
|
86
|
+
source: string;
|
|
87
|
+
link?: string;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
declare interface StyleObject {
|
|
91
|
+
title?: React.CSSProperties;
|
|
92
|
+
footnote?: React.CSSProperties;
|
|
93
|
+
source?: React.CSSProperties;
|
|
94
|
+
description?: React.CSSProperties;
|
|
95
|
+
graphContainer?: React.CSSProperties;
|
|
96
|
+
tooltip?: React.CSSProperties;
|
|
97
|
+
xAxis?: AxesStyleObject;
|
|
98
|
+
yAxis?: AxesStyleObject;
|
|
99
|
+
graphObjectValues?: React.CSSProperties;
|
|
100
|
+
dataConnectors?: React.CSSProperties;
|
|
101
|
+
mouseOverLine?: React.CSSProperties;
|
|
102
|
+
regLine?: React.CSSProperties;
|
|
103
|
+
dataCards?: React.CSSProperties;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export { }
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-BHm2KTjD-D8FylaKc.cjs"),c=require("./Typography-CDR-DAHH.cjs"),N=require("./GraphFooter.js"),E=require("./GraphHeader.js"),w=require("./numberFormattingFunction.js");function v(R){const{year:o,value:p,graphTitle:i,suffix:m="",sources:l,prefix:u="",graphDescription:n,footNote:x,padding:d,backgroundColor:a=!1,graphID:k,language:s="en",theme:S="light",ariaLabel:$,textBackground:g=!1,headingFontSize:h="4.375rem",centerAlign:f=!1,verticalAlign:y="center",layout:j="primary",styles:t,classNames:r,precision:b}=R;return e.jsxRuntimeExports.jsx("div",{className:`${S||"light"} flex w-full`,dir:s==="he"||s==="ar"?"rtl":void 0,children:e.jsxRuntimeExports.jsx("div",{className:c.cnExports.cn(`${a?a===!0?"bg-primary-gray-200 dark:bg-primary-gray-650 ":"":"bg-transparent "}flex flex-col w-full h-inherit ${s||"en"}`,r?.graphContainer),style:{...t?.graphContainer||{},...a&&a!==!0?{backgroundColor:a}:{}},id:k,"aria-label":$||`${i?`The graph shows ${i}. `:""}This is a statistic card.${n?` ${n}`:""}`,children:e.jsxRuntimeExports.jsx("div",{className:"flex grow",style:{padding:a?d||"1rem":d||0},children:j!=="secondary"?e.jsxRuntimeExports.jsxs("div",{className:"flex flex-col w-full gap-12 justify-between grow",children:[i||n?e.jsxRuntimeExports.jsx(E.GraphHeader,{styles:{title:t?.title,description:t?.description},classNames:{title:r?.title,description:r?.description},graphTitle:i,graphDescription:n}):null,e.jsxRuntimeExports.jsx("div",{className:`flex flex-col justify-between grow ${y==="top"?"justify-start":y==="bottom"?"justify-end":"justify-center"}`,children:e.jsxRuntimeExports.jsxs(c.TypographyExports.H3,{marginBottom:"base",className:`leading-none text-outline font-heading ${f?"text-center":s==="he"||s==="ar"?"text-right":"text-left"} ${g?"text-primary-black dark:text-primary-white":"transparent"}`,style:{fontSize:h,letterSpacing:"0.05rem"},children:[w.numberFormattingFunction(p,"NA",b,u,m)," ",o?e.jsxRuntimeExports.jsxs("span",{className:"text-lg font-normal mt-0 mb-4 text-primary-gray-550 dark:text-primary-gray-400",style:{marginLeft:"-8px",lineHeight:"1.09",textShadow:"none",WebkitTextStrokeWidth:0},children:["(",o,")"]}):null]})}),l||x?e.jsxRuntimeExports.jsx(N.GraphFooter,{styles:{footnote:t?.footnote,source:t?.source},classNames:{footnote:r?.footnote,source:r?.source},sources:l,footNote:x}):null]}):e.jsxRuntimeExports.jsxs("div",{className:"flex flex-col w-full gap-4 grow justify-center",children:[e.jsxRuntimeExports.jsxs(c.TypographyExports.H3,{marginBottom:j==="secondary"?"none":"base",className:`leading-none text-outline font-heading ${f?"text-center":s==="he"||s==="ar"?"text-right":"text-left"} ${g?"text-primary-black dark:text-primary-white":"transparent"}`,style:{fontSize:h,letterSpacing:"0.05rem"},children:[w.numberFormattingFunction(p,"NA",b,u,m)," ",o?e.jsxRuntimeExports.jsxs("span",{className:"text-lg font-normal mt-0 mb-4 text-primary-gray-550 dark:text-primary-gray-400",style:{marginLeft:"-8px",lineHeight:"1.09",textShadow:"none",WebkitTextStrokeWidth:0},children:["(",o,")"]}):null]}),i||n?e.jsxRuntimeExports.jsx(E.GraphHeader,{styles:{title:t?.title,description:t?.description},classNames:{title:r?.title,description:r?.description},graphTitle:i,graphDescription:n}):null,l||x?e.jsxRuntimeExports.jsx(N.GraphFooter,{styles:{footnote:t?.footnote,source:t?.source},classNames:{footnote:r?.footnote,source:r?.source},sources:l,footNote:x}):null]})})})})}exports.BasicStatCard=v;
|
|
2
|
+
//# sourceMappingURL=BasicStatCard.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BasicStatCard.js","sources":["../src/Components/Graphs/StatCard/index.tsx"],"sourcesContent":["import { H3 } from '@undp/design-system-react/Typography';\r\nimport { cn } from '@undp/design-system-react/cn';\r\n\r\nimport { GraphFooter } from '@/Components/Elements/GraphFooter';\r\nimport { GraphHeader } from '@/Components/Elements/GraphHeader';\r\nimport { numberFormattingFunction } from '@/Utils/numberFormattingFunction';\r\nimport { ClassNameObject, Languages, SourcesDataType, StyleObject } from '@/Types';\r\n\r\ninterface Props {\r\n // Titles, Labels, and Sources\r\n /** Title of the graph */\r\n graphTitle?: string | React.ReactNode;\r\n /** Description of the graph */\r\n graphDescription?: string | React.ReactNode;\r\n /** Footnote for the graph */\r\n footNote?: string | React.ReactNode;\r\n /** Source data for the graph */\r\n sources?: SourcesDataType[];\r\n /** Accessibility label */\r\n ariaLabel?: string;\r\n\r\n // Colors and Styling\r\n /** Background color of the graph */\r\n backgroundColor?: string | boolean;\r\n /** Defines the layout for the cards */\r\n layout?: 'primary' | 'secondary';\r\n /** Font size of the main text */\r\n headingFontSize?: string;\r\n /** Padding around the graph. Defaults to 0 if no backgroundColor is mentioned else defaults to 1rem */\r\n padding?: string;\r\n /** Toggle the fill color of the main text. */\r\n textBackground?: boolean;\r\n /** Toggle is the text is center aligned. */\r\n centerAlign?: boolean;\r\n /** Vertical alignment of the main text */\r\n verticalAlign?: 'center' | 'top' | 'bottom';\r\n /** Custom styles for the graph. Each object should be a valid React CSS style object. */\r\n styles?: StyleObject;\r\n /** Custom class names */\r\n classNames?: ClassNameObject;\r\n\r\n // Values and Ticks\r\n /** Prefix for values */\r\n prefix?: string;\r\n /** Suffix for values */\r\n suffix?: string;\r\n /** Specifies the number of decimal places to display in the value. */\r\n precision?: number;\r\n /** Main text */\r\n value: number | string;\r\n /** Sub text next to main text */\r\n year?: number | string;\r\n\r\n // Configuration and Options\r\n /** Language setting */\r\n language?: Languages;\r\n /** Color theme */\r\n theme?: 'light' | 'dark';\r\n /** Unique ID for the graph */\r\n graphID?: string;\r\n}\r\n\r\nexport function BasicStatCard(props: Props) {\r\n const {\r\n year,\r\n value,\r\n graphTitle,\r\n suffix = '',\r\n sources,\r\n prefix = '',\r\n graphDescription,\r\n footNote,\r\n padding,\r\n backgroundColor = false,\r\n graphID,\r\n language = 'en',\r\n theme = 'light',\r\n ariaLabel,\r\n textBackground = false,\r\n headingFontSize = '4.375rem',\r\n centerAlign = false,\r\n verticalAlign = 'center',\r\n layout = 'primary',\r\n styles,\r\n classNames,\r\n precision,\r\n } = props;\r\n return (\r\n <div\r\n className={`${theme || 'light'} flex w-full`}\r\n dir={language === 'he' || language === 'ar' ? 'rtl' : undefined}\r\n >\r\n <div\r\n className={cn(\r\n `${\r\n !backgroundColor\r\n ? 'bg-transparent '\r\n : backgroundColor === true\r\n ? 'bg-primary-gray-200 dark:bg-primary-gray-650 '\r\n : ''\r\n }flex flex-col w-full h-inherit ${language || 'en'}`,\r\n classNames?.graphContainer,\r\n )}\r\n style={{\r\n ...(styles?.graphContainer || {}),\r\n ...(backgroundColor && backgroundColor !== true ? { backgroundColor } : {}),\r\n }}\r\n id={graphID}\r\n aria-label={\r\n ariaLabel ||\r\n `${graphTitle ? `The graph shows ${graphTitle}. ` : ''}This is a statistic card.${\r\n graphDescription ? ` ${graphDescription}` : ''\r\n }`\r\n }\r\n >\r\n <div\r\n className='flex grow'\r\n style={{ padding: backgroundColor ? padding || '1rem' : padding || 0 }}\r\n >\r\n {layout !== 'secondary' ? (\r\n <div className='flex flex-col w-full gap-12 justify-between grow'>\r\n {graphTitle || graphDescription ? (\r\n <GraphHeader\r\n styles={{\r\n title: styles?.title,\r\n description: styles?.description,\r\n }}\r\n classNames={{\r\n title: classNames?.title,\r\n description: classNames?.description,\r\n }}\r\n graphTitle={graphTitle}\r\n graphDescription={graphDescription}\r\n />\r\n ) : null}\r\n <div\r\n className={`flex flex-col justify-between grow ${\r\n verticalAlign === 'top'\r\n ? 'justify-start'\r\n : verticalAlign === 'bottom'\r\n ? 'justify-end'\r\n : 'justify-center'\r\n }`}\r\n >\r\n <H3\r\n marginBottom='base'\r\n className={`leading-none text-outline font-heading ${\r\n centerAlign\r\n ? 'text-center'\r\n : language === 'he' || language === 'ar'\r\n ? 'text-right'\r\n : 'text-left'\r\n } ${textBackground ? 'text-primary-black dark:text-primary-white' : 'transparent'}`}\r\n style={{\r\n fontSize: headingFontSize,\r\n letterSpacing: '0.05rem',\r\n }}\r\n >\r\n {numberFormattingFunction(value, 'NA', precision, prefix, suffix)}{' '}\r\n {year ? (\r\n <span\r\n className='text-lg font-normal mt-0 mb-4 text-primary-gray-550 dark:text-primary-gray-400'\r\n style={{\r\n marginLeft: '-8px',\r\n lineHeight: '1.09',\r\n textShadow: 'none',\r\n WebkitTextStrokeWidth: 0,\r\n }}\r\n >\r\n ({year})\r\n </span>\r\n ) : null}\r\n </H3>\r\n </div>\r\n {sources || footNote ? (\r\n <GraphFooter\r\n styles={{ footnote: styles?.footnote, source: styles?.source }}\r\n classNames={{\r\n footnote: classNames?.footnote,\r\n source: classNames?.source,\r\n }}\r\n sources={sources}\r\n footNote={footNote}\r\n />\r\n ) : null}\r\n </div>\r\n ) : (\r\n <div className='flex flex-col w-full gap-4 grow justify-center'>\r\n <H3\r\n marginBottom={layout === 'secondary' ? 'none' : 'base'}\r\n className={`leading-none text-outline font-heading ${\r\n centerAlign\r\n ? 'text-center'\r\n : language === 'he' || language === 'ar'\r\n ? 'text-right'\r\n : 'text-left'\r\n } ${textBackground ? 'text-primary-black dark:text-primary-white' : 'transparent'}`}\r\n style={{\r\n fontSize: headingFontSize,\r\n letterSpacing: '0.05rem',\r\n }}\r\n >\r\n {numberFormattingFunction(value, 'NA', precision, prefix, suffix)}{' '}\r\n {year ? (\r\n <span\r\n className='text-lg font-normal mt-0 mb-4 text-primary-gray-550 dark:text-primary-gray-400'\r\n style={{\r\n marginLeft: '-8px',\r\n lineHeight: '1.09',\r\n textShadow: 'none',\r\n WebkitTextStrokeWidth: 0,\r\n }}\r\n >\r\n ({year})\r\n </span>\r\n ) : null}\r\n </H3>\r\n {graphTitle || graphDescription ? (\r\n <GraphHeader\r\n styles={{\r\n title: styles?.title,\r\n description: styles?.description,\r\n }}\r\n classNames={{\r\n title: classNames?.title,\r\n description: classNames?.description,\r\n }}\r\n graphTitle={graphTitle}\r\n graphDescription={graphDescription}\r\n />\r\n ) : null}\r\n {sources || footNote ? (\r\n <GraphFooter\r\n styles={{ footnote: styles?.footnote, source: styles?.source }}\r\n classNames={{\r\n footnote: classNames?.footnote,\r\n source: classNames?.source,\r\n }}\r\n sources={sources}\r\n footNote={footNote}\r\n />\r\n ) : null}\r\n </div>\r\n )}\r\n </div>\r\n </div>\r\n </div>\r\n );\r\n}\r\n"],"names":["BasicStatCard","props","year","value","graphTitle","suffix","sources","prefix","graphDescription","footNote","padding","backgroundColor","graphID","language","theme","ariaLabel","textBackground","headingFontSize","centerAlign","verticalAlign","layout","styles","classNames","precision","jsx","cn","jsxs","GraphHeader","H3","numberFormattingFunction","GraphFooter"],"mappings":"+QA8DO,SAASA,EAAcC,EAAc,CAC1C,KAAM,CACJ,KAAAC,EACA,MAAAC,EACA,WAAAC,EACA,OAAAC,EAAS,GACT,QAAAC,EACA,OAAAC,EAAS,GACT,iBAAAC,EACA,SAAAC,EACA,QAAAC,EACA,gBAAAC,EAAkB,GAClB,QAAAC,EACA,SAAAC,EAAW,KACX,MAAAC,EAAQ,QACR,UAAAC,EACA,eAAAC,EAAiB,GACjB,gBAAAC,EAAkB,WAClB,YAAAC,EAAc,GACd,cAAAC,EAAgB,SAChB,OAAAC,EAAS,UACT,OAAAC,EACA,WAAAC,EACA,UAAAC,CAAA,EACEtB,EACJ,OACEuB,EAAAA,kBAAAA,IAAC,MAAA,CACC,UAAW,GAAGV,GAAS,OAAO,eAC9B,IAAKD,IAAa,MAAQA,IAAa,KAAO,MAAQ,OAEtD,SAAAW,EAAAA,kBAAAA,IAAC,MAAA,CACC,UAAWC,EAAAA,UAAAA,GACT,GACGd,EAEGA,IAAoB,GAClB,gDACA,GAHF,iBAIN,kCAAkCE,GAAY,IAAI,GAClDS,GAAY,cAAA,EAEd,MAAO,CACL,GAAID,GAAQ,gBAAkB,CAAA,EAC9B,GAAIV,GAAmBA,IAAoB,GAAO,CAAE,gBAAAA,CAAA,EAAoB,CAAA,CAAC,EAE3E,GAAIC,EACJ,aACEG,GACA,GAAGX,EAAa,mBAAmBA,CAAU,KAAO,EAAE,4BACpDI,EAAmB,IAAIA,CAAgB,GAAK,EAC9C,GAGF,SAAAgB,EAAAA,kBAAAA,IAAC,MAAA,CACC,UAAU,YACV,MAAO,CAAE,QAASb,EAAkBD,GAAW,OAASA,GAAW,CAAA,EAElE,SAAAU,IAAW,YACVM,EAAAA,kBAAAA,KAAC,MAAA,CAAI,UAAU,mDACZ,SAAA,CAAAtB,GAAcI,EACbgB,EAAAA,kBAAAA,IAACG,EAAAA,YAAA,CACC,OAAQ,CACN,MAAON,GAAQ,MACf,YAAaA,GAAQ,WAAA,EAEvB,WAAY,CACV,MAAOC,GAAY,MACnB,YAAaA,GAAY,WAAA,EAE3B,WAAAlB,EACA,iBAAAI,CAAA,CAAA,EAEA,KACJgB,EAAAA,kBAAAA,IAAC,MAAA,CACC,UAAW,sCACTL,IAAkB,MACd,gBACAA,IAAkB,SAChB,cACA,gBACR,GAEA,SAAAO,EAAAA,kBAAAA,KAACE,EAAAA,kBAAAA,GAAA,CACC,aAAa,OACb,UAAW,0CACTV,EACI,cACAL,IAAa,MAAQA,IAAa,KAChC,aACA,WACR,IAAIG,EAAiB,6CAA+C,aAAa,GACjF,MAAO,CACL,SAAUC,EACV,cAAe,SAAA,EAGhB,SAAA,CAAAY,EAAAA,yBAAyB1B,EAAO,KAAMoB,EAAWhB,EAAQF,CAAM,EAAG,IAClEH,EACCwB,EAAAA,kBAAAA,KAAC,OAAA,CACC,UAAU,iFACV,MAAO,CACL,WAAY,OACZ,WAAY,OACZ,WAAY,OACZ,sBAAuB,CAAA,EAE1B,SAAA,CAAA,IACGxB,EAAK,GAAA,CAAA,CAAA,EAEP,IAAA,CAAA,CAAA,CACN,CAAA,EAEDI,GAAWG,EACVe,EAAAA,kBAAAA,IAACM,EAAAA,YAAA,CACC,OAAQ,CAAE,SAAUT,GAAQ,SAAU,OAAQA,GAAQ,MAAA,EACtD,WAAY,CACV,SAAUC,GAAY,SACtB,OAAQA,GAAY,MAAA,EAEtB,QAAAhB,EACA,SAAAG,CAAA,CAAA,EAEA,IAAA,CAAA,CACN,EAEAiB,EAAAA,kBAAAA,KAAC,MAAA,CAAI,UAAU,iDACb,SAAA,CAAAA,EAAAA,kBAAAA,KAACE,EAAAA,kBAAAA,GAAA,CACC,aAAcR,IAAW,YAAc,OAAS,OAChD,UAAW,0CACTF,EACI,cACAL,IAAa,MAAQA,IAAa,KAChC,aACA,WACR,IAAIG,EAAiB,6CAA+C,aAAa,GACjF,MAAO,CACL,SAAUC,EACV,cAAe,SAAA,EAGhB,SAAA,CAAAY,EAAAA,yBAAyB1B,EAAO,KAAMoB,EAAWhB,EAAQF,CAAM,EAAG,IAClEH,EACCwB,EAAAA,kBAAAA,KAAC,OAAA,CACC,UAAU,iFACV,MAAO,CACL,WAAY,OACZ,WAAY,OACZ,WAAY,OACZ,sBAAuB,CAAA,EAE1B,SAAA,CAAA,IACGxB,EAAK,GAAA,CAAA,CAAA,EAEP,IAAA,CAAA,CAAA,EAELE,GAAcI,EACbgB,EAAAA,kBAAAA,IAACG,EAAAA,YAAA,CACC,OAAQ,CACN,MAAON,GAAQ,MACf,YAAaA,GAAQ,WAAA,EAEvB,WAAY,CACV,MAAOC,GAAY,MACnB,YAAaA,GAAY,WAAA,EAE3B,WAAAlB,EACA,iBAAAI,CAAA,CAAA,EAEA,KACHF,GAAWG,EACVe,EAAAA,kBAAAA,IAACM,EAAAA,YAAA,CACC,OAAQ,CAAE,SAAUT,GAAQ,SAAU,OAAQA,GAAQ,MAAA,EACtD,WAAY,CACV,SAAUC,GAAY,SACtB,OAAQA,GAAY,MAAA,EAEtB,QAAAhB,EACA,SAAAG,CAAA,CAAA,EAEA,IAAA,CAAA,CACN,CAAA,CAAA,CAEJ,CAAA,CACF,CAAA,CAGN"}
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
import { JSX } from 'react/jsx-runtime';
|
|
2
|
+
|
|
3
|
+
declare interface AnimateDataType {
|
|
4
|
+
duration: number;
|
|
5
|
+
once: boolean;
|
|
6
|
+
amount: 'some' | 'all' | number;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
declare interface AxesClassNameObject {
|
|
10
|
+
gridLines?: string;
|
|
11
|
+
labels?: string;
|
|
12
|
+
title?: string;
|
|
13
|
+
axis?: string;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
declare interface AxesStyleObject {
|
|
17
|
+
gridLines?: React.CSSProperties;
|
|
18
|
+
labels?: React.CSSProperties;
|
|
19
|
+
title?: React.CSSProperties;
|
|
20
|
+
axis?: React.CSSProperties;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export declare function BeeSwarmChart(props: Props): JSX.Element;
|
|
24
|
+
|
|
25
|
+
declare interface BeeSwarmChartDataType {
|
|
26
|
+
label: string | number;
|
|
27
|
+
position: number;
|
|
28
|
+
radius?: number;
|
|
29
|
+
color?: string;
|
|
30
|
+
data?: object;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
declare interface ClassNameObject {
|
|
34
|
+
title?: string;
|
|
35
|
+
footnote?: string;
|
|
36
|
+
source?: string;
|
|
37
|
+
description?: string;
|
|
38
|
+
tooltip?: string;
|
|
39
|
+
xAxis?: AxesClassNameObject;
|
|
40
|
+
yAxis?: AxesClassNameObject;
|
|
41
|
+
legend?: string;
|
|
42
|
+
graphContainer?: string;
|
|
43
|
+
graphObjectValues?: string;
|
|
44
|
+
dataConnectors?: string;
|
|
45
|
+
mouseOverLine?: string;
|
|
46
|
+
regLine?: string;
|
|
47
|
+
dataCards?: string;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
declare interface CustomLayerDataType {
|
|
51
|
+
position: 'before' | 'after';
|
|
52
|
+
layer: React.ReactNode;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
declare type Languages = 'en' | 'ar' | 'az' | 'bn' | 'cy' | 'he' | 'hi' | 'jp' | 'ka' | 'km' | 'ko' | 'my' | 'ne' | 'zh' | 'custom';
|
|
56
|
+
|
|
57
|
+
declare interface Props {
|
|
58
|
+
/** Array of data objects */
|
|
59
|
+
data: BeeSwarmChartDataType[];
|
|
60
|
+
/** Orientation of the graph */
|
|
61
|
+
orientation?: 'vertical' | 'horizontal';
|
|
62
|
+
/** Title of the graph */
|
|
63
|
+
graphTitle?: string | React.ReactNode;
|
|
64
|
+
/** Description of the graph */
|
|
65
|
+
graphDescription?: string | React.ReactNode;
|
|
66
|
+
/** Footnote for the graph */
|
|
67
|
+
footNote?: string | React.ReactNode;
|
|
68
|
+
/** Source data for the graph */
|
|
69
|
+
sources?: SourcesDataType[];
|
|
70
|
+
/** Accessibility label */
|
|
71
|
+
ariaLabel?: string;
|
|
72
|
+
/** Color or array of colors for circle */
|
|
73
|
+
colors?: string | string[];
|
|
74
|
+
/** Domain of colors for the graph */
|
|
75
|
+
colorDomain?: string[];
|
|
76
|
+
/** Title for the color legend */
|
|
77
|
+
colorLegendTitle?: string;
|
|
78
|
+
/** Background color of the graph */
|
|
79
|
+
backgroundColor?: string | boolean;
|
|
80
|
+
/** Custom styles for the graph. Each object should be a valid React CSS style object. */
|
|
81
|
+
styles?: StyleObject;
|
|
82
|
+
/** Custom class names */
|
|
83
|
+
classNames?: ClassNameObject;
|
|
84
|
+
/** Width of the graph */
|
|
85
|
+
width?: number;
|
|
86
|
+
/** Height of the graph */
|
|
87
|
+
height?: number;
|
|
88
|
+
/** Minimum height of the graph */
|
|
89
|
+
minHeight?: number;
|
|
90
|
+
/** Relative height scaling factor. This overwrites the height props */
|
|
91
|
+
relativeHeight?: number;
|
|
92
|
+
/** Padding around the graph. Defaults to 0 if no backgroundColor is mentioned else defaults to 1rem */
|
|
93
|
+
padding?: string;
|
|
94
|
+
/** Left margin of the graph */
|
|
95
|
+
leftMargin?: number;
|
|
96
|
+
/** Right margin of the graph */
|
|
97
|
+
rightMargin?: number;
|
|
98
|
+
/** Top margin of the graph */
|
|
99
|
+
topMargin?: number;
|
|
100
|
+
/** Bottom margin of the graph */
|
|
101
|
+
bottomMargin?: number;
|
|
102
|
+
/** Maximum value for the radius of the circle */
|
|
103
|
+
maxRadiusValue?: number;
|
|
104
|
+
/** Minimum value for position of the circle */
|
|
105
|
+
minValue?: number;
|
|
106
|
+
/** Maximum value for position of the circle */
|
|
107
|
+
maxValue?: number;
|
|
108
|
+
/** Reference values for comparison */
|
|
109
|
+
refValues?: ReferenceDataType[];
|
|
110
|
+
/** Number of ticks on the axis */
|
|
111
|
+
noOfTicks?: number;
|
|
112
|
+
/** Toggle visibility of labels */
|
|
113
|
+
showLabels?: boolean;
|
|
114
|
+
/** Toggle visibility of values */
|
|
115
|
+
showTicks?: boolean;
|
|
116
|
+
/** Toggle visibility of color scale. This is only applicable if the data props hae color parameter */
|
|
117
|
+
showColorScale?: boolean;
|
|
118
|
+
/** Toggle visibility of NA color in the color scale. This is only applicable if the data props hae color parameter and showColorScale prop is true */
|
|
119
|
+
showNAColor?: boolean;
|
|
120
|
+
/** Toggles if the ref lines and colors animates in when loaded. */
|
|
121
|
+
animate?: boolean | AnimateDataType;
|
|
122
|
+
/** Data points to highlight. Use the label value from data to highlight the data point */
|
|
123
|
+
highlightedDataPoints?: (string | number)[];
|
|
124
|
+
/** Defines the opacity of the non-highlighted data */
|
|
125
|
+
dimmedOpacity?: number;
|
|
126
|
+
/** Maximum radius of the circles */
|
|
127
|
+
radius?: number;
|
|
128
|
+
/** Specifies the number of decimal places to display in the value. */
|
|
129
|
+
precision?: number;
|
|
130
|
+
/** Optional SVG <g> element or function that renders custom content behind or in front of the graph. */
|
|
131
|
+
customLayers?: CustomLayerDataType[];
|
|
132
|
+
/** Enable graph download option as png */
|
|
133
|
+
graphDownload?: boolean;
|
|
134
|
+
/** Enable data download option as a csv */
|
|
135
|
+
dataDownload?: boolean;
|
|
136
|
+
/** Reset selection on double-click. Only applicable when used in a dashboard context with filters. */
|
|
137
|
+
resetSelectionOnDoubleClick?: boolean;
|
|
138
|
+
/** Tooltip content. If the type is string then this uses the [handlebar](../?path=/docs/misc-handlebars-templates-and-custom-helpers--docs) template to display the data */
|
|
139
|
+
tooltip?: string | ((_d: any) => React.ReactNode);
|
|
140
|
+
/** Details displayed on the modal when user clicks of a data point. If the type is string then this uses the [handlebar](../?path=/docs/misc-handlebars-templates-and-custom-helpers--docs) template to display the data */
|
|
141
|
+
detailsOnClick?: string | ((_d: any) => React.ReactNode);
|
|
142
|
+
/** Callback for mouse over event */
|
|
143
|
+
onSeriesMouseOver?: (_d: any) => void;
|
|
144
|
+
/** Callback for mouse click event */
|
|
145
|
+
onSeriesMouseClick?: (_d: any) => void;
|
|
146
|
+
/** Language setting */
|
|
147
|
+
language?: Languages;
|
|
148
|
+
/** Color theme */
|
|
149
|
+
theme?: 'light' | 'dark';
|
|
150
|
+
/** Unique ID for the graph */
|
|
151
|
+
graphID?: string;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
declare interface ReferenceDataType {
|
|
155
|
+
value: number | null;
|
|
156
|
+
text: string;
|
|
157
|
+
color?: string;
|
|
158
|
+
styles?: {
|
|
159
|
+
line?: React.CSSProperties;
|
|
160
|
+
text?: React.CSSProperties;
|
|
161
|
+
};
|
|
162
|
+
classNames?: {
|
|
163
|
+
line?: string;
|
|
164
|
+
text?: string;
|
|
165
|
+
};
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
declare interface SourcesDataType {
|
|
169
|
+
source: string;
|
|
170
|
+
link?: string;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
declare interface StyleObject {
|
|
174
|
+
title?: React.CSSProperties;
|
|
175
|
+
footnote?: React.CSSProperties;
|
|
176
|
+
source?: React.CSSProperties;
|
|
177
|
+
description?: React.CSSProperties;
|
|
178
|
+
graphContainer?: React.CSSProperties;
|
|
179
|
+
tooltip?: React.CSSProperties;
|
|
180
|
+
xAxis?: AxesStyleObject;
|
|
181
|
+
yAxis?: AxesStyleObject;
|
|
182
|
+
graphObjectValues?: React.CSSProperties;
|
|
183
|
+
dataConnectors?: React.CSSProperties;
|
|
184
|
+
mouseOverLine?: React.CSSProperties;
|
|
185
|
+
regLine?: React.CSSProperties;
|
|
186
|
+
dataCards?: React.CSSProperties;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
export { }
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index-BHm2KTjD-D8FylaKc.cjs"),xe=require("./index-CZbIGs8q.cjs"),u=require("react"),de=require("./Typography-CDR-DAHH.cjs"),he=require("./index-BXns0-ng.cjs"),me=require("./index-BczVvEBZ.cjs"),pe=require("./Modal-cQF2UQIa.cjs"),fe=require("./Spinner-UmN-KPe9.cjs"),ge=require("./numberFormattingFunction.js"),je=require("./Tooltip-BM18N_3l.cjs"),N=require("./checkIfNullOrUndefined.js"),ye=require("./getTextColorBasedOnBgColor.js"),ie=require("./Colors.js"),ve=require("./string2HTML-X4ZYX5jI.cjs"),we=require("./Axis-BlyBRMNw.cjs"),Se=require("./XTicksAndGridLines-DuK35ROS.cjs"),be=require("./ReferenceLine-Bsb5jeE4.cjs"),ae=require("./use-in-view-Dl1CsAIo.cjs"),Ee=require("./pow-B5-jkdHU.cjs"),Re=require("./linear-BVckp9RD.cjs"),le=require("./y-QcCbqrzx.cjs"),Me=require("./index-a2C2Bqn2.cjs"),Ce=require("./GraphFooter.js"),Oe=require("./GraphHeader.js"),ke=require("./ColorLegendWithMouseOver.js"),Ne=require("./EmptyState-BQguKAp5.cjs"),De=require("./YTicksAndGridLines-CtLvzExe.cjs");function $e(ce){const{data:s,circleColors:a,showTicks:M,leftMargin:oe,width:b,height:E,colorDomain:c,rightMargin:se,topMargin:U,bottomMargin:P,showLabels:F,tooltip:j,onSeriesMouseOver:L,refValues:h,selectedColor:G,startFromZero:W,radius:g,maxRadiusValue:X,maxValue:l,minValue:K,highlightedDataPoints:J,onSeriesMouseClick:Y,rtl:re,resetSelectionOnDoubleClick:Q,detailsOnClick:I,suffix:S,prefix:D,styles:y,classNames:q,noOfTicks:C,animate:f,dimmedOpacity:A,precision:O,customLayers:B}=ce,v=u.useRef(null),k=ae.useInView(v,{once:f.once,amount:f.amount}),[z,$]=u.useState(void 0),[T,_]=u.useState(void 0),[ee,m]=u.useState(null),[p,Z]=u.useState(void 0),[H,x]=u.useState(void 0),d={top:U,bottom:P,left:oe,right:se},ne=b-d.left-d.right,w=E-d.top-d.bottom,te=s.filter(e=>!N.checkIfNullOrUndefined(e.radius)).length===0?s:me.orderBy(s.filter(e=>!N.checkIfNullOrUndefined(e.radius)),"radius","desc"),R=N.checkIfNullOrUndefined(l)?Math.max(...s.filter(e=>!N.checkIfNullOrUndefined(e.position)).map(e=>e.position))<0&&!W?0:Math.max(...s.filter(e=>!N.checkIfNullOrUndefined(e.position)).map(e=>e.position)):l,r=N.checkIfNullOrUndefined(K)?Math.min(...s.filter(e=>!N.checkIfNullOrUndefined(e.position)).map(e=>e.position))>=0&&!W?0:Math.min(...s.filter(e=>!N.checkIfNullOrUndefined(e.position)).map(e=>e.position)):K,n=s.filter(e=>e.radius===void 0||e.radius===null).length!==s.length?Ee.sqrt().domain([0,N.checkIfNullOrUndefined(X)?Math.max(...s.map(e=>e.radius).filter(e=>e!=null)):X]).range([.25,g]).nice():void 0,V=Re.linear().domain([r,R]).range([0,ne]).nice(),t=V.ticks(C);return u.useEffect(()=>{m(null);const e=te.filter(o=>o.position);le.forceSimulation(e).force("x",le.forceX(o=>V(o.position)).strength(5)).force("y",le.forceY(o=>w/2).strength(1)).force("collide",le.forceCollide(o=>n?n(o.radius||0)+1:g+1)).force("charge",le.forceManyBody().strength(-15)).alphaDecay(.05).tick(1e4).on("tick",()=>{m(e)}).on("end",()=>{m(e)})},[s,g,w,ne,r,R,te,V,n]),i.jsxRuntimeExports.jsxs(i.jsxRuntimeExports.Fragment,{children:[ee?i.jsxRuntimeExports.jsx(ae.motion.svg,{width:`${b}px`,height:`${E}px`,viewBox:`0 0 ${b} ${E}`,direction:"ltr",ref:v,children:i.jsxRuntimeExports.jsxs("g",{transform:`translate(${d.left},${d.top})`,children:[M?i.jsxRuntimeExports.jsxs(i.jsxRuntimeExports.Fragment,{children:[i.jsxRuntimeExports.jsx(we.Axis,{x1:V(r<0?0:r),x2:V(r<0?0:r),y1:0-d.top,y2:w+d.bottom,label:ge.numberFormattingFunction(r<0?0:r,"NA",O,D,S),labelPos:{x:V(r<0?0:r),y:0-U,dy:"0.75em",dx:3},classNames:{axis:q?.xAxis?.axis,label:q?.yAxis?.labels},styles:{axis:y?.xAxis?.axis,label:y?.yAxis?.labels}}),i.jsxRuntimeExports.jsx(Se.XTicksAndGridLines,{values:t.filter(e=>e!==0),x:t.filter(e=>e!==0).map(e=>V(e)),y1:0-U,y2:w+d.bottom,styles:{gridLines:y?.xAxis?.gridLines,labels:y?.xAxis?.labels},classNames:{gridLines:q?.xAxis?.gridLines,labels:q?.xAxis?.labels},suffix:S,prefix:D,labelType:"secondary",showGridLines:!0,precision:O})]}):null,B.filter(e=>e.position==="before").map(e=>e.layer),i.jsxRuntimeExports.jsxs(Me.AnimatePresence,{children:[ee.map(e=>i.jsxRuntimeExports.jsxs(ae.motion.g,{className:"undp-viz-g-with-hover",transform:`translate(${e.x},${e.y})`,variants:{initial:{opacity:0},whileInView:{opacity:G?e.color&&a[c.indexOf(e.color)]===G?1:A:J.length!==0?J.indexOf(e.label)!==-1?.85:A:.85,transition:{duration:f.duration}}},initial:"initial",animate:k?"whileInView":"initial",exit:{opacity:0,transition:{duration:f.duration}},onMouseEnter:o=>{$(e),x(o.clientY),Z(o.clientX),L?.(e)},onMouseMove:o=>{$(e),x(o.clientY),Z(o.clientX)},onClick:()=>{(Y||I)&&(he.isEqual(T,e)&&Q?(_(void 0),Y?.(void 0)):(_(e),Y?.(e)))},onMouseLeave:()=>{$(void 0),Z(void 0),x(void 0),L?.(void 0)},children:[i.jsxRuntimeExports.jsx(ae.motion.circle,{cx:0,cy:0,variants:{initial:{fill:s.filter(o=>o.color).length===0?a[0]:e.color?a[c.indexOf(e.color)]:ie.Colors.gray,opacity:0,radius:0},whileInView:{fill:s.filter(o=>o.color).length===0?a[0]:e.color?a[c.indexOf(e.color)]:ie.Colors.gray,opacity:1,radius:n?n(e.radius||0):g,transition:{duration:f.duration}}},initial:"initial",animate:k?"whileInView":"initial",exit:{opacity:0,radius:0,transition:{duration:f.duration}}}),(n?n(e.radius||0):g)>10&&F?i.jsxRuntimeExports.jsx(ae.motion.g,{variants:{initial:{opacity:0},whileInView:{opacity:1,transition:{duration:f.duration}}},initial:"initial",animate:k?"whileInView":"initial",exit:{opacity:0,transition:{duration:f.duration}},children:i.jsxRuntimeExports.jsx("foreignObject",{y:0-(n?n(e.radius||0):g),x:0-(n?n(e.radius||0):g),width:2*(n?n(e.radius||0):g),height:2*(n?n(e.radius||0):g),children:i.jsxRuntimeExports.jsx("div",{className:"flex flex-col gap-0.5 justify-center items-center h-inherit py-0 px-1.5",children:F?i.jsxRuntimeExports.jsx("p",{className:de.cnExports.cn("text-center leading-none m-0",q?.graphObjectValues),style:{fontSize:`${Math.min(Math.max(Math.round((n?n(e.radius||0):g)/4),10),Math.max(Math.round((n?n(e.radius||0):g)*12/`${e.label}`.length),10),20)}px`,color:ye.getTextColorBasedOnBgColor(s.filter(o=>o.color).length===0?a[0]:e.color?a[c.indexOf(e.color)]:ie.Colors.gray),hyphens:"auto",...y?.graphObjectValues||{}},children:e.label}):null})})}):null]},e.label)),h?i.jsxRuntimeExports.jsx(i.jsxRuntimeExports.Fragment,{children:h.map((e,o)=>i.jsxRuntimeExports.jsx(be.RefLineX,{text:e.text,color:e.color,x:V(e.value),y1:0-d.top,y2:w+d.bottom,textSide:V(e.value)>ne*.75||re?"left":"right",classNames:e.classNames,styles:e.styles,animate:f,isInView:k},o))}):null]}),B.filter(e=>e.position==="after").map(e=>e.layer)]})}):i.jsxRuntimeExports.jsx("div",{style:{width:`${b}px`,height:`${E}px`},children:i.jsxRuntimeExports.jsx("div",{className:"flex m-auto items-center justify-center p-0 leading-none text-base h-40",children:i.jsxRuntimeExports.jsx(fe.SpinnerExports.Spinner,{})})}),z&&j&&p&&H?i.jsxRuntimeExports.jsx(je.Tooltip,{data:z,body:j,xPos:p,yPos:H,backgroundStyle:y?.tooltip,className:q?.tooltip}):null,I&&T!==void 0?i.jsxRuntimeExports.jsx(pe.ModalExports.Modal,{open:T!==void 0,onClose:()=>{_(void 0)},children:i.jsxRuntimeExports.jsx("div",{className:"graph-modal-content m-0",dangerouslySetInnerHTML:typeof I=="string"?{__html:ve.string2HTML(I,T)}:void 0,children:typeof I=="function"?I(T):null})}):null]})}function Te(ce){const{data:s,graphTitle:a,backgroundColor:M=!1,topMargin:oe=25,bottomMargin:b=10,leftMargin:E=10,rightMargin:c=10,showLabels:se=!0,showTicks:U=!0,colors:P,sources:F,graphDescription:j,height:L,width:h,footNote:G,colorDomain:W,colorLegendTitle:g,padding:X,relativeHeight:l,tooltip:K,onSeriesMouseOver:J,refValues:Y,showColorScale:re,graphID:Q,radius:I=5,maxRadiusValue:S,maxValue:D,minValue:y,highlightedDataPoints:q=[],onSeriesMouseClick:C,graphDownload:f=!1,dataDownload:A=!1,language:O="en",showNAColor:B=!0,minHeight:v=0,theme:k="light",ariaLabel:z,resetSelectionOnDoubleClick:$=!0,detailsOnClick:T,suffix:_="",prefix:ee="",styles:m,classNames:p,noOfTicks:Z,animate:H=!1,dimmedOpacity:x=.3,precision:d=2,customLayers:ne=[]}=ce,[w,te]=u.useState(0),[R,r]=u.useState(0),[n,V]=u.useState(void 0),t=u.useRef(null),e=u.useRef(null);return u.useEffect(()=>{const o=new ResizeObserver(ue=>{te(h||ue[0].target.clientWidth||620),r(L||ue[0].target.clientHeight||480)});return t.current&&(r(t.current.clientHeight||480),te(t.current.clientWidth||620),h||o.observe(t.current)),()=>o.disconnect()},[h,L]),i.jsxRuntimeExports.jsx("div",{className:`${k||"light"} flex ${h?"w-fit grow-0":"w-full grow"}`,dir:O==="he"||O==="ar"?"rtl":void 0,children:i.jsxRuntimeExports.jsx("div",{className:de.cnExports.cn(`${M?M===!0?"bg-primary-gray-200 dark:bg-primary-gray-650 ":"":"bg-transparent "}ml-auto mr-auto flex flex-col grow h-inherit ${O||"en"}`,p?.graphContainer),style:{...m?.graphContainer||{},...M&&M!==!0?{backgroundColor:M}:{}},id:Q,ref:e,"aria-label":z||`${a?`The graph shows ${a}. `:""}This is a bee swarm chart showing the distribution along the x-axes. ${j?` ${j}`:""}`,children:i.jsxRuntimeExports.jsx("div",{className:"flex grow",style:{padding:M?X||"1rem":X||0},children:i.jsxRuntimeExports.jsxs("div",{className:"flex flex-col w-full gap-4 grow justify-between",children:[a||j||f||A?i.jsxRuntimeExports.jsx(Oe.GraphHeader,{styles:{title:m?.title,description:m?.description},classNames:{title:p?.title,description:p?.description},graphTitle:a,graphDescription:j,width:h,graphDownload:f?e.current:void 0,dataDownload:A?s.map(o=>o.data).filter(o=>o!==void 0).length>0?s.map(o=>o.data).filter(o=>o!==void 0):s.filter(o=>o!==void 0):null}):null,i.jsxRuntimeExports.jsx("div",{className:"grow flex flex-col justify-center gap-3 w-full",children:s.length===0?i.jsxRuntimeExports.jsx(Ne.EmptyState,{}):i.jsxRuntimeExports.jsxs(i.jsxRuntimeExports.Fragment,{children:[re!==!1&&s.filter(o=>o.color).length!==0?i.jsxRuntimeExports.jsx(ke.ColorLegendWithMouseOver,{width:h,colorLegendTitle:g,colors:P||ie.Colors[k].categoricalColors.colors,colorDomain:W||xe.uniqBy(s.filter(o=>o.color),"color").map(o=>o.color),setSelectedColor:V,showNAColor:B??!0}):null,i.jsxRuntimeExports.jsx("div",{className:"flex flex-col grow justify-center w-full leading-0",ref:t,"aria-label":"Graph area",children:(h||w)&&(L||R)?i.jsxRuntimeExports.jsx($e,{data:s,circleColors:s.filter(o=>o.color).length===0?P?[P]:[ie.Colors.primaryColors["blue-600"]]:P||ie.Colors[k].categoricalColors.colors,colorDomain:s.filter(o=>o.color).length===0?[]:W||xe.uniqBy(s.filter(o=>o.color),"color").map(o=>o.color),width:h||w,selectedColor:n,height:Math.max(v,L||(l?v?(h||w)*l>v?(h||w)*l:v:(h||w)*l:R)),showTicks:U,leftMargin:E,rightMargin:c,topMargin:oe,bottomMargin:b,showLabels:se,tooltip:K,onSeriesMouseOver:J,refValues:Y,startFromZero:!1,radius:I,maxRadiusValue:S,maxValue:D,minValue:y,highlightedDataPoints:q,onSeriesMouseClick:C,rtl:O==="he"||O==="ar",resetSelectionOnDoubleClick:$,detailsOnClick:T,suffix:_,prefix:ee,styles:m,classNames:p,noOfTicks:Z||5,animate:H===!0?{duration:.5,once:!0,amount:.5}:H||{duration:0,once:!0,amount:0},dimmedOpacity:x,precision:d,customLayers:ne}):null})]})}),F||G?i.jsxRuntimeExports.jsx(Ce.GraphFooter,{styles:{footnote:m?.footnote,source:m?.source},classNames:{footnote:p?.footnote,source:p?.source},sources:F,footNote:G,width:h}):null]})})})})}function Ve(ce){const{data:s,circleColors:a,showTicks:M,leftMargin:oe,width:b,height:E,colorDomain:c,rightMargin:se,topMargin:U,bottomMargin:P,suffix:F,prefix:j,showLabels:L,tooltip:h,onSeriesMouseOver:G,refValues:W,selectedColor:g,startFromZero:X,radius:l,maxRadiusValue:K,maxValue:J,minValue:Y,highlightedDataPoints:re,onSeriesMouseClick:Q,resetSelectionOnDoubleClick:I,detailsOnClick:S,styles:D,classNames:y,noOfTicks:q,animate:C,dimmedOpacity:f,precision:A,customLayers:O}=ce,B=u.useRef(null),v=ae.useInView(B,{once:C.once,amount:C.amount}),[k,z]=u.useState(void 0),[$,T]=u.useState(void 0),[_,ee]=u.useState(null),[m,p]=u.useState(void 0),[Z,H]=u.useState(void 0),x={top:U,bottom:P,left:oe,right:se},d=b-x.left-x.right,ne=E-x.top-x.bottom,w=s.filter(t=>!N.checkIfNullOrUndefined(t.radius)).length===0?s:me.orderBy(s.filter(t=>!N.checkIfNullOrUndefined(t.radius)),"radius","desc"),te=N.checkIfNullOrUndefined(J)?Math.max(...s.filter(t=>!N.checkIfNullOrUndefined(t.position)).map(t=>t.position))<0&&!X?0:Math.max(...s.filter(t=>!N.checkIfNullOrUndefined(t.position)).map(t=>t.position)):J,R=N.checkIfNullOrUndefined(Y)?Math.min(...s.filter(t=>!N.checkIfNullOrUndefined(t.position)).map(t=>t.position))>=0&&!X?0:Math.min(...s.filter(t=>!N.checkIfNullOrUndefined(t.position)).map(t=>t.position)):Y,r=s.filter(t=>t.radius===void 0||t.radius===null).length!==s.length?Ee.sqrt().domain([0,N.checkIfNullOrUndefined(K)?Math.max(...s.map(t=>t.radius).filter(t=>t!=null)):K]).range([.25,l]).nice():void 0,n=Re.linear().domain([R,te]).range([ne,0]).nice(),V=n.ticks(q);return u.useEffect(()=>{ee(null);const t=w.filter(e=>e.position);le.forceSimulation(t).force("y",le.forceY(e=>n(e.position)).strength(5)).force("x",le.forceX(e=>d/2).strength(1)).force("collide",le.forceCollide(e=>r?r(e.radius||0)+1:l+1)).force("charge",le.forceManyBody().strength(-15)).alphaDecay(.05).tick(1e4).on("tick",()=>{ee(t)}).on("end",()=>{ee(t)})},[s,l,ne,d,R,te,w,n,r]),i.jsxRuntimeExports.jsxs(i.jsxRuntimeExports.Fragment,{children:[_?i.jsxRuntimeExports.jsx(ae.motion.svg,{width:`${b}px`,height:`${E}px`,viewBox:`0 0 ${b} ${E}`,direction:"ltr",ref:B,children:i.jsxRuntimeExports.jsxs("g",{transform:`translate(${x.left},${x.top})`,children:[M?i.jsxRuntimeExports.jsxs(i.jsxRuntimeExports.Fragment,{children:[i.jsxRuntimeExports.jsx(we.Axis,{y1:n(R<0?0:R),y2:n(R<0?0:R),x1:0-x.left,x2:d+x.right,label:ge.numberFormattingFunction(R<0?0:R,"NA",A,j,F),labelPos:{x:0-x.left,y:n(R<0?0:R),dx:0,dy:te<0?"1em":-5},classNames:{axis:y?.xAxis?.axis,label:y?.yAxis?.labels},styles:{axis:D?.xAxis?.axis,label:D?.yAxis?.labels}}),i.jsxRuntimeExports.jsx(De.YTicksAndGridLines,{values:V.filter(t=>t!==0),y:V.filter(t=>t!==0).map(t=>n(t)),x1:0-x.left,x2:d+x.right,styles:{gridLines:D?.yAxis?.gridLines,labels:D?.yAxis?.labels},classNames:{gridLines:y?.yAxis?.gridLines,labels:y?.yAxis?.labels},suffix:F,prefix:j,labelType:"secondary",showGridLines:!0,labelPos:"vertical",precision:A})]}):null,O.filter(t=>t.position==="before").map(t=>t.layer),i.jsxRuntimeExports.jsxs(Me.AnimatePresence,{children:[_.map(t=>i.jsxRuntimeExports.jsxs(ae.motion.g,{className:"undp-viz-g-with-hover",transform:`translate(${t.x},${t.y})`,variants:{initial:{opacity:0},whileInView:{opacity:g?t.color&&a[c.indexOf(t.color)]===g?1:f:re.length!==0?re.indexOf(t.label)!==-1?.85:f:.85,transition:{duration:C.duration}}},initial:"initial",animate:v?"whileInView":"initial",exit:{opacity:0,transition:{duration:C.duration}},onMouseEnter:e=>{z(t),H(e.clientY),p(e.clientX),G?.(t)},onMouseMove:e=>{z(t),H(e.clientY),p(e.clientX)},onClick:()=>{(Q||S)&&(he.isEqual($,t)&&I?(T(void 0),Q?.(void 0)):(T(t),Q?.(t)))},onMouseLeave:()=>{z(void 0),p(void 0),H(void 0),G?.(void 0)},children:[i.jsxRuntimeExports.jsx(ae.motion.circle,{cx:0,cy:0,r:r?r(t.radius||0):l,variants:{initial:{fill:s.filter(e=>e.color).length===0?a[0]:t.color?a[c.indexOf(t.color)]:ie.Colors.gray,opacity:0,radius:0},whileInView:{fill:s.filter(e=>e.color).length===0?a[0]:t.color?a[c.indexOf(t.color)]:ie.Colors.gray,opacity:1,radius:r?r(t.radius||0):l,transition:{duration:C.duration}}},initial:"initial",animate:v?"whileInView":"initial",exit:{opacity:0,radius:0,transition:{duration:C.duration}}}),(r?r(t.radius||0):l)>10&&L?i.jsxRuntimeExports.jsx(ae.motion.g,{variants:{initial:{opacity:0},whileInView:{opacity:1,transition:{duration:C.duration}}},initial:"initial",animate:v?"whileInView":"initial",exit:{opacity:0,transition:{duration:C.duration}},children:i.jsxRuntimeExports.jsx("foreignObject",{y:0-(r?r(t.radius||0):l),x:0-(r?r(t.radius||0):l),width:2*(r?r(t.radius||0):l),height:2*(r?r(t.radius||0):l),children:i.jsxRuntimeExports.jsx("div",{className:"flex flex-col justify-center items-center h-inherit py-0 px-1.5",children:L?i.jsxRuntimeExports.jsx("p",{className:de.cnExports.cn("text-center leading-none m-0",y?.graphObjectValues),style:{fontSize:`${Math.min(Math.max(Math.round((r?r(t.radius||0):l)/4),10),Math.max(Math.round((r?r(t.radius||0):l)*12/`${t.label}`.length),10),20)}px`,hyphens:"auto",color:ye.getTextColorBasedOnBgColor(s.filter(e=>e.color).length===0?a[0]:t.color?a[c.indexOf(t.color)]:ie.Colors.gray),...D?.graphObjectValues||{}},children:t.label}):null})})}):null]},t.label)),W?i.jsxRuntimeExports.jsx(i.jsxRuntimeExports.Fragment,{children:W.map((t,e)=>i.jsxRuntimeExports.jsx(be.RefLineY,{text:t.text,color:t.color,y:n(t.value),x1:0-x.left,x2:d+x.right,classNames:t.classNames,styles:t.styles,animate:C,isInView:v},e))}):null]}),O.filter(t=>t.position==="after").map(t=>t.layer)]})}):i.jsxRuntimeExports.jsx("div",{style:{width:`${b}px`,height:`${E}px`},children:i.jsxRuntimeExports.jsx("div",{className:"flex m-auto items-center justify-center p-0 leading-none text-base h-40",children:i.jsxRuntimeExports.jsx(fe.SpinnerExports.Spinner,{})})}),k&&h&&m&&Z?i.jsxRuntimeExports.jsx(je.Tooltip,{data:k,body:h,xPos:m,yPos:Z,backgroundStyle:D?.tooltip,className:y?.tooltip}):null,S&&$!==void 0?i.jsxRuntimeExports.jsx(pe.ModalExports.Modal,{open:$!==void 0,onClose:()=>{T(void 0)},children:i.jsxRuntimeExports.jsx("div",{className:"graph-modal-content m-0",dangerouslySetInnerHTML:typeof S=="string"?{__html:ve.string2HTML(S,$)}:void 0,children:typeof S=="function"?S($):null})}):null]})}function Le(ce){const{data:s,graphTitle:a,colors:M,sources:oe,graphDescription:b,height:E,width:c,footNote:se,colorDomain:U,colorLegendTitle:P,padding:F,backgroundColor:j=!1,topMargin:L=25,bottomMargin:h=10,leftMargin:G=100,rightMargin:W=40,showLabels:g=!0,showTicks:X=!0,relativeHeight:l,tooltip:K,onSeriesMouseOver:J,refValues:Y,showColorScale:re,graphID:Q,radius:I=5,maxRadiusValue:S,maxValue:D,minValue:y,highlightedDataPoints:q=[],onSeriesMouseClick:C,graphDownload:f=!1,dataDownload:A=!1,language:O="en",showNAColor:B=!0,minHeight:v=0,theme:k="light",ariaLabel:z,resetSelectionOnDoubleClick:$=!0,detailsOnClick:T,suffix:_="",prefix:ee="",styles:m,classNames:p,noOfTicks:Z,animate:H=!1,dimmedOpacity:x=.3,precision:d=2,customLayers:ne=[]}=ce,[w,te]=u.useState(0),[R,r]=u.useState(0),[n,V]=u.useState(void 0),t=u.useRef(null),e=u.useRef(null);return u.useEffect(()=>{const o=new ResizeObserver(ue=>{te(c||ue[0].target.clientWidth||620),r(E||ue[0].target.clientHeight||480)});return t.current&&(r(t.current.clientHeight||480),te(t.current.clientWidth||620),c||o.observe(t.current)),()=>o.disconnect()},[c,E]),i.jsxRuntimeExports.jsx("div",{className:`${k||"light"} flex ${c?"w-fit grow-0":"w-full grow"}`,dir:O==="he"||O==="ar"?"rtl":void 0,children:i.jsxRuntimeExports.jsx("div",{className:de.cnExports.cn(`${j?j===!0?"bg-primary-gray-200 dark:bg-primary-gray-650 ":"":"bg-transparent "}ml-auto mr-auto flex flex-col grow h-inherit ${O||"en"}`,p?.graphContainer),style:{...m?.graphContainer||{},...j&&j!==!0?{backgroundColor:j}:{}},id:Q,ref:e,"aria-label":z||`${a?`The graph shows ${a}. `:""}This is a bee swarm chart showing the distribution along the y-axes. ${b?` ${b}`:""}`,children:i.jsxRuntimeExports.jsx("div",{className:"flex grow",style:{padding:j?F||"1rem":F||0},children:i.jsxRuntimeExports.jsxs("div",{className:"flex flex-col w-full gap-4 grow justify-between",children:[a||b||f||A?i.jsxRuntimeExports.jsx(Oe.GraphHeader,{styles:{title:m?.title,description:m?.description},classNames:{title:p?.title,description:p?.description},graphTitle:a,graphDescription:b,width:c,graphDownload:f?e.current:void 0,dataDownload:A?s.map(o=>o.data).filter(o=>o!==void 0).length>0?s.map(o=>o.data).filter(o=>o!==void 0):s.filter(o=>o!==void 0):null}):null,i.jsxRuntimeExports.jsx("div",{className:"grow flex flex-col justify-center gap-3 w-full",children:s.length===0?i.jsxRuntimeExports.jsx(Ne.EmptyState,{}):i.jsxRuntimeExports.jsxs(i.jsxRuntimeExports.Fragment,{children:[re!==!1&&s.filter(o=>o.color).length!==0?i.jsxRuntimeExports.jsx(ke.ColorLegendWithMouseOver,{width:c,colorLegendTitle:P,colors:M||ie.Colors[k].categoricalColors.colors,colorDomain:U||xe.uniqBy(s.filter(o=>o.color),"color").map(o=>o.color),setSelectedColor:V,showNAColor:B}):null,i.jsxRuntimeExports.jsx("div",{className:"flex flex-col grow justify-center w-full leading-0",ref:t,"aria-label":"Graph area",children:(c||w)&&(E||R)?i.jsxRuntimeExports.jsx(Ve,{data:s,circleColors:s.filter(o=>o.color).length===0?M?[M]:[ie.Colors.primaryColors["blue-600"]]:M||ie.Colors[k].categoricalColors.colors,colorDomain:s.filter(o=>o.color).length===0?[]:U||xe.uniqBy(s.filter(o=>o.color),"color").map(o=>o.color),width:c||w,selectedColor:n,height:Math.max(v,E||(l?v?(c||w)*l>v?(c||w)*l:v:(c||w)*l:R)),showTicks:X,leftMargin:G,rightMargin:W,topMargin:L,bottomMargin:h,showLabels:g,tooltip:K,onSeriesMouseOver:J,refValues:Y,startFromZero:!1,radius:I,maxRadiusValue:S,maxValue:D,minValue:y,highlightedDataPoints:q,onSeriesMouseClick:C,resetSelectionOnDoubleClick:$,detailsOnClick:T,styles:m,classNames:p,suffix:_,prefix:ee,noOfTicks:Z||5,animate:H===!0?{duration:.5,once:!0,amount:.5}:H||{duration:0,once:!0,amount:0},dimmedOpacity:x,precision:d,customLayers:ne}):null})]})}),oe||se?i.jsxRuntimeExports.jsx(Ce.GraphFooter,{styles:{footnote:m?.footnote,source:m?.source},classNames:{footnote:p?.footnote,source:p?.source},sources:oe,footNote:se,width:c}):null]})})})})}function Ie(ce){const{data:s,graphTitle:a,backgroundColor:M,topMargin:oe,bottomMargin:b,leftMargin:E,rightMargin:c,showLabels:se,showTicks:U,colors:P,sources:F,graphDescription:j,height:L,width:h,footNote:G,colorDomain:W,colorLegendTitle:g,padding:X,relativeHeight:l,tooltip:K,onSeriesMouseOver:J,refValues:Y,showColorScale:re,graphID:Q,radius:I,maxRadiusValue:S,maxValue:D,minValue:y,highlightedDataPoints:q,onSeriesMouseClick:C,graphDownload:f,dataDownload:A,language:O,showNAColor:B,minHeight:v,theme:k,ariaLabel:z,resetSelectionOnDoubleClick:$,detailsOnClick:T,noOfTicks:_,orientation:ee="vertical",styles:m,classNames:p,animate:Z,dimmedOpacity:H,precision:x,customLayers:d}=ce;return ee==="vertical"?i.jsxRuntimeExports.jsx(Le,{data:s,graphTitle:a,backgroundColor:M,topMargin:oe,bottomMargin:b,leftMargin:E,rightMargin:c,showLabels:se,showTicks:U,colors:P,sources:F,graphDescription:j,height:L,width:h,footNote:G,colorDomain:W,colorLegendTitle:g,padding:X,relativeHeight:l,tooltip:K,onSeriesMouseOver:J,refValues:Y,showColorScale:re,graphID:Q,radius:I,maxRadiusValue:S,maxValue:D,minValue:y,highlightedDataPoints:q,onSeriesMouseClick:C,graphDownload:f,dataDownload:A,language:O,showNAColor:B,minHeight:v,theme:k,ariaLabel:z,resetSelectionOnDoubleClick:$,styles:m,detailsOnClick:T,classNames:p,noOfTicks:_,animate:Z,dimmedOpacity:H,precision:x,customLayers:d}):i.jsxRuntimeExports.jsx(Te,{data:s,graphTitle:a,backgroundColor:M,topMargin:oe,bottomMargin:b,leftMargin:E,rightMargin:c,showLabels:se,showTicks:U,colors:P,sources:F,graphDescription:j,height:L,width:h,footNote:G,colorDomain:W,colorLegendTitle:g,padding:X,relativeHeight:l,tooltip:K,onSeriesMouseOver:J,refValues:Y,showColorScale:re,graphID:Q,radius:I,maxRadiusValue:S,maxValue:D,minValue:y,highlightedDataPoints:q,onSeriesMouseClick:C,graphDownload:f,dataDownload:A,language:O,showNAColor:B,minHeight:v,theme:k,ariaLabel:z,resetSelectionOnDoubleClick:$,styles:m,detailsOnClick:T,classNames:p,noOfTicks:_,animate:Z,dimmedOpacity:H,precision:x,customLayers:d})}exports.BeeSwarmChart=Ie;
|
|
2
|
+
//# sourceMappingURL=BeeSwarmChart.js.map
|