@astrato-io/visualizations 0.11.0 → 0.12.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/CHANGELOG.md +19 -0
- package/README.md +129 -4
- package/VISUALIZATION_DEFINITIONS.md +3 -1
- package/chunks/{Button-CPG4WX8X.js → Button-CQdoKSXX.js} +3 -3
- package/chunks/{CircularProgress-PSLW8HmD.js → CircularProgress-DpT1lwWw.js} +18 -18
- package/chunks/FieldTypeIcon-Cg4F9Q5D.js +22 -0
- package/chunks/{LinearProgress-KQ2EQlGL.js → LinearProgress-B7S0Q26A.js} +8 -8
- package/chunks/{MenuOption-B-6K7kks.js → MenuOption-DpKFJxmo.js} +133 -133
- package/chunks/{Title-BmvwZYkh.js → Title-m5damhc0.js} +10 -10
- package/chunks/{_createAggregator-CFmH6gUN.js → _createAggregator-BA8_iU9q.js} +7 -7
- package/chunks/{app-filter-bar.compiler-BY5-T16I.js → app-filter-bar.compiler--T4Qz3Wu.js} +3 -3
- package/chunks/{bar-layout-BNou0dZF.js → bar-layout-OFhxn2Go.js} +2 -2
- package/chunks/{bar.compiler-BkhO7sDd.js → bar.compiler-hWZBYYvV.js} +62 -62
- package/chunks/{builder-CNjuqD2z.js → builder-7w_bgV_h.js} +31 -31
- package/chunks/{coloring-BOiP0rmn.js → coloring-Cd6p0GQJ.js} +88 -83
- package/chunks/{createSimplePaletteValueFilter-BkgQ7MFE.js → createSimplePaletteValueFilter-CiJT8s1s.js} +55 -55
- package/chunks/defaults-CMFqXvaJ.js +3 -0
- package/chunks/{definitions-AS9GcavE.js → definitions-DTauTjIX.js} +412 -406
- package/chunks/{escobar-cQ1eQ64G.js → escobar-CMvphKSK.js} +4787 -4717
- package/chunks/{extend-preset-BlCbcXKR.js → extend-preset-BpXttHFk.js} +371 -372
- package/chunks/{filter.compiler-CI7dDNM1.js → filter.compiler-DOGFweJz.js} +4 -4
- package/chunks/{filtering-Dwi7hDPZ.js → filtering-NOnDcGbo.js} +183 -183
- package/chunks/handlers-CyYFSfhM.js +15393 -0
- package/chunks/{icon-picker-styles-CBlxEu3s.js → icon-picker-styles-DuSERhBU.js} +2 -2
- package/chunks/{isEqual-BdHo6wqq.js → isEqual-4f8yUUtC.js} +1 -1
- package/chunks/{isFocusVisible-C1nlVUwL.js → isFocusVisible-Czm70MGc.js} +1 -1
- package/chunks/line.compiler-B-4H55_T.js +203 -0
- package/chunks/{logger-Bc-DqDM_.js → logger-Cioob-QV.js} +71 -70
- package/chunks/{map.compiler-CRO6XpdI.js → map.compiler-Cv5V6EhF.js} +13 -13
- package/chunks/measure-axis-label-format-COy8U_dd.js +27 -0
- package/chunks/{measure-format-default-B6ghxih7.js → measure-format-default-B_kuGSzi.js} +7 -3
- package/chunks/{metadata-CtkvZEhS.js → metadata-dGSe5UWy.js} +5 -5
- package/chunks/{number.compiler-kV4lobCZ.js → number.compiler-D7nMcEMv.js} +8 -8
- package/chunks/{operations-COl9wgqi.js → operations-CgfehCad.js} +11462 -11223
- package/chunks/{range-CMJ5yc5Z.js → range-Dmwp9kVB.js} +2 -2
- package/chunks/{react-dom-BjsCbYHq.js → react-dom-CfuL-m78.js} +24 -24
- package/chunks/{render-wrappers-DFHi3Wkr.js → render-wrappers--g-zPFBW.js} +1 -1
- package/chunks/{requirements-C5YLmHKe.js → requirements-DHayNJ2C.js} +83 -83
- package/chunks/{shared-DyqxOie0.js → shared-DoEN9nNM.js} +282 -277
- package/chunks/standalone-B3hRGgYi.js +773 -0
- package/chunks/{standalone-BYK2U0Vd.js → standalone-BPNXgFft.js} +380 -380
- package/chunks/standalone-BPTT8XEu.js +424 -0
- package/chunks/standalone-BgAeHROc.js +2 -0
- package/chunks/{standalone-I5kRIsp8.js → standalone-BkQxag7M.js} +81 -81
- package/chunks/{standalone-DYVYccmY.js → standalone-Bxa3x6dg.js} +913 -913
- package/chunks/standalone-C0If-V6O.js +773 -0
- package/chunks/standalone-C1TOyflX.js +287 -0
- package/chunks/{standalone-DaNxWIKn.js → standalone-CE5PwJN0.js} +21 -21
- package/chunks/{standalone-K2OvRAQM.js → standalone-CG7IFN6n.js} +121 -121
- package/chunks/{standalone-Db_HNuWx.js → standalone-CKlgGu80.js} +44 -44
- package/chunks/standalone-CNf-oA2U.js +355 -0
- package/chunks/{standalone-9jrQ3zJT.js → standalone-CXPdWFlw.js} +10 -10
- package/chunks/{standalone-c4CPN6ug.js → standalone-Cf0_5tbu.js} +5783 -5785
- package/chunks/{standalone-Bp4G3MDx.js → standalone-DMi4-Vp3.js} +118 -118
- package/chunks/{standalone-BrjtMIdd.js → standalone-DTEX67C8.js} +108 -108
- package/chunks/{standalone-iOnJhCvA.js → standalone-DU46-kYv.js} +181 -181
- package/chunks/standalone-Dbn3jSH6.js +690 -0
- package/chunks/{standalone-CS5VGoja.js → standalone-DdcAL_k_.js} +833 -837
- package/chunks/standalone-DwCIA0UG.js +1057 -0
- package/chunks/standalone-Dz13tl3P.js +357 -0
- package/chunks/{standalone-CIjNYyya.js → standalone-H9GFzFk_.js} +937 -938
- package/chunks/{standalone-ChfEHb28.js → standalone-MduR0qre.js} +1279 -1279
- package/chunks/standalone-ejTz66P3.js +2 -0
- package/chunks/{standalone-D9k5SCd8.js → standalone-keB-0wK3.js} +189 -189
- package/chunks/{standalone-Bsfz5vnJ.js → standalone-nnkuQd0K.js} +35 -35
- package/chunks/standalone-vGGR6Vcn.js +6 -0
- package/chunks/{table.compiler-CMH_dtYs.js → table.compiler-mS4UvhLT.js} +12 -12
- package/chunks/theme-MYp6Rj1J.js +232 -0
- package/chunks/{useFieldName-BfxBzhhH.js → useFieldName-AdSak4Ch.js} +1 -1
- package/chunks/{utils-BdJrEeIQ.js → utils-CUKgR7it.js} +3265 -3133
- package/chunks/{view-Q-_XIrWE.js → view-BeYwpcVD.js} +478 -478
- package/chunks/{visualization-filters-BwS0xUqs.js → visualization-filters-B9qik5_K.js} +2706 -2384
- package/chunks/{with-html-element-D_ooGNWI.js → with-html-element-1GSeLT59.js} +3888 -3870
- package/definitions.js +2 -2
- package/docs/operations/astrato-app-filter-bar.md +1 -1
- package/docs/operations/bar.md +115 -32
- package/docs/operations/combo.md +50 -17
- package/docs/operations/date-picker.md +4 -4
- package/docs/operations/distribution-gauge.md +18 -16
- package/docs/operations/dot.md +107 -24
- package/docs/operations/filter.md +10 -8
- package/docs/operations/gauge.md +20 -18
- package/docs/operations/heatMap.md +73 -21
- package/docs/operations/histogram.md +45 -12
- package/docs/operations/iframe.md +1 -1
- package/docs/operations/image.md +1 -1
- package/docs/operations/index.md +11 -11
- package/docs/operations/line.md +57 -24
- package/docs/operations/map.md +16 -16
- package/docs/operations/number.md +10 -9
- package/docs/operations/pie.md +23 -21
- package/docs/operations/radar.md +13 -11
- package/docs/operations/sankey.md +19 -17
- package/docs/operations/scatter.md +111 -28
- package/docs/operations/shape.md +5 -5
- package/docs/operations/simpleTextObject.md +4 -4
- package/docs/operations/slider.md +1 -1
- package/docs/operations/table.md +27 -25
- package/docs/operations/tree.md +5 -3
- package/docs/operations/treemap.md +70 -18
- package/docs/operations/waterfall.md +40 -7
- package/docs/operations/word-cloud.md +69 -17
- package/getters.js +2 -2
- package/index.js +474 -525
- package/metadata.js +2 -2
- package/operations.js +24 -17
- package/package.json +71 -72
- package/src/definitions/model/definitions/descriptors/descriptor-metadata.d.ts +1 -1
- package/src/definitions/model/definitions/schema-registry.d.ts +13 -12
- package/src/definitions/model/definitions/schemas/bar.schema.d.ts +2 -2
- package/src/definitions/model/definitions/schemas/common.schema.d.ts +5 -4
- package/src/definitions/model/definitions/schemas/line.schema.d.ts +3 -2
- package/src/definitions/model/definitions/schemas/number.schema.d.ts +1 -1
- package/src/definitions/model/definitions/schemas/table.schema.d.ts +14 -14
- package/src/index.d.ts +1 -1
- package/src/operations/index.d.ts +11 -1
- package/src/types.d.ts +166 -1
- package/chunks/FieldTypeIcon-5k2bkqd0.js +0 -22
- package/chunks/category-axis-D1OVyMrr.js +0 -20
- package/chunks/color-rules-DYJL4fIW.js +0 -15
- package/chunks/color-settings-DJFoFTip.js +0 -5
- package/chunks/defaults-B5_8S-J-.js +0 -3
- package/chunks/handlers-C63NVo7i.js +0 -15433
- package/chunks/line.compiler-DCv3h42f.js +0 -198
- package/chunks/standalone-06i1wmIX.js +0 -6
- package/chunks/standalone-B6zUvxNQ.js +0 -357
- package/chunks/standalone-Be5APcVv.js +0 -762
- package/chunks/standalone-BuXpKMnc.js +0 -2
- package/chunks/standalone-CUGt2FUF.js +0 -2
- package/chunks/standalone-CnF2OYLQ.js +0 -355
- package/chunks/standalone-CznEEiq3.js +0 -422
- package/chunks/standalone-DcuE8KBa.js +0 -287
- package/chunks/standalone-pCrzBiTy.js +0 -773
- package/chunks/standalone-qrZaimgC.js +0 -689
- package/chunks/standalone-yqDJ8h3K.js +0 -1012
|
@@ -1,71 +1,71 @@
|
|
|
1
1
|
import { o as e, t } from "./rolldown-runtime-DleVn1XH.js";
|
|
2
|
-
import {
|
|
3
|
-
import { B as v,
|
|
4
|
-
import {
|
|
2
|
+
import { Js as n, Kc as r, Ms as i, Sa as a, Ti as o, Ua as s, _a as c, _o as l, ga as u, go as d, ha as f, jr as p, ns as m, rs as h, va as g, vo as _ } from "./visualization-filters-B9qik5_K.js";
|
|
3
|
+
import { B as v, Cn as y, G as b, Mt as x, Tn as S, Ur as C, dn as w, f as T, fi as E, o as D, tn as O } from "./utils-CUKgR7it.js";
|
|
4
|
+
import { Tt as k } from "./handlers-CyYFSfhM.js";
|
|
5
5
|
import { n as A, t as j } from "./url-utils-B17gj_mr.js";
|
|
6
|
-
import { t as M } from "./Title-
|
|
7
|
-
var N = /* @__PURE__ */ e(
|
|
8
|
-
let n = e?.simpleTextObjectSettings || {},
|
|
6
|
+
import { t as M } from "./Title-m5damhc0.js";
|
|
7
|
+
var N = /* @__PURE__ */ e(E()), P = (e, t) => {
|
|
8
|
+
let n = e?.simpleTextObjectSettings || {}, r = n.fontFamily ?? o.fontFamily, i = n.textColor ?? o.textColor, a = t ? c(t, r) : r, s = t ? u(t, i) : i, { borderEnabled: d = o.borderEnabled, borderRadius: f = o.borderRadius, borderWidth: p = o.borderWidth } = n;
|
|
9
9
|
return {
|
|
10
|
-
textContentType: n.textContentType ??
|
|
11
|
-
textContent: n.textContent ??
|
|
12
|
-
variableId: n.variableId ??
|
|
13
|
-
representation: n.representation ??
|
|
14
|
-
paragraphMargin: n.paragraphMargin ??
|
|
15
|
-
textColor:
|
|
16
|
-
fontFamily:
|
|
17
|
-
fontSize: n.fontSize ??
|
|
18
|
-
bold: n.bold ??
|
|
19
|
-
weight: n.weight ??
|
|
20
|
-
italic: n.italic ??
|
|
21
|
-
underlined: n.underlined ??
|
|
22
|
-
strikethrough: n.strikethrough ??
|
|
23
|
-
letterSpacing: n.letterSpacing ??
|
|
24
|
-
lineSpacing: n.lineSpacing ??
|
|
25
|
-
wordWrap: n.wordWrap ??
|
|
26
|
-
linkEnabled: n.linkEnabled ??
|
|
27
|
-
linkUrl: n.linkUrl ??
|
|
28
|
-
backgroundType: n.backgroundType ??
|
|
29
|
-
backgroundColor: n.backgroundColor ??
|
|
30
|
-
imageOpacity: n.imageOpacity ??
|
|
31
|
-
backgroundBlur: n.backgroundBlur ??
|
|
10
|
+
textContentType: n.textContentType ?? l.Text,
|
|
11
|
+
textContent: n.textContent ?? o.textContent,
|
|
12
|
+
variableId: n.variableId ?? o.variableId,
|
|
13
|
+
representation: n.representation ?? o.representation,
|
|
14
|
+
paragraphMargin: n.paragraphMargin ?? o.paragraphMargin,
|
|
15
|
+
textColor: s,
|
|
16
|
+
fontFamily: a,
|
|
17
|
+
fontSize: n.fontSize ?? o.fontSize,
|
|
18
|
+
bold: n.bold ?? o.bold,
|
|
19
|
+
weight: n.weight ?? o.weight,
|
|
20
|
+
italic: n.italic ?? o.italic,
|
|
21
|
+
underlined: n.underlined ?? o.underlined,
|
|
22
|
+
strikethrough: n.strikethrough ?? o.strikethrough,
|
|
23
|
+
letterSpacing: n.letterSpacing ?? o.letterSpacing,
|
|
24
|
+
lineSpacing: n.lineSpacing ?? o.lineSpacing,
|
|
25
|
+
wordWrap: n.wordWrap ?? o.wordWrap,
|
|
26
|
+
linkEnabled: n.linkEnabled ?? o.linkEnabled,
|
|
27
|
+
linkUrl: n.linkUrl ?? o.linkUrl,
|
|
28
|
+
backgroundType: n.backgroundType ?? o.backgroundType,
|
|
29
|
+
backgroundColor: n.backgroundColor ?? o.backgroundColor,
|
|
30
|
+
imageOpacity: n.imageOpacity ?? o.imageOpacity,
|
|
31
|
+
backgroundBlur: n.backgroundBlur ?? o.backgroundBlur,
|
|
32
32
|
backgroundImage: n.backgroundImage ?? void 0,
|
|
33
|
-
imageFitType: n.imageFitType ??
|
|
34
|
-
borderEnabled:
|
|
35
|
-
borderWidth:
|
|
36
|
-
borderRadius:
|
|
37
|
-
borderStyle: n.borderStyle ??
|
|
38
|
-
borderColor: n.borderColor ??
|
|
39
|
-
textPadding: n.textPadding ??
|
|
40
|
-
textShadow: n.textShadow ??
|
|
41
|
-
objectShadow: n.objectShadow ??
|
|
42
|
-
responsive: n.responsive ??
|
|
43
|
-
scaling: n.scaling ??
|
|
44
|
-
maxLines: n.maxLines ??
|
|
45
|
-
position: n.position ??
|
|
46
|
-
align: n.align ??
|
|
47
|
-
richTextScaling: n.richTextScaling ??
|
|
48
|
-
richTextResponsive: n.richTextResponsive ??
|
|
49
|
-
richTextMaxLines: n.richTextMaxLines ??
|
|
33
|
+
imageFitType: n.imageFitType ?? o.imageFitType,
|
|
34
|
+
borderEnabled: d,
|
|
35
|
+
borderWidth: d ?? !!p ? p : 0,
|
|
36
|
+
borderRadius: d ?? !!p ? f : 0,
|
|
37
|
+
borderStyle: n.borderStyle ?? o.borderStyle,
|
|
38
|
+
borderColor: n.borderColor ?? o.borderColor,
|
|
39
|
+
textPadding: n.textPadding ?? o.textPadding,
|
|
40
|
+
textShadow: n.textShadow ?? o.textShadow,
|
|
41
|
+
objectShadow: n.objectShadow ?? o.objectShadow,
|
|
42
|
+
responsive: n.responsive ?? o.responsive,
|
|
43
|
+
scaling: n.scaling ?? o.scaling,
|
|
44
|
+
maxLines: n.maxLines ?? o.maxLines,
|
|
45
|
+
position: n.position ?? o.position,
|
|
46
|
+
align: n.align ?? o.align,
|
|
47
|
+
richTextScaling: n.richTextScaling ?? o.richTextScaling,
|
|
48
|
+
richTextResponsive: n.richTextResponsive ?? o.richTextResponsive,
|
|
49
|
+
richTextMaxLines: n.richTextMaxLines ?? o.richTextMaxLines
|
|
50
50
|
};
|
|
51
51
|
}, F = 8, I = (e, t, n) => {
|
|
52
|
-
let r = t.fontSize ??
|
|
52
|
+
let r = t.fontSize ?? o.fontSize, i = t.letterSpacing ?? o.letterSpacing;
|
|
53
53
|
if (n.width === 0) return r;
|
|
54
|
-
let a =
|
|
54
|
+
let a = S(), s = 0, c = 0, l = r;
|
|
55
55
|
for (; c <= l;) {
|
|
56
|
-
let r = Math.floor((c + l) / 2), { width:
|
|
56
|
+
let r = Math.floor((c + l) / 2), { width: o, height: u } = a.getTextSize({
|
|
57
57
|
size: r,
|
|
58
58
|
label: e,
|
|
59
59
|
fontFamily: t.fontFamily ?? "",
|
|
60
60
|
letterSpacing: `${t.letterSpacing}`,
|
|
61
61
|
fontWeight: t.bold ? 700 : 400,
|
|
62
62
|
lineHeight: t.lineSpacing
|
|
63
|
-
}), d = Math.ceil((
|
|
64
|
-
f || p ? l = r - 1 : (
|
|
63
|
+
}), d = Math.ceil((o + i) / (n.width - F * 2)), f = !t.wordWrap && d > 1, p = u * d * 1.2 + F * 2 > n.height;
|
|
64
|
+
f || p ? l = r - 1 : (s = r, c = r + 1);
|
|
65
65
|
}
|
|
66
|
-
return a.cleanDOM(),
|
|
67
|
-
}, L = (e, t) => e ? t :
|
|
68
|
-
let r = t.textPadding ??
|
|
66
|
+
return a.cleanDOM(), s;
|
|
67
|
+
}, L = (e, t) => e ? t : h.None, R = (e) => e === h.ViewportWidth ? "vw" : "px", ee = (e, t, n) => {
|
|
68
|
+
let r = t.textPadding ?? o.textPadding;
|
|
69
69
|
return I(e, t, {
|
|
70
70
|
width: n.width - r * 2,
|
|
71
71
|
height: n.height - r * 2
|
|
@@ -73,7 +73,7 @@ var N = /* @__PURE__ */ e(D()), P = (e, t) => {
|
|
|
73
73
|
}, te = {
|
|
74
74
|
width: 1920,
|
|
75
75
|
height: 1080
|
|
76
|
-
}, z = (e) => e / 1920 * 100, B = (e) => e / te.height * 100, V =
|
|
76
|
+
}, z = (e) => e / 1920 * 100, B = (e) => e / te.height * 100, V = C(), ne = b({
|
|
77
77
|
wrapper: {
|
|
78
78
|
height: "100%",
|
|
79
79
|
position: "relative",
|
|
@@ -149,7 +149,7 @@ var N = /* @__PURE__ */ e(D()), P = (e, t) => {
|
|
|
149
149
|
};
|
|
150
150
|
return /* @__PURE__ */ (0, V.jsx)("div", {
|
|
151
151
|
ref: l,
|
|
152
|
-
className:
|
|
152
|
+
className: w({
|
|
153
153
|
[h.wrapper]: !0,
|
|
154
154
|
[h.changed]: p,
|
|
155
155
|
"ast-advanced-text-editor": !1
|
|
@@ -173,7 +173,7 @@ var N = /* @__PURE__ */ e(D()), P = (e, t) => {
|
|
|
173
173
|
overflowX: "hidden",
|
|
174
174
|
lineHeight: 1,
|
|
175
175
|
color: "#1F1C3B",
|
|
176
|
-
fontFamily:
|
|
176
|
+
fontFamily: g("Roboto"),
|
|
177
177
|
fontStyle: "normal",
|
|
178
178
|
fontWeight: 700
|
|
179
179
|
},
|
|
@@ -191,7 +191,7 @@ var N = /* @__PURE__ */ e(D()), P = (e, t) => {
|
|
|
191
191
|
WebkitBoxOrient: "vertical"
|
|
192
192
|
}
|
|
193
193
|
});
|
|
194
|
-
|
|
194
|
+
g("Roboto");
|
|
195
195
|
var U = "\n height: 100%; \n width: 100%;\n display: block;\n overflow: auto;\n", W = `
|
|
196
196
|
width: 100%;
|
|
197
197
|
height: 100%;
|
|
@@ -414,11 +414,11 @@ var U = "\n height: 100%; \n width: 100%;\n display: block;\n overflow: auto
|
|
|
414
414
|
ſ: "s"
|
|
415
415
|
});
|
|
416
416
|
})), Y = /* @__PURE__ */ t(((e, t) => {
|
|
417
|
-
var
|
|
418
|
-
function
|
|
419
|
-
return e =
|
|
417
|
+
var n = J(), r = p(), i = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, a = RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]", "g");
|
|
418
|
+
function o(e) {
|
|
419
|
+
return e = r(e), e && e.replace(i, n).replace(a, "");
|
|
420
420
|
}
|
|
421
|
-
t.exports =
|
|
421
|
+
t.exports = o;
|
|
422
422
|
})), ie = /* @__PURE__ */ t(((e, t) => {
|
|
423
423
|
var n = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
|
|
424
424
|
function r(e) {
|
|
@@ -463,11 +463,11 @@ var U = "\n height: 100%; \n width: 100%;\n display: block;\n overflow: auto
|
|
|
463
463
|
}
|
|
464
464
|
t.exports = R;
|
|
465
465
|
})), se = /* @__PURE__ */ t(((e, t) => {
|
|
466
|
-
var
|
|
467
|
-
function
|
|
468
|
-
return e =
|
|
466
|
+
var n = ie(), r = ae(), i = p(), a = oe();
|
|
467
|
+
function o(e, t, o) {
|
|
468
|
+
return e = i(e), t = o ? void 0 : t, t === void 0 ? r(e) ? a(e) : n(e) : e.match(t) || [];
|
|
469
469
|
}
|
|
470
|
-
t.exports =
|
|
470
|
+
t.exports = o;
|
|
471
471
|
})), ce = /* @__PURE__ */ t(((e, t) => {
|
|
472
472
|
var n = K(), r = Y(), i = se(), a = RegExp("['’]", "g");
|
|
473
473
|
function o(e) {
|
|
@@ -480,24 +480,24 @@ var U = "\n height: 100%; \n width: 100%;\n display: block;\n overflow: auto
|
|
|
480
480
|
t.exports = ce()(function(e, t, n) {
|
|
481
481
|
return e + (n ? "-" : "") + t.toLowerCase();
|
|
482
482
|
});
|
|
483
|
-
})))()), ue = (e, t =
|
|
484
|
-
let
|
|
483
|
+
})))()), ue = (e, t = o.fontSize, r = "px") => {
|
|
484
|
+
let i = [e.underlined ? "underline" : void 0, e.strikethrough ? "line-through" : void 0].filter((e) => !!e).join(" "), a = Math.ceil(t / 10);
|
|
485
485
|
return {
|
|
486
486
|
fontFamily: e.fontFamily ?? void 0,
|
|
487
|
-
fontSize: `${t}${
|
|
487
|
+
fontSize: `${t}${r}`,
|
|
488
488
|
fontWeight: e.weight ?? (e.bold ? "bold" : "normal"),
|
|
489
489
|
fontStyle: e.italic ? "italic" : "normal",
|
|
490
490
|
color: e.textColor ?? "inherit",
|
|
491
491
|
textAlign: e.align ?? "center",
|
|
492
|
-
textDecoration:
|
|
492
|
+
textDecoration: i,
|
|
493
493
|
letterSpacing: `${e.letterSpacing}px`,
|
|
494
494
|
lineHeight: e.lineSpacing,
|
|
495
|
-
whiteSpace: e.responsive || [
|
|
496
|
-
marginTop: e.position ===
|
|
497
|
-
marginBottom: e.position ===
|
|
498
|
-
textShadow: e.textShadow ? `0px 1px 2px ${
|
|
499
|
-
paddingTop:
|
|
500
|
-
paddingBottom:
|
|
495
|
+
whiteSpace: e.responsive || [_.HTML, _.Markdown].includes(e.representation ?? o.representation) ? e.wordWrap ? "pre-line" : "nowrap" : "pre-line",
|
|
496
|
+
marginTop: e.position === n.Top ? "unset" : "auto",
|
|
497
|
+
marginBottom: e.position === n.Bottom ? "unset" : "auto",
|
|
498
|
+
textShadow: e.textShadow ? `0px 1px 2px ${s.black}` : "none",
|
|
499
|
+
paddingTop: a,
|
|
500
|
+
paddingBottom: a,
|
|
501
501
|
overflow: e.responsive ? "visible" : "hidden",
|
|
502
502
|
textOverflow: e.responsive ? "initial" : "ellipsis",
|
|
503
503
|
WebkitLineClamp: e.maxLines || 1,
|
|
@@ -505,29 +505,29 @@ var U = "\n height: 100%; \n width: 100%;\n display: block;\n overflow: auto
|
|
|
505
505
|
display: e.responsive ? "initial" : "-webkit-box"
|
|
506
506
|
};
|
|
507
507
|
}, X = (e) => {
|
|
508
|
-
let t = e.borderStyle ===
|
|
508
|
+
let t = e.borderStyle === i.Line ? "solid" : "dashed";
|
|
509
509
|
return {
|
|
510
|
-
backgroundColor: (e.backgroundType ===
|
|
510
|
+
backgroundColor: (e.backgroundType === d.Image ? null : e.backgroundColor) ?? "transparent",
|
|
511
511
|
border: `${e.borderWidth}px ${t} ${e.borderColor}`,
|
|
512
512
|
borderRadius: `${e.borderRadius}px`,
|
|
513
513
|
backdropFilter: `blur(${e.backgroundBlur}px)`,
|
|
514
|
-
boxShadow: e.objectShadow ? `0px 2px 4px ${
|
|
514
|
+
boxShadow: e.objectShadow ? `0px 2px 4px ${s.alphaBlack(.25)}` : "none"
|
|
515
515
|
};
|
|
516
516
|
}, Z = (e) => ({ padding: `${e.textPadding ?? 0}px` }), de = (e, t, n) => {
|
|
517
517
|
if (!n) return {};
|
|
518
|
-
let r = e.fontSize ??
|
|
518
|
+
let r = e.fontSize ?? o.fontSize;
|
|
519
519
|
switch (t) {
|
|
520
|
-
case
|
|
521
|
-
case
|
|
522
|
-
case
|
|
520
|
+
case m.ViewportWidth: return { fontSize: `${z(r)}vw` };
|
|
521
|
+
case m.ViewportHeight: return { fontSize: `${B(r)}vh` };
|
|
522
|
+
case m.ViewportWidthHeight: return { fontSize: `min(${z(r)}vw, ${B(r)}vh)` };
|
|
523
523
|
}
|
|
524
524
|
return {};
|
|
525
|
-
},
|
|
525
|
+
}, Q = {
|
|
526
526
|
borderStyle: "none",
|
|
527
527
|
width: "100%",
|
|
528
528
|
height: "100%",
|
|
529
529
|
position: "absolute"
|
|
530
|
-
},
|
|
530
|
+
}, fe = (e) => ({
|
|
531
531
|
objectFit: e.imageFitType ?? "contain",
|
|
532
532
|
opacity: e.imageOpacity ?? 1
|
|
533
533
|
}), pe = (e) => Object.entries(e).map(([e, t]) => {
|
|
@@ -548,61 +548,61 @@ var U = "\n height: 100%; \n width: 100%;\n display: block;\n overflow: auto
|
|
|
548
548
|
${pe(e)}
|
|
549
549
|
}
|
|
550
550
|
.astrato-html-container p {
|
|
551
|
-
margin: ${t.representation ===
|
|
551
|
+
margin: ${t.representation === _.Markdown ? `${t.paragraphMargin}px` : 0};
|
|
552
552
|
}
|
|
553
553
|
.astrato-html-container li {
|
|
554
554
|
white-space: normal;
|
|
555
555
|
}`, he = (e) => `<div class="astrato-html-main-container"><div class="astrato-html-container">${e}</div></div>`, ge = (e, t, n) => {
|
|
556
|
-
let { textContent:
|
|
557
|
-
return [
|
|
556
|
+
let { textContent: r, variableId: i, textContentType: a = l.Text } = e;
|
|
557
|
+
return [l.Text, l.Delta].includes(a) ? r || n : i ? `${t[i]?.value ?? ""}` : n;
|
|
558
558
|
}, _e = (e) => e.replace(/(\r\n|\n|\r)/g, " "), $ = ({ textObjectSettings: e, scaling: t, elementSize: n }) => {
|
|
559
|
-
let r = H(),
|
|
560
|
-
t ===
|
|
561
|
-
let
|
|
562
|
-
...
|
|
559
|
+
let r = H(), i = O(), a = T(), { variablesDict: s } = D(), [c, l] = (0, N.useState)(""), u = ge(e, s, ""), f = e.fontSize ?? o.fontSize;
|
|
560
|
+
t === h.FitToObject && n ? f = ee(u, e, n) : t === h.ViewportWidth && (f = z(f));
|
|
561
|
+
let p = i?.daedalus.objectCapabilities.editable, m = e.backgroundType === d.Image, g = [_.HTML, _.Markdown].includes(e.representation ?? o.representation), v = ue(e, f, R(t)), b = X(e), x = Z(e), S = fe(e), C = {
|
|
562
|
+
...x,
|
|
563
563
|
...v,
|
|
564
564
|
fontSize: `${e.fontSize}px`
|
|
565
565
|
};
|
|
566
566
|
delete C.paddingBottom, delete C.paddingTop, delete C.display, (0, N.useEffect)(() => {
|
|
567
567
|
let t = async () => {
|
|
568
|
-
e.representation ===
|
|
568
|
+
e.representation === _.Markdown ? l(await A(u)) : l(u);
|
|
569
569
|
};
|
|
570
570
|
(async () => {
|
|
571
|
-
await t(), !
|
|
571
|
+
await t(), !m && !g && a();
|
|
572
572
|
})();
|
|
573
573
|
}, [
|
|
574
|
-
|
|
574
|
+
u,
|
|
575
575
|
e.representation,
|
|
576
|
+
m,
|
|
576
577
|
g,
|
|
577
|
-
|
|
578
|
-
c
|
|
578
|
+
a
|
|
579
579
|
]);
|
|
580
|
-
let
|
|
580
|
+
let w = j(e.linkUrl ?? o.linkUrl), E = !g && !e.responsive, k = !e.responsive && !g ? _e(c) : c;
|
|
581
581
|
return /* @__PURE__ */ (0, V.jsx)(M, {
|
|
582
|
-
title:
|
|
582
|
+
title: E ? k : null,
|
|
583
583
|
children: /* @__PURE__ */ (0, V.jsxs)("div", {
|
|
584
584
|
className: r.mainContainer,
|
|
585
|
-
style:
|
|
585
|
+
style: b,
|
|
586
586
|
"data-testid": "simple-text-object-container",
|
|
587
587
|
children: [
|
|
588
|
-
|
|
588
|
+
g ? /* @__PURE__ */ (0, V.jsx)(y, {
|
|
589
589
|
html: he(k),
|
|
590
590
|
css: me(C, e),
|
|
591
|
-
style:
|
|
592
|
-
onRendered:
|
|
591
|
+
style: Q,
|
|
592
|
+
onRendered: a
|
|
593
593
|
}) : null,
|
|
594
|
-
|
|
594
|
+
m ? /* @__PURE__ */ (0, V.jsx)("img", {
|
|
595
595
|
src: e.backgroundImage,
|
|
596
596
|
className: r.image,
|
|
597
|
-
style:
|
|
598
|
-
onLoad: () =>
|
|
599
|
-
onError: () =>
|
|
597
|
+
style: S,
|
|
598
|
+
onLoad: () => a(),
|
|
599
|
+
onError: () => a(),
|
|
600
600
|
alt: "text background"
|
|
601
601
|
}) : null,
|
|
602
|
-
|
|
602
|
+
p || !g ? /* @__PURE__ */ (0, V.jsx)(V.Fragment, { children: /* @__PURE__ */ (0, V.jsx)("div", {
|
|
603
603
|
className: r.textContainer,
|
|
604
|
-
style:
|
|
605
|
-
children: e.linkEnabled &&
|
|
604
|
+
style: x,
|
|
605
|
+
children: e.linkEnabled && w ? /* @__PURE__ */ (0, V.jsx)("div", {
|
|
606
606
|
className: r.spanElement,
|
|
607
607
|
style: v,
|
|
608
608
|
"data-ellipsis": !0,
|
|
@@ -610,12 +610,12 @@ var U = "\n height: 100%; \n width: 100%;\n display: block;\n overflow: auto
|
|
|
610
610
|
children: /* @__PURE__ */ (0, V.jsx)("a", {
|
|
611
611
|
target: "_blank",
|
|
612
612
|
rel: "noreferrer",
|
|
613
|
-
href:
|
|
613
|
+
href: w,
|
|
614
614
|
style: {
|
|
615
615
|
textDecoration: "inherit",
|
|
616
616
|
color: "inherit"
|
|
617
617
|
},
|
|
618
|
-
children:
|
|
618
|
+
children: g ? "" : k
|
|
619
619
|
})
|
|
620
620
|
}) : /* @__PURE__ */ (0, V.jsx)("div", {
|
|
621
621
|
className: r.spanElement,
|
|
@@ -625,14 +625,14 @@ var U = "\n height: 100%; \n width: 100%;\n display: block;\n overflow: auto
|
|
|
625
625
|
},
|
|
626
626
|
"data-ellipsis": !0,
|
|
627
627
|
"data-testid": "simple-text-object-content",
|
|
628
|
-
children:
|
|
628
|
+
children: g ? "" : k
|
|
629
629
|
})
|
|
630
630
|
}) }) : null
|
|
631
631
|
]
|
|
632
632
|
})
|
|
633
633
|
});
|
|
634
634
|
}, ve = x($), ye = ({ textObjectSettings: e, isRichTextScalingSet: t }) => {
|
|
635
|
-
let n =
|
|
635
|
+
let n = O(), r = v(), i = X(e), a = Z(e), o = H(), s = T(), c = e.richTextScaling ?? m.ViewportBreakpoints, l = de(e, c, t);
|
|
636
636
|
return (0, N.useEffect)(() => {
|
|
637
637
|
s();
|
|
638
638
|
}, [s]), /* @__PURE__ */ (0, V.jsx)("div", {
|
|
@@ -646,7 +646,7 @@ var U = "\n height: 100%; \n width: 100%;\n display: block;\n overflow: auto
|
|
|
646
646
|
children: /* @__PURE__ */ (0, V.jsx)(re, {
|
|
647
647
|
value: e.textContent,
|
|
648
648
|
backendAPI: n,
|
|
649
|
-
responsive: c ===
|
|
649
|
+
responsive: c === m.ViewportBreakpoints,
|
|
650
650
|
richTextResponsive: e.richTextResponsive,
|
|
651
651
|
richTextMaxLines: e.richTextMaxLines,
|
|
652
652
|
onSubmit: (t, n) => {
|
|
@@ -660,19 +660,19 @@ var U = "\n height: 100%; \n width: 100%;\n display: block;\n overflow: auto
|
|
|
660
660
|
})
|
|
661
661
|
});
|
|
662
662
|
}, be = (e) => {
|
|
663
|
-
if (!e.vSpec || !
|
|
664
|
-
let t = e.vTheme ??
|
|
663
|
+
if (!e.vSpec || !r(e.vSpec)) return null;
|
|
664
|
+
let t = e.vTheme ?? a, n = P(e.vSpec, t), i = L(n.responsive ?? o.responsive, n.scaling ?? o.scaling), s = {
|
|
665
665
|
...e,
|
|
666
|
-
scaling:
|
|
666
|
+
scaling: i,
|
|
667
667
|
textObjectSettings: n
|
|
668
668
|
};
|
|
669
|
-
if (n.textContentType ===
|
|
669
|
+
if (n.textContentType === l.Delta) return /* @__PURE__ */ (0, V.jsx)(ye, {
|
|
670
670
|
textObjectSettings: n,
|
|
671
671
|
isRichTextScalingSet: e.vSpec?.simpleTextObjectSettings?.richTextScaling !== void 0
|
|
672
672
|
});
|
|
673
|
-
switch (
|
|
674
|
-
case
|
|
675
|
-
default: return /* @__PURE__ */ (0, V.jsx)($, { ...
|
|
673
|
+
switch (i) {
|
|
674
|
+
case h.FitToObject: return /* @__PURE__ */ (0, V.jsx)(ve, { ...s });
|
|
675
|
+
default: return /* @__PURE__ */ (0, V.jsx)($, { ...s });
|
|
676
676
|
}
|
|
677
677
|
};
|
|
678
678
|
export { be as SimpleTextObject };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { a as e, o as t, t as n } from "./rolldown-runtime-DleVn1XH.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import "./logger-
|
|
5
|
-
import {
|
|
6
|
-
import { t as j } from "./coloring-
|
|
2
|
+
import { $c as r, Ao as i, Oo as a, Sa as o, Xc as s, _n as c, di as l, hl as u, jo as d, ko as f } from "./visualization-filters-B9qik5_K.js";
|
|
3
|
+
import { Mt as p, P as m, Ur as h, an as g, f as _, fi as v, s as y } from "./utils-CUKgR7it.js";
|
|
4
|
+
import "./logger-Cioob-QV.js";
|
|
5
|
+
import { F as b, I as x, It as S, Mn as C, P as w, _ as T, _t as E, i as D, un as O, v as k, wn as A } from "./escobar-CMvphKSK.js";
|
|
6
|
+
import { t as j } from "./coloring-Cd6p0GQJ.js";
|
|
7
7
|
import { n as M, t as N } from "./src-BOS6SqkZ.js";
|
|
8
8
|
var P = /* @__PURE__ */ n(((e, t) => {
|
|
9
9
|
(function(e, t, n) {
|
|
@@ -285,21 +285,21 @@ var P = /* @__PURE__ */ n(((e, t) => {
|
|
|
285
285
|
})), z = /* @__PURE__ */ n(((e, t) => {
|
|
286
286
|
var n = P(), r = ee(), i = te(), a = F(), o = I(), s = ne(), c = R();
|
|
287
287
|
c.alea = n, c.xor128 = r, c.xorwow = i, c.xorshift7 = a, c.xor4096 = o, c.tychei = s, t.exports = c;
|
|
288
|
-
})), B = /* @__PURE__ */ t(
|
|
288
|
+
})), B = /* @__PURE__ */ t(v()), V = .7, re = 12 * V, H = { RenderDone: "render-done" }, U = { Minimum: "Minimum" }, W = {
|
|
289
289
|
collectionKey: "coll",
|
|
290
290
|
measureValue: "size"
|
|
291
291
|
}, G = (e, t, n) => {
|
|
292
|
-
let r = e.dimensions.filter((e) =>
|
|
292
|
+
let r = e.dimensions.filter((e) => l(e)), i = e.measures.filter((e) => l(e)), a = k((e.supportingMeasures ?? []).filter((e) => l(e)));
|
|
293
293
|
if (!r[0] || !i[0]) return n;
|
|
294
|
-
let
|
|
294
|
+
let o = u(r[0].dataItem), s = u(i[0].dataItem), c = [{
|
|
295
295
|
key: W.collectionKey,
|
|
296
296
|
data: {
|
|
297
297
|
extract: [{
|
|
298
|
-
field:
|
|
298
|
+
field: o,
|
|
299
299
|
props: {
|
|
300
|
-
[W.measureValue]: { field:
|
|
301
|
-
[
|
|
302
|
-
...
|
|
300
|
+
[W.measureValue]: { field: s },
|
|
301
|
+
[s]: { field: s },
|
|
302
|
+
...a
|
|
303
303
|
}
|
|
304
304
|
}],
|
|
305
305
|
filter: (e) => e[W.measureValue].value != null && !isNaN(e[W.measureValue].value)
|
|
@@ -307,24 +307,24 @@ var P = /* @__PURE__ */ n(((e, t) => {
|
|
|
307
307
|
}];
|
|
308
308
|
return {
|
|
309
309
|
...n,
|
|
310
|
-
collections:
|
|
310
|
+
collections: c
|
|
311
311
|
};
|
|
312
312
|
}, K = {
|
|
313
313
|
size: "size",
|
|
314
314
|
gradient: "gradient"
|
|
315
315
|
}, q = (e, t, n) => {
|
|
316
|
-
let r = e.dimensions.filter((e) =>
|
|
316
|
+
let r = e.dimensions.filter((e) => l(e)), i = e.measures.filter((e) => l(e));
|
|
317
317
|
if (!r[0] || !i[0]) return n;
|
|
318
|
-
let
|
|
319
|
-
return
|
|
318
|
+
let a = { [K.size]: { data: { field: u(i[0].dataItem) } } };
|
|
319
|
+
return a = S(e, t, a), {
|
|
320
320
|
...n,
|
|
321
|
-
scales:
|
|
321
|
+
scales: a
|
|
322
322
|
};
|
|
323
|
-
}, J = (e, t, n, r, i, o, s,
|
|
324
|
-
let i = Object.keys(t.data).find((n) => t.data[n]?.source?.field ===
|
|
323
|
+
}, J = (e, t, n, r, i, o, s, d) => e.filter(l).map((e, r) => {
|
|
324
|
+
let i = Object.keys(t.data).find((n) => t.data[n]?.source?.field === u(e.dataItem)), o = (t.data[String(i)] || t.data[`measure${r}`])?.value, s = c(e) || e.label || e.dataItem.name || "", l = d && !a(e.formatter) ? E(e.formatter) : e.formatter;
|
|
325
325
|
return {
|
|
326
326
|
label: s,
|
|
327
|
-
value:
|
|
327
|
+
value: l ? n.formatter(l)(o, void 0, t.data) : o
|
|
328
328
|
};
|
|
329
329
|
}), Y = (e, t, n, r, i) => {
|
|
330
330
|
let a = {
|
|
@@ -334,16 +334,16 @@ var P = /* @__PURE__ */ n(((e, t) => {
|
|
|
334
334
|
type: "bounds"
|
|
335
335
|
}
|
|
336
336
|
};
|
|
337
|
-
return a.extract =
|
|
338
|
-
}, ie = (e, t, n,
|
|
339
|
-
let
|
|
337
|
+
return a.extract = b(e, t, J, x), w(e, t, n, a, "tooltip", i);
|
|
338
|
+
}, ie = (e, t, n, i, a, o) => {
|
|
339
|
+
let s = e.measures.filter((e) => l(e)), c = new j(e, t, a?.[0]?.itemsNotAffectedByFiltering), d = u(s[0].dataItem), f = O([""], o);
|
|
340
340
|
f?.trigger.forEach((e) => e.propagation = "stop");
|
|
341
341
|
let p = {
|
|
342
342
|
key: "word-cloud",
|
|
343
|
-
type:
|
|
343
|
+
type: C.WordCloud,
|
|
344
344
|
data: { collection: W.collectionKey },
|
|
345
345
|
on: { [H.RenderDone]() {
|
|
346
|
-
|
|
346
|
+
o?.onRenderDone?.();
|
|
347
347
|
} },
|
|
348
348
|
layout: { minimumLayoutMode: U.Minimum },
|
|
349
349
|
settings: {
|
|
@@ -358,10 +358,10 @@ var P = /* @__PURE__ */ n(((e, t) => {
|
|
|
358
358
|
scale: K.size,
|
|
359
359
|
ref: W.measureValue
|
|
360
360
|
},
|
|
361
|
-
fill:
|
|
362
|
-
ref: e.coloring?.type ===
|
|
363
|
-
dataItemId: e.coloring?.type ===
|
|
364
|
-
overwriteSources: [
|
|
361
|
+
fill: c.getColorDefinition({
|
|
362
|
+
ref: e.coloring?.type === r.Gradient ? W.measureValue : c.MAIN_FIELD,
|
|
363
|
+
dataItemId: e.coloring?.type === r.Single ? d : void 0,
|
|
364
|
+
overwriteSources: [c.MAIN_FIELD]
|
|
365
365
|
})
|
|
366
366
|
}
|
|
367
367
|
},
|
|
@@ -371,7 +371,7 @@ var P = /* @__PURE__ */ n(((e, t) => {
|
|
|
371
371
|
...n,
|
|
372
372
|
components: [...n.components, p]
|
|
373
373
|
};
|
|
374
|
-
}, ae = class extends
|
|
374
|
+
}, ae = class extends T {
|
|
375
375
|
onRenderDone;
|
|
376
376
|
onChartUpdated;
|
|
377
377
|
constructor(e) {
|
|
@@ -386,7 +386,7 @@ var P = /* @__PURE__ */ n(((e, t) => {
|
|
|
386
386
|
};
|
|
387
387
|
}
|
|
388
388
|
preCompile(e) {
|
|
389
|
-
let t = e.dimensions.filter((e) =>
|
|
389
|
+
let t = e.dimensions.filter((e) => l(e)), n = e.measures.filter((e) => l(e)), r = t[0], i = n[0];
|
|
390
390
|
if (!r || !i) throw Error("Word cloud w/o a dimension or measure is not supported.");
|
|
391
391
|
}
|
|
392
392
|
postCompile(e) {
|
|
@@ -637,7 +637,7 @@ function pe(e, t, n) {
|
|
|
637
637
|
}
|
|
638
638
|
function me(e) {
|
|
639
639
|
return e.map((e) => ({
|
|
640
|
-
type:
|
|
640
|
+
type: A.Text,
|
|
641
641
|
text: e.text,
|
|
642
642
|
x: e.x,
|
|
643
643
|
y: e.y,
|
|
@@ -658,9 +658,9 @@ function me(e) {
|
|
|
658
658
|
}
|
|
659
659
|
var Q = {
|
|
660
660
|
fontFamily: "Arial",
|
|
661
|
-
fontScaling:
|
|
662
|
-
fontStyle:
|
|
663
|
-
fontWeight:
|
|
661
|
+
fontScaling: f.linear,
|
|
662
|
+
fontStyle: i.normal,
|
|
663
|
+
fontWeight: d.normal,
|
|
664
664
|
seed: 1,
|
|
665
665
|
maxNumChars: 32,
|
|
666
666
|
word: {
|
|
@@ -716,22 +716,22 @@ var Q = {
|
|
|
716
716
|
}
|
|
717
717
|
};
|
|
718
718
|
function ge(e) {
|
|
719
|
-
e.component(
|
|
719
|
+
e.component(C.WordCloud, he);
|
|
720
720
|
}
|
|
721
|
-
var $ =
|
|
722
|
-
let
|
|
723
|
-
...
|
|
721
|
+
var $ = h(), _e = () => {}, ve = p(({ vSpec: e, vTheme: t, data: n, elementSize: r, vizProperties: i }) => {
|
|
722
|
+
let a = m(), c = _(), [l] = (0, B.useState)(() => new ae(c)), { activeKey: u } = y(), d = {
|
|
723
|
+
...i,
|
|
724
724
|
valuePickerMode: !!u
|
|
725
|
-
}, f = t ||
|
|
725
|
+
}, f = t || o, p = l.compile(e, f, n, r, {
|
|
726
726
|
...d,
|
|
727
727
|
onRenderDone: c
|
|
728
|
-
},
|
|
729
|
-
return p ? /* @__PURE__ */ (0, $.jsx)(
|
|
728
|
+
}, s.WordCloud, a);
|
|
729
|
+
return p ? /* @__PURE__ */ (0, $.jsx)(g.Provider, {
|
|
730
730
|
value: _e,
|
|
731
|
-
children: /* @__PURE__ */ (0, $.jsx)(
|
|
731
|
+
children: /* @__PURE__ */ (0, $.jsx)(D, {
|
|
732
732
|
config: d,
|
|
733
733
|
definition: p,
|
|
734
|
-
size:
|
|
734
|
+
size: r,
|
|
735
735
|
vSpec: e,
|
|
736
736
|
escobarPlugins: [ge]
|
|
737
737
|
})
|