@abdellatifui/react 3.2.16 → 3.2.17

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 (2) hide show
  1. package/dist/nextgen.js +135 -133
  2. package/package.json +1 -1
package/dist/nextgen.js CHANGED
@@ -4730,7 +4730,7 @@ function Tp(e) {
4730
4730
  var n = Ep(e, "string");
4731
4731
  return Pr(n) == "symbol" ? n : n + "";
4732
4732
  }
4733
- function ht(e, n, t) {
4733
+ function gt(e, n, t) {
4734
4734
  return (n = Tp(n)) in e ? Object.defineProperty(e, n, {
4735
4735
  value: t,
4736
4736
  enumerable: !0,
@@ -4749,29 +4749,29 @@ function Ap(e, n) {
4749
4749
  var ct = /* @__PURE__ */ Np(function e() {
4750
4750
  Ap(this, e);
4751
4751
  });
4752
- ht(ct, "ripple", !1);
4753
- ht(ct, "inputStyle", "outlined");
4754
- ht(ct, "locale", "en");
4755
- ht(ct, "appendTo", null);
4756
- ht(ct, "cssTransition", !0);
4757
- ht(ct, "autoZIndex", !0);
4758
- ht(ct, "hideOverlaysOnDocumentScrolling", !1);
4759
- ht(ct, "nonce", null);
4760
- ht(ct, "nullSortOrder", 1);
4761
- ht(ct, "zIndex", {
4752
+ gt(ct, "ripple", !1);
4753
+ gt(ct, "inputStyle", "outlined");
4754
+ gt(ct, "locale", "en");
4755
+ gt(ct, "appendTo", null);
4756
+ gt(ct, "cssTransition", !0);
4757
+ gt(ct, "autoZIndex", !0);
4758
+ gt(ct, "hideOverlaysOnDocumentScrolling", !1);
4759
+ gt(ct, "nonce", null);
4760
+ gt(ct, "nullSortOrder", 1);
4761
+ gt(ct, "zIndex", {
4762
4762
  modal: 1100,
4763
4763
  overlay: 1e3,
4764
4764
  menu: 1e3,
4765
4765
  tooltip: 1100,
4766
4766
  toast: 1200
4767
4767
  });
4768
- ht(ct, "pt", void 0);
4769
- ht(ct, "filterMatchModeOptions", {
4768
+ gt(ct, "pt", void 0);
4769
+ gt(ct, "filterMatchModeOptions", {
4770
4770
  text: [Je.STARTS_WITH, Je.CONTAINS, Je.NOT_CONTAINS, Je.ENDS_WITH, Je.EQUALS, Je.NOT_EQUALS],
4771
4771
  numeric: [Je.EQUALS, Je.NOT_EQUALS, Je.LESS_THAN, Je.LESS_THAN_OR_EQUAL_TO, Je.GREATER_THAN, Je.GREATER_THAN_OR_EQUAL_TO],
4772
4772
  date: [Je.DATE_IS, Je.DATE_IS_NOT, Je.DATE_BEFORE, Je.DATE_AFTER]
4773
4773
  });
4774
- ht(ct, "changeTheme", function(e, n, t, r) {
4774
+ gt(ct, "changeTheme", function(e, n, t, r) {
4775
4775
  var o, s = document.getElementById(t);
4776
4776
  if (!s)
4777
4777
  throw Error("Element with id ".concat(t, " not found."));
@@ -5711,7 +5711,7 @@ const la = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ca = $e, y
5711
5711
  timeout: i,
5712
5712
  period: a,
5713
5713
  onAbort: l
5714
- } = e, { closeModel: u } = rt(pi), f = Ct(), p = Ct(), m = () => {
5714
+ } = e, { closeModel: u } = rt(pi), f = dt(), p = dt(), m = () => {
5715
5715
  if (u(), l)
5716
5716
  return l();
5717
5717
  };
@@ -6118,7 +6118,7 @@ const mm = ({
6118
6118
  }, gm = (e) => /* @__PURE__ */ c.jsx(ui, { ...e, type: "main" }), ym = (e) => /* @__PURE__ */ c.jsx(ui, { ...e, type: "sub" }), go = (e) => /* @__PURE__ */ c.jsx(ui, { ...e, type: "normal" }), mw = (e) => {
6119
6119
  const { children: n } = e;
6120
6120
  return /* @__PURE__ */ c.jsx("div", { ...e, className: "custom-scroll-bar1", children: n });
6121
- }, Ct = (e = 8) => "css-" + Math.random().toString(36).substr(2, e), ua = (e = 8, n = !0) => n ? "str-" + Math.random().toString(36).substr(2, e) : Math.random().toString(36).substr(2, e), it = (e = 8, n = !0, t = !1) => {
6121
+ }, dt = (e = 8) => "css-" + Math.random().toString(36).substr(2, e), ua = (e = 8, n = !0) => n ? "str-" + Math.random().toString(36).substr(2, e) : Math.random().toString(36).substr(2, e), it = (e = 8, n = !0, t = !1) => {
6122
6122
  const [r, o] = I("");
6123
6123
  return K(() => {
6124
6124
  e && t ? o("css-" + Math.random().toString(36).substr(2, e)) : e && n ? o("_" + Math.random().toString(36).substr(2, e)) : e && !n && o(Math.random().toString(36).substr(2, e));
@@ -7250,7 +7250,7 @@ const eh = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADUAAAA1CAYAAADh5qNwAA
7250
7250
  setSupressLinkHover: E = () => {
7251
7251
  },
7252
7252
  nodeIconMapperParentClassName: x = ""
7253
- } = e, k = ie(), v = ue(() => Ct(), []), [S, N] = I([n, t]), [A, P] = I(!1), [B, F] = I(1), [b, O] = I(null), _ = ue(() => /* @__PURE__ */ c.jsx("div", { ref: k, className: "w-[50px] h-[50px] hover:scale-[1.5] transition-all ease-in-out duration-300 bg-black/70 p-2 rounded-2xl outline-blue-600 outline z-300", children: /* @__PURE__ */ c.jsx("img", { className: "w-full h-full", src: eh, alt: "s" }) }), [r]);
7253
+ } = e, k = ie(), v = ue(() => dt(), []), [S, N] = I([n, t]), [A, P] = I(!1), [B, F] = I(1), [b, O] = I(null), _ = ue(() => /* @__PURE__ */ c.jsx("div", { ref: k, className: "w-[50px] h-[50px] hover:scale-[1.5] transition-all ease-in-out duration-300 bg-black/70 p-2 rounded-2xl outline-blue-600 outline z-300", children: /* @__PURE__ */ c.jsx("img", { className: "w-full h-full", src: eh, alt: "s" }) }), [r]);
7254
7254
  K(() => {
7255
7255
  console.log("Mounting PinItem ", o);
7256
7256
  }, []), K(() => {
@@ -7314,6 +7314,7 @@ const eh = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADUAAAA1CAYAAADh5qNwAA
7314
7314
  "div",
7315
7315
  {
7316
7316
  "data-id": o?.elementId,
7317
+ "data-view-id": o?.view_id,
7317
7318
  "data-active": o?.elementId == m?.elementId ? "true" : "false",
7318
7319
  onContextMenu: (L) => {
7319
7320
  C({ event: L, data: o, type: "node", id: v, mapApi: a, ref: k }), p(L);
@@ -8094,12 +8095,13 @@ const xh = (e) => {
8094
8095
  if (!me.current) return;
8095
8096
  const Ge = Q.map((pe) => ({
8096
8097
  ...pe,
8097
- connections: []
8098
+ connections: [],
8099
+ view_id: dt()
8098
8100
  }));
8099
8101
  console.log("processing connections again !! ");
8100
8102
  const tt = _e ? ve : ve?.map((pe) => ({
8101
8103
  ...pe,
8102
- u_id: pe.u_id || Ct(),
8104
+ u_id: pe.u_id || dt(),
8103
8105
  linkColorHex: pe.linkColor || s,
8104
8106
  linkColor: Cr(pe?.linkColor),
8105
8107
  linkAnimationColorHex: pe.linkAnimationColor || i,
@@ -8110,7 +8112,7 @@ const xh = (e) => {
8110
8112
  sourcePort: pe?.sourcePort,
8111
8113
  destinationPort: pe?.destinationPort,
8112
8114
  data: pe,
8113
- connCountBoxId: Ct(),
8115
+ connCountBoxId: dt(),
8114
8116
  timestamp: [0, 5, 10, 15],
8115
8117
  sourcesId: (pe.sourceId + pe.destinationId).toString().split("").sort().join(""),
8116
8118
  fullSourcesId: (pe.sourceId + pe?.sourcePort + pe.destinationId + pe?.destinationPort).toString().split("").sort().join("")
@@ -8122,28 +8124,28 @@ const xh = (e) => {
8122
8124
  const Qe = Et.get(pe?.sourcesId);
8123
8125
  pe.linkCount = Qe?.length || 0, pe.linksGroup = Qe;
8124
8126
  });
8125
- const mr = /* @__PURE__ */ new Set(), yt = [], Fi = [];
8127
+ const mr = /* @__PURE__ */ new Set(), vt = [], Fi = [];
8126
8128
  for (const pe of tt || []) {
8127
8129
  if (mr.has(pe.sourcesId)) {
8128
8130
  Fi.push(pe.sourceId);
8129
8131
  continue;
8130
8132
  }
8131
- yt.push(pe), mr.add(pe.sourcesId);
8133
+ vt.push(pe), mr.add(pe.sourcesId);
8132
8134
  }
8133
8135
  const us = /* @__PURE__ */ new Map();
8134
8136
  Ge.forEach((pe, Qe) => {
8135
8137
  us.set(pe?.elementId, Qe);
8136
- }), yt.forEach((pe, Qe) => {
8138
+ }), vt.forEach((pe, Qe) => {
8137
8139
  const hr = us.get(pe?.sourceId), gr = us.get(pe?.destinationId);
8138
8140
  if (hr !== void 0) {
8139
8141
  const yr = Ge[hr];
8140
- yt[Qe].nodes || (yt[Qe].nodes = []), yt[Qe].nodes.push(yr), yt[Qe].source = yr?.location, Ge[hr].connections || (Ge[hr].connections = []), Ge[hr].connections.push(pe);
8142
+ vt[Qe].nodes || (vt[Qe].nodes = []), vt[Qe].nodes.push(yr), vt[Qe].source = yr?.location, Ge[hr].connections || (Ge[hr].connections = []), Ge[hr].connections.push(pe);
8141
8143
  }
8142
8144
  if (gr !== void 0) {
8143
8145
  const yr = Ge[gr];
8144
- yt[Qe].nodes || (yt[Qe].nodes = []), yt[Qe].nodes.push(yr), yt[Qe].destination = yr?.location, Ge[gr].connections || (Ge[gr].connections = []), Ge[gr].connections.push(pe);
8146
+ vt[Qe].nodes || (vt[Qe].nodes = []), vt[Qe].nodes.push(yr), vt[Qe].destination = yr?.location, Ge[gr].connections || (Ge[gr].connections = []), Ge[gr].connections.push(pe);
8145
8147
  }
8146
- }), _t(Ge), kt(yt), te && console.log(`Processed: seen=${mr.size}, f0=${yt.length}, ignored=${Fi.length}, all=${r.length}`);
8148
+ }), _t(Ge), kt(vt), te && console.log(`Processed: seen=${mr.size}, f0=${vt.length}, ignored=${Fi.length}, all=${r.length}`);
8147
8149
  }, [me]), pr = (Q, ve) => {
8148
8150
  if (!X) return;
8149
8151
  jn(!0);
@@ -8185,7 +8187,7 @@ const xh = (e) => {
8185
8187
  Pn(Q), N(Q);
8186
8188
  }
8187
8189
  function yd(Q) {
8188
- Q.u_id = Ct(), _t((ve) => [...ve, Q]);
8190
+ Q.u_id = dt(), _t((ve) => [...ve, Q]);
8189
8191
  }
8190
8192
  function vd(Q, ve = {}) {
8191
8193
  const _e = le?.find((Ge) => Ge?.elementId == Q);
@@ -8197,7 +8199,7 @@ const xh = (e) => {
8197
8199
  });
8198
8200
  }
8199
8201
  function bd(Q) {
8200
- Q.u_id = Ct(), kt((ve) => [...ve, Q]);
8202
+ Q.u_id = dt(), kt((ve) => [...ve, Q]);
8201
8203
  }
8202
8204
  function xd(Q) {
8203
8205
  const ve = ut?.filter((_e) => _e?.id != Q);
@@ -8412,7 +8414,7 @@ const xh = (e) => {
8412
8414
  setSupressLinkHover: hn,
8413
8415
  nodeIconMapperParentClassName: se
8414
8416
  },
8415
- "_node_" + Q?.elementId
8417
+ Q?.view_id
8416
8418
  )),
8417
8419
  O && /* @__PURE__ */ c.jsx(
8418
8420
  ph,
@@ -9657,7 +9659,7 @@ function Gc(e) {
9657
9659
  n[t] = Gc(e[t]);
9658
9660
  }), n;
9659
9661
  }
9660
- function mt(e, n, t = {
9662
+ function ht(e, n, t = {
9661
9663
  clone: !0
9662
9664
  }) {
9663
9665
  const r = t.clone ? {
@@ -9665,7 +9667,7 @@ function mt(e, n, t = {
9665
9667
  } : e;
9666
9668
  return Ht(e) && Ht(n) && Object.keys(n).forEach((o) => {
9667
9669
  /* @__PURE__ */ R.isValidElement(n[o]) || vo.isValidElementType(n[o]) ? r[o] = n[o] : Ht(n[o]) && // Avoid prototype pollution
9668
- Object.prototype.hasOwnProperty.call(e, o) && Ht(e[o]) ? r[o] = mt(e[o], n[o], t) : t.clone ? r[o] = Ht(n[o]) ? Gc(n[o]) : n[o] : r[o] = n[o];
9670
+ Object.prototype.hasOwnProperty.call(e, o) && Ht(e[o]) ? r[o] = ht(e[o], n[o], t) : t.clone ? r[o] = Ht(n[o]) ? Gc(n[o]) : n[o] : r[o] = n[o];
9669
9671
  }), r;
9670
9672
  }
9671
9673
  const Uh = (e) => {
@@ -9773,7 +9775,7 @@ const Xh = {
9773
9775
  borderRadius: 4
9774
9776
  }, ln = process.env.NODE_ENV !== "production" ? h.oneOfType([h.number, h.string, h.object, h.array]) : {};
9775
9777
  function Nr(e, n) {
9776
- return n ? mt(e, n, {
9778
+ return n ? ht(e, n, {
9777
9779
  clone: !1
9778
9780
  // No need to clone deep, it's way faster.
9779
9781
  }) : e;
@@ -9968,7 +9970,7 @@ function Mo(...e) {
9968
9970
  }), r), {}), t = (r) => Object.keys(r).reduce((o, s) => n[s] ? Nr(o, n[s](r)) : o, {});
9969
9971
  return t.propTypes = process.env.NODE_ENV !== "production" ? e.reduce((r, o) => Object.assign(r, o.propTypes), {}) : {}, t.filterProps = e.reduce((r, o) => r.concat(o.filterProps), []), t;
9970
9972
  }
9971
- function bt(e) {
9973
+ function xt(e) {
9972
9974
  return typeof e != "number" ? e : `${e}px solid`;
9973
9975
  }
9974
9976
  function wt(e, n) {
@@ -9978,7 +9980,7 @@ function wt(e, n) {
9978
9980
  transform: n
9979
9981
  });
9980
9982
  }
9981
- const ig = wt("border", bt), ag = wt("borderTop", bt), lg = wt("borderRight", bt), cg = wt("borderBottom", bt), ug = wt("borderLeft", bt), dg = wt("borderColor"), fg = wt("borderTopColor"), pg = wt("borderRightColor"), mg = wt("borderBottomColor"), hg = wt("borderLeftColor"), gg = wt("outline", bt), yg = wt("outlineColor"), Do = (e) => {
9983
+ const ig = wt("border", xt), ag = wt("borderTop", xt), lg = wt("borderRight", xt), cg = wt("borderBottom", xt), ug = wt("borderLeft", xt), dg = wt("borderColor"), fg = wt("borderTopColor"), pg = wt("borderRightColor"), mg = wt("borderBottomColor"), hg = wt("borderLeftColor"), gg = wt("outline", xt), yg = wt("outlineColor"), Do = (e) => {
9982
9984
  if (e.borderRadius !== void 0 && e.borderRadius !== null) {
9983
9985
  const n = Fr(e.theme, "shape.borderRadius", 4, "borderRadius"), t = (r) => ({
9984
9986
  borderRadius: Lr(n, r)
@@ -10069,12 +10071,12 @@ const Ng = Be({
10069
10071
  transform: Hn
10070
10072
  });
10071
10073
  Mo(Ng, Ag, Rg);
10072
- function dt(e) {
10074
+ function ft(e) {
10073
10075
  return e <= 1 && e !== 0 ? `${e * 100}%` : e;
10074
10076
  }
10075
10077
  const Pg = Be({
10076
10078
  prop: "width",
10077
- transform: dt
10079
+ transform: ft
10078
10080
  }), xi = (e) => {
10079
10081
  if (e.maxWidth !== void 0 && e.maxWidth !== null) {
10080
10082
  const n = (t) => {
@@ -10084,7 +10086,7 @@ const Pg = Be({
10084
10086
  } : {
10085
10087
  maxWidth: r
10086
10088
  } : {
10087
- maxWidth: dt(t)
10089
+ maxWidth: ft(t)
10088
10090
  };
10089
10091
  };
10090
10092
  return qt(e, e.maxWidth, n);
@@ -10094,26 +10096,26 @@ const Pg = Be({
10094
10096
  xi.filterProps = ["maxWidth"];
10095
10097
  const $g = Be({
10096
10098
  prop: "minWidth",
10097
- transform: dt
10099
+ transform: ft
10098
10100
  }), jg = Be({
10099
10101
  prop: "height",
10100
- transform: dt
10102
+ transform: ft
10101
10103
  }), Og = Be({
10102
10104
  prop: "maxHeight",
10103
- transform: dt
10105
+ transform: ft
10104
10106
  }), _g = Be({
10105
10107
  prop: "minHeight",
10106
- transform: dt
10108
+ transform: ft
10107
10109
  });
10108
10110
  Be({
10109
10111
  prop: "size",
10110
10112
  cssProperty: "width",
10111
- transform: dt
10113
+ transform: ft
10112
10114
  });
10113
10115
  Be({
10114
10116
  prop: "size",
10115
10117
  cssProperty: "height",
10116
- transform: dt
10118
+ transform: ft
10117
10119
  });
10118
10120
  const Ig = Be({
10119
10121
  prop: "boxSizing"
@@ -10123,23 +10125,23 @@ const Bo = {
10123
10125
  // borders
10124
10126
  border: {
10125
10127
  themeKey: "borders",
10126
- transform: bt
10128
+ transform: xt
10127
10129
  },
10128
10130
  borderTop: {
10129
10131
  themeKey: "borders",
10130
- transform: bt
10132
+ transform: xt
10131
10133
  },
10132
10134
  borderRight: {
10133
10135
  themeKey: "borders",
10134
- transform: bt
10136
+ transform: xt
10135
10137
  },
10136
10138
  borderBottom: {
10137
10139
  themeKey: "borders",
10138
- transform: bt
10140
+ transform: xt
10139
10141
  },
10140
10142
  borderLeft: {
10141
10143
  themeKey: "borders",
10142
- transform: bt
10144
+ transform: xt
10143
10145
  },
10144
10146
  borderColor: {
10145
10147
  themeKey: "palette"
@@ -10158,7 +10160,7 @@ const Bo = {
10158
10160
  },
10159
10161
  outline: {
10160
10162
  themeKey: "borders",
10161
- transform: bt
10163
+ transform: xt
10162
10164
  },
10163
10165
  outlineColor: {
10164
10166
  themeKey: "palette"
@@ -10364,22 +10366,22 @@ const Bo = {
10364
10366
  },
10365
10367
  // sizing
10366
10368
  width: {
10367
- transform: dt
10369
+ transform: ft
10368
10370
  },
10369
10371
  maxWidth: {
10370
10372
  style: xi
10371
10373
  },
10372
10374
  minWidth: {
10373
- transform: dt
10375
+ transform: ft
10374
10376
  },
10375
10377
  height: {
10376
- transform: dt
10378
+ transform: ft
10377
10379
  },
10378
10380
  maxHeight: {
10379
- transform: dt
10381
+ transform: ft
10380
10382
  },
10381
10383
  minHeight: {
10382
- transform: dt
10384
+ transform: ft
10383
10385
  },
10384
10386
  boxSizing: {},
10385
10387
  // typography
@@ -10513,7 +10515,7 @@ function Ci(e = {}, ...n) {
10513
10515
  shape: s = {},
10514
10516
  ...i
10515
10517
  } = e, a = Yh(t), l = Kc(o);
10516
- let u = mt({
10518
+ let u = ht({
10517
10519
  breakpoints: a,
10518
10520
  direction: "ltr",
10519
10521
  components: {},
@@ -10528,7 +10530,7 @@ function Ci(e = {}, ...n) {
10528
10530
  ...s
10529
10531
  }
10530
10532
  }, i);
10531
- return u = Kh(u), u.applyStyles = Fg, u = n.reduce((f, p) => mt(f, p), u), u.unstable_sxConfig = {
10533
+ return u = Kh(u), u.applyStyles = Fg, u = n.reduce((f, p) => ht(f, p), u), u.unstable_sxConfig = {
10532
10534
  ...Bo,
10533
10535
  ...i?.unstable_sxConfig
10534
10536
  }, u.unstable_sx = function(p) {
@@ -11058,7 +11060,7 @@ function yy(e, n = {}) {
11058
11060
  css: N,
11059
11061
  varsWithDefaults: A
11060
11062
  } = Ss(v, n);
11061
- g = mt(g, A), y[k] = {
11063
+ g = ht(g, A), y[k] = {
11062
11064
  css: N,
11063
11065
  vars: S
11064
11066
  };
@@ -11068,7 +11070,7 @@ function yy(e, n = {}) {
11068
11070
  vars: v,
11069
11071
  varsWithDefaults: S
11070
11072
  } = Ss(d, n);
11071
- g = mt(g, S), y[l] = {
11073
+ g = ht(g, S), y[l] = {
11072
11074
  css: k,
11073
11075
  vars: v
11074
11076
  };
@@ -11096,7 +11098,7 @@ function yy(e, n = {}) {
11096
11098
  return Object.entries(y).forEach(([, {
11097
11099
  vars: v
11098
11100
  }]) => {
11099
- k = mt(k, v);
11101
+ k = ht(k, v);
11100
11102
  }), k;
11101
11103
  },
11102
11104
  generateStyleSheets: () => {
@@ -11424,7 +11426,7 @@ const theme2 = createTheme({ palette: {
11424
11426
  return o ? (Qa(o, C, "light", x, r), Qa(o, C, "dark", k, r)) : (Xa(C, "light", x, r), Xa(C, "dark", k, r)), C.contrastText || (C.contrastText = m(C.main)), C;
11425
11427
  };
11426
11428
  let y;
11427
- return n === "light" ? y = tu() : n === "dark" && (y = ru()), process.env.NODE_ENV !== "production" && (y || console.error(`MUI: The palette mode \`${n}\` is not supported.`)), mt({
11429
+ return n === "light" ? y = tu() : n === "dark" && (y = ru()), process.env.NODE_ENV !== "production" && (y || console.error(`MUI: The palette mode \`${n}\` is not supported.`)), ht({
11428
11430
  // A collection of common colors.
11429
11431
  common: {
11430
11432
  ...jr
@@ -11566,7 +11568,7 @@ function Py(e, n) {
11566
11568
  letterSpacing: "inherit"
11567
11569
  }
11568
11570
  };
11569
- return mt({
11571
+ return ht({
11570
11572
  htmlFontSize: l,
11571
11573
  pxToRem: g,
11572
11574
  fontFamily: t,
@@ -11731,7 +11733,7 @@ function Us(e = {}, ...n) {
11731
11733
  ...s,
11732
11734
  colorSpace: u
11733
11735
  }), m = Ci(e);
11734
- let g = mt(m, {
11736
+ let g = ht(m, {
11735
11737
  mixins: Ay(m.breakpoints, r),
11736
11738
  palette: p,
11737
11739
  // Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
@@ -11742,7 +11744,7 @@ function Us(e = {}, ...n) {
11742
11744
  ...Fy
11743
11745
  }
11744
11746
  });
11745
- if (g = mt(g, f), g = n.reduce((y, d) => mt(y, d), g), process.env.NODE_ENV !== "production") {
11747
+ if (g = ht(g, f), g = n.reduce((y, d) => ht(y, d), g), process.env.NODE_ENV !== "production") {
11746
11748
  const y = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], d = (C, w) => {
11747
11749
  let E;
11748
11750
  for (E in C) {
@@ -11992,7 +11994,7 @@ function Qy(e = {}, ...n) {
11992
11994
  const D = b[H];
11993
11995
  H !== "tonalOffset" && D && typeof D == "object" && (D.main && z(b[H], "mainChannel", kr(Er(D.main))), D.light && z(b[H], "lightChannel", kr(Er(D.light))), D.dark && z(b[H], "darkChannel", kr(Er(D.dark))), D.contrastText && z(b[H], "contrastTextChannel", kr(Er(D.contrastText))), H === "text" && (Vt(b[H], "primary"), Vt(b[H], "secondary")), H === "action" && (D.active && Vt(b[H], "active"), D.selected && Vt(b[H], "selected")));
11994
11996
  });
11995
- }), S = n.reduce((F, b) => mt(F, b), S);
11997
+ }), S = n.reduce((F, b) => ht(F, b), S);
11996
11998
  const N = {
11997
11999
  prefix: s,
11998
12000
  disableCssColorScheme: o,
@@ -12802,7 +12804,7 @@ const yv = de((e, n) => {
12802
12804
  );
12803
12805
  function gu(e, n = null) {
12804
12806
  return e.map((t) => {
12805
- const r = Ct();
12807
+ const r = dt();
12806
12808
  return {
12807
12809
  ...t,
12808
12810
  c_id: r,
@@ -15701,7 +15703,7 @@ function Xo(...e) {
15701
15703
  }), r), {}), t = (r) => Object.keys(r).reduce((o, s) => n[s] ? Ar(o, n[s](r)) : o, {});
15702
15704
  return t.propTypes = process.env.NODE_ENV !== "production" ? e.reduce((r, o) => Object.assign(r, o.propTypes), {}) : {}, t.filterProps = e.reduce((r, o) => r.concat(o.filterProps), []), t;
15703
15705
  }
15704
- function xt(e) {
15706
+ function Ct(e) {
15705
15707
  return typeof e != "number" ? e : `${e}px solid`;
15706
15708
  }
15707
15709
  function St(e, n) {
@@ -15711,7 +15713,7 @@ function St(e, n) {
15711
15713
  transform: n
15712
15714
  });
15713
15715
  }
15714
- const c0 = St("border", xt), u0 = St("borderTop", xt), d0 = St("borderRight", xt), f0 = St("borderBottom", xt), p0 = St("borderLeft", xt), m0 = St("borderColor"), h0 = St("borderTopColor"), g0 = St("borderRightColor"), y0 = St("borderBottomColor"), v0 = St("borderLeftColor"), b0 = St("outline", xt), x0 = St("outlineColor"), Qo = (e) => {
15716
+ const c0 = St("border", Ct), u0 = St("borderTop", Ct), d0 = St("borderRight", Ct), f0 = St("borderBottom", Ct), p0 = St("borderLeft", Ct), m0 = St("borderColor"), h0 = St("borderTopColor"), g0 = St("borderRightColor"), y0 = St("borderBottomColor"), v0 = St("borderLeftColor"), b0 = St("outline", Ct), x0 = St("outlineColor"), Qo = (e) => {
15715
15717
  if (e.borderRadius !== void 0 && e.borderRadius !== null) {
15716
15718
  const n = Br(e.theme, "shape.borderRadius", 4, "borderRadius"), t = (r) => ({
15717
15719
  borderRadius: Vr(n, r)
@@ -15802,12 +15804,12 @@ const P0 = Ve({
15802
15804
  transform: Un
15803
15805
  });
15804
15806
  Xo(P0, $0, j0);
15805
- function ft(e) {
15807
+ function pt(e) {
15806
15808
  return e <= 1 && e !== 0 ? `${e * 100}%` : e;
15807
15809
  }
15808
15810
  const O0 = Ve({
15809
15811
  prop: "width",
15810
- transform: ft
15812
+ transform: pt
15811
15813
  }), Oi = (e) => {
15812
15814
  if (e.maxWidth !== void 0 && e.maxWidth !== null) {
15813
15815
  const n = (t) => {
@@ -15818,7 +15820,7 @@ const O0 = Ve({
15818
15820
  } : {
15819
15821
  maxWidth: s
15820
15822
  } : {
15821
- maxWidth: ft(t)
15823
+ maxWidth: pt(t)
15822
15824
  };
15823
15825
  };
15824
15826
  return Kt(e, e.maxWidth, n);
@@ -15828,26 +15830,26 @@ const O0 = Ve({
15828
15830
  Oi.filterProps = ["maxWidth"];
15829
15831
  const _0 = Ve({
15830
15832
  prop: "minWidth",
15831
- transform: ft
15833
+ transform: pt
15832
15834
  }), I0 = Ve({
15833
15835
  prop: "height",
15834
- transform: ft
15836
+ transform: pt
15835
15837
  }), M0 = Ve({
15836
15838
  prop: "maxHeight",
15837
- transform: ft
15839
+ transform: pt
15838
15840
  }), D0 = Ve({
15839
15841
  prop: "minHeight",
15840
- transform: ft
15842
+ transform: pt
15841
15843
  });
15842
15844
  Ve({
15843
15845
  prop: "size",
15844
15846
  cssProperty: "width",
15845
- transform: ft
15847
+ transform: pt
15846
15848
  });
15847
15849
  Ve({
15848
15850
  prop: "size",
15849
15851
  cssProperty: "height",
15850
- transform: ft
15852
+ transform: pt
15851
15853
  });
15852
15854
  const z0 = Ve({
15853
15855
  prop: "boxSizing"
@@ -15857,23 +15859,23 @@ const ts = {
15857
15859
  // borders
15858
15860
  border: {
15859
15861
  themeKey: "borders",
15860
- transform: xt
15862
+ transform: Ct
15861
15863
  },
15862
15864
  borderTop: {
15863
15865
  themeKey: "borders",
15864
- transform: xt
15866
+ transform: Ct
15865
15867
  },
15866
15868
  borderRight: {
15867
15869
  themeKey: "borders",
15868
- transform: xt
15870
+ transform: Ct
15869
15871
  },
15870
15872
  borderBottom: {
15871
15873
  themeKey: "borders",
15872
- transform: xt
15874
+ transform: Ct
15873
15875
  },
15874
15876
  borderLeft: {
15875
15877
  themeKey: "borders",
15876
- transform: xt
15878
+ transform: Ct
15877
15879
  },
15878
15880
  borderColor: {
15879
15881
  themeKey: "palette"
@@ -15892,7 +15894,7 @@ const ts = {
15892
15894
  },
15893
15895
  outline: {
15894
15896
  themeKey: "borders",
15895
- transform: xt
15897
+ transform: Ct
15896
15898
  },
15897
15899
  outlineColor: {
15898
15900
  themeKey: "palette"
@@ -16098,22 +16100,22 @@ const ts = {
16098
16100
  },
16099
16101
  // sizing
16100
16102
  width: {
16101
- transform: ft
16103
+ transform: pt
16102
16104
  },
16103
16105
  maxWidth: {
16104
16106
  style: Oi
16105
16107
  },
16106
16108
  minWidth: {
16107
- transform: ft
16109
+ transform: pt
16108
16110
  },
16109
16111
  height: {
16110
- transform: ft
16112
+ transform: pt
16111
16113
  },
16112
16114
  maxHeight: {
16113
- transform: ft
16115
+ transform: pt
16114
16116
  },
16115
16117
  minHeight: {
16116
- transform: ft
16118
+ transform: pt
16117
16119
  },
16118
16120
  boxSizing: {},
16119
16121
  // typography
@@ -17183,7 +17185,7 @@ function xx(e) {
17183
17185
  colorScheme: "light"
17184
17186
  }), M.shouldSkipGeneratingVar = w, M.applyStyles = Vu, M;
17185
17187
  }
17186
- const Uu = xx(), gt = rx({
17188
+ const Uu = xx(), yt = rx({
17187
17189
  defaultTheme: Uu,
17188
17190
  themeId: Du
17189
17191
  });
@@ -17201,7 +17203,7 @@ function os({
17201
17203
  });
17202
17204
  }
17203
17205
  const Cx = ["className", "elementType", "ownerState", "externalForwardedProps", "getSlotOwnerState", "internalForwardedProps"], wx = ["component", "slots", "slotProps"], Sx = ["component"];
17204
- function pt(e, n) {
17206
+ function mt(e, n) {
17205
17207
  const {
17206
17208
  className: t,
17207
17209
  elementType: r,
@@ -17257,7 +17259,7 @@ const Tx = ["children", "className", "color", "component", "fontSize", "htmlColo
17257
17259
  sm: "xl",
17258
17260
  md: "xl2",
17259
17261
  lg: "xl3"
17260
- }, Ax = gt("svg", {
17262
+ }, Ax = yt("svg", {
17261
17263
  name: "JoySvgIcon",
17262
17264
  slot: "Root",
17263
17265
  overridesResolver: (e, n) => n.root
@@ -17321,7 +17323,7 @@ const Tx = ["children", "className", "color", "component", "fontSize", "htmlColo
17321
17323
  component: a,
17322
17324
  slots: y,
17323
17325
  slotProps: d
17324
- }), [v, S] = pt("root", {
17326
+ }), [v, S] = mt("root", {
17325
17327
  ref: t,
17326
17328
  className: $e(x.root, s),
17327
17329
  elementType: Ax,
@@ -17465,21 +17467,21 @@ const _x = (e) => {
17465
17467
  endDecorator: ["endDecorator"]
17466
17468
  };
17467
17469
  return Bv(i, $x, {});
17468
- }, Ix = gt("span", {
17470
+ }, Ix = yt("span", {
17469
17471
  name: "JoyTypography",
17470
17472
  slot: "StartDecorator",
17471
17473
  overridesResolver: (e, n) => n.startDecorator
17472
17474
  })({
17473
17475
  display: "inline-flex",
17474
17476
  marginInlineEnd: "clamp(4px, var(--Typography-gap, 0.375em), 0.75rem)"
17475
- }), Mx = gt("span", {
17477
+ }), Mx = yt("span", {
17476
17478
  name: "JoyTypography",
17477
17479
  slot: "endDecorator",
17478
17480
  overridesResolver: (e, n) => n.endDecorator
17479
17481
  })({
17480
17482
  display: "inline-flex",
17481
17483
  marginInlineStart: "clamp(4px, var(--Typography-gap, 0.375em), 0.75rem)"
17482
- }), Dx = gt("span", {
17484
+ }), Dx = yt("span", {
17483
17485
  name: "JoyTypography",
17484
17486
  slot: "Root",
17485
17487
  overridesResolver: (e, n) => n.root
@@ -17575,18 +17577,18 @@ const _x = (e) => {
17575
17577
  component: B,
17576
17578
  slots: k,
17577
17579
  slotProps: v
17578
- }), [_, H] = pt("root", {
17580
+ }), [_, H] = mt("root", {
17579
17581
  ref: t,
17580
17582
  className: b.root,
17581
17583
  elementType: Dx,
17582
17584
  externalForwardedProps: O,
17583
17585
  ownerState: F
17584
- }), [D, L] = pt("startDecorator", {
17586
+ }), [D, L] = mt("startDecorator", {
17585
17587
  className: b.startDecorator,
17586
17588
  elementType: Ix,
17587
17589
  externalForwardedProps: O,
17588
17590
  ownerState: F
17589
- }), [j, X] = pt("endDecorator", {
17591
+ }), [j, X] = mt("endDecorator", {
17590
17592
  className: b.endDecorator,
17591
17593
  elementType: Mx,
17592
17594
  externalForwardedProps: O,
@@ -17734,7 +17736,7 @@ const zx = ["checked", "uncheckedIcon", "checkedIcon", "label", "defaultChecked"
17734
17736
  label: ["label"]
17735
17737
  };
17736
17738
  return si(u, kx, {});
17737
- }, Lx = gt("span", {
17739
+ }, Lx = yt("span", {
17738
17740
  name: "JoyCheckbox",
17739
17741
  slot: "Root",
17740
17742
  overridesResolver: (e, n) => n.root
@@ -17781,7 +17783,7 @@ const zx = ["checked", "uncheckedIcon", "checkedIcon", "label", "defaultChecked"
17781
17783
  color: (o = n.variants[`${e.variant}Disabled`]) == null || (o = o[e.color]) == null ? void 0 : o.color
17782
17784
  }
17783
17785
  });
17784
- }), Bx = gt("span", {
17786
+ }), Bx = yt("span", {
17785
17787
  name: "JoyCheckbox",
17786
17788
  slot: "Checkbox",
17787
17789
  overridesResolver: (e, n) => n.checkbox
@@ -17818,7 +17820,7 @@ const zx = ["checked", "uncheckedIcon", "checkedIcon", "label", "defaultChecked"
17818
17820
  }, {
17819
17821
  [`&.${Yn.disabled}`]: (i = e.variants[`${n.variant}Disabled`]) == null ? void 0 : i[n.color]
17820
17822
  }]];
17821
- }), Vx = gt("span", {
17823
+ }), Vx = yt("span", {
17822
17824
  name: "JoyCheckbox",
17823
17825
  slot: "Action",
17824
17826
  overridesResolver: (e, n) => n.action
@@ -17847,7 +17849,7 @@ const zx = ["checked", "uncheckedIcon", "checkedIcon", "label", "defaultChecked"
17847
17849
  }, {
17848
17850
  [`&.${Yn.disabled}`]: (s = e.variants[`${n.variant}Disabled`]) == null ? void 0 : s[n.color]
17849
17851
  }] : []];
17850
- }), Wx = gt("input", {
17852
+ }), Wx = yt("input", {
17851
17853
  name: "JoyCheckbox",
17852
17854
  slot: "Input",
17853
17855
  overridesResolver: (e, n) => n.input
@@ -17858,7 +17860,7 @@ const zx = ["checked", "uncheckedIcon", "checkedIcon", "label", "defaultChecked"
17858
17860
  width: "100%",
17859
17861
  height: "100%",
17860
17862
  cursor: "pointer"
17861
- })), Hx = gt("label", {
17863
+ })), Hx = yt("label", {
17862
17864
  name: "JoyCheckbox",
17863
17865
  slot: "Label",
17864
17866
  overridesResolver: (e, n) => n.label
@@ -17937,23 +17939,23 @@ const zx = ["checked", "uncheckedIcon", "checkedIcon", "label", "defaultChecked"
17937
17939
  component: H,
17938
17940
  slots: D,
17939
17941
  slotProps: L
17940
- }), [Ae, Fe] = pt("root", {
17942
+ }), [Ae, Fe] = mt("root", {
17941
17943
  ref: t,
17942
17944
  className: ot.root,
17943
17945
  elementType: Lx,
17944
17946
  externalForwardedProps: me,
17945
17947
  ownerState: ge
17946
- }), [ut, kt] = pt("checkbox", {
17948
+ }), [ut, kt] = mt("checkbox", {
17947
17949
  className: ot.checkbox,
17948
17950
  elementType: Bx,
17949
17951
  externalForwardedProps: me,
17950
17952
  ownerState: ge
17951
- }), [le, _t] = pt("action", {
17953
+ }), [le, _t] = mt("action", {
17952
17954
  className: ot.action,
17953
17955
  elementType: Vx,
17954
17956
  externalForwardedProps: me,
17955
17957
  ownerState: ge
17956
- }), [It, dn] = pt("input", {
17958
+ }), [It, dn] = mt("input", {
17957
17959
  additionalProps: q({
17958
17960
  id: M,
17959
17961
  name: k,
@@ -17971,7 +17973,7 @@ const zx = ["checked", "uncheckedIcon", "checkedIcon", "label", "defaultChecked"
17971
17973
  externalForwardedProps: me,
17972
17974
  getSlotProps: G,
17973
17975
  ownerState: ge
17974
- }), [fn, Rn] = pt("label", {
17976
+ }), [fn, Rn] = mt("label", {
17975
17977
  additionalProps: {
17976
17978
  htmlFor: M
17977
17979
  },
@@ -18865,7 +18867,7 @@ process.env.NODE_ENV !== "production" && (td.propTypes = {
18865
18867
  */
18866
18868
  timeout: h.number.isRequired
18867
18869
  });
18868
- const vt = Nn("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsate", "child", "childLeaving", "childPulsate"]), ei = 550, SC = 80, kC = Qn`
18870
+ const bt = Nn("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsate", "child", "childLeaving", "childPulsate"]), ei = 550, SC = 80, kC = Qn`
18869
18871
  0% {
18870
18872
  transform: scale(0);
18871
18873
  opacity: 0.1;
@@ -18915,7 +18917,7 @@ const vt = Nn("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsa
18915
18917
  opacity: 0;
18916
18918
  position: absolute;
18917
18919
 
18918
- &.${vt.rippleVisible} {
18920
+ &.${bt.rippleVisible} {
18919
18921
  opacity: 0.3;
18920
18922
  transform: scale(1);
18921
18923
  animation-name: ${kC};
@@ -18925,13 +18927,13 @@ const vt = Nn("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsa
18925
18927
  }) => e.transitions.easing.easeInOut};
18926
18928
  }
18927
18929
 
18928
- &.${vt.ripplePulsate} {
18930
+ &.${bt.ripplePulsate} {
18929
18931
  animation-duration: ${({
18930
18932
  theme: e
18931
18933
  }) => e.transitions.duration.shorter}ms;
18932
18934
  }
18933
18935
 
18934
- & .${vt.child} {
18936
+ & .${bt.child} {
18935
18937
  opacity: 1;
18936
18938
  display: block;
18937
18939
  width: 100%;
@@ -18940,7 +18942,7 @@ const vt = Nn("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsa
18940
18942
  background-color: currentColor;
18941
18943
  }
18942
18944
 
18943
- & .${vt.childLeaving} {
18945
+ & .${bt.childLeaving} {
18944
18946
  opacity: 0;
18945
18947
  animation-name: ${EC};
18946
18948
  animation-duration: ${ei}ms;
@@ -18949,7 +18951,7 @@ const vt = Nn("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsa
18949
18951
  }) => e.transitions.easing.easeInOut};
18950
18952
  }
18951
18953
 
18952
- & .${vt.childPulsate} {
18954
+ & .${bt.childPulsate} {
18953
18955
  position: absolute;
18954
18956
  /* @noflip */
18955
18957
  left: 0px;
@@ -18985,12 +18987,12 @@ const vt = Nn("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsa
18985
18987
  } = k;
18986
18988
  u((B) => [...B, /* @__PURE__ */ c.jsx(AC, {
18987
18989
  classes: {
18988
- ripple: $e(s.ripple, vt.ripple),
18989
- rippleVisible: $e(s.rippleVisible, vt.rippleVisible),
18990
- ripplePulsate: $e(s.ripplePulsate, vt.ripplePulsate),
18991
- child: $e(s.child, vt.child),
18992
- childLeaving: $e(s.childLeaving, vt.childLeaving),
18993
- childPulsate: $e(s.childPulsate, vt.childPulsate)
18990
+ ripple: $e(s.ripple, bt.ripple),
18991
+ rippleVisible: $e(s.rippleVisible, bt.rippleVisible),
18992
+ ripplePulsate: $e(s.ripplePulsate, bt.ripplePulsate),
18993
+ child: $e(s.child, bt.child),
18994
+ childLeaving: $e(s.childLeaving, bt.childLeaving),
18995
+ childPulsate: $e(s.childPulsate, bt.childPulsate)
18994
18996
  },
18995
18997
  timeout: ei,
18996
18998
  pulsate: v,
@@ -19068,7 +19070,7 @@ const vt = Nn("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsa
19068
19070
  start: w,
19069
19071
  stop: x
19070
19072
  }), [E, w, x]), /* @__PURE__ */ c.jsx(NC, {
19071
- className: $e(vt.root, s.root, i),
19073
+ className: $e(bt.root, s.root, i),
19072
19074
  ref: d,
19073
19075
  ...a,
19074
19076
  children: /* @__PURE__ */ c.jsx(Ii, {
@@ -20473,7 +20475,7 @@ const s1 = (e) => {
20473
20475
  acceptButtonParams: s.acceptButtonParams || { variant: "primary" },
20474
20476
  declineButtonParams: s.declineButtonParams || { variant: "primary" },
20475
20477
  warning: s.warning || !1,
20476
- id: s.id || Ct(),
20478
+ id: s.id || dt(),
20477
20479
  index: i,
20478
20480
  acceptLabel: s.acceptLabel || "OK",
20479
20481
  declineLabel: s.declineLabel || "Cancel",
@@ -20538,7 +20540,7 @@ const u1 = ["color", "backgroundColor"], d1 = ["children", "className", "color",
20538
20540
  function Vn(e, n) {
20539
20541
  return `var(--CircularProgress-${e}Thickness, var(--CircularProgress-thickness, ${n}))`;
20540
20542
  }
20541
- const m1 = gt("span", {
20543
+ const m1 = yt("span", {
20542
20544
  name: "JoyCircularProgress",
20543
20545
  slot: "Root",
20544
20546
  overridesResolver: (e, n) => n.root
@@ -20623,7 +20625,7 @@ const m1 = gt("span", {
20623
20625
  "--CircularProgress-trackColor": (o = n.variants.softHover) == null ? void 0 : o[e.color].backgroundColor,
20624
20626
  "--CircularProgress-progressColor": (s = n.variants.solid) == null ? void 0 : s[e.color].backgroundColor
20625
20627
  });
20626
- }), h1 = gt("svg", {
20628
+ }), h1 = yt("svg", {
20627
20629
  name: "JoyCircularProgress",
20628
20630
  slot: "Svg",
20629
20631
  overridesResolver: (e, n) => n.svg
@@ -20637,7 +20639,7 @@ const m1 = gt("span", {
20637
20639
  // centered align
20638
20640
  left: "calc(-1 * var(--variant-borderWidth, 0px))"
20639
20641
  // centered align
20640
- }), g1 = gt("circle", {
20642
+ }), g1 = yt("circle", {
20641
20643
  name: "JoyCircularProgress",
20642
20644
  slot: "track",
20643
20645
  overridesResolver: (e, n) => n.track
@@ -20648,7 +20650,7 @@ const m1 = gt("span", {
20648
20650
  fill: "transparent",
20649
20651
  strokeWidth: "var(--_track-thickness)",
20650
20652
  stroke: "var(--CircularProgress-trackColor)"
20651
- }), y1 = gt("circle", {
20653
+ }), y1 = yt("circle", {
20652
20654
  name: "JoyCircularProgress",
20653
20655
  slot: "progress",
20654
20656
  overridesResolver: (e, n) => n.progress
@@ -20703,7 +20705,7 @@ const m1 = gt("span", {
20703
20705
  component: m,
20704
20706
  slots: g,
20705
20707
  slotProps: y
20706
- }), [x, k] = pt("root", {
20708
+ }), [x, k] = mt("root", {
20707
20709
  ref: t,
20708
20710
  className: $e(w.root, s),
20709
20711
  elementType: m1,
@@ -20720,17 +20722,17 @@ const m1 = gt("span", {
20720
20722
  }, p && f && {
20721
20723
  "aria-valuenow": Math.round(typeof p == "number" ? p : Number(p || 0))
20722
20724
  })
20723
- }), [v, S] = pt("svg", {
20725
+ }), [v, S] = mt("svg", {
20724
20726
  className: w.svg,
20725
20727
  elementType: h1,
20726
20728
  externalForwardedProps: E,
20727
20729
  ownerState: C
20728
- }), [N, A] = pt("track", {
20730
+ }), [N, A] = mt("track", {
20729
20731
  className: w.track,
20730
20732
  elementType: g1,
20731
20733
  externalForwardedProps: E,
20732
20734
  ownerState: C
20733
- }), [P, B] = pt("progress", {
20735
+ }), [P, B] = mt("progress", {
20734
20736
  className: w.progress,
20735
20737
  elementType: y1,
20736
20738
  externalForwardedProps: E,
@@ -20903,7 +20905,7 @@ const ri = ye("rounded relative", {
20903
20905
  }, [t, o]), /* @__PURE__ */ c.jsx(gf, {});
20904
20906
  }), ld = En({ name: "", onChange: () => {
20905
20907
  } }), zw = (e) => {
20906
- const n = ie(null), t = Ct(), r = ie(null), { name: o, onChange: s } = rt(ld), {
20908
+ const n = ie(null), t = dt(), r = ie(null), { name: o, onChange: s } = rt(ld), {
20907
20909
  children: i,
20908
20910
  header: a,
20909
20911
  onSelect: l = () => {
@@ -21009,7 +21011,7 @@ const ri = ye("rounded relative", {
21009
21011
  onContextMenu: o,
21010
21012
  className: s,
21011
21013
  style: i
21012
- } = e, a = Ct(), [l, u] = I();
21014
+ } = e, a = dt(), [l, u] = I();
21013
21015
  K(() => {
21014
21016
  l && l.ref.current && (je("#" + a + " *").removeClass("css-c-233"), l.ref.current.classList.add("css-c-233"), r(l.event, l.checked, l));
21015
21017
  }, [l]);
@@ -21314,7 +21316,7 @@ const N1 = ye("relative w-fit data-[state=active]:font-medium group", {
21314
21316
  }) })
21315
21317
  ] });
21316
21318
  }), Vw = de((e, n) => {
21317
- const t = Ct(), [r, o] = I(null), [s, i] = I(null), [a, l] = I(null), [u, f] = I(null), {
21319
+ const t = dt(), [r, o] = I(null), [s, i] = I(null), [a, l] = I(null), [u, f] = I(null), {
21318
21320
  resize: p = "both"
21319
21321
  } = e, m = (y, d) => {
21320
21322
  p == "both" && (d == "y" && (o(y.clientY), i(resizable.offsetHeight)), d == "x" && (l(y.clientX), f(resizable.offsetWidth)));
@@ -21781,7 +21783,7 @@ export {
21781
21783
  Lw as useApi,
21782
21784
  Dr as useBoxSize,
21783
21785
  it as useGeneratedId,
21784
- Ct as useRandomId,
21786
+ dt as useRandomId,
21785
21787
  Yw as useStore,
21786
21788
  Gw as useVariable
21787
21789
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@abdellatifui/react",
3
3
  "private": false,
4
- "version": "3.2.16",
4
+ "version": "3.2.17",
5
5
  "type": "module",
6
6
  "types": "dist/nextgen.d.ts",
7
7
  "files": [