@abdellatifui/react 3.2.136 → 3.2.138
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.css +1 -1
- package/dist/nextgen.js +87 -82
- package/package.json +1 -1
package/dist/nextgen.js
CHANGED
|
@@ -4,7 +4,7 @@ import * as Wr from "@radix-ui/react-tooltip";
|
|
|
4
4
|
import { createPortal as Hr } from "react-dom";
|
|
5
5
|
import * as ct from "@radix-ui/react-alert-dialog";
|
|
6
6
|
import { Slot as gf } from "@radix-ui/react-slot";
|
|
7
|
-
import
|
|
7
|
+
import ce from "jquery";
|
|
8
8
|
import { ClickAwayListener as yf, MenuItem as vf, TableContainer as bf, Paper as xf, Table as Cf, TableHead as wf, TableRow as Ca, TableCell as ao, TableBody as Sf } from "@mui/material";
|
|
9
9
|
import { MapboxOverlay as kf } from "@deck.gl/mapbox";
|
|
10
10
|
import Ef from "maplibre-gl";
|
|
@@ -646,7 +646,7 @@ const Sp = (e, n) => {
|
|
|
646
646
|
g,
|
|
647
647
|
ie,
|
|
648
648
|
se
|
|
649
|
-
], X = () => ["none", me, ie, se], J = () => ["none", me, ie, se],
|
|
649
|
+
], X = () => ["none", me, ie, se], J = () => ["none", me, ie, se], ue = () => [me, ie, se], ee = () => [zn, "full", ...E()];
|
|
650
650
|
return {
|
|
651
651
|
cacheSize: 500,
|
|
652
652
|
theme: {
|
|
@@ -2654,21 +2654,21 @@ const Sp = (e, n) => {
|
|
|
2654
2654
|
* @see https://tailwindcss.com/docs/skew
|
|
2655
2655
|
*/
|
|
2656
2656
|
skew: [{
|
|
2657
|
-
skew:
|
|
2657
|
+
skew: ue()
|
|
2658
2658
|
}],
|
|
2659
2659
|
/**
|
|
2660
2660
|
* Skew X
|
|
2661
2661
|
* @see https://tailwindcss.com/docs/skew
|
|
2662
2662
|
*/
|
|
2663
2663
|
"skew-x": [{
|
|
2664
|
-
"skew-x":
|
|
2664
|
+
"skew-x": ue()
|
|
2665
2665
|
}],
|
|
2666
2666
|
/**
|
|
2667
2667
|
* Skew Y
|
|
2668
2668
|
* @see https://tailwindcss.com/docs/skew
|
|
2669
2669
|
*/
|
|
2670
2670
|
"skew-y": [{
|
|
2671
|
-
"skew-y":
|
|
2671
|
+
"skew-y": ue()
|
|
2672
2672
|
}],
|
|
2673
2673
|
/**
|
|
2674
2674
|
* Transform
|
|
@@ -6067,13 +6067,13 @@ const lh = Ce("flex items-center justify-center z-1 css-iuur1", {
|
|
|
6067
6067
|
windowMode: T = !1
|
|
6068
6068
|
} = e, M = { open: n, ref: k, container: R, children: w, props: e, _children: a, id: r }, U = oe((L) => {
|
|
6069
6069
|
W({ ...M, event: L }), setTimeout(() => {
|
|
6070
|
-
|
|
6071
|
-
|
|
6070
|
+
ce(i.current).addClass("opacity-0"), i.current?.addEventListener("transitionend", (X) => {
|
|
6071
|
+
ce(R?.current).removeClass("overflow-hidden"), t(!1), l(null), L?.callback?.({ ...M, open: !1 }), P({ ...M, event: L });
|
|
6072
6072
|
});
|
|
6073
6073
|
}, Y);
|
|
6074
6074
|
}, [n, R, Y]), B = oe((L) => {
|
|
6075
|
-
j({ ...M, open: !0, event: L }),
|
|
6076
|
-
|
|
6075
|
+
j({ ...M, open: !0, event: L }), ce(R?.current).addClass("overflow-hidden"), t(!0), setTimeout(() => {
|
|
6076
|
+
ce(i.current).removeClass("opacity-0");
|
|
6077
6077
|
}, 50);
|
|
6078
6078
|
}, [n, R, i]);
|
|
6079
6079
|
q(() => {
|
|
@@ -6342,10 +6342,10 @@ function ph() {
|
|
|
6342
6342
|
function J(ee) {
|
|
6343
6343
|
return k(ee) === o;
|
|
6344
6344
|
}
|
|
6345
|
-
function
|
|
6345
|
+
function ue(ee) {
|
|
6346
6346
|
return k(ee) === p;
|
|
6347
6347
|
}
|
|
6348
|
-
xe.AsyncMode = v, xe.ConcurrentMode = N, xe.ContextConsumer = A, xe.ContextProvider = E, xe.Element = $, xe.ForwardRef = F, xe.Fragment = R, xe.Lazy = b, xe.Memo = j, xe.Portal = P, xe.Profiler = W, xe.StrictMode = D, xe.Suspense = Y, xe.isAsyncMode = K, xe.isConcurrentMode = z, xe.isContextConsumer = T, xe.isContextProvider = M, xe.isElement = U, xe.isForwardRef = B, xe.isFragment = te, xe.isLazy = re, xe.isMemo = G, xe.isPortal = L, xe.isProfiler = X, xe.isStrictMode = J, xe.isSuspense =
|
|
6348
|
+
xe.AsyncMode = v, xe.ConcurrentMode = N, xe.ContextConsumer = A, xe.ContextProvider = E, xe.Element = $, xe.ForwardRef = F, xe.Fragment = R, xe.Lazy = b, xe.Memo = j, xe.Portal = P, xe.Profiler = W, xe.StrictMode = D, xe.Suspense = Y, xe.isAsyncMode = K, xe.isConcurrentMode = z, xe.isContextConsumer = T, xe.isContextProvider = M, xe.isElement = U, xe.isForwardRef = B, xe.isFragment = te, xe.isLazy = re, xe.isMemo = G, xe.isPortal = L, xe.isProfiler = X, xe.isStrictMode = J, xe.isSuspense = ue, xe.isValidElementType = C, xe.typeOf = k;
|
|
6349
6349
|
})()), xe;
|
|
6350
6350
|
}
|
|
6351
6351
|
var Ua;
|
|
@@ -6513,8 +6513,8 @@ function gh() {
|
|
|
6513
6513
|
function x(z) {
|
|
6514
6514
|
if (process.env.NODE_ENV !== "production")
|
|
6515
6515
|
var T = {}, M = 0;
|
|
6516
|
-
function U(te, re, G, L, X, J,
|
|
6517
|
-
if (L = L || m, J = J || G,
|
|
6516
|
+
function U(te, re, G, L, X, J, ue) {
|
|
6517
|
+
if (L = L || m, J = J || G, ue !== t) {
|
|
6518
6518
|
if (l) {
|
|
6519
6519
|
var ee = new Error(
|
|
6520
6520
|
"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"
|
|
@@ -6609,7 +6609,7 @@ function gh() {
|
|
|
6609
6609
|
for (var G = M[U], L = 0; L < z.length; L++)
|
|
6610
6610
|
if (g(G, z[L]))
|
|
6611
6611
|
return null;
|
|
6612
|
-
var X = JSON.stringify(z, function(
|
|
6612
|
+
var X = JSON.stringify(z, function(ue, ee) {
|
|
6613
6613
|
var Be = Y(ee);
|
|
6614
6614
|
return Be === "symbol" ? String(ee) : ee;
|
|
6615
6615
|
});
|
|
@@ -6646,7 +6646,7 @@ function gh() {
|
|
|
6646
6646
|
}
|
|
6647
6647
|
function U(B, te, re, G, L) {
|
|
6648
6648
|
for (var X = [], J = 0; J < z.length; J++) {
|
|
6649
|
-
var
|
|
6649
|
+
var ue = z[J], ee = ue(B, te, re, G, L, t);
|
|
6650
6650
|
if (ee == null)
|
|
6651
6651
|
return null;
|
|
6652
6652
|
ee.data && r(ee.data, "expectedType") && X.push(ee.data.expectedType);
|
|
@@ -6676,9 +6676,9 @@ function gh() {
|
|
|
6676
6676
|
var J = z[X];
|
|
6677
6677
|
if (typeof J != "function")
|
|
6678
6678
|
return R(B, te, re, X, Y(J));
|
|
6679
|
-
var
|
|
6680
|
-
if (
|
|
6681
|
-
return
|
|
6679
|
+
var ue = J(G, X, B, te, re + "." + X, t);
|
|
6680
|
+
if (ue)
|
|
6681
|
+
return ue;
|
|
6682
6682
|
}
|
|
6683
6683
|
return null;
|
|
6684
6684
|
}
|
|
@@ -6691,15 +6691,15 @@ function gh() {
|
|
|
6691
6691
|
return new d("Invalid " + te + " `" + re + "` of type `" + L + "` " + ("supplied to `" + B + "`, expected `object`."));
|
|
6692
6692
|
var X = n({}, M[U], z);
|
|
6693
6693
|
for (var J in X) {
|
|
6694
|
-
var
|
|
6695
|
-
if (r(z, J) && typeof
|
|
6696
|
-
return R(B, te, re, J, Y(
|
|
6697
|
-
if (!
|
|
6694
|
+
var ue = z[J];
|
|
6695
|
+
if (r(z, J) && typeof ue != "function")
|
|
6696
|
+
return R(B, te, re, J, Y(ue));
|
|
6697
|
+
if (!ue)
|
|
6698
6698
|
return new d(
|
|
6699
6699
|
"Invalid " + te + " `" + re + "` key `" + J + "` supplied to `" + B + "`.\nBad object: " + JSON.stringify(M[U], null, " ") + `
|
|
6700
6700
|
Valid keys: ` + JSON.stringify(Object.keys(z), null, " ")
|
|
6701
6701
|
);
|
|
6702
|
-
var ee =
|
|
6702
|
+
var ee = ue(G, J, B, te, re + "." + J, t);
|
|
6703
6703
|
if (ee)
|
|
6704
6704
|
return ee;
|
|
6705
6705
|
}
|
|
@@ -8945,8 +8945,8 @@ function _y(e) {
|
|
|
8945
8945
|
}
|
|
8946
8946
|
}, v = (L) => {
|
|
8947
8947
|
var X;
|
|
8948
|
-
const J = L.split("-"),
|
|
8949
|
-
return C(L, (X = k[
|
|
8948
|
+
const J = L.split("-"), ue = J[1], ee = J[2];
|
|
8949
|
+
return C(L, (X = k[ue]) == null ? void 0 : X[ee]);
|
|
8950
8950
|
}, N = (L) => ({
|
|
8951
8951
|
plainColor: v(`palette-${L}-500`),
|
|
8952
8952
|
plainHoverBg: v(`palette-${L}-100`),
|
|
@@ -9262,7 +9262,7 @@ function _y(e) {
|
|
|
9262
9262
|
theme: X
|
|
9263
9263
|
}) => {
|
|
9264
9264
|
var J;
|
|
9265
|
-
const
|
|
9265
|
+
const ue = L.instanceFontSize;
|
|
9266
9266
|
return Q({
|
|
9267
9267
|
margin: "var(--Icon-margin)"
|
|
9268
9268
|
}, L.fontSize && L.fontSize !== "inherit" && {
|
|
@@ -9271,8 +9271,8 @@ function _y(e) {
|
|
|
9271
9271
|
color: `var(--Icon-color, ${M.vars.palette.text.icon})`
|
|
9272
9272
|
}, L.color && L.color !== "inherit" && X.vars.palette[L.color] && {
|
|
9273
9273
|
color: `rgba(${(J = X.vars.palette[L.color]) == null ? void 0 : J.mainChannel} / 1)`
|
|
9274
|
-
}),
|
|
9275
|
-
"--Icon-fontSize": X.vars.fontSize[
|
|
9274
|
+
}), ue && ue !== "inherit" && {
|
|
9275
|
+
"--Icon-fontSize": X.vars.fontSize[ue]
|
|
9276
9276
|
});
|
|
9277
9277
|
}
|
|
9278
9278
|
}
|
|
@@ -9284,12 +9284,12 @@ function _y(e) {
|
|
|
9284
9284
|
});
|
|
9285
9285
|
function U(L, X) {
|
|
9286
9286
|
Object.keys(X).forEach((J) => {
|
|
9287
|
-
const
|
|
9287
|
+
const ue = {
|
|
9288
9288
|
main: "500",
|
|
9289
9289
|
light: "200",
|
|
9290
9290
|
dark: "700"
|
|
9291
9291
|
};
|
|
9292
|
-
L === "dark" && (
|
|
9292
|
+
L === "dark" && (ue.main = 400), !X[J].mainChannel && X[J][ue.main] && (X[J].mainChannel = vn(X[J][ue.main])), !X[J].lightChannel && X[J][ue.light] && (X[J].lightChannel = vn(X[J][ue.light])), !X[J].darkChannel && X[J][ue.dark] && (X[J].darkChannel = vn(X[J][ue.dark]));
|
|
9293
9293
|
});
|
|
9294
9294
|
}
|
|
9295
9295
|
Object.entries(M.colorSchemes).forEach(([L, X]) => {
|
|
@@ -10080,14 +10080,14 @@ const Zy = ["checked", "uncheckedIcon", "checkedIcon", "label", "defaultChecked"
|
|
|
10080
10080
|
checked: te,
|
|
10081
10081
|
disabled: re,
|
|
10082
10082
|
focusVisible: G
|
|
10083
|
-
} = og(U), L = te || w,
|
|
10083
|
+
} = og(U), L = te || w, ue = L ? j || "solid" : j || "outlined", ee = n.color || (K != null && K.error ? "danger" : (a = K?.color) != null ? a : b), it = Q({}, l, {
|
|
10084
10084
|
checked: te,
|
|
10085
10085
|
disabled: re,
|
|
10086
10086
|
disableIcon: d,
|
|
10087
10087
|
overlay: x,
|
|
10088
10088
|
focusVisible: G,
|
|
10089
10089
|
color: L ? ee || "primary" : ee || "neutral",
|
|
10090
|
-
variant:
|
|
10090
|
+
variant: ue,
|
|
10091
10091
|
size: T
|
|
10092
10092
|
}), pe = ev(it), Ye = Q({}, _, {
|
|
10093
10093
|
component: W,
|
|
@@ -14233,7 +14233,7 @@ const ux = Pn("MuiButtonBase", ["root", "disabled", "focusVisible"]), dx = (e) =
|
|
|
14233
14233
|
}, [f, m, T, K]);
|
|
14234
14234
|
const B = Ut(K, "start", A, p), te = Ut(K, "stop", S, p), re = Ut(K, "stop", w, p), G = Ut(K, "stop", $, p), L = Ut(K, "stop", (de) => {
|
|
14235
14235
|
T && de.preventDefault(), E && E(de);
|
|
14236
|
-
}, p), X = Ut(K, "start", b, p), J = Ut(K, "stop", F, p),
|
|
14236
|
+
}, p), X = Ut(K, "start", b, p), J = Ut(K, "stop", F, p), ue = Ut(K, "stop", R, p), ee = Ut(K, "stop", (de) => {
|
|
14237
14237
|
Yl(de.target) || M(!1), d && d(de);
|
|
14238
14238
|
}, !1), Be = No((de) => {
|
|
14239
14239
|
_.current || (_.current = de.currentTarget), Yl(de.target) && (M(!0), k && k(de)), C && C(de);
|
|
@@ -14279,7 +14279,7 @@ const ux = Pn("MuiButtonBase", ["root", "disabled", "focusVisible"]), dx = (e) =
|
|
|
14279
14279
|
onMouseUp: G,
|
|
14280
14280
|
onDragLeave: re,
|
|
14281
14281
|
onTouchEnd: J,
|
|
14282
|
-
onTouchMove:
|
|
14282
|
+
onTouchMove: ue,
|
|
14283
14283
|
onTouchStart: X,
|
|
14284
14284
|
ref: Ot,
|
|
14285
14285
|
tabIndex: u ? -1 : j,
|
|
@@ -15931,13 +15931,17 @@ const Jx = (e) => {
|
|
|
15931
15931
|
draggableProps: u
|
|
15932
15932
|
} = e, f = ze(), [p, m] = I(!1);
|
|
15933
15933
|
function h() {
|
|
15934
|
-
|
|
15934
|
+
ce(".abui-window-box").attr("data-ontop", "false"), ce(".abui-window-box-content").attr("data-ontop", "false"), ce(n.current).parent().attr("data-ontop", "true"), ce(n.current).attr("data-ontop", "true");
|
|
15935
15935
|
}
|
|
15936
|
-
|
|
15937
|
-
|
|
15938
|
-
}), () => {
|
|
15939
|
-
|
|
15940
|
-
}), [])
|
|
15936
|
+
q(() => (h(), ce(document).on("bringtofront", (d, x) => {
|
|
15937
|
+
x === s && h();
|
|
15938
|
+
}), ce(".abui-context-root").addClass("abui-window-box-top-priority"), () => {
|
|
15939
|
+
ce(document).off("bringtofront");
|
|
15940
|
+
}), []);
|
|
15941
|
+
function g() {
|
|
15942
|
+
ce(".abui-context-root").removeClass("abui-window-box-top-priority");
|
|
15943
|
+
}
|
|
15944
|
+
return /* @__PURE__ */ c.jsx(
|
|
15941
15945
|
vp,
|
|
15942
15946
|
{
|
|
15943
15947
|
defaultClassName: "group absolute z-auto abui-window-box bg-red-200 data-[ontop=true]:z-50 pointer-events-auto",
|
|
@@ -15945,6 +15949,7 @@ const Jx = (e) => {
|
|
|
15945
15949
|
nodeRef: n,
|
|
15946
15950
|
onClick: h,
|
|
15947
15951
|
onStart: h,
|
|
15952
|
+
onStop: g,
|
|
15948
15953
|
disabled: !a,
|
|
15949
15954
|
bounds: l,
|
|
15950
15955
|
defaultPosition: {
|
|
@@ -15969,7 +15974,7 @@ const Jx = (e) => {
|
|
|
15969
15974
|
"cursor-grab active:cursor-grabbing",
|
|
15970
15975
|
"hover:bg-accent/20 transition-all duration-300 rounded-t-xl group",
|
|
15971
15976
|
!a && "hidden"
|
|
15972
|
-
), children: /* @__PURE__ */ c.jsx("div", { className: "w-8 h-[3px] bg-muted-foreground/20 rounded-full group-hover:bg-muted-foreground/40 transition-all
|
|
15977
|
+
), children: /* @__PURE__ */ c.jsx("div", { className: "w-8 h-[3px] bg-muted-foreground/20 rounded-full group-hover:bg-muted-foreground/40 transition-all hover:w-16 hover:h-2" }) }),
|
|
15973
15978
|
t
|
|
15974
15979
|
]
|
|
15975
15980
|
}
|
|
@@ -16031,7 +16036,7 @@ const Jx = (e) => {
|
|
|
16031
16036
|
bounds: re = ".abui-context-root",
|
|
16032
16037
|
draggableProps: G = {}
|
|
16033
16038
|
} = B;
|
|
16034
|
-
x((L) => L.find((J) => J.id === M) ? (
|
|
16039
|
+
x((L) => L.find((J) => J.id === M) ? (ce(document).trigger("bringtofront", [M]), L) : [
|
|
16035
16040
|
...L,
|
|
16036
16041
|
{
|
|
16037
16042
|
id: M,
|
|
@@ -16039,7 +16044,7 @@ const Jx = (e) => {
|
|
|
16039
16044
|
zIndex: L?.length,
|
|
16040
16045
|
draggable: te,
|
|
16041
16046
|
remove: () => {
|
|
16042
|
-
x((J) => J.filter((
|
|
16047
|
+
x((J) => J.filter((ue) => ue.id !== M));
|
|
16043
16048
|
},
|
|
16044
16049
|
portal: /* @__PURE__ */ c.jsx(
|
|
16045
16050
|
tC,
|
|
@@ -16089,7 +16094,7 @@ const Jx = (e) => {
|
|
|
16089
16094
|
}, children: [
|
|
16090
16095
|
/* @__PURE__ */ c.jsx(eC, { onLoad: P }),
|
|
16091
16096
|
Hr(
|
|
16092
|
-
/* @__PURE__ */ c.jsx("div", { className: "
|
|
16097
|
+
/* @__PURE__ */ c.jsx("div", { className: "fixed top-0 pointer-events-none z-50 flex items-center justify-center left-0 w-screen h-screen abui-context-root", children: d.length > 0 && d.map((M) => M.portal) }),
|
|
16093
16098
|
document.body
|
|
16094
16099
|
),
|
|
16095
16100
|
/* @__PURE__ */ c.jsxs(Mr, { children: [
|
|
@@ -16102,7 +16107,7 @@ function ar(e, n = {}) {
|
|
|
16102
16107
|
const {
|
|
16103
16108
|
returnUpdate: t = !1
|
|
16104
16109
|
} = n, [r, o] = I({ y: 0, x: 0, width: 0, height: 0 }), s = () => {
|
|
16105
|
-
const i =
|
|
16110
|
+
const i = ce(e?.current).height(), a = ce(e?.current).width();
|
|
16106
16111
|
o({ y: i, x: a, width: a, height: i });
|
|
16107
16112
|
};
|
|
16108
16113
|
return q(() => {
|
|
@@ -16293,7 +16298,7 @@ const cC = (e) => {
|
|
|
16293
16298
|
k(P), j?.source != "default " && t(j, P);
|
|
16294
16299
|
}, [n]), b = oe(() => {
|
|
16295
16300
|
C && setTimeout(() => {
|
|
16296
|
-
const j = "_" + btoa(C).replaceAll("=", ""), P =
|
|
16301
|
+
const j = "_" + btoa(C).replaceAll("=", ""), P = ce("." + j).get(0);
|
|
16297
16302
|
P && P.scrollIntoView({ behavior: "smooth", block: "center", inline: "nearest" });
|
|
16298
16303
|
}, 100);
|
|
16299
16304
|
}, [C]);
|
|
@@ -16601,7 +16606,7 @@ const mC = ({
|
|
|
16601
16606
|
});
|
|
16602
16607
|
function vC(e) {
|
|
16603
16608
|
const [n, t] = I({ y: 0, x: 0, width: 0, height: 0 }), r = () => {
|
|
16604
|
-
const o =
|
|
16609
|
+
const o = ce(e).height(), s = ce(e).width(), i = e.getBoundingClientRect();
|
|
16605
16610
|
t({ y: o, x: s, width: s, height: o, clientRect: i });
|
|
16606
16611
|
};
|
|
16607
16612
|
return q(() => {
|
|
@@ -17504,7 +17509,7 @@ const UC = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADUAAAA1CAYAAADh5qNwAA
|
|
|
17504
17509
|
},
|
|
17505
17510
|
onMouseEnter: (B) => {
|
|
17506
17511
|
B?.originalEvent?.stopPropagation(), w(!0), console.log(a);
|
|
17507
|
-
const te =
|
|
17512
|
+
const te = ce(a?.current?.element?.current).height(), re = ce(a?.current?.element?.current).width(), G = N?.current?._pos?.y, L = te - G;
|
|
17508
17513
|
S({
|
|
17509
17514
|
event: B,
|
|
17510
17515
|
data: o,
|
|
@@ -18943,7 +18948,7 @@ const gc = [
|
|
|
18943
18948
|
nodeIconMapperParentClassName: L = "",
|
|
18944
18949
|
mapStyle: X = gc?.[1],
|
|
18945
18950
|
isolateNonSelectedLinksOnNodeClick: J = !1,
|
|
18946
|
-
showLinkCount:
|
|
18951
|
+
showLinkCount: ue = !0,
|
|
18947
18952
|
debug: ee = !1,
|
|
18948
18953
|
className: Be = "",
|
|
18949
18954
|
customNavigateButtonsClassName: ft = "",
|
|
@@ -19021,13 +19026,13 @@ const gc = [
|
|
|
19021
19026
|
mapStyle: X,
|
|
19022
19027
|
draggingMode: M,
|
|
19023
19028
|
isolateNonSelectedLinksOnNodeClick: J,
|
|
19024
|
-
showLinkCount:
|
|
19029
|
+
showLinkCount: ue,
|
|
19025
19030
|
maxZoomOutForLinkCount: v,
|
|
19026
19031
|
nodeSizeScaler: N,
|
|
19027
19032
|
pathCurvature: Ye,
|
|
19028
19033
|
pathThikness: at
|
|
19029
19034
|
}));
|
|
19030
|
-
}, [h, at, Ye, l, v,
|
|
19035
|
+
}, [h, at, Ye, l, v, ue, ye?.current, J, M, re, X?.name, Y, s, o, i, D, K, a, v, N]);
|
|
19031
19036
|
const js = le(() => {
|
|
19032
19037
|
const Z = eo / t;
|
|
19033
19038
|
return Lw * Z - 0.3;
|
|
@@ -19525,12 +19530,12 @@ const $d = ln({}), sk = (e) => {
|
|
|
19525
19530
|
function S() {
|
|
19526
19531
|
const w = t.current.dataset.state != "open", C = { ...e, open: w, ref: t, refTrigger: o };
|
|
19527
19532
|
w && (u(C), setTimeout(() => {
|
|
19528
|
-
|
|
19533
|
+
ce(r.current).find("div").first().removeClass("css-opacity-0");
|
|
19529
19534
|
}, h)), w || f(C), g((k) => ({ ...k, ...C }));
|
|
19530
19535
|
}
|
|
19531
19536
|
return q(() => {
|
|
19532
19537
|
p && o?.current && setTimeout(() => {
|
|
19533
|
-
|
|
19538
|
+
ce(o.current).click();
|
|
19534
19539
|
}, 100);
|
|
19535
19540
|
}, [p]), /* @__PURE__ */ c.jsxs(
|
|
19536
19541
|
oa,
|
|
@@ -19859,7 +19864,7 @@ const Jw = (e) => {
|
|
|
19859
19864
|
/* @__PURE__ */ c.jsx(Hf, {})
|
|
19860
19865
|
]), S = () => {
|
|
19861
19866
|
console.log(g);
|
|
19862
|
-
const w =
|
|
19867
|
+
const w = ce(p?.current)?.closest(".abui-panel")?.parent().attr("data-window-id");
|
|
19863
19868
|
g?.removeHtmlElement?.(w), h?.();
|
|
19864
19869
|
};
|
|
19865
19870
|
return q(() => {
|
|
@@ -19882,8 +19887,8 @@ const Jw = (e) => {
|
|
|
19882
19887
|
tooltip1: "Maximize",
|
|
19883
19888
|
tooltip2: "Minimize",
|
|
19884
19889
|
onClick: () => {
|
|
19885
|
-
const w =
|
|
19886
|
-
|
|
19890
|
+
const w = ce(p?.current).attr("data-size");
|
|
19891
|
+
ce(p?.current).attr("data-size", w === "default" ? "maximized" : "default"), ce(p.current).toggleClass("w-screen h-screen fixed top-0 left-0"), u && (ce(p?.current)?.closest(".abui-window-box").toggleClass("top-0 left-0 transform-none!"), ce(p?.current)?.closest(".abui-context-root").toggleClass("z-600!"));
|
|
19887
19892
|
}
|
|
19888
19893
|
}
|
|
19889
19894
|
),
|
|
@@ -19896,7 +19901,7 @@ const Jw = (e) => {
|
|
|
19896
19901
|
tooltip1: a[0],
|
|
19897
19902
|
tooltip2: a[1],
|
|
19898
19903
|
onClick: () => {
|
|
19899
|
-
|
|
19904
|
+
ce(p.current).find(".css-i231").toggle();
|
|
19900
19905
|
}
|
|
19901
19906
|
}
|
|
19902
19907
|
)
|
|
@@ -19931,12 +19936,12 @@ const Jw = (e) => {
|
|
|
19931
19936
|
/* @__PURE__ */ c.jsx(Ms, { size: 16 }),
|
|
19932
19937
|
/* @__PURE__ */ c.jsx(So, { size: 16 })
|
|
19933
19938
|
]), [v, N] = I([]), A = oe(() => {
|
|
19934
|
-
p ? (
|
|
19939
|
+
p ? (ce(w.current).find(".css-i231").hide(), k([/* @__PURE__ */ c.jsx(So, { size: 16 }), /* @__PURE__ */ c.jsx(Ms, { size: 16 })]), N(["Hide", "Show"])) : p || (ce(w.current).find(".css-i231").show(), k([/* @__PURE__ */ c.jsx(Ms, { size: 16 }), /* @__PURE__ */ c.jsx(So, { size: 16 })]), N(["Show", "Hide"]));
|
|
19935
19940
|
}, [p]);
|
|
19936
19941
|
q(() => {
|
|
19937
19942
|
A();
|
|
19938
19943
|
}, [p]);
|
|
19939
|
-
const E = le(() =>
|
|
19944
|
+
const E = le(() => ce(w?.current)?.closest(".abui-panel")?.parent().hasClass("abui-window-box-content"), [w?.current]);
|
|
19940
19945
|
return /* @__PURE__ */ c.jsx(
|
|
19941
19946
|
Qc,
|
|
19942
19947
|
{
|
|
@@ -20135,7 +20140,7 @@ function o1(e, n, t) {
|
|
|
20135
20140
|
const [r, o] = I({ x: null, y: null, top: null, left: null, right: null });
|
|
20136
20141
|
return q(() => {
|
|
20137
20142
|
e && setTimeout(() => {
|
|
20138
|
-
const s = { x: e.pageX, y: e.pageY }, i = n.current, a = window.innerWidth, l = window.innerHeight, u =
|
|
20143
|
+
const s = { x: e.pageX, y: e.pageY }, i = n.current, a = window.innerWidth, l = window.innerHeight, u = ce(i).width(), f = ce(i).height(), p = a - (s.x + u), m = l - (s.y + f);
|
|
20139
20144
|
p <= 20 && (s.x = s.x + p - 5), m <= 20 && (s.y = s.y + m - 5), o(s);
|
|
20140
20145
|
}, 10);
|
|
20141
20146
|
}, [e]), [r, o];
|
|
@@ -20852,10 +20857,10 @@ const ti = Ce(
|
|
|
20852
20857
|
$(
|
|
20853
20858
|
X == "valid" ? /* @__PURE__ */ c.jsx("p", { className: "font-aptos text-green-600", children: J }) : /* @__PURE__ */ c.jsx("p", { className: "font-aptos text-blue-600", children: J })
|
|
20854
20859
|
), F && clearTimeout(F);
|
|
20855
|
-
const
|
|
20860
|
+
const ue = setTimeout(() => {
|
|
20856
20861
|
$(r);
|
|
20857
20862
|
}, 15e3);
|
|
20858
|
-
R(
|
|
20863
|
+
R(ue);
|
|
20859
20864
|
}
|
|
20860
20865
|
}
|
|
20861
20866
|
function re(X) {
|
|
@@ -20865,15 +20870,15 @@ const ti = Ce(
|
|
|
20865
20870
|
}
|
|
20866
20871
|
}
|
|
20867
20872
|
const G = oe((X, J) => {
|
|
20868
|
-
const
|
|
20869
|
-
a === "email" && re(J ||
|
|
20873
|
+
const ue = ce(`#${j}`).val();
|
|
20874
|
+
a === "email" && re(J || ue);
|
|
20870
20875
|
}, [C?.current, j]), L = (X) => {
|
|
20871
|
-
const J = X.target,
|
|
20876
|
+
const J = X.target, ue = J.value;
|
|
20872
20877
|
if (u) {
|
|
20873
20878
|
const ee = J.scrollHeight, Be = J.scrollTop;
|
|
20874
20879
|
Be > 0 && (J.style.height = ee + Be + "px");
|
|
20875
20880
|
}
|
|
20876
|
-
e?.readOnly || W(
|
|
20881
|
+
e?.readOnly || W(ue);
|
|
20877
20882
|
};
|
|
20878
20883
|
return q(() => {
|
|
20879
20884
|
if (M == 0) {
|
|
@@ -21217,20 +21222,20 @@ const mk = Oe((e, n) => {
|
|
|
21217
21222
|
const p = a?.states?.rowHeightInt, [m, h] = I(0);
|
|
21218
21223
|
q(() => {
|
|
21219
21224
|
if (n?.current)
|
|
21220
|
-
return
|
|
21225
|
+
return ce(n?.current).on(`expandrow-${o}`, (d, x) => {
|
|
21221
21226
|
i(x);
|
|
21222
21227
|
}), () => {
|
|
21223
|
-
|
|
21228
|
+
ce(n?.current).off(`expandrow-${o}`), i(null);
|
|
21224
21229
|
};
|
|
21225
21230
|
}, [o]);
|
|
21226
21231
|
const g = oe((d) => {
|
|
21227
|
-
const x = d.node.rowTop, S = d.node.rowHeight, C =
|
|
21232
|
+
const x = d.node.rowTop, S = d.node.rowHeight, C = ce(a?.tref?.current).find(".ag-body-viewport").height() - 1 - (x + S);
|
|
21228
21233
|
return r({ ...d, remainingBodyHeight: C, size: f });
|
|
21229
21234
|
}, [r]);
|
|
21230
21235
|
return q(() => {
|
|
21231
21236
|
if (!l.current || f.y == 0 || !s?.node) return;
|
|
21232
21237
|
const d = s?.expanded ? f?.y + p + 2 : p, x = s?.expanded ? "visible" : "", S = s?.expanded ? 30 : null, w = s?.expanded ? 1 : 0;
|
|
21233
|
-
|
|
21238
|
+
ce(l.current).closest(".ag-row").css("overflow", x), ce(l.current).closest(".ag-row").css("z-index", S), s.node.setRowHeight(d), s.api.onRowHeightChanged(), ce(l.current).css("opacity", w);
|
|
21234
21239
|
}, [f?.y, s?.expanded]), /* @__PURE__ */ c.jsx(
|
|
21235
21240
|
"div",
|
|
21236
21241
|
{
|
|
@@ -21639,10 +21644,10 @@ const O1 = (e) => /* @__PURE__ */ c.jsx(E1, { ...e }), $1 = (e) => {
|
|
|
21639
21644
|
cellGrid: m
|
|
21640
21645
|
} = e, { valueFormatted: h, data: g, context: d, colDef: x, node: S, value: w } = l, C = ne(), k = ne(null), v = ne(null), N = h == "[object Object]" && !h?.$$typeof ? w : h, [A, E] = I(N || w), { supressCellRefresh: $ } = Pe(tr);
|
|
21641
21646
|
le(() => ({
|
|
21642
|
-
rowZIndex:
|
|
21643
|
-
cellZIndex:
|
|
21644
|
-
rowOverflow:
|
|
21645
|
-
cellOverflow:
|
|
21647
|
+
rowZIndex: ce(C?.current)?.closest(".ag-row")?.css("z-index"),
|
|
21648
|
+
cellZIndex: ce(C?.current)?.closest(".ag-cell")?.css("z-index"),
|
|
21649
|
+
rowOverflow: ce(C?.current)?.closest(".ag-row")?.css("overflow"),
|
|
21650
|
+
cellOverflow: ce(C?.current)?.closest(".ag-cell")?.css("overflow")
|
|
21646
21651
|
}), [C]);
|
|
21647
21652
|
const F = le(() => n ? "" : A === "true" || A === !0 ? /* @__PURE__ */ c.jsx(
|
|
21648
21653
|
T1,
|
|
@@ -21680,13 +21685,13 @@ const O1 = (e) => /* @__PURE__ */ c.jsx(E1, { ...e }), $1 = (e) => {
|
|
|
21680
21685
|
}, [n]);
|
|
21681
21686
|
const R = () => {
|
|
21682
21687
|
j && (s((P) => P + 1), v.current && clearTimeout(v.current), v.current = setTimeout(() => {
|
|
21683
|
-
const P =
|
|
21688
|
+
const P = ce(C?.current)?.closest(".ag-row"), W = ce(C?.current)?.closest(".ag-cell");
|
|
21684
21689
|
P.addClass("arr-visible"), W.addClass("arr-visible"), t(!0);
|
|
21685
21690
|
}, 0));
|
|
21686
21691
|
}, b = () => {
|
|
21687
21692
|
if (!j) return;
|
|
21688
21693
|
v.current && clearTimeout(v.current);
|
|
21689
|
-
const P =
|
|
21694
|
+
const P = ce(C?.current)?.closest(".ag-row"), W = ce(C?.current)?.closest(".ag-cell");
|
|
21690
21695
|
P.removeClass("arr-visible"), W.removeClass("arr-visible"), t(!1), a(0);
|
|
21691
21696
|
}, j = le(() => Array?.isArray(w), [w]);
|
|
21692
21697
|
return /* @__PURE__ */ c.jsxs(
|
|
@@ -21702,7 +21707,7 @@ const O1 = (e) => /* @__PURE__ */ c.jsx(E1, { ...e }), $1 = (e) => {
|
|
|
21702
21707
|
"div",
|
|
21703
21708
|
{
|
|
21704
21709
|
style: {
|
|
21705
|
-
maxHeight: 0.7 *
|
|
21710
|
+
maxHeight: 0.7 * ce(r.current).height(),
|
|
21706
21711
|
transform: `translateY(-${i}px)`
|
|
21707
21712
|
},
|
|
21708
21713
|
ref: k,
|
|
@@ -21746,7 +21751,7 @@ const O1 = (e) => /* @__PURE__ */ c.jsx(E1, { ...e }), $1 = (e) => {
|
|
|
21746
21751
|
enableAdvancedFilter: w
|
|
21747
21752
|
}) => {
|
|
21748
21753
|
const [C, k] = I([]), v = ["view", ...r], N = (R) => {
|
|
21749
|
-
|
|
21754
|
+
ce(u?.current).trigger(`expandrow-${R?.node?.rowIndex}`, R);
|
|
21750
21755
|
}, A = {
|
|
21751
21756
|
filter: w ? {
|
|
21752
21757
|
component: R1
|
|
@@ -22364,7 +22369,7 @@ const tr = ln({}), Q1 = (e) => {
|
|
|
22364
22369
|
supressCellRefresh: L = !1,
|
|
22365
22370
|
rowSelectionBgColor: X,
|
|
22366
22371
|
api: J = {},
|
|
22367
|
-
fontFamily:
|
|
22372
|
+
fontFamily: ue,
|
|
22368
22373
|
tableTheme: ee,
|
|
22369
22374
|
enableAdvancedFilter: Be = !0
|
|
22370
22375
|
} = e, [ft, it] = I([]), pe = ne(), Ye = ne(), at = ne({}), [Ot, ye] = I([]), [Ft, de] = I({}), [jn, Ct] = I([]), [pn, Qr] = I(), On = ne(!1), pt = ne(), Lt = ar(pt, { returnUpdate: !1 })?.x, [$n] = _1({
|
|
@@ -22383,7 +22388,7 @@ const tr = ln({}), Q1 = (e) => {
|
|
|
22383
22388
|
enableExpand: D,
|
|
22384
22389
|
tid: n,
|
|
22385
22390
|
columnProps: h,
|
|
22386
|
-
fontFamily:
|
|
22391
|
+
fontFamily: ue,
|
|
22387
22392
|
enableRowStream: l,
|
|
22388
22393
|
cellGrid: i,
|
|
22389
22394
|
enableAdvancedFilter: Be
|
|
@@ -22771,7 +22776,7 @@ const Qd = ln({ name: "", onChange: () => {
|
|
|
22771
22776
|
children: i,
|
|
22772
22777
|
source: "contextmenu"
|
|
22773
22778
|
};
|
|
22774
|
-
|
|
22779
|
+
ce(r.current).click(), v.preventDefault(), p(N);
|
|
22775
22780
|
};
|
|
22776
22781
|
return /* @__PURE__ */ c.jsxs(
|
|
22777
22782
|
"label",
|
|
@@ -22813,7 +22818,7 @@ const Qd = ln({ name: "", onChange: () => {
|
|
|
22813
22818
|
style: i
|
|
22814
22819
|
} = e, a = ze(), [l, u] = I();
|
|
22815
22820
|
q(() => {
|
|
22816
|
-
l && l.ref.current && (
|
|
22821
|
+
l && l.ref.current && (ce("#" + a + " *").removeClass("css-c-233"), l.ref.current.classList.add("css-c-233"), r(l.event, l.checked, l));
|
|
22817
22822
|
}, [l]);
|
|
22818
22823
|
const f = (p) => {
|
|
22819
22824
|
p.preventDefault(), o(l.event, l.checked, l);
|