@astrato-io/visualizations 0.11.0 → 0.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (135) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/README.md +129 -4
  3. package/VISUALIZATION_DEFINITIONS.md +3 -1
  4. package/chunks/{Button-CPG4WX8X.js → Button-CQdoKSXX.js} +3 -3
  5. package/chunks/{CircularProgress-PSLW8HmD.js → CircularProgress-DpT1lwWw.js} +18 -18
  6. package/chunks/FieldTypeIcon-Cg4F9Q5D.js +22 -0
  7. package/chunks/{LinearProgress-KQ2EQlGL.js → LinearProgress-B7S0Q26A.js} +8 -8
  8. package/chunks/{MenuOption-B-6K7kks.js → MenuOption-DpKFJxmo.js} +133 -133
  9. package/chunks/{Title-BmvwZYkh.js → Title-m5damhc0.js} +10 -10
  10. package/chunks/{_createAggregator-CFmH6gUN.js → _createAggregator-BA8_iU9q.js} +7 -7
  11. package/chunks/{app-filter-bar.compiler-BY5-T16I.js → app-filter-bar.compiler--T4Qz3Wu.js} +3 -3
  12. package/chunks/{bar-layout-BNou0dZF.js → bar-layout-OFhxn2Go.js} +2 -2
  13. package/chunks/{bar.compiler-BkhO7sDd.js → bar.compiler-hWZBYYvV.js} +62 -62
  14. package/chunks/{builder-CNjuqD2z.js → builder-7w_bgV_h.js} +31 -31
  15. package/chunks/{coloring-BOiP0rmn.js → coloring-Cd6p0GQJ.js} +88 -83
  16. package/chunks/{createSimplePaletteValueFilter-BkgQ7MFE.js → createSimplePaletteValueFilter-CiJT8s1s.js} +55 -55
  17. package/chunks/defaults-CMFqXvaJ.js +3 -0
  18. package/chunks/{definitions-AS9GcavE.js → definitions-DTauTjIX.js} +412 -406
  19. package/chunks/{escobar-cQ1eQ64G.js → escobar-CMvphKSK.js} +4787 -4717
  20. package/chunks/{extend-preset-BlCbcXKR.js → extend-preset-BpXttHFk.js} +371 -372
  21. package/chunks/{filter.compiler-CI7dDNM1.js → filter.compiler-DOGFweJz.js} +4 -4
  22. package/chunks/{filtering-Dwi7hDPZ.js → filtering-NOnDcGbo.js} +183 -183
  23. package/chunks/handlers-CyYFSfhM.js +15393 -0
  24. package/chunks/{icon-picker-styles-CBlxEu3s.js → icon-picker-styles-DuSERhBU.js} +2 -2
  25. package/chunks/{isEqual-BdHo6wqq.js → isEqual-4f8yUUtC.js} +1 -1
  26. package/chunks/{isFocusVisible-C1nlVUwL.js → isFocusVisible-Czm70MGc.js} +1 -1
  27. package/chunks/line.compiler-B-4H55_T.js +203 -0
  28. package/chunks/{logger-Bc-DqDM_.js → logger-Cioob-QV.js} +71 -70
  29. package/chunks/{map.compiler-CRO6XpdI.js → map.compiler-Cv5V6EhF.js} +13 -13
  30. package/chunks/measure-axis-label-format-COy8U_dd.js +27 -0
  31. package/chunks/{measure-format-default-B6ghxih7.js → measure-format-default-B_kuGSzi.js} +7 -3
  32. package/chunks/{metadata-CtkvZEhS.js → metadata-dGSe5UWy.js} +5 -5
  33. package/chunks/{number.compiler-kV4lobCZ.js → number.compiler-D7nMcEMv.js} +8 -8
  34. package/chunks/{operations-COl9wgqi.js → operations-CgfehCad.js} +11462 -11223
  35. package/chunks/{range-CMJ5yc5Z.js → range-Dmwp9kVB.js} +2 -2
  36. package/chunks/{react-dom-BjsCbYHq.js → react-dom-CfuL-m78.js} +24 -24
  37. package/chunks/{render-wrappers-DFHi3Wkr.js → render-wrappers--g-zPFBW.js} +1 -1
  38. package/chunks/{requirements-C5YLmHKe.js → requirements-DHayNJ2C.js} +83 -83
  39. package/chunks/{shared-DyqxOie0.js → shared-DoEN9nNM.js} +282 -277
  40. package/chunks/standalone-B3hRGgYi.js +773 -0
  41. package/chunks/{standalone-BYK2U0Vd.js → standalone-BPNXgFft.js} +380 -380
  42. package/chunks/standalone-BPTT8XEu.js +424 -0
  43. package/chunks/standalone-BgAeHROc.js +2 -0
  44. package/chunks/{standalone-I5kRIsp8.js → standalone-BkQxag7M.js} +81 -81
  45. package/chunks/{standalone-DYVYccmY.js → standalone-Bxa3x6dg.js} +913 -913
  46. package/chunks/standalone-C0If-V6O.js +773 -0
  47. package/chunks/standalone-C1TOyflX.js +287 -0
  48. package/chunks/{standalone-DaNxWIKn.js → standalone-CE5PwJN0.js} +21 -21
  49. package/chunks/{standalone-K2OvRAQM.js → standalone-CG7IFN6n.js} +121 -121
  50. package/chunks/{standalone-Db_HNuWx.js → standalone-CKlgGu80.js} +44 -44
  51. package/chunks/standalone-CNf-oA2U.js +355 -0
  52. package/chunks/{standalone-9jrQ3zJT.js → standalone-CXPdWFlw.js} +10 -10
  53. package/chunks/{standalone-c4CPN6ug.js → standalone-Cf0_5tbu.js} +5783 -5785
  54. package/chunks/{standalone-Bp4G3MDx.js → standalone-DMi4-Vp3.js} +118 -118
  55. package/chunks/{standalone-BrjtMIdd.js → standalone-DTEX67C8.js} +108 -108
  56. package/chunks/{standalone-iOnJhCvA.js → standalone-DU46-kYv.js} +181 -181
  57. package/chunks/standalone-Dbn3jSH6.js +690 -0
  58. package/chunks/{standalone-CS5VGoja.js → standalone-DdcAL_k_.js} +833 -837
  59. package/chunks/standalone-DwCIA0UG.js +1057 -0
  60. package/chunks/standalone-Dz13tl3P.js +357 -0
  61. package/chunks/{standalone-CIjNYyya.js → standalone-H9GFzFk_.js} +937 -938
  62. package/chunks/{standalone-ChfEHb28.js → standalone-MduR0qre.js} +1279 -1279
  63. package/chunks/standalone-ejTz66P3.js +2 -0
  64. package/chunks/{standalone-D9k5SCd8.js → standalone-keB-0wK3.js} +189 -189
  65. package/chunks/{standalone-Bsfz5vnJ.js → standalone-nnkuQd0K.js} +35 -35
  66. package/chunks/standalone-vGGR6Vcn.js +6 -0
  67. package/chunks/{table.compiler-CMH_dtYs.js → table.compiler-mS4UvhLT.js} +12 -12
  68. package/chunks/theme-MYp6Rj1J.js +232 -0
  69. package/chunks/{useFieldName-BfxBzhhH.js → useFieldName-AdSak4Ch.js} +1 -1
  70. package/chunks/{utils-BdJrEeIQ.js → utils-CUKgR7it.js} +3265 -3133
  71. package/chunks/{view-Q-_XIrWE.js → view-BeYwpcVD.js} +478 -478
  72. package/chunks/{visualization-filters-BwS0xUqs.js → visualization-filters-B9qik5_K.js} +2706 -2384
  73. package/chunks/{with-html-element-D_ooGNWI.js → with-html-element-1GSeLT59.js} +3888 -3870
  74. package/definitions.js +2 -2
  75. package/docs/operations/astrato-app-filter-bar.md +1 -1
  76. package/docs/operations/bar.md +115 -32
  77. package/docs/operations/combo.md +50 -17
  78. package/docs/operations/date-picker.md +4 -4
  79. package/docs/operations/distribution-gauge.md +18 -16
  80. package/docs/operations/dot.md +107 -24
  81. package/docs/operations/filter.md +10 -8
  82. package/docs/operations/gauge.md +20 -18
  83. package/docs/operations/heatMap.md +73 -21
  84. package/docs/operations/histogram.md +45 -12
  85. package/docs/operations/iframe.md +1 -1
  86. package/docs/operations/image.md +1 -1
  87. package/docs/operations/index.md +11 -11
  88. package/docs/operations/line.md +57 -24
  89. package/docs/operations/map.md +16 -16
  90. package/docs/operations/number.md +10 -9
  91. package/docs/operations/pie.md +23 -21
  92. package/docs/operations/radar.md +13 -11
  93. package/docs/operations/sankey.md +19 -17
  94. package/docs/operations/scatter.md +111 -28
  95. package/docs/operations/shape.md +5 -5
  96. package/docs/operations/simpleTextObject.md +4 -4
  97. package/docs/operations/slider.md +1 -1
  98. package/docs/operations/table.md +27 -25
  99. package/docs/operations/tree.md +5 -3
  100. package/docs/operations/treemap.md +70 -18
  101. package/docs/operations/waterfall.md +40 -7
  102. package/docs/operations/word-cloud.md +69 -17
  103. package/getters.js +2 -2
  104. package/index.js +474 -525
  105. package/metadata.js +2 -2
  106. package/operations.js +24 -17
  107. package/package.json +71 -72
  108. package/src/definitions/model/definitions/descriptors/descriptor-metadata.d.ts +1 -1
  109. package/src/definitions/model/definitions/schema-registry.d.ts +13 -12
  110. package/src/definitions/model/definitions/schemas/bar.schema.d.ts +2 -2
  111. package/src/definitions/model/definitions/schemas/common.schema.d.ts +5 -4
  112. package/src/definitions/model/definitions/schemas/line.schema.d.ts +3 -2
  113. package/src/definitions/model/definitions/schemas/number.schema.d.ts +1 -1
  114. package/src/definitions/model/definitions/schemas/table.schema.d.ts +14 -14
  115. package/src/index.d.ts +1 -1
  116. package/src/operations/index.d.ts +11 -1
  117. package/src/types.d.ts +166 -1
  118. package/chunks/FieldTypeIcon-5k2bkqd0.js +0 -22
  119. package/chunks/category-axis-D1OVyMrr.js +0 -20
  120. package/chunks/color-rules-DYJL4fIW.js +0 -15
  121. package/chunks/color-settings-DJFoFTip.js +0 -5
  122. package/chunks/defaults-B5_8S-J-.js +0 -3
  123. package/chunks/handlers-C63NVo7i.js +0 -15433
  124. package/chunks/line.compiler-DCv3h42f.js +0 -198
  125. package/chunks/standalone-06i1wmIX.js +0 -6
  126. package/chunks/standalone-B6zUvxNQ.js +0 -357
  127. package/chunks/standalone-Be5APcVv.js +0 -762
  128. package/chunks/standalone-BuXpKMnc.js +0 -2
  129. package/chunks/standalone-CUGt2FUF.js +0 -2
  130. package/chunks/standalone-CnF2OYLQ.js +0 -355
  131. package/chunks/standalone-CznEEiq3.js +0 -422
  132. package/chunks/standalone-DcuE8KBa.js +0 -287
  133. package/chunks/standalone-pCrzBiTy.js +0 -773
  134. package/chunks/standalone-qrZaimgC.js +0 -689
  135. package/chunks/standalone-yqDJ8h3K.js +0 -1012
@@ -1,26 +1,26 @@
1
1
  import { o as e, t } from "./rolldown-runtime-DleVn1XH.js";
2
- import { $i as n, Ln as r, Na as i, Vr as a, ca as o, er as s, fa as c, in as l, ln as u, no as d, sa as f, ss as p } from "./visualization-filters-BwS0xUqs.js";
3
- import { Ar as m, Br as h, Fr as g, G as _, Ir as v, K as y, Mr as b, Rn as x, Wt as S, ai as C, ci as w, cn as T, f as E, it as D, li as O, qn as k, si as A, st as j } from "./utils-BdJrEeIQ.js";
4
- import "./defaults-B5_8S-J-.js";
5
- import { s as M } from "./logger-Bc-DqDM_.js";
6
- import { r as N, s as P, u as ee } from "./MenuOption-B-6K7kks.js";
7
- import { d as te, f as F, l as I, u as L } from "./responsive.styles-FItb913l.js";
8
- import { t as ne } from "./LinearProgress-KQ2EQlGL.js";
9
- import { t as re } from "./_createAggregator-CFmH6gUN.js";
10
- var ie = (e, t, n) => Math.ceil(t) + Math.ceil(n) >= Math.floor(e) && n > 0;
2
+ import { Gn as n, Ms as r, Sa as i, To as a, Ua as o, Yr as s, _a as c, _n as l, ca as u, cr as d, fn as f, ga as p } from "./visualization-filters-B9qik5_K.js";
3
+ import { Fr as m, G as h, K as g, Nr as _, Rr as v, Ur as y, Vn as b, Xn as x, ci as S, di as C, dn as w, f as T, fi as E, it as D, qt as O, st as k, ui as A, zr as j } from "./utils-CUKgR7it.js";
4
+ import "./defaults-CMFqXvaJ.js";
5
+ import { s as M } from "./logger-Cioob-QV.js";
6
+ import { r as N, s as ee, u as te } from "./MenuOption-DpKFJxmo.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-B7S0Q26A.js";
9
+ import { t as ie } from "./_createAggregator-BA8_iU9q.js";
10
+ var L = (e, t, n) => Math.ceil(t) + Math.ceil(n) >= Math.floor(e) && n > 0;
11
11
  function ae(e) {
12
12
  let { theme: t, name: n, props: r } = e;
13
13
  return !t || !t.components || !t.components[n] || !t.components[n].defaultProps ? r : D(t.components[n].defaultProps, r);
14
14
  }
15
15
  function oe(e) {
16
- let { props: t, name: n, defaultTheme: r, themeId: i } = e, a = j(r);
16
+ let { props: t, name: n, defaultTheme: r, themeId: i } = e, a = k(r);
17
17
  return i && (a = a[i] || a), ae({
18
18
  theme: a,
19
19
  name: n,
20
20
  props: t
21
21
  });
22
22
  }
23
- var R = /* @__PURE__ */ e(O(), 1), z = /*#__PURE__*/ R.createContext(void 0);
23
+ var R = /* @__PURE__ */ e(E(), 1), z = /*#__PURE__*/ R.createContext(void 0);
24
24
  function se() {
25
25
  return R.useContext(z);
26
26
  }
@@ -31,7 +31,7 @@ function ce({ props: e, states: t }) {
31
31
  r[t] = i === void 0 && n ? n[t] : i;
32
32
  }), [r, n];
33
33
  }
34
- var B = M(), V = h(), le = ({ r: e, g: t, b: n, a: r }) => `rgba(${e},${t},${n},${r ?? 1})`, ue = (e) => {
34
+ var B = M(), V = y(), le = ({ r: e, g: t, b: n, a: r }) => `rgba(${e},${t},${n},${r ?? 1})`, ue = (e) => {
35
35
  let [t, n, r, i] = e.replace("rgba(", "").replace("rgb(", "").replace(")", "").replaceAll(" ", "").split(",").map((e) => +e);
36
36
  return {
37
37
  r: t,
@@ -59,7 +59,7 @@ var B = M(), V = h(), le = ({ r: e, g: t, b: n, a: r }) => `rgba(${e},${t},${n},
59
59
  }
60
60
  return e.a ?? 1;
61
61
  }, pe = /* @__PURE__ */ t(((e, t) => {
62
- t.exports = re()(function(e, t, n) {
62
+ t.exports = ie()(function(e, t, n) {
63
63
  e[+!n].push(t);
64
64
  }, function() {
65
65
  return [[], []];
@@ -277,15 +277,15 @@ function ke(e, t) {
277
277
  o = 0;
278
278
  }, c;
279
279
  }
280
- var q = (e, t) => t && !s(t) ? String(S(t, e)) : e === !0 ? "True" : e === !1 ? "False" : e === null ? "-" : String(e), Ae = /* @__PURE__ */ e(pe()), je = (e, t) => {
280
+ var q = (e, t) => t && !d(t) ? String(O(t, e)) : e === !0 ? "True" : e === !1 ? "False" : e === null ? "-" : String(e), Ae = /* @__PURE__ */ e(pe()), je = (e, t) => {
281
281
  let [n, r] = (0, Ae.default)(e, (e) => t.indexOf(e.dimension) !== -1);
282
282
  return [n, r];
283
283
  }, Me = (e) => {
284
- let t = e?.dimensions.filter((e) => e.role === d.FILTER_DIMENSION);
284
+ let t = e?.dimensions.filter((e) => e.role === a.FILTER_DIMENSION);
285
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];
286
286
  };
287
287
  function Ne(e) {
288
- return u(e) || e.label || e.dataItem?.name || "";
288
+ return l(e) || e.label || e.dataItem?.name || "";
289
289
  }
290
290
  var Pe = (e) => async (t) => {
291
291
  t.preventDefault(), t.stopPropagation(), e((t.clipboardData.getData("Text") || await navigator.clipboard.readText()).replaceAll("\r\n", " ").replaceAll("\r", " ").replaceAll("\n", " "));
@@ -296,13 +296,13 @@ var Pe = (e) => async (t) => {
296
296
  return e.forEach((e) => {
297
297
  t > e && (t = e), n < e && (n = e);
298
298
  }), [t, n];
299
- }, Ie = a("getToRangeSelectionHandler", "#cbacba"), Le = (e, t) => async () => {
299
+ }, Ie = s("getToRangeSelectionHandler", "#cbacba"), Le = (e, t) => async () => {
300
300
  let n = e.selection.getActiveSelection(B.FilterType.VALUE), r = structuredClone(n), i = r.applied.find((e) => e.field.name === t.name && e.field.view === t.view);
301
301
  if (i ||= r.pending.find((e) => e.field.name === t.name && e.field.view === t.view), !i) {
302
302
  let n = B.FilterOperator.Between;
303
303
  r.pending.push({
304
304
  operator: n,
305
- field: C(e.engine, t),
305
+ field: S(e.engine, t),
306
306
  values: []
307
307
  }), e.selection.setNewSelectionState(r);
308
308
  return;
@@ -333,7 +333,7 @@ var Pe = (e) => async (t) => {
333
333
  return i.values = [s, c], e.selection.setNewSelectionState(r, B.FilterType.VALUE), i.operator;
334
334
  }
335
335
  return i.values = Fe(i.values), e.selection.setNewSelectionState(r, B.FilterType.VALUE), i.operator;
336
- }, J = a("getToValueSelectionHandler", "#cbacba"), Re = l(r()), ze = (e, t, n, r, i) => async () => {
336
+ }, J = s("getToValueSelectionHandler", "#cbacba"), Re = f(n()), ze = (e, t, n, r, i) => async () => {
337
337
  let a = n ?? Re, o = e.selection.getActiveSelection(B.FilterType.VALUE), s = structuredClone(o), c = s.pending.find((e) => e.field.name === t.name && e.field.view === t.view);
338
338
  if (c ||= s.applied.find((e) => e.field.name === t.name && e.field.view === t.view), !c) {
339
339
  J.warn("There was no selection connected to clicked field!", JSON.stringify(t));
@@ -392,26 +392,26 @@ var Pe = (e) => async (t) => {
392
392
  let n = B.FilterOperator.Like;
393
393
  return i.pending.push({
394
394
  operator: n,
395
- field: C(e.engine, t),
395
+ field: S(e.engine, t),
396
396
  values: a
397
397
  }), e.selection.setNewSelectionState(i), n;
398
398
  }
399
399
  return o.operator === B.FilterOperator.InList ? (o.operator = B.FilterOperator.Like, o.values = a) : o.operator === B.FilterOperator.NotInList ? (o.operator = B.FilterOperator.NotLike, o.values = a) : (o.operator = o.operator === B.FilterOperator.NotLike ? B.FilterOperator.NotLike : B.FilterOperator.Like, o.values = a.length ? a : o.values), e.selection.setNewSelectionState(i, B.FilterType.VALUE), o.operator;
400
400
  }, Y = (e, t) => ({
401
- fontFamily: o(t, e?.fontFamily) ?? void 0,
401
+ fontFamily: c(t, e?.fontFamily) ?? void 0,
402
402
  fontStyle: e?.italic ? "italic" : "normal",
403
403
  fontWeight: e?.bold ? "bold" : "normal",
404
404
  textDecoration: `${e?.underlined ? "underline" : ""} ${e?.strikethrough ? "line-through" : ""}`,
405
- color: f(t, e?.fontColor)
406
- }), Ve = (e) => e === p.Line ? "solid" : "dashed", X = (e, t) => {
407
- let { backgroundColor: r, borderColor: i, borderEnabled: a, borderRadius: o, borderStyle: s, borderWidth: c } = {
408
- ...n,
405
+ color: p(t, e?.fontColor)
406
+ }), Ve = (e) => e === r.Line ? "solid" : "dashed", X = (e, t) => {
407
+ let { backgroundColor: n, borderColor: r, borderEnabled: i, borderRadius: a, borderStyle: o, borderWidth: s } = {
408
+ ...u,
409
409
  ...e
410
- }, l = "0px";
411
- return a && (l = `${o}px`, t && (l = `${o}px ${o}px 0 0`)), {
412
- backgroundColor: r,
413
- border: a ? `${c}px ${Ve(s)} ${i}` : "none",
414
- borderRadius: l
410
+ }, c = "0px";
411
+ return i && (c = `${a}px`, t && (c = `${a}px ${a}px 0 0`)), {
412
+ backgroundColor: n,
413
+ border: i ? `${s}px ${Ve(o)} ${r}` : "none",
414
+ borderRadius: c
415
415
  };
416
416
  };
417
417
  function He(e) {
@@ -421,28 +421,28 @@ function He(e) {
421
421
  cursor: "pointer",
422
422
  height: 24,
423
423
  padding: "3px 6px",
424
- border: `1px solid ${i.grey4}`,
424
+ border: `1px solid ${o.grey4}`,
425
425
  borderRadius: 16,
426
426
  display: "flex",
427
427
  marginRight: 4,
428
428
  flexShrink: 0,
429
- backgroundColor: i.mainBrightPink,
430
- color: i.white,
431
- ...w.bold11,
432
- ...w.overflowEllipsis,
433
- "&:hover": { borderColor: i.grey2 },
429
+ backgroundColor: o.mainBrightPink,
430
+ color: o.white,
431
+ ...C.bold11,
432
+ ...C.overflowEllipsis,
433
+ "&:hover": { borderColor: o.grey2 },
434
434
  ...e && {
435
- [F.md]: {
435
+ [P.md]: {
436
436
  height: 20,
437
437
  padding: "2px 6px",
438
- ...w.bold10
438
+ ...C.bold10
439
439
  },
440
- [F.sm]: {
440
+ [P.sm]: {
441
441
  height: 16,
442
442
  padding: "1px 4px",
443
- ...w.normal10
443
+ ...C.normal10
444
444
  },
445
- [F.xs]: {
445
+ [P.xs]: {
446
446
  height: 12,
447
447
  padding: "0px 4px",
448
448
  fontSize: 8,
@@ -472,15 +472,15 @@ var Ue = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, We
472
472
  o += t;
473
473
  }
474
474
  return o;
475
- }, Ge = _({ iconContainer: {
475
+ }, Ge = h({ iconContainer: {
476
476
  width: 16,
477
477
  flexShrink: 0
478
- } }), Ke = ({ disabled: e, isApplied: t, isSelected: n, isNot: r, fontColor: a }) => {
479
- let o = Ge(), s = a ?? (t ? i.mainDarkNavy : void 0);
478
+ } }), Ke = ({ disabled: e, isApplied: t, isSelected: n, isNot: r, fontColor: i }) => {
479
+ let a = Ge(), s = i ?? (t ? o.mainDarkNavy : void 0);
480
480
  return /* @__PURE__ */ (0, V.jsxs)("div", {
481
- className: o.iconContainer,
481
+ className: a.iconContainer,
482
482
  style: { opacity: e ? .25 : void 0 },
483
- children: [n && r ? /* @__PURE__ */ (0, V.jsx)(m, { fill: i.mainBrightPink }) : null, n && !r ? /* @__PURE__ */ (0, V.jsx)(v, { fill: s }) : null]
483
+ children: [n && r ? /* @__PURE__ */ (0, V.jsx)(_, { fill: o.mainBrightPink }) : null, n && !r ? /* @__PURE__ */ (0, V.jsx)(j, { fill: s }) : null]
484
484
  });
485
485
  }, qe = (e) => {
486
486
  let { r: t, g: n, b: r, a: i } = H(e) ? de(e) : ue(e), a = (i ?? 1) * .6;
@@ -490,7 +490,7 @@ var Ue = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, We
490
490
  b: r,
491
491
  a: a < 0 ? 0 : a
492
492
  });
493
- }, Je = _({
493
+ }, Je = h({
494
494
  progressBar: {
495
495
  height: "100%",
496
496
  borderRadius: "4px",
@@ -498,7 +498,7 @@ var Ue = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, We
498
498
  bottom: 1,
499
499
  top: 1
500
500
  },
501
- progressBarSelectedOrApplied: { color: i.mainDarkNavy },
501
+ progressBarSelectedOrApplied: { color: o.mainDarkNavy },
502
502
  labelsContainer: {
503
503
  display: "flex",
504
504
  flexDirection: "row",
@@ -509,13 +509,13 @@ var Ue = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, We
509
509
  overflow: "hidden",
510
510
  position: "relative",
511
511
  "&:hover": {
512
- color: i.mainDarkNavy,
513
- "& > div": { backgroundColor: i.grey5 }
512
+ color: o.mainDarkNavy,
513
+ "& > div": { backgroundColor: o.grey5 }
514
514
  }
515
515
  },
516
516
  label: ({ responsive: e, fontSize: t }) => ({
517
- ...w.normal11,
518
- ...w.overflowEllipsis,
517
+ ...C.normal11,
518
+ ...C.overflowEllipsis,
519
519
  color: "inherit",
520
520
  marginRight: "5px",
521
521
  height: "100%",
@@ -526,14 +526,14 @@ var Ue = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, We
526
526
  fontSize: `${t}px`,
527
527
  lineHeight: 1.2,
528
528
  ...e && {
529
- [F.md]: { fontSize: `min(${t * I.md}px, 14px)` },
530
- [F.sm]: { fontSize: `min(${t * I.sm}px, 12px)` },
531
- [F.xs]: {
532
- fontSize: `min(${t * I.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)`,
533
533
  fontWeight: "normal !important"
534
534
  }
535
535
  }
536
- } : L(e)
536
+ } : I(e)
537
537
  }),
538
538
  dimensionLabel: {
539
539
  paddingLeft: 4,
@@ -544,25 +544,25 @@ var Ue = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, We
544
544
  flexGrow: 0,
545
545
  flexShrink: 1
546
546
  },
547
- rowDisabled: { color: i.grey3 }
548
- }), Ye = ({ dimensionDisplayValue: e, measuresLabel: t, showLabelProgress: n, isSelected: r, isApplied: a, strikethrough: o, disabled: s, searchTerm: l, barWidth: u, fontStyle: d, progressColor: f = i.lightBlue, textAlign: p, responsive: m, fontSize: h }) => {
549
- let g = Je({
547
+ rowDisabled: { color: o.grey3 }
548
+ }), Ye = ({ dimensionDisplayValue: e, measuresLabel: t, showLabelProgress: n, isSelected: r, isApplied: a, strikethrough: s, disabled: c, searchTerm: l, barWidth: u, fontStyle: d, progressColor: f = o.lightBlue, textAlign: p, responsive: m, fontSize: h }) => {
549
+ let _ = Je({
550
550
  responsive: m,
551
551
  fontSize: h
552
- }), _ = y()?.astrato ?? c, v = {
552
+ }), v = g()?.astrato ?? i, y = {
553
553
  ...Y({
554
554
  ...d,
555
- strikethrough: d?.strikethrough || o
556
- }, _),
555
+ strikethrough: d?.strikethrough || s
556
+ }, v),
557
557
  ...p ? {
558
558
  textAlign: p,
559
559
  justifyContent: p === "right" ? "flex-end" : p === "center" ? "center" : "flex-start"
560
560
  } : {}
561
561
  }, b = r || a ? f : qe(f);
562
562
  return /* @__PURE__ */ (0, V.jsxs)("div", {
563
- className: T({
564
- [g.labelsContainer]: !0,
565
- [g.progressBarSelectedOrApplied]: r || a
563
+ className: w({
564
+ [_.labelsContainer]: !0,
565
+ [_.progressBarSelectedOrApplied]: r || a
566
566
  }),
567
567
  children: [
568
568
  n && /* @__PURE__ */ (0, V.jsx)("div", {
@@ -570,15 +570,15 @@ var Ue = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, We
570
570
  width: `${u * 100}%`,
571
571
  backgroundColor: b
572
572
  },
573
- className: T({
574
- [g.progressBar]: !0,
575
- [g.rowDisabled]: s
573
+ className: w({
574
+ [_.progressBar]: !0,
575
+ [_.rowDisabled]: c
576
576
  }),
577
577
  "data-testid": "item-list-label-progress"
578
578
  }),
579
579
  /* @__PURE__ */ (0, V.jsx)("span", {
580
- style: v,
581
- className: T(g.label, g.dimensionLabel),
580
+ style: y,
581
+ className: w(_.label, _.dimensionLabel),
582
582
  title: e,
583
583
  children: /* @__PURE__ */ (0, V.jsx)(N, {
584
584
  phrase: l ?? "",
@@ -586,13 +586,13 @@ var Ue = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, We
586
586
  })
587
587
  }),
588
588
  /* @__PURE__ */ (0, V.jsx)("span", {
589
- style: v,
590
- className: T(g.label, g.measuresLabel),
589
+ style: y,
590
+ className: w(_.label, _.measuresLabel),
591
591
  children: t
592
592
  })
593
593
  ]
594
594
  });
595
- }, Xe = _({
595
+ }, Xe = h({
596
596
  rowWrapper: (e) => ({
597
597
  cursor: "pointer",
598
598
  userSelect: "none",
@@ -604,15 +604,15 @@ var Ue = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, We
604
604
  borderRadius: 6,
605
605
  paddingRight: 8,
606
606
  ...e && {
607
- [F.md]: {
607
+ [P.md]: {
608
608
  height: "24px",
609
609
  paddingRight: 6
610
610
  },
611
- [F.sm]: {
611
+ [P.sm]: {
612
612
  height: "16px",
613
613
  paddingRight: 4
614
614
  },
615
- [F.xs]: {
615
+ [P.xs]: {
616
616
  height: "12px",
617
617
  paddingRight: 2
618
618
  }
@@ -624,21 +624,21 @@ var Ue = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, We
624
624
  flexShrink: 0,
625
625
  marginRight: 6,
626
626
  ...e && {
627
- [F.md]: {
627
+ [P.md]: {
628
628
  "& input[type=\"checkbox\"], & svg": {
629
629
  width: "14px !important",
630
630
  height: "14px !important"
631
631
  },
632
632
  "& > div, & > div > div": { height: "14px" }
633
633
  },
634
- [F.sm]: {
634
+ [P.sm]: {
635
635
  "& input[type=\"checkbox\"], & svg": {
636
636
  width: "11px !important",
637
637
  height: "11px !important"
638
638
  },
639
639
  "& > div, & > div > div": { height: "11px" }
640
640
  },
641
- [F.xs]: {
641
+ [P.xs]: {
642
642
  "& input[type=\"checkbox\"], & svg": {
643
643
  width: "10px !important",
644
644
  height: "10px !important"
@@ -651,32 +651,32 @@ var Ue = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, We
651
651
  rowHover: { "&:hover": { backgroundColor: "var(--filter-hover-color)" } },
652
652
  rowApplied: {
653
653
  backgroundColor: "initial",
654
- "& > div > span": { color: `${i.mainDarkNavy} !important` }
654
+ "& > div > span": { color: `${o.mainDarkNavy} !important` }
655
655
  },
656
- rowDisabled: { "& span": { color: `${i.grey3} !important` } }
657
- }), Q = ({ selected: e, applied: t, disabled: n, hoverColor: r, onSelect: a, showProgressBar: o, 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: E, responsive: D }) => {
658
- let O = Xe(D), k = (0, R.useContext)(Z), A = (k.pendingOperator ?? k.appliedOperator) === B.FilterOperator.NotInList, j = !!h, M = o && g !== void 0 && !y, N = q(p, m), ee = We(g, _, v, y, b, x);
656
+ rowDisabled: { "& span": { color: `${o.grey3} !important` } }
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: T, progressBarColor: E, responsive: D }) => {
658
+ let O = Xe(D), k = (0, R.useContext)(Z), A = (k.pendingOperator ?? k.appliedOperator) === B.FilterOperator.NotInList, j = !!h, M = a && g !== void 0 && !y, N = q(p, m), te = We(g, _, v, y, b, x);
659
659
  return (0, R.useEffect)(() => {
660
660
  j || f?.();
661
661
  }, []), /* @__PURE__ */ (0, V.jsxs)("div", {
662
662
  tabIndex: 0,
663
663
  role: "button",
664
- onClick: a,
664
+ onClick: i,
665
665
  "data-testid": `big-list-item-dimension-${p}`,
666
- className: T({
666
+ className: w({
667
667
  [O.rowWrapper]: !0,
668
668
  [O.rowHover]: !M,
669
669
  [O.rowSelected]: !M && e,
670
670
  [O.rowApplied]: t && !n,
671
671
  [O.rowDisabled]: n
672
672
  }),
673
- style: { "--filter-hover-color": r ?? i.grey5 },
673
+ style: { "--filter-hover-color": r ?? o.grey5 },
674
674
  children: [
675
675
  s ? /* @__PURE__ */ (0, V.jsx)("div", {
676
676
  "aria-hidden": !0,
677
677
  style: { pointerEvents: "none" },
678
678
  className: O.checkboxWrapper,
679
- children: /* @__PURE__ */ (0, V.jsx)(P, {
679
+ children: /* @__PURE__ */ (0, V.jsx)(ee, {
680
680
  value: l,
681
681
  onChange: () => void 0,
682
682
  testId: `dimension-${p}-checkbox`
@@ -701,7 +701,7 @@ var Ue = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, We
701
701
  }),
702
702
  /* @__PURE__ */ (0, V.jsx)(Ye, {
703
703
  dimensionDisplayValue: N,
704
- measuresLabel: ee,
704
+ measuresLabel: te,
705
705
  showLabelProgress: M,
706
706
  progressColor: E,
707
707
  isApplied: t,
@@ -710,7 +710,7 @@ var Ue = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, We
710
710
  disabled: n,
711
711
  searchTerm: d,
712
712
  barWidth: Ue(g, S),
713
- fontStyle: w,
713
+ fontStyle: T,
714
714
  responsive: D,
715
715
  fontSize: u
716
716
  }),
@@ -719,7 +719,7 @@ var Ue = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, We
719
719
  isApplied: t,
720
720
  isSelected: e,
721
721
  isNot: A,
722
- fontColor: w?.fontColor ?? void 0
722
+ fontColor: T?.fontColor ?? void 0
723
723
  }) : null
724
724
  ]
725
725
  });
@@ -733,7 +733,7 @@ var Ue = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, We
733
733
  } else if (e && !t) return -1;
734
734
  return 0;
735
735
  }, $e = ({ filterValues: e, onItemClick: t, selectedValues: n, appliedValues: r, searchTerm: i, vSpec: a, hoverColor: o }) => {
736
- let s = (0, R.useRef)(e.length), c = E(), l = () => {
736
+ let s = (0, R.useRef)(e.length), c = T(), l = () => {
737
737
  --s.current, s.current === 0 && c();
738
738
  };
739
739
  if (!a?.dimensions[0]?.dataItem) return null;
@@ -793,7 +793,7 @@ var Ue = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, We
793
793
  progressBarColor: a.filterSettings?.filterStyle?.progressBarColor,
794
794
  responsive: a.filterSettings?.responsive
795
795
  }, String(e.dimension)))] });
796
- }, et = _({
796
+ }, et = h({
797
797
  rowWrapper: (e) => ({
798
798
  userSelect: "none",
799
799
  display: "flex",
@@ -805,12 +805,12 @@ var Ue = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, We
805
805
  padding: 4,
806
806
  borderRadius: 5,
807
807
  ...e && {
808
- [F.md]: { height: 24 },
809
- [F.sm]: {
808
+ [P.md]: { height: 24 },
809
+ [P.sm]: {
810
810
  height: 20,
811
811
  padding: "2px 4px"
812
812
  },
813
- [F.xs]: {
813
+ [P.xs]: {
814
814
  height: 16,
815
815
  padding: "1px 4px"
816
816
  }
@@ -818,7 +818,7 @@ var Ue = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, We
818
818
  "& > span": {
819
819
  flexShrink: 0,
820
820
  maxWidth: "100%",
821
- ...w.overflowEllipsis
821
+ ...C.overflowEllipsis
822
822
  }
823
823
  }),
824
824
  rowWrapperClickable: {
@@ -833,31 +833,31 @@ var Ue = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, We
833
833
  rowApplied: {
834
834
  backgroundColor: "initial",
835
835
  "& > span": {
836
- color: `${i.mainDarkNavy} !important`,
836
+ color: `${o.mainDarkNavy} !important`,
837
837
  maxWidth: "calc(100% - 20px)"
838
838
  }
839
839
  },
840
- rowDisabled: { "& span": { color: `${i.grey3} !important` } },
841
- label: (e) => ({ ...L(e) })
842
- }), $ = ({ selected: e, applied: t, disabled: n, hoverColor: r, dimensionValue: a, dimensionFormatter: o, searchTerm: s, onSelect: l, fontStyle: u, responsive: d, showCheckbox: f, showSelectionIcon: p = !0, checkboxState: m = "none", alignContentStart: h, fontSize: g }) => {
843
- let _ = et(d), v = y()?.astrato ?? c, b = q(a, o), x = (0, R.useContext)(Z), S = (x.pendingOperator ?? x.appliedOperator) === B.FilterOperator.NotInList, C = S && t && e, w = Y({
840
+ rowDisabled: { "& span": { color: `${o.grey3} !important` } },
841
+ label: (e) => ({ ...I(e) })
842
+ }), $ = ({ selected: e, applied: t, disabled: n, hoverColor: r, dimensionValue: a, dimensionFormatter: s, searchTerm: c, onSelect: l, fontStyle: u, responsive: d, showCheckbox: f, showSelectionIcon: p = !0, checkboxState: m = "none", alignContentStart: h, fontSize: _ }) => {
843
+ let v = et(d), y = g()?.astrato ?? i, b = q(a, s), x = (0, R.useContext)(Z), S = (x.pendingOperator ?? x.appliedOperator) === B.FilterOperator.NotInList, C = S && t && e, T = Y({
844
844
  ...u,
845
845
  strikethrough: C
846
- }, v);
846
+ }, y);
847
847
  return /* @__PURE__ */ (0, V.jsxs)("div", {
848
848
  tabIndex: 0,
849
849
  role: "button",
850
850
  onClick: l,
851
851
  "data-testid": `small-list-item-dimension-${a}`,
852
- className: T({
853
- [_.rowWrapper]: !0,
854
- [_.rowWrapperClickable]: !!l,
855
- [_.rowWrapperStartAligned]: h,
856
- [_.rowSelected]: e,
857
- [_.rowApplied]: t && !e,
858
- [_.rowDisabled]: n
852
+ className: w({
853
+ [v.rowWrapper]: !0,
854
+ [v.rowWrapperClickable]: !!l,
855
+ [v.rowWrapperStartAligned]: h,
856
+ [v.rowSelected]: e,
857
+ [v.rowApplied]: t && !e,
858
+ [v.rowDisabled]: n
859
859
  }),
860
- style: { "--filter-hover-color": r ?? i.grey5 },
860
+ style: { "--filter-hover-color": r ?? o.grey5 },
861
861
  children: [
862
862
  f ? /* @__PURE__ */ (0, V.jsx)("div", {
863
863
  "aria-hidden": !0,
@@ -868,22 +868,22 @@ var Ue = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, We
868
868
  marginRight: 6,
869
869
  pointerEvents: "none"
870
870
  },
871
- children: /* @__PURE__ */ (0, V.jsx)(P, {
871
+ children: /* @__PURE__ */ (0, V.jsx)(ee, {
872
872
  value: m,
873
873
  onChange: () => void 0
874
874
  })
875
875
  }) : null,
876
876
  /* @__PURE__ */ (0, V.jsx)("span", {
877
- className: _.label,
877
+ className: v.label,
878
878
  style: {
879
- ...w,
880
- ...g ? {
881
- fontSize: g,
879
+ ...T,
880
+ ..._ ? {
881
+ fontSize: _,
882
882
  lineHeight: "14px"
883
883
  } : {}
884
884
  },
885
885
  children: /* @__PURE__ */ (0, V.jsx)(N, {
886
- phrase: s ?? "",
886
+ phrase: c ?? "",
887
887
  children: b ?? ""
888
888
  })
889
889
  }),
@@ -931,7 +931,7 @@ var Ue = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, We
931
931
  fontStyle: a.filterSettings?.fontStyle,
932
932
  responsive: a.filterSettings?.responsive
933
933
  }, `not-applied-${e.dimension}`))] });
934
- }, nt = _({ dropdownContainer: {
934
+ }, nt = h({ dropdownContainer: {
935
935
  overflow: "hidden",
936
936
  backdropFilter: "blur(1.25px)",
937
937
  zIndex: 1500
@@ -942,17 +942,17 @@ var Ue = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, We
942
942
  style: i,
943
943
  children: e
944
944
  });
945
- }, it = _({ root: {
946
- background: i.grey5,
945
+ }, it = h({ root: {
946
+ background: o.grey5,
947
947
  height: 2,
948
- "& .MuiLinearProgress-bar": { background: i.mainDarkNavy }
948
+ "& .MuiLinearProgress-bar": { background: o.mainDarkNavy }
949
949
  } }), at = ({ loading: e }) => {
950
950
  let t = it();
951
- return e ? /* @__PURE__ */ (0, V.jsx)(ne, {
951
+ return e ? /* @__PURE__ */ (0, V.jsx)(re, {
952
952
  className: t.root,
953
953
  "data-testid": "filter-search-progress"
954
954
  }) : null;
955
- }, ot = _({
955
+ }, ot = h({
956
956
  dropdownButton: (e) => ({
957
957
  cursor: "pointer",
958
958
  display: "flex",
@@ -967,23 +967,23 @@ var Ue = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, We
967
967
  outline: "none"
968
968
  },
969
969
  ...e && {
970
- [F.lg]: { height: "min(28px, 100%)" },
971
- [F.md]: {
970
+ [P.lg]: { height: "min(28px, 100%)" },
971
+ [P.md]: {
972
972
  padding: "0 4px",
973
973
  height: "min(24px, 100%)"
974
974
  },
975
- [F.sm]: {
975
+ [P.sm]: {
976
976
  padding: "0 2px",
977
977
  height: "min(20px, 100%)"
978
978
  },
979
- [F.xs]: {
979
+ [P.xs]: {
980
980
  padding: 0,
981
981
  height: "min(16px, 100%)"
982
982
  }
983
983
  }
984
984
  }),
985
985
  headerTitlesContainer: {
986
- color: i.grey1,
986
+ color: o.grey1,
987
987
  display: "flex",
988
988
  alignItems: "center",
989
989
  width: "100%",
@@ -993,17 +993,17 @@ var Ue = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, We
993
993
  fontWeight: "bold !important",
994
994
  flexShrink: 1,
995
995
  minWidth: 0,
996
- ...w.overflowEllipsis,
997
- ...L(e)
996
+ ...C.overflowEllipsis,
997
+ ...I(e)
998
998
  }),
999
999
  measureTitle: {
1000
- ...w.overflowEllipsis,
1000
+ ...C.overflowEllipsis,
1001
1001
  minWidth: 0,
1002
1002
  flexShrink: 1,
1003
1003
  whiteSpaceCollapse: "preserve"
1004
1004
  },
1005
1005
  valuesLabel: {
1006
- ...w.overflowEllipsis,
1006
+ ...C.overflowEllipsis,
1007
1007
  paddingLeft: 4,
1008
1008
  fontWeight: "bold !important",
1009
1009
  minWidth: 0,
@@ -1014,14 +1014,14 @@ var Ue = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, We
1014
1014
  flexDirection: "row",
1015
1015
  alignItems: "center",
1016
1016
  boxSizing: "border-box",
1017
- ...e && te
1017
+ ...e && ne
1018
1018
  }),
1019
1019
  notPart: (e) => ({ ...He(e) })
1020
- }), st = ({ dimensionTitle: e, measureTitle: t, isOpen: n, onToggle: r, dimensionFormatter: i, selectedValues: a = [], fontStyle: o, filterStyle: s, responsive: l, isLocked: u }) => {
1021
- let d = y()?.astrato ?? c, f = ot(l), p = (0, R.useContext)(Z), m = (p.pendingOperator ?? p.appliedOperator) === B.FilterOperator.NotInList, h = {
1022
- button: X(s),
1023
- label: Y(o, d)
1024
- }, _ = h.label.color, v = (e) => String(typeof e == "boolean" ? e : i ? S(i, e) : e), x = [...a].sort().slice(0, 15).map(v).join(", "), C = a.length > 0;
1020
+ }), st = ({ dimensionTitle: e, measureTitle: t, isOpen: n, onToggle: r, dimensionFormatter: a, selectedValues: o = [], fontStyle: s, filterStyle: c, responsive: l, isLocked: u }) => {
1021
+ let d = g()?.astrato ?? i, f = ot(l), p = (0, R.useContext)(Z), h = (p.pendingOperator ?? p.appliedOperator) === B.FilterOperator.NotInList, _ = {
1022
+ button: X(c),
1023
+ label: Y(s, d)
1024
+ }, y = _.label.color, b = (e) => String(typeof e == "boolean" ? e : a ? O(a, e) : e), S = [...o].sort().slice(0, 15).map(b).join(", "), C = o.length > 0;
1025
1025
  return /* @__PURE__ */ (0, V.jsxs)("div", {
1026
1026
  role: "button",
1027
1027
  tabIndex: 0,
@@ -1033,28 +1033,28 @@ var Ue = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, We
1033
1033
  onKeyUp: (e) => {
1034
1034
  (e.key === "Enter" || e.key === " ") && (e.stopPropagation(), e.preventDefault(), r?.());
1035
1035
  },
1036
- style: h.button,
1036
+ style: _.button,
1037
1037
  children: [/* @__PURE__ */ (0, V.jsxs)("div", {
1038
1038
  className: f.headerTitlesContainer,
1039
- style: { color: _ },
1039
+ style: { color: y },
1040
1040
  children: [
1041
- u && /* @__PURE__ */ (0, V.jsx)(k, {
1041
+ u && /* @__PURE__ */ (0, V.jsx)(x, {
1042
1042
  fill: "currentColor",
1043
1043
  style: { marginRight: 8 }
1044
1044
  }),
1045
- m && /* @__PURE__ */ (0, V.jsx)("div", {
1045
+ h && /* @__PURE__ */ (0, V.jsx)("div", {
1046
1046
  className: f.notPart,
1047
1047
  children: "NOT"
1048
1048
  }),
1049
1049
  /* @__PURE__ */ (0, V.jsx)("div", {
1050
1050
  className: f.title,
1051
- style: h.label,
1051
+ style: _.label,
1052
1052
  children: e
1053
1053
  }),
1054
1054
  /* @__PURE__ */ (0, V.jsxs)("div", {
1055
1055
  className: f.title,
1056
1056
  style: {
1057
- ...h.label,
1057
+ ..._.label,
1058
1058
  display: "flex"
1059
1059
  },
1060
1060
  children: [/* @__PURE__ */ (0, V.jsx)("span", {
@@ -1062,23 +1062,23 @@ var Ue = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, We
1062
1062
  children: t
1063
1063
  }), C && /* @__PURE__ */ (0, V.jsxs)("div", {
1064
1064
  className: f.valuesLabel,
1065
- children: [" ", x]
1065
+ children: [" ", S]
1066
1066
  })]
1067
1067
  })
1068
1068
  ]
1069
1069
  }), /* @__PURE__ */ (0, V.jsx)("div", {
1070
1070
  className: f.expandIcon,
1071
- style: { color: _ },
1072
- children: n ? /* @__PURE__ */ (0, V.jsx)(b, {
1071
+ style: { color: y },
1072
+ children: n ? /* @__PURE__ */ (0, V.jsx)(m, {
1073
1073
  size: 24,
1074
1074
  fill: "currentColor"
1075
- }) : /* @__PURE__ */ (0, V.jsx)(g, {
1075
+ }) : /* @__PURE__ */ (0, V.jsx)(v, {
1076
1076
  size: 24,
1077
1077
  fill: "currentColor"
1078
1078
  })
1079
1079
  })]
1080
1080
  });
1081
- }, ct = _({
1081
+ }, ct = h({
1082
1082
  headerListbox: (e) => ({
1083
1083
  height: 36,
1084
1084
  margin: "0 12px 8px",
@@ -1086,15 +1086,15 @@ var Ue = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, We
1086
1086
  alignItems: "center",
1087
1087
  boxSizing: "border-box",
1088
1088
  ...e && {
1089
- [F.md]: {
1089
+ [P.md]: {
1090
1090
  height: 32,
1091
1091
  margin: "0 12px 6px"
1092
1092
  },
1093
- [F.sm]: {
1093
+ [P.sm]: {
1094
1094
  height: 28,
1095
1095
  margin: "0 12px 4px"
1096
1096
  },
1097
- [F.xs]: {
1097
+ [P.xs]: {
1098
1098
  height: 24,
1099
1099
  margin: "0 12px"
1100
1100
  }
@@ -1103,7 +1103,7 @@ var Ue = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, We
1103
1103
  headerListboxSearch: { flexGrow: 1 },
1104
1104
  headerTitlesContainer: {
1105
1105
  minWidth: 0,
1106
- color: i.grey1,
1106
+ color: o.grey1,
1107
1107
  cursor: "pointer",
1108
1108
  flexGrow: 1,
1109
1109
  flexShrink: 1,
@@ -1111,12 +1111,12 @@ var Ue = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, We
1111
1111
  alignItems: "center"
1112
1112
  },
1113
1113
  title: (e) => ({
1114
- ...w.overflowEllipsis,
1114
+ ...C.overflowEllipsis,
1115
1115
  fontWeight: "bold !important",
1116
- ...L(e)
1116
+ ...I(e)
1117
1117
  }),
1118
1118
  iconButton: (e) => ({
1119
- ...e && te,
1119
+ ...e && ne,
1120
1120
  cursor: "pointer",
1121
1121
  display: "inline-flex",
1122
1122
  alignItems: "center",
@@ -1133,19 +1133,19 @@ var Ue = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, We
1133
1133
  "&:hover": { boxShadow: "inset 0 0 0 1px currentColor" },
1134
1134
  "&:focus": { outline: "none" },
1135
1135
  ...e && {
1136
- [F.md]: {
1136
+ [P.md]: {
1137
1137
  minWidth: 20,
1138
1138
  width: 20,
1139
1139
  height: 20,
1140
1140
  borderRadius: 5
1141
1141
  },
1142
- [F.sm]: {
1142
+ [P.sm]: {
1143
1143
  minWidth: 16,
1144
1144
  width: 16,
1145
1145
  height: 16,
1146
1146
  borderRadius: 4
1147
1147
  },
1148
- [F.xs]: {
1148
+ [P.xs]: {
1149
1149
  minWidth: 12,
1150
1150
  width: 12,
1151
1151
  height: 12,
@@ -1154,58 +1154,58 @@ var Ue = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, We
1154
1154
  }
1155
1155
  }),
1156
1156
  notPart: (e) => ({ ...He(e) })
1157
- }), lt = ({ children: e, dimensionTitle: t, measureTitle: n, searchEnabled: r, searchTerm: i, onSearchChange: a, onApplySearched: o, fontStyle: s, vTheme: l = c, isNotEnabled: u, responsive: d, isLocked: f }) => {
1158
- let p = ct(d), m = Y(s, l), h = m.color, [g, _] = (0, R.useState)(!1);
1157
+ }), lt = ({ children: e, dimensionTitle: t, measureTitle: n, searchEnabled: r, searchTerm: a, onSearchChange: o, onApplySearched: s, fontStyle: c, vTheme: l = i, isNotEnabled: u, responsive: d, isLocked: f }) => {
1158
+ let p = ct(d), m = Y(c, l), h = m.color, [g, _] = (0, R.useState)(!1);
1159
1159
  (0, R.useEffect)(() => {
1160
- !r && i && a("");
1160
+ !r && a && o("");
1161
1161
  }, [r]);
1162
1162
  let v = () => {
1163
1163
  r && _(!0);
1164
1164
  }, y = () => {
1165
- a(""), _(!1);
1166
- }, b = () => {
1167
- o();
1165
+ o(""), _(!1);
1166
+ }, S = () => {
1167
+ s();
1168
1168
  };
1169
1169
  return r ? /* @__PURE__ */ (0, V.jsx)("div", {
1170
1170
  "data-testid": "filter-header-title",
1171
1171
  className: p.headerListbox,
1172
1172
  style: { color: h },
1173
- children: g ? /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(ee, {
1173
+ children: g ? /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(te, {
1174
1174
  responsive: d,
1175
1175
  autoFocus: !0,
1176
1176
  className: p.headerListboxSearch,
1177
1177
  "data-testid": "filter-search-input",
1178
1178
  onChange: (e) => {
1179
- a(e.target.value);
1179
+ o(e.target.value);
1180
1180
  },
1181
1181
  style: {
1182
1182
  color: h,
1183
1183
  borderColor: h
1184
1184
  },
1185
- onPaste: Pe(a),
1185
+ onPaste: Pe(o),
1186
1186
  onKeyDown: (e) => {
1187
1187
  switch (e.key) {
1188
1188
  case "Enter":
1189
- b();
1189
+ S();
1190
1190
  break;
1191
1191
  case "Escape":
1192
- y(), a("");
1192
+ y(), o("");
1193
1193
  break;
1194
1194
  }
1195
1195
  },
1196
- value: i
1196
+ value: a
1197
1197
  }), e] }) : /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [
1198
1198
  /* @__PURE__ */ (0, V.jsx)("button", {
1199
1199
  "data-testid": "filter-header-show-search-button",
1200
1200
  onClick: v,
1201
1201
  className: p.iconButton,
1202
1202
  style: { marginRight: 8 },
1203
- children: /* @__PURE__ */ (0, V.jsx)(x, {
1203
+ children: /* @__PURE__ */ (0, V.jsx)(b, {
1204
1204
  fill: "currentColor",
1205
1205
  size: 20
1206
1206
  })
1207
1207
  }),
1208
- f && /* @__PURE__ */ (0, V.jsx)(k, {
1208
+ f && /* @__PURE__ */ (0, V.jsx)(x, {
1209
1209
  fill: "currentColor",
1210
1210
  style: { marginRight: 8 }
1211
1211
  }),
@@ -1261,15 +1261,15 @@ var Ue = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, We
1261
1261
  ]
1262
1262
  }), e]
1263
1263
  });
1264
- }, ut = _({
1264
+ }, ut = h({
1265
1265
  container: ({ responsive: e, isDropdown: t }) => ({
1266
1266
  margin: 0,
1267
1267
  padding: 0,
1268
1268
  ...!t && {
1269
1269
  height: "calc(100% - 44px)",
1270
1270
  ...e && {
1271
- [F.sm]: { height: "calc(100% - 36px)" },
1272
- [F.xs]: { height: "calc(100% - 32px)" }
1271
+ [P.sm]: { height: "calc(100% - 36px)" },
1272
+ [P.xs]: { height: "calc(100% - 32px)" }
1273
1273
  }
1274
1274
  }
1275
1275
  }),
@@ -1277,9 +1277,9 @@ var Ue = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, We
1277
1277
  ...A.propertiesPanel,
1278
1278
  padding: "0 12px",
1279
1279
  ...e && {
1280
- [F.md]: { padding: "0 8px" },
1281
- [F.sm]: { padding: "0 6px" },
1282
- [F.xs]: { padding: "0 4px" }
1280
+ [P.md]: { padding: "0 8px" },
1281
+ [P.sm]: { padding: "0 6px" },
1282
+ [P.xs]: { padding: "0 4px" }
1283
1283
  }
1284
1284
  })
1285
1285
  }), dt = ({ children: e, loadMoreData: t, isDropdown: n = !1, hasSearch: r = !1, responsive: i }) => {
@@ -1302,12 +1302,12 @@ var Ue = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, We
1302
1302
  },
1303
1303
  onScroll: (e) => {
1304
1304
  let { scrollHeight: n, clientHeight: r, scrollTop: i } = e.currentTarget;
1305
- ie(n, r, i) && t();
1305
+ L(n, r, i) && t();
1306
1306
  },
1307
1307
  children: e
1308
1308
  })
1309
1309
  });
1310
- }, ft = _({
1310
+ }, ft = h({
1311
1311
  mainFilterContainer: {
1312
1312
  width: "100%",
1313
1313
  height: "100%",
@@ -1318,7 +1318,7 @@ var Ue = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, We
1318
1318
  }), pt = ({ children: e, noBorder: t, blurBackground: n, filterStyle: r, fontSize: i }) => {
1319
1319
  let a = ft(), o = X(r);
1320
1320
  return /* @__PURE__ */ (0, V.jsx)("div", {
1321
- className: T({
1321
+ className: w({
1322
1322
  [a.mainFilterContainer]: !0,
1323
1323
  [a.noBorder]: t,
1324
1324
  [a.blurBackground]: n
@@ -1330,4 +1330,4 @@ var Ue = (e, t) => typeof e == "number" && typeof t == "number" ? e / t : 0, We
1330
1330
  children: e
1331
1331
  });
1332
1332
  };
1333
- export { oe as C, z as S, we as _, at as a, se 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, ie as w, ce as x, ke as y };
1333
+ export { oe as C, z as S, we as _, at as a, se 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, L as w, ce as x, ke as y };