@undp/data-viz 2.0.8 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AreaChart.cjs +1 -1
- package/dist/AreaChart.d.ts +2 -0
- package/dist/AreaChart.js +1 -1
- package/dist/BarGraph.cjs +1 -1
- package/dist/BarGraph.cjs.map +1 -1
- package/dist/BarGraph.d.ts +2 -0
- package/dist/BarGraph.js +1188 -1213
- package/dist/BarGraph.js.map +1 -1
- package/dist/BasicStatCard.d.ts +2 -0
- package/dist/BeeSwarmChart.cjs +1 -1
- package/dist/BeeSwarmChart.cjs.map +1 -1
- package/dist/BeeSwarmChart.d.ts +2 -0
- package/dist/BeeSwarmChart.js +258 -267
- package/dist/BeeSwarmChart.js.map +1 -1
- package/dist/BiVariateChoroplethMap.cjs +1 -1
- package/dist/BiVariateChoroplethMap.cjs.map +1 -1
- package/dist/BiVariateChoroplethMap.d.ts +2 -0
- package/dist/BiVariateChoroplethMap.js +126 -131
- package/dist/BiVariateChoroplethMap.js.map +1 -1
- package/dist/BulletChart.cjs +1 -1
- package/dist/BulletChart.cjs.map +1 -1
- package/dist/BulletChart.d.ts +2 -0
- package/dist/BulletChart.js +404 -413
- package/dist/BulletChart.js.map +1 -1
- package/dist/ButterflyChart.cjs +1 -1
- package/dist/ButterflyChart.cjs.map +1 -1
- package/dist/ButterflyChart.d.ts +2 -0
- package/dist/ButterflyChart.js +179 -184
- package/dist/ButterflyChart.js.map +1 -1
- package/dist/ChoroplethMap.cjs +1 -1
- package/dist/ChoroplethMap.cjs.map +1 -1
- package/dist/ChoroplethMap.d.ts +2 -0
- package/dist/ChoroplethMap.js +268 -273
- package/dist/ChoroplethMap.js.map +1 -1
- package/dist/CirclePackingGraph.cjs +1 -1
- package/dist/CirclePackingGraph.d.ts +2 -0
- package/dist/CirclePackingGraph.js +1 -1
- package/dist/DataCards.cjs +1 -1
- package/dist/DataCards.d.ts +2 -0
- package/dist/DataCards.js +2 -2
- package/dist/DataTable.d.ts +2 -0
- package/dist/DetailsModal-0Ry5nXiC.js +32 -0
- package/dist/DetailsModal-0Ry5nXiC.js.map +1 -0
- package/dist/DetailsModal-BN0HDFlV.cjs +2 -0
- package/dist/DetailsModal-BN0HDFlV.cjs.map +1 -0
- package/dist/DifferenceLineChart.cjs +1 -1
- package/dist/DifferenceLineChart.d.ts +2 -0
- package/dist/DifferenceLineChart.js +1 -1
- package/dist/DonutChart.cjs +1 -1
- package/dist/DonutChart.cjs.map +1 -1
- package/dist/DonutChart.d.ts +2 -0
- package/dist/DonutChart.js +185 -190
- package/dist/DonutChart.js.map +1 -1
- package/dist/DotDensityMap.cjs +1 -1
- package/dist/DotDensityMap.cjs.map +1 -1
- package/dist/DotDensityMap.d.ts +2 -0
- package/dist/DotDensityMap.js +198 -203
- package/dist/DotDensityMap.js.map +1 -1
- package/dist/DualAxisLineChart.cjs +1 -1
- package/dist/DualAxisLineChart.d.ts +2 -0
- package/dist/DualAxisLineChart.js +1 -1
- package/dist/DumbbellChart.cjs +1 -1
- package/dist/DumbbellChart.cjs.map +1 -1
- package/dist/DumbbellChart.d.ts +2 -0
- package/dist/DumbbellChart.js +364 -373
- package/dist/DumbbellChart.js.map +1 -1
- package/dist/GeoHubCompareMaps.d.ts +2 -0
- package/dist/GeoHubMap.d.ts +2 -0
- package/dist/GeoHubMapWithLayerSelection.d.ts +2 -0
- package/dist/{GraphEl-BcKU0bG1.cjs → GraphEl-B16EYkko.cjs} +2 -2
- package/dist/{GraphEl-BcKU0bG1.cjs.map → GraphEl-B16EYkko.cjs.map} +1 -1
- package/dist/{GraphEl-CGq1EWRn.js → GraphEl-ebgfxefq.js} +3 -3
- package/dist/{GraphEl-CGq1EWRn.js.map → GraphEl-ebgfxefq.js.map} +1 -1
- package/dist/GriddedGraphs.cjs +1 -1
- package/dist/GriddedGraphs.cjs.map +1 -1
- package/dist/GriddedGraphs.d.ts +3 -0
- package/dist/GriddedGraphs.js +158 -146
- package/dist/GriddedGraphs.js.map +1 -1
- package/dist/GriddedGraphsFromConfig.d.ts +3 -0
- package/dist/HeatMap.cjs +1 -1
- package/dist/HeatMap.cjs.map +1 -1
- package/dist/HeatMap.d.ts +2 -0
- package/dist/HeatMap.js +111 -116
- package/dist/HeatMap.js.map +1 -1
- package/dist/Histogram.cjs +1 -1
- package/dist/Histogram.d.ts +2 -0
- package/dist/Histogram.js +1 -1
- package/dist/HybridMap.cjs +1 -1
- package/dist/HybridMap.cjs.map +1 -1
- package/dist/HybridMap.d.ts +2 -0
- package/dist/HybridMap.js +202 -207
- package/dist/HybridMap.js.map +1 -1
- package/dist/LineChartWithConfidenceInterval.cjs +1 -1
- package/dist/LineChartWithConfidenceInterval.d.ts +2 -0
- package/dist/LineChartWithConfidenceInterval.js +1 -1
- package/dist/{Modal-DGcuAHyK.js → Modal-bMQA6bL_.js} +5 -5
- package/dist/{Modal-DGcuAHyK.js.map → Modal-bMQA6bL_.js.map} +1 -1
- package/dist/MultiGraphDashboard.cjs +1 -1
- package/dist/MultiGraphDashboard.cjs.map +1 -1
- package/dist/MultiGraphDashboard.d.ts +3 -0
- package/dist/MultiGraphDashboard.js +90 -85
- package/dist/MultiGraphDashboard.js.map +1 -1
- package/dist/MultiGraphDashboardFromConfig.d.ts +3 -0
- package/dist/MultiGraphDashboardWideToLongFormat.d.ts +2 -0
- package/dist/MultiGraphDashboardWideToLongFormat.js +1 -1
- package/dist/MultiGraphDashboardWideToLongFormatFromConfig.d.ts +2 -0
- package/dist/MultiLineAltChart.cjs +1 -1
- package/dist/MultiLineAltChart.d.ts +2 -0
- package/dist/MultiLineAltChart.js +1 -1
- package/dist/MultiLineChart.cjs +1 -1
- package/dist/MultiLineChart.d.ts +2 -0
- package/dist/MultiLineChart.js +1 -1
- package/dist/ParetoChart.cjs +1 -1
- package/dist/ParetoChart.cjs.map +1 -1
- package/dist/ParetoChart.d.ts +2 -0
- package/dist/ParetoChart.js +187 -192
- package/dist/ParetoChart.js.map +1 -1
- package/dist/PerformanceIntensiveMultiGraphDashboard.cjs +1 -1
- package/dist/PerformanceIntensiveMultiGraphDashboard.cjs.map +1 -1
- package/dist/PerformanceIntensiveMultiGraphDashboard.d.ts +3 -0
- package/dist/PerformanceIntensiveMultiGraphDashboard.js +76 -72
- package/dist/PerformanceIntensiveMultiGraphDashboard.js.map +1 -1
- package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.d.ts +3 -0
- package/dist/PerformanceIntensiveScrollStory.d.ts +2 -0
- package/dist/RadarChart.cjs +1 -1
- package/dist/RadarChart.cjs.map +1 -1
- package/dist/RadarChart.d.ts +2 -0
- package/dist/RadarChart.js +158 -163
- package/dist/RadarChart.js.map +1 -1
- package/dist/SankeyChart.cjs +1 -1
- package/dist/SankeyChart.cjs.map +1 -1
- package/dist/SankeyChart.d.ts +2 -0
- package/dist/SankeyChart.js +172 -177
- package/dist/SankeyChart.js.map +1 -1
- package/dist/ScatterPlot.cjs +1 -1
- package/dist/ScatterPlot.cjs.map +1 -1
- package/dist/ScatterPlot.d.ts +2 -0
- package/dist/ScatterPlot.js +222 -227
- package/dist/ScatterPlot.js.map +1 -1
- package/dist/ScrollStory.d.ts +2 -0
- package/dist/SimpleLineChart.cjs +1 -1
- package/dist/SimpleLineChart.d.ts +2 -0
- package/dist/SimpleLineChart.js +1 -1
- package/dist/SingleGraphDashboard.cjs +1 -1
- package/dist/SingleGraphDashboard.cjs.map +1 -1
- package/dist/SingleGraphDashboard.d.ts +3 -0
- package/dist/SingleGraphDashboard.js +131 -128
- package/dist/SingleGraphDashboard.js.map +1 -1
- package/dist/SingleGraphDashboardFromConfig.d.ts +3 -0
- package/dist/SingleGraphDashboardGeoHubMaps.d.ts +2 -0
- package/dist/SingleGraphDashboardGeoHubMapsFromConfig.d.ts +2 -0
- package/dist/SingleGraphDashboardThreeDGraphs.cjs +1 -1
- package/dist/SingleGraphDashboardThreeDGraphs.cjs.map +1 -1
- package/dist/SingleGraphDashboardThreeDGraphs.d.ts +3 -0
- package/dist/SingleGraphDashboardThreeDGraphs.js +145 -141
- package/dist/SingleGraphDashboardThreeDGraphs.js.map +1 -1
- package/dist/SingleGraphDashboardThreeDGraphsFromConfig.d.ts +3 -0
- package/dist/SlopeChart.cjs +1 -1
- package/dist/SlopeChart.cjs.map +1 -1
- package/dist/SlopeChart.d.ts +2 -0
- package/dist/SlopeChart.js +182 -187
- package/dist/SlopeChart.js.map +1 -1
- package/dist/SparkLine.cjs +1 -1
- package/dist/SparkLine.d.ts +2 -0
- package/dist/SparkLine.js +1 -1
- package/dist/StatCardFromData.d.ts +2 -0
- package/dist/StripChart.cjs +1 -1
- package/dist/StripChart.cjs.map +1 -1
- package/dist/StripChart.d.ts +2 -0
- package/dist/StripChart.js +249 -258
- package/dist/StripChart.js.map +1 -1
- package/dist/ThreeDGlobe.cjs +1 -1
- package/dist/ThreeDGlobe.cjs.map +1 -1
- package/dist/ThreeDGlobe.d.ts +2 -0
- package/dist/ThreeDGlobe.js +142 -147
- package/dist/ThreeDGlobe.js.map +1 -1
- package/dist/Tooltip-Dj5eVppQ.js +45 -0
- package/dist/Tooltip-Dj5eVppQ.js.map +1 -0
- package/dist/Tooltip-uUdw6wJL.cjs +2 -0
- package/dist/Tooltip-uUdw6wJL.cjs.map +1 -0
- package/dist/TreeMapGraph.cjs +1 -1
- package/dist/TreeMapGraph.cjs.map +1 -1
- package/dist/TreeMapGraph.d.ts +2 -0
- package/dist/TreeMapGraph.js +159 -164
- package/dist/TreeMapGraph.js.map +1 -1
- package/dist/Types.d.ts +3 -0
- package/dist/UnitChart.d.ts +2 -0
- package/dist/{checkIfMultiple-Y9iKaV_u.js → checkIfMultiple-CIRtG0KE.js} +2 -2
- package/dist/{checkIfMultiple-Y9iKaV_u.js.map → checkIfMultiple-CIRtG0KE.js.map} +1 -1
- package/dist/getUniqValue-DsqSii6M.js +11 -0
- package/dist/getUniqValue-DsqSii6M.js.map +1 -0
- package/dist/getUniqValue-NX8DgwND.cjs +2 -0
- package/dist/getUniqValue-NX8DgwND.cjs.map +1 -0
- package/dist/index-BBV4tAeA.js +330 -0
- package/dist/index-BBV4tAeA.js.map +1 -0
- package/dist/index-CF5hnGvG.cjs +2 -0
- package/dist/index-CF5hnGvG.cjs.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.js +2 -2
- package/dist/utils.cjs +1 -1
- package/dist/utils.js +1 -1
- package/package.json +1 -1
- package/dist/Tooltip-4dJo4_AF.cjs +0 -2
- package/dist/Tooltip-4dJo4_AF.cjs.map +0 -1
- package/dist/Tooltip-CwWUegPB.js +0 -43
- package/dist/Tooltip-CwWUegPB.js.map +0 -1
- package/dist/getUniqValue-BKHCm3zE.js +0 -11
- package/dist/getUniqValue-BKHCm3zE.js.map +0 -1
- package/dist/getUniqValue-RViz8tTw.cjs +0 -2
- package/dist/getUniqValue-RViz8tTw.cjs.map +0 -1
- package/dist/index-B2LQV7Tk.js +0 -335
- package/dist/index-B2LQV7Tk.js.map +0 -1
- package/dist/index-xRHRLDIp.cjs +0 -2
- package/dist/index-xRHRLDIp.cjs.map +0 -1
package/dist/ScatterPlot.js
CHANGED
|
@@ -1,109 +1,108 @@
|
|
|
1
1
|
import { c as ai, j as o, m as ti } from "./index-CHPV5EwG-Curnpaqc.js";
|
|
2
|
-
import { p as ui, f as
|
|
2
|
+
import { p as ui, f as xi } from "./parse-DlCRUFh_.js";
|
|
3
3
|
import { useRef as _e, useState as dt, useEffect as ei } from "react";
|
|
4
|
-
import { g as
|
|
4
|
+
import { g as mi, N as pi } from "./getSliderMarks-HIDJ0_Cd.js";
|
|
5
5
|
import { i as ii } from "./index-Bwrro8-q.js";
|
|
6
6
|
import { o as gi } from "./index-BZQYSqar.js";
|
|
7
7
|
import { l as di, a as hi } from "./simple-statistics-flVzqVtt.js";
|
|
8
|
-
import {
|
|
9
|
-
import { T as vi } from "./Tooltip-CwWUegPB.js";
|
|
8
|
+
import { T as yi } from "./Tooltip-Dj5eVppQ.js";
|
|
10
9
|
import { c as g } from "./checkIfNullOrUndefined-DmfiKkNw.js";
|
|
11
|
-
import { Colors as
|
|
10
|
+
import { Colors as W } from "./Colors.js";
|
|
12
11
|
import { n as oi } from "./numberFormattingFunction-14YCbkN2.js";
|
|
13
|
-
import { g as
|
|
14
|
-
import { s as Oi } from "./string2HTML-DhG75NqA.js";
|
|
12
|
+
import { g as vi, A as bi, C as Ai } from "./customArea-BUhPiPT6.js";
|
|
15
13
|
import { A as ni } from "./Axis-CRyfcLjc.js";
|
|
16
14
|
import { A as si } from "./AxisTitle-jeI7am8o.js";
|
|
17
|
-
import { X as
|
|
18
|
-
import { R as
|
|
19
|
-
import { R as
|
|
20
|
-
import { Y as
|
|
21
|
-
import { a as
|
|
15
|
+
import { X as Ci } from "./XTicksAndGridLines-CObVFSm4.js";
|
|
16
|
+
import { R as Oi, a as ji } from "./ReferenceLine-2XCwHXQ4.js";
|
|
17
|
+
import { R as wi } from "./RegressionLine-DAcY2DjT.js";
|
|
18
|
+
import { Y as Li } from "./YTicksAndGridLines-Blepl7XF.js";
|
|
19
|
+
import { a as $i } from "./index-SKgJALZg.js";
|
|
20
|
+
import { D as Si } from "./DetailsModal-0Ry5nXiC.js";
|
|
22
21
|
import { s as Vi } from "./pow-DE4c7dbW.js";
|
|
23
22
|
import { a as li } from "./linear-BwnDd9KF.js";
|
|
24
|
-
import { D as
|
|
25
|
-
import { u as
|
|
23
|
+
import { D as Mi } from "./delaunay-C1uAf38t.js";
|
|
24
|
+
import { u as ki } from "./use-in-view-Cxa7y1TH.js";
|
|
26
25
|
import { m as De } from "./proxy-BxkFHwUw.js";
|
|
27
26
|
import { A as ri } from "./index-BqfRwk1n.js";
|
|
28
|
-
import { GraphFooter as
|
|
29
|
-
import { GraphHeader as
|
|
30
|
-
import { ColorLegendWithMouseOver as
|
|
31
|
-
import { E as
|
|
32
|
-
import { P as
|
|
33
|
-
import { a as
|
|
27
|
+
import { GraphFooter as Di } from "./GraphFooter.js";
|
|
28
|
+
import { GraphHeader as Ni } from "./GraphHeader.js";
|
|
29
|
+
import { ColorLegendWithMouseOver as Ti } from "./ColorLegendWithMouseOver.js";
|
|
30
|
+
import { E as Pi } from "./EmptyState-BZo1BbAn.js";
|
|
31
|
+
import { P as Xi, e as Yi } from "./index-D491FEn1.js";
|
|
32
|
+
import { a as Ri } from "./ensureCompleteData-DNKEGRiP.js";
|
|
34
33
|
import { u as Ze } from "./uniqBy-BHy4I8PK.js";
|
|
35
|
-
import { a as
|
|
36
|
-
import { s as
|
|
37
|
-
import { a as
|
|
38
|
-
function
|
|
39
|
-
const t = ai.c(
|
|
40
|
-
data:
|
|
41
|
-
width:
|
|
42
|
-
height:
|
|
34
|
+
import { a as Ii, G as Hi } from "./GraphContainer-CRqzdKu2.js";
|
|
35
|
+
import { s as Ei } from "./sort-BIvMlUH1.js";
|
|
36
|
+
import { a as Fi } from "./init-BJFW6EwE.js";
|
|
37
|
+
function Wi(i) {
|
|
38
|
+
const t = ai.c(216), {
|
|
39
|
+
data: l,
|
|
40
|
+
width: G,
|
|
41
|
+
height: q,
|
|
43
42
|
showLabels: ht,
|
|
44
43
|
colors: c,
|
|
45
44
|
colorDomain: C,
|
|
46
|
-
radius:
|
|
45
|
+
radius: D,
|
|
47
46
|
xAxisTitle: y,
|
|
48
|
-
yAxisTitle:
|
|
47
|
+
yAxisTitle: N,
|
|
49
48
|
leftMargin: yt,
|
|
50
49
|
rightMargin: Oe,
|
|
51
50
|
topMargin: re,
|
|
52
51
|
bottomMargin: je,
|
|
53
52
|
tooltip: qt,
|
|
54
|
-
onSeriesMouseOver:
|
|
53
|
+
onSeriesMouseOver: B,
|
|
55
54
|
refXValues: ae,
|
|
56
55
|
refYValues: ce,
|
|
57
56
|
highlightAreaSettings: fe,
|
|
58
57
|
selectedColor: tt,
|
|
59
|
-
highlightedDataPoints:
|
|
58
|
+
highlightedDataPoints: T,
|
|
60
59
|
maxRadiusValue: we,
|
|
61
60
|
maxXValue: Bt,
|
|
62
|
-
minXValue:
|
|
61
|
+
minXValue: $,
|
|
63
62
|
maxYValue: vt,
|
|
64
63
|
minYValue: b,
|
|
65
|
-
onSeriesMouseClick:
|
|
64
|
+
onSeriesMouseClick: S,
|
|
66
65
|
rtl: bt,
|
|
67
66
|
annotations: At,
|
|
68
67
|
customHighlightAreaSettings: et,
|
|
69
68
|
regressionLine: Ct,
|
|
70
69
|
resetSelectionOnDoubleClick: zt,
|
|
71
|
-
detailsOnClick:
|
|
70
|
+
detailsOnClick: P,
|
|
72
71
|
noOfXTicks: ue,
|
|
73
|
-
noOfYTicks:
|
|
72
|
+
noOfYTicks: xe,
|
|
74
73
|
labelColor: it,
|
|
75
74
|
xSuffix: ot,
|
|
76
75
|
ySuffix: nt,
|
|
77
76
|
xPrefix: st,
|
|
78
77
|
yPrefix: Ot,
|
|
79
78
|
styles: n,
|
|
80
|
-
classNames:
|
|
79
|
+
classNames: s,
|
|
81
80
|
animate: r,
|
|
82
81
|
dimmedOpacity: V,
|
|
83
|
-
precision:
|
|
84
|
-
customLayers:
|
|
82
|
+
precision: M,
|
|
83
|
+
customLayers: k
|
|
85
84
|
} = i, Ut = _e(null);
|
|
86
85
|
let Jt;
|
|
87
86
|
t[0] !== r.amount || t[1] !== r.once ? (Jt = {
|
|
88
87
|
once: r.once,
|
|
89
88
|
amount: r.amount
|
|
90
89
|
}, t[0] = r.amount, t[1] = r.once, t[2] = Jt) : Jt = t[2];
|
|
91
|
-
const v =
|
|
90
|
+
const v = ki(Ut, Jt), [L, lt] = dt(void 0), [z, jt] = dt(void 0), [Kt, wt] = dt(void 0), [m, f] = dt(void 0), me = y ? je + 50 : je, pe = N ? yt + 30 : yt;
|
|
92
91
|
let Qt;
|
|
93
|
-
t[3] !== Oe || t[4] !==
|
|
92
|
+
t[3] !== Oe || t[4] !== me || t[5] !== pe || t[6] !== re ? (Qt = {
|
|
94
93
|
top: re,
|
|
95
|
-
bottom:
|
|
94
|
+
bottom: me,
|
|
96
95
|
left: pe,
|
|
97
96
|
right: Oe
|
|
98
|
-
}, t[3] = Oe, t[4] =
|
|
97
|
+
}, t[3] = Oe, t[4] = me, t[5] = pe, t[6] = re, t[7] = Qt) : Qt = t[7];
|
|
99
98
|
const u = Qt;
|
|
100
|
-
let rt, Lt, $t, St,
|
|
101
|
-
if (t[8] !== r || t[9] !== At || t[10] !==
|
|
102
|
-
const ct =
|
|
103
|
-
Lt = De.svg,
|
|
99
|
+
let rt, Lt, $t, St, Vt, U, J, Mt, kt, Dt, X, Nt, Y, Tt, R, Pt, K, I;
|
|
100
|
+
if (t[8] !== r || t[9] !== At || t[10] !== s?.graphObjectValues || t[11] !== s?.regLine || t[12] !== s?.xAxis?.axis || t[13] !== s?.xAxis?.gridLines || t[14] !== s?.xAxis?.labels || t[15] !== s?.xAxis?.title || t[16] !== s?.yAxis?.gridLines || t[17] !== s?.yAxis?.labels || t[18] !== s?.yAxis?.title || t[19] !== C || t[20] !== c || t[21] !== et || t[22] !== k || t[23] !== l || t[24] !== P || t[25] !== V || t[26] !== q || t[27] !== fe || t[28] !== T || t[29] !== v || t[30] !== it || t[31] !== yt || t[32] !== u.bottom || t[33] !== u.left || t[34] !== u.right || t[35] !== u.top || t[36] !== we || t[37] !== Bt || t[38] !== vt || t[39] !== $ || t[40] !== b || t[41] !== z || t[42] !== L || t[43] !== ue || t[44] !== xe || t[45] !== S || t[46] !== B || t[47] !== M || t[48] !== D || t[49] !== ae || t[50] !== ce || t[51] !== Ct || t[52] !== zt || t[53] !== bt || t[54] !== tt || t[55] !== ht || t[56] !== n?.graphObjectValues || t[57] !== n?.regLine || t[58] !== n?.xAxis?.axis || t[59] !== n?.xAxis?.gridLines || t[60] !== n?.xAxis?.labels || t[61] !== n?.xAxis?.title || t[62] !== n?.yAxis?.gridLines || t[63] !== n?.yAxis?.labels || t[64] !== n?.yAxis?.title || t[65] !== G || t[66] !== y || t[67] !== st || t[68] !== ot || t[69] !== N || t[70] !== Ot || t[71] !== nt) {
|
|
101
|
+
const ct = l.map(mo), O = G - u.left - u.right, p = q - u.top - u.bottom, j = l.filter(xo).length !== l.length ? Vi().domain([0, we]).range([0.25, D]).nice() : void 0, ge = ct.filter(uo).length === 0 ? ct : gi(ct.filter(fo), "radius", "desc"), a = li().domain([$, Bt]).range([0, O]).nice(), x = li().domain([b, vt]).range([p, 0]).nice(), Et = a.ticks(ue), Ne = x.ticks(xe), Re = Mi.from(ge.filter(co), (e) => a(e.x), (e) => x(e.y)).voronoi([0, 0, O < 0 ? 0 : O, p < 0 ? 0 : p]), Ie = di(l.filter(ao).map((e) => [a(e.x), x(e.y)])), Te = hi(Ie);
|
|
102
|
+
Lt = De.svg, Mt = `${G}px`, kt = `${q}px`, Dt = `0 0 ${G} ${q}`, X = "ltr", Nt = Ut, $t = `translate(${u.left},${u.top})`;
|
|
104
103
|
let Zt;
|
|
105
|
-
t[90] !== r || t[91] !== et || t[92] !== v || t[93] !== a || t[94] !==
|
|
106
|
-
/* @__PURE__ */ o.jsx(
|
|
104
|
+
t[90] !== r || t[91] !== et || t[92] !== v || t[93] !== a || t[94] !== x ? (Zt = /* @__PURE__ */ o.jsx(Ai, { areaSettings: et, scaleX: a, scaleY: x, animate: r, isInView: v }, "custom-area"), t[90] = r, t[91] = et, t[92] = v, t[93] = a, t[94] = x, t[95] = Zt) : Zt = t[95], St = /* @__PURE__ */ o.jsxs(ri, { children: [
|
|
105
|
+
/* @__PURE__ */ o.jsx($i, { areaSettings: fe, width: O, height: p, scaleX: a, scaleY: x, animate: r, isInView: v }, "highlight-area"),
|
|
107
106
|
Zt
|
|
108
107
|
] });
|
|
109
108
|
const Le = n?.yAxis?.gridLines, $e = n?.yAxis?.labels;
|
|
@@ -112,16 +111,16 @@ function Gi(i) {
|
|
|
112
111
|
gridLines: Le,
|
|
113
112
|
labels: $e
|
|
114
113
|
}, t[96] = Le, t[97] = $e, t[98] = ft) : ft = t[98];
|
|
115
|
-
const Se =
|
|
114
|
+
const Se = s?.yAxis?.gridLines, w = s?.yAxis?.labels;
|
|
116
115
|
let _t;
|
|
117
116
|
t[99] !== Se || t[100] !== w ? (_t = {
|
|
118
117
|
gridLines: Se,
|
|
119
118
|
labels: w
|
|
120
119
|
}, t[99] = Se, t[100] = w, t[101] = _t) : _t = t[101];
|
|
121
|
-
const
|
|
120
|
+
const Ve = x(b < 0 ? 0 : b), de = x(b < 0 ? 0 : b), Me = O + u.right, ut = b < 0 ? 0 : b;
|
|
122
121
|
let Ft;
|
|
123
|
-
t[102] !==
|
|
124
|
-
const d =
|
|
122
|
+
t[102] !== M || t[103] !== ut || t[104] !== Ot || t[105] !== nt ? (Ft = oi(ut, "NA", M, Ot, nt), t[102] = M, t[103] = ut, t[104] = Ot, t[105] = nt, t[106] = Ft) : Ft = t[106];
|
|
123
|
+
const d = x(b < 0 ? 0 : b);
|
|
125
124
|
let Q;
|
|
126
125
|
t[107] !== d ? (Q = {
|
|
127
126
|
x: 0,
|
|
@@ -129,50 +128,50 @@ function Gi(i) {
|
|
|
129
128
|
dy: "0.33em",
|
|
130
129
|
dx: -4
|
|
131
130
|
}, t[107] = d, t[108] = Q) : Q = t[108];
|
|
132
|
-
const te =
|
|
131
|
+
const te = s?.xAxis?.axis, ke = s?.yAxis?.labels;
|
|
133
132
|
let Wt;
|
|
134
133
|
t[109] !== te || t[110] !== ke ? (Wt = {
|
|
135
134
|
axis: te,
|
|
136
135
|
label: ke
|
|
137
136
|
}, t[109] = te, t[110] = ke, t[111] = Wt) : Wt = t[111];
|
|
138
137
|
const ee = n?.xAxis?.axis;
|
|
139
|
-
let
|
|
140
|
-
t[112] !== n?.yAxis?.labels ? (
|
|
141
|
-
let
|
|
142
|
-
t[114] !==
|
|
138
|
+
let xt;
|
|
139
|
+
t[112] !== n?.yAxis?.labels ? (xt = n?.yAxis?.labels || {}, t[112] = n?.yAxis?.labels, t[113] = xt) : xt = t[113];
|
|
140
|
+
let E;
|
|
141
|
+
t[114] !== xt ? (E = {
|
|
143
142
|
textAnchor: "end",
|
|
144
|
-
...
|
|
145
|
-
}, t[114] =
|
|
146
|
-
let
|
|
147
|
-
t[116] !== ee || t[117] !==
|
|
143
|
+
...xt
|
|
144
|
+
}, t[114] = xt, t[115] = E) : E = t[115];
|
|
145
|
+
let F;
|
|
146
|
+
t[116] !== ee || t[117] !== E ? (F = {
|
|
148
147
|
axis: ee,
|
|
149
|
-
label:
|
|
150
|
-
}, t[116] = ee, t[117] =
|
|
148
|
+
label: E
|
|
149
|
+
}, t[116] = ee, t[117] = E, t[118] = F) : F = t[118];
|
|
151
150
|
let ie;
|
|
152
|
-
t[119] !==
|
|
153
|
-
const oe = 0 - yt - 15, ne = p / 2, se = n?.yAxis?.title, Z =
|
|
151
|
+
t[119] !== Ve || t[120] !== de || t[121] !== Me || t[122] !== Ft || t[123] !== Q || t[124] !== Wt || t[125] !== F ? (ie = /* @__PURE__ */ o.jsx(ni, { y1: Ve, y2: de, x1: 0, x2: Me, label: Ft, labelPos: Q, classNames: Wt, styles: F }), t[119] = Ve, t[120] = de, t[121] = Me, t[122] = Ft, t[123] = Q, t[124] = Wt, t[125] = F, t[126] = ie) : ie = t[126];
|
|
152
|
+
const oe = 0 - yt - 15, ne = p / 2, se = n?.yAxis?.title, Z = s?.yAxis?.title;
|
|
154
153
|
let Gt;
|
|
155
|
-
t[127] !== oe || t[128] !== ne || t[129] !== se || t[130] !== Z || t[131] !==
|
|
156
|
-
/* @__PURE__ */ o.jsx(
|
|
154
|
+
t[127] !== oe || t[128] !== ne || t[129] !== se || t[130] !== Z || t[131] !== N ? (Gt = /* @__PURE__ */ o.jsx(si, { x: oe, y: ne, style: se, className: Z, text: N, rotate90: !0 }), t[127] = oe, t[128] = ne, t[129] = se, t[130] = Z, t[131] = N, t[132] = Gt) : Gt = t[132], Vt = /* @__PURE__ */ o.jsxs("g", { children: [
|
|
155
|
+
/* @__PURE__ */ o.jsx(Li, { values: Ne.filter(ro), y: Ne.filter(lo).map((e) => x(e)), x1: 0, x2: O + u.right, styles: ft, classNames: _t, suffix: nt, prefix: Ot, labelType: "secondary", showGridLines: !0, labelPos: "side", precision: M }),
|
|
157
156
|
ie,
|
|
158
157
|
Gt
|
|
159
158
|
] });
|
|
160
159
|
const le = n?.xAxis?.gridLines, _ = n?.xAxis?.labels;
|
|
161
|
-
let
|
|
162
|
-
t[133] !== le || t[134] !== _ ? (
|
|
160
|
+
let mt;
|
|
161
|
+
t[133] !== le || t[134] !== _ ? (mt = {
|
|
163
162
|
gridLines: le,
|
|
164
163
|
labels: _
|
|
165
|
-
}, t[133] = le, t[134] = _, t[135] =
|
|
166
|
-
const h =
|
|
164
|
+
}, t[133] = le, t[134] = _, t[135] = mt) : mt = t[135];
|
|
165
|
+
const h = s?.xAxis?.gridLines, pt = s?.xAxis?.labels;
|
|
167
166
|
let Pe;
|
|
168
167
|
t[136] !== h || t[137] !== pt ? (Pe = {
|
|
169
168
|
gridLines: h,
|
|
170
169
|
labels: pt
|
|
171
170
|
}, t[136] = h, t[137] = pt, t[138] = Pe) : Pe = t[138];
|
|
172
|
-
const He = a(
|
|
171
|
+
const He = a($ < 0 ? 0 : $), Ee = a($ < 0 ? 0 : $), Fe = $ < 0 ? 0 : $;
|
|
173
172
|
let he;
|
|
174
|
-
t[139] !==
|
|
175
|
-
const We = a(
|
|
173
|
+
t[139] !== M || t[140] !== Fe || t[141] !== st || t[142] !== ot ? (he = oi(Fe, "NA", M, st, ot), t[139] = M, t[140] = Fe, t[141] = st, t[142] = ot, t[143] = he) : he = t[143];
|
|
174
|
+
const We = a($ < 0 ? 0 : $);
|
|
176
175
|
let ye;
|
|
177
176
|
t[144] !== p || t[145] !== We ? (ye = {
|
|
178
177
|
x: We,
|
|
@@ -180,7 +179,7 @@ function Gi(i) {
|
|
|
180
179
|
dy: "1em",
|
|
181
180
|
dx: 0
|
|
182
181
|
}, t[144] = p, t[145] = We, t[146] = ye) : ye = t[146];
|
|
183
|
-
const Ge =
|
|
182
|
+
const Ge = s?.xAxis?.axis, qe = s?.yAxis?.labels;
|
|
184
183
|
let ve;
|
|
185
184
|
t[147] !== Ge || t[148] !== qe ? (ve = {
|
|
186
185
|
axis: Ge,
|
|
@@ -201,30 +200,30 @@ function Gi(i) {
|
|
|
201
200
|
}, t[154] = Be, t[155] = Ae, t[156] = Ce) : Ce = t[156];
|
|
202
201
|
let Xe;
|
|
203
202
|
t[157] !== p || t[158] !== He || t[159] !== Ee || t[160] !== he || t[161] !== ye || t[162] !== ve || t[163] !== Ce ? (Xe = /* @__PURE__ */ o.jsx(ni, { x1: He, x2: Ee, y1: 0, y2: p, label: he, labelPos: ye, classNames: ve, styles: Ce }), t[157] = p, t[158] = He, t[159] = Ee, t[160] = he, t[161] = ye, t[162] = ve, t[163] = Ce, t[164] = Xe) : Xe = t[164];
|
|
204
|
-
const ze = O / 2, Ue = p + 30, Je = n?.xAxis?.title, Ke =
|
|
203
|
+
const ze = O / 2, Ue = p + 30, Je = n?.xAxis?.title, Ke = s?.xAxis?.title;
|
|
205
204
|
let Ye;
|
|
206
205
|
t[165] !== ze || t[166] !== Ue || t[167] !== Je || t[168] !== Ke || t[169] !== y ? (Ye = /* @__PURE__ */ o.jsx(si, { x: ze, y: Ue, style: Je, className: Ke, text: y }), t[165] = ze, t[166] = Ue, t[167] = Je, t[168] = Ke, t[169] = y, t[170] = Ye) : Ye = t[170], U = /* @__PURE__ */ o.jsxs("g", { children: [
|
|
207
|
-
/* @__PURE__ */ o.jsx(
|
|
206
|
+
/* @__PURE__ */ o.jsx(Ci, { values: Et.filter(so), x: Et.filter(no).map((e) => a(e)), y1: 0, y2: p, styles: mt, classNames: Pe, suffix: ot, prefix: st, labelType: "primary", showGridLines: !0, precision: M }),
|
|
208
207
|
Xe,
|
|
209
208
|
Ye
|
|
210
|
-
] }), t[171] !==
|
|
211
|
-
lt(e), f(A.clientY), wt(A.clientX),
|
|
209
|
+
] }), t[171] !== k ? (J = k.filter(oo).map(io), t[171] = k, t[172] = J) : J = t[172], rt = ri, Y = ge.filter(eo).map((e, gt) => /* @__PURE__ */ o.jsx("path", { d: Re.renderCell(ge.findIndex((A) => A.id === e.id)), opacity: 0, onMouseEnter: (A) => {
|
|
210
|
+
lt(e), f(A.clientY), wt(A.clientX), B?.(e);
|
|
212
211
|
}, onMouseMove: (A) => {
|
|
213
212
|
lt(e), f(A.clientY), wt(A.clientX);
|
|
214
213
|
}, onMouseLeave: () => {
|
|
215
|
-
lt(void 0), wt(void 0), f(void 0),
|
|
214
|
+
lt(void 0), wt(void 0), f(void 0), B?.(void 0);
|
|
216
215
|
}, onClick: () => {
|
|
217
|
-
(
|
|
218
|
-
} }, `tesselation_${e.label || gt}`)), Tt = ge.filter(
|
|
216
|
+
(S || P) && (ii(z, e) && zt ? (jt(void 0), S?.(void 0)) : (jt(e), S?.(e)));
|
|
217
|
+
} }, `tesselation_${e.label || gt}`)), Tt = ge.filter(to).map((e, gt) => /* @__PURE__ */ o.jsxs(De.g, { variants: {
|
|
219
218
|
initial: {
|
|
220
219
|
x: a(e.x),
|
|
221
|
-
y:
|
|
222
|
-
opacity: tt ? e.color && c[C.indexOf(`${e.color}`)] === tt ? 1 : V :
|
|
220
|
+
y: x(e.y),
|
|
221
|
+
opacity: tt ? e.color && c[C.indexOf(`${e.color}`)] === tt ? 1 : V : L ? L.id === e.id ? 1 : V : T.length !== 0 ? T.indexOf(e.label || "") !== -1 ? 1 : V : 1
|
|
223
222
|
},
|
|
224
223
|
whileInView: {
|
|
225
224
|
x: a(e.x),
|
|
226
|
-
y:
|
|
227
|
-
opacity: tt ? e.color && c[C.indexOf(`${e.color}`)] === tt ? 1 : V :
|
|
225
|
+
y: x(e.y),
|
|
226
|
+
opacity: tt ? e.color && c[C.indexOf(`${e.color}`)] === tt ? 1 : V : L ? L.id === e.id ? 1 : V : T.length !== 0 ? T.indexOf(e.label || "") !== -1 ? 1 : V : 1,
|
|
228
227
|
transition: {
|
|
229
228
|
duration: r.duration
|
|
230
229
|
}
|
|
@@ -235,13 +234,13 @@ function Gi(i) {
|
|
|
235
234
|
duration: r.duration
|
|
236
235
|
}
|
|
237
236
|
}, onMouseEnter: (A) => {
|
|
238
|
-
lt(e), f(A.clientY), wt(A.clientX),
|
|
237
|
+
lt(e), f(A.clientY), wt(A.clientX), B?.(e);
|
|
239
238
|
}, onMouseMove: (A) => {
|
|
240
239
|
lt(e), f(A.clientY), wt(A.clientX);
|
|
241
240
|
}, onMouseLeave: () => {
|
|
242
|
-
lt(void 0), wt(void 0), f(void 0),
|
|
241
|
+
lt(void 0), wt(void 0), f(void 0), B?.(void 0);
|
|
243
242
|
}, onClick: () => {
|
|
244
|
-
(
|
|
243
|
+
(S || P) && (ii(z, e) && zt ? (jt(void 0), S?.(void 0)) : (jt(e), S?.(e)));
|
|
245
244
|
}, children: [
|
|
246
245
|
/* @__PURE__ */ o.jsx(De.circle, { cx: 0, cy: 0, exit: {
|
|
247
246
|
r: 0,
|
|
@@ -251,13 +250,13 @@ function Gi(i) {
|
|
|
251
250
|
}, variants: {
|
|
252
251
|
initial: {
|
|
253
252
|
r: 0,
|
|
254
|
-
fill:
|
|
255
|
-
stroke:
|
|
253
|
+
fill: l.filter(_i).length === 0 ? c[0] : e.color ? c[C.indexOf(`${e.color}`)] : W.gray,
|
|
254
|
+
stroke: l.filter(Zi).length === 0 ? c[0] : e.color ? c[C.indexOf(`${e.color}`)] : W.gray
|
|
256
255
|
},
|
|
257
256
|
whileInView: {
|
|
258
|
-
r: j ? j(e.radius || 0) :
|
|
259
|
-
fill:
|
|
260
|
-
stroke:
|
|
257
|
+
r: j ? j(e.radius || 0) : D,
|
|
258
|
+
fill: l.filter(Qi).length === 0 ? c[0] : e.color ? c[C.indexOf(`${e.color}`)] : W.gray,
|
|
259
|
+
stroke: l.filter(Ki).length === 0 ? c[0] : e.color ? c[C.indexOf(`${e.color}`)] : W.gray,
|
|
261
260
|
transition: {
|
|
262
261
|
duration: r.duration
|
|
263
262
|
}
|
|
@@ -267,120 +266,119 @@ function Gi(i) {
|
|
|
267
266
|
} }),
|
|
268
267
|
ht && !g(e.label) ? /* @__PURE__ */ o.jsx(De.text, { style: {
|
|
269
268
|
...n?.graphObjectValues || {}
|
|
270
|
-
}, className: ti("graph-value text-sm",
|
|
269
|
+
}, className: ti("graph-value text-sm", s?.graphObjectValues), y: 0, exit: {
|
|
271
270
|
opacity: 0,
|
|
272
271
|
transition: {
|
|
273
272
|
duration: r.duration
|
|
274
273
|
}
|
|
275
274
|
}, variants: {
|
|
276
275
|
initial: {
|
|
277
|
-
x: j ? j(e.radius || 0) :
|
|
276
|
+
x: j ? j(e.radius || 0) : D,
|
|
278
277
|
opacity: 0,
|
|
279
|
-
fill: it || (
|
|
278
|
+
fill: it || (l.filter(Ji).length === 0 ? c[0] : e.color ? c[C.indexOf(`${e.color}`)] : W.gray)
|
|
280
279
|
},
|
|
281
280
|
whileInView: {
|
|
282
|
-
x: j ? j(e.radius || 0) :
|
|
281
|
+
x: j ? j(e.radius || 0) : D,
|
|
283
282
|
opacity: 1,
|
|
284
|
-
fill: it || (
|
|
283
|
+
fill: it || (l.filter(Ui).length === 0 ? c[0] : e.color ? c[C.indexOf(`${e.color}`)] : W.gray),
|
|
285
284
|
transition: {
|
|
286
285
|
duration: r.duration
|
|
287
286
|
}
|
|
288
287
|
}
|
|
289
|
-
}, initial: "initial", animate: v ? "whileInView" : "initial", dy: "0.33em", dx: 3, children: e.label }) :
|
|
288
|
+
}, initial: "initial", animate: v ? "whileInView" : "initial", dy: "0.33em", dx: 3, children: e.label }) : T.length !== 0 && !g(e.label) && T.indexOf(e.label) !== -1 ? /* @__PURE__ */ o.jsx(De.text, { style: {
|
|
290
289
|
...n?.graphObjectValues || {}
|
|
291
|
-
}, className: ti("graph-value text-sm",
|
|
290
|
+
}, className: ti("graph-value text-sm", s?.graphObjectValues), y: 0, exit: {
|
|
292
291
|
opacity: 0,
|
|
293
292
|
transition: {
|
|
294
293
|
duration: r.duration
|
|
295
294
|
}
|
|
296
295
|
}, variants: {
|
|
297
296
|
initial: {
|
|
298
|
-
x: j ? j(e.radius || 0) :
|
|
297
|
+
x: j ? j(e.radius || 0) : D,
|
|
299
298
|
opacity: 0,
|
|
300
|
-
fill: it || (
|
|
299
|
+
fill: it || (l.filter(zi).length === 0 ? c[0] : e.color ? c[C.indexOf(`${e.color}`)] : W.gray)
|
|
301
300
|
},
|
|
302
301
|
whileInView: {
|
|
303
|
-
x: j ? j(e.radius || 0) :
|
|
302
|
+
x: j ? j(e.radius || 0) : D,
|
|
304
303
|
opacity: 1,
|
|
305
|
-
fill: it || (
|
|
304
|
+
fill: it || (l.filter(Bi).length === 0 ? c[0] : e.color ? c[C.indexOf(`${e.color}`)] : W.gray),
|
|
306
305
|
transition: {
|
|
307
306
|
duration: r.duration
|
|
308
307
|
}
|
|
309
308
|
}
|
|
310
309
|
}, initial: "initial", animate: v ? "whileInView" : "initial", dy: "0.33em", dx: 3, children: e.label }) : null
|
|
311
|
-
] }, `${e.label || gt}`)),
|
|
310
|
+
] }, `${e.label || gt}`)), R = ae.map((e, gt) => /* @__PURE__ */ o.jsx(Oi, { text: e.text, color: e.color, x: a(e.value), y1: 0, y2: p, textSide: a(e.value) > O * 0.75 || bt ? "left" : "right", classNames: e.classNames, styles: e.styles, animate: r, isInView: v }, gt)), Pt = ce.map((e, gt) => /* @__PURE__ */ o.jsx(ji, { text: e.text, color: e.color, y: x(e.value), x1: 0, x2: O, classNames: e.classNames, styles: e.styles, animate: r, isInView: v }, gt));
|
|
312
311
|
const Qe = At.map((e, gt) => {
|
|
313
|
-
const A =
|
|
312
|
+
const A = vi({
|
|
314
313
|
x: e.xCoordinate ? a(e.xCoordinate) + (e.xOffset || 0) : 0 + (e.xOffset || 0),
|
|
315
|
-
y: e.yCoordinate ?
|
|
314
|
+
y: e.yCoordinate ? x(e.yCoordinate) + (e.yOffset || 0) - 8 : 0 + (e.yOffset || 0) - 8
|
|
316
315
|
}, {
|
|
317
316
|
x: e.xCoordinate ? a(e.xCoordinate) : 0,
|
|
318
|
-
y: e.yCoordinate ?
|
|
317
|
+
y: e.yCoordinate ? x(e.yCoordinate) : 0
|
|
319
318
|
}, g(e.connectorRadius) ? 3.5 : e.connectorRadius), ci = e.showConnector ? {
|
|
320
319
|
y1: A.y,
|
|
321
320
|
x1: A.x,
|
|
322
|
-
y2: e.yCoordinate ?
|
|
321
|
+
y2: e.yCoordinate ? x(e.yCoordinate) + (e.yOffset || 0) : 0 + (e.yOffset || 0),
|
|
323
322
|
x2: e.xCoordinate ? a(e.xCoordinate) + (e.xOffset || 0) : 0 + (e.xOffset || 0),
|
|
324
|
-
cy: e.yCoordinate ?
|
|
323
|
+
cy: e.yCoordinate ? x(e.yCoordinate) : 0,
|
|
325
324
|
cx: e.xCoordinate ? a(e.xCoordinate) : 0,
|
|
326
325
|
circleRadius: g(e.connectorRadius) ? 3.5 : e.connectorRadius,
|
|
327
326
|
strokeWidth: e.showConnector === !0 ? 2 : Math.min(e.showConnector || 0, 1)
|
|
328
327
|
} : void 0, fi = {
|
|
329
|
-
y: e.yCoordinate ?
|
|
328
|
+
y: e.yCoordinate ? x(e.yCoordinate) + (e.yOffset || 0) - 8 : 0 + (e.yOffset || 0) - 8,
|
|
330
329
|
x: bt ? 0 : e.xCoordinate ? a(e.xCoordinate) + (e.xOffset || 0) : 0 + (e.xOffset || 0),
|
|
331
330
|
width: bt ? e.xCoordinate ? a(e.xCoordinate) + (e.xOffset || 0) : 0 + (e.xOffset || 0) : O + u.right - (e.xCoordinate ? a(e.xCoordinate) + (e.xOffset || 0) : 0 + (e.xOffset || 0)),
|
|
332
331
|
maxWidth: e.maxWidth,
|
|
333
332
|
fontWeight: e.fontWeight,
|
|
334
333
|
align: e.align
|
|
335
334
|
};
|
|
336
|
-
return /* @__PURE__ */ o.jsx(
|
|
335
|
+
return /* @__PURE__ */ o.jsx(bi, { color: e.color, connectorsSettings: ci, labelSettings: fi, text: e.text, classNames: e.classNames, styles: e.styles, animate: r, isInView: v }, gt);
|
|
337
336
|
});
|
|
338
|
-
t[173] !== Qe ? (K = /* @__PURE__ */ o.jsx("g", { children: Qe }), t[173] = Qe, t[174] = K) : K = t[174],
|
|
337
|
+
t[173] !== Qe ? (K = /* @__PURE__ */ o.jsx("g", { children: Qe }), t[173] = Qe, t[174] = K) : K = t[174], I = Ct ? /* @__PURE__ */ o.jsx(wi, { x1: 0, x2: O, y1: Te(0), y2: Te(O), graphHeight: p, graphWidth: O, className: s?.regLine, style: n?.regLine, color: typeof Ct == "string" ? Ct : void 0, animate: r, isInView: v }) : null, t[8] = r, t[9] = At, t[10] = s?.graphObjectValues, t[11] = s?.regLine, t[12] = s?.xAxis?.axis, t[13] = s?.xAxis?.gridLines, t[14] = s?.xAxis?.labels, t[15] = s?.xAxis?.title, t[16] = s?.yAxis?.gridLines, t[17] = s?.yAxis?.labels, t[18] = s?.yAxis?.title, t[19] = C, t[20] = c, t[21] = et, t[22] = k, t[23] = l, t[24] = P, t[25] = V, t[26] = q, t[27] = fe, t[28] = T, t[29] = v, t[30] = it, t[31] = yt, t[32] = u.bottom, t[33] = u.left, t[34] = u.right, t[35] = u.top, t[36] = we, t[37] = Bt, t[38] = vt, t[39] = $, t[40] = b, t[41] = z, t[42] = L, t[43] = ue, t[44] = xe, t[45] = S, t[46] = B, t[47] = M, t[48] = D, t[49] = ae, t[50] = ce, t[51] = Ct, t[52] = zt, t[53] = bt, t[54] = tt, t[55] = ht, t[56] = n?.graphObjectValues, t[57] = n?.regLine, t[58] = n?.xAxis?.axis, t[59] = n?.xAxis?.gridLines, t[60] = n?.xAxis?.labels, t[61] = n?.xAxis?.title, t[62] = n?.yAxis?.gridLines, t[63] = n?.yAxis?.labels, t[64] = n?.yAxis?.title, t[65] = G, t[66] = y, t[67] = st, t[68] = ot, t[69] = N, t[70] = Ot, t[71] = nt, t[72] = rt, t[73] = Lt, t[74] = $t, t[75] = St, t[76] = Vt, t[77] = U, t[78] = J, t[79] = Mt, t[80] = kt, t[81] = Dt, t[82] = X, t[83] = Nt, t[84] = Y, t[85] = Tt, t[86] = R, t[87] = Pt, t[88] = K, t[89] = I;
|
|
339
338
|
} else
|
|
340
|
-
rt = t[72], Lt = t[73], $t = t[74], St = t[75],
|
|
339
|
+
rt = t[72], Lt = t[73], $t = t[74], St = t[75], Vt = t[76], U = t[77], J = t[78], Mt = t[79], kt = t[80], Dt = t[81], X = t[82], Nt = t[83], Y = t[84], Tt = t[85], R = t[86], Pt = t[87], K = t[88], I = t[89];
|
|
341
340
|
let Xt;
|
|
342
|
-
t[175] !== rt || t[176] !==
|
|
343
|
-
|
|
341
|
+
t[175] !== rt || t[176] !== Y || t[177] !== Tt || t[178] !== R || t[179] !== Pt || t[180] !== K || t[181] !== I ? (Xt = /* @__PURE__ */ o.jsxs(rt, { children: [
|
|
342
|
+
Y,
|
|
344
343
|
Tt,
|
|
345
|
-
|
|
344
|
+
R,
|
|
346
345
|
Pt,
|
|
347
346
|
K,
|
|
348
|
-
|
|
349
|
-
] }), t[175] = rt, t[176] =
|
|
347
|
+
I
|
|
348
|
+
] }), t[175] = rt, t[176] = Y, t[177] = Tt, t[178] = R, t[179] = Pt, t[180] = K, t[181] = I, t[182] = Xt) : Xt = t[182];
|
|
350
349
|
let Yt;
|
|
351
|
-
t[183] !==
|
|
350
|
+
t[183] !== k ? (Yt = k.filter(qi).map(Gi), t[183] = k, t[184] = Yt) : Yt = t[184];
|
|
352
351
|
let Rt;
|
|
353
|
-
t[185] !== $t || t[186] !== St || t[187] !==
|
|
352
|
+
t[185] !== $t || t[186] !== St || t[187] !== Vt || t[188] !== U || t[189] !== J || t[190] !== Xt || t[191] !== Yt ? (Rt = /* @__PURE__ */ o.jsxs("g", { transform: $t, children: [
|
|
354
353
|
St,
|
|
355
|
-
|
|
354
|
+
Vt,
|
|
356
355
|
U,
|
|
357
356
|
J,
|
|
358
357
|
Xt,
|
|
359
358
|
Yt
|
|
360
|
-
] }), t[185] = $t, t[186] = St, t[187] =
|
|
359
|
+
] }), t[185] = $t, t[186] = St, t[187] = Vt, t[188] = U, t[189] = J, t[190] = Xt, t[191] = Yt, t[192] = Rt) : Rt = t[192];
|
|
361
360
|
let It;
|
|
362
|
-
t[193] !== Lt || t[194] !==
|
|
361
|
+
t[193] !== Lt || t[194] !== Mt || t[195] !== kt || t[196] !== Dt || t[197] !== X || t[198] !== Nt || t[199] !== Rt ? (It = /* @__PURE__ */ o.jsx(Lt, { width: Mt, height: kt, viewBox: Dt, direction: X, ref: Nt, children: Rt }), t[193] = Lt, t[194] = Mt, t[195] = kt, t[196] = Dt, t[197] = X, t[198] = Nt, t[199] = Rt, t[200] = It) : It = t[200];
|
|
363
362
|
let Ht;
|
|
364
|
-
t[201] !==
|
|
365
|
-
let
|
|
366
|
-
t[208] !==
|
|
367
|
-
jt(void 0);
|
|
368
|
-
}, children: /* @__PURE__ */ o.jsx("div", { className: "graph-modal-content m-0", dangerouslySetInnerHTML: typeof L == "string" ? {
|
|
369
|
-
__html: Oi(L, T)
|
|
370
|
-
} : void 0, children: typeof L == "function" ? L(T) : null }) }) : null, t[208] = L, t[209] = T, t[210] = E) : E = t[210];
|
|
363
|
+
t[201] !== s?.tooltip || t[202] !== Kt || t[203] !== m || t[204] !== L || t[205] !== n?.tooltip || t[206] !== qt ? (Ht = L && qt && Kt && m ? /* @__PURE__ */ o.jsx(yi, { data: L, body: qt, xPos: Kt, yPos: m, backgroundStyle: n?.tooltip, className: s?.tooltip }) : null, t[201] = s?.tooltip, t[202] = Kt, t[203] = m, t[204] = L, t[205] = n?.tooltip, t[206] = qt, t[207] = Ht) : Ht = t[207];
|
|
364
|
+
let H;
|
|
365
|
+
t[208] !== s?.modal || t[209] !== P || t[210] !== z ? (H = P && z !== void 0 ? /* @__PURE__ */ o.jsx(Si, { body: P, data: z, setData: jt, className: s?.modal }) : null, t[208] = s?.modal, t[209] = P, t[210] = z, t[211] = H) : H = t[211];
|
|
371
366
|
let at;
|
|
372
|
-
return t[
|
|
367
|
+
return t[212] !== It || t[213] !== Ht || t[214] !== H ? (at = /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
|
|
373
368
|
It,
|
|
374
369
|
Ht,
|
|
375
|
-
|
|
376
|
-
] }), t[
|
|
370
|
+
H
|
|
371
|
+
] }), t[212] = It, t[213] = Ht, t[214] = H, t[215] = at) : at = t[215], at;
|
|
377
372
|
}
|
|
378
|
-
function
|
|
373
|
+
function Gi(i) {
|
|
379
374
|
return i.layer;
|
|
380
375
|
}
|
|
381
|
-
function
|
|
376
|
+
function qi(i) {
|
|
382
377
|
return i.position === "after";
|
|
383
378
|
}
|
|
379
|
+
function Bi(i) {
|
|
380
|
+
return i.color;
|
|
381
|
+
}
|
|
384
382
|
function zi(i) {
|
|
385
383
|
return i.color;
|
|
386
384
|
}
|
|
@@ -403,19 +401,19 @@ function _i(i) {
|
|
|
403
401
|
return i.color;
|
|
404
402
|
}
|
|
405
403
|
function to(i) {
|
|
406
|
-
return i.
|
|
404
|
+
return !g(i.x) && !g(i.y);
|
|
407
405
|
}
|
|
408
406
|
function eo(i) {
|
|
409
407
|
return !g(i.x) && !g(i.y);
|
|
410
408
|
}
|
|
411
409
|
function io(i) {
|
|
412
|
-
return
|
|
410
|
+
return i.layer;
|
|
413
411
|
}
|
|
414
412
|
function oo(i) {
|
|
415
|
-
return i.
|
|
413
|
+
return i.position === "before";
|
|
416
414
|
}
|
|
417
415
|
function no(i) {
|
|
418
|
-
return i
|
|
416
|
+
return i !== 0;
|
|
419
417
|
}
|
|
420
418
|
function so(i) {
|
|
421
419
|
return i !== 0;
|
|
@@ -427,151 +425,148 @@ function ro(i) {
|
|
|
427
425
|
return i !== 0;
|
|
428
426
|
}
|
|
429
427
|
function ao(i) {
|
|
430
|
-
return i
|
|
428
|
+
return !g(i.x) && !g(i.y);
|
|
431
429
|
}
|
|
432
430
|
function co(i) {
|
|
433
431
|
return !g(i.x) && !g(i.y);
|
|
434
432
|
}
|
|
435
433
|
function fo(i) {
|
|
436
|
-
return !g(i.x) && !g(i.y);
|
|
437
|
-
}
|
|
438
|
-
function uo(i) {
|
|
439
434
|
return !g(i.radius);
|
|
440
435
|
}
|
|
441
|
-
function
|
|
436
|
+
function uo(i) {
|
|
442
437
|
return !g(i.radius);
|
|
443
438
|
}
|
|
444
439
|
function xo(i) {
|
|
445
440
|
return i.radius === void 0 || i.radius === null;
|
|
446
441
|
}
|
|
447
|
-
function
|
|
442
|
+
function mo(i, t) {
|
|
448
443
|
return {
|
|
449
444
|
...i,
|
|
450
445
|
id: `${t}`
|
|
451
446
|
};
|
|
452
447
|
}
|
|
453
|
-
function
|
|
448
|
+
function Ln(i) {
|
|
454
449
|
const t = ai.c(53), {
|
|
455
|
-
data:
|
|
456
|
-
graphTitle:
|
|
457
|
-
colors:
|
|
450
|
+
data: l,
|
|
451
|
+
graphTitle: G,
|
|
452
|
+
colors: q,
|
|
458
453
|
sources: ht,
|
|
459
454
|
graphDescription: c,
|
|
460
455
|
showLabels: C,
|
|
461
|
-
height:
|
|
456
|
+
height: D,
|
|
462
457
|
width: y,
|
|
463
|
-
footNote:
|
|
458
|
+
footNote: N,
|
|
464
459
|
colorDomain: yt,
|
|
465
460
|
colorLegendTitle: Oe,
|
|
466
461
|
radius: re,
|
|
467
462
|
xAxisTitle: je,
|
|
468
463
|
yAxisTitle: qt,
|
|
469
|
-
padding:
|
|
464
|
+
padding: B,
|
|
470
465
|
backgroundColor: ae,
|
|
471
466
|
leftMargin: ce,
|
|
472
467
|
rightMargin: fe,
|
|
473
468
|
topMargin: tt,
|
|
474
|
-
bottomMargin:
|
|
469
|
+
bottomMargin: T,
|
|
475
470
|
tooltip: we,
|
|
476
471
|
relativeHeight: Bt,
|
|
477
|
-
onSeriesMouseOver:
|
|
472
|
+
onSeriesMouseOver: $,
|
|
478
473
|
refXValues: vt,
|
|
479
474
|
refYValues: b,
|
|
480
|
-
highlightAreaSettings:
|
|
475
|
+
highlightAreaSettings: S,
|
|
481
476
|
showColorScale: bt,
|
|
482
477
|
highlightedDataPoints: At,
|
|
483
478
|
graphID: et,
|
|
484
479
|
maxRadiusValue: Ct,
|
|
485
480
|
maxXValue: zt,
|
|
486
|
-
minXValue:
|
|
481
|
+
minXValue: P,
|
|
487
482
|
maxYValue: ue,
|
|
488
|
-
minYValue:
|
|
483
|
+
minYValue: xe,
|
|
489
484
|
xSuffix: it,
|
|
490
485
|
ySuffix: ot,
|
|
491
486
|
xPrefix: nt,
|
|
492
487
|
yPrefix: st,
|
|
493
488
|
onSeriesMouseClick: Ot,
|
|
494
489
|
graphDownload: n,
|
|
495
|
-
dataDownload:
|
|
490
|
+
dataDownload: s,
|
|
496
491
|
language: r,
|
|
497
492
|
showNAColor: V,
|
|
498
|
-
minHeight:
|
|
499
|
-
annotations:
|
|
493
|
+
minHeight: M,
|
|
494
|
+
annotations: k,
|
|
500
495
|
customHighlightAreaSettings: Ut,
|
|
501
496
|
theme: Jt,
|
|
502
497
|
regressionLine: v,
|
|
503
|
-
ariaLabel:
|
|
498
|
+
ariaLabel: L,
|
|
504
499
|
resetSelectionOnDoubleClick: lt,
|
|
505
|
-
detailsOnClick:
|
|
500
|
+
detailsOnClick: z,
|
|
506
501
|
noOfXTicks: jt,
|
|
507
502
|
noOfYTicks: Kt,
|
|
508
503
|
labelColor: wt,
|
|
509
|
-
styles:
|
|
504
|
+
styles: m,
|
|
510
505
|
classNames: f,
|
|
511
|
-
animate:
|
|
506
|
+
animate: me,
|
|
512
507
|
dimmedOpacity: pe,
|
|
513
508
|
precision: Qt,
|
|
514
509
|
customLayers: u,
|
|
515
510
|
timeline: rt
|
|
516
|
-
} = i, Lt = C === void 0 ? !1 : C, $t = re === void 0 ? 5 : re, St = je === void 0 ? "X Axis" : je,
|
|
511
|
+
} = i, Lt = C === void 0 ? !1 : C, $t = re === void 0 ? 5 : re, St = je === void 0 ? "X Axis" : je, Vt = qt === void 0 ? "Y Axis" : qt, U = ae === void 0 ? !1 : ae, J = ce === void 0 ? 0 : ce, Mt = fe === void 0 ? 10 : fe, kt = tt === void 0 ? 20 : tt, Dt = T === void 0 ? 50 : T;
|
|
512
|
+
let X;
|
|
513
|
+
t[0] !== vt ? (X = vt === void 0 ? [] : vt, t[0] = vt, t[1] = X) : X = t[1];
|
|
514
|
+
const Nt = X;
|
|
517
515
|
let Y;
|
|
518
|
-
t[
|
|
519
|
-
const
|
|
516
|
+
t[2] !== b ? (Y = b === void 0 ? [] : b, t[2] = b, t[3] = Y) : Y = t[3];
|
|
517
|
+
const Tt = Y;
|
|
520
518
|
let R;
|
|
521
|
-
t[
|
|
522
|
-
const
|
|
519
|
+
t[4] !== S ? (R = S === void 0 ? [] : S, t[4] = S, t[5] = R) : R = t[5];
|
|
520
|
+
const Pt = R, K = bt === void 0 ? !0 : bt;
|
|
523
521
|
let I;
|
|
524
|
-
t[
|
|
525
|
-
const
|
|
526
|
-
let H;
|
|
527
|
-
t[6] !== At ? (H = At === void 0 ? [] : At, t[6] = At, t[7] = H) : H = t[7];
|
|
528
|
-
const Xt = H, Yt = it === void 0 ? "" : it, Rt = ot === void 0 ? "" : ot, It = nt === void 0 ? "" : nt, Ht = st === void 0 ? "" : st, E = n === void 0 ? !1 : n, at = l === void 0 ? !1 : l, ct = r === void 0 ? "en" : r, O = V === void 0 ? !0 : V, p = k === void 0 ? 0 : k;
|
|
522
|
+
t[6] !== At ? (I = At === void 0 ? [] : At, t[6] = At, t[7] = I) : I = t[7];
|
|
523
|
+
const Xt = I, Yt = it === void 0 ? "" : it, Rt = ot === void 0 ? "" : ot, It = nt === void 0 ? "" : nt, Ht = st === void 0 ? "" : st, H = n === void 0 ? !1 : n, at = s === void 0 ? !1 : s, ct = r === void 0 ? "en" : r, O = V === void 0 ? !0 : V, p = M === void 0 ? 0 : M;
|
|
529
524
|
let j;
|
|
530
|
-
t[8] !==
|
|
525
|
+
t[8] !== k ? (j = k === void 0 ? [] : k, t[8] = k, t[9] = j) : j = t[9];
|
|
531
526
|
const ge = j;
|
|
532
527
|
let a;
|
|
533
528
|
t[10] !== Ut ? (a = Ut === void 0 ? [] : Ut, t[10] = Ut, t[11] = a) : a = t[11];
|
|
534
|
-
const
|
|
529
|
+
const x = a, Et = Jt === void 0 ? "light" : Jt, Ne = v === void 0 ? !1 : v, Re = lt === void 0 ? !0 : lt, Ie = jt === void 0 ? 5 : jt, Te = Kt === void 0 ? 5 : Kt, Zt = me === void 0 ? !1 : me, Le = pe === void 0 ? 0.3 : pe, $e = Qt === void 0 ? 2 : Qt;
|
|
535
530
|
let ft;
|
|
536
531
|
t[12] !== u ? (ft = u === void 0 ? [] : u, t[12] = u, t[13] = ft) : ft = t[13];
|
|
537
532
|
const Se = ft, w = rt === void 0 ? {
|
|
538
533
|
enabled: !1,
|
|
539
534
|
autoplay: !1,
|
|
540
535
|
showOnlyActiveDate: !0
|
|
541
|
-
} : rt, [_t,
|
|
542
|
-
let
|
|
543
|
-
t[14] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
536
|
+
} : rt, [_t, Ve] = dt(0), [de, Me] = dt(0), [ut, Ft] = dt(w.autoplay), d = Ei(Ze(l, "date", !0).map((h) => ui(`${h}`, w.dateFormat || "yyyy", /* @__PURE__ */ new Date()).getTime()), Fo), [Q, te] = dt(w.autoplay ? 0 : d.length - 1), [ke, Wt] = dt(void 0), ee = _e(null), xt = _e(null);
|
|
537
|
+
let E, F;
|
|
538
|
+
t[14] === Symbol.for("react.memo_cache_sentinel") ? (E = () => {
|
|
544
539
|
const h = new ResizeObserver((pt) => {
|
|
545
|
-
|
|
540
|
+
Ve(pt[0].target.clientWidth || 620), Me(pt[0].target.clientHeight || 480);
|
|
546
541
|
});
|
|
547
542
|
return ee.current && h.observe(ee.current), () => h.disconnect();
|
|
548
|
-
},
|
|
543
|
+
}, F = [], t[14] = E, t[15] = F) : (E = t[14], F = t[15]), ei(E, F), ei(() => {
|
|
549
544
|
const h = setInterval(() => {
|
|
550
545
|
te((pt) => pt < d.length - 1 ? pt + 1 : 0);
|
|
551
546
|
}, (w.speed || 2) * 1e3);
|
|
552
547
|
return ut || clearInterval(h), () => clearInterval(h);
|
|
553
548
|
}, [d, ut, w.speed]);
|
|
554
|
-
const ie =
|
|
549
|
+
const ie = mi(d, Q, w.showOnlyActiveDate, w.dateFormat || "yyyy"), oe = Hi, ne = f?.graphContainer, se = m?.graphContainer;
|
|
555
550
|
let Z;
|
|
556
|
-
t[16] !== f?.description || t[17] !== f?.title || t[18] !==
|
|
557
|
-
title:
|
|
558
|
-
description:
|
|
551
|
+
t[16] !== f?.description || t[17] !== f?.title || t[18] !== l || t[19] !== at || t[20] !== c || t[21] !== H || t[22] !== G || t[23] !== m?.description || t[24] !== m?.title || t[25] !== y ? (Z = G || c || H || at ? /* @__PURE__ */ o.jsx(Ni, { styles: {
|
|
552
|
+
title: m?.title,
|
|
553
|
+
description: m?.description
|
|
559
554
|
}, classNames: {
|
|
560
555
|
title: f?.title,
|
|
561
556
|
description: f?.description
|
|
562
|
-
}, graphTitle:
|
|
557
|
+
}, graphTitle: G, graphDescription: c, width: y, graphDownload: H ? xt : void 0, dataDownload: at ? l.map(Eo).filter(Ho).length > 0 ? l.map(Io).filter(Ro) : l.filter(Yo) : null }) : null, t[16] = f?.description, t[17] = f?.title, t[18] = l, t[19] = at, t[20] = c, t[21] = H, t[22] = G, t[23] = m?.description, t[24] = m?.title, t[25] = y, t[26] = Z) : Z = t[26];
|
|
563
558
|
const Gt = w.enabled && d.length > 0 && ie ? /* @__PURE__ */ o.jsxs("div", { className: "flex gap-6 items-center", dir: "ltr", children: [
|
|
564
559
|
/* @__PURE__ */ o.jsx("button", { type: "button", onClick: () => {
|
|
565
560
|
Ft(!ut);
|
|
566
|
-
}, className: "p-0 border-0 cursor-pointer bg-transparent", "aria-label": ut ? "Click to pause animation" : "Click to play animation", children: ut ? /* @__PURE__ */ o.jsx(
|
|
561
|
+
}, className: "p-0 border-0 cursor-pointer bg-transparent", "aria-label": ut ? "Click to pause animation" : "Click to play animation", children: ut ? /* @__PURE__ */ o.jsx(Xi, {}) : /* @__PURE__ */ o.jsx(Yi, {}) }),
|
|
567
562
|
/* @__PURE__ */ o.jsx(pi, { min: d[0], max: d[d.length - 1], marks: ie, step: null, defaultValue: d[d.length - 1], value: d[Q], onChangeComplete: (h) => {
|
|
568
563
|
te(d.indexOf(h));
|
|
569
564
|
}, onChange: (h) => {
|
|
570
565
|
te(d.indexOf(h));
|
|
571
566
|
}, "aria-label": "Time slider. Use arrow keys to adjust selected time period." })
|
|
572
|
-
] }) : null, le =
|
|
573
|
-
K &&
|
|
574
|
-
/* @__PURE__ */ o.jsx(
|
|
567
|
+
] }) : null, le = l.length === 0 ? /* @__PURE__ */ o.jsx(Pi, {}) : /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
|
|
568
|
+
K && l.filter(Xo).length !== 0 ? /* @__PURE__ */ o.jsx(Ti, { width: y, colorLegendTitle: Oe, colors: q || W[Et].categoricalColors.colors, colorDomain: yt || Ze(l, "color", !0), setSelectedColor: Wt, showNAColor: O, className: f?.colorLegend }) : null,
|
|
569
|
+
/* @__PURE__ */ o.jsx(Ii, { ref: ee, children: _t && de ? /* @__PURE__ */ o.jsx(Wi, { data: Ri(l, w.dateFormat || "yyyy").filter((h) => w.enabled ? h.date === xi(new Date(d[Q]), w.dateFormat || "yyyy") : h), width: _t, height: de, colorDomain: l.filter(Po).length === 0 ? [] : yt || Ze(l, "color", !0), colors: l.filter(To).length === 0 ? q ? [q] : [W.primaryColors["blue-600"]] : q || W[Et].categoricalColors.colors, xAxisTitle: St, yAxisTitle: Vt, refXValues: Nt, refYValues: Tt, showLabels: Lt, radius: $t, leftMargin: J, rightMargin: Mt, topMargin: kt, bottomMargin: Dt, tooltip: we, onSeriesMouseOver: $, highlightAreaSettings: Pt, highlightedDataPoints: l.filter(No).length === 0 ? [] : Xt, selectedColor: ke, maxRadiusValue: g(Ct) ? Math.max(...l.map(Do).filter(ko)) : Ct, maxXValue: g(zt) ? Math.max(...l.map(Mo).filter(Vo)) > 0 ? Math.max(...l.map(So).filter($o)) : 0 : zt, minXValue: g(P) ? Math.min(...l.map(Lo).filter(wo)) > 0 ? 0 : Math.min(...l.map(jo).filter(Oo)) : P, maxYValue: g(ue) ? Math.max(...l.map(Co).filter(Ao)) > 0 ? Math.max(...l.map(bo).filter(vo)) : 0 : ue, minYValue: g(xe) ? Math.min(...l.map(yo).filter(ho)) > 0 ? 0 : Math.min(...l.map(go).filter(po)) : xe, onSeriesMouseClick: Ot, rtl: ct === "he" || ct === "ar", annotations: ge, customHighlightAreaSettings: x, regressionLine: Ne, resetSelectionOnDoubleClick: Re, detailsOnClick: z, noOfXTicks: Ie, noOfYTicks: Te, labelColor: wt, xSuffix: Yt, ySuffix: Rt, xPrefix: It, yPrefix: Ht, styles: m, classNames: f, animate: Zt === !0 ? {
|
|
575
570
|
duration: 0.5,
|
|
576
571
|
once: !0,
|
|
577
572
|
amount: 0.5
|
|
@@ -582,78 +577,81 @@ function Sn(i) {
|
|
|
582
577
|
}, dimmedOpacity: Le, precision: $e, customLayers: Se }) : null })
|
|
583
578
|
] });
|
|
584
579
|
let _;
|
|
585
|
-
t[27] !== f?.footnote || t[28] !== f?.source || t[29] !==
|
|
586
|
-
footnote:
|
|
587
|
-
source:
|
|
580
|
+
t[27] !== f?.footnote || t[28] !== f?.source || t[29] !== N || t[30] !== ht || t[31] !== m?.footnote || t[32] !== m?.source || t[33] !== y ? (_ = ht || N ? /* @__PURE__ */ o.jsx(Di, { styles: {
|
|
581
|
+
footnote: m?.footnote,
|
|
582
|
+
source: m?.source
|
|
588
583
|
}, classNames: {
|
|
589
584
|
footnote: f?.footnote,
|
|
590
585
|
source: f?.source
|
|
591
|
-
}, sources: ht, footNote:
|
|
592
|
-
let
|
|
593
|
-
return t[35] !== oe || t[36] !==
|
|
586
|
+
}, sources: ht, footNote: N, width: y }) : null, t[27] = f?.footnote, t[28] = f?.source, t[29] = N, t[30] = ht, t[31] = m?.footnote, t[32] = m?.source, t[33] = y, t[34] = _) : _ = t[34];
|
|
587
|
+
let mt;
|
|
588
|
+
return t[35] !== oe || t[36] !== L || t[37] !== U || t[38] !== et || t[39] !== D || t[40] !== ct || t[41] !== p || t[42] !== B || t[43] !== Bt || t[44] !== ne || t[45] !== se || t[46] !== Z || t[47] !== Gt || t[48] !== le || t[49] !== _ || t[50] !== Et || t[51] !== y ? (mt = /* @__PURE__ */ o.jsxs(oe, { className: ne, style: se, id: et, ref: xt, "aria-label": L, backgroundColor: U, theme: Et, language: ct, minHeight: p, width: y, height: D, relativeHeight: Bt, padding: B, children: [
|
|
594
589
|
Z,
|
|
595
590
|
Gt,
|
|
596
591
|
le,
|
|
597
592
|
_
|
|
598
|
-
] }), t[35] = oe, t[36] =
|
|
593
|
+
] }), t[35] = oe, t[36] = L, t[37] = U, t[38] = et, t[39] = D, t[40] = ct, t[41] = p, t[42] = B, t[43] = Bt, t[44] = ne, t[45] = se, t[46] = Z, t[47] = Gt, t[48] = le, t[49] = _, t[50] = Et, t[51] = y, t[52] = mt) : mt = t[52], mt;
|
|
599
594
|
}
|
|
600
|
-
function
|
|
595
|
+
function po(i) {
|
|
601
596
|
return i != null;
|
|
602
597
|
}
|
|
603
|
-
function
|
|
598
|
+
function go(i) {
|
|
604
599
|
return i.y;
|
|
605
600
|
}
|
|
606
|
-
function
|
|
601
|
+
function ho(i) {
|
|
607
602
|
return i != null;
|
|
608
603
|
}
|
|
609
|
-
function
|
|
604
|
+
function yo(i) {
|
|
610
605
|
return i.y;
|
|
611
606
|
}
|
|
612
|
-
function
|
|
607
|
+
function vo(i) {
|
|
613
608
|
return i != null;
|
|
614
609
|
}
|
|
615
|
-
function
|
|
610
|
+
function bo(i) {
|
|
616
611
|
return i.y;
|
|
617
612
|
}
|
|
618
|
-
function
|
|
613
|
+
function Ao(i) {
|
|
619
614
|
return i != null;
|
|
620
615
|
}
|
|
621
|
-
function
|
|
616
|
+
function Co(i) {
|
|
622
617
|
return i.y;
|
|
623
618
|
}
|
|
624
|
-
function
|
|
619
|
+
function Oo(i) {
|
|
625
620
|
return i != null;
|
|
626
621
|
}
|
|
627
|
-
function
|
|
622
|
+
function jo(i) {
|
|
628
623
|
return i.x;
|
|
629
624
|
}
|
|
630
|
-
function
|
|
625
|
+
function wo(i) {
|
|
631
626
|
return i != null;
|
|
632
627
|
}
|
|
633
|
-
function
|
|
628
|
+
function Lo(i) {
|
|
634
629
|
return i.x;
|
|
635
630
|
}
|
|
636
|
-
function
|
|
631
|
+
function $o(i) {
|
|
637
632
|
return i != null;
|
|
638
633
|
}
|
|
639
|
-
function
|
|
634
|
+
function So(i) {
|
|
640
635
|
return i.x;
|
|
641
636
|
}
|
|
642
637
|
function Vo(i) {
|
|
643
638
|
return i != null;
|
|
644
639
|
}
|
|
645
|
-
function
|
|
640
|
+
function Mo(i) {
|
|
646
641
|
return i.x;
|
|
647
642
|
}
|
|
648
|
-
function
|
|
643
|
+
function ko(i) {
|
|
649
644
|
return i != null;
|
|
650
645
|
}
|
|
651
|
-
function
|
|
646
|
+
function Do(i) {
|
|
652
647
|
return i.radius;
|
|
653
648
|
}
|
|
654
|
-
function
|
|
649
|
+
function No(i) {
|
|
655
650
|
return i.label;
|
|
656
651
|
}
|
|
652
|
+
function To(i) {
|
|
653
|
+
return i.color;
|
|
654
|
+
}
|
|
657
655
|
function Po(i) {
|
|
658
656
|
return i.color;
|
|
659
657
|
}
|
|
@@ -661,27 +659,24 @@ function Xo(i) {
|
|
|
661
659
|
return i.color;
|
|
662
660
|
}
|
|
663
661
|
function Yo(i) {
|
|
664
|
-
return i
|
|
662
|
+
return i !== void 0;
|
|
665
663
|
}
|
|
666
664
|
function Ro(i) {
|
|
667
665
|
return i !== void 0;
|
|
668
666
|
}
|
|
669
667
|
function Io(i) {
|
|
670
|
-
return i !== void 0;
|
|
671
|
-
}
|
|
672
|
-
function Ho(i) {
|
|
673
668
|
return i.data;
|
|
674
669
|
}
|
|
675
|
-
function
|
|
670
|
+
function Ho(i) {
|
|
676
671
|
return i !== void 0;
|
|
677
672
|
}
|
|
678
|
-
function
|
|
673
|
+
function Eo(i) {
|
|
679
674
|
return i.data;
|
|
680
675
|
}
|
|
681
|
-
function
|
|
682
|
-
return
|
|
676
|
+
function Fo(i, t) {
|
|
677
|
+
return Fi(i, t);
|
|
683
678
|
}
|
|
684
679
|
export {
|
|
685
|
-
|
|
680
|
+
Ln as ScatterPlot
|
|
686
681
|
};
|
|
687
682
|
//# sourceMappingURL=ScatterPlot.js.map
|