@undp/data-viz 2.1.2 → 2.1.4

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.
Files changed (162) hide show
  1. package/dist/AreaChart.cjs +1 -1
  2. package/dist/AreaChart.cjs.map +1 -1
  3. package/dist/AreaChart.js +281 -274
  4. package/dist/AreaChart.js.map +1 -1
  5. package/dist/BarGraph.cjs +1 -1
  6. package/dist/BarGraph.cjs.map +1 -1
  7. package/dist/BarGraph.d.ts +2 -0
  8. package/dist/BarGraph.js +1795 -1724
  9. package/dist/BarGraph.js.map +1 -1
  10. package/dist/BeeSwarmChart.cjs +1 -1
  11. package/dist/BeeSwarmChart.cjs.map +1 -1
  12. package/dist/BeeSwarmChart.js +312 -305
  13. package/dist/BeeSwarmChart.js.map +1 -1
  14. package/dist/BulletChart.cjs +1 -1
  15. package/dist/BulletChart.cjs.map +1 -1
  16. package/dist/BulletChart.js +367 -356
  17. package/dist/BulletChart.js.map +1 -1
  18. package/dist/ButterflyChart.cjs +1 -1
  19. package/dist/ButterflyChart.cjs.map +1 -1
  20. package/dist/ButterflyChart.js +224 -217
  21. package/dist/ButterflyChart.js.map +1 -1
  22. package/dist/CirclePackingGraph.cjs +1 -1
  23. package/dist/CirclePackingGraph.js +2 -2
  24. package/dist/DifferenceLineChart.cjs +1 -1
  25. package/dist/DifferenceLineChart.cjs.map +1 -1
  26. package/dist/DifferenceLineChart.js +406 -399
  27. package/dist/DifferenceLineChart.js.map +1 -1
  28. package/dist/DonutChart.cjs +1 -1
  29. package/dist/DonutChart.cjs.map +1 -1
  30. package/dist/DonutChart.d.ts +10 -0
  31. package/dist/DonutChart.js +232 -263
  32. package/dist/DonutChart.js.map +1 -1
  33. package/dist/DualAxisLineChart.cjs +1 -1
  34. package/dist/DualAxisLineChart.cjs.map +1 -1
  35. package/dist/DualAxisLineChart.js +320 -313
  36. package/dist/DualAxisLineChart.js.map +1 -1
  37. package/dist/DumbbellChart.cjs +1 -1
  38. package/dist/DumbbellChart.cjs.map +1 -1
  39. package/dist/DumbbellChart.js +298 -291
  40. package/dist/DumbbellChart.js.map +1 -1
  41. package/dist/{EmptyState-BZo1BbAn.js → EmptyState-C7ZXkZWd.js} +4 -4
  42. package/dist/EmptyState-C7ZXkZWd.js.map +1 -0
  43. package/dist/EmptyState-gLDRXBHm.cjs +2 -0
  44. package/dist/EmptyState-gLDRXBHm.cjs.map +1 -0
  45. package/dist/GraphEl-C2Fgg8PA.cjs +2 -0
  46. package/dist/GraphEl-C2Fgg8PA.cjs.map +1 -0
  47. package/dist/{GraphEl-sVZvlyWe.js → GraphEl-oZwZiTHI.js} +6 -3
  48. package/dist/GraphEl-oZwZiTHI.js.map +1 -0
  49. package/dist/GriddedGraphs.cjs +1 -1
  50. package/dist/GriddedGraphs.d.ts +1 -0
  51. package/dist/GriddedGraphs.js +1 -1
  52. package/dist/GriddedGraphsFromConfig.d.ts +1 -0
  53. package/dist/HeatMap.cjs +1 -1
  54. package/dist/HeatMap.cjs.map +1 -1
  55. package/dist/HeatMap.js +179 -172
  56. package/dist/HeatMap.js.map +1 -1
  57. package/dist/Histogram.cjs +1 -1
  58. package/dist/Histogram.js +1 -1
  59. package/dist/LineChartWithConfidenceInterval.cjs +1 -1
  60. package/dist/LineChartWithConfidenceInterval.cjs.map +1 -1
  61. package/dist/LineChartWithConfidenceInterval.js +370 -363
  62. package/dist/LineChartWithConfidenceInterval.js.map +1 -1
  63. package/dist/MultiGraphDashboard.d.ts +1 -0
  64. package/dist/MultiGraphDashboardFromConfig.d.ts +1 -0
  65. package/dist/MultiLineAltChart.cjs +1 -1
  66. package/dist/MultiLineAltChart.cjs.map +1 -1
  67. package/dist/MultiLineAltChart.js +328 -321
  68. package/dist/MultiLineAltChart.js.map +1 -1
  69. package/dist/MultiLineChart.cjs +1 -1
  70. package/dist/MultiLineChart.cjs.map +1 -1
  71. package/dist/MultiLineChart.js +375 -368
  72. package/dist/MultiLineChart.js.map +1 -1
  73. package/dist/ParetoChart.cjs +1 -1
  74. package/dist/ParetoChart.cjs.map +1 -1
  75. package/dist/ParetoChart.js +385 -378
  76. package/dist/ParetoChart.js.map +1 -1
  77. package/dist/PerformanceIntensiveMultiGraphDashboard.d.ts +1 -0
  78. package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.d.ts +1 -0
  79. package/dist/PerformanceIntensiveScrollStory.d.ts +1 -0
  80. package/dist/RadarChart.cjs +1 -1
  81. package/dist/RadarChart.cjs.map +1 -1
  82. package/dist/RadarChart.js +35 -34
  83. package/dist/RadarChart.js.map +1 -1
  84. package/dist/SankeyChart.cjs +1 -1
  85. package/dist/SankeyChart.cjs.map +1 -1
  86. package/dist/SankeyChart.js +176 -169
  87. package/dist/SankeyChart.js.map +1 -1
  88. package/dist/ScatterPlot.cjs +1 -1
  89. package/dist/ScatterPlot.cjs.map +1 -1
  90. package/dist/ScatterPlot.js +367 -360
  91. package/dist/ScatterPlot.js.map +1 -1
  92. package/dist/ScrollStory.d.ts +1 -0
  93. package/dist/SimpleLineChart.cjs +1 -1
  94. package/dist/SimpleLineChart.cjs.map +1 -1
  95. package/dist/SimpleLineChart.js +286 -279
  96. package/dist/SimpleLineChart.js.map +1 -1
  97. package/dist/SingleGraphDashboard.cjs +1 -1
  98. package/dist/SingleGraphDashboard.d.ts +1 -0
  99. package/dist/SingleGraphDashboard.js +1 -1
  100. package/dist/SingleGraphDashboardFromConfig.d.ts +1 -0
  101. package/dist/SingleGraphDashboardGeoHubMaps.d.ts +1 -0
  102. package/dist/SingleGraphDashboardGeoHubMapsFromConfig.d.ts +1 -0
  103. package/dist/SingleGraphDashboardThreeDGraphs.d.ts +1 -0
  104. package/dist/SingleGraphDashboardThreeDGraphsFromConfig.d.ts +1 -0
  105. package/dist/SlopeChart.cjs +1 -1
  106. package/dist/SlopeChart.cjs.map +1 -1
  107. package/dist/SlopeChart.js +243 -236
  108. package/dist/SlopeChart.js.map +1 -1
  109. package/dist/SparkLine.cjs +1 -1
  110. package/dist/SparkLine.js +2 -2
  111. package/dist/StripChart.cjs +1 -1
  112. package/dist/StripChart.cjs.map +1 -1
  113. package/dist/StripChart.js +293 -286
  114. package/dist/StripChart.js.map +1 -1
  115. package/dist/TreeMapGraph.cjs +1 -1
  116. package/dist/TreeMapGraph.cjs.map +1 -1
  117. package/dist/TreeMapGraph.js +222 -215
  118. package/dist/TreeMapGraph.js.map +1 -1
  119. package/dist/Types.d.ts +1 -0
  120. package/dist/{area-BE2wo7fv.js → area-B6r7cv2o.js} +5 -5
  121. package/dist/{area-BE2wo7fv.js.map → area-B6r7cv2o.js.map} +1 -1
  122. package/dist/area-C1gxfNGD.cjs +2 -0
  123. package/dist/{area-D3Qx7k7K.cjs.map → area-C1gxfNGD.cjs.map} +1 -1
  124. package/dist/array-DMyR1sql.cjs +2 -0
  125. package/dist/array-DMyR1sql.cjs.map +1 -0
  126. package/dist/array-USo-Szhp.js +13 -0
  127. package/dist/array-USo-Szhp.js.map +1 -0
  128. package/dist/{ensureCompleteData-DS7gCvVd.js → ensureCompleteData-DH5c52Ub.js} +6 -6
  129. package/dist/{ensureCompleteData-DS7gCvVd.js.map → ensureCompleteData-DH5c52Ub.js.map} +1 -1
  130. package/dist/{ensureCompleteData-Oib-vGb0.cjs → ensureCompleteData-pZ9QO6kB.cjs} +2 -2
  131. package/dist/{ensureCompleteData-Oib-vGb0.cjs.map → ensureCompleteData-pZ9QO6kB.cjs.map} +1 -1
  132. package/dist/index-Blvf-Q3U.cjs +2 -0
  133. package/dist/{index-CF5hnGvG.cjs.map → index-Blvf-Q3U.cjs.map} +1 -1
  134. package/dist/index-D1RrKgK6.js +337 -0
  135. package/dist/index-D1RrKgK6.js.map +1 -0
  136. package/dist/index.cjs +1 -1
  137. package/dist/index.d.ts +7 -0
  138. package/dist/index.js +1 -1
  139. package/dist/line-DFlZsxI1.js +144 -0
  140. package/dist/line-DFlZsxI1.js.map +1 -0
  141. package/dist/line-DaEMhXmx.cjs +2 -0
  142. package/dist/line-DaEMhXmx.cjs.map +1 -0
  143. package/dist/style.css +1 -1
  144. package/package.json +1 -1
  145. package/dist/EmptyState-BZo1BbAn.js.map +0 -1
  146. package/dist/EmptyState-sAEZ_5rU.cjs +0 -2
  147. package/dist/EmptyState-sAEZ_5rU.cjs.map +0 -1
  148. package/dist/GraphEl-YKUlz-37.cjs +0 -2
  149. package/dist/GraphEl-YKUlz-37.cjs.map +0 -1
  150. package/dist/GraphEl-sVZvlyWe.js.map +0 -1
  151. package/dist/area-D3Qx7k7K.cjs +0 -2
  152. package/dist/array-B7TkkRH0.js +0 -89
  153. package/dist/array-B7TkkRH0.js.map +0 -1
  154. package/dist/array-DKbXV8lR.cjs +0 -2
  155. package/dist/array-DKbXV8lR.cjs.map +0 -1
  156. package/dist/index-CF5hnGvG.cjs +0 -2
  157. package/dist/index-DPGq3eIL.js +0 -330
  158. package/dist/index-DPGq3eIL.js.map +0 -1
  159. package/dist/line-CPfhohvF.js +0 -68
  160. package/dist/line-CPfhohvF.js.map +0 -1
  161. package/dist/line-DHV4JwCR.cjs +0 -2
  162. package/dist/line-DHV4JwCR.cjs.map +0 -1
package/dist/HeatMap.js CHANGED
@@ -1,103 +1,103 @@
1
- import { c as Gt, j as o, m as Xt } from "./index-CHPV5EwG-Curnpaqc.js";
2
- import { useRef as qt, useState as dt, useEffect as Yt } from "react";
3
- import { i as Ft } from "./index-Bwrro8-q.js";
4
- import { n as Pt } from "./numberFormattingFunction-14YCbkN2.js";
5
- import { T as zt } from "./Tooltip-Dj5eVppQ.js";
6
- import { g as Ut } from "./getTextColorBasedOnBgColor-CDY808zi.js";
7
- import { c as Ht } from "./checkIfNullOrUndefined-DmfiKkNw.js";
8
- import { X as Jt } from "./XAxesLabels-Dy8E1SEo.js";
9
- import { Y as Kt } from "./YAxesLabels-a57ZRv-0.js";
10
- import { u as Wt } from "./uniqBy-BHy4I8PK.js";
11
- import { D as Qt } from "./DetailsModal-0Ry5nXiC.js";
12
- import { b as Bt } from "./band-DHUZ2X7J.js";
13
- import { o as Zt } from "./ordinal-BJ6O_LC5.js";
14
- import { t as _t } from "./threshold-DFfqcDMa.js";
15
- import { a as to } from "./linear-BqltdMeF.js";
16
- import { u as oo } from "./use-in-view-Cxa7y1TH.js";
17
- import { m as Vt } from "./proxy-BxkFHwUw.js";
18
- import { GraphHeader as eo } from "./GraphHeader.js";
19
- import { GraphFooter as io } from "./GraphFooter.js";
20
- import { ColorLegendWithMouseOver as ro } from "./ColorLegendWithMouseOver.js";
21
- import { LinearColorLegend as lo } from "./LinearColorLegend.js";
22
- import { ThresholdColorLegendWithMouseOver as so } from "./ThresholdColorLegendWithMouseOver.js";
23
- import { Colors as g } from "./Colors.js";
24
- import { E as ao } from "./EmptyState-BZo1BbAn.js";
25
- import { a as no, G as co } from "./GraphContainer-CRqzdKu2.js";
26
- function uo(c) {
27
- const t = Gt.c(86), {
28
- data: h,
1
+ import { c as Ft, j as o, m as Pt } from "./index-CHPV5EwG-Curnpaqc.js";
2
+ import { useRef as Et, useState as gt, useEffect as zt } from "react";
3
+ import { i as Ut } from "./index-Bwrro8-q.js";
4
+ import { n as Jt } from "./numberFormattingFunction-14YCbkN2.js";
5
+ import { T as Kt } from "./Tooltip-Dj5eVppQ.js";
6
+ import { g as Qt } from "./getTextColorBasedOnBgColor-CDY808zi.js";
7
+ import { c as Rt } from "./checkIfNullOrUndefined-DmfiKkNw.js";
8
+ import { X as Zt } from "./XAxesLabels-Dy8E1SEo.js";
9
+ import { Y as _t } from "./YAxesLabels-a57ZRv-0.js";
10
+ import { u as Xt } from "./uniqBy-BHy4I8PK.js";
11
+ import { D as te } from "./DetailsModal-0Ry5nXiC.js";
12
+ import { b as Yt } from "./band-DHUZ2X7J.js";
13
+ import { o as ee } from "./ordinal-BJ6O_LC5.js";
14
+ import { t as oe } from "./threshold-DFfqcDMa.js";
15
+ import { a as ie } from "./linear-BqltdMeF.js";
16
+ import { u as le } from "./use-in-view-Cxa7y1TH.js";
17
+ import { m as Tt } from "./proxy-BxkFHwUw.js";
18
+ import { GraphHeader as re } from "./GraphHeader.js";
19
+ import { GraphFooter as se } from "./GraphFooter.js";
20
+ import { ColorLegendWithMouseOver as ae } from "./ColorLegendWithMouseOver.js";
21
+ import { LinearColorLegend as ne } from "./LinearColorLegend.js";
22
+ import { ThresholdColorLegendWithMouseOver as ce } from "./ThresholdColorLegendWithMouseOver.js";
23
+ import { Colors as f } from "./Colors.js";
24
+ import { E as ue } from "./EmptyState-C7ZXkZWd.js";
25
+ import { a as me, G as he } from "./GraphContainer-CRqzdKu2.js";
26
+ function de(u) {
27
+ const t = Ft.c(86), {
28
+ data: a,
29
29
  showColumnLabels: z,
30
- leftMargin: j,
30
+ leftMargin: x,
31
31
  rightMargin: U,
32
- truncateBy: y,
32
+ truncateBy: C,
33
33
  width: J,
34
34
  height: K,
35
- topMargin: gt,
36
- bottomMargin: pt,
35
+ topMargin: pt,
36
+ bottomMargin: ft,
37
37
  tooltip: Q,
38
38
  onSeriesMouseOver: s,
39
- suffix: jt,
40
- prefix: l,
39
+ suffix: Mt,
40
+ prefix: r,
41
41
  showValues: Z,
42
- colorDomain: C,
42
+ colorDomain: b,
43
43
  colors: I,
44
44
  noDataColor: it,
45
- scaleType: rt,
46
- showRowLabels: ft,
45
+ scaleType: lt,
46
+ showRowLabels: xt,
47
47
  selectedColor: _,
48
48
  onSeriesMouseClick: W,
49
- resetSelectionOnDoubleClick: xt,
49
+ resetSelectionOnDoubleClick: vt,
50
50
  detailsOnClick: $,
51
- styles: d,
52
- classNames: n,
53
- animate: m,
54
- precision: lt
55
- } = c, $t = qt(null);
51
+ styles: g,
52
+ classNames: c,
53
+ animate: h,
54
+ precision: rt
55
+ } = u, Ot = Et(null);
56
56
  let st;
57
- t[0] !== m.amount || t[1] !== m.once ? (st = {
58
- once: m.once,
59
- amount: m.amount
60
- }, t[0] = m.amount, t[1] = m.once, t[2] = st) : st = t[2];
61
- const k = oo($t, st);
57
+ t[0] !== h.amount || t[1] !== h.once ? (st = {
58
+ once: h.once,
59
+ amount: h.amount
60
+ }, t[0] = h.amount, t[1] = h.once, t[2] = st) : st = t[2];
61
+ const k = le(Ot, st);
62
62
  let at;
63
- t[3] !== pt || t[4] !== j || t[5] !== U || t[6] !== gt ? (at = {
64
- top: gt,
65
- bottom: pt,
66
- left: j,
63
+ t[3] !== ft || t[4] !== x || t[5] !== U || t[6] !== pt ? (at = {
64
+ top: pt,
65
+ bottom: ft,
66
+ left: x,
67
67
  right: U
68
- }, t[3] = pt, t[4] = j, t[5] = U, t[6] = gt, t[7] = at) : at = t[7];
69
- const u = at, [D, vt] = dt(void 0), [x, yt] = dt(void 0), [nt, ct] = dt(void 0), [ut, mt] = dt(void 0), a = J - u.left - u.right, r = K - u.top - u.bottom;
70
- let B, G, M, O, N, A, L, S, V, q, H, T, f;
71
- if (t[8] !== m.duration || t[9] !== n?.graphObjectValues || t[10] !== n?.xAxis?.labels || t[11] !== n?.yAxis?.labels || t[12] !== C || t[13] !== I || t[14] !== h || t[15] !== $ || t[16] !== r || t[17] !== a || t[18] !== K || t[19] !== k || t[20] !== u.left || t[21] !== u.top || t[22] !== D || t[23] !== x || t[24] !== it || t[25] !== W || t[26] !== s || t[27] !== lt || t[28] !== l || t[29] !== xt || t[30] !== rt || t[31] !== _ || t[32] !== z || t[33] !== ft || t[34] !== Z || t[35] !== d?.graphObjectValues || t[36] !== d?.xAxis?.labels || t[37] !== d?.yAxis?.labels || t[38] !== jt || t[39] !== y || t[40] !== J) {
72
- const ot = Wt(h, "column", !0), ht = Wt(h, "row", !0), i = Bt().domain(ht).range([0, r]), X = i.bandwidth(), R = Bt().domain(ot).range([0, a]), Y = R.bandwidth(), et = rt === "categorical" ? Zt().domain(C).range(I) : rt === "threshold" ? _t().domain(C).range(I) : to().domain(C).range(I);
73
- B = Vt.svg, q = `${J}px`, H = `${K}px`, T = `0 0 ${J} ${K}`, t[54] === Symbol.for("react.memo_cache_sentinel") ? (f = {
68
+ }, t[3] = ft, t[4] = x, t[5] = U, t[6] = pt, t[7] = at) : at = t[7];
69
+ const m = at, [D, yt] = gt(void 0), [v, Ct] = gt(void 0), [nt, ct] = gt(void 0), [ut, mt] = gt(void 0), n = J - m.left - m.right, l = K - m.top - m.bottom;
70
+ let B, G, M, O, N, L, A, S, V, q, H, T, p;
71
+ if (t[8] !== h.duration || t[9] !== c?.graphObjectValues || t[10] !== c?.xAxis?.labels || t[11] !== c?.yAxis?.labels || t[12] !== b || t[13] !== I || t[14] !== a || t[15] !== $ || t[16] !== l || t[17] !== n || t[18] !== K || t[19] !== k || t[20] !== m.left || t[21] !== m.top || t[22] !== D || t[23] !== v || t[24] !== it || t[25] !== W || t[26] !== s || t[27] !== rt || t[28] !== r || t[29] !== vt || t[30] !== lt || t[31] !== _ || t[32] !== z || t[33] !== xt || t[34] !== Z || t[35] !== g?.graphObjectValues || t[36] !== g?.xAxis?.labels || t[37] !== g?.yAxis?.labels || t[38] !== Mt || t[39] !== C || t[40] !== J) {
72
+ const et = Xt(a, "column", !0), ht = Xt(a, "row", !0), i = Yt().domain(ht).range([0, l]), X = i.bandwidth(), R = Yt().domain(et).range([0, n]), Y = R.bandwidth(), ot = lt === "categorical" ? ee().domain(b).range(I) : lt === "threshold" ? oe().domain(b).range(I) : ie().domain(b).range(I);
73
+ B = Tt.svg, q = `${J}px`, H = `${K}px`, T = `0 0 ${J} ${K}`, t[54] === Symbol.for("react.memo_cache_sentinel") ? (p = {
74
74
  marginLeft: "auto",
75
75
  marginRight: "auto"
76
- }, t[54] = f) : f = t[54], G = "ltr", M = $t, O = /* @__PURE__ */ o.jsx("g", { transform: `translate(${u.left},0)`, children: z ? ot.map((e, v) => /* @__PURE__ */ o.jsx(Jt, { y: 0, x: R(e), width: Y, height: u.top - 5, value: `${e}`.length < y ? `${e}` : `${`${e}`.substring(0, y)}...`, style: d?.xAxis?.labels, className: n?.xAxis?.labels, alignment: "bottom", animate: {
76
+ }, t[54] = p) : p = t[54], G = "ltr", M = Ot, O = /* @__PURE__ */ o.jsx("g", { transform: `translate(${m.left},0)`, children: z ? et.map((e, y) => /* @__PURE__ */ o.jsx(Zt, { y: 0, x: R(e), width: Y, height: m.top - 5, value: `${e}`.length < C ? `${e}` : `${`${e}`.substring(0, C)}...`, style: g?.xAxis?.labels, className: c?.xAxis?.labels, alignment: "bottom", animate: {
77
77
  duration: 0,
78
78
  once: !0,
79
79
  amount: 0
80
- }, isInView: k }, v)) : null }), N = /* @__PURE__ */ o.jsx("g", { transform: `translate(0,${u.top})`, children: ft ? ht.map((e, v) => /* @__PURE__ */ o.jsx(Kt, { value: `${e}`.length < y ? `${e}` : `${`${e}`.substring(0, y)}...`, y: i(e), x: 0, width: u.left, height: X, alignment: "right", style: d?.yAxis?.labels, className: n?.yAxis?.labels, animate: {
80
+ }, isInView: k }, y)) : null }), N = /* @__PURE__ */ o.jsx("g", { transform: `translate(0,${m.top})`, children: xt ? ht.map((e, y) => /* @__PURE__ */ o.jsx(_t, { value: `${e}`.length < C ? `${e}` : `${`${e}`.substring(0, C)}...`, y: i(e), x: 0, width: m.left, height: X, alignment: "right", style: g?.yAxis?.labels, className: c?.yAxis?.labels, animate: {
81
81
  duration: 0,
82
82
  once: !0,
83
83
  amount: 0
84
- }, isInView: k }, v)) : null }), A = `translate(${u.left},${u.top})`, L = ht.map((e, v) => /* @__PURE__ */ o.jsx("g", { transform: `translate(0,${i(e)})`, children: ot.map((F) => /* @__PURE__ */ o.jsx("rect", { x: R(F), y: 0, width: Y, height: X, style: {
84
+ }, isInView: k }, y)) : null }), L = `translate(${m.left},${m.top})`, A = ht.map((e, y) => /* @__PURE__ */ o.jsx("g", { transform: `translate(0,${i(e)})`, children: et.map((F) => /* @__PURE__ */ o.jsx("rect", { x: R(F), y: 0, width: Y, height: X, style: {
85
85
  fill: it
86
- }, className: "stroke-1 stroke-primary-white dark:stroke-primary-gray-700" }, `${e}-${F}`)) }, v)), S = h.filter(mo).map((e, v) => {
87
- const F = Ht(e.value) ? it : et(e.value);
86
+ }, className: "stroke-1 stroke-primary-white dark:stroke-primary-gray-700" }, `${e}-${F}`)) }, y)), S = a.filter(ge).map((e, y) => {
87
+ const F = Rt(e.value) ? it : ot(e.value);
88
88
  return /* @__PURE__ */ o.jsxs("g", { transform: `translate(${R(e.column)},${i(e.row)})`, onMouseEnter: (P) => {
89
- yt(e), mt(P.clientY), ct(P.clientX), s?.(e);
89
+ Ct(e), mt(P.clientY), ct(P.clientX), s?.(e);
90
90
  }, onClick: () => {
91
- (W || $) && (Ft(D, e) && xt ? (vt(void 0), W?.(void 0)) : (vt(e), W?.(e)));
91
+ (W || $) && (Ut(D, e) && vt ? (yt(void 0), W?.(void 0)) : (yt(e), W?.(e)));
92
92
  }, onMouseMove: (P) => {
93
- yt(e), mt(P.clientY), ct(P.clientX);
93
+ Ct(e), mt(P.clientY), ct(P.clientX);
94
94
  }, onMouseLeave: () => {
95
- yt(void 0), ct(void 0), mt(void 0), s?.(void 0);
95
+ Ct(void 0), ct(void 0), mt(void 0), s?.(void 0);
96
96
  }, opacity: _ ? _ === F ? 1 : 0.3 : 1, children: [
97
- /* @__PURE__ */ o.jsx(Vt.rect, { x: 0, y: 0, width: Y, height: X, className: "stroke-1 stroke-primary-white dark:stroke-primary-gray-700", exit: {
97
+ /* @__PURE__ */ o.jsx(Tt.rect, { x: 0, y: 0, width: Y, height: X, className: "stroke-1 stroke-primary-white dark:stroke-primary-gray-700", exit: {
98
98
  opacity: 0,
99
99
  transition: {
100
- duration: m.duration
100
+ duration: h.duration
101
101
  }
102
102
  }, variants: {
103
103
  initial: {
@@ -108,173 +108,180 @@ function uo(c) {
108
108
  fill: F,
109
109
  opacity: 1,
110
110
  transition: {
111
- duration: m.duration
111
+ duration: h.duration
112
112
  }
113
113
  }
114
114
  }, initial: "initial", animate: k ? "whileInView" : "initial" }),
115
- Z && !Ht(e.value) ? /* @__PURE__ */ o.jsx(Vt.g, { variants: {
115
+ Z && !Rt(e.value) ? /* @__PURE__ */ o.jsx(Tt.g, { variants: {
116
116
  initial: {
117
117
  opacity: 0
118
118
  },
119
119
  whileInView: {
120
120
  opacity: 1,
121
121
  transition: {
122
- duration: m.duration
122
+ duration: h.duration
123
123
  }
124
124
  }
125
125
  }, initial: "initial", animate: k ? "whileInView" : "initial", exit: {
126
126
  opacity: 0,
127
127
  transition: {
128
- duration: m.duration
128
+ duration: h.duration
129
129
  }
130
- }, children: /* @__PURE__ */ o.jsx("foreignObject", { y: 0, x: 0, width: Y, height: X, children: /* @__PURE__ */ o.jsx("div", { className: "flex flex-col justify-center items-center h-inherit p-1", children: /* @__PURE__ */ o.jsx("p", { className: Xt("text-xs text-center m-0 leading-[1.25] graph-value", n?.graphObjectValues), style: {
131
- color: Ut(F),
132
- ...d?.graphObjectValues || {}
133
- }, children: Pt(e.value, "NA", lt, l, jt) }) }) }, v) }) : null
130
+ }, children: /* @__PURE__ */ o.jsx("foreignObject", { y: 0, x: 0, width: Y, height: X, children: /* @__PURE__ */ o.jsx("div", { className: "flex flex-col justify-center items-center h-inherit p-1", children: /* @__PURE__ */ o.jsx("p", { className: Pt("text-xs text-center m-0 leading-[1.25] graph-value", c?.graphObjectValues), style: {
131
+ color: Qt(F),
132
+ ...g?.graphObjectValues || {}
133
+ }, children: Jt(e.value, "NA", rt, r, Mt) }) }) }, y) }) : null
134
134
  ] }, `${e.column}-${e.row}`);
135
- }), V = x ? /* @__PURE__ */ o.jsx("rect", { x: R(x.column), y: i(x.row), width: Y, height: X, style: {
135
+ }), V = v ? /* @__PURE__ */ o.jsx("rect", { x: R(v.column), y: i(v.row), width: Y, height: X, style: {
136
136
  fill: "none",
137
137
  fillOpacity: 0,
138
138
  strokeWidth: 1.5
139
- }, className: "stroke-primary-gray-700 dark:stroke-primary-gray-300" }) : null, t[8] = m.duration, t[9] = n?.graphObjectValues, t[10] = n?.xAxis?.labels, t[11] = n?.yAxis?.labels, t[12] = C, t[13] = I, t[14] = h, t[15] = $, t[16] = r, t[17] = a, t[18] = K, t[19] = k, t[20] = u.left, t[21] = u.top, t[22] = D, t[23] = x, t[24] = it, t[25] = W, t[26] = s, t[27] = lt, t[28] = l, t[29] = xt, t[30] = rt, t[31] = _, t[32] = z, t[33] = ft, t[34] = Z, t[35] = d?.graphObjectValues, t[36] = d?.xAxis?.labels, t[37] = d?.yAxis?.labels, t[38] = jt, t[39] = y, t[40] = J, t[41] = B, t[42] = G, t[43] = M, t[44] = O, t[45] = N, t[46] = A, t[47] = L, t[48] = S, t[49] = V, t[50] = q, t[51] = H, t[52] = T, t[53] = f;
139
+ }, className: "stroke-primary-gray-700 dark:stroke-primary-gray-300" }) : null, t[8] = h.duration, t[9] = c?.graphObjectValues, t[10] = c?.xAxis?.labels, t[11] = c?.yAxis?.labels, t[12] = b, t[13] = I, t[14] = a, t[15] = $, t[16] = l, t[17] = n, t[18] = K, t[19] = k, t[20] = m.left, t[21] = m.top, t[22] = D, t[23] = v, t[24] = it, t[25] = W, t[26] = s, t[27] = rt, t[28] = r, t[29] = vt, t[30] = lt, t[31] = _, t[32] = z, t[33] = xt, t[34] = Z, t[35] = g?.graphObjectValues, t[36] = g?.xAxis?.labels, t[37] = g?.yAxis?.labels, t[38] = Mt, t[39] = C, t[40] = J, t[41] = B, t[42] = G, t[43] = M, t[44] = O, t[45] = N, t[46] = L, t[47] = A, t[48] = S, t[49] = V, t[50] = q, t[51] = H, t[52] = T, t[53] = p;
140
140
  } else
141
- B = t[41], G = t[42], M = t[43], O = t[44], N = t[45], A = t[46], L = t[47], S = t[48], V = t[49], q = t[50], H = t[51], T = t[52], f = t[53];
141
+ B = t[41], G = t[42], M = t[43], O = t[44], N = t[45], L = t[46], A = t[47], S = t[48], V = t[49], q = t[50], H = t[51], T = t[52], p = t[53];
142
142
  let E;
143
- t[55] !== A || t[56] !== L || t[57] !== S || t[58] !== V ? (E = /* @__PURE__ */ o.jsxs("g", { transform: A, children: [
144
- L,
143
+ t[55] !== L || t[56] !== A || t[57] !== S || t[58] !== V ? (E = /* @__PURE__ */ o.jsxs("g", { transform: L, children: [
144
+ A,
145
145
  S,
146
146
  V
147
- ] }), t[55] = A, t[56] = L, t[57] = S, t[58] = V, t[59] = E) : E = t[59];
148
- let b;
149
- t[60] !== B || t[61] !== G || t[62] !== M || t[63] !== O || t[64] !== N || t[65] !== E || t[66] !== q || t[67] !== H || t[68] !== T || t[69] !== f ? (b = /* @__PURE__ */ o.jsxs(B, { width: q, height: H, viewBox: T, style: f, direction: G, ref: M, children: [
147
+ ] }), t[55] = L, t[56] = A, t[57] = S, t[58] = V, t[59] = E) : E = t[59];
148
+ let w;
149
+ t[60] !== B || t[61] !== G || t[62] !== M || t[63] !== O || t[64] !== N || t[65] !== E || t[66] !== q || t[67] !== H || t[68] !== T || t[69] !== p ? (w = /* @__PURE__ */ o.jsxs(B, { width: q, height: H, viewBox: T, style: p, direction: G, ref: M, children: [
150
150
  O,
151
151
  N,
152
152
  E
153
- ] }), t[60] = B, t[61] = G, t[62] = M, t[63] = O, t[64] = N, t[65] = E, t[66] = q, t[67] = H, t[68] = T, t[69] = f, t[70] = b) : b = t[70];
154
- let w;
155
- t[71] !== n?.tooltip || t[72] !== nt || t[73] !== ut || t[74] !== x || t[75] !== d?.tooltip || t[76] !== Q ? (w = x && Q && nt && ut ? /* @__PURE__ */ o.jsx(zt, { data: x, body: Q, xPos: nt, yPos: ut, backgroundStyle: d?.tooltip, className: n?.tooltip }) : null, t[71] = n?.tooltip, t[72] = nt, t[73] = ut, t[74] = x, t[75] = d?.tooltip, t[76] = Q, t[77] = w) : w = t[77];
156
- let p;
157
- t[78] !== n?.modal || t[79] !== $ || t[80] !== D ? (p = $ && D !== void 0 ? /* @__PURE__ */ o.jsx(Qt, { body: $, data: D, setData: vt, className: n?.modal }) : null, t[78] = n?.modal, t[79] = $, t[80] = D, t[81] = p) : p = t[81];
153
+ ] }), t[60] = B, t[61] = G, t[62] = M, t[63] = O, t[64] = N, t[65] = E, t[66] = q, t[67] = H, t[68] = T, t[69] = p, t[70] = w) : w = t[70];
154
+ let j;
155
+ t[71] !== c?.tooltip || t[72] !== nt || t[73] !== ut || t[74] !== v || t[75] !== g?.tooltip || t[76] !== Q ? (j = v && Q && nt && ut ? /* @__PURE__ */ o.jsx(Kt, { data: v, body: Q, xPos: nt, yPos: ut, backgroundStyle: g?.tooltip, className: c?.tooltip }) : null, t[71] = c?.tooltip, t[72] = nt, t[73] = ut, t[74] = v, t[75] = g?.tooltip, t[76] = Q, t[77] = j) : j = t[77];
156
+ let d;
157
+ t[78] !== c?.modal || t[79] !== $ || t[80] !== D ? (d = $ && D !== void 0 ? /* @__PURE__ */ o.jsx(te, { body: $, data: D, setData: yt, className: c?.modal }) : null, t[78] = c?.modal, t[79] = $, t[80] = D, t[81] = d) : d = t[81];
158
158
  let tt;
159
- return t[82] !== b || t[83] !== w || t[84] !== p ? (tt = /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
160
- b,
159
+ return t[82] !== w || t[83] !== j || t[84] !== d ? (tt = /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
161
160
  w,
162
- p
163
- ] }), t[82] = b, t[83] = w, t[84] = p, t[85] = tt) : tt = t[85], tt;
161
+ j,
162
+ d
163
+ ] }), t[82] = w, t[83] = j, t[84] = d, t[85] = tt) : tt = t[85], tt;
164
164
  }
165
- function mo(c) {
166
- return !Ht(c.value);
165
+ function ge(u) {
166
+ return !Rt(u.value);
167
167
  }
168
- function Yo(c) {
169
- const t = Gt.c(71), {
170
- data: h,
168
+ function Pe(u) {
169
+ const t = Ft.c(87), {
170
+ data: a,
171
171
  graphTitle: z,
172
- colors: j,
172
+ colors: x,
173
173
  sources: U,
174
- graphDescription: y,
174
+ graphDescription: C,
175
175
  showColumnLabels: J,
176
176
  leftMargin: K,
177
- rightMargin: gt,
178
- truncateBy: pt,
177
+ rightMargin: pt,
178
+ truncateBy: ft,
179
179
  height: Q,
180
180
  width: s,
181
- scaleType: jt,
182
- colorDomain: l,
181
+ scaleType: Mt,
182
+ colorDomain: r,
183
183
  footNote: Z,
184
- colorLegendTitle: C,
184
+ colorLegendTitle: b,
185
185
  padding: I,
186
186
  backgroundColor: it,
187
- topMargin: rt,
188
- bottomMargin: ft,
187
+ topMargin: lt,
188
+ bottomMargin: xt,
189
189
  tooltip: _,
190
190
  onSeriesMouseOver: W,
191
- suffix: xt,
191
+ suffix: vt,
192
192
  prefix: $,
193
- showRowLabels: d,
194
- relativeHeight: n,
195
- showValues: m,
196
- graphID: lt,
197
- noDataColor: $t,
193
+ showRowLabels: g,
194
+ relativeHeight: c,
195
+ showValues: h,
196
+ graphID: rt,
197
+ noDataColor: Ot,
198
198
  showColorScale: st,
199
199
  onSeriesMouseClick: k,
200
200
  graphDownload: at,
201
- dataDownload: u,
201
+ dataDownload: m,
202
202
  fillContainer: D,
203
- language: vt,
204
- showNAColor: x,
205
- minHeight: yt,
203
+ language: yt,
204
+ showNAColor: v,
205
+ minHeight: Ct,
206
206
  theme: nt,
207
207
  ariaLabel: ct,
208
208
  resetSelectionOnDoubleClick: ut,
209
209
  detailsOnClick: mt,
210
- styles: a,
211
- classNames: r,
210
+ styles: n,
211
+ classNames: l,
212
212
  animate: B,
213
213
  precision: G
214
- } = c, M = J === void 0 ? !0 : J, O = K === void 0 ? 100 : K, N = gt === void 0 ? 10 : gt, A = pt === void 0 ? 999 : pt, L = it === void 0 ? !1 : it, S = rt === void 0 ? 30 : rt, V = ft === void 0 ? 10 : ft, q = xt === void 0 ? "" : xt, H = $ === void 0 ? "" : $, T = d === void 0 ? !0 : d, f = $t === void 0 ? g.gray : $t, E = st === void 0 ? !0 : st, b = at === void 0 ? !1 : at, w = u === void 0 ? !1 : u, p = D === void 0 ? !0 : D, tt = vt === void 0 ? "en" : vt, ot = x === void 0 ? !0 : x, ht = yt === void 0 ? 0 : yt, i = nt === void 0 ? "light" : nt, X = ut === void 0 ? !0 : ut, R = B === void 0 ? !1 : B, Y = G === void 0 ? 2 : G, [et, e] = dt(0), [v, F] = dt(0), [P, Tt] = dt(void 0), Nt = qt(null), Et = qt(null);
215
- let Dt, Mt;
216
- t[0] === Symbol.for("react.memo_cache_sentinel") ? (Dt = () => {
217
- const Rt = new ResizeObserver((It) => {
218
- e(It[0].target.clientWidth || 620), F(It[0].target.clientHeight || 480);
214
+ } = u, M = J === void 0 ? !0 : J, O = K === void 0 ? 100 : K, N = pt === void 0 ? 10 : pt, L = ft === void 0 ? 999 : ft, A = it === void 0 ? !1 : it, S = lt === void 0 ? 30 : lt, V = xt === void 0 ? 10 : xt, q = vt === void 0 ? "" : vt, H = $ === void 0 ? "" : $, T = g === void 0 ? !0 : g, p = Ot === void 0 ? f.gray : Ot, E = st === void 0 ? !0 : st, w = at === void 0 ? !1 : at, j = m === void 0 ? !1 : m, d = D === void 0 ? !0 : D, tt = yt === void 0 ? "en" : yt, et = v === void 0 ? !0 : v, ht = Ct === void 0 ? 0 : Ct, i = nt === void 0 ? "light" : nt, X = ut === void 0 ? !0 : ut, R = B === void 0 ? !1 : B, Y = G === void 0 ? 2 : G, [ot, e] = gt(0), [y, F] = gt(0), [P, It] = gt(void 0), St = Et(null), Wt = Et(null);
215
+ let Nt, Lt;
216
+ t[0] === Symbol.for("react.memo_cache_sentinel") ? (Nt = () => {
217
+ const Bt = new ResizeObserver((Gt) => {
218
+ e(Gt[0].target.clientWidth || 620), F(Gt[0].target.clientHeight || 480);
219
219
  });
220
- return Nt.current && Rt.observe(Nt.current), () => Rt.disconnect();
221
- }, Mt = [], t[0] = Dt, t[1] = Mt) : (Dt = t[0], Mt = t[1]), Yt(Dt, Mt);
222
- const kt = jt || (typeof l[0] == "string" ? "categorical" : l.length === 2 ? "linear" : "threshold"), At = r?.graphContainer, Lt = a?.graphContainer, St = p ? void 0 : s;
223
- let Ct;
224
- t[2] !== r?.description || t[3] !== r?.title || t[4] !== h || t[5] !== w || t[6] !== y || t[7] !== b || t[8] !== z || t[9] !== a?.description || t[10] !== a?.title || t[11] !== s ? (Ct = z || y || b || w ? /* @__PURE__ */ o.jsx(eo, { styles: {
225
- title: a?.title,
226
- description: a?.description
227
- }, classNames: {
228
- title: r?.title,
229
- description: r?.description
230
- }, graphTitle: z, graphDescription: y, width: s, graphDownload: b ? Et : void 0, dataDownload: w ? h.map(vo).filter(xo).length > 0 ? h.map(fo).filter(po) : h.filter(go) : null }) : null, t[2] = r?.description, t[3] = r?.title, t[4] = h, t[5] = w, t[6] = y, t[7] = b, t[8] = z, t[9] = a?.description, t[10] = a?.title, t[11] = s, t[12] = Ct) : Ct = t[12];
220
+ return St.current && Bt.observe(St.current), () => Bt.disconnect();
221
+ }, Lt = [], t[0] = Nt, t[1] = Lt) : (Nt = t[0], Lt = t[1]), zt(Nt, Lt);
222
+ const dt = Mt || (typeof r[0] == "string" ? "categorical" : r.length === 2 ? "linear" : "threshold"), Vt = l?.graphContainer, qt = n?.graphContainer, Ht = d ? void 0 : s;
231
223
  let bt;
232
- t[13] !== R || t[14] !== V || t[15] !== r || t[16] !== l || t[17] !== C || t[18] !== j || t[19] !== h || t[20] !== mt || t[21] !== p || t[22] !== O || t[23] !== f || t[24] !== k || t[25] !== W || t[26] !== Y || t[27] !== H || t[28] !== X || t[29] !== N || t[30] !== kt || t[31] !== P || t[32] !== E || t[33] !== M || t[34] !== ot || t[35] !== T || t[36] !== m || t[37] !== a || t[38] !== q || t[39] !== v || t[40] !== et || t[41] !== i || t[42] !== _ || t[43] !== S || t[44] !== A || t[45] !== s ? (bt = h.length === 0 ? /* @__PURE__ */ o.jsx(ao, {}) : /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
233
- E ? kt === "categorical" ? /* @__PURE__ */ o.jsx(ro, { width: p ? void 0 : s, colorLegendTitle: C, colors: j || (typeof l[0] == "string" ? g[i].categoricalColors.colors : l.length === 2 ? [g[i].sequentialColors.neutralColorsx09[0], g[i].sequentialColors.neutralColorsx09[8]] : g[i].sequentialColors[`neutralColorsx0${l.length + 1}`]), colorDomain: l.map(ho), setSelectedColor: Tt, showNAColor: ot, className: r?.colorLegend }) : kt === "threshold" ? /* @__PURE__ */ o.jsx(so, { width: p ? void 0 : s, colorLegendTitle: C, colors: j || (typeof l[0] == "string" ? g[i].categoricalColors.colors : l.length === 2 ? [g[i].sequentialColors.neutralColorsx09[0], g[i].sequentialColors.neutralColorsx09[8]] : g[i].sequentialColors[`neutralColorsx0${l.length + 1}`]), colorDomain: l, setSelectedColor: Tt, naColor: f, showNAColor: ot }) : /* @__PURE__ */ o.jsx(lo, { width: p ? void 0 : s, colorLegendTitle: C, colors: j || [g[i].sequentialColors.neutralColorsx09[0], g[i].sequentialColors.neutralColorsx09[8]], colorDomain: l, className: r?.colorLegend }) : null,
234
- /* @__PURE__ */ o.jsx(no, { ref: Nt, children: et && v ? /* @__PURE__ */ o.jsx(uo, { data: h, colorDomain: l, width: p || !s || et < s ? et : s, height: v, colors: j || (typeof l[0] == "string" ? g[i].categoricalColors.colors : l.length === 2 ? [g[i].sequentialColors.neutralColorsx09[0], g[i].sequentialColors.neutralColorsx09[8]] : g[i].sequentialColors[`neutralColorsx0${l.length + 1}`]), noDataColor: f, scaleType: kt, showColumnLabels: M, leftMargin: O, rightMargin: N, topMargin: S, bottomMargin: V, selectedColor: P, truncateBy: A, showRowLabels: T, tooltip: _, onSeriesMouseOver: W, showValues: m, suffix: q, prefix: H, onSeriesMouseClick: k, resetSelectionOnDoubleClick: X, detailsOnClick: mt, styles: a, classNames: r, animate: R === !0 ? {
235
- duration: 0.5,
236
- once: !0,
237
- amount: 0.5
238
- } : R || {
239
- duration: 0,
240
- once: !0,
241
- amount: 0
242
- }, precision: Y }) : null })
243
- ] }), t[13] = R, t[14] = V, t[15] = r, t[16] = l, t[17] = C, t[18] = j, t[19] = h, t[20] = mt, t[21] = p, t[22] = O, t[23] = f, t[24] = k, t[25] = W, t[26] = Y, t[27] = H, t[28] = X, t[29] = N, t[30] = kt, t[31] = P, t[32] = E, t[33] = M, t[34] = ot, t[35] = T, t[36] = m, t[37] = a, t[38] = q, t[39] = v, t[40] = et, t[41] = i, t[42] = _, t[43] = S, t[44] = A, t[45] = s, t[46] = bt) : bt = t[46];
224
+ t[2] !== l?.description || t[3] !== l?.title || t[4] !== a || t[5] !== j || t[6] !== C || t[7] !== w || t[8] !== z || t[9] !== n?.description || t[10] !== n?.title || t[11] !== s ? (bt = z || C || w || j ? /* @__PURE__ */ o.jsx(re, { styles: {
225
+ title: n?.title,
226
+ description: n?.description
227
+ }, classNames: {
228
+ title: l?.title,
229
+ description: l?.description
230
+ }, graphTitle: z, graphDescription: C, width: s, graphDownload: w ? Wt : void 0, dataDownload: j ? a.map(Ce).filter(ye).length > 0 ? a.map(ve).filter(xe) : a.filter(fe) : null }) : null, t[2] = l?.description, t[3] = l?.title, t[4] = a, t[5] = j, t[6] = C, t[7] = w, t[8] = z, t[9] = n?.description, t[10] = n?.title, t[11] = s, t[12] = bt) : bt = t[12];
244
231
  let wt;
245
- t[47] !== r?.footnote || t[48] !== r?.source || t[49] !== Z || t[50] !== U || t[51] !== a?.footnote || t[52] !== a?.source || t[53] !== s ? (wt = U || Z ? /* @__PURE__ */ o.jsx(io, { styles: {
246
- footnote: a?.footnote,
247
- source: a?.source
232
+ t[13] !== l?.colorLegend || t[14] !== r || t[15] !== b || t[16] !== x || t[17] !== a.length || t[18] !== d || t[19] !== p || t[20] !== dt || t[21] !== E || t[22] !== et || t[23] !== i || t[24] !== s ? (wt = E && a.length > 0 ? dt === "categorical" ? /* @__PURE__ */ o.jsx(ae, { width: d ? void 0 : s, colorLegendTitle: b, colors: x || (typeof r[0] == "string" ? f[i].categoricalColors.colors : r.length === 2 ? [f[i].sequentialColors.neutralColorsx09[0], f[i].sequentialColors.neutralColorsx09[8]] : f[i].sequentialColors[`neutralColorsx0${r.length + 1}`]), colorDomain: r.map(pe), setSelectedColor: It, showNAColor: et, className: l?.colorLegend }) : dt === "threshold" ? /* @__PURE__ */ o.jsx(ce, { width: d ? void 0 : s, colorLegendTitle: b, colors: x || (typeof r[0] == "string" ? f[i].categoricalColors.colors : r.length === 2 ? [f[i].sequentialColors.neutralColorsx09[0], f[i].sequentialColors.neutralColorsx09[8]] : f[i].sequentialColors[`neutralColorsx0${r.length + 1}`]), colorDomain: r, setSelectedColor: It, naColor: p, showNAColor: et }) : /* @__PURE__ */ o.jsx(ne, { width: d ? void 0 : s, colorLegendTitle: b, colors: x || [f[i].sequentialColors.neutralColorsx09[0], f[i].sequentialColors.neutralColorsx09[8]], colorDomain: r, className: l?.colorLegend }) : null, t[13] = l?.colorLegend, t[14] = r, t[15] = b, t[16] = x, t[17] = a.length, t[18] = d, t[19] = p, t[20] = dt, t[21] = E, t[22] = et, t[23] = i, t[24] = s, t[25] = wt) : wt = t[25];
233
+ let jt;
234
+ t[26] !== a.length ? (jt = a.length === 0 && /* @__PURE__ */ o.jsx(ue, {}), t[26] = a.length, t[27] = jt) : jt = t[27];
235
+ let $t;
236
+ t[28] !== R || t[29] !== V || t[30] !== l || t[31] !== r || t[32] !== x || t[33] !== a || t[34] !== mt || t[35] !== d || t[36] !== O || t[37] !== p || t[38] !== k || t[39] !== W || t[40] !== Y || t[41] !== H || t[42] !== X || t[43] !== N || t[44] !== dt || t[45] !== P || t[46] !== M || t[47] !== T || t[48] !== h || t[49] !== n || t[50] !== q || t[51] !== y || t[52] !== ot || t[53] !== i || t[54] !== _ || t[55] !== S || t[56] !== L || t[57] !== s ? ($t = ot && y && a.length > 0 ? /* @__PURE__ */ o.jsx(de, { data: a, colorDomain: r, width: d || !s || ot < s ? ot : s, height: y, colors: x || (typeof r[0] == "string" ? f[i].categoricalColors.colors : r.length === 2 ? [f[i].sequentialColors.neutralColorsx09[0], f[i].sequentialColors.neutralColorsx09[8]] : f[i].sequentialColors[`neutralColorsx0${r.length + 1}`]), noDataColor: p, scaleType: dt, showColumnLabels: M, leftMargin: O, rightMargin: N, topMargin: S, bottomMargin: V, selectedColor: P, truncateBy: L, showRowLabels: T, tooltip: _, onSeriesMouseOver: W, showValues: h, suffix: q, prefix: H, onSeriesMouseClick: k, resetSelectionOnDoubleClick: X, detailsOnClick: mt, styles: n, classNames: l, animate: R === !0 ? {
237
+ duration: 0.5,
238
+ once: !0,
239
+ amount: 0.5
240
+ } : R || {
241
+ duration: 0,
242
+ once: !0,
243
+ amount: 0
244
+ }, precision: Y }) : null, t[28] = R, t[29] = V, t[30] = l, t[31] = r, t[32] = x, t[33] = a, t[34] = mt, t[35] = d, t[36] = O, t[37] = p, t[38] = k, t[39] = W, t[40] = Y, t[41] = H, t[42] = X, t[43] = N, t[44] = dt, t[45] = P, t[46] = M, t[47] = T, t[48] = h, t[49] = n, t[50] = q, t[51] = y, t[52] = ot, t[53] = i, t[54] = _, t[55] = S, t[56] = L, t[57] = s, t[58] = $t) : $t = t[58];
245
+ let kt;
246
+ t[59] !== jt || t[60] !== $t ? (kt = /* @__PURE__ */ o.jsxs(me, { ref: St, children: [
247
+ jt,
248
+ $t
249
+ ] }), t[59] = jt, t[60] = $t, t[61] = kt) : kt = t[61];
250
+ let Dt;
251
+ t[62] !== l?.footnote || t[63] !== l?.source || t[64] !== Z || t[65] !== U || t[66] !== n?.footnote || t[67] !== n?.source || t[68] !== s ? (Dt = U || Z ? /* @__PURE__ */ o.jsx(se, { styles: {
252
+ footnote: n?.footnote,
253
+ source: n?.source
248
254
  }, classNames: {
249
- footnote: r?.footnote,
250
- source: r?.source
251
- }, sources: U, footNote: Z, width: s }) : null, t[47] = r?.footnote, t[48] = r?.source, t[49] = Z, t[50] = U, t[51] = a?.footnote, t[52] = a?.source, t[53] = s, t[54] = wt) : wt = t[54];
252
- let Ot;
253
- return t[55] !== ct || t[56] !== L || t[57] !== lt || t[58] !== Q || t[59] !== tt || t[60] !== ht || t[61] !== I || t[62] !== n || t[63] !== At || t[64] !== Lt || t[65] !== St || t[66] !== Ct || t[67] !== bt || t[68] !== wt || t[69] !== i ? (Ot = /* @__PURE__ */ o.jsxs(co, { className: At, style: Lt, id: lt, ref: Et, "aria-label": ct, backgroundColor: L, theme: i, language: tt, minHeight: ht, width: St, height: Q, relativeHeight: n, padding: I, children: [
254
- Ct,
255
+ footnote: l?.footnote,
256
+ source: l?.source
257
+ }, sources: U, footNote: Z, width: s }) : null, t[62] = l?.footnote, t[63] = l?.source, t[64] = Z, t[65] = U, t[66] = n?.footnote, t[67] = n?.source, t[68] = s, t[69] = Dt) : Dt = t[69];
258
+ let At;
259
+ return t[70] !== ct || t[71] !== A || t[72] !== rt || t[73] !== Q || t[74] !== tt || t[75] !== ht || t[76] !== I || t[77] !== c || t[78] !== Vt || t[79] !== qt || t[80] !== Ht || t[81] !== bt || t[82] !== wt || t[83] !== kt || t[84] !== Dt || t[85] !== i ? (At = /* @__PURE__ */ o.jsxs(he, { className: Vt, style: qt, id: rt, ref: Wt, "aria-label": ct, backgroundColor: A, theme: i, language: tt, minHeight: ht, width: Ht, height: Q, relativeHeight: c, padding: I, children: [
255
260
  bt,
256
- wt
257
- ] }), t[55] = ct, t[56] = L, t[57] = lt, t[58] = Q, t[59] = tt, t[60] = ht, t[61] = I, t[62] = n, t[63] = At, t[64] = Lt, t[65] = St, t[66] = Ct, t[67] = bt, t[68] = wt, t[69] = i, t[70] = Ot) : Ot = t[70], Ot;
261
+ wt,
262
+ kt,
263
+ Dt
264
+ ] }), t[70] = ct, t[71] = A, t[72] = rt, t[73] = Q, t[74] = tt, t[75] = ht, t[76] = I, t[77] = c, t[78] = Vt, t[79] = qt, t[80] = Ht, t[81] = bt, t[82] = wt, t[83] = kt, t[84] = Dt, t[85] = i, t[86] = At) : At = t[86], At;
258
265
  }
259
- function ho(c) {
260
- return `${c}`;
266
+ function pe(u) {
267
+ return `${u}`;
261
268
  }
262
- function go(c) {
263
- return c !== void 0;
269
+ function fe(u) {
270
+ return u !== void 0;
264
271
  }
265
- function po(c) {
266
- return c !== void 0;
272
+ function xe(u) {
273
+ return u !== void 0;
267
274
  }
268
- function fo(c) {
269
- return c.data;
275
+ function ve(u) {
276
+ return u.data;
270
277
  }
271
- function xo(c) {
272
- return c !== void 0;
278
+ function ye(u) {
279
+ return u !== void 0;
273
280
  }
274
- function vo(c) {
275
- return c.data;
281
+ function Ce(u) {
282
+ return u.data;
276
283
  }
277
284
  export {
278
- Yo as HeatMap
285
+ Pe as HeatMap
279
286
  };
280
287
  //# sourceMappingURL=HeatMap.js.map