@astrato-io/visualizations 0.7.0 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (162) hide show
  1. package/README.md +1 -25
  2. package/THIRD_PARTY_NOTICES.md +307 -378
  3. package/chunks/{Button-BrGKp9Nm.js → Button-5CxPEACP.js} +11 -11
  4. package/chunks/CircularProgress-DFS-LQb7.js +765 -0
  5. package/chunks/FieldTypeIcon-pSVQFemC.js +22 -0
  6. package/chunks/LinearProgress-CjIQfkNA.js +327 -0
  7. package/chunks/{MenuOption-ByRqhRdX.js → MenuOption-Cb7B7x6z.js} +1384 -1002
  8. package/chunks/Title-CtFw1bVg.js +1804 -0
  9. package/chunks/ToggleButton-Br9HCPCv.js +150 -0
  10. package/chunks/{app-filter-bar.compiler-TwVTeoj5.js → app-filter-bar.compiler-B9775gLJ.js} +3 -3
  11. package/chunks/{bar.compiler-DuQg8EUb.js → bar.compiler-B7wlH_Ro.js} +4 -4
  12. package/chunks/{builder-DEDvNq1k.js → builder-Dxo7D7c6.js} +118 -55
  13. package/chunks/{coloring-CncX_JRX.js → coloring-B-Wa8D5P.js} +3 -3
  14. package/chunks/contains-BK-sRXcB.js +21 -0
  15. package/chunks/{definitions-BPJQTx16.js → definitions-DNpzD9tY.js} +26 -26
  16. package/chunks/{escobar-DRhRMYRE.js → escobar-C4Nm3eJ7.js} +4436 -4802
  17. package/chunks/{extend-preset-CUFNpmPe.js → extend-preset-BVKFtoe-.js} +46 -46
  18. package/chunks/{filter.compiler-w27dlv0C.js → filter.compiler-BlS3zoy_.js} +7 -7
  19. package/chunks/{filtering-cc7WqWpg.js → filtering-CGuLpg7u.js} +494 -270
  20. package/chunks/{handlers-TOT-7INo.js → handlers-CMbyj5y1.js} +1513 -1454
  21. package/chunks/{icon-picker-styles-CoJmwTRi.js → icon-picker-styles-DYQgVEKG.js} +8 -8
  22. package/chunks/{isEqual-B8loyPsC.js → isEqual-DBg_b35N.js} +1 -1
  23. package/chunks/isFocusVisible-B1_z03UT.js +144 -0
  24. package/chunks/{line.compiler-Ct1WhN2p.js → line.compiler-Bo9i9qag.js} +7 -7
  25. package/chunks/{logger-DpQtYQnX.js → logger-3lng-wOw.js} +7 -3
  26. package/chunks/{metadata-WABZrt7Y.js → metadata-Fmx1swpK.js} +1 -1
  27. package/chunks/{number.compiler-D8TPly-4.js → number.compiler-CdLd5aGW.js} +7 -7
  28. package/chunks/{operations-Dh4v1Ovt.js → operations-HSqnCRvv.js} +9156 -9112
  29. package/chunks/{range-Bi-7zT0k.js → range-CzO4isKK.js} +2 -2
  30. package/chunks/react-dom-BwZT0N3F.js +368 -0
  31. package/chunks/{render-wrappers-OEmtaM8g.js → render-wrappers-CAuvgMxi.js} +1 -1
  32. package/chunks/{requirements-PAoRaJyb.js → requirements-CYpVh65U.js} +330 -302
  33. package/chunks/responsive.styles-FItb913l.js +93 -0
  34. package/chunks/{shared-Bn4N5QcZ.js → shared-DFoJxjVN.js} +401 -401
  35. package/chunks/{standalone-D__XCp-h.js → standalone-530a5lvf.js} +306 -306
  36. package/chunks/{standalone-CXNP6-xD.js → standalone-5DnapeHH.js} +112 -112
  37. package/chunks/{standalone-XTgSsTAa.js → standalone-B4jrf4KE.js} +70 -70
  38. package/chunks/{standalone-Bes8srx1.js → standalone-B6s_xG2u.js} +14 -14
  39. package/chunks/{standalone-DVTJwsTY.js → standalone-BDrQMxLi.js} +623 -614
  40. package/chunks/standalone-BMoJXGYe.js +2 -0
  41. package/chunks/{standalone-CLmGb7nn2.js → standalone-BfvGggeM2.js} +76 -76
  42. package/chunks/{standalone-D5Q5ngsD.js → standalone-BvWdpUL3.js} +26 -26
  43. package/chunks/{standalone-we5D5MIn.js → standalone-C6XDHYAM.js} +31 -31
  44. package/chunks/standalone-CMJJIi9v.js +2 -0
  45. package/chunks/{standalone-C8ZAEutO.js → standalone-CNkHsynO.js} +28 -28
  46. package/chunks/{standalone-BMTCb10X.js → standalone-CPUiiWNP.js} +5 -5
  47. package/chunks/{standalone-XuGksArp.js → standalone-CXniic5x.js} +9 -9
  48. package/chunks/standalone-C_Jd4gkj.js +6 -0
  49. package/chunks/{standalone-DW6NT205.js → standalone-CiaaibTa.js} +142 -142
  50. package/chunks/standalone-CoQxJ6ov.js +3638 -0
  51. package/chunks/{standalone-CM5XcAN5.js → standalone-Cu73fzSr.js} +7660 -7534
  52. package/chunks/standalone-DBeXQrwH.js +468 -0
  53. package/chunks/{standalone-DMcI1afI.js → standalone-DMCwtebn.js} +81 -81
  54. package/chunks/{standalone-BlMIwpEe.js → standalone-DWPfdP0A.js} +800 -668
  55. package/chunks/{standalone-DLlyRIE6.js → standalone-DpSRmAWx.js} +59 -59
  56. package/chunks/{standalone-BGkmozIb.js → standalone-DuwTOBXH.js} +256 -256
  57. package/chunks/{standalone-BDhPQtzQ.js → standalone-LFVgLhia.js} +234 -234
  58. package/chunks/{standalone-B55oyW6c.js → standalone-kzAhwH19.js} +149 -149
  59. package/chunks/{standalone-DN4S1MjT.js → standalone-mb7LwEiq.js} +885 -885
  60. package/chunks/{standalone-CJvIXsQE.js → standalone-r4ObFvys.js} +155 -155
  61. package/chunks/{table.compiler-DMeeHxb6.js → table.compiler-C1qjqXaT.js} +7 -7
  62. package/chunks/{typeof-CJDtcySz.js → typeof-DCq3QgvY.js} +6 -1
  63. package/chunks/useFieldName-mWrD_uk_.js +7 -0
  64. package/chunks/{utils-vdmi_2PK.js → utils-DYYD4Zzf.js} +7593 -12707
  65. package/chunks/{view-BuwQugKb.js → view-7fH6mGmY.js} +2034 -2070
  66. package/chunks/{visualization-filters-Cc4KU-l-.js → visualization-filters-mVnsnvLP.js} +3581 -3555
  67. package/chunks/with-html-element-B0Clt4jY.js +15901 -0
  68. package/definitions.js +2 -2
  69. package/docs/operations/astrato-app-filter-bar.md +1 -1
  70. package/docs/operations/bar.md +1 -1
  71. package/docs/operations/combo.md +1 -1
  72. package/docs/operations/date-picker.md +1 -1
  73. package/docs/operations/distribution-gauge.md +1 -1
  74. package/docs/operations/dot.md +1 -1
  75. package/docs/operations/filter.md +1 -1
  76. package/docs/operations/gauge.md +1 -1
  77. package/docs/operations/heatMap.md +1 -1
  78. package/docs/operations/histogram.md +1 -1
  79. package/docs/operations/iframe.md +1 -1
  80. package/docs/operations/image.md +1 -1
  81. package/docs/operations/index.md +2 -2
  82. package/docs/operations/line.md +1 -1
  83. package/docs/operations/number.md +1 -1
  84. package/docs/operations/pie.md +1 -1
  85. package/docs/operations/radar.md +1 -1
  86. package/docs/operations/sankey.md +1 -1
  87. package/docs/operations/scatter.md +1 -1
  88. package/docs/operations/shape.md +1 -1
  89. package/docs/operations/simpleTextObject.md +1 -1
  90. package/docs/operations/slider.md +1 -1
  91. package/docs/operations/table.md +66 -1
  92. package/docs/operations/tree.md +1 -1
  93. package/docs/operations/treemap.md +1 -1
  94. package/docs/operations/waterfall.md +1 -1
  95. package/docs/operations/word-cloud.md +1 -1
  96. package/getters.js +2 -2
  97. package/index.js +1191 -3
  98. package/metadata.js +15 -16
  99. package/operations.js +5 -5
  100. package/package.json +67 -102
  101. package/src/definitions/model/definitions/descriptors/descriptor-metadata.d.ts +348 -348
  102. package/src/definitions/model/definitions/schema-registry.d.ts +101 -101
  103. package/src/definitions/model/definitions/schemas/bar.schema.d.ts +8 -8
  104. package/src/definitions/model/definitions/schemas/common.schema.d.ts +29 -29
  105. package/src/definitions/model/definitions/schemas/line.schema.d.ts +10 -10
  106. package/src/definitions/model/definitions/schemas/number.schema.d.ts +4 -4
  107. package/src/definitions/model/definitions/schemas/object.schema.d.ts +38 -38
  108. package/src/definitions/model/definitions/schemas/table.schema.d.ts +61 -61
  109. package/src/getters/index.d.ts +3 -3
  110. package/src/index.d.ts +1 -1
  111. package/src/operations/index.d.ts +3 -3
  112. package/src/runtime/index.d.ts +2 -2
  113. package/src/types.d.ts +4 -8
  114. package/src/visualization-catalog.d.ts +26 -26
  115. package/src/web-components/index.d.ts +3 -3
  116. package/chunks/DefaultPropsProvider-BsfB7QTn.js +0 -257
  117. package/chunks/FieldTypeIcon-Drs6hSJF.js +0 -22
  118. package/chunks/LinearProgress-VtfFx2vJ.js +0 -253
  119. package/chunks/Title-CO5dP1ma.js +0 -1691
  120. package/chunks/ToggleButton-KOBAimC1.js +0 -112
  121. package/chunks/colorManipulator-D8Pjy1pf.js +0 -45
  122. package/chunks/registry-KervaxqJ.js +0 -31
  123. package/chunks/responsive.styles-DSiOGD7u.js +0 -82
  124. package/chunks/standalone-BXKRE_Se.js +0 -468
  125. package/chunks/standalone-BjZp0QMe.js +0 -2
  126. package/chunks/standalone-C8qAelL4.js +0 -2
  127. package/chunks/standalone-DT0wKji7.js +0 -6
  128. package/chunks/standalone-DYQIQH4c.js +0 -2095
  129. package/chunks/useFieldName-Cjn9KCVp.js +0 -7
  130. package/chunks/useSlotProps-DLbQp4lc.js +0 -166
  131. package/chunks/web-components-DqClFkgO.js +0 -1185
  132. package/chunks/with-html-element-D0uY2zjI.js +0 -7328
  133. package/render.js +0 -10
  134. package/src/charts/bar.d.ts +0 -1
  135. package/src/charts/combo.d.ts +0 -1
  136. package/src/charts/dot.d.ts +0 -1
  137. package/src/charts/gauge-distribution.d.ts +0 -1
  138. package/src/charts/gauge.d.ts +0 -1
  139. package/src/charts/heat-map.d.ts +0 -1
  140. package/src/charts/histogram.d.ts +0 -1
  141. package/src/charts/line.d.ts +0 -1
  142. package/src/charts/pie.d.ts +0 -1
  143. package/src/charts/radar.d.ts +0 -1
  144. package/src/charts/sankey.d.ts +0 -1
  145. package/src/charts/scatter.d.ts +0 -1
  146. package/src/charts/table.d.ts +0 -1
  147. package/src/charts/tree.d.ts +0 -1
  148. package/src/charts/treemap.d.ts +0 -1
  149. package/src/charts/waterfall.d.ts +0 -1
  150. package/src/charts/word-cloud.d.ts +0 -1
  151. package/src/objects/app-filter-bar.d.ts +0 -1
  152. package/src/objects/date-picker.d.ts +0 -1
  153. package/src/objects/filter.d.ts +0 -1
  154. package/src/objects/iframe.d.ts +0 -1
  155. package/src/objects/image.d.ts +0 -1
  156. package/src/objects/number.d.ts +0 -1
  157. package/src/objects/shape.d.ts +0 -1
  158. package/src/objects/slider.d.ts +0 -1
  159. package/src/objects/text.d.ts +0 -1
  160. package/src/registry/create-visualization-registry.d.ts +0 -5
  161. package/src/render/index.d.ts +0 -34
  162. /package/chunks/{src-BOS6SqkZ.js → src-BOS6SqkZ2.js} +0 -0
@@ -1,21 +1,21 @@
1
1
  import { o as e } from "./rolldown-runtime-DleVn1XH.js";
2
- import { Ds as t, Gs as n, Hi as r, Ia as i, Jt as a, La as o, Us as s, Za as c, an as l, en as u, ws as d, zi as f, zr as p } from "./visualization-filters-Cc4KU-l-.js";
3
- import { Ei as m, F as h, N as g, Xt as _, ri as v } from "./utils-vdmi_2PK.js";
4
- import { km as y } from "./handlers-TOT-7INo.js";
2
+ import { Ds as t, Gs as n, Hi as r, Ia as i, It as a, La as o, Tt as s, Us as c, Za as l, jt as u, ws as d, zi as f, zr as p } from "./visualization-filters-mVnsnvLP.js";
3
+ import { F as m, N as h, Ot as g, ei as _, jr as v } from "./utils-DYYD4Zzf.js";
4
+ import { jm as y } from "./handlers-CMbyj5y1.js";
5
5
  import { r as b } from "./label-format-type-weq1XfcX.js";
6
6
  import { t as x } from "./stroke-dash-UgMEcCS4.js";
7
- import "./logger-DpQtYQnX.js";
8
- import { $ as S, At as C, B as w, Bt as T, Et as E, F as D, I as ee, L as O, Nt as k, St as te, Ut as A, V as j, W as M, Y as N, Yt as P, an as F, bt as I, dt as L, gt as R, ht as z, i as B, in as V, lt as H, mn as U, mt as W, n as G, on as K, sn as q, un as J, vn as Y, vt as X, yt as Z, zt as Q } from "./escobar-DRhRMYRE.js";
9
- import { o as ne, t as re } from "./coloring-CncX_JRX.js";
7
+ import "./logger-3lng-wOw.js";
8
+ import { $ as S, At as C, B as w, Bt as T, Et as E, F as D, I as O, L as k, Nt as A, St as ee, Ut as j, V as M, W as N, Y as P, Yt as F, _n as I, an as L, bt as R, dt as z, gt as B, ht as V, i as H, in as U, ln as W, lt as G, mt as K, n as te, on as q, pn as J, rn as Y, vt as X, yt as Z, zt as Q } from "./escobar-C4Nm3eJ7.js";
9
+ import { o as ne, t as re } from "./coloring-B-Wa8D5P.js";
10
10
  import { t as ie } from "./set-coloring-datafield-B3uIS1Pe.js";
11
- var ae = /* @__PURE__ */ e(m()), oe = (e, r, i) => {
12
- let o = e.dimensions.filter((e) => p(e)), c = e.measures.filter((e) => p(e)), u = o[0], f = c[0], m = !1, h = {}, { coloring: g } = e || {}, _ = g?.fieldId ?? null;
13
- if (g?.type === t.Categorical && (_ ||= u ? s(u.dataItem) : null), g?.type === t.Gradient && (_ ||= f ? s(f.dataItem) : null), _ && Z(i, 0, { color: { field: _ } }), u && e?.axes?.dimension?.continuousAxis) {
14
- let e = n(u.dataItem), t = !!u.datePart, r = a(e) || l(e);
11
+ var ae = /* @__PURE__ */ e(_()), oe = (e, r, i) => {
12
+ let o = e.dimensions.filter((e) => p(e)), l = e.measures.filter((e) => p(e)), u = o[0], f = l[0], m = !1, h = {}, { coloring: g } = e || {}, _ = g?.fieldId ?? null;
13
+ if (g?.type === t.Categorical && (_ ||= u ? c(u.dataItem) : null), g?.type === t.Gradient && (_ ||= f ? c(f.dataItem) : null), _ && Z(i, 0, { color: { field: _ } }), u && e?.axes?.dimension?.continuousAxis) {
14
+ let e = n(u.dataItem), t = !!u.datePart, r = s(e) || a(e);
15
15
  m = !t && r;
16
16
  }
17
- if (h = E(ie(e, _), r, h), h = N(e, h, i.collections, m, !0), c.filter((e) => e.graphType === d.Bar).length > 1 && !e.barSettings?.grouped) {
18
- let t = K(e, c.find((e) => e.graphType === d.Bar));
17
+ if (h = E(ie(e, _), r, h), h = P(e, h, i.collections, m, !0), l.filter((e) => e.graphType === d.Bar).length > 1 && !e.barSettings?.grouped) {
18
+ let t = L(e, l.find((e) => e.graphType === d.Bar));
19
19
  h[t].data = { collection: C.ComboChartCollection };
20
20
  }
21
21
  return {
@@ -24,25 +24,25 @@ var ae = /* @__PURE__ */ e(m()), oe = (e, r, i) => {
24
24
  };
25
25
  }, $ = (e, t, n) => {
26
26
  let r = e.measures.filter((e) => p(e)), i = e.dimensions.filter((e) => p(e)), a = (e.supportingMeasures ?? []).filter((e) => p(e)), o = r.reduce((e, t) => {
27
- let n = s(t.dataItem);
27
+ let n = c(t.dataItem);
28
28
  return e[n] = { field: n }, e;
29
- }, {}), c = ee(a), l = i.reduce((e, t) => {
30
- let n = s(t.dataItem);
29
+ }, {}), s = O(a), l = i.reduce((e, t) => {
30
+ let n = c(t.dataItem);
31
31
  return e[n] = { field: n }, e;
32
32
  }, {}), u = i[0];
33
33
  if (!u) return n;
34
- let f = s(u.dataItem), m = {
34
+ let f = c(u.dataItem), m = {
35
35
  key: C.ComboChartCollection,
36
36
  data: { extract: [] }
37
37
  };
38
38
  if (m.data.extract = r.map((e, t) => {
39
- let n = s(e.dataItem);
39
+ let n = c(e.dataItem);
40
40
  return {
41
41
  field: f,
42
42
  props: {
43
43
  end: { field: n },
44
44
  ...o,
45
- ...c,
45
+ ...s,
46
46
  ...l,
47
47
  start: 0,
48
48
  graphType: e.graphType,
@@ -51,7 +51,7 @@ var ae = /* @__PURE__ */ e(m()), oe = (e, r, i) => {
51
51
  }
52
52
  };
53
53
  }), r.filter((e) => e.graphType === d.Bar).length > 1) {
54
- let t = !!r.find((e) => e.graphType === d.Bar)?.secondaryAxis, n = new Map(r.map((e) => [s(e.dataItem), !!e.secondaryAxis]));
54
+ let t = !!r.find((e) => e.graphType === d.Bar)?.secondaryAxis, n = new Map(r.map((e) => [c(e.dataItem), !!e.secondaryAxis]));
55
55
  e.barSettings?.grouped || (m.data.stack = {
56
56
  stackKey: (e) => e.graphType.value === d.Bar ? `${e.value}` : `${e.value}-${e.graphType.value}-${e.measureIndex.value}`,
57
57
  value: (e) => {
@@ -70,17 +70,17 @@ var ae = /* @__PURE__ */ e(m()), oe = (e, r, i) => {
70
70
  }, se = (e, t, n, r, i, a) => {
71
71
  let o = [];
72
72
  return e.measures.filter((e) => p(e)).forEach((r) => {
73
- let c = s(r.dataItem), l = (e) => e.fieldId.value === c;
73
+ let s = c(r.dataItem), l = (e) => e.fieldId.value === s;
74
74
  switch (r.graphType || e.type) {
75
75
  case d.Bar:
76
76
  o.push(le(e, t, i ?? [], n, r, a, l));
77
77
  break;
78
78
  case d.Point:
79
- o.push(R(e, t, n, r, !1, C.ComboChartCollection, l));
79
+ o.push(B(e, t, n, r, !1, C.ComboChartCollection, l));
80
80
  break;
81
- default: o.push(ce(e, t, n, r, l)), o.push(R(e, t, n, r, !r.showDataPoints, C.ComboChartCollection, l));
81
+ default: o.push(ce(e, t, n, r, l)), o.push(B(e, t, n, r, !r.showDataPoints, C.ComboChartCollection, l));
82
82
  }
83
- }), o.sort((e) => e.type === Y.Box ? -1 : 0), {
83
+ }), o.sort((e) => e.type === I.Box ? -1 : 0), {
84
84
  ...n,
85
85
  components: [...n.components, ...o]
86
86
  };
@@ -89,9 +89,9 @@ function ce(e, t, n, r, i) {
89
89
  let a = e.dimensions.filter((e) => p(e));
90
90
  if (!a[0]) throw Error("Combo chart without dimension is not supported.");
91
91
  if (a.length > 1) throw Error("Combo chart currently support only one dimension.");
92
- let o = x(r.strokeDash), l = s(r.dataItem), u = ne(e, n, t, r, l);
92
+ let o = x(r.strokeDash), s = c(r.dataItem), u = ne(e, n, t, r, s);
93
93
  return {
94
- type: Y.Line,
94
+ type: I.Line,
95
95
  layout: { displayOrder: T.VisualizationElement },
96
96
  key: X(e, r, d.Line),
97
97
  data: {
@@ -99,12 +99,12 @@ function ce(e, t, n, r, i) {
99
99
  filter: i
100
100
  },
101
101
  settings: {
102
- orientation: e.orientation === c.Horizontal ? c.Vertical : c.Horizontal,
102
+ orientation: e.orientation === l.Horizontal ? l.Vertical : l.Horizontal,
103
103
  coordinates: {
104
- major: { scale: F(e) },
104
+ major: { scale: U(e) },
105
105
  minor: {
106
- scale: K(e, r),
107
- ref: l
106
+ scale: L(e, r),
107
+ ref: s
108
108
  }
109
109
  },
110
110
  layers: {
@@ -124,17 +124,17 @@ function ce(e, t, n, r, i) {
124
124
  };
125
125
  }
126
126
  function le(e, t, n, r, i, a, o) {
127
- let l = e.dimensions.filter((e) => p(e)), f = e.measures.filter((e) => p(e) && e.graphType === d.Bar);
128
- if (!l[0]) throw Error("Combo chart without dimension is not supported.");
129
- let m = { scale: F(e) }, h = {
130
- scale: K(e, i),
127
+ let s = e.dimensions.filter((e) => p(e)), f = e.measures.filter((e) => p(e) && e.graphType === d.Bar);
128
+ if (!s[0]) throw Error("Combo chart without dimension is not supported.");
129
+ let m = { scale: U(e) }, h = {
130
+ scale: L(e, i),
131
131
  end: { ref: "end" }
132
132
  }, g = {
133
133
  minWidthPx: 2,
134
134
  rx: u(e?.barSettings.barRadius, 0),
135
135
  roundAllEdges: e?.barSettings?.roundAllEdges,
136
136
  useCustomBoxRounding: !0,
137
- boxPadding: e?.barSettings?.barPadding ?? U.scale.padding
137
+ boxPadding: e?.barSettings?.barPadding ?? J.scale.padding
138
138
  };
139
139
  g.fill = new re(e, t, n?.[0]?.itemsNotAffectedByFiltering).getColorDefinition({ ref: "fieldId" });
140
140
  let _ = {
@@ -142,14 +142,14 @@ function le(e, t, n, r, i, a, o) {
142
142
  presetId: "bar-chart"
143
143
  }, v = i?.graphType !== d.Bar;
144
144
  if (f.length > 1 && e.barSettings?.grouped) {
145
- let t = 1 * (1 / f.length), n = (1 - (e.barSettings?.barPadding ?? 0)) * t, r = .5 / f.length, a = (1 + 0 * (f.length - 1)) * r, o = f.findIndex((e) => s(e.dataItem) === s(i.dataItem));
145
+ let t = 1 * (1 / f.length), n = (1 - (e.barSettings?.barPadding ?? 0)) * t, r = .5 / f.length, a = (1 + 0 * (f.length - 1)) * r, o = f.findIndex((e) => c(e.dataItem) === c(i.dataItem));
146
146
  m.fn = (n) => {
147
- let r = n.resources.scale(F(e));
147
+ let r = n.resources.scale(U(e));
148
148
  return r(n.datum.value) + a * r.bandwidth?.() + o * r.bandwidth?.() * t;
149
149
  }, g.width = n;
150
150
  }
151
151
  return {
152
- type: Y.Box,
152
+ type: I.Box,
153
153
  layout: { displayOrder: T.VisualizationElement },
154
154
  key: X(e, i, d.Bar),
155
155
  data: {
@@ -157,13 +157,13 @@ function le(e, t, n, r, i, a, o) {
157
157
  filter: o
158
158
  },
159
159
  settings: {
160
- orientation: e.orientation ?? c.Vertical,
160
+ orientation: e.orientation ?? l.Vertical,
161
161
  major: m,
162
162
  minor: h,
163
163
  box: g
164
164
  },
165
165
  animations: _,
166
- brush: v ? null : P([""], a)
166
+ brush: v ? null : F([""], a)
167
167
  };
168
168
  }
169
169
  var ue = (e, t) => {
@@ -183,7 +183,7 @@ var ue = (e, t) => {
183
183
  ...e,
184
184
  possible: n.includes(e.position)
185
185
  }));
186
- }, de = ({ data: e }) => e ? e.end.value > e.start.value ? "up" : "down" : null, fe = ({ data: e }) => e ? e.end.value > e.start.value ? "right" : "left" : null, pe = (e, t, n, a, c, l) => {
186
+ }, de = ({ data: e }) => e ? e.end.value > e.start.value ? "up" : "down" : null, fe = ({ data: e }) => e ? e.end.value > e.start.value ? "right" : "left" : null, pe = (e, t, n, a, s, l) => {
187
187
  let u = e.measures.filter((e) => p(e)), f = u.filter((e) => e.graphType === d.Bar), m = f.filter((e) => e.dataLabels?.show), h = f.length >= 2 && !("barSettings" in e && e.barSettings?.grouped), g = q(e), _ = m.map((n) => {
188
188
  let i = !!n.dataLabels?.barLabelPlacements, a = ue(n.dataLabels?.barLabelPlacements, h).filter((e) => e.possible).map((e) => ({
189
189
  position: e.position,
@@ -191,18 +191,18 @@ var ue = (e, t) => {
191
191
  ...e.justify === void 0 ? {} : { justify: e.justify },
192
192
  ...i ? { overflow: [y.Outside, y.Opposite].includes(e.position) } : {}
193
193
  }));
194
- return n.dataLabels?.showBackdrop && !h && (a = a.map((e) => O(e, t, g))), {
194
+ return n.dataLabels?.showBackdrop && !h && (a = a.map((e) => k(e, t, g))), {
195
195
  key: `combo-bar-labels-${n.dataItem.uniqueSignature}`,
196
- type: Y.Labels,
196
+ type: I.Labels,
197
197
  layout: { displayOrder: T.Labels },
198
198
  settings: { sources: [{
199
199
  component: X(e, n, d.Bar),
200
- selector: J.Rect,
200
+ selector: W.Rect,
201
201
  strategy: {
202
202
  type: "bar",
203
203
  settings: {
204
204
  direction: g ? fe : de,
205
- fontSize: V(n.dataLabels?.size),
205
+ fontSize: Y(n.dataLabels?.size),
206
206
  fontFamily: t.fonts.general.fontFamily,
207
207
  labels: [{
208
208
  label: w(n),
@@ -217,19 +217,19 @@ var ue = (e, t) => {
217
217
  }
218
218
  };
219
219
  }), v = {}, b = {}, x = u.filter((e) => e.graphType !== d.Bar).map((t) => {
220
- let n = s(t.dataItem), r = X(e, t, d.Point);
220
+ let n = c(t.dataItem), r = X(e, t, d.Point);
221
221
  return b[r] = n, v[r] = {
222
222
  enabled: t.dataLabels?.show || !1,
223
- fontSize: V(t.dataLabels?.size),
223
+ fontSize: Y(t.dataLabels?.size),
224
224
  backdropColor: t.dataLabels?.backdropColor,
225
225
  textColor: t.dataLabels?.textColor,
226
226
  isColored: t.dataLabels?.isColored,
227
227
  colorType: t.dataLabels?.showBackdrop ? i.Backdrop : i.Text,
228
228
  density: t.dataLabels?.density || o.Medium
229
229
  }, r;
230
- }).filter((e) => v[e].enabled), S = x.length ? [M({
230
+ }).filter((e) => v[e].enabled), S = x.length ? [N({
231
231
  targetComponentKeys: x,
232
- targetSelector: `.${z}`,
232
+ targetSelector: `.${V}`,
233
233
  label: ({ data: e, node: t }) => e[b[t.key]]?.label,
234
234
  skipBrush: !0
235
235
  }, v, l, t)] : [];
@@ -259,25 +259,25 @@ var ue = (e, t) => {
259
259
  super([
260
260
  $,
261
261
  oe,
262
- A,
263
- te,
262
+ j,
263
+ ee,
264
264
  se,
265
- L,
266
- I,
265
+ z,
266
+ R,
267
267
  pe,
268
- H,
268
+ G,
269
269
  S,
270
- k,
270
+ A,
271
271
  Q,
272
- W,
273
- j
272
+ K,
273
+ M
274
274
  ]);
275
275
  }
276
- }, he = v(), ge = _(({ vSpec: e, vTheme: t, data: n, elementSize: r, vizProperties: i }) => {
277
- let a = g(), [o] = (0, ae.useState)(() => new me()), s = h(), c = G();
276
+ }, he = v(), ge = g(({ vSpec: e, vTheme: t, data: n, elementSize: r, vizProperties: i }) => {
277
+ let a = h(), [o] = (0, ae.useState)(() => new me()), s = m(), c = te();
278
278
  if (!e || !r) return null;
279
279
  let l = t || f, u = o.compile(e, l, n, r, i, d.Combo, a, s, c);
280
- return u ? /* @__PURE__ */ (0, he.jsx)(B, {
280
+ return u ? /* @__PURE__ */ (0, he.jsx)(H, {
281
281
  config: i,
282
282
  definition: u,
283
283
  size: r,