@milaboratories/miplots4 1.0.165 → 1.0.166

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 (58) hide show
  1. package/dist/_virtual/index10.js +2 -5
  2. package/dist/_virtual/index10.js.map +1 -1
  3. package/dist/_virtual/index5.js +5 -2
  4. package/dist/_virtual/index5.js.map +1 -1
  5. package/dist/_virtual/index6.js +4 -4
  6. package/dist/_virtual/index7.js +1 -1
  7. package/dist/_virtual/index8.js +4 -4
  8. package/dist/_virtual/index9.js +3 -3
  9. package/dist/bubble/components/ChartsGroup.js +21 -21
  10. package/dist/bubble/components/ChartsGroup.js.map +1 -1
  11. package/dist/common/Tooltip.d.ts +2 -1
  12. package/dist/common/Tooltip.js +147 -143
  13. package/dist/common/Tooltip.js.map +1 -1
  14. package/dist/discrete/DiscreteSettingsImpl.d.ts +11 -31
  15. package/dist/discrete/DiscreteSettingsImpl.js.map +1 -1
  16. package/dist/discrete/components/Chart.js +143 -143
  17. package/dist/discrete/components/Chart.js.map +1 -1
  18. package/dist/discrete/layers/stats/pValueCalculation.js +5 -5
  19. package/dist/heatmap/components/ChartsGroup.js +9 -9
  20. package/dist/heatmap/components/ChartsGroup.js.map +1 -1
  21. package/dist/node_modules/.pnpm/scheduler@0.23.2/node_modules/scheduler/index.js +1 -1
  22. package/dist/scatterplot/components/ChartTooltip.js +34 -33
  23. package/dist/scatterplot/components/ChartTooltip.js.map +1 -1
  24. package/dist/scatterplot/components/ChartsGroup.js +31 -31
  25. package/dist/scatterplot/components/ChartsGroup.js.map +1 -1
  26. package/dist/scatterplot/dots.d.ts +2 -2
  27. package/dist/scatterplot/dots.js +9 -9
  28. package/dist/scatterplot/dots.js.map +1 -1
  29. package/dist/scatterplot/index.js +1 -1
  30. package/dist/scatterplot/index.js.map +1 -1
  31. package/dist/scatterplot/utils/sortDotsByGrouping.d.ts +2 -1
  32. package/dist/scatterplot/utils/sortDotsByGrouping.js +22 -11
  33. package/dist/scatterplot/utils/sortDotsByGrouping.js.map +1 -1
  34. package/dist/scatterplot-umap/ChartRenderer.d.ts +1 -1
  35. package/dist/scatterplot-umap/ChartRenderer.js +17 -17
  36. package/dist/scatterplot-umap/ChartRenderer.js.map +1 -1
  37. package/dist/scatterplot-umap/components/SVGLayer.js +49 -49
  38. package/dist/scatterplot-umap/components/SVGLayer.js.map +1 -1
  39. package/dist/scatterplot-umap/components/UpperSVG.d.ts +1 -1
  40. package/dist/scatterplot-umap/components/UpperSVG.js +39 -38
  41. package/dist/scatterplot-umap/components/UpperSVG.js.map +1 -1
  42. package/dist/scatterplot-umap/index.js +87 -77
  43. package/dist/scatterplot-umap/index.js.map +1 -1
  44. package/dist/types/bubble.js +32 -37
  45. package/dist/types/bubble.js.map +1 -1
  46. package/dist/types/common.d.ts +41 -0
  47. package/dist/types/common.js +39 -35
  48. package/dist/types/common.js.map +1 -1
  49. package/dist/types/discrete.d.ts +680 -70
  50. package/dist/types/discrete.js +141 -141
  51. package/dist/types/discrete.js.map +1 -1
  52. package/dist/types/heatmap.js +54 -59
  53. package/dist/types/heatmap.js.map +1 -1
  54. package/dist/types/scatterplot-umap.js +19 -24
  55. package/dist/types/scatterplot-umap.js.map +1 -1
  56. package/dist/types/scatterplot.js +41 -46
  57. package/dist/types/scatterplot.js.map +1 -1
  58. package/package.json +1 -1
@@ -1,21 +1,21 @@
1
- import { j as e } from "../../_virtual/jsx-runtime.js";
1
+ import { j as o } from "../../_virtual/jsx-runtime.js";
2
2
  import { BLACK as z } from "../../constants.js";
3
3
  import { BandAxis as S } from "../../common/BandAxis.js";
4
4
  import { BarElement as a } from "./layers/BarElement.js";
5
5
  import { BinnedDotsElement as mm } from "./layers/BinnedDotsElement.js";
6
- import { BoxElement as om } from "./layers/BoxElement.js";
7
- import { DotsGroupElement as em } from "./layers/DotsGroupElement.js";
6
+ import { BoxElement as em } from "./layers/BoxElement.js";
7
+ import { DotsGroupElement as om } from "./layers/DotsGroupElement.js";
8
8
  import { ErrorBarElement as sm } from "./layers/ErrorBarElement.js";
9
9
  import { LineElement as hm } from "./layers/LineElement.js";
10
10
  import { LogoElement as nm } from "./layers/LogoElement.js";
11
- import { PairedPointsElement as im } from "./layers/PairedPointsElement.js";
12
- import { SinaElement as rm } from "./layers/SinaElement.js";
11
+ import { PairedPointsElement as rm } from "./layers/PairedPointsElement.js";
12
+ import { SinaElement as im } from "./layers/SinaElement.js";
13
13
  import { StackedAreaElement as dm } from "./layers/StackedAreaElement.js";
14
- import { StackedBarElement as pm } from "./layers/StackedBarElement.js";
15
- import { StatsPValue as xm } from "./layers/StatsPValue.js";
14
+ import { StackedBarElement as tm } from "./layers/StackedBarElement.js";
15
+ import { StatsPValue as pm } from "./layers/StatsPValue.js";
16
16
  import { NumberAxis as U } from "./NumberAxis.js";
17
- import { getPairwiseStatLevelsCount as lm } from "../utils/statsPValue.js";
18
- import { ViolinElement as tm } from "./layers/ViolinElement.js";
17
+ import { getPairwiseStatLevelsCount as xm } from "../utils/statsPValue.js";
18
+ import { ViolinElement as lm } from "./layers/ViolinElement.js";
19
19
  import { DEFAULT_TICKS_SIZE as O, FACET_TITLE_LINE as _, TITLE_LINE as I, P_VALUE_LINE_HEIGHT as R } from "../constants.js";
20
20
  import { Grid as um } from "./Grid.js";
21
21
  import { r as jm } from "../../_virtual/index.js";
@@ -23,10 +23,10 @@ function gm(n, E, u) {
23
23
  if (!n.length)
24
24
  return [];
25
25
  const s = [0];
26
- for (let i = 0; i < n.length - 1; i++) {
27
- const g = n[i];
26
+ for (let r = 0; r < n.length - 1; r++) {
27
+ const g = n[r];
28
28
  if (g.meta.statType === "pairwise") {
29
- const k = lm(
29
+ const k = xm(
30
30
  g.values[u],
31
31
  E,
32
32
  g.meta.significanceLevels,
@@ -46,14 +46,14 @@ function Hm({
46
46
  facetTitle: E,
47
47
  dimensions: u,
48
48
  scales: s,
49
- orientation: i,
49
+ orientation: r,
50
50
  layersData: g,
51
51
  statsData: k,
52
52
  facetKey: h,
53
53
  xAxis: T,
54
54
  yAxis: w,
55
55
  frameType: Y,
56
- tooltips: t,
56
+ tooltips: l,
57
57
  tooltipsContainer: d,
58
58
  keyColumn: A,
59
59
  chartSizes: b,
@@ -61,55 +61,55 @@ function Hm({
61
61
  xLabels: $,
62
62
  onlyPositive: V,
63
63
  secondaryGrouping: P,
64
- tooltipsData: p
64
+ tooltipsData: t
65
65
  }) {
66
- const [x, q] = jm.useState(), j = i === "vertical", G = gm(k, s.xPrimary.domain(), h), X = T.showTicks ? O : 0, C = w.showTicks ? O : 0, H = Z(T.title), N = Z(w.title), J = u.chartEdgeSides.includes("left") || j && !(n != null && n.sharedY) || !j && !(n != null && n.sharedX), Q = u.chartEdgeSides.includes("bottom") || j && !(n != null && n.sharedX) || !j && !(n != null && n.sharedY), W = u.chartEdgeSides.includes("left"), M = u.chartEdgeSides.includes("bottom"), { width: B, height: f } = u.inner, { left: L, top: v, padding: r } = u, l = {
67
- left: c.left + L + r.left,
68
- right: b.totalWidth - (c.left + L + r.left),
69
- top: c.top + v + r.top,
70
- bottom: b.totalHeight - (c.top + v + r.top)
71
- }, K = `translate(${L + r.left},${v + r.top})`, F = !1;
72
- return /* @__PURE__ */ e.jsxs("g", { transform: K, children: [
66
+ const [p, q] = jm.useState(), j = r === "vertical", G = gm(k, s.xPrimary.domain(), h), X = T.showTicks ? O : 0, C = w.showTicks ? O : 0, H = Z(T.title), N = Z(w.title), J = u.chartEdgeSides.includes("left") || j && !(n != null && n.sharedY) || !j && !(n != null && n.sharedX), Q = u.chartEdgeSides.includes("bottom") || j && !(n != null && n.sharedX) || !j && !(n != null && n.sharedY), W = u.chartEdgeSides.includes("left"), M = u.chartEdgeSides.includes("bottom"), { width: B, height: f } = u.inner, { left: L, top: v, padding: i } = u, x = {
67
+ left: c.left + L + i.left,
68
+ right: b.totalWidth - (c.left + L + i.left),
69
+ top: c.top + v + i.top,
70
+ bottom: b.totalHeight - (c.top + v + i.top)
71
+ }, K = `translate(${L + i.left},${v + i.top})`, F = !1;
72
+ return /* @__PURE__ */ o.jsxs("g", { transform: K, children: [
73
73
  F,
74
- E.length && /* @__PURE__ */ e.jsxs("g", { children: [
75
- Y === "full" && /* @__PURE__ */ e.jsx("rect", { x: "0", y: -r.top, height: r.top, width: B, fill: "#F7F8FA", stroke: z }),
76
- E.map((m, o) => {
77
- const y = E.length, D = (r.top - _ * y) / 2;
78
- return /* @__PURE__ */ e.jsx(
74
+ E.length && /* @__PURE__ */ o.jsxs("g", { children: [
75
+ Y === "full" && /* @__PURE__ */ o.jsx("rect", { x: "0", y: -i.top, height: i.top, width: B, fill: "#F7F8FA", stroke: z }),
76
+ E.map((m, e) => {
77
+ const y = E.length, D = (i.top - _ * y) / 2;
78
+ return /* @__PURE__ */ o.jsx(
79
79
  "text",
80
80
  {
81
81
  fontSize: "14px",
82
82
  fontWeight: "500",
83
83
  fill: z,
84
84
  x: B / 2,
85
- dy: D + _ / 2 - r.top,
86
- y: o * _,
85
+ dy: D + _ / 2 - i.top,
86
+ y: e * _,
87
87
  textAnchor: "middle",
88
88
  dominantBaseline: "central",
89
89
  children: m
90
90
  },
91
- o
91
+ e
92
92
  );
93
93
  })
94
94
  ] }),
95
- /* @__PURE__ */ e.jsxs("g", { dominantBaseline: "central", textAnchor: "middle", fontWeight: "500", fontSize: "14px", fill: z, children: [
96
- M && /* @__PURE__ */ e.jsx("text", { x: B / 2, y: f + r.bottom - I / 2, children: j ? H : N }),
95
+ /* @__PURE__ */ o.jsxs("g", { dominantBaseline: "central", textAnchor: "middle", fontWeight: "500", fontSize: "14px", fill: z, children: [
96
+ M && /* @__PURE__ */ o.jsx("text", { x: B / 2, y: f + i.bottom - I / 2, children: j ? H : N }),
97
97
  M && F,
98
- W && /* @__PURE__ */ e.jsx(
98
+ W && /* @__PURE__ */ o.jsx(
99
99
  "text",
100
100
  {
101
- x: -r.left + I / 2,
101
+ x: -i.left + I / 2,
102
102
  y: f / 2,
103
- transform: `rotate(-90,${-r.left + I / 2},${f / 2})`,
103
+ transform: `rotate(-90,${-i.left + I / 2},${f / 2})`,
104
104
  children: j ? N : H
105
105
  }
106
106
  ),
107
107
  W && F
108
108
  ] }),
109
- /* @__PURE__ */ e.jsx(
109
+ /* @__PURE__ */ o.jsx(
110
110
  um,
111
111
  {
112
- orientation: i,
112
+ orientation: r,
113
113
  width: B,
114
114
  height: f,
115
115
  scaleX: s.xPrimary,
@@ -119,7 +119,7 @@ function Hm({
119
119
  frameType: Y
120
120
  }
121
121
  ),
122
- Q && /* @__PURE__ */ e.jsx("g", { transform: `translate(0,${f})`, children: j ? /* @__PURE__ */ e.jsx(
122
+ Q && /* @__PURE__ */ o.jsx("g", { transform: `translate(0,${f})`, children: j ? /* @__PURE__ */ o.jsx(
123
123
  S,
124
124
  {
125
125
  scale: s.xPrimary,
@@ -128,8 +128,8 @@ function Hm({
128
128
  tickSize: X,
129
129
  labels: $
130
130
  }
131
- ) : /* @__PURE__ */ e.jsx(U, { scale: s.y, onlyPositive: V, orient: "bottom", tickSize: C, hiddenLabels: w.hiddenLabels }) }),
132
- J && /* @__PURE__ */ e.jsx("g", { children: j ? /* @__PURE__ */ e.jsx(U, { scale: s.y, onlyPositive: V, orient: "left", tickSize: C, hiddenLabels: w.hiddenLabels }) : /* @__PURE__ */ e.jsx(
131
+ ) : /* @__PURE__ */ o.jsx(U, { scale: s.y, onlyPositive: V, orient: "bottom", tickSize: C, hiddenLabels: w.hiddenLabels }) }),
132
+ J && /* @__PURE__ */ o.jsx("g", { children: j ? /* @__PURE__ */ o.jsx(U, { scale: s.y, onlyPositive: V, orient: "left", tickSize: C, hiddenLabels: w.hiddenLabels }) : /* @__PURE__ */ o.jsx(
133
133
  S,
134
134
  {
135
135
  scale: s.xPrimary,
@@ -139,214 +139,214 @@ function Hm({
139
139
  labels: $
140
140
  }
141
141
  ) }),
142
- /* @__PURE__ */ e.jsxs("g", { children: [
143
- g.map((m) => /* @__PURE__ */ e.jsxs("g", { children: [
144
- m.type === "box" && m.geoms[h].map((o) => /* @__PURE__ */ e.jsx(
145
- om,
142
+ /* @__PURE__ */ o.jsxs("g", { children: [
143
+ g.map((m) => /* @__PURE__ */ o.jsxs("g", { children: [
144
+ m.type === "box" && m.geoms[h].map((e) => /* @__PURE__ */ o.jsx(
145
+ em,
146
146
  {
147
147
  facetKey: h,
148
- box: o,
148
+ box: e,
149
149
  elementsAmount: m.geoms[h].length,
150
150
  scales: s,
151
- orientation: i,
151
+ orientation: r,
152
152
  aes: m.aes,
153
153
  hasKeyFromColumn: A !== null,
154
- sideDistances: l,
155
- showTooltips: t.box.show,
156
- tooltipsData: p,
157
- activeElementContainer: x,
154
+ sideDistances: x,
155
+ showTooltips: l.box.show ?? !0,
156
+ tooltipsData: t,
157
+ activeElementContainer: p,
158
158
  tooltipsContainer: d
159
159
  },
160
- o.key
160
+ e.key
161
161
  )),
162
- m.type === "violin" && m.geoms[h].map((o) => /* @__PURE__ */ e.jsx(
163
- tm,
162
+ m.type === "violin" && m.geoms[h].map((e) => /* @__PURE__ */ o.jsx(
163
+ lm,
164
164
  {
165
165
  facetKey: h,
166
- violin: o,
166
+ violin: e,
167
167
  elementsAmount: m.geoms[h].length,
168
168
  scales: s,
169
- orientation: i,
169
+ orientation: r,
170
170
  maxViolinDensity: m.meta.maxDensity,
171
171
  aes: m.aes,
172
- sideDistances: l,
173
- showTooltips: t.violin.show,
174
- tooltipsData: p,
175
- activeElementContainer: x,
172
+ sideDistances: x,
173
+ showTooltips: l.violin.show ?? !0,
174
+ tooltipsData: t,
175
+ activeElementContainer: p,
176
176
  tooltipsContainer: d
177
177
  },
178
- o.key
178
+ e.key
179
179
  )),
180
- m.type === "dot" && m.geoms[h].map((o) => /* @__PURE__ */ e.jsx(
181
- em,
180
+ m.type === "dot" && m.geoms[h].map((e) => /* @__PURE__ */ o.jsx(
181
+ om,
182
182
  {
183
183
  facetKey: h,
184
- geom: o,
184
+ geom: e,
185
185
  scales: s,
186
- orientation: i,
186
+ orientation: r,
187
187
  aes: m.aes,
188
188
  hasKeyFromColumn: A !== null,
189
- sideDistances: l,
190
- showTooltips: t.dot.show,
191
- tooltipsData: p,
192
- activeElementContainer: x,
189
+ sideDistances: x,
190
+ showTooltips: l.dot.show ?? !0,
191
+ tooltipsData: t,
192
+ activeElementContainer: p,
193
193
  tooltipsContainer: d
194
194
  },
195
- o.key
195
+ e.key
196
196
  )),
197
- m.type === "line" && m.geoms[h].map((o) => /* @__PURE__ */ e.jsx(
197
+ m.type === "line" && m.geoms[h].map((e) => /* @__PURE__ */ o.jsx(
198
198
  hm,
199
199
  {
200
200
  facetKey: h,
201
- line: o,
201
+ line: e,
202
202
  scales: s,
203
- orientation: i,
204
- sideDistances: l,
203
+ orientation: r,
204
+ sideDistances: x,
205
205
  aes: m.aes,
206
- showTooltips: t.line.show,
206
+ showTooltips: l.line.show ?? !0,
207
207
  secondaryGrouping: P,
208
- tooltipsData: p,
209
- activeElementContainer: x,
208
+ tooltipsData: t,
209
+ activeElementContainer: p,
210
210
  tooltipsContainer: d
211
211
  },
212
- o.key
212
+ e.key
213
213
  )),
214
- m.type === "errorbar" && m.geoms[h].map((o) => /* @__PURE__ */ e.jsx(
214
+ m.type === "errorbar" && m.geoms[h].map((e) => /* @__PURE__ */ o.jsx(
215
215
  sm,
216
216
  {
217
217
  facetKey: h,
218
- errorBar: o,
218
+ errorBar: e,
219
219
  scales: s,
220
- orientation: i,
220
+ orientation: r,
221
221
  aes: m.aes,
222
- sideDistances: l,
223
- showTooltips: t.errorBar.show,
224
- tooltipsData: p,
225
- activeElementContainer: x,
222
+ sideDistances: x,
223
+ showTooltips: l.errorBar.show ?? !0,
224
+ tooltipsData: t,
225
+ activeElementContainer: p,
226
226
  tooltipsContainer: d
227
227
  },
228
- o.key
228
+ e.key
229
229
  )),
230
- m.type === "bar" && m.geoms[h].map((o) => /* @__PURE__ */ e.jsx(
230
+ m.type === "bar" && m.geoms[h].map((e) => /* @__PURE__ */ o.jsx(
231
231
  a,
232
232
  {
233
- bar: o,
233
+ bar: e,
234
234
  scales: s,
235
- orientation: i,
235
+ orientation: r,
236
236
  aes: m.aes
237
237
  },
238
- o.key
238
+ e.key
239
239
  )),
240
- m.type === "stackedBar" && m.geoms[h].map((o) => /* @__PURE__ */ e.jsx(
241
- pm,
240
+ m.type === "stackedBar" && m.geoms[h].map((e) => /* @__PURE__ */ o.jsx(
241
+ tm,
242
242
  {
243
243
  facetKey: h,
244
- geom: o,
244
+ geom: e,
245
245
  elementsAmount: m.geoms[h].length,
246
246
  scales: s,
247
- orientation: i,
247
+ orientation: r,
248
248
  aes: m.aes,
249
249
  normalize: m.meta.normalize,
250
- sideDistances: l,
251
- showTooltips: t.stackedBar.show,
250
+ sideDistances: x,
251
+ showTooltips: l.stackedBar.show ?? !0,
252
252
  secondaryGrouping: P,
253
- tooltipsData: p,
254
- activeElementContainer: x,
253
+ tooltipsData: t,
254
+ activeElementContainer: p,
255
255
  tooltipsContainer: d
256
256
  },
257
- o.key
257
+ e.key
258
258
  )),
259
- m.type === "stackedArea" && /* @__PURE__ */ e.jsx(
259
+ m.type === "stackedArea" && /* @__PURE__ */ o.jsx(
260
260
  dm,
261
261
  {
262
262
  facetKey: h,
263
263
  layerData: m,
264
264
  scales: s,
265
- orientation: i,
266
- sideDistances: l,
267
- showTooltips: t.stackedBar.show,
265
+ orientation: r,
266
+ sideDistances: x,
267
+ showTooltips: l.stackedBar.show ?? !0,
268
268
  secondaryGrouping: P,
269
- tooltipsData: p,
270
- activeElementContainer: x,
269
+ tooltipsData: t,
270
+ activeElementContainer: p,
271
271
  tooltipsContainer: d
272
272
  },
273
273
  "stackedArea"
274
274
  ),
275
- m.type === "binnedDots" && m.geoms[h].map((o) => /* @__PURE__ */ e.jsx(
275
+ m.type === "binnedDots" && m.geoms[h].map((e) => /* @__PURE__ */ o.jsx(
276
276
  mm,
277
277
  {
278
278
  facetKey: h,
279
- geom: o,
279
+ geom: e,
280
280
  scales: s,
281
- orientation: i,
281
+ orientation: r,
282
282
  aes: m.aes,
283
283
  binsCount: m.meta.binsCount,
284
284
  min: m.meta.minY,
285
285
  max: m.meta.maxY,
286
286
  hasKeyFromColumn: m.meta.hasKeyFromColumn,
287
- sideDistances: l,
288
- showTooltips: t.stackedBar.show,
289
- tooltipsData: p,
290
- activeElementContainer: x,
287
+ sideDistances: x,
288
+ showTooltips: l.stackedBar.show ?? !0,
289
+ tooltipsData: t,
290
+ activeElementContainer: p,
291
291
  tooltipsContainer: d
292
292
  },
293
- o.key
293
+ e.key
294
294
  )),
295
- m.type === "pairedPoints" && m.geoms[h].map((o) => /* @__PURE__ */ e.jsx(
296
- im,
295
+ m.type === "pairedPoints" && m.geoms[h].map((e) => /* @__PURE__ */ o.jsx(
296
+ rm,
297
297
  {
298
298
  facetKey: h,
299
- geom: o,
299
+ geom: e,
300
300
  scales: s,
301
- orientation: i,
302
- sideDistances: l,
301
+ orientation: r,
302
+ sideDistances: x,
303
303
  aes: m.aes,
304
- showTooltips: t.pairedPoints.show,
305
- tooltipsData: p,
306
- activeElementContainer: x,
304
+ showTooltips: l.pairedPoints.show ?? !0,
305
+ tooltipsData: t,
306
+ activeElementContainer: p,
307
307
  tooltipsContainer: d
308
308
  },
309
- o.id
309
+ e.id
310
310
  )),
311
- m.type === "sina" && m.geoms[h].map((o) => /* @__PURE__ */ e.jsx(
312
- rm,
311
+ m.type === "sina" && m.geoms[h].map((e) => /* @__PURE__ */ o.jsx(
312
+ im,
313
313
  {
314
- geom: o,
314
+ geom: e,
315
315
  scales: s,
316
- orientation: i,
317
- sideDistances: l,
316
+ orientation: r,
317
+ sideDistances: x,
318
318
  aes: m.aes,
319
319
  hasKeyFromColumn: A !== null,
320
320
  showTooltips: !1,
321
321
  tooltipsContainer: d
322
322
  },
323
- o.key
323
+ e.key
324
324
  )),
325
- m.type === "logo" && m.geoms[h].map((o) => /* @__PURE__ */ e.jsx(
325
+ m.type === "logo" && m.geoms[h].map((e) => /* @__PURE__ */ o.jsx(
326
326
  nm,
327
327
  {
328
328
  facetKey: h,
329
- geom: o,
329
+ geom: e,
330
330
  elementsAmount: m.geoms[h].length,
331
331
  scales: s,
332
- orientation: i,
332
+ orientation: r,
333
333
  aes: m.aes,
334
334
  normalize: m.meta.normalize,
335
- sideDistances: l,
336
- showTooltips: t.logo.show,
337
- tooltipsData: p,
338
- activeElementContainer: x,
335
+ sideDistances: x,
336
+ showTooltips: l.logo.show ?? !0,
337
+ tooltipsData: t,
338
+ activeElementContainer: p,
339
339
  tooltipsContainer: d
340
340
  },
341
- o.key
341
+ e.key
342
342
  ))
343
343
  ] }, m.type)),
344
- k.map((m, o) => /* @__PURE__ */ e.jsx(
345
- xm,
344
+ k.map((m, e) => /* @__PURE__ */ o.jsx(
345
+ pm,
346
346
  {
347
- yShift: G[o],
347
+ yShift: G[e],
348
348
  scales: s,
349
- orientation: i,
349
+ orientation: r,
350
350
  statType: m.meta.statType,
351
351
  values: m.values[h],
352
352
  testMethod: m.meta.testMethod,
@@ -357,13 +357,13 @@ function Hm({
357
357
  `${m.meta.statType}_${m.meta.testMethod}`
358
358
  ))
359
359
  ] }),
360
- /* @__PURE__ */ e.jsxs("g", { children: [
361
- p.fixed && /* @__PURE__ */ e.jsx("rect", { width: b.chartWidth, height: b.chartHeight, fill: "rgba(255, 255, 255, 0.8)" }),
362
- /* @__PURE__ */ e.jsx(
360
+ /* @__PURE__ */ o.jsxs("g", { children: [
361
+ t.fixed && /* @__PURE__ */ o.jsx("rect", { width: b.chartWidth, height: b.chartHeight, fill: "rgba(255, 255, 255, 0.8)" }),
362
+ /* @__PURE__ */ o.jsx(
363
363
  "g",
364
364
  {
365
365
  ref: (m) => {
366
- m && !x && q(m);
366
+ m && !p && q(m);
367
367
  }
368
368
  }
369
369
  )