ados-rcm 1.1.96 → 1.1.97
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 +7 -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,12 @@ 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(
|
7548
|
+
() => () => {
|
7549
|
+
console.log("ADialogFrame unmount"), s == null || s(!1);
|
7550
|
+
},
|
7551
|
+
[s]
|
7552
|
+
), /* @__PURE__ */ c.jsx(Cf, { children: a && n });
|
7548
7553
|
}, Z5 = (o) => (r) => {
|
7549
7554
|
const { dlgCore: n } = r;
|
7550
7555
|
return /* @__PURE__ */ c.jsx(o3, { dlgCore: n, children: ln.cloneElement(/* @__PURE__ */ c.jsx(o, { ...r }), { dlgCore: n }) });
|