@abdellatifui/react 3.1.22 → 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 +110 -106
- package/dist/types/components/NetworkMap/Map.d.ts.map +1 -1
- package/package.json +1 -1
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,
|
|
255
|
+
var re = C.ReactCurrentDispatcher, Q;
|
|
256
256
|
function z(k, D, K) {
|
|
257
257
|
{
|
|
258
|
-
if (
|
|
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
|
-
|
|
263
|
+
Q = ae && ae[1] || "";
|
|
264
264
|
}
|
|
265
265
|
return `
|
|
266
|
-
` +
|
|
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
|
|
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
|
-
|
|
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
|
|
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 =
|
|
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,
|
|
6489
|
-
if (z = z || h, ee = ee ||
|
|
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 + ":" +
|
|
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[
|
|
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,
|
|
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
|
|
6530
|
-
if (!Array.isArray(
|
|
6531
|
-
var z = H(
|
|
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 <
|
|
6535
|
-
var ee = M(
|
|
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
|
|
6548
|
-
return new p("Invalid " + Y + " `" + oe + "` of type " + ("`" +
|
|
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
|
|
6559
|
-
return new p("Invalid " + Y + " `" + oe + "` of 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
|
|
6569
|
-
return new p("Invalid " + oe + " `" + re + "` of type " + ("`" + z + "` supplied to `" + Y + "`, expected ") + ("instance of `" +
|
|
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
|
|
6582
|
-
if (b(
|
|
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(
|
|
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
|
|
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
|
|
6600
|
-
if (r(
|
|
6601
|
-
var ee = M(
|
|
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,
|
|
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,
|
|
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 " +
|
|
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
|
|
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(
|
|
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
|
|
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(
|
|
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:
|
|
10856
|
+
_onLinkSelected: Q,
|
|
10857
10857
|
selectedConn: P,
|
|
10858
10858
|
mapDragging: M,
|
|
10859
10859
|
hideLinksOnDrag: a
|
|
10860
10860
|
});
|
|
10861
10861
|
B(() => {
|
|
10862
|
-
oe((
|
|
10863
|
-
...
|
|
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
|
|
10874
|
-
U(
|
|
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(
|
|
10895
|
-
X(
|
|
10898
|
+
function z(J) {
|
|
10899
|
+
X(J), d(J);
|
|
10896
10900
|
}
|
|
10897
|
-
function G(
|
|
10898
|
-
se(
|
|
10901
|
+
function G(J) {
|
|
10902
|
+
se(J), f(J);
|
|
10899
10903
|
}
|
|
10900
|
-
function ee(
|
|
10901
|
-
console.log(
|
|
10904
|
+
function ee(J) {
|
|
10905
|
+
console.log(J, " => ", j), O((ke) => [...ke, J]);
|
|
10902
10906
|
}
|
|
10903
|
-
function de(
|
|
10904
|
-
console.log(
|
|
10907
|
+
function de(J) {
|
|
10908
|
+
console.log(J, " => ", w), T((ke) => [...ke, J]);
|
|
10905
10909
|
}
|
|
10906
|
-
function q(
|
|
10907
|
-
const ke = w == null ? void 0 : w.filter((qe) => (qe == null ? void 0 : qe.id) !=
|
|
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(
|
|
10911
|
-
const ke = j == null ? void 0 : j.filter((qe) => (qe == null ? void 0 : qe.id) !=
|
|
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
|
|
10923
|
-
return (ke = (
|
|
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((
|
|
10935
|
-
...
|
|
10938
|
+
const Je = ve(() => (y == null ? void 0 : y.map((J) => ({
|
|
10939
|
+
...J,
|
|
10936
10940
|
action: () => {
|
|
10937
10941
|
var ke;
|
|
10938
|
-
(ke =
|
|
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 = (
|
|
10946
|
-
|
|
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: (
|
|
10954
|
-
P != null && P.x && (I(
|
|
10957
|
+
onContextMenu: (J) => {
|
|
10958
|
+
P != null && P.x && (I(J), h({
|
|
10955
10959
|
data: P,
|
|
10956
|
-
event:
|
|
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: (
|
|
10995
|
-
|
|
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((
|
|
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:
|
|
11006
|
-
item:
|
|
11007
|
-
longitude: (qe =
|
|
11008
|
-
latitude: (nt =
|
|
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,
|
|
@@ -14659,7 +14663,7 @@ const Ui = wn({}), dx = ue((e, n) => {
|
|
|
14659
14663
|
},
|
|
14660
14664
|
onExpandChange: V = () => {
|
|
14661
14665
|
}
|
|
14662
|
-
} = e, [Z, se] = $([]), Y = le(), oe = le(), re = le({}), [
|
|
14666
|
+
} = e, [Z, se] = $([]), Y = le(), oe = le(), re = le({}), [Q, z] = $([]), {
|
|
14663
14667
|
handleFilterChange: G,
|
|
14664
14668
|
getColumnFilter: ee
|
|
14665
14669
|
} = ix({
|
|
@@ -14687,9 +14691,9 @@ const Ui = wn({}), dx = ue((e, n) => {
|
|
|
14687
14691
|
G,
|
|
14688
14692
|
ee,
|
|
14689
14693
|
r
|
|
14690
|
-
), [q] = Bb(a, o), [he, Ie] = Wb(Y, t, e, oe,
|
|
14694
|
+
), [q] = Bb(a, o), [he, Ie] = Wb(Y, t, e, oe, Q), [Me, Je] = Vb(d, Ie);
|
|
14691
14695
|
Hb(he);
|
|
14692
|
-
const [ut, vt] = $(!0), [yt,
|
|
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) => {
|
|
14693
14697
|
var Qe, it, k;
|
|
14694
14698
|
if (!Y.current.api)
|
|
14695
14699
|
return;
|
|
@@ -14808,7 +14812,7 @@ const Ui = wn({}), dx = ue((e, n) => {
|
|
|
14808
14812
|
tid: r,
|
|
14809
14813
|
rowHeight: Me,
|
|
14810
14814
|
className: "w-full h-fit relative",
|
|
14811
|
-
rowData:
|
|
14815
|
+
rowData: Q,
|
|
14812
14816
|
onSelectionChanged: or,
|
|
14813
14817
|
columnDefs: de,
|
|
14814
14818
|
pagination: i,
|
|
@@ -14836,7 +14840,7 @@ const Ui = wn({}), dx = ue((e, n) => {
|
|
|
14836
14840
|
}), [
|
|
14837
14841
|
r,
|
|
14838
14842
|
Me,
|
|
14839
|
-
|
|
14843
|
+
Q,
|
|
14840
14844
|
or,
|
|
14841
14845
|
de,
|
|
14842
14846
|
i,
|
|
@@ -14857,7 +14861,7 @@ const Ui = wn({}), dx = ue((e, n) => {
|
|
|
14857
14861
|
gridRef: Y,
|
|
14858
14862
|
tid: r,
|
|
14859
14863
|
callback: he,
|
|
14860
|
-
dataset:
|
|
14864
|
+
dataset: Q,
|
|
14861
14865
|
headers: de,
|
|
14862
14866
|
changeRowHeight: Je,
|
|
14863
14867
|
filterItems: Z,
|
|
@@ -14874,7 +14878,7 @@ const Ui = wn({}), dx = ue((e, n) => {
|
|
|
14874
14878
|
Y,
|
|
14875
14879
|
r,
|
|
14876
14880
|
he,
|
|
14877
|
-
|
|
14881
|
+
Q,
|
|
14878
14882
|
de,
|
|
14879
14883
|
Je,
|
|
14880
14884
|
Z,
|
|
@@ -14902,7 +14906,7 @@ const Ui = wn({}), dx = ue((e, n) => {
|
|
|
14902
14906
|
updateCallback: Ie,
|
|
14903
14907
|
cell: nt,
|
|
14904
14908
|
toolbarBtns: I,
|
|
14905
|
-
updateEvent:
|
|
14909
|
+
updateEvent: J,
|
|
14906
14910
|
callback: he,
|
|
14907
14911
|
onRefresh: jn,
|
|
14908
14912
|
onExpand: ne,
|
|
@@ -16756,27 +16760,27 @@ function z0(e) {
|
|
|
16756
16760
|
theme: this
|
|
16757
16761
|
});
|
|
16758
16762
|
}, Z.getColorSchemeSelector = (z) => z === "light" ? "&" : `&[data-joy-color-scheme="${z}"], [data-joy-color-scheme="${z}"] &`;
|
|
16759
|
-
const
|
|
16763
|
+
const Q = {
|
|
16760
16764
|
getCssVar: x,
|
|
16761
16765
|
palette: Z.colorSchemes.light.palette
|
|
16762
16766
|
};
|
|
16763
16767
|
return Z.variants = et({
|
|
16764
|
-
plain: ot("plain",
|
|
16765
|
-
plainHover: ot("plainHover",
|
|
16766
|
-
plainActive: ot("plainActive",
|
|
16767
|
-
plainDisabled: ot("plainDisabled",
|
|
16768
|
-
outlined: ot("outlined",
|
|
16769
|
-
outlinedHover: ot("outlinedHover",
|
|
16770
|
-
outlinedActive: ot("outlinedActive",
|
|
16771
|
-
outlinedDisabled: ot("outlinedDisabled",
|
|
16772
|
-
soft: ot("soft",
|
|
16773
|
-
softHover: ot("softHover",
|
|
16774
|
-
softActive: ot("softActive",
|
|
16775
|
-
softDisabled: ot("softDisabled",
|
|
16776
|
-
solid: ot("solid",
|
|
16777
|
-
solidHover: ot("solidHover",
|
|
16778
|
-
solidActive: ot("solidActive",
|
|
16779
|
-
solidDisabled: ot("solidDisabled",
|
|
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)
|
|
16780
16784
|
}, y), Z.palette = R({}, Z.colorSchemes.light.palette, {
|
|
16781
16785
|
colorScheme: "light"
|
|
16782
16786
|
}), Z.shouldSkipGeneratingVar = C, Z.applyStyles = Gu, Z;
|
|
@@ -17521,13 +17525,13 @@ const nC = ["checked", "uncheckedIcon", "checkedIcon", "label", "defaultChecked"
|
|
|
17521
17525
|
getInputProps: Y,
|
|
17522
17526
|
checked: oe,
|
|
17523
17527
|
disabled: re,
|
|
17524
|
-
focusVisible:
|
|
17528
|
+
focusVisible: Q
|
|
17525
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, {
|
|
17526
17530
|
checked: oe,
|
|
17527
17531
|
disabled: re,
|
|
17528
17532
|
disableIcon: p,
|
|
17529
17533
|
overlay: y,
|
|
17530
|
-
focusVisible:
|
|
17534
|
+
focusVisible: Q,
|
|
17531
17535
|
color: z ? q || "primary" : q || "neutral",
|
|
17532
17536
|
variant: de,
|
|
17533
17537
|
size: V
|
|
@@ -17541,7 +17545,7 @@ const nC = ["checked", "uncheckedIcon", "checkedIcon", "label", "defaultChecked"
|
|
|
17541
17545
|
elementType: oC,
|
|
17542
17546
|
externalForwardedProps: ut,
|
|
17543
17547
|
ownerState: Me
|
|
17544
|
-
}), [
|
|
17548
|
+
}), [J, ke] = Ct("checkbox", {
|
|
17545
17549
|
className: Je.checkbox,
|
|
17546
17550
|
elementType: sC,
|
|
17547
17551
|
externalForwardedProps: ut,
|
|
@@ -17580,7 +17584,7 @@ const nC = ["checked", "uncheckedIcon", "checkedIcon", "label", "defaultChecked"
|
|
|
17580
17584
|
});
|
|
17581
17585
|
let Dt = d;
|
|
17582
17586
|
return p ? Dt = null : S ? Dt = x : oe && (Dt = f), /* @__PURE__ */ c.jsxs(vt, R({}, yt, {
|
|
17583
|
-
children: [/* @__PURE__ */ c.jsxs(
|
|
17587
|
+
children: [/* @__PURE__ */ c.jsxs(J, R({}, ke, {
|
|
17584
17588
|
children: [/* @__PURE__ */ c.jsx(qe, R({}, nt, {
|
|
17585
17589
|
children: /* @__PURE__ */ c.jsx(It, R({}, Tt))
|
|
17586
17590
|
})), Dt]
|
|
@@ -18344,9 +18348,9 @@ const jC = En("MuiButtonBase", ["root", "disabled", "focusVisible"]), RC = ["act
|
|
|
18344
18348
|
oe(!0), X.current.focus();
|
|
18345
18349
|
}
|
|
18346
18350
|
}), []);
|
|
18347
|
-
const [re,
|
|
18351
|
+
const [re, Q] = N.useState(!1);
|
|
18348
18352
|
N.useEffect(() => {
|
|
18349
|
-
|
|
18353
|
+
Q(!0);
|
|
18350
18354
|
}, []);
|
|
18351
18355
|
const z = re && !d && !u;
|
|
18352
18356
|
N.useEffect(() => {
|
|
@@ -18361,17 +18365,17 @@ const jC = En("MuiButtonBase", ["root", "disabled", "focusVisible"]), RC = ["act
|
|
|
18361
18365
|
Z(ie), M.current === !1 && oe(!1), b && b(ie);
|
|
18362
18366
|
}, !1), yt = Ln((ie) => {
|
|
18363
18367
|
X.current || (X.current = ie.currentTarget), V(ie), M.current === !0 && (oe(!0), x && x(ie)), S && S(ie);
|
|
18364
|
-
}),
|
|
18368
|
+
}), J = () => {
|
|
18365
18369
|
const ie = X.current;
|
|
18366
18370
|
return l && l !== "button" && !(ie.tagName === "A" && ie.href);
|
|
18367
18371
|
}, ke = N.useRef(!1), qe = Ln((ie) => {
|
|
18368
18372
|
h && !ke.current && Y && W.current && ie.key === " " && (ke.current = !0, W.current.stop(ie, () => {
|
|
18369
18373
|
W.current.start(ie);
|
|
18370
|
-
})), ie.target === ie.currentTarget &&
|
|
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));
|
|
18371
18375
|
}), nt = Ln((ie) => {
|
|
18372
18376
|
h && ie.key === " " && W.current && Y && !ie.defaultPrevented && (ke.current = !1, W.current.stop(ie, () => {
|
|
18373
18377
|
W.current.pulsate(ie);
|
|
18374
|
-
})), v && v(ie), p && ie.target === ie.currentTarget &&
|
|
18378
|
+
})), v && v(ie), p && ie.target === ie.currentTarget && J() && ie.key === " " && !ie.defaultPrevented && p(ie);
|
|
18375
18379
|
});
|
|
18376
18380
|
let It = l;
|
|
18377
18381
|
It === "button" && (H.href || H.to) && (It = g);
|
|
@@ -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;
|
|
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"}
|