componentes-exagono 0.2.41 → 0.2.43
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 +137 -115
- package/dist/index.umd.js +2 -2
- package/package.json +3 -7
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Z from "react";
|
|
2
|
-
import A, { forwardRef as ja, useContext as si, useState as pe, useLayoutEffect as ol, cloneElement as kp, createRef as Dn, Component as Kt, useRef as wn, useCallback as vn, useEffect as
|
|
2
|
+
import A, { forwardRef as ja, useContext as si, useState as pe, useLayoutEffect as ol, cloneElement as kp, createRef as Dn, Component as Kt, useRef as wn, useCallback as vn, useEffect as yt, createElement as _a, createContext as al, useMemo as at } from "react";
|
|
3
3
|
import { IconButton as qt, Box as $, Avatar as Fr, Typography as ge, Divider as $r, Grid as an, Button as Dt, List as Yn, CircularProgress as Rc, ListItem as ho, ListItemText as js, Checkbox as mo, Dialog as So, DialogContent as ii, AvatarGroup as ym, Tooltip as mn, Badge as bm, Autocomplete as ma, TextField as Jt, Chip as ao, Link as xm, Modal as Ap, InputAdornment as Tc, FormControlLabel as yn, ListItemButton as Rp, Collapse as wm, useTheme as sl, useMediaQuery as il, Stack as Ar, Menu as nu, Fade as ou, RadioGroup as ys, Radio as bs, InputBase as _m, Select as Tp, MenuItem as Oc, FormControl as Op, FormLabel as Sm, Drawer as Cm, DialogTitle as Em, DialogActions as Dm } from "@mui/material";
|
|
4
4
|
import { isBefore as sr, isAfter as zr, isDate as _n, getYear as Le, getSeconds as Sn, getMinutes as cn, getHours as ln, getMonth as er, isEqual as km, parseISO as Am, toDate as Ip, isValid as Pr, differenceInCalendarDays as Ps, min as au, max as su, startOfDay as Co, endOfDay as Pa, parse as Rm, isWithinInterval as Sa, endOfYear as Mp, startOfYear as cl, endOfMonth as ll, startOfMonth as ul, setHours as xs, setMinutes as ws, setSeconds as _s, isSameDay as io, addMonths as kn, subMonths as Un, setYear as Vr, differenceInDays as Tm, addDays as un, setMonth as Ir, subYears as go, addYears as Cn, format as gt, isSameYear as Om, isSameMonth as jp, addWeeks as Ic, subWeeks as iu, subDays as Im, startOfWeek as Pp, differenceInCalendarMonths as Ns, subQuarters as Np, differenceInCalendarQuarters as Fs, differenceInCalendarYears as $s, addQuarters as Fp, getTime as Mc, setQuarter as oo, getQuarter as ya, addMinutes as jc, endOfWeek as Mm, isSameQuarter as jm, startOfQuarter as Pm, addHours as Pc, addSeconds as Nm, getISOWeek as Fm, getDay as $m, getDate as cu, isTomorrow as zm, isToday as Lm } from "date-fns";
|
|
5
5
|
import * as Bm from "react-dom";
|
|
@@ -5304,7 +5304,7 @@ const Yy = {
|
|
|
5304
5304
|
useIsFocusVisible: zg
|
|
5305
5305
|
}, Symbol.toStringTag, { value: "Module" })), Zy = /* @__PURE__ */ pn(qy);
|
|
5306
5306
|
var od;
|
|
5307
|
-
function
|
|
5307
|
+
function xt() {
|
|
5308
5308
|
return od || (od = 1, (function(e) {
|
|
5309
5309
|
"use client";
|
|
5310
5310
|
Object.defineProperty(e, "__esModule", {
|
|
@@ -5326,7 +5326,7 @@ function Gy() {
|
|
|
5326
5326
|
Object.defineProperty(jo, "__esModule", {
|
|
5327
5327
|
value: !0
|
|
5328
5328
|
}), jo.default = void 0;
|
|
5329
|
-
var r = e(/* @__PURE__ */
|
|
5329
|
+
var r = e(/* @__PURE__ */ xt()), t = vt();
|
|
5330
5330
|
return jo.default = (0, r.default)(/* @__PURE__ */ (0, t.jsx)("path", {
|
|
5331
5331
|
d: "M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"
|
|
5332
5332
|
}), "Menu"), jo;
|
|
@@ -5341,7 +5341,7 @@ function Xy() {
|
|
|
5341
5341
|
Object.defineProperty(Fo, "__esModule", {
|
|
5342
5342
|
value: !0
|
|
5343
5343
|
}), Fo.default = void 0;
|
|
5344
|
-
var r = e(/* @__PURE__ */
|
|
5344
|
+
var r = e(/* @__PURE__ */ xt()), t = vt();
|
|
5345
5345
|
return Fo.default = (0, r.default)(/* @__PURE__ */ (0, t.jsx)("path", {
|
|
5346
5346
|
d: "M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"
|
|
5347
5347
|
}), "ChevronLeft"), Fo;
|
|
@@ -5356,7 +5356,7 @@ function t1() {
|
|
|
5356
5356
|
Object.defineProperty($o, "__esModule", {
|
|
5357
5357
|
value: !0
|
|
5358
5358
|
}), $o.default = void 0;
|
|
5359
|
-
var r = e(/* @__PURE__ */
|
|
5359
|
+
var r = e(/* @__PURE__ */ xt()), t = vt();
|
|
5360
5360
|
return $o.default = (0, r.default)(/* @__PURE__ */ (0, t.jsx)("path", {
|
|
5361
5361
|
d: "M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"
|
|
5362
5362
|
}), "ChevronRight"), $o;
|
|
@@ -6793,7 +6793,7 @@ var Ib = function(e) {
|
|
|
6793
6793
|
}) || a.target;
|
|
6794
6794
|
t.current && !t.current.contains(i) && (r && i instanceof HTMLElement && i.classList.contains(r) || (s = n.current) === null || s === void 0 || s.call(n, a));
|
|
6795
6795
|
}, [r]);
|
|
6796
|
-
return
|
|
6796
|
+
return yt(function() {
|
|
6797
6797
|
return document.addEventListener("mousedown", o), function() {
|
|
6798
6798
|
document.removeEventListener("mousedown", o);
|
|
6799
6799
|
};
|
|
@@ -12102,7 +12102,7 @@ Ct.interceptors.request.use(
|
|
|
12102
12102
|
},
|
|
12103
12103
|
(e) => Promise.reject(e)
|
|
12104
12104
|
);
|
|
12105
|
-
const y0 = al(void 0), yR = ({ config: e, children: r }) => (
|
|
12105
|
+
const y0 = al(void 0), yR = ({ config: e, children: r }) => (yt(() => {
|
|
12106
12106
|
e.getToken && OS(e.getToken);
|
|
12107
12107
|
}, [e.getToken]), /* @__PURE__ */ l.jsx(y0.Provider, { value: e, children: r })), Nl = () => {
|
|
12108
12108
|
const e = si(y0);
|
|
@@ -12247,7 +12247,7 @@ function jS() {
|
|
|
12247
12247
|
Object.defineProperty(Bo, "__esModule", {
|
|
12248
12248
|
value: !0
|
|
12249
12249
|
}), Bo.default = void 0;
|
|
12250
|
-
var r = e(/* @__PURE__ */
|
|
12250
|
+
var r = e(/* @__PURE__ */ xt()), t = vt();
|
|
12251
12251
|
return Bo.default = (0, r.default)(/* @__PURE__ */ (0, t.jsx)("path", {
|
|
12252
12252
|
d: "M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"
|
|
12253
12253
|
}), "Check"), Bo;
|
|
@@ -12262,7 +12262,7 @@ function FS() {
|
|
|
12262
12262
|
Object.defineProperty(Vo, "__esModule", {
|
|
12263
12263
|
value: !0
|
|
12264
12264
|
}), Vo.default = void 0;
|
|
12265
|
-
var r = e(/* @__PURE__ */
|
|
12265
|
+
var r = e(/* @__PURE__ */ xt()), t = vt();
|
|
12266
12266
|
return Vo.default = (0, r.default)(/* @__PURE__ */ (0, t.jsx)("path", {
|
|
12267
12267
|
d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
|
|
12268
12268
|
}), "Close"), Vo;
|
|
@@ -12800,7 +12800,7 @@ const US = {
|
|
|
12800
12800
|
);
|
|
12801
12801
|
}, _C = ({ userId: e, notifications: r, onAceppInvitacion: t }) => {
|
|
12802
12802
|
const [n, o] = pe(r), [a, s] = pe(null);
|
|
12803
|
-
return console.log("notifications", r),
|
|
12803
|
+
return console.log("notifications", r), yt(() => {
|
|
12804
12804
|
o(r);
|
|
12805
12805
|
}, [r]), /* @__PURE__ */ l.jsx($, { sx: { width: "100%", maxHeight: "600px", overflowY: "auto" }, children: /* @__PURE__ */ l.jsx(Yn, { disablePadding: !0, children: n.length === 0 ? /* @__PURE__ */ l.jsxs("div", { className: ye.emptyStateContainer, children: [
|
|
12806
12806
|
/* @__PURE__ */ l.jsx("img", { src: w0, alt: "Todo en orden", className: ye.emptyStateImage }),
|
|
@@ -13044,7 +13044,7 @@ function OC() {
|
|
|
13044
13044
|
Object.defineProperty(Ho, "__esModule", {
|
|
13045
13045
|
value: !0
|
|
13046
13046
|
}), Ho.default = void 0, o(A);
|
|
13047
|
-
var r = e(/* @__PURE__ */
|
|
13047
|
+
var r = e(/* @__PURE__ */ xt()), t = vt();
|
|
13048
13048
|
function n(a) {
|
|
13049
13049
|
if (typeof WeakMap != "function") return null;
|
|
13050
13050
|
var s = /* @__PURE__ */ new WeakMap(), i = /* @__PURE__ */ new WeakMap();
|
|
@@ -13078,7 +13078,7 @@ function jC() {
|
|
|
13078
13078
|
Object.defineProperty(Yo, "__esModule", {
|
|
13079
13079
|
value: !0
|
|
13080
13080
|
}), Yo.default = void 0;
|
|
13081
|
-
var r = e(/* @__PURE__ */
|
|
13081
|
+
var r = e(/* @__PURE__ */ xt()), t = vt();
|
|
13082
13082
|
return Yo.default = (0, r.default)(/* @__PURE__ */ (0, t.jsx)("path", {
|
|
13083
13083
|
d: "M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m0 14H4V8l8 5 8-5zm-8-7L4 6h16z"
|
|
13084
13084
|
}), "MailOutline"), Yo;
|
|
@@ -13393,7 +13393,7 @@ const KC = ({ currentDate: e, events: r, onDayClick: t, onEventClick: n, onSeeMo
|
|
|
13393
13393
|
disID: m,
|
|
13394
13394
|
usrMail: p
|
|
13395
13395
|
}, x = (await Ct.post(`${e}/api/Calendario/v1/Consulta_UsuariosInvitados/`, v)).data?.data;
|
|
13396
|
-
return Array.isArray(x) ? x.map((S) => ({
|
|
13396
|
+
return console.log("users", x), Array.isArray(x) ? x.map((S) => ({
|
|
13397
13397
|
usrID: S.usrID,
|
|
13398
13398
|
usrNombre: S.usrNombre,
|
|
13399
13399
|
usrMail: S?.usrMail,
|
|
@@ -13443,8 +13443,7 @@ const KC = ({ currentDate: e, events: r, onDayClick: t, onEventClick: n, onSeeMo
|
|
|
13443
13443
|
), d = vn(
|
|
13444
13444
|
async (m, p = !1) => {
|
|
13445
13445
|
try {
|
|
13446
|
-
|
|
13447
|
-
return console.log("response.data", v.data), v.data;
|
|
13446
|
+
return (await Ct.post(`${e}/api/Notificaciones/v1/local/ObtenerNotificacionesPorUsuarioAsync/${m}?soloNoLeidas=${p}`)).data;
|
|
13448
13447
|
} catch (v) {
|
|
13449
13448
|
return console.error("Error usuarios:", v), [];
|
|
13450
13449
|
}
|
|
@@ -13483,8 +13482,7 @@ const KC = ({ currentDate: e, events: r, onDayClick: t, onEventClick: n, onSeeMo
|
|
|
13483
13482
|
},
|
|
13484
13483
|
ReenviarNotificacion: async (m, p) => {
|
|
13485
13484
|
try {
|
|
13486
|
-
|
|
13487
|
-
return console.log("reenviar", v), v.data?.data;
|
|
13485
|
+
return (await Ct.post(`${e}/api/Calendario/v1/local/ReenviarNotificacion/${p}/${m}`)).data?.data;
|
|
13488
13486
|
} catch (v) {
|
|
13489
13487
|
return console.error("Error Actualizar estatus:", v), {};
|
|
13490
13488
|
}
|
|
@@ -13499,7 +13497,7 @@ function QC() {
|
|
|
13499
13497
|
Object.defineProperty(qo, "__esModule", {
|
|
13500
13498
|
value: !0
|
|
13501
13499
|
}), qo.default = void 0;
|
|
13502
|
-
var r = e(/* @__PURE__ */
|
|
13500
|
+
var r = e(/* @__PURE__ */ xt()), t = vt();
|
|
13503
13501
|
return qo.default = (0, r.default)([/* @__PURE__ */ (0, t.jsx)("path", {
|
|
13504
13502
|
d: "M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"
|
|
13505
13503
|
}, "0"), /* @__PURE__ */ (0, t.jsx)("path", {
|
|
@@ -14736,7 +14734,7 @@ function bE(e, r) {
|
|
|
14736
14734
|
return s % i / 10 ** a;
|
|
14737
14735
|
}
|
|
14738
14736
|
const Ef = Symbol("evaluating");
|
|
14739
|
-
function
|
|
14737
|
+
function bt(e, r, t) {
|
|
14740
14738
|
let n;
|
|
14741
14739
|
Object.defineProperty(e, r, {
|
|
14742
14740
|
get() {
|
|
@@ -15788,7 +15786,7 @@ function X0(e, r, t, n, o, a) {
|
|
|
15788
15786
|
const l3 = /* @__PURE__ */ H("$ZodObject", (e, r) => {
|
|
15789
15787
|
Pt.init(e, r);
|
|
15790
15788
|
const t = Zl(() => Q0(r));
|
|
15791
|
-
|
|
15789
|
+
bt(e._zod, "propValues", () => {
|
|
15792
15790
|
const s = r.shape, i = {};
|
|
15793
15791
|
for (const c in s) {
|
|
15794
15792
|
const u = s[c]._zod;
|
|
@@ -15883,10 +15881,10 @@ function Rf(e, r, t, n) {
|
|
|
15883
15881
|
}), r);
|
|
15884
15882
|
}
|
|
15885
15883
|
const d3 = /* @__PURE__ */ H("$ZodUnion", (e, r) => {
|
|
15886
|
-
Pt.init(e, r),
|
|
15884
|
+
Pt.init(e, r), bt(e._zod, "optin", () => r.options.some((o) => o._zod.optin === "optional") ? "optional" : void 0), bt(e._zod, "optout", () => r.options.some((o) => o._zod.optout === "optional") ? "optional" : void 0), bt(e._zod, "values", () => {
|
|
15887
15885
|
if (r.options.every((o) => o._zod.values))
|
|
15888
15886
|
return new Set(r.options.flatMap((o) => Array.from(o._zod.values)));
|
|
15889
|
-
}),
|
|
15887
|
+
}), bt(e._zod, "pattern", () => {
|
|
15890
15888
|
if (r.options.every((o) => o._zod.pattern)) {
|
|
15891
15889
|
const o = r.options.map((a) => a._zod.pattern);
|
|
15892
15890
|
return new RegExp(`^(${o.map((a) => Kl(a.source)).join("|")})$`);
|
|
@@ -16002,7 +16000,7 @@ function Of(e, r) {
|
|
|
16002
16000
|
return e.issues.length && r === void 0 ? { issues: [], value: void 0 } : e;
|
|
16003
16001
|
}
|
|
16004
16002
|
const g3 = /* @__PURE__ */ H("$ZodOptional", (e, r) => {
|
|
16005
|
-
Pt.init(e, r), e._zod.optin = "optional", e._zod.optout = "optional",
|
|
16003
|
+
Pt.init(e, r), e._zod.optin = "optional", e._zod.optout = "optional", bt(e._zod, "values", () => r.innerType._zod.values ? /* @__PURE__ */ new Set([...r.innerType._zod.values, void 0]) : void 0), bt(e._zod, "pattern", () => {
|
|
16006
16004
|
const t = r.innerType._zod.pattern;
|
|
16007
16005
|
return t ? new RegExp(`^(${Kl(t.source)})?$`) : void 0;
|
|
16008
16006
|
}), e._zod.parse = (t, n) => {
|
|
@@ -16013,12 +16011,12 @@ const g3 = /* @__PURE__ */ H("$ZodOptional", (e, r) => {
|
|
|
16013
16011
|
return t.value === void 0 ? t : r.innerType._zod.run(t, n);
|
|
16014
16012
|
};
|
|
16015
16013
|
}), v3 = /* @__PURE__ */ H("$ZodNullable", (e, r) => {
|
|
16016
|
-
Pt.init(e, r),
|
|
16014
|
+
Pt.init(e, r), bt(e._zod, "optin", () => r.innerType._zod.optin), bt(e._zod, "optout", () => r.innerType._zod.optout), bt(e._zod, "pattern", () => {
|
|
16017
16015
|
const t = r.innerType._zod.pattern;
|
|
16018
16016
|
return t ? new RegExp(`^(${Kl(t.source)}|null)$`) : void 0;
|
|
16019
|
-
}),
|
|
16017
|
+
}), bt(e._zod, "values", () => r.innerType._zod.values ? /* @__PURE__ */ new Set([...r.innerType._zod.values, null]) : void 0), e._zod.parse = (t, n) => t.value === null ? t : r.innerType._zod.run(t, n);
|
|
16020
16018
|
}), y3 = /* @__PURE__ */ H("$ZodDefault", (e, r) => {
|
|
16021
|
-
Pt.init(e, r), e._zod.optin = "optional",
|
|
16019
|
+
Pt.init(e, r), e._zod.optin = "optional", bt(e._zod, "values", () => r.innerType._zod.values), e._zod.parse = (t, n) => {
|
|
16022
16020
|
if (n.direction === "backward")
|
|
16023
16021
|
return r.innerType._zod.run(t, n);
|
|
16024
16022
|
if (t.value === void 0)
|
|
@@ -16031,9 +16029,9 @@ function If(e, r) {
|
|
|
16031
16029
|
return e.value === void 0 && (e.value = r.defaultValue), e;
|
|
16032
16030
|
}
|
|
16033
16031
|
const b3 = /* @__PURE__ */ H("$ZodPrefault", (e, r) => {
|
|
16034
|
-
Pt.init(e, r), e._zod.optin = "optional",
|
|
16032
|
+
Pt.init(e, r), e._zod.optin = "optional", bt(e._zod, "values", () => r.innerType._zod.values), e._zod.parse = (t, n) => (n.direction === "backward" || t.value === void 0 && (t.value = r.defaultValue), r.innerType._zod.run(t, n));
|
|
16035
16033
|
}), x3 = /* @__PURE__ */ H("$ZodNonOptional", (e, r) => {
|
|
16036
|
-
Pt.init(e, r),
|
|
16034
|
+
Pt.init(e, r), bt(e._zod, "values", () => {
|
|
16037
16035
|
const t = r.innerType._zod.values;
|
|
16038
16036
|
return t ? new Set([...t].filter((n) => n !== void 0)) : void 0;
|
|
16039
16037
|
}), e._zod.parse = (t, n) => {
|
|
@@ -16050,7 +16048,7 @@ function Mf(e, r) {
|
|
|
16050
16048
|
}), e;
|
|
16051
16049
|
}
|
|
16052
16050
|
const w3 = /* @__PURE__ */ H("$ZodCatch", (e, r) => {
|
|
16053
|
-
Pt.init(e, r),
|
|
16051
|
+
Pt.init(e, r), bt(e._zod, "optin", () => r.innerType._zod.optin), bt(e._zod, "optout", () => r.innerType._zod.optout), bt(e._zod, "values", () => r.innerType._zod.values), e._zod.parse = (t, n) => {
|
|
16054
16052
|
if (n.direction === "backward")
|
|
16055
16053
|
return r.innerType._zod.run(t, n);
|
|
16056
16054
|
const o = r.innerType._zod.run(t, n);
|
|
@@ -16069,7 +16067,7 @@ const w3 = /* @__PURE__ */ H("$ZodCatch", (e, r) => {
|
|
|
16069
16067
|
}), t.issues = []), t);
|
|
16070
16068
|
};
|
|
16071
16069
|
}), _3 = /* @__PURE__ */ H("$ZodPipe", (e, r) => {
|
|
16072
|
-
Pt.init(e, r),
|
|
16070
|
+
Pt.init(e, r), bt(e._zod, "values", () => r.in._zod.values), bt(e._zod, "optin", () => r.in._zod.optin), bt(e._zod, "optout", () => r.out._zod.optout), bt(e._zod, "propValues", () => r.in._zod.propValues), e._zod.parse = (t, n) => {
|
|
16073
16071
|
if (n.direction === "backward") {
|
|
16074
16072
|
const a = r.out._zod.run(t, n);
|
|
16075
16073
|
return a instanceof Promise ? a.then((s) => hs(s, r.in, n)) : hs(a, r.in, n);
|
|
@@ -16082,7 +16080,7 @@ function hs(e, r, t) {
|
|
|
16082
16080
|
return e.issues.length ? (e.aborted = !0, e) : r._zod.run({ value: e.value, issues: e.issues }, t);
|
|
16083
16081
|
}
|
|
16084
16082
|
const S3 = /* @__PURE__ */ H("$ZodReadonly", (e, r) => {
|
|
16085
|
-
Pt.init(e, r),
|
|
16083
|
+
Pt.init(e, r), bt(e._zod, "propValues", () => r.innerType._zod.propValues), bt(e._zod, "values", () => r.innerType._zod.values), bt(e._zod, "optin", () => r.innerType._zod.optin), bt(e._zod, "optout", () => r.innerType._zod.optout), e._zod.parse = (t, n) => {
|
|
16086
16084
|
if (n.direction === "backward")
|
|
16087
16085
|
return r.innerType._zod.run(t, n);
|
|
16088
16086
|
const o = r.innerType._zod.run(t, n);
|
|
@@ -16840,7 +16838,7 @@ function nm(e, r) {
|
|
|
16840
16838
|
return hk(dA, e, r);
|
|
16841
16839
|
}
|
|
16842
16840
|
const fA = /* @__PURE__ */ H("ZodObject", (e, r) => {
|
|
16843
|
-
u3.init(e, r), Vt.init(e, r),
|
|
16841
|
+
u3.init(e, r), Vt.init(e, r), bt(e, "shape", () => r.shape), e.keyof = () => am(Object.keys(e._zod.def.shape)), e.catchall = (t) => e.clone({ ...e._zod.def, catchall: t }), e.passthrough = () => e.clone({ ...e._zod.def, catchall: Uf() }), e.loose = () => e.clone({ ...e._zod.def, catchall: Uf() }), e.strict = () => e.clone({ ...e._zod.def, catchall: uA() }), e.strip = () => e.clone({ ...e._zod.def, catchall: void 0 }), e.extend = (t) => kE(e, t), e.safeExtend = (t) => AE(e, t), e.merge = (t) => RE(e, t), e.pick = (t) => EE(e, t), e.omit = (t) => DE(e, t), e.partial = (...t) => TE(sm, e, t[0]), e.required = (...t) => OE(im, e, t[0]);
|
|
16844
16842
|
});
|
|
16845
16843
|
function om(e, r) {
|
|
16846
16844
|
const t = {
|
|
@@ -17112,7 +17110,7 @@ function VA() {
|
|
|
17112
17110
|
Object.defineProperty(Ko, "__esModule", {
|
|
17113
17111
|
value: !0
|
|
17114
17112
|
}), Ko.default = void 0;
|
|
17115
|
-
var r = e(/* @__PURE__ */
|
|
17113
|
+
var r = e(/* @__PURE__ */ xt()), t = vt();
|
|
17116
17114
|
return Ko.default = (0, r.default)(/* @__PURE__ */ (0, t.jsx)("path", {
|
|
17117
17115
|
d: "m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"
|
|
17118
17116
|
}), "ArrowForward"), Ko;
|
|
@@ -17127,7 +17125,7 @@ function WA() {
|
|
|
17127
17125
|
Object.defineProperty(Qo, "__esModule", {
|
|
17128
17126
|
value: !0
|
|
17129
17127
|
}), Qo.default = void 0;
|
|
17130
|
-
var r = e(/* @__PURE__ */
|
|
17128
|
+
var r = e(/* @__PURE__ */ xt()), t = vt();
|
|
17131
17129
|
return Qo.default = (0, r.default)(/* @__PURE__ */ (0, t.jsx)("path", {
|
|
17132
17130
|
d: "M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6z"
|
|
17133
17131
|
}), "KeyboardArrowRight"), Qo;
|
|
@@ -17322,7 +17320,7 @@ function JA() {
|
|
|
17322
17320
|
Object.defineProperty(Xo, "__esModule", {
|
|
17323
17321
|
value: !0
|
|
17324
17322
|
}), Xo.default = void 0;
|
|
17325
|
-
var r = e(/* @__PURE__ */
|
|
17323
|
+
var r = e(/* @__PURE__ */ xt()), t = vt();
|
|
17326
17324
|
return Xo.default = (0, r.default)(/* @__PURE__ */ (0, t.jsx)("path", {
|
|
17327
17325
|
d: "M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"
|
|
17328
17326
|
}), "AddCircleOutline"), Xo;
|
|
@@ -17376,7 +17374,9 @@ function o5({ open: e, handleClose: r, suggestions: t, onSelectSlot: n }) {
|
|
|
17376
17374
|
};
|
|
17377
17375
|
n(f), r();
|
|
17378
17376
|
};
|
|
17379
|
-
return
|
|
17377
|
+
return yt(() => {
|
|
17378
|
+
a(16);
|
|
17379
|
+
}, [e]), /* @__PURE__ */ l.jsxs(So, { open: e, onClose: r, fullWidth: !0, maxWidth: "sm", PaperProps: { sx: { borderRadius: "16px" } }, children: [
|
|
17380
17380
|
/* @__PURE__ */ l.jsxs($, { sx: { p: 2.5, display: "flex", flexDirection: "column", gap: 0.5 }, children: [
|
|
17381
17381
|
/* @__PURE__ */ l.jsx(ge, { variant: "h6", sx: { fontWeight: 800, fontSize: "1.1rem" }, children: "Selecciona un nuevo horario" }),
|
|
17382
17382
|
/* @__PURE__ */ l.jsx($, { children: /* @__PURE__ */ l.jsx(
|
|
@@ -17496,7 +17496,7 @@ function c5() {
|
|
|
17496
17496
|
Object.defineProperty(Jo, "__esModule", {
|
|
17497
17497
|
value: !0
|
|
17498
17498
|
}), Jo.default = void 0;
|
|
17499
|
-
var r = e(/* @__PURE__ */
|
|
17499
|
+
var r = e(/* @__PURE__ */ xt()), t = vt();
|
|
17500
17500
|
return Jo.default = (0, r.default)(/* @__PURE__ */ (0, t.jsx)("path", {
|
|
17501
17501
|
d: "M16.59 7.58 10 14.17l-3.59-3.58L5 12l5 5 8-8zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"
|
|
17502
17502
|
}), "CheckCircleOutline"), Jo;
|
|
@@ -17511,7 +17511,7 @@ function d5() {
|
|
|
17511
17511
|
Object.defineProperty(ea, "__esModule", {
|
|
17512
17512
|
value: !0
|
|
17513
17513
|
}), ea.default = void 0;
|
|
17514
|
-
var r = e(/* @__PURE__ */
|
|
17514
|
+
var r = e(/* @__PURE__ */ xt()), t = vt();
|
|
17515
17515
|
return ea.default = (0, r.default)(/* @__PURE__ */ (0, t.jsx)("path", {
|
|
17516
17516
|
d: "M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"
|
|
17517
17517
|
}), "ErrorOutline"), ea;
|
|
@@ -17666,7 +17666,7 @@ function m5({ guests: e, conflictCount: r, onViewSuggestions: t, onDeleteGuest:
|
|
|
17666
17666
|
}
|
|
17667
17667
|
function g5(e, r) {
|
|
17668
17668
|
const [t, n] = pe(e);
|
|
17669
|
-
return
|
|
17669
|
+
return yt(() => {
|
|
17670
17670
|
const o = setTimeout(() => {
|
|
17671
17671
|
n(e);
|
|
17672
17672
|
}, r);
|
|
@@ -17730,7 +17730,7 @@ const v5 = {
|
|
|
17730
17730
|
},
|
|
17731
17731
|
mode: "onChange"
|
|
17732
17732
|
}), Ie = be("fechaInicio"), I = be("fechaFin"), Ve = be("todoElDia");
|
|
17733
|
-
|
|
17733
|
+
yt(() => {
|
|
17734
17734
|
if (p.trim() === "" || !s || !c || !i) {
|
|
17735
17735
|
x([]), _([]), G("solID", null), w(!1), R("");
|
|
17736
17736
|
return;
|
|
@@ -17761,16 +17761,16 @@ const v5 = {
|
|
|
17761
17761
|
});
|
|
17762
17762
|
}, 500);
|
|
17763
17763
|
return () => clearTimeout(q);
|
|
17764
|
-
}, [p, s, c, i]),
|
|
17764
|
+
}, [p, s, c, i]), yt(() => {
|
|
17765
17765
|
if (Ie && I) {
|
|
17766
17766
|
const q = new Date(Ie), ue = new Date(I);
|
|
17767
17767
|
(q === ue || q > ue) && G("fechaFin", Ie);
|
|
17768
17768
|
}
|
|
17769
|
-
}, [Ie, I, G]),
|
|
17769
|
+
}, [Ie, I, G]), yt(() => {
|
|
17770
17770
|
Ie && G("fechaFin", Ie);
|
|
17771
|
-
}, [Ie]),
|
|
17771
|
+
}, [Ie]), yt(() => {
|
|
17772
17772
|
G("showEndDate", d);
|
|
17773
|
-
}, [d, G]),
|
|
17773
|
+
}, [d, G]), yt(() => {
|
|
17774
17774
|
if (console.log("initialEvent", a), a) {
|
|
17775
17775
|
const q = gt(a.fechaInicio, "yyyy-MM-dd") === gt(a.fechaFin, "yyyy-MM-dd");
|
|
17776
17776
|
if (f(!q), G("titulo", a?.titulo), G("fechaInicio", gt(a.fechaInicio, "yyyy-MM-dd")), G("fechaFin", gt(a.fechaFin, "yyyy-MM-dd")), G("horaInicio", gt(a.fechaInicio, "HH:mm")), G("horaFin", gt(a.fechaFin, "HH:mm")), G("horaInicio2", gt(a.fechaFin, "HH:mm")), G("descripcion", a.descripcion), G("link", a.link), G("repetir", "false"), G("color", a.color), G("todoElDia", a.todoElDia), G("solID", a.solID), G("client", a.client), a.invitados && a.invitados.length > 0) {
|
|
@@ -17836,7 +17836,7 @@ const v5 = {
|
|
|
17836
17836
|
console.log("Errores de validación:", q);
|
|
17837
17837
|
}
|
|
17838
17838
|
);
|
|
17839
|
-
|
|
17839
|
+
yt(() => {
|
|
17840
17840
|
Ve && (G("horaInicio", "00:00"), G("horaFin", "23:59"));
|
|
17841
17841
|
}, [Ve, G, be]);
|
|
17842
17842
|
const $e = () => {
|
|
@@ -17847,13 +17847,13 @@ const v5 = {
|
|
|
17847
17847
|
}
|
|
17848
17848
|
f(!0);
|
|
17849
17849
|
}, We = be("fechaInicio"), Xe = be("horaInicio"), ht = be("fechaFin"), C = be("horaFin"), [T, z] = pe(null), [ie, oe] = pe(null);
|
|
17850
|
-
|
|
17850
|
+
yt(() => {
|
|
17851
17851
|
(T === null || T !== Xe) && z(Xe);
|
|
17852
|
-
}, [Xe, T]),
|
|
17852
|
+
}, [Xe, T]), yt(() => {
|
|
17853
17853
|
(ie === null || ie !== C) && oe(C ?? "");
|
|
17854
17854
|
}, [C, ie]);
|
|
17855
17855
|
const O = be("todoElDia");
|
|
17856
|
-
|
|
17856
|
+
yt(() => {
|
|
17857
17857
|
if (O || !Xe || !C || !We || !ht)
|
|
17858
17858
|
return;
|
|
17859
17859
|
const q = ta(We, Xe), ue = ta(ht, C);
|
|
@@ -17922,7 +17922,7 @@ const v5 = {
|
|
|
17922
17922
|
isHost: !1
|
|
17923
17923
|
};
|
|
17924
17924
|
};
|
|
17925
|
-
|
|
17925
|
+
yt(() => {
|
|
17926
17926
|
we.length > 2 && c ? (async () => {
|
|
17927
17927
|
const ke = (await y.getUsuariosInvitados(c, we)).map(xe).filter((Oe) => Oe.usrID !== s && !k.some((Pe) => Pe.correo === Oe.correo));
|
|
17928
17928
|
J(ke);
|
|
@@ -18384,18 +18384,29 @@ const v5 = {
|
|
|
18384
18384
|
o(i), r();
|
|
18385
18385
|
}, s = (i) => i.isGoogleEvent ? { label: "G", borderColor: "#4285F4" } : i.isOutlookEvent ? { label: "O", borderColor: "#0078d9" } : { label: "-", borderColor: "#CCC" };
|
|
18386
18386
|
return /* @__PURE__ */ l.jsx(Ap, { open: e, onClose: r, children: /* @__PURE__ */ l.jsxs($, { sx: x5, children: [
|
|
18387
|
-
/* @__PURE__ */ l.jsxs(
|
|
18388
|
-
|
|
18389
|
-
|
|
18390
|
-
|
|
18391
|
-
|
|
18392
|
-
|
|
18393
|
-
|
|
18394
|
-
|
|
18395
|
-
}
|
|
18396
|
-
|
|
18397
|
-
|
|
18398
|
-
|
|
18387
|
+
/* @__PURE__ */ l.jsxs(
|
|
18388
|
+
$,
|
|
18389
|
+
{
|
|
18390
|
+
sx: {
|
|
18391
|
+
display: "flex",
|
|
18392
|
+
justifyContent: "space-between",
|
|
18393
|
+
alignItems: "center",
|
|
18394
|
+
mb: 1
|
|
18395
|
+
},
|
|
18396
|
+
children: [
|
|
18397
|
+
/* @__PURE__ */ l.jsxs(ge, { sx: { fontSize: "18px", fontWeight: "bold" }, component: "h2", children: [
|
|
18398
|
+
"Eventos del",
|
|
18399
|
+
" ",
|
|
18400
|
+
n.toLocaleDateString("es-ES", {
|
|
18401
|
+
weekday: "long",
|
|
18402
|
+
day: "numeric",
|
|
18403
|
+
month: "long"
|
|
18404
|
+
})
|
|
18405
|
+
] }),
|
|
18406
|
+
/* @__PURE__ */ l.jsx(qt, { onClick: r, size: "small", children: /* @__PURE__ */ l.jsx(Qr, {}) })
|
|
18407
|
+
]
|
|
18408
|
+
}
|
|
18409
|
+
),
|
|
18399
18410
|
/* @__PURE__ */ l.jsx($r, {}),
|
|
18400
18411
|
/* @__PURE__ */ l.jsx(Yn, { sx: { mt: 1 }, children: t.map((i) => {
|
|
18401
18412
|
const c = s(i);
|
|
@@ -18411,36 +18422,47 @@ const v5 = {
|
|
|
18411
18422
|
"&:hover": { backgroundColor: "rgba(0,0,0,0.04)" }
|
|
18412
18423
|
},
|
|
18413
18424
|
children: /* @__PURE__ */ l.jsxs($, { sx: { flexGrow: 1 }, children: [
|
|
18414
|
-
/* @__PURE__ */ l.jsxs(
|
|
18415
|
-
|
|
18416
|
-
|
|
18417
|
-
{
|
|
18418
|
-
|
|
18419
|
-
|
|
18420
|
-
|
|
18421
|
-
|
|
18422
|
-
|
|
18423
|
-
|
|
18424
|
-
|
|
18425
|
-
|
|
18426
|
-
|
|
18427
|
-
|
|
18428
|
-
|
|
18429
|
-
|
|
18430
|
-
|
|
18431
|
-
|
|
18432
|
-
|
|
18433
|
-
|
|
18434
|
-
|
|
18435
|
-
|
|
18436
|
-
|
|
18437
|
-
|
|
18438
|
-
|
|
18439
|
-
|
|
18440
|
-
|
|
18441
|
-
|
|
18442
|
-
|
|
18443
|
-
|
|
18425
|
+
/* @__PURE__ */ l.jsxs(
|
|
18426
|
+
$,
|
|
18427
|
+
{
|
|
18428
|
+
sx: {
|
|
18429
|
+
display: "flex",
|
|
18430
|
+
alignItems: "center",
|
|
18431
|
+
gap: 1,
|
|
18432
|
+
mb: 0.5
|
|
18433
|
+
},
|
|
18434
|
+
children: [
|
|
18435
|
+
/* @__PURE__ */ l.jsx(
|
|
18436
|
+
ge,
|
|
18437
|
+
{
|
|
18438
|
+
sx: {
|
|
18439
|
+
fontSize: "10px",
|
|
18440
|
+
fontWeight: "bold",
|
|
18441
|
+
px: 0.5,
|
|
18442
|
+
borderRadius: "3px",
|
|
18443
|
+
backgroundColor: c?.borderColor,
|
|
18444
|
+
color: "white",
|
|
18445
|
+
textTransform: "uppercase"
|
|
18446
|
+
},
|
|
18447
|
+
children: c?.label
|
|
18448
|
+
}
|
|
18449
|
+
),
|
|
18450
|
+
/* @__PURE__ */ l.jsx(
|
|
18451
|
+
ge,
|
|
18452
|
+
{
|
|
18453
|
+
sx: {
|
|
18454
|
+
fontSize: "14px",
|
|
18455
|
+
fontWeight: 600,
|
|
18456
|
+
lineHeight: 1.2,
|
|
18457
|
+
color: "#333"
|
|
18458
|
+
},
|
|
18459
|
+
children: i.titulo
|
|
18460
|
+
}
|
|
18461
|
+
)
|
|
18462
|
+
]
|
|
18463
|
+
}
|
|
18464
|
+
),
|
|
18465
|
+
/* @__PURE__ */ l.jsx(ge, { sx: { fontSize: "12px", color: "#666" }, children: i.todoElDia ? "Todo el día" : `${gt(i.fechaInicio, "hh:mm aa").toLowerCase()} - ${gt(i.fechaFin, "hh:mm aa").toLowerCase()}` })
|
|
18444
18466
|
] })
|
|
18445
18467
|
}
|
|
18446
18468
|
) }, i.eventoID);
|
|
@@ -18455,7 +18477,7 @@ function _5() {
|
|
|
18455
18477
|
Object.defineProperty(ra, "__esModule", {
|
|
18456
18478
|
value: !0
|
|
18457
18479
|
}), ra.default = void 0;
|
|
18458
|
-
var r = e(/* @__PURE__ */
|
|
18480
|
+
var r = e(/* @__PURE__ */ xt()), t = vt();
|
|
18459
18481
|
return ra.default = (0, r.default)(/* @__PURE__ */ (0, t.jsx)("path", {
|
|
18460
18482
|
d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-2h2zm0-4h-2V7h2z"
|
|
18461
18483
|
}), "Error"), ra;
|
|
@@ -18470,7 +18492,7 @@ function E5() {
|
|
|
18470
18492
|
Object.defineProperty(na, "__esModule", {
|
|
18471
18493
|
value: !0
|
|
18472
18494
|
}), na.default = void 0;
|
|
18473
|
-
var r = e(/* @__PURE__ */
|
|
18495
|
+
var r = e(/* @__PURE__ */ xt()), t = vt();
|
|
18474
18496
|
return na.default = (0, r.default)(/* @__PURE__ */ (0, t.jsx)("path", {
|
|
18475
18497
|
d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-6h2zm0-8h-2V7h2z"
|
|
18476
18498
|
}), "Info"), na;
|
|
@@ -18656,13 +18678,13 @@ const j5 = (e, r, t) => {
|
|
|
18656
18678
|
const Q = await y.getNotificacionesXUsuario(e, !1);
|
|
18657
18679
|
a ? localStorage.setItem("nombreAnfitrion", a) : localStorage.setItem("nombreAnfitrion", "Anfitrion"), be(Q);
|
|
18658
18680
|
};
|
|
18659
|
-
|
|
18681
|
+
yt(() => {
|
|
18660
18682
|
const Ae = Co(/* @__PURE__ */ new Date()), Ee = Pa(un(Ae, 6)), Ne = { start: Ae, end: Ee }, Dr = c.filter((Ft) => {
|
|
18661
18683
|
const en = { start: Ft.fechaInicio, end: Ft.fechaFin };
|
|
18662
18684
|
return Lh(en, Ne);
|
|
18663
18685
|
}).sort((Ft, en) => Ft.fechaInicio.getTime() - en.fechaInicio.getTime());
|
|
18664
18686
|
S(Dr);
|
|
18665
|
-
}, [c]),
|
|
18687
|
+
}, [c]), yt(() => {
|
|
18666
18688
|
const Q = async () => {
|
|
18667
18689
|
try {
|
|
18668
18690
|
if (e) {
|
|
@@ -18676,7 +18698,7 @@ const j5 = (e, r, t) => {
|
|
|
18676
18698
|
Q();
|
|
18677
18699
|
const Ae = setInterval(Q, 4e3);
|
|
18678
18700
|
return () => clearInterval(Ae);
|
|
18679
|
-
}, [e]),
|
|
18701
|
+
}, [e]), yt(() => {
|
|
18680
18702
|
if (!n || !e) return;
|
|
18681
18703
|
const Q = [...c];
|
|
18682
18704
|
if (U.length > 0 && W?.userEmail) {
|
|
@@ -18828,9 +18850,9 @@ const j5 = (e, r, t) => {
|
|
|
18828
18850
|
const Ee = Ae.filter((Ne) => Ne.selected).map((Ne) => Ne.id);
|
|
18829
18851
|
ee(Ee);
|
|
18830
18852
|
};
|
|
18831
|
-
|
|
18853
|
+
yt(() => {
|
|
18832
18854
|
O();
|
|
18833
|
-
}, [W?.userEmail, n]),
|
|
18855
|
+
}, [W?.userEmail, n]), yt(() => {
|
|
18834
18856
|
Ce();
|
|
18835
18857
|
}, [te?.userEmail, n]);
|
|
18836
18858
|
const M = async (Q) => {
|
|
@@ -19002,7 +19024,7 @@ function V5() {
|
|
|
19002
19024
|
Object.defineProperty(oa, "__esModule", {
|
|
19003
19025
|
value: !0
|
|
19004
19026
|
}), oa.default = void 0;
|
|
19005
|
-
var r = e(/* @__PURE__ */
|
|
19027
|
+
var r = e(/* @__PURE__ */ xt()), t = vt();
|
|
19006
19028
|
return oa.default = (0, r.default)(/* @__PURE__ */ (0, t.jsx)("path", {
|
|
19007
19029
|
d: "M4.25 5.61C6.27 8.2 10 13 10 13v6c0 .55.45 1 1 1h2c.55 0 1-.45 1-1v-6s3.72-4.8 5.74-7.39c.51-.66.04-1.61-.79-1.61H5.04c-.83 0-1.3.95-.79 1.61"
|
|
19008
19030
|
}), "FilterAlt"), oa;
|
|
@@ -19017,7 +19039,7 @@ function H5() {
|
|
|
19017
19039
|
Object.defineProperty(aa, "__esModule", {
|
|
19018
19040
|
value: !0
|
|
19019
19041
|
}), aa.default = void 0;
|
|
19020
|
-
var r = e(/* @__PURE__ */
|
|
19042
|
+
var r = e(/* @__PURE__ */ xt()), t = vt();
|
|
19021
19043
|
return aa.default = (0, r.default)(/* @__PURE__ */ (0, t.jsx)("path", {
|
|
19022
19044
|
d: "M15.5 14h-.79l-.28-.27c1.2-1.4 1.82-3.31 1.48-5.34-.47-2.78-2.79-5-5.59-5.34-4.23-.52-7.79 3.04-7.27 7.27.34 2.8 2.56 5.12 5.34 5.59 2.03.34 3.94-.28 5.34-1.48l.27.28v.79l4.25 4.25c.41.41 1.08.41 1.49 0 .41-.41.41-1.08 0-1.49zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"
|
|
19023
19045
|
}), "SearchRounded"), aa;
|
|
@@ -19032,7 +19054,7 @@ function Z5() {
|
|
|
19032
19054
|
Object.defineProperty(sa, "__esModule", {
|
|
19033
19055
|
value: !0
|
|
19034
19056
|
}), sa.default = void 0;
|
|
19035
|
-
var r = e(/* @__PURE__ */
|
|
19057
|
+
var r = e(/* @__PURE__ */ xt()), t = vt();
|
|
19036
19058
|
return sa.default = (0, r.default)(/* @__PURE__ */ (0, t.jsx)("path", {
|
|
19037
19059
|
d: "M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z"
|
|
19038
19060
|
}), "KeyboardArrowDown"), sa;
|
|
@@ -19047,7 +19069,7 @@ function Q5() {
|
|
|
19047
19069
|
Object.defineProperty(ia, "__esModule", {
|
|
19048
19070
|
value: !0
|
|
19049
19071
|
}), ia.default = void 0;
|
|
19050
|
-
var r = e(/* @__PURE__ */
|
|
19072
|
+
var r = e(/* @__PURE__ */ xt()), t = vt();
|
|
19051
19073
|
return ia.default = (0, r.default)(/* @__PURE__ */ (0, t.jsx)("path", {
|
|
19052
19074
|
d: "M7.41 15.41 12 10.83l4.59 4.58L18 14l-6-6-6 6z"
|
|
19053
19075
|
}), "KeyboardArrowUp"), ia;
|
|
@@ -19277,7 +19299,7 @@ function r4() {
|
|
|
19277
19299
|
Object.defineProperty(ca, "__esModule", {
|
|
19278
19300
|
value: !0
|
|
19279
19301
|
}), ca.default = void 0;
|
|
19280
|
-
var r = e(/* @__PURE__ */
|
|
19302
|
+
var r = e(/* @__PURE__ */ xt()), t = vt();
|
|
19281
19303
|
return ca.default = (0, r.default)(/* @__PURE__ */ (0, t.jsx)("path", {
|
|
19282
19304
|
d: "M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2m3.3 14.71L11 12.41V7h2v4.59l3.71 3.71z"
|
|
19283
19305
|
}), "AccessTimeFilled"), ca;
|
|
@@ -19302,7 +19324,7 @@ function c4() {
|
|
|
19302
19324
|
Object.defineProperty(la, "__esModule", {
|
|
19303
19325
|
value: !0
|
|
19304
19326
|
}), la.default = void 0;
|
|
19305
|
-
var r = e(/* @__PURE__ */
|
|
19327
|
+
var r = e(/* @__PURE__ */ xt()), t = vt();
|
|
19306
19328
|
return la.default = (0, r.default)(/* @__PURE__ */ (0, t.jsx)("path", {
|
|
19307
19329
|
d: "M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"
|
|
19308
19330
|
}), "Create"), la;
|
|
@@ -19347,7 +19369,7 @@ function d4() {
|
|
|
19347
19369
|
Object.defineProperty(ua, "__esModule", {
|
|
19348
19370
|
value: !0
|
|
19349
19371
|
}), ua.default = void 0;
|
|
19350
|
-
var r = e(/* @__PURE__ */
|
|
19372
|
+
var r = e(/* @__PURE__ */ xt()), t = vt();
|
|
19351
19373
|
return ua.default = (0, r.default)(/* @__PURE__ */ (0, t.jsx)("path", {
|
|
19352
19374
|
d: "M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"
|
|
19353
19375
|
}), "Add"), ua;
|
|
@@ -19362,7 +19384,7 @@ function p4() {
|
|
|
19362
19384
|
Object.defineProperty(da, "__esModule", {
|
|
19363
19385
|
value: !0
|
|
19364
19386
|
}), da.default = void 0;
|
|
19365
|
-
var r = e(/* @__PURE__ */
|
|
19387
|
+
var r = e(/* @__PURE__ */ xt()), t = vt();
|
|
19366
19388
|
return da.default = (0, r.default)(/* @__PURE__ */ (0, t.jsx)("path", {
|
|
19367
19389
|
d: "M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z"
|
|
19368
19390
|
}), "ArrowBack"), da;
|
|
@@ -19563,7 +19585,7 @@ function D4({
|
|
|
19563
19585
|
), [P, ae] = pe(null), le = at(() => [...u].sort(
|
|
19564
19586
|
(N, X) => new Date(X.FechaAsignacion).getTime() - new Date(N.FechaAsignacion).getTime()
|
|
19565
19587
|
), [u]);
|
|
19566
|
-
|
|
19588
|
+
yt(() => {
|
|
19567
19589
|
c && c.length && U(c);
|
|
19568
19590
|
}, [c]);
|
|
19569
19591
|
const j = c?.length ? c : te, J = o?.title ?? ((N) => N?.Nombre || N?.name || "Sin título"), we = o?.infoItems ?? [], Se = (N) => N.nombreAsesor?.trim() || (N.Email ? N.Email : "Sistema"), de = (N) => {
|
|
@@ -21023,13 +21045,13 @@ function wR(e) {
|
|
|
21023
21045
|
return String(K);
|
|
21024
21046
|
};
|
|
21025
21047
|
}, [d]);
|
|
21026
|
-
return
|
|
21048
|
+
return yt(() => {
|
|
21027
21049
|
if (!te.open || !te.customer) return;
|
|
21028
21050
|
const se = de(te.customer);
|
|
21029
21051
|
if (!se) return;
|
|
21030
21052
|
const ce = (r ?? []).find((K) => de(K) === se);
|
|
21031
21053
|
ce && ce !== te.customer && U((K) => ({ ...K, customer: ce }));
|
|
21032
|
-
}, [r, te.open, te.customer, de]),
|
|
21054
|
+
}, [r, te.open, te.customer, de]), yt(() => {
|
|
21033
21055
|
p && le(p);
|
|
21034
21056
|
}, [p]), /* @__PURE__ */ l.jsxs("div", { children: [
|
|
21035
21057
|
/* @__PURE__ */ l.jsx(
|
|
@@ -21430,7 +21452,7 @@ function N4() {
|
|
|
21430
21452
|
Object.defineProperty(fa, "__esModule", {
|
|
21431
21453
|
value: !0
|
|
21432
21454
|
}), fa.default = void 0;
|
|
21433
|
-
var r = e(/* @__PURE__ */
|
|
21455
|
+
var r = e(/* @__PURE__ */ xt()), t = vt();
|
|
21434
21456
|
return fa.default = (0, r.default)(/* @__PURE__ */ (0, t.jsx)("path", {
|
|
21435
21457
|
d: "M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"
|
|
21436
21458
|
}), "NavigateBefore"), fa;
|
|
@@ -21445,7 +21467,7 @@ function z4() {
|
|
|
21445
21467
|
Object.defineProperty(pa, "__esModule", {
|
|
21446
21468
|
value: !0
|
|
21447
21469
|
}), pa.default = void 0;
|
|
21448
|
-
var r = e(/* @__PURE__ */
|
|
21470
|
+
var r = e(/* @__PURE__ */ xt()), t = vt();
|
|
21449
21471
|
return pa.default = (0, r.default)(/* @__PURE__ */ (0, t.jsx)("path", {
|
|
21450
21472
|
d: "M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"
|
|
21451
21473
|
}), "NavigateNext"), pa;
|
|
@@ -22081,7 +22103,7 @@ function U4() {
|
|
|
22081
22103
|
Object.defineProperty(ha, "__esModule", {
|
|
22082
22104
|
value: !0
|
|
22083
22105
|
}), ha.default = void 0;
|
|
22084
|
-
var r = e(/* @__PURE__ */
|
|
22106
|
+
var r = e(/* @__PURE__ */ xt()), t = vt();
|
|
22085
22107
|
return ha.default = (0, r.default)(/* @__PURE__ */ (0, t.jsx)("path", {
|
|
22086
22108
|
d: "M16.5 6v11.5c0 2.21-1.79 4-4 4s-4-1.79-4-4V5c0-1.38 1.12-2.5 2.5-2.5s2.5 1.12 2.5 2.5v10.5c0 .55-.45 1-1 1s-1-.45-1-1V6H10v9.5c0 1.38 1.12 2.5 2.5 2.5s2.5-1.12 2.5-2.5V5c0-2.21-1.79-4-4-4S7 2.79 7 5v12.5c0 3.04 2.46 5.5 5.5 5.5s5.5-2.46 5.5-5.5V6z"
|
|
22087
22109
|
}), "AttachFile"), ha;
|
|
@@ -22113,10 +22135,10 @@ function SR({
|
|
|
22113
22135
|
defaultItemImageSrc: g
|
|
22114
22136
|
}) {
|
|
22115
22137
|
const m = wn(null), [p, v] = pe("idle"), b = wn(e);
|
|
22116
|
-
|
|
22138
|
+
yt(() => {
|
|
22117
22139
|
const M = b.current;
|
|
22118
22140
|
e && !M && v("entering"), !e && M && v("exiting"), b.current = e;
|
|
22119
|
-
}, [e]),
|
|
22141
|
+
}, [e]), yt(() => {
|
|
22120
22142
|
if (p === "entering") {
|
|
22121
22143
|
const xe = setTimeout(() => v("idle"), 320);
|
|
22122
22144
|
return () => clearTimeout(xe);
|
|
@@ -22180,7 +22202,7 @@ function SR({
|
|
|
22180
22202
|
() => ce.map((M) => (M.EmailAsesor ?? "").trim()).filter(Boolean),
|
|
22181
22203
|
[ce]
|
|
22182
22204
|
), _e = wn(!1);
|
|
22183
|
-
|
|
22205
|
+
yt(() => {
|
|
22184
22206
|
if (e && !_e.current) {
|
|
22185
22207
|
let M = [];
|
|
22186
22208
|
w && se && (M = hn(M, [se])), L && K.length && (M = hn(M, K)), j((ee) => hn(ee, M)), le(
|