@astrato-io/visualizations 0.10.1 → 0.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (143) hide show
  1. package/CHANGELOG.md +30 -1
  2. package/README.md +148 -5
  3. package/THIRD_PARTY_NOTICES.md +494 -0
  4. package/VISUALIZATION_DEFINITIONS.md +9 -146
  5. package/chunks/{Button-Dn3rJrYf.js → Button-CQdoKSXX.js} +3 -3
  6. package/chunks/{CircularProgress-BFeu06Yb.js → CircularProgress-DpT1lwWw.js} +20 -20
  7. package/chunks/FieldTypeIcon-Cg4F9Q5D.js +22 -0
  8. package/chunks/{LinearProgress-ClO6GUjN.js → LinearProgress-B7S0Q26A.js} +14 -14
  9. package/chunks/{MenuOption-Czc34u4q.js → MenuOption-DpKFJxmo.js} +167 -167
  10. package/chunks/{Title-BgYnaVTR.js → Title-m5damhc0.js} +37 -37
  11. package/chunks/{_createAggregator-BMu9uRax.js → _createAggregator-BA8_iU9q.js} +17 -17
  12. package/chunks/{app-filter-bar.compiler-CVir0wkl.js → app-filter-bar.compiler--T4Qz3Wu.js} +8 -8
  13. package/chunks/{bar-layout-C_UgRlVl.js → bar-layout-OFhxn2Go.js} +2 -2
  14. package/chunks/{bar.compiler-DYuFdi9J.js → bar.compiler-hWZBYYvV.js} +71 -69
  15. package/chunks/{builder-C-TKA-My.js → builder-7w_bgV_h.js} +106 -55
  16. package/chunks/{coloring-BtnPiQ_o.js → coloring-Cd6p0GQJ.js} +93 -88
  17. package/chunks/{createSimplePaletteValueFilter--zrZxRV9.js → createSimplePaletteValueFilter-CiJT8s1s.js} +169 -169
  18. package/chunks/defaults-CMFqXvaJ.js +3 -0
  19. package/chunks/{definitions-CT304NDn.js → definitions-DTauTjIX.js} +399 -398
  20. package/chunks/{escobar-CvEV2ES1.js → escobar-CMvphKSK.js} +4949 -4879
  21. package/chunks/{extend-preset-D9-JP92b.js → extend-preset-BpXttHFk.js} +449 -450
  22. package/chunks/{filter.compiler-CXeZznks.js → filter.compiler-DOGFweJz.js} +10 -10
  23. package/chunks/{filtering-8_bFv-jb.js → filtering-NOnDcGbo.js} +241 -241
  24. package/chunks/handlers-CyYFSfhM.js +15393 -0
  25. package/chunks/{icon-picker-styles-BXiJ1SZS.js → icon-picker-styles-DuSERhBU.js} +8 -8
  26. package/chunks/{isEqual-D8Ay63xR.js → isEqual-4f8yUUtC.js} +1 -1
  27. package/chunks/{isFocusVisible-Bu8gGZu5.js → isFocusVisible-Czm70MGc.js} +9 -9
  28. package/chunks/line.compiler-B-4H55_T.js +203 -0
  29. package/chunks/linear-Bq_r9l5S.js +264 -0
  30. package/chunks/{logger-DdZpR7xZ.js → logger-Cioob-QV.js} +74 -73
  31. package/chunks/{lookup-BWllin0q.js → lookup-B3tWH2hX.js} +1 -0
  32. package/chunks/{map.compiler-Q_Y1Pvat.js → map.compiler-Cv5V6EhF.js} +40 -40
  33. package/chunks/measure-axis-label-format-COy8U_dd.js +27 -0
  34. package/chunks/measure-format-default-B_kuGSzi.js +26 -0
  35. package/chunks/{metadata-BQm_TXI1.js → metadata-dGSe5UWy.js} +5 -5
  36. package/chunks/number.compiler-D7nMcEMv.js +57 -0
  37. package/chunks/{operations-DKQWuLL7.js → operations-CgfehCad.js} +11397 -11114
  38. package/chunks/{range-BdhzvYQ_.js → range-Dmwp9kVB.js} +2 -2
  39. package/chunks/{react-dom-BGP4tbXV.js → react-dom-CfuL-m78.js} +82 -82
  40. package/chunks/{render-wrappers-BZpyDnJy.js → render-wrappers--g-zPFBW.js} +1 -1
  41. package/chunks/{requirements-e8Fe96ag.js → requirements-DHayNJ2C.js} +245 -221
  42. package/chunks/{shared-C_2F90xq.js → shared-DoEN9nNM.js} +505 -494
  43. package/chunks/standalone-B3hRGgYi.js +773 -0
  44. package/chunks/{standalone-BkbiH-o8.js → standalone-BPNXgFft.js} +498 -759
  45. package/chunks/standalone-BPTT8XEu.js +424 -0
  46. package/chunks/standalone-BgAeHROc.js +2 -0
  47. package/chunks/{standalone-BE_ONgiG.js → standalone-BkQxag7M.js} +102 -102
  48. package/chunks/{standalone-Cc98Pdr6.js → standalone-Bxa3x6dg.js} +872 -872
  49. package/chunks/standalone-C0If-V6O.js +773 -0
  50. package/chunks/standalone-C1TOyflX.js +287 -0
  51. package/chunks/{standalone-CY_kjarf.js → standalone-CE5PwJN0.js} +18 -18
  52. package/chunks/{standalone-B8ZSqauS.js → standalone-CG7IFN6n.js} +120 -120
  53. package/chunks/{standalone-wOWRCpdn.js → standalone-CKlgGu80.js} +49 -49
  54. package/chunks/standalone-CNf-oA2U.js +355 -0
  55. package/chunks/{standalone-BDrXVxlP.js → standalone-CXPdWFlw.js} +14 -14
  56. package/chunks/{standalone-z0o52o5t.js → standalone-Cf0_5tbu.js} +5567 -5568
  57. package/chunks/{standalone-Cl0TSfqC.js → standalone-DMi4-Vp3.js} +122 -122
  58. package/chunks/{standalone-DNh9NcMa.js → standalone-DTEX67C8.js} +154 -154
  59. package/chunks/{standalone-DHRalbVO.js → standalone-DU46-kYv.js} +279 -279
  60. package/chunks/standalone-Dbn3jSH6.js +690 -0
  61. package/chunks/{standalone-CsoMmE9T.js → standalone-DdcAL_k_.js} +839 -843
  62. package/chunks/standalone-DwCIA0UG.js +1057 -0
  63. package/chunks/standalone-Dz13tl3P.js +357 -0
  64. package/chunks/standalone-H9GFzFk_.js +8377 -0
  65. package/chunks/{standalone-CaTxAydz.js → standalone-MduR0qre.js} +2227 -1000
  66. package/chunks/standalone-ejTz66P3.js +2 -0
  67. package/chunks/{standalone-DflyWtuR.js → standalone-keB-0wK3.js} +216 -216
  68. package/chunks/{standalone-BTY3w_JA.js → standalone-nnkuQd0K.js} +28 -28
  69. package/chunks/standalone-vGGR6Vcn.js +6 -0
  70. package/chunks/{table.compiler-COaHE9VD.js → table.compiler-mS4UvhLT.js} +31 -31
  71. package/chunks/theme-MYp6Rj1J.js +232 -0
  72. package/chunks/{useFieldName-CdnCWzhd.js → useFieldName-AdSak4Ch.js} +1 -1
  73. package/chunks/{utils-DganVptf.js → utils-CUKgR7it.js} +4216 -4070
  74. package/chunks/{view-Bzlros43.js → view-BeYwpcVD.js} +1561 -1561
  75. package/chunks/{visualization-filters-D7i6oh1Z.js → visualization-filters-B9qik5_K.js} +2683 -2342
  76. package/chunks/{with-html-element-CiIhFEa5.js → with-html-element-1GSeLT59.js} +3712 -3682
  77. package/definitions.js +2 -2
  78. package/docs/operations/astrato-app-filter-bar.md +1 -1
  79. package/docs/operations/bar.md +144 -32
  80. package/docs/operations/combo.md +79 -17
  81. package/docs/operations/date-picker.md +4 -4
  82. package/docs/operations/distribution-gauge.md +18 -16
  83. package/docs/operations/dot.md +107 -24
  84. package/docs/operations/filter.md +10 -8
  85. package/docs/operations/gauge.md +20 -18
  86. package/docs/operations/heatMap.md +73 -21
  87. package/docs/operations/histogram.md +45 -12
  88. package/docs/operations/iframe.md +1 -1
  89. package/docs/operations/image.md +1 -1
  90. package/docs/operations/index.md +12 -11
  91. package/docs/operations/line.md +86 -24
  92. package/docs/operations/map.md +5274 -0
  93. package/docs/operations/number.md +10 -9
  94. package/docs/operations/pie.md +23 -21
  95. package/docs/operations/radar.md +13 -11
  96. package/docs/operations/sankey.md +19 -17
  97. package/docs/operations/scatter.md +111 -28
  98. package/docs/operations/shape.md +5 -5
  99. package/docs/operations/simpleTextObject.md +4 -4
  100. package/docs/operations/slider.md +1 -1
  101. package/docs/operations/table.md +27 -25
  102. package/docs/operations/tree.md +5 -3
  103. package/docs/operations/treemap.md +70 -18
  104. package/docs/operations/waterfall.md +40 -7
  105. package/docs/operations/word-cloud.md +69 -17
  106. package/getters.js +3 -3
  107. package/index.js +585 -612
  108. package/metadata.js +2 -2
  109. package/operations.js +25 -18
  110. package/package.json +74 -70
  111. package/src/definitions/index.d.ts +1 -7
  112. package/src/definitions/model/definitions/descriptors/descriptor-metadata.d.ts +3 -48
  113. package/src/definitions/model/definitions/schema-registry.d.ts +15 -14
  114. package/src/definitions/model/definitions/schemas/bar.schema.d.ts +3 -3
  115. package/src/definitions/model/definitions/schemas/broad-chart.schema.d.ts +2 -2
  116. package/src/definitions/model/definitions/schemas/common.schema.d.ts +19 -6
  117. package/src/definitions/model/definitions/schemas/index.d.ts +1 -1
  118. package/src/definitions/model/definitions/schemas/line.schema.d.ts +4 -3
  119. package/src/definitions/model/definitions/schemas/number.schema.d.ts +1 -1
  120. package/src/definitions/model/definitions/schemas/table.schema.d.ts +14 -14
  121. package/src/index.d.ts +1 -1
  122. package/src/operations/index.d.ts +11 -1
  123. package/src/types.d.ts +166 -1
  124. package/src/visualization-catalog.d.ts +3 -0
  125. package/styles.css +1 -1
  126. package/chunks/FieldTypeIcon-DrMoGpHJ.js +0 -22
  127. package/chunks/color-rules-DYJL4fIW.js +0 -15
  128. package/chunks/color-settings-DJFoFTip.js +0 -5
  129. package/chunks/defaults-Dtk7fg3C.js +0 -3
  130. package/chunks/handlers-C6CZ0XJA.js +0 -15399
  131. package/chunks/line.compiler-DmHpmQCC.js +0 -198
  132. package/chunks/number.compiler-DQdg6zTy.js +0 -53
  133. package/chunks/standalone-4MsKiqs0.js +0 -355
  134. package/chunks/standalone-B794g9pE.js +0 -1012
  135. package/chunks/standalone-BA2YXyJS.js +0 -422
  136. package/chunks/standalone-BgumbdaJ2.js +0 -357
  137. package/chunks/standalone-Blh4qejk.js +0 -689
  138. package/chunks/standalone-CXY4FpF7.js +0 -773
  139. package/chunks/standalone-DH0xTEes.js +0 -2
  140. package/chunks/standalone-DcnHjNnC.js +0 -2
  141. package/chunks/standalone-DrHdGkY7.js +0 -762
  142. package/chunks/standalone-c_rROMtx.js +0 -287
  143. package/chunks/standalone-drcFLeN6.js +0 -6
@@ -1,13 +1,13 @@
1
1
  import { o as e, t } from "./rolldown-runtime-DleVn1XH.js";
2
- import { Oa as n } from "./visualization-filters-D7i6oh1Z.js";
3
- import { $ as r, B as i, Fr as a, G as o, Gn as s, J as c, Ln as l, Pr as u, W as d, ci as f, et as p, it as m, jr as h, kr as g, li as _, nr as v, nt as y, oi as b, r as x, si as S, sn as C, zr as w } from "./utils-DganVptf.js";
4
- import "./logger-DdZpR7xZ.js";
5
- import { _ as T, a as E, d as D, f as ee, i as O, l as k, m as A, o as j, r as M, s as N, u as P, v as F } from "./react-dom-BGP4tbXV.js";
6
- import { d as I, f as te, i as ne, l as L, n as R, s as re, u as z } from "./isFocusVisible-Bu8gGZu5.js";
7
- import { a as ie, c as ae, f as oe, h as se, l as ce, n as le, p as ue, s as de, t as fe, v as pe, y as me } from "./Title-BgYnaVTR.js";
2
+ import { Ua as n } from "./visualization-filters-B9qik5_K.js";
3
+ import { Fr as r, G as i, K as a, Nr as o, Rr as s, Ur as c, V as l, Vn as u, Y as d, Yn as f, at as p, di as m, dn as h, et as g, fi as _, or as v, pi as y, r as b, rt as x, tt as S, ui as C, zr as w } from "./utils-CUKgR7it.js";
4
+ import "./logger-Cioob-QV.js";
5
+ import { _ as T, a as E, d as D, f as ee, i as O, l as k, m as A, o as j, r as M, s as N, u as P, v as F } from "./react-dom-CfuL-m78.js";
6
+ import { d as I, f as te, i as ne, l as L, n as R, s as re, u as z } from "./isFocusVisible-Czm70MGc.js";
7
+ import { a as ie, c as ae, f as oe, h as se, l as ce, n as le, p as ue, s as de, t as fe, v as pe, y as me } from "./Title-m5damhc0.js";
8
8
  import { i as he, n as ge, r as B, t as V } from "./contains-BK-sRXcB.js";
9
9
  import { a as _e, d as ve, f as H } from "./responsive.styles-FItb913l.js";
10
- import "./coloring-BtnPiQ_o.js";
10
+ import "./coloring-Cd6p0GQJ.js";
11
11
  var ye = {
12
12
  left: "left",
13
13
  right: "right"
@@ -1680,7 +1680,7 @@ function Oe(e, t = 166) {
1680
1680
  function U(e) {
1681
1681
  return L(e).defaultView || window;
1682
1682
  }
1683
- var W = /* @__PURE__ */ e(f(), 1), G = w(), ke = y, K = L;
1683
+ var W = /* @__PURE__ */ e(_(), 1), G = c(), ke = x, K = L;
1684
1684
  function Ae(...e) {
1685
1685
  return e.reduce((e, t) => t == null ? e : function(...n) {
1686
1686
  e.apply(this, n), t.apply(this, n);
@@ -1701,7 +1701,7 @@ function Ne(e, t) {
1701
1701
  let i = typeof t == "function" ? t(r) : t, a = typeof e == "function" ? e({
1702
1702
  ...r,
1703
1703
  ...i
1704
- }) : e, o = m(r?.className, i?.className, a?.className), s = n(a, i), c = {
1704
+ }) : e, o = p(r?.className, i?.className, a?.className), s = n(a, i), c = {
1705
1705
  ...i,
1706
1706
  ...a,
1707
1707
  ...s
@@ -1711,7 +1711,7 @@ function Ne(e, t) {
1711
1711
  ...a.style
1712
1712
  }), i?.sx && a?.sx && (c.sx = [...Array.isArray(i.sx) ? i.sx : [i.sx], ...Array.isArray(a.sx) ? a.sx : [a.sx]]), c;
1713
1713
  };
1714
- let r = t, i = n(e, r), a = m(r?.className, e?.className), o = {
1714
+ let r = t, i = n(e, r), a = p(r?.className, e?.className), o = {
1715
1715
  ...t,
1716
1716
  ...e,
1717
1717
  ...i
@@ -1770,26 +1770,26 @@ var Fe = (e) => {
1770
1770
  let n = k({
1771
1771
  props: e,
1772
1772
  name: "MuiPaper"
1773
- }), r = o(), { className: i, component: a = "div", elevation: s = 1, square: l = !1, variant: u = "elevation", ...d } = n, f = {
1773
+ }), r = a(), { className: i, component: o = "div", elevation: s = 1, square: c = !1, variant: l = "elevation", ...u } = n, f = {
1774
1774
  ...n,
1775
- component: a,
1775
+ component: o,
1776
1776
  elevation: s,
1777
- square: l,
1778
- variant: u
1779
- }, h = Fe(f);
1777
+ square: c,
1778
+ variant: l
1779
+ }, m = Fe(f);
1780
1780
  return /*#__PURE__*/ (0, G.jsx)(Ie, {
1781
- as: a,
1781
+ as: o,
1782
1782
  ownerState: f,
1783
- className: m(h.root, i),
1783
+ className: p(m.root, i),
1784
1784
  ref: t,
1785
- ...d,
1785
+ ...u,
1786
1786
  style: {
1787
- ...u === "elevation" && {
1787
+ ...l === "elevation" && {
1788
1788
  "--Paper-shadow": (r.vars || r).shadows[s],
1789
1789
  ...r.vars && { "--Paper-overlay": r.vars.overlays?.[s] },
1790
- ...!r.vars && r.palette.mode === "dark" && { "--Paper-overlay": `linear-gradient(${p("#fff", c(s))}, ${p("#fff", c(s))})` }
1790
+ ...!r.vars && r.palette.mode === "dark" && { "--Paper-overlay": `linear-gradient(${S("#fff", d(s))}, ${S("#fff", d(s))})` }
1791
1791
  },
1792
- ...d.style
1792
+ ...u.style
1793
1793
  }
1794
1794
  });
1795
1795
  }), Re = {
@@ -1801,10 +1801,10 @@ var Fe = (e) => {
1801
1801
  opacity: 0,
1802
1802
  visibility: "hidden"
1803
1803
  }, Be = /*#__PURE__*/ W.forwardRef(function(e, t) {
1804
- let n = o(), r = {
1804
+ let n = a(), r = {
1805
1805
  enter: n.transitions.duration.enteringScreen,
1806
1806
  exit: n.transitions.duration.leavingScreen
1807
- }, { addEndListener: i, appear: a = !0, children: s, disablePrefersReducedMotion: c = !1, easing: l, in: u, onEnter: d, onEntered: f, onEntering: p, onExit: m, onExited: h, onExiting: g, style: _, timeout: v = r, ...y } = e, b = oe(n.motion.reducedMotion, c), x = W.useRef(null), S = me(x, ae(s), t), C = j(x, p), w = j(x, (e, t) => {
1807
+ }, { addEndListener: i, appear: o = !0, children: s, disablePrefersReducedMotion: c = !1, easing: l, in: u, onEnter: d, onEntered: f, onEntering: p, onExit: m, onExited: h, onExiting: g, style: _, timeout: v = r, ...y } = e, b = oe(n.motion.reducedMotion, c), x = W.useRef(null), S = me(x, ae(s), t), C = j(x, p), w = j(x, (e, t) => {
1808
1808
  b.shouldReduceMotion || N(e);
1809
1809
  let r = O({
1810
1810
  style: _,
@@ -1821,7 +1821,7 @@ var Fe = (e) => {
1821
1821
  }), d && d(e, t);
1822
1822
  }), T = j(x, f), E = j(x, g);
1823
1823
  return /*#__PURE__*/ (0, G.jsx)(ue, {
1824
- appear: a,
1824
+ appear: o,
1825
1825
  in: u,
1826
1826
  nodeRef: x,
1827
1827
  onEnter: w,
@@ -1899,14 +1899,14 @@ var He = (e) => {
1899
1899
  ...n,
1900
1900
  component: a,
1901
1901
  invisible: o
1902
- }, p = He(f), h = {
1902
+ }, m = He(f), h = {
1903
1903
  component: a,
1904
1904
  slots: l,
1905
1905
  slotProps: c
1906
1906
  }, [g, _] = R("root", {
1907
1907
  elementType: Ue,
1908
1908
  externalForwardedProps: h,
1909
- className: m(p.root, i),
1909
+ className: p(m.root, i),
1910
1910
  ownerState: f
1911
1911
  }), [v, y] = R("transition", {
1912
1912
  elementType: Be,
@@ -2350,14 +2350,14 @@ var _t = (e) => {
2350
2350
  let n = k({
2351
2351
  name: "MuiModal",
2352
2352
  props: e
2353
- }), { classes: r, className: i, closeAfterTransition: a = !1, children: o, container: s, component: c, disableAutoFocus: l = !1, disableEnforceFocus: u = !1, disablePortal: d = !1, disableRestoreFocus: f = !1, disableScrollLock: p = !1, hideBackdrop: h = !1, keepMounted: g = !1, onClose: _, onTransitionEnter: v, onTransitionExited: y, open: b, slotProps: x = {}, slots: S = {}, theme: C, ...w } = n, T = {
2353
+ }), { classes: r, className: i, closeAfterTransition: a = !1, children: o, container: s, component: c, disableAutoFocus: l = !1, disableEnforceFocus: u = !1, disablePortal: d = !1, disableRestoreFocus: f = !1, disableScrollLock: m = !1, hideBackdrop: h = !1, keepMounted: g = !1, onClose: _, onTransitionEnter: v, onTransitionExited: y, open: b, slotProps: x = {}, slots: S = {}, theme: C, ...w } = n, T = {
2354
2354
  ...n,
2355
2355
  closeAfterTransition: a,
2356
2356
  disableAutoFocus: l,
2357
2357
  disableEnforceFocus: u,
2358
2358
  disablePortal: d,
2359
2359
  disableRestoreFocus: f,
2360
- disableScrollLock: p,
2360
+ disableScrollLock: m,
2361
2361
  hideBackdrop: h,
2362
2362
  keepMounted: g
2363
2363
  }, { getRootProps: E, getBackdropProps: D, getTransitionProps: ee, portalRef: O, portalContainer: A, isTopModal: j, exited: M, hasTransition: N } = ht({
@@ -2384,7 +2384,7 @@ var _t = (e) => {
2384
2384
  },
2385
2385
  getSlotProps: E,
2386
2386
  ownerState: P,
2387
- className: m(i, F?.root, !P.open && P.exited && F?.hidden)
2387
+ className: p(i, F?.root, !P.open && P.exited && F?.hidden)
2388
2388
  }), [re, z] = R("backdrop", {
2389
2389
  elementType: yt,
2390
2390
  externalForwardedProps: te,
@@ -2476,7 +2476,7 @@ var Ct = (e) => {
2476
2476
  value: u,
2477
2477
  children: /*#__PURE__*/ (0, G.jsxs)(wt, {
2478
2478
  as: a,
2479
- className: m(f.root, i),
2479
+ className: p(f.root, i),
2480
2480
  ref: t,
2481
2481
  ownerState: d,
2482
2482
  ...l,
@@ -2617,12 +2617,12 @@ function Mt(e) {
2617
2617
  n,
2618
2618
  r
2619
2619
  ]), c = I(e.ref, s);
2620
- return y(() => {
2620
+ return x(() => {
2621
2621
  i.current && n({
2622
2622
  ...a,
2623
2623
  element: i.current
2624
2624
  });
2625
- }, [a, n]), y(() => {
2625
+ }, [a, n]), x(() => {
2626
2626
  let t = e.id;
2627
2627
  return () => {
2628
2628
  r(t);
@@ -2886,7 +2886,7 @@ var ln = (e) => {
2886
2886
  }), { action: r, anchorEl: i, anchorOrigin: a = {
2887
2887
  vertical: "top",
2888
2888
  horizontal: "left"
2889
- }, anchorPosition: o, anchorReference: s = "anchorEl", children: c, className: l, container: u, disableAutoFocus: d = !1, elevation: f = 8, marginThreshold: p = 16, open: h, slots: g = {}, slotProps: _ = {}, transformOrigin: v = {
2889
+ }, anchorPosition: o, anchorReference: s = "anchorEl", children: c, className: l, container: u, disableAutoFocus: d = !1, elevation: f = 8, marginThreshold: m = 16, open: h, slots: g = {}, slotProps: _ = {}, transformOrigin: v = {
2890
2890
  vertical: "top",
2891
2891
  horizontal: "left"
2892
2892
  }, transitionDuration: y = "auto", disableScrollLock: b = !1, ...x } = n, S = W.useRef(), C = {
@@ -2894,7 +2894,7 @@ var ln = (e) => {
2894
2894
  anchorOrigin: a,
2895
2895
  anchorReference: s,
2896
2896
  elevation: f,
2897
- marginThreshold: p,
2897
+ marginThreshold: m,
2898
2898
  transformOrigin: v,
2899
2899
  transitionDuration: y
2900
2900
  }, w = ln(C), T = W.useCallback(() => {
@@ -2923,16 +2923,16 @@ var ln = (e) => {
2923
2923
  left: null,
2924
2924
  transformOrigin: sn(n)
2925
2925
  };
2926
- let r = T(), a = r.top - n.vertical, o = r.left - n.horizontal, c = a + t.height, l = o + t.width, u = Me(cn(i)), d = u.innerHeight - p, f = u.innerWidth - p;
2927
- if (p != null && a < p) {
2928
- let e = a - p;
2926
+ let r = T(), a = r.top - n.vertical, o = r.left - n.horizontal, c = a + t.height, l = o + t.width, u = Me(cn(i)), d = u.innerHeight - m, f = u.innerWidth - m;
2927
+ if (m != null && a < m) {
2928
+ let e = a - m;
2929
2929
  a -= e, n.vertical += e;
2930
- } else if (p != null && c > d) {
2930
+ } else if (m != null && c > d) {
2931
2931
  let e = c - d;
2932
2932
  a -= e, n.vertical += e;
2933
2933
  }
2934
- if (p != null && o < p) {
2935
- let e = o - p;
2934
+ if (m != null && o < m) {
2935
+ let e = o - m;
2936
2936
  o -= e, n.horizontal += e;
2937
2937
  } else if (l > f) {
2938
2938
  let e = l - f;
@@ -2948,7 +2948,7 @@ var ln = (e) => {
2948
2948
  s,
2949
2949
  T,
2950
2950
  E,
2951
- p
2951
+ m
2952
2952
  ]), [ee, O] = W.useState(h), A = W.useCallback(() => {
2953
2953
  let e = S.current;
2954
2954
  if (!e) return;
@@ -3019,7 +3019,7 @@ var ln = (e) => {
3019
3019
  open: h
3020
3020
  },
3021
3021
  ownerState: C,
3022
- className: m(w.root, l)
3022
+ className: p(w.root, l)
3023
3023
  }), [oe, se] = R("paper", {
3024
3024
  ref: S,
3025
3025
  className: w.paper,
@@ -3088,24 +3088,24 @@ var mn = {
3088
3088
  let n = k({
3089
3089
  props: e,
3090
3090
  name: "MuiMenu"
3091
- }), { autoFocus: i = !0, children: a, className: o, disableAutoFocusItem: s = !1, onClose: c, open: l, PopoverClasses: u, transitionDuration: d = "auto", variant: f = "selectedMenu", slots: p = {}, slotProps: m = {}, ...h } = n, g = r(), _ = {
3091
+ }), { autoFocus: r = !0, children: i, className: a, disableAutoFocusItem: o = !1, onClose: s, open: c, PopoverClasses: l, transitionDuration: u = "auto", variant: d = "selectedMenu", slots: f = {}, slotProps: p = {}, ...m } = n, h = g(), _ = {
3092
3092
  ...n,
3093
- autoFocus: i,
3094
- disableAutoFocusItem: s,
3095
- transitionDuration: d,
3096
- variant: f
3097
- }, v = gn(_), y = i && l, b = y && !s, x = W.useRef(null), S = (e, t) => {
3098
- x.current && (x.current.adjustStyleForScrollbar(e, { direction: g ? "rtl" : "ltr" }), y && x.current.focusInitialTarget?.());
3093
+ autoFocus: r,
3094
+ disableAutoFocusItem: o,
3095
+ transitionDuration: u,
3096
+ variant: d
3097
+ }, v = gn(_), y = r && c, b = y && !o, x = W.useRef(null), S = (e, t) => {
3098
+ x.current && (x.current.adjustStyleForScrollbar(e, { direction: h ? "rtl" : "ltr" }), y && x.current.focusInitialTarget?.());
3099
3099
  }, C = (e) => {
3100
- e.key === "Tab" && (e.preventDefault(), c && c(e, "tabKeyDown"));
3100
+ e.key === "Tab" && (e.preventDefault(), s && s(e, "tabKeyDown"));
3101
3101
  }, w = {
3102
- slots: p,
3103
- slotProps: m
3102
+ slots: f,
3103
+ slotProps: p
3104
3104
  }, T = ce({
3105
- elementType: p.root,
3106
- externalSlotProps: m.root,
3105
+ elementType: f.root,
3106
+ externalSlotProps: p.root,
3107
3107
  ownerState: _,
3108
- className: [v.root, o]
3108
+ className: [v.root, a]
3109
3109
  }), [E, D] = R("paper", {
3110
3110
  className: v.paper,
3111
3111
  elementType: vn,
@@ -3124,25 +3124,25 @@ var mn = {
3124
3124
  }
3125
3125
  }),
3126
3126
  ownerState: _
3127
- }), A = typeof m.transition == "function" ? m.transition(_) : m.transition;
3127
+ }), A = typeof p.transition == "function" ? p.transition(_) : p.transition;
3128
3128
  return /*#__PURE__*/ (0, G.jsx)(_n, {
3129
- disableAutoFocus: i,
3130
- onClose: c,
3129
+ disableAutoFocus: r,
3130
+ onClose: s,
3131
3131
  anchorOrigin: {
3132
3132
  vertical: "bottom",
3133
- horizontal: g ? "right" : "left"
3133
+ horizontal: h ? "right" : "left"
3134
3134
  },
3135
- transformOrigin: g ? mn : hn,
3135
+ transformOrigin: h ? mn : hn,
3136
3136
  slots: {
3137
- root: p.root,
3137
+ root: f.root,
3138
3138
  paper: E,
3139
- backdrop: p.backdrop,
3140
- transition: p.transition
3139
+ backdrop: f.backdrop,
3140
+ transition: f.transition
3141
3141
  },
3142
3142
  slotProps: {
3143
3143
  root: T,
3144
3144
  paper: D,
3145
- backdrop: typeof m.backdrop == "function" ? m.backdrop(_) : m.backdrop,
3145
+ backdrop: typeof p.backdrop == "function" ? p.backdrop(_) : p.backdrop,
3146
3146
  transition: {
3147
3147
  ...A,
3148
3148
  onEntering: (...e) => {
@@ -3150,19 +3150,19 @@ var mn = {
3150
3150
  }
3151
3151
  }
3152
3152
  },
3153
- open: l,
3153
+ open: c,
3154
3154
  ref: t,
3155
- transitionDuration: d,
3155
+ transitionDuration: u,
3156
3156
  ownerState: _,
3157
- ...h,
3158
- classes: u,
3157
+ ...m,
3158
+ classes: l,
3159
3159
  children: /*#__PURE__*/ (0, G.jsx)(ee, {
3160
3160
  actions: x,
3161
3161
  autoFocus: y,
3162
3162
  autoFocusItem: b,
3163
- variant: f,
3163
+ variant: d,
3164
3164
  ...O,
3165
- children: a
3165
+ children: i
3166
3166
  })
3167
3167
  });
3168
3168
  }), Z = (e) => {
@@ -3384,7 +3384,7 @@ var mn = {
3384
3384
  padding: 8
3385
3385
  },
3386
3386
  divActionsAction: {
3387
- ...S.normal14,
3387
+ ...m.normal14,
3388
3388
  borderRadius: 4,
3389
3389
  cursor: "pointer",
3390
3390
  textAlign: "center",
@@ -3405,7 +3405,7 @@ var mn = {
3405
3405
  padding: "1px 0"
3406
3406
  },
3407
3407
  divOptions: (e) => ({
3408
- ...b.propertiesPanel,
3408
+ ...C.propertiesPanel,
3409
3409
  scrollbarGutter: "initial",
3410
3410
  maxHeight: 400,
3411
3411
  padding: "0 8px",
@@ -3425,7 +3425,7 @@ var mn = {
3425
3425
  }
3426
3426
  }),
3427
3427
  header: (e) => ({
3428
- ...S.bold13,
3428
+ ...m.bold13,
3429
3429
  gap: 8,
3430
3430
  padding: "10px 16px",
3431
3431
  display: "flex",
@@ -3479,7 +3479,7 @@ var mn = {
3479
3479
  }
3480
3480
  }),
3481
3481
  divOptionsOptionCategory: (e) => ({
3482
- ...S.bold13,
3482
+ ...m.bold13,
3483
3483
  fontStyle: "var(--font-style)",
3484
3484
  textDecoration: "var(--text-decoration)",
3485
3485
  background: "var(--background-color)",
@@ -3505,16 +3505,16 @@ var mn = {
3505
3505
  }
3506
3506
  }),
3507
3507
  divOptionsOptionOption: (e) => ({
3508
- ...S.normal13,
3508
+ ...m.normal13,
3509
3509
  fontStyle: "var(--font-style)",
3510
- lineHeight: S.normal13.lineHeight,
3510
+ lineHeight: m.normal13.lineHeight,
3511
3511
  textDecoration: "var(--text-decoration)",
3512
3512
  "&[aria-disabled=\"true\"]": { cursor: "not-allowed" },
3513
3513
  "&[aria-expanded=\"true\"]": { background: n.grey5 },
3514
3514
  ...e && r
3515
3515
  }),
3516
3516
  divOptionsOptionOptionLabel: {
3517
- ...S.overflowEllipsis,
3517
+ ...m.overflowEllipsis,
3518
3518
  display: "initial !important",
3519
3519
  ...t && {
3520
3520
  height: "100%",
@@ -3533,7 +3533,7 @@ var mn = {
3533
3533
  }
3534
3534
  })
3535
3535
  };
3536
- }, kn = d(On("default")), An = d(On("legacy")), jn = (e, { appearance: t = "default" } = {}) => (t === "legacy" ? An : kn)(e), Mn = ({ tooltip: e, children: t }) => e ? /* @__PURE__ */ (0, G.jsx)(le, {
3536
+ }, kn = i(On("default")), An = i(On("legacy")), jn = (e, { appearance: t = "default" } = {}) => (t === "legacy" ? An : kn)(e), Mn = ({ tooltip: e, children: t }) => e ? /* @__PURE__ */ (0, G.jsx)(le, {
3537
3537
  title: e,
3538
3538
  children: t
3539
3539
  }) : t, Nn = ({ action: e, classNames: t }) => {
@@ -3542,7 +3542,7 @@ var mn = {
3542
3542
  tooltip: e.tooltip,
3543
3543
  children: /* @__PURE__ */ (0, G.jsx)("div", {
3544
3544
  "aria-disabled": r,
3545
- className: C({
3545
+ className: h({
3546
3546
  [t.divActionsAction]: !0,
3547
3547
  [t.divActionsAction__primary]: n === "primary",
3548
3548
  [t.divActionsAction__secondary]: n === "secondary"
@@ -3561,7 +3561,7 @@ var mn = {
3561
3561
  classNames: t,
3562
3562
  action: e
3563
3563
  }, e.key))
3564
- }) : null, Fn = d({ button: {
3564
+ }) : null, Fn = i({ button: {
3565
3565
  background: "initial",
3566
3566
  border: "initial",
3567
3567
  padding: "initial",
@@ -3572,14 +3572,14 @@ var mn = {
3572
3572
  let i = Fn();
3573
3573
  return /* @__PURE__ */ (0, G.jsx)("button", {
3574
3574
  ...n,
3575
- className: C({
3575
+ className: h({
3576
3576
  [String(t)]: !0,
3577
3577
  [i.button]: !0
3578
3578
  }),
3579
3579
  ref: r,
3580
3580
  children: e
3581
3581
  });
3582
- }), Ln = d({
3582
+ }), Ln = i({
3583
3583
  button: (e) => ({
3584
3584
  position: "absolute",
3585
3585
  right: 4,
@@ -3603,7 +3603,7 @@ var mn = {
3603
3603
  position: "relative"
3604
3604
  },
3605
3605
  input: (e) => ({
3606
- ...S.normal13,
3606
+ ...m.normal13,
3607
3607
  background: "initial",
3608
3608
  border: `1px solid ${n.grey3}`,
3609
3609
  borderRadius: 4,
@@ -3615,16 +3615,16 @@ var mn = {
3615
3615
  ...e && {
3616
3616
  [H.md]: {
3617
3617
  height: 20,
3618
- ...S.normal12
3618
+ ...m.normal12
3619
3619
  },
3620
3620
  [H.sm]: {
3621
3621
  height: 16,
3622
- ...S.normal11,
3622
+ ...m.normal11,
3623
3623
  padding: "3px 16px"
3624
3624
  },
3625
3625
  [H.xs]: {
3626
3626
  height: 12,
3627
- ...S.normal10,
3627
+ ...m.normal10,
3628
3628
  padding: "0px 12px"
3629
3629
  }
3630
3630
  },
@@ -3649,54 +3649,54 @@ var mn = {
3649
3649
  }
3650
3650
  }
3651
3651
  })
3652
- }), Rn = (0, W.forwardRef)(function({ autoFocus: e, className: t, onChange: n, value: r, placeholder: i, style: a, responsive: o, ...s }, c) {
3653
- let u = (0, W.useRef)(null), d = (0, W.useCallback)((e) => {
3654
- u.current = e, typeof c == "function" ? c(e) : c && (c.current = e);
3655
- }, [c]), f = Ln(o);
3652
+ }), Rn = (0, W.forwardRef)(function({ autoFocus: e, className: t, onChange: n, value: r, placeholder: i, style: a, responsive: s, ...c }, l) {
3653
+ let d = (0, W.useRef)(null), f = (0, W.useCallback)((e) => {
3654
+ d.current = e, typeof l == "function" ? l(e) : l && (l.current = e);
3655
+ }, [l]), p = Ln(s);
3656
3656
  return (0, W.useEffect)(() => {
3657
- e && u.current?.focus();
3657
+ e && d.current?.focus();
3658
3658
  }, [e]), /* @__PURE__ */ (0, G.jsxs)("div", {
3659
- className: C({
3659
+ className: h({
3660
3660
  [String(t)]: !0,
3661
- [f.div]: !0
3661
+ [p.div]: !0
3662
3662
  }),
3663
3663
  children: [
3664
- /* @__PURE__ */ (0, G.jsx)(l, {
3665
- className: f.svg,
3664
+ /* @__PURE__ */ (0, G.jsx)(u, {
3665
+ className: p.svg,
3666
3666
  fill: a?.color
3667
3667
  }),
3668
3668
  /* @__PURE__ */ (0, G.jsx)("input", {
3669
- ...s,
3669
+ ...c,
3670
3670
  style: { ...a },
3671
- className: f.input,
3671
+ className: p.input,
3672
3672
  onChange: n,
3673
3673
  placeholder: i ?? "Search...",
3674
- ref: d,
3674
+ ref: f,
3675
3675
  size: 1,
3676
3676
  value: r
3677
3677
  }),
3678
3678
  /* @__PURE__ */ (0, G.jsx)(In, {
3679
- className: f.button,
3679
+ className: p.button,
3680
3680
  "data-testid": "input-search-clear",
3681
3681
  onClick: () => {
3682
- u.current?.focus(), n?.({ target: { value: "" } });
3682
+ d.current?.focus(), n?.({ target: { value: "" } });
3683
3683
  },
3684
3684
  style: { display: r ? void 0 : "none" },
3685
- children: /* @__PURE__ */ (0, G.jsx)(g, { fill: a?.color })
3685
+ children: /* @__PURE__ */ (0, G.jsx)(o, { fill: a?.color })
3686
3686
  })
3687
3687
  ]
3688
3688
  });
3689
- }), zn = d({ button: {
3689
+ }), zn = i({ button: {
3690
3690
  paddingLeft: 4,
3691
3691
  paddingRight: 4
3692
3692
  } }), Bn = ({ isAllCollapsed: e, clickCallback: t }) => {
3693
- let n = zn(), r = e ? u : h;
3693
+ let n = zn(), i = e ? s : r;
3694
3694
  return /* @__PURE__ */ (0, G.jsx)(fe, {
3695
3695
  title: e ? "Expand all" : "Collapse all",
3696
3696
  children: /* @__PURE__ */ (0, G.jsx)(In, {
3697
3697
  onClick: () => t?.(!e),
3698
3698
  className: n.button,
3699
- children: /* @__PURE__ */ (0, G.jsx)(r, {})
3699
+ children: /* @__PURE__ */ (0, G.jsx)(i, {})
3700
3700
  })
3701
3701
  });
3702
3702
  }, Vn = ({ classNames: e, searchEnabled: t, searchPhrase: n, onChange: r, options: i, collapsed: a, onCollapseChange: o, responsive: s }) => {
@@ -3748,7 +3748,7 @@ var mn = {
3748
3748
  case t > 0: return "partial";
3749
3749
  default: return "none";
3750
3750
  }
3751
- }, Kn = d({
3751
+ }, Kn = i({
3752
3752
  container: {
3753
3753
  position: "relative",
3754
3754
  display: "flex",
@@ -3789,7 +3789,7 @@ var mn = {
3789
3789
  "&[aria-disabled=\"true\"]": { cursor: "default" }
3790
3790
  },
3791
3791
  label: {
3792
- ...S.normal13,
3792
+ ...m.normal13,
3793
3793
  color: n.grey1,
3794
3794
  cursor: "pointer",
3795
3795
  marginLeft: 8,
@@ -3810,11 +3810,11 @@ var mn = {
3810
3810
  tabIndex: 0
3811
3811
  }, Jn = ({ value: e, size: t, fill: r = n.mainBrightPink }) => {
3812
3812
  switch (e) {
3813
- case "full": return /* @__PURE__ */ (0, G.jsx)(a, {
3813
+ case "full": return /* @__PURE__ */ (0, G.jsx)(w, {
3814
3814
  fill: r,
3815
3815
  size: t
3816
3816
  });
3817
- case "partial": return /* @__PURE__ */ (0, G.jsx)(s, {
3817
+ case "partial": return /* @__PURE__ */ (0, G.jsx)(f, {
3818
3818
  fill: r,
3819
3819
  size: t
3820
3820
  });
@@ -3839,13 +3839,13 @@ var mn = {
3839
3839
  }, p = Kn();
3840
3840
  return /* @__PURE__ */ (0, G.jsxs)("div", {
3841
3841
  onClick: d,
3842
- className: C({
3842
+ className: h({
3843
3843
  [p.container]: !0,
3844
3844
  [p.checkboxWithLabel]: !!l
3845
3845
  }),
3846
3846
  "data-testid": u,
3847
3847
  children: [/* @__PURE__ */ (0, G.jsxs)("div", {
3848
- className: C({
3848
+ className: h({
3849
3849
  [p.checkboxContainer]: !0,
3850
3850
  [p.checkboxWithLabel]: !!l
3851
3851
  }),
@@ -3861,7 +3861,7 @@ var mn = {
3861
3861
  },
3862
3862
  tabIndex: c,
3863
3863
  onKeyDown: f,
3864
- className: C({
3864
+ className: h({
3865
3865
  [p.checkbox]: !0,
3866
3866
  [p.checkboxUnchecked]: t === "none",
3867
3867
  [p.checkboxChecked]: t === "full" || t === "partial"
@@ -3876,7 +3876,7 @@ var mn = {
3876
3876
  })
3877
3877
  })]
3878
3878
  }), l ? /* @__PURE__ */ (0, G.jsx)("span", {
3879
- className: C({
3879
+ className: h({
3880
3880
  [p.label]: !0,
3881
3881
  disabled: i
3882
3882
  }),
@@ -3904,7 +3904,7 @@ var mn = {
3904
3904
  option: t,
3905
3905
  searchPhrase: n
3906
3906
  })
3907
- }), $n = d({
3907
+ }), $n = i({
3908
3908
  container: {
3909
3909
  position: "relative",
3910
3910
  display: "flex",
@@ -3940,11 +3940,11 @@ var mn = {
3940
3940
  tabIndex: 0
3941
3941
  }, tr = ({ checkedType: e, size: t, fill: r = n.mainBrightPink }) => {
3942
3942
  switch (e) {
3943
- case "full": return /* @__PURE__ */ (0, G.jsx)(a, {
3943
+ case "full": return /* @__PURE__ */ (0, G.jsx)(w, {
3944
3944
  fill: r,
3945
3945
  size: t
3946
3946
  });
3947
- case "partial": return /* @__PURE__ */ (0, G.jsx)(s, {
3947
+ case "partial": return /* @__PURE__ */ (0, G.jsx)(f, {
3948
3948
  fill: r,
3949
3949
  size: t
3950
3950
  });
@@ -3975,7 +3975,7 @@ var mn = {
3975
3975
  },
3976
3976
  tabIndex: c,
3977
3977
  onKeyDown: d,
3978
- className: C({
3978
+ className: h({
3979
3979
  [f.checkbox]: !0,
3980
3980
  [f.checkboxUnchecked]: !l,
3981
3981
  [f.checkboxChecked]: !p && l
@@ -3995,7 +3995,7 @@ var mn = {
3995
3995
  disabled: n,
3996
3996
  size: r
3997
3997
  }) : null, ir = ({ multiSelect: e = !1, ...t }) => {
3998
- let n = x(), r = t.responsive ? _e(16, n.height, n.width) : 16;
3998
+ let n = b(), r = t.responsive ? _e(16, n.height, n.width) : 16;
3999
3999
  return /* @__PURE__ */ (0, G.jsx)(ar, {
4000
4000
  ...t,
4001
4001
  appearance: "legacy",
@@ -4021,12 +4021,12 @@ var mn = {
4021
4021
  })
4022
4022
  })
4023
4023
  });
4024
- }, ar = ({ actions: e = [], onClose: t, onCloseClick: n = t, options: r, stickyOptions: a, searchEnabled: o = !1, style: s = {}, cssVariables: c, header: l, pickedOptionsIds: u, responsive: d, appearance: f = "default", renderOptions: p }) => {
4025
- let m = i(), h = jn(d, { appearance: f }), [g, _] = (0, W.useState)({}), [v, y] = (0, W.useState)({}), [b, x] = (0, W.useState)(""), S = (e) => {
4024
+ }, ar = ({ actions: e = [], onClose: t, onCloseClick: n = t, options: r, stickyOptions: i, searchEnabled: a = !1, style: o = {}, cssVariables: s, header: c, pickedOptionsIds: u, responsive: d, appearance: f = "default", renderOptions: p }) => {
4025
+ let m = l(), h = jn(d, { appearance: f }), [g, _] = (0, W.useState)({}), [v, y] = (0, W.useState)({}), [b, x] = (0, W.useState)(""), S = (e) => {
4026
4026
  x(e), y({});
4027
4027
  }, C = {
4028
4028
  ...wn,
4029
- ...c
4029
+ ...s
4030
4030
  }, w = Tn(C, { appearance: f }), T = {
4031
4031
  ...C,
4032
4032
  ...w
@@ -4049,7 +4049,7 @@ var mn = {
4049
4049
  return /* @__PURE__ */ (0, G.jsxs)("div", {
4050
4050
  style: {
4051
4051
  ...T,
4052
- ...s
4052
+ ...o
4053
4053
  },
4054
4054
  className: h.container,
4055
4055
  onClick: (e) => {
@@ -4057,17 +4057,17 @@ var mn = {
4057
4057
  },
4058
4058
  onKeyDown: D,
4059
4059
  children: [
4060
- l ? /* @__PURE__ */ (0, G.jsxs)("div", {
4060
+ c ? /* @__PURE__ */ (0, G.jsxs)("div", {
4061
4061
  className: h.header,
4062
4062
  children: [
4063
4063
  " ",
4064
- l,
4064
+ c,
4065
4065
  " "
4066
4066
  ]
4067
4067
  }) : null,
4068
- a?.length ? p({
4068
+ i?.length ? p({
4069
4069
  classNames: h,
4070
- options: a,
4070
+ options: i,
4071
4071
  searchPhrase: "",
4072
4072
  collapsed: g,
4073
4073
  setCollapsed: _,
@@ -4077,7 +4077,7 @@ var mn = {
4077
4077
  autoFocus: m
4078
4078
  }, !0) : null,
4079
4079
  /* @__PURE__ */ (0, G.jsx)(Vn, {
4080
- searchEnabled: o,
4080
+ searchEnabled: a,
4081
4081
  searchPhrase: b,
4082
4082
  onChange: S,
4083
4083
  classNames: h,
@@ -4140,7 +4140,7 @@ var mn = {
4140
4140
  options: o
4141
4141
  })
4142
4142
  });
4143
- }, $ = ({ icon: e }) => e ? /* @__PURE__ */ (0, G.jsx)("div", { children: e }) : null, cr = d({ span: { fontWeight: "bold" } }), lr = (e, t) => {
4143
+ }, $ = ({ icon: e }) => e ? /* @__PURE__ */ (0, G.jsx)("div", { children: e }) : null, cr = i({ span: { fontWeight: "bold" } }), lr = (e, t) => {
4144
4144
  let n = cr();
4145
4145
  if (!e) return [{ children: t }];
4146
4146
  let r = e.toLocaleLowerCase(), i = t.toLocaleLowerCase(), a = [], o = 0;
@@ -4171,40 +4171,40 @@ var mn = {
4171
4171
  }, fr = ({ tooltipTitle: e }) => e ? /* @__PURE__ */ (0, G.jsx)(le, {
4172
4172
  title: e,
4173
4173
  children: /* @__PURE__ */ (0, G.jsx)("div", { children: /* @__PURE__ */ (0, G.jsx)(v, {}) })
4174
- }) : null, pr = ({ classNames: e, option: t, setOpenedElement: n, collapsed: r, setCollapsed: i, searchPhrase: a, checkbox: o, renderOption: s }) => {
4175
- let { children: c, disabled: l = !1, label: d, tooltip: f, key: p } = t;
4174
+ }) : null, pr = ({ classNames: e, option: t, setOpenedElement: n, collapsed: i, setCollapsed: a, searchPhrase: o, checkbox: c, renderOption: l }) => {
4175
+ let { children: u, disabled: d = !1, label: f, tooltip: p, key: m } = t;
4176
4176
  return /* @__PURE__ */ (0, G.jsxs)(W.Fragment, { children: [/* @__PURE__ */ (0, G.jsx)(fe, {
4177
- title: d,
4177
+ title: f,
4178
4178
  children: /* @__PURE__ */ (0, G.jsxs)("div", {
4179
- "aria-disabled": l,
4180
- "aria-expanded": !r[p],
4181
- className: C({
4179
+ "aria-disabled": d,
4180
+ "aria-expanded": !i[m],
4181
+ className: h({
4182
4182
  [e.divOptionsOption]: !0,
4183
4183
  [e.divOptionsOptionCategory]: !0
4184
4184
  }),
4185
4185
  onClick: () => {
4186
- i({
4187
- ...r,
4188
- [p]: !r[p]
4186
+ a({
4187
+ ...i,
4188
+ [m]: !i[m]
4189
4189
  }), n({});
4190
4190
  },
4191
4191
  onKeyDown: Z,
4192
4192
  role: "menuitem",
4193
- tabIndex: l ? void 0 : 0,
4193
+ tabIndex: d ? void 0 : 0,
4194
4194
  children: [
4195
- o,
4195
+ c,
4196
4196
  /* @__PURE__ */ (0, G.jsx)(dr, {
4197
- label: d,
4198
- searchPhrase: a,
4197
+ label: f,
4198
+ searchPhrase: o,
4199
4199
  classNames: e
4200
4200
  }),
4201
- /* @__PURE__ */ (0, G.jsx)(fr, { tooltipTitle: f }),
4202
- /* @__PURE__ */ (0, G.jsx)($, { icon: r[p] ? /* @__PURE__ */ (0, G.jsx)(u, {}) : /* @__PURE__ */ (0, G.jsx)(h, {}) })
4201
+ /* @__PURE__ */ (0, G.jsx)(fr, { tooltipTitle: p }),
4202
+ /* @__PURE__ */ (0, G.jsx)($, { icon: i[m] ? /* @__PURE__ */ (0, G.jsx)(s, {}) : /* @__PURE__ */ (0, G.jsx)(r, {}) })
4203
4203
  ]
4204
4204
  })
4205
- }), r[p] ? null : c.map(s)] }, p);
4205
+ }), i[m] ? null : u.map(l)] }, m);
4206
4206
  }, mr = ({ classNames: e, option: t }) => /* @__PURE__ */ (0, G.jsx)("div", {
4207
- className: C({
4207
+ className: h({
4208
4208
  [e.divOptionsOption]: !0,
4209
4209
  [e.divOptionsOptionDivider]: !0
4210
4210
  }),
@@ -4216,7 +4216,7 @@ var mn = {
4216
4216
  children: /* @__PURE__ */ (0, G.jsx)("div", {
4217
4217
  style: { backgroundColor: s || void 0 },
4218
4218
  "aria-disabled": i,
4219
- className: C({
4219
+ className: h({
4220
4220
  [t.divOptionsOption]: !0,
4221
4221
  [t.divOptionsOptionOption]: !0
4222
4222
  }),
@@ -4228,24 +4228,24 @@ var mn = {
4228
4228
  })
4229
4229
  }, o);
4230
4230
  }, gr = (e) => {
4231
- let t = e.option, n = e.classNames, { openedElement: r, setOpenedElement: i, onCloseClick: o, pickedOptionsIds: s, checkbox: c, multiSelect: l = !1, appearance: u = "default", renderSubmenu: d } = e, { children: f = [], disabled: p = !1, icon: m = {}, label: h, onClick: g, tooltip: v, key: y, color: b } = t, x = s?.includes(y), S = b ? Cn(b) : _.fill, C = m.right ?? (x ? /* @__PURE__ */ (0, G.jsx)(a, { fill: S ?? void 0 }) : null), w = _.size, T = !!C, E;
4232
- return f.length ? (E = (e) => {
4233
- p || i({ [y]: e.currentTarget });
4231
+ let t = e.option, n = e.classNames, { openedElement: r, setOpenedElement: i, onCloseClick: a, pickedOptionsIds: o, checkbox: s, multiSelect: c = !1, appearance: l = "default", renderSubmenu: u } = e, { children: d = [], disabled: f = !1, icon: p = {}, label: m, onClick: h, tooltip: g, key: _, color: v } = t, b = o?.includes(_), x = v ? Cn(v) : y.fill, S = p.right ?? (b ? /* @__PURE__ */ (0, G.jsx)(w, { fill: x ?? void 0 }) : null), C = y.size, T = !!S, E;
4232
+ return d.length ? (E = (e) => {
4233
+ f || i({ [_]: e.currentTarget });
4234
4234
  }, /* @__PURE__ */ (0, G.jsxs)(W.Fragment, { children: [/* @__PURE__ */ (0, G.jsxs)(hr, {
4235
4235
  ...e,
4236
4236
  onClick: E,
4237
4237
  children: [
4238
- /* @__PURE__ */ (0, G.jsx)($, { icon: m.left }),
4238
+ /* @__PURE__ */ (0, G.jsx)($, { icon: p.left }),
4239
4239
  /* @__PURE__ */ (0, G.jsx)(dr, {
4240
- label: h,
4240
+ label: m,
4241
4241
  classNames: n,
4242
- color: b
4242
+ color: v
4243
4243
  }),
4244
- /* @__PURE__ */ (0, G.jsx)(fr, { tooltipTitle: v }),
4245
- /* @__PURE__ */ (0, G.jsx)($, { icon: C })
4244
+ /* @__PURE__ */ (0, G.jsx)(fr, { tooltipTitle: g }),
4245
+ /* @__PURE__ */ (0, G.jsx)($, { icon: S })
4246
4246
  ]
4247
- }), d({
4248
- anchorEl: r[y],
4247
+ }), u({
4248
+ anchorEl: r[_],
4249
4249
  anchorOrigin: {
4250
4250
  horizontal: "left",
4251
4251
  vertical: "top"
@@ -4254,32 +4254,32 @@ var mn = {
4254
4254
  i({});
4255
4255
  },
4256
4256
  onCloseClick: (e) => {
4257
- o(e), i({});
4257
+ a(e), i({});
4258
4258
  },
4259
- options: f,
4259
+ options: d,
4260
4260
  transformOrigin: {
4261
4261
  horizontal: "right",
4262
4262
  vertical: "top"
4263
4263
  }
4264
- })] }, y)) : (E = (e) => {
4265
- p || (g?.(e), !l && !c && o(e));
4264
+ })] }, _)) : (E = (e) => {
4265
+ f || (h?.(e), !c && !s && a(e));
4266
4266
  }, /* @__PURE__ */ (0, G.jsxs)(hr, {
4267
4267
  ...e,
4268
4268
  onClick: E,
4269
4269
  children: [
4270
- t.checkboxPosition !== ye.right && c,
4271
- /* @__PURE__ */ (0, G.jsx)($, { icon: m.left }),
4270
+ t.checkboxPosition !== ye.right && s,
4271
+ /* @__PURE__ */ (0, G.jsx)($, { icon: p.left }),
4272
4272
  /* @__PURE__ */ (0, G.jsx)(dr, {
4273
- label: h,
4273
+ label: m,
4274
4274
  classNames: n,
4275
- color: b
4275
+ color: v
4276
4276
  }),
4277
- /* @__PURE__ */ (0, G.jsx)(fr, { tooltipTitle: v }),
4278
- T ? /* @__PURE__ */ (0, G.jsx)($, { icon: C }) : u === "default" ? /* @__PURE__ */ (0, G.jsx)("div", {
4279
- style: { width: w },
4277
+ /* @__PURE__ */ (0, G.jsx)(fr, { tooltipTitle: g }),
4278
+ T ? /* @__PURE__ */ (0, G.jsx)($, { icon: S }) : l === "default" ? /* @__PURE__ */ (0, G.jsx)("div", {
4279
+ style: { width: C },
4280
4280
  "aria-hidden": !0
4281
4281
  }) : null,
4282
- t.checkboxPosition === ye.right && c
4282
+ t.checkboxPosition === ye.right && s
4283
4283
  ]
4284
4284
  }));
4285
4285
  }, _r = (e) => {