@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.
Files changed (135) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/README.md +129 -4
  3. package/VISUALIZATION_DEFINITIONS.md +3 -1
  4. package/chunks/{Button-CPG4WX8X.js → Button-CQdoKSXX.js} +3 -3
  5. package/chunks/{CircularProgress-PSLW8HmD.js → CircularProgress-DpT1lwWw.js} +18 -18
  6. package/chunks/FieldTypeIcon-Cg4F9Q5D.js +22 -0
  7. package/chunks/{LinearProgress-KQ2EQlGL.js → LinearProgress-B7S0Q26A.js} +8 -8
  8. package/chunks/{MenuOption-B-6K7kks.js → MenuOption-DpKFJxmo.js} +133 -133
  9. package/chunks/{Title-BmvwZYkh.js → Title-m5damhc0.js} +10 -10
  10. package/chunks/{_createAggregator-CFmH6gUN.js → _createAggregator-BA8_iU9q.js} +7 -7
  11. package/chunks/{app-filter-bar.compiler-BY5-T16I.js → app-filter-bar.compiler--T4Qz3Wu.js} +3 -3
  12. package/chunks/{bar-layout-BNou0dZF.js → bar-layout-OFhxn2Go.js} +2 -2
  13. package/chunks/{bar.compiler-BkhO7sDd.js → bar.compiler-hWZBYYvV.js} +62 -62
  14. package/chunks/{builder-CNjuqD2z.js → builder-7w_bgV_h.js} +31 -31
  15. package/chunks/{coloring-BOiP0rmn.js → coloring-Cd6p0GQJ.js} +88 -83
  16. package/chunks/{createSimplePaletteValueFilter-BkgQ7MFE.js → createSimplePaletteValueFilter-CiJT8s1s.js} +55 -55
  17. package/chunks/defaults-CMFqXvaJ.js +3 -0
  18. package/chunks/{definitions-AS9GcavE.js → definitions-DTauTjIX.js} +412 -406
  19. package/chunks/{escobar-cQ1eQ64G.js → escobar-CMvphKSK.js} +4787 -4717
  20. package/chunks/{extend-preset-BlCbcXKR.js → extend-preset-BpXttHFk.js} +371 -372
  21. package/chunks/{filter.compiler-CI7dDNM1.js → filter.compiler-DOGFweJz.js} +4 -4
  22. package/chunks/{filtering-Dwi7hDPZ.js → filtering-NOnDcGbo.js} +183 -183
  23. package/chunks/handlers-CyYFSfhM.js +15393 -0
  24. package/chunks/{icon-picker-styles-CBlxEu3s.js → icon-picker-styles-DuSERhBU.js} +2 -2
  25. package/chunks/{isEqual-BdHo6wqq.js → isEqual-4f8yUUtC.js} +1 -1
  26. package/chunks/{isFocusVisible-C1nlVUwL.js → isFocusVisible-Czm70MGc.js} +1 -1
  27. package/chunks/line.compiler-B-4H55_T.js +203 -0
  28. package/chunks/{logger-Bc-DqDM_.js → logger-Cioob-QV.js} +71 -70
  29. package/chunks/{map.compiler-CRO6XpdI.js → map.compiler-Cv5V6EhF.js} +13 -13
  30. package/chunks/measure-axis-label-format-COy8U_dd.js +27 -0
  31. package/chunks/{measure-format-default-B6ghxih7.js → measure-format-default-B_kuGSzi.js} +7 -3
  32. package/chunks/{metadata-CtkvZEhS.js → metadata-dGSe5UWy.js} +5 -5
  33. package/chunks/{number.compiler-kV4lobCZ.js → number.compiler-D7nMcEMv.js} +8 -8
  34. package/chunks/{operations-COl9wgqi.js → operations-CgfehCad.js} +11462 -11223
  35. package/chunks/{range-CMJ5yc5Z.js → range-Dmwp9kVB.js} +2 -2
  36. package/chunks/{react-dom-BjsCbYHq.js → react-dom-CfuL-m78.js} +24 -24
  37. package/chunks/{render-wrappers-DFHi3Wkr.js → render-wrappers--g-zPFBW.js} +1 -1
  38. package/chunks/{requirements-C5YLmHKe.js → requirements-DHayNJ2C.js} +83 -83
  39. package/chunks/{shared-DyqxOie0.js → shared-DoEN9nNM.js} +282 -277
  40. package/chunks/standalone-B3hRGgYi.js +773 -0
  41. package/chunks/{standalone-BYK2U0Vd.js → standalone-BPNXgFft.js} +380 -380
  42. package/chunks/standalone-BPTT8XEu.js +424 -0
  43. package/chunks/standalone-BgAeHROc.js +2 -0
  44. package/chunks/{standalone-I5kRIsp8.js → standalone-BkQxag7M.js} +81 -81
  45. package/chunks/{standalone-DYVYccmY.js → standalone-Bxa3x6dg.js} +913 -913
  46. package/chunks/standalone-C0If-V6O.js +773 -0
  47. package/chunks/standalone-C1TOyflX.js +287 -0
  48. package/chunks/{standalone-DaNxWIKn.js → standalone-CE5PwJN0.js} +21 -21
  49. package/chunks/{standalone-K2OvRAQM.js → standalone-CG7IFN6n.js} +121 -121
  50. package/chunks/{standalone-Db_HNuWx.js → standalone-CKlgGu80.js} +44 -44
  51. package/chunks/standalone-CNf-oA2U.js +355 -0
  52. package/chunks/{standalone-9jrQ3zJT.js → standalone-CXPdWFlw.js} +10 -10
  53. package/chunks/{standalone-c4CPN6ug.js → standalone-Cf0_5tbu.js} +5783 -5785
  54. package/chunks/{standalone-Bp4G3MDx.js → standalone-DMi4-Vp3.js} +118 -118
  55. package/chunks/{standalone-BrjtMIdd.js → standalone-DTEX67C8.js} +108 -108
  56. package/chunks/{standalone-iOnJhCvA.js → standalone-DU46-kYv.js} +181 -181
  57. package/chunks/standalone-Dbn3jSH6.js +690 -0
  58. package/chunks/{standalone-CS5VGoja.js → standalone-DdcAL_k_.js} +833 -837
  59. package/chunks/standalone-DwCIA0UG.js +1057 -0
  60. package/chunks/standalone-Dz13tl3P.js +357 -0
  61. package/chunks/{standalone-CIjNYyya.js → standalone-H9GFzFk_.js} +937 -938
  62. package/chunks/{standalone-ChfEHb28.js → standalone-MduR0qre.js} +1279 -1279
  63. package/chunks/standalone-ejTz66P3.js +2 -0
  64. package/chunks/{standalone-D9k5SCd8.js → standalone-keB-0wK3.js} +189 -189
  65. package/chunks/{standalone-Bsfz5vnJ.js → standalone-nnkuQd0K.js} +35 -35
  66. package/chunks/standalone-vGGR6Vcn.js +6 -0
  67. package/chunks/{table.compiler-CMH_dtYs.js → table.compiler-mS4UvhLT.js} +12 -12
  68. package/chunks/theme-MYp6Rj1J.js +232 -0
  69. package/chunks/{useFieldName-BfxBzhhH.js → useFieldName-AdSak4Ch.js} +1 -1
  70. package/chunks/{utils-BdJrEeIQ.js → utils-CUKgR7it.js} +3265 -3133
  71. package/chunks/{view-Q-_XIrWE.js → view-BeYwpcVD.js} +478 -478
  72. package/chunks/{visualization-filters-BwS0xUqs.js → visualization-filters-B9qik5_K.js} +2706 -2384
  73. package/chunks/{with-html-element-D_ooGNWI.js → with-html-element-1GSeLT59.js} +3888 -3870
  74. package/definitions.js +2 -2
  75. package/docs/operations/astrato-app-filter-bar.md +1 -1
  76. package/docs/operations/bar.md +115 -32
  77. package/docs/operations/combo.md +50 -17
  78. package/docs/operations/date-picker.md +4 -4
  79. package/docs/operations/distribution-gauge.md +18 -16
  80. package/docs/operations/dot.md +107 -24
  81. package/docs/operations/filter.md +10 -8
  82. package/docs/operations/gauge.md +20 -18
  83. package/docs/operations/heatMap.md +73 -21
  84. package/docs/operations/histogram.md +45 -12
  85. package/docs/operations/iframe.md +1 -1
  86. package/docs/operations/image.md +1 -1
  87. package/docs/operations/index.md +11 -11
  88. package/docs/operations/line.md +57 -24
  89. package/docs/operations/map.md +16 -16
  90. package/docs/operations/number.md +10 -9
  91. package/docs/operations/pie.md +23 -21
  92. package/docs/operations/radar.md +13 -11
  93. package/docs/operations/sankey.md +19 -17
  94. package/docs/operations/scatter.md +111 -28
  95. package/docs/operations/shape.md +5 -5
  96. package/docs/operations/simpleTextObject.md +4 -4
  97. package/docs/operations/slider.md +1 -1
  98. package/docs/operations/table.md +27 -25
  99. package/docs/operations/tree.md +5 -3
  100. package/docs/operations/treemap.md +70 -18
  101. package/docs/operations/waterfall.md +40 -7
  102. package/docs/operations/word-cloud.md +69 -17
  103. package/getters.js +2 -2
  104. package/index.js +474 -525
  105. package/metadata.js +2 -2
  106. package/operations.js +24 -17
  107. package/package.json +71 -72
  108. package/src/definitions/model/definitions/descriptors/descriptor-metadata.d.ts +1 -1
  109. package/src/definitions/model/definitions/schema-registry.d.ts +13 -12
  110. package/src/definitions/model/definitions/schemas/bar.schema.d.ts +2 -2
  111. package/src/definitions/model/definitions/schemas/common.schema.d.ts +5 -4
  112. package/src/definitions/model/definitions/schemas/line.schema.d.ts +3 -2
  113. package/src/definitions/model/definitions/schemas/number.schema.d.ts +1 -1
  114. package/src/definitions/model/definitions/schemas/table.schema.d.ts +14 -14
  115. package/src/index.d.ts +1 -1
  116. package/src/operations/index.d.ts +11 -1
  117. package/src/types.d.ts +166 -1
  118. package/chunks/FieldTypeIcon-5k2bkqd0.js +0 -22
  119. package/chunks/category-axis-D1OVyMrr.js +0 -20
  120. package/chunks/color-rules-DYJL4fIW.js +0 -15
  121. package/chunks/color-settings-DJFoFTip.js +0 -5
  122. package/chunks/defaults-B5_8S-J-.js +0 -3
  123. package/chunks/handlers-C63NVo7i.js +0 -15433
  124. package/chunks/line.compiler-DCv3h42f.js +0 -198
  125. package/chunks/standalone-06i1wmIX.js +0 -6
  126. package/chunks/standalone-B6zUvxNQ.js +0 -357
  127. package/chunks/standalone-Be5APcVv.js +0 -762
  128. package/chunks/standalone-BuXpKMnc.js +0 -2
  129. package/chunks/standalone-CUGt2FUF.js +0 -2
  130. package/chunks/standalone-CnF2OYLQ.js +0 -355
  131. package/chunks/standalone-CznEEiq3.js +0 -422
  132. package/chunks/standalone-DcuE8KBa.js +0 -287
  133. package/chunks/standalone-pCrzBiTy.js +0 -773
  134. package/chunks/standalone-qrZaimgC.js +0 -689
  135. 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 { Cr as n, Ja as r, Mo as i, Na as a, Ya as o, _i as s, ca as c, fa as l, jo as u, la as d, oa as f, qa as p, sa as m, ss as h, xs as g, yc as _ } from "./visualization-filters-BwS0xUqs.js";
3
- import { B as v, Br as y, G as b, Mt as x, Qt as S, Sn as C, bn as w, cn as T, f as E, li as D, o as O } from "./utils-BdJrEeIQ.js";
4
- import { wt as k } from "./handlers-C63NVo7i.js";
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-BmvwZYkh.js";
7
- var N = /* @__PURE__ */ e(D()), P = (e, t) => {
8
- let n = e?.simpleTextObjectSettings || {}, i = n.fontFamily ?? s.fontFamily, a = n.textColor ?? s.textColor, o = t ? c(t, i) : i, l = t ? m(t, a) : a, { borderEnabled: u = s.borderEnabled, borderRadius: d = s.borderRadius, borderWidth: f = s.borderWidth } = n;
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 ?? r.Text,
11
- textContent: n.textContent ?? s.textContent,
12
- variableId: n.variableId ?? s.variableId,
13
- representation: n.representation ?? s.representation,
14
- paragraphMargin: n.paragraphMargin ?? s.paragraphMargin,
15
- textColor: l,
16
- fontFamily: o,
17
- fontSize: n.fontSize ?? s.fontSize,
18
- bold: n.bold ?? s.bold,
19
- weight: n.weight ?? s.weight,
20
- italic: n.italic ?? s.italic,
21
- underlined: n.underlined ?? s.underlined,
22
- strikethrough: n.strikethrough ?? s.strikethrough,
23
- letterSpacing: n.letterSpacing ?? s.letterSpacing,
24
- lineSpacing: n.lineSpacing ?? s.lineSpacing,
25
- wordWrap: n.wordWrap ?? s.wordWrap,
26
- linkEnabled: n.linkEnabled ?? s.linkEnabled,
27
- linkUrl: n.linkUrl ?? s.linkUrl,
28
- backgroundType: n.backgroundType ?? s.backgroundType,
29
- backgroundColor: n.backgroundColor ?? s.backgroundColor,
30
- imageOpacity: n.imageOpacity ?? s.imageOpacity,
31
- backgroundBlur: n.backgroundBlur ?? s.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 ?? s.imageFitType,
34
- borderEnabled: u,
35
- borderWidth: u ?? !!f ? f : 0,
36
- borderRadius: u ?? !!f ? d : 0,
37
- borderStyle: n.borderStyle ?? s.borderStyle,
38
- borderColor: n.borderColor ?? s.borderColor,
39
- textPadding: n.textPadding ?? s.textPadding,
40
- textShadow: n.textShadow ?? s.textShadow,
41
- objectShadow: n.objectShadow ?? s.objectShadow,
42
- responsive: n.responsive ?? s.responsive,
43
- scaling: n.scaling ?? s.scaling,
44
- maxLines: n.maxLines ?? s.maxLines,
45
- position: n.position ?? s.position,
46
- align: n.align ?? s.align,
47
- richTextScaling: n.richTextScaling ?? s.richTextScaling,
48
- richTextResponsive: n.richTextResponsive ?? s.richTextResponsive,
49
- richTextMaxLines: n.richTextMaxLines ?? s.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 ?? s.fontSize, i = t.letterSpacing ?? s.letterSpacing;
52
+ let r = t.fontSize ?? o.fontSize, i = t.letterSpacing ?? o.letterSpacing;
53
53
  if (n.width === 0) return r;
54
- let a = C(), o = 0, c = 0, l = r;
54
+ let a = S(), s = 0, c = 0, l = r;
55
55
  for (; c <= l;) {
56
- let r = Math.floor((c + l) / 2), { width: s, height: u } = a.getTextSize({
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((s + 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 : (o = r, c = 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(), o;
67
- }, L = (e, t) => e ? t : i.None, R = (e) => e === i.ViewportWidth ? "vw" : "px", ee = (e, t, n) => {
68
- let r = t.textPadding ?? s.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 = y(), ne = b({
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: T({
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: d("Roboto"),
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
- d("Roboto");
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 r = J(), i = n(), a = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, o = RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]", "g");
418
- function s(e) {
419
- return e = i(e), e && e.replace(a, r).replace(o, "");
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 = s;
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 r = ie(), i = ae(), a = n(), o = oe();
467
- function s(e, t, n) {
468
- return e = a(e), t = n ? void 0 : t, t === void 0 ? i(e) ? o(e) : r(e) : e.match(t) || [];
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 = s;
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 = s.fontSize, n = "px") => {
484
- let r = [e.underlined ? "underline" : void 0, e.strikethrough ? "line-through" : void 0].filter((e) => !!e).join(" "), i = Math.ceil(t / 10);
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}${n}`,
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: r,
492
+ textDecoration: i,
493
493
  letterSpacing: `${e.letterSpacing}px`,
494
494
  lineHeight: e.lineSpacing,
495
- whiteSpace: e.responsive || [o.HTML, o.Markdown].includes(e.representation ?? s.representation) ? e.wordWrap ? "pre-line" : "nowrap" : "pre-line",
496
- marginTop: e.position === g.Top ? "unset" : "auto",
497
- marginBottom: e.position === g.Bottom ? "unset" : "auto",
498
- textShadow: e.textShadow ? `0px 1px 2px ${a.black}` : "none",
499
- paddingTop: i,
500
- paddingBottom: i,
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 === h.Line ? "solid" : "dashed";
508
+ let t = e.borderStyle === i.Line ? "solid" : "dashed";
509
509
  return {
510
- backgroundColor: (e.backgroundType === p.Image ? null : e.backgroundColor) ?? "transparent",
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 ${a.alphaBlack(.25)}` : "none"
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 ?? s.fontSize;
518
+ let r = e.fontSize ?? o.fontSize;
519
519
  switch (t) {
520
- case u.ViewportWidth: return { fontSize: `${z(r)}vw` };
521
- case u.ViewportHeight: return { fontSize: `${B(r)}vh` };
522
- case u.ViewportWidthHeight: return { fontSize: `min(${z(r)}vw, ${B(r)}vh)` };
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
- }, fe = {
525
+ }, Q = {
526
526
  borderStyle: "none",
527
527
  width: "100%",
528
528
  height: "100%",
529
529
  position: "absolute"
530
- }, Q = (e) => ({
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 === o.Markdown ? `${t.paragraphMargin}px` : 0};
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: i, variableId: a, textContentType: o = r.Text } = e;
557
- return [r.Text, r.Delta].includes(o) ? i || n : a ? `${t[a]?.value ?? ""}` : n;
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(), a = S(), c = E(), { variablesDict: l } = O(), [u, d] = (0, N.useState)(""), f = ge(e, l, ""), m = e.fontSize ?? s.fontSize;
560
- t === i.FitToObject && n ? m = ee(f, e, n) : t === i.ViewportWidth && (m = z(m));
561
- let h = a?.daedalus.objectCapabilities.editable, g = e.backgroundType === p.Image, _ = [o.HTML, o.Markdown].includes(e.representation ?? s.representation), v = ue(e, m, R(t)), y = X(e), b = Z(e), x = Q(e), C = {
562
- ...b,
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 === o.Markdown ? d(await A(f)) : d(f);
568
+ e.representation === _.Markdown ? l(await A(u)) : l(u);
569
569
  };
570
570
  (async () => {
571
- await t(), !g && !_ && c();
571
+ await t(), !m && !g && a();
572
572
  })();
573
573
  }, [
574
- f,
574
+ u,
575
575
  e.representation,
576
+ m,
576
577
  g,
577
- _,
578
- c
578
+ a
579
579
  ]);
580
- let T = j(e.linkUrl ?? s.linkUrl), D = !_ && !e.responsive, k = !e.responsive && !_ ? _e(u) : u;
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: D ? k : null,
582
+ title: E ? k : null,
583
583
  children: /* @__PURE__ */ (0, V.jsxs)("div", {
584
584
  className: r.mainContainer,
585
- style: y,
585
+ style: b,
586
586
  "data-testid": "simple-text-object-container",
587
587
  children: [
588
- _ ? /* @__PURE__ */ (0, V.jsx)(w, {
588
+ g ? /* @__PURE__ */ (0, V.jsx)(y, {
589
589
  html: he(k),
590
590
  css: me(C, e),
591
- style: fe,
592
- onRendered: c
591
+ style: Q,
592
+ onRendered: a
593
593
  }) : null,
594
- g ? /* @__PURE__ */ (0, V.jsx)("img", {
594
+ m ? /* @__PURE__ */ (0, V.jsx)("img", {
595
595
  src: e.backgroundImage,
596
596
  className: r.image,
597
- style: x,
598
- onLoad: () => c(),
599
- onError: () => c(),
597
+ style: S,
598
+ onLoad: () => a(),
599
+ onError: () => a(),
600
600
  alt: "text background"
601
601
  }) : null,
602
- h || !_ ? /* @__PURE__ */ (0, V.jsx)(V.Fragment, { children: /* @__PURE__ */ (0, V.jsx)("div", {
602
+ p || !g ? /* @__PURE__ */ (0, V.jsx)(V.Fragment, { children: /* @__PURE__ */ (0, V.jsx)("div", {
603
603
  className: r.textContainer,
604
- style: b,
605
- children: e.linkEnabled && T ? /* @__PURE__ */ (0, V.jsx)("div", {
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: T,
613
+ href: w,
614
614
  style: {
615
615
  textDecoration: "inherit",
616
616
  color: "inherit"
617
617
  },
618
- children: _ ? "" : k
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: _ ? "" : k
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 = S(), r = v(), i = X(e), a = Z(e), o = H(), s = E(), c = e.richTextScaling ?? u.ViewportBreakpoints, l = de(e, c, t);
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 === u.ViewportBreakpoints,
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 || !_(e.vSpec)) return null;
664
- let t = e.vTheme ?? l, n = P(e.vSpec, t), a = L(n.responsive ?? s.responsive, n.scaling ?? s.scaling), o = {
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: a,
666
+ scaling: i,
667
667
  textObjectSettings: n
668
668
  };
669
- if (n.textContentType === r.Delta) return /* @__PURE__ */ (0, V.jsx)(ye, {
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 (a) {
674
- case i.FitToObject: return /* @__PURE__ */ (0, V.jsx)(ve, { ...o });
675
- default: return /* @__PURE__ */ (0, V.jsx)($, { ...o });
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 { Cc as r, Ec as i, Hc as a, ao as o, fa as s, io as c, ln as l, oo as u, ri as d, ro as f } from "./visualization-filters-BwS0xUqs.js";
3
- import { Br as p, Mt as m, P as h, f as g, li as _, nn as v, s as y } from "./utils-BdJrEeIQ.js";
4
- import "./logger-Bc-DqDM_.js";
5
- import { Cn as b, L as x, R as S, _ as C, bt as w, i as T, jn as E, ln as D, v as O, z as k, zt as A } from "./escobar-cQ1eQ64G.js";
6
- import { t as j } from "./coloring-BOiP0rmn.js";
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(_()), V = .7, re = 12 * V, H = { RenderDone: "render-done" }, U = { Minimum: "Minimum" }, W = {
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) => d(e)), i = e.measures.filter((e) => d(e)), o = O((e.supportingMeasures ?? []).filter((e) => d(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 s = a(r[0].dataItem), c = a(i[0].dataItem), l = [{
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: s,
298
+ field: o,
299
299
  props: {
300
- [W.measureValue]: { field: c },
301
- [c]: { field: c },
302
- ...o
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: l
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) => d(e)), i = e.measures.filter((e) => d(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 o = { [K.size]: { data: { field: a(i[0].dataItem) } } };
319
- return o = A(e, t, o), {
318
+ let a = { [K.size]: { data: { field: u(i[0].dataItem) } } };
319
+ return a = S(e, t, a), {
320
320
  ...n,
321
- scales: o
321
+ scales: a
322
322
  };
323
- }, J = (e, t, n, r, i, o, s, c) => e.filter(d).map((e, r) => {
324
- let i = Object.keys(t.data).find((n) => t.data[n]?.source?.field === a(e.dataItem)), o = (t.data[String(i)] || t.data[`measure${r}`])?.value, s = l(e) || e.label || e.dataItem.name || "", u = c && !f(e.formatter) ? w(e.formatter) : e.formatter;
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: u ? n.formatter(u)(o, void 0, t.data) : o
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 = S(e, t, J, k), x(e, t, n, a, "tooltip", i);
338
- }, ie = (e, t, n, r, o, s) => {
339
- let c = e.measures.filter((e) => d(e)), l = new j(e, t, o?.[0]?.itemsNotAffectedByFiltering), u = a(c[0].dataItem), f = D([""], s);
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: E.WordCloud,
343
+ type: C.WordCloud,
344
344
  data: { collection: W.collectionKey },
345
345
  on: { [H.RenderDone]() {
346
- s?.onRenderDone?.();
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: l.getColorDefinition({
362
- ref: e.coloring?.type === i.Gradient ? W.measureValue : l.MAIN_FIELD,
363
- dataItemId: e.coloring?.type === i.Single ? u : void 0,
364
- overwriteSources: [l.MAIN_FIELD]
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 C {
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) => d(e)), n = e.measures.filter((e) => d(e)), r = t[0], i = n[0];
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: b.Text,
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: c.linear,
662
- fontStyle: o.normal,
663
- fontWeight: u.normal,
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(E.WordCloud, he);
719
+ e.component(C.WordCloud, he);
720
720
  }
721
- var $ = p(), _e = () => {}, ve = m(({ vSpec: e, vTheme: t, data: n, elementSize: i, vizProperties: a }) => {
722
- let o = h(), c = g(), [l] = (0, B.useState)(() => new ae(c)), { activeKey: u } = y(), d = {
723
- ...a,
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 || s, p = l.compile(e, f, n, i, {
725
+ }, f = t || o, p = l.compile(e, f, n, r, {
726
726
  ...d,
727
727
  onRenderDone: c
728
- }, r.WordCloud, o);
729
- return p ? /* @__PURE__ */ (0, $.jsx)(v.Provider, {
728
+ }, s.WordCloud, a);
729
+ return p ? /* @__PURE__ */ (0, $.jsx)(g.Provider, {
730
730
  value: _e,
731
- children: /* @__PURE__ */ (0, $.jsx)(T, {
731
+ children: /* @__PURE__ */ (0, $.jsx)(D, {
732
732
  config: d,
733
733
  definition: p,
734
- size: i,
734
+ size: r,
735
735
  vSpec: e,
736
736
  escobarPlugins: [ge]
737
737
  })