@undp/data-viz 2.2.2 → 2.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.cjs +1 -1
- package/dist/AreaChart.js +1 -1
- package/dist/Axis-D56Gy0se.js +31 -0
- package/dist/Axis-D56Gy0se.js.map +1 -0
- package/dist/Axis-Jt_tmhxS.cjs +2 -0
- package/dist/Axis-Jt_tmhxS.cjs.map +1 -0
- package/dist/BarGraph.cjs +1 -1
- package/dist/BarGraph.cjs.map +1 -1
- package/dist/BarGraph.d.ts +6 -0
- package/dist/BarGraph.js +1759 -1750
- package/dist/BarGraph.js.map +1 -1
- package/dist/BeeSwarmChart.cjs +1 -1
- package/dist/BeeSwarmChart.cjs.map +1 -1
- package/dist/BeeSwarmChart.d.ts +2 -0
- package/dist/BeeSwarmChart.js +270 -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 +4 -0
- package/dist/BiVariateChoroplethMap.js +328 -401
- 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 +544 -542
- 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 +332 -330
- 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 +4 -0
- package/dist/ChoroplethMap.js +341 -416
- package/dist/ChoroplethMap.js.map +1 -1
- package/dist/Data/01.json +4042 -0
- package/dist/Data/mapData.json +4543 -0
- package/dist/Data/testMap.json +361 -0
- package/dist/DifferenceLineChart.cjs +1 -1
- package/dist/DifferenceLineChart.js +1 -1
- package/dist/DotDensityMap.cjs +1 -1
- package/dist/DotDensityMap.cjs.map +1 -1
- package/dist/DotDensityMap.d.ts +4 -0
- package/dist/DotDensityMap.js +297 -311
- package/dist/DotDensityMap.js.map +1 -1
- package/dist/DualAxisLineChart.cjs +1 -1
- 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 +537 -536
- package/dist/DumbbellChart.js.map +1 -1
- package/dist/{GraphEl-DcNr5JzH.js → GraphEl-L5hNe7wJ.js} +84 -67
- package/dist/GraphEl-L5hNe7wJ.js.map +1 -0
- package/dist/GraphEl-ic8C5Ksc.cjs +2 -0
- package/dist/GraphEl-ic8C5Ksc.cjs.map +1 -0
- package/dist/GriddedGraphs.cjs +1 -1
- package/dist/GriddedGraphs.d.ts +3 -0
- package/dist/GriddedGraphs.js +1 -1
- package/dist/GriddedGraphsFromConfig.d.ts +3 -0
- package/dist/Histogram.cjs +1 -1
- package/dist/Histogram.cjs.map +1 -1
- package/dist/Histogram.d.ts +2 -0
- package/dist/Histogram.js +50 -49
- package/dist/Histogram.js.map +1 -1
- package/dist/HybridMap.cjs +1 -1
- package/dist/HybridMap.cjs.map +1 -1
- package/dist/HybridMap.d.ts +4 -0
- package/dist/HybridMap.js +368 -418
- package/dist/HybridMap.js.map +1 -1
- package/dist/LineChartWithConfidenceInterval.cjs +1 -1
- package/dist/LineChartWithConfidenceInterval.js +1 -1
- package/dist/MultiGraphDashboard.d.ts +3 -0
- package/dist/MultiGraphDashboardFromConfig.d.ts +3 -0
- package/dist/MultiLineAltChart.cjs +1 -1
- package/dist/MultiLineAltChart.js +1 -1
- package/dist/MultiLineChart.cjs +1 -1
- package/dist/MultiLineChart.js +1 -1
- package/dist/ParetoChart.cjs +1 -1
- package/dist/ParetoChart.js +1 -1
- package/dist/PerformanceIntensiveMultiGraphDashboard.d.ts +3 -0
- package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.d.ts +3 -0
- package/dist/PerformanceIntensiveScrollStory.d.ts +3 -0
- package/dist/ScatterPlot.cjs +1 -1
- package/dist/ScatterPlot.js +1 -1
- package/dist/ScrollStory.d.ts +3 -0
- package/dist/SimpleLineChart.cjs +1 -1
- package/dist/SimpleLineChart.js +1 -1
- package/dist/SingleGraphDashboard.cjs +1 -1
- package/dist/SingleGraphDashboard.d.ts +3 -0
- package/dist/SingleGraphDashboard.js +1 -1
- package/dist/SingleGraphDashboardFromConfig.d.ts +3 -0
- package/dist/SingleGraphDashboardGeoHubMaps.d.ts +3 -0
- package/dist/SingleGraphDashboardGeoHubMapsFromConfig.d.ts +3 -0
- package/dist/SingleGraphDashboardThreeDGraphs.d.ts +3 -0
- package/dist/SingleGraphDashboardThreeDGraphsFromConfig.d.ts +3 -0
- package/dist/SlopeChart.cjs +1 -1
- package/dist/SlopeChart.js +1 -1
- package/dist/Types.d.ts +3 -0
- package/dist/WaterfallChart.cjs +1 -1
- package/dist/WaterfallChart.cjs.map +1 -1
- package/dist/WaterfallChart.d.ts +2 -0
- package/dist/WaterfallChart.js +263 -261
- package/dist/WaterfallChart.js.map +1 -1
- package/dist/index-DLFt97gy.cjs +2 -0
- package/dist/index-DLFt97gy.cjs.map +1 -0
- package/dist/index-Dp_SfsUA.js +2344 -0
- package/dist/index-Dp_SfsUA.js.map +1 -0
- package/dist/index.d.ts +37 -0
- package/package.json +2 -1
- package/readme.md +0 -7
- package/dist/Axis-DoOqnt6g.js +0 -32
- package/dist/Axis-DoOqnt6g.js.map +0 -1
- package/dist/Axis-Dtjn-EgM.cjs +0 -2
- package/dist/Axis-Dtjn-EgM.cjs.map +0 -1
- package/dist/GraphEl-CAjJLOGk.cjs +0 -2
- package/dist/GraphEl-CAjJLOGk.cjs.map +0 -1
- package/dist/GraphEl-DcNr5JzH.js.map +0 -1
- package/dist/zoom-5AkJSuWO.js +0 -1864
- package/dist/zoom-5AkJSuWO.js.map +0 -1
- package/dist/zoom-ChcvXFIz.cjs +0 -2
- package/dist/zoom-ChcvXFIz.cjs.map +0 -1
package/dist/WaterfallChart.js
CHANGED
|
@@ -1,141 +1,142 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { useRef as
|
|
3
|
-
import { i as
|
|
4
|
-
import { n as
|
|
5
|
-
import { T as
|
|
6
|
-
import { c as
|
|
7
|
-
import { Colors as
|
|
8
|
-
import { A as
|
|
9
|
-
import { A as
|
|
10
|
-
import { a as
|
|
11
|
-
import { Y as
|
|
12
|
-
import { X as
|
|
13
|
-
import { D as
|
|
14
|
-
import { g as
|
|
15
|
-
import { a as
|
|
16
|
-
import { b as
|
|
17
|
-
import { m as
|
|
18
|
-
import { u as
|
|
19
|
-
import { A as
|
|
20
|
-
import { ColorLegendWithMouseOver as
|
|
21
|
-
import { E as
|
|
22
|
-
import { a as
|
|
23
|
-
import { GraphFooter as
|
|
24
|
-
import { GraphHeader as
|
|
25
|
-
import { u as
|
|
26
|
-
function
|
|
27
|
-
let t = 0, o = 0,
|
|
1
|
+
import { c as re, j as s, m as ae } from "./index-CHPV5EwG-DecW7_qr.js";
|
|
2
|
+
import { useRef as oe, useState as bt, useEffect as le } from "react";
|
|
3
|
+
import { i as ce } from "./index-Bwrro8-q.js";
|
|
4
|
+
import { n as ne } from "./numberFormattingFunction-14YCbkN2.js";
|
|
5
|
+
import { T as me } from "./Tooltip-BRnAz2Gv.js";
|
|
6
|
+
import { c as Gt } from "./checkIfNullOrUndefined-DmfiKkNw.js";
|
|
7
|
+
import { Colors as yt } from "./Colors.js";
|
|
8
|
+
import { A as ue } from "./AxisTitle-VFq89Olw.js";
|
|
9
|
+
import { A as fe } from "./Axis-D56Gy0se.js";
|
|
10
|
+
import { a as de } from "./ReferenceLine-DgtoRgw0.js";
|
|
11
|
+
import { Y as he } from "./YTicksAndGridLines-GnXnSRF2.js";
|
|
12
|
+
import { X as pe } from "./XAxesLabels-rhK7lRjO.js";
|
|
13
|
+
import { D as ge } from "./DetailsModal-BMCTgVsk.js";
|
|
14
|
+
import { g as Wt } from "./getTextColorBasedOnBgColor-CDY808zi.js";
|
|
15
|
+
import { a as xe } from "./linear-CalFSAaO.js";
|
|
16
|
+
import { b as ve } from "./band-DYty33LD.js";
|
|
17
|
+
import { m as ie } from "./proxy-DRuSUlPL.js";
|
|
18
|
+
import { u as be } from "./use-in-view-Dl5L8LtP.js";
|
|
19
|
+
import { A as ye } from "./index-CtMBjvtq.js";
|
|
20
|
+
import { ColorLegendWithMouseOver as we } from "./ColorLegendWithMouseOver.js";
|
|
21
|
+
import { E as Ae } from "./EmptyState-tZBErBKF.js";
|
|
22
|
+
import { a as Me, G as Oe } from "./GraphContainer-CF6ws3pd.js";
|
|
23
|
+
import { GraphFooter as Ce } from "./GraphFooter.js";
|
|
24
|
+
import { GraphHeader as $e } from "./GraphHeader.js";
|
|
25
|
+
import { u as se } from "./uniqBy-BHy4I8PK.js";
|
|
26
|
+
function Le(i) {
|
|
27
|
+
let t = 0, o = 0, A = 0;
|
|
28
28
|
for (const d of i)
|
|
29
|
-
t += d || 0, t > o && (o = t), t <
|
|
29
|
+
t += d || 0, t > o && (o = t), t < A && (A = t);
|
|
30
30
|
return {
|
|
31
31
|
max: o,
|
|
32
|
-
min:
|
|
32
|
+
min: A
|
|
33
33
|
};
|
|
34
34
|
}
|
|
35
|
-
function
|
|
36
|
-
const t =
|
|
35
|
+
function je(i) {
|
|
36
|
+
const t = re.c(46), {
|
|
37
37
|
leftMargin: o,
|
|
38
|
-
rightMargin:
|
|
38
|
+
rightMargin: A,
|
|
39
39
|
topMargin: d,
|
|
40
|
-
bottomMargin:
|
|
40
|
+
bottomMargin: Ht,
|
|
41
41
|
data: h,
|
|
42
|
-
width:
|
|
43
|
-
height:
|
|
42
|
+
width: wt,
|
|
43
|
+
height: z,
|
|
44
44
|
barColor: p,
|
|
45
|
-
suffix:
|
|
45
|
+
suffix: At,
|
|
46
46
|
prefix: Mt,
|
|
47
47
|
barPadding: Qt,
|
|
48
|
-
showLabels:
|
|
48
|
+
showLabels: Yt,
|
|
49
49
|
showValues: u,
|
|
50
|
-
showTicks:
|
|
50
|
+
showTicks: nt,
|
|
51
51
|
colorDomain: g,
|
|
52
|
-
truncateBy:
|
|
53
|
-
tooltip:
|
|
52
|
+
truncateBy: Ot,
|
|
53
|
+
tooltip: k,
|
|
54
54
|
onSeriesMouseOver: Ct,
|
|
55
|
-
refValues:
|
|
56
|
-
selectedColor:
|
|
55
|
+
refValues: Rt,
|
|
56
|
+
selectedColor: B,
|
|
57
57
|
maxValue: $t,
|
|
58
|
-
minValue:
|
|
59
|
-
highlightedDataPoints:
|
|
60
|
-
onSeriesMouseClick:
|
|
61
|
-
labelOrder:
|
|
62
|
-
maxBarThickness:
|
|
63
|
-
minBarThickness:
|
|
64
|
-
detailsOnClick:
|
|
65
|
-
barAxisTitle:
|
|
66
|
-
noOfTicks:
|
|
58
|
+
minValue: Lt,
|
|
59
|
+
highlightedDataPoints: P,
|
|
60
|
+
onSeriesMouseClick: jt,
|
|
61
|
+
labelOrder: v,
|
|
62
|
+
maxBarThickness: Dt,
|
|
63
|
+
minBarThickness: kt,
|
|
64
|
+
detailsOnClick: N,
|
|
65
|
+
barAxisTitle: st,
|
|
66
|
+
noOfTicks: Xt,
|
|
67
67
|
styles: f,
|
|
68
68
|
classNames: l,
|
|
69
|
-
dimmedOpacity:
|
|
69
|
+
dimmedOpacity: $,
|
|
70
70
|
animate: c,
|
|
71
71
|
precision: Nt,
|
|
72
|
-
customLayers:
|
|
73
|
-
naLabel:
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
72
|
+
customLayers: L,
|
|
73
|
+
naLabel: Ft,
|
|
74
|
+
hideAxisLine: Zt
|
|
75
|
+
} = i, j = o === void 0 ? 20 : o, Tt = A === void 0 ? 20 : A, rt = d === void 0 ? 20 : d, E = Ht === void 0 ? 25 : Ht, Vt = oe(null);
|
|
76
|
+
let W;
|
|
77
|
+
t[0] !== c.amount || t[1] !== c.once ? (W = {
|
|
77
78
|
once: c.once,
|
|
78
79
|
amount: c.amount
|
|
79
|
-
}, t[0] = c.amount, t[1] = c.once, t[2] =
|
|
80
|
-
const
|
|
81
|
-
let
|
|
82
|
-
t[3] !==
|
|
83
|
-
top:
|
|
84
|
-
bottom:
|
|
85
|
-
left:
|
|
80
|
+
}, t[0] = c.amount, t[1] = c.once, t[2] = W) : W = t[2];
|
|
81
|
+
const T = be(Vt, W), at = st ? j + 30 : j;
|
|
82
|
+
let lt;
|
|
83
|
+
t[3] !== E || t[4] !== Tt || t[5] !== at || t[6] !== rt ? (lt = {
|
|
84
|
+
top: rt,
|
|
85
|
+
bottom: E,
|
|
86
|
+
left: at,
|
|
86
87
|
right: Tt
|
|
87
|
-
}, t[3] =
|
|
88
|
-
const
|
|
88
|
+
}, t[3] = E, t[4] = Tt, t[5] = at, t[6] = rt, t[7] = lt) : lt = t[7];
|
|
89
|
+
const n = lt, {
|
|
89
90
|
max: a,
|
|
90
|
-
min:
|
|
91
|
-
} =
|
|
92
|
-
let
|
|
93
|
-
if (t[8] !== h || t[9] !==
|
|
94
|
-
const e = /* @__PURE__ */ new Set(),
|
|
95
|
-
const
|
|
96
|
-
return e.add(
|
|
97
|
-
|
|
98
|
-
id:
|
|
91
|
+
min: _t
|
|
92
|
+
} = Le(h.map(Ge)), qt = Gt($t) ? a : $t, b = Gt(Lt) ? _t : Lt, [ct, G] = bt(void 0), [H, Y] = bt(void 0), [R, mt] = bt(void 0), [X, ut] = bt(void 0), D = wt - n.left - n.right, It = z - n.top - n.bottom;
|
|
93
|
+
let V;
|
|
94
|
+
if (t[8] !== h || t[9] !== v) {
|
|
95
|
+
const e = /* @__PURE__ */ new Set(), O = h.map((it, ot) => {
|
|
96
|
+
const S = v ? `${it.label}` : `${ot}`;
|
|
97
|
+
return e.add(S), {
|
|
98
|
+
...it,
|
|
99
|
+
id: S
|
|
99
100
|
};
|
|
100
|
-
}), C =
|
|
101
|
-
|
|
101
|
+
}), C = v ? v.filter((it) => !e.has(it)) : [];
|
|
102
|
+
V = [...O, ...C.map(We)], t[8] = h, t[9] = v, t[10] = V;
|
|
102
103
|
} else
|
|
103
|
-
|
|
104
|
-
const
|
|
105
|
-
let
|
|
106
|
-
t[11] !==
|
|
107
|
-
const
|
|
108
|
-
let
|
|
109
|
-
const
|
|
110
|
-
const
|
|
111
|
-
return
|
|
104
|
+
V = t[10];
|
|
105
|
+
const F = V;
|
|
106
|
+
let q;
|
|
107
|
+
t[11] !== F || t[12] !== v ? (q = v ?? F.map(Ee), t[11] = F, t[12] = v, t[13] = q) : q = t[13];
|
|
108
|
+
const ft = q, r = xe().domain([b, qt]).range([It, 0]).nice(), m = ve().domain(ft).range([0, kt ? Math.max(D, kt * ft.length) : Dt ? Math.min(D, Dt * ft.length) : D]).paddingInner(Qt), dt = r.ticks(Xt);
|
|
109
|
+
let y = 0;
|
|
110
|
+
const Ut = F.map((e) => {
|
|
111
|
+
const O = y;
|
|
112
|
+
return y = y + (e.size || 0), {
|
|
112
113
|
...e,
|
|
113
|
-
start:
|
|
114
|
-
end:
|
|
114
|
+
start: O,
|
|
115
|
+
end: y
|
|
115
116
|
};
|
|
116
|
-
}),
|
|
117
|
+
}), ht = l?.xAxis?.axis, x = l?.yAxis?.labels;
|
|
118
|
+
let U;
|
|
119
|
+
t[14] !== x || t[15] !== ht ? (U = {
|
|
120
|
+
axis: ht,
|
|
121
|
+
label: x
|
|
122
|
+
}, t[14] = x, t[15] = ht, t[16] = U) : U = t[16];
|
|
123
|
+
const M = f?.xAxis?.axis, J = f?.yAxis?.labels;
|
|
117
124
|
let K;
|
|
118
|
-
t[
|
|
119
|
-
axis:
|
|
120
|
-
label:
|
|
121
|
-
}, t[
|
|
122
|
-
const
|
|
125
|
+
t[17] !== M || t[18] !== J ? (K = {
|
|
126
|
+
axis: M,
|
|
127
|
+
label: J
|
|
128
|
+
}, t[17] = M, t[18] = J, t[19] = K) : K = t[19];
|
|
129
|
+
const pt = 0 - j - 15, Q = It / 2, gt = f?.yAxis?.title, xt = l?.yAxis?.title;
|
|
123
130
|
let Z;
|
|
124
|
-
t[
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
const dt = 0 - k - 15, _ = St / 2, ht = f?.yAxis?.title, pt = l?.yAxis?.title;
|
|
129
|
-
let B;
|
|
130
|
-
t[20] !== ot || t[21] !== dt || t[22] !== _ || t[23] !== ht || t[24] !== pt ? (B = /* @__PURE__ */ n.jsx(ce, { x: dt, y: _, style: ht, className: pt, text: ot, rotate90: !0 }), t[20] = ot, t[21] = dt, t[22] = _, t[23] = ht, t[24] = pt, t[25] = B) : B = t[25];
|
|
131
|
-
let zt;
|
|
132
|
-
t[26] !== D ? (zt = D.filter(Ie).map(Ve), t[26] = D, t[27] = zt) : zt = t[27];
|
|
133
|
-
const tt = ve, Kt = Jt.map((e, T) => Ht(m(e.id)) ? null : /* @__PURE__ */ n.jsxs(te.g, { className: "undp-viz-g-with-hover", initial: "initial", animate: S ? "whileInView" : "initial", variants: {
|
|
131
|
+
t[20] !== st || t[21] !== pt || t[22] !== Q || t[23] !== gt || t[24] !== xt ? (Z = /* @__PURE__ */ s.jsx(ue, { x: pt, y: Q, style: gt, className: xt, text: st, rotate90: !0 }), t[20] = st, t[21] = pt, t[22] = Q, t[23] = gt, t[24] = xt, t[25] = Z) : Z = t[25];
|
|
132
|
+
let I;
|
|
133
|
+
t[26] !== L ? (I = L.filter(ze).map(Se), t[26] = L, t[27] = I) : I = t[27];
|
|
134
|
+
const Jt = ye, _ = Ut.map((e, O) => Gt(m(e.id)) ? null : /* @__PURE__ */ s.jsxs(ie.g, { className: "undp-viz-g-with-hover", initial: "initial", animate: T ? "whileInView" : "initial", variants: {
|
|
134
135
|
initial: {
|
|
135
|
-
opacity:
|
|
136
|
+
opacity: B ? e.color && p[g.indexOf(e.color)] === B ? 1 : $ : P.length !== 0 ? P.indexOf(e.label) !== -1 ? 0.85 : $ : 0.85
|
|
136
137
|
},
|
|
137
138
|
whileInView: {
|
|
138
|
-
opacity:
|
|
139
|
+
opacity: B ? e.color && p[g.indexOf(e.color)] === B ? 1 : $ : P.length !== 0 ? P.indexOf(e.label) !== -1 ? 0.85 : $ : 0.85,
|
|
139
140
|
transition: {
|
|
140
141
|
duration: c.duration
|
|
141
142
|
}
|
|
@@ -146,132 +147,132 @@ function $e(i) {
|
|
|
146
147
|
duration: c.duration
|
|
147
148
|
}
|
|
148
149
|
}, onMouseEnter: (C) => {
|
|
149
|
-
|
|
150
|
+
G(e), ut(C.clientY), mt(C.clientX), Ct?.(e);
|
|
150
151
|
}, onClick: () => {
|
|
151
|
-
(
|
|
152
|
+
(jt || N) && (ce(H, e) ? (Y(void 0), jt?.(void 0)) : (Y(e), jt?.(e)));
|
|
152
153
|
}, onMouseMove: (C) => {
|
|
153
|
-
|
|
154
|
+
G(e), ut(C.clientY), mt(C.clientX);
|
|
154
155
|
}, onMouseLeave: () => {
|
|
155
|
-
|
|
156
|
+
G(void 0), mt(void 0), ut(void 0), Ct?.(void 0);
|
|
156
157
|
}, children: [
|
|
157
|
-
e.size ? /* @__PURE__ */
|
|
158
|
+
e.size ? /* @__PURE__ */ s.jsx(ie.rect, { width: m.bandwidth(), initial: "initial", animate: T ? "whileInView" : "initial", variants: {
|
|
158
159
|
initial: {
|
|
159
160
|
height: 0,
|
|
160
161
|
x: m(`${e.id}`),
|
|
161
|
-
y:
|
|
162
|
-
fill: h.filter(
|
|
162
|
+
y: r(e.start),
|
|
163
|
+
fill: h.filter(Ie).length === 0 ? p[0] : e.color ? p[g.indexOf(e.color)] : yt.gray
|
|
163
164
|
},
|
|
164
165
|
whileInView: {
|
|
165
|
-
height: Math.abs(
|
|
166
|
-
y:
|
|
166
|
+
height: Math.abs(r(e.start) - r(e.end)),
|
|
167
|
+
y: r(Math.max(e.start, e.end)),
|
|
167
168
|
x: m(`${e.id}`),
|
|
168
|
-
fill: h.filter(
|
|
169
|
+
fill: h.filter(Ve).length === 0 ? p[0] : e.color ? p[g.indexOf(e.color)] : yt.gray,
|
|
169
170
|
transition: {
|
|
170
171
|
duration: c.duration
|
|
171
172
|
}
|
|
172
173
|
}
|
|
173
174
|
}, exit: {
|
|
174
175
|
height: 0,
|
|
175
|
-
y:
|
|
176
|
+
y: r(e.start),
|
|
176
177
|
transition: {
|
|
177
178
|
duration: c.duration
|
|
178
179
|
}
|
|
179
180
|
} }) : null,
|
|
180
|
-
|
|
181
|
-
u && Math.abs(
|
|
181
|
+
Yt ? /* @__PURE__ */ s.jsx(pe, { value: `${e.label}`.length < Ot ? `${e.label}` : `${`${e.label}`.substring(0, Ot)}...`, y: r(0) + 5, x: m(`${e.id}`), width: m.bandwidth(), height: n.bottom, style: f?.xAxis?.labels, className: l?.xAxis?.labels, alignment: "top", animate: c, isInView: T }) : null,
|
|
182
|
+
u && Math.abs(r(e.start) - r(e.end)) > 16 ? /* @__PURE__ */ s.jsx(ie.text, { style: {
|
|
182
183
|
textAnchor: "middle",
|
|
183
184
|
...f?.graphObjectValues || {}
|
|
184
|
-
}, className:
|
|
185
|
+
}, className: ae("graph-value text-sm", l?.graphObjectValues), dy: "0.33em", variants: {
|
|
185
186
|
initial: {
|
|
186
187
|
x: m(`${e.id}`) + m.bandwidth() / 2,
|
|
187
|
-
y: (
|
|
188
|
+
y: (r(e.start) + r(e.end)) / 2,
|
|
188
189
|
opacity: 0,
|
|
189
|
-
fill: h.filter(
|
|
190
|
+
fill: h.filter(Te).length === 0 ? Wt(p[0]) : e.color ? Wt(p[g.indexOf(e.color)]) : Wt(yt.gray)
|
|
190
191
|
},
|
|
191
192
|
whileInView: {
|
|
192
193
|
x: m(`${e.id}`) + m.bandwidth() / 2,
|
|
193
|
-
y: (
|
|
194
|
-
fill: h.filter(
|
|
194
|
+
y: (r(e.start) + r(e.end)) / 2,
|
|
195
|
+
fill: h.filter(Ne).length === 0 ? Wt(p[0]) : e.color ? Wt(p[g.indexOf(e.color)]) : Wt(yt.gray),
|
|
195
196
|
opacity: 1,
|
|
196
197
|
transition: {
|
|
197
198
|
duration: c.duration
|
|
198
199
|
}
|
|
199
200
|
}
|
|
200
|
-
}, initial: "initial", animate:
|
|
201
|
+
}, initial: "initial", animate: T ? "whileInView" : "initial", exit: {
|
|
201
202
|
opacity: 0,
|
|
202
203
|
transition: {
|
|
203
204
|
duration: c.duration
|
|
204
205
|
}
|
|
205
|
-
}, children:
|
|
206
|
-
] }, e.label)),
|
|
207
|
-
let
|
|
208
|
-
t[28] !==
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
] }), t[28] =
|
|
206
|
+
}, children: ne(e.size ? Math.abs(e.size) : e.size, Ft, Nt, Mt, At) }) : null
|
|
207
|
+
] }, e.label)), Kt = Rt ? /* @__PURE__ */ s.jsx(s.Fragment, { children: Rt.map((e, O) => /* @__PURE__ */ s.jsx(de, { text: e.text, color: e.color, y: r(e.value), x1: 0 - j, x2: D + n.right, classNames: e.classNames, styles: e.styles, animate: c, isInView: T }, O)) }) : null;
|
|
208
|
+
let tt;
|
|
209
|
+
t[28] !== Jt || t[29] !== _ || t[30] !== Kt ? (tt = /* @__PURE__ */ s.jsxs(Jt, { children: [
|
|
210
|
+
_,
|
|
211
|
+
Kt
|
|
212
|
+
] }), t[28] = Jt, t[29] = _, t[30] = Kt, t[31] = tt) : tt = t[31];
|
|
213
|
+
let St;
|
|
214
|
+
t[32] !== L ? (St = L.filter(ke).map(De), t[32] = L, t[33] = St) : St = t[33];
|
|
212
215
|
let et;
|
|
213
|
-
t[
|
|
214
|
-
let
|
|
215
|
-
t[
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
/* @__PURE__ */ n.jsx(me, { y1: s(y < 0 ? 0 : y), y2: s(y < 0 ? 0 : y), x1: 0 - k, x2: N + x.right, label: ie(y < 0 ? 0 : y, qt, Nt, Mt, wt), labelPos: {
|
|
220
|
-
x: 0 - k,
|
|
216
|
+
t[34] !== l?.tooltip || t[35] !== R || t[36] !== X || t[37] !== ct || t[38] !== f?.tooltip || t[39] !== k ? (et = ct && k && R && X ? /* @__PURE__ */ s.jsx(me, { data: ct, body: k, xPos: R, yPos: X, backgroundStyle: f?.tooltip, className: l?.tooltip }) : null, t[34] = l?.tooltip, t[35] = R, t[36] = X, t[37] = ct, t[38] = f?.tooltip, t[39] = k, t[40] = et) : et = t[40];
|
|
217
|
+
let vt;
|
|
218
|
+
return t[41] !== l?.modal || t[42] !== N || t[43] !== H || t[44] !== Y ? (vt = N && H !== void 0 ? /* @__PURE__ */ s.jsx(ge, { body: N, data: H, setData: Y, className: l?.modal }) : null, t[41] = l?.modal, t[42] = N, t[43] = H, t[44] = Y, t[45] = vt) : vt = t[45], /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
219
|
+
/* @__PURE__ */ s.jsx(ie.svg, { ref: Vt, width: `${wt}px`, height: `${z}px`, viewBox: `0 0 ${wt} ${z}`, direction: "ltr", children: /* @__PURE__ */ s.jsxs("g", { transform: `translate(${n.left},${n.top})`, children: [
|
|
220
|
+
/* @__PURE__ */ s.jsx(fe, { y1: r(b < 0 ? 0 : b), y2: r(b < 0 ? 0 : b), x1: 0 - j, x2: D + n.right, hideAxisLine: Zt, label: nt ? ne(b < 0 ? 0 : b, Ft, Nt, Mt, At) : void 0, labelPos: {
|
|
221
|
+
x: 0 - j,
|
|
221
222
|
dx: 0,
|
|
222
|
-
dy:
|
|
223
|
-
y:
|
|
224
|
-
}, classNames:
|
|
225
|
-
|
|
223
|
+
dy: qt < 0 ? "1em" : -5,
|
|
224
|
+
y: r(b < 0 ? 0 : b)
|
|
225
|
+
}, classNames: U, styles: K }),
|
|
226
|
+
nt ? /* @__PURE__ */ s.jsx(he, { values: dt.filter(Pe), y: dt.filter(Be).map((e) => r(e)), x1: 0 - j, x2: D + n.right, styles: {
|
|
226
227
|
gridLines: f?.yAxis?.gridLines,
|
|
227
228
|
labels: f?.yAxis?.labels
|
|
228
229
|
}, classNames: {
|
|
229
230
|
gridLines: l?.yAxis?.gridLines,
|
|
230
231
|
labels: l?.yAxis?.labels
|
|
231
|
-
}, suffix:
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
232
|
+
}, suffix: At, prefix: Mt, labelType: "secondary", showGridLines: !0, labelPos: "vertical", precision: Nt }) : null,
|
|
233
|
+
Z,
|
|
234
|
+
I,
|
|
235
|
+
tt,
|
|
236
|
+
St
|
|
236
237
|
] }) }),
|
|
237
|
-
|
|
238
|
-
|
|
238
|
+
et,
|
|
239
|
+
vt
|
|
239
240
|
] });
|
|
240
241
|
}
|
|
241
|
-
function
|
|
242
|
+
function De(i) {
|
|
242
243
|
return i.layer;
|
|
243
244
|
}
|
|
244
|
-
function
|
|
245
|
+
function ke(i) {
|
|
245
246
|
return i.position === "after";
|
|
246
247
|
}
|
|
247
|
-
function
|
|
248
|
+
function Ne(i) {
|
|
248
249
|
return i.color;
|
|
249
250
|
}
|
|
250
|
-
function
|
|
251
|
+
function Te(i) {
|
|
251
252
|
return i.color;
|
|
252
253
|
}
|
|
253
|
-
function
|
|
254
|
+
function Ve(i) {
|
|
254
255
|
return i.color;
|
|
255
256
|
}
|
|
256
|
-
function
|
|
257
|
+
function Ie(i) {
|
|
257
258
|
return i.color;
|
|
258
259
|
}
|
|
259
|
-
function
|
|
260
|
+
function Se(i) {
|
|
260
261
|
return i.layer;
|
|
261
262
|
}
|
|
262
|
-
function
|
|
263
|
+
function ze(i) {
|
|
263
264
|
return i.position === "before";
|
|
264
265
|
}
|
|
265
|
-
function
|
|
266
|
+
function Be(i) {
|
|
266
267
|
return i !== 0;
|
|
267
268
|
}
|
|
268
|
-
function
|
|
269
|
+
function Pe(i) {
|
|
269
270
|
return i !== 0;
|
|
270
271
|
}
|
|
271
|
-
function
|
|
272
|
+
function Ee(i) {
|
|
272
273
|
return `${i.id}`;
|
|
273
274
|
}
|
|
274
|
-
function
|
|
275
|
+
function We(i) {
|
|
275
276
|
return {
|
|
276
277
|
id: i,
|
|
277
278
|
label: i,
|
|
@@ -279,149 +280,150 @@ function Pe(i) {
|
|
|
279
280
|
size: null
|
|
280
281
|
};
|
|
281
282
|
}
|
|
282
|
-
function
|
|
283
|
+
function Ge(i) {
|
|
283
284
|
return i.size;
|
|
284
285
|
}
|
|
285
|
-
function
|
|
286
|
-
const t =
|
|
286
|
+
function wi(i) {
|
|
287
|
+
const t = re.c(101), {
|
|
287
288
|
data: o,
|
|
288
|
-
graphTitle:
|
|
289
|
+
graphTitle: A,
|
|
289
290
|
colors: d,
|
|
290
|
-
suffix:
|
|
291
|
+
suffix: Ht,
|
|
291
292
|
sources: h,
|
|
292
|
-
prefix:
|
|
293
|
-
graphDescription:
|
|
293
|
+
prefix: wt,
|
|
294
|
+
graphDescription: z,
|
|
294
295
|
barPadding: p,
|
|
295
|
-
showValues:
|
|
296
|
+
showValues: At,
|
|
296
297
|
showTicks: Mt,
|
|
297
298
|
truncateBy: Qt,
|
|
298
|
-
height:
|
|
299
|
+
height: Yt,
|
|
299
300
|
width: u,
|
|
300
|
-
footNote:
|
|
301
|
+
footNote: nt,
|
|
301
302
|
colorDomain: g,
|
|
302
|
-
colorLegendTitle:
|
|
303
|
-
highlightedDataPoints:
|
|
303
|
+
colorLegendTitle: Ot,
|
|
304
|
+
highlightedDataPoints: k,
|
|
304
305
|
padding: Ct,
|
|
305
|
-
backgroundColor:
|
|
306
|
-
topMargin:
|
|
306
|
+
backgroundColor: Rt,
|
|
307
|
+
topMargin: B,
|
|
307
308
|
bottomMargin: $t,
|
|
308
|
-
leftMargin:
|
|
309
|
-
rightMargin:
|
|
310
|
-
showLabels:
|
|
311
|
-
relativeHeight:
|
|
312
|
-
tooltip:
|
|
313
|
-
onSeriesMouseOver:
|
|
314
|
-
refValues:
|
|
315
|
-
showColorScale:
|
|
316
|
-
graphID:
|
|
309
|
+
leftMargin: Lt,
|
|
310
|
+
rightMargin: P,
|
|
311
|
+
showLabels: jt,
|
|
312
|
+
relativeHeight: v,
|
|
313
|
+
tooltip: Dt,
|
|
314
|
+
onSeriesMouseOver: kt,
|
|
315
|
+
refValues: N,
|
|
316
|
+
showColorScale: st,
|
|
317
|
+
graphID: Xt,
|
|
317
318
|
maxValue: f,
|
|
318
319
|
minValue: l,
|
|
319
|
-
onSeriesMouseClick:
|
|
320
|
+
onSeriesMouseClick: $,
|
|
320
321
|
graphDownload: c,
|
|
321
322
|
dataDownload: Nt,
|
|
322
|
-
labelOrder:
|
|
323
|
-
language:
|
|
324
|
-
showNAColor:
|
|
325
|
-
minHeight:
|
|
326
|
-
theme:
|
|
327
|
-
maxBarThickness:
|
|
328
|
-
maxNumberOfBars:
|
|
329
|
-
minBarThickness:
|
|
330
|
-
ariaLabel:
|
|
331
|
-
detailsOnClick:
|
|
332
|
-
barAxisTitle:
|
|
333
|
-
noOfTicks:
|
|
334
|
-
styles:
|
|
335
|
-
classNames:
|
|
336
|
-
filterNA:
|
|
337
|
-
animate:
|
|
338
|
-
dimmedOpacity:
|
|
339
|
-
precision:
|
|
340
|
-
customLayers:
|
|
341
|
-
naLabel:
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
323
|
+
labelOrder: L,
|
|
324
|
+
language: Ft,
|
|
325
|
+
showNAColor: Zt,
|
|
326
|
+
minHeight: j,
|
|
327
|
+
theme: Tt,
|
|
328
|
+
maxBarThickness: rt,
|
|
329
|
+
maxNumberOfBars: E,
|
|
330
|
+
minBarThickness: Vt,
|
|
331
|
+
ariaLabel: W,
|
|
332
|
+
detailsOnClick: T,
|
|
333
|
+
barAxisTitle: at,
|
|
334
|
+
noOfTicks: lt,
|
|
335
|
+
styles: n,
|
|
336
|
+
classNames: a,
|
|
337
|
+
filterNA: _t,
|
|
338
|
+
animate: qt,
|
|
339
|
+
dimmedOpacity: b,
|
|
340
|
+
precision: ct,
|
|
341
|
+
customLayers: G,
|
|
342
|
+
naLabel: H,
|
|
343
|
+
hideAxisLine: Y
|
|
344
|
+
} = i, R = Ht === void 0 ? "" : Ht, mt = wt === void 0 ? "" : wt, X = p === void 0 ? 0.25 : p, ut = At === void 0 ? !0 : At, D = Mt === void 0 ? !0 : Mt, It = Qt === void 0 ? 999 : Qt;
|
|
345
|
+
let V;
|
|
346
|
+
t[0] !== k ? (V = k === void 0 ? [] : k, t[0] = k, t[1] = V) : V = t[1];
|
|
347
|
+
const F = V, q = Rt === void 0 ? !1 : Rt, ft = jt === void 0 ? !0 : jt, r = st === void 0 ? !0 : st, m = c === void 0 ? !1 : c, dt = Nt === void 0 ? !1 : Nt, y = Ft === void 0 ? "en" : Ft, Ut = Zt === void 0 ? !0 : Zt, ht = j === void 0 ? 0 : j, x = Tt === void 0 ? "light" : Tt, U = lt === void 0 ? 5 : lt, M = _t === void 0 ? !0 : _t, J = qt === void 0 ? !1 : qt, K = b === void 0 ? 0.3 : b, pt = ct === void 0 ? 2 : ct;
|
|
348
|
+
let Q;
|
|
349
|
+
t[2] !== G ? (Q = G === void 0 ? [] : G, t[2] = G, t[3] = Q) : Q = t[3];
|
|
350
|
+
const gt = Q, xt = H === void 0 ? "NA" : H, Z = Y === void 0 ? !1 : Y, [I, Jt] = bt(0), [_, Kt] = bt(0), [tt, St] = bt(void 0), et = oe(null), vt = oe(null);
|
|
351
|
+
let e, O;
|
|
352
|
+
t[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e = () => {
|
|
353
|
+
const w = new ResizeObserver((ee) => {
|
|
354
|
+
Jt(ee[0].target.clientWidth || 620), Kt(ee[0].target.clientHeight || 480);
|
|
353
355
|
});
|
|
354
|
-
return et.current &&
|
|
355
|
-
},
|
|
356
|
-
const
|
|
357
|
-
let
|
|
358
|
-
t[6] !==
|
|
356
|
+
return et.current && w.observe(et.current), () => w.disconnect();
|
|
357
|
+
}, O = [], t[4] = e, t[5] = O) : (e = t[4], O = t[5]), le(e, O);
|
|
358
|
+
const C = a?.graphContainer, it = n?.graphContainer;
|
|
359
|
+
let ot;
|
|
360
|
+
t[6] !== a?.description || t[7] !== a?.title || t[8] !== o || t[9] !== dt || t[10] !== z || t[11] !== m || t[12] !== A || t[13] !== n?.description || t[14] !== n?.title || t[15] !== u ? (ot = A || z || m || dt ? /* @__PURE__ */ s.jsx($e, { styles: {
|
|
361
|
+
title: n?.title,
|
|
362
|
+
description: n?.description
|
|
363
|
+
}, classNames: {
|
|
359
364
|
title: a?.title,
|
|
360
365
|
description: a?.description
|
|
361
|
-
},
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
t[27] !== o || t[28] !== A ? (E = o.filter((M) => A ? !Ht(M.size) : M).length === 0 && /* @__PURE__ */ n.jsx(ye, {}), t[27] = o, t[28] = A, t[29] = E) : E = t[29];
|
|
369
|
-
let Pt;
|
|
370
|
-
t[30] !== Q || t[31] !== R || t[32] !== q || t[33] !== $t || t[34] !== r || t[35] !== g || t[36] !== d || t[37] !== ht || t[38] !== o || t[39] !== rt || t[40] !== Z || t[41] !== A || t[42] !== U || t[43] !== D || t[44] !== w || t[45] !== jt || t[46] !== nt || t[47] !== st || t[48] !== f || t[49] !== Y || t[50] !== l || t[51] !== pt || t[52] !== K || t[53] !== j || t[54] !== Lt || t[55] !== dt || t[56] !== lt || t[57] !== I || t[58] !== H || t[59] !== gt || t[60] !== mt || t[61] !== N || t[62] !== ct || t[63] !== a || t[64] !== F || t[65] !== tt || t[66] !== B || t[67] !== v || t[68] !== kt || t[69] !== G || t[70] !== St ? (Pt = B && tt && o.filter((M) => A ? !Ht(M.size) : M).length > 0 ? /* @__PURE__ */ n.jsx($e, { data: o.filter((M) => A ? !Ht(M.size) : M).filter((M, _t) => st ? _t < st : !0), barColor: o.filter(Ge).length === 0 ? d ? [d] : [bt.primaryColors["blue-600"]] : d || bt[v].categoricalColors.colors, colorDomain: o.filter(We).length === 0 ? [] : g || oe(o, "color", !0), selectedColor: gt, width: B, height: tt, suffix: F, prefix: lt, barPadding: q, showValues: ct, showTicks: N, leftMargin: jt, rightMargin: H, topMargin: G, bottomMargin: $t, truncateBy: St, showLabels: mt, tooltip: kt, onSeriesMouseOver: Lt, refValues: I, maxValue: f, minValue: l, highlightedDataPoints: U, onSeriesMouseClick: j, labelOrder: D, rtl: w === "he" || w === "ar", maxBarThickness: nt, minBarThickness: Y, detailsOnClick: rt, barAxisTitle: R, noOfTicks: K, classNames: r, styles: a, animate: Q === !0 ? {
|
|
366
|
+
}, graphTitle: A, graphDescription: z, width: u, graphDownload: m ? vt : void 0, dataDownload: dt ? o.map(Je).filter(Ue).length > 0 ? o.map(qe).filter(Fe) : o.filter(Xe) : null }) : null, t[6] = a?.description, t[7] = a?.title, t[8] = o, t[9] = dt, t[10] = z, t[11] = m, t[12] = A, t[13] = n?.description, t[14] = n?.title, t[15] = u, t[16] = ot) : ot = t[16];
|
|
367
|
+
let S;
|
|
368
|
+
t[17] !== a?.colorLegend || t[18] !== g || t[19] !== Ot || t[20] !== d || t[21] !== o || t[22] !== r || t[23] !== Ut || t[24] !== x || t[25] !== u ? (S = r && o.filter(Re).length !== 0 && o.length > 0 ? /* @__PURE__ */ s.jsx(we, { width: u, colorLegendTitle: Ot, colors: d || yt[x].categoricalColors.colors, colorDomain: g || se(o, "color", !0), setSelectedColor: St, showNAColor: Ut, className: a?.colorLegend }) : null, t[17] = a?.colorLegend, t[18] = g, t[19] = Ot, t[20] = d, t[21] = o, t[22] = r, t[23] = Ut, t[24] = x, t[25] = u, t[26] = S) : S = t[26];
|
|
369
|
+
let zt;
|
|
370
|
+
t[27] !== o || t[28] !== M ? (zt = o.filter((w) => M ? !Gt(w.size) : w).length === 0 && /* @__PURE__ */ s.jsx(Ae, {}), t[27] = o, t[28] = M, t[29] = zt) : zt = t[29];
|
|
371
|
+
let Bt;
|
|
372
|
+
t[30] !== J || t[31] !== at || t[32] !== X || t[33] !== $t || t[34] !== a || t[35] !== g || t[36] !== d || t[37] !== gt || t[38] !== o || t[39] !== T || t[40] !== K || t[41] !== M || t[42] !== Z || t[43] !== F || t[44] !== L || t[45] !== y || t[46] !== Lt || t[47] !== rt || t[48] !== E || t[49] !== f || t[50] !== Vt || t[51] !== l || t[52] !== xt || t[53] !== U || t[54] !== $ || t[55] !== kt || t[56] !== pt || t[57] !== mt || t[58] !== N || t[59] !== P || t[60] !== tt || t[61] !== ft || t[62] !== D || t[63] !== ut || t[64] !== n || t[65] !== R || t[66] !== _ || t[67] !== I || t[68] !== x || t[69] !== Dt || t[70] !== B || t[71] !== It ? (Bt = I && _ && o.filter((w) => M ? !Gt(w.size) : w).length > 0 ? /* @__PURE__ */ s.jsx(je, { hideAxisLine: Z, data: o.filter((w) => M ? !Gt(w.size) : w).filter((w, ee) => E ? ee < E : !0), barColor: o.filter(Ye).length === 0 ? d ? [d] : [yt.primaryColors["blue-600"]] : d || yt[x].categoricalColors.colors, colorDomain: o.filter(He).length === 0 ? [] : g || se(o, "color", !0), selectedColor: tt, width: I, height: _, suffix: R, prefix: mt, barPadding: X, showValues: ut, showTicks: D, leftMargin: Lt, rightMargin: P, topMargin: B, bottomMargin: $t, truncateBy: It, showLabels: ft, tooltip: Dt, onSeriesMouseOver: kt, refValues: N, maxValue: f, minValue: l, highlightedDataPoints: F, onSeriesMouseClick: $, labelOrder: L, rtl: y === "he" || y === "ar", maxBarThickness: rt, minBarThickness: Vt, detailsOnClick: T, barAxisTitle: at, noOfTicks: U, classNames: a, styles: n, animate: J === !0 ? {
|
|
371
373
|
duration: 0.5,
|
|
372
374
|
once: !0,
|
|
373
375
|
amount: 0.5
|
|
374
|
-
} :
|
|
376
|
+
} : J || {
|
|
375
377
|
duration: 0,
|
|
376
378
|
once: !0,
|
|
377
379
|
amount: 0
|
|
378
|
-
}, dimmedOpacity:
|
|
380
|
+
}, dimmedOpacity: K, precision: pt, customLayers: gt, naLabel: xt }) : null, t[30] = J, t[31] = at, t[32] = X, t[33] = $t, t[34] = a, t[35] = g, t[36] = d, t[37] = gt, t[38] = o, t[39] = T, t[40] = K, t[41] = M, t[42] = Z, t[43] = F, t[44] = L, t[45] = y, t[46] = Lt, t[47] = rt, t[48] = E, t[49] = f, t[50] = Vt, t[51] = l, t[52] = xt, t[53] = U, t[54] = $, t[55] = kt, t[56] = pt, t[57] = mt, t[58] = N, t[59] = P, t[60] = tt, t[61] = ft, t[62] = D, t[63] = ut, t[64] = n, t[65] = R, t[66] = _, t[67] = I, t[68] = x, t[69] = Dt, t[70] = B, t[71] = It, t[72] = Bt) : Bt = t[72];
|
|
381
|
+
let Pt;
|
|
382
|
+
t[73] !== zt || t[74] !== Bt ? (Pt = /* @__PURE__ */ s.jsxs(Me, { ref: et, children: [
|
|
383
|
+
zt,
|
|
384
|
+
Bt
|
|
385
|
+
] }), t[73] = zt, t[74] = Bt, t[75] = Pt) : Pt = t[75];
|
|
379
386
|
let Et;
|
|
380
|
-
t[
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
let Wt;
|
|
385
|
-
t[75] !== r?.footnote || t[76] !== r?.source || t[77] !== Ot || t[78] !== h || t[79] !== a?.footnote || t[80] !== a?.source || t[81] !== u ? (Wt = h || Ot ? /* @__PURE__ */ n.jsx(Oe, { sources: h, footNote: Ot, width: u, styles: {
|
|
387
|
+
t[76] !== a?.footnote || t[77] !== a?.source || t[78] !== nt || t[79] !== h || t[80] !== n?.footnote || t[81] !== n?.source || t[82] !== u ? (Et = h || nt ? /* @__PURE__ */ s.jsx(Ce, { sources: h, footNote: nt, width: u, styles: {
|
|
388
|
+
footnote: n?.footnote,
|
|
389
|
+
source: n?.source
|
|
390
|
+
}, classNames: {
|
|
386
391
|
footnote: a?.footnote,
|
|
387
392
|
source: a?.source
|
|
388
|
-
},
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
Et,
|
|
397
|
-
Wt
|
|
398
|
-
] }), t[83] = S, t[84] = J, t[85] = Ft, t[86] = Rt, t[87] = w, t[88] = ft, t[89] = Ct, t[90] = b, t[91] = T, t[92] = C, t[93] = $, t[94] = it, t[95] = Et, t[96] = Wt, t[97] = v, t[98] = u, t[99] = Zt) : Zt = t[99], Zt;
|
|
393
|
+
} }) : null, t[76] = a?.footnote, t[77] = a?.source, t[78] = nt, t[79] = h, t[80] = n?.footnote, t[81] = n?.source, t[82] = u, t[83] = Et) : Et = t[83];
|
|
394
|
+
let te;
|
|
395
|
+
return t[84] !== W || t[85] !== q || t[86] !== Xt || t[87] !== Yt || t[88] !== y || t[89] !== ht || t[90] !== Ct || t[91] !== v || t[92] !== C || t[93] !== it || t[94] !== ot || t[95] !== S || t[96] !== Pt || t[97] !== Et || t[98] !== x || t[99] !== u ? (te = /* @__PURE__ */ s.jsxs(Oe, { className: C, style: it, id: Xt, ref: vt, "aria-label": W, backgroundColor: q, theme: x, language: y, minHeight: ht, width: u, height: Yt, relativeHeight: v, padding: Ct, children: [
|
|
396
|
+
ot,
|
|
397
|
+
S,
|
|
398
|
+
Pt,
|
|
399
|
+
Et
|
|
400
|
+
] }), t[84] = W, t[85] = q, t[86] = Xt, t[87] = Yt, t[88] = y, t[89] = ht, t[90] = Ct, t[91] = v, t[92] = C, t[93] = it, t[94] = ot, t[95] = S, t[96] = Pt, t[97] = Et, t[98] = x, t[99] = u, t[100] = te) : te = t[100], te;
|
|
399
401
|
}
|
|
400
|
-
function
|
|
402
|
+
function He(i) {
|
|
401
403
|
return i.color;
|
|
402
404
|
}
|
|
403
|
-
function
|
|
405
|
+
function Ye(i) {
|
|
404
406
|
return i.color;
|
|
405
407
|
}
|
|
406
|
-
function
|
|
408
|
+
function Re(i) {
|
|
407
409
|
return i.color;
|
|
408
410
|
}
|
|
409
|
-
function
|
|
411
|
+
function Xe(i) {
|
|
410
412
|
return i !== void 0;
|
|
411
413
|
}
|
|
412
|
-
function
|
|
414
|
+
function Fe(i) {
|
|
413
415
|
return i !== void 0;
|
|
414
416
|
}
|
|
415
|
-
function
|
|
417
|
+
function qe(i) {
|
|
416
418
|
return i.data;
|
|
417
419
|
}
|
|
418
|
-
function
|
|
420
|
+
function Ue(i) {
|
|
419
421
|
return i !== void 0;
|
|
420
422
|
}
|
|
421
|
-
function
|
|
423
|
+
function Je(i) {
|
|
422
424
|
return i.data;
|
|
423
425
|
}
|
|
424
426
|
export {
|
|
425
|
-
|
|
427
|
+
wi as WaterfallChart
|
|
426
428
|
};
|
|
427
429
|
//# sourceMappingURL=WaterfallChart.js.map
|