@astrato-io/visualizations 0.10.1 → 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 (143) hide show
  1. package/CHANGELOG.md +30 -1
  2. package/README.md +148 -5
  3. package/THIRD_PARTY_NOTICES.md +494 -0
  4. package/VISUALIZATION_DEFINITIONS.md +9 -146
  5. package/chunks/{Button-Dn3rJrYf.js → Button-CQdoKSXX.js} +3 -3
  6. package/chunks/{CircularProgress-BFeu06Yb.js → CircularProgress-DpT1lwWw.js} +20 -20
  7. package/chunks/FieldTypeIcon-Cg4F9Q5D.js +22 -0
  8. package/chunks/{LinearProgress-ClO6GUjN.js → LinearProgress-B7S0Q26A.js} +14 -14
  9. package/chunks/{MenuOption-Czc34u4q.js → MenuOption-DpKFJxmo.js} +167 -167
  10. package/chunks/{Title-BgYnaVTR.js → Title-m5damhc0.js} +37 -37
  11. package/chunks/{_createAggregator-BMu9uRax.js → _createAggregator-BA8_iU9q.js} +17 -17
  12. package/chunks/{app-filter-bar.compiler-CVir0wkl.js → app-filter-bar.compiler--T4Qz3Wu.js} +8 -8
  13. package/chunks/{bar-layout-C_UgRlVl.js → bar-layout-OFhxn2Go.js} +2 -2
  14. package/chunks/{bar.compiler-DYuFdi9J.js → bar.compiler-hWZBYYvV.js} +71 -69
  15. package/chunks/{builder-C-TKA-My.js → builder-7w_bgV_h.js} +106 -55
  16. package/chunks/{coloring-BtnPiQ_o.js → coloring-Cd6p0GQJ.js} +93 -88
  17. package/chunks/{createSimplePaletteValueFilter--zrZxRV9.js → createSimplePaletteValueFilter-CiJT8s1s.js} +169 -169
  18. package/chunks/defaults-CMFqXvaJ.js +3 -0
  19. package/chunks/{definitions-CT304NDn.js → definitions-DTauTjIX.js} +399 -398
  20. package/chunks/{escobar-CvEV2ES1.js → escobar-CMvphKSK.js} +4949 -4879
  21. package/chunks/{extend-preset-D9-JP92b.js → extend-preset-BpXttHFk.js} +449 -450
  22. package/chunks/{filter.compiler-CXeZznks.js → filter.compiler-DOGFweJz.js} +10 -10
  23. package/chunks/{filtering-8_bFv-jb.js → filtering-NOnDcGbo.js} +241 -241
  24. package/chunks/handlers-CyYFSfhM.js +15393 -0
  25. package/chunks/{icon-picker-styles-BXiJ1SZS.js → icon-picker-styles-DuSERhBU.js} +8 -8
  26. package/chunks/{isEqual-D8Ay63xR.js → isEqual-4f8yUUtC.js} +1 -1
  27. package/chunks/{isFocusVisible-Bu8gGZu5.js → isFocusVisible-Czm70MGc.js} +9 -9
  28. package/chunks/line.compiler-B-4H55_T.js +203 -0
  29. package/chunks/linear-Bq_r9l5S.js +264 -0
  30. package/chunks/{logger-DdZpR7xZ.js → logger-Cioob-QV.js} +74 -73
  31. package/chunks/{lookup-BWllin0q.js → lookup-B3tWH2hX.js} +1 -0
  32. package/chunks/{map.compiler-Q_Y1Pvat.js → map.compiler-Cv5V6EhF.js} +40 -40
  33. package/chunks/measure-axis-label-format-COy8U_dd.js +27 -0
  34. package/chunks/measure-format-default-B_kuGSzi.js +26 -0
  35. package/chunks/{metadata-BQm_TXI1.js → metadata-dGSe5UWy.js} +5 -5
  36. package/chunks/number.compiler-D7nMcEMv.js +57 -0
  37. package/chunks/{operations-DKQWuLL7.js → operations-CgfehCad.js} +11397 -11114
  38. package/chunks/{range-BdhzvYQ_.js → range-Dmwp9kVB.js} +2 -2
  39. package/chunks/{react-dom-BGP4tbXV.js → react-dom-CfuL-m78.js} +82 -82
  40. package/chunks/{render-wrappers-BZpyDnJy.js → render-wrappers--g-zPFBW.js} +1 -1
  41. package/chunks/{requirements-e8Fe96ag.js → requirements-DHayNJ2C.js} +245 -221
  42. package/chunks/{shared-C_2F90xq.js → shared-DoEN9nNM.js} +505 -494
  43. package/chunks/standalone-B3hRGgYi.js +773 -0
  44. package/chunks/{standalone-BkbiH-o8.js → standalone-BPNXgFft.js} +498 -759
  45. package/chunks/standalone-BPTT8XEu.js +424 -0
  46. package/chunks/standalone-BgAeHROc.js +2 -0
  47. package/chunks/{standalone-BE_ONgiG.js → standalone-BkQxag7M.js} +102 -102
  48. package/chunks/{standalone-Cc98Pdr6.js → standalone-Bxa3x6dg.js} +872 -872
  49. package/chunks/standalone-C0If-V6O.js +773 -0
  50. package/chunks/standalone-C1TOyflX.js +287 -0
  51. package/chunks/{standalone-CY_kjarf.js → standalone-CE5PwJN0.js} +18 -18
  52. package/chunks/{standalone-B8ZSqauS.js → standalone-CG7IFN6n.js} +120 -120
  53. package/chunks/{standalone-wOWRCpdn.js → standalone-CKlgGu80.js} +49 -49
  54. package/chunks/standalone-CNf-oA2U.js +355 -0
  55. package/chunks/{standalone-BDrXVxlP.js → standalone-CXPdWFlw.js} +14 -14
  56. package/chunks/{standalone-z0o52o5t.js → standalone-Cf0_5tbu.js} +5567 -5568
  57. package/chunks/{standalone-Cl0TSfqC.js → standalone-DMi4-Vp3.js} +122 -122
  58. package/chunks/{standalone-DNh9NcMa.js → standalone-DTEX67C8.js} +154 -154
  59. package/chunks/{standalone-DHRalbVO.js → standalone-DU46-kYv.js} +279 -279
  60. package/chunks/standalone-Dbn3jSH6.js +690 -0
  61. package/chunks/{standalone-CsoMmE9T.js → standalone-DdcAL_k_.js} +839 -843
  62. package/chunks/standalone-DwCIA0UG.js +1057 -0
  63. package/chunks/standalone-Dz13tl3P.js +357 -0
  64. package/chunks/standalone-H9GFzFk_.js +8377 -0
  65. package/chunks/{standalone-CaTxAydz.js → standalone-MduR0qre.js} +2227 -1000
  66. package/chunks/standalone-ejTz66P3.js +2 -0
  67. package/chunks/{standalone-DflyWtuR.js → standalone-keB-0wK3.js} +216 -216
  68. package/chunks/{standalone-BTY3w_JA.js → standalone-nnkuQd0K.js} +28 -28
  69. package/chunks/standalone-vGGR6Vcn.js +6 -0
  70. package/chunks/{table.compiler-COaHE9VD.js → table.compiler-mS4UvhLT.js} +31 -31
  71. package/chunks/theme-MYp6Rj1J.js +232 -0
  72. package/chunks/{useFieldName-CdnCWzhd.js → useFieldName-AdSak4Ch.js} +1 -1
  73. package/chunks/{utils-DganVptf.js → utils-CUKgR7it.js} +4216 -4070
  74. package/chunks/{view-Bzlros43.js → view-BeYwpcVD.js} +1561 -1561
  75. package/chunks/{visualization-filters-D7i6oh1Z.js → visualization-filters-B9qik5_K.js} +2683 -2342
  76. package/chunks/{with-html-element-CiIhFEa5.js → with-html-element-1GSeLT59.js} +3712 -3682
  77. package/definitions.js +2 -2
  78. package/docs/operations/astrato-app-filter-bar.md +1 -1
  79. package/docs/operations/bar.md +144 -32
  80. package/docs/operations/combo.md +79 -17
  81. package/docs/operations/date-picker.md +4 -4
  82. package/docs/operations/distribution-gauge.md +18 -16
  83. package/docs/operations/dot.md +107 -24
  84. package/docs/operations/filter.md +10 -8
  85. package/docs/operations/gauge.md +20 -18
  86. package/docs/operations/heatMap.md +73 -21
  87. package/docs/operations/histogram.md +45 -12
  88. package/docs/operations/iframe.md +1 -1
  89. package/docs/operations/image.md +1 -1
  90. package/docs/operations/index.md +12 -11
  91. package/docs/operations/line.md +86 -24
  92. package/docs/operations/map.md +5274 -0
  93. package/docs/operations/number.md +10 -9
  94. package/docs/operations/pie.md +23 -21
  95. package/docs/operations/radar.md +13 -11
  96. package/docs/operations/sankey.md +19 -17
  97. package/docs/operations/scatter.md +111 -28
  98. package/docs/operations/shape.md +5 -5
  99. package/docs/operations/simpleTextObject.md +4 -4
  100. package/docs/operations/slider.md +1 -1
  101. package/docs/operations/table.md +27 -25
  102. package/docs/operations/tree.md +5 -3
  103. package/docs/operations/treemap.md +70 -18
  104. package/docs/operations/waterfall.md +40 -7
  105. package/docs/operations/word-cloud.md +69 -17
  106. package/getters.js +3 -3
  107. package/index.js +585 -612
  108. package/metadata.js +2 -2
  109. package/operations.js +25 -18
  110. package/package.json +74 -70
  111. package/src/definitions/index.d.ts +1 -7
  112. package/src/definitions/model/definitions/descriptors/descriptor-metadata.d.ts +3 -48
  113. package/src/definitions/model/definitions/schema-registry.d.ts +15 -14
  114. package/src/definitions/model/definitions/schemas/bar.schema.d.ts +3 -3
  115. package/src/definitions/model/definitions/schemas/broad-chart.schema.d.ts +2 -2
  116. package/src/definitions/model/definitions/schemas/common.schema.d.ts +19 -6
  117. package/src/definitions/model/definitions/schemas/index.d.ts +1 -1
  118. package/src/definitions/model/definitions/schemas/line.schema.d.ts +4 -3
  119. package/src/definitions/model/definitions/schemas/number.schema.d.ts +1 -1
  120. package/src/definitions/model/definitions/schemas/table.schema.d.ts +14 -14
  121. package/src/index.d.ts +1 -1
  122. package/src/operations/index.d.ts +11 -1
  123. package/src/types.d.ts +166 -1
  124. package/src/visualization-catalog.d.ts +3 -0
  125. package/styles.css +1 -1
  126. package/chunks/FieldTypeIcon-DrMoGpHJ.js +0 -22
  127. package/chunks/color-rules-DYJL4fIW.js +0 -15
  128. package/chunks/color-settings-DJFoFTip.js +0 -5
  129. package/chunks/defaults-Dtk7fg3C.js +0 -3
  130. package/chunks/handlers-C6CZ0XJA.js +0 -15399
  131. package/chunks/line.compiler-DmHpmQCC.js +0 -198
  132. package/chunks/number.compiler-DQdg6zTy.js +0 -53
  133. package/chunks/standalone-4MsKiqs0.js +0 -355
  134. package/chunks/standalone-B794g9pE.js +0 -1012
  135. package/chunks/standalone-BA2YXyJS.js +0 -422
  136. package/chunks/standalone-BgumbdaJ2.js +0 -357
  137. package/chunks/standalone-Blh4qejk.js +0 -689
  138. package/chunks/standalone-CXY4FpF7.js +0 -773
  139. package/chunks/standalone-DH0xTEes.js +0 -2
  140. package/chunks/standalone-DcnHjNnC.js +0 -2
  141. package/chunks/standalone-DrHdGkY7.js +0 -762
  142. package/chunks/standalone-c_rROMtx.js +0 -287
  143. package/chunks/standalone-drcFLeN6.js +0 -6
@@ -1,71 +1,71 @@
1
1
  import { o as e, t } from "./rolldown-runtime-DleVn1XH.js";
2
- import { Ha as n, Oa as r, To as i, Ua as a, Wa as o, es as s, fc as c, fi as l, ia as u, ms as d, na as f, ra as p, sa as m, ta as h, vr as g, wo as _ } from "./visualization-filters-D7i6oh1Z.js";
3
- import { W as v, Zt as y, ci as b, f as x, jt as S, o as C, sn as w, xn as T, yn as E, z as D, zr as O } from "./utils-DganVptf.js";
4
- import { St as k } from "./handlers-C6CZ0XJA.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-BgYnaVTR.js";
7
- var N = /* @__PURE__ */ e(b()), P = (e, t) => {
8
- let n = e?.simpleTextObjectSettings || {}, r = n.fontFamily ?? l.fontFamily, i = n.textColor ?? l.textColor, o = t ? p(t, r) : r, s = t ? f(t, i) : i, { borderEnabled: c = l.borderEnabled, borderRadius: u = l.borderRadius, borderWidth: d = l.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 ?? a.Text,
11
- textContent: n.textContent ?? l.textContent,
12
- variableId: n.variableId ?? l.variableId,
13
- representation: n.representation ?? l.representation,
14
- paragraphMargin: n.paragraphMargin ?? l.paragraphMargin,
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
15
  textColor: s,
16
- fontFamily: o,
17
- fontSize: n.fontSize ?? l.fontSize,
18
- bold: n.bold ?? l.bold,
19
- weight: n.weight ?? l.weight,
20
- italic: n.italic ?? l.italic,
21
- underlined: n.underlined ?? l.underlined,
22
- strikethrough: n.strikethrough ?? l.strikethrough,
23
- letterSpacing: n.letterSpacing ?? l.letterSpacing,
24
- lineSpacing: n.lineSpacing ?? l.lineSpacing,
25
- wordWrap: n.wordWrap ?? l.wordWrap,
26
- linkEnabled: n.linkEnabled ?? l.linkEnabled,
27
- linkUrl: n.linkUrl ?? l.linkUrl,
28
- backgroundType: n.backgroundType ?? l.backgroundType,
29
- backgroundColor: n.backgroundColor ?? l.backgroundColor,
30
- imageOpacity: n.imageOpacity ?? l.imageOpacity,
31
- backgroundBlur: n.backgroundBlur ?? l.backgroundBlur,
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 ?? l.imageFitType,
34
- borderEnabled: c,
35
- borderWidth: c ?? !!d ? d : 0,
36
- borderRadius: c ?? !!d ? u : 0,
37
- borderStyle: n.borderStyle ?? l.borderStyle,
38
- borderColor: n.borderColor ?? l.borderColor,
39
- textPadding: n.textPadding ?? l.textPadding,
40
- textShadow: n.textShadow ?? l.textShadow,
41
- objectShadow: n.objectShadow ?? l.objectShadow,
42
- responsive: n.responsive ?? l.responsive,
43
- scaling: n.scaling ?? l.scaling,
44
- maxLines: n.maxLines ?? l.maxLines,
45
- position: n.position ?? l.position,
46
- align: n.align ?? l.align,
47
- richTextScaling: n.richTextScaling ?? l.richTextScaling,
48
- richTextResponsive: n.richTextResponsive ?? l.richTextResponsive,
49
- richTextMaxLines: n.richTextMaxLines ?? l.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 ?? l.fontSize, i = t.letterSpacing ?? l.letterSpacing;
52
+ let r = t.fontSize ?? o.fontSize, i = t.letterSpacing ?? o.letterSpacing;
53
53
  if (n.width === 0) return r;
54
- let a = T(), o = 0, s = 0, c = r;
55
- for (; s <= c;) {
56
- let r = Math.floor((s + c) / 2), { width: l, height: u } = a.getTextSize({
54
+ let a = S(), s = 0, c = 0, l = r;
55
+ for (; c <= l;) {
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((l + i) / (n.width - F * 2)), f = !t.wordWrap && d > 1, p = u * d * 1.2 + F * 2 > n.height;
64
- f || p ? c = r - 1 : (o = r, s = 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 ?? l.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(b()), 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 = O(), ne = 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",
@@ -156,7 +156,7 @@ var N = /* @__PURE__ */ e(b()), P = (e, t) => {
156
156
  }),
157
157
  onClick: g
158
158
  });
159
- }, H = v({
159
+ }, H = b({
160
160
  mainContainer: {
161
161
  width: "100%",
162
162
  height: "100%",
@@ -173,7 +173,7 @@ var N = /* @__PURE__ */ e(b()), P = (e, t) => {
173
173
  overflowX: "hidden",
174
174
  lineHeight: 1,
175
175
  color: "#1F1C3B",
176
- fontFamily: u("Roboto"),
176
+ fontFamily: g("Roboto"),
177
177
  fontStyle: "normal",
178
178
  fontWeight: 700
179
179
  },
@@ -191,7 +191,7 @@ var N = /* @__PURE__ */ e(b()), P = (e, t) => {
191
191
  WebkitBoxOrient: "vertical"
192
192
  }
193
193
  });
194
- u("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%;
@@ -203,7 +203,7 @@ var U = "\n height: 100%; \n width: 100%;\n display: block;\n overflow: auto
203
203
  overflow: auto;
204
204
  line-height: 1;
205
205
  color: #1F1C3B;
206
- font-family: Roboto, ${h};
206
+ font-family: Roboto, ${f};
207
207
  font-style: normal;
208
208
  font-weight: 700;
209
209
  `, G = "\n cursor: default;\n width: 100%;\n height: auto;\n -webkit-flex: 1 1 auto;\n -ms-flex: 1 1 auto;\n flex: 1 1 auto;\n overflow: auto;\n overflow-wrap: break-word;\n text-overflow: ellipsis;\n -box-orient: vertical;\n", K = /* @__PURE__ */ t(((e, t) => {
@@ -414,7 +414,7 @@ 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 n = J(), r = g(), i = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, a = RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]", "g");
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
418
  function o(e) {
419
419
  return e = r(e), e && e.replace(i, n).replace(a, "");
420
420
  }
@@ -463,7 +463,7 @@ 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 n = ie(), r = ae(), i = g(), a = oe();
466
+ var n = ie(), r = ae(), i = p(), a = oe();
467
467
  function o(e, t, o) {
468
468
  return e = i(e), t = o ? void 0 : t, t === void 0 ? r(e) ? a(e) : n(e) : e.match(t) || [];
469
469
  }
@@ -480,11 +480,11 @@ 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 = l.fontSize, n = "px") => {
483
+ })))()), ue = (e, t = o.fontSize, r = "px") => {
484
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",
@@ -492,10 +492,10 @@ var U = "\n height: 100%; \n width: 100%;\n display: block;\n overflow: auto
492
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 ?? l.representation) ? e.wordWrap ? "pre-line" : "nowrap" : "pre-line",
496
- marginTop: e.position === d.Top ? "unset" : "auto",
497
- marginBottom: e.position === d.Bottom ? "unset" : "auto",
498
- textShadow: e.textShadow ? `0px 1px 2px ${r.black}` : "none",
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
499
  paddingTop: a,
500
500
  paddingBottom: a,
501
501
  overflow: e.responsive ? "visible" : "hidden",
@@ -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 === s.Line ? "solid" : "dashed";
508
+ let t = e.borderStyle === i.Line ? "solid" : "dashed";
509
509
  return {
510
- backgroundColor: (e.backgroundType === n.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 ${r.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 ?? l.fontSize;
518
+ let r = e.fontSize ?? o.fontSize;
519
519
  switch (t) {
520
- case _.ViewportWidth: return { fontSize: `${z(r)}vw` };
521
- case _.ViewportHeight: return { fontSize: `${B(r)}vh` };
522
- case _.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,91 +548,91 @@ 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: r, variableId: i, textContentType: o = a.Text } = e;
557
- return [a.Text, a.Delta].includes(o) ? r || n : i ? `${t[i]?.value ?? ""}` : n;
558
- }, _e = (e) => e.replace(/(\r\n|\n|\r)/g, " "), $ = ({ textObjectSettings: e, scaling: t, elementSize: r }) => {
559
- let a = H(), s = y(), c = x(), { variablesDict: u } = C(), [d, f] = (0, N.useState)(""), p = ge(e, u, ""), m = e.fontSize ?? l.fontSize;
560
- t === i.FitToObject && r ? m = ee(p, e, r) : t === i.ViewportWidth && (m = z(m));
561
- let h = s?.daedalus.objectCapabilities.editable, g = e.backgroundType === n.Image, _ = [o.HTML, o.Markdown].includes(e.representation ?? l.representation), v = ue(e, m, R(t)), b = X(e), S = Z(e), w = Q(e), T = {
562
- ...S,
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
+ }, _e = (e) => e.replace(/(\r\n|\n|\r)/g, " "), $ = ({ textObjectSettings: e, scaling: t, elementSize: n }) => {
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
- delete T.paddingBottom, delete T.paddingTop, delete T.display, (0, N.useEffect)(() => {
566
+ delete C.paddingBottom, delete C.paddingTop, delete C.display, (0, N.useEffect)(() => {
567
567
  let t = async () => {
568
- e.representation === o.Markdown ? f(await A(p)) : f(p);
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
- p,
574
+ u,
575
575
  e.representation,
576
+ m,
576
577
  g,
577
- _,
578
- c
578
+ a
579
579
  ]);
580
- let D = j(e.linkUrl ?? l.linkUrl), O = !_ && !e.responsive, k = !e.responsive && !_ ? _e(d) : d;
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: O ? k : null,
582
+ title: E ? k : null,
583
583
  children: /* @__PURE__ */ (0, V.jsxs)("div", {
584
- className: a.mainContainer,
584
+ className: r.mainContainer,
585
585
  style: b,
586
586
  "data-testid": "simple-text-object-container",
587
587
  children: [
588
- _ ? /* @__PURE__ */ (0, V.jsx)(E, {
588
+ g ? /* @__PURE__ */ (0, V.jsx)(y, {
589
589
  html: he(k),
590
- css: me(T, e),
591
- style: fe,
592
- onRendered: c
590
+ css: me(C, e),
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
- className: a.image,
597
- style: w,
598
- onLoad: () => c(),
599
- onError: () => c(),
596
+ className: r.image,
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", {
603
- className: a.textContainer,
604
- style: S,
605
- children: e.linkEnabled && D ? /* @__PURE__ */ (0, V.jsx)("div", {
606
- className: a.spanElement,
602
+ p || !g ? /* @__PURE__ */ (0, V.jsx)(V.Fragment, { children: /* @__PURE__ */ (0, V.jsx)("div", {
603
+ className: r.textContainer,
604
+ style: x,
605
+ children: e.linkEnabled && w ? /* @__PURE__ */ (0, V.jsx)("div", {
606
+ className: r.spanElement,
607
607
  style: v,
608
608
  "data-ellipsis": !0,
609
609
  "data-testid": "simple-text-object-content",
610
610
  children: /* @__PURE__ */ (0, V.jsx)("a", {
611
611
  target: "_blank",
612
612
  rel: "noreferrer",
613
- href: D,
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
- className: a.spanElement,
621
+ className: r.spanElement,
622
622
  style: {
623
623
  ...v,
624
624
  pointerEvents: "none"
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
- }, ve = S($), ye = ({ textObjectSettings: e, isRichTextScalingSet: t }) => {
635
- let n = y(), r = D(), i = X(e), a = Z(e), o = H(), s = x(), c = e.richTextScaling ?? _.ViewportBreakpoints, l = de(e, c, t);
634
+ }, ve = x($), ye = ({ textObjectSettings: e, isRichTextScalingSet: 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 === _.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 || !c(e.vSpec)) return null;
664
- let t = e.vTheme ?? m, n = P(e.vSpec, t), r = L(n.responsive ?? l.responsive, n.scaling ?? l.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: r,
666
+ scaling: i,
667
667
  textObjectSettings: n
668
668
  };
669
- if (n.textContentType === a.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 (r) {
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 { $a as r, Fc as i, Qa as a, Qr as o, eo as s, gc as c, in as l, sa as u, to as d, yc as f } from "./visualization-filters-D7i6oh1Z.js";
3
- import { N as p, ci as m, f as h, jt as g, s as _, tn as v, zr as y } from "./utils-DganVptf.js";
4
- import "./logger-DdZpR7xZ.js";
5
- import { L as b, Qt as x, R as S, _ as C, bn as w, fn as T, i as E, kt as D, ut as O, v as k, z as A } from "./escobar-CvEV2ES1.js";
6
- import { t as j } from "./coloring-BtnPiQ_o.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(m()), 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) => o(e)), a = e.measures.filter((e) => o(e)), s = k((e.supportingMeasures ?? []).filter((e) => o(e)));
293
- if (!r[0] || !a[0]) return n;
294
- let c = i(r[0].dataItem), l = i(a[0].dataItem), u = [{
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
+ if (!r[0] || !i[0]) return n;
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: c,
298
+ field: o,
299
299
  props: {
300
- [W.measureValue]: { field: l },
301
- [l]: { field: l },
302
- ...s
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: u
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) => o(e)), a = e.measures.filter((e) => o(e));
317
- if (!r[0] || !a[0]) return n;
318
- let s = { [K.size]: { data: { field: i(a[0].dataItem) } } };
319
- return s = D(e, t, s), {
316
+ let r = e.dimensions.filter((e) => l(e)), i = e.measures.filter((e) => l(e));
317
+ if (!r[0] || !i[0]) return n;
318
+ let a = { [K.size]: { data: { field: u(i[0].dataItem) } } };
319
+ return a = S(e, t, a), {
320
320
  ...n,
321
- scales: s
321
+ scales: a
322
322
  };
323
- }, J = (e, t, n, r, s, c, u, d) => e.filter(o).map((e, r) => {
324
- let o = Object.keys(t.data).find((n) => t.data[n]?.source?.field === i(e.dataItem)), s = (t.data[String(o)] || t.data[`measure${r}`])?.value, c = l(e) || e.label || e.dataItem.name || "", u = d && !a(e.formatter) ? O(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
- label: c,
327
- value: u ? n.formatter(u)(s, void 0, t.data) : s
326
+ label: s,
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, A), b(e, t, n, a, "tooltip", i);
338
- }, ie = (e, t, n, r, a, s) => {
339
- let c = e.measures.filter((e) => o(e)), l = new j(e, t, a?.[0]?.itemsNotAffectedByFiltering), u = i(c[0].dataItem), d = x([""], s);
340
- d?.trigger.forEach((e) => e.propagation = "stop");
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
+ f?.trigger.forEach((e) => e.propagation = "stop");
341
341
  let p = {
342
342
  key: "word-cloud",
343
- type: w.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,20 +358,20 @@ 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 === f.Gradient ? W.measureValue : l.MAIN_FIELD,
363
- dataItemId: e.coloring?.type === f.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
  },
368
- brush: d || void 0
368
+ brush: f || void 0
369
369
  };
370
370
  return {
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) => o(e)), n = e.measures.filter((e) => o(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: T.Text,
640
+ type: A.Text,
641
641
  text: e.text,
642
642
  x: e.x,
643
643
  y: e.y,
@@ -658,8 +658,8 @@ function me(e) {
658
658
  }
659
659
  var Q = {
660
660
  fontFamily: "Arial",
661
- fontScaling: r.linear,
662
- fontStyle: s.normal,
661
+ fontScaling: f.linear,
662
+ fontStyle: i.normal,
663
663
  fontWeight: d.normal,
664
664
  seed: 1,
665
665
  maxNumChars: 32,
@@ -716,21 +716,21 @@ var Q = {
716
716
  }
717
717
  };
718
718
  function ge(e) {
719
- e.component(w.WordCloud, he);
719
+ e.component(C.WordCloud, he);
720
720
  }
721
- var $ = y(), _e = () => {}, ve = g(({ vSpec: e, vTheme: t, data: n, elementSize: r, vizProperties: i }) => {
722
- let a = p(), o = h(), [s] = (0, B.useState)(() => new ae(o)), { activeKey: l } = _(), d = {
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
723
  ...i,
724
- valuePickerMode: !!l
725
- }, f = t || u, m = s.compile(e, f, n, r, {
724
+ valuePickerMode: !!u
725
+ }, f = t || o, p = l.compile(e, f, n, r, {
726
726
  ...d,
727
- onRenderDone: o
728
- }, c.WordCloud, a);
729
- return m ? /* @__PURE__ */ (0, $.jsx)(v.Provider, {
727
+ onRenderDone: c
728
+ }, s.WordCloud, a);
729
+ return p ? /* @__PURE__ */ (0, $.jsx)(g.Provider, {
730
730
  value: _e,
731
- children: /* @__PURE__ */ (0, $.jsx)(E, {
731
+ children: /* @__PURE__ */ (0, $.jsx)(D, {
732
732
  config: d,
733
- definition: m,
733
+ definition: p,
734
734
  size: r,
735
735
  vSpec: e,
736
736
  escobarPlugins: [ge]