@undp/data-viz 1.5.1 → 1.5.3
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.js +3 -2
- package/dist/AreaChart.js.map +1 -1
- package/dist/BarGraph.cjs +1 -1
- package/dist/BarGraph.cjs.map +1 -1
- package/dist/BarGraph.js +1221 -1247
- package/dist/BarGraph.js.map +1 -1
- package/dist/BeeSwarmChart.cjs +1 -1
- package/dist/BeeSwarmChart.cjs.map +1 -1
- package/dist/BeeSwarmChart.js +130 -142
- package/dist/BeeSwarmChart.js.map +1 -1
- package/dist/BiVariateChoroplethMap.cjs +1 -1
- package/dist/BiVariateChoroplethMap.cjs.map +1 -1
- package/dist/BiVariateChoroplethMap.js +41 -41
- package/dist/BiVariateChoroplethMap.js.map +1 -1
- package/dist/BulletChart.cjs +1 -1
- package/dist/BulletChart.cjs.map +1 -1
- package/dist/BulletChart.js +483 -487
- package/dist/BulletChart.js.map +1 -1
- package/dist/ButterflyChart.cjs +1 -1
- package/dist/ButterflyChart.cjs.map +1 -1
- package/dist/ButterflyChart.js +99 -99
- package/dist/ButterflyChart.js.map +1 -1
- package/dist/ChoroplethMap.cjs +1 -1
- package/dist/ChoroplethMap.cjs.map +1 -1
- package/dist/ChoroplethMap.js +125 -125
- package/dist/ChoroplethMap.js.map +1 -1
- package/dist/CirclePackingGraph.cjs +1 -1
- package/dist/CirclePackingGraph.js +2 -2
- package/dist/Data/BureauPerformance.csv +8 -0
- package/dist/Data/EGDashboardData.csv +6 -0
- package/dist/DataCards.cjs +2 -2
- package/dist/DataCards.cjs.map +1 -1
- package/dist/DataCards.js +6 -6
- package/dist/DataCards.js.map +1 -1
- package/dist/DataTable.cjs +1 -1
- package/dist/DataTable.cjs.map +1 -1
- package/dist/DataTable.js +66 -68
- package/dist/DataTable.js.map +1 -1
- package/dist/DifferenceLineChart.cjs +1 -1
- package/dist/DifferenceLineChart.cjs.map +1 -1
- package/dist/DifferenceLineChart.js +3 -2
- package/dist/DifferenceLineChart.js.map +1 -1
- package/dist/DonutChart.cjs +1 -1
- package/dist/DonutChart.cjs.map +1 -1
- package/dist/DonutChart.js +205 -205
- package/dist/DonutChart.js.map +1 -1
- package/dist/DotDensityMap.cjs +1 -1
- package/dist/DotDensityMap.cjs.map +1 -1
- package/dist/DotDensityMap.js +78 -81
- package/dist/DotDensityMap.js.map +1 -1
- package/dist/DualAxisLineChart.cjs +1 -1
- package/dist/DualAxisLineChart.cjs.map +1 -1
- package/dist/DualAxisLineChart.js +3 -2
- package/dist/DualAxisLineChart.js.map +1 -1
- package/dist/DumbbellChart.cjs +1 -1
- package/dist/DumbbellChart.cjs.map +1 -1
- package/dist/DumbbellChart.js +64 -65
- package/dist/DumbbellChart.js.map +1 -1
- package/dist/GeoHubMap.cjs +1 -1
- package/dist/GeoHubMap.js +1 -1
- package/dist/GeoHubMapWithLayerSelection.cjs +1 -1
- package/dist/GeoHubMapWithLayerSelection.js +1 -1
- package/dist/{GraphEl-4RUlclvW.cjs → GraphEl-BcYgMnN2.cjs} +2 -2
- package/dist/{GraphEl-4RUlclvW.cjs.map → GraphEl-BcYgMnN2.cjs.map} +1 -1
- package/dist/{GraphEl-ClIxlWa3.js → GraphEl-CMWeARJ3.js} +2 -2
- package/dist/{GraphEl-ClIxlWa3.js.map → GraphEl-CMWeARJ3.js.map} +1 -1
- package/dist/GriddedGraphs.cjs +1 -1
- package/dist/GriddedGraphs.js +4 -4
- package/dist/GriddedGraphsFromConfig.cjs +1 -1
- package/dist/GriddedGraphsFromConfig.js +1 -1
- package/dist/HeatMap.cjs +1 -1
- package/dist/HeatMap.cjs.map +1 -1
- package/dist/HeatMap.js +83 -83
- package/dist/HeatMap.js.map +1 -1
- package/dist/Histogram.cjs +1 -1
- package/dist/Histogram.js +1 -1
- package/dist/LineChartWithConfidenceInterval.cjs +1 -1
- package/dist/LineChartWithConfidenceInterval.cjs.map +1 -1
- package/dist/LineChartWithConfidenceInterval.js +7 -6
- package/dist/LineChartWithConfidenceInterval.js.map +1 -1
- package/dist/MultiGraphDashboard.cjs +1 -1
- package/dist/MultiGraphDashboard.js +2 -2
- package/dist/MultiGraphDashboardFromConfig.cjs +1 -1
- package/dist/MultiGraphDashboardFromConfig.js +1 -1
- package/dist/MultiGraphDashboardWideToLongFormat.cjs +1 -1
- package/dist/MultiGraphDashboardWideToLongFormat.js +1 -1
- package/dist/MultiGraphDashboardWideToLongFormatFromConfig.cjs +1 -1
- package/dist/MultiGraphDashboardWideToLongFormatFromConfig.js +1 -1
- package/dist/MultiLineAltChart.cjs +1 -1
- package/dist/MultiLineAltChart.cjs.map +1 -1
- package/dist/MultiLineAltChart.js +82 -91
- package/dist/MultiLineAltChart.js.map +1 -1
- package/dist/MultiLineChart.cjs +1 -1
- package/dist/MultiLineChart.cjs.map +1 -1
- package/dist/MultiLineChart.js +3 -2
- package/dist/MultiLineChart.js.map +1 -1
- package/dist/PerformanceIntensiveMultiGraphDashboard.cjs +1 -1
- package/dist/PerformanceIntensiveMultiGraphDashboard.js +2 -2
- package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.cjs +1 -1
- package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.js +1 -1
- package/dist/RadarChart.cjs +1 -1
- package/dist/RadarChart.cjs.map +1 -1
- package/dist/RadarChart.js +124 -130
- package/dist/RadarChart.js.map +1 -1
- package/dist/SankeyChart.cjs +1 -1
- package/dist/SankeyChart.cjs.map +1 -1
- package/dist/SankeyChart.js +200 -200
- package/dist/SankeyChart.js.map +1 -1
- package/dist/ScatterPlot.cjs +1 -1
- package/dist/ScatterPlot.cjs.map +1 -1
- package/dist/ScatterPlot.js +149 -155
- package/dist/ScatterPlot.js.map +1 -1
- package/dist/SimpleLineChart.cjs +1 -1
- package/dist/SimpleLineChart.cjs.map +1 -1
- package/dist/SimpleLineChart.js +44 -43
- package/dist/SimpleLineChart.js.map +1 -1
- package/dist/SingleGraphDashboard.cjs +1 -1
- package/dist/SingleGraphDashboard.js +4 -4
- package/dist/SingleGraphDashboardFromConfig.cjs +1 -1
- package/dist/SingleGraphDashboardFromConfig.js +1 -1
- package/dist/SingleGraphDashboardGeoHubMapsFromConfig.cjs +1 -1
- package/dist/SingleGraphDashboardGeoHubMapsFromConfig.js +1 -1
- package/dist/SingleGraphDashboardThreeDGraphs.cjs +1 -1
- package/dist/SingleGraphDashboardThreeDGraphs.js +3 -3
- package/dist/SingleGraphDashboardThreeDGraphsFromConfig.cjs +1 -1
- package/dist/SingleGraphDashboardThreeDGraphsFromConfig.js +1 -1
- package/dist/SlopeChart.cjs +1 -1
- package/dist/SlopeChart.cjs.map +1 -1
- package/dist/SlopeChart.js +107 -113
- package/dist/SlopeChart.js.map +1 -1
- package/dist/SparkLine.cjs +1 -1
- package/dist/SparkLine.cjs.map +1 -1
- package/dist/SparkLine.js +3 -2
- package/dist/SparkLine.js.map +1 -1
- package/dist/StripChart.cjs +1 -1
- package/dist/StripChart.cjs.map +1 -1
- package/dist/StripChart.js +159 -159
- package/dist/StripChart.js.map +1 -1
- package/dist/ThreeDGlobe.cjs +1 -1
- package/dist/ThreeDGlobe.cjs.map +1 -1
- package/dist/ThreeDGlobe.js +3 -3
- package/dist/ThreeDGlobe.js.map +1 -1
- package/dist/TreeMapGraph.cjs +1 -1
- package/dist/TreeMapGraph.cjs.map +1 -1
- package/dist/TreeMapGraph.js +194 -200
- package/dist/TreeMapGraph.js.map +1 -1
- package/dist/ensureCompleteData-DkQYPeDa.cjs +2 -0
- package/dist/ensureCompleteData-DkQYPeDa.cjs.map +1 -0
- package/dist/{ensureCompleteData-BALdOrsS.js → ensureCompleteData-DlmibgaI.js} +28 -8
- package/dist/ensureCompleteData-DlmibgaI.js.map +1 -0
- package/dist/fetchAndParseData-Ba-_CgxS.cjs +16 -0
- package/dist/fetchAndParseData-Ba-_CgxS.cjs.map +1 -0
- package/dist/fetchAndParseData-sapWbnYk.js +583 -0
- package/dist/fetchAndParseData-sapWbnYk.js.map +1 -0
- package/dist/fetchAndParseData.cjs +1 -1
- package/dist/fetchAndParseData.js +1 -1
- package/dist/getJenks-BbngDoBQ.js +19 -0
- package/dist/getJenks-BbngDoBQ.js.map +1 -0
- package/dist/getJenks-GYmdwBqm.cjs +2 -0
- package/dist/getJenks-GYmdwBqm.cjs.map +1 -0
- package/dist/getSliderMarks-9cNoRkDx.js +1023 -0
- package/dist/getSliderMarks-9cNoRkDx.js.map +1 -0
- package/dist/getSliderMarks-CRIbTGYV.cjs +6 -0
- package/dist/getSliderMarks-CRIbTGYV.cjs.map +1 -0
- package/dist/getUniqValue-DiCh_MOD.js +13 -0
- package/dist/getUniqValue-DiCh_MOD.js.map +1 -0
- package/dist/getUniqValue-RViz8tTw.cjs +2 -0
- package/dist/getUniqValue-RViz8tTw.cjs.map +1 -0
- package/dist/{index-BMgDMxKJ.js → index-37q0ULNQ.js} +44 -50
- package/dist/index-37q0ULNQ.js.map +1 -0
- package/dist/index-CVlCtJbC.cjs +2 -0
- package/dist/index-CVlCtJbC.cjs.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +6 -6
- package/dist/sort-DfK1b0F5.js +34 -0
- package/dist/sort-DfK1b0F5.js.map +1 -0
- package/dist/sort-O96oMZLb.cjs +2 -0
- package/dist/sort-O96oMZLb.cjs.map +1 -0
- package/dist/transformData.cjs +1 -1
- package/dist/transformData.js +3 -3
- package/dist/transformDataForAggregation-KXGm6flX.cjs +2 -0
- package/dist/{transformDataForAggregation-BVxVu4yY.cjs.map → transformDataForAggregation-KXGm6flX.cjs.map} +1 -1
- package/dist/{transformDataForAggregation-1BYVFqvF.js → transformDataForAggregation-sBpdlX8n.js} +40 -44
- package/dist/{transformDataForAggregation-1BYVFqvF.js.map → transformDataForAggregation-sBpdlX8n.js.map} +1 -1
- package/dist/{transformDataForGraphFromFile-BC9Ha8hF.js → transformDataForGraphFromFile-ComYvzuz.js} +3 -3
- package/dist/{transformDataForGraphFromFile-BC9Ha8hF.js.map → transformDataForGraphFromFile-ComYvzuz.js.map} +1 -1
- package/dist/{transformDataForGraphFromFile-b41aNQYY.cjs → transformDataForGraphFromFile-DVZodTHd.cjs} +2 -2
- package/dist/{transformDataForGraphFromFile-b41aNQYY.cjs.map → transformDataForGraphFromFile-DVZodTHd.cjs.map} +1 -1
- package/dist/uniqBy-BHy4I8PK.js +8 -0
- package/dist/uniqBy-BHy4I8PK.js.map +1 -0
- package/dist/uniqBy-O05lp2S5.cjs +2 -0
- package/dist/uniqBy-O05lp2S5.cjs.map +1 -0
- package/dist/utils.cjs +1 -1
- package/dist/utils.d.ts +1 -1
- package/dist/utils.js +2 -2
- package/package.json +1 -7
- package/dist/ensureCompleteData-BALdOrsS.js.map +0 -1
- package/dist/ensureCompleteData-BU5Zlccy.cjs +0 -2
- package/dist/ensureCompleteData-BU5Zlccy.cjs.map +0 -1
- package/dist/fetchAndParseData-DBOl1Icl.js +0 -1196
- package/dist/fetchAndParseData-DBOl1Icl.js.map +0 -1
- package/dist/fetchAndParseData-Dcy7AS_0.cjs +0 -16
- package/dist/fetchAndParseData-Dcy7AS_0.cjs.map +0 -1
- package/dist/getJenks-DW96UYNE.js +0 -23
- package/dist/getJenks-DW96UYNE.js.map +0 -1
- package/dist/getJenks-vofIZmeb.cjs +0 -2
- package/dist/getJenks-vofIZmeb.cjs.map +0 -1
- package/dist/getSliderMarks-C0jptXeP.js +0 -1054
- package/dist/getSliderMarks-C0jptXeP.js.map +0 -1
- package/dist/getSliderMarks-CtsEXiLV.cjs +0 -6
- package/dist/getSliderMarks-CtsEXiLV.cjs.map +0 -1
- package/dist/getUniqValue-CfuE_l9c.cjs +0 -2
- package/dist/getUniqValue-CfuE_l9c.cjs.map +0 -1
- package/dist/getUniqValue-CttuU_wn.js +0 -20
- package/dist/getUniqValue-CttuU_wn.js.map +0 -1
- package/dist/index-AqnpA7_O.js +0 -631
- package/dist/index-AqnpA7_O.js.map +0 -1
- package/dist/index-BJOeaYTk.cjs +0 -2
- package/dist/index-BJOeaYTk.cjs.map +0 -1
- package/dist/index-BMgDMxKJ.js.map +0 -1
- package/dist/index-DYH8g9WA.cjs +0 -2
- package/dist/index-DYH8g9WA.cjs.map +0 -1
- package/dist/index-Da2GUKrr.cjs +0 -2
- package/dist/index-Da2GUKrr.cjs.map +0 -1
- package/dist/index-fwdktvAS.js +0 -707
- package/dist/index-fwdktvAS.js.map +0 -1
- package/dist/transformDataForAggregation-BVxVu4yY.cjs +0 -2
package/dist/SlopeChart.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { j as o, m as j } from "./index-CHPV5EwG-BPSP-7Jg.js";
|
|
2
|
-
import { u as ri } from "./index-AqnpA7_O.js";
|
|
3
2
|
import { useRef as ii, useState as I, useEffect as yi } from "react";
|
|
4
|
-
import { i as
|
|
5
|
-
import { X as
|
|
6
|
-
import { T as
|
|
3
|
+
import { i as xi } from "./index-Bwrro8-q.js";
|
|
4
|
+
import { X as mi } from "./Modal-DVVwpKhP.js";
|
|
5
|
+
import { T as hi } from "./Tooltip-CVCGWyzw.js";
|
|
7
6
|
import { c as J } from "./checkIfNullOrUndefined-DmfiKkNw.js";
|
|
8
7
|
import { Colors as n } from "./Colors.js";
|
|
9
|
-
import { s as
|
|
10
|
-
import { A as
|
|
11
|
-
import { A as
|
|
8
|
+
import { s as fi } from "./string2HTML-oFCROsus.js";
|
|
9
|
+
import { A as ri } from "./Axis-Ddg-seDi.js";
|
|
10
|
+
import { A as ai } from "./AxisTitle-BmHLMRJZ.js";
|
|
12
11
|
import { a as gi } from "./linear-DUdu7l2G.js";
|
|
13
12
|
import { u as ui } from "./use-in-view-yS6jzJAp.js";
|
|
14
13
|
import { m as O } from "./proxy-CkpFesk1.js";
|
|
15
|
-
import { A as
|
|
16
|
-
import { GraphFooter as
|
|
14
|
+
import { A as di } from "./index-CNvov0eg.js";
|
|
15
|
+
import { GraphFooter as pi } from "./GraphFooter.js";
|
|
17
16
|
import { GraphHeader as wi } from "./GraphHeader.js";
|
|
18
17
|
import { ColorLegendWithMouseOver as vi } from "./ColorLegendWithMouseOver.js";
|
|
19
18
|
import { E as bi } from "./EmptyState-DdTp-Mdn.js";
|
|
19
|
+
import { u as ni } from "./uniqBy-BHy4I8PK.js";
|
|
20
20
|
function Oi(K) {
|
|
21
21
|
const {
|
|
22
22
|
data: l,
|
|
@@ -24,16 +24,16 @@ function Oi(K) {
|
|
|
24
24
|
height: k,
|
|
25
25
|
showLabels: H,
|
|
26
26
|
colors: e,
|
|
27
|
-
colorDomain:
|
|
27
|
+
colorDomain: r,
|
|
28
28
|
radius: c,
|
|
29
|
-
leftMargin:
|
|
29
|
+
leftMargin: m,
|
|
30
30
|
rightMargin: X,
|
|
31
31
|
topMargin: G,
|
|
32
32
|
bottomMargin: Q,
|
|
33
33
|
tooltip: R,
|
|
34
34
|
onSeriesMouseOver: F,
|
|
35
35
|
axisTitles: L,
|
|
36
|
-
highlightedDataPoints:
|
|
36
|
+
highlightedDataPoints: x,
|
|
37
37
|
selectedColor: D,
|
|
38
38
|
minValue: q,
|
|
39
39
|
maxValue: z,
|
|
@@ -41,22 +41,22 @@ function Oi(K) {
|
|
|
41
41
|
resetSelectionOnDoubleClick: Z,
|
|
42
42
|
detailsOnClick: g,
|
|
43
43
|
styles: u,
|
|
44
|
-
classNames:
|
|
44
|
+
classNames: h,
|
|
45
45
|
animate: s,
|
|
46
|
-
dimmedOpacity:
|
|
46
|
+
dimmedOpacity: d,
|
|
47
47
|
customLayers: B
|
|
48
|
-
} = K, _ = ii(null),
|
|
48
|
+
} = K, _ = ii(null), p = ui(_, {
|
|
49
49
|
once: s.once,
|
|
50
50
|
amount: s.amount
|
|
51
51
|
}), [w, S] = I(void 0), [M, N] = I(void 0), [U, C] = I(void 0), [T, W] = I(void 0), A = {
|
|
52
52
|
top: G,
|
|
53
53
|
bottom: Q,
|
|
54
|
-
left:
|
|
54
|
+
left: m,
|
|
55
55
|
right: X
|
|
56
|
-
}, v = $ - A.left - A.right,
|
|
56
|
+
}, v = $ - A.left - A.right, f = k - A.top - A.bottom, b = Math.min(Math.min(...l.map((i) => i.y1)), Math.min(...l.map((i) => i.y2))), P = Math.max(Math.max(...l.map((i) => i.y1)), Math.max(...l.map((i) => i.y2))), y = gi().domain([
|
|
57
57
|
J(q) ? b > 0 ? 0 : b : q,
|
|
58
58
|
J(z) ? P > 0 ? P : 0 : z
|
|
59
|
-
]).range([
|
|
59
|
+
]).range([f, 0]).nice();
|
|
60
60
|
return /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
|
|
61
61
|
/* @__PURE__ */ o.jsx(
|
|
62
62
|
O.svg,
|
|
@@ -70,29 +70,29 @@ function Oi(K) {
|
|
|
70
70
|
children: /* @__PURE__ */ o.jsxs("g", { transform: `translate(${A.left},${A.top})`, children: [
|
|
71
71
|
/* @__PURE__ */ o.jsxs("g", { children: [
|
|
72
72
|
/* @__PURE__ */ o.jsx(
|
|
73
|
-
|
|
73
|
+
ri,
|
|
74
74
|
{
|
|
75
75
|
y1: 0,
|
|
76
|
-
y2:
|
|
76
|
+
y2: f,
|
|
77
77
|
x1: c,
|
|
78
78
|
x2: c,
|
|
79
79
|
classNames: {
|
|
80
80
|
axis: j(
|
|
81
81
|
"stroke-1 stroke-primary-gray-500 dark:stroke-primary-gray-550",
|
|
82
|
-
|
|
82
|
+
h?.yAxis?.axis
|
|
83
83
|
)
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
),
|
|
87
87
|
/* @__PURE__ */ o.jsx(
|
|
88
|
-
|
|
88
|
+
ai,
|
|
89
89
|
{
|
|
90
90
|
x: c,
|
|
91
|
-
y:
|
|
91
|
+
y: f + 15,
|
|
92
92
|
style: u?.yAxis?.title,
|
|
93
93
|
className: j(
|
|
94
94
|
"fill-primary-gray-700 dark:fill-primary-gray-300 text-xs",
|
|
95
|
-
|
|
95
|
+
h?.yAxis?.title
|
|
96
96
|
),
|
|
97
97
|
text: L[0]
|
|
98
98
|
}
|
|
@@ -100,49 +100,49 @@ function Oi(K) {
|
|
|
100
100
|
] }),
|
|
101
101
|
/* @__PURE__ */ o.jsxs("g", { children: [
|
|
102
102
|
/* @__PURE__ */ o.jsx(
|
|
103
|
-
|
|
103
|
+
ri,
|
|
104
104
|
{
|
|
105
105
|
y1: 0,
|
|
106
|
-
y2:
|
|
106
|
+
y2: f,
|
|
107
107
|
x1: v - c,
|
|
108
108
|
x2: v - c,
|
|
109
109
|
classNames: {
|
|
110
110
|
axis: j(
|
|
111
111
|
"stroke-1 stroke-primary-gray-500 dark:stroke-primary-gray-550",
|
|
112
|
-
|
|
112
|
+
h?.yAxis?.axis
|
|
113
113
|
)
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
116
|
),
|
|
117
117
|
/* @__PURE__ */ o.jsx(
|
|
118
|
-
|
|
118
|
+
ai,
|
|
119
119
|
{
|
|
120
120
|
x: v - c,
|
|
121
|
-
y:
|
|
121
|
+
y: f + 15,
|
|
122
122
|
style: u?.yAxis?.title,
|
|
123
123
|
className: j(
|
|
124
124
|
"fill-primary-gray-700 dark:fill-primary-gray-300 text-xs",
|
|
125
|
-
|
|
125
|
+
h?.yAxis?.title
|
|
126
126
|
),
|
|
127
127
|
text: L[1]
|
|
128
128
|
}
|
|
129
129
|
)
|
|
130
130
|
] }),
|
|
131
131
|
B.filter((i) => i.position === "before").map((i) => i.layer),
|
|
132
|
-
/* @__PURE__ */ o.jsx(
|
|
132
|
+
/* @__PURE__ */ o.jsx(di, { children: l.map((i, V) => /* @__PURE__ */ o.jsxs(
|
|
133
133
|
O.g,
|
|
134
134
|
{
|
|
135
135
|
variants: {
|
|
136
136
|
initial: {
|
|
137
|
-
opacity: D ? i.color && e[
|
|
137
|
+
opacity: D ? i.color && e[r.indexOf(`${i.color}`)] === D ? 1 : d : w ? w.label === i.label ? 1 : d : x.length !== 0 ? x.indexOf(i.label) !== -1 ? 1 : d : 1
|
|
138
138
|
},
|
|
139
139
|
whileInView: {
|
|
140
|
-
opacity: D ? i.color && e[
|
|
140
|
+
opacity: D ? i.color && e[r.indexOf(`${i.color}`)] === D ? 1 : d : w ? w.label === i.label ? 1 : d : x.length !== 0 ? x.indexOf(i.label) !== -1 ? 1 : d : 1,
|
|
141
141
|
transition: { duration: s.duration }
|
|
142
142
|
}
|
|
143
143
|
},
|
|
144
144
|
initial: "initial",
|
|
145
|
-
animate:
|
|
145
|
+
animate: p ? "whileInView" : "initial",
|
|
146
146
|
exit: { opacity: 0, transition: { duration: s.duration } },
|
|
147
147
|
onMouseEnter: (t) => {
|
|
148
148
|
S(i), W(t.clientY), C(t.clientX), F?.(i);
|
|
@@ -154,7 +154,7 @@ function Oi(K) {
|
|
|
154
154
|
S(void 0), C(void 0), W(void 0), F?.(void 0);
|
|
155
155
|
},
|
|
156
156
|
onClick: () => {
|
|
157
|
-
(E || g) && (
|
|
157
|
+
(E || g) && (xi(M, i) && Z ? (N(void 0), E?.(void 0)) : (N(i), E?.(i)));
|
|
158
158
|
},
|
|
159
159
|
children: [
|
|
160
160
|
/* @__PURE__ */ o.jsx(
|
|
@@ -164,20 +164,20 @@ function Oi(K) {
|
|
|
164
164
|
variants: {
|
|
165
165
|
initial: {
|
|
166
166
|
cy: y(i.y1),
|
|
167
|
-
fill: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[
|
|
168
|
-
stroke: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[
|
|
167
|
+
fill: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[r.indexOf(`${i.color}`)] : n.gray,
|
|
168
|
+
stroke: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[r.indexOf(`${i.color}`)] : n.gray,
|
|
169
169
|
opacity: 0
|
|
170
170
|
},
|
|
171
171
|
whileInView: {
|
|
172
172
|
cy: y(i.y1),
|
|
173
|
-
fill: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[
|
|
174
|
-
stroke: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[
|
|
173
|
+
fill: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[r.indexOf(`${i.color}`)] : n.gray,
|
|
174
|
+
stroke: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[r.indexOf(`${i.color}`)] : n.gray,
|
|
175
175
|
opacity: 1,
|
|
176
176
|
transition: { duration: s.duration }
|
|
177
177
|
}
|
|
178
178
|
},
|
|
179
179
|
initial: "initial",
|
|
180
|
-
animate:
|
|
180
|
+
animate: p ? "whileInView" : "initial",
|
|
181
181
|
exit: { opacity: 0, transition: { duration: s.duration } },
|
|
182
182
|
r: c,
|
|
183
183
|
style: {
|
|
@@ -191,54 +191,54 @@ function Oi(K) {
|
|
|
191
191
|
variants: {
|
|
192
192
|
initial: {
|
|
193
193
|
y: y(i.y1),
|
|
194
|
-
fill: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[
|
|
194
|
+
fill: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[r.indexOf(`${i.color}`)] : n.gray,
|
|
195
195
|
opacity: 0
|
|
196
196
|
},
|
|
197
197
|
whileInView: {
|
|
198
198
|
y: y(i.y1),
|
|
199
|
-
fill: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[
|
|
199
|
+
fill: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[r.indexOf(`${i.color}`)] : n.gray,
|
|
200
200
|
opacity: 1,
|
|
201
201
|
transition: { duration: s.duration }
|
|
202
202
|
}
|
|
203
203
|
},
|
|
204
204
|
initial: "initial",
|
|
205
|
-
animate:
|
|
205
|
+
animate: p ? "whileInView" : "initial",
|
|
206
206
|
exit: { opacity: 0, transition: { duration: s.duration } },
|
|
207
207
|
style: {
|
|
208
208
|
textAnchor: "end",
|
|
209
209
|
...u?.yAxis?.labels || {}
|
|
210
210
|
},
|
|
211
|
-
className: j("text-xs",
|
|
211
|
+
className: j("text-xs", h?.yAxis?.labels),
|
|
212
212
|
x: 5,
|
|
213
213
|
dy: "0.33em",
|
|
214
214
|
textAnchor: "end",
|
|
215
215
|
dx: 0 - c - 3,
|
|
216
216
|
children: i.label
|
|
217
217
|
}
|
|
218
|
-
) :
|
|
218
|
+
) : x.length !== 0 && x.indexOf(i.label) !== -1 ? /* @__PURE__ */ o.jsx(
|
|
219
219
|
O.text,
|
|
220
220
|
{
|
|
221
221
|
variants: {
|
|
222
222
|
initial: {
|
|
223
223
|
y: y(i.y1),
|
|
224
|
-
fill: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[
|
|
224
|
+
fill: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[r.indexOf(`${i.color}`)] : n.gray,
|
|
225
225
|
opacity: 0
|
|
226
226
|
},
|
|
227
227
|
whileInView: {
|
|
228
228
|
y: y(i.y1),
|
|
229
|
-
fill: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[
|
|
229
|
+
fill: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[r.indexOf(`${i.color}`)] : n.gray,
|
|
230
230
|
opacity: 1,
|
|
231
231
|
transition: { duration: s.duration }
|
|
232
232
|
}
|
|
233
233
|
},
|
|
234
234
|
initial: "initial",
|
|
235
|
-
animate:
|
|
235
|
+
animate: p ? "whileInView" : "initial",
|
|
236
236
|
exit: { opacity: 0, transition: { duration: s.duration } },
|
|
237
237
|
style: {
|
|
238
238
|
textAnchor: "end",
|
|
239
239
|
...u?.yAxis?.labels || {}
|
|
240
240
|
},
|
|
241
|
-
className: j("text-xs",
|
|
241
|
+
className: j("text-xs", h?.yAxis?.labels),
|
|
242
242
|
x: 5,
|
|
243
243
|
dy: "0.33em",
|
|
244
244
|
dx: -3,
|
|
@@ -252,20 +252,20 @@ function Oi(K) {
|
|
|
252
252
|
variants: {
|
|
253
253
|
initial: {
|
|
254
254
|
cy: y(i.y2),
|
|
255
|
-
fill: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[
|
|
256
|
-
stroke: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[
|
|
255
|
+
fill: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[r.indexOf(`${i.color}`)] : n.gray,
|
|
256
|
+
stroke: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[r.indexOf(`${i.color}`)] : n.gray,
|
|
257
257
|
opacity: 0
|
|
258
258
|
},
|
|
259
259
|
whileInView: {
|
|
260
260
|
cy: y(i.y2),
|
|
261
|
-
fill: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[
|
|
262
|
-
stroke: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[
|
|
261
|
+
fill: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[r.indexOf(`${i.color}`)] : n.gray,
|
|
262
|
+
stroke: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[r.indexOf(`${i.color}`)] : n.gray,
|
|
263
263
|
opacity: 1,
|
|
264
264
|
transition: { duration: s.duration }
|
|
265
265
|
}
|
|
266
266
|
},
|
|
267
267
|
initial: "initial",
|
|
268
|
-
animate:
|
|
268
|
+
animate: p ? "whileInView" : "initial",
|
|
269
269
|
exit: { opacity: 0, transition: { duration: s.duration } },
|
|
270
270
|
r: c,
|
|
271
271
|
style: {
|
|
@@ -279,53 +279,53 @@ function Oi(K) {
|
|
|
279
279
|
variants: {
|
|
280
280
|
initial: {
|
|
281
281
|
y: y(i.y2),
|
|
282
|
-
fill: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[
|
|
282
|
+
fill: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[r.indexOf(`${i.color}`)] : n.gray,
|
|
283
283
|
opacity: 0
|
|
284
284
|
},
|
|
285
285
|
whileInView: {
|
|
286
286
|
y: y(i.y2),
|
|
287
|
-
fill: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[
|
|
287
|
+
fill: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[r.indexOf(`${i.color}`)] : n.gray,
|
|
288
288
|
opacity: 1,
|
|
289
289
|
transition: { duration: s.duration }
|
|
290
290
|
}
|
|
291
291
|
},
|
|
292
292
|
initial: "initial",
|
|
293
|
-
animate:
|
|
293
|
+
animate: p ? "whileInView" : "initial",
|
|
294
294
|
exit: { opacity: 0, transition: { duration: s.duration } },
|
|
295
295
|
style: {
|
|
296
296
|
textAnchor: "start",
|
|
297
297
|
...u?.yAxis?.labels || {}
|
|
298
298
|
},
|
|
299
|
-
className: j("text-xs",
|
|
299
|
+
className: j("text-xs", h?.yAxis?.labels),
|
|
300
300
|
x: v - 5,
|
|
301
301
|
dy: "0.33em",
|
|
302
302
|
dx: c + 3,
|
|
303
303
|
children: i.label
|
|
304
304
|
}
|
|
305
|
-
) :
|
|
305
|
+
) : x.length !== 0 && x.indexOf(i.label) !== -1 ? /* @__PURE__ */ o.jsx(
|
|
306
306
|
O.text,
|
|
307
307
|
{
|
|
308
308
|
variants: {
|
|
309
309
|
initial: {
|
|
310
310
|
y: y(i.y2),
|
|
311
|
-
fill: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[
|
|
311
|
+
fill: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[r.indexOf(`${i.color}`)] : n.gray,
|
|
312
312
|
opacity: 0
|
|
313
313
|
},
|
|
314
314
|
whileInView: {
|
|
315
315
|
y: y(i.y2),
|
|
316
|
-
fill: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[
|
|
316
|
+
fill: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[r.indexOf(`${i.color}`)] : n.gray,
|
|
317
317
|
opacity: 1,
|
|
318
318
|
transition: { duration: s.duration }
|
|
319
319
|
}
|
|
320
320
|
},
|
|
321
321
|
initial: "initial",
|
|
322
|
-
animate:
|
|
322
|
+
animate: p ? "whileInView" : "initial",
|
|
323
323
|
exit: { opacity: 0, transition: { duration: s.duration } },
|
|
324
324
|
style: {
|
|
325
325
|
textAnchor: "start",
|
|
326
326
|
...u?.yAxis?.labels || {}
|
|
327
327
|
},
|
|
328
|
-
className: j("text-xs",
|
|
328
|
+
className: j("text-xs", h?.yAxis?.labels),
|
|
329
329
|
x: v - 5,
|
|
330
330
|
dy: "0.33em",
|
|
331
331
|
dx: 3,
|
|
@@ -341,19 +341,19 @@ function Oi(K) {
|
|
|
341
341
|
initial: {
|
|
342
342
|
y1: y(i.y1),
|
|
343
343
|
y2: y(i.y1),
|
|
344
|
-
stroke: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[
|
|
344
|
+
stroke: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[r.indexOf(`${i.color}`)] : n.gray
|
|
345
345
|
},
|
|
346
346
|
whileInView: {
|
|
347
347
|
y1: y(i.y1),
|
|
348
348
|
y2: y(i.y2),
|
|
349
|
-
stroke: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[
|
|
349
|
+
stroke: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[r.indexOf(`${i.color}`)] : n.gray,
|
|
350
350
|
transition: { duration: s.duration }
|
|
351
351
|
}
|
|
352
352
|
},
|
|
353
353
|
initial: "initial",
|
|
354
|
-
animate:
|
|
354
|
+
animate: p ? "whileInView" : "initial",
|
|
355
355
|
exit: { opacity: 0, transition: { duration: s.duration } },
|
|
356
|
-
className:
|
|
356
|
+
className: h?.dataConnectors,
|
|
357
357
|
style: {
|
|
358
358
|
fill: "none",
|
|
359
359
|
strokeWidth: 1,
|
|
@@ -370,18 +370,18 @@ function Oi(K) {
|
|
|
370
370
|
}
|
|
371
371
|
),
|
|
372
372
|
w && R && U && T ? /* @__PURE__ */ o.jsx(
|
|
373
|
-
|
|
373
|
+
hi,
|
|
374
374
|
{
|
|
375
375
|
data: w,
|
|
376
376
|
body: R,
|
|
377
377
|
xPos: U,
|
|
378
378
|
yPos: T,
|
|
379
379
|
backgroundStyle: u?.tooltip,
|
|
380
|
-
className:
|
|
380
|
+
className: h?.tooltip
|
|
381
381
|
}
|
|
382
382
|
) : null,
|
|
383
383
|
g && M !== void 0 ? /* @__PURE__ */ o.jsx(
|
|
384
|
-
|
|
384
|
+
mi,
|
|
385
385
|
{
|
|
386
386
|
open: M !== void 0,
|
|
387
387
|
onClose: () => {
|
|
@@ -391,7 +391,7 @@ function Oi(K) {
|
|
|
391
391
|
"div",
|
|
392
392
|
{
|
|
393
393
|
className: "graph-modal-content m-0",
|
|
394
|
-
dangerouslySetInnerHTML: typeof g == "string" ? { __html:
|
|
394
|
+
dangerouslySetInnerHTML: typeof g == "string" ? { __html: fi(g, M) } : void 0,
|
|
395
395
|
children: typeof g == "function" ? g(M) : null
|
|
396
396
|
}
|
|
397
397
|
)
|
|
@@ -406,16 +406,16 @@ function Gi(K) {
|
|
|
406
406
|
colors: k,
|
|
407
407
|
sources: H,
|
|
408
408
|
graphDescription: e,
|
|
409
|
-
showLabels:
|
|
409
|
+
showLabels: r = !1,
|
|
410
410
|
height: c,
|
|
411
|
-
width:
|
|
411
|
+
width: m,
|
|
412
412
|
footNote: X,
|
|
413
413
|
colorDomain: G,
|
|
414
414
|
colorLegendTitle: Q,
|
|
415
415
|
radius: R = 5,
|
|
416
416
|
axisTitles: F = ["", ""],
|
|
417
417
|
padding: L,
|
|
418
|
-
backgroundColor:
|
|
418
|
+
backgroundColor: x = !1,
|
|
419
419
|
leftMargin: D = 50,
|
|
420
420
|
rightMargin: q = 50,
|
|
421
421
|
topMargin: z = 20,
|
|
@@ -423,12 +423,12 @@ function Gi(K) {
|
|
|
423
423
|
tooltip: Z,
|
|
424
424
|
relativeHeight: g,
|
|
425
425
|
onSeriesMouseOver: u,
|
|
426
|
-
showColorScale:
|
|
426
|
+
showColorScale: h = !0,
|
|
427
427
|
highlightedDataPoints: s = [],
|
|
428
|
-
graphID:
|
|
428
|
+
graphID: d,
|
|
429
429
|
minValue: B,
|
|
430
430
|
maxValue: _,
|
|
431
|
-
onSeriesMouseClick:
|
|
431
|
+
onSeriesMouseClick: p,
|
|
432
432
|
graphDownload: w = !1,
|
|
433
433
|
dataDownload: S = !1,
|
|
434
434
|
fillContainer: M = !0,
|
|
@@ -439,49 +439,49 @@ function Gi(K) {
|
|
|
439
439
|
ariaLabel: W,
|
|
440
440
|
resetSelectionOnDoubleClick: A = !0,
|
|
441
441
|
detailsOnClick: v,
|
|
442
|
-
styles:
|
|
442
|
+
styles: f,
|
|
443
443
|
classNames: b,
|
|
444
444
|
animate: P = !1,
|
|
445
445
|
dimmedOpacity: y = 0.3,
|
|
446
446
|
customLayers: i = []
|
|
447
447
|
} = K, [V, t] = I(0), [ti, ei] = I(0), [si, ci] = I(void 0), Y = ii(null), oi = ii(null);
|
|
448
448
|
return yi(() => {
|
|
449
|
-
const
|
|
450
|
-
t(
|
|
449
|
+
const a = new ResizeObserver((li) => {
|
|
450
|
+
t(m || li[0].target.clientWidth || 620), ei(c || li[0].target.clientHeight || 480);
|
|
451
451
|
});
|
|
452
|
-
return Y.current && (ei(Y.current.clientHeight || 480), t(Y.current.clientWidth || 620),
|
|
453
|
-
}, [
|
|
452
|
+
return Y.current && (ei(Y.current.clientHeight || 480), t(Y.current.clientWidth || 620), m || a.observe(Y.current)), () => a.disconnect();
|
|
453
|
+
}, [m, c]), /* @__PURE__ */ o.jsx(
|
|
454
454
|
"div",
|
|
455
455
|
{
|
|
456
|
-
className: `${T || "light"} flex ${
|
|
456
|
+
className: `${T || "light"} flex ${m ? "grow-0" : "grow"} ${M ? "w-full" : "w-fit"} `,
|
|
457
457
|
dir: N === "he" || N === "ar" ? "rtl" : void 0,
|
|
458
458
|
children: /* @__PURE__ */ o.jsx(
|
|
459
459
|
"div",
|
|
460
460
|
{
|
|
461
461
|
className: j(
|
|
462
|
-
`${
|
|
462
|
+
`${x ? x === !0 ? "bg-primary-gray-200 dark:bg-primary-gray-650 " : "" : "bg-transparent "}ml-auto mr-auto flex flex-col grow h-inherit ${N || "en"}`,
|
|
463
463
|
M ? "w-full" : "w-fit",
|
|
464
464
|
b?.graphContainer
|
|
465
465
|
),
|
|
466
466
|
style: {
|
|
467
|
-
...
|
|
468
|
-
...
|
|
467
|
+
...f?.graphContainer || {},
|
|
468
|
+
...x && x !== !0 ? { backgroundColor: x } : {}
|
|
469
469
|
},
|
|
470
|
-
id:
|
|
470
|
+
id: d,
|
|
471
471
|
ref: oi,
|
|
472
472
|
"aria-label": W || `${$ ? `The graph shows ${$}. ` : ""}This is a slope chart showing changes in data between two category or starting and ending time. Each line represents a different row in data, with lines sloping up or down to show increase or decrease over two categories or time.${e ? ` ${e}` : ""}`,
|
|
473
473
|
children: /* @__PURE__ */ o.jsx(
|
|
474
474
|
"div",
|
|
475
475
|
{
|
|
476
476
|
className: "flex grow",
|
|
477
|
-
style: { padding:
|
|
477
|
+
style: { padding: x ? L || "1rem" : L || 0 },
|
|
478
478
|
children: /* @__PURE__ */ o.jsxs("div", { className: "flex flex-col w-full gap-4 grow justify-between", children: [
|
|
479
479
|
$ || e || w || S ? /* @__PURE__ */ o.jsx(
|
|
480
480
|
wi,
|
|
481
481
|
{
|
|
482
482
|
styles: {
|
|
483
|
-
title:
|
|
484
|
-
description:
|
|
483
|
+
title: f?.title,
|
|
484
|
+
description: f?.description
|
|
485
485
|
},
|
|
486
486
|
classNames: {
|
|
487
487
|
title: b?.title,
|
|
@@ -489,22 +489,19 @@ function Gi(K) {
|
|
|
489
489
|
},
|
|
490
490
|
graphTitle: $,
|
|
491
491
|
graphDescription: e,
|
|
492
|
-
width:
|
|
492
|
+
width: m,
|
|
493
493
|
graphDownload: w ? oi.current : void 0,
|
|
494
|
-
dataDownload: S ? l.map((
|
|
494
|
+
dataDownload: S ? l.map((a) => a.data).filter((a) => a !== void 0).length > 0 ? l.map((a) => a.data).filter((a) => a !== void 0) : l.filter((a) => a !== void 0) : null
|
|
495
495
|
}
|
|
496
496
|
) : null,
|
|
497
497
|
/* @__PURE__ */ o.jsx("div", { className: "grow flex flex-col justify-center gap-3 w-full", children: l.length === 0 ? /* @__PURE__ */ o.jsx(bi, {}) : /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
|
|
498
|
-
|
|
498
|
+
h && l.filter((a) => a.color).length !== 0 ? /* @__PURE__ */ o.jsx(
|
|
499
499
|
vi,
|
|
500
500
|
{
|
|
501
|
-
width:
|
|
501
|
+
width: m,
|
|
502
502
|
colorLegendTitle: Q,
|
|
503
503
|
colors: k || n[T].categoricalColors.colors,
|
|
504
|
-
colorDomain: G ||
|
|
505
|
-
l.filter((r) => r.color),
|
|
506
|
-
"color"
|
|
507
|
-
).map((r) => r.color),
|
|
504
|
+
colorDomain: G || ni(l, "color", !0),
|
|
508
505
|
setSelectedColor: ci,
|
|
509
506
|
showNAColor: U
|
|
510
507
|
}
|
|
@@ -515,25 +512,22 @@ function Gi(K) {
|
|
|
515
512
|
className: "flex flex-col grow justify-center w-full leading-0",
|
|
516
513
|
ref: Y,
|
|
517
514
|
"aria-label": "Graph area",
|
|
518
|
-
children: (
|
|
515
|
+
children: (m || V) && (c || ti) ? /* @__PURE__ */ o.jsx(
|
|
519
516
|
Oi,
|
|
520
517
|
{
|
|
521
518
|
data: l.filter(
|
|
522
|
-
(
|
|
519
|
+
(a) => !J(a.y1) && !J(a.y2)
|
|
523
520
|
),
|
|
524
|
-
width:
|
|
521
|
+
width: m || V,
|
|
525
522
|
height: Math.max(
|
|
526
523
|
C,
|
|
527
|
-
c || (g ? C ? (
|
|
524
|
+
c || (g ? C ? (m || V) * g > C ? (m || V) * g : C : (m || V) * g : ti)
|
|
528
525
|
),
|
|
529
|
-
colorDomain: l.filter((
|
|
530
|
-
|
|
531
|
-
"color"
|
|
532
|
-
).map((r) => r.color),
|
|
533
|
-
colors: l.filter((r) => r.color).length === 0 ? k ? [k] : [n.primaryColors["blue-600"]] : k || n[T].categoricalColors.colors,
|
|
526
|
+
colorDomain: l.filter((a) => a.color).length === 0 ? [] : G || ni(l, "color", !0),
|
|
527
|
+
colors: l.filter((a) => a.color).length === 0 ? k ? [k] : [n.primaryColors["blue-600"]] : k || n[T].categoricalColors.colors,
|
|
534
528
|
selectedColor: si,
|
|
535
529
|
axisTitles: F,
|
|
536
|
-
showLabels:
|
|
530
|
+
showLabels: r,
|
|
537
531
|
radius: R,
|
|
538
532
|
leftMargin: D,
|
|
539
533
|
rightMargin: q,
|
|
@@ -544,10 +538,10 @@ function Gi(K) {
|
|
|
544
538
|
highlightedDataPoints: s,
|
|
545
539
|
minValue: B,
|
|
546
540
|
maxValue: _,
|
|
547
|
-
onSeriesMouseClick:
|
|
541
|
+
onSeriesMouseClick: p,
|
|
548
542
|
resetSelectionOnDoubleClick: A,
|
|
549
543
|
detailsOnClick: v,
|
|
550
|
-
styles:
|
|
544
|
+
styles: f,
|
|
551
545
|
classNames: b,
|
|
552
546
|
animate: P === !0 ? { duration: 0.5, once: !0, amount: 0.5 } : P || { duration: 0, once: !0, amount: 0 },
|
|
553
547
|
dimmedOpacity: y,
|
|
@@ -558,16 +552,16 @@ function Gi(K) {
|
|
|
558
552
|
)
|
|
559
553
|
] }) }),
|
|
560
554
|
H || X ? /* @__PURE__ */ o.jsx(
|
|
561
|
-
|
|
555
|
+
pi,
|
|
562
556
|
{
|
|
563
|
-
styles: { footnote:
|
|
557
|
+
styles: { footnote: f?.footnote, source: f?.source },
|
|
564
558
|
classNames: {
|
|
565
559
|
footnote: b?.footnote,
|
|
566
560
|
source: b?.source
|
|
567
561
|
},
|
|
568
562
|
sources: H,
|
|
569
563
|
footNote: X,
|
|
570
|
-
width:
|
|
564
|
+
width: m
|
|
571
565
|
}
|
|
572
566
|
) : null
|
|
573
567
|
] })
|