@astrato-io/visualizations 0.9.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 (144) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/README.md +7 -3
  3. package/THIRD_PARTY_NOTICES.md +163 -14
  4. package/VISUALIZATION_DEFINITIONS.md +376 -36
  5. package/chunks/{Button-5CxPEACP.js → Button-Dn3rJrYf.js} +4 -4
  6. package/chunks/{CircularProgress-DFS-LQb7.js → CircularProgress-BFeu06Yb.js} +39 -39
  7. package/chunks/FieldTypeIcon-DrMoGpHJ.js +22 -0
  8. package/chunks/{LinearProgress-CjIQfkNA.js → LinearProgress-ClO6GUjN.js} +9 -9
  9. package/chunks/{MenuOption-Cb7B7x6z.js → MenuOption-Czc34u4q.js} +143 -142
  10. package/chunks/{Title-CtFw1bVg.js → Title-BgYnaVTR.js} +22 -22
  11. package/chunks/_createAggregator-BMu9uRax.js +50 -0
  12. package/chunks/{app-filter-bar.compiler-B9775gLJ.js → app-filter-bar.compiler-CVir0wkl.js} +10 -10
  13. package/chunks/bar-layout-C_UgRlVl.js +9 -0
  14. package/chunks/{bar.compiler-B7wlH_Ro.js → bar.compiler-DYuFdi9J.js} +100 -82
  15. package/chunks/{builder-Dxo7D7c6.js → builder-C-TKA-My.js} +70 -37
  16. package/chunks/color-rules-DYJL4fIW.js +15 -0
  17. package/chunks/color-settings-DJFoFTip.js +5 -0
  18. package/chunks/{coloring-B-Wa8D5P.js → coloring-BtnPiQ_o.js} +37 -37
  19. package/chunks/createSimplePaletteValueFilter--zrZxRV9.js +2005 -0
  20. package/chunks/defaults-Dtk7fg3C.js +3 -0
  21. package/chunks/{definitions-DNpzD9tY.js → definitions-CT304NDn.js} +655 -417
  22. package/chunks/{escobar-C4Nm3eJ7.js → escobar-CvEV2ES1.js} +7441 -7127
  23. package/chunks/{extend-preset-BVKFtoe-.js → extend-preset-D9-JP92b.js} +998 -933
  24. package/chunks/{filter.compiler-BlS3zoy_.js → filter.compiler-CXeZznks.js} +7 -7
  25. package/chunks/{filtering-CGuLpg7u.js → filtering-8_bFv-jb.js} +333 -377
  26. package/chunks/handlers-C6CZ0XJA.js +15399 -0
  27. package/chunks/{icon-picker-styles-DYQgVEKG.js → icon-picker-styles-BXiJ1SZS.js} +11 -11
  28. package/chunks/isEqual-D8Ay63xR.js +16 -0
  29. package/chunks/{isFocusVisible-B1_z03UT.js → isFocusVisible-Bu8gGZu5.js} +1 -1
  30. package/chunks/label-format-type-C46pzgx7.js +17 -0
  31. package/chunks/{line.compiler-Bo9i9qag.js → line.compiler-DmHpmQCC.js} +9 -9
  32. package/chunks/{logger-3lng-wOw.js → logger-DdZpR7xZ.js} +79 -72
  33. package/chunks/map.compiler-Q_Y1Pvat.js +343 -0
  34. package/chunks/{metadata-Fmx1swpK.js → metadata-BQm_TXI1.js} +1 -1
  35. package/chunks/{number.compiler-CdLd5aGW.js → number.compiler-DQdg6zTy.js} +7 -7
  36. package/chunks/operations-DKQWuLL7.js +31315 -0
  37. package/chunks/{range-CzO4isKK.js → range-BdhzvYQ_.js} +2 -2
  38. package/chunks/{react-dom-BwZT0N3F.js → react-dom-BGP4tbXV.js} +70 -70
  39. package/chunks/{render-wrappers-CAuvgMxi.js → render-wrappers-BZpyDnJy.js} +1 -1
  40. package/chunks/{requirements-CYpVh65U.js → requirements-e8Fe96ag.js} +60 -58
  41. package/chunks/shared-C_2F90xq.js +1337 -0
  42. package/chunks/standalone-4MsKiqs0.js +355 -0
  43. package/chunks/standalone-B794g9pE.js +1012 -0
  44. package/chunks/{standalone-C6XDHYAM.js → standalone-B8ZSqauS.js} +110 -110
  45. package/chunks/{standalone-5DnapeHH.js → standalone-BA2YXyJS.js} +126 -124
  46. package/chunks/{standalone-CXniic5x.js → standalone-BDrXVxlP.js} +6 -5
  47. package/chunks/{standalone-B6s_xG2u.js → standalone-BE_ONgiG.js} +116 -116
  48. package/chunks/{standalone-CPUiiWNP.js → standalone-BTY3w_JA.js} +37 -37
  49. package/chunks/standalone-BgumbdaJ2.js +357 -0
  50. package/chunks/{standalone-DWPfdP0A.js → standalone-BkbiH-o8.js} +482 -482
  51. package/chunks/standalone-Blh4qejk.js +689 -0
  52. package/chunks/standalone-CXY4FpF7.js +773 -0
  53. package/chunks/{standalone-BvWdpUL3.js → standalone-CY_kjarf.js} +34 -31
  54. package/chunks/{standalone-DuwTOBXH.js → standalone-CaTxAydz.js} +587 -587
  55. package/chunks/{standalone-BDrQMxLi.js → standalone-Cc98Pdr6.js} +1799 -1015
  56. package/chunks/{standalone-DMCwtebn.js → standalone-Cl0TSfqC.js} +125 -125
  57. package/chunks/{standalone-CoQxJ6ov.js → standalone-CsoMmE9T.js} +778 -778
  58. package/chunks/standalone-DH0xTEes.js +2 -0
  59. package/chunks/{standalone-LFVgLhia.js → standalone-DHRalbVO.js} +311 -303
  60. package/chunks/standalone-DNh9NcMa.js +580 -0
  61. package/chunks/standalone-DcnHjNnC.js +2 -0
  62. package/chunks/{standalone-r4ObFvys.js → standalone-DflyWtuR.js} +217 -215
  63. package/chunks/standalone-DrHdGkY7.js +762 -0
  64. package/chunks/standalone-c_rROMtx.js +287 -0
  65. package/chunks/standalone-drcFLeN6.js +6 -0
  66. package/chunks/{standalone-CNkHsynO.js → standalone-wOWRCpdn.js} +54 -56
  67. package/chunks/{standalone-Cu73fzSr.js → standalone-z0o52o5t.js} +5128 -4908
  68. package/chunks/{table.compiler-C1qjqXaT.js → table.compiler-COaHE9VD.js} +18 -18
  69. package/chunks/{useFieldName-mWrD_uk_.js → useFieldName-CdnCWzhd.js} +1 -1
  70. package/chunks/{utils-DYYD4Zzf.js → utils-DganVptf.js} +4758 -4747
  71. package/chunks/{view-7fH6mGmY.js → view-Bzlros43.js} +2021 -1665
  72. package/chunks/{visualization-filters-mVnsnvLP.js → visualization-filters-D7i6oh1Z.js} +3177 -2425
  73. package/chunks/{with-html-element-B0Clt4jY.js → with-html-element-CiIhFEa5.js} +3740 -3547
  74. package/definitions.js +2 -2
  75. package/docs/operations/astrato-app-filter-bar.md +1 -1
  76. package/docs/operations/bar.md +303 -2
  77. package/docs/operations/combo.md +262 -1
  78. package/docs/operations/date-picker.md +1 -1
  79. package/docs/operations/distribution-gauge.md +1 -1
  80. package/docs/operations/dot.md +148 -1
  81. package/docs/operations/filter.md +1 -1
  82. package/docs/operations/gauge.md +1 -1
  83. package/docs/operations/heatMap.md +1 -1
  84. package/docs/operations/histogram.md +262 -1
  85. package/docs/operations/iframe.md +1 -1
  86. package/docs/operations/image.md +1 -1
  87. package/docs/operations/index.md +7 -7
  88. package/docs/operations/line.md +280 -1
  89. package/docs/operations/number.md +1 -1
  90. package/docs/operations/pie.md +1 -1
  91. package/docs/operations/radar.md +1 -1
  92. package/docs/operations/sankey.md +1 -1
  93. package/docs/operations/scatter.md +148 -1
  94. package/docs/operations/shape.md +1 -1
  95. package/docs/operations/simpleTextObject.md +1 -1
  96. package/docs/operations/slider.md +1 -1
  97. package/docs/operations/table.md +374 -157
  98. package/docs/operations/tree.md +1 -1
  99. package/docs/operations/treemap.md +1 -1
  100. package/docs/operations/waterfall.md +1 -1
  101. package/docs/operations/word-cloud.md +1 -1
  102. package/getters.js +2 -2
  103. package/index.js +482 -434
  104. package/metadata.js +2 -2
  105. package/operations.js +5 -5
  106. package/package.json +72 -67
  107. package/src/definitions/index.d.ts +7 -1
  108. package/src/definitions/model/definitions/available-fields.d.ts +2 -2
  109. package/src/definitions/model/definitions/compilers/compile.d.ts +1 -0
  110. package/src/definitions/model/definitions/data-item-resolution.d.ts +3 -3
  111. package/src/definitions/model/definitions/descriptors/descriptor-metadata.d.ts +219 -7
  112. package/src/definitions/model/definitions/index.d.ts +2 -1
  113. package/src/definitions/model/definitions/schema-registry.d.ts +305 -0
  114. package/src/definitions/model/definitions/schemas/bar.schema.d.ts +2 -0
  115. package/src/definitions/model/definitions/schemas/common.schema.d.ts +4 -3
  116. package/src/definitions/model/definitions/schemas/index.d.ts +1 -0
  117. package/src/definitions/model/definitions/schemas/map.schema.d.ts +590 -0
  118. package/src/definitions/model/definitions/types/compilation.types.d.ts +9 -1
  119. package/src/definitions/model/definitions/types/definition.types.d.ts +2 -2
  120. package/src/definitions/model/definitions/types/index.d.ts +1 -1
  121. package/src/index.d.ts +1 -1
  122. package/src/operations/index.d.ts +1 -1
  123. package/src/types.d.ts +17 -13
  124. package/chunks/FieldTypeIcon-pSVQFemC.js +0 -22
  125. package/chunks/ToggleButton-Br9HCPCv.js +0 -150
  126. package/chunks/color-rules-CN7TcGrC.js +0 -6
  127. package/chunks/color-settings-3VRlf_Vw.js +0 -6
  128. package/chunks/handlers-CMbyj5y1.js +0 -12930
  129. package/chunks/isEqual-DBg_b35N.js +0 -12
  130. package/chunks/label-format-type-weq1XfcX.js +0 -8
  131. package/chunks/operations-HSqnCRvv.js +0 -26324
  132. package/chunks/shared-DFoJxjVN.js +0 -1218
  133. package/chunks/standalone-530a5lvf.js +0 -1003
  134. package/chunks/standalone-B4jrf4KE.js +0 -354
  135. package/chunks/standalone-BMoJXGYe.js +0 -2
  136. package/chunks/standalone-BfvGggeM2.js +0 -355
  137. package/chunks/standalone-CMJJIi9v.js +0 -2
  138. package/chunks/standalone-C_Jd4gkj.js +0 -6
  139. package/chunks/standalone-CiaaibTa.js +0 -518
  140. package/chunks/standalone-DBeXQrwH.js +0 -468
  141. package/chunks/standalone-DpSRmAWx.js +0 -287
  142. package/chunks/standalone-kzAhwH19.js +0 -689
  143. package/chunks/standalone-mb7LwEiq.js +0 -3874
  144. /package/chunks/{src-BOS6SqkZ2.js → src-BOS6SqkZ.js} +0 -0
@@ -1,16 +1,17 @@
1
1
  import { o as e, t } from "./rolldown-runtime-DleVn1XH.js";
2
- import { Hi as n } from "./visualization-filters-mVnsnvLP.js";
3
- import { $ as r, $r as i, B as a, Cr as o, Dr as s, Er as c, G as l, J as u, Jn as d, Ln as f, Qr as p, W as m, ei as h, et as g, in as _, it as v, jr as y, kn as b, nt as x, r as S, ti as C, xr as w } from "./utils-DYYD4Zzf.js";
4
- import "./logger-3lng-wOw.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-BwZT0N3F.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-B1_z03UT.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-CtFw1bVg.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";
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-B-Wa8D5P.js";
11
- var ye = /* @__PURE__ */ function(e) {
12
- return e.left = "left", e.right = "right", e;
13
- }({}), be = /* @__PURE__ */ t(((e, t) => {
10
+ import "./coloring-BtnPiQ_o.js";
11
+ var ye = {
12
+ left: "left",
13
+ right: "right"
14
+ }, be = /* @__PURE__ */ t(((e, t) => {
14
15
  t.exports = {
15
16
  aliceblue: [
16
17
  240,
@@ -1679,7 +1680,7 @@ function Oe(e, t = 166) {
1679
1680
  function U(e) {
1680
1681
  return L(e).defaultView || window;
1681
1682
  }
1682
- var W = /* @__PURE__ */ e(h(), 1), G = y(), ke = x, K = L;
1683
+ var W = /* @__PURE__ */ e(f(), 1), G = w(), ke = y, K = L;
1683
1684
  function Ae(...e) {
1684
1685
  return e.reduce((e, t) => t == null ? e : function(...n) {
1685
1686
  e.apply(this, n), t.apply(this, n);
@@ -1700,7 +1701,7 @@ function Ne(e, t) {
1700
1701
  let i = typeof t == "function" ? t(r) : t, a = typeof e == "function" ? e({
1701
1702
  ...r,
1702
1703
  ...i
1703
- }) : e, o = v(r?.className, i?.className, a?.className), s = n(a, i), c = {
1704
+ }) : e, o = m(r?.className, i?.className, a?.className), s = n(a, i), c = {
1704
1705
  ...i,
1705
1706
  ...a,
1706
1707
  ...s
@@ -1710,7 +1711,7 @@ function Ne(e, t) {
1710
1711
  ...a.style
1711
1712
  }), i?.sx && a?.sx && (c.sx = [...Array.isArray(i.sx) ? i.sx : [i.sx], ...Array.isArray(a.sx) ? a.sx : [a.sx]]), c;
1712
1713
  };
1713
- let r = t, i = n(e, r), a = v(r?.className, e?.className), o = {
1714
+ let r = t, i = n(e, r), a = m(r?.className, e?.className), o = {
1714
1715
  ...t,
1715
1716
  ...e,
1716
1717
  ...i
@@ -1769,24 +1770,24 @@ var Fe = (e) => {
1769
1770
  let n = k({
1770
1771
  props: e,
1771
1772
  name: "MuiPaper"
1772
- }), r = l(), { className: i, component: a = "div", elevation: o = 1, square: s = !1, variant: c = "elevation", ...d } = n, f = {
1773
+ }), r = o(), { className: i, component: a = "div", elevation: s = 1, square: l = !1, variant: u = "elevation", ...d } = n, f = {
1773
1774
  ...n,
1774
1775
  component: a,
1775
- elevation: o,
1776
- square: s,
1777
- variant: c
1778
- }, p = Fe(f);
1776
+ elevation: s,
1777
+ square: l,
1778
+ variant: u
1779
+ }, h = Fe(f);
1779
1780
  return /*#__PURE__*/ (0, G.jsx)(Ie, {
1780
1781
  as: a,
1781
1782
  ownerState: f,
1782
- className: v(p.root, i),
1783
+ className: m(h.root, i),
1783
1784
  ref: t,
1784
1785
  ...d,
1785
1786
  style: {
1786
- ...c === "elevation" && {
1787
- "--Paper-shadow": (r.vars || r).shadows[o],
1788
- ...r.vars && { "--Paper-overlay": r.vars.overlays?.[o] },
1789
- ...!r.vars && r.palette.mode === "dark" && { "--Paper-overlay": `linear-gradient(${g("#fff", u(o))}, ${g("#fff", u(o))})` }
1787
+ ...u === "elevation" && {
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(${p("#fff", c(s))}, ${p("#fff", c(s))})` }
1790
1791
  },
1791
1792
  ...d.style
1792
1793
  }
@@ -1800,15 +1801,15 @@ var Fe = (e) => {
1800
1801
  opacity: 0,
1801
1802
  visibility: "hidden"
1802
1803
  }, Be = /*#__PURE__*/ W.forwardRef(function(e, t) {
1803
- let n = l(), r = {
1804
+ let n = o(), r = {
1804
1805
  enter: n.transitions.duration.enteringScreen,
1805
1806
  exit: n.transitions.duration.leavingScreen
1806
- }, { addEndListener: i, appear: a = !0, children: o, disablePrefersReducedMotion: s = !1, easing: c, 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: 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
1808
  b.shouldReduceMotion || N(e);
1808
1809
  let r = O({
1809
1810
  style: _,
1810
1811
  timeout: v,
1811
- easing: c
1812
+ easing: l
1812
1813
  }, { mode: "enter" }), i = b.getTransitionTiming({
1813
1814
  duration: r.duration,
1814
1815
  delay: r.delay
@@ -1830,7 +1831,7 @@ var Fe = (e) => {
1830
1831
  let t = O({
1831
1832
  style: _,
1832
1833
  timeout: v,
1833
- easing: c
1834
+ easing: l
1834
1835
  }, { mode: "exit" }), r = b.getTransitionTiming({
1835
1836
  duration: t.duration,
1836
1837
  delay: t.delay
@@ -1852,8 +1853,8 @@ var Fe = (e) => {
1852
1853
  timeout: v,
1853
1854
  ...y,
1854
1855
  children: (e, { ownerState: t, ...n }) => {
1855
- let r = M(e, u, Re, ze, _, o.props.style);
1856
- return /*#__PURE__*/ W.cloneElement(o, {
1856
+ let r = M(e, u, Re, ze, _, s.props.style);
1857
+ return /*#__PURE__*/ W.cloneElement(s, {
1857
1858
  style: r,
1858
1859
  ref: S,
1859
1860
  ...n
@@ -1898,27 +1899,27 @@ var He = (e) => {
1898
1899
  ...n,
1899
1900
  component: a,
1900
1901
  invisible: o
1901
- }, p = He(f), m = {
1902
+ }, p = He(f), h = {
1902
1903
  component: a,
1903
1904
  slots: l,
1904
1905
  slotProps: c
1905
- }, [h, g] = R("root", {
1906
+ }, [g, _] = R("root", {
1906
1907
  elementType: Ue,
1907
- externalForwardedProps: m,
1908
- className: v(p.root, i),
1908
+ externalForwardedProps: h,
1909
+ className: m(p.root, i),
1909
1910
  ownerState: f
1910
- }), [_, y] = R("transition", {
1911
+ }), [v, y] = R("transition", {
1911
1912
  elementType: Be,
1912
- externalForwardedProps: m,
1913
+ externalForwardedProps: h,
1913
1914
  ownerState: f
1914
1915
  });
1915
- return /*#__PURE__*/ (0, G.jsx)(_, {
1916
+ return /*#__PURE__*/ (0, G.jsx)(v, {
1916
1917
  in: s,
1917
1918
  timeout: u,
1918
1919
  ...d,
1919
1920
  ...y,
1920
- children: /*#__PURE__*/ (0, G.jsx)(h, {
1921
- ...g,
1921
+ children: /*#__PURE__*/ (0, G.jsx)(g, {
1922
+ ..._,
1922
1923
  ref: t,
1923
1924
  children: r
1924
1925
  })
@@ -2349,7 +2350,7 @@ var _t = (e) => {
2349
2350
  let n = k({
2350
2351
  name: "MuiModal",
2351
2352
  props: e
2352
- }), { 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: m = !1, keepMounted: h = !1, onClose: g, onTransitionEnter: _, 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: 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
2354
  ...n,
2354
2355
  closeAfterTransition: a,
2355
2356
  disableAutoFocus: l,
@@ -2357,8 +2358,8 @@ var _t = (e) => {
2357
2358
  disablePortal: d,
2358
2359
  disableRestoreFocus: f,
2359
2360
  disableScrollLock: p,
2360
- hideBackdrop: m,
2361
- keepMounted: h
2361
+ hideBackdrop: h,
2362
+ keepMounted: g
2362
2363
  }, { getRootProps: E, getBackdropProps: D, getTransitionProps: ee, portalRef: O, portalContainer: A, isTopModal: j, exited: M, hasTransition: N } = ht({
2363
2364
  ...T,
2364
2365
  rootRef: t
@@ -2383,7 +2384,7 @@ var _t = (e) => {
2383
2384
  },
2384
2385
  getSlotProps: E,
2385
2386
  ownerState: P,
2386
- className: v(i, F?.root, !P.open && P.exited && F?.hidden)
2387
+ className: m(i, F?.root, !P.open && P.exited && F?.hidden)
2387
2388
  }), [re, z] = R("backdrop", {
2388
2389
  elementType: yt,
2389
2390
  externalForwardedProps: te,
@@ -2397,13 +2398,13 @@ var _t = (e) => {
2397
2398
  className: F?.backdrop,
2398
2399
  ownerState: P
2399
2400
  });
2400
- return !h && !b && (!N || M) ? null : /*#__PURE__*/ (0, G.jsx)(de, {
2401
+ return !g && !b && (!N || M) ? null : /*#__PURE__*/ (0, G.jsx)(de, {
2401
2402
  ref: O,
2402
2403
  container: A,
2403
2404
  disablePortal: d,
2404
2405
  children: /*#__PURE__*/ (0, G.jsxs)(ne, {
2405
2406
  ...L,
2406
- children: [m ? null : /*#__PURE__*/ (0, G.jsx)(re, { ...z }), /*#__PURE__*/ (0, G.jsx)(dt, {
2407
+ children: [h ? null : /*#__PURE__*/ (0, G.jsx)(re, { ...z }), /*#__PURE__*/ (0, G.jsx)(dt, {
2407
2408
  disableEnforceFocus: u,
2408
2409
  disableAutoFocus: l,
2409
2410
  disableRestoreFocus: f,
@@ -2475,7 +2476,7 @@ var Ct = (e) => {
2475
2476
  value: u,
2476
2477
  children: /*#__PURE__*/ (0, G.jsxs)(wt, {
2477
2478
  as: a,
2478
- className: v(f.root, i),
2479
+ className: m(f.root, i),
2479
2480
  ref: t,
2480
2481
  ownerState: d,
2481
2482
  ...l,
@@ -2616,12 +2617,12 @@ function Mt(e) {
2616
2617
  n,
2617
2618
  r
2618
2619
  ]), c = I(e.ref, s);
2619
- return x(() => {
2620
+ return y(() => {
2620
2621
  i.current && n({
2621
2622
  ...a,
2622
2623
  element: i.current
2623
2624
  });
2624
- }, [a, n]), x(() => {
2625
+ }, [a, n]), y(() => {
2625
2626
  let t = e.id;
2626
2627
  return () => {
2627
2628
  r(t);
@@ -2885,7 +2886,7 @@ var ln = (e) => {
2885
2886
  }), { action: r, anchorEl: i, anchorOrigin: a = {
2886
2887
  vertical: "top",
2887
2888
  horizontal: "left"
2888
- }, anchorPosition: o, anchorReference: s = "anchorEl", children: c, className: l, container: u, disableAutoFocus: d = !1, elevation: f = 8, marginThreshold: p = 16, open: m, slots: h = {}, slotProps: g = {}, transformOrigin: _ = {
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
2890
  vertical: "top",
2890
2891
  horizontal: "left"
2891
2892
  }, transitionDuration: y = "auto", disableScrollLock: b = !1, ...x } = n, S = W.useRef(), C = {
@@ -2894,7 +2895,7 @@ var ln = (e) => {
2894
2895
  anchorReference: s,
2895
2896
  elevation: f,
2896
2897
  marginThreshold: p,
2897
- transformOrigin: _,
2898
+ transformOrigin: v,
2898
2899
  transitionDuration: y
2899
2900
  }, w = ln(C), T = W.useCallback(() => {
2900
2901
  if (s === "anchorPosition") return o;
@@ -2910,9 +2911,9 @@ var ln = (e) => {
2910
2911
  o,
2911
2912
  s
2912
2913
  ]), E = W.useCallback((e) => ({
2913
- vertical: an(e, _.vertical),
2914
- horizontal: on(e, _.horizontal)
2915
- }), [_.horizontal, _.vertical]), D = W.useCallback((e) => {
2914
+ vertical: an(e, v.vertical),
2915
+ horizontal: on(e, v.horizontal)
2916
+ }), [v.horizontal, v.vertical]), D = W.useCallback((e) => {
2916
2917
  let t = {
2917
2918
  width: e.offsetWidth,
2918
2919
  height: e.offsetHeight
@@ -2948,7 +2949,7 @@ var ln = (e) => {
2948
2949
  T,
2949
2950
  E,
2950
2951
  p
2951
- ]), [ee, O] = W.useState(m), A = W.useCallback(() => {
2952
+ ]), [ee, O] = W.useState(h), A = W.useCallback(() => {
2952
2953
  let e = S.current;
2953
2954
  if (!e) return;
2954
2955
  let t = D(e);
@@ -2965,11 +2966,11 @@ var ln = (e) => {
2965
2966
  O(!1);
2966
2967
  };
2967
2968
  W.useEffect(() => {
2968
- m && A();
2969
- }), W.useImperativeHandle(r, () => m ? { updatePosition: () => {
2969
+ h && A();
2970
+ }), W.useImperativeHandle(r, () => h ? { updatePosition: () => {
2970
2971
  A();
2971
- } } : null, [m, A]), W.useEffect(() => {
2972
- if (!m) return;
2972
+ } } : null, [h, A]), W.useEffect(() => {
2973
+ if (!h) return;
2973
2974
  let e = je(() => {
2974
2975
  A();
2975
2976
  }), t = Me(cn(i));
@@ -2978,12 +2979,12 @@ var ln = (e) => {
2978
2979
  };
2979
2980
  }, [
2980
2981
  i,
2981
- m,
2982
+ h,
2982
2983
  A
2983
2984
  ]);
2984
2985
  let N = y, P = {
2985
- slots: h,
2986
- slotProps: g
2986
+ slots: g,
2987
+ slotProps: _
2987
2988
  }, [F, I] = R("transition", {
2988
2989
  elementType: ie,
2989
2990
  externalForwardedProps: P,
@@ -2999,7 +3000,7 @@ var ln = (e) => {
2999
3000
  }),
3000
3001
  additionalProps: {
3001
3002
  appear: !0,
3002
- in: m
3003
+ in: h
3003
3004
  }
3004
3005
  });
3005
3006
  y === "auto" && !F.muiSupportAuto && (N = void 0);
@@ -3012,13 +3013,13 @@ var ln = (e) => {
3012
3013
  },
3013
3014
  shouldForwardComponentProp: !0,
3014
3015
  additionalProps: {
3015
- slots: { backdrop: h.backdrop },
3016
- slotProps: { backdrop: Ne(typeof g.backdrop == "function" ? g.backdrop(C) : g.backdrop, { invisible: !0 }) },
3016
+ slots: { backdrop: g.backdrop },
3017
+ slotProps: { backdrop: Ne(typeof _.backdrop == "function" ? _.backdrop(C) : _.backdrop, { invisible: !0 }) },
3017
3018
  container: ne,
3018
- open: m
3019
+ open: h
3019
3020
  },
3020
3021
  ownerState: C,
3021
- className: v(w.root, l)
3022
+ className: m(w.root, l)
3022
3023
  }), [oe, se] = R("paper", {
3023
3024
  ref: S,
3024
3025
  className: w.paper,
@@ -3383,7 +3384,7 @@ var mn = {
3383
3384
  padding: 8
3384
3385
  },
3385
3386
  divActionsAction: {
3386
- ...i.normal14,
3387
+ ...S.normal14,
3387
3388
  borderRadius: 4,
3388
3389
  cursor: "pointer",
3389
3390
  textAlign: "center",
@@ -3404,7 +3405,7 @@ var mn = {
3404
3405
  padding: "1px 0"
3405
3406
  },
3406
3407
  divOptions: (e) => ({
3407
- ...p.propertiesPanel,
3408
+ ...b.propertiesPanel,
3408
3409
  scrollbarGutter: "initial",
3409
3410
  maxHeight: 400,
3410
3411
  padding: "0 8px",
@@ -3424,7 +3425,7 @@ var mn = {
3424
3425
  }
3425
3426
  }),
3426
3427
  header: (e) => ({
3427
- ...i.bold13,
3428
+ ...S.bold13,
3428
3429
  gap: 8,
3429
3430
  padding: "10px 16px",
3430
3431
  display: "flex",
@@ -3478,7 +3479,7 @@ var mn = {
3478
3479
  }
3479
3480
  }),
3480
3481
  divOptionsOptionCategory: (e) => ({
3481
- ...i.bold13,
3482
+ ...S.bold13,
3482
3483
  fontStyle: "var(--font-style)",
3483
3484
  textDecoration: "var(--text-decoration)",
3484
3485
  background: "var(--background-color)",
@@ -3504,16 +3505,16 @@ var mn = {
3504
3505
  }
3505
3506
  }),
3506
3507
  divOptionsOptionOption: (e) => ({
3507
- ...i.normal13,
3508
+ ...S.normal13,
3508
3509
  fontStyle: "var(--font-style)",
3509
- lineHeight: i.normal13.lineHeight,
3510
+ lineHeight: S.normal13.lineHeight,
3510
3511
  textDecoration: "var(--text-decoration)",
3511
3512
  "&[aria-disabled=\"true\"]": { cursor: "not-allowed" },
3512
3513
  "&[aria-expanded=\"true\"]": { background: n.grey5 },
3513
3514
  ...e && r
3514
3515
  }),
3515
3516
  divOptionsOptionOptionLabel: {
3516
- ...i.overflowEllipsis,
3517
+ ...S.overflowEllipsis,
3517
3518
  display: "initial !important",
3518
3519
  ...t && {
3519
3520
  height: "100%",
@@ -3532,7 +3533,7 @@ var mn = {
3532
3533
  }
3533
3534
  })
3534
3535
  };
3535
- }, kn = m(On("default")), An = m(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 = 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
3537
  title: e,
3537
3538
  children: t
3538
3539
  }) : t, Nn = ({ action: e, classNames: t }) => {
@@ -3541,7 +3542,7 @@ var mn = {
3541
3542
  tooltip: e.tooltip,
3542
3543
  children: /* @__PURE__ */ (0, G.jsx)("div", {
3543
3544
  "aria-disabled": r,
3544
- className: _({
3545
+ className: C({
3545
3546
  [t.divActionsAction]: !0,
3546
3547
  [t.divActionsAction__primary]: n === "primary",
3547
3548
  [t.divActionsAction__secondary]: n === "secondary"
@@ -3560,7 +3561,7 @@ var mn = {
3560
3561
  classNames: t,
3561
3562
  action: e
3562
3563
  }, e.key))
3563
- }) : null, Fn = m({ button: {
3564
+ }) : null, Fn = d({ button: {
3564
3565
  background: "initial",
3565
3566
  border: "initial",
3566
3567
  padding: "initial",
@@ -3571,14 +3572,14 @@ var mn = {
3571
3572
  let i = Fn();
3572
3573
  return /* @__PURE__ */ (0, G.jsx)("button", {
3573
3574
  ...n,
3574
- className: _({
3575
+ className: C({
3575
3576
  [String(t)]: !0,
3576
3577
  [i.button]: !0
3577
3578
  }),
3578
3579
  ref: r,
3579
3580
  children: e
3580
3581
  });
3581
- }), Ln = m({
3582
+ }), Ln = d({
3582
3583
  button: (e) => ({
3583
3584
  position: "absolute",
3584
3585
  right: 4,
@@ -3602,7 +3603,7 @@ var mn = {
3602
3603
  position: "relative"
3603
3604
  },
3604
3605
  input: (e) => ({
3605
- ...i.normal13,
3606
+ ...S.normal13,
3606
3607
  background: "initial",
3607
3608
  border: `1px solid ${n.grey3}`,
3608
3609
  borderRadius: 4,
@@ -3614,16 +3615,16 @@ var mn = {
3614
3615
  ...e && {
3615
3616
  [H.md]: {
3616
3617
  height: 20,
3617
- ...i.normal12
3618
+ ...S.normal12
3618
3619
  },
3619
3620
  [H.sm]: {
3620
3621
  height: 16,
3621
- ...i.normal11,
3622
+ ...S.normal11,
3622
3623
  padding: "3px 16px"
3623
3624
  },
3624
3625
  [H.xs]: {
3625
3626
  height: 12,
3626
- ...i.normal10,
3627
+ ...S.normal10,
3627
3628
  padding: "0px 12px"
3628
3629
  }
3629
3630
  },
@@ -3649,47 +3650,47 @@ var mn = {
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) {
3652
- let l = (0, W.useRef)(null), u = (0, W.useCallback)((e) => {
3653
- l.current = e, typeof c == "function" ? c(e) : c && (c.current = e);
3654
- }, [c]), d = Ln(o);
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);
3655
3656
  return (0, W.useEffect)(() => {
3656
- e && l.current?.focus();
3657
+ e && u.current?.focus();
3657
3658
  }, [e]), /* @__PURE__ */ (0, G.jsxs)("div", {
3658
- className: _({
3659
+ className: C({
3659
3660
  [String(t)]: !0,
3660
- [d.div]: !0
3661
+ [f.div]: !0
3661
3662
  }),
3662
3663
  children: [
3663
- /* @__PURE__ */ (0, G.jsx)(b, {
3664
- className: d.svg,
3664
+ /* @__PURE__ */ (0, G.jsx)(l, {
3665
+ className: f.svg,
3665
3666
  fill: a?.color
3666
3667
  }),
3667
3668
  /* @__PURE__ */ (0, G.jsx)("input", {
3668
3669
  ...s,
3669
3670
  style: { ...a },
3670
- className: d.input,
3671
+ className: f.input,
3671
3672
  onChange: n,
3672
3673
  placeholder: i ?? "Search...",
3673
- ref: u,
3674
+ ref: d,
3674
3675
  size: 1,
3675
3676
  value: r
3676
3677
  }),
3677
3678
  /* @__PURE__ */ (0, G.jsx)(In, {
3678
- className: d.button,
3679
+ className: f.button,
3679
3680
  "data-testid": "input-search-clear",
3680
3681
  onClick: () => {
3681
- l.current?.focus(), n?.({ target: { value: "" } });
3682
+ u.current?.focus(), n?.({ target: { value: "" } });
3682
3683
  },
3683
3684
  style: { display: r ? void 0 : "none" },
3684
- children: /* @__PURE__ */ (0, G.jsx)(w, { fill: a?.color })
3685
+ children: /* @__PURE__ */ (0, G.jsx)(g, { fill: a?.color })
3685
3686
  })
3686
3687
  ]
3687
3688
  });
3688
- }), zn = m({ button: {
3689
+ }), zn = d({ button: {
3689
3690
  paddingLeft: 4,
3690
3691
  paddingRight: 4
3691
3692
  } }), Bn = ({ isAllCollapsed: e, clickCallback: t }) => {
3692
- let n = zn(), r = e ? c : o;
3693
+ let n = zn(), r = e ? u : h;
3693
3694
  return /* @__PURE__ */ (0, G.jsx)(fe, {
3694
3695
  title: e ? "Expand all" : "Collapse all",
3695
3696
  children: /* @__PURE__ */ (0, G.jsx)(In, {
@@ -3747,7 +3748,7 @@ var mn = {
3747
3748
  case t > 0: return "partial";
3748
3749
  default: return "none";
3749
3750
  }
3750
- }, Kn = m({
3751
+ }, Kn = d({
3751
3752
  container: {
3752
3753
  position: "relative",
3753
3754
  display: "flex",
@@ -3788,7 +3789,7 @@ var mn = {
3788
3789
  "&[aria-disabled=\"true\"]": { cursor: "default" }
3789
3790
  },
3790
3791
  label: {
3791
- ...i.normal13,
3792
+ ...S.normal13,
3792
3793
  color: n.grey1,
3793
3794
  cursor: "pointer",
3794
3795
  marginLeft: 8,
@@ -3809,11 +3810,11 @@ var mn = {
3809
3810
  tabIndex: 0
3810
3811
  }, Jn = ({ value: e, size: t, fill: r = n.mainBrightPink }) => {
3811
3812
  switch (e) {
3812
- case "full": return /* @__PURE__ */ (0, G.jsx)(s, {
3813
+ case "full": return /* @__PURE__ */ (0, G.jsx)(a, {
3813
3814
  fill: r,
3814
3815
  size: t
3815
3816
  });
3816
- case "partial": return /* @__PURE__ */ (0, G.jsx)(f, {
3817
+ case "partial": return /* @__PURE__ */ (0, G.jsx)(s, {
3817
3818
  fill: r,
3818
3819
  size: t
3819
3820
  });
@@ -3838,13 +3839,13 @@ var mn = {
3838
3839
  }, p = Kn();
3839
3840
  return /* @__PURE__ */ (0, G.jsxs)("div", {
3840
3841
  onClick: d,
3841
- className: _({
3842
+ className: C({
3842
3843
  [p.container]: !0,
3843
3844
  [p.checkboxWithLabel]: !!l
3844
3845
  }),
3845
3846
  "data-testid": u,
3846
3847
  children: [/* @__PURE__ */ (0, G.jsxs)("div", {
3847
- className: _({
3848
+ className: C({
3848
3849
  [p.checkboxContainer]: !0,
3849
3850
  [p.checkboxWithLabel]: !!l
3850
3851
  }),
@@ -3860,7 +3861,7 @@ var mn = {
3860
3861
  },
3861
3862
  tabIndex: c,
3862
3863
  onKeyDown: f,
3863
- className: _({
3864
+ className: C({
3864
3865
  [p.checkbox]: !0,
3865
3866
  [p.checkboxUnchecked]: t === "none",
3866
3867
  [p.checkboxChecked]: t === "full" || t === "partial"
@@ -3875,7 +3876,7 @@ var mn = {
3875
3876
  })
3876
3877
  })]
3877
3878
  }), l ? /* @__PURE__ */ (0, G.jsx)("span", {
3878
- className: _({
3879
+ className: C({
3879
3880
  [p.label]: !0,
3880
3881
  disabled: i
3881
3882
  }),
@@ -3903,7 +3904,7 @@ var mn = {
3903
3904
  option: t,
3904
3905
  searchPhrase: n
3905
3906
  })
3906
- }), $n = m({
3907
+ }), $n = d({
3907
3908
  container: {
3908
3909
  position: "relative",
3909
3910
  display: "flex",
@@ -3939,11 +3940,11 @@ var mn = {
3939
3940
  tabIndex: 0
3940
3941
  }, tr = ({ checkedType: e, size: t, fill: r = n.mainBrightPink }) => {
3941
3942
  switch (e) {
3942
- case "full": return /* @__PURE__ */ (0, G.jsx)(s, {
3943
+ case "full": return /* @__PURE__ */ (0, G.jsx)(a, {
3943
3944
  fill: r,
3944
3945
  size: t
3945
3946
  });
3946
- case "partial": return /* @__PURE__ */ (0, G.jsx)(f, {
3947
+ case "partial": return /* @__PURE__ */ (0, G.jsx)(s, {
3947
3948
  fill: r,
3948
3949
  size: t
3949
3950
  });
@@ -3974,7 +3975,7 @@ var mn = {
3974
3975
  },
3975
3976
  tabIndex: c,
3976
3977
  onKeyDown: d,
3977
- className: _({
3978
+ className: C({
3978
3979
  [f.checkbox]: !0,
3979
3980
  [f.checkboxUnchecked]: !l,
3980
3981
  [f.checkboxChecked]: !p && l
@@ -3994,7 +3995,7 @@ var mn = {
3994
3995
  disabled: n,
3995
3996
  size: r
3996
3997
  }) : null, ir = ({ multiSelect: e = !1, ...t }) => {
3997
- let n = S(), r = t.responsive ? _e(16, n.height, n.width) : 16;
3998
+ let n = x(), r = t.responsive ? _e(16, n.height, n.width) : 16;
3998
3999
  return /* @__PURE__ */ (0, G.jsx)(ar, {
3999
4000
  ...t,
4000
4001
  appearance: "legacy",
@@ -4020,8 +4021,8 @@ var mn = {
4020
4021
  })
4021
4022
  })
4022
4023
  });
4023
- }, ar = ({ actions: e = [], onClose: t, onCloseClick: n = t, options: r, stickyOptions: i, searchEnabled: o = !1, style: s = {}, cssVariables: c, header: l, pickedOptionsIds: u, responsive: d, appearance: f = "default", renderOptions: p }) => {
4024
- let m = a(), 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: 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) => {
4025
4026
  x(e), y({});
4026
4027
  }, C = {
4027
4028
  ...wn,
@@ -4064,9 +4065,9 @@ var mn = {
4064
4065
  " "
4065
4066
  ]
4066
4067
  }) : null,
4067
- i?.length ? p({
4068
+ a?.length ? p({
4068
4069
  classNames: h,
4069
- options: i,
4070
+ options: a,
4070
4071
  searchPhrase: "",
4071
4072
  collapsed: g,
4072
4073
  setCollapsed: _,
@@ -4139,7 +4140,7 @@ var mn = {
4139
4140
  options: o
4140
4141
  })
4141
4142
  });
4142
- }, $ = ({ icon: e }) => e ? /* @__PURE__ */ (0, G.jsx)("div", { children: e }) : null, cr = m({ span: { fontWeight: "bold" } }), lr = (e, t) => {
4143
+ }, $ = ({ icon: e }) => e ? /* @__PURE__ */ (0, G.jsx)("div", { children: e }) : null, cr = d({ span: { fontWeight: "bold" } }), lr = (e, t) => {
4143
4144
  let n = cr();
4144
4145
  if (!e) return [{ children: t }];
4145
4146
  let r = e.toLocaleLowerCase(), i = t.toLocaleLowerCase(), a = [], o = 0;
@@ -4169,41 +4170,41 @@ var mn = {
4169
4170
  });
4170
4171
  }, fr = ({ tooltipTitle: e }) => e ? /* @__PURE__ */ (0, G.jsx)(le, {
4171
4172
  title: e,
4172
- children: /* @__PURE__ */ (0, G.jsx)("div", { children: /* @__PURE__ */ (0, G.jsx)(d, {}) })
4173
- }) : null, pr = ({ classNames: e, option: t, setOpenedElement: n, collapsed: r, setCollapsed: i, searchPhrase: a, checkbox: s, renderOption: l }) => {
4174
- let { children: u, 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: r, setCollapsed: i, searchPhrase: a, checkbox: o, renderOption: s }) => {
4175
+ let { children: c, disabled: l = !1, label: d, tooltip: f, key: p } = t;
4175
4176
  return /* @__PURE__ */ (0, G.jsxs)(W.Fragment, { children: [/* @__PURE__ */ (0, G.jsx)(fe, {
4176
- title: f,
4177
+ title: d,
4177
4178
  children: /* @__PURE__ */ (0, G.jsxs)("div", {
4178
- "aria-disabled": d,
4179
- "aria-expanded": !r[m],
4180
- className: _({
4179
+ "aria-disabled": l,
4180
+ "aria-expanded": !r[p],
4181
+ className: C({
4181
4182
  [e.divOptionsOption]: !0,
4182
4183
  [e.divOptionsOptionCategory]: !0
4183
4184
  }),
4184
4185
  onClick: () => {
4185
4186
  i({
4186
4187
  ...r,
4187
- [m]: !r[m]
4188
+ [p]: !r[p]
4188
4189
  }), n({});
4189
4190
  },
4190
4191
  onKeyDown: Z,
4191
4192
  role: "menuitem",
4192
- tabIndex: d ? void 0 : 0,
4193
+ tabIndex: l ? void 0 : 0,
4193
4194
  children: [
4194
- s,
4195
+ o,
4195
4196
  /* @__PURE__ */ (0, G.jsx)(dr, {
4196
- label: f,
4197
+ label: d,
4197
4198
  searchPhrase: a,
4198
4199
  classNames: e
4199
4200
  }),
4200
- /* @__PURE__ */ (0, G.jsx)(fr, { tooltipTitle: p }),
4201
- /* @__PURE__ */ (0, G.jsx)($, { icon: r[m] ? /* @__PURE__ */ (0, G.jsx)(c, {}) : /* @__PURE__ */ (0, G.jsx)(o, {}) })
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, {}) })
4202
4203
  ]
4203
4204
  })
4204
- }), r[m] ? null : u.map(l)] }, m);
4205
+ }), r[p] ? null : c.map(s)] }, p);
4205
4206
  }, mr = ({ classNames: e, option: t }) => /* @__PURE__ */ (0, G.jsx)("div", {
4206
- className: _({
4207
+ className: C({
4207
4208
  [e.divOptionsOption]: !0,
4208
4209
  [e.divOptionsOptionDivider]: !0
4209
4210
  }),
@@ -4215,7 +4216,7 @@ var mn = {
4215
4216
  children: /* @__PURE__ */ (0, G.jsx)("div", {
4216
4217
  style: { backgroundColor: s || void 0 },
4217
4218
  "aria-disabled": i,
4218
- className: _({
4219
+ className: C({
4219
4220
  [t.divOptionsOption]: !0,
4220
4221
  [t.divOptionsOptionOption]: !0
4221
4222
  }),
@@ -4227,9 +4228,9 @@ var mn = {
4227
4228
  })
4228
4229
  }, o);
4229
4230
  }, gr = (e) => {
4230
- 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) : C.fill, S = m.right ?? (b ? /* @__PURE__ */ (0, G.jsx)(s, { fill: x ?? void 0 }) : null), w = C.size, T = !!S, 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;
4231
4232
  return f.length ? (E = (e) => {
4232
- p || i({ [v]: e.currentTarget });
4233
+ p || i({ [y]: e.currentTarget });
4233
4234
  }, /* @__PURE__ */ (0, G.jsxs)(W.Fragment, { children: [/* @__PURE__ */ (0, G.jsxs)(hr, {
4234
4235
  ...e,
4235
4236
  onClick: E,
@@ -4238,13 +4239,13 @@ var mn = {
4238
4239
  /* @__PURE__ */ (0, G.jsx)(dr, {
4239
4240
  label: h,
4240
4241
  classNames: n,
4241
- color: y
4242
+ color: b
4242
4243
  }),
4243
- /* @__PURE__ */ (0, G.jsx)(fr, { tooltipTitle: _ }),
4244
- /* @__PURE__ */ (0, G.jsx)($, { icon: S })
4244
+ /* @__PURE__ */ (0, G.jsx)(fr, { tooltipTitle: v }),
4245
+ /* @__PURE__ */ (0, G.jsx)($, { icon: C })
4245
4246
  ]
4246
4247
  }), d({
4247
- anchorEl: r[v],
4248
+ anchorEl: r[y],
4248
4249
  anchorOrigin: {
4249
4250
  horizontal: "left",
4250
4251
  vertical: "top"
@@ -4253,15 +4254,15 @@ var mn = {
4253
4254
  i({});
4254
4255
  },
4255
4256
  onCloseClick: (e) => {
4256
- a(e), i({});
4257
+ o(e), i({});
4257
4258
  },
4258
4259
  options: f,
4259
4260
  transformOrigin: {
4260
4261
  horizontal: "right",
4261
4262
  vertical: "top"
4262
4263
  }
4263
- })] }, v)) : (E = (e) => {
4264
- p || (g?.(e), !l && !c && a(e));
4264
+ })] }, y)) : (E = (e) => {
4265
+ p || (g?.(e), !l && !c && o(e));
4265
4266
  }, /* @__PURE__ */ (0, G.jsxs)(hr, {
4266
4267
  ...e,
4267
4268
  onClick: E,
@@ -4271,10 +4272,10 @@ var mn = {
4271
4272
  /* @__PURE__ */ (0, G.jsx)(dr, {
4272
4273
  label: h,
4273
4274
  classNames: n,
4274
- color: y
4275
+ color: b
4275
4276
  }),
4276
- /* @__PURE__ */ (0, G.jsx)(fr, { tooltipTitle: _ }),
4277
- T ? /* @__PURE__ */ (0, G.jsx)($, { icon: S }) : u === "default" ? /* @__PURE__ */ (0, G.jsx)("div", {
4277
+ /* @__PURE__ */ (0, G.jsx)(fr, { tooltipTitle: v }),
4278
+ T ? /* @__PURE__ */ (0, G.jsx)($, { icon: C }) : u === "default" ? /* @__PURE__ */ (0, G.jsx)("div", {
4278
4279
  style: { width: w },
4279
4280
  "aria-hidden": !0
4280
4281
  }) : null,