@astrato-io/visualizations 0.8.0 → 0.9.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/README.md +1 -1
- package/THIRD_PARTY_NOTICES.md +307 -378
- package/chunks/{Button-BrGKp9Nm.js → Button-5CxPEACP.js} +11 -11
- package/chunks/CircularProgress-DFS-LQb7.js +765 -0
- package/chunks/FieldTypeIcon-pSVQFemC.js +22 -0
- package/chunks/LinearProgress-CjIQfkNA.js +327 -0
- package/chunks/{MenuOption-ByRqhRdX.js → MenuOption-Cb7B7x6z.js} +1384 -1002
- package/chunks/Title-CtFw1bVg.js +1804 -0
- package/chunks/ToggleButton-Br9HCPCv.js +150 -0
- package/chunks/{app-filter-bar.compiler-TwVTeoj5.js → app-filter-bar.compiler-B9775gLJ.js} +3 -3
- package/chunks/{bar.compiler-DuQg8EUb.js → bar.compiler-B7wlH_Ro.js} +4 -4
- package/chunks/{builder-DEDvNq1k.js → builder-Dxo7D7c6.js} +118 -55
- package/chunks/{coloring-CncX_JRX.js → coloring-B-Wa8D5P.js} +3 -3
- package/chunks/contains-BK-sRXcB.js +21 -0
- package/chunks/{definitions-BPJQTx16.js → definitions-DNpzD9tY.js} +26 -26
- package/chunks/{escobar-DRhRMYRE.js → escobar-C4Nm3eJ7.js} +4436 -4802
- package/chunks/{extend-preset-CUFNpmPe.js → extend-preset-BVKFtoe-.js} +46 -46
- package/chunks/{filter.compiler-w27dlv0C.js → filter.compiler-BlS3zoy_.js} +7 -7
- package/chunks/{filtering-cc7WqWpg.js → filtering-CGuLpg7u.js} +494 -270
- package/chunks/{handlers-TOT-7INo.js → handlers-CMbyj5y1.js} +1513 -1454
- package/chunks/{icon-picker-styles-CoJmwTRi.js → icon-picker-styles-DYQgVEKG.js} +8 -8
- package/chunks/{isEqual-B8loyPsC.js → isEqual-DBg_b35N.js} +1 -1
- package/chunks/isFocusVisible-B1_z03UT.js +144 -0
- package/chunks/{line.compiler-Ct1WhN2p.js → line.compiler-Bo9i9qag.js} +7 -7
- package/chunks/{logger-DpQtYQnX.js → logger-3lng-wOw.js} +7 -3
- package/chunks/{metadata-WABZrt7Y.js → metadata-Fmx1swpK.js} +1 -1
- package/chunks/{number.compiler-D8TPly-4.js → number.compiler-CdLd5aGW.js} +7 -7
- package/chunks/{operations-Dh4v1Ovt.js → operations-HSqnCRvv.js} +9156 -9112
- package/chunks/{range-Bi-7zT0k.js → range-CzO4isKK.js} +2 -2
- package/chunks/react-dom-BwZT0N3F.js +368 -0
- package/chunks/{render-wrappers-OEmtaM8g.js → render-wrappers-CAuvgMxi.js} +1 -1
- package/chunks/{requirements-Dvd8jqYF.js → requirements-CYpVh65U.js} +52 -52
- package/chunks/responsive.styles-FItb913l.js +93 -0
- package/chunks/{shared-Bn4N5QcZ.js → shared-DFoJxjVN.js} +401 -401
- package/chunks/{standalone-D__XCp-h.js → standalone-530a5lvf.js} +306 -306
- package/chunks/{standalone-CXNP6-xD.js → standalone-5DnapeHH.js} +112 -112
- package/chunks/{standalone-XTgSsTAa.js → standalone-B4jrf4KE.js} +70 -70
- package/chunks/{standalone-Bes8srx1.js → standalone-B6s_xG2u.js} +14 -14
- package/chunks/{standalone-vBnBS2YC.js → standalone-BDrQMxLi.js} +98 -98
- package/chunks/standalone-BMoJXGYe.js +2 -0
- package/chunks/{standalone-CLmGb7nn2.js → standalone-BfvGggeM2.js} +76 -76
- package/chunks/{standalone-D5Q5ngsD.js → standalone-BvWdpUL3.js} +26 -26
- package/chunks/{standalone-we5D5MIn.js → standalone-C6XDHYAM.js} +31 -31
- package/chunks/standalone-CMJJIi9v.js +2 -0
- package/chunks/{standalone-C8ZAEutO.js → standalone-CNkHsynO.js} +28 -28
- package/chunks/{standalone-BMTCb10X.js → standalone-CPUiiWNP.js} +5 -5
- package/chunks/{standalone-XuGksArp.js → standalone-CXniic5x.js} +9 -9
- package/chunks/standalone-C_Jd4gkj.js +6 -0
- package/chunks/{standalone-DW6NT205.js → standalone-CiaaibTa.js} +142 -142
- package/chunks/standalone-CoQxJ6ov.js +3638 -0
- package/chunks/{standalone-CM5XcAN5.js → standalone-Cu73fzSr.js} +7660 -7534
- package/chunks/standalone-DBeXQrwH.js +468 -0
- package/chunks/{standalone-DMcI1afI.js → standalone-DMCwtebn.js} +81 -81
- package/chunks/{standalone-BlMIwpEe.js → standalone-DWPfdP0A.js} +800 -668
- package/chunks/{standalone-DLlyRIE6.js → standalone-DpSRmAWx.js} +59 -59
- package/chunks/{standalone-BGkmozIb.js → standalone-DuwTOBXH.js} +256 -256
- package/chunks/{standalone-BDhPQtzQ.js → standalone-LFVgLhia.js} +234 -234
- package/chunks/{standalone-B55oyW6c.js → standalone-kzAhwH19.js} +149 -149
- package/chunks/{standalone-DN4S1MjT.js → standalone-mb7LwEiq.js} +885 -885
- package/chunks/{standalone-CJvIXsQE.js → standalone-r4ObFvys.js} +155 -155
- package/chunks/{table.compiler-DMeeHxb6.js → table.compiler-C1qjqXaT.js} +7 -7
- package/chunks/{typeof-CJDtcySz.js → typeof-DCq3QgvY.js} +6 -1
- package/chunks/useFieldName-mWrD_uk_.js +7 -0
- package/chunks/{utils-vdmi_2PK.js → utils-DYYD4Zzf.js} +7593 -12707
- package/chunks/{view-BuwQugKb.js → view-7fH6mGmY.js} +2034 -2070
- package/chunks/{visualization-filters-Cc4KU-l-.js → visualization-filters-mVnsnvLP.js} +3581 -3555
- package/chunks/with-html-element-B0Clt4jY.js +15901 -0
- package/definitions.js +2 -2
- package/docs/operations/astrato-app-filter-bar.md +1 -1
- package/docs/operations/bar.md +1 -1
- package/docs/operations/combo.md +1 -1
- package/docs/operations/date-picker.md +1 -1
- package/docs/operations/distribution-gauge.md +1 -1
- package/docs/operations/dot.md +1 -1
- package/docs/operations/filter.md +1 -1
- package/docs/operations/gauge.md +1 -1
- package/docs/operations/heatMap.md +1 -1
- package/docs/operations/histogram.md +1 -1
- package/docs/operations/iframe.md +1 -1
- package/docs/operations/image.md +1 -1
- package/docs/operations/index.md +2 -2
- package/docs/operations/line.md +1 -1
- package/docs/operations/number.md +1 -1
- package/docs/operations/pie.md +1 -1
- package/docs/operations/radar.md +1 -1
- package/docs/operations/sankey.md +1 -1
- package/docs/operations/scatter.md +1 -1
- package/docs/operations/shape.md +1 -1
- package/docs/operations/simpleTextObject.md +1 -1
- package/docs/operations/slider.md +1 -1
- package/docs/operations/table.md +66 -1
- package/docs/operations/tree.md +1 -1
- package/docs/operations/treemap.md +1 -1
- package/docs/operations/waterfall.md +1 -1
- package/docs/operations/word-cloud.md +1 -1
- package/getters.js +2 -2
- package/index.js +74 -68
- package/metadata.js +2 -2
- package/operations.js +5 -5
- package/package.json +67 -66
- package/src/definitions/model/definitions/descriptors/descriptor-metadata.d.ts +348 -348
- package/src/definitions/model/definitions/schema-registry.d.ts +101 -101
- package/src/definitions/model/definitions/schemas/bar.schema.d.ts +8 -8
- package/src/definitions/model/definitions/schemas/common.schema.d.ts +29 -29
- package/src/definitions/model/definitions/schemas/line.schema.d.ts +10 -10
- package/src/definitions/model/definitions/schemas/number.schema.d.ts +4 -4
- package/src/definitions/model/definitions/schemas/object.schema.d.ts +38 -38
- package/src/definitions/model/definitions/schemas/table.schema.d.ts +61 -61
- package/src/visualization-catalog.d.ts +26 -26
- package/chunks/DefaultPropsProvider-BsfB7QTn.js +0 -257
- package/chunks/FieldTypeIcon-Drs6hSJF.js +0 -22
- package/chunks/LinearProgress-VtfFx2vJ.js +0 -253
- package/chunks/Title-CO5dP1ma.js +0 -1691
- package/chunks/ToggleButton-KOBAimC1.js +0 -112
- package/chunks/colorManipulator-D8Pjy1pf.js +0 -45
- package/chunks/responsive.styles-DSiOGD7u.js +0 -82
- package/chunks/standalone-BXKRE_Se.js +0 -468
- package/chunks/standalone-BjZp0QMe.js +0 -2
- package/chunks/standalone-C8qAelL4.js +0 -2
- package/chunks/standalone-DT0wKji7.js +0 -6
- package/chunks/standalone-DYQIQH4c.js +0 -2095
- package/chunks/useFieldName-Cjn9KCVp.js +0 -7
- package/chunks/useSlotProps-DLbQp4lc.js +0 -166
- package/chunks/with-html-element-D0uY2zjI.js +0 -7328
- /package/chunks/{src-BOS6SqkZ.js → src-BOS6SqkZ2.js} +0 -0
|
@@ -1,159 +1,159 @@
|
|
|
1
1
|
import { o as e } from "./rolldown-runtime-DleVn1XH.js";
|
|
2
|
-
import { $i as t, Cr as n, Ds as r,
|
|
3
|
-
import {
|
|
4
|
-
import "./logger-
|
|
5
|
-
import { Bt as
|
|
6
|
-
import { t as ke } from "./coloring-
|
|
2
|
+
import { $i as t, Cr as n, Ds as r, Gn as i, Hi as a, Ja as o, Ri as s, Rs as c, Sa as l, Us as u, Wa as d, Xa as f, Za as p, da as m, hs as h, jt as g, n as _, ws as v, xi as y, zi as b, zr as x } from "./visualization-filters-mVnsnvLP.js";
|
|
3
|
+
import { Bt as S, F as C, N as w, Ot as T, ei as E, f as D, jr as O, s as k } from "./utils-DYYD4Zzf.js";
|
|
4
|
+
import "./logger-3lng-wOw.js";
|
|
5
|
+
import { $t as A, Bt as j, Ct as ee, Dt as M, Et as N, F as P, Ft as F, Gt as I, H as L, I as te, It as ne, J as re, K as ie, Lt as ae, Mt as oe, Pt as se, U as ce, Vt as le, Wt as R, Yt as ue, Z as de, _n as z, an as fe, dn as B, et as pe, fn as me, gn as he, i as ge, in as _e, jt as ve, kt as ye, ln as be, n as xe, on as Se, ot as Ce, pn as V, q as H, rn as we, rt as Te, sn as U, tt as Ee, un as W, ut as De, xt as Oe, yt as G } from "./escobar-C4Nm3eJ7.js";
|
|
6
|
+
import { t as ke } from "./coloring-B-Wa8D5P.js";
|
|
7
7
|
import { t as Ae } from "./set-coloring-datafield-B3uIS1Pe.js";
|
|
8
|
-
var je = /* @__PURE__ */ e(
|
|
9
|
-
let
|
|
8
|
+
var je = /* @__PURE__ */ e(E()), Me = (e, n, r, a, o, s, c, l) => {
|
|
9
|
+
let u = [], d = [], p = e.measures.filter((e) => x(e)), m = {
|
|
10
10
|
...n.axis.measure,
|
|
11
11
|
...n.fonts
|
|
12
|
-
},
|
|
13
|
-
if (
|
|
14
|
-
let e = le(
|
|
15
|
-
|
|
12
|
+
}, h = [];
|
|
13
|
+
if (l) {
|
|
14
|
+
let e = le(z.Text, l);
|
|
15
|
+
h.push(e);
|
|
16
16
|
}
|
|
17
|
-
let
|
|
17
|
+
let g = p.filter((e) => e.role === t.SCATTER_HORIZONTAL), _ = p.filter((e) => e.role === t.SCATTER_VERTICAL), v = e.measures.filter((e) => e.role === t.SCATTER_HORIZONTAL), y = e.measures.filter((e) => e.role === t.SCATTER_VERTICAL), b = g[0], S = _[0], C = {};
|
|
18
18
|
if (b) {
|
|
19
|
-
let t =
|
|
20
|
-
if (
|
|
21
|
-
let r =
|
|
22
|
-
|
|
19
|
+
let t = f.Bottom, n = e.axes?.primaryMeasure || C;
|
|
20
|
+
if (u.push(R(U.XAxisScale, n, m, t, b.formatter)), e.axes?.primaryMeasure?.showAxisName) {
|
|
21
|
+
let r = i(v, e.enableAlternate, s?.isPrintMode);
|
|
22
|
+
d.push(I(g, r, t, m, n.colors?.title, n.axisTitle, n.titleFontSize));
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
if (S) {
|
|
26
|
-
let t =
|
|
27
|
-
if (
|
|
28
|
-
let r =
|
|
29
|
-
|
|
26
|
+
let t = f.Left, n = e.axes?.secondaryMeasure || C;
|
|
27
|
+
if (u.push(R(U.YAxisScale, n, m, t, S.formatter)), e.axes?.secondaryMeasure?.showAxisName) {
|
|
28
|
+
let r = i(y, e.enableAlternate, s?.isPrintMode);
|
|
29
|
+
d.push(I(_, r, t, m, n.colors?.title, n.axisTitle, n.titleFontSize));
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
return {
|
|
33
33
|
...r,
|
|
34
34
|
components: [
|
|
35
35
|
...r.components,
|
|
36
|
-
...
|
|
37
|
-
...
|
|
36
|
+
...u,
|
|
37
|
+
...d
|
|
38
38
|
],
|
|
39
|
-
interactions: [...r.interactions ?? [], ...
|
|
39
|
+
interactions: [...r.interactions ?? [], ...h]
|
|
40
40
|
};
|
|
41
41
|
}, Ne = (e, n) => {
|
|
42
|
-
let i = e.dimensions.filter((e) => x(e)), a = e.measures.filter((e) => x(e)), o = i.filter((e) => e.role ===
|
|
42
|
+
let i = e.dimensions.filter((e) => x(e)), a = e.measures.filter((e) => x(e)), o = i.filter((e) => e.role === m.SCATTER_DIMENSION), s = a.filter((e) => e.role === t.SCATTER_SIZE), c = o[0], l = s[0], { coloring: d } = e || {};
|
|
43
43
|
switch (d?.type) {
|
|
44
|
-
case r.Categorical: return
|
|
45
|
-
case r.Gradient: return ye(e,
|
|
46
|
-
case r.Single: return
|
|
44
|
+
case r.Categorical: return M(e, n);
|
|
45
|
+
case r.Gradient: return ye(e, l);
|
|
46
|
+
case r.Single: return u(c.dataItem);
|
|
47
47
|
default: return null;
|
|
48
48
|
}
|
|
49
|
-
}, Pe = (e, n, i, a,
|
|
50
|
-
let d = e.dimensions.filter((e) => x(e)), f = e.measures.filter((e) => x(e)),
|
|
51
|
-
switch (
|
|
49
|
+
}, Pe = (e, n, i, a, o, c, l) => {
|
|
50
|
+
let d = e.dimensions.filter((e) => x(e)), f = e.measures.filter((e) => x(e)), p = d.filter((e) => e.role === m.SCATTER_DIMENSION), h = f.filter((e) => e.role === t.SCATTER_HORIZONTAL), v = f.filter((e) => e.role === t.SCATTER_VERTICAL), b = f.filter((e) => e.role === t.SCATTER_SIZE), C = p[0], w = h[0], T = v[0], E = b[0], D = {}, { coloring: O } = e || {}, k = d.length < 2 && e.scatterSettings?.spatialHeatmap?.show, A = k && !O?.fieldId ? null : Ne(e, l);
|
|
51
|
+
switch (O?.type) {
|
|
52
52
|
case r.Categorical:
|
|
53
|
-
|
|
53
|
+
D = N(Ae(e, A), n, D, void 0, l);
|
|
54
54
|
break;
|
|
55
55
|
case r.Gradient:
|
|
56
|
-
|
|
56
|
+
D = N(Ae(e, A), n, D, void 0, l);
|
|
57
57
|
break;
|
|
58
58
|
case r.Single: {
|
|
59
|
-
let t =
|
|
60
|
-
|
|
59
|
+
let t = u(C.dataItem);
|
|
60
|
+
D[r.Single] = {
|
|
61
61
|
data: { extract: { field: t } },
|
|
62
62
|
range: [e?.coloring?.color ?? n.colors.brandColors[0]],
|
|
63
63
|
type: B.CategoricalColor,
|
|
64
|
-
label: (e) =>
|
|
64
|
+
label: (e) => C?.formatter?.format ? S(C.formatter, e.datum.value) : e.datum.label
|
|
65
65
|
};
|
|
66
66
|
break;
|
|
67
67
|
}
|
|
68
68
|
default: break;
|
|
69
69
|
}
|
|
70
|
-
if (
|
|
71
|
-
|
|
72
|
-
data:
|
|
70
|
+
if (k) {
|
|
71
|
+
D[U.Density] = {
|
|
72
|
+
data: A ? { field: A } : void 0,
|
|
73
73
|
min: 0,
|
|
74
|
-
max: (t) => (t.data?.fields?.[0] ? t.data.fields[0].max() : 1) * (
|
|
74
|
+
max: (t) => (t.data?.fields?.[0] ? t.data.fields[0].max() : 1) * (g(e.scatterSettings?.spatialHeatmap?.maxDensity ?? y.heatmapMaxDensity) ?? 0),
|
|
75
75
|
nice: !0
|
|
76
|
-
},
|
|
77
|
-
...
|
|
76
|
+
}, D[U.DensityInverted] = {
|
|
77
|
+
...D[U.Density],
|
|
78
78
|
invert: !0
|
|
79
79
|
};
|
|
80
|
-
let t = [..._(
|
|
81
|
-
|
|
82
|
-
...
|
|
83
|
-
range: t ??
|
|
80
|
+
let t = [..._(O?.type ?? r.Gradient, n), ...O?.customGradient ? [O.customGradient] : []].find((e) => e.id === (O?.palette ?? n.colors.defaultGradient ?? s.id))?.colors;
|
|
81
|
+
D[U.DensityGradient] = {
|
|
82
|
+
...D[U.Density],
|
|
83
|
+
range: t ?? s.colors,
|
|
84
84
|
type: B.SequentialColor
|
|
85
|
-
},
|
|
86
|
-
} else
|
|
87
|
-
let
|
|
88
|
-
|
|
85
|
+
}, A && G(i, 0, { density: { field: A } });
|
|
86
|
+
} else A && G(i, 0, { color: { field: A } });
|
|
87
|
+
let j = u(w?.dataItem), ee = u(T?.dataItem), M = u(E?.dataItem), P = ie(e?.axes?.primaryMeasure?.axisRange, !0), F = re(P);
|
|
88
|
+
D[U.XAxisScale] = {
|
|
89
89
|
type: B.Linear,
|
|
90
|
-
data: { field:
|
|
90
|
+
data: { field: j },
|
|
91
91
|
invert: H(!1, e?.axes?.primaryMeasure),
|
|
92
92
|
nice: !F && V.scale.nice,
|
|
93
93
|
expandMax: .06,
|
|
94
94
|
...P
|
|
95
95
|
};
|
|
96
|
-
let I = ie(e?.axes?.secondaryMeasure?.axisRange, !0),
|
|
97
|
-
return
|
|
96
|
+
let I = ie(e?.axes?.secondaryMeasure?.axisRange, !0), L = re(I);
|
|
97
|
+
return D[U.YAxisScale] = {
|
|
98
98
|
type: B.Linear,
|
|
99
|
-
data: { fields: [
|
|
99
|
+
data: { fields: [ee] },
|
|
100
100
|
invert: H(!0, e?.axes?.secondaryMeasure),
|
|
101
|
-
nice: !
|
|
101
|
+
nice: !L && V.scale.nice,
|
|
102
102
|
expandMax: .06,
|
|
103
103
|
...I
|
|
104
|
-
},
|
|
104
|
+
}, E && (D[M] = {
|
|
105
105
|
type: B.Linear,
|
|
106
|
-
data: { field:
|
|
106
|
+
data: { field: M }
|
|
107
107
|
}), {
|
|
108
108
|
...i,
|
|
109
|
-
scales:
|
|
109
|
+
scales: D
|
|
110
110
|
};
|
|
111
111
|
}, K = "spatial-heatmap", Fe = "shape", q = (e) => {
|
|
112
|
-
let t = e.scatterSettings?.shape ??
|
|
113
|
-
return `${
|
|
112
|
+
let t = e.scatterSettings?.shape ?? d.Circle;
|
|
113
|
+
return `${z.Point}-${t}`;
|
|
114
114
|
}, Ie = (e, n, r, i, a, o) => {
|
|
115
|
-
let s = e.dimensions.filter((e) => x(e)), c = e.measures.filter((e) => x(e)),
|
|
115
|
+
let s = e.dimensions.filter((e) => x(e)), c = e.measures.filter((e) => x(e)), l = te((e.supportingMeasures ?? []).filter((e) => x(e))), d = s.filter((e) => e.role === m.SCATTER_IMAGE), f = c.filter((e) => e.role === t.SCATTER_HORIZONTAL), p = c.filter((e) => e.role === t.SCATTER_VERTICAL), h = c.filter((e) => e.role === t.SCATTER_SIZE), g = d[0], _ = f[0], v = p[0], y = h[0], b = u(_?.dataItem), S = u(v?.dataItem);
|
|
116
116
|
G(r, 0, {
|
|
117
117
|
x: { field: b },
|
|
118
118
|
y: { field: S },
|
|
119
119
|
[b]: { field: b },
|
|
120
120
|
[S]: { field: S },
|
|
121
|
-
...
|
|
121
|
+
...l
|
|
122
122
|
});
|
|
123
123
|
let C = e.scatterSettings?.pointSize ?? .1, w = {};
|
|
124
124
|
if (y) {
|
|
125
|
-
let t =
|
|
125
|
+
let t = u(y.dataItem);
|
|
126
126
|
w = { field: t }, C = (t) => {
|
|
127
127
|
let n = e.scatterSettings?.pointSize ?? 0, r = e.scatterSettings?.maxPointSize ?? Math.max(n, 1);
|
|
128
|
-
return t.resources.scale(
|
|
128
|
+
return t.resources.scale(u(y.dataItem))(t.datum.size.value) * (r - n) + n;
|
|
129
129
|
}, G(r, 0, {
|
|
130
130
|
size: w,
|
|
131
131
|
[t]: { field: t }
|
|
132
132
|
});
|
|
133
133
|
}
|
|
134
134
|
let T;
|
|
135
|
-
return g ? (G(r, 0, { imageUrl: { field:
|
|
135
|
+
return g ? (G(r, 0, { imageUrl: { field: u(g.dataItem) } }), T = [Le(e, n, C, o, !0, a), ze(e, C, o)]) : T = e.scatterSettings?.spatialHeatmap?.show ? [Re(e, n, r, C, o, a)] : [Le(e, n, C, o, !1, a)], {
|
|
136
136
|
...r,
|
|
137
137
|
components: [...r.components, ...T]
|
|
138
138
|
};
|
|
139
139
|
}, Le = (e, t, n, r, i, a) => {
|
|
140
|
-
let o = new ke(e, t, a?.[0]?.itemsNotAffectedByFiltering), s = e.scatterSettings?.shape ??
|
|
140
|
+
let o = new ke(e, t, a?.[0]?.itemsNotAffectedByFiltering), s = e.scatterSettings?.shape ?? d.Circle, c = e.scatterSettings?.stroke;
|
|
141
141
|
return {
|
|
142
|
-
type:
|
|
143
|
-
layout: { displayOrder:
|
|
142
|
+
type: z.Point,
|
|
143
|
+
layout: { displayOrder: j.VisualizationElement },
|
|
144
144
|
key: q(e),
|
|
145
|
-
data: { collection:
|
|
145
|
+
data: { collection: U.Collection },
|
|
146
146
|
animations: {
|
|
147
147
|
enabled: !i,
|
|
148
148
|
presetId: "scatter-chart"
|
|
149
149
|
},
|
|
150
150
|
settings: {
|
|
151
151
|
x: {
|
|
152
|
-
scale:
|
|
152
|
+
scale: U.XAxisScale,
|
|
153
153
|
ref: "x"
|
|
154
154
|
},
|
|
155
155
|
y: {
|
|
156
|
-
scale:
|
|
156
|
+
scale: U.YAxisScale,
|
|
157
157
|
ref: "y"
|
|
158
158
|
},
|
|
159
159
|
opacity: i ? 0 : .8,
|
|
@@ -167,61 +167,61 @@ var je = /* @__PURE__ */ e(S()), Me = (e, n, r, i, a, o, s, c) => {
|
|
|
167
167
|
}),
|
|
168
168
|
tag: Fe
|
|
169
169
|
},
|
|
170
|
-
brush: i ? null :
|
|
170
|
+
brush: i ? null : ue([""], r, { valuePickerMode: r?.valuePickerMode })
|
|
171
171
|
};
|
|
172
172
|
}, Re = (e, t, n, r, i, a) => {
|
|
173
|
-
let o = n.scales[
|
|
174
|
-
scale:
|
|
173
|
+
let o = n.scales[U.Density]?.data, s = a?.[0]?.items?.length, c = n.collections?.[0]?.data?.extract?.[0]?.props?.density?.field && o?.field ? {
|
|
174
|
+
scale: U.Density,
|
|
175
175
|
ref: "density"
|
|
176
176
|
} : {
|
|
177
|
-
scale:
|
|
177
|
+
scale: U.Density,
|
|
178
178
|
fn: ({ scale: e }) => {
|
|
179
179
|
let t = e?.(1);
|
|
180
180
|
return typeof t == "number" ? t : 1;
|
|
181
181
|
}
|
|
182
182
|
};
|
|
183
183
|
return {
|
|
184
|
-
type:
|
|
185
|
-
layout: { displayOrder:
|
|
184
|
+
type: z.Heatmap,
|
|
185
|
+
layout: { displayOrder: j.VisualizationElement },
|
|
186
186
|
key: "spatial-heatmap",
|
|
187
187
|
animations: s !== void 0 && s < 1e3 ? { enabled: !0 } : void 0,
|
|
188
|
-
data: { collection:
|
|
188
|
+
data: { collection: U.Collection },
|
|
189
189
|
settings: {
|
|
190
190
|
point: {
|
|
191
191
|
x: {
|
|
192
|
-
scale:
|
|
192
|
+
scale: U.XAxisScale,
|
|
193
193
|
ref: "x"
|
|
194
194
|
},
|
|
195
195
|
y: {
|
|
196
|
-
scale:
|
|
196
|
+
scale: U.YAxisScale,
|
|
197
197
|
ref: "y"
|
|
198
198
|
},
|
|
199
199
|
size: r,
|
|
200
200
|
density: c
|
|
201
201
|
},
|
|
202
|
-
gradient:
|
|
202
|
+
gradient: U.DensityGradient,
|
|
203
203
|
blur: e.scatterSettings?.spatialHeatmap?.blur,
|
|
204
204
|
minOpacity: 1e-4
|
|
205
205
|
},
|
|
206
206
|
brush: i?.disable?.brushing ? void 0 : { consume: [{
|
|
207
|
-
context:
|
|
207
|
+
context: W.Selection,
|
|
208
208
|
data: [""],
|
|
209
|
-
mode:
|
|
209
|
+
mode: he.And,
|
|
210
210
|
style: { inactive: { opacity: .1 } }
|
|
211
211
|
}] }
|
|
212
212
|
};
|
|
213
213
|
}, ze = (e, t, n) => ({
|
|
214
|
-
type:
|
|
215
|
-
layout: { displayOrder:
|
|
216
|
-
key:
|
|
217
|
-
data: { collection:
|
|
214
|
+
type: z.DomPoint,
|
|
215
|
+
layout: { displayOrder: j.VisualizationElement },
|
|
216
|
+
key: z.DomPoint,
|
|
217
|
+
data: { collection: U.Collection },
|
|
218
218
|
settings: {
|
|
219
219
|
x: {
|
|
220
|
-
scale:
|
|
220
|
+
scale: U.XAxisScale,
|
|
221
221
|
ref: "x"
|
|
222
222
|
},
|
|
223
223
|
y: {
|
|
224
|
-
scale:
|
|
224
|
+
scale: U.YAxisScale,
|
|
225
225
|
ref: "y"
|
|
226
226
|
},
|
|
227
227
|
opacity: .8,
|
|
@@ -233,11 +233,11 @@ var je = /* @__PURE__ */ e(S()), Me = (e, n, r, i, a, o, s, c) => {
|
|
|
233
233
|
borderWidth: e.scatterSettings?.borderWidth,
|
|
234
234
|
borderColor: e.scatterSettings?.borderColor ?? void 0
|
|
235
235
|
},
|
|
236
|
-
brush:
|
|
236
|
+
brush: ue([""], n, { valuePickerMode: n?.valuePickerMode })
|
|
237
237
|
}), Be = (e, t, n) => {
|
|
238
238
|
let { measures: r, grid: i = [] } = e, a = i.filter((e) => e.enabled).map((e) => {
|
|
239
|
-
let n =
|
|
240
|
-
return
|
|
239
|
+
let n = c(r[0].dataItem, e.dataItem);
|
|
240
|
+
return ee(e, n ? "x" : "y", n ? U.XAxisScale : U.YAxisScale, t);
|
|
241
241
|
}).filter((e) => !!e);
|
|
242
242
|
return {
|
|
243
243
|
...n,
|
|
@@ -247,16 +247,16 @@ var je = /* @__PURE__ */ e(S()), Me = (e, n, r, i, a, o, s, c) => {
|
|
|
247
247
|
let r = [], i = [];
|
|
248
248
|
if (!e.refLines?.x && !e.refLines?.y) return n;
|
|
249
249
|
if (e.refLines.x) {
|
|
250
|
-
let n = e.refLines.x.map((e) =>
|
|
250
|
+
let n = e.refLines.x.map((e) => De(e, U.XAxisScale, t));
|
|
251
251
|
r.push(...n);
|
|
252
252
|
}
|
|
253
253
|
if (e.refLines.y) {
|
|
254
|
-
let n = e.refLines.y.map((e) =>
|
|
254
|
+
let n = e.refLines.y.map((e) => De(e, U.YAxisScale, t));
|
|
255
255
|
i.push(...n);
|
|
256
256
|
}
|
|
257
257
|
let a = {
|
|
258
|
-
type:
|
|
259
|
-
layout: { displayOrder:
|
|
258
|
+
type: z.RefLine,
|
|
259
|
+
layout: { displayOrder: j.RefLine },
|
|
260
260
|
lines: {
|
|
261
261
|
x: r,
|
|
262
262
|
y: i
|
|
@@ -268,13 +268,13 @@ var je = /* @__PURE__ */ e(S()), Me = (e, n, r, i, a, o, s, c) => {
|
|
|
268
268
|
};
|
|
269
269
|
}, He = "scatter-reference-areas", J = "scatter-reference-area", Ue = n("scatter-reference-areas-stage", "#6B7280"), Y = (e) => {
|
|
270
270
|
if (e == null) return null;
|
|
271
|
-
let t =
|
|
271
|
+
let t = g(e);
|
|
272
272
|
if (t === null) return null;
|
|
273
273
|
let n = typeof t == "number" ? t : Number(t);
|
|
274
274
|
return Number.isNaN(n) ? null : n;
|
|
275
275
|
}, We = (e) => {
|
|
276
276
|
if (e == null) return;
|
|
277
|
-
let t =
|
|
277
|
+
let t = g(e);
|
|
278
278
|
if (t === null || typeof t != "string") return;
|
|
279
279
|
let n = t.trim();
|
|
280
280
|
return n.length > 0 ? n : void 0;
|
|
@@ -324,60 +324,60 @@ var je = /* @__PURE__ */ e(S()), Me = (e, n, r, i, a, o, s, c) => {
|
|
|
324
324
|
return e.label && (t.label = { value: e.label }), e.borderColor && (t.borderColor = { value: e.borderColor }), typeof e.borderWidth == "number" && (t.borderWidth = { value: e.borderWidth }), t;
|
|
325
325
|
}, qe = (e) => {
|
|
326
326
|
switch (e) {
|
|
327
|
-
case
|
|
327
|
+
case o.TopLeft: return {
|
|
328
328
|
align: 0,
|
|
329
329
|
justify: 0
|
|
330
330
|
};
|
|
331
|
-
case
|
|
331
|
+
case o.Top: return {
|
|
332
332
|
align: .5,
|
|
333
333
|
justify: 0
|
|
334
334
|
};
|
|
335
|
-
case
|
|
335
|
+
case o.TopRight: return {
|
|
336
336
|
align: 1,
|
|
337
337
|
justify: 0
|
|
338
338
|
};
|
|
339
|
-
case
|
|
339
|
+
case o.Left: return {
|
|
340
340
|
align: 0,
|
|
341
341
|
justify: .5
|
|
342
342
|
};
|
|
343
|
-
case
|
|
343
|
+
case o.Right: return {
|
|
344
344
|
align: 1,
|
|
345
345
|
justify: .5
|
|
346
346
|
};
|
|
347
|
-
case
|
|
347
|
+
case o.BottomLeft: return {
|
|
348
348
|
align: 0,
|
|
349
349
|
justify: 1
|
|
350
350
|
};
|
|
351
|
-
case
|
|
351
|
+
case o.Bottom: return {
|
|
352
352
|
align: .5,
|
|
353
353
|
justify: 1
|
|
354
354
|
};
|
|
355
|
-
case
|
|
355
|
+
case o.BottomRight: return {
|
|
356
356
|
align: 1,
|
|
357
357
|
justify: 1
|
|
358
358
|
};
|
|
359
|
-
case
|
|
359
|
+
case o.Center:
|
|
360
360
|
default: return {
|
|
361
361
|
align: .5,
|
|
362
362
|
justify: .5
|
|
363
363
|
};
|
|
364
364
|
}
|
|
365
365
|
}, Je = (e, t, n) => {
|
|
366
|
-
if (e.labelMode !==
|
|
367
|
-
let { align: r, justify: i } = qe(e.labelPlacement), a = y.referenceArea.labelColor, o = y.referenceArea.labelFontSize, s = e.labelColor ?? a,
|
|
366
|
+
if (e.labelMode !== l.Fixed || !e.label) return null;
|
|
367
|
+
let { align: r, justify: i } = qe(e.labelPlacement), a = y.referenceArea.labelColor, o = y.referenceArea.labelFontSize, s = e.labelColor ?? a, c = e.labelFontSize ?? o;
|
|
368
368
|
return {
|
|
369
|
-
type:
|
|
369
|
+
type: z.Labels,
|
|
370
370
|
key: `${J}-${e.id}-label`,
|
|
371
371
|
layout: { displayOrder: t },
|
|
372
372
|
settings: { sources: [{
|
|
373
373
|
component: `${J}-${e.id}`,
|
|
374
|
-
selector:
|
|
374
|
+
selector: be.Rect,
|
|
375
375
|
strategy: {
|
|
376
376
|
type: "rows",
|
|
377
377
|
settings: {
|
|
378
378
|
align: r,
|
|
379
379
|
justify: i,
|
|
380
|
-
fontSize:
|
|
380
|
+
fontSize: c,
|
|
381
381
|
fontFamily: n.fonts?.general?.fontFamily,
|
|
382
382
|
padding: 2,
|
|
383
383
|
labels: [{
|
|
@@ -392,19 +392,19 @@ var je = /* @__PURE__ */ e(S()), Me = (e, n, r, i, a, o, s, c) => {
|
|
|
392
392
|
};
|
|
393
393
|
}, Ye = (e, t, n) => {
|
|
394
394
|
let r = {
|
|
395
|
-
orientation:
|
|
395
|
+
orientation: p.Vertical,
|
|
396
396
|
major: {
|
|
397
|
-
scale:
|
|
397
|
+
scale: U.XAxisScale,
|
|
398
398
|
ref: "binEnd",
|
|
399
399
|
binStart: { ref: "binStart" },
|
|
400
400
|
binEnd: { ref: "binEnd" }
|
|
401
401
|
},
|
|
402
402
|
minor: {
|
|
403
|
-
scale:
|
|
403
|
+
scale: U.YAxisScale,
|
|
404
404
|
ref: "end"
|
|
405
405
|
},
|
|
406
406
|
minor0: {
|
|
407
|
-
scale:
|
|
407
|
+
scale: U.YAxisScale,
|
|
408
408
|
ref: "start"
|
|
409
409
|
},
|
|
410
410
|
box: {
|
|
@@ -416,7 +416,7 @@ var je = /* @__PURE__ */ e(S()), Me = (e, n, r, i, a, o, s, c) => {
|
|
|
416
416
|
}
|
|
417
417
|
};
|
|
418
418
|
return {
|
|
419
|
-
type:
|
|
419
|
+
type: z.Box,
|
|
420
420
|
key: `${J}-${e.id}`,
|
|
421
421
|
layout: { displayOrder: t },
|
|
422
422
|
data: {
|
|
@@ -443,7 +443,7 @@ var je = /* @__PURE__ */ e(S()), Me = (e, n, r, i, a, o, s, c) => {
|
|
|
443
443
|
});
|
|
444
444
|
let s = n.components ? [...n.components] : [], c = i.length;
|
|
445
445
|
return i.forEach((e, n) => {
|
|
446
|
-
let r =
|
|
446
|
+
let r = j.ReferenceArea + (c - n) * .001, i = Ye(e, r, n);
|
|
447
447
|
s.push(i);
|
|
448
448
|
let a = Je(e, r + 5e-4, t);
|
|
449
449
|
a && s.push(a);
|
|
@@ -453,7 +453,7 @@ var je = /* @__PURE__ */ e(S()), Me = (e, n, r, i, a, o, s, c) => {
|
|
|
453
453
|
components: s
|
|
454
454
|
};
|
|
455
455
|
}, Ze = (e, t, n) => {
|
|
456
|
-
let r = t.data.value, i = e.filter((e) => x(e)).filter((e) => e.role ===
|
|
456
|
+
let r = t.data.value, i = e.filter((e) => x(e)).filter((e) => e.role === m.SCATTER_DIMENSION)[0];
|
|
457
457
|
return i?.formatter && (r = n.formatter(i.formatter)(r)), `${r}`;
|
|
458
458
|
}, X = (e) => typeof e == "string" && e.startsWith("scatter-reference-area") && !e.endsWith("-label"), Z = (e) => {
|
|
459
459
|
let t = e.data?.labelMode;
|
|
@@ -480,10 +480,10 @@ var je = /* @__PURE__ */ e(S()), Me = (e, n, r, i, a, o, s, c) => {
|
|
|
480
480
|
filter: (t) => {
|
|
481
481
|
let n = [
|
|
482
482
|
q(e),
|
|
483
|
-
|
|
483
|
+
L,
|
|
484
484
|
K
|
|
485
485
|
];
|
|
486
|
-
return t.filter((e) => e.key ? X(e.key) ? Z(e) !==
|
|
486
|
+
return t.filter((e) => e.key ? X(e.key) ? Z(e) !== l.Fixed && !!Q(e) : n.includes(e.key) : !1);
|
|
487
487
|
},
|
|
488
488
|
placement: {
|
|
489
489
|
type: "pointer",
|
|
@@ -509,11 +509,11 @@ var je = /* @__PURE__ */ e(S()), Me = (e, n, r, i, a, o, s, c) => {
|
|
|
509
509
|
r.extract = (t) => {
|
|
510
510
|
if (X(t.node.key)) {
|
|
511
511
|
let e = Q(t.node), n = Z(t.node);
|
|
512
|
-
if (e && n !==
|
|
512
|
+
if (e && n !== l.Fixed) return $(e);
|
|
513
513
|
}
|
|
514
514
|
return e(t);
|
|
515
515
|
};
|
|
516
|
-
let t =
|
|
516
|
+
let t = Te();
|
|
517
517
|
r.content = ({ h: e, data: n }) => {
|
|
518
518
|
if (n.length > 8) {
|
|
519
519
|
let e = n.length;
|
|
@@ -528,34 +528,34 @@ var je = /* @__PURE__ */ e(S()), Me = (e, n, r, i, a, o, s, c) => {
|
|
|
528
528
|
});
|
|
529
529
|
};
|
|
530
530
|
} else {
|
|
531
|
-
let n = Ee(e, t,
|
|
531
|
+
let n = Ee(e, t, Ce, Ze);
|
|
532
532
|
r.extract = (e) => {
|
|
533
533
|
if (X(e.node.key)) {
|
|
534
534
|
let t = Q(e.node), n = Z(e.node);
|
|
535
|
-
if (t && n !==
|
|
535
|
+
if (t && n !== l.Fixed) return $(t);
|
|
536
536
|
}
|
|
537
537
|
return n(e);
|
|
538
538
|
};
|
|
539
539
|
}
|
|
540
|
-
return
|
|
540
|
+
return pe(e, t, n, r, "tooltip", void 0, {
|
|
541
541
|
componentKeys: [q(e)],
|
|
542
|
-
yieldToComponentKeys: [
|
|
542
|
+
yieldToComponentKeys: [L, K]
|
|
543
543
|
});
|
|
544
544
|
}, $e = (e, t, n) => {
|
|
545
545
|
let r = e?.measures[0], i = {
|
|
546
546
|
showAxisTooltip: e?.axes?.primaryMeasure?.showAxisTooltip,
|
|
547
547
|
formatter: r?.formatter,
|
|
548
|
-
scale:
|
|
548
|
+
scale: _e(e),
|
|
549
549
|
key: oe.Measure,
|
|
550
550
|
settings: { direction: se(e) }
|
|
551
551
|
}, a = e?.measures[1], [o, s] = ae([i, {
|
|
552
552
|
showAxisTooltip: e?.axes?.secondaryMeasure?.showAxisTooltip,
|
|
553
553
|
formatter: a?.formatter,
|
|
554
|
-
scale:
|
|
554
|
+
scale: fe(e, a),
|
|
555
555
|
key: oe.MeasureSec,
|
|
556
556
|
settings: {
|
|
557
557
|
direction: ne(e),
|
|
558
|
-
labelDock:
|
|
558
|
+
labelDock: F(Se(e), a?.secondaryAxis)
|
|
559
559
|
}
|
|
560
560
|
}]);
|
|
561
561
|
return {
|
|
@@ -565,24 +565,24 @@ var je = /* @__PURE__ */ e(S()), Me = (e, n, r, i, a, o, s, c) => {
|
|
|
565
565
|
};
|
|
566
566
|
}, et = (e, t, n) => de(e, t, n), tt = (e) => {
|
|
567
567
|
try {
|
|
568
|
-
return !!e &&
|
|
568
|
+
return !!e && A(e);
|
|
569
569
|
} catch {
|
|
570
570
|
return !1;
|
|
571
571
|
}
|
|
572
|
-
}, nt = (e, t, n, r,
|
|
572
|
+
}, nt = (e, t, n, r, i, o) => {
|
|
573
573
|
if (o?.disable?.brushing || o?.disable?.brushingLasso) return n;
|
|
574
|
-
let s = tt(t?.colors?.sheetBackgroundColor) ?
|
|
575
|
-
type:
|
|
576
|
-
key:
|
|
577
|
-
layout: { displayOrder:
|
|
574
|
+
let s = tt(t?.colors?.sheetBackgroundColor) ? a.white : a.mainDarkNavy, c = e.scatterSettings?.lasso, l = c?.strokeColor ?? s, u = {
|
|
575
|
+
type: z.Lasso,
|
|
576
|
+
key: z.Lasso,
|
|
577
|
+
layout: { displayOrder: j.VisualizationElement + 1 },
|
|
578
578
|
settings: {
|
|
579
579
|
brush: { components: [{
|
|
580
580
|
key: q(e),
|
|
581
|
-
contexts: [
|
|
581
|
+
contexts: [W.Selection],
|
|
582
582
|
action: "toggle"
|
|
583
583
|
}, {
|
|
584
584
|
key: K,
|
|
585
|
-
contexts: [
|
|
585
|
+
contexts: [W.Selection],
|
|
586
586
|
action: "toggle"
|
|
587
587
|
}] },
|
|
588
588
|
lasso: {
|
|
@@ -593,28 +593,28 @@ var je = /* @__PURE__ */ e(S()), Me = (e, n, r, i, a, o, s, c) => {
|
|
|
593
593
|
snapIndicator: { stroke: l },
|
|
594
594
|
startPoint: {
|
|
595
595
|
r: 3,
|
|
596
|
-
fill: c?.startPointColor ??
|
|
596
|
+
fill: c?.startPointColor ?? a.secondaryPurple,
|
|
597
597
|
stroke: l
|
|
598
598
|
}
|
|
599
599
|
}
|
|
600
600
|
}, d = {
|
|
601
601
|
type: "native",
|
|
602
|
-
key: `${
|
|
602
|
+
key: `${z.Lasso}-interaction`,
|
|
603
603
|
events: {
|
|
604
604
|
mousedown(e) {
|
|
605
|
-
this.chart.component(
|
|
605
|
+
this.chart.component(z.Lasso).emit("lassoStart", { center: {
|
|
606
606
|
x: e.clientX,
|
|
607
607
|
y: e.clientY
|
|
608
608
|
} });
|
|
609
609
|
},
|
|
610
610
|
mousemove(e) {
|
|
611
|
-
this.chart.component(
|
|
611
|
+
this.chart.component(z.Lasso).emit("lassoMove", { center: {
|
|
612
612
|
x: e.clientX,
|
|
613
613
|
y: e.clientY
|
|
614
614
|
} });
|
|
615
615
|
},
|
|
616
616
|
mouseup(e) {
|
|
617
|
-
this.chart.component(
|
|
617
|
+
this.chart.component(z.Lasso).emit("lassoEnd", { center: {
|
|
618
618
|
x: e.clientX,
|
|
619
619
|
y: e.clientY
|
|
620
620
|
} });
|
|
@@ -633,21 +633,21 @@ var je = /* @__PURE__ */ e(S()), Me = (e, n, r, i, a, o, s, c) => {
|
|
|
633
633
|
targetComponentKeys: [q(e)],
|
|
634
634
|
targetSelector: `.${Fe}`,
|
|
635
635
|
offset: c,
|
|
636
|
-
fontSize:
|
|
636
|
+
fontSize: we(e.pointLabeling?.fontSize)
|
|
637
637
|
}, s, a, t);
|
|
638
638
|
return l ? {
|
|
639
639
|
...n,
|
|
640
640
|
components: [...n.components, l]
|
|
641
641
|
} : n;
|
|
642
642
|
}, it = (...e) => {
|
|
643
|
-
let t = Oe(...e), n = t.components.find((e) => e.type ===
|
|
643
|
+
let t = Oe(...e), n = t.components.find((e) => e.type === me.SequentialLegend), r = t.scales[U.Density];
|
|
644
644
|
if (n && r) {
|
|
645
|
-
n.settings.fill =
|
|
645
|
+
n.settings.fill = U.DensityGradient;
|
|
646
646
|
let e = n.layout?.dock;
|
|
647
|
-
n.settings.major = e ===
|
|
647
|
+
n.settings.major = e === f.Left || e === f.Right ? U.DensityInverted : U.Density;
|
|
648
648
|
}
|
|
649
649
|
return t;
|
|
650
|
-
}, at = class extends
|
|
650
|
+
}, at = class extends P {
|
|
651
651
|
constructor() {
|
|
652
652
|
super([
|
|
653
653
|
ve,
|
|
@@ -666,11 +666,11 @@ var je = /* @__PURE__ */ e(S()), Me = (e, n, r, i, a, o, s, c) => {
|
|
|
666
666
|
]);
|
|
667
667
|
}
|
|
668
668
|
preCompile(e) {
|
|
669
|
-
let n = e.dimensions.filter((e) => x(e)), r = e.measures.filter((e) => x(e)), i = n.filter((e) => e.role ===
|
|
669
|
+
let n = e.dimensions.filter((e) => x(e)), r = e.measures.filter((e) => x(e)), i = n.filter((e) => e.role === m.SCATTER_DIMENSION), a = r.filter((e) => e.role === t.SCATTER_HORIZONTAL), o = r.filter((e) => e.role === t.SCATTER_VERTICAL), s = i[0], c = a[0], l = o[0];
|
|
670
670
|
if (!s || !c || !l) throw Error("Scatter chart requires at least 1 scatter dimension, 1 horizontal measure, and 1 vertical measure.");
|
|
671
671
|
}
|
|
672
672
|
}, ot = O(), st = T(({ vSpec: e, vTheme: t, data: n, elementSize: r, vizProperties: i }) => {
|
|
673
|
-
let a = w(), [o] = (0, je.useState)(() => new at()), s =
|
|
673
|
+
let a = w(), [o] = (0, je.useState)(() => new at()), s = D(), { activeKey: c } = k(), l = C(), u = xe();
|
|
674
674
|
if (!e || !n || !r || !h(e)) return null;
|
|
675
675
|
let d = {
|
|
676
676
|
...i,
|