@astrato-io/visualizations 0.11.0 → 0.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (135) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/README.md +129 -4
  3. package/VISUALIZATION_DEFINITIONS.md +3 -1
  4. package/chunks/{Button-CPG4WX8X.js → Button-CQdoKSXX.js} +3 -3
  5. package/chunks/{CircularProgress-PSLW8HmD.js → CircularProgress-DpT1lwWw.js} +18 -18
  6. package/chunks/FieldTypeIcon-Cg4F9Q5D.js +22 -0
  7. package/chunks/{LinearProgress-KQ2EQlGL.js → LinearProgress-B7S0Q26A.js} +8 -8
  8. package/chunks/{MenuOption-B-6K7kks.js → MenuOption-DpKFJxmo.js} +133 -133
  9. package/chunks/{Title-BmvwZYkh.js → Title-m5damhc0.js} +10 -10
  10. package/chunks/{_createAggregator-CFmH6gUN.js → _createAggregator-BA8_iU9q.js} +7 -7
  11. package/chunks/{app-filter-bar.compiler-BY5-T16I.js → app-filter-bar.compiler--T4Qz3Wu.js} +3 -3
  12. package/chunks/{bar-layout-BNou0dZF.js → bar-layout-OFhxn2Go.js} +2 -2
  13. package/chunks/{bar.compiler-BkhO7sDd.js → bar.compiler-hWZBYYvV.js} +62 -62
  14. package/chunks/{builder-CNjuqD2z.js → builder-7w_bgV_h.js} +31 -31
  15. package/chunks/{coloring-BOiP0rmn.js → coloring-Cd6p0GQJ.js} +88 -83
  16. package/chunks/{createSimplePaletteValueFilter-BkgQ7MFE.js → createSimplePaletteValueFilter-CiJT8s1s.js} +55 -55
  17. package/chunks/defaults-CMFqXvaJ.js +3 -0
  18. package/chunks/{definitions-AS9GcavE.js → definitions-DTauTjIX.js} +412 -406
  19. package/chunks/{escobar-cQ1eQ64G.js → escobar-CMvphKSK.js} +4787 -4717
  20. package/chunks/{extend-preset-BlCbcXKR.js → extend-preset-BpXttHFk.js} +371 -372
  21. package/chunks/{filter.compiler-CI7dDNM1.js → filter.compiler-DOGFweJz.js} +4 -4
  22. package/chunks/{filtering-Dwi7hDPZ.js → filtering-NOnDcGbo.js} +183 -183
  23. package/chunks/handlers-CyYFSfhM.js +15393 -0
  24. package/chunks/{icon-picker-styles-CBlxEu3s.js → icon-picker-styles-DuSERhBU.js} +2 -2
  25. package/chunks/{isEqual-BdHo6wqq.js → isEqual-4f8yUUtC.js} +1 -1
  26. package/chunks/{isFocusVisible-C1nlVUwL.js → isFocusVisible-Czm70MGc.js} +1 -1
  27. package/chunks/line.compiler-B-4H55_T.js +203 -0
  28. package/chunks/{logger-Bc-DqDM_.js → logger-Cioob-QV.js} +71 -70
  29. package/chunks/{map.compiler-CRO6XpdI.js → map.compiler-Cv5V6EhF.js} +13 -13
  30. package/chunks/measure-axis-label-format-COy8U_dd.js +27 -0
  31. package/chunks/{measure-format-default-B6ghxih7.js → measure-format-default-B_kuGSzi.js} +7 -3
  32. package/chunks/{metadata-CtkvZEhS.js → metadata-dGSe5UWy.js} +5 -5
  33. package/chunks/{number.compiler-kV4lobCZ.js → number.compiler-D7nMcEMv.js} +8 -8
  34. package/chunks/{operations-COl9wgqi.js → operations-CgfehCad.js} +11462 -11223
  35. package/chunks/{range-CMJ5yc5Z.js → range-Dmwp9kVB.js} +2 -2
  36. package/chunks/{react-dom-BjsCbYHq.js → react-dom-CfuL-m78.js} +24 -24
  37. package/chunks/{render-wrappers-DFHi3Wkr.js → render-wrappers--g-zPFBW.js} +1 -1
  38. package/chunks/{requirements-C5YLmHKe.js → requirements-DHayNJ2C.js} +83 -83
  39. package/chunks/{shared-DyqxOie0.js → shared-DoEN9nNM.js} +282 -277
  40. package/chunks/standalone-B3hRGgYi.js +773 -0
  41. package/chunks/{standalone-BYK2U0Vd.js → standalone-BPNXgFft.js} +380 -380
  42. package/chunks/standalone-BPTT8XEu.js +424 -0
  43. package/chunks/standalone-BgAeHROc.js +2 -0
  44. package/chunks/{standalone-I5kRIsp8.js → standalone-BkQxag7M.js} +81 -81
  45. package/chunks/{standalone-DYVYccmY.js → standalone-Bxa3x6dg.js} +913 -913
  46. package/chunks/standalone-C0If-V6O.js +773 -0
  47. package/chunks/standalone-C1TOyflX.js +287 -0
  48. package/chunks/{standalone-DaNxWIKn.js → standalone-CE5PwJN0.js} +21 -21
  49. package/chunks/{standalone-K2OvRAQM.js → standalone-CG7IFN6n.js} +121 -121
  50. package/chunks/{standalone-Db_HNuWx.js → standalone-CKlgGu80.js} +44 -44
  51. package/chunks/standalone-CNf-oA2U.js +355 -0
  52. package/chunks/{standalone-9jrQ3zJT.js → standalone-CXPdWFlw.js} +10 -10
  53. package/chunks/{standalone-c4CPN6ug.js → standalone-Cf0_5tbu.js} +5783 -5785
  54. package/chunks/{standalone-Bp4G3MDx.js → standalone-DMi4-Vp3.js} +118 -118
  55. package/chunks/{standalone-BrjtMIdd.js → standalone-DTEX67C8.js} +108 -108
  56. package/chunks/{standalone-iOnJhCvA.js → standalone-DU46-kYv.js} +181 -181
  57. package/chunks/standalone-Dbn3jSH6.js +690 -0
  58. package/chunks/{standalone-CS5VGoja.js → standalone-DdcAL_k_.js} +833 -837
  59. package/chunks/standalone-DwCIA0UG.js +1057 -0
  60. package/chunks/standalone-Dz13tl3P.js +357 -0
  61. package/chunks/{standalone-CIjNYyya.js → standalone-H9GFzFk_.js} +937 -938
  62. package/chunks/{standalone-ChfEHb28.js → standalone-MduR0qre.js} +1279 -1279
  63. package/chunks/standalone-ejTz66P3.js +2 -0
  64. package/chunks/{standalone-D9k5SCd8.js → standalone-keB-0wK3.js} +189 -189
  65. package/chunks/{standalone-Bsfz5vnJ.js → standalone-nnkuQd0K.js} +35 -35
  66. package/chunks/standalone-vGGR6Vcn.js +6 -0
  67. package/chunks/{table.compiler-CMH_dtYs.js → table.compiler-mS4UvhLT.js} +12 -12
  68. package/chunks/theme-MYp6Rj1J.js +232 -0
  69. package/chunks/{useFieldName-BfxBzhhH.js → useFieldName-AdSak4Ch.js} +1 -1
  70. package/chunks/{utils-BdJrEeIQ.js → utils-CUKgR7it.js} +3265 -3133
  71. package/chunks/{view-Q-_XIrWE.js → view-BeYwpcVD.js} +478 -478
  72. package/chunks/{visualization-filters-BwS0xUqs.js → visualization-filters-B9qik5_K.js} +2706 -2384
  73. package/chunks/{with-html-element-D_ooGNWI.js → with-html-element-1GSeLT59.js} +3888 -3870
  74. package/definitions.js +2 -2
  75. package/docs/operations/astrato-app-filter-bar.md +1 -1
  76. package/docs/operations/bar.md +115 -32
  77. package/docs/operations/combo.md +50 -17
  78. package/docs/operations/date-picker.md +4 -4
  79. package/docs/operations/distribution-gauge.md +18 -16
  80. package/docs/operations/dot.md +107 -24
  81. package/docs/operations/filter.md +10 -8
  82. package/docs/operations/gauge.md +20 -18
  83. package/docs/operations/heatMap.md +73 -21
  84. package/docs/operations/histogram.md +45 -12
  85. package/docs/operations/iframe.md +1 -1
  86. package/docs/operations/image.md +1 -1
  87. package/docs/operations/index.md +11 -11
  88. package/docs/operations/line.md +57 -24
  89. package/docs/operations/map.md +16 -16
  90. package/docs/operations/number.md +10 -9
  91. package/docs/operations/pie.md +23 -21
  92. package/docs/operations/radar.md +13 -11
  93. package/docs/operations/sankey.md +19 -17
  94. package/docs/operations/scatter.md +111 -28
  95. package/docs/operations/shape.md +5 -5
  96. package/docs/operations/simpleTextObject.md +4 -4
  97. package/docs/operations/slider.md +1 -1
  98. package/docs/operations/table.md +27 -25
  99. package/docs/operations/tree.md +5 -3
  100. package/docs/operations/treemap.md +70 -18
  101. package/docs/operations/waterfall.md +40 -7
  102. package/docs/operations/word-cloud.md +69 -17
  103. package/getters.js +2 -2
  104. package/index.js +474 -525
  105. package/metadata.js +2 -2
  106. package/operations.js +24 -17
  107. package/package.json +71 -72
  108. package/src/definitions/model/definitions/descriptors/descriptor-metadata.d.ts +1 -1
  109. package/src/definitions/model/definitions/schema-registry.d.ts +13 -12
  110. package/src/definitions/model/definitions/schemas/bar.schema.d.ts +2 -2
  111. package/src/definitions/model/definitions/schemas/common.schema.d.ts +5 -4
  112. package/src/definitions/model/definitions/schemas/line.schema.d.ts +3 -2
  113. package/src/definitions/model/definitions/schemas/number.schema.d.ts +1 -1
  114. package/src/definitions/model/definitions/schemas/table.schema.d.ts +14 -14
  115. package/src/index.d.ts +1 -1
  116. package/src/operations/index.d.ts +11 -1
  117. package/src/types.d.ts +166 -1
  118. package/chunks/FieldTypeIcon-5k2bkqd0.js +0 -22
  119. package/chunks/category-axis-D1OVyMrr.js +0 -20
  120. package/chunks/color-rules-DYJL4fIW.js +0 -15
  121. package/chunks/color-settings-DJFoFTip.js +0 -5
  122. package/chunks/defaults-B5_8S-J-.js +0 -3
  123. package/chunks/handlers-C63NVo7i.js +0 -15433
  124. package/chunks/line.compiler-DCv3h42f.js +0 -198
  125. package/chunks/standalone-06i1wmIX.js +0 -6
  126. package/chunks/standalone-B6zUvxNQ.js +0 -357
  127. package/chunks/standalone-Be5APcVv.js +0 -762
  128. package/chunks/standalone-BuXpKMnc.js +0 -2
  129. package/chunks/standalone-CUGt2FUF.js +0 -2
  130. package/chunks/standalone-CnF2OYLQ.js +0 -355
  131. package/chunks/standalone-CznEEiq3.js +0 -422
  132. package/chunks/standalone-DcuE8KBa.js +0 -287
  133. package/chunks/standalone-pCrzBiTy.js +0 -773
  134. package/chunks/standalone-qrZaimgC.js +0 -689
  135. package/chunks/standalone-yqDJ8h3K.js +0 -1012
@@ -1,13 +1,13 @@
1
1
  import { o as e, t } from "./rolldown-runtime-DleVn1XH.js";
2
- import { Na as n } from "./visualization-filters-BwS0xUqs.js";
3
- import { Ar as r, Br as i, Fr as a, G as o, Ir as s, K as c, Kn as l, Mr as u, Rn as d, V as f, Y as p, at as m, ci as h, cn as g, et as _, li as v, r as y, rr as b, rt as x, si as S, tt as C, ui as w } from "./utils-BdJrEeIQ.js";
4
- import "./logger-Bc-DqDM_.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-BjsCbYHq.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-C1nlVUwL.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-BmvwZYkh.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-BOiP0rmn.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(v(), 1), G = i(), ke = x, 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,24 +1770,24 @@ var Fe = (e) => {
1770
1770
  let n = k({
1771
1771
  props: e,
1772
1772
  name: "MuiPaper"
1773
- }), r = c(), { className: i, component: a = "div", elevation: o = 1, square: s = !1, variant: l = "elevation", ...u } = n, d = {
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,
1776
- elevation: o,
1777
- square: s,
1775
+ component: o,
1776
+ elevation: s,
1777
+ square: c,
1778
1778
  variant: l
1779
- }, f = Fe(d);
1779
+ }, m = Fe(f);
1780
1780
  return /*#__PURE__*/ (0, G.jsx)(Ie, {
1781
- as: a,
1782
- ownerState: d,
1783
- className: m(f.root, i),
1781
+ as: o,
1782
+ ownerState: f,
1783
+ className: p(m.root, i),
1784
1784
  ref: t,
1785
1785
  ...u,
1786
1786
  style: {
1787
1787
  ...l === "elevation" && {
1788
- "--Paper-shadow": (r.vars || r).shadows[o],
1789
- ...r.vars && { "--Paper-overlay": r.vars.overlays?.[o] },
1790
- ...!r.vars && r.palette.mode === "dark" && { "--Paper-overlay": `linear-gradient(${C("#fff", p(o))}, ${C("#fff", p(o))})` }
1788
+ "--Paper-shadow": (r.vars || r).shadows[s],
1789
+ ...r.vars && { "--Paper-overlay": r.vars.overlays?.[s] },
1790
+ ...!r.vars && r.palette.mode === "dark" && { "--Paper-overlay": `linear-gradient(${S("#fff", d(s))}, ${S("#fff", d(s))})` }
1791
1791
  },
1792
1792
  ...u.style
1793
1793
  }
@@ -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 = c(), 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: o, disablePrefersReducedMotion: s = !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, s), x = W.useRef(null), S = me(x, ae(o), 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,
@@ -1853,8 +1853,8 @@ var Fe = (e) => {
1853
1853
  timeout: v,
1854
1854
  ...y,
1855
1855
  children: (e, { ownerState: t, ...n }) => {
1856
- let r = M(e, u, Re, ze, _, o.props.style);
1857
- return /*#__PURE__*/ W.cloneElement(o, {
1856
+ let r = M(e, u, Re, ze, _, s.props.style);
1857
+ return /*#__PURE__*/ W.cloneElement(s, {
1858
1858
  style: r,
1859
1859
  ref: S,
1860
1860
  ...n
@@ -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,
@@ -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,13 +3088,13 @@ var mn = {
3088
3088
  let n = k({
3089
3089
  props: e,
3090
3090
  name: "MuiMenu"
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 = {
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
3093
  autoFocus: r,
3094
3094
  disableAutoFocusItem: o,
3095
3095
  transitionDuration: u,
3096
3096
  variant: d
3097
- }, v = gn(g), y = r && c, b = y && !o, x = W.useRef(null), S = (e, t) => {
3097
+ }, v = gn(_), y = r && c, b = y && !o, x = W.useRef(null), S = (e, t) => {
3098
3098
  x.current && (x.current.adjustStyleForScrollbar(e, { direction: h ? "rtl" : "ltr" }), y && x.current.focusInitialTarget?.());
3099
3099
  }, C = (e) => {
3100
3100
  e.key === "Tab" && (e.preventDefault(), s && s(e, "tabKeyDown"));
@@ -3104,14 +3104,14 @@ var mn = {
3104
3104
  }, T = ce({
3105
3105
  elementType: f.root,
3106
3106
  externalSlotProps: p.root,
3107
- ownerState: g,
3107
+ ownerState: _,
3108
3108
  className: [v.root, a]
3109
3109
  }), [E, D] = R("paper", {
3110
3110
  className: v.paper,
3111
3111
  elementType: vn,
3112
3112
  externalForwardedProps: w,
3113
3113
  shouldForwardComponentProp: !0,
3114
- ownerState: g
3114
+ ownerState: _
3115
3115
  }), [ee, O] = R("list", {
3116
3116
  className: v.list,
3117
3117
  elementType: yn,
@@ -3123,8 +3123,8 @@ var mn = {
3123
3123
  C(t), e.onKeyDown?.(t);
3124
3124
  }
3125
3125
  }),
3126
- ownerState: g
3127
- }), A = typeof p.transition == "function" ? p.transition(g) : p.transition;
3126
+ ownerState: _
3127
+ }), A = typeof p.transition == "function" ? p.transition(_) : p.transition;
3128
3128
  return /*#__PURE__*/ (0, G.jsx)(_n, {
3129
3129
  disableAutoFocus: r,
3130
3130
  onClose: s,
@@ -3142,7 +3142,7 @@ var mn = {
3142
3142
  slotProps: {
3143
3143
  root: T,
3144
3144
  paper: D,
3145
- backdrop: typeof p.backdrop == "function" ? p.backdrop(g) : p.backdrop,
3145
+ backdrop: typeof p.backdrop == "function" ? p.backdrop(_) : p.backdrop,
3146
3146
  transition: {
3147
3147
  ...A,
3148
3148
  onEntering: (...e) => {
@@ -3153,7 +3153,7 @@ var mn = {
3153
3153
  open: c,
3154
3154
  ref: t,
3155
3155
  transitionDuration: u,
3156
- ownerState: g,
3156
+ ownerState: _,
3157
3157
  ...m,
3158
3158
  classes: l,
3159
3159
  children: /*#__PURE__*/ (0, G.jsx)(ee, {
@@ -3384,7 +3384,7 @@ var mn = {
3384
3384
  padding: 8
3385
3385
  },
3386
3386
  divActionsAction: {
3387
- ...h.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
- ...S.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
- ...h.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
- ...h.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
- ...h.normal13,
3508
+ ...m.normal13,
3509
3509
  fontStyle: "var(--font-style)",
3510
- lineHeight: h.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
- ...h.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 = o(On("default")), An = o(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: g({
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 = o({ 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: g({
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 = o({
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
- ...h.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
- ...h.normal12
3618
+ ...m.normal12
3619
3619
  },
3620
3620
  [H.sm]: {
3621
3621
  height: 16,
3622
- ...h.normal11,
3622
+ ...m.normal11,
3623
3623
  padding: "3px 16px"
3624
3624
  },
3625
3625
  [H.xs]: {
3626
3626
  height: 12,
3627
- ...h.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: i, placeholder: a, style: o, responsive: s, ...c }, l) {
3653
- let u = (0, W.useRef)(null), f = (0, W.useCallback)((e) => {
3654
- u.current = e, typeof l == "function" ? l(e) : l && (l.current = e);
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
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: g({
3659
+ className: h({
3660
3660
  [String(t)]: !0,
3661
3661
  [p.div]: !0
3662
3662
  }),
3663
3663
  children: [
3664
- /* @__PURE__ */ (0, G.jsx)(d, {
3664
+ /* @__PURE__ */ (0, G.jsx)(u, {
3665
3665
  className: p.svg,
3666
- fill: o?.color
3666
+ fill: a?.color
3667
3667
  }),
3668
3668
  /* @__PURE__ */ (0, G.jsx)("input", {
3669
3669
  ...c,
3670
- style: { ...o },
3670
+ style: { ...a },
3671
3671
  className: p.input,
3672
3672
  onChange: n,
3673
- placeholder: a ?? "Search...",
3673
+ placeholder: i ?? "Search...",
3674
3674
  ref: f,
3675
3675
  size: 1,
3676
- value: i
3676
+ value: r
3677
3677
  }),
3678
3678
  /* @__PURE__ */ (0, G.jsx)(In, {
3679
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
- style: { display: i ? void 0 : "none" },
3685
- children: /* @__PURE__ */ (0, G.jsx)(r, { fill: o?.color })
3684
+ style: { display: r ? void 0 : "none" },
3685
+ children: /* @__PURE__ */ (0, G.jsx)(o, { fill: a?.color })
3686
3686
  })
3687
3687
  ]
3688
3688
  });
3689
- }), zn = o({ 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 ? a : u;
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 = o({
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
- ...h.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)(s, {
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)(l, {
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: g({
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: g({
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: g({
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: g({
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 = o({
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)(s, {
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)(l, {
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: g({
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 = y(), 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,13 +4021,13 @@ var mn = {
4021
4021
  })
4022
4022
  })
4023
4023
  });
4024
- }, ar = ({ actions: e = [], onClose: t, onCloseClick: n = t, options: r, stickyOptions: i, searchEnabled: a = !1, style: o = {}, cssVariables: s, header: c, pickedOptionsIds: l, responsive: u, appearance: d = "default", renderOptions: p }) => {
4025
- let m = f(), h = jn(u, { appearance: d }), [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
4029
  ...s
4030
- }, w = Tn(C, { appearance: d }), T = {
4030
+ }, w = Tn(C, { appearance: f }), T = {
4031
4031
  ...C,
4032
4032
  ...w
4033
4033
  }, E = (e) => {
@@ -4085,7 +4085,7 @@ var mn = {
4085
4085
  options: r,
4086
4086
  collapsed: g,
4087
4087
  onCollapseChange: E,
4088
- responsive: u
4088
+ responsive: d
4089
4089
  }),
4090
4090
  p({
4091
4091
  classNames: h,
@@ -4097,7 +4097,7 @@ var mn = {
4097
4097
  openedElement: v,
4098
4098
  setOpenedElement: y,
4099
4099
  onCloseClick: n,
4100
- pickedOptionsIds: l
4100
+ pickedOptionsIds: u
4101
4101
  }, !1),
4102
4102
  /* @__PURE__ */ (0, G.jsx)(Pn, {
4103
4103
  actions: e,
@@ -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 = o({ 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;
@@ -4170,41 +4170,41 @@ var mn = {
4170
4170
  });
4171
4171
  }, fr = ({ tooltipTitle: e }) => e ? /* @__PURE__ */ (0, G.jsx)(le, {
4172
4172
  title: e,
4173
- children: /* @__PURE__ */ (0, G.jsx)("div", { children: /* @__PURE__ */ (0, G.jsx)(b, {}) })
4174
- }) : null, pr = ({ classNames: e, option: t, setOpenedElement: n, collapsed: r, setCollapsed: i, searchPhrase: o, checkbox: s, renderOption: c }) => {
4175
- let { children: l, disabled: d = !1, label: f, tooltip: p, key: m } = t;
4173
+ children: /* @__PURE__ */ (0, G.jsx)("div", { children: /* @__PURE__ */ (0, G.jsx)(v, {}) })
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
4177
  title: f,
4178
4178
  children: /* @__PURE__ */ (0, G.jsxs)("div", {
4179
4179
  "aria-disabled": d,
4180
- "aria-expanded": !r[m],
4181
- className: g({
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
- [m]: !r[m]
4186
+ a({
4187
+ ...i,
4188
+ [m]: !i[m]
4189
4189
  }), n({});
4190
4190
  },
4191
4191
  onKeyDown: Z,
4192
4192
  role: "menuitem",
4193
4193
  tabIndex: d ? void 0 : 0,
4194
4194
  children: [
4195
- s,
4195
+ c,
4196
4196
  /* @__PURE__ */ (0, G.jsx)(dr, {
4197
4197
  label: f,
4198
4198
  searchPhrase: o,
4199
4199
  classNames: e
4200
4200
  }),
4201
4201
  /* @__PURE__ */ (0, G.jsx)(fr, { tooltipTitle: p }),
4202
- /* @__PURE__ */ (0, G.jsx)($, { icon: r[m] ? /* @__PURE__ */ (0, G.jsx)(a, {}) : /* @__PURE__ */ (0, G.jsx)(u, {}) })
4202
+ /* @__PURE__ */ (0, G.jsx)($, { icon: i[m] ? /* @__PURE__ */ (0, G.jsx)(s, {}) : /* @__PURE__ */ (0, G.jsx)(r, {}) })
4203
4203
  ]
4204
4204
  })
4205
- }), r[m] ? null : l.map(c)] }, m);
4205
+ }), i[m] ? null : u.map(l)] }, m);
4206
4206
  }, mr = ({ classNames: e, option: t }) => /* @__PURE__ */ (0, G.jsx)("div", {
4207
- className: g({
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: g({
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: a, pickedOptionsIds: o, checkbox: c, multiSelect: l = !1, appearance: u = "default", renderSubmenu: d } = e, { children: f = [], disabled: p = !1, icon: m = {}, label: h, onClick: g, tooltip: _, key: v, color: y } = t, b = o?.includes(v), x = y ? Cn(y) : w.fill, S = m.right ?? (b ? /* @__PURE__ */ (0, G.jsx)(s, { fill: x ?? void 0 }) : null), C = w.size, T = !!S, E;
4232
- return f.length ? (E = (e) => {
4233
- p || i({ [v]: 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: y
4242
+ color: v
4243
4243
  }),
4244
- /* @__PURE__ */ (0, G.jsx)(fr, { tooltipTitle: _ }),
4244
+ /* @__PURE__ */ (0, G.jsx)(fr, { tooltipTitle: g }),
4245
4245
  /* @__PURE__ */ (0, G.jsx)($, { icon: S })
4246
4246
  ]
4247
- }), d({
4248
- anchorEl: r[v],
4247
+ }), u({
4248
+ anchorEl: r[_],
4249
4249
  anchorOrigin: {
4250
4250
  horizontal: "left",
4251
4251
  vertical: "top"
@@ -4256,30 +4256,30 @@ var mn = {
4256
4256
  onCloseClick: (e) => {
4257
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
- })] }, v)) : (E = (e) => {
4265
- p || (g?.(e), !l && !c && a(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: y
4275
+ color: v
4276
4276
  }),
4277
- /* @__PURE__ */ (0, G.jsx)(fr, { tooltipTitle: _ }),
4278
- T ? /* @__PURE__ */ (0, G.jsx)($, { icon: S }) : u === "default" ? /* @__PURE__ */ (0, G.jsx)("div", {
4277
+ /* @__PURE__ */ (0, G.jsx)(fr, { tooltipTitle: g }),
4278
+ T ? /* @__PURE__ */ (0, G.jsx)($, { icon: S }) : l === "default" ? /* @__PURE__ */ (0, G.jsx)("div", {
4279
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) => {