ados-rcm 1.1.96 → 1.1.98
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.cjs.js +9 -9
- package/dist/index.es.js +4 -2
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
@@ -7367,7 +7367,7 @@ const V5 = ["Primary", "Secondary", "Raw"], Bf = (o) => {
|
|
7367
7367
|
}, []), j = T(() => {
|
7368
7368
|
if (!H) {
|
7369
7369
|
const [, Ce] = r.state.useIsOpen;
|
7370
|
-
Ce == null || Ce(!1), y == null || y();
|
7370
|
+
console.log("onTransitionEnd, close", r.state.useIsOpen), Ce == null || Ce(!1), y == null || y();
|
7371
7371
|
}
|
7372
7372
|
}, [H, y, r]), oe = T(async () => {
|
7373
7373
|
if (!H || n === "cancel" || n === "none" || k || C || w)
|
@@ -7544,7 +7544,9 @@ const V5 = ["Primary", "Secondary", "Raw"], Bf = (o) => {
|
|
7544
7544
|
return L(() => (u.state = a, u.action = s, u), [u, a, s]);
|
7545
7545
|
}, o3 = (o) => {
|
7546
7546
|
const { dlgCore: r, children: n } = o, [a, s] = L(() => r.state.useIsOpen, [r.state.useIsOpen]);
|
7547
|
-
return we(() =>
|
7547
|
+
return we(() => a ? void 0 : () => {
|
7548
|
+
console.log("ADialogFrame unmount"), s == null || s(!1);
|
7549
|
+
}, [a, s]), /* @__PURE__ */ c.jsx(Cf, { children: a && n });
|
7548
7550
|
}, Z5 = (o) => (r) => {
|
7549
7551
|
const { dlgCore: n } = r;
|
7550
7552
|
return /* @__PURE__ */ c.jsx(o3, { dlgCore: n, children: ln.cloneElement(/* @__PURE__ */ c.jsx(o, { ...r }), { dlgCore: n }) });
|