@milaboratories/miplots4 1.0.165 → 1.0.167
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/common/Tooltip.d.ts +2 -1
- package/dist/common/Tooltip.js +147 -143
- package/dist/common/Tooltip.js.map +1 -1
- package/dist/discrete/DiscreteSettingsImpl.d.ts +11 -31
- package/dist/discrete/DiscreteSettingsImpl.js.map +1 -1
- package/dist/discrete/components/Chart.js +143 -143
- package/dist/discrete/components/Chart.js.map +1 -1
- package/dist/discrete/index.d.ts +2 -0
- package/dist/discrete/index.js +127 -123
- package/dist/discrete/index.js.map +1 -1
- package/dist/discrete/utils/getFacetLabels.d.ts +3 -0
- package/dist/discrete/utils/getFacetLabels.js +16 -0
- package/dist/discrete/utils/getFacetLabels.js.map +1 -0
- package/dist/heatmap/components/tooltipUtils.js +15 -15
- package/dist/heatmap/components/tooltipUtils.js.map +1 -1
- package/dist/heatmap/fillCellsData.js +88 -85
- package/dist/heatmap/fillCellsData.js.map +1 -1
- package/dist/histogram/getHistogramData.js +42 -41
- package/dist/histogram/getHistogramData.js.map +1 -1
- package/dist/histogram/index.d.ts +1 -0
- package/dist/histogram/index.js +59 -57
- package/dist/histogram/index.js.map +1 -1
- package/dist/scatterplot/components/ChartTooltip.js +34 -33
- package/dist/scatterplot/components/ChartTooltip.js.map +1 -1
- package/dist/scatterplot/components/ChartsGroup.js +31 -31
- package/dist/scatterplot/components/ChartsGroup.js.map +1 -1
- package/dist/scatterplot/dots.d.ts +2 -2
- package/dist/scatterplot/dots.js +9 -9
- package/dist/scatterplot/dots.js.map +1 -1
- package/dist/scatterplot/index.d.ts +1 -0
- package/dist/scatterplot/index.js +61 -59
- package/dist/scatterplot/index.js.map +1 -1
- package/dist/scatterplot/utils/sortDotsByGrouping.d.ts +2 -1
- package/dist/scatterplot/utils/sortDotsByGrouping.js +22 -11
- package/dist/scatterplot/utils/sortDotsByGrouping.js.map +1 -1
- package/dist/scatterplot-umap/ChartRenderer.d.ts +1 -1
- package/dist/scatterplot-umap/ChartRenderer.js +17 -17
- package/dist/scatterplot-umap/ChartRenderer.js.map +1 -1
- package/dist/scatterplot-umap/components/SVGLayer.js +49 -49
- package/dist/scatterplot-umap/components/SVGLayer.js.map +1 -1
- package/dist/scatterplot-umap/components/UpperSVG.d.ts +1 -1
- package/dist/scatterplot-umap/components/UpperSVG.js +39 -38
- package/dist/scatterplot-umap/components/UpperSVG.js.map +1 -1
- package/dist/scatterplot-umap/index.js +87 -77
- package/dist/scatterplot-umap/index.js.map +1 -1
- package/dist/types/bubble.js +32 -37
- package/dist/types/bubble.js.map +1 -1
- package/dist/types/common.d.ts +41 -0
- package/dist/types/common.js +39 -35
- package/dist/types/common.js.map +1 -1
- package/dist/types/discrete.d.ts +680 -70
- package/dist/types/discrete.js +141 -141
- package/dist/types/discrete.js.map +1 -1
- package/dist/types/heatmap.js +54 -59
- package/dist/types/heatmap.js.map +1 -1
- package/dist/types/scatterplot-umap.js +19 -24
- package/dist/types/scatterplot-umap.js.map +1 -1
- package/dist/types/scatterplot.js +41 -46
- package/dist/types/scatterplot.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { j as
|
|
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
|
|
7
|
-
import { DotsGroupElement as
|
|
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
|
|
12
|
-
import { SinaElement as
|
|
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
|
|
15
|
-
import { StatsPValue as
|
|
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
|
|
18
|
-
import { ViolinElement as
|
|
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
|
|
27
|
-
const g = n[
|
|
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 =
|
|
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:
|
|
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:
|
|
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:
|
|
64
|
+
tooltipsData: t
|
|
65
65
|
}) {
|
|
66
|
-
const [
|
|
67
|
-
left: c.left + L +
|
|
68
|
-
right: b.totalWidth - (c.left + L +
|
|
69
|
-
top: c.top + v +
|
|
70
|
-
bottom: b.totalHeight - (c.top + v +
|
|
71
|
-
}, K = `translate(${L +
|
|
72
|
-
return /* @__PURE__ */
|
|
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__ */
|
|
75
|
-
Y === "full" && /* @__PURE__ */
|
|
76
|
-
E.map((m,
|
|
77
|
-
const y = E.length, D = (
|
|
78
|
-
return /* @__PURE__ */
|
|
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 -
|
|
86
|
-
y:
|
|
85
|
+
dy: D + _ / 2 - i.top,
|
|
86
|
+
y: e * _,
|
|
87
87
|
textAnchor: "middle",
|
|
88
88
|
dominantBaseline: "central",
|
|
89
89
|
children: m
|
|
90
90
|
},
|
|
91
|
-
|
|
91
|
+
e
|
|
92
92
|
);
|
|
93
93
|
})
|
|
94
94
|
] }),
|
|
95
|
-
/* @__PURE__ */
|
|
96
|
-
M && /* @__PURE__ */
|
|
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__ */
|
|
98
|
+
W && /* @__PURE__ */ o.jsx(
|
|
99
99
|
"text",
|
|
100
100
|
{
|
|
101
|
-
x: -
|
|
101
|
+
x: -i.left + I / 2,
|
|
102
102
|
y: f / 2,
|
|
103
|
-
transform: `rotate(-90,${-
|
|
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__ */
|
|
109
|
+
/* @__PURE__ */ o.jsx(
|
|
110
110
|
um,
|
|
111
111
|
{
|
|
112
|
-
orientation:
|
|
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__ */
|
|
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__ */
|
|
132
|
-
J && /* @__PURE__ */
|
|
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__ */
|
|
143
|
-
g.map((m) => /* @__PURE__ */
|
|
144
|
-
m.type === "box" && m.geoms[h].map((
|
|
145
|
-
|
|
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:
|
|
148
|
+
box: e,
|
|
149
149
|
elementsAmount: m.geoms[h].length,
|
|
150
150
|
scales: s,
|
|
151
|
-
orientation:
|
|
151
|
+
orientation: r,
|
|
152
152
|
aes: m.aes,
|
|
153
153
|
hasKeyFromColumn: A !== null,
|
|
154
|
-
sideDistances:
|
|
155
|
-
showTooltips:
|
|
156
|
-
tooltipsData:
|
|
157
|
-
activeElementContainer:
|
|
154
|
+
sideDistances: x,
|
|
155
|
+
showTooltips: l.box.show ?? !0,
|
|
156
|
+
tooltipsData: t,
|
|
157
|
+
activeElementContainer: p,
|
|
158
158
|
tooltipsContainer: d
|
|
159
159
|
},
|
|
160
|
-
|
|
160
|
+
e.key
|
|
161
161
|
)),
|
|
162
|
-
m.type === "violin" && m.geoms[h].map((
|
|
163
|
-
|
|
162
|
+
m.type === "violin" && m.geoms[h].map((e) => /* @__PURE__ */ o.jsx(
|
|
163
|
+
lm,
|
|
164
164
|
{
|
|
165
165
|
facetKey: h,
|
|
166
|
-
violin:
|
|
166
|
+
violin: e,
|
|
167
167
|
elementsAmount: m.geoms[h].length,
|
|
168
168
|
scales: s,
|
|
169
|
-
orientation:
|
|
169
|
+
orientation: r,
|
|
170
170
|
maxViolinDensity: m.meta.maxDensity,
|
|
171
171
|
aes: m.aes,
|
|
172
|
-
sideDistances:
|
|
173
|
-
showTooltips:
|
|
174
|
-
tooltipsData:
|
|
175
|
-
activeElementContainer:
|
|
172
|
+
sideDistances: x,
|
|
173
|
+
showTooltips: l.violin.show ?? !0,
|
|
174
|
+
tooltipsData: t,
|
|
175
|
+
activeElementContainer: p,
|
|
176
176
|
tooltipsContainer: d
|
|
177
177
|
},
|
|
178
|
-
|
|
178
|
+
e.key
|
|
179
179
|
)),
|
|
180
|
-
m.type === "dot" && m.geoms[h].map((
|
|
181
|
-
|
|
180
|
+
m.type === "dot" && m.geoms[h].map((e) => /* @__PURE__ */ o.jsx(
|
|
181
|
+
om,
|
|
182
182
|
{
|
|
183
183
|
facetKey: h,
|
|
184
|
-
geom:
|
|
184
|
+
geom: e,
|
|
185
185
|
scales: s,
|
|
186
|
-
orientation:
|
|
186
|
+
orientation: r,
|
|
187
187
|
aes: m.aes,
|
|
188
188
|
hasKeyFromColumn: A !== null,
|
|
189
|
-
sideDistances:
|
|
190
|
-
showTooltips:
|
|
191
|
-
tooltipsData:
|
|
192
|
-
activeElementContainer:
|
|
189
|
+
sideDistances: x,
|
|
190
|
+
showTooltips: l.dot.show ?? !0,
|
|
191
|
+
tooltipsData: t,
|
|
192
|
+
activeElementContainer: p,
|
|
193
193
|
tooltipsContainer: d
|
|
194
194
|
},
|
|
195
|
-
|
|
195
|
+
e.key
|
|
196
196
|
)),
|
|
197
|
-
m.type === "line" && m.geoms[h].map((
|
|
197
|
+
m.type === "line" && m.geoms[h].map((e) => /* @__PURE__ */ o.jsx(
|
|
198
198
|
hm,
|
|
199
199
|
{
|
|
200
200
|
facetKey: h,
|
|
201
|
-
line:
|
|
201
|
+
line: e,
|
|
202
202
|
scales: s,
|
|
203
|
-
orientation:
|
|
204
|
-
sideDistances:
|
|
203
|
+
orientation: r,
|
|
204
|
+
sideDistances: x,
|
|
205
205
|
aes: m.aes,
|
|
206
|
-
showTooltips:
|
|
206
|
+
showTooltips: l.line.show ?? !0,
|
|
207
207
|
secondaryGrouping: P,
|
|
208
|
-
tooltipsData:
|
|
209
|
-
activeElementContainer:
|
|
208
|
+
tooltipsData: t,
|
|
209
|
+
activeElementContainer: p,
|
|
210
210
|
tooltipsContainer: d
|
|
211
211
|
},
|
|
212
|
-
|
|
212
|
+
e.key
|
|
213
213
|
)),
|
|
214
|
-
m.type === "errorbar" && m.geoms[h].map((
|
|
214
|
+
m.type === "errorbar" && m.geoms[h].map((e) => /* @__PURE__ */ o.jsx(
|
|
215
215
|
sm,
|
|
216
216
|
{
|
|
217
217
|
facetKey: h,
|
|
218
|
-
errorBar:
|
|
218
|
+
errorBar: e,
|
|
219
219
|
scales: s,
|
|
220
|
-
orientation:
|
|
220
|
+
orientation: r,
|
|
221
221
|
aes: m.aes,
|
|
222
|
-
sideDistances:
|
|
223
|
-
showTooltips:
|
|
224
|
-
tooltipsData:
|
|
225
|
-
activeElementContainer:
|
|
222
|
+
sideDistances: x,
|
|
223
|
+
showTooltips: l.errorBar.show ?? !0,
|
|
224
|
+
tooltipsData: t,
|
|
225
|
+
activeElementContainer: p,
|
|
226
226
|
tooltipsContainer: d
|
|
227
227
|
},
|
|
228
|
-
|
|
228
|
+
e.key
|
|
229
229
|
)),
|
|
230
|
-
m.type === "bar" && m.geoms[h].map((
|
|
230
|
+
m.type === "bar" && m.geoms[h].map((e) => /* @__PURE__ */ o.jsx(
|
|
231
231
|
a,
|
|
232
232
|
{
|
|
233
|
-
bar:
|
|
233
|
+
bar: e,
|
|
234
234
|
scales: s,
|
|
235
|
-
orientation:
|
|
235
|
+
orientation: r,
|
|
236
236
|
aes: m.aes
|
|
237
237
|
},
|
|
238
|
-
|
|
238
|
+
e.key
|
|
239
239
|
)),
|
|
240
|
-
m.type === "stackedBar" && m.geoms[h].map((
|
|
241
|
-
|
|
240
|
+
m.type === "stackedBar" && m.geoms[h].map((e) => /* @__PURE__ */ o.jsx(
|
|
241
|
+
tm,
|
|
242
242
|
{
|
|
243
243
|
facetKey: h,
|
|
244
|
-
geom:
|
|
244
|
+
geom: e,
|
|
245
245
|
elementsAmount: m.geoms[h].length,
|
|
246
246
|
scales: s,
|
|
247
|
-
orientation:
|
|
247
|
+
orientation: r,
|
|
248
248
|
aes: m.aes,
|
|
249
249
|
normalize: m.meta.normalize,
|
|
250
|
-
sideDistances:
|
|
251
|
-
showTooltips:
|
|
250
|
+
sideDistances: x,
|
|
251
|
+
showTooltips: l.stackedBar.show ?? !0,
|
|
252
252
|
secondaryGrouping: P,
|
|
253
|
-
tooltipsData:
|
|
254
|
-
activeElementContainer:
|
|
253
|
+
tooltipsData: t,
|
|
254
|
+
activeElementContainer: p,
|
|
255
255
|
tooltipsContainer: d
|
|
256
256
|
},
|
|
257
|
-
|
|
257
|
+
e.key
|
|
258
258
|
)),
|
|
259
|
-
m.type === "stackedArea" && /* @__PURE__ */
|
|
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:
|
|
266
|
-
sideDistances:
|
|
267
|
-
showTooltips:
|
|
265
|
+
orientation: r,
|
|
266
|
+
sideDistances: x,
|
|
267
|
+
showTooltips: l.stackedBar.show ?? !0,
|
|
268
268
|
secondaryGrouping: P,
|
|
269
|
-
tooltipsData:
|
|
270
|
-
activeElementContainer:
|
|
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((
|
|
275
|
+
m.type === "binnedDots" && m.geoms[h].map((e) => /* @__PURE__ */ o.jsx(
|
|
276
276
|
mm,
|
|
277
277
|
{
|
|
278
278
|
facetKey: h,
|
|
279
|
-
geom:
|
|
279
|
+
geom: e,
|
|
280
280
|
scales: s,
|
|
281
|
-
orientation:
|
|
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:
|
|
288
|
-
showTooltips:
|
|
289
|
-
tooltipsData:
|
|
290
|
-
activeElementContainer:
|
|
287
|
+
sideDistances: x,
|
|
288
|
+
showTooltips: l.stackedBar.show ?? !0,
|
|
289
|
+
tooltipsData: t,
|
|
290
|
+
activeElementContainer: p,
|
|
291
291
|
tooltipsContainer: d
|
|
292
292
|
},
|
|
293
|
-
|
|
293
|
+
e.key
|
|
294
294
|
)),
|
|
295
|
-
m.type === "pairedPoints" && m.geoms[h].map((
|
|
296
|
-
|
|
295
|
+
m.type === "pairedPoints" && m.geoms[h].map((e) => /* @__PURE__ */ o.jsx(
|
|
296
|
+
rm,
|
|
297
297
|
{
|
|
298
298
|
facetKey: h,
|
|
299
|
-
geom:
|
|
299
|
+
geom: e,
|
|
300
300
|
scales: s,
|
|
301
|
-
orientation:
|
|
302
|
-
sideDistances:
|
|
301
|
+
orientation: r,
|
|
302
|
+
sideDistances: x,
|
|
303
303
|
aes: m.aes,
|
|
304
|
-
showTooltips:
|
|
305
|
-
tooltipsData:
|
|
306
|
-
activeElementContainer:
|
|
304
|
+
showTooltips: l.pairedPoints.show ?? !0,
|
|
305
|
+
tooltipsData: t,
|
|
306
|
+
activeElementContainer: p,
|
|
307
307
|
tooltipsContainer: d
|
|
308
308
|
},
|
|
309
|
-
|
|
309
|
+
e.id
|
|
310
310
|
)),
|
|
311
|
-
m.type === "sina" && m.geoms[h].map((
|
|
312
|
-
|
|
311
|
+
m.type === "sina" && m.geoms[h].map((e) => /* @__PURE__ */ o.jsx(
|
|
312
|
+
im,
|
|
313
313
|
{
|
|
314
|
-
geom:
|
|
314
|
+
geom: e,
|
|
315
315
|
scales: s,
|
|
316
|
-
orientation:
|
|
317
|
-
sideDistances:
|
|
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
|
-
|
|
323
|
+
e.key
|
|
324
324
|
)),
|
|
325
|
-
m.type === "logo" && m.geoms[h].map((
|
|
325
|
+
m.type === "logo" && m.geoms[h].map((e) => /* @__PURE__ */ o.jsx(
|
|
326
326
|
nm,
|
|
327
327
|
{
|
|
328
328
|
facetKey: h,
|
|
329
|
-
geom:
|
|
329
|
+
geom: e,
|
|
330
330
|
elementsAmount: m.geoms[h].length,
|
|
331
331
|
scales: s,
|
|
332
|
-
orientation:
|
|
332
|
+
orientation: r,
|
|
333
333
|
aes: m.aes,
|
|
334
334
|
normalize: m.meta.normalize,
|
|
335
|
-
sideDistances:
|
|
336
|
-
showTooltips:
|
|
337
|
-
tooltipsData:
|
|
338
|
-
activeElementContainer:
|
|
335
|
+
sideDistances: x,
|
|
336
|
+
showTooltips: l.logo.show ?? !0,
|
|
337
|
+
tooltipsData: t,
|
|
338
|
+
activeElementContainer: p,
|
|
339
339
|
tooltipsContainer: d
|
|
340
340
|
},
|
|
341
|
-
|
|
341
|
+
e.key
|
|
342
342
|
))
|
|
343
343
|
] }, m.type)),
|
|
344
|
-
k.map((m,
|
|
345
|
-
|
|
344
|
+
k.map((m, e) => /* @__PURE__ */ o.jsx(
|
|
345
|
+
pm,
|
|
346
346
|
{
|
|
347
|
-
yShift: G[
|
|
347
|
+
yShift: G[e],
|
|
348
348
|
scales: s,
|
|
349
|
-
orientation:
|
|
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__ */
|
|
361
|
-
|
|
362
|
-
/* @__PURE__ */
|
|
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 && !
|
|
366
|
+
m && !p && q(m);
|
|
367
367
|
}
|
|
368
368
|
}
|
|
369
369
|
)
|