componentes-exagono 0.2.49 → 0.2.50
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 +11 -15
- package/dist/index.umd.js +28 -28
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -12705,11 +12705,11 @@ const WS = {
|
|
|
12705
12705
|
firstWeekContainsDate: 1
|
|
12706
12706
|
}
|
|
12707
12707
|
}, _0 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAMAAADXqc3KAAAAAXNSR0IArs4c6QAAAAlwSFlzAAALEwAACxMBAJqcGAAAACpQTFRFR3BMcHCAcHBwaGx4ZWp6aG14aG54Zm14aW15aG55aG15aW55aW56aW5591zvEAAAAA10Uk5TABAQIDBBYHCAnr7g7wYb6DAAAACqSURBVHjahZJLDgMhDEM9UL7Ju/91q8KgQhcdb5D8rFiJ0JNC6Qbeczzt6izV8PWjAbiNB4uH35IkpbaRYGBpT9mcVlemtnCTOiLA8BPk+/VPIkPTR/kGalAkdUgnSNAlOegEckwS2C8wOAEWN2D4BC8HH3Xge/naYJUXaJq6Wo+S2iy7HJKW1sbHSc6B0mU7SeOIf8++CJg5nHOvypLXoF0xdwfrJTx9mzdxpgqGKfcyxQAAAABJRU5ErkJggg==", wC = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAwCAMAAABZu7juAAAAPFBMVEUAAABobHhobnhpbnlobnhobXhpbnlpbnpobXhwcHNobHhlanlpbnlobnhobnpobXhmbXlocHhpbHZpbnlt0ET4AAAAE3RSTlMAIGDggL/f76AQQDDPsLCQcEBQZL6CzQAAALVJREFUSMft1MsOgyAQhWEGHQa82/P+71rDojhJ6dCNi9ZvZcivQUjGXWeTQHqFJvS1mgDMemkGQJV8AMB6iQHsb9K0RZ4ACCsCYOLoSccrDPH0AgWYAqm6vY9owuVAmgzq46aY84BGknM0S/nqm9Ef5tIZROXeGfyd3/lP5Kk9T+4gAGYrj68pxjiMn2sqI9iX6V0zhtOO8zO4r1k5B8F9NeBH9dsWr/ZmCLs+10VQ1S0Pd4UnLwhFRUE6UNsAAAAASUVORK5CYII=", _C = ({ notificacion: e, onAccept: r }) => {
|
|
12708
|
-
const { evento: t, tipo: n, leida: o } = e, a = n === "EventoCreado" || n === "EventoModificado"
|
|
12709
|
-
|
|
12710
|
-
|
|
12711
|
-
|
|
12712
|
-
|
|
12708
|
+
const { evento: t, tipo: n, leida: o } = e, a = n === "EventoCreado" || n === "EventoModificado";
|
|
12709
|
+
console.log("notificacion", e);
|
|
12710
|
+
const s = t?.fechaInicio ? new Date(t.fechaInicio) : /* @__PURE__ */ new Date(), i = t?.fechaFin ? new Date(t.fechaFin) : null, c = t?.nombreAnfitrion || "Usuario";
|
|
12711
|
+
t?.titulo;
|
|
12712
|
+
const d = e.mensaje || "Sin título", u = (f) => f.split(" ").filter((h) => h).map((h) => h[0]).join("").toUpperCase().substring(0, 2);
|
|
12713
12713
|
return /* @__PURE__ */ l.jsxs(
|
|
12714
12714
|
F,
|
|
12715
12715
|
{
|
|
@@ -12725,27 +12725,23 @@ const WS = {
|
|
|
12725
12725
|
},
|
|
12726
12726
|
children: [
|
|
12727
12727
|
/* @__PURE__ */ l.jsxs(F, { sx: { display: "flex", alignItems: "center", mb: 1 }, children: [
|
|
12728
|
-
/* @__PURE__ */ l.jsx($r, { sx: { bgcolor: "#F5A623", width: 34, height: 34, fontSize: "14px", mr: 1.5, fontWeight: "bold" }, children:
|
|
12728
|
+
/* @__PURE__ */ l.jsx($r, { sx: { bgcolor: "#F5A623", width: 34, height: 34, fontSize: "14px", mr: 1.5, fontWeight: "bold" }, children: u(c) }),
|
|
12729
12729
|
/* @__PURE__ */ l.jsxs(F, { children: [
|
|
12730
|
-
/* @__PURE__ */ l.
|
|
12731
|
-
|
|
12732
|
-
" ",
|
|
12733
|
-
i.frase
|
|
12734
|
-
] }),
|
|
12735
|
-
/* @__PURE__ */ l.jsx(me, { sx: { fontSize: "14px", fontWeight: 700, color: i.colorTitulo }, children: f })
|
|
12730
|
+
/* @__PURE__ */ l.jsx(me, { sx: { fontSize: "14px", color: "#5f6368", lineHeight: 1.2 }, children: c }),
|
|
12731
|
+
/* @__PURE__ */ l.jsx(me, { sx: { fontSize: "14px", fontWeight: 700 }, children: " " + d })
|
|
12736
12732
|
] })
|
|
12737
12733
|
] }),
|
|
12738
12734
|
/* @__PURE__ */ l.jsx(Sr, { sx: { mx: -2, my: 1.5, backgroundColor: "#000" } }),
|
|
12739
12735
|
/* @__PURE__ */ l.jsxs(F, { sx: { display: "flex", alignItems: "center", mb: 0 }, children: [
|
|
12740
12736
|
/* @__PURE__ */ l.jsx("img", { src: wC, width: 20, alt: "cal", style: { marginRight: 15, color: "black" } }),
|
|
12741
|
-
/* @__PURE__ */ l.jsx(me, { sx: { fontSize: "14px", color: "#3c4043", textTransform: "capitalize" }, children: ut(
|
|
12737
|
+
/* @__PURE__ */ l.jsx(me, { sx: { fontSize: "14px", color: "#3c4043", textTransform: "capitalize" }, children: ut(s, "EEEE, dd 'de' MMMM", { locale: xC }) })
|
|
12742
12738
|
] }),
|
|
12743
12739
|
/* @__PURE__ */ l.jsx(Sr, { sx: { mx: -2, my: 1.5, backgroundColor: "#000" } }),
|
|
12744
12740
|
/* @__PURE__ */ l.jsxs(F, { sx: { display: "flex", alignItems: "center", mb: a && !o ? 2 : 0 }, children: [
|
|
12745
12741
|
/* @__PURE__ */ l.jsx("img", { src: _0, width: 20, alt: "watch", style: { marginRight: 15 } }),
|
|
12746
12742
|
/* @__PURE__ */ l.jsxs(me, { sx: { fontSize: "14px", color: "#3c4043" }, children: [
|
|
12747
|
-
ut(
|
|
12748
|
-
|
|
12743
|
+
ut(s, "h:mm a").toLowerCase(),
|
|
12744
|
+
i ? ` - ${ut(i, "h:mm a").toLowerCase()}` : ""
|
|
12749
12745
|
] })
|
|
12750
12746
|
] }),
|
|
12751
12747
|
a && !o && /* @__PURE__ */ l.jsxs(on, { container: !0, spacing: 1, sx: { mt: 1 }, children: [
|