@astrato-io/visualizations 0.9.0 → 0.10.1

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 (144) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/README.md +7 -3
  3. package/THIRD_PARTY_NOTICES.md +163 -14
  4. package/VISUALIZATION_DEFINITIONS.md +376 -36
  5. package/chunks/{Button-5CxPEACP.js → Button-Dn3rJrYf.js} +4 -4
  6. package/chunks/{CircularProgress-DFS-LQb7.js → CircularProgress-BFeu06Yb.js} +39 -39
  7. package/chunks/FieldTypeIcon-DrMoGpHJ.js +22 -0
  8. package/chunks/{LinearProgress-CjIQfkNA.js → LinearProgress-ClO6GUjN.js} +9 -9
  9. package/chunks/{MenuOption-Cb7B7x6z.js → MenuOption-Czc34u4q.js} +143 -142
  10. package/chunks/{Title-CtFw1bVg.js → Title-BgYnaVTR.js} +22 -22
  11. package/chunks/_createAggregator-BMu9uRax.js +50 -0
  12. package/chunks/{app-filter-bar.compiler-B9775gLJ.js → app-filter-bar.compiler-CVir0wkl.js} +10 -10
  13. package/chunks/bar-layout-C_UgRlVl.js +9 -0
  14. package/chunks/{bar.compiler-B7wlH_Ro.js → bar.compiler-DYuFdi9J.js} +100 -82
  15. package/chunks/{builder-Dxo7D7c6.js → builder-C-TKA-My.js} +70 -37
  16. package/chunks/color-rules-DYJL4fIW.js +15 -0
  17. package/chunks/color-settings-DJFoFTip.js +5 -0
  18. package/chunks/{coloring-B-Wa8D5P.js → coloring-BtnPiQ_o.js} +37 -37
  19. package/chunks/createSimplePaletteValueFilter--zrZxRV9.js +2005 -0
  20. package/chunks/defaults-Dtk7fg3C.js +3 -0
  21. package/chunks/{definitions-DNpzD9tY.js → definitions-CT304NDn.js} +655 -417
  22. package/chunks/{escobar-C4Nm3eJ7.js → escobar-CvEV2ES1.js} +7441 -7127
  23. package/chunks/{extend-preset-BVKFtoe-.js → extend-preset-D9-JP92b.js} +998 -933
  24. package/chunks/{filter.compiler-BlS3zoy_.js → filter.compiler-CXeZznks.js} +7 -7
  25. package/chunks/{filtering-CGuLpg7u.js → filtering-8_bFv-jb.js} +333 -377
  26. package/chunks/handlers-C6CZ0XJA.js +15399 -0
  27. package/chunks/{icon-picker-styles-DYQgVEKG.js → icon-picker-styles-BXiJ1SZS.js} +11 -11
  28. package/chunks/isEqual-D8Ay63xR.js +16 -0
  29. package/chunks/{isFocusVisible-B1_z03UT.js → isFocusVisible-Bu8gGZu5.js} +1 -1
  30. package/chunks/label-format-type-C46pzgx7.js +17 -0
  31. package/chunks/{line.compiler-Bo9i9qag.js → line.compiler-DmHpmQCC.js} +9 -9
  32. package/chunks/{logger-3lng-wOw.js → logger-DdZpR7xZ.js} +79 -72
  33. package/chunks/map.compiler-Q_Y1Pvat.js +343 -0
  34. package/chunks/{metadata-Fmx1swpK.js → metadata-BQm_TXI1.js} +1 -1
  35. package/chunks/{number.compiler-CdLd5aGW.js → number.compiler-DQdg6zTy.js} +7 -7
  36. package/chunks/operations-DKQWuLL7.js +31315 -0
  37. package/chunks/{range-CzO4isKK.js → range-BdhzvYQ_.js} +2 -2
  38. package/chunks/{react-dom-BwZT0N3F.js → react-dom-BGP4tbXV.js} +70 -70
  39. package/chunks/{render-wrappers-CAuvgMxi.js → render-wrappers-BZpyDnJy.js} +1 -1
  40. package/chunks/{requirements-CYpVh65U.js → requirements-e8Fe96ag.js} +60 -58
  41. package/chunks/shared-C_2F90xq.js +1337 -0
  42. package/chunks/standalone-4MsKiqs0.js +355 -0
  43. package/chunks/standalone-B794g9pE.js +1012 -0
  44. package/chunks/{standalone-C6XDHYAM.js → standalone-B8ZSqauS.js} +110 -110
  45. package/chunks/{standalone-5DnapeHH.js → standalone-BA2YXyJS.js} +126 -124
  46. package/chunks/{standalone-CXniic5x.js → standalone-BDrXVxlP.js} +6 -5
  47. package/chunks/{standalone-B6s_xG2u.js → standalone-BE_ONgiG.js} +116 -116
  48. package/chunks/{standalone-CPUiiWNP.js → standalone-BTY3w_JA.js} +37 -37
  49. package/chunks/standalone-BgumbdaJ2.js +357 -0
  50. package/chunks/{standalone-DWPfdP0A.js → standalone-BkbiH-o8.js} +482 -482
  51. package/chunks/standalone-Blh4qejk.js +689 -0
  52. package/chunks/standalone-CXY4FpF7.js +773 -0
  53. package/chunks/{standalone-BvWdpUL3.js → standalone-CY_kjarf.js} +34 -31
  54. package/chunks/{standalone-DuwTOBXH.js → standalone-CaTxAydz.js} +587 -587
  55. package/chunks/{standalone-BDrQMxLi.js → standalone-Cc98Pdr6.js} +1799 -1015
  56. package/chunks/{standalone-DMCwtebn.js → standalone-Cl0TSfqC.js} +125 -125
  57. package/chunks/{standalone-CoQxJ6ov.js → standalone-CsoMmE9T.js} +778 -778
  58. package/chunks/standalone-DH0xTEes.js +2 -0
  59. package/chunks/{standalone-LFVgLhia.js → standalone-DHRalbVO.js} +311 -303
  60. package/chunks/standalone-DNh9NcMa.js +580 -0
  61. package/chunks/standalone-DcnHjNnC.js +2 -0
  62. package/chunks/{standalone-r4ObFvys.js → standalone-DflyWtuR.js} +217 -215
  63. package/chunks/standalone-DrHdGkY7.js +762 -0
  64. package/chunks/standalone-c_rROMtx.js +287 -0
  65. package/chunks/standalone-drcFLeN6.js +6 -0
  66. package/chunks/{standalone-CNkHsynO.js → standalone-wOWRCpdn.js} +54 -56
  67. package/chunks/{standalone-Cu73fzSr.js → standalone-z0o52o5t.js} +5128 -4908
  68. package/chunks/{table.compiler-C1qjqXaT.js → table.compiler-COaHE9VD.js} +18 -18
  69. package/chunks/{useFieldName-mWrD_uk_.js → useFieldName-CdnCWzhd.js} +1 -1
  70. package/chunks/{utils-DYYD4Zzf.js → utils-DganVptf.js} +4758 -4747
  71. package/chunks/{view-7fH6mGmY.js → view-Bzlros43.js} +2021 -1665
  72. package/chunks/{visualization-filters-mVnsnvLP.js → visualization-filters-D7i6oh1Z.js} +3177 -2425
  73. package/chunks/{with-html-element-B0Clt4jY.js → with-html-element-CiIhFEa5.js} +3740 -3547
  74. package/definitions.js +2 -2
  75. package/docs/operations/astrato-app-filter-bar.md +1 -1
  76. package/docs/operations/bar.md +303 -2
  77. package/docs/operations/combo.md +262 -1
  78. package/docs/operations/date-picker.md +1 -1
  79. package/docs/operations/distribution-gauge.md +1 -1
  80. package/docs/operations/dot.md +148 -1
  81. package/docs/operations/filter.md +1 -1
  82. package/docs/operations/gauge.md +1 -1
  83. package/docs/operations/heatMap.md +1 -1
  84. package/docs/operations/histogram.md +262 -1
  85. package/docs/operations/iframe.md +1 -1
  86. package/docs/operations/image.md +1 -1
  87. package/docs/operations/index.md +7 -7
  88. package/docs/operations/line.md +280 -1
  89. package/docs/operations/number.md +1 -1
  90. package/docs/operations/pie.md +1 -1
  91. package/docs/operations/radar.md +1 -1
  92. package/docs/operations/sankey.md +1 -1
  93. package/docs/operations/scatter.md +148 -1
  94. package/docs/operations/shape.md +1 -1
  95. package/docs/operations/simpleTextObject.md +1 -1
  96. package/docs/operations/slider.md +1 -1
  97. package/docs/operations/table.md +374 -157
  98. package/docs/operations/tree.md +1 -1
  99. package/docs/operations/treemap.md +1 -1
  100. package/docs/operations/waterfall.md +1 -1
  101. package/docs/operations/word-cloud.md +1 -1
  102. package/getters.js +2 -2
  103. package/index.js +482 -434
  104. package/metadata.js +2 -2
  105. package/operations.js +5 -5
  106. package/package.json +72 -67
  107. package/src/definitions/index.d.ts +7 -1
  108. package/src/definitions/model/definitions/available-fields.d.ts +2 -2
  109. package/src/definitions/model/definitions/compilers/compile.d.ts +1 -0
  110. package/src/definitions/model/definitions/data-item-resolution.d.ts +3 -3
  111. package/src/definitions/model/definitions/descriptors/descriptor-metadata.d.ts +219 -7
  112. package/src/definitions/model/definitions/index.d.ts +2 -1
  113. package/src/definitions/model/definitions/schema-registry.d.ts +305 -0
  114. package/src/definitions/model/definitions/schemas/bar.schema.d.ts +2 -0
  115. package/src/definitions/model/definitions/schemas/common.schema.d.ts +4 -3
  116. package/src/definitions/model/definitions/schemas/index.d.ts +1 -0
  117. package/src/definitions/model/definitions/schemas/map.schema.d.ts +590 -0
  118. package/src/definitions/model/definitions/types/compilation.types.d.ts +9 -1
  119. package/src/definitions/model/definitions/types/definition.types.d.ts +2 -2
  120. package/src/definitions/model/definitions/types/index.d.ts +1 -1
  121. package/src/index.d.ts +1 -1
  122. package/src/operations/index.d.ts +1 -1
  123. package/src/types.d.ts +17 -13
  124. package/chunks/FieldTypeIcon-pSVQFemC.js +0 -22
  125. package/chunks/ToggleButton-Br9HCPCv.js +0 -150
  126. package/chunks/color-rules-CN7TcGrC.js +0 -6
  127. package/chunks/color-settings-3VRlf_Vw.js +0 -6
  128. package/chunks/handlers-CMbyj5y1.js +0 -12930
  129. package/chunks/isEqual-DBg_b35N.js +0 -12
  130. package/chunks/label-format-type-weq1XfcX.js +0 -8
  131. package/chunks/operations-HSqnCRvv.js +0 -26324
  132. package/chunks/shared-DFoJxjVN.js +0 -1218
  133. package/chunks/standalone-530a5lvf.js +0 -1003
  134. package/chunks/standalone-B4jrf4KE.js +0 -354
  135. package/chunks/standalone-BMoJXGYe.js +0 -2
  136. package/chunks/standalone-BfvGggeM2.js +0 -355
  137. package/chunks/standalone-CMJJIi9v.js +0 -2
  138. package/chunks/standalone-C_Jd4gkj.js +0 -6
  139. package/chunks/standalone-CiaaibTa.js +0 -518
  140. package/chunks/standalone-DBeXQrwH.js +0 -468
  141. package/chunks/standalone-DpSRmAWx.js +0 -287
  142. package/chunks/standalone-kzAhwH19.js +0 -689
  143. package/chunks/standalone-mb7LwEiq.js +0 -3874
  144. /package/chunks/{src-BOS6SqkZ2.js → src-BOS6SqkZ.js} +0 -0
@@ -1,55 +1,37 @@
1
1
  import { o as e, t } from "./rolldown-runtime-DleVn1XH.js";
2
- import { Cr as n, D as r, Ei as i, Fi as a, Hi as o, In as s, Kt as c, Pi as l, Vt as u, cr as d, da as f, er as p, fr as m, sr as h, uo as g, yn as _, zi as v } from "./visualization-filters-mVnsnvLP.js";
3
- import { $r as y, Bt as b, Cr as x, Dr as S, Er as C, G as w, Qr as ee, Rn as T, W as E, Xr as D, ei as O, f as k, in as A, jr as j, kn as te, ot as ne, rt as re, xr as ie } from "./utils-DYYD4Zzf.js";
4
- import { s as ae } from "./logger-3lng-wOw.js";
5
- import { r as M, s as oe, u as se } from "./MenuOption-Cb7B7x6z.js";
6
- import { d as ce, f as N, l as P, u as F } from "./responsive.styles-FItb913l.js";
7
- import { t as le } from "./LinearProgress-CjIQfkNA.js";
8
- var ue = (e, t, n) => Math.ceil(t) + Math.ceil(n) >= Math.floor(e) && n > 0;
9
- function de(e) {
2
+ import { $t as n, Ir as r, Ji as i, Mn as a, Oa as o, Yn as s, Za as c, es as l, in as u, na as d, ra as f, sa as p } from "./visualization-filters-D7i6oh1Z.js";
3
+ import { Fr as m, G as h, Kn as g, Ln as _, Pr as v, Ut as y, W as b, ci as x, f as S, ii as C, jr as w, kr as ee, oi as T, ot as E, rt as D, si as O, sn as k, zr as A } from "./utils-DganVptf.js";
4
+ import "./defaults-Dtk7fg3C.js";
5
+ import { s as j } from "./logger-DdZpR7xZ.js";
6
+ import { r as M, s as N, u as te } from "./MenuOption-Czc34u4q.js";
7
+ import { d as ne, f as P, l as F, u as I } from "./responsive.styles-FItb913l.js";
8
+ import { t as re } from "./LinearProgress-ClO6GUjN.js";
9
+ import { t as ie } from "./_createAggregator-BMu9uRax.js";
10
+ var ae = (e, t, n) => Math.ceil(t) + Math.ceil(n) >= Math.floor(e) && n > 0;
11
+ function oe(e) {
10
12
  let { theme: t, name: n, props: r } = e;
11
- return !t || !t.components || !t.components[n] || !t.components[n].defaultProps ? r : re(t.components[n].defaultProps, r);
13
+ return !t || !t.components || !t.components[n] || !t.components[n].defaultProps ? r : D(t.components[n].defaultProps, r);
12
14
  }
13
- function fe(e) {
14
- let { props: t, name: n, defaultTheme: r, themeId: i } = e, a = ne(r);
15
- return i && (a = a[i] || a), de({
15
+ function se(e) {
16
+ let { props: t, name: n, defaultTheme: r, themeId: i } = e, a = E(r);
17
+ return i && (a = a[i] || a), oe({
16
18
  theme: a,
17
19
  name: n,
18
20
  props: t
19
21
  });
20
22
  }
21
- var I = /* @__PURE__ */ e(O(), 1), L = /*#__PURE__*/ I.createContext(void 0);
22
- function pe() {
23
- return I.useContext(L);
23
+ var L = /* @__PURE__ */ e(x(), 1), R = /*#__PURE__*/ L.createContext(void 0);
24
+ function ce() {
25
+ return L.useContext(R);
24
26
  }
25
- function me({ props: e, states: t }) {
26
- let n = I.useContext(L), r = {};
27
+ function le({ props: e, states: t }) {
28
+ let n = L.useContext(R), r = {};
27
29
  return t.forEach((t) => {
28
30
  let i = e[t];
29
31
  r[t] = i === void 0 && n ? n[t] : i;
30
32
  }), [r, n];
31
33
  }
32
- var he = /* @__PURE__ */ t(((e, t) => {
33
- var n = r(), i = h();
34
- function a(e, t) {
35
- return e && n(e, t, i);
36
- }
37
- t.exports = a;
38
- })), ge = /* @__PURE__ */ t(((e, t) => {
39
- var n = d();
40
- function r(e, t) {
41
- return function(r, i) {
42
- if (r == null) return r;
43
- if (!n(r)) return e(r, i);
44
- for (var a = r.length, o = t ? a : -1, s = Object(r); (t ? o-- : ++o < a) && i(s[o], o, s) !== !1;);
45
- return r;
46
- };
47
- }
48
- t.exports = r;
49
- })), _e = /* @__PURE__ */ t(((e, t) => {
50
- var n = he();
51
- t.exports = ge()(n);
52
- })), R = ae(), z = j(), ve = ({ r: e, g: t, b: n, a: r }) => `rgba(${e},${t},${n},${r ?? 1})`, ye = (e) => {
34
+ var z = j(), B = A(), ue = ({ r: e, g: t, b: n, a: r }) => `rgba(${e},${t},${n},${r ?? 1})`, de = (e) => {
53
35
  let [t, n, r, i] = e.replace("rgba(", "").replace("rgb(", "").replace(")", "").replaceAll(" ", "").split(",").map((e) => +e);
54
36
  return {
55
37
  r: t,
@@ -57,82 +39,56 @@ var he = /* @__PURE__ */ t(((e, t) => {
57
39
  b: r,
58
40
  a: i ?? 1
59
41
  };
60
- }, B = (e, t = !0) => /^#([0-9a-f]{3}){1,2}$/i.test(String(e)) || t && /^#([0-9a-f]{4}){1,2}$/i.test(String(e)), V = (e = "") => e.length < 7 ? e.split("").map((e) => e === "#" ? e : e + e).join("") : e, be = (e) => {
61
- let t = V(e);
42
+ }, V = (e, t = !0) => /^#([0-9a-f]{3}){1,2}$/i.test(String(e)) || t && /^#([0-9a-f]{4}){1,2}$/i.test(String(e)), H = (e = "") => e.length < 7 ? e.split("").map((e) => e === "#" ? e : e + e).join("") : e, fe = (e) => {
43
+ let t = H(e);
62
44
  return {
63
45
  r: parseInt(t.slice(1, 3), 16),
64
46
  g: parseInt(t.slice(3, 5), 16),
65
47
  b: parseInt(t.slice(5, 7), 16),
66
- a: xe(t)
48
+ a: pe(t)
67
49
  };
68
- }, xe = (e) => {
50
+ }, pe = (e) => {
69
51
  if (!e) return 1;
70
52
  if (typeof e == "string") {
71
- if (B(e)) {
72
- let t = V(e);
53
+ if (V(e)) {
54
+ let t = H(e);
73
55
  return t.length === 7 ? 1 : Math.round(parseInt(t.slice(-2), 16) / 255 * 100) / 100;
74
56
  }
75
57
  let [, , , t] = e.substring(5, e.length - 1).replaceAll(" ", "").split(",");
76
58
  return Number(t) || 1;
77
59
  }
78
60
  return e.a ?? 1;
79
- }, Se = /* @__PURE__ */ t(((e, t) => {
80
- function n(e, t, n, r) {
81
- for (var i = -1, a = e == null ? 0 : e.length; ++i < a;) {
82
- var o = e[i];
83
- t(r, o, n(o), e);
84
- }
85
- return r;
86
- }
87
- t.exports = n;
88
- })), Ce = /* @__PURE__ */ t(((e, t) => {
89
- var n = _e();
90
- function r(e, t, r, i) {
91
- return n(e, function(e, n, a) {
92
- t(i, e, r(e), a);
93
- }), i;
94
- }
95
- t.exports = r;
96
- })), we = /* @__PURE__ */ t(((e, t) => {
97
- var n = Se(), r = Ce(), i = p(), a = m();
98
- function o(e, t) {
99
- return function(o, s) {
100
- var c = a(o) ? n : r, l = t ? t() : {};
101
- return c(o, e, i(s, 2), l);
102
- };
103
- }
104
- t.exports = o;
105
- })), Te = /* @__PURE__ */ t(((e, t) => {
106
- t.exports = we()(function(e, t, n) {
61
+ }, me = /* @__PURE__ */ t(((e, t) => {
62
+ t.exports = ie()(function(e, t, n) {
107
63
  e[+!n].push(t);
108
64
  }, function() {
109
65
  return [[], []];
110
66
  });
111
- })), Ee = class {
67
+ })), he = class {
112
68
  constructor(e) {
113
69
  this.value = e;
114
70
  }
115
71
  deref() {
116
72
  return this.value;
117
73
  }
118
- }, De = typeof WeakRef > "u" ? Ee : WeakRef, Oe = 0, H = 1;
119
- function U() {
74
+ }, U = typeof WeakRef > "u" ? he : WeakRef, ge = 0, W = 1;
75
+ function G() {
120
76
  return {
121
- s: Oe,
77
+ s: ge,
122
78
  v: void 0,
123
79
  o: null,
124
80
  p: null
125
81
  };
126
82
  }
127
- function ke(e) {
128
- return e instanceof De ? e.deref() : e;
83
+ function _e(e) {
84
+ return e instanceof U ? e.deref() : e;
129
85
  }
130
- function Ae(e, t = {}) {
131
- let n = U(), { resultEqualityCheck: r, maxSize: i } = t, a = i !== void 0;
86
+ function ve(e, t = {}) {
87
+ let n = G(), { resultEqualityCheck: r, maxSize: i } = t, a = i !== void 0;
132
88
  if (a && (!Number.isInteger(i) || i < 1)) throw TypeError(`maxSize must be a positive integer, received: ${i}`);
133
89
  let o = null, s = 0, c, l = 0;
134
90
  function u() {
135
- s >= i && (o = n, n = U(), s = 0);
91
+ s >= i && (o = n, n = G(), s = 0);
136
92
  }
137
93
  function d() {
138
94
  let t = n, { length: i } = arguments;
@@ -142,15 +98,15 @@ function Ae(e, t = {}) {
142
98
  let e = t.o;
143
99
  e === null && (t.o = e = /* @__PURE__ */ new WeakMap());
144
100
  let r = e.get(n);
145
- r === void 0 ? (t = U(), e.set(n, t)) : t = r;
101
+ r === void 0 ? (t = G(), e.set(n, t)) : t = r;
146
102
  } else {
147
103
  let e = t.p;
148
104
  e === null && (t.p = e = /* @__PURE__ */ new Map());
149
105
  let r = e.get(n);
150
- r === void 0 ? (t = U(), e.set(n, t), s++) : t = r;
106
+ r === void 0 ? (t = G(), e.set(n, t), s++) : t = r;
151
107
  }
152
108
  }
153
- if (t.s === H) return t.v;
109
+ if (t.s === W) return t.v;
154
110
  if (o !== null) {
155
111
  let e = o;
156
112
  for (let t = 0, n = i; t < n; t++) {
@@ -168,50 +124,50 @@ function Ae(e, t = {}) {
168
124
  }
169
125
  e = r;
170
126
  }
171
- if (e !== null && e.s === H) {
127
+ if (e !== null && e.s === W) {
172
128
  let n = t;
173
- return n.s = H, n.v = e.v, u(), e.v;
129
+ return n.s = W, n.v = e.v, u(), e.v;
174
130
  }
175
131
  }
176
132
  let d = t, f = e.apply(null, arguments);
177
133
  if (l++, r) {
178
- let e = ke(c);
179
- e != null && r(e, f) && (f = e, l !== 0 && l--), c = typeof f == "object" && f || typeof f == "function" ? /* @__PURE__ */ new De(f) : f;
134
+ let e = _e(c);
135
+ e != null && r(e, f) && (f = e, l !== 0 && l--), c = typeof f == "object" && f || typeof f == "function" ? /* @__PURE__ */ new U(f) : f;
180
136
  }
181
- return d.s = H, d.v = f, a && u(), f;
137
+ return d.s = W, d.v = f, a && u(), f;
182
138
  }
183
139
  return d.clearCache = () => {
184
- n = U(), o = null, s = 0, d.resetResultsCount();
140
+ n = G(), o = null, s = 0, d.resetResultsCount();
185
141
  }, d.resultsCount = () => l, d.resetResultsCount = () => {
186
142
  l = 0;
187
143
  }, d;
188
144
  }
189
- var W = /* @__PURE__ */ Symbol("NOT_FOUND");
190
- function je(e, t = `expected a function, instead received ${typeof e}`) {
145
+ var K = /* @__PURE__ */ Symbol("NOT_FOUND");
146
+ function ye(e, t = `expected a function, instead received ${typeof e}`) {
191
147
  if (typeof e != "function") throw TypeError(t);
192
148
  }
193
- function Me(e, t = "expected all items to be functions, instead received the following types: ") {
149
+ function be(e, t = "expected all items to be functions, instead received the following types: ") {
194
150
  if (!e.every((e) => typeof e == "function")) {
195
151
  let n = e.map((e) => typeof e == "function" ? `function ${e.name || "unnamed"}()` : typeof e).join(", ");
196
152
  throw TypeError(`${t}[${n}]`);
197
153
  }
198
154
  }
199
- var G = (e) => Array.isArray(e) ? e : [e];
200
- function Ne(e) {
155
+ var xe = (e) => Array.isArray(e) ? e : [e];
156
+ function Se(e) {
201
157
  let t = Array.isArray(e[0]) ? e[0] : e;
202
- return Me(t, "createSelector expects all input-selectors to be functions, but received the following types: "), t;
158
+ return be(t, "createSelector expects all input-selectors to be functions, but received the following types: "), t;
203
159
  }
204
- function Pe(e, ...t) {
160
+ function Ce(e, ...t) {
205
161
  let n = typeof e == "function" ? {
206
162
  memoize: e,
207
163
  memoizeOptions: t
208
164
  } : e, r = (...e) => {
209
165
  let t = 0, r = 0, i, a = {}, o = e.pop();
210
- typeof o == "object" && (a = o, o = e.pop()), je(o, `createSelector expects an output function after the inputs, but received: [${typeof o}]`);
211
- let { memoize: s, memoizeOptions: c = [], argsMemoize: l = Ae, argsMemoizeOptions: u = [] } = {
166
+ typeof o == "object" && (a = o, o = e.pop()), ye(o, `createSelector expects an output function after the inputs, but received: [${typeof o}]`);
167
+ let { memoize: s, memoizeOptions: c = [], argsMemoize: l = ve, argsMemoizeOptions: u = [] } = {
212
168
  ...n,
213
169
  ...a
214
- }, d = G(c), f = G(u), p = Ne(e), m = s(function() {
170
+ }, d = xe(c), f = xe(u), p = Se(e), m = s(function() {
215
171
  return t++, o.apply(null, arguments);
216
172
  }, ...d), h = l(function() {
217
173
  r++;
@@ -238,12 +194,12 @@ function Pe(e, ...t) {
238
194
  };
239
195
  return Object.assign(r, { withTypes: () => r }), r;
240
196
  }
241
- var Fe = /* @__PURE__ */ Pe(Ae);
242
- function Ie(e) {
197
+ var we = /* @__PURE__ */ Ce(ve);
198
+ function Te(e) {
243
199
  let t;
244
200
  return {
245
201
  get(n) {
246
- return t && e(t.key, n) ? t.value : W;
202
+ return t && e(t.key, n) ? t.value : K;
247
203
  },
248
204
  put(e, n) {
249
205
  t = {
@@ -260,7 +216,7 @@ function Ie(e) {
260
216
  }
261
217
  };
262
218
  }
263
- function Le(e, t) {
219
+ function Ee(e, t) {
264
220
  let n = [];
265
221
  function r(e) {
266
222
  let r = n.findIndex((n) => t(n.key, e));
@@ -268,7 +224,7 @@ function Le(e, t) {
268
224
  let e = n[r];
269
225
  return r > 0 && (n.splice(r, 1), n.unshift(e)), e.value;
270
226
  }
271
- return W;
227
+ return K;
272
228
  }
273
229
  function i(t, r) {
274
230
  n.unshift({
@@ -293,8 +249,8 @@ function Le(e, t) {
293
249
  clear: o
294
250
  };
295
251
  }
296
- var Re = (e, t) => e === t;
297
- function ze(e) {
252
+ var De = (e, t) => e === t;
253
+ function Oe(e) {
298
254
  return function(t, n) {
299
255
  if (t === null || n === null || t.length !== n.length) return !1;
300
256
  let { length: r } = t;
@@ -302,11 +258,11 @@ function ze(e) {
302
258
  return !0;
303
259
  };
304
260
  }
305
- function Be(e, t) {
306
- let { equalityCheck: n = Re, maxSize: r = 1, resultEqualityCheck: i } = typeof t == "object" ? t : { equalityCheck: t }, a = ze(n), o = 0, s = r <= 1 ? Ie(a) : Le(r, a);
261
+ function ke(e, t) {
262
+ let { equalityCheck: n = De, maxSize: r = 1, resultEqualityCheck: i } = typeof t == "object" ? t : { equalityCheck: t }, a = Oe(n), o = 0, s = r <= 1 ? Te(a) : Ee(r, a);
307
263
  function c() {
308
264
  let t = s.get(arguments);
309
- if (t === W) {
265
+ if (t === K) {
310
266
  if (t = e.apply(null, arguments), o++, i) {
311
267
  let e = s.findMatchingEntry(t, i);
312
268
  e && (t = e.value, o !== 0 && o--);
@@ -321,37 +277,37 @@ function Be(e, t) {
321
277
  o = 0;
322
278
  }, c;
323
279
  }
324
- var K = (e, t) => t && !s(t) ? String(b(t, e)) : e === !0 ? "True" : e === !1 ? "False" : e === null ? "-" : String(e), Ve = /* @__PURE__ */ e(Te()), He = (e, t) => {
325
- let [n, r] = (0, Ve.default)(e, (e) => t.indexOf(e.dimension) !== -1);
280
+ var q = (e, t) => t && !s(t) ? String(y(t, e)) : e === !0 ? "True" : e === !1 ? "False" : e === null ? "-" : String(e), Ae = /* @__PURE__ */ e(me()), je = (e, t) => {
281
+ let [n, r] = (0, Ae.default)(e, (e) => t.indexOf(e.dimension) !== -1);
326
282
  return [n, r];
327
- }, Ue = (e) => {
328
- let t = e?.dimensions.filter((e) => e.role === f.FILTER_DIMENSION);
329
- return [(t?.length ? t : e?.dimensions.slice(0, 1) ?? []).map(We).join(" - ") || "Sample", e?.measures[0] && e?.filterSettings?.showMeasureLabel ? ` | ${We(e?.measures[0])}` : null];
283
+ }, Me = (e) => {
284
+ let t = e?.dimensions.filter((e) => e.role === c.FILTER_DIMENSION);
285
+ return [(t?.length ? t : e?.dimensions.slice(0, 1) ?? []).map(Ne).join(" - ") || "Sample", e?.measures[0] && e?.filterSettings?.showMeasureLabel ? ` | ${Ne(e?.measures[0])}` : null];
330
286
  };
331
- function We(e) {
332
- return c(e) || e.label || e.dataItem?.name || "";
287
+ function Ne(e) {
288
+ return u(e) || e.label || e.dataItem?.name || "";
333
289
  }
334
- var Ge = (e) => async (t) => {
290
+ var Pe = (e) => async (t) => {
335
291
  t.preventDefault(), t.stopPropagation(), e((t.clipboardData.getData("Text") || await navigator.clipboard.readText()).replaceAll("\r\n", " ").replaceAll("\r", " ").replaceAll("\n", " "));
336
- }, Ke = (e) => {
292
+ }, Fe = (e) => {
337
293
  if (!e.length) return [];
338
294
  if (e.length === 1) return [e[0], e[0]];
339
295
  let t = Infinity, n = -Infinity;
340
296
  return e.forEach((e) => {
341
297
  t > e && (t = e), n < e && (n = e);
342
298
  }), [t, n];
343
- }, qe = n("getToRangeSelectionHandler", "#cbacba"), Je = (e, t) => async () => {
344
- let n = e.selection.getActiveSelection(R.FilterType.VALUE), r = structuredClone(n), i = r.applied.find((e) => e.field.name === t.name && e.field.view === t.view);
299
+ }, Ie = r("getToRangeSelectionHandler", "#cbacba"), Le = (e, t) => async () => {
300
+ let n = e.selection.getActiveSelection(z.FilterType.VALUE), r = structuredClone(n), i = r.applied.find((e) => e.field.name === t.name && e.field.view === t.view);
345
301
  if (i ||= r.pending.find((e) => e.field.name === t.name && e.field.view === t.view), !i) {
346
- let n = R.FilterOperator.Between;
302
+ let n = z.FilterOperator.Between;
347
303
  r.pending.push({
348
304
  operator: n,
349
- field: D(e.engine, t),
305
+ field: C(e.engine, t),
350
306
  values: []
351
307
  }), e.selection.setNewSelectionState(r);
352
308
  return;
353
309
  }
354
- if (i.operator = i.operator === R.FilterOperator.InList ? R.FilterOperator.Between : R.FilterOperator.NotBetween, (i.values ?? []).length === 0) {
310
+ if (i.operator = i.operator === z.FilterOperator.InList ? z.FilterOperator.Between : z.FilterOperator.NotBetween, (i.values ?? []).length === 0) {
355
311
  e.selection.declineSelection(i), e.selection.removeSelection(i);
356
312
  let n = {
357
313
  dimensions: [],
@@ -366,49 +322,49 @@ var Ge = (e) => async (t) => {
366
322
  }]
367
323
  }, a = e.engine;
368
324
  if (!a) {
369
- qe.error("There is no data engine available");
325
+ Ie.error("There is no data engine available");
370
326
  return;
371
327
  }
372
328
  let { data: o } = await a.getData(n), s = typeof o[0][0] == "number" ? o[0][0] : null, c = typeof o[0][1] == "number" ? o[0][1] : null;
373
329
  if (s === null || c === null) {
374
- qe.error("There is something wrong with the min/max data");
330
+ Ie.error("There is something wrong with the min/max data");
375
331
  return;
376
332
  }
377
- return i.values = [s, c], e.selection.setNewSelectionState(r, R.FilterType.VALUE), i.operator;
333
+ return i.values = [s, c], e.selection.setNewSelectionState(r, z.FilterType.VALUE), i.operator;
378
334
  }
379
- return i.values = Ke(i.values), e.selection.setNewSelectionState(r, R.FilterType.VALUE), i.operator;
380
- }, q = n("getToValueSelectionHandler", "#cbacba"), Ye = u(_()), Xe = (e, t, n, r, i) => async () => {
381
- let a = n ?? Ye, o = e.selection.getActiveSelection(R.FilterType.VALUE), s = structuredClone(o), c = s.pending.find((e) => e.field.name === t.name && e.field.view === t.view);
335
+ return i.values = Fe(i.values), e.selection.setNewSelectionState(r, z.FilterType.VALUE), i.operator;
336
+ }, J = r("getToValueSelectionHandler", "#cbacba"), Re = n(a()), ze = (e, t, n, r, i) => async () => {
337
+ let a = n ?? Re, o = e.selection.getActiveSelection(z.FilterType.VALUE), s = structuredClone(o), c = s.pending.find((e) => e.field.name === t.name && e.field.view === t.view);
382
338
  if (c ||= s.applied.find((e) => e.field.name === t.name && e.field.view === t.view), !c) {
383
- q.warn("There was no selection connected to clicked field!", JSON.stringify(t));
339
+ J.warn("There was no selection connected to clicked field!", JSON.stringify(t));
384
340
  return;
385
341
  }
386
- if (r) return c.operator = R.FilterOperator.InList, c.values = [], delete c.dynamicDateRange, delete c.dynamicDateCalcRange, e.selection.setNewSelectionState(s, R.FilterType.VALUE), c.operator;
387
- if ([R.FilterOperator.InList, R.FilterOperator.NotInList].includes(c.operator)) return c.operator;
388
- if ([R.FilterOperator.Like, R.FilterOperator.NotLike].includes(c.operator)) {
342
+ if (r) return c.operator = z.FilterOperator.InList, c.values = [], delete c.dynamicDateRange, delete c.dynamicDateCalcRange, e.selection.setNewSelectionState(s, z.FilterType.VALUE), c.operator;
343
+ if ([z.FilterOperator.InList, z.FilterOperator.NotInList].includes(c.operator)) return c.operator;
344
+ if ([z.FilterOperator.Like, z.FilterOperator.NotLike].includes(c.operator)) {
389
345
  let n = c.values;
390
- if (c.operator = c.operator === R.FilterOperator.Like ? R.FilterOperator.InList : R.FilterOperator.NotInList, n?.length) {
346
+ if (c.operator = c.operator === z.FilterOperator.Like ? z.FilterOperator.InList : z.FilterOperator.NotInList, n?.length) {
391
347
  let r = {
392
348
  dimensions: [{ fieldKey: t.key }],
393
349
  limit: a + 1,
394
350
  measures: [],
395
351
  filters: [{
396
352
  fieldKey: t.key,
397
- operator: R.FilterOperator.Like,
353
+ operator: z.FilterOperator.Like,
398
354
  values: n
399
355
  }]
400
356
  }, o = e.engine;
401
357
  if (!o) {
402
- q.error("There is no data engine available");
358
+ J.error("There is no data engine available");
403
359
  return;
404
360
  }
405
361
  let { data: l, meta: u } = await o.getData(r);
406
- if (u.rows >= a + 1) return c.values = [], e.selection.setNewSelectionState(s, R.FilterType.VALUE), i?.(c.operator, String(n[0] ?? "")), c.operator;
362
+ if (u.rows >= a + 1) return c.values = [], e.selection.setNewSelectionState(s, z.FilterType.VALUE), i?.(c.operator, String(n[0] ?? "")), c.operator;
407
363
  c.values = Object.values(l).flat();
408
364
  }
409
- return e.selection.setNewSelectionState(s, R.FilterType.VALUE), c.operator;
365
+ return e.selection.setNewSelectionState(s, z.FilterType.VALUE), c.operator;
410
366
  }
411
- c.operator = c.operator === R.FilterOperator.Between ? R.FilterOperator.InList : R.FilterOperator.NotInList;
367
+ c.operator = c.operator === z.FilterOperator.Between ? z.FilterOperator.InList : z.FilterOperator.NotInList;
412
368
  let l = {
413
369
  dimensions: [{ fieldKey: t.key }],
414
370
  limit: a,
@@ -417,48 +373,48 @@ var Ge = (e) => async (t) => {
417
373
  };
418
374
  c.values && (l.filters?.push({
419
375
  fieldKey: t.key,
420
- operator: R.FilterOperator.Between,
376
+ operator: z.FilterOperator.Between,
421
377
  values: c.values
422
378
  }), l.limit = a + 1);
423
379
  let u = e.engine;
424
380
  if (!u) {
425
- q.error("There is no data engine available");
381
+ J.error("There is no data engine available");
426
382
  return;
427
383
  }
428
384
  let { data: d, meta: f } = await u.getData(l);
429
- return f.rows >= a + 1 ? (e.daedalus.emitEvent(R.AstratoEvents.SHOW_GLOBAL_NOTIFICATION, {
385
+ return f.rows >= a + 1 ? (e.daedalus.emitEvent(z.AstratoEvents.SHOW_GLOBAL_NOTIFICATION, {
430
386
  type: "warn",
431
387
  message: "Cannot change the selection type, because too many values would have to be selected!"
432
- }), c.operator) : (c.values = Object.values(d).flat(), e.selection.setNewSelectionState(s, R.FilterType.VALUE), c.operator);
433
- }, Ze = (e, t) => (n) => {
434
- let r = e.selection.getActiveSelection(R.FilterType.VALUE), i = structuredClone(r), a = n?.trim() ? [n.trim()] : [""], o = i.applied.find((e) => e.field.name === t.name && e.field.view === t.view);
388
+ }), c.operator) : (c.values = Object.values(d).flat(), e.selection.setNewSelectionState(s, z.FilterType.VALUE), c.operator);
389
+ }, Be = (e, t) => (n) => {
390
+ let r = e.selection.getActiveSelection(z.FilterType.VALUE), i = structuredClone(r), a = n?.trim() ? [n.trim()] : [""], o = i.applied.find((e) => e.field.name === t.name && e.field.view === t.view);
435
391
  if (o ||= i.pending.find((e) => e.field.name === t.name && e.field.view === t.view), !o) {
436
- let n = R.FilterOperator.Like;
392
+ let n = z.FilterOperator.Like;
437
393
  return i.pending.push({
438
394
  operator: n,
439
- field: D(e.engine, t),
395
+ field: C(e.engine, t),
440
396
  values: a
441
397
  }), e.selection.setNewSelectionState(i), n;
442
398
  }
443
- return o.operator === R.FilterOperator.InList ? (o.operator = R.FilterOperator.Like, o.values = a) : o.operator === R.FilterOperator.NotInList ? (o.operator = R.FilterOperator.NotLike, o.values = a) : (o.operator = o.operator === R.FilterOperator.NotLike ? R.FilterOperator.NotLike : R.FilterOperator.Like, o.values = a.length ? a : o.values), e.selection.setNewSelectionState(i, R.FilterType.VALUE), o.operator;
444
- }, J = (e, t) => ({
445
- fontFamily: a(t, e?.fontFamily) ?? void 0,
399
+ return o.operator === z.FilterOperator.InList ? (o.operator = z.FilterOperator.Like, o.values = a) : o.operator === z.FilterOperator.NotInList ? (o.operator = z.FilterOperator.NotLike, o.values = a) : (o.operator = o.operator === z.FilterOperator.NotLike ? z.FilterOperator.NotLike : z.FilterOperator.Like, o.values = a.length ? a : o.values), e.selection.setNewSelectionState(i, z.FilterType.VALUE), o.operator;
400
+ }, Y = (e, t) => ({
401
+ fontFamily: f(t, e?.fontFamily) ?? void 0,
446
402
  fontStyle: e?.italic ? "italic" : "normal",
447
403
  fontWeight: e?.bold ? "bold" : "normal",
448
404
  textDecoration: `${e?.underlined ? "underline" : ""} ${e?.strikethrough ? "line-through" : ""}`,
449
- color: l(t, e?.fontColor)
450
- }), Qe = (e) => e === g.Line ? "solid" : "dashed", Y = (e, t) => {
405
+ color: d(t, e?.fontColor)
406
+ }), Ve = (e) => e === l.Line ? "solid" : "dashed", X = (e, t) => {
451
407
  let { backgroundColor: n, borderColor: r, borderEnabled: a, borderRadius: o, borderStyle: s, borderWidth: c } = {
452
408
  ...i,
453
409
  ...e
454
410
  }, l = "0px";
455
411
  return a && (l = `${o}px`, t && (l = `${o}px ${o}px 0 0`)), {
456
412
  backgroundColor: n,
457
- border: a ? `${c}px ${Qe(s)} ${r}` : "none",
413
+ border: a ? `${c}px ${Ve(s)} ${r}` : "none",
458
414
  borderRadius: l
459
415
  };
460
416
  };
461
- function $e(e) {
417
+ function He(e) {
462
418
  return {
463
419
  boxSizing: "border-box",
464
420
  alignItems: "center",
@@ -472,21 +428,21 @@ function $e(e) {
472
428
  flexShrink: 0,
473
429
  backgroundColor: o.mainBrightPink,
474
430
  color: o.white,
475
- ...y.bold11,
476
- ...y.overflowEllipsis,
431
+ ...O.bold11,
432
+ ...O.overflowEllipsis,
477
433
  "&:hover": { borderColor: o.grey2 },
478
434
  ...e && {
479
- [N.md]: {
435
+ [P.md]: {
480
436
  height: 20,
481
437
  padding: "2px 6px",
482
- ...y.bold10
438
+ ...O.bold10
483
439
  },
484
- [N.sm]: {
440
+ [P.sm]: {
485
441
  height: 16,
486
442
  padding: "1px 4px",
487
- ...y.normal10
443
+ ...O.normal10
488
444
  },
489
- [N.xs]: {
445
+ [P.xs]: {
490
446
  height: 12,
491
447
  padding: "0px 4px",
492
448
  fontSize: 8,
@@ -495,46 +451,46 @@ function $e(e) {
495
451
  }
496
452
  };
497
453
  }
498
- var X = (0, I.createContext)({});
499
- I.forwardRef(function(e, t) {
500
- return I.createElement("img", {
454
+ var Z = (0, L.createContext)({});
455
+ L.forwardRef(function(e, t) {
456
+ return L.createElement("img", {
501
457
  ...e,
502
458
  ref: t,
503
459
  src: "data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M28.2534%2028.2533L27.2134%2027.2133L24.0001%2024L17.8801%2017.88L4.78677%204.78666L3.74677%203.74666C3.22677%203.22666%202.38677%203.22666%201.86677%203.74666C1.33344%204.26666%201.33344%205.10666%201.85344%205.62666L4.0001%207.77333V25.3333C4.0001%2026.8%205.2001%2028%206.66677%2028H24.2268L26.3734%2030.1467C26.8934%2030.6667%2027.7334%2030.6667%2028.2534%2030.1467C28.7734%2029.6267%2028.7734%2028.7733%2028.2534%2028.2533ZM8.02677%2024C7.46677%2024%207.1601%2023.36%207.50677%2022.92L10.8268%2018.6533C11.0934%2018.32%2011.6001%2018.3067%2011.8668%2018.64L14.6668%2022.0133L16.2268%2020L20.2268%2024H8.02677ZM28.0001%2024.2267L7.77344%203.99999H25.3334C26.8001%203.99999%2028.0001%205.19999%2028.0001%206.66666V24.2267Z%22%20fill%3D%22%23BDBDBD%22%2F%3E%0A%3C%2Fsvg%3E%0A"
504
460
  });
505
461
  });
506
- var et = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, tt = (e, t, n, r, i, a) => {
462
+ var Ue = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, We = (e, t, n, r, i, a) => {
507
463
  let o = "";
508
464
  if (e) {
509
465
  t && (o += `${t}: `);
510
- let r = K(e, n);
466
+ let r = q(e, n);
511
467
  o += r;
512
468
  }
513
469
  if (r) {
514
470
  e && (o += " | "), i && (o += `${i}: `);
515
- let t = K(r, a);
471
+ let t = q(r, a);
516
472
  o += t;
517
473
  }
518
474
  return o;
519
- }, nt = E({ iconContainer: {
475
+ }, Ge = b({ iconContainer: {
520
476
  width: 16,
521
477
  flexShrink: 0
522
- } }), Z = ({ disabled: e, isApplied: t, isSelected: n, isNot: r, fontColor: i }) => {
523
- let a = nt(), s = i ?? (t ? o.mainDarkNavy : void 0);
524
- return /* @__PURE__ */ (0, z.jsxs)("div", {
478
+ } }), Ke = ({ disabled: e, isApplied: t, isSelected: n, isNot: r, fontColor: i }) => {
479
+ let a = Ge(), s = i ?? (t ? o.mainDarkNavy : void 0);
480
+ return /* @__PURE__ */ (0, B.jsxs)("div", {
525
481
  className: a.iconContainer,
526
482
  style: { opacity: e ? .25 : void 0 },
527
- children: [n && r ? /* @__PURE__ */ (0, z.jsx)(ie, { fill: o.mainBrightPink }) : null, n && !r ? /* @__PURE__ */ (0, z.jsx)(S, { fill: s }) : null]
483
+ children: [n && r ? /* @__PURE__ */ (0, B.jsx)(ee, { fill: o.mainBrightPink }) : null, n && !r ? /* @__PURE__ */ (0, B.jsx)(m, { fill: s }) : null]
528
484
  });
529
- }, rt = (e) => {
530
- let { r: t, g: n, b: r, a: i } = B(e) ? be(e) : ye(e), a = (i ?? 1) * .6;
531
- return ve({
485
+ }, qe = (e) => {
486
+ let { r: t, g: n, b: r, a: i } = V(e) ? fe(e) : de(e), a = (i ?? 1) * .6;
487
+ return ue({
532
488
  r: t,
533
489
  g: n,
534
490
  b: r,
535
491
  a: a < 0 ? 0 : a
536
492
  });
537
- }, it = E({
493
+ }, Je = b({
538
494
  progressBar: {
539
495
  height: "100%",
540
496
  borderRadius: "4px",
@@ -558,8 +514,8 @@ var et = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, tt
558
514
  }
559
515
  },
560
516
  label: ({ responsive: e, fontSize: t }) => ({
561
- ...y.normal11,
562
- ...y.overflowEllipsis,
517
+ ...O.normal11,
518
+ ...O.overflowEllipsis,
563
519
  color: "inherit",
564
520
  marginRight: "5px",
565
521
  height: "100%",
@@ -570,14 +526,14 @@ var et = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, tt
570
526
  fontSize: `${t}px`,
571
527
  lineHeight: 1.2,
572
528
  ...e && {
573
- [N.md]: { fontSize: `min(${t * P.md}px, 14px)` },
574
- [N.sm]: { fontSize: `min(${t * P.sm}px, 12px)` },
575
- [N.xs]: {
576
- fontSize: `min(${t * P.xs}px, 10px)`,
529
+ [P.md]: { fontSize: `min(${t * F.md}px, 14px)` },
530
+ [P.sm]: { fontSize: `min(${t * F.sm}px, 12px)` },
531
+ [P.xs]: {
532
+ fontSize: `min(${t * F.xs}px, 10px)`,
577
533
  fontWeight: "normal !important"
578
534
  }
579
535
  }
580
- } : F(e)
536
+ } : I(e)
581
537
  }),
582
538
  dimensionLabel: {
583
539
  paddingLeft: 4,
@@ -589,54 +545,54 @@ var et = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, tt
589
545
  flexShrink: 1
590
546
  },
591
547
  rowDisabled: { color: o.grey3 }
592
- }), at = ({ dimensionDisplayValue: e, measuresLabel: t, showLabelProgress: n, isSelected: r, isApplied: i, strikethrough: a, disabled: s, searchTerm: c, barWidth: l, fontStyle: u, progressColor: d = o.lightBlue, textAlign: f, responsive: p, fontSize: m }) => {
593
- let h = it({
594
- responsive: p,
595
- fontSize: m
596
- }), g = w()?.astrato ?? v, _ = {
597
- ...J({
548
+ }), Ye = ({ dimensionDisplayValue: e, measuresLabel: t, showLabelProgress: n, isSelected: r, isApplied: i, strikethrough: a, disabled: s, searchTerm: c, barWidth: l, fontStyle: u, progressColor: d = o.lightBlue, textAlign: f, responsive: m, fontSize: g }) => {
549
+ let _ = Je({
550
+ responsive: m,
551
+ fontSize: g
552
+ }), v = h()?.astrato ?? p, y = {
553
+ ...Y({
598
554
  ...u,
599
555
  strikethrough: u?.strikethrough || a
600
- }, g),
556
+ }, v),
601
557
  ...f ? {
602
558
  textAlign: f,
603
559
  justifyContent: f === "right" ? "flex-end" : f === "center" ? "center" : "flex-start"
604
560
  } : {}
605
- }, y = r || i ? d : rt(d);
606
- return /* @__PURE__ */ (0, z.jsxs)("div", {
607
- className: A({
608
- [h.labelsContainer]: !0,
609
- [h.progressBarSelectedOrApplied]: r || i
561
+ }, b = r || i ? d : qe(d);
562
+ return /* @__PURE__ */ (0, B.jsxs)("div", {
563
+ className: k({
564
+ [_.labelsContainer]: !0,
565
+ [_.progressBarSelectedOrApplied]: r || i
610
566
  }),
611
567
  children: [
612
- n && /* @__PURE__ */ (0, z.jsx)("div", {
568
+ n && /* @__PURE__ */ (0, B.jsx)("div", {
613
569
  style: {
614
570
  width: `${l * 100}%`,
615
- backgroundColor: y
571
+ backgroundColor: b
616
572
  },
617
- className: A({
618
- [h.progressBar]: !0,
619
- [h.rowDisabled]: s
573
+ className: k({
574
+ [_.progressBar]: !0,
575
+ [_.rowDisabled]: s
620
576
  }),
621
577
  "data-testid": "item-list-label-progress"
622
578
  }),
623
- /* @__PURE__ */ (0, z.jsx)("span", {
624
- style: _,
625
- className: A(h.label, h.dimensionLabel),
579
+ /* @__PURE__ */ (0, B.jsx)("span", {
580
+ style: y,
581
+ className: k(_.label, _.dimensionLabel),
626
582
  title: e,
627
- children: /* @__PURE__ */ (0, z.jsx)(M, {
583
+ children: /* @__PURE__ */ (0, B.jsx)(M, {
628
584
  phrase: c ?? "",
629
585
  children: e ?? ""
630
586
  })
631
587
  }),
632
- /* @__PURE__ */ (0, z.jsx)("span", {
633
- style: _,
634
- className: A(h.label, h.measuresLabel),
588
+ /* @__PURE__ */ (0, B.jsx)("span", {
589
+ style: y,
590
+ className: k(_.label, _.measuresLabel),
635
591
  children: t
636
592
  })
637
593
  ]
638
594
  });
639
- }, ot = E({
595
+ }, Xe = b({
640
596
  rowWrapper: (e) => ({
641
597
  cursor: "pointer",
642
598
  userSelect: "none",
@@ -648,15 +604,15 @@ var et = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, tt
648
604
  borderRadius: 6,
649
605
  paddingRight: 8,
650
606
  ...e && {
651
- [N.md]: {
607
+ [P.md]: {
652
608
  height: "24px",
653
609
  paddingRight: 6
654
610
  },
655
- [N.sm]: {
611
+ [P.sm]: {
656
612
  height: "16px",
657
613
  paddingRight: 4
658
614
  },
659
- [N.xs]: {
615
+ [P.xs]: {
660
616
  height: "12px",
661
617
  paddingRight: 2
662
618
  }
@@ -668,21 +624,21 @@ var et = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, tt
668
624
  flexShrink: 0,
669
625
  marginRight: 6,
670
626
  ...e && {
671
- [N.md]: {
627
+ [P.md]: {
672
628
  "& input[type=\"checkbox\"], & svg": {
673
629
  width: "14px !important",
674
630
  height: "14px !important"
675
631
  },
676
632
  "& > div, & > div > div": { height: "14px" }
677
633
  },
678
- [N.sm]: {
634
+ [P.sm]: {
679
635
  "& input[type=\"checkbox\"], & svg": {
680
636
  width: "11px !important",
681
637
  height: "11px !important"
682
638
  },
683
639
  "& > div, & > div > div": { height: "11px" }
684
640
  },
685
- [N.xs]: {
641
+ [P.xs]: {
686
642
  "& input[type=\"checkbox\"], & svg": {
687
643
  width: "10px !important",
688
644
  height: "10px !important"
@@ -699,15 +655,15 @@ var et = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, tt
699
655
  },
700
656
  rowDisabled: { "& span": { color: `${o.grey3} !important` } }
701
657
  }), Q = ({ selected: e, applied: t, disabled: n, hoverColor: r, onSelect: i, showProgressBar: a, showCheckbox: s, showSelectionIcon: c = !0, checkboxState: l = "none", fontSize: u, searchTerm: d, doneRenderingCallback: f, dimensionValue: p, dimensionFormatter: m, imageValue: h, measure1Value: g, measure1Label: _, measure1Formatter: v, measure2Value: y, measure2Label: b, measure2Formatter: x, maxValue: S, imageFit: C, fontStyle: w, progressBarColor: ee, responsive: T }) => {
702
- let E = ot(T), D = (0, I.useContext)(X), O = (D.pendingOperator ?? D.appliedOperator) === R.FilterOperator.NotInList, k = !!h, j = a && g !== void 0 && !y, te = K(p, m), ne = tt(g, _, v, y, b, x);
703
- return (0, I.useEffect)(() => {
704
- k || f?.();
705
- }, []), /* @__PURE__ */ (0, z.jsxs)("div", {
658
+ let E = Xe(T), D = (0, L.useContext)(Z), O = (D.pendingOperator ?? D.appliedOperator) === z.FilterOperator.NotInList, A = !!h, j = a && g !== void 0 && !y, M = q(p, m), te = We(g, _, v, y, b, x);
659
+ return (0, L.useEffect)(() => {
660
+ A || f?.();
661
+ }, []), /* @__PURE__ */ (0, B.jsxs)("div", {
706
662
  tabIndex: 0,
707
663
  role: "button",
708
664
  onClick: i,
709
665
  "data-testid": `big-list-item-dimension-${p}`,
710
- className: A({
666
+ className: k({
711
667
  [E.rowWrapper]: !0,
712
668
  [E.rowHover]: !j,
713
669
  [E.rowSelected]: !j && e,
@@ -716,17 +672,17 @@ var et = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, tt
716
672
  }),
717
673
  style: { "--filter-hover-color": r ?? o.grey5 },
718
674
  children: [
719
- s ? /* @__PURE__ */ (0, z.jsx)("div", {
675
+ s ? /* @__PURE__ */ (0, B.jsx)("div", {
720
676
  "aria-hidden": !0,
721
677
  style: { pointerEvents: "none" },
722
678
  className: E.checkboxWrapper,
723
- children: /* @__PURE__ */ (0, z.jsx)(oe, {
679
+ children: /* @__PURE__ */ (0, B.jsx)(N, {
724
680
  value: l,
725
681
  onChange: () => void 0,
726
682
  testId: `dimension-${p}-checkbox`
727
683
  })
728
684
  }) : null,
729
- k && /* @__PURE__ */ (0, z.jsx)("img", {
685
+ A && /* @__PURE__ */ (0, B.jsx)("img", {
730
686
  alt: "",
731
687
  width: 32,
732
688
  height: 32,
@@ -743,9 +699,9 @@ var et = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, tt
743
699
  onLoad: f,
744
700
  loading: "lazy"
745
701
  }),
746
- /* @__PURE__ */ (0, z.jsx)(at, {
747
- dimensionDisplayValue: te,
748
- measuresLabel: ne,
702
+ /* @__PURE__ */ (0, B.jsx)(Ye, {
703
+ dimensionDisplayValue: M,
704
+ measuresLabel: te,
749
705
  showLabelProgress: j,
750
706
  progressColor: ee,
751
707
  isApplied: t,
@@ -753,12 +709,12 @@ var et = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, tt
753
709
  strikethrough: O && t && e,
754
710
  disabled: n,
755
711
  searchTerm: d,
756
- barWidth: et(g, S),
712
+ barWidth: Ue(g, S),
757
713
  fontStyle: w,
758
714
  responsive: T,
759
715
  fontSize: u
760
716
  }),
761
- !s && c ? /* @__PURE__ */ (0, z.jsx)(Z, {
717
+ !s && c ? /* @__PURE__ */ (0, B.jsx)(Ke, {
762
718
  disabled: n,
763
719
  isApplied: t,
764
720
  isSelected: e,
@@ -767,21 +723,21 @@ var et = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, tt
767
723
  }) : null
768
724
  ]
769
725
  });
770
- }, st = (e) => {
771
- let t = [...e].sort((e, t) => ct(e?.measure1 ?? void 0, t?.measure1 ?? void 0)), n = t.length > 0 ? t[0] : null;
726
+ }, Ze = (e) => {
727
+ let t = [...e].sort((e, t) => Qe(e?.measure1 ?? void 0, t?.measure1 ?? void 0)), n = t.length > 0 ? t[0] : null;
772
728
  return typeof n?.measure1 == "number" ? n : null;
773
- }, ct = (e, t) => {
729
+ }, Qe = (e, t) => {
774
730
  if (e && t) {
775
731
  if (e < t) return 1;
776
732
  if (e > t) return -1;
777
733
  } else if (e && !t) return -1;
778
734
  return 0;
779
- }, lt = ({ filterValues: e, onItemClick: t, selectedValues: n, appliedValues: r, searchTerm: i, vSpec: a, hoverColor: o }) => {
780
- let s = (0, I.useRef)(e.length), c = k(), l = () => {
735
+ }, $e = ({ filterValues: e, onItemClick: t, selectedValues: n, appliedValues: r, searchTerm: i, vSpec: a, hoverColor: o }) => {
736
+ let s = (0, L.useRef)(e.length), c = S(), l = () => {
781
737
  --s.current, s.current === 0 && c();
782
738
  };
783
739
  if (!a?.dimensions[0]?.dataItem) return null;
784
- let u = a.dimensions[0]?.formatter, d = a.dimensions[1]?.imageFit, f = a.measures[0]?.formatter, p = a.measures[1]?.formatter, [m, h] = He(e, r), g = (e, r) => {
740
+ let u = a.dimensions[0]?.formatter, d = a.dimensions[1]?.imageFit, f = a.measures[0]?.formatter, p = a.measures[1]?.formatter, [m, h] = je(e, r), g = (e, r) => {
785
741
  switch (!0) {
786
742
  case n.includes(e.dimension):
787
743
  t(e.dimension);
@@ -789,8 +745,8 @@ var et = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, tt
789
745
  case e.disabled: break;
790
746
  default: t(e.dimension, { shift: r.shiftKey ? [...m, ...h].reduce((e, t) => (t.disabled || e.push(t.dimension), e), []) : null });
791
747
  }
792
- }, _ = st(e), v = s.current > 0 ? l : void 0;
793
- return /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [m.map((e) => /* @__PURE__ */ (0, z.jsx)(Q, {
748
+ }, _ = Ze(e), v = s.current > 0 ? l : void 0;
749
+ return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [m.map((e) => /* @__PURE__ */ (0, B.jsx)(Q, {
794
750
  searchTerm: i,
795
751
  disabled: !!e.disabled,
796
752
  onSelect: (t) => g(e, t),
@@ -813,7 +769,7 @@ var et = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, tt
813
769
  fontStyle: a.filterSettings?.fontStyle,
814
770
  progressBarColor: a.filterSettings?.filterStyle?.progressBarColor,
815
771
  responsive: a.filterSettings?.responsive
816
- }, String(e.dimension))), h.map((e) => /* @__PURE__ */ (0, z.jsx)(Q, {
772
+ }, String(e.dimension))), h.map((e) => /* @__PURE__ */ (0, B.jsx)(Q, {
817
773
  searchTerm: i,
818
774
  disabled: !!e.disabled,
819
775
  onSelect: (t) => g(e, t),
@@ -837,7 +793,7 @@ var et = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, tt
837
793
  progressBarColor: a.filterSettings?.filterStyle?.progressBarColor,
838
794
  responsive: a.filterSettings?.responsive
839
795
  }, String(e.dimension)))] });
840
- }, ut = E({
796
+ }, et = b({
841
797
  rowWrapper: (e) => ({
842
798
  userSelect: "none",
843
799
  display: "flex",
@@ -849,12 +805,12 @@ var et = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, tt
849
805
  padding: 4,
850
806
  borderRadius: 5,
851
807
  ...e && {
852
- [N.md]: { height: 24 },
853
- [N.sm]: {
808
+ [P.md]: { height: 24 },
809
+ [P.sm]: {
854
810
  height: 20,
855
811
  padding: "2px 4px"
856
812
  },
857
- [N.xs]: {
813
+ [P.xs]: {
858
814
  height: 16,
859
815
  padding: "1px 4px"
860
816
  }
@@ -862,7 +818,7 @@ var et = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, tt
862
818
  "& > span": {
863
819
  flexShrink: 0,
864
820
  maxWidth: "100%",
865
- ...y.overflowEllipsis
821
+ ...O.overflowEllipsis
866
822
  }
867
823
  }),
868
824
  rowWrapperClickable: {
@@ -882,28 +838,28 @@ var et = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, tt
882
838
  }
883
839
  },
884
840
  rowDisabled: { "& span": { color: `${o.grey3} !important` } },
885
- label: (e) => ({ ...F(e) })
886
- }), $ = ({ selected: e, applied: t, disabled: n, hoverColor: r, dimensionValue: i, dimensionFormatter: a, searchTerm: s, onSelect: c, fontStyle: l, responsive: u, showCheckbox: d, showSelectionIcon: f = !0, checkboxState: p = "none", alignContentStart: m, fontSize: h }) => {
887
- let g = ut(u), _ = w()?.astrato ?? v, y = K(i, a), b = (0, I.useContext)(X), x = (b.pendingOperator ?? b.appliedOperator) === R.FilterOperator.NotInList, S = x && t && e, C = J({
841
+ label: (e) => ({ ...I(e) })
842
+ }), $ = ({ selected: e, applied: t, disabled: n, hoverColor: r, dimensionValue: i, dimensionFormatter: a, searchTerm: s, onSelect: c, fontStyle: l, responsive: u, showCheckbox: d, showSelectionIcon: f = !0, checkboxState: m = "none", alignContentStart: g, fontSize: _ }) => {
843
+ let v = et(u), y = h()?.astrato ?? p, b = q(i, a), x = (0, L.useContext)(Z), S = (x.pendingOperator ?? x.appliedOperator) === z.FilterOperator.NotInList, C = S && t && e, w = Y({
888
844
  ...l,
889
- strikethrough: S
890
- }, _);
891
- return /* @__PURE__ */ (0, z.jsxs)("div", {
845
+ strikethrough: C
846
+ }, y);
847
+ return /* @__PURE__ */ (0, B.jsxs)("div", {
892
848
  tabIndex: 0,
893
849
  role: "button",
894
850
  onClick: c,
895
851
  "data-testid": `small-list-item-dimension-${i}`,
896
- className: A({
897
- [g.rowWrapper]: !0,
898
- [g.rowWrapperClickable]: !!c,
899
- [g.rowWrapperStartAligned]: m,
900
- [g.rowSelected]: e,
901
- [g.rowApplied]: t && !e,
902
- [g.rowDisabled]: n
852
+ className: k({
853
+ [v.rowWrapper]: !0,
854
+ [v.rowWrapperClickable]: !!c,
855
+ [v.rowWrapperStartAligned]: g,
856
+ [v.rowSelected]: e,
857
+ [v.rowApplied]: t && !e,
858
+ [v.rowDisabled]: n
903
859
  }),
904
860
  style: { "--filter-hover-color": r ?? o.grey5 },
905
861
  children: [
906
- d ? /* @__PURE__ */ (0, z.jsx)("div", {
862
+ d ? /* @__PURE__ */ (0, B.jsx)("div", {
907
863
  "aria-hidden": !0,
908
864
  style: {
909
865
  display: "flex",
@@ -912,38 +868,38 @@ var et = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, tt
912
868
  marginRight: 6,
913
869
  pointerEvents: "none"
914
870
  },
915
- children: /* @__PURE__ */ (0, z.jsx)(oe, {
916
- value: p,
871
+ children: /* @__PURE__ */ (0, B.jsx)(N, {
872
+ value: m,
917
873
  onChange: () => void 0
918
874
  })
919
875
  }) : null,
920
- /* @__PURE__ */ (0, z.jsx)("span", {
921
- className: g.label,
876
+ /* @__PURE__ */ (0, B.jsx)("span", {
877
+ className: v.label,
922
878
  style: {
923
- ...C,
924
- ...h ? {
925
- fontSize: h,
879
+ ...w,
880
+ ..._ ? {
881
+ fontSize: _,
926
882
  lineHeight: "14px"
927
883
  } : {}
928
884
  },
929
- children: /* @__PURE__ */ (0, z.jsx)(M, {
885
+ children: /* @__PURE__ */ (0, B.jsx)(M, {
930
886
  phrase: s ?? "",
931
- children: y ?? ""
887
+ children: b ?? ""
932
888
  })
933
889
  }),
934
- d ? null : /* @__PURE__ */ (0, z.jsx)(Z, {
890
+ d ? null : /* @__PURE__ */ (0, B.jsx)(Ke, {
935
891
  disabled: n,
936
892
  isApplied: t,
937
893
  isSelected: f && e,
938
- isNot: x,
894
+ isNot: S,
939
895
  fontColor: l?.fontColor ?? void 0
940
896
  })
941
897
  ]
942
898
  });
943
- }, dt = ({ filterValues: e, onItemClick: t, selectedValues: n, appliedValues: r, searchTerm: i, vSpec: a, hoverColor: o }) => {
899
+ }, tt = ({ filterValues: e, onItemClick: t, selectedValues: n, appliedValues: r, searchTerm: i, vSpec: a, hoverColor: o }) => {
944
900
  let s = a.dimensions[0]?.formatter;
945
901
  if (!a?.dimensions[0]?.dataItem) return null;
946
- let [c, l] = He(e, r), u = (e, r) => {
902
+ let [c, l] = je(e, r), u = (e, r) => {
947
903
  switch (!0) {
948
904
  case n.includes(e.dimension):
949
905
  t(e.dimension);
@@ -952,7 +908,7 @@ var et = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, tt
952
908
  default: t(e.dimension, { shift: r.shiftKey ? [...c, ...l].reduce((e, t) => (t.disabled || e.push(t.dimension), e), []) : null });
953
909
  }
954
910
  };
955
- return /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [c.map((e) => /* @__PURE__ */ (0, z.jsx)($, {
911
+ return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [c.map((e) => /* @__PURE__ */ (0, B.jsx)($, {
956
912
  searchTerm: i,
957
913
  disabled: !!e.disabled,
958
914
  dimensionValue: e.dimension,
@@ -963,7 +919,7 @@ var et = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, tt
963
919
  hoverColor: o,
964
920
  fontStyle: a.filterSettings?.fontStyle,
965
921
  responsive: a.filterSettings?.responsive
966
- }, `applied-${e.dimension}`)), l.map((e) => /* @__PURE__ */ (0, z.jsx)($, {
922
+ }, `applied-${e.dimension}`)), l.map((e) => /* @__PURE__ */ (0, B.jsx)($, {
967
923
  searchTerm: i,
968
924
  disabled: !!e.disabled,
969
925
  dimensionValue: e.dimension,
@@ -975,28 +931,28 @@ var et = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, tt
975
931
  fontStyle: a.filterSettings?.fontStyle,
976
932
  responsive: a.filterSettings?.responsive
977
933
  }, `not-applied-${e.dimension}`))] });
978
- }, ft = E({ dropdownContainer: {
934
+ }, nt = b({ dropdownContainer: {
979
935
  overflow: "hidden",
980
936
  backdropFilter: "blur(1.25px)",
981
937
  zIndex: 1500
982
- } }), pt = ({ children: e, filterStyle: t, isLocked: n }) => {
983
- let r = ft(), i = Y(t, n);
984
- return /* @__PURE__ */ (0, z.jsx)("div", {
938
+ } }), rt = ({ children: e, filterStyle: t, isLocked: n }) => {
939
+ let r = nt(), i = X(t, n);
940
+ return /* @__PURE__ */ (0, B.jsx)("div", {
985
941
  className: r.dropdownContainer,
986
942
  style: i,
987
943
  children: e
988
944
  });
989
- }, mt = E({ root: {
945
+ }, it = b({ root: {
990
946
  background: o.grey5,
991
947
  height: 2,
992
948
  "& .MuiLinearProgress-bar": { background: o.mainDarkNavy }
993
- } }), ht = ({ loading: e }) => {
994
- let t = mt();
995
- return e ? /* @__PURE__ */ (0, z.jsx)(le, {
949
+ } }), at = ({ loading: e }) => {
950
+ let t = it();
951
+ return e ? /* @__PURE__ */ (0, B.jsx)(re, {
996
952
  className: t.root,
997
953
  "data-testid": "filter-search-progress"
998
954
  }) : null;
999
- }, gt = E({
955
+ }, ot = b({
1000
956
  dropdownButton: (e) => ({
1001
957
  cursor: "pointer",
1002
958
  display: "flex",
@@ -1011,16 +967,16 @@ var et = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, tt
1011
967
  outline: "none"
1012
968
  },
1013
969
  ...e && {
1014
- [N.lg]: { height: "min(28px, 100%)" },
1015
- [N.md]: {
970
+ [P.lg]: { height: "min(28px, 100%)" },
971
+ [P.md]: {
1016
972
  padding: "0 4px",
1017
973
  height: "min(24px, 100%)"
1018
974
  },
1019
- [N.sm]: {
975
+ [P.sm]: {
1020
976
  padding: "0 2px",
1021
977
  height: "min(20px, 100%)"
1022
978
  },
1023
- [N.xs]: {
979
+ [P.xs]: {
1024
980
  padding: 0,
1025
981
  height: "min(16px, 100%)"
1026
982
  }
@@ -1037,17 +993,17 @@ var et = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, tt
1037
993
  fontWeight: "bold !important",
1038
994
  flexShrink: 1,
1039
995
  minWidth: 0,
1040
- ...y.overflowEllipsis,
1041
- ...F(e)
996
+ ...O.overflowEllipsis,
997
+ ...I(e)
1042
998
  }),
1043
999
  measureTitle: {
1044
- ...y.overflowEllipsis,
1000
+ ...O.overflowEllipsis,
1045
1001
  minWidth: 0,
1046
1002
  flexShrink: 1,
1047
1003
  whiteSpaceCollapse: "preserve"
1048
1004
  },
1049
1005
  valuesLabel: {
1050
- ...y.overflowEllipsis,
1006
+ ...O.overflowEllipsis,
1051
1007
  paddingLeft: 4,
1052
1008
  fontWeight: "bold !important",
1053
1009
  minWidth: 0,
@@ -1058,15 +1014,15 @@ var et = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, tt
1058
1014
  flexDirection: "row",
1059
1015
  alignItems: "center",
1060
1016
  boxSizing: "border-box",
1061
- ...e && ce
1017
+ ...e && ne
1062
1018
  }),
1063
- notPart: (e) => ({ ...$e(e) })
1064
- }), _t = ({ dimensionTitle: e, measureTitle: t, isOpen: n, onToggle: r, dimensionFormatter: i, selectedValues: a = [], fontStyle: o, filterStyle: s, responsive: c, isLocked: l }) => {
1065
- let u = w()?.astrato ?? v, d = gt(c), f = (0, I.useContext)(X), p = (f.pendingOperator ?? f.appliedOperator) === R.FilterOperator.NotInList, m = {
1066
- button: Y(s),
1067
- label: J(o, u)
1068
- }, h = m.label.color, g = (e) => String(typeof e == "boolean" ? e : i ? b(i, e) : e), _ = [...a].sort().slice(0, 15).map(g).join(", "), y = a.length > 0;
1069
- return /* @__PURE__ */ (0, z.jsxs)("div", {
1019
+ notPart: (e) => ({ ...He(e) })
1020
+ }), st = ({ dimensionTitle: e, measureTitle: t, isOpen: n, onToggle: r, dimensionFormatter: i, selectedValues: a = [], fontStyle: o, filterStyle: s, responsive: c, isLocked: l }) => {
1021
+ let u = h()?.astrato ?? p, d = ot(c), f = (0, L.useContext)(Z), m = (f.pendingOperator ?? f.appliedOperator) === z.FilterOperator.NotInList, _ = {
1022
+ button: X(s),
1023
+ label: Y(o, u)
1024
+ }, b = _.label.color, x = (e) => String(typeof e == "boolean" ? e : i ? y(i, e) : e), S = [...a].sort().slice(0, 15).map(x).join(", "), C = a.length > 0;
1025
+ return /* @__PURE__ */ (0, B.jsxs)("div", {
1070
1026
  role: "button",
1071
1027
  tabIndex: 0,
1072
1028
  "data-testid": "filter-header-dropdown",
@@ -1077,52 +1033,52 @@ var et = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, tt
1077
1033
  onKeyUp: (e) => {
1078
1034
  (e.key === "Enter" || e.key === " ") && (e.stopPropagation(), e.preventDefault(), r?.());
1079
1035
  },
1080
- style: m.button,
1081
- children: [/* @__PURE__ */ (0, z.jsxs)("div", {
1036
+ style: _.button,
1037
+ children: [/* @__PURE__ */ (0, B.jsxs)("div", {
1082
1038
  className: d.headerTitlesContainer,
1083
- style: { color: h },
1039
+ style: { color: b },
1084
1040
  children: [
1085
- l && /* @__PURE__ */ (0, z.jsx)(T, {
1041
+ l && /* @__PURE__ */ (0, B.jsx)(g, {
1086
1042
  fill: "currentColor",
1087
1043
  style: { marginRight: 8 }
1088
1044
  }),
1089
- p && /* @__PURE__ */ (0, z.jsx)("div", {
1045
+ m && /* @__PURE__ */ (0, B.jsx)("div", {
1090
1046
  className: d.notPart,
1091
1047
  children: "NOT"
1092
1048
  }),
1093
- /* @__PURE__ */ (0, z.jsx)("div", {
1049
+ /* @__PURE__ */ (0, B.jsx)("div", {
1094
1050
  className: d.title,
1095
- style: m.label,
1051
+ style: _.label,
1096
1052
  children: e
1097
1053
  }),
1098
- /* @__PURE__ */ (0, z.jsxs)("div", {
1054
+ /* @__PURE__ */ (0, B.jsxs)("div", {
1099
1055
  className: d.title,
1100
1056
  style: {
1101
- ...m.label,
1057
+ ..._.label,
1102
1058
  display: "flex"
1103
1059
  },
1104
- children: [/* @__PURE__ */ (0, z.jsx)("span", {
1060
+ children: [/* @__PURE__ */ (0, B.jsx)("span", {
1105
1061
  className: d.measureTitle,
1106
1062
  children: t
1107
- }), y && /* @__PURE__ */ (0, z.jsxs)("div", {
1063
+ }), C && /* @__PURE__ */ (0, B.jsxs)("div", {
1108
1064
  className: d.valuesLabel,
1109
- children: [" ", _]
1065
+ children: [" ", S]
1110
1066
  })]
1111
1067
  })
1112
1068
  ]
1113
- }), /* @__PURE__ */ (0, z.jsx)("div", {
1069
+ }), /* @__PURE__ */ (0, B.jsx)("div", {
1114
1070
  className: d.expandIcon,
1115
- style: { color: h },
1116
- children: n ? /* @__PURE__ */ (0, z.jsx)(x, {
1071
+ style: { color: b },
1072
+ children: n ? /* @__PURE__ */ (0, B.jsx)(w, {
1117
1073
  size: 24,
1118
1074
  fill: "currentColor"
1119
- }) : /* @__PURE__ */ (0, z.jsx)(C, {
1075
+ }) : /* @__PURE__ */ (0, B.jsx)(v, {
1120
1076
  size: 24,
1121
1077
  fill: "currentColor"
1122
1078
  })
1123
1079
  })]
1124
1080
  });
1125
- }, vt = E({
1081
+ }, ct = b({
1126
1082
  headerListbox: (e) => ({
1127
1083
  height: 36,
1128
1084
  margin: "0 12px 8px",
@@ -1130,15 +1086,15 @@ var et = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, tt
1130
1086
  alignItems: "center",
1131
1087
  boxSizing: "border-box",
1132
1088
  ...e && {
1133
- [N.md]: {
1089
+ [P.md]: {
1134
1090
  height: 32,
1135
1091
  margin: "0 12px 6px"
1136
1092
  },
1137
- [N.sm]: {
1093
+ [P.sm]: {
1138
1094
  height: 28,
1139
1095
  margin: "0 12px 4px"
1140
1096
  },
1141
- [N.xs]: {
1097
+ [P.xs]: {
1142
1098
  height: 24,
1143
1099
  margin: "0 12px"
1144
1100
  }
@@ -1155,12 +1111,12 @@ var et = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, tt
1155
1111
  alignItems: "center"
1156
1112
  },
1157
1113
  title: (e) => ({
1158
- ...y.overflowEllipsis,
1114
+ ...O.overflowEllipsis,
1159
1115
  fontWeight: "bold !important",
1160
- ...F(e)
1116
+ ...I(e)
1161
1117
  }),
1162
1118
  iconButton: (e) => ({
1163
- ...e && ce,
1119
+ ...e && ne,
1164
1120
  cursor: "pointer",
1165
1121
  display: "inline-flex",
1166
1122
  alignItems: "center",
@@ -1177,19 +1133,19 @@ var et = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, tt
1177
1133
  "&:hover": { boxShadow: "inset 0 0 0 1px currentColor" },
1178
1134
  "&:focus": { outline: "none" },
1179
1135
  ...e && {
1180
- [N.md]: {
1136
+ [P.md]: {
1181
1137
  minWidth: 20,
1182
1138
  width: 20,
1183
1139
  height: 20,
1184
1140
  borderRadius: 5
1185
1141
  },
1186
- [N.sm]: {
1142
+ [P.sm]: {
1187
1143
  minWidth: 16,
1188
1144
  width: 16,
1189
1145
  height: 16,
1190
1146
  borderRadius: 4
1191
1147
  },
1192
- [N.xs]: {
1148
+ [P.xs]: {
1193
1149
  minWidth: 12,
1194
1150
  width: 12,
1195
1151
  height: 12,
@@ -1197,24 +1153,24 @@ var et = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, tt
1197
1153
  }
1198
1154
  }
1199
1155
  }),
1200
- notPart: (e) => ({ ...$e(e) })
1201
- }), yt = ({ children: e, dimensionTitle: t, measureTitle: n, searchEnabled: r, searchTerm: i, onSearchChange: a, onApplySearched: o, fontStyle: s, vTheme: c = v, isNotEnabled: l, responsive: u, isLocked: d }) => {
1202
- let f = vt(u), p = J(s, c), m = p.color, [h, g] = (0, I.useState)(!1);
1203
- (0, I.useEffect)(() => {
1156
+ notPart: (e) => ({ ...He(e) })
1157
+ }), lt = ({ children: e, dimensionTitle: t, measureTitle: n, searchEnabled: r, searchTerm: i, onSearchChange: a, onApplySearched: o, fontStyle: s, vTheme: c = p, isNotEnabled: l, responsive: u, isLocked: d }) => {
1158
+ let f = ct(u), m = Y(s, c), h = m.color, [v, y] = (0, L.useState)(!1);
1159
+ (0, L.useEffect)(() => {
1204
1160
  !r && i && a("");
1205
1161
  }, [r]);
1206
- let _ = () => {
1207
- r && g(!0);
1208
- }, y = () => {
1209
- a(""), g(!1);
1210
- }, b = () => {
1162
+ let b = () => {
1163
+ r && y(!0);
1164
+ }, x = () => {
1165
+ a(""), y(!1);
1166
+ }, S = () => {
1211
1167
  o();
1212
1168
  };
1213
- return r ? /* @__PURE__ */ (0, z.jsx)("div", {
1169
+ return r ? /* @__PURE__ */ (0, B.jsx)("div", {
1214
1170
  "data-testid": "filter-header-title",
1215
1171
  className: f.headerListbox,
1216
- style: { color: m },
1217
- children: h ? /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [/* @__PURE__ */ (0, z.jsx)(se, {
1172
+ style: { color: h },
1173
+ children: v ? /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(te, {
1218
1174
  responsive: u,
1219
1175
  autoFocus: !0,
1220
1176
  className: f.headerListboxSearch,
@@ -1223,53 +1179,53 @@ var et = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, tt
1223
1179
  a(e.target.value);
1224
1180
  },
1225
1181
  style: {
1226
- color: m,
1227
- borderColor: m
1182
+ color: h,
1183
+ borderColor: h
1228
1184
  },
1229
- onPaste: Ge(a),
1185
+ onPaste: Pe(a),
1230
1186
  onKeyDown: (e) => {
1231
1187
  switch (e.key) {
1232
1188
  case "Enter":
1233
- b();
1189
+ S();
1234
1190
  break;
1235
1191
  case "Escape":
1236
- y(), a("");
1192
+ x(), a("");
1237
1193
  break;
1238
1194
  }
1239
1195
  },
1240
1196
  value: i
1241
- }), e] }) : /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [
1242
- /* @__PURE__ */ (0, z.jsx)("button", {
1197
+ }), e] }) : /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [
1198
+ /* @__PURE__ */ (0, B.jsx)("button", {
1243
1199
  "data-testid": "filter-header-show-search-button",
1244
- onClick: _,
1200
+ onClick: b,
1245
1201
  className: f.iconButton,
1246
1202
  style: { marginRight: 8 },
1247
- children: /* @__PURE__ */ (0, z.jsx)(te, {
1203
+ children: /* @__PURE__ */ (0, B.jsx)(_, {
1248
1204
  fill: "currentColor",
1249
1205
  size: 20
1250
1206
  })
1251
1207
  }),
1252
- d && /* @__PURE__ */ (0, z.jsx)(T, {
1208
+ d && /* @__PURE__ */ (0, B.jsx)(g, {
1253
1209
  fill: "currentColor",
1254
1210
  style: { marginRight: 8 }
1255
1211
  }),
1256
- /* @__PURE__ */ (0, z.jsxs)("div", {
1257
- onClick: _,
1212
+ /* @__PURE__ */ (0, B.jsxs)("div", {
1213
+ onClick: b,
1258
1214
  className: f.headerTitlesContainer,
1259
1215
  children: [
1260
- l && /* @__PURE__ */ (0, z.jsx)("div", {
1216
+ l && /* @__PURE__ */ (0, B.jsx)("div", {
1261
1217
  className: f.notPart,
1262
1218
  children: "NOT"
1263
1219
  }),
1264
- /* @__PURE__ */ (0, z.jsx)("span", {
1220
+ /* @__PURE__ */ (0, B.jsx)("span", {
1265
1221
  className: f.title,
1266
- style: p,
1222
+ style: m,
1267
1223
  children: t
1268
1224
  }),
1269
- /* @__PURE__ */ (0, z.jsx)("span", {
1225
+ /* @__PURE__ */ (0, B.jsx)("span", {
1270
1226
  className: f.title,
1271
1227
  style: {
1272
- ...p,
1228
+ ...m,
1273
1229
  whiteSpaceCollapse: "preserve"
1274
1230
  },
1275
1231
  children: n
@@ -1278,26 +1234,26 @@ var et = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, tt
1278
1234
  }),
1279
1235
  e
1280
1236
  ] })
1281
- }) : /* @__PURE__ */ (0, z.jsxs)("div", {
1237
+ }) : /* @__PURE__ */ (0, B.jsxs)("div", {
1282
1238
  "data-testid": "filter-header-title",
1283
1239
  className: f.headerListbox,
1284
- style: { color: m },
1285
- children: [/* @__PURE__ */ (0, z.jsxs)("div", {
1240
+ style: { color: h },
1241
+ children: [/* @__PURE__ */ (0, B.jsxs)("div", {
1286
1242
  className: f.headerTitlesContainer,
1287
1243
  children: [
1288
- l && /* @__PURE__ */ (0, z.jsx)("div", {
1244
+ l && /* @__PURE__ */ (0, B.jsx)("div", {
1289
1245
  className: f.notPart,
1290
1246
  children: "NOT"
1291
1247
  }),
1292
- /* @__PURE__ */ (0, z.jsx)("span", {
1248
+ /* @__PURE__ */ (0, B.jsx)("span", {
1293
1249
  className: f.title,
1294
- style: p,
1250
+ style: m,
1295
1251
  children: t
1296
1252
  }),
1297
- /* @__PURE__ */ (0, z.jsx)("span", {
1253
+ /* @__PURE__ */ (0, B.jsx)("span", {
1298
1254
  className: f.title,
1299
1255
  style: {
1300
- ...p,
1256
+ ...m,
1301
1257
  whiteSpaceCollapse: "preserve"
1302
1258
  },
1303
1259
  children: n
@@ -1305,40 +1261,40 @@ var et = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, tt
1305
1261
  ]
1306
1262
  }), e]
1307
1263
  });
1308
- }, bt = E({
1264
+ }, ut = b({
1309
1265
  container: ({ responsive: e, isDropdown: t }) => ({
1310
1266
  margin: 0,
1311
1267
  padding: 0,
1312
1268
  ...!t && {
1313
1269
  height: "calc(100% - 44px)",
1314
1270
  ...e && {
1315
- [N.sm]: { height: "calc(100% - 36px)" },
1316
- [N.xs]: { height: "calc(100% - 32px)" }
1271
+ [P.sm]: { height: "calc(100% - 36px)" },
1272
+ [P.xs]: { height: "calc(100% - 32px)" }
1317
1273
  }
1318
1274
  }
1319
1275
  }),
1320
1276
  scrollContainer: ({ responsive: e }) => ({
1321
- ...ee.propertiesPanel,
1277
+ ...T.propertiesPanel,
1322
1278
  padding: "0 12px",
1323
1279
  ...e && {
1324
- [N.md]: { padding: "0 8px" },
1325
- [N.sm]: { padding: "0 6px" },
1326
- [N.xs]: { padding: "0 4px" }
1280
+ [P.md]: { padding: "0 8px" },
1281
+ [P.sm]: { padding: "0 6px" },
1282
+ [P.xs]: { padding: "0 4px" }
1327
1283
  }
1328
1284
  })
1329
- }), xt = ({ children: e, loadMoreData: t, isDropdown: n = !1, hasSearch: r = !1, responsive: i }) => {
1330
- let a = bt({
1285
+ }), dt = ({ children: e, loadMoreData: t, isDropdown: n = !1, hasSearch: r = !1, responsive: i }) => {
1286
+ let a = ut({
1331
1287
  responsive: i,
1332
1288
  isDropdown: n
1333
1289
  });
1334
- return /* @__PURE__ */ (0, z.jsx)("div", {
1290
+ return /* @__PURE__ */ (0, B.jsx)("div", {
1335
1291
  className: a.container,
1336
1292
  "data-testid": "list-container",
1337
1293
  style: {
1338
1294
  paddingTop: n && !r ? 8 : void 0,
1339
1295
  paddingBottom: n ? 8 : void 0
1340
1296
  },
1341
- children: /* @__PURE__ */ (0, z.jsx)("div", {
1297
+ children: /* @__PURE__ */ (0, B.jsx)("div", {
1342
1298
  className: a.scrollContainer,
1343
1299
  style: {
1344
1300
  height: n ? void 0 : "100%",
@@ -1346,12 +1302,12 @@ var et = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, tt
1346
1302
  },
1347
1303
  onScroll: (e) => {
1348
1304
  let { scrollHeight: n, clientHeight: r, scrollTop: i } = e.currentTarget;
1349
- ue(n, r, i) && t();
1305
+ ae(n, r, i) && t();
1350
1306
  },
1351
1307
  children: e
1352
1308
  })
1353
1309
  });
1354
- }, St = E({
1310
+ }, ft = b({
1355
1311
  mainFilterContainer: {
1356
1312
  width: "100%",
1357
1313
  height: "100%",
@@ -1359,10 +1315,10 @@ var et = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, tt
1359
1315
  },
1360
1316
  blurBackground: { backdropFilter: "blur(1.25px)" },
1361
1317
  noBorder: { border: "none !important" }
1362
- }), Ct = ({ children: e, noBorder: t, blurBackground: n, filterStyle: r, fontSize: i }) => {
1363
- let a = St(), o = Y(r);
1364
- return /* @__PURE__ */ (0, z.jsx)("div", {
1365
- className: A({
1318
+ }), pt = ({ children: e, noBorder: t, blurBackground: n, filterStyle: r, fontSize: i }) => {
1319
+ let a = ft(), o = X(r);
1320
+ return /* @__PURE__ */ (0, B.jsx)("div", {
1321
+ className: k({
1366
1322
  [a.mainFilterContainer]: !0,
1367
1323
  [a.noBorder]: t,
1368
1324
  [a.blurBackground]: n
@@ -1374,4 +1330,4 @@ var et = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, tt
1374
1330
  children: e
1375
1331
  });
1376
1332
  };
1377
- export { fe as C, L as S, Fe as _, ht as a, pe as b, $ as c, X as d, Ze as f, Ue as g, Ge as h, _t as i, lt as l, Je as m, xt as n, pt as o, Xe as p, yt as r, dt as s, Ct as t, Q as u, Pe as v, ue as w, me as x, Be as y };
1333
+ export { se as C, R as S, we as _, at as a, ce as b, $ as c, Z as d, Be as f, Me as g, Pe as h, st as i, $e as l, Le as m, dt as n, rt as o, ze as p, lt as r, tt as s, pt as t, Q as u, Ce as v, ae as w, le as x, ke as y };