@astrato-io/visualizations 0.10.0 → 0.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (114) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/README.md +3 -3
  3. package/VISUALIZATION_DEFINITIONS.md +65 -12
  4. package/chunks/{Button-CCF851ea.js → Button-Dn3rJrYf.js} +2 -2
  5. package/chunks/{CircularProgress-yupH6YWs.js → CircularProgress-BFeu06Yb.js} +4 -4
  6. package/chunks/{FieldTypeIcon-D_MzsdfY.js → FieldTypeIcon-DrMoGpHJ.js} +2 -2
  7. package/chunks/{LinearProgress-CyFjN4px.js → LinearProgress-ClO6GUjN.js} +2 -2
  8. package/chunks/{MenuOption-CQpT79AP.js → MenuOption-Czc34u4q.js} +7 -7
  9. package/chunks/{Title-C-p4ZarD.js → Title-BgYnaVTR.js} +3 -3
  10. package/chunks/{_createAggregator-BF4qG9XK.js → _createAggregator-BMu9uRax.js} +8 -8
  11. package/chunks/{app-filter-bar.compiler-8fxCo2q7.js → app-filter-bar.compiler-CVir0wkl.js} +3 -3
  12. package/chunks/{bar-layout-DStC-GNV.js → bar-layout-C_UgRlVl.js} +2 -2
  13. package/chunks/{bar.compiler-CQAu8KL8.js → bar.compiler-DYuFdi9J.js} +8 -8
  14. package/chunks/{builder-CScg1TOS.js → builder-C-TKA-My.js} +11 -11
  15. package/chunks/{coloring-9jU3s_-p.js → coloring-BtnPiQ_o.js} +16 -16
  16. package/chunks/{createSimplePaletteValueFilter-C4hZpCdn.js → createSimplePaletteValueFilter--zrZxRV9.js} +1 -1
  17. package/chunks/defaults-Dtk7fg3C.js +3 -0
  18. package/chunks/{definitions-C4grxhye.js → definitions-CT304NDn.js} +77 -51
  19. package/chunks/{escobar-CjirINHP.js → escobar-CvEV2ES1.js} +6126 -6059
  20. package/chunks/{extend-preset-D-l9u_we.js → extend-preset-D9-JP92b.js} +396 -396
  21. package/chunks/{filter.compiler-lji2Acgn.js → filter.compiler-CXeZznks.js} +7 -7
  22. package/chunks/{filtering-C1zakrrX.js → filtering-8_bFv-jb.js} +84 -84
  23. package/chunks/{handlers-ZviIUC-j.js → handlers-C6CZ0XJA.js} +5620 -5608
  24. package/chunks/{icon-picker-styles-Bj80ZUBK.js → icon-picker-styles-BXiJ1SZS.js} +2 -2
  25. package/chunks/{isEqual-Ch9OEye3.js → isEqual-D8Ay63xR.js} +1 -1
  26. package/chunks/{isFocusVisible-CgMP0qkR.js → isFocusVisible-Bu8gGZu5.js} +1 -1
  27. package/chunks/{line.compiler-De5fiKuR.js → line.compiler-DmHpmQCC.js} +4 -4
  28. package/chunks/{logger-CKRjhSHQ.js → logger-DdZpR7xZ.js} +65 -65
  29. package/chunks/{map.compiler-CKzorLgK.js → map.compiler-Q_Y1Pvat.js} +12 -14
  30. package/chunks/{metadata-Bb9pTXrq.js → metadata-BQm_TXI1.js} +1 -1
  31. package/chunks/{number.compiler-CaTmJkmi.js → number.compiler-DQdg6zTy.js} +4 -4
  32. package/chunks/{operations-DZoY50VX.js → operations-DKQWuLL7.js} +9469 -9451
  33. package/chunks/{range-D1BTmFMp.js → range-BdhzvYQ_.js} +2 -2
  34. package/chunks/{react-dom-Dgv2azN2.js → react-dom-BGP4tbXV.js} +1 -1
  35. package/chunks/{render-wrappers-_P3xwu5A.js → render-wrappers-BZpyDnJy.js} +1 -1
  36. package/chunks/{requirements-NHNrR8Ie.js → requirements-e8Fe96ag.js} +29 -29
  37. package/chunks/{shared-UitWpq1J.js → shared-C_2F90xq.js} +478 -472
  38. package/chunks/{standalone-wgFAVnnm.js → standalone-4MsKiqs0.js} +130 -130
  39. package/chunks/standalone-B794g9pE.js +1012 -0
  40. package/chunks/{standalone-BBu90BhK.js → standalone-B8ZSqauS.js} +59 -59
  41. package/chunks/standalone-BA2YXyJS.js +422 -0
  42. package/chunks/{standalone-DtBk_iUz.js → standalone-BDrXVxlP.js} +4 -4
  43. package/chunks/{standalone-U0WJwFlG.js → standalone-BE_ONgiG.js} +64 -64
  44. package/chunks/{standalone-BOzHA_d4.js → standalone-BTY3w_JA.js} +24 -24
  45. package/chunks/{standalone-BEekPuA12.js → standalone-BgumbdaJ2.js} +101 -101
  46. package/chunks/{standalone-Bnnr87pc.js → standalone-BkbiH-o8.js} +174 -174
  47. package/chunks/{standalone-xGV0dqPV.js → standalone-Blh4qejk.js} +197 -197
  48. package/chunks/{standalone-DxBAyqAu.js → standalone-CXY4FpF7.js} +278 -277
  49. package/chunks/{standalone-CVknVdUC.js → standalone-CY_kjarf.js} +18 -18
  50. package/chunks/{standalone-BapqaniK.js → standalone-CaTxAydz.js} +54 -54
  51. package/chunks/{standalone-CRdDZYeM.js → standalone-Cc98Pdr6.js} +829 -829
  52. package/chunks/standalone-Cl0TSfqC.js +396 -0
  53. package/chunks/{standalone-B0U6c3su.js → standalone-CsoMmE9T.js} +80 -80
  54. package/chunks/standalone-DH0xTEes.js +2 -0
  55. package/chunks/{standalone-ByKKqT5L.js → standalone-DHRalbVO.js} +268 -268
  56. package/chunks/{standalone-CbPk8bKn.js → standalone-DNh9NcMa.js} +109 -109
  57. package/chunks/standalone-DcnHjNnC.js +2 -0
  58. package/chunks/{standalone-Ck63MZzj.js → standalone-DflyWtuR.js} +107 -107
  59. package/chunks/standalone-DrHdGkY7.js +762 -0
  60. package/chunks/standalone-c_rROMtx.js +287 -0
  61. package/chunks/{standalone-DibjA73M.js → standalone-drcFLeN6.js} +2 -2
  62. package/chunks/{standalone-swGs70tD.js → standalone-wOWRCpdn.js} +26 -26
  63. package/chunks/{standalone-DCFY1MAV.js → standalone-z0o52o5t.js} +4191 -4191
  64. package/chunks/{table.compiler-OWSx5MOq.js → table.compiler-COaHE9VD.js} +18 -18
  65. package/chunks/{useFieldName-B8iCYyw1.js → useFieldName-CdnCWzhd.js} +1 -1
  66. package/chunks/{utils-3Igg6xmO.js → utils-DganVptf.js} +491 -483
  67. package/chunks/{view-DdMLZySj.js → view-Bzlros43.js} +158 -158
  68. package/chunks/{visualization-filters-CzvFHE6M.js → visualization-filters-D7i6oh1Z.js} +23 -12
  69. package/chunks/{with-html-element-DOfkR3C1.js → with-html-element-CiIhFEa5.js} +2497 -2497
  70. package/definitions.js +2 -2
  71. package/docs/operations/astrato-app-filter-bar.md +1 -1
  72. package/docs/operations/bar.md +1 -1
  73. package/docs/operations/combo.md +1 -1
  74. package/docs/operations/date-picker.md +1 -1
  75. package/docs/operations/distribution-gauge.md +1 -1
  76. package/docs/operations/dot.md +1 -1
  77. package/docs/operations/filter.md +1 -1
  78. package/docs/operations/gauge.md +1 -1
  79. package/docs/operations/heatMap.md +1 -1
  80. package/docs/operations/histogram.md +1 -1
  81. package/docs/operations/iframe.md +1 -1
  82. package/docs/operations/image.md +1 -1
  83. package/docs/operations/index.md +2 -2
  84. package/docs/operations/line.md +19 -1
  85. package/docs/operations/number.md +1 -1
  86. package/docs/operations/pie.md +1 -1
  87. package/docs/operations/radar.md +1 -1
  88. package/docs/operations/sankey.md +1 -1
  89. package/docs/operations/scatter.md +1 -1
  90. package/docs/operations/shape.md +1 -1
  91. package/docs/operations/simpleTextObject.md +1 -1
  92. package/docs/operations/slider.md +1 -1
  93. package/docs/operations/table.md +1 -1
  94. package/docs/operations/tree.md +1 -1
  95. package/docs/operations/treemap.md +1 -1
  96. package/docs/operations/waterfall.md +1 -1
  97. package/docs/operations/word-cloud.md +1 -1
  98. package/getters.js +2 -2
  99. package/index.js +54 -54
  100. package/metadata.js +2 -2
  101. package/operations.js +5 -5
  102. package/package.json +67 -67
  103. package/src/definitions/index.d.ts +7 -1
  104. package/src/definitions/model/definitions/descriptors/descriptor-metadata.d.ts +31 -5
  105. package/src/definitions/model/definitions/types/compilation.types.d.ts +4 -1
  106. package/src/types.d.ts +28 -28
  107. package/chunks/defaults-cyNhn37t.js +0 -3
  108. package/chunks/standalone-BR2JuRIC.js +0 -422
  109. package/chunks/standalone-BwJqDj2Z.js +0 -396
  110. package/chunks/standalone-CRfDOO1x.js +0 -287
  111. package/chunks/standalone-DZDGX3aa.js +0 -518
  112. package/chunks/standalone-DhfgeJIk.js +0 -1012
  113. package/chunks/standalone-KMQPsNsq.js +0 -2
  114. package/chunks/standalone-MBLSvsrY.js +0 -2
@@ -1,16 +1,16 @@
1
1
  import { o as e, r as t, t as n } from "./rolldown-runtime-DleVn1XH.js";
2
- import { $o as r, $t as i, Ai as a, Bo as o, Cs as s, Da as c, Et as l, Ic as u, Ir as d, Jn as f, Jt as p, Kn as m, Mi as h, Pc as g, Xn as ee, Za as te, al as _, cl as v, ea as y, hs as b, lc as ne, ln as x, oa as S, qn as C, ra as w, un as T, zo as re } from "./visualization-filters-CzvFHE6M.js";
3
- import { $ as E, Bt as D, Cn as O, Ft as k, G as A, It as j, Lt as M, Mt as N, Pt as P, Rt as F, Ut as I, W as L, X as R, Zt as ie, c as ae, ci as oe, f as z, it as se, jt as ce, nt as le, ri as B, si as V, sn as H, tt as U, u as W, v as G, zr as ue, zt as K } from "./utils-3Igg6xmO.js";
4
- import { s as de } from "./logger-CKRjhSHQ.js";
5
- import { b as q, d as fe, f as pe, l as me, s as he, u as ge, x as _e } from "./with-html-element-DOfkR3C1.js";
6
- import { _ as ve, a as ye, c as be, d as J, l as xe, m as Se, p as Ce, u as we, v as Te } from "./react-dom-Dgv2azN2.js";
7
- import { c as Ee, d as De, f as Oe, i as ke, l as Ae, n as Y, t as je, u as Me } from "./isFocusVisible-CgMP0qkR.js";
2
+ import { $t as r, Bo as i, Et as a, Fc as o, Ir as s, Jn as c, Jt as l, Kn as u, Lc as d, Ni as f, Oa as p, Qa as m, Vo as h, Xn as g, es as ee, gs as te, ia as _, ji as v, ll as y, ln as b, ol as ne, qn as x, sa as S, ta as C, uc as w, un as T, ws as re } from "./visualization-filters-D7i6oh1Z.js";
3
+ import { $ as E, Bt as D, Cn as O, Ft as k, G as A, It as j, Lt as M, Mt as N, Pt as P, Rt as F, Ut as ie, W as I, X as L, Zt as ae, c as oe, ci as se, f as R, it as z, jt as ce, nt as le, ri as B, si as V, sn as H, tt as U, u as W, v as G, zr as ue, zt as K } from "./utils-DganVptf.js";
4
+ import { s as de } from "./logger-DdZpR7xZ.js";
5
+ import { b as q, d as fe, f as pe, l as me, s as he, u as ge, x as _e } from "./with-html-element-CiIhFEa5.js";
6
+ import { _ as ve, a as ye, c as be, d as J, l as xe, m as Se, p as Ce, u as we, v as Te } from "./react-dom-BGP4tbXV.js";
7
+ import { c as Ee, d as De, f as Oe, i as ke, l as Ae, n as Y, t as je, u as Me } from "./isFocusVisible-Bu8gGZu5.js";
8
8
  import { r as Ne, t as Pe } from "./contains-BK-sRXcB.js";
9
9
  import { p as Fe } from "./responsive.styles-FItb913l.js";
10
10
  import { s as Ie, t as Le, u as Re } from "./src-77e3mC7i.js";
11
11
  import { A as ze, D as Be, F as Ve, I as He, M as Ue, P as We, R as Ge, a as Ke, g as qe, h as Je, m as Ye, t as Xe, x as Ze } from "./src-D9XogOrc.js";
12
- import "./builder-CScg1TOS.js";
13
- var X = /* @__PURE__ */ e(oe(), 1);
12
+ import "./builder-C-TKA-My.js";
13
+ var X = /* @__PURE__ */ e(se(), 1);
14
14
  function Qe(e) {
15
15
  return Te("MuiSlider", e);
16
16
  }
@@ -157,12 +157,12 @@ function _t(e) {
157
157
  let e = Array(P.length);
158
158
  for (let t = 0; t < P.length; t += 1) e[t] = P[t].value;
159
159
  return e;
160
- }, [P]), [I, L] = X.useState(-1), R = X.useRef(null), ie = De(p, R), ae = (e) => (t) => {
160
+ }, [P]), [ie, I] = X.useState(-1), L = X.useRef(null), ae = De(p, L), oe = (e) => (t) => {
161
161
  let n = Number(t.currentTarget.getAttribute("data-index"));
162
- je(t.target) && L(n), x(n), e?.onFocus?.(t);
163
- }, oe = (e) => (t) => {
164
- je(t.target) || L(-1), x(-1), e?.onBlur?.(t);
165
- }, z = (e, t) => {
162
+ je(t.target) && I(n), x(n), e?.onFocus?.(t);
163
+ }, se = (e) => (t) => {
164
+ je(t.target) || I(-1), x(-1), e?.onBlur?.(t);
165
+ }, R = (e, t) => {
166
166
  let n = Number(e.currentTarget.getAttribute("data-index")), r = N[n], a = F.indexOf(r), o = t;
167
167
  if (P && h == null) {
168
168
  let e = F[F.length - 1];
@@ -173,10 +173,10 @@ function _t(e) {
173
173
  let e = o;
174
174
  o = ft(N, o, n);
175
175
  let t = n;
176
- i || (t = o.indexOf(e)), pt(R, t);
176
+ i || (t = o.indexOf(e)), pt(L, t);
177
177
  }
178
- A(o), L(n), u && !mt(o, k) && j(e, o, n), d && d(e, O.current ?? o);
179
- }, se = (e) => (t) => {
178
+ A(o), I(n), u && !mt(o, k) && j(e, o, n), d && d(e, O.current ?? o);
179
+ }, z = (e) => (t) => {
180
180
  if ([
181
181
  "ArrowUp",
182
182
  "ArrowDown",
@@ -232,20 +232,20 @@ function _t(e) {
232
232
  ];
233
233
  o.includes(t.key) ? r = i === 0 ? F[0] : F[i - 1] : s.includes(t.key) && (r = i === F.length - 1 ? e : F[i + 1]);
234
234
  }
235
- r != null && z(t, r);
235
+ r != null && R(t, r);
236
236
  }
237
237
  e?.onKeyDown?.(t);
238
238
  };
239
239
  le(() => {
240
- let e = Ne(Ae(R.current));
241
- r && Pe(R.current, e) && e != null && "blur" in e && e.blur();
242
- }, [r]), r && y !== -1 && b(-1), r && I !== -1 && L(-1);
240
+ let e = Ne(Ae(L.current));
241
+ r && Pe(L.current, e) && e != null && "blur" in e && e.blur();
242
+ }, [r]), r && y !== -1 && b(-1), r && ie !== -1 && I(-1);
243
243
  let ce = (e) => (t) => {
244
- e.onChange?.(t), z(t, t.currentTarget.valueAsNumber);
244
+ e.onChange?.(t), R(t, t.currentTarget.valueAsNumber);
245
245
  }, B = X.useRef(void 0), V = f;
246
246
  a && f === "horizontal" && (V += "-reverse");
247
247
  let H = (e) => {
248
- let { current: t } = R;
248
+ let { current: t } = L;
249
249
  if (!t) return null;
250
250
  let { width: n, height: r, bottom: a, left: o } = t.getBoundingClientRect(), l;
251
251
  l = V.startsWith("vertical") ? (a - e.y) / r : (e.x - o) / n, V.includes("-reverse") && (l = 1 - l);
@@ -276,13 +276,13 @@ function _t(e) {
276
276
  return;
277
277
  }
278
278
  let n = H(t);
279
- n && (pt(R, n.activeIndex, b, !1), T.current = n.activeIndex, A(n.newValue), !S && w.current > tt && C(!0), u && !mt(n.newValue, k) && j(e, n.newValue, n.activeIndex));
279
+ n && (pt(L, n.activeIndex, b, !1), T.current = n.activeIndex, A(n.newValue), !S && w.current > tt && C(!0), u && !mt(n.newValue, k) && j(e, n.newValue, n.activeIndex));
280
280
  }), G = Me((e) => {
281
281
  if ("pointerId" in e && e.pointerId !== E.current) return;
282
282
  let t = st(e, _);
283
283
  if (C(!1), !t) return;
284
284
  let n = H(t);
285
- b(-1), e.type === "touchend" && x(-1), n && d && d(e, O.current ?? n.newValue), "pointerType" in e && R.current?.hasPointerCapture(e.pointerId) && R.current.releasePointerCapture(e.pointerId), _.current = void 0, E.current = -1, K();
285
+ b(-1), e.type === "touchend" && x(-1), n && d && d(e, O.current ?? n.newValue), "pointerType" in e && L.current?.hasPointerCapture(e.pointerId) && L.current.releasePointerCapture(e.pointerId), _.current = void 0, E.current = -1, K();
286
286
  }), ue = Me((e) => {
287
287
  if (r) return;
288
288
  if (re.current) {
@@ -297,17 +297,17 @@ function _t(e) {
297
297
  if (n !== !1) {
298
298
  B.current = -1;
299
299
  let t = H(n);
300
- t && (pt(R, t.activeIndex, b, !1), T.current = t.activeIndex, A(t.newValue), u && !mt(t.newValue, k) && j(e, t.newValue, t.activeIndex));
300
+ t && (pt(L, t.activeIndex, b, !1), T.current = t.activeIndex, A(t.newValue), u && !mt(t.newValue, k) && j(e, t.newValue, t.activeIndex));
301
301
  }
302
302
  w.current = 0;
303
- let i = Ae(R.current);
303
+ let i = Ae(L.current);
304
304
  i.addEventListener("touchmove", W, { passive: !0 }), i.addEventListener("touchend", G, { passive: !0 });
305
305
  }), K = X.useCallback(() => {
306
- let e = Ae(R.current);
306
+ let e = Ae(L.current);
307
307
  e.removeEventListener("pointermove", W), e.removeEventListener("pointerup", G), e.removeEventListener("touchmove", W), e.removeEventListener("touchend", G);
308
308
  }, [G, W]);
309
309
  X.useEffect(() => {
310
- let e = R.current;
310
+ let e = L.current;
311
311
  if (e) return e.addEventListener("touchstart", ue, { passive: !0 }), () => {
312
312
  e.removeEventListener("touchstart", ue), D(), K();
313
313
  };
@@ -329,14 +329,14 @@ function _t(e) {
329
329
  B.current = -1;
330
330
  let e = H(n);
331
331
  if (e) {
332
- let n = R.current?.querySelector(`input[type="range"][data-index="${e.activeIndex}"]`), r = Ae(R.current), i = n != null && n === Ne(r);
332
+ let n = L.current?.querySelector(`input[type="range"][data-index="${e.activeIndex}"]`), r = Ae(L.current), i = n != null && n === Ne(r);
333
333
  b(e.activeIndex), T.current = e.activeIndex, i ? t.preventDefault() : (D(), v.current = requestAnimationFrame(() => {
334
- v.current = null, pt(R, e.activeIndex, void 0, !1);
334
+ v.current = null, pt(L, e.activeIndex, void 0, !1);
335
335
  })), A(e.newValue), u && !mt(e.newValue, k) && j(t, e.newValue, e.activeIndex);
336
336
  }
337
337
  }
338
338
  w.current = 0, E.current = t.pointerId;
339
- let i = Ae(R.current);
339
+ let i = Ae(L.current);
340
340
  try {
341
341
  t.currentTarget.setPointerCapture(t.pointerId);
342
342
  } catch {}
@@ -348,7 +348,7 @@ function _t(e) {
348
348
  };
349
349
  return {
350
350
  ...e,
351
- ref: ie,
351
+ ref: ae,
352
352
  ...r
353
353
  };
354
354
  }, me = (e) => (t) => {
@@ -379,13 +379,13 @@ function _t(e) {
379
379
  axis: V,
380
380
  axisProps: ht,
381
381
  dragging: S,
382
- focusedThumbIndex: I,
382
+ focusedThumbIndex: ie,
383
383
  getHiddenInputProps: (n = rt) => {
384
384
  let i = ke(n), o = {
385
385
  onChange: ce(i),
386
- onFocus: ae(i),
387
- onBlur: oe(i),
388
- onKeyDown: se(i)
386
+ onFocus: oe(i),
387
+ onBlur: se(i),
388
+ onKeyDown: z(i)
389
389
  }, u = {
390
390
  ...i,
391
391
  ...o
@@ -418,7 +418,7 @@ function _t(e) {
418
418
  marks: P,
419
419
  open: ne,
420
420
  range: M,
421
- rootRef: ie,
421
+ rootRef: ae,
422
422
  trackLeap: fe,
423
423
  trackOffset: q,
424
424
  values: N,
@@ -428,7 +428,7 @@ function _t(e) {
428
428
  var Q = ue(), vt = (e) => {
429
429
  let { open: t } = e;
430
430
  return {
431
- offset: se(t && Z.valueLabelOpen),
431
+ offset: z(t && Z.valueLabelOpen),
432
432
  circle: Z.valueLabelCircle,
433
433
  label: Z.valueLabelLabel
434
434
  };
@@ -436,7 +436,7 @@ var Q = ue(), vt = (e) => {
436
436
  function yt(e) {
437
437
  let { children: t, className: n, value: r } = e, i = vt(e);
438
438
  return t ? /*#__PURE__*/ X.cloneElement(t, { className: t.props.className }, /*#__PURE__*/ (0, Q.jsxs)(X.Fragment, { children: [t.props.children, /*#__PURE__*/ (0, Q.jsx)("span", {
439
- className: se(i.offset, n),
439
+ className: z(i.offset, n),
440
440
  "aria-hidden": !0,
441
441
  children: /*#__PURE__*/ (0, Q.jsx)("span", {
442
442
  className: i.circle,
@@ -665,7 +665,7 @@ var xt = J("span", {
665
665
  },
666
666
  [`&.${Z.disabled}`]: { "&:hover": { boxShadow: "none" } },
667
667
  ...e.focusVisible && { [`&.${Z.focusVisible}`]: {
668
- ...R,
668
+ ...L,
669
669
  ...e.focusVisible
670
670
  } },
671
671
  variants: [
@@ -894,11 +894,11 @@ var xt = J("span", {
894
894
  track: T,
895
895
  valueLabelDisplay: D,
896
896
  valueLabelFormat: O
897
- }, { axisProps: j, getRootProps: M, getHiddenInputProps: N, getThumbProps: P, open: F, active: I, axis: L, focusedThumbIndex: R, range: ie, dragging: ae, marks: oe, values: z, trackOffset: ce, trackLeap: le, getThumbStyle: B } = _t({
897
+ }, { axisProps: j, getRootProps: M, getHiddenInputProps: N, getThumbProps: P, open: F, active: ie, axis: I, focusedThumbIndex: L, range: ae, dragging: oe, marks: se, values: R, trackOffset: ce, trackLeap: le, getThumbStyle: B } = _t({
898
898
  ...A,
899
899
  rootRef: t
900
900
  });
901
- A.marked = oe.length > 0 && oe.some((e) => e.label), A.dragging = ae, A.focusedThumbIndex = R;
901
+ A.marked = se.length > 0 && se.some((e) => e.label), A.dragging = oe, A.focusedThumbIndex = L;
902
902
  let V = Ot(A), H = {
903
903
  slots: C,
904
904
  slotProps: S
@@ -920,8 +920,8 @@ var xt = J("span", {
920
920
  elementType: Ct,
921
921
  externalForwardedProps: H,
922
922
  additionalProps: { style: {
923
- ...j[L].offset(ce),
924
- ...j[L].leap(le)
923
+ ...j[I].offset(ce),
924
+ ...j[I].leap(le)
925
925
  } },
926
926
  ownerState: A,
927
927
  className: V.track
@@ -957,9 +957,9 @@ var xt = J("span", {
957
957
  children: [
958
958
  /*#__PURE__*/ (0, Q.jsx)(G, { ...ue }),
959
959
  /*#__PURE__*/ (0, Q.jsx)(K, { ...de }),
960
- oe.filter((e) => e.value >= g && e.value <= h).map((e, t) => {
961
- let n = ct(e.value, g, h), r = j[L].offset(n), i;
962
- return i = T === !1 ? z.includes(e.value) : T === "normal" && (ie ? e.value >= z[0] && e.value <= z[z.length - 1] : e.value <= z[0]) || T === "inverted" && (ie ? e.value <= z[0] || e.value >= z[z.length - 1] : e.value >= z[0]), /*#__PURE__*/ (0, Q.jsxs)(X.Fragment, { children: [/*#__PURE__*/ (0, Q.jsx)(he, {
960
+ se.filter((e) => e.value >= g && e.value <= h).map((e, t) => {
961
+ let n = ct(e.value, g, h), r = j[I].offset(n), i;
962
+ return i = T === !1 ? R.includes(e.value) : T === "normal" && (ae ? e.value >= R[0] && e.value <= R[R.length - 1] : e.value <= R[0]) || T === "inverted" && (ae ? e.value <= R[0] || e.value >= R[R.length - 1] : e.value >= R[0]), /*#__PURE__*/ (0, Q.jsxs)(X.Fragment, { children: [/*#__PURE__*/ (0, Q.jsx)(he, {
963
963
  "data-index": t,
964
964
  ...ge,
965
965
  ...!Oe(he) && { markActive: i },
@@ -967,7 +967,7 @@ var xt = J("span", {
967
967
  ...r,
968
968
  ...ge.style
969
969
  },
970
- className: se(ge.className, i && V.markActive)
970
+ className: z(ge.className, i && V.markActive)
971
971
  }), e.label == null ? null : /*#__PURE__*/ (0, Q.jsx)(_e, {
972
972
  "aria-hidden": !0,
973
973
  "data-index": t,
@@ -977,26 +977,26 @@ var xt = J("span", {
977
977
  ...r,
978
978
  ...ve.style
979
979
  },
980
- className: se(V.markLabel, ve.className, i && V.markLabelActive),
980
+ className: z(V.markLabel, ve.className, i && V.markLabelActive),
981
981
  children: e.label
982
982
  })] }, t);
983
983
  }),
984
- z.map((e, t) => {
985
- let n = ct(e, g, h), r = j[L].offset(n), s = D === "off" ? kt : pe;
984
+ R.map((e, t) => {
985
+ let n = ct(e, g, h), r = j[I].offset(n), s = D === "off" ? kt : pe;
986
986
  return /*#__PURE__*/ (0, Q.jsx)(s, {
987
987
  ...!Oe(s) && {
988
988
  valueLabelFormat: O,
989
989
  valueLabelDisplay: D,
990
990
  value: typeof O == "function" ? O(x(e), t) : O,
991
991
  index: t,
992
- open: F === t || I === t || D === "on",
992
+ open: F === t || ie === t || D === "on",
993
993
  disabled: d
994
994
  },
995
995
  ...me,
996
996
  children: /*#__PURE__*/ (0, Q.jsx)(q, {
997
997
  "data-index": t,
998
998
  ...fe,
999
- className: se(V.thumb, fe.className, I === t && V.active, R === t && V.focusVisible),
999
+ className: z(V.thumb, fe.className, ie === t && V.active, L === t && V.focusVisible),
1000
1000
  style: {
1001
1001
  ...r,
1002
1002
  ...B(t),
@@ -1008,7 +1008,7 @@ var xt = J("span", {
1008
1008
  "aria-valuenow": x(e),
1009
1009
  "aria-labelledby": o,
1010
1010
  "aria-valuetext": p ? p(x(e), t) : a,
1011
- value: z[t],
1011
+ value: R[t],
1012
1012
  ...be
1013
1013
  })
1014
1014
  })
@@ -1016,7 +1016,7 @@ var xt = J("span", {
1016
1016
  })
1017
1017
  ]
1018
1018
  });
1019
- }), jt = L({
1019
+ }), jt = I({
1020
1020
  container: {
1021
1021
  marginTop: 4,
1022
1022
  marginBottom: 4,
@@ -1036,13 +1036,13 @@ var xt = J("span", {
1036
1036
  textAlign: "left",
1037
1037
  ...V.normal13,
1038
1038
  fontFamily: "var(--font-family, Roboto)",
1039
- color: c.mainDarkNavy,
1040
- backgroundColor: c.white,
1041
- border: `1px solid ${c.grey3}`,
1042
- boxShadow: `0px 0.5px 1px ${c.alphaBlack(.1)}`,
1039
+ color: p.mainDarkNavy,
1040
+ backgroundColor: p.white,
1041
+ border: `1px solid ${p.grey3}`,
1042
+ boxShadow: `0px 0.5px 1px ${p.alphaBlack(.1)}`,
1043
1043
  borderRadius: 4,
1044
1044
  "&::-webkit-inner-spin-button, &::-webkit-outer-spin-button": { appearance: "none" },
1045
- "&:disabled": { color: c.grey2 },
1045
+ "&:disabled": { color: p.grey2 },
1046
1046
  "&.inputWithValuePicker": { paddingLeft: 35 }
1047
1047
  },
1048
1048
  inputSuffixVariant: { paddingRight: 28 },
@@ -1057,8 +1057,8 @@ var xt = J("span", {
1057
1057
  top: 4,
1058
1058
  ...V.normal12,
1059
1059
  fontFamily: "var(--font-family, Roboto)",
1060
- color: c.grey2,
1061
- borderLeft: `1px solid ${c.grey5}`
1060
+ color: p.grey2,
1061
+ borderLeft: `1px solid ${p.grey5}`
1062
1062
  },
1063
1063
  prefixImageContainer: {
1064
1064
  width: 16,
@@ -1405,7 +1405,7 @@ function gn() {
1405
1405
  return dn(e, gn());
1406
1406
  }, Nt.apply(e, arguments), hn(e);
1407
1407
  }
1408
- var _n = [1, 100], vn = L({
1408
+ var _n = [1, 100], vn = I({
1409
1409
  container: {
1410
1410
  width: "calc(100% - 20px)",
1411
1411
  height: 32,
@@ -1437,7 +1437,7 @@ var _n = [1, 100], vn = L({
1437
1437
  }
1438
1438
  }, `${t}-${e.from}-${e.to}`))
1439
1439
  });
1440
- }, $ = de(), bn = L({
1440
+ }, $ = de(), bn = I({
1441
1441
  div: {
1442
1442
  alignItems: "flex-end",
1443
1443
  display: "flex",
@@ -1450,11 +1450,11 @@ var _n = [1, 100], vn = L({
1450
1450
  },
1451
1451
  input: {
1452
1452
  ...V.normal13,
1453
- fontFamily: `var(--font-family, Roboto, ${y})`,
1454
- backgroundColor: c.white,
1455
- border: `1px solid ${c.grey3}`,
1453
+ fontFamily: `var(--font-family, Roboto, ${C})`,
1454
+ backgroundColor: p.white,
1455
+ border: `1px solid ${p.grey3}`,
1456
1456
  borderRadius: 4,
1457
- color: c.mainDarkNavy,
1457
+ color: p.mainDarkNavy,
1458
1458
  height: 24,
1459
1459
  padding: "2px 8px",
1460
1460
  "&:disabled": { cursor: "not-allowed" },
@@ -1489,9 +1489,9 @@ var _n = [1, 100], vn = L({
1489
1489
  currency: "",
1490
1490
  currencyIsPrefix: !0,
1491
1491
  formatString: "",
1492
- formatType: re.None,
1492
+ formatType: i.None,
1493
1493
  isDateTime: !1,
1494
- negativeType: o.Symbol
1494
+ negativeType: h.Symbol
1495
1495
  },
1496
1496
  type: "excel-format"
1497
1497
  }, Tn = [
@@ -1499,7 +1499,7 @@ var _n = [1, 100], vn = L({
1499
1499
  D,
1500
1500
  P,
1501
1501
  K
1502
- ], En = d("[Slider] evaluateNumericValue", "lightred"), Dn = (e, t = wn) => {
1502
+ ], En = s("[Slider] evaluateNumericValue", "lightred"), Dn = (e, t = wn) => {
1503
1503
  if (!e) return null;
1504
1504
  let { value: n, error: r } = Tn.reduce(({ value: e, error: n }, r) => {
1505
1505
  if (n || e === null) return {
@@ -1531,30 +1531,30 @@ function On(e, t, n) {
1531
1531
  if (!e) return "";
1532
1532
  if (!n) return e || "";
1533
1533
  let r = { ...n };
1534
- return m(r.format.formatType) && (r = x(r)), t && ee(r) ? I({
1534
+ return u(r.format.formatType) && (r = b(r)), t && g(r) ? ie({
1535
1535
  ...r,
1536
1536
  format: {
1537
1537
  ...r.format,
1538
- formatType: C(e, n)
1538
+ formatType: x(e, n)
1539
1539
  }
1540
- }, e) : t ? f(e, n) : I(r, e);
1540
+ }, e) : t ? c(e, n) : ie(r, e);
1541
1541
  }
1542
1542
  function kn(e) {
1543
1543
  return e?.applied?.operator === $.FilterOperator.NotBetween || e?.pending?.operator === $.FilterOperator.NotBetween;
1544
1544
  }
1545
1545
  function An(e, t, n) {
1546
1546
  let r = null, i = n, a = new Date(Math.min(e, t)), o = new Date(Math.max(e, t)), s = new Date(Math.min(e, t)), c = new Date(Math.max(e, t)), l = /* @__PURE__ */ new Date(+a), u = null;
1547
- if (n === h.day) l.setUTCHours(0, 0, 0, 0), c.setUTCHours(23, 59, 59, 0), u = [/* @__PURE__ */ new Date(+l), /* @__PURE__ */ new Date(+c)];
1548
- else if (n === h.week) {
1547
+ if (n === f.day) l.setUTCHours(0, 0, 0, 0), c.setUTCHours(23, 59, 59, 0), u = [/* @__PURE__ */ new Date(+l), /* @__PURE__ */ new Date(+c)];
1548
+ else if (n === f.week) {
1549
1549
  l.setUTCHours(0, 0, 0, 0);
1550
1550
  let e = l.getUTCDay(), t = e === 0 ? -6 : 1 - e;
1551
1551
  l.setUTCDate(l.getUTCDate() + t), c.setUTCHours(23, 59, 59, 0);
1552
1552
  let n = c.getUTCDay(), r = n === 0 ? 0 : 7 - n;
1553
1553
  c.setUTCDate(c.getUTCDate() + r), u = [/* @__PURE__ */ new Date(+l), /* @__PURE__ */ new Date(+c)];
1554
- } else if (n === h.month) {
1554
+ } else if (n === f.month) {
1555
1555
  for (i = null, l.setUTCHours(0, 0, 0, 0), l.setUTCDate(1), u = []; +l <= +o;) u.push(/* @__PURE__ */ new Date(+l)), l.setUTCMonth(l.getUTCMonth() + 1);
1556
1556
  c.setUTCHours(23, 59, 59, 0), c.setUTCDate(new Date(Date.UTC(c.getUTCFullYear(), c.getUTCMonth() + 1, 0, 23, 59, 59, 0)).getUTCDate()), u.push(/* @__PURE__ */ new Date(+c));
1557
- } else if (n === h.year) {
1557
+ } else if (n === f.year) {
1558
1558
  for (i = null, l.setUTCHours(0, 0, 0, 0), l.setUTCDate(1), l.setUTCMonth(0), u = []; +l <= +o;) u.push(/* @__PURE__ */ new Date(+l)), l.setUTCFullYear(l.getUTCFullYear() + 1);
1559
1559
  c.setUTCHours(23, 59, 59, 0), c.setUTCMonth(11), c.setUTCDate(31), u.push(/* @__PURE__ */ new Date(+c));
1560
1560
  }
@@ -1569,7 +1569,7 @@ function jn(e, t) {
1569
1569
  let { step: n = 1, quickSelect: r = !1, manualMinMaxEnabled: i = !1 } = e?.sliderSettings ?? {}, a = e?.sliderSettings?.range ?? {
1570
1570
  min: 1,
1571
1571
  max: 100
1572
- }, o = e?.sliderSettings?.selectedColor ?? c.grey3, s = e?.sliderSettings?.nonSelectedColor ?? c.grey4;
1572
+ }, o = e?.sliderSettings?.selectedColor ?? p.grey3, s = e?.sliderSettings?.nonSelectedColor ?? p.grey4;
1573
1573
  return {
1574
1574
  step: n,
1575
1575
  quickSelect: r,
@@ -1581,15 +1581,15 @@ function jn(e, t) {
1581
1581
  };
1582
1582
  }
1583
1583
  var Mn = (e, t, n) => {
1584
- let r = ie(), i = r.engine, [a, o] = (0, X.useState)({
1584
+ let r = ae(), i = r.engine, [a, s] = (0, X.useState)({
1585
1585
  min: null,
1586
1586
  max: null,
1587
1587
  barsValues: []
1588
1588
  });
1589
1589
  return (0, X.useEffect)(() => (e && (async () => {
1590
1590
  if (!e || !i || !n) return;
1591
- let { manualMinMaxEnabled: a = !1 } = t ?? {}, { min: s, max: c } = a ? t?.range ?? {} : await Fn(i, e, n), l = [];
1592
- if (n?.measures?.[0] && _(n)) {
1591
+ let { manualMinMaxEnabled: a = !1 } = t ?? {}, { min: o, max: c } = a ? t?.range ?? {} : await Fn(i, e, n), l = [];
1592
+ if (n?.measures?.[0] && ne(n)) {
1593
1593
  let e = n?.sliderSettings?.numberOfBars ?? 20, t = he(r, {
1594
1594
  ...T(n.type),
1595
1595
  ...n
@@ -1598,7 +1598,7 @@ var Mn = (e, t, n) => {
1598
1598
  t.dimensions?.length && (t.dimensions[0].bucketing = {
1599
1599
  buckets: e,
1600
1600
  maxValue: Math.ceil(c),
1601
- minValue: Math.floor(s)
1601
+ minValue: Math.floor(o)
1602
1602
  });
1603
1603
  let { data: n } = await i.getData(t);
1604
1604
  Object.entries(n).forEach(([e, [t, r]]) => {
@@ -1613,13 +1613,13 @@ var Mn = (e, t, n) => {
1613
1613
  });
1614
1614
  }
1615
1615
  }
1616
- o({
1617
- min: s,
1616
+ s({
1617
+ min: o,
1618
1618
  max: c,
1619
1619
  barsValues: l
1620
1620
  });
1621
1621
  })(), () => {
1622
- o({
1622
+ s({
1623
1623
  min: 1,
1624
1624
  max: 100,
1625
1625
  barsValues: []
@@ -1628,7 +1628,7 @@ var Mn = (e, t, n) => {
1628
1628
  i,
1629
1629
  e,
1630
1630
  n?.type,
1631
- g(n?.measures?.[0]?.dataItem),
1631
+ o(n?.measures?.[0]?.dataItem),
1632
1632
  JSON.stringify(t),
1633
1633
  n?.sliderSettings?.numberOfBars ?? 20,
1634
1634
  JSON.stringify(n?.staticFilters?.filters),
@@ -1650,10 +1650,10 @@ async function Pn(e, t) {
1650
1650
  return { filters: pe(me(t.staticFilters.filters, r, t.referencedData), t, e) };
1651
1651
  }
1652
1652
  async function Fn(e, t, n) {
1653
- let r = {
1653
+ let i = {
1654
1654
  dimensions: [],
1655
1655
  ...await Pn(e, n),
1656
- limit: i(n),
1656
+ limit: r(n),
1657
1657
  measures: [{
1658
1658
  fieldKeys: [t],
1659
1659
  aggregation: "MIN",
@@ -1663,7 +1663,7 @@ async function Fn(e, t, n) {
1663
1663
  aggregation: "MAX",
1664
1664
  filters: []
1665
1665
  }]
1666
- }, { data: a } = await e.getData(r);
1666
+ }, { data: a } = await e.getData(i);
1667
1667
  return {
1668
1668
  min: typeof a[0][0] == "number" ? a[0][0] : 1,
1669
1669
  max: typeof a[0][1] == "number" ? a[0][1] : 100
@@ -1680,30 +1680,30 @@ var In = /* @__PURE__ */ n(((e, t) => {
1680
1680
  return i === void 0 && (i = t, t = void 0), i !== void 0 && (i = r(i), i = i === i ? i : 0), t !== void 0 && (t = r(t), t = t === t ? t : 0), n(r(e), t, i);
1681
1681
  }
1682
1682
  t.exports = i;
1683
- })))()), Rn = /* @__PURE__ */ e(l());
1683
+ })))()), Rn = /* @__PURE__ */ e(a());
1684
1684
  function zn(e) {
1685
- let { min: t, max: n, data: r, type: i, vSpec: a, field: o, quickSelect: s, step: c } = e, [l, u] = (0, X.useState)(["1", "100"]), [d, f] = (0, X.useState)(1), [m, h] = (0, X.useState)(100), [g, ee] = (0, X.useState)({
1685
+ let { min: t, max: n, data: r, type: i, vSpec: a, field: o, quickSelect: s, step: c } = e, [u, d] = (0, X.useState)(["1", "100"]), [f, p] = (0, X.useState)(1), [h, g] = (0, X.useState)(100), [ee, te] = (0, X.useState)({
1686
1686
  step: c,
1687
1687
  marks: null
1688
- }), [{ onRange: _ }] = ae(Bn(r, i, o), {
1688
+ }), [{ onRange: _ }] = oe(Bn(r, i, o), {
1689
1689
  disabled: !i,
1690
1690
  ignore: !0,
1691
1691
  state: s ? $.SelectionState.APPLIED : $.SelectionState.PENDING,
1692
1692
  commitHistory: s
1693
- }), v = p(i), y = te(a.sliderSettings.formatting) ? void 0 : a.sliderSettings.formatting ?? void 0, b = (0, X.useCallback)((e) => [(0, Ln.default)(Number(e[0]), Number(t), Number(n)), (0, Ln.default)(Number(e[1]), Number(t), Number(n))], [t, n]), ne = (0, X.useCallback)(([e, t]) => {
1693
+ }), v = l(i), y = m(a.sliderSettings.formatting) ? void 0 : a.sliderSettings.formatting ?? void 0, b = (0, X.useCallback)((e) => [(0, Ln.default)(Number(e[0]), Number(t), Number(n)), (0, Ln.default)(Number(e[1]), Number(t), Number(n))], [t, n]), ne = (0, X.useCallback)(([e, t]) => {
1694
1694
  let n = Dn(e, y), r = Dn(t, y);
1695
- (0, Rn.default)(n) && (n = e), (0, Rn.default)(r) && (r = t), u([`${n}`, `${r}`]);
1696
- }, [u, y]), x = (0, X.useCallback)((e, t) => {
1697
- c !== 0 && u([`${t[0]}`, `${t[1]}`]);
1698
- }, [u, c]), S = (0, X.useCallback)((e) => {
1695
+ (0, Rn.default)(n) && (n = e), (0, Rn.default)(r) && (r = t), d([`${n}`, `${r}`]);
1696
+ }, [d, y]), x = (0, X.useCallback)((e, t) => {
1697
+ c !== 0 && d([`${t[0]}`, `${t[1]}`]);
1698
+ }, [d, c]), S = (0, X.useCallback)((e) => {
1699
1699
  let t = b(e);
1700
1700
  _(t[0], t[1]);
1701
1701
  }, [_, b]), C = (0, X.useCallback)((e) => {
1702
1702
  let t = Dn(e[0], y), n = Dn(e[1], y), r = b([t, n]), i = [String(r[0]), String(r[1])];
1703
- S(r), u(i);
1703
+ S(r), d(i);
1704
1704
  }, [
1705
1705
  S,
1706
- u,
1706
+ d,
1707
1707
  b,
1708
1708
  y
1709
1709
  ]);
@@ -1712,15 +1712,15 @@ function zn(e) {
1712
1712
  let e = t, i = n;
1713
1713
  if (v) {
1714
1714
  let { startValue: r, endValue: a, sliderStep: o, sliderMarks: s } = An(t, n, c);
1715
- e = r, i = a, ee({
1715
+ e = r, i = a, te({
1716
1716
  step: o,
1717
1717
  marks: s
1718
1718
  });
1719
- } else ee({
1719
+ } else te({
1720
1720
  step: c,
1721
1721
  marks: null
1722
1722
  });
1723
- f(e), h(i), u(Sn(r, e, i));
1723
+ p(e), g(i), d(Sn(r, e, i));
1724
1724
  }
1725
1725
  }, [
1726
1726
  t,
@@ -1729,14 +1729,14 @@ function zn(e) {
1729
1729
  v
1730
1730
  ]), (0, X.useEffect)(() => {
1731
1731
  if (r) {
1732
- let e = r.pending.values?.[0] ?? d, t = r.pending.values?.[1] ?? m;
1733
- (e !== +l[0] || t !== +l[1]) && u(Sn(r, d, m));
1732
+ let e = r.pending.values?.[0] ?? f, t = r.pending.values?.[1] ?? h;
1733
+ (e !== +u[0] || t !== +u[1]) && d(Sn(r, f, h));
1734
1734
  }
1735
1735
  }, [JSON.stringify(r?.pending)]), {
1736
- values: l,
1737
- minValue: d,
1738
- maxValue: m,
1739
- sliderProps: g,
1736
+ values: u,
1737
+ minValue: f,
1738
+ maxValue: h,
1739
+ sliderProps: ee,
1740
1740
  onRange: _,
1741
1741
  selectRange: S,
1742
1742
  handleChangedValues: C,
@@ -1751,7 +1751,7 @@ function Bn(e, t, n) {
1751
1751
  ...n,
1752
1752
  dataType: t ?? $.FieldType.STRING,
1753
1753
  internalKey: "",
1754
- type: v.Dimension,
1754
+ type: y.Dimension,
1755
1755
  uniqueSignature: ""
1756
1756
  },
1757
1757
  dateLevel: e?.applied.dateLevel,
@@ -1768,42 +1768,42 @@ var Vn = ({ data: e, options: { type: t, vSpec: n } }) => {
1768
1768
  field: r,
1769
1769
  fieldKey: i
1770
1770
  });
1771
- }, Hn = ({ data: e, type: t, vSpec: n, field: r, fieldKey: i }) => {
1772
- let o = bn(), { ref: s, isSmallView: c } = Wn(n?.sliderSettings?.layout), [l, u] = (0, X.useState)(!1), [d, f] = (0, X.useState)(!1), { step: m, quickSelect: h, manualMinMaxEnabled: g, range: ee, overrideStyles: te, selectedColor: _, nonSelectedColor: v } = jn(n, kn(e)), { min: y, max: b, barsValues: ne } = Mn(i, {
1771
+ }, Hn = ({ data: e, type: t, vSpec: n, field: r, fieldKey: a }) => {
1772
+ let o = bn(), { ref: s, isSmallView: c } = Wn(n?.sliderSettings?.layout), [u, d] = (0, X.useState)(!1), [f, p] = (0, X.useState)(!1), { step: m, quickSelect: h, manualMinMaxEnabled: g, range: ee, overrideStyles: te, selectedColor: _, nonSelectedColor: y } = jn(n, kn(e)), { min: b, max: ne, barsValues: x } = Mn(a, {
1773
1773
  manualMinMaxEnabled: g,
1774
1774
  range: ee
1775
- }, n), { values: x, minValue: S, maxValue: C, sliderProps: w, onValueChange: T, handleChangedValues: E, handleSliderChange: D, onRange: O, selectRange: k } = zn({
1776
- min: y,
1777
- max: b,
1775
+ }, n), { values: S, minValue: C, maxValue: w, sliderProps: T, onValueChange: re, handleChangedValues: E, handleSliderChange: D, onRange: O, selectRange: k } = zn({
1776
+ min: b,
1777
+ max: ne,
1778
1778
  data: e,
1779
1779
  type: t,
1780
1780
  vSpec: n,
1781
1781
  quickSelect: h,
1782
1782
  field: r,
1783
1783
  step: m
1784
- }), A = p(t), j = n.sliderSettings.formatting, M = (n.sliderSettings.formatting?.format?.formatType ?? re.None) === re.None, N = {
1784
+ }), A = l(t), j = n.sliderSettings.formatting, M = (n.sliderSettings.formatting?.format?.formatType ?? i.None) === i.None, N = {
1785
1785
  fontSize: "1em",
1786
- width: `${n?.sliderSettings.inputWidth ?? (A ? a.inputDateWidth : a.inputNumberWidth)}px`
1787
- }, { marks: P, step: F } = w;
1786
+ width: `${n?.sliderSettings.inputWidth ?? (A ? v.inputDateWidth : v.inputNumberWidth)}px`
1787
+ }, { marks: P, step: F } = T;
1788
1788
  return /* @__PURE__ */ (0, Q.jsxs)("div", {
1789
1789
  className: H({
1790
1790
  [o.div]: !0,
1791
1791
  [o.divBottom]: c
1792
1792
  }),
1793
- style: { fontSize: `${n?.sliderSettings.inputFontSize ?? a.inputFontSize}px` },
1793
+ style: { fontSize: `${n?.sliderSettings.inputFontSize ?? v.inputFontSize}px` },
1794
1794
  ref: s,
1795
1795
  children: [
1796
- A && (M || l) ? /* @__PURE__ */ (0, Q.jsx)(Mt, {
1796
+ A && (M || u) ? /* @__PURE__ */ (0, Q.jsx)(Mt, {
1797
1797
  className: H({
1798
1798
  [o.inputBottom]: c,
1799
1799
  [o.inputLeft]: c
1800
1800
  }),
1801
1801
  style: N,
1802
1802
  onBlur: (e) => {
1803
- e !== +x[0] && k([e, +x[1]]), u(!1);
1803
+ e !== +S[0] && k([e, +S[1]]), d(!1);
1804
1804
  },
1805
- onEnter: (e) => k([e, +x[1]]),
1806
- value: +x[0],
1805
+ onEnter: (e) => k([e, +S[1]]),
1806
+ value: +S[0],
1807
1807
  passOnBlur: !0,
1808
1808
  autoFocus: !M
1809
1809
  }) : /* @__PURE__ */ (0, Q.jsx)("input", {
@@ -1814,27 +1814,27 @@ var Vn = ({ data: e, options: { type: t, vSpec: n } }) => {
1814
1814
  }),
1815
1815
  style: N,
1816
1816
  step: m,
1817
- min: S,
1818
- max: x[1],
1817
+ min: C,
1818
+ max: S[1],
1819
1819
  type: "text",
1820
- value: j ? On(x[0], l, j) : x[0],
1820
+ value: j ? On(S[0], u, j) : S[0],
1821
1821
  onBlur: (e) => {
1822
- u(!1), E([e.target.value, x[1]]);
1822
+ d(!1), E([e.target.value, S[1]]);
1823
1823
  },
1824
- onChange: (e) => T([e.target.value, x[1]]),
1824
+ onChange: (e) => re([e.target.value, S[1]]),
1825
1825
  onKeyDown: (e) => {
1826
- e.key === "Enter" && E([e.currentTarget.value, x[1]]);
1826
+ e.key === "Enter" && E([e.currentTarget.value, S[1]]);
1827
1827
  },
1828
- onFocus: () => u(!0),
1828
+ onFocus: () => d(!0),
1829
1829
  disabled: !t
1830
1830
  }),
1831
1831
  /* @__PURE__ */ (0, Q.jsxs)("div", {
1832
1832
  style: { flexGrow: 1 },
1833
1833
  children: [n?.measures?.[0] ? /* @__PURE__ */ (0, Q.jsx)(yn, {
1834
- values: ne,
1835
- filteredValues: [+x[0], +x[1]],
1834
+ values: x,
1835
+ filteredValues: [+S[0], +S[1]],
1836
1836
  selectedColor: _,
1837
- nonSelectedColor: v
1837
+ nonSelectedColor: y
1838
1838
  }) : null, /* @__PURE__ */ (0, Q.jsx)("div", {
1839
1839
  onMouseDown: (e) => e.stopPropagation(),
1840
1840
  style: {
@@ -1843,15 +1843,15 @@ var Vn = ({ data: e, options: { type: t, vSpec: n } }) => {
1843
1843
  },
1844
1844
  children: /* @__PURE__ */ (0, Q.jsx)(At, {
1845
1845
  className: o.slider,
1846
- value: [+x[0], +x[1]],
1846
+ value: [+S[0], +S[1]],
1847
1847
  onChange: (e, t) => {
1848
1848
  Array.isArray(t) && t.length === 2 && D(e, [t[0], t[1]]);
1849
1849
  },
1850
1850
  onChangeCommitted: (e, t) => {
1851
1851
  Array.isArray(t) && t.length === 2 && O(t[0], t[1]);
1852
1852
  },
1853
- min: S ?? +x[0],
1854
- max: C ?? +x[1],
1853
+ min: C ?? +S[0],
1854
+ max: w ?? +S[1],
1855
1855
  step: F === null ? null : Cn(F),
1856
1856
  marks: P ?? !1,
1857
1857
  orientation: "horizontal",
@@ -1860,17 +1860,17 @@ var Vn = ({ data: e, options: { type: t, vSpec: n } }) => {
1860
1860
  })
1861
1861
  })]
1862
1862
  }),
1863
- A && (M || d) ? /* @__PURE__ */ (0, Q.jsx)(Mt, {
1863
+ A && (M || f) ? /* @__PURE__ */ (0, Q.jsx)(Mt, {
1864
1864
  className: H({
1865
1865
  [o.inputBottom]: c,
1866
1866
  [o.inputRight]: c
1867
1867
  }),
1868
1868
  style: N,
1869
1869
  onBlur: (e) => {
1870
- e !== +x[1] && k([+x[0], e]), f(!1);
1870
+ e !== +S[1] && k([+S[0], e]), p(!1);
1871
1871
  },
1872
- onEnter: (e) => k([+x[0], e]),
1873
- value: +x[1],
1872
+ onEnter: (e) => k([+S[0], e]),
1873
+ value: +S[1],
1874
1874
  passOnBlur: !0,
1875
1875
  autoFocus: !M
1876
1876
  }) : /* @__PURE__ */ (0, Q.jsx)("input", {
@@ -1881,18 +1881,18 @@ var Vn = ({ data: e, options: { type: t, vSpec: n } }) => {
1881
1881
  }),
1882
1882
  style: N,
1883
1883
  step: m,
1884
- min: x[0],
1885
- max: C,
1884
+ min: S[0],
1885
+ max: w,
1886
1886
  type: "text",
1887
- value: j ? On(x[1], d, j) : x[1],
1887
+ value: j ? On(S[1], f, j) : S[1],
1888
1888
  onBlur: (e) => {
1889
- f(!1), E([x[0], e.target.value]);
1889
+ p(!1), E([S[0], e.target.value]);
1890
1890
  },
1891
- onChange: (e) => T([x[0], e.target.value]),
1891
+ onChange: (e) => re([S[0], e.target.value]),
1892
1892
  onKeyDown: (e) => {
1893
- e.key === "Enter" && E([x[0], e.currentTarget.value]);
1893
+ e.key === "Enter" && E([S[0], e.currentTarget.value]);
1894
1894
  },
1895
- onFocus: () => f(!0),
1895
+ onFocus: () => p(!0),
1896
1896
  disabled: !t
1897
1897
  })
1898
1898
  ]
@@ -1923,25 +1923,25 @@ var Gn = (e) => {
1923
1923
  if (!r) return null;
1924
1924
  let { dateLevel: i, datePart: a } = r, { fieldKey: o } = n(r.dataItem);
1925
1925
  if (o === null) return null;
1926
- let c = (e) => e.dateLevel === i && e.datePart === a && "fieldKey" in e && e.fieldKey === o && (e.operator === $.FilterOperator.Between || e.operator === $.FilterOperator.NotBetween), l = s({
1926
+ let s = (e) => e.dateLevel === i && e.datePart === a && "fieldKey" in e && e.fieldKey === o && (e.operator === $.FilterOperator.Between || e.operator === $.FilterOperator.NotBetween), c = re({
1927
1927
  dateLevel: i ?? void 0,
1928
1928
  datePart: a ?? void 0,
1929
1929
  fieldKey: o,
1930
1930
  operator: $.FilterOperator.Between,
1931
1931
  values: []
1932
- }), u = t.applied.find(c), d = t.pending.find(c);
1932
+ }), l = t.applied.find(s), u = t.pending.find(s);
1933
1933
  return {
1934
1934
  applied: {
1935
- ...l,
1936
- ...u
1935
+ ...c,
1936
+ ...l
1937
1937
  },
1938
1938
  pending: {
1939
+ ...c,
1939
1940
  ...l,
1940
- ...u,
1941
- ...d
1941
+ ...u
1942
1942
  }
1943
1943
  };
1944
- }, Kn = L({
1944
+ }, Kn = I({
1945
1945
  container: {
1946
1946
  padding: 12,
1947
1947
  width: "100%",
@@ -1957,49 +1957,49 @@ var Gn = (e) => {
1957
1957
  marginLeft: 8
1958
1958
  },
1959
1959
  label: { ...V.overflowEllipsis }
1960
- }), qn = (e) => e === r.Line ? "solid" : "dashed", Jn = (e = c.white, t) => {
1961
- let { borderColor: n, borderEnabled: r, borderRadius: i, borderStyle: o, borderWidth: s } = {
1962
- ...a.border,
1960
+ }), qn = (e) => e === ee.Line ? "solid" : "dashed", Jn = (e = p.white, t) => {
1961
+ let { borderColor: n, borderEnabled: r, borderRadius: i, borderStyle: a, borderWidth: o } = {
1962
+ ...v.border,
1963
1963
  ...t
1964
1964
  };
1965
1965
  return {
1966
1966
  backgroundColor: e ?? "transparent",
1967
- border: r ? `${s}px ${qn(o)} ${n}` : "none",
1967
+ border: r ? `${o}px ${qn(a)} ${n}` : "none",
1968
1968
  borderRadius: r ? `${i}px` : 0
1969
1969
  };
1970
1970
  }, Yn = (e, t) => ({
1971
1971
  fontSize: e?.fontSize || 13,
1972
- fontFamily: w(t || e?.fontFamily || "Roboto"),
1972
+ fontFamily: _(t || e?.fontFamily || "Roboto"),
1973
1973
  fontStyle: e?.italic ? "italic" : "normal",
1974
1974
  fontWeight: e?.bold ? "bold" : "normal",
1975
1975
  textDecoration: `${e?.underline ? "underline" : ""} ${e?.strikethrough ? "line-through" : ""}`,
1976
- color: e?.fontColor || c.grey1
1977
- }), Xn = (e, t) => e?.customLabel?.enabled && e?.customLabel?.value && !b(e.customLabel.value) ? e.customLabel.value : e?.label ? e.label : t, Zn = ({ vSpec: e }) => {
1978
- let t = z();
1976
+ color: e?.fontColor || p.grey1
1977
+ }), Xn = (e, t) => e?.customLabel?.enabled && e?.customLabel?.value && !te(e.customLabel.value) ? e.customLabel.value : e?.label ? e.label : t, Zn = ({ vSpec: e }) => {
1978
+ let t = R();
1979
1979
  return (0, X.useEffect)(() => {
1980
- e && ne(e) && t();
1981
- }, [e]), !e || !ne(e) ? null : /* @__PURE__ */ (0, Q.jsx)(Qn, { vSpec: e });
1980
+ e && w(e) && t();
1981
+ }, [e]), !e || !w(e) ? null : /* @__PURE__ */ (0, Q.jsx)(Qn, { vSpec: e });
1982
1982
  }, Qn = ({ vSpec: e }) => {
1983
- let t = A()?.astrato ?? S, n = Kn(), { backgroundColor: r, border: i, fontStyle: o } = e.sliderSettings, s = o?.fontFamily || t?.fonts?.general?.fontFamily || "Roboto", c = e.dimensions[0], l = e.measures[0], d = Gn(e), f = {
1983
+ let t = A()?.astrato ?? S, n = Kn(), { backgroundColor: r, border: i, fontStyle: a } = e.sliderSettings, o = a?.fontFamily || t?.fonts?.general?.fontFamily || "Roboto", s = e.dimensions[0], c = e.measures[0], l = Gn(e), u = {
1984
1984
  vSpec: e,
1985
- type: u(c?.dataItem) ?? void 0
1985
+ type: d(s?.dataItem) ?? void 0
1986
1986
  };
1987
1987
  return /* @__PURE__ */ (0, Q.jsxs)("div", {
1988
1988
  className: n.container,
1989
1989
  style: {
1990
- ...Jn(r === null ? "transparent" : r, i ?? a.border),
1991
- "--font-family": w(s)
1990
+ ...Jn(r === null ? "transparent" : r, i ?? v.border),
1991
+ "--font-family": _(o)
1992
1992
  },
1993
1993
  children: [/* @__PURE__ */ (0, Q.jsxs)("div", {
1994
1994
  className: n.label,
1995
- style: Yn(o ?? {}, s),
1996
- children: [/* @__PURE__ */ (0, Q.jsx)("span", { children: Xn(c, "Dimension") }), e?.sliderSettings?.showMeasureLabel ? /* @__PURE__ */ (0, Q.jsx)("span", {
1995
+ style: Yn(a ?? {}, o),
1996
+ children: [/* @__PURE__ */ (0, Q.jsx)("span", { children: Xn(s, "Dimension") }), e?.sliderSettings?.showMeasureLabel ? /* @__PURE__ */ (0, Q.jsx)("span", {
1997
1997
  className: n.measureLabel,
1998
- children: Xn(l, "Measure")
1998
+ children: Xn(c, "Measure")
1999
1999
  }) : null]
2000
- }), d && /* @__PURE__ */ (0, Q.jsx)(Vn, {
2001
- data: d,
2002
- options: f
2000
+ }), l && /* @__PURE__ */ (0, Q.jsx)(Vn, {
2001
+ data: l,
2002
+ options: u
2003
2003
  })]
2004
2004
  });
2005
2005
  }, $n = ce(Zn), er = /* @__PURE__ */ t({