@astrato-io/visualizations 0.10.0 → 0.11.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 (138) hide show
  1. package/CHANGELOG.md +21 -1
  2. package/README.md +22 -4
  3. package/THIRD_PARTY_NOTICES.md +494 -0
  4. package/VISUALIZATION_DEFINITIONS.md +59 -145
  5. package/chunks/{Button-CCF851ea.js → Button-CPG4WX8X.js} +3 -3
  6. package/chunks/{CircularProgress-yupH6YWs.js → CircularProgress-PSLW8HmD.js} +12 -12
  7. package/chunks/FieldTypeIcon-5k2bkqd0.js +22 -0
  8. package/chunks/{LinearProgress-CyFjN4px.js → LinearProgress-KQ2EQlGL.js} +16 -16
  9. package/chunks/{MenuOption-CQpT79AP.js → MenuOption-B-6K7kks.js} +151 -151
  10. package/chunks/{Title-C-p4ZarD.js → Title-BmvwZYkh.js} +32 -32
  11. package/chunks/{_createAggregator-BF4qG9XK.js → _createAggregator-CFmH6gUN.js} +11 -11
  12. package/chunks/{app-filter-bar.compiler-8fxCo2q7.js → app-filter-bar.compiler-BY5-T16I.js} +8 -8
  13. package/chunks/{bar-layout-DStC-GNV.js → bar-layout-BNou0dZF.js} +2 -2
  14. package/chunks/{bar.compiler-CQAu8KL8.js → bar.compiler-BkhO7sDd.js} +55 -53
  15. package/chunks/{builder-CScg1TOS.js → builder-CNjuqD2z.js} +107 -56
  16. package/chunks/category-axis-D1OVyMrr.js +20 -0
  17. package/chunks/{coloring-9jU3s_-p.js → coloring-BOiP0rmn.js} +54 -54
  18. package/chunks/{createSimplePaletteValueFilter-C4hZpCdn.js → createSimplePaletteValueFilter-BkgQ7MFE.js} +166 -166
  19. package/chunks/defaults-B5_8S-J-.js +3 -0
  20. package/chunks/{definitions-C4grxhye.js → definitions-AS9GcavE.js} +263 -242
  21. package/chunks/{escobar-CjirINHP.js → escobar-cQ1eQ64G.js} +8528 -8461
  22. package/chunks/{extend-preset-D-l9u_we.js → extend-preset-BlCbcXKR.js} +421 -421
  23. package/chunks/{filter.compiler-lji2Acgn.js → filter.compiler-CI7dDNM1.js} +12 -12
  24. package/chunks/{filtering-C1zakrrX.js → filtering-Dwi7hDPZ.js} +263 -263
  25. package/chunks/handlers-C63NVo7i.js +15433 -0
  26. package/chunks/{icon-picker-styles-Bj80ZUBK.js → icon-picker-styles-CBlxEu3s.js} +8 -8
  27. package/chunks/{isEqual-Ch9OEye3.js → isEqual-BdHo6wqq.js} +1 -1
  28. package/chunks/{isFocusVisible-CgMP0qkR.js → isFocusVisible-C1nlVUwL.js} +9 -9
  29. package/chunks/line.compiler-DCv3h42f.js +198 -0
  30. package/chunks/linear-Bq_r9l5S.js +264 -0
  31. package/chunks/{logger-CKRjhSHQ.js → logger-Bc-DqDM_.js} +72 -72
  32. package/chunks/{lookup-BWllin0q.js → lookup-B3tWH2hX.js} +1 -0
  33. package/chunks/{map.compiler-CKzorLgK.js → map.compiler-CRO6XpdI.js} +43 -45
  34. package/chunks/measure-format-default-B6ghxih7.js +22 -0
  35. package/chunks/{metadata-Bb9pTXrq.js → metadata-CtkvZEhS.js} +1 -1
  36. package/chunks/number.compiler-kV4lobCZ.js +57 -0
  37. package/chunks/{operations-DZoY50VX.js → operations-COl9wgqi.js} +9893 -9831
  38. package/chunks/{range-D1BTmFMp.js → range-CMJ5yc5Z.js} +2 -2
  39. package/chunks/{react-dom-Dgv2azN2.js → react-dom-BjsCbYHq.js} +76 -76
  40. package/chunks/{render-wrappers-_P3xwu5A.js → render-wrappers-DFHi3Wkr.js} +1 -1
  41. package/chunks/{requirements-NHNrR8Ie.js → requirements-C5YLmHKe.js} +251 -227
  42. package/chunks/{shared-UitWpq1J.js → shared-DyqxOie0.js} +290 -278
  43. package/chunks/standalone-06i1wmIX.js +6 -0
  44. package/chunks/{standalone-DtBk_iUz.js → standalone-9jrQ3zJT.js} +10 -10
  45. package/chunks/standalone-B6zUvxNQ.js +357 -0
  46. package/chunks/{standalone-Bnnr87pc.js → standalone-BYK2U0Vd.js} +418 -679
  47. package/chunks/standalone-Be5APcVv.js +762 -0
  48. package/chunks/standalone-Bp4G3MDx.js +396 -0
  49. package/chunks/{standalone-CbPk8bKn.js → standalone-BrjtMIdd.js} +132 -132
  50. package/chunks/{standalone-BOzHA_d4.js → standalone-Bsfz5vnJ.js} +57 -57
  51. package/chunks/standalone-BuXpKMnc.js +2 -0
  52. package/chunks/standalone-CIjNYyya.js +8378 -0
  53. package/chunks/{standalone-B0U6c3su.js → standalone-CS5VGoja.js} +358 -358
  54. package/chunks/standalone-CUGt2FUF.js +2 -0
  55. package/chunks/{standalone-BapqaniK.js → standalone-ChfEHb28.js} +2299 -1072
  56. package/chunks/standalone-CnF2OYLQ.js +355 -0
  57. package/chunks/standalone-CznEEiq3.js +422 -0
  58. package/chunks/{standalone-Ck63MZzj.js → standalone-D9k5SCd8.js} +165 -165
  59. package/chunks/{standalone-CRdDZYeM.js → standalone-DYVYccmY.js} +855 -855
  60. package/chunks/{standalone-CVknVdUC.js → standalone-DaNxWIKn.js} +27 -27
  61. package/chunks/{standalone-swGs70tD.js → standalone-Db_HNuWx.js} +50 -50
  62. package/chunks/standalone-DcuE8KBa.js +287 -0
  63. package/chunks/{standalone-U0WJwFlG.js → standalone-I5kRIsp8.js} +97 -97
  64. package/chunks/{standalone-BBu90BhK.js → standalone-K2OvRAQM.js} +125 -125
  65. package/chunks/{standalone-DCFY1MAV.js → standalone-c4CPN6ug.js} +4634 -4633
  66. package/chunks/{standalone-ByKKqT5L.js → standalone-iOnJhCvA.js} +302 -302
  67. package/chunks/standalone-pCrzBiTy.js +773 -0
  68. package/chunks/standalone-qrZaimgC.js +689 -0
  69. package/chunks/standalone-yqDJ8h3K.js +1012 -0
  70. package/chunks/{table.compiler-OWSx5MOq.js → table.compiler-CMH_dtYs.js} +29 -29
  71. package/chunks/{useFieldName-B8iCYyw1.js → useFieldName-BfxBzhhH.js} +1 -1
  72. package/chunks/{utils-3Igg6xmO.js → utils-BdJrEeIQ.js} +4037 -4015
  73. package/chunks/{view-DdMLZySj.js → view-Q-_XIrWE.js} +1615 -1615
  74. package/chunks/{visualization-filters-CzvFHE6M.js → visualization-filters-BwS0xUqs.js} +1723 -1693
  75. package/chunks/{with-html-element-DOfkR3C1.js → with-html-element-D_ooGNWI.js} +4006 -3994
  76. package/definitions.js +2 -2
  77. package/docs/operations/astrato-app-filter-bar.md +1 -1
  78. package/docs/operations/bar.md +30 -1
  79. package/docs/operations/combo.md +30 -1
  80. package/docs/operations/date-picker.md +1 -1
  81. package/docs/operations/distribution-gauge.md +1 -1
  82. package/docs/operations/dot.md +1 -1
  83. package/docs/operations/filter.md +1 -1
  84. package/docs/operations/gauge.md +1 -1
  85. package/docs/operations/heatMap.md +1 -1
  86. package/docs/operations/histogram.md +1 -1
  87. package/docs/operations/iframe.md +1 -1
  88. package/docs/operations/image.md +1 -1
  89. package/docs/operations/index.md +5 -4
  90. package/docs/operations/line.md +48 -1
  91. package/docs/operations/map.md +5274 -0
  92. package/docs/operations/number.md +1 -1
  93. package/docs/operations/pie.md +1 -1
  94. package/docs/operations/radar.md +1 -1
  95. package/docs/operations/sankey.md +1 -1
  96. package/docs/operations/scatter.md +1 -1
  97. package/docs/operations/shape.md +1 -1
  98. package/docs/operations/simpleTextObject.md +1 -1
  99. package/docs/operations/slider.md +1 -1
  100. package/docs/operations/table.md +1 -1
  101. package/docs/operations/tree.md +1 -1
  102. package/docs/operations/treemap.md +1 -1
  103. package/docs/operations/waterfall.md +1 -1
  104. package/docs/operations/word-cloud.md +1 -1
  105. package/getters.js +3 -3
  106. package/index.js +528 -504
  107. package/metadata.js +2 -2
  108. package/operations.js +6 -6
  109. package/package.json +73 -68
  110. package/src/definitions/index.d.ts +1 -1
  111. package/src/definitions/model/definitions/descriptors/descriptor-metadata.d.ts +34 -53
  112. package/src/definitions/model/definitions/schema-registry.d.ts +2 -2
  113. package/src/definitions/model/definitions/schemas/bar.schema.d.ts +1 -1
  114. package/src/definitions/model/definitions/schemas/broad-chart.schema.d.ts +2 -2
  115. package/src/definitions/model/definitions/schemas/common.schema.d.ts +14 -2
  116. package/src/definitions/model/definitions/schemas/index.d.ts +1 -1
  117. package/src/definitions/model/definitions/schemas/line.schema.d.ts +1 -1
  118. package/src/definitions/model/definitions/types/compilation.types.d.ts +4 -1
  119. package/src/types.d.ts +28 -28
  120. package/src/visualization-catalog.d.ts +3 -0
  121. package/styles.css +1 -1
  122. package/chunks/FieldTypeIcon-D_MzsdfY.js +0 -22
  123. package/chunks/defaults-cyNhn37t.js +0 -3
  124. package/chunks/handlers-ZviIUC-j.js +0 -15387
  125. package/chunks/line.compiler-De5fiKuR.js +0 -198
  126. package/chunks/number.compiler-CaTmJkmi.js +0 -53
  127. package/chunks/standalone-BEekPuA12.js +0 -357
  128. package/chunks/standalone-BR2JuRIC.js +0 -422
  129. package/chunks/standalone-BwJqDj2Z.js +0 -396
  130. package/chunks/standalone-CRfDOO1x.js +0 -287
  131. package/chunks/standalone-DZDGX3aa.js +0 -518
  132. package/chunks/standalone-DhfgeJIk.js +0 -1012
  133. package/chunks/standalone-DibjA73M.js +0 -6
  134. package/chunks/standalone-DxBAyqAu.js +0 -772
  135. package/chunks/standalone-KMQPsNsq.js +0 -2
  136. package/chunks/standalone-MBLSvsrY.js +0 -2
  137. package/chunks/standalone-wgFAVnnm.js +0 -355
  138. package/chunks/standalone-xGV0dqPV.js +0 -689
@@ -1,19 +1,19 @@
1
1
  import { o as e } from "./rolldown-runtime-DleVn1XH.js";
2
- import { Cs as t, Da as n, Gi as r, Ms as i, Xa as a, cl as o, fo as s, mo as c, oa as l, po as u, qi as d, ta as f } from "./visualization-filters-CzvFHE6M.js";
3
- import { $ as p, A as m, An as h, Er as g, G as _, K as v, Kn as y, Mr as b, Pr as x, Sn as S, W as C, X as w, Y as T, Z as E, Zt as D, c as O, ci as k, f as A, h as j, it as M, jt as N, k as P, l as F, m as I, n as L, wt as R, zr as ee } from "./utils-3Igg6xmO.js";
4
- import { s as te } from "./logger-CKRjhSHQ.js";
5
- import { A as z, I as ne, P as re, a as ie, d as B, h as ae, m as oe, u as se } from "./MenuOption-CQpT79AP.js";
6
- import { C as ce, a as le, b as ue, c as de, d as fe, g as pe, h as me, i as he, l as ge, n as _e, o as ve, r as ye, s as be, t as xe, u as Se, v as Ce, y as we } from "./filtering-C1zakrrX.js";
7
- import { _ as Te, a as Ee, c as De, d as V, f as H, g as Oe, i as ke, l as Ae, m as je, o as Me, u as Ne, v as Pe } from "./react-dom-Dgv2azN2.js";
8
- import { a as Fe, i as U, n as Ie } from "./isFocusVisible-CgMP0qkR.js";
9
- import { f as Le, g as Re, l as W, n as ze, p as Be, y as Ve } from "./Title-C-p4ZarD.js";
10
- import { n as He, r as Ue, t as We } from "./CircularProgress-yupH6YWs.js";
2
+ import { $i as t, Bs as n, Na as r, So as i, Zi as a, bo as o, fa as s, js as c, no as l, sa as u, xo as d, yl as f } from "./visualization-filters-BwS0xUqs.js";
3
+ import { A as p, Br as m, Cn as h, Dr as g, Fr as _, G as v, K as y, Mt as b, Nr as x, Q as S, Qt as C, Tt as w, X as T, Z as E, at as D, c as O, et as k, f as A, h as j, j as M, jn as N, l as P, li as F, m as I, n as L, q as R, qn as ee } from "./utils-BdJrEeIQ.js";
4
+ import { s as te } from "./logger-Bc-DqDM_.js";
5
+ import { A as z, I as ne, P as B, a as re, d as V, h as ie, m as ae, u as oe } from "./MenuOption-B-6K7kks.js";
6
+ import { C as se, a as ce, b as le, c as ue, d as de, g as fe, h as pe, i as me, l as he, n as ge, o as _e, r as ve, s as ye, t as be, u as xe, v as Se, y as Ce } from "./filtering-Dwi7hDPZ.js";
7
+ import { _ as we, a as Te, c as Ee, d as H, f as De, g as Oe, i as ke, l as Ae, m as je, o as Me, u as Ne, v as Pe } from "./react-dom-BjsCbYHq.js";
8
+ import { a as Fe, i as U, n as Ie } from "./isFocusVisible-C1nlVUwL.js";
9
+ import { f as Le, g as Re, l as W, n as ze, p as Be, y as Ve } from "./Title-BmvwZYkh.js";
10
+ import { n as He, r as Ue, t as We } from "./CircularProgress-PSLW8HmD.js";
11
11
  import { d as Ge, f as G, p as Ke } from "./responsive.styles-FItb913l.js";
12
- import { t as qe } from "./Button-CCF851ea.js";
12
+ import { t as qe } from "./Button-CPG4WX8X.js";
13
13
  function Je(e) {
14
14
  return Pe("MuiCheckbox", e);
15
15
  }
16
- var Ye = Te("MuiCheckbox", [
16
+ var Ye = we("MuiCheckbox", [
17
17
  "root",
18
18
  "checked",
19
19
  "disabled",
@@ -24,17 +24,17 @@ var Ye = Te("MuiCheckbox", [
24
24
  "sizeMedium"
25
25
  ]);
26
26
  function Xe({ props: e, name: t }) {
27
- return ce({
27
+ return se({
28
28
  props: e,
29
29
  name: t,
30
- defaultTheme: v,
31
- themeId: R
30
+ defaultTheme: R,
31
+ themeId: w
32
32
  });
33
33
  }
34
34
  function Ze(e) {
35
35
  return Pe("MuiSvgIcon", e);
36
36
  }
37
- Te("MuiSvgIcon", [
37
+ we("MuiSvgIcon", [
38
38
  "root",
39
39
  "colorPrimary",
40
40
  "colorSecondary",
@@ -46,22 +46,22 @@ Te("MuiSvgIcon", [
46
46
  "fontSizeMedium",
47
47
  "fontSizeLarge"
48
48
  ]);
49
- var K = /* @__PURE__ */ e(k(), 1), q = ee(), Qe = (e) => {
49
+ var K = /* @__PURE__ */ e(F(), 1), q = m(), Qe = (e) => {
50
50
  let { color: t, fontSize: n, classes: r } = e;
51
51
  return je({ root: [
52
52
  "root",
53
- t !== "inherit" && `color${De(t)}`,
54
- `fontSize${De(n)}`
53
+ t !== "inherit" && `color${Ee(t)}`,
54
+ `fontSize${Ee(n)}`
55
55
  ] }, Ze, r);
56
- }, $e = V("svg", {
56
+ }, $e = H("svg", {
57
57
  name: "MuiSvgIcon",
58
58
  slot: "Root",
59
59
  overridesResolver: (e, t) => {
60
60
  let { ownerState: n } = e;
61
61
  return [
62
62
  t.root,
63
- n.color !== "inherit" && t[`color${De(n.color)}`],
64
- t[`fontSize${De(n.fontSize)}`]
63
+ n.color !== "inherit" && t[`color${Ee(n.color)}`],
64
+ t[`fontSize${Ee(n.fontSize)}`]
65
65
  ];
66
66
  }
67
67
  })(Ne(({ theme: e }) => ({
@@ -70,7 +70,7 @@ var K = /* @__PURE__ */ e(k(), 1), q = ee(), Qe = (e) => {
70
70
  height: "1em",
71
71
  display: "inline-block",
72
72
  flexShrink: 0,
73
- ...Ee(e, "fill", { duration: (e.vars ?? e).transitions?.duration?.shorter }),
73
+ ...Te(e, "fill", { duration: (e.vars ?? e).transitions?.duration?.shorter }),
74
74
  variants: [
75
75
  {
76
76
  props: (e) => !e.hasSvgAsChild,
@@ -127,7 +127,7 @@ var K = /* @__PURE__ */ e(k(), 1), q = ee(), Qe = (e) => {
127
127
  let g = Qe(m);
128
128
  return /*#__PURE__*/ (0, q.jsxs)($e, {
129
129
  as: o,
130
- className: M(g.root, i),
130
+ className: D(g.root, i),
131
131
  focusable: "false",
132
132
  color: c,
133
133
  "aria-hidden": !u || void 0,
@@ -155,7 +155,7 @@ function tt(e, t) {
155
155
  function nt(e) {
156
156
  return Pe("MuiCollapse", e);
157
157
  }
158
- Te("MuiCollapse", [
158
+ we("MuiCollapse", [
159
159
  "root",
160
160
  "horizontal",
161
161
  "vertical",
@@ -173,7 +173,7 @@ var rt = {}, it = (e) => {
173
173
  wrapper: ["wrapper", t],
174
174
  wrapperInner: ["wrapperInner", t]
175
175
  }, nt, n);
176
- }, at = V("div", {
176
+ }, at = H("div", {
177
177
  name: "MuiCollapse",
178
178
  slot: "Root",
179
179
  overridesResolver: (e, t) => {
@@ -217,7 +217,7 @@ var rt = {}, it = (e) => {
217
217
  style: { visibility: "hidden" }
218
218
  }
219
219
  ]
220
- }))), ot = V("div", {
220
+ }))), ot = H("div", {
221
221
  name: "MuiCollapse",
222
222
  slot: "Wrapper"
223
223
  })({
@@ -230,7 +230,7 @@ var rt = {}, it = (e) => {
230
230
  height: "100%"
231
231
  }
232
232
  }]
233
- }), st = V("div", {
233
+ }), st = H("div", {
234
234
  name: "MuiCollapse",
235
235
  slot: "WrapperInner"
236
236
  })({
@@ -246,26 +246,26 @@ var rt = {}, it = (e) => {
246
246
  let n = Ae({
247
247
  props: e,
248
248
  name: "MuiCollapse"
249
- }), { addEndListener: r, children: i, className: a, collapsedSize: o = "0px", component: s, disablePrefersReducedMotion: c = !1, easing: l, in: u, onEnter: d, onEntered: f, onEntering: p, onExit: m, onExited: h, onExiting: g, orientation: v = "vertical", slots: y = rt, slotProps: b = rt, style: x, timeout: S = T.standard, TransitionComponent: C = Be, ...w } = n, E = {
249
+ }), { addEndListener: r, children: i, className: a, collapsedSize: o = "0px", component: s, disablePrefersReducedMotion: c = !1, easing: l, in: u, onEnter: d, onEntered: f, onEntering: p, onExit: m, onExited: h, onExiting: g, orientation: _ = "vertical", slots: v = rt, slotProps: b = rt, style: x, timeout: S = T.standard, TransitionComponent: C = Be, ...w } = n, E = {
250
250
  ...n,
251
- orientation: v,
251
+ orientation: _,
252
252
  collapsedSize: o
253
- }, D = it(E), O = _(), k = K.useRef(null), A = K.useRef(null), j = typeof o == "number" ? `${o}px` : o, N = v === "horizontal", P = N ? "width" : "height", F = Le(O.motion.reducedMotion, c), I = K.useRef(null), L = Ve(t, I), R = () => k.current ? k.current[N ? "clientWidth" : "clientHeight"] : 0, ee = Me(I, (e, t) => {
254
- k.current && N && (k.current.style.position = "absolute"), e.style[P] = j, d && d(e, t);
253
+ }, O = it(E), k = y(), A = K.useRef(null), j = K.useRef(null), M = typeof o == "number" ? `${o}px` : o, N = _ === "horizontal", P = N ? "width" : "height", F = Le(k.motion.reducedMotion, c), I = K.useRef(null), L = Ve(t, I), R = () => A.current ? A.current[N ? "clientWidth" : "clientHeight"] : 0, ee = Me(I, (e, t) => {
254
+ A.current && N && (A.current.style.position = "absolute"), e.style[P] = M, d && d(e, t);
255
255
  }), te = Me(I, (e, t) => {
256
256
  let n = R();
257
- k.current && N && (k.current.style.position = "");
257
+ A.current && N && (A.current.style.position = "");
258
258
  let { duration: r, easing: i } = ke({
259
259
  style: x,
260
260
  timeout: S,
261
261
  easing: l
262
262
  }, { mode: "enter" });
263
263
  if (S === "auto" && !F.shouldReduceMotion) {
264
- let e = O.transitions.getAutoHeightDuration(n);
265
- A.current = e;
266
- } else A.current = null;
264
+ let e = k.transitions.getAutoHeightDuration(n);
265
+ j.current = e;
266
+ } else j.current = null;
267
267
  let a = F.getTransitionTiming({
268
- duration: A.current ?? r,
268
+ duration: j.current ?? r,
269
269
  delay: void 0
270
270
  });
271
271
  e.style.transitionDuration = typeof a.duration == "string" ? a.duration : `${a.duration}ms`, e.style[P] = `${n}px`, e.style.transitionTimingFunction = i, p && p(e, t);
@@ -273,47 +273,47 @@ var rt = {}, it = (e) => {
273
273
  e.style[P] = "auto", f && f(e, t);
274
274
  }), ne = Me(I, (e) => {
275
275
  e.style[P] = `${R()}px`, m && m(e);
276
- }), re = Me(I, h), ie = Me(I, (e) => {
276
+ }), B = Me(I, h), re = Me(I, (e) => {
277
277
  let t = R(), { duration: n, easing: r } = ke({
278
278
  style: x,
279
279
  timeout: S,
280
280
  easing: l
281
281
  }, { mode: "exit" });
282
282
  if (S === "auto" && !F.shouldReduceMotion) {
283
- let e = O.transitions.getAutoHeightDuration(t);
284
- A.current = e;
285
- } else A.current = null;
283
+ let e = k.transitions.getAutoHeightDuration(t);
284
+ j.current = e;
285
+ } else j.current = null;
286
286
  let i = F.getTransitionTiming({
287
- duration: A.current ?? n,
287
+ duration: j.current ?? n,
288
288
  delay: void 0
289
289
  });
290
- e.style.transitionDuration = typeof i.duration == "string" ? i.duration : `${i.duration}ms`, e.style[P] = j, e.style.transitionTimingFunction = r, g && g(e);
291
- }), B = r ? (e) => {
290
+ e.style.transitionDuration = typeof i.duration == "string" ? i.duration : `${i.duration}ms`, e.style[P] = M, e.style.transitionTimingFunction = r, g && g(e);
291
+ }), V = r ? (e) => {
292
292
  r(I.current, e);
293
- } : void 0, ae = {
294
- slots: y,
293
+ } : void 0, ie = {
294
+ slots: v,
295
295
  slotProps: b,
296
296
  component: s
297
- }, [oe, se] = Ie("root", {
297
+ }, [ae, oe] = Ie("root", {
298
298
  ref: L,
299
- className: M(D.root, a),
299
+ className: D(O.root, a),
300
300
  elementType: at,
301
- externalForwardedProps: ae,
301
+ externalForwardedProps: ie,
302
302
  ownerState: E,
303
303
  additionalProps: { style: {
304
- [N ? "minWidth" : "minHeight"]: j,
304
+ [N ? "minWidth" : "minHeight"]: M,
305
305
  ...x
306
306
  } }
307
- }), [ce, le] = Ie("wrapper", {
308
- ref: k,
309
- className: D.wrapper,
307
+ }), [se, ce] = Ie("wrapper", {
308
+ ref: A,
309
+ className: O.wrapper,
310
310
  elementType: ot,
311
- externalForwardedProps: ae,
311
+ externalForwardedProps: ie,
312
312
  ownerState: E
313
- }), [ue, de] = Ie("wrapperInner", {
314
- className: D.wrapperInner,
313
+ }), [le, ue] = Ie("wrapperInner", {
314
+ className: O.wrapperInner,
315
315
  elementType: st,
316
- externalForwardedProps: ae,
316
+ externalForwardedProps: ie,
317
317
  ownerState: E
318
318
  });
319
319
  return /*#__PURE__*/ (0, q.jsx)(C, {
@@ -322,10 +322,10 @@ var rt = {}, it = (e) => {
322
322
  onEntered: z,
323
323
  onEntering: te,
324
324
  onExit: ne,
325
- onExited: re,
326
- onExiting: ie,
327
- addEndListener: B,
328
- getAutoTimeout: S === "auto" ? () => A.current : void 0,
325
+ onExited: B,
326
+ onExiting: re,
327
+ addEndListener: V,
328
+ getAutoTimeout: S === "auto" ? () => j.current : void 0,
329
329
  reduceMotion: F.shouldReduceMotion,
330
330
  nodeRef: I,
331
331
  timeout: S === "auto" ? null : S,
@@ -335,19 +335,19 @@ var rt = {}, it = (e) => {
335
335
  ...E,
336
336
  state: e
337
337
  };
338
- return /*#__PURE__*/ (0, q.jsx)(oe, {
339
- ...se,
340
- className: M(se.className, {
341
- entered: D.entered,
342
- exited: !u && j === "0px" && D.hidden
338
+ return /*#__PURE__*/ (0, q.jsx)(ae, {
339
+ ...oe,
340
+ className: D(oe.className, {
341
+ entered: O.entered,
342
+ exited: !u && M === "0px" && O.hidden
343
343
  }[e]),
344
344
  ownerState: r,
345
345
  ...n,
346
- children: /*#__PURE__*/ (0, q.jsx)(ce, {
347
- ...le,
346
+ children: /*#__PURE__*/ (0, q.jsx)(se, {
347
+ ...ce,
348
348
  ownerState: r,
349
- children: /*#__PURE__*/ (0, q.jsx)(ue, {
350
- ...de,
349
+ children: /*#__PURE__*/ (0, q.jsx)(le, {
350
+ ...ue,
351
351
  ownerState: r,
352
352
  children: i
353
353
  })
@@ -360,7 +360,7 @@ ct && (ct.muiSupportAuto = !0);
360
360
  function lt(e) {
361
361
  return Pe("PrivateSwitchBase", e);
362
362
  }
363
- Te("PrivateSwitchBase", [
363
+ we("PrivateSwitchBase", [
364
364
  "root",
365
365
  "checked",
366
366
  "disabled",
@@ -375,11 +375,11 @@ var ut = (e) => {
375
375
  "root",
376
376
  n && "checked",
377
377
  r && "disabled",
378
- i && `edge${De(i)}`
378
+ i && `edge${Ee(i)}`
379
379
  ],
380
380
  input: ["input"]
381
381
  }, lt, t);
382
- }, dt = V(He, { name: "MuiSwitchBase" })({
382
+ }, dt = H(He, { name: "MuiSwitchBase" })({
383
383
  padding: 9,
384
384
  borderRadius: "50%",
385
385
  variants: [
@@ -406,9 +406,9 @@ var ut = (e) => {
406
406
  style: { marginRight: -12 }
407
407
  }
408
408
  ]
409
- }), ft = V("input", {
409
+ }), ft = H("input", {
410
410
  name: "MuiSwitchBase",
411
- shouldForwardProp: H
411
+ shouldForwardProp: De
412
412
  })({
413
413
  cursor: "inherit",
414
414
  position: "absolute",
@@ -426,7 +426,7 @@ var ut = (e) => {
426
426
  default: !!a,
427
427
  name: "SwitchBase",
428
428
  state: "checked"
429
- }), D = ue(), O = (e) => {
429
+ }), D = le(), O = (e) => {
430
430
  m && m(e), D && D.onFocus && D.onFocus(e);
431
431
  }, k = (e) => {
432
432
  f && f(e), D && D.onBlur && D.onBlur(e);
@@ -505,15 +505,15 @@ var ut = (e) => {
505
505
  let { classes: t, indeterminate: n, color: r, size: i } = e, a = je({ root: [
506
506
  "root",
507
507
  n && "indeterminate",
508
- `color${De(r)}`,
509
- `size${De(i)}`
508
+ `color${Ee(r)}`,
509
+ `size${Ee(i)}`
510
510
  ] }, Je, t);
511
511
  return {
512
512
  ...t,
513
513
  ...a
514
514
  };
515
- }, vt = V(pt, {
516
- shouldForwardProp: (e) => H(e) || e === "classes",
515
+ }, vt = H(pt, {
516
+ shouldForwardProp: (e) => De(e) || e === "classes",
517
517
  name: "MuiCheckbox",
518
518
  slot: "Root",
519
519
  overridesResolver: (e, t) => {
@@ -521,14 +521,14 @@ var ut = (e) => {
521
521
  return [
522
522
  t.root,
523
523
  n.indeterminate && t.indeterminate,
524
- t[`size${De(n.size)}`],
525
- n.color !== "default" && t[`color${De(n.color)}`]
524
+ t[`size${Ee(n.size)}`],
525
+ n.color !== "default" && t[`color${Ee(n.color)}`]
526
526
  ];
527
527
  }
528
528
  })(Ne(({ theme: e }) => ({
529
529
  color: (e.vars || e).palette.text.secondary,
530
530
  ...e.focusVisible && { [`&.${Ue.focusVisible} svg:first-of-type`]: {
531
- ...w,
531
+ ...E,
532
532
  borderRadius: (e.vars || e).shape.borderRadius,
533
533
  ...e.focusVisible
534
534
  } },
@@ -576,7 +576,7 @@ var ut = (e) => {
576
576
  let [x, S] = Ie("root", {
577
577
  ref: t,
578
578
  elementType: vt,
579
- className: M(_.root, u),
579
+ className: D(_.root, u),
580
580
  shouldForwardComponentProp: !0,
581
581
  externalForwardedProps: {
582
582
  slots: d,
@@ -591,7 +591,7 @@ var ut = (e) => {
591
591
  disableRipple: n.disableRipple,
592
592
  slots: d,
593
593
  slotProps: { input: {
594
- ...re(v, {
594
+ ...B(v, {
595
595
  "data-indeterminate": o,
596
596
  onChange: (e) => {
597
597
  e.target.indeterminate = o;
@@ -610,7 +610,7 @@ var ut = (e) => {
610
610
  hasMeasure: !!e.measures[0]?.dataItem,
611
611
  searchEnabled: !!e.filterSettings?.searchable,
612
612
  quickSelection: !!e.filterSettings?.quickSelect
613
- }), J = te(), wt = /* @__PURE__ */ e(S()), Tt = C({ menuTrigger: ({ responsive: e, isDisplayImportant: t }) => ({
613
+ }), J = te(), wt = /* @__PURE__ */ e(h()), Tt = v({ menuTrigger: ({ responsive: e, isDisplayImportant: t }) => ({
614
614
  ...e && Ge,
615
615
  display: t ? "inline-flex !important" : "inline-flex",
616
616
  alignItems: "center",
@@ -651,7 +651,7 @@ function Et(e) {
651
651
  let { isPreview: t, areSelectedValues: n, arePendingValues: r, isNotEnabled: i, responsive: a, onClear: o, onDeselectAll: s, onSelectAll: c, onSelectExcluded: l, toggleNotOperator: u, onLockClick: d, isSingleSelectField: f = !1 } = e, [p, m] = (0, K.useState)(!1), h = Tt({
652
652
  responsive: a,
653
653
  isDisplayImportant: !0
654
- }), _ = D().daedalus.getWorkbookProperties()?.isLockUnlockFieldsEnabled ?? !1, v = [{
654
+ }), _ = C().daedalus.getWorkbookProperties()?.isLockUnlockFieldsEnabled ?? !1, v = [{
655
655
  disabled: t || !r,
656
656
  key: "clear",
657
657
  label: "Clear",
@@ -692,14 +692,14 @@ function Et(e) {
692
692
  key: "lock",
693
693
  label: "Lock",
694
694
  type: "option",
695
- icon: { right: /* @__PURE__ */ (0, q.jsx)(y, {}) },
695
+ icon: { right: /* @__PURE__ */ (0, q.jsx)(ee, {}) },
696
696
  onClick: d
697
697
  }), /* @__PURE__ */ (0, q.jsx)(ze, {
698
698
  open: p,
699
699
  placement: "bottom-end",
700
700
  title: /* @__PURE__ */ (0, q.jsx)(z, {
701
701
  onClickAway: () => m(!1),
702
- children: /* @__PURE__ */ (0, q.jsx)(ie, {
702
+ children: /* @__PURE__ */ (0, q.jsx)(re, {
703
703
  appearance: "legacy",
704
704
  onClose: () => m(!1),
705
705
  options: v,
@@ -707,7 +707,7 @@ function Et(e) {
707
707
  style: { margin: "-8px -12px" }
708
708
  })
709
709
  }),
710
- children: /* @__PURE__ */ (0, q.jsx)(B, {
710
+ children: /* @__PURE__ */ (0, q.jsx)(V, {
711
711
  onClick: () => m(!p),
712
712
  "data-testid": "filter-button-icon-dots",
713
713
  className: h.menuTrigger,
@@ -798,7 +798,7 @@ function Nt(e) {
798
798
  function Pt(e) {
799
799
  return Pe("MuiSimpleTreeView", e);
800
800
  }
801
- Te("MuiSimpleTreeView", [
801
+ we("MuiSimpleTreeView", [
802
802
  "root",
803
803
  "item",
804
804
  "itemContent",
@@ -1007,8 +1007,8 @@ function Yt(e) {
1007
1007
  var Xt = {
1008
1008
  maxSize: 1,
1009
1009
  equalityCheck: Object.is
1010
- }, Zt = Ce({
1011
- memoize: we,
1010
+ }, Zt = Se({
1011
+ memoize: Ce,
1012
1012
  memoizeOptions: Xt
1013
1013
  }), Qt = ((e) => {
1014
1014
  let t = e?.memoizeOptions, n = e;
@@ -1088,7 +1088,7 @@ function rn() {
1088
1088
  function an(e) {
1089
1089
  tn.push(e);
1090
1090
  }
1091
- var on = m(), sn = /* @__PURE__ */ e(P(), 1), cn = en(19) ? un : dn;
1091
+ var on = M(), sn = /* @__PURE__ */ e(p(), 1), cn = en(19) ? un : dn;
1092
1092
  function X(e, t, n, r, i) {
1093
1093
  return cn(e, t, n, r, i);
1094
1094
  }
@@ -1792,7 +1792,7 @@ function sr(e) {
1792
1792
  }
1793
1793
  var cr = sr;
1794
1794
  function lr(e, t) {
1795
- let n = p(), r = E(), i = cr(() => new e(Y({}, t, {
1795
+ let n = k(), r = S(), i = cr(() => new e(Y({}, t, {
1796
1796
  isRtl: n,
1797
1797
  defaultId: r
1798
1798
  })));
@@ -2360,7 +2360,7 @@ var Or = {
2360
2360
  itemLabel: ["itemLabel"],
2361
2361
  itemCheckbox: ["itemCheckbox"]
2362
2362
  }, Pt, t), [t]);
2363
- }, Rr = V("ul", {
2363
+ }, Rr = H("ul", {
2364
2364
  name: "MuiSimpleTreeView",
2365
2365
  slot: "Root"
2366
2366
  })({
@@ -2502,7 +2502,7 @@ var Or = {
2502
2502
  function Hr(e) {
2503
2503
  return Pe("MuiTreeItem", e);
2504
2504
  }
2505
- Te("MuiTreeItem", [
2505
+ we("MuiTreeItem", [
2506
2506
  "root",
2507
2507
  "content",
2508
2508
  "groupTransition",
@@ -2533,7 +2533,7 @@ function qr(e) {
2533
2533
  }), Gr);
2534
2534
  return c ? /*#__PURE__*/ (0, q.jsx)(c, Y({}, l)) : null;
2535
2535
  }
2536
- var Jr = V("div", {
2536
+ var Jr = H("div", {
2537
2537
  name: "MuiTreeItemDragAndDropOverlay",
2538
2538
  slot: "Root",
2539
2539
  shouldForwardProp: (e) => Oe(e) && e !== "action"
@@ -2589,7 +2589,7 @@ function Xr(e) {
2589
2589
  idAttribute: o
2590
2590
  }) });
2591
2591
  }
2592
- var Zr = V("input", {
2592
+ var Zr = H("input", {
2593
2593
  name: "MuiTreeItem",
2594
2594
  slot: "LabelInput"
2595
2595
  })(({ theme: e }) => Y({}, e.typography.body1, {
@@ -2610,7 +2610,7 @@ var Zr = V("input", {
2610
2610
  "slots",
2611
2611
  "slotProps",
2612
2612
  "classes"
2613
- ], ei = Nt("MuiTreeItem"), ti = V("li", {
2613
+ ], ei = Nt("MuiTreeItem"), ti = H("li", {
2614
2614
  name: "MuiTreeItem",
2615
2615
  slot: "Root"
2616
2616
  })({
@@ -2618,7 +2618,7 @@ var Zr = V("input", {
2618
2618
  margin: 0,
2619
2619
  padding: 0,
2620
2620
  outline: 0
2621
- }), ni = V("div", {
2621
+ }), ni = H("div", {
2622
2622
  name: "MuiTreeItem",
2623
2623
  slot: "Content",
2624
2624
  shouldForwardProp: (e) => Oe(e) && e !== "status"
@@ -2653,7 +2653,7 @@ var Zr = V("input", {
2653
2653
  }
2654
2654
  },
2655
2655
  "&[data-selected][data-focused]": { backgroundColor: e.alpha((e.vars || e).palette.primary.main, `${(e.vars || e).palette.action.selectedOpacity} + ${(e.vars || e).palette.action.focusOpacity}`) }
2656
- })), ri = V("div", {
2656
+ })), ri = H("div", {
2657
2657
  name: "MuiTreeItem",
2658
2658
  slot: "Label",
2659
2659
  shouldForwardProp: (e) => Oe(e) && e !== "editable"
@@ -2666,7 +2666,7 @@ var Zr = V("input", {
2666
2666
  }, e.typography.body1, { variants: [{
2667
2667
  props: ({ editable: e }) => e,
2668
2668
  style: { paddingLeft: "2px" }
2669
- }] })), ii = V("div", {
2669
+ }] })), ii = H("div", {
2670
2670
  name: "MuiTreeItem",
2671
2671
  slot: "IconContainer"
2672
2672
  })({
@@ -2677,14 +2677,14 @@ var Zr = V("input", {
2677
2677
  position: "relative",
2678
2678
  cursor: "inherit",
2679
2679
  "& svg": { fontSize: 18 }
2680
- }), ai = V(ct, {
2680
+ }), ai = H(ct, {
2681
2681
  name: "MuiTreeItem",
2682
2682
  slot: "GroupTransition",
2683
2683
  overridesResolver: (e, t) => t.groupTransition
2684
2684
  })({
2685
2685
  margin: 0,
2686
2686
  padding: 0
2687
- }), oi = V("div", {
2687
+ }), oi = H("div", {
2688
2688
  name: "MuiTreeItem",
2689
2689
  slot: "ErrorIcon"
2690
2690
  })({
@@ -2694,10 +2694,10 @@ var Zr = V("input", {
2694
2694
  height: 7,
2695
2695
  borderRadius: "50%",
2696
2696
  backgroundColor: "red"
2697
- }), si = V(We, {
2697
+ }), si = H(We, {
2698
2698
  name: "MuiTreeItem",
2699
2699
  slot: "LoadingIcon"
2700
- })({ color: "text.primary" }), ci = V(/*#__PURE__*/ K.forwardRef((e, t) => {
2700
+ })({ color: "text.primary" }), ci = H(/*#__PURE__*/ K.forwardRef((e, t) => {
2701
2701
  let { visible: n } = e, r = qt(e, Qr);
2702
2702
  return n ? /*#__PURE__*/ (0, q.jsx)(St, Y({}, r, { ref: t })) : null;
2703
2703
  }), {
@@ -2717,16 +2717,16 @@ var Zr = V("input", {
2717
2717
  errorIcon: ["errorIcon"],
2718
2718
  loadingIcon: ["loadingIcon"]
2719
2719
  }, Hr, Y({}, e, {
2720
- root: M(e?.root, t.root),
2721
- content: M(e?.content, t.itemContent),
2722
- iconContainer: M(e?.iconContainer, t.itemIconContainer),
2723
- checkbox: M(e?.checkbox, t.itemCheckbox),
2724
- label: M(e?.label, t.itemLabel),
2725
- groupTransition: M(e?.groupTransition, t.itemGroupTransition),
2726
- labelInput: M(e?.labelInput, t.itemLabelInput),
2727
- dragAndDropOverlay: M(e?.dragAndDropOverlay, t.itemDragAndDropOverlay),
2728
- errorIcon: M(e?.errorIcon, t.itemErrorIcon),
2729
- loadingIcon: M(e?.loadingIcon, t.itemLoadingIcon)
2720
+ root: D(e?.root, t.root),
2721
+ content: D(e?.content, t.itemContent),
2722
+ iconContainer: D(e?.iconContainer, t.itemIconContainer),
2723
+ checkbox: D(e?.checkbox, t.itemCheckbox),
2724
+ label: D(e?.label, t.itemLabel),
2725
+ groupTransition: D(e?.groupTransition, t.itemGroupTransition),
2726
+ labelInput: D(e?.labelInput, t.itemLabelInput),
2727
+ dragAndDropOverlay: D(e?.dragAndDropOverlay, t.itemDragAndDropOverlay),
2728
+ errorIcon: D(e?.errorIcon, t.itemErrorIcon),
2729
+ loadingIcon: D(e?.loadingIcon, t.itemLoadingIcon)
2730
2730
  }));
2731
2731
  }, ui = /*#__PURE__*/ K.forwardRef(function(e, t) {
2732
2732
  let n = ei({
@@ -2789,21 +2789,21 @@ var Zr = V("input", {
2789
2789
  externalSlotProps: u.dragAndDropOverlay,
2790
2790
  ownerState: {},
2791
2791
  className: T.dragAndDropOverlay
2792
- }), ne = l.errorIcon ?? oi, re = W({
2792
+ }), ne = l.errorIcon ?? oi, B = W({
2793
2793
  elementType: ne,
2794
2794
  getSlotProps: S,
2795
2795
  externalSlotProps: u.errorIcon,
2796
2796
  ownerState: {},
2797
2797
  className: T.errorIcon
2798
- }), ie = l.loadingIcon ?? si, B = W({
2799
- elementType: ie,
2798
+ }), re = l.loadingIcon ?? si, V = W({
2799
+ elementType: re,
2800
2800
  getSlotProps: C,
2801
2801
  externalSlotProps: u.loadingIcon,
2802
2802
  ownerState: {},
2803
2803
  className: T.loadingIcon
2804
2804
  });
2805
2805
  return /*#__PURE__*/ (0, q.jsx)(Xr, Y({}, p(), { children: /*#__PURE__*/ (0, q.jsxs)(E, Y({}, D, { children: [/*#__PURE__*/ (0, q.jsxs)(O, Y({}, k, { children: [
2806
- /*#__PURE__*/ (0, q.jsxs)(A, Y({}, j, { children: [w.error && /*#__PURE__*/ (0, q.jsx)(ne, Y({}, re)), w.loading ? /*#__PURE__*/ (0, q.jsx)(ie, Y({}, B)) : /*#__PURE__*/ (0, q.jsx)(qr, {
2806
+ /*#__PURE__*/ (0, q.jsxs)(A, Y({}, j, { children: [w.error && /*#__PURE__*/ (0, q.jsx)(ne, Y({}, B)), w.loading ? /*#__PURE__*/ (0, q.jsx)(re, Y({}, V)) : /*#__PURE__*/ (0, q.jsx)(qr, {
2807
2807
  status: w,
2808
2808
  slots: l,
2809
2809
  slotProps: u
@@ -2857,8 +2857,8 @@ var Zr = V("input", {
2857
2857
  let n = Number(r.includes(t.value)) - Number(r.includes(e.value)), i = Number(e.disabled) - Number(t.disabled);
2858
2858
  return n || i;
2859
2859
  });
2860
- }, hi = ({ filterValues: e, filterDimensionsCount: t, searchTerm: n, isLoading: r = !1, isPreview: i, isFieldLocked: o, hoverColor: s, filterFontSize: c, filterFontColor: l, vSpec: d, dimensionSelectionMethods: f, selectionMode: p }) => {
2861
- let [m, h] = (0, K.useState)([]), g = j(f.map(({ field: e, fieldKey: t }) => e ?? { fieldKey: t })), _ = d.dimensions.filter((e) => e.role === a.FILTER_DIMENSION), v = d.dimensions.find((e) => e.role === a.FILTER_IMAGE) ?? (d.dimensions.every((e) => !e.role) ? d.dimensions[1] : void 0), y = e.reduce((e, t) => typeof t.measure1 == "number" ? e === null ? t.measure1 : Math.max(e, t.measure1) : e, null), S = (0, K.useMemo)(() => {
2860
+ }, hi = ({ filterValues: e, filterDimensionsCount: t, searchTerm: n, isLoading: r = !1, isPreview: i, isFieldLocked: a, hoverColor: o, filterFontSize: s, filterFontColor: c, vSpec: u, dimensionSelectionMethods: f, selectionMode: p }) => {
2861
+ let [m, h] = (0, K.useState)([]), g = j(f.map(({ field: e, fieldKey: t }) => e ?? { fieldKey: t })), v = u.dimensions.filter((e) => e.role === l.FILTER_DIMENSION), y = u.dimensions.find((e) => e.role === l.FILTER_IMAGE) ?? (u.dimensions.every((e) => !e.role) ? u.dimensions[1] : void 0), b = e.reduce((e, t) => typeof t.measure1 == "number" ? e === null ? t.measure1 : Math.max(e, t.measure1) : e, null), S = (0, K.useMemo)(() => {
2862
2862
  let t = /* @__PURE__ */ new Map();
2863
2863
  return e.forEach(({ dimension: e, childDimension: n, dimensionValues: r, disabled: i, image: a, measure1: o, measure2: s }) => {
2864
2864
  let c = r ?? [e, ...n === void 0 ? [] : [n]], l = c.length;
@@ -2896,7 +2896,7 @@ var Zr = V("input", {
2896
2896
  let w = (e, t) => {
2897
2897
  h(t);
2898
2898
  }, T = f.map((e) => e?.state.pending ?? e?.state.applied ?? []), E = f.map((e) => e?.state.applied ?? []), D = (e, n, r, i = T) => {
2899
- if (p === u.AllLevels && r.some((e, t) => {
2899
+ if (p === d.AllLevels && r.some((e, t) => {
2900
2900
  let n = i[t] ?? [];
2901
2901
  return (f[t]?.operators.pending ?? f[t]?.operators.applied) !== J.FilterOperator.NotInList && n.length > 0 && !n.includes(e.value);
2902
2902
  })) return "none";
@@ -2906,29 +2906,29 @@ var Zr = V("input", {
2906
2906
  }, O = (e) => e.some((e, t) => {
2907
2907
  let n = E[t] ?? [];
2908
2908
  return f[t]?.operators.applied !== J.FilterOperator.NotInList && n.length > 0 && !n.includes(e.value);
2909
- }), k = (e, r, a, l) => {
2910
- let m = `tree-${encodeURIComponent(JSON.stringify(a))}`, h = r < t - 1 && !!_[r]?.expandOnly, b = mi(Array.from(e.children.entries()), r + 1, E), x = b.length > 0, C = O(l), w = D(e, r, l), A = w !== "full", j = p === u.AllLevels, M = /* @__PURE__ */ new Map(), N = (e, t) => {
2909
+ }), k = (e, r, c, l) => {
2910
+ let m = `tree-${encodeURIComponent(JSON.stringify(c))}`, h = r < t - 1 && !!v[r]?.expandOnly, _ = mi(Array.from(e.children.entries()), r + 1, E), x = _.length > 0, C = O(l), w = D(e, r, l), A = w !== "full", j = p === d.AllLevels, M = /* @__PURE__ */ new Map(), N = (e, t) => {
2911
2911
  let n = M.get(t) ?? /* @__PURE__ */ new Set();
2912
2912
  n.add(e), M.set(t, n);
2913
2913
  };
2914
2914
  j && A && l.forEach((e, t) => {
2915
- _[t]?.expandOnly || N(e.value, t);
2915
+ v[t]?.expandOnly || N(e.value, t);
2916
2916
  });
2917
2917
  let P = (e, n) => {
2918
2918
  if (e.disabled) return !1;
2919
2919
  let r = n === t - 1, i = !r && Array.from(e.children.values()).map((e) => P(e, n + 1)).some(Boolean);
2920
- return !r && !i ? !1 : ((r || j && !_[n]?.expandOnly) && N(e.value, n), !0);
2921
- }, F = P(e, r), I = A && Array.from(M).some(([e, t]) => g[e] && t.size > 1), L = !F || e.disabled || C || o || !!i || I, R = (!F || e.disabled || C) && !x || o || !!i;
2920
+ return !r && !i ? !1 : ((r || j && !v[n]?.expandOnly) && N(e.value, n), !0);
2921
+ }, F = P(e, r), I = A && Array.from(M).some(([e, t]) => g[e] && t.size > 1), L = !F || e.disabled || C || a || !!i || I, R = (!F || e.disabled || C) && !x || a || !!i;
2922
2922
  return /* @__PURE__ */ (0, q.jsx)(ui, {
2923
2923
  itemId: m,
2924
2924
  disabled: R,
2925
- sx: w === "full" ? fi(s) : {},
2925
+ sx: w === "full" ? fi(o) : {},
2926
2926
  "data-testid": `${e.label}-tree-item`,
2927
- label: /* @__PURE__ */ (0, q.jsx)(Se, {
2927
+ label: /* @__PURE__ */ (0, q.jsx)(xe, {
2928
2928
  selected: w === "full",
2929
2929
  applied: !1,
2930
2930
  disabled: L,
2931
- hoverColor: s,
2931
+ hoverColor: o,
2932
2932
  onSelect: h ? void 0 : (e) => {
2933
2933
  if (e.stopPropagation(), !L) {
2934
2934
  if (j && !A) {
@@ -2943,7 +2943,7 @@ var Zr = V("input", {
2943
2943
  i.children.forEach((e) => r(e, a + 1, [...o, i]));
2944
2944
  };
2945
2945
  S.forEach(([, e]) => r(e, 0, [])), l.forEach((e, t) => {
2946
- !_[t]?.expandOnly && !n.get(t)?.has(e.value) && N(e.value, t);
2946
+ !v[t]?.expandOnly && !n.get(t)?.has(e.value) && N(e.value, t);
2947
2947
  });
2948
2948
  }
2949
2949
  M.forEach((e, t) => {
@@ -2956,53 +2956,53 @@ var Zr = V("input", {
2956
2956
  });
2957
2957
  }
2958
2958
  },
2959
- showProgressBar: d.filterSettings?.showProgressBar,
2959
+ showProgressBar: u.filterSettings?.showProgressBar,
2960
2960
  showCheckbox: !h,
2961
2961
  showSelectionIcon: !h,
2962
2962
  checkboxState: w,
2963
2963
  dimensionValue: e.value,
2964
- dimensionFormatter: _[r]?.formatter,
2964
+ dimensionFormatter: v[r]?.formatter,
2965
2965
  measure1Value: e.measure1,
2966
- measure1Label: d.measures[0]?.filterValueLabel,
2967
- measure1Formatter: d.measures[0]?.formatter,
2966
+ measure1Label: u.measures[0]?.filterValueLabel,
2967
+ measure1Formatter: u.measures[0]?.formatter,
2968
2968
  measure2Value: e.measure2,
2969
- measure2Label: d.measures[1]?.filterValueLabel,
2970
- measure2Formatter: d.measures[1]?.formatter,
2971
- maxValue: y,
2969
+ measure2Label: u.measures[1]?.filterValueLabel,
2970
+ measure2Formatter: u.measures[1]?.formatter,
2971
+ maxValue: b,
2972
2972
  imageValue: e.image,
2973
- imageFit: v?.imageFit,
2973
+ imageFit: y?.imageFit,
2974
2974
  searchTerm: n,
2975
- fontStyle: d.filterSettings?.fontStyle,
2976
- fontSize: c,
2977
- progressBarColor: d.filterSettings?.filterStyle?.progressBarColor,
2978
- responsive: d?.filterSettings?.responsive
2975
+ fontStyle: u.filterSettings?.fontStyle,
2976
+ fontSize: s,
2977
+ progressBarColor: u.filterSettings?.filterStyle?.progressBarColor,
2978
+ responsive: u?.filterSettings?.responsive
2979
2979
  }),
2980
- children: b.map(([t, n]) => k(n, r + 1, [...a, t], [...l, e]))
2980
+ children: _.map(([t, n]) => k(n, r + 1, [...c, t], [...l, e]))
2981
2981
  }, m);
2982
2982
  };
2983
2983
  return /* @__PURE__ */ (0, q.jsx)(zr, {
2984
2984
  "aria-label": "Filter values",
2985
2985
  itemChildrenIndentation: 0,
2986
2986
  slots: {
2987
- collapseIcon: () => /* @__PURE__ */ (0, q.jsx)(x, {
2988
- size: c,
2989
- fill: l,
2987
+ collapseIcon: () => /* @__PURE__ */ (0, q.jsx)(_, {
2988
+ size: s,
2989
+ fill: c,
2990
2990
  "data-testid": "collapse-icon"
2991
2991
  }),
2992
- expandIcon: () => /* @__PURE__ */ (0, q.jsx)(b, {
2993
- size: c,
2994
- fill: l,
2992
+ expandIcon: () => /* @__PURE__ */ (0, q.jsx)(x, {
2993
+ size: s,
2994
+ fill: c,
2995
2995
  "data-testid": "expand-icon"
2996
2996
  })
2997
2997
  },
2998
- sx: pi(s, d?.filterSettings?.responsive),
2998
+ sx: pi(o, u?.filterSettings?.responsive),
2999
2999
  expandedItems: m,
3000
3000
  selectedItems: null,
3001
3001
  onExpandedItemsChange: w,
3002
3002
  children: mi(S, 0, E).map(([e, t]) => k(t, 0, [e], []))
3003
3003
  });
3004
3004
  }, gi = {
3005
- borderBottom: `1px solid ${n.grey5}`,
3005
+ borderBottom: `1px solid ${r.grey5}`,
3006
3006
  margin: "0 12px",
3007
3007
  width: "calc(100% - 24px)"
3008
3008
  }, _i = {
@@ -3020,101 +3020,101 @@ var Zr = V("input", {
3020
3020
  alignItems: "flex-end",
3021
3021
  pointerEvents: "auto",
3022
3022
  zIndex: 2
3023
- }, yi = ({ vSpec: e, vTheme: i, filterValues: o, isPreview: s = !1, loadMoreData: c, searchTerm: u, setSearchTerm: p, allValuesLoaded: m, isSearching: g = !1, isApplyingFilters: _ = !1 }) => {
3024
- let v = i ?? l, y = D(), [b, x] = (0, K.useState)(u), S = !!e.filterSettings?.defaultNotState, C = e.filterSettings?.selectionMode ?? r.selectionMode, [w, T] = (0, K.useState)(S), [E, k] = pe(e), A = (0, K.useMemo)(() => (0, wt.default)((e) => p(e), 300), [p]), j = o.reduce((e, t) => (t.disabled || e.push(t.dimension), e), []), M = e.dimensions.filter((e) => e.role === a.FILTER_DIMENSION), N = M[0] ?? e.dimensions[0], P = M.length > 1, R = s ? [] : M.length > 0 ? M.map((e, t) => ({
3023
+ }, yi = ({ vSpec: e, vTheme: n, filterValues: i, isPreview: o = !1, loadMoreData: d, searchTerm: f, setSearchTerm: p, allValuesLoaded: m, isSearching: h = !1, isApplyingFilters: g = !1 }) => {
3024
+ let _ = n ?? s, v = C(), [y, b] = (0, K.useState)(f), x = !!e.filterSettings?.defaultNotState, S = e.filterSettings?.selectionMode ?? a.selectionMode, [w, T] = (0, K.useState)(x), [E, D] = fe(e), k = (0, K.useMemo)(() => (0, wt.default)((e) => p(e), 300), [p]), A = i.reduce((e, t) => (t.disabled || e.push(t.dimension), e), []), j = e.dimensions.filter((e) => e.role === l.FILTER_DIMENSION), M = j[0] ?? e.dimensions[0], F = j.length > 1, R = o ? [] : j.length > 0 ? j.map((e, t) => ({
3025
3025
  dataItem: e.dataItem,
3026
3026
  dateLevel: e.dateLevel ?? void 0,
3027
3027
  datePart: e.datePart ?? void 0,
3028
- values: o.map((e) => e.dimensionValues ? e.dimensionValues[t] : [e.dimension, e.childDimension][t]).filter((e) => e !== void 0)
3028
+ values: i.map((e) => e.dimensionValues ? e.dimensionValues[t] : [e.dimension, e.childDimension][t]).filter((e) => e !== void 0)
3029
3029
  })) : [{
3030
- dataItem: N?.dataItem,
3031
- dateLevel: N?.dateLevel ?? void 0,
3032
- datePart: N?.datePart ?? void 0,
3033
- values: j
3034
- }], { hasImage: ee, hasMeasure: te, searchEnabled: z, quickSelection: ne } = Ct(e), re = e.filterSettings?.filterStyle, { backgroundColor: ie, ...B } = re ?? {}, se = re && {
3035
- ...B,
3036
- ..."backgroundColor" in re ? { backgroundColor: ie ?? void 0 } : {}
3037
- }, ce = e.filterSettings?.filterStyle?.backgroundColor ?? d.backgroundColor, ue = e.filterSettings?.fontStyle?.fontSize ?? d.fontSize, me = f(v, e.filterSettings?.fontStyle?.fontColor), he = oe({
3038
- ...ae,
3039
- "--background-color": ce
3040
- })["--background-color-hover"] ?? n.grey3, ve = O(R, {
3041
- disabled: s,
3030
+ dataItem: M?.dataItem,
3031
+ dateLevel: M?.dateLevel ?? void 0,
3032
+ datePart: M?.datePart ?? void 0,
3033
+ values: A
3034
+ }], { hasImage: ee, hasMeasure: te, searchEnabled: z, quickSelection: ne } = Ct(e), B = e.filterSettings?.filterStyle, { backgroundColor: re, ...V } = B ?? {}, oe = B && {
3035
+ ...V,
3036
+ ..."backgroundColor" in B ? { backgroundColor: re ?? void 0 } : {}
3037
+ }, se = e.filterSettings?.filterStyle?.backgroundColor ?? t.backgroundColor, le = e.filterSettings?.fontStyle?.fontSize ?? t.fontSize, pe = u(_, e.filterSettings?.fontStyle?.fontColor), me = ae({
3038
+ ...ie,
3039
+ "--background-color": se
3040
+ })["--background-color-hover"] ?? r.grey3, _e = O(R, {
3041
+ disabled: o,
3042
3042
  state: ne ? J.SelectionState.APPLIED : void 0,
3043
3043
  defaultOperator: w ? J.FilterOperator.NotInList : J.FilterOperator.InList,
3044
3044
  commitHistory: ne
3045
- }), { onClear: Se, onClick: Ce, onDeselectAll: we, onSelectExcluded: Te, onNotOperatorChange: Ee, onSelectAll: De, field: V, state: H, operators: Oe } = ve[0] ?? F, { isFieldLocked: ke = !1, toggleFieldLock: Ae } = L(V ?? void 0), je = H.pending ?? H.applied ?? [], Me = I(V ? [V] : []);
3045
+ }), { onClear: xe, onClick: Se, onDeselectAll: Ce, onSelectExcluded: we, onNotOperatorChange: Te, onSelectAll: Ee, field: H, state: De, operators: Oe } = _e[0] ?? P, { isFieldLocked: ke = !1, toggleFieldLock: Ae } = L(H ?? void 0), je = De.pending ?? De.applied ?? [], Me = I(H ? [H] : []);
3046
3046
  (0, K.useEffect)(() => {
3047
3047
  let e = Oe.pending ?? Oe.applied;
3048
3048
  if (e) {
3049
3049
  T(e === J.FilterOperator.NotInList);
3050
3050
  return;
3051
3051
  }
3052
- T(S);
3053
- }, [S, Oe]);
3052
+ T(x);
3053
+ }, [x, Oe]);
3054
3054
  let Ne = (0, K.useCallback)(() => {
3055
- T((e) => !e), Ee();
3056
- }, [T, Ee]);
3055
+ T((e) => !e), Te();
3056
+ }, [T, Te]);
3057
3057
  function Pe() {
3058
- m ? De() : y.daedalus.emitEvent(J.AstratoEvents.SHOW_GLOBAL_NOTIFICATION, {
3058
+ m ? Ee() : v.daedalus.emitEvent(J.AstratoEvents.SHOW_GLOBAL_NOTIFICATION, {
3059
3059
  type: "warn",
3060
3060
  message: "Cannot select values, because not all of them are loaded!"
3061
3061
  });
3062
3062
  }
3063
- let Fe = ke || _ && !P || g, U = (0, K.useRef)(null);
3063
+ let Fe = ke || g && !F || h, U = (0, K.useRef)(null);
3064
3064
  (0, K.useEffect)(() => {
3065
3065
  U.current?.toggleAttribute("inert", Fe);
3066
3066
  }, [Fe]);
3067
- let Ie = (0, K.useMemo)(() => ke ? o.filter((e) => (H.pending ?? H.applied ?? []).includes(e.dimension)) : o, [
3068
- o,
3067
+ let Ie = (0, K.useMemo)(() => ke ? i.filter((e) => (De.pending ?? De.applied ?? []).includes(e.dimension)) : i, [
3068
+ i,
3069
3069
  ke,
3070
- H.pending,
3071
- H.applied
3070
+ De.pending,
3071
+ De.applied
3072
3072
  ]);
3073
3073
  return /* @__PURE__ */ (0, q.jsx)("div", {
3074
3074
  style: {
3075
3075
  position: "relative",
3076
3076
  height: "100%"
3077
3077
  },
3078
- children: /* @__PURE__ */ (0, q.jsx)(xe, {
3078
+ children: /* @__PURE__ */ (0, q.jsx)(be, {
3079
3079
  blurBackground: !0,
3080
- filterStyle: se,
3081
- fontSize: e.filterSettings?.fontStyle?.fontSize ?? d.fontSize,
3082
- children: /* @__PURE__ */ (0, q.jsxs)(fe.Provider, {
3083
- value: t({
3080
+ filterStyle: oe,
3081
+ fontSize: e.filterSettings?.fontStyle?.fontSize ?? t.fontSize,
3082
+ children: /* @__PURE__ */ (0, q.jsxs)(de.Provider, {
3083
+ value: c({
3084
3084
  appliedOperator: Oe.applied,
3085
3085
  pendingOperator: Oe.pending
3086
3086
  }),
3087
3087
  children: [
3088
- /* @__PURE__ */ (0, q.jsx)(ye, {
3089
- measureTitle: k ?? "",
3088
+ /* @__PURE__ */ (0, q.jsx)(ve, {
3089
+ measureTitle: D ?? "",
3090
3090
  dimensionTitle: E,
3091
- searchEnabled: z && !s,
3092
- searchTerm: b,
3091
+ searchEnabled: z && !o,
3092
+ searchTerm: y,
3093
3093
  onSearchChange: (e) => {
3094
- x(e), A(e);
3094
+ b(e), k(e);
3095
3095
  },
3096
3096
  onApplySearched: Pe,
3097
3097
  fontStyle: e.filterSettings?.fontStyle ?? {},
3098
- vTheme: v,
3098
+ vTheme: _,
3099
3099
  isNotEnabled: w,
3100
3100
  responsive: e?.filterSettings?.responsive,
3101
3101
  isLocked: ke,
3102
3102
  children: ne ? null : /* @__PURE__ */ (0, q.jsx)(Et, {
3103
- isPreview: s,
3103
+ isPreview: o,
3104
3104
  responsive: e?.filterSettings?.responsive,
3105
3105
  areSelectedValues: je.length > 0,
3106
- arePendingValues: !!H.pending,
3107
- onClear: Se,
3108
- onDeselectAll: we,
3109
- onSelectExcluded: Te,
3110
- onSelectAll: De,
3106
+ arePendingValues: !!De.pending,
3107
+ onClear: xe,
3108
+ onDeselectAll: Ce,
3109
+ onSelectExcluded: we,
3110
+ onSelectAll: Ee,
3111
3111
  toggleNotOperator: Ne,
3112
3112
  onLockClick: Ae,
3113
3113
  isNotEnabled: w,
3114
3114
  isSingleSelectField: Me
3115
3115
  })
3116
3116
  }),
3117
- g ? /* @__PURE__ */ (0, q.jsx)(le, { loading: !0 }) : /* @__PURE__ */ (0, q.jsx)("div", { style: gi }),
3117
+ h ? /* @__PURE__ */ (0, q.jsx)(ce, { loading: !0 }) : /* @__PURE__ */ (0, q.jsx)("div", { style: gi }),
3118
3118
  /* @__PURE__ */ (0, q.jsx)("div", {
3119
3119
  ref: U,
3120
3120
  style: {
@@ -3123,46 +3123,46 @@ var Zr = V("input", {
3123
3123
  pointerEvents: Fe ? "none" : void 0,
3124
3124
  transition: "opacity 0.15s ease"
3125
3125
  },
3126
- children: /* @__PURE__ */ (0, q.jsxs)(_e, {
3127
- loadMoreData: c,
3126
+ children: /* @__PURE__ */ (0, q.jsxs)(ge, {
3127
+ loadMoreData: d,
3128
3128
  responsive: e?.filterSettings?.responsive,
3129
- children: [m && Ie.length === 0 && !g && !_ ? /* @__PURE__ */ (0, q.jsx)(de, {
3129
+ children: [m && Ie.length === 0 && !h && !g ? /* @__PURE__ */ (0, q.jsx)(ue, {
3130
3130
  responsive: e?.filterSettings?.responsive,
3131
3131
  applied: !1,
3132
3132
  disabled: !1,
3133
3133
  selected: !1,
3134
- hoverColor: he,
3134
+ hoverColor: me,
3135
3135
  fontStyle: e.filterSettings?.fontStyle,
3136
3136
  dimensionValue: "No results to display."
3137
- }) : null, P ? /* @__PURE__ */ (0, q.jsx)(hi, {
3137
+ }) : null, F ? /* @__PURE__ */ (0, q.jsx)(hi, {
3138
3138
  filterValues: Ie,
3139
- filterDimensionsCount: M.length,
3140
- searchTerm: u,
3141
- isLoading: g || _,
3142
- isPreview: s,
3139
+ filterDimensionsCount: j.length,
3140
+ searchTerm: f,
3141
+ isLoading: h || g,
3142
+ isPreview: o,
3143
3143
  isFieldLocked: ke,
3144
- hoverColor: he,
3145
- filterFontSize: ue,
3146
- filterFontColor: me,
3144
+ hoverColor: me,
3145
+ filterFontSize: le,
3146
+ filterFontColor: pe,
3147
3147
  vSpec: e,
3148
- dimensionSelectionMethods: ve,
3149
- selectionMode: C
3150
- }) : ee || te ? /* @__PURE__ */ (0, q.jsx)(ge, {
3148
+ dimensionSelectionMethods: _e,
3149
+ selectionMode: S
3150
+ }) : ee || te ? /* @__PURE__ */ (0, q.jsx)(he, {
3151
3151
  vSpec: e,
3152
3152
  filterValues: Ie,
3153
- hoverColor: he,
3154
- onItemClick: Ce,
3153
+ hoverColor: me,
3154
+ onItemClick: Se,
3155
3155
  selectedValues: je,
3156
- appliedValues: H.applied ?? [],
3157
- searchTerm: u
3158
- }) : /* @__PURE__ */ (0, q.jsx)(be, {
3156
+ appliedValues: De.applied ?? [],
3157
+ searchTerm: f
3158
+ }) : /* @__PURE__ */ (0, q.jsx)(ye, {
3159
3159
  vSpec: e,
3160
3160
  filterValues: Ie,
3161
- hoverColor: he,
3162
- onItemClick: Ce,
3161
+ hoverColor: me,
3162
+ onItemClick: Se,
3163
3163
  selectedValues: je,
3164
- appliedValues: H.applied ?? [],
3165
- searchTerm: u
3164
+ appliedValues: De.applied ?? [],
3165
+ searchTerm: f
3166
3166
  })]
3167
3167
  })
3168
3168
  }),
@@ -3172,7 +3172,7 @@ var Zr = V("input", {
3172
3172
  color: "secondary",
3173
3173
  style: _i,
3174
3174
  onClick: () => Ae(),
3175
- children: /* @__PURE__ */ (0, q.jsxs)(q.Fragment, { children: [/* @__PURE__ */ (0, q.jsx)(h, { fill: "white" }), "Unlock"] })
3175
+ children: /* @__PURE__ */ (0, q.jsxs)(q.Fragment, { children: [/* @__PURE__ */ (0, q.jsx)(N, { fill: "white" }), "Unlock"] })
3176
3176
  })
3177
3177
  })
3178
3178
  ]
@@ -3181,16 +3181,16 @@ var Zr = V("input", {
3181
3181
  });
3182
3182
  };
3183
3183
  function bi(e) {
3184
- let { quickSelection: t, isPreview: n, areSelectedValues: r, state: i, responsive: a, isSingleSelectField: o = !1, onClear: s, onDeselectAll: c, onSelectAll: l, onSelectExcluded: u, onNotOperatorChange: d, onLockClick: f } = e, [p, m] = (0, K.useState)(!1), h = Tt({ responsive: a }), { appliedOperator: _, pendingOperator: v } = (0, K.useContext)(fe), b = _ ?? v ?? J.FilterOperator.InList, x = D().daedalus.getWorkbookProperties()?.isLockUnlockFieldsEnabled ?? !1;
3184
+ let { quickSelection: t, isPreview: n, areSelectedValues: r, state: i, responsive: a, isSingleSelectField: o = !1, onClear: s, onDeselectAll: c, onSelectAll: l, onSelectExcluded: u, onNotOperatorChange: d, onLockClick: f } = e, [p, m] = (0, K.useState)(!1), h = Tt({ responsive: a }), { appliedOperator: _, pendingOperator: v } = (0, K.useContext)(de), y = _ ?? v ?? J.FilterOperator.InList, b = C().daedalus.getWorkbookProperties()?.isLockUnlockFieldsEnabled ?? !1;
3185
3185
  if (t) return null;
3186
- let S = [{
3186
+ let x = [{
3187
3187
  disabled: n || !i.pending,
3188
3188
  key: "clear",
3189
3189
  label: "Clear",
3190
3190
  type: "option",
3191
3191
  onClick: s
3192
3192
  }];
3193
- return o || S.push({
3193
+ return o || x.push({
3194
3194
  key: "divider",
3195
3195
  type: "divider"
3196
3196
  }, {
@@ -3202,7 +3202,7 @@ function bi(e) {
3202
3202
  }, {
3203
3203
  disabled: n,
3204
3204
  key: "select-all",
3205
- label: b === J.FilterOperator.InList ? "Select all" : "Exclude all",
3205
+ label: y === J.FilterOperator.InList ? "Select all" : "Exclude all",
3206
3206
  type: "option",
3207
3207
  onClick: l
3208
3208
  }, {
@@ -3217,29 +3217,29 @@ function bi(e) {
3217
3217
  label: "Exclude",
3218
3218
  type: "option",
3219
3219
  onClick: d
3220
- }), x && S.push({
3220
+ }), b && x.push({
3221
3221
  key: "divider",
3222
3222
  type: "divider"
3223
3223
  }, {
3224
3224
  key: "lock",
3225
3225
  label: "Lock",
3226
3226
  type: "option",
3227
- icon: { right: /* @__PURE__ */ (0, q.jsx)(y, {}) },
3227
+ icon: { right: /* @__PURE__ */ (0, q.jsx)(ee, {}) },
3228
3228
  onClick: f
3229
3229
  }), /* @__PURE__ */ (0, q.jsx)(ze, {
3230
3230
  open: p,
3231
3231
  placement: "bottom-end",
3232
3232
  title: /* @__PURE__ */ (0, q.jsx)(z, {
3233
3233
  onClickAway: () => m(!1),
3234
- children: /* @__PURE__ */ (0, q.jsx)(ie, {
3234
+ children: /* @__PURE__ */ (0, q.jsx)(re, {
3235
3235
  appearance: "legacy",
3236
3236
  onClose: () => m(!1),
3237
- options: S,
3237
+ options: x,
3238
3238
  responsive: a,
3239
3239
  style: { margin: "-8px -12px" }
3240
3240
  })
3241
3241
  }),
3242
- children: /* @__PURE__ */ (0, q.jsx)(B, {
3242
+ children: /* @__PURE__ */ (0, q.jsx)(V, {
3243
3243
  onClick: () => m(!p),
3244
3244
  className: h.menuTrigger,
3245
3245
  children: /* @__PURE__ */ (0, q.jsx)(g, {
@@ -3249,7 +3249,7 @@ function bi(e) {
3249
3249
  })
3250
3250
  });
3251
3251
  }
3252
- var xi = C({
3252
+ var xi = v({
3253
3253
  searchWrapper: (e) => ({
3254
3254
  alignItems: "center",
3255
3255
  display: "flex",
@@ -3284,94 +3284,94 @@ var xi = C({
3284
3284
  }
3285
3285
  });
3286
3286
  function Si(e) {
3287
- let { children: t, isOpen: r, setIsOpen: i, isPreview: a, vSpec: o, vTheme: s, onSearchChange: c, setLocalSearch: l, allValuesLoaded: u, onSelectAll: f, localSearch: p, searchTerm: m, loadMoreData: g, headerElement: _, filterValues: v, hierarchicalMode: y, filterDimensionsCount: b, dimensionSelectionMethods: x, selectionMode: S, onNotOperatorChange: C, onClick: w, onDeselectAll: T, onClear: E, onSelectExcluded: O, state: k, onLockClick: A, isLocked: j, isSingleSelectField: M = !1, isSearching: N = !1, isApplyingFilters: P = !1 } = e, F = D(), I = xi(o?.filterSettings?.responsive), L = P || N, R = (0, K.useRef)(null);
3287
+ let { children: n, isOpen: i, setIsOpen: a, isPreview: o, vSpec: s, vTheme: c, onSearchChange: l, setLocalSearch: u, allValuesLoaded: d, onSelectAll: f, localSearch: p, searchTerm: m, loadMoreData: h, headerElement: g, filterValues: _, hierarchicalMode: v, filterDimensionsCount: y, dimensionSelectionMethods: b, selectionMode: x, onNotOperatorChange: S, onClick: w, onDeselectAll: T, onClear: E, onSelectExcluded: D, state: O, onLockClick: k, isLocked: A, isSingleSelectField: j = !1, isSearching: M = !1, isApplyingFilters: P = !1 } = e, F = C(), I = xi(s?.filterSettings?.responsive), L = P || M, R = (0, K.useRef)(null);
3288
3288
  (0, K.useEffect)(() => {
3289
3289
  R.current?.toggleAttribute("inert", L);
3290
3290
  }, [L]);
3291
- let { quickSelection: ee, hasMeasure: te, hasImage: ne, searchEnabled: re } = Ct(o), ie = k.pending ?? k.applied ?? [], B = o.filterSettings?.filterStyle, ce;
3292
- if (B) {
3293
- let { backgroundColor: e, ...t } = B;
3294
- ce = {
3291
+ let { quickSelection: ee, hasMeasure: te, hasImage: ne, searchEnabled: B } = Ct(s), re = O.pending ?? O.applied ?? [], V = s.filterSettings?.filterStyle, se;
3292
+ if (V) {
3293
+ let { backgroundColor: e, ...t } = V;
3294
+ se = {
3295
3295
  ...t,
3296
- ..."backgroundColor" in B ? { backgroundColor: e ?? void 0 } : {}
3296
+ ..."backgroundColor" in V ? { backgroundColor: e ?? void 0 } : {}
3297
3297
  };
3298
3298
  }
3299
- let ue = o.filterSettings?.filterStyle?.borderRadius ?? d.borderRadius, fe = o.filterSettings?.fontStyle?.fontColor ?? s?.fonts?.general?.color ?? n.mainDarkNavy, pe = o.filterSettings?.filterStyle?.backgroundColor ?? d.backgroundColor, he = oe({
3300
- ...ae,
3301
- "--background-color": pe
3302
- })["--background-color-hover"] ?? n.grey3;
3303
- function ye(e) {
3299
+ let le = s.filterSettings?.filterStyle?.borderRadius ?? t.borderRadius, de = s.filterSettings?.fontStyle?.fontColor ?? c?.fonts?.general?.color ?? r.mainDarkNavy, fe = s.filterSettings?.filterStyle?.backgroundColor ?? t.backgroundColor, me = ae({
3300
+ ...ie,
3301
+ "--background-color": fe
3302
+ })["--background-color-hover"] ?? r.grey3;
3303
+ function ve(e) {
3304
3304
  switch (e.key) {
3305
3305
  case "Enter":
3306
- u ? f() : F.daedalus.emitEvent(J.AstratoEvents.SHOW_GLOBAL_NOTIFICATION, {
3306
+ d ? f() : F.daedalus.emitEvent(J.AstratoEvents.SHOW_GLOBAL_NOTIFICATION, {
3307
3307
  type: "warn",
3308
3308
  message: "Cannot select values, because not all of them are loaded!"
3309
3309
  });
3310
3310
  break;
3311
3311
  case "Escape":
3312
- y ? c("") : l("");
3312
+ v ? l("") : u("");
3313
3313
  break;
3314
3314
  }
3315
3315
  }
3316
3316
  return /* @__PURE__ */ (0, q.jsx)(ze, {
3317
3317
  placement: "bottom-start",
3318
3318
  arrow: !1,
3319
- open: r,
3319
+ open: i,
3320
3320
  classes: { popper: I.tooltip },
3321
- slotProps: { popper: { anchorEl: _?.current?.firstElementChild } },
3321
+ slotProps: { popper: { anchorEl: g?.current?.firstElementChild } },
3322
3322
  title: /* @__PURE__ */ (0, q.jsx)(z, {
3323
- onClickAway: () => i(!1),
3323
+ onClickAway: () => a(!1),
3324
3324
  children: /* @__PURE__ */ (0, q.jsx)("div", {
3325
3325
  style: {
3326
- minWidth: _.current?.clientWidth,
3326
+ minWidth: g.current?.clientWidth,
3327
3327
  maxWidth: "80vw",
3328
- fontSize: o.filterSettings?.fontStyle?.fontSize ?? d.fontSize
3328
+ fontSize: s.filterSettings?.fontStyle?.fontSize ?? t.fontSize
3329
3329
  },
3330
- children: r && /* @__PURE__ */ (0, q.jsxs)("div", {
3330
+ children: i && /* @__PURE__ */ (0, q.jsxs)("div", {
3331
3331
  style: { position: "relative" },
3332
3332
  children: [/* @__PURE__ */ (0, q.jsx)("div", {
3333
3333
  style: {
3334
- filter: j ? "brightness(0.93)" : void 0,
3335
- pointerEvents: j ? "none" : void 0
3334
+ filter: A ? "brightness(0.93)" : void 0,
3335
+ pointerEvents: A ? "none" : void 0
3336
3336
  },
3337
- children: /* @__PURE__ */ (0, q.jsxs)(ve, {
3338
- filterStyle: ce,
3339
- isLocked: j,
3337
+ children: /* @__PURE__ */ (0, q.jsxs)(_e, {
3338
+ filterStyle: se,
3339
+ isLocked: A,
3340
3340
  children: [
3341
- re && !a && /* @__PURE__ */ (0, q.jsxs)("div", {
3341
+ B && !o && /* @__PURE__ */ (0, q.jsxs)("div", {
3342
3342
  className: I.searchWrapper,
3343
- style: { color: fe },
3344
- children: [/* @__PURE__ */ (0, q.jsx)(se, {
3343
+ style: { color: de },
3344
+ children: [/* @__PURE__ */ (0, q.jsx)(oe, {
3345
3345
  className: I.searchWrapperSearch,
3346
3346
  "data-testid": "filter-search-input",
3347
3347
  onChange: (e) => {
3348
- c(e.target.value);
3348
+ l(e.target.value);
3349
3349
  },
3350
- autoFocus: !j,
3351
- onPaste: me(c),
3352
- onKeyDown: ye,
3350
+ autoFocus: !A,
3351
+ onPaste: pe(l),
3352
+ onKeyDown: ve,
3353
3353
  style: {
3354
- color: fe,
3355
- borderColor: fe
3354
+ color: de,
3355
+ borderColor: de
3356
3356
  },
3357
3357
  value: p,
3358
- responsive: o?.filterSettings?.responsive
3358
+ responsive: s?.filterSettings?.responsive
3359
3359
  }), /* @__PURE__ */ (0, q.jsx)(bi, {
3360
- responsive: o?.filterSettings?.responsive,
3361
- isPreview: a,
3360
+ responsive: s?.filterSettings?.responsive,
3361
+ isPreview: o,
3362
3362
  quickSelection: ee,
3363
- areSelectedValues: !!ie.length,
3364
- state: k,
3363
+ areSelectedValues: !!re.length,
3364
+ state: O,
3365
3365
  onClear: E,
3366
3366
  onDeselectAll: T,
3367
3367
  onSelectAll: f,
3368
- onSelectExcluded: O,
3369
- onNotOperatorChange: C,
3370
- onLockClick: A,
3371
- isSingleSelectField: M
3368
+ onSelectExcluded: D,
3369
+ onNotOperatorChange: S,
3370
+ onLockClick: k,
3371
+ isSingleSelectField: j
3372
3372
  })]
3373
3373
  }),
3374
- /* @__PURE__ */ (0, q.jsx)(le, { loading: N }),
3374
+ /* @__PURE__ */ (0, q.jsx)(ce, { loading: M }),
3375
3375
  /* @__PURE__ */ (0, q.jsx)("div", {
3376
3376
  ref: R,
3377
3377
  style: {
@@ -3379,64 +3379,64 @@ function Si(e) {
3379
3379
  pointerEvents: L ? "none" : void 0,
3380
3380
  transition: "opacity 0.15s ease"
3381
3381
  },
3382
- children: /* @__PURE__ */ (0, q.jsxs)(_e, {
3383
- loadMoreData: g,
3382
+ children: /* @__PURE__ */ (0, q.jsxs)(ge, {
3383
+ loadMoreData: h,
3384
3384
  isDropdown: !0,
3385
- hasSearch: re,
3386
- responsive: o?.filterSettings?.responsive,
3387
- children: [u && v.length === 0 && !N && !P ? /* @__PURE__ */ (0, q.jsx)(de, {
3385
+ hasSearch: B,
3386
+ responsive: s?.filterSettings?.responsive,
3387
+ children: [d && _.length === 0 && !M && !P ? /* @__PURE__ */ (0, q.jsx)(ue, {
3388
3388
  applied: !1,
3389
3389
  disabled: !1,
3390
3390
  selected: !1,
3391
- hoverColor: he,
3392
- fontStyle: o.filterSettings?.fontStyle,
3391
+ hoverColor: me,
3392
+ fontStyle: s.filterSettings?.fontStyle,
3393
3393
  dimensionValue: "No results to display.",
3394
- responsive: o?.filterSettings?.responsive
3395
- }) : null, y ? /* @__PURE__ */ (0, q.jsx)(hi, {
3396
- filterValues: v,
3397
- filterDimensionsCount: b,
3394
+ responsive: s?.filterSettings?.responsive
3395
+ }) : null, v ? /* @__PURE__ */ (0, q.jsx)(hi, {
3396
+ filterValues: _,
3397
+ filterDimensionsCount: y,
3398
3398
  searchTerm: m,
3399
- isLoading: N || P,
3400
- isPreview: a,
3401
- isFieldLocked: j,
3402
- hoverColor: he,
3403
- filterFontSize: o.filterSettings?.fontStyle?.fontSize ?? d.fontSize,
3404
- filterFontColor: fe,
3405
- vSpec: o,
3406
- dimensionSelectionMethods: x,
3407
- selectionMode: S
3408
- }) : ne || te ? /* @__PURE__ */ (0, q.jsx)(ge, {
3409
- vSpec: o,
3410
- filterValues: v,
3411
- hoverColor: he,
3399
+ isLoading: M || P,
3400
+ isPreview: o,
3401
+ isFieldLocked: A,
3402
+ hoverColor: me,
3403
+ filterFontSize: s.filterSettings?.fontStyle?.fontSize ?? t.fontSize,
3404
+ filterFontColor: de,
3405
+ vSpec: s,
3406
+ dimensionSelectionMethods: b,
3407
+ selectionMode: x
3408
+ }) : ne || te ? /* @__PURE__ */ (0, q.jsx)(he, {
3409
+ vSpec: s,
3410
+ filterValues: _,
3411
+ hoverColor: me,
3412
3412
  onItemClick: w,
3413
- selectedValues: ie,
3414
- appliedValues: k.applied ?? [],
3413
+ selectedValues: re,
3414
+ appliedValues: O.applied ?? [],
3415
3415
  searchTerm: m
3416
- }) : /* @__PURE__ */ (0, q.jsx)(be, {
3417
- vSpec: o,
3418
- filterValues: v,
3419
- hoverColor: he,
3416
+ }) : /* @__PURE__ */ (0, q.jsx)(ye, {
3417
+ vSpec: s,
3418
+ filterValues: _,
3419
+ hoverColor: me,
3420
3420
  onItemClick: w,
3421
- selectedValues: ie,
3422
- appliedValues: k.applied ?? [],
3421
+ selectedValues: re,
3422
+ appliedValues: O.applied ?? [],
3423
3423
  searchTerm: m
3424
3424
  })]
3425
3425
  })
3426
3426
  })
3427
3427
  ]
3428
3428
  })
3429
- }), j && /* @__PURE__ */ (0, q.jsx)(qe, {
3429
+ }), A && /* @__PURE__ */ (0, q.jsx)(qe, {
3430
3430
  color: "secondary",
3431
- style: { borderRadius: `0 0 ${ue}px ${ue}px` },
3431
+ style: { borderRadius: `0 0 ${le}px ${le}px` },
3432
3432
  className: I.unlockButtonStyles,
3433
- onClick: A,
3434
- children: /* @__PURE__ */ (0, q.jsxs)(q.Fragment, { children: [/* @__PURE__ */ (0, q.jsx)(h, { fill: "white" }), "Unlock"] })
3433
+ onClick: k,
3434
+ children: /* @__PURE__ */ (0, q.jsxs)(q.Fragment, { children: [/* @__PURE__ */ (0, q.jsx)(N, { fill: "white" }), "Unlock"] })
3435
3435
  })]
3436
3436
  })
3437
3437
  })
3438
3438
  }),
3439
- children: t
3439
+ children: n
3440
3440
  });
3441
3441
  }
3442
3442
  function Ci(e, t) {
@@ -3453,8 +3453,8 @@ function Ci(e, t) {
3453
3453
  var wi = {
3454
3454
  backgroundColor: "transparent",
3455
3455
  borderEnabled: !1
3456
- }, Ti = ({ vSpec: e, filterValues: n, isPreview: i = !1, vTheme: o, loadMoreData: s, searchTerm: c, setSearchTerm: l, allValuesLoaded: u, isSearching: f = !1, isApplyingFilters: p = !1 }) => {
3457
- let m = (0, K.useRef)(null), [h, g] = (0, K.useState)(!1), [_, v] = (0, K.useState)(c), y = e.dimensions[0]?.formatter, b = e.dimensions.filter((e) => e.role === a.FILTER_DIMENSION), x = b.length > 1, S = n.map((e) => e.dimension), [C, w] = pe(e), { quickSelection: T } = Ct(e), E = e.filterSettings?.filterStyle, D;
3456
+ }, Ti = ({ vSpec: e, filterValues: n, isPreview: r = !1, vTheme: i, loadMoreData: o, searchTerm: s, setSearchTerm: u, allValuesLoaded: d, isSearching: f = !1, isApplyingFilters: p = !1 }) => {
3457
+ let m = (0, K.useRef)(null), [h, g] = (0, K.useState)(!1), [_, v] = (0, K.useState)(s), y = e.dimensions[0]?.formatter, b = e.dimensions.filter((e) => e.role === l.FILTER_DIMENSION), x = b.length > 1, S = n.map((e) => e.dimension), [C, w] = fe(e), { quickSelection: T } = Ct(e), E = e.filterSettings?.filterStyle, D;
3458
3458
  if (E) {
3459
3459
  let { backgroundColor: e, ...t } = E;
3460
3460
  D = {
@@ -3462,7 +3462,7 @@ var wi = {
3462
3462
  ..."backgroundColor" in E ? { backgroundColor: e ?? void 0 } : {}
3463
3463
  };
3464
3464
  }
3465
- let k = e.filterSettings?.defaultNotState ? J.FilterOperator.NotInList : J.FilterOperator.InList, A = O(i ? [] : x ? b.map((e, t) => ({
3465
+ let k = e.filterSettings?.defaultNotState ? J.FilterOperator.NotInList : J.FilterOperator.InList, A = O(r ? [] : x ? b.map((e, t) => ({
3466
3466
  dataItem: e.dataItem,
3467
3467
  dateLevel: e.dateLevel ?? void 0,
3468
3468
  datePart: e.datePart ?? void 0,
@@ -3473,71 +3473,71 @@ var wi = {
3473
3473
  datePart: e.dimensions[0]?.datePart ?? void 0,
3474
3474
  values: S
3475
3475
  }], {
3476
- disabled: i,
3476
+ disabled: r,
3477
3477
  state: T ? J.SelectionState.APPLIED : void 0,
3478
3478
  defaultOperator: k,
3479
3479
  commitHistory: T
3480
- }), j = (0, K.useMemo)(() => (0, wt.default)((e) => l(e), 300), [l]), { onClear: M, onClick: N, onDeselectAll: P, onSelectExcluded: R, onSelectAll: ee, onNotOperatorChange: te, state: z, operators: ne, field: re } = A[0] ?? F, ie = z.pending ?? z.applied ?? [], { isFieldLocked: B = !1, toggleFieldLock: ae } = L(re ?? void 0), oe = I(re ? [re] : []), se = (e) => {
3480
+ }), j = (0, K.useMemo)(() => (0, wt.default)((e) => u(e), 300), [u]), { onClear: M, onClick: N, onDeselectAll: F, onSelectExcluded: R, onSelectAll: ee, onNotOperatorChange: te, state: z, operators: ne, field: B } = A[0] ?? P, re = z.pending ?? z.applied ?? [], { isFieldLocked: V = !1, toggleFieldLock: ie } = L(B ?? void 0), ae = I(B ? [B] : []), oe = (e) => {
3481
3481
  v(e), j(e);
3482
- }, ce = (0, K.useMemo)(() => B ? n.filter((e) => (z.pending ?? z.applied ?? []).includes(e.dimension)) : n, [
3482
+ }, se = (0, K.useMemo)(() => V ? n.filter((e) => (z.pending ?? z.applied ?? []).includes(e.dimension)) : n, [
3483
3483
  n,
3484
- B,
3484
+ V,
3485
3485
  z.pending,
3486
3486
  z.applied
3487
3487
  ]);
3488
- return /* @__PURE__ */ (0, q.jsx)(xe, {
3488
+ return /* @__PURE__ */ (0, q.jsx)(be, {
3489
3489
  noBorder: !0,
3490
3490
  filterStyle: wi,
3491
- fontSize: e.filterSettings?.fontStyle?.fontSize ?? d.fontSize,
3492
- children: /* @__PURE__ */ (0, q.jsx)(fe.Provider, {
3493
- value: t({
3491
+ fontSize: e.filterSettings?.fontStyle?.fontSize ?? t.fontSize,
3492
+ children: /* @__PURE__ */ (0, q.jsx)(de.Provider, {
3493
+ value: c({
3494
3494
  appliedOperator: ne.applied,
3495
3495
  pendingOperator: ne.pending
3496
3496
  }),
3497
3497
  children: /* @__PURE__ */ (0, q.jsx)(Si, {
3498
3498
  isOpen: h,
3499
- isPreview: i,
3499
+ isPreview: r,
3500
3500
  vSpec: e,
3501
- vTheme: o,
3502
- allValuesLoaded: u,
3501
+ vTheme: i,
3502
+ allValuesLoaded: d,
3503
3503
  localSearch: _,
3504
- searchTerm: c,
3504
+ searchTerm: s,
3505
3505
  headerElement: m,
3506
3506
  setIsOpen: g,
3507
- onSearchChange: se,
3507
+ onSearchChange: oe,
3508
3508
  setLocalSearch: v,
3509
- loadMoreData: s,
3510
- filterValues: ce,
3509
+ loadMoreData: o,
3510
+ filterValues: se,
3511
3511
  hierarchicalMode: x,
3512
3512
  filterDimensionsCount: b.length,
3513
3513
  dimensionSelectionMethods: A,
3514
- selectionMode: e.filterSettings?.selectionMode ?? r.selectionMode,
3514
+ selectionMode: e.filterSettings?.selectionMode ?? a.selectionMode,
3515
3515
  onNotOperatorChange: te,
3516
3516
  onClick: N,
3517
- onDeselectAll: P,
3517
+ onDeselectAll: F,
3518
3518
  onSelectAll: ee,
3519
3519
  onClear: M,
3520
3520
  onSelectExcluded: R,
3521
3521
  state: z,
3522
- onLockClick: ae,
3523
- isLocked: B,
3524
- isSingleSelectField: oe,
3522
+ onLockClick: ie,
3523
+ isLocked: V,
3524
+ isSingleSelectField: ae,
3525
3525
  isSearching: f,
3526
3526
  isApplyingFilters: p,
3527
3527
  children: /* @__PURE__ */ (0, q.jsx)("div", {
3528
3528
  ref: m,
3529
3529
  style: { height: "100%" },
3530
- children: /* @__PURE__ */ (0, q.jsx)(he, {
3530
+ children: /* @__PURE__ */ (0, q.jsx)(me, {
3531
3531
  measureTitle: w ?? "",
3532
3532
  dimensionTitle: C,
3533
3533
  isOpen: h,
3534
3534
  onToggle: () => g(!h),
3535
3535
  dimensionFormatter: y,
3536
- selectedValues: ie,
3536
+ selectedValues: re,
3537
3537
  fontStyle: e.filterSettings?.fontStyle ?? {},
3538
3538
  filterStyle: D,
3539
3539
  responsive: e?.filterSettings?.responsive,
3540
- isLocked: B
3540
+ isLocked: V
3541
3541
  })
3542
3542
  })
3543
3543
  })
@@ -3556,42 +3556,42 @@ var wi = {
3556
3556
  { value: "Value 10" },
3557
3557
  { value: "Value 11" }
3558
3558
  ], Di = ({ vSpec: e, vTheme: t }) => {
3559
- let n = Ei.map((e) => ({ dimension: e.value })), r = {
3559
+ let r = Ei.map((e) => ({ dimension: e.value })), i = {
3560
3560
  ...e,
3561
3561
  dimensions: [{
3562
3562
  dataItem: {
3563
3563
  internalKey: "filter-preview",
3564
- uniqueSignature: i(),
3564
+ uniqueSignature: n(),
3565
3565
  schema: "excel",
3566
3566
  view: "pokemon",
3567
3567
  name: "city",
3568
3568
  dataType: J.FieldType.STRING,
3569
- type: o.Dimension
3569
+ type: f.Dimension
3570
3570
  },
3571
3571
  label: "Dimension"
3572
3572
  }],
3573
3573
  measures: []
3574
3574
  };
3575
- return e.filterSettings?.mode === s.Dropdown ? /* @__PURE__ */ (0, q.jsx)(Ti, {
3575
+ return e.filterSettings?.mode === o.Dropdown ? /* @__PURE__ */ (0, q.jsx)(Ti, {
3576
3576
  allValuesLoaded: !0,
3577
- vSpec: r,
3577
+ vSpec: i,
3578
3578
  vTheme: t,
3579
- filterValues: n,
3579
+ filterValues: r,
3580
3580
  isPreview: !0,
3581
3581
  searchTerm: "",
3582
3582
  setSearchTerm: () => null,
3583
3583
  loadMoreData: () => void 0
3584
3584
  }) : /* @__PURE__ */ (0, q.jsx)(yi, {
3585
3585
  allValuesLoaded: !0,
3586
- vSpec: r,
3586
+ vSpec: i,
3587
3587
  vTheme: t,
3588
- filterValues: n,
3588
+ filterValues: r,
3589
3589
  isPreview: !0,
3590
3590
  searchTerm: "",
3591
3591
  setSearchTerm: () => null,
3592
3592
  loadMoreData: () => void 0
3593
3593
  });
3594
- }, Oi = N(({ vSpec: e, filterValues: t = [], vTheme: n, loadMoreData: r, searchTerm: i, setSearchTerm: a, allValuesLoaded: o, isSearching: l = !1, isApplyingFilters: u = !1 }) => {
3594
+ }, Oi = b(({ vSpec: e, filterValues: t = [], vTheme: n, loadMoreData: r, searchTerm: a, setSearchTerm: s, allValuesLoaded: c, isSearching: l = !1, isApplyingFilters: u = !1 }) => {
3595
3595
  let d = A();
3596
3596
  if ((0, K.useEffect)(() => {
3597
3597
  e?.dimensions?.length < 2 && d();
@@ -3600,8 +3600,8 @@ var wi = {
3600
3600
  ...e,
3601
3601
  filterSettings: {
3602
3602
  ...e.filterSettings,
3603
- mode: e.filterSettings?.mode ?? s.Listbox,
3604
- source: e.filterSettings?.source ?? c.Engine,
3603
+ mode: e.filterSettings?.mode ?? o.Listbox,
3604
+ source: e.filterSettings?.source ?? i.Engine,
3605
3605
  fontStyle: e.filterSettings?.fontStyle ?? {}
3606
3606
  }
3607
3607
  },
@@ -3609,27 +3609,27 @@ var wi = {
3609
3609
  });
3610
3610
  if (e?.dimensions === void 0 || !e?.filterSettings?.mode || !e?.filterSettings?.source) return null;
3611
3611
  switch (e.filterSettings.mode) {
3612
- case s.Image: return null;
3613
- case s.Dropdown: return /* @__PURE__ */ (0, q.jsx)(Ti, {
3614
- allValuesLoaded: o,
3612
+ case o.Image: return null;
3613
+ case o.Dropdown: return /* @__PURE__ */ (0, q.jsx)(Ti, {
3614
+ allValuesLoaded: c,
3615
3615
  vSpec: e,
3616
3616
  vTheme: n,
3617
3617
  filterValues: t,
3618
3618
  loadMoreData: r,
3619
- searchTerm: i,
3620
- setSearchTerm: a,
3619
+ searchTerm: a,
3620
+ setSearchTerm: s,
3621
3621
  isSearching: l,
3622
3622
  isApplyingFilters: u
3623
3623
  });
3624
- case s.Listbox:
3624
+ case o.Listbox:
3625
3625
  default: return /* @__PURE__ */ (0, q.jsx)(yi, {
3626
- allValuesLoaded: o,
3626
+ allValuesLoaded: c,
3627
3627
  vSpec: e,
3628
3628
  vTheme: n,
3629
3629
  filterValues: t,
3630
3630
  loadMoreData: r,
3631
- searchTerm: i,
3632
- setSearchTerm: a,
3631
+ searchTerm: a,
3632
+ setSearchTerm: s,
3633
3633
  isSearching: l,
3634
3634
  isApplyingFilters: u
3635
3635
  });