@abdellatifui/react 3.2.145 → 3.2.147
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 +30 -28
- package/package.json +1 -1
package/dist/nextgen.js
CHANGED
|
@@ -590,7 +590,7 @@ const Sp = (e, n) => {
|
|
|
590
590
|
return o(l, f), f;
|
|
591
591
|
};
|
|
592
592
|
return s = i, (...l) => s(Vp(...l));
|
|
593
|
-
}, Hp = [],
|
|
593
|
+
}, Hp = [], Ke = (e) => {
|
|
594
594
|
const n = (t) => t[e] || Hp;
|
|
595
595
|
return n.isThemeGetter = !0, n;
|
|
596
596
|
}, Wc = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Hc = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Up = /^\d+\/\d+$/, Gp = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Yp = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, qp = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Kp = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Xp = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Mn = (e) => Up.test(e), pe = (e) => !!e && !Number.isNaN(Number(e)), Jt = (e) => !!e && Number.isInteger(Number(e)), Ds = (e) => e.endsWith("%") && pe(e.slice(0, -1)), Bt = (e) => Gp.test(e), Qp = () => !0, Jp = (e) => (
|
|
@@ -605,7 +605,7 @@ const Sp = (e, n) => {
|
|
|
605
605
|
const r = Hc.exec(e);
|
|
606
606
|
return r ? r[1] ? n(r[1]) : t : !1;
|
|
607
607
|
}, Gc = (e) => e === "position" || e === "percentage", Yc = (e) => e === "image" || e === "url", qc = (e) => e === "length" || e === "size" || e === "bg-size", Kc = (e) => e === "length", am = (e) => e === "number", lm = (e) => e === "family-name", Xc = (e) => e === "shadow", cm = () => {
|
|
608
|
-
const e =
|
|
608
|
+
const e = Ke("color"), n = Ke("font"), t = Ke("text"), r = Ke("font-weight"), o = Ke("tracking"), s = Ke("leading"), i = Ke("breakpoint"), a = Ke("container"), l = Ke("spacing"), u = Ke("radius"), f = Ke("shadow"), p = Ke("inset-shadow"), m = Ke("text-shadow"), h = Ke("drop-shadow"), g = Ke("blur"), d = Ke("perspective"), x = Ke("aspect"), S = Ke("ease"), w = Ke("animate"), C = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], k = () => [
|
|
609
609
|
"center",
|
|
610
610
|
"top",
|
|
611
611
|
"bottom",
|
|
@@ -18967,7 +18967,7 @@ const gc = [
|
|
|
18967
18967
|
ne();
|
|
18968
18968
|
const It = at(4, !0, !1), ye = ne({});
|
|
18969
18969
|
ne();
|
|
18970
|
-
const jt = ne(), [de, fn] = I([]), [St, pn] = I([]), [Xr, Qr] = I([]), [mt, _t] = I(), [lr, cr] = I(null), [ur, Jr] = I(null), [ht, dr] = I({}), [Mt, Zr] = I({}), [st, Xt] = I(!1), [eo, Pn] = I({ connections: [], nodes: [], countBoxes: [] }), [ha, to] = I({}), [no, ro] = I(!1), [ga, Rn] = I(!1), [fr, Es] = I(t), [rf, Ts] = I(), [jn, oo] = I(0), [pr, mr] = I([]), [
|
|
18970
|
+
const jt = ne(), [de, fn] = I([]), [St, pn] = I([]), [Xr, Qr] = I([]), [mt, _t] = I(), [lr, cr] = I(null), [ur, Jr] = I(null), [ht, dr] = I({}), [Mt, Zr] = I({}), [st, Xt] = I(!1), [eo, Pn] = I({ connections: [], nodes: [], countBoxes: [] }), [ha, to] = I({}), [no, ro] = I(!1), [ga, Rn] = I(!1), [fr, Es] = I(t), [rf, Ts] = I(), [jn, oo] = I(0), [pr, mr] = I([]), [qe, Qt] = I([]), [Ns, ya] = I(!0), [hr, On] = I(!1), [so, As] = I("full"), $n = ne();
|
|
18971
18971
|
q(() => {
|
|
18972
18972
|
ee && console.log(e);
|
|
18973
18973
|
}, [ee]);
|
|
@@ -19007,7 +19007,7 @@ const gc = [
|
|
|
19007
19007
|
}.url : Fe?.mapStyle?.url, [Fe?.mapStyle, k]), js = oe((J) => {
|
|
19008
19008
|
dr(J), x(J);
|
|
19009
19009
|
}, [x]), yr = Cw({
|
|
19010
|
-
connections:
|
|
19010
|
+
connections: qe,
|
|
19011
19011
|
mapApi: ye,
|
|
19012
19012
|
options: Fe,
|
|
19013
19013
|
_onLinkSelected: js,
|
|
@@ -19210,7 +19210,7 @@ const gc = [
|
|
|
19210
19210
|
setSelectedNode: Zr,
|
|
19211
19211
|
setOnScreenLinksGroup: Pn,
|
|
19212
19212
|
...ye.current,
|
|
19213
|
-
getInViewConnections: () =>
|
|
19213
|
+
getInViewConnections: () => qe,
|
|
19214
19214
|
getInViewNodes: () => pr,
|
|
19215
19215
|
getOriginalConnections: () => connec,
|
|
19216
19216
|
getOriginalNodes: () => Xr,
|
|
@@ -19221,7 +19221,7 @@ const gc = [
|
|
|
19221
19221
|
supressLinkHover: hr,
|
|
19222
19222
|
element: $n,
|
|
19223
19223
|
lngLatBoxRef: jt
|
|
19224
|
-
}), [
|
|
19224
|
+
}), [qe, It, jn]);
|
|
19225
19225
|
const of = ce(() => B?.map((J) => ({
|
|
19226
19226
|
...J,
|
|
19227
19227
|
action: () => {
|
|
@@ -19396,7 +19396,7 @@ const gc = [
|
|
|
19396
19396
|
getOverLinkElementDelay: R
|
|
19397
19397
|
}
|
|
19398
19398
|
),
|
|
19399
|
-
Fe?.showLinkCount && !st &&
|
|
19399
|
+
Fe?.showLinkCount && !st && qe?.map((J, ve) => /* @__PURE__ */ c.jsx(
|
|
19400
19400
|
Ew,
|
|
19401
19401
|
{
|
|
19402
19402
|
data: J,
|
|
@@ -19409,7 +19409,7 @@ const gc = [
|
|
|
19409
19409
|
},
|
|
19410
19410
|
"_lnk_count_circule_" + J?.u_id
|
|
19411
19411
|
)),
|
|
19412
|
-
Fe?.showEndpoints && !st &&
|
|
19412
|
+
Fe?.showEndpoints && !st && qe?.map((J, ve) => /* @__PURE__ */ c.jsx(
|
|
19413
19413
|
Aw,
|
|
19414
19414
|
{
|
|
19415
19415
|
fontSize: Os,
|
|
@@ -22317,20 +22317,21 @@ const q1 = (e) => {
|
|
|
22317
22317
|
}, Q1 = ({
|
|
22318
22318
|
ref: e,
|
|
22319
22319
|
enableLastRefresh: n,
|
|
22320
|
-
lastRefresh: t
|
|
22320
|
+
lastRefresh: t,
|
|
22321
|
+
internalStates: r
|
|
22321
22322
|
}) => {
|
|
22322
|
-
const [
|
|
22323
|
+
const [o, s] = I(null);
|
|
22323
22324
|
return q(() => {
|
|
22324
|
-
if (
|
|
22325
|
-
const
|
|
22326
|
-
console.log(e), ue(
|
|
22325
|
+
if (r?.ready) {
|
|
22326
|
+
const i = e?.current?.tref?.current;
|
|
22327
|
+
console.log(e), ue(i).find(".ag-paging-panel").css("position", "relative"), s(i?.querySelector(".ag-paging-panel"));
|
|
22327
22328
|
}
|
|
22328
|
-
}, [
|
|
22329
|
+
}, [r?.ready]), /* @__PURE__ */ c.jsx(c.Fragment, { children: o && tr(
|
|
22329
22330
|
/* @__PURE__ */ c.jsx("div", { className: "absolute top-0 left-0 h-full flex items-center", children: n && /* @__PURE__ */ c.jsxs("div", { className: "ml-4 flex gap-x-2 font-aptos text-sm text-gray-500", children: [
|
|
22330
22331
|
/* @__PURE__ */ c.jsx("p", { children: "Last Refresh : " }),
|
|
22331
22332
|
/* @__PURE__ */ c.jsx("p", { children: t })
|
|
22332
22333
|
] }) }),
|
|
22333
|
-
|
|
22334
|
+
o
|
|
22334
22335
|
) });
|
|
22335
22336
|
};
|
|
22336
22337
|
ip.registerModules([ap]);
|
|
@@ -22422,7 +22423,7 @@ const er = an({}), J1 = (e) => {
|
|
|
22422
22423
|
ref: t,
|
|
22423
22424
|
menuItems: P,
|
|
22424
22425
|
cell: st
|
|
22425
|
-
}), [pr, mr] = I([]), [
|
|
22426
|
+
}), [pr, mr] = I([]), [qe, Qt] = I({
|
|
22426
22427
|
ready: !1,
|
|
22427
22428
|
fullscreen: !1,
|
|
22428
22429
|
lastRefresh: null
|
|
@@ -22430,7 +22431,7 @@ const er = an({}), J1 = (e) => {
|
|
|
22430
22431
|
t,
|
|
22431
22432
|
ha,
|
|
22432
22433
|
Pn,
|
|
22433
|
-
|
|
22434
|
+
qe
|
|
22434
22435
|
), ya = oe(
|
|
22435
22436
|
(ae) => {
|
|
22436
22437
|
if (!ge.current.api)
|
|
@@ -22487,7 +22488,7 @@ const er = an({}), J1 = (e) => {
|
|
|
22487
22488
|
(ae, me) => {
|
|
22488
22489
|
Qt((et) => ({ ...et, [ae]: me }));
|
|
22489
22490
|
},
|
|
22490
|
-
[
|
|
22491
|
+
[qe]
|
|
22491
22492
|
);
|
|
22492
22493
|
At(
|
|
22493
22494
|
t,
|
|
@@ -22515,11 +22516,11 @@ const er = an({}), J1 = (e) => {
|
|
|
22515
22516
|
reset: io,
|
|
22516
22517
|
onRefreshTrigger: In,
|
|
22517
22518
|
onUpdate: $n,
|
|
22518
|
-
states:
|
|
22519
|
-
ready:
|
|
22519
|
+
states: qe,
|
|
22520
|
+
ready: qe?.ready,
|
|
22520
22521
|
tref: Ze
|
|
22521
22522
|
}),
|
|
22522
|
-
[ht, Mt, st?.value,
|
|
22523
|
+
[ht, Mt, st?.value, qe]
|
|
22523
22524
|
);
|
|
22524
22525
|
const Rs = (ae) => {
|
|
22525
22526
|
const me = ae?.api?.getSelectedRows();
|
|
@@ -22554,8 +22555,8 @@ const er = an({}), J1 = (e) => {
|
|
|
22554
22555
|
},
|
|
22555
22556
|
[N]
|
|
22556
22557
|
), io = oe(() => {
|
|
22557
|
-
|
|
22558
|
-
}, [
|
|
22558
|
+
qe?.ready && jt((ae) => []);
|
|
22559
|
+
}, [qe?.ready]), In = oe(() => {
|
|
22559
22560
|
Qt((ae) => ({ ...ae, ready: !1 })), A(t), Qt((ae) => ({ ...ae, ready: !0 }));
|
|
22560
22561
|
}, [A]);
|
|
22561
22562
|
q(() => {
|
|
@@ -22574,10 +22575,10 @@ const er = an({}), J1 = (e) => {
|
|
|
22574
22575
|
[r, ge]
|
|
22575
22576
|
);
|
|
22576
22577
|
return q(() => {
|
|
22577
|
-
|
|
22578
|
+
qe?.ready ? (t.current.ready = !0, x(t), no(!1)) : no(!0), M && setTimeout(() => {
|
|
22578
22579
|
no(!1);
|
|
22579
22580
|
}, 5e3);
|
|
22580
|
-
}, [
|
|
22581
|
+
}, [qe?.ready, M]), ce(() => ({
|
|
22581
22582
|
minWidth: 200
|
|
22582
22583
|
}), []), q(() => {
|
|
22583
22584
|
if (!n) return;
|
|
@@ -22592,7 +22593,7 @@ const er = an({}), J1 = (e) => {
|
|
|
22592
22593
|
}), () => {
|
|
22593
22594
|
le?.socketio?.off?.(ae);
|
|
22594
22595
|
};
|
|
22595
|
-
}, [le, n]), /* @__PURE__ */ c.jsx(er.Provider, { value: { ...t.current, states:
|
|
22596
|
+
}, [le, n]), /* @__PURE__ */ c.jsx(er.Provider, { value: { ...t.current, states: qe }, children: /* @__PURE__ */ c.jsxs(
|
|
22596
22597
|
"div",
|
|
22597
22598
|
{
|
|
22598
22599
|
"data-tid": n,
|
|
@@ -22602,7 +22603,7 @@ const er = an({}), J1 = (e) => {
|
|
|
22602
22603
|
ref: Ze,
|
|
22603
22604
|
className: V(
|
|
22604
22605
|
"w-full bg-accent h-full custom-scroll-bar overflow-auto relative rounded-l rounded-r-none border pointer-events-auto transition-all duration-100 ease-in-out",
|
|
22605
|
-
|
|
22606
|
+
qe?.fullscreen && "w-screen h-screen top-0 left-0 z-50 bg-accent fixed",
|
|
22606
22607
|
j
|
|
22607
22608
|
),
|
|
22608
22609
|
children: [
|
|
@@ -22727,8 +22728,9 @@ const er = an({}), J1 = (e) => {
|
|
|
22727
22728
|
Q1,
|
|
22728
22729
|
{
|
|
22729
22730
|
ref: t,
|
|
22731
|
+
internalStates: qe,
|
|
22730
22732
|
enableLastRefresh: K,
|
|
22731
|
-
lastRefresh:
|
|
22733
|
+
lastRefresh: qe?.lastRefresh
|
|
22732
22734
|
}
|
|
22733
22735
|
)
|
|
22734
22736
|
] })
|