biblio-react 3.0.0-alpha185 → 3.0.0-alpha186
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/index.js +9 -9
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -10057,19 +10057,19 @@ const KS = /* @__PURE__ */ a(() => {
|
|
|
10057
10057
|
}, "dateTimeToString"), Fi = O.createContext(), YS = At(), QS = /* @__PURE__ */ a(() => {
|
|
10058
10058
|
const e = lt(YS), t = La();
|
|
10059
10059
|
return /* @__PURE__ */ a((n, o = {}) => {
|
|
10060
|
-
const { opcion: i, estado: s, ...l } = o, u =
|
|
10061
|
-
let
|
|
10062
|
-
i === "F" && (
|
|
10063
|
-
const
|
|
10064
|
-
(
|
|
10060
|
+
const { opcion: i, estado: s, ...l } = o, u = `form_${String(n)}`;
|
|
10061
|
+
let d = u;
|
|
10062
|
+
i === "F" && (d += s === "N" ? "/create" : `/${l.clave}`), setTimeout(() => {
|
|
10063
|
+
const p = e.current.panels.find(
|
|
10064
|
+
(f) => f.id === `win_${u}`
|
|
10065
10065
|
);
|
|
10066
|
-
|
|
10067
|
-
id: `win_${
|
|
10066
|
+
p ? p.api.setActive() : e.current.addPanel({
|
|
10067
|
+
id: `win_${u}`,
|
|
10068
10068
|
component: "default",
|
|
10069
10069
|
params: {
|
|
10070
|
-
rutaActual:
|
|
10070
|
+
rutaActual: `/${u}`
|
|
10071
10071
|
}
|
|
10072
|
-
}), t(`/${
|
|
10072
|
+
}), t(`/${d}`, { state: l });
|
|
10073
10073
|
});
|
|
10074
10074
|
}, "abrirVentanaSistema");
|
|
10075
10075
|
}, "useAbrirVentanaSistema"), XS = /* @__PURE__ */ a(() => {
|