@abdellatifui/react 3.1.21 → 3.1.23

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.
package/dist/nextgen.js CHANGED
@@ -252,18 +252,18 @@ function Cf() {
252
252
  U < 0 && S("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
253
253
  }
254
254
  }
255
- var re = C.ReactCurrentDispatcher, J;
255
+ var re = C.ReactCurrentDispatcher, Q;
256
256
  function z(k, D, K) {
257
257
  {
258
- if (J === void 0)
258
+ if (Q === void 0)
259
259
  try {
260
260
  throw Error();
261
261
  } catch (we) {
262
262
  var ae = we.stack.trim().match(/\n( *(at )?)/);
263
- J = ae && ae[1] || "";
263
+ Q = ae && ae[1] || "";
264
264
  }
265
265
  return `
266
- ` + J + k;
266
+ ` + Q + k;
267
267
  }
268
268
  }
269
269
  var G = !1, ee;
@@ -386,7 +386,7 @@ function Cf() {
386
386
  } else
387
387
  vt.setExtraStackFrame(null);
388
388
  }
389
- function Q(k, D, K, ae, we) {
389
+ function J(k, D, K, ae, we) {
390
390
  {
391
391
  var Re = Function.call.bind(Je);
392
392
  for (var ge in k)
@@ -612,7 +612,7 @@ Check the top-level render call using <` + K + ">.");
612
612
  return;
613
613
  if (K) {
614
614
  var ae = I(D);
615
- Q(K, k.props, "prop", ae, k);
615
+ J(K, k.props, "prop", ae, k);
616
616
  } else if (D.PropTypes !== void 0 && !sr) {
617
617
  sr = !0;
618
618
  var we = I(D);
@@ -6297,7 +6297,7 @@ function om() {
6297
6297
  function re(q) {
6298
6298
  return E(q) === b;
6299
6299
  }
6300
- function J(q) {
6300
+ function Q(q) {
6301
6301
  return E(q) === g;
6302
6302
  }
6303
6303
  function z(q) {
@@ -6312,7 +6312,7 @@ function om() {
6312
6312
  function de(q) {
6313
6313
  return E(q) === f;
6314
6314
  }
6315
- Ee.AsyncMode = v, Ee.ConcurrentMode = w, Ee.ContextConsumer = T, Ee.ContextProvider = j, Ee.Element = O, Ee.ForwardRef = F, Ee.Fragment = A, Ee.Lazy = _, Ee.Memo = I, Ee.Portal = P, Ee.Profiler = U, Ee.StrictMode = H, Ee.Suspense = X, Ee.isAsyncMode = ne, Ee.isConcurrentMode = M, Ee.isContextConsumer = V, Ee.isContextProvider = Z, Ee.isElement = se, Ee.isForwardRef = Y, Ee.isFragment = oe, Ee.isLazy = re, Ee.isMemo = J, Ee.isPortal = z, Ee.isProfiler = G, Ee.isStrictMode = ee, Ee.isSuspense = de, Ee.isValidElementType = x, Ee.typeOf = E;
6315
+ Ee.AsyncMode = v, Ee.ConcurrentMode = w, Ee.ContextConsumer = T, Ee.ContextProvider = j, Ee.Element = O, Ee.ForwardRef = F, Ee.Fragment = A, Ee.Lazy = _, Ee.Memo = I, Ee.Portal = P, Ee.Profiler = U, Ee.StrictMode = H, Ee.Suspense = X, Ee.isAsyncMode = ne, Ee.isConcurrentMode = M, Ee.isContextConsumer = V, Ee.isContextProvider = Z, Ee.isElement = se, Ee.isForwardRef = Y, Ee.isFragment = oe, Ee.isLazy = re, Ee.isMemo = Q, Ee.isPortal = z, Ee.isProfiler = G, Ee.isStrictMode = ee, Ee.isSuspense = de, Ee.isValidElementType = x, Ee.typeOf = E;
6316
6316
  }()), Ee;
6317
6317
  }
6318
6318
  var Ca;
@@ -6485,28 +6485,28 @@ function am() {
6485
6485
  function y(M) {
6486
6486
  if (process.env.NODE_ENV !== "production")
6487
6487
  var V = {}, Z = 0;
6488
- function se(oe, re, J, z, G, ee, de) {
6489
- if (z = z || h, ee = ee || J, de !== t) {
6488
+ function se(oe, re, Q, z, G, ee, de) {
6489
+ if (z = z || h, ee = ee || Q, de !== t) {
6490
6490
  if (l) {
6491
6491
  var q = new Error(
6492
6492
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
6493
6493
  );
6494
6494
  throw q.name = "Invariant Violation", q;
6495
6495
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
6496
- var he = z + ":" + J;
6496
+ var he = z + ":" + Q;
6497
6497
  !V[he] && // Avoid spamming the console because they are often not actionable except for lib authors
6498
6498
  Z < 3 && (s(
6499
6499
  "You are manually calling a React.PropTypes validation function for the `" + ee + "` prop on `" + z + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
6500
6500
  ), V[he] = !0, Z++);
6501
6501
  }
6502
6502
  }
6503
- return re[J] == null ? oe ? re[J] === null ? new p("The " + G + " `" + ee + "` is marked as required " + ("in `" + z + "`, but its value is `null`.")) : new p("The " + G + " `" + ee + "` is marked as required in " + ("`" + z + "`, but its value is `undefined`.")) : null : M(re, J, z, G, ee);
6503
+ return re[Q] == null ? oe ? re[Q] === null ? new p("The " + G + " `" + ee + "` is marked as required " + ("in `" + z + "`, but its value is `null`.")) : new p("The " + G + " `" + ee + "` is marked as required in " + ("`" + z + "`, but its value is `undefined`.")) : null : M(re, Q, z, G, ee);
6504
6504
  }
6505
6505
  var Y = se.bind(null, !1);
6506
6506
  return Y.isRequired = se.bind(null, !0), Y;
6507
6507
  }
6508
6508
  function C(M) {
6509
- function V(Z, se, Y, oe, re, J) {
6509
+ function V(Z, se, Y, oe, re, Q) {
6510
6510
  var z = Z[se], G = H(z);
6511
6511
  if (G !== M) {
6512
6512
  var ee = X(z);
@@ -6526,13 +6526,13 @@ function am() {
6526
6526
  function V(Z, se, Y, oe, re) {
6527
6527
  if (typeof M != "function")
6528
6528
  return new p("Property `" + re + "` of component `" + Y + "` has invalid PropType notation inside arrayOf.");
6529
- var J = Z[se];
6530
- if (!Array.isArray(J)) {
6531
- var z = H(J);
6529
+ var Q = Z[se];
6530
+ if (!Array.isArray(Q)) {
6531
+ var z = H(Q);
6532
6532
  return new p("Invalid " + oe + " `" + re + "` of type " + ("`" + z + "` supplied to `" + Y + "`, expected an array."));
6533
6533
  }
6534
- for (var G = 0; G < J.length; G++) {
6535
- var ee = M(J, G, Y, oe, re + "[" + G + "]", t);
6534
+ for (var G = 0; G < Q.length; G++) {
6535
+ var ee = M(Q, G, Y, oe, re + "[" + G + "]", t);
6536
6536
  if (ee instanceof Error)
6537
6537
  return ee;
6538
6538
  }
@@ -6544,8 +6544,8 @@ function am() {
6544
6544
  function M(V, Z, se, Y, oe) {
6545
6545
  var re = V[Z];
6546
6546
  if (!a(re)) {
6547
- var J = H(re);
6548
- return new p("Invalid " + Y + " `" + oe + "` of type " + ("`" + J + "` supplied to `" + se + "`, expected a single ReactElement."));
6547
+ var Q = H(re);
6548
+ return new p("Invalid " + Y + " `" + oe + "` of type " + ("`" + Q + "` supplied to `" + se + "`, expected a single ReactElement."));
6549
6549
  }
6550
6550
  return null;
6551
6551
  }
@@ -6555,8 +6555,8 @@ function am() {
6555
6555
  function M(V, Z, se, Y, oe) {
6556
6556
  var re = V[Z];
6557
6557
  if (!e.isValidElementType(re)) {
6558
- var J = H(re);
6559
- return new p("Invalid " + Y + " `" + oe + "` of type " + ("`" + J + "` supplied to `" + se + "`, expected a single ReactElement type."));
6558
+ var Q = H(re);
6559
+ return new p("Invalid " + Y + " `" + oe + "` of type " + ("`" + Q + "` supplied to `" + se + "`, expected a single ReactElement type."));
6560
6560
  }
6561
6561
  return null;
6562
6562
  }
@@ -6565,8 +6565,8 @@ function am() {
6565
6565
  function w(M) {
6566
6566
  function V(Z, se, Y, oe, re) {
6567
6567
  if (!(Z[se] instanceof M)) {
6568
- var J = M.name || h, z = ne(Z[se]);
6569
- return new p("Invalid " + oe + " `" + re + "` of type " + ("`" + z + "` supplied to `" + Y + "`, expected ") + ("instance of `" + J + "`."));
6568
+ var Q = M.name || h, z = ne(Z[se]);
6569
+ return new p("Invalid " + oe + " `" + re + "` of type " + ("`" + z + "` supplied to `" + Y + "`, expected ") + ("instance of `" + Q + "`."));
6570
6570
  }
6571
6571
  return null;
6572
6572
  }
@@ -6578,14 +6578,14 @@ function am() {
6578
6578
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
6579
6579
  ) : s("Invalid argument supplied to oneOf, expected an array.")), i;
6580
6580
  function V(Z, se, Y, oe, re) {
6581
- for (var J = Z[se], z = 0; z < M.length; z++)
6582
- if (b(J, M[z]))
6581
+ for (var Q = Z[se], z = 0; z < M.length; z++)
6582
+ if (b(Q, M[z]))
6583
6583
  return null;
6584
6584
  var G = JSON.stringify(M, function(de, q) {
6585
6585
  var he = X(q);
6586
6586
  return he === "symbol" ? String(q) : q;
6587
6587
  });
6588
- return new p("Invalid " + oe + " `" + re + "` of value `" + String(J) + "` " + ("supplied to `" + Y + "`, expected one of " + G + "."));
6588
+ return new p("Invalid " + oe + " `" + re + "` of value `" + String(Q) + "` " + ("supplied to `" + Y + "`, expected one of " + G + "."));
6589
6589
  }
6590
6590
  return y(V);
6591
6591
  }
@@ -6593,12 +6593,12 @@ function am() {
6593
6593
  function V(Z, se, Y, oe, re) {
6594
6594
  if (typeof M != "function")
6595
6595
  return new p("Property `" + re + "` of component `" + Y + "` has invalid PropType notation inside objectOf.");
6596
- var J = Z[se], z = H(J);
6596
+ var Q = Z[se], z = H(Q);
6597
6597
  if (z !== "object")
6598
6598
  return new p("Invalid " + oe + " `" + re + "` of type " + ("`" + z + "` supplied to `" + Y + "`, expected an object."));
6599
- for (var G in J)
6600
- if (r(J, G)) {
6601
- var ee = M(J, G, Y, oe, re + "." + G, t);
6599
+ for (var G in Q)
6600
+ if (r(Q, G)) {
6601
+ var ee = M(Q, G, Y, oe, re + "." + G, t);
6602
6602
  if (ee instanceof Error)
6603
6603
  return ee;
6604
6604
  }
@@ -6616,15 +6616,15 @@ function am() {
6616
6616
  "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + W(Z) + " at index " + V + "."
6617
6617
  ), i;
6618
6618
  }
6619
- function se(Y, oe, re, J, z) {
6619
+ function se(Y, oe, re, Q, z) {
6620
6620
  for (var G = [], ee = 0; ee < M.length; ee++) {
6621
- var de = M[ee], q = de(Y, oe, re, J, z, t);
6621
+ var de = M[ee], q = de(Y, oe, re, Q, z, t);
6622
6622
  if (q == null)
6623
6623
  return null;
6624
6624
  q.data && r(q.data, "expectedType") && G.push(q.data.expectedType);
6625
6625
  }
6626
6626
  var he = G.length > 0 ? ", expected one of type [" + G.join(", ") + "]" : "";
6627
- return new p("Invalid " + J + " `" + z + "` supplied to " + ("`" + re + "`" + he + "."));
6627
+ return new p("Invalid " + Q + " `" + z + "` supplied to " + ("`" + re + "`" + he + "."));
6628
6628
  }
6629
6629
  return y(se);
6630
6630
  }
@@ -6641,14 +6641,14 @@ function am() {
6641
6641
  }
6642
6642
  function _(M) {
6643
6643
  function V(Z, se, Y, oe, re) {
6644
- var J = Z[se], z = H(J);
6644
+ var Q = Z[se], z = H(Q);
6645
6645
  if (z !== "object")
6646
6646
  return new p("Invalid " + oe + " `" + re + "` of type `" + z + "` " + ("supplied to `" + Y + "`, expected `object`."));
6647
6647
  for (var G in M) {
6648
6648
  var ee = M[G];
6649
6649
  if (typeof ee != "function")
6650
6650
  return A(Y, oe, re, G, X(ee));
6651
- var de = ee(J, G, Y, oe, re + "." + G, t);
6651
+ var de = ee(Q, G, Y, oe, re + "." + G, t);
6652
6652
  if (de)
6653
6653
  return de;
6654
6654
  }
@@ -6658,7 +6658,7 @@ function am() {
6658
6658
  }
6659
6659
  function I(M) {
6660
6660
  function V(Z, se, Y, oe, re) {
6661
- var J = Z[se], z = H(J);
6661
+ var Q = Z[se], z = H(Q);
6662
6662
  if (z !== "object")
6663
6663
  return new p("Invalid " + oe + " `" + re + "` of type `" + z + "` " + ("supplied to `" + Y + "`, expected `object`."));
6664
6664
  var G = n({}, Z[se], M);
@@ -6671,7 +6671,7 @@ function am() {
6671
6671
  "Invalid " + oe + " `" + re + "` key `" + ee + "` supplied to `" + Y + "`.\nBad object: " + JSON.stringify(Z[se], null, " ") + `
6672
6672
  Valid keys: ` + JSON.stringify(Object.keys(M), null, " ")
6673
6673
  );
6674
- var q = de(J, ee, Y, oe, re + "." + ee, t);
6674
+ var q = de(Q, ee, Y, oe, re + "." + ee, t);
6675
6675
  if (q)
6676
6676
  return q;
6677
6677
  }
@@ -10853,14 +10853,14 @@ const Py = ue((e, n) => {
10853
10853
  connections: w,
10854
10854
  mapApi: x,
10855
10855
  options: Y,
10856
- _onLinkSelected: J,
10856
+ _onLinkSelected: Q,
10857
10857
  selectedConn: P,
10858
10858
  mapDragging: M,
10859
10859
  hideLinksOnDrag: a
10860
10860
  });
10861
10861
  B(() => {
10862
- oe((Q) => ({
10863
- ...Q,
10862
+ oe((J) => ({
10863
+ ...J,
10864
10864
  linkAnimation: l,
10865
10865
  defaultLinkColorHex: In(s),
10866
10866
  link_highlighted_color_hex: In(o),
@@ -10870,10 +10870,14 @@ const Py = ue((e, n) => {
10870
10870
  hideLinksOnDrag: a
10871
10871
  }));
10872
10872
  }, [l, s, o, i, g, b, a]);
10873
- function J(Q) {
10874
- U(Q), u(Q);
10873
+ function Q(J) {
10874
+ U(J), u(J);
10875
10875
  }
10876
10876
  B(() => {
10877
+ (r == null ? void 0 : r.length) > 0 && T((J) => [...r]);
10878
+ }, [r == null ? void 0 : r.length]), B(() => {
10879
+ (t == null ? void 0 : t.length) > 0 && O((J) => [...t]);
10880
+ }, [t == null ? void 0 : t.length]), B(() => {
10877
10881
  P != null && P.x ? ne(
10878
10882
  {
10879
10883
  lng: P == null ? void 0 : P.coordinate[0],
@@ -10891,24 +10895,24 @@ const Py = ue((e, n) => {
10891
10895
  }
10892
10896
  ) : ne(null);
10893
10897
  }, [P]);
10894
- function z(Q) {
10895
- X(Q), d(Q);
10898
+ function z(J) {
10899
+ X(J), d(J);
10896
10900
  }
10897
- function G(Q) {
10898
- se(Q), f(Q);
10901
+ function G(J) {
10902
+ se(J), f(J);
10899
10903
  }
10900
- function ee(Q) {
10901
- console.log(Q, " => ", j), O((ke) => [...ke, Q]);
10904
+ function ee(J) {
10905
+ console.log(J, " => ", j), O((ke) => [...ke, J]);
10902
10906
  }
10903
- function de(Q) {
10904
- console.log(Q, " => ", w), T((ke) => [...ke, Q]);
10907
+ function de(J) {
10908
+ console.log(J, " => ", w), T((ke) => [...ke, J]);
10905
10909
  }
10906
- function q(Q) {
10907
- const ke = w == null ? void 0 : w.filter((qe) => (qe == null ? void 0 : qe.id) != Q);
10910
+ function q(J) {
10911
+ const ke = w == null ? void 0 : w.filter((qe) => (qe == null ? void 0 : qe.id) != J);
10908
10912
  T(ke);
10909
10913
  }
10910
- function he(Q) {
10911
- const ke = j == null ? void 0 : j.filter((qe) => (qe == null ? void 0 : qe.id) != Q);
10914
+ function he(J) {
10915
+ const ke = j == null ? void 0 : j.filter((qe) => (qe == null ? void 0 : qe.id) != J);
10912
10916
  O(ke);
10913
10917
  }
10914
10918
  function Ie() {
@@ -10919,8 +10923,8 @@ const Py = ue((e, n) => {
10919
10923
  }
10920
10924
  Gn(n, () => ({
10921
10925
  getCanvas: () => {
10922
- var Q, ke;
10923
- return (ke = (Q = x.current) == null ? void 0 : Q.getCanvas) == null ? void 0 : ke.call(Q);
10926
+ var J, ke;
10927
+ return (ke = (J = x.current) == null ? void 0 : J.getCanvas) == null ? void 0 : ke.call(J);
10924
10928
  },
10925
10929
  createNode: ee,
10926
10930
  removeNode: he,
@@ -10931,29 +10935,29 @@ const Py = ue((e, n) => {
10931
10935
  // You can spread internal API if you want
10932
10936
  ...x.current
10933
10937
  }));
10934
- const Je = ve(() => (y == null ? void 0 : y.map((Q) => ({
10935
- ...Q,
10938
+ const Je = ve(() => (y == null ? void 0 : y.map((J) => ({
10939
+ ...J,
10936
10940
  action: () => {
10937
10941
  var ke;
10938
- (ke = Q == null ? void 0 : Q.action) == null || ke.call(Q, {
10942
+ (ke = J == null ? void 0 : J.action) == null || ke.call(J, {
10939
10943
  data: P,
10940
10944
  event: _,
10941
10945
  mapApi: x,
10942
10946
  type: "connection"
10943
10947
  });
10944
10948
  }
10945
- }))) || [], [y, _, P]), ut = (Q) => {
10946
- Q != null && Q.coordinate && v(Q.coordinate), x.current.getCanvas().style.cursor = "", Q != null && Q.picked && (x.current.getCanvas().style.cursor = "default", A({ ...Q.object }));
10949
+ }))) || [], [y, _, P]), ut = (J) => {
10950
+ J != null && J.coordinate && v(J.coordinate), x.current.getCanvas().style.cursor = "", J != null && J.picked && (x.current.getCanvas().style.cursor = "default", A({ ...J.object }));
10947
10951
  const ke = document.querySelector("canvas[data-mapbox-overlay]");
10948
10952
  ke && (ke.style.zIndex = "0", ke.style.pointerEvents = "none");
10949
10953
  };
10950
10954
  return /* @__PURE__ */ c.jsx("div", { className: "w-full h-full relative bg-blue-200", children: /* @__PURE__ */ c.jsxs(
10951
10955
  "div",
10952
10956
  {
10953
- onContextMenu: (Q) => {
10954
- P != null && P.x && (I(Q), h({
10957
+ onContextMenu: (J) => {
10958
+ P != null && P.x && (I(J), h({
10955
10959
  data: P,
10956
- event: Q,
10960
+ event: J,
10957
10961
  mapApi: x,
10958
10962
  type: "connection"
10959
10963
  }));
@@ -10991,21 +10995,21 @@ const Py = ue((e, n) => {
10991
10995
  {
10992
10996
  layers: [...re],
10993
10997
  onHover: ut,
10994
- onClick: (Q) => {
10995
- Q != null && Q.layer || U({});
10998
+ onClick: (J) => {
10999
+ J != null && J.layer || U({});
10996
11000
  },
10997
11001
  style: { zIndex: 0 }
10998
11002
  }
10999
11003
  ),
11000
- j == null ? void 0 : j.map((Q, ke) => {
11004
+ j == null ? void 0 : j.map((J, ke) => {
11001
11005
  var qe, nt;
11002
11006
  return /* @__PURE__ */ c.jsx(
11003
11007
  ky,
11004
11008
  {
11005
- name: Q == null ? void 0 : Q.name,
11006
- item: Q,
11007
- longitude: (qe = Q == null ? void 0 : Q.location) == null ? void 0 : qe.lng,
11008
- latitude: (nt = Q == null ? void 0 : Q.location) == null ? void 0 : nt.lat,
11009
+ name: J == null ? void 0 : J.name,
11010
+ item: J,
11011
+ longitude: (qe = J == null ? void 0 : J.location) == null ? void 0 : qe.lng,
11012
+ latitude: (nt = J == null ? void 0 : J.location) == null ? void 0 : nt.lat,
11009
11013
  nodeIconMapper: C,
11010
11014
  selectedNode: H,
11011
11015
  onNodeSelected: z,
@@ -12523,28 +12527,26 @@ const pb = ue((e, n) => {
12523
12527
  }
12524
12528
  ),
12525
12529
  t && /* @__PURE__ */ c.jsx(Gt, {}),
12526
- E && (l == null ? void 0 : l.length) > 0 && !g(
12527
- /* @__PURE__ */ c.jsx(
12528
- "div",
12529
- {
12530
- className: `absolute -top-2 w-fit h-fit z-50 ${j.position === "right" ? "right-2 translate-x-full" : "left-2 -translate-x-full"}`,
12531
- onMouseEnter: P,
12532
- onMouseLeave: U,
12533
- children: /* @__PURE__ */ c.jsx(
12534
- $u,
12535
- {
12536
- id: s == null ? void 0 : s.c_id,
12537
- modelRef: y,
12538
- role: "sub",
12539
- border: a,
12540
- items: {
12541
- items: l,
12542
- title: null
12543
- }
12530
+ E && (l == null ? void 0 : l.length) > 0 && !g && /* @__PURE__ */ c.jsx(
12531
+ "div",
12532
+ {
12533
+ className: `absolute -top-2 w-fit h-fit z-50 ${j.position === "right" ? "right-2 translate-x-full" : "left-2 -translate-x-full"}`,
12534
+ onMouseEnter: P,
12535
+ onMouseLeave: U,
12536
+ children: /* @__PURE__ */ c.jsx(
12537
+ $u,
12538
+ {
12539
+ id: s == null ? void 0 : s.c_id,
12540
+ modelRef: y,
12541
+ role: "sub",
12542
+ border: a,
12543
+ items: {
12544
+ items: l,
12545
+ title: null
12544
12546
  }
12545
- )
12546
- }
12547
- )
12547
+ }
12548
+ )
12549
+ }
12548
12550
  )
12549
12551
  ] });
12550
12552
  })), hb = $e((e) => {
@@ -14661,7 +14663,7 @@ const Ui = wn({}), dx = ue((e, n) => {
14661
14663
  },
14662
14664
  onExpandChange: V = () => {
14663
14665
  }
14664
- } = e, [Z, se] = $([]), Y = le(), oe = le(), re = le({}), [J, z] = $([]), {
14666
+ } = e, [Z, se] = $([]), Y = le(), oe = le(), re = le({}), [Q, z] = $([]), {
14665
14667
  handleFilterChange: G,
14666
14668
  getColumnFilter: ee
14667
14669
  } = ix({
@@ -14689,9 +14691,9 @@ const Ui = wn({}), dx = ue((e, n) => {
14689
14691
  G,
14690
14692
  ee,
14691
14693
  r
14692
- ), [q] = Bb(a, o), [he, Ie] = Wb(Y, t, e, oe, J), [Me, Je] = Vb(d, Ie);
14694
+ ), [q] = Bb(a, o), [he, Ie] = Wb(Y, t, e, oe, Q), [Me, Je] = Vb(d, Ie);
14693
14695
  Hb(he);
14694
- const [ut, vt] = $(!0), [yt, Q] = $(null), [ke, qe] = $(null), [nt, It] = $({ header: null, value: null }), [Tt, en] = $(!0), [Wt] = sx(he, j, nt, Tt), [Dt] = Yb(he, Je, Me), [ie, fn] = $(0), [Tn, kn] = $(!1), rr = ce((te) => {
14696
+ const [ut, vt] = $(!0), [yt, J] = $(null), [ke, qe] = $(null), [nt, It] = $({ header: null, value: null }), [Tt, en] = $(!0), [Wt] = sx(he, j, nt, Tt), [Dt] = Yb(he, Je, Me), [ie, fn] = $(0), [Tn, kn] = $(!1), rr = ce((te) => {
14695
14697
  var Qe, it, k;
14696
14698
  if (!Y.current.api)
14697
14699
  return;
@@ -14810,7 +14812,7 @@ const Ui = wn({}), dx = ue((e, n) => {
14810
14812
  tid: r,
14811
14813
  rowHeight: Me,
14812
14814
  className: "w-full h-fit relative",
14813
- rowData: J,
14815
+ rowData: Q,
14814
14816
  onSelectionChanged: or,
14815
14817
  columnDefs: de,
14816
14818
  pagination: i,
@@ -14838,7 +14840,7 @@ const Ui = wn({}), dx = ue((e, n) => {
14838
14840
  }), [
14839
14841
  r,
14840
14842
  Me,
14841
- J,
14843
+ Q,
14842
14844
  or,
14843
14845
  de,
14844
14846
  i,
@@ -14859,7 +14861,7 @@ const Ui = wn({}), dx = ue((e, n) => {
14859
14861
  gridRef: Y,
14860
14862
  tid: r,
14861
14863
  callback: he,
14862
- dataset: J,
14864
+ dataset: Q,
14863
14865
  headers: de,
14864
14866
  changeRowHeight: Je,
14865
14867
  filterItems: Z,
@@ -14876,7 +14878,7 @@ const Ui = wn({}), dx = ue((e, n) => {
14876
14878
  Y,
14877
14879
  r,
14878
14880
  he,
14879
- J,
14881
+ Q,
14880
14882
  de,
14881
14883
  Je,
14882
14884
  Z,
@@ -14904,7 +14906,7 @@ const Ui = wn({}), dx = ue((e, n) => {
14904
14906
  updateCallback: Ie,
14905
14907
  cell: nt,
14906
14908
  toolbarBtns: I,
14907
- updateEvent: Q,
14909
+ updateEvent: J,
14908
14910
  callback: he,
14909
14911
  onRefresh: jn,
14910
14912
  onExpand: ne,
@@ -16758,27 +16760,27 @@ function z0(e) {
16758
16760
  theme: this
16759
16761
  });
16760
16762
  }, Z.getColorSchemeSelector = (z) => z === "light" ? "&" : `&[data-joy-color-scheme="${z}"], [data-joy-color-scheme="${z}"] &`;
16761
- const J = {
16763
+ const Q = {
16762
16764
  getCssVar: x,
16763
16765
  palette: Z.colorSchemes.light.palette
16764
16766
  };
16765
16767
  return Z.variants = et({
16766
- plain: ot("plain", J),
16767
- plainHover: ot("plainHover", J),
16768
- plainActive: ot("plainActive", J),
16769
- plainDisabled: ot("plainDisabled", J),
16770
- outlined: ot("outlined", J),
16771
- outlinedHover: ot("outlinedHover", J),
16772
- outlinedActive: ot("outlinedActive", J),
16773
- outlinedDisabled: ot("outlinedDisabled", J),
16774
- soft: ot("soft", J),
16775
- softHover: ot("softHover", J),
16776
- softActive: ot("softActive", J),
16777
- softDisabled: ot("softDisabled", J),
16778
- solid: ot("solid", J),
16779
- solidHover: ot("solidHover", J),
16780
- solidActive: ot("solidActive", J),
16781
- solidDisabled: ot("solidDisabled", J)
16768
+ plain: ot("plain", Q),
16769
+ plainHover: ot("plainHover", Q),
16770
+ plainActive: ot("plainActive", Q),
16771
+ plainDisabled: ot("plainDisabled", Q),
16772
+ outlined: ot("outlined", Q),
16773
+ outlinedHover: ot("outlinedHover", Q),
16774
+ outlinedActive: ot("outlinedActive", Q),
16775
+ outlinedDisabled: ot("outlinedDisabled", Q),
16776
+ soft: ot("soft", Q),
16777
+ softHover: ot("softHover", Q),
16778
+ softActive: ot("softActive", Q),
16779
+ softDisabled: ot("softDisabled", Q),
16780
+ solid: ot("solid", Q),
16781
+ solidHover: ot("solidHover", Q),
16782
+ solidActive: ot("solidActive", Q),
16783
+ solidDisabled: ot("solidDisabled", Q)
16782
16784
  }, y), Z.palette = R({}, Z.colorSchemes.light.palette, {
16783
16785
  colorScheme: "light"
16784
16786
  }), Z.shouldSkipGeneratingVar = C, Z.applyStyles = Gu, Z;
@@ -17523,13 +17525,13 @@ const nC = ["checked", "uncheckedIcon", "checkedIcon", "label", "defaultChecked"
17523
17525
  getInputProps: Y,
17524
17526
  checked: oe,
17525
17527
  disabled: re,
17526
- focusVisible: J
17528
+ focusVisible: Q
17527
17529
  } = hx(se), z = oe || S, de = z ? I || "solid" : I || "outlined", q = n.color || (ne != null && ne.error ? "danger" : (a = ne == null ? void 0 : ne.color) != null ? a : _), Me = R({}, l, {
17528
17530
  checked: oe,
17529
17531
  disabled: re,
17530
17532
  disableIcon: p,
17531
17533
  overlay: y,
17532
- focusVisible: J,
17534
+ focusVisible: Q,
17533
17535
  color: z ? q || "primary" : q || "neutral",
17534
17536
  variant: de,
17535
17537
  size: V
@@ -17543,7 +17545,7 @@ const nC = ["checked", "uncheckedIcon", "checkedIcon", "label", "defaultChecked"
17543
17545
  elementType: oC,
17544
17546
  externalForwardedProps: ut,
17545
17547
  ownerState: Me
17546
- }), [Q, ke] = Ct("checkbox", {
17548
+ }), [J, ke] = Ct("checkbox", {
17547
17549
  className: Je.checkbox,
17548
17550
  elementType: sC,
17549
17551
  externalForwardedProps: ut,
@@ -17582,7 +17584,7 @@ const nC = ["checked", "uncheckedIcon", "checkedIcon", "label", "defaultChecked"
17582
17584
  });
17583
17585
  let Dt = d;
17584
17586
  return p ? Dt = null : S ? Dt = x : oe && (Dt = f), /* @__PURE__ */ c.jsxs(vt, R({}, yt, {
17585
- children: [/* @__PURE__ */ c.jsxs(Q, R({}, ke, {
17587
+ children: [/* @__PURE__ */ c.jsxs(J, R({}, ke, {
17586
17588
  children: [/* @__PURE__ */ c.jsx(qe, R({}, nt, {
17587
17589
  children: /* @__PURE__ */ c.jsx(It, R({}, Tt))
17588
17590
  })), Dt]
@@ -18346,9 +18348,9 @@ const jC = En("MuiButtonBase", ["root", "disabled", "focusVisible"]), RC = ["act
18346
18348
  oe(!0), X.current.focus();
18347
18349
  }
18348
18350
  }), []);
18349
- const [re, J] = N.useState(!1);
18351
+ const [re, Q] = N.useState(!1);
18350
18352
  N.useEffect(() => {
18351
- J(!0);
18353
+ Q(!0);
18352
18354
  }, []);
18353
18355
  const z = re && !d && !u;
18354
18356
  N.useEffect(() => {
@@ -18363,17 +18365,17 @@ const jC = En("MuiButtonBase", ["root", "disabled", "focusVisible"]), RC = ["act
18363
18365
  Z(ie), M.current === !1 && oe(!1), b && b(ie);
18364
18366
  }, !1), yt = Ln((ie) => {
18365
18367
  X.current || (X.current = ie.currentTarget), V(ie), M.current === !0 && (oe(!0), x && x(ie)), S && S(ie);
18366
- }), Q = () => {
18368
+ }), J = () => {
18367
18369
  const ie = X.current;
18368
18370
  return l && l !== "button" && !(ie.tagName === "A" && ie.href);
18369
18371
  }, ke = N.useRef(!1), qe = Ln((ie) => {
18370
18372
  h && !ke.current && Y && W.current && ie.key === " " && (ke.current = !0, W.current.stop(ie, () => {
18371
18373
  W.current.start(ie);
18372
- })), ie.target === ie.currentTarget && Q() && ie.key === " " && ie.preventDefault(), E && E(ie), ie.target === ie.currentTarget && Q() && ie.key === "Enter" && !u && (ie.preventDefault(), p && p(ie));
18374
+ })), ie.target === ie.currentTarget && J() && ie.key === " " && ie.preventDefault(), E && E(ie), ie.target === ie.currentTarget && J() && ie.key === "Enter" && !u && (ie.preventDefault(), p && p(ie));
18373
18375
  }), nt = Ln((ie) => {
18374
18376
  h && ie.key === " " && W.current && Y && !ie.defaultPrevented && (ke.current = !1, W.current.stop(ie, () => {
18375
18377
  W.current.pulsate(ie);
18376
- })), v && v(ie), p && ie.target === ie.currentTarget && Q() && ie.key === " " && !ie.defaultPrevented && p(ie);
18378
+ })), v && v(ie), p && ie.target === ie.currentTarget && J() && ie.key === " " && !ie.defaultPrevented && p(ie);
18377
18379
  });
18378
18380
  let It = l;
18379
18381
  It === "button" && (H.href || H.to) && (It = g);
@@ -1 +1 @@
1
- {"version":3,"file":"MenuItems.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Contextmenu/ContextMenuNG/Components/MenuItems.tsx"],"names":[],"mappings":"AACA,OAAO,KAAkE,MAAM,OAAO,CAAA;AAoOtF,eAAO,MAAM,QAAQ,oCAwCnB,CAAC;AAEH,eAAO,MAAM,cAAc,oCAsCzB,CAAC"}
1
+ {"version":3,"file":"MenuItems.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Contextmenu/ContextMenuNG/Components/MenuItems.tsx"],"names":[],"mappings":"AACA,OAAO,KAAkE,MAAM,OAAO,CAAA;AAqOtF,eAAO,MAAM,QAAQ,oCAwCnB,CAAC;AAEH,eAAO,MAAM,cAAc,oCAsCzB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Map.d.ts","sourceRoot":"","sources":["../../../../src/components/NetworkMap/Map.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA2F,MAAM,OAAO,CAAC;AAIhH,OAAO,kCAAkC,CAAC;AAS1C,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAqT1C,QAAA,MAAM,UAAU,4GAA4B,CAAC;AAC7C,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"Map.d.ts","sourceRoot":"","sources":["../../../../src/components/NetworkMap/Map.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA2F,MAAM,OAAO,CAAC;AAIhH,OAAO,kCAAkC,CAAC;AAS1C,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAgU1C,QAAA,MAAM,UAAU,4GAA4B,CAAC;AAC7C,eAAe,UAAU,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@abdellatifui/react",
3
3
  "private": false,
4
- "version": "3.1.21",
4
+ "version": "3.1.23",
5
5
  "type": "module",
6
6
  "types": "dist/nextgen.d.ts",
7
7
  "files": [