componentes-exagono 0.2.83 → 0.2.85
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.es.js +9 -7
- package/dist/index.umd.js +22 -22
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -15506,7 +15506,9 @@ const Z0 = () => {
|
|
|
15506
15506
|
}
|
|
15507
15507
|
}, o = async (p) => {
|
|
15508
15508
|
try {
|
|
15509
|
-
const v = await St.get(`${e}/api/Calendario/v1/local/ObtenerEvento/${p}`)
|
|
15509
|
+
const v = await St.get(`${e}/api/Calendario/v1/local/ObtenerEvento/${p}`);
|
|
15510
|
+
console.log("response", v);
|
|
15511
|
+
const b = v.data[0]?.solicitudRelacionada?.[0]?.nombreCliente || null;
|
|
15510
15512
|
return {
|
|
15511
15513
|
...v.data[0],
|
|
15512
15514
|
fechaInicio: v.data[0]?.fechaInicio,
|
|
@@ -15571,10 +15573,10 @@ const Z0 = () => {
|
|
|
15571
15573
|
disID: p,
|
|
15572
15574
|
usrMail: v,
|
|
15573
15575
|
startDate: b,
|
|
15574
|
-
horaInicio: w,
|
|
15575
|
-
horaFin: _
|
|
15576
|
+
horaInicio: w?.replace(/[a-zA-Z.]/g, "").trim(),
|
|
15577
|
+
horaFin: _?.replace(/[a-zA-Z.]/g, "").trim()
|
|
15576
15578
|
};
|
|
15577
|
-
return (await St.post(`${e}/api/Calendario/v1/local/ConsultaConflictoInvitados`, y)).data?.data;
|
|
15579
|
+
return console.log("requestBody", y), (await St.post(`${e}/api/Calendario/v1/local/ConsultaConflictoInvitados`, y)).data?.data;
|
|
15578
15580
|
} catch (y) {
|
|
15579
15581
|
return console.error("Error al verificar conflicto:", y), x;
|
|
15580
15582
|
}
|
|
@@ -17945,7 +17947,7 @@ const qk = /* @__PURE__ */ pt(Yk), Zk = "data:image/png;base64,iVBORw0KGgoAAAANS
|
|
|
17945
17947
|
V.map(async (Ve) => {
|
|
17946
17948
|
if (Ve.isHost || !Ve.correo) return Ve;
|
|
17947
17949
|
try {
|
|
17948
|
-
const wt = await S.VerificarConflicto(c, Ve.correo, de, se
|
|
17950
|
+
const wt = await S.VerificarConflicto(c, Ve.correo, de, se, ce), cr = Array.isArray(wt) ? wt[0] : wt;
|
|
17949
17951
|
if (console.log("conflictResult", wt), cr) {
|
|
17950
17952
|
const Mr = await S.getDisponibilidadUsuario(c, Ve.correo, de, "60");
|
|
17951
17953
|
be(Mr);
|
|
@@ -17981,7 +17983,7 @@ const qk = /* @__PURE__ */ pt(Yk), Zk = "data:image/png;base64,iVBORw0KGgoAAAANS
|
|
|
17981
17983
|
return;
|
|
17982
17984
|
}
|
|
17983
17985
|
try {
|
|
17984
|
-
const Ve = await S.VerificarConflicto(c, V.correo, se, ce
|
|
17986
|
+
const Ve = await S.VerificarConflicto(c, V.correo, se, ce, Pe), wt = Array.isArray(Ve) ? Ve[0] : Ve, cr = String(wt?.tieneConflicto).toLowerCase() === "true", Mr = {
|
|
17985
17987
|
...V,
|
|
17986
17988
|
estatus: "PENDIENTE",
|
|
17987
17989
|
isHost: !1,
|
|
@@ -18382,7 +18384,7 @@ const qk = /* @__PURE__ */ pt(Yk), Zk = "data:image/png;base64,iVBORw0KGgoAAAANS
|
|
|
18382
18384
|
)
|
|
18383
18385
|
}
|
|
18384
18386
|
) }) }),
|
|
18385
|
-
/* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
18387
|
+
!a?.solicitudRelacionada && /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
18386
18388
|
/* @__PURE__ */ l.jsx("div", { className: "row mb-2", children: /* @__PURE__ */ l.jsx("div", { className: "col-12", children: /* @__PURE__ */ l.jsx(jk, { onSelectGuest: Pt, availableSuggestions: ne, onInputTextChange: je }) }) }),
|
|
18387
18389
|
(H || we > 0) && /* @__PURE__ */ l.jsx("div", { className: "row mb-2", children: /* @__PURE__ */ l.jsx("div", { className: "col-12", children: /* @__PURE__ */ l.jsx(Wk, { guests: A, conflictCount: we, onViewSuggestions: () => j(!0), onDeleteGuest: ae }) }) }),
|
|
18388
18390
|
a?.invitados && a?.invitados?.length > 0 && /* @__PURE__ */ l.jsx("div", { className: "row mb-2", children: /* @__PURE__ */ l.jsx("div", { className: "col-12", children: /* @__PURE__ */ l.jsx(I, { children: /* @__PURE__ */ l.jsx(Dk, { guests: A, onReenviar: u, esOrganizador: a?.esOrganizador }) }) }) }),
|