@abdellatifui/react 3.2.139 → 3.2.141
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 +10 -7
- package/package.json +1 -1
package/dist/nextgen.js
CHANGED
|
@@ -15933,12 +15933,15 @@ const Jx = (e) => {
|
|
|
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
|
-
q(() => (h(), ce(document).on("bringtofront", (
|
|
15937
|
-
|
|
15938
|
-
}),
|
|
15936
|
+
q(() => (h(), ce(document).on("bringtofront", (x, S) => {
|
|
15937
|
+
S === s && h();
|
|
15938
|
+
}), () => {
|
|
15939
15939
|
ce(document).off("bringtofront");
|
|
15940
15940
|
}), []);
|
|
15941
15941
|
function g() {
|
|
15942
|
+
h(), ce(".abui-context-root").addClass("abui-window-box-top-priority");
|
|
15943
|
+
}
|
|
15944
|
+
function d() {
|
|
15942
15945
|
ce(".abui-context-root").removeClass("abui-window-box-top-priority");
|
|
15943
15946
|
}
|
|
15944
15947
|
return /* @__PURE__ */ c.jsx(
|
|
@@ -15948,8 +15951,8 @@ const Jx = (e) => {
|
|
|
15948
15951
|
handle: ".abui-window-box-dragger",
|
|
15949
15952
|
nodeRef: n,
|
|
15950
15953
|
onClick: h,
|
|
15951
|
-
onStart:
|
|
15952
|
-
onStop:
|
|
15954
|
+
onStart: g,
|
|
15955
|
+
onStop: d,
|
|
15953
15956
|
disabled: !a,
|
|
15954
15957
|
bounds: l,
|
|
15955
15958
|
defaultPosition: {
|
|
@@ -16027,9 +16030,9 @@ const Jx = (e) => {
|
|
|
16027
16030
|
};
|
|
16028
16031
|
q(() => {
|
|
16029
16032
|
f && i?.(M), f || a?.(M);
|
|
16030
|
-
}, [f]), q(() => (m && u?.(M)
|
|
16033
|
+
}, [f]), q(() => (m && u?.(M)?.then?.((_) => {
|
|
16031
16034
|
_ !== !1 && p(m);
|
|
16032
|
-
}), () => {
|
|
16035
|
+
}), u || p(m), () => {
|
|
16033
16036
|
F([]);
|
|
16034
16037
|
}), [m]);
|
|
16035
16038
|
function K(_, U, B = {}) {
|