@ukpc-lib/react 0.3.33 → 0.3.35
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/assets/js/firebase-messaging-sw.js +1 -1
- package/dist/components/Notification/models/NotiticationDto.d.ts +1 -0
- package/dist/components/Topbar/icons/NotificationIcon.d.ts +1 -1
- package/dist/components/index.cjs +23 -23
- package/dist/components/index.js +240 -220
- package/dist/index.css +1 -1
- package/dist/{index.module-6577468c.js → index.module-7ec738c2.js} +16 -9
- package/dist/{index.module-a3ebf250.cjs → index.module-ac67a1cf.cjs} +3 -3
- package/dist/share/index.cjs +1 -1
- package/dist/share/index.js +1 -1
- package/package.json +1 -1
- package/web-components-bundle/access-denied/index.cjs +1 -1
- package/web-components-bundle/access-denied/index.js +1 -1
- package/web-components-bundle/global-menu/index.cjs +1 -1
- package/web-components-bundle/global-menu/index.js +1 -1
- package/web-components-bundle/global-topbar/index.cjs +1 -1
- package/web-components-bundle/global-topbar/index.js +2 -2
- package/web-components-bundle/has-permission/index.cjs +1 -1
- package/web-components-bundle/has-permission/index.js +2 -2
- package/web-components-bundle/{index-d164d394.js → index-3aaec144.js} +655 -635
- package/web-components-bundle/{index-9b0d9ee5.js → index-659d93f3.js} +195 -188
- package/web-components-bundle/{index-70d1d0a6.cjs → index-bad82c40.cjs} +3 -3
- package/web-components-bundle/{index-70a23cc4.cjs → index-ebaa9339.cjs} +13 -13
package/dist/components/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as T, Fragment as $e, jsx as c } from "react/jsx-runtime";
|
|
2
2
|
import * as L from "react";
|
|
3
3
|
import Eo, { useState as G, useContext as xe, useEffect as Q, useRef as be, useCallback as bt, forwardRef as Co, createElement as er, PureComponent as Oo } from "react";
|
|
4
|
-
import { c as Te, Q as $n, C as Ne, p as At, u as hr, S as To, a as No, L as ko, b as Pr, d as $o, e as mt, f as Io, s as pt, _ as z, g as _e, P as k, h as he, i as Mo, o as Ao, j as Po, k as Ro, l as Rr, m as In, n as xt, q as Dr, I as Do, r as zo, t as zr, D as Fo, v as Mn, w as An, x as Lo, y as jo, z as Oe, A as Vo, B as gt } from "../index.module-
|
|
5
|
-
import { G as Cc, E as Oc, F as Tc } from "../index.module-
|
|
4
|
+
import { c as Te, Q as $n, C as Ne, p as At, u as hr, S as To, a as No, L as ko, b as Pr, d as $o, e as mt, f as Io, s as pt, _ as z, g as _e, P as k, h as he, i as Mo, o as Ao, j as Po, k as Ro, l as Rr, m as In, n as xt, q as Dr, I as Do, r as zo, t as zr, D as Fo, v as Mn, w as An, x as Lo, y as jo, z as Oe, A as Vo, B as gt } from "../index.module-7ec738c2.js";
|
|
5
|
+
import { G as Cc, E as Oc, F as Tc } from "../index.module-7ec738c2.js";
|
|
6
6
|
import Z from "moment";
|
|
7
7
|
import mr from "axios";
|
|
8
8
|
import { Stack as te, Dialog as Ho, DialogTitle as Bo, Typography as ge, DialogContent as Wo, DialogActions as Uo, Button as ir, ClickAwayListener as qo, TextField as Pn, IconButton as Yo, CircularProgress as Go, Fade as Ko, Paper as Zo, Checkbox as Xo } from "@mui/material";
|
|
@@ -109,10 +109,10 @@ const Qo = (e) => {
|
|
|
109
109
|
const [i, a] = G(!1), [l, u] = G({
|
|
110
110
|
id: e.id,
|
|
111
111
|
isRead: e.isRead
|
|
112
|
-
}), f = l.isRead === !1 ? "unread" : "read",
|
|
112
|
+
}), f = l.isRead === !1 ? "unread" : "read", m = {
|
|
113
113
|
borderColor: l.isRead ? "#c5c5c5" : (o == null ? void 0 : o.primary500) || Te.primary500,
|
|
114
114
|
backgroundColor: l.isRead ? "#c5c5c5" : (o == null ? void 0 : o.primary500) || Te.primary500
|
|
115
|
-
}, { setNotiData:
|
|
115
|
+
}, { setNotiData: h } = xe(Ne), g = hr({ baseUrl: t, notiPath: r, setNotiData: h }), b = async (x, w) => {
|
|
116
116
|
var E, p;
|
|
117
117
|
try {
|
|
118
118
|
const _ = r || `/notification-management/api/v1/notifications/${x}`, S = t + _;
|
|
@@ -175,9 +175,9 @@ const Qo = (e) => {
|
|
|
175
175
|
/* @__PURE__ */ c("div", { className: "notification-item__image-container", children: /* @__PURE__ */ c(
|
|
176
176
|
"img",
|
|
177
177
|
{
|
|
178
|
-
src: e
|
|
178
|
+
src: !e.actorAvatarUrl || e.actorName === "System" ? "https://ukpcsaprod.blob.core.windows.net/account/logo.png" : e.actorAvatarUrl,
|
|
179
179
|
onError: ({ currentTarget: x }) => {
|
|
180
|
-
x.onerror = null, x.src = "https://ukpcsaprod.blob.core.windows.net/account/logo.png";
|
|
180
|
+
console.log("img on error", x), x.onerror = null, x.src = "https://ukpcsaprod.blob.core.windows.net/account/logo.png";
|
|
181
181
|
},
|
|
182
182
|
alt: e.actorName
|
|
183
183
|
}
|
|
@@ -211,7 +211,7 @@ const Qo = (e) => {
|
|
|
211
211
|
{
|
|
212
212
|
className: `${f} notification-item__read-at`,
|
|
213
213
|
"aria-label": "Mark as read",
|
|
214
|
-
style:
|
|
214
|
+
style: m,
|
|
215
215
|
onClick: () => y(e.id, e.isRead)
|
|
216
216
|
}
|
|
217
217
|
)
|
|
@@ -242,7 +242,7 @@ const Qo = (e) => {
|
|
|
242
242
|
className: "list-dot"
|
|
243
243
|
}
|
|
244
244
|
),
|
|
245
|
-
x.name
|
|
245
|
+
/* @__PURE__ */ c("span", { style: { width: "calc(100% - 12px)" }, children: x.name })
|
|
246
246
|
]
|
|
247
247
|
},
|
|
248
248
|
w
|
|
@@ -255,38 +255,46 @@ const Qo = (e) => {
|
|
|
255
255
|
notidata: e,
|
|
256
256
|
baseUrl: t,
|
|
257
257
|
notiPath: r,
|
|
258
|
-
brandColors: n
|
|
258
|
+
brandColors: n,
|
|
259
|
+
notiUnreadNumber: o
|
|
259
260
|
}) => {
|
|
260
|
-
const [
|
|
261
|
-
console.log(
|
|
262
|
-
const { setNotiData:
|
|
263
|
-
var h,
|
|
261
|
+
const [i, a] = G(!1);
|
|
262
|
+
console.log(i);
|
|
263
|
+
const { setNotiData: l } = xe(Ne), u = hr({ baseUrl: t, notiPath: r, setNotiData: l }), f = async () => {
|
|
264
|
+
var h, g;
|
|
264
265
|
try {
|
|
265
|
-
const
|
|
266
|
-
await mr.put(
|
|
266
|
+
const y = t + (r || "/notification-management/api/v1/notifications");
|
|
267
|
+
await mr.put(y, {
|
|
267
268
|
withCredentials: !0
|
|
268
269
|
});
|
|
269
|
-
} catch (
|
|
270
|
-
console.log(
|
|
271
|
-
((
|
|
270
|
+
} catch (b) {
|
|
271
|
+
console.log(b), a(!1), At(
|
|
272
|
+
((g = (h = b.response) == null ? void 0 : h.data) == null ? void 0 : g.errorMessage) || "Have error when get notification list"
|
|
272
273
|
);
|
|
273
274
|
}
|
|
274
|
-
await
|
|
275
|
+
await u(), a(!1);
|
|
276
|
+
}, m = () => {
|
|
277
|
+
a(!0), f();
|
|
275
278
|
};
|
|
276
|
-
return /* @__PURE__ */ T("div", { children: [
|
|
277
|
-
/* @__PURE__ */ c("div", { className: "mark-all-read", children: /* @__PURE__ */ c(
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
279
|
+
return console.log("notiUnreadNumber", o), /* @__PURE__ */ T("div", { children: [
|
|
280
|
+
/* @__PURE__ */ c("div", { className: "mark-all-read", children: /* @__PURE__ */ c(
|
|
281
|
+
"button",
|
|
282
|
+
{
|
|
283
|
+
onClick: m,
|
|
284
|
+
style: { visibility: o === 0 ? "hidden" : "visible" },
|
|
285
|
+
children: "Mark all as read"
|
|
286
|
+
}
|
|
287
|
+
) }),
|
|
288
|
+
/* @__PURE__ */ c("div", { className: "notification-items__wrapper", children: /* @__PURE__ */ c("div", { className: "notification-items__content", children: Object.values(e).map((h, g) => /* @__PURE__ */ c(
|
|
281
289
|
ei,
|
|
282
290
|
{
|
|
283
291
|
notification: h,
|
|
284
292
|
baseUrl: t,
|
|
285
293
|
notiPath: r,
|
|
286
|
-
markAllAsReadState:
|
|
294
|
+
markAllAsReadState: i,
|
|
287
295
|
brandColors: n
|
|
288
296
|
},
|
|
289
|
-
|
|
297
|
+
g
|
|
290
298
|
)) }) })
|
|
291
299
|
] });
|
|
292
300
|
}, ti = ({
|
|
@@ -294,7 +302,7 @@ const Qo = (e) => {
|
|
|
294
302
|
notiPath: t,
|
|
295
303
|
brandColors: r
|
|
296
304
|
}) => {
|
|
297
|
-
var u, f,
|
|
305
|
+
var u, f, m, h;
|
|
298
306
|
const { setShowModalFalse: n } = xe(Ne), { notidata: o } = xe(Ne);
|
|
299
307
|
console.log(o);
|
|
300
308
|
const [i, a] = G("all"), l = [
|
|
@@ -307,20 +315,22 @@ const Qo = (e) => {
|
|
|
307
315
|
notidata: ((f = o == null ? void 0 : o.all) == null ? void 0 : f.rows) || [],
|
|
308
316
|
baseUrl: e,
|
|
309
317
|
notiPath: t,
|
|
310
|
-
brandColors: r
|
|
318
|
+
brandColors: r,
|
|
319
|
+
notiUnreadNumber: o.unread.total
|
|
311
320
|
}
|
|
312
321
|
)
|
|
313
322
|
},
|
|
314
323
|
{
|
|
315
324
|
id: "unread",
|
|
316
|
-
tabTitle: `Unread (${((
|
|
325
|
+
tabTitle: `Unread (${((m = o == null ? void 0 : o.unread) == null ? void 0 : m.total) || 0})`,
|
|
317
326
|
children: /* @__PURE__ */ c(
|
|
318
327
|
Fr,
|
|
319
328
|
{
|
|
320
|
-
notidata: ((
|
|
329
|
+
notidata: ((h = o == null ? void 0 : o.unread) == null ? void 0 : h.rows) || [],
|
|
321
330
|
baseUrl: e,
|
|
322
331
|
notiPath: t,
|
|
323
|
-
brandColors: r
|
|
332
|
+
brandColors: r,
|
|
333
|
+
notiUnreadNumber: o.unread.total
|
|
324
334
|
}
|
|
325
335
|
)
|
|
326
336
|
}
|
|
@@ -353,7 +363,11 @@ const Qo = (e) => {
|
|
|
353
363
|
/* @__PURE__ */ c(
|
|
354
364
|
"h3",
|
|
355
365
|
{
|
|
356
|
-
style: {
|
|
366
|
+
style: {
|
|
367
|
+
fontSize: "24px",
|
|
368
|
+
fontWeight: "500",
|
|
369
|
+
color: Te.textPrimary
|
|
370
|
+
},
|
|
357
371
|
className: "list-title",
|
|
358
372
|
children: "Notifications"
|
|
359
373
|
}
|
|
@@ -399,12 +413,12 @@ function pr({
|
|
|
399
413
|
const n = document.querySelector("#topbar-wrapper"), o = n == null ? void 0 : n.shadowRoot, i = o == null ? void 0 : o.querySelector(`.${e}`), a = o == null ? void 0 : o.querySelector(
|
|
400
414
|
`.${r}`
|
|
401
415
|
), l = o == null ? void 0 : o.querySelector("nav"), u = (f) => {
|
|
402
|
-
l == null || l.addEventListener("click", function(
|
|
403
|
-
if (r && a && a.contains(
|
|
404
|
-
if (i && !i.contains(
|
|
416
|
+
l == null || l.addEventListener("click", function(m) {
|
|
417
|
+
if (r && a && a.contains(m.target)) {
|
|
418
|
+
if (i && !i.contains(m.target))
|
|
405
419
|
return;
|
|
406
420
|
} else
|
|
407
|
-
i && !i.contains(
|
|
421
|
+
i && !i.contains(m.target) && t();
|
|
408
422
|
}), n && !n.contains(f.target) && t();
|
|
409
423
|
};
|
|
410
424
|
document.addEventListener("click", u, !0);
|
|
@@ -415,8 +429,8 @@ function ri({
|
|
|
415
429
|
notiPath: r,
|
|
416
430
|
brandColors: n
|
|
417
431
|
}) {
|
|
418
|
-
var
|
|
419
|
-
const { isOpen: o, toggleOpen: i, setShowModalFalse: a } = xe(Ne), { notidata: l, setNotiData: u } = xe(Ne), f = hr({ baseUrl: t, notiPath: r, setNotiData: u }),
|
|
432
|
+
var h, g;
|
|
433
|
+
const { isOpen: o, toggleOpen: i, setShowModalFalse: a } = xe(Ne), { notidata: l, setNotiData: u } = xe(Ne), f = hr({ baseUrl: t, notiPath: r, setNotiData: u }), m = async () => {
|
|
420
434
|
var b, y;
|
|
421
435
|
try {
|
|
422
436
|
await f();
|
|
@@ -427,7 +441,7 @@ function ri({
|
|
|
427
441
|
}
|
|
428
442
|
};
|
|
429
443
|
return Q(() => {
|
|
430
|
-
|
|
444
|
+
m();
|
|
431
445
|
}, [o]), Q(() => {
|
|
432
446
|
pr({
|
|
433
447
|
childrenClass: "noti-container",
|
|
@@ -481,7 +495,6 @@ function ri({
|
|
|
481
495
|
position: "absolute",
|
|
482
496
|
top: "-9px",
|
|
483
497
|
right: "-6px",
|
|
484
|
-
background: `${Te}`,
|
|
485
498
|
width: "20px",
|
|
486
499
|
height: "20px",
|
|
487
500
|
border: "1px solid #fff",
|
|
@@ -494,17 +507,24 @@ function ri({
|
|
|
494
507
|
backgroundColor: Te.danger
|
|
495
508
|
},
|
|
496
509
|
className: "notification-badge",
|
|
497
|
-
children: ((
|
|
510
|
+
children: ((h = l == null ? void 0 : l.unread) == null ? void 0 : h.total) > 9 ? "9+" : `${(g = l == null ? void 0 : l.unread) == null ? void 0 : g.total}`
|
|
498
511
|
}
|
|
499
512
|
)
|
|
500
513
|
] }),
|
|
501
|
-
/* @__PURE__ */ c("div", { className: "noti-list-container", children: !o && /* @__PURE__ */ c(
|
|
514
|
+
/* @__PURE__ */ c("div", { className: "noti-list-container", children: !o && /* @__PURE__ */ c(
|
|
515
|
+
ti,
|
|
516
|
+
{
|
|
517
|
+
baseUrl: t,
|
|
518
|
+
notiPath: r,
|
|
519
|
+
brandColors: n
|
|
520
|
+
}
|
|
521
|
+
) })
|
|
502
522
|
] });
|
|
503
523
|
}
|
|
504
524
|
const ni = `.avatar-dropdown-item{padding:.5rem;font-size:.875rem;line-height:1.25rem;cursor:pointer;border-radius:.25rem}.avartarDropdownMenu{background-color:#fff;padding:.5rem;width:13rem;--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);position:absolute;left:-10rem;top:3.2rem}.avartarDropdownMenu ul{list-style:none;padding-inline-start:0;margin-block-end:0}.navbar{position:fixed;display:flex;z-index:30;background:#292929;top:0;width:100%;padding-left:2.5rem;height:64px}.navbar-container{display:flex;flex-direction:row;align-items:center;width:100%;justify-content:space-between}.logo-container{height:100%;display:flex;align-items:center}.right-side-container{display:flex;flex-direction:row;align-items:center;text-align:center;margin-right:2.5rem;gap:1rem}.userContainer{display:flex;align-items:center;gap:.5rem}.languageDropdown{height:100%;padding:0 8px;display:flex;flex-direction:row;gap:8px;border-radius:3px;align-items:center;justify-content:center;height:41px;background-color:#ffffff1a;cursor:pointer;transition:background-color .2s ease-in-out}.languageDropdown:hover{background-color:#fff3}.userFullName{color:#fff;font-weight:400;font-size:.875rem;line-height:1.25rem}.userAvatar{width:2.5rem;height:2.5rem;-o-object-fit:cover;object-fit:cover;border-radius:9999px;border:2px solid #FFFFFF}#userAvatarNull{width:2.5rem;height:2.5rem;background:#DDDDDD;border-radius:100%;color:#fff;font-size:20px;font-weight:400;display:flex;align-items:center;justify-content:center}.relative{position:relative}.cursor-pointer{cursor:pointer}
|
|
505
|
-
`, oi = `:root{--textPrimary: #292929;--textWhite: #fff;--primary500: #2E7D32;--grey100: #FAFAFA;--gray200: #EEEEEE;--gray600: #85858A;--link: #007BFF }.list-content{overflow-y:auto;overflow-x:hidden}.mark-all-read{text-align:right;color:#007bff;margin-bottom:12px;font-size:12px}.notification-items__wrapper{overflow:hidden}.notification-items__content{height:calc(100vh - 275px);overflow-x:hidden;overflow-y:auto;color:#292929}.notitification-item__container{display:flex;justify-content:space-between;padding:16px;border-bottom:#FAFAFA 1px solid;text-align:left;font-size:12px;position:relative;z-index:10;cursor:pointer;border-radius:4px;margin-bottom:8px}.notitification-item__container:hover{background-color:#fafafa}.notification-item__image-container{width:46px;height:40px;display:flex;justify-content:center;align-items:center;border-radius:50%;overflow:hidden;margin-right:16px}.notification-item__image-container img{width:100%;height:100%;text-align:center;-o-object-fit:cover;object-fit:cover;color:transparent;text-indent:10000px}.notification-item__content-wrapper{width:100%;display:flex;align-items:center;justify-content:space-between}.notification-item__context-link{color:#007bff}.notification-item__content{width:
|
|
525
|
+
`, oi = `:root{--textPrimary: #292929;--textWhite: #fff;--primary500: #2E7D32;--grey100: #FAFAFA;--gray200: #EEEEEE;--gray600: #85858A;--link: #007BFF }.list-content{overflow-y:auto;overflow-x:hidden}.mark-all-read{text-align:right;color:#007bff;margin-bottom:12px;font-size:12px}.notification-items__wrapper{overflow:hidden}.notification-items__content{height:calc(100vh - 275px);overflow-x:hidden;overflow-y:auto;color:#292929}.notitification-item__container{display:flex;justify-content:space-between;padding:16px;border-bottom:#FAFAFA 1px solid;text-align:left;font-size:12px;position:relative;z-index:10;cursor:pointer;border-radius:4px;margin-bottom:8px}.notitification-item__container:hover{background-color:#fafafa}.notification-item__image-container{width:46px;height:40px;display:flex;justify-content:center;align-items:center;border-radius:50%;overflow:hidden;margin-right:16px}.notification-item__image-container img{width:100%;height:100%;text-align:center;-o-object-fit:cover;object-fit:cover;color:transparent;text-indent:10000px}.notification-item__content-wrapper{width:100%;display:flex;align-items:center;justify-content:space-between}.notification-item__context-link{color:#007bff}.notification-item__content{width:68%;padding-right:16px}.notification-item__user-name{margin-bottom:2px;font-size:14px}.notification-item__time{margin-right:15px;text-align:right}.notification-item__read-at{border-width:2px;border-style:solid;border-radius:50%;width:10px;height:10px;display:block;position:relative}.notification-item__read-at:before{position:absolute;top:-30px;right:0;width:91px;background-color:#85858a;color:#fff;border-radius:4px;font-size:10px;text-align:center;padding:4px;opacity:0;visibility:hidden;transition:all .3s cubic-bezier(.39,.575,.565,1)}.notification-item__read-at:hover:before{opacity:1;visibility:visible}.notification-item__read-at.read:before{content:"Mark as unread"}.notification-item__read-at.unread:before{content:"Mark as read"}.notification-item__read-at.read{border-color:#eee}.notification-item__read-at.unread{border-color:#2e7d32;background-color:#2e7d32}.list-dot{border-radius:50%;width:8px;height:8px;margin-right:4px;display:block}
|
|
506
526
|
`, ii = `._notification-massage_container_ql4az_1{background:#fff;padding:0 64px 0 84px;border-radius:8px;font-family:TT Firs Neue Trl,sans-serif}._notification-massage_container_ql4az_1:before{position:absolute;content:"";width:48px;height:48px;background:url(https://ukpcsaprod.blob.core.windows.net/saas/notification-icon.svg) no-repeat center/100%;top:12px;left:24px}._notification-name_ql4az_18{font-weight:500;font-size:14px}._notification-message_service_ql4az_23{font-size:12px}._notification-message_button-close_ql4az_27{position:absolute;top:12px;right:24px;width:24px;height:24px}
|
|
507
|
-
`, ai = `._subscription-
|
|
527
|
+
`, ai = `._subscription-diaglog_1bysb_2{position:fixed;width:100vw;height:100vh;top:0;left:0;background-color:#0006;z-index:10000;display:flex;align-items:center;justify-content:center}._subscription-container_1bysb_15{width:610px;height:222px;border-radius:8px;padding:32px 24px 40px;background:#fff;color:#292929}._subscription-title_1bysb_25{font-size:20px;font-weight:500;text-align:center;color:#292929}._subscription-title_1bysb_25,._subscription-text_1bysb_34{margin-bottom:24px}._subscription-btn__container_1bysb_38{display:flex;justify-content:space-between;align-items:center}._btn-success_1bysb_44,._btn-cancel_1bysb_45{width:150px;height:40px;display:flex;align-items:center;justify-content:center;padding:8px;color:#292929;border-radius:1px;transition:background-color .25s cubic-bezier(.4,0,.2,1) 0ms,box-shadow .25s cubic-bezier(.4,0,.2,1) 0ms,border-color .25s cubic-bezier(.4,0,.2,1) 0ms,color .25s cubic-bezier(.4,0,.2,1) 0ms}._btn-cancel_1bysb_45{background-color:#ddd}._btn-cancel_1bysb_45:hover{background-color:#c5c5c5}._btn-success_1bysb_44{background-color:#93d500}._btn-success_1bysb_44:hover{background-color:#2e7d32}
|
|
508
528
|
`;
|
|
509
529
|
function si(e) {
|
|
510
530
|
return /* @__PURE__ */ T(
|
|
@@ -626,7 +646,7 @@ function fc({
|
|
|
626
646
|
...o,
|
|
627
647
|
color: (a == null ? void 0 : a.headerTextColor) || "white",
|
|
628
648
|
backgroundColor: (a == null ? void 0 : a.headerBgColor) || "black"
|
|
629
|
-
}, [
|
|
649
|
+
}, [m, h] = G(!1), g = () => {
|
|
630
650
|
window.location.href = `${r}/authentication/logout?callbackUrl=${window.location.href}`;
|
|
631
651
|
};
|
|
632
652
|
return /* @__PURE__ */ T(
|
|
@@ -684,7 +704,7 @@ function fc({
|
|
|
684
704
|
primaryColor: a == null ? void 0 : a.headerTextColor,
|
|
685
705
|
avatarUrl: t == null ? void 0 : t.avatarUrl,
|
|
686
706
|
userName: t == null ? void 0 : t.firstName,
|
|
687
|
-
setShowConfirmModal:
|
|
707
|
+
setShowConfirmModal: h
|
|
688
708
|
}
|
|
689
709
|
),
|
|
690
710
|
/* @__PURE__ */ c(
|
|
@@ -703,8 +723,8 @@ function fc({
|
|
|
703
723
|
/* @__PURE__ */ c(
|
|
704
724
|
ko,
|
|
705
725
|
{
|
|
706
|
-
isOpen:
|
|
707
|
-
onClose: () =>
|
|
726
|
+
isOpen: m,
|
|
727
|
+
onClose: () => h(!1),
|
|
708
728
|
onConfirm: g
|
|
709
729
|
}
|
|
710
730
|
)
|
|
@@ -1338,7 +1358,7 @@ function bi() {
|
|
|
1338
1358
|
if (Lr)
|
|
1339
1359
|
return A;
|
|
1340
1360
|
Lr = 1;
|
|
1341
|
-
var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), a = Symbol.for("react.context"), l = Symbol.for("react.server_context"), u = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"),
|
|
1361
|
+
var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), a = Symbol.for("react.context"), l = Symbol.for("react.server_context"), u = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), m = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), b = Symbol.for("react.offscreen"), y;
|
|
1342
1362
|
y = Symbol.for("react.module.reference");
|
|
1343
1363
|
function s(d) {
|
|
1344
1364
|
if (typeof d == "object" && d !== null) {
|
|
@@ -1350,7 +1370,7 @@ function bi() {
|
|
|
1350
1370
|
case o:
|
|
1351
1371
|
case n:
|
|
1352
1372
|
case f:
|
|
1353
|
-
case
|
|
1373
|
+
case m:
|
|
1354
1374
|
return d;
|
|
1355
1375
|
default:
|
|
1356
1376
|
switch (d = d && d.$$typeof, d) {
|
|
@@ -1358,7 +1378,7 @@ function bi() {
|
|
|
1358
1378
|
case a:
|
|
1359
1379
|
case u:
|
|
1360
1380
|
case g:
|
|
1361
|
-
case
|
|
1381
|
+
case h:
|
|
1362
1382
|
case i:
|
|
1363
1383
|
return d;
|
|
1364
1384
|
default:
|
|
@@ -1370,7 +1390,7 @@ function bi() {
|
|
|
1370
1390
|
}
|
|
1371
1391
|
}
|
|
1372
1392
|
}
|
|
1373
|
-
return A.ContextConsumer = a, A.ContextProvider = i, A.Element = e, A.ForwardRef = u, A.Fragment = r, A.Lazy = g, A.Memo =
|
|
1393
|
+
return A.ContextConsumer = a, A.ContextProvider = i, A.Element = e, A.ForwardRef = u, A.Fragment = r, A.Lazy = g, A.Memo = h, A.Portal = t, A.Profiler = o, A.StrictMode = n, A.Suspense = f, A.SuspenseList = m, A.isAsyncMode = function() {
|
|
1374
1394
|
return !1;
|
|
1375
1395
|
}, A.isConcurrentMode = function() {
|
|
1376
1396
|
return !1;
|
|
@@ -1387,7 +1407,7 @@ function bi() {
|
|
|
1387
1407
|
}, A.isLazy = function(d) {
|
|
1388
1408
|
return s(d) === g;
|
|
1389
1409
|
}, A.isMemo = function(d) {
|
|
1390
|
-
return s(d) ===
|
|
1410
|
+
return s(d) === h;
|
|
1391
1411
|
}, A.isPortal = function(d) {
|
|
1392
1412
|
return s(d) === t;
|
|
1393
1413
|
}, A.isProfiler = function(d) {
|
|
@@ -1397,9 +1417,9 @@ function bi() {
|
|
|
1397
1417
|
}, A.isSuspense = function(d) {
|
|
1398
1418
|
return s(d) === f;
|
|
1399
1419
|
}, A.isSuspenseList = function(d) {
|
|
1400
|
-
return s(d) ===
|
|
1420
|
+
return s(d) === m;
|
|
1401
1421
|
}, A.isValidElementType = function(d) {
|
|
1402
|
-
return typeof d == "string" || typeof d == "function" || d === r || d === o || d === n || d === f || d ===
|
|
1422
|
+
return typeof d == "string" || typeof d == "function" || d === r || d === o || d === n || d === f || d === m || d === b || typeof d == "object" && d !== null && (d.$$typeof === g || d.$$typeof === h || d.$$typeof === i || d.$$typeof === a || d.$$typeof === u || d.$$typeof === y || d.getModuleId !== void 0);
|
|
1403
1423
|
}, A.typeOf = s, A;
|
|
1404
1424
|
}
|
|
1405
1425
|
var P = {};
|
|
@@ -1415,10 +1435,10 @@ var P = {};
|
|
|
1415
1435
|
var jr;
|
|
1416
1436
|
function xi() {
|
|
1417
1437
|
return jr || (jr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1418
|
-
var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), a = Symbol.for("react.context"), l = Symbol.for("react.server_context"), u = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"),
|
|
1438
|
+
var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), a = Symbol.for("react.context"), l = Symbol.for("react.server_context"), u = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), m = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), b = Symbol.for("react.offscreen"), y = !1, s = !1, d = !1, v = !1, x = !1, w;
|
|
1419
1439
|
w = Symbol.for("react.module.reference");
|
|
1420
1440
|
function E(O) {
|
|
1421
|
-
return !!(typeof O == "string" || typeof O == "function" || O === r || O === o || x || O === n || O === f || O ===
|
|
1441
|
+
return !!(typeof O == "string" || typeof O == "function" || O === r || O === o || x || O === n || O === f || O === m || v || O === b || y || s || d || typeof O == "object" && O !== null && (O.$$typeof === g || O.$$typeof === h || O.$$typeof === i || O.$$typeof === a || O.$$typeof === u || // This needs to include all possible module reference object
|
|
1422
1442
|
// types supported by any Flight configuration anywhere since
|
|
1423
1443
|
// we don't know which Flight build this will end up being used
|
|
1424
1444
|
// with.
|
|
@@ -1435,7 +1455,7 @@ function xi() {
|
|
|
1435
1455
|
case o:
|
|
1436
1456
|
case n:
|
|
1437
1457
|
case f:
|
|
1438
|
-
case
|
|
1458
|
+
case m:
|
|
1439
1459
|
return ht;
|
|
1440
1460
|
default:
|
|
1441
1461
|
var Ar = ht && ht.$$typeof;
|
|
@@ -1444,7 +1464,7 @@ function xi() {
|
|
|
1444
1464
|
case a:
|
|
1445
1465
|
case u:
|
|
1446
1466
|
case g:
|
|
1447
|
-
case
|
|
1467
|
+
case h:
|
|
1448
1468
|
case i:
|
|
1449
1469
|
return Ar;
|
|
1450
1470
|
default:
|
|
@@ -1456,7 +1476,7 @@ function xi() {
|
|
|
1456
1476
|
}
|
|
1457
1477
|
}
|
|
1458
1478
|
}
|
|
1459
|
-
var _ = a, S = i, $ = e, N = u, B = r, F = g, W =
|
|
1479
|
+
var _ = a, S = i, $ = e, N = u, B = r, F = g, W = h, K = t, ce = o, Se = n, Ee = f, Me = m, me = !1, Ae = !1;
|
|
1460
1480
|
function Ce(O) {
|
|
1461
1481
|
return me || (me = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
1462
1482
|
}
|
|
@@ -1482,7 +1502,7 @@ function xi() {
|
|
|
1482
1502
|
return p(O) === g;
|
|
1483
1503
|
}
|
|
1484
1504
|
function Zt(O) {
|
|
1485
|
-
return p(O) ===
|
|
1505
|
+
return p(O) === h;
|
|
1486
1506
|
}
|
|
1487
1507
|
function Xt(O) {
|
|
1488
1508
|
return p(O) === t;
|
|
@@ -1497,7 +1517,7 @@ function xi() {
|
|
|
1497
1517
|
return p(O) === f;
|
|
1498
1518
|
}
|
|
1499
1519
|
function Qe(O) {
|
|
1500
|
-
return p(O) ===
|
|
1520
|
+
return p(O) === m;
|
|
1501
1521
|
}
|
|
1502
1522
|
P.ContextConsumer = _, P.ContextProvider = S, P.Element = $, P.ForwardRef = N, P.Fragment = B, P.Lazy = F, P.Memo = W, P.Portal = K, P.Profiler = ce, P.StrictMode = Se, P.Suspense = Ee, P.SuspenseList = Me, P.isAsyncMode = Ce, P.isConcurrentMode = Xe, P.isContextConsumer = Je, P.isContextProvider = Pe, P.isElement = pe, P.isForwardRef = Re, P.isFragment = Gt, P.isLazy = Kt, P.isMemo = Zt, P.isPortal = Xt, P.isProfiler = Jt, P.isStrictMode = Qt, P.isSuspense = C, P.isSuspenseList = Qe, P.isValidElementType = E, P.typeOf = p;
|
|
1503
1523
|
}()), P;
|
|
@@ -1667,10 +1687,10 @@ function Ln(e) {
|
|
|
1667
1687
|
const y = a.indexOf(b);
|
|
1668
1688
|
return `@media (min-width:${typeof t[g] == "number" ? t[g] : g}${r}) and (max-width:${(y !== -1 && typeof t[a[y]] == "number" ? t[a[y]] : b) - n / 100}${r})`;
|
|
1669
1689
|
}
|
|
1670
|
-
function
|
|
1690
|
+
function m(g) {
|
|
1671
1691
|
return a.indexOf(g) + 1 < a.length ? f(g, a[a.indexOf(g) + 1]) : l(g);
|
|
1672
1692
|
}
|
|
1673
|
-
function
|
|
1693
|
+
function h(g) {
|
|
1674
1694
|
const b = a.indexOf(g);
|
|
1675
1695
|
return b === 0 ? l(a[1]) : b === a.length - 1 ? u(a[b]) : f(g, a[a.indexOf(g) + 1]).replace("@media", "@media not all and");
|
|
1676
1696
|
}
|
|
@@ -1680,8 +1700,8 @@ function Ln(e) {
|
|
|
1680
1700
|
up: l,
|
|
1681
1701
|
down: u,
|
|
1682
1702
|
between: f,
|
|
1683
|
-
only:
|
|
1684
|
-
not:
|
|
1703
|
+
only: m,
|
|
1704
|
+
not: h,
|
|
1685
1705
|
unit: r
|
|
1686
1706
|
}, o);
|
|
1687
1707
|
}
|
|
@@ -1769,9 +1789,9 @@ function U(e) {
|
|
|
1769
1789
|
if (a[t] == null)
|
|
1770
1790
|
return null;
|
|
1771
1791
|
const l = a[t], u = a.theme, f = Pt(u, n) || {};
|
|
1772
|
-
return ye(a, l, (
|
|
1773
|
-
let g = Nt(f, o,
|
|
1774
|
-
return
|
|
1792
|
+
return ye(a, l, (h) => {
|
|
1793
|
+
let g = Nt(f, o, h);
|
|
1794
|
+
return h === g && typeof h == "string" && (g = Nt(f, o, `${t}${h === "default" ? "" : ke(h)}`, h)), r === !1 ? g : {
|
|
1775
1795
|
[r]: g
|
|
1776
1796
|
};
|
|
1777
1797
|
});
|
|
@@ -2324,8 +2344,8 @@ function Hn() {
|
|
|
2324
2344
|
const {
|
|
2325
2345
|
cssProperty: u = r,
|
|
2326
2346
|
themeKey: f,
|
|
2327
|
-
transform:
|
|
2328
|
-
style:
|
|
2347
|
+
transform: m,
|
|
2348
|
+
style: h
|
|
2329
2349
|
} = l;
|
|
2330
2350
|
if (n == null)
|
|
2331
2351
|
return null;
|
|
@@ -2334,9 +2354,9 @@ function Hn() {
|
|
|
2334
2354
|
[r]: n
|
|
2335
2355
|
};
|
|
2336
2356
|
const g = Pt(o, f) || {};
|
|
2337
|
-
return
|
|
2338
|
-
let s = Nt(g,
|
|
2339
|
-
return y === s && typeof y == "string" && (s = Nt(g,
|
|
2357
|
+
return h ? h(a) : ye(a, n, (y) => {
|
|
2358
|
+
let s = Nt(g, m, y);
|
|
2359
|
+
return y === s && typeof y == "string" && (s = Nt(g, m, `${r}${y === "default" ? "" : ke(y)}`, y)), u === !1 ? s : {
|
|
2340
2360
|
[u]: s
|
|
2341
2361
|
};
|
|
2342
2362
|
});
|
|
@@ -2358,8 +2378,8 @@ function Hn() {
|
|
|
2358
2378
|
return u;
|
|
2359
2379
|
if (!f)
|
|
2360
2380
|
return null;
|
|
2361
|
-
const
|
|
2362
|
-
let g =
|
|
2381
|
+
const m = Li(i.breakpoints), h = Object.keys(m);
|
|
2382
|
+
let g = m;
|
|
2363
2383
|
return Object.keys(f).forEach((b) => {
|
|
2364
2384
|
const y = Ta(f[b], i);
|
|
2365
2385
|
if (y != null)
|
|
@@ -2379,7 +2399,7 @@ function Hn() {
|
|
|
2379
2399
|
}
|
|
2380
2400
|
else
|
|
2381
2401
|
g = rt(g, e(b, y, i, a));
|
|
2382
|
-
}), ji(
|
|
2402
|
+
}), ji(h, g);
|
|
2383
2403
|
}
|
|
2384
2404
|
return Array.isArray(o) ? o.map(l) : l(o);
|
|
2385
2405
|
}
|
|
@@ -2413,9 +2433,9 @@ function xr(e = {}, ...t) {
|
|
|
2413
2433
|
spacing: u,
|
|
2414
2434
|
shape: z({}, zi, i)
|
|
2415
2435
|
}, a);
|
|
2416
|
-
return f.applyStyles = Wn, f = t.reduce((
|
|
2436
|
+
return f.applyStyles = Wn, f = t.reduce((m, h) => ue(m, h), f), f.unstable_sxConfig = z({}, dt, a == null ? void 0 : a.unstable_sxConfig), f.unstable_sx = function(h) {
|
|
2417
2437
|
return br({
|
|
2418
|
-
sx:
|
|
2438
|
+
sx: h,
|
|
2419
2439
|
theme: this
|
|
2420
2440
|
});
|
|
2421
2441
|
}, f;
|
|
@@ -2626,10 +2646,10 @@ function Ga(e) {
|
|
|
2626
2646
|
return Zn(St("", null, null, null, [""], e = Kn(e), 0, [0], e));
|
|
2627
2647
|
}
|
|
2628
2648
|
function St(e, t, r, n, o, i, a, l, u) {
|
|
2629
|
-
for (var f = 0,
|
|
2649
|
+
for (var f = 0, m = 0, h = a, g = 0, b = 0, y = 0, s = 1, d = 1, v = 1, x = 0, w = "", E = o, p = i, _ = n, S = w; d; )
|
|
2630
2650
|
switch (y = x, x = ne()) {
|
|
2631
2651
|
case 40:
|
|
2632
|
-
if (y != 108 && X(S,
|
|
2652
|
+
if (y != 108 && X(S, h - 1) == 58) {
|
|
2633
2653
|
sr(S += M(wt(x), "&", "&\f"), "&\f") != -1 && (v = -1);
|
|
2634
2654
|
break;
|
|
2635
2655
|
}
|
|
@@ -2666,31 +2686,31 @@ function St(e, t, r, n, o, i, a, l, u) {
|
|
|
2666
2686
|
case 0:
|
|
2667
2687
|
case 125:
|
|
2668
2688
|
d = 0;
|
|
2669
|
-
case 59 +
|
|
2670
|
-
v == -1 && (S = M(S, /\f/g, "")), b > 0 && de(S) -
|
|
2689
|
+
case 59 + m:
|
|
2690
|
+
v == -1 && (S = M(S, /\f/g, "")), b > 0 && de(S) - h && yt(b > 32 ? Yr(S + ";", n, r, h - 1) : Yr(M(S, " ", "") + ";", n, r, h - 2), u);
|
|
2671
2691
|
break;
|
|
2672
2692
|
case 59:
|
|
2673
2693
|
S += ";";
|
|
2674
2694
|
default:
|
|
2675
|
-
if (yt(_ = qr(S, t, r, f,
|
|
2676
|
-
if (
|
|
2677
|
-
St(S, t, _, _, E, i,
|
|
2695
|
+
if (yt(_ = qr(S, t, r, f, m, o, l, w, E = [], p = [], h), i), x === 123)
|
|
2696
|
+
if (m === 0)
|
|
2697
|
+
St(S, t, _, _, E, i, h, l, p);
|
|
2678
2698
|
else
|
|
2679
2699
|
switch (g === 99 && X(S, 3) === 110 ? 100 : g) {
|
|
2680
2700
|
case 100:
|
|
2681
2701
|
case 108:
|
|
2682
2702
|
case 109:
|
|
2683
2703
|
case 115:
|
|
2684
|
-
St(e, _, _, n && yt(qr(e, _, _, 0, 0, o, l, w, o, E = [],
|
|
2704
|
+
St(e, _, _, n && yt(qr(e, _, _, 0, 0, o, l, w, o, E = [], h), p), o, p, h, l, n ? E : p);
|
|
2685
2705
|
break;
|
|
2686
2706
|
default:
|
|
2687
2707
|
St(S, _, _, _, [""], p, 0, l, p);
|
|
2688
2708
|
}
|
|
2689
2709
|
}
|
|
2690
|
-
f =
|
|
2710
|
+
f = m = b = 0, s = v = 1, w = S = "", h = a;
|
|
2691
2711
|
break;
|
|
2692
2712
|
case 58:
|
|
2693
|
-
|
|
2713
|
+
h = 1 + de(S), b = y;
|
|
2694
2714
|
default:
|
|
2695
2715
|
if (s < 1) {
|
|
2696
2716
|
if (x == 123)
|
|
@@ -2700,13 +2720,13 @@ function St(e, t, r, n, o, i, a, l, u) {
|
|
|
2700
2720
|
}
|
|
2701
2721
|
switch (S += Ht(x), x * s) {
|
|
2702
2722
|
case 38:
|
|
2703
|
-
v =
|
|
2723
|
+
v = m > 0 ? 1 : (S += "\f", -1);
|
|
2704
2724
|
break;
|
|
2705
2725
|
case 44:
|
|
2706
2726
|
l[f++] = (de(S) - 1) * v, v = 1;
|
|
2707
2727
|
break;
|
|
2708
2728
|
case 64:
|
|
2709
|
-
fe() === 45 && (S += wt(ne())), g = fe(),
|
|
2729
|
+
fe() === 45 && (S += wt(ne())), g = fe(), m = h = de(w = S += Ya(_t())), x++;
|
|
2710
2730
|
break;
|
|
2711
2731
|
case 45:
|
|
2712
2732
|
y === 45 && de(S) == 2 && (s = 0);
|
|
@@ -2714,11 +2734,11 @@ function St(e, t, r, n, o, i, a, l, u) {
|
|
|
2714
2734
|
}
|
|
2715
2735
|
return i;
|
|
2716
2736
|
}
|
|
2717
|
-
function qr(e, t, r, n, o, i, a, l, u, f,
|
|
2718
|
-
for (var
|
|
2719
|
-
for (var v = 0, x = ot(e,
|
|
2737
|
+
function qr(e, t, r, n, o, i, a, l, u, f, m) {
|
|
2738
|
+
for (var h = o - 1, g = o === 0 ? i : [""], b = Er(g), y = 0, s = 0, d = 0; y < n; ++y)
|
|
2739
|
+
for (var v = 0, x = ot(e, h + 1, h = za(s = a[y])), w = e; v < b; ++v)
|
|
2720
2740
|
(w = Yn(s > 0 ? g[v] + " " + x : M(x, /&\f/g, g[v]))) && (u[d++] = w);
|
|
2721
|
-
return Wt(e, t, r, o === 0 ? wr : l, u, f,
|
|
2741
|
+
return Wt(e, t, r, o === 0 ? wr : l, u, f, m);
|
|
2722
2742
|
}
|
|
2723
2743
|
function Ka(e, t, r) {
|
|
2724
2744
|
return Wt(e, t, r, _r, Ht(Ha()), ot(e, 2, -2), 0);
|
|
@@ -2797,8 +2817,8 @@ var Qa = function(t, r, n) {
|
|
|
2797
2817
|
if (!(t.props.length === 1 && r.charCodeAt(0) !== 58 && !Gr.get(n)) && !o) {
|
|
2798
2818
|
Gr.set(t, !0);
|
|
2799
2819
|
for (var i = [], a = ts(r, i), l = n.props, u = 0, f = 0; u < a.length; u++)
|
|
2800
|
-
for (var
|
|
2801
|
-
t.props[f] = i[u] ? a[u].replace(/&\f/g, l[
|
|
2820
|
+
for (var m = 0; m < l.length; m++, f++)
|
|
2821
|
+
t.props[f] = i[u] ? a[u].replace(/&\f/g, l[m]) : l[m] + " " + a[u];
|
|
2802
2822
|
}
|
|
2803
2823
|
}
|
|
2804
2824
|
}, ns = function(t) {
|
|
@@ -2828,8 +2848,8 @@ var Qa = function(t, r, n) {
|
|
|
2828
2848
|
break;
|
|
2829
2849
|
}
|
|
2830
2850
|
}
|
|
2831
|
-
i.forEach(function(
|
|
2832
|
-
console.error('The pseudo class "' +
|
|
2851
|
+
i.forEach(function(m) {
|
|
2852
|
+
console.error('The pseudo class "' + m + '" is potentially unsafe when doing server-side rendering. Try changing it to "' + m.split("-child")[0] + '-of-type".');
|
|
2833
2853
|
});
|
|
2834
2854
|
}
|
|
2835
2855
|
}
|
|
@@ -3024,15 +3044,15 @@ If multiple caches share the same key they might "fight" for each other's style
|
|
|
3024
3044
|
}
|
|
3025
3045
|
}), ls);
|
|
3026
3046
|
{
|
|
3027
|
-
var
|
|
3028
|
-
s.root || (s.return ?
|
|
3047
|
+
var m, h = [Za, process.env.NODE_ENV !== "production" ? function(s) {
|
|
3048
|
+
s.root || (s.return ? m.insert(s.return) : s.value && s.type !== _r && m.insert(s.value + "{}"));
|
|
3029
3049
|
} : Ja(function(s) {
|
|
3030
|
-
|
|
3031
|
-
})], g = Xa(f.concat(o,
|
|
3050
|
+
m.insert(s);
|
|
3051
|
+
})], g = Xa(f.concat(o, h)), b = function(d) {
|
|
3032
3052
|
return Ue(Ga(d), g);
|
|
3033
3053
|
};
|
|
3034
3054
|
u = function(d, v, x, w) {
|
|
3035
|
-
|
|
3055
|
+
m = x, process.env.NODE_ENV !== "production" && v.map !== void 0 && (m = {
|
|
3036
3056
|
insert: function(p) {
|
|
3037
3057
|
x.insert(p + v.map);
|
|
3038
3058
|
}
|
|
@@ -3069,7 +3089,7 @@ function us() {
|
|
|
3069
3089
|
if (Zr)
|
|
3070
3090
|
return R;
|
|
3071
3091
|
Zr = 1;
|
|
3072
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111,
|
|
3092
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, m = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, y = e ? Symbol.for("react.lazy") : 60116, s = e ? Symbol.for("react.block") : 60121, d = e ? Symbol.for("react.fundamental") : 60117, v = e ? Symbol.for("react.responder") : 60118, x = e ? Symbol.for("react.scope") : 60119;
|
|
3073
3093
|
function w(p) {
|
|
3074
3094
|
if (typeof p == "object" && p !== null) {
|
|
3075
3095
|
var _ = p.$$typeof;
|
|
@@ -3081,12 +3101,12 @@ function us() {
|
|
|
3081
3101
|
case n:
|
|
3082
3102
|
case i:
|
|
3083
3103
|
case o:
|
|
3084
|
-
case
|
|
3104
|
+
case h:
|
|
3085
3105
|
return p;
|
|
3086
3106
|
default:
|
|
3087
3107
|
switch (p = p && p.$$typeof, p) {
|
|
3088
3108
|
case l:
|
|
3089
|
-
case
|
|
3109
|
+
case m:
|
|
3090
3110
|
case y:
|
|
3091
3111
|
case b:
|
|
3092
3112
|
case a:
|
|
@@ -3103,7 +3123,7 @@ function us() {
|
|
|
3103
3123
|
function E(p) {
|
|
3104
3124
|
return w(p) === f;
|
|
3105
3125
|
}
|
|
3106
|
-
return R.AsyncMode = u, R.ConcurrentMode = f, R.ContextConsumer = l, R.ContextProvider = a, R.Element = t, R.ForwardRef =
|
|
3126
|
+
return R.AsyncMode = u, R.ConcurrentMode = f, R.ContextConsumer = l, R.ContextProvider = a, R.Element = t, R.ForwardRef = m, R.Fragment = n, R.Lazy = y, R.Memo = b, R.Portal = r, R.Profiler = i, R.StrictMode = o, R.Suspense = h, R.isAsyncMode = function(p) {
|
|
3107
3127
|
return E(p) || w(p) === u;
|
|
3108
3128
|
}, R.isConcurrentMode = E, R.isContextConsumer = function(p) {
|
|
3109
3129
|
return w(p) === l;
|
|
@@ -3112,7 +3132,7 @@ function us() {
|
|
|
3112
3132
|
}, R.isElement = function(p) {
|
|
3113
3133
|
return typeof p == "object" && p !== null && p.$$typeof === t;
|
|
3114
3134
|
}, R.isForwardRef = function(p) {
|
|
3115
|
-
return w(p) ===
|
|
3135
|
+
return w(p) === m;
|
|
3116
3136
|
}, R.isFragment = function(p) {
|
|
3117
3137
|
return w(p) === n;
|
|
3118
3138
|
}, R.isLazy = function(p) {
|
|
@@ -3126,9 +3146,9 @@ function us() {
|
|
|
3126
3146
|
}, R.isStrictMode = function(p) {
|
|
3127
3147
|
return w(p) === o;
|
|
3128
3148
|
}, R.isSuspense = function(p) {
|
|
3129
|
-
return w(p) ===
|
|
3149
|
+
return w(p) === h;
|
|
3130
3150
|
}, R.isValidElementType = function(p) {
|
|
3131
|
-
return typeof p == "string" || typeof p == "function" || p === n || p === f || p === i || p === o || p ===
|
|
3151
|
+
return typeof p == "string" || typeof p == "function" || p === n || p === f || p === i || p === o || p === h || p === g || typeof p == "object" && p !== null && (p.$$typeof === y || p.$$typeof === b || p.$$typeof === a || p.$$typeof === l || p.$$typeof === m || p.$$typeof === d || p.$$typeof === v || p.$$typeof === x || p.$$typeof === s);
|
|
3132
3152
|
}, R.typeOf = w, R;
|
|
3133
3153
|
}
|
|
3134
3154
|
var D = {};
|
|
@@ -3143,10 +3163,10 @@ var D = {};
|
|
|
3143
3163
|
var Xr;
|
|
3144
3164
|
function fs() {
|
|
3145
3165
|
return Xr || (Xr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
3146
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111,
|
|
3166
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, m = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, y = e ? Symbol.for("react.lazy") : 60116, s = e ? Symbol.for("react.block") : 60121, d = e ? Symbol.for("react.fundamental") : 60117, v = e ? Symbol.for("react.responder") : 60118, x = e ? Symbol.for("react.scope") : 60119;
|
|
3147
3167
|
function w(C) {
|
|
3148
3168
|
return typeof C == "string" || typeof C == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
3149
|
-
C === n || C === f || C === i || C === o || C ===
|
|
3169
|
+
C === n || C === f || C === i || C === o || C === h || C === g || typeof C == "object" && C !== null && (C.$$typeof === y || C.$$typeof === b || C.$$typeof === a || C.$$typeof === l || C.$$typeof === m || C.$$typeof === d || C.$$typeof === v || C.$$typeof === x || C.$$typeof === s);
|
|
3150
3170
|
}
|
|
3151
3171
|
function E(C) {
|
|
3152
3172
|
if (typeof C == "object" && C !== null) {
|
|
@@ -3160,13 +3180,13 @@ function fs() {
|
|
|
3160
3180
|
case n:
|
|
3161
3181
|
case i:
|
|
3162
3182
|
case o:
|
|
3163
|
-
case
|
|
3183
|
+
case h:
|
|
3164
3184
|
return O;
|
|
3165
3185
|
default:
|
|
3166
3186
|
var De = O && O.$$typeof;
|
|
3167
3187
|
switch (De) {
|
|
3168
3188
|
case l:
|
|
3169
|
-
case
|
|
3189
|
+
case m:
|
|
3170
3190
|
case y:
|
|
3171
3191
|
case b:
|
|
3172
3192
|
case a:
|
|
@@ -3180,7 +3200,7 @@ function fs() {
|
|
|
3180
3200
|
}
|
|
3181
3201
|
}
|
|
3182
3202
|
}
|
|
3183
|
-
var p = u, _ = f, S = l, $ = a, N = t, B =
|
|
3203
|
+
var p = u, _ = f, S = l, $ = a, N = t, B = m, F = n, W = y, K = b, ce = r, Se = i, Ee = o, Me = h, me = !1;
|
|
3184
3204
|
function Ae(C) {
|
|
3185
3205
|
return me || (me = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), Ce(C) || E(C) === u;
|
|
3186
3206
|
}
|
|
@@ -3197,7 +3217,7 @@ function fs() {
|
|
|
3197
3217
|
return typeof C == "object" && C !== null && C.$$typeof === t;
|
|
3198
3218
|
}
|
|
3199
3219
|
function pe(C) {
|
|
3200
|
-
return E(C) ===
|
|
3220
|
+
return E(C) === m;
|
|
3201
3221
|
}
|
|
3202
3222
|
function Re(C) {
|
|
3203
3223
|
return E(C) === n;
|
|
@@ -3218,7 +3238,7 @@ function fs() {
|
|
|
3218
3238
|
return E(C) === o;
|
|
3219
3239
|
}
|
|
3220
3240
|
function Qt(C) {
|
|
3221
|
-
return E(C) ===
|
|
3241
|
+
return E(C) === h;
|
|
3222
3242
|
}
|
|
3223
3243
|
D.AsyncMode = p, D.ConcurrentMode = _, D.ContextConsumer = S, D.ContextProvider = $, D.Element = N, D.ForwardRef = B, D.Fragment = F, D.Lazy = W, D.Memo = K, D.Portal = ce, D.Profiler = Se, D.StrictMode = Ee, D.Suspense = Me, D.isAsyncMode = Ae, D.isConcurrentMode = Ce, D.isContextConsumer = Xe, D.isContextProvider = Je, D.isElement = Pe, D.isForwardRef = pe, D.isFragment = Re, D.isLazy = Gt, D.isMemo = Kt, D.isPortal = Zt, D.isProfiler = Xt, D.isStrictMode = Jt, D.isSuspense = Qt, D.isValidElementType = w, D.typeOf = E;
|
|
3224
3244
|
}()), D;
|
|
@@ -3414,7 +3434,7 @@ function at(e, t, r) {
|
|
|
3414
3434
|
}
|
|
3415
3435
|
case "string":
|
|
3416
3436
|
if (process.env.NODE_ENV !== "production") {
|
|
3417
|
-
var l = [], u = r.replace(ro, function(
|
|
3437
|
+
var l = [], u = r.replace(ro, function(m, h, g) {
|
|
3418
3438
|
var b = "animation" + l.length;
|
|
3419
3439
|
return l.push("const " + b + " = keyframes`" + g.replace(/^@keyframes animation-\w+/, "") + "`"), "${" + b + "}";
|
|
3420
3440
|
});
|
|
@@ -3479,12 +3499,12 @@ var le, Ye = function(t, r, n) {
|
|
|
3479
3499
|
process.env.NODE_ENV !== "production" && (i = i.replace(oo, function(g) {
|
|
3480
3500
|
return u = g, "";
|
|
3481
3501
|
})), tn.lastIndex = 0;
|
|
3482
|
-
for (var f = "",
|
|
3502
|
+
for (var f = "", m; (m = tn.exec(i)) !== null; )
|
|
3483
3503
|
f += "-" + // $FlowFixMe we know it's not null
|
|
3484
|
-
|
|
3485
|
-
var
|
|
3504
|
+
m[1];
|
|
3505
|
+
var h = ys(i) + f;
|
|
3486
3506
|
return process.env.NODE_ENV !== "production" ? {
|
|
3487
|
-
name:
|
|
3507
|
+
name: h,
|
|
3488
3508
|
styles: i,
|
|
3489
3509
|
map: u,
|
|
3490
3510
|
next: le,
|
|
@@ -3492,7 +3512,7 @@ var le, Ye = function(t, r, n) {
|
|
|
3492
3512
|
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
|
3493
3513
|
}
|
|
3494
3514
|
} : {
|
|
3495
|
-
name:
|
|
3515
|
+
name: h,
|
|
3496
3516
|
styles: i,
|
|
3497
3517
|
next: le
|
|
3498
3518
|
};
|
|
@@ -3534,8 +3554,8 @@ var nn = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", on = "__EMOTION_LABEL_PLEASE_DO_N
|
|
|
3534
3554
|
}
|
|
3535
3555
|
a += t.key + "-" + l.name;
|
|
3536
3556
|
var f = {};
|
|
3537
|
-
for (var
|
|
3538
|
-
Ns.call(e,
|
|
3557
|
+
for (var m in e)
|
|
3558
|
+
Ns.call(e, m) && m !== "css" && m !== nn && (process.env.NODE_ENV === "production" || m !== on) && (f[m] = e[m]);
|
|
3539
3559
|
return f.ref = r, f.className = a, /* @__PURE__ */ L.createElement(L.Fragment, null, /* @__PURE__ */ L.createElement($s, {
|
|
3540
3560
|
cache: t,
|
|
3541
3561
|
serialized: l,
|
|
@@ -3759,16 +3779,16 @@ var Ds = function(t) {
|
|
|
3759
3779
|
var r = !1, n = [], o = function() {
|
|
3760
3780
|
if (r && process.env.NODE_ENV !== "production")
|
|
3761
3781
|
throw new Error("css can only be used during render");
|
|
3762
|
-
for (var f = arguments.length,
|
|
3763
|
-
h
|
|
3764
|
-
var g = Ye(
|
|
3782
|
+
for (var f = arguments.length, m = new Array(f), h = 0; h < f; h++)
|
|
3783
|
+
m[h] = arguments[h];
|
|
3784
|
+
var g = Ye(m, t.registered);
|
|
3765
3785
|
return n.push(g), Ut(t, g, !1), t.key + "-" + g.name;
|
|
3766
3786
|
}, i = function() {
|
|
3767
3787
|
if (r && process.env.NODE_ENV !== "production")
|
|
3768
3788
|
throw new Error("cx can only be used during render");
|
|
3769
|
-
for (var f = arguments.length,
|
|
3770
|
-
h
|
|
3771
|
-
return Rs(t.registered, o, Ps(
|
|
3789
|
+
for (var f = arguments.length, m = new Array(f), h = 0; h < f; h++)
|
|
3790
|
+
m[h] = arguments[h];
|
|
3791
|
+
return Rs(t.registered, o, Ps(m));
|
|
3772
3792
|
}, a = {
|
|
3773
3793
|
css: o,
|
|
3774
3794
|
cx: i,
|
|
@@ -3822,13 +3842,13 @@ You may have forgotten to import it.`);
|
|
|
3822
3842
|
r !== void 0 && (i = r.label, a = r.target);
|
|
3823
3843
|
var l = un(t, r, n), u = l || dn(o), f = !u("as");
|
|
3824
3844
|
return function() {
|
|
3825
|
-
var
|
|
3826
|
-
if (i !== void 0 &&
|
|
3827
|
-
|
|
3845
|
+
var m = arguments, h = n && t.__emotion_styles !== void 0 ? t.__emotion_styles.slice(0) : [];
|
|
3846
|
+
if (i !== void 0 && h.push("label:" + i + ";"), m[0] == null || m[0].raw === void 0)
|
|
3847
|
+
h.push.apply(h, m);
|
|
3828
3848
|
else {
|
|
3829
|
-
process.env.NODE_ENV !== "production" &&
|
|
3830
|
-
for (var g =
|
|
3831
|
-
process.env.NODE_ENV !== "production" &&
|
|
3849
|
+
process.env.NODE_ENV !== "production" && m[0][0] === void 0 && console.error(fn), h.push(m[0][0]);
|
|
3850
|
+
for (var g = m.length, b = 1; b < g; b++)
|
|
3851
|
+
process.env.NODE_ENV !== "production" && m[0][b] === void 0 && console.error(fn), h.push(m[b], m[0][b]);
|
|
3832
3852
|
}
|
|
3833
3853
|
var y = Yt(function(s, d, v) {
|
|
3834
3854
|
var x = f && s.as || o, w = "", E = [], p = s;
|
|
@@ -3839,7 +3859,7 @@ You may have forgotten to import it.`);
|
|
|
3839
3859
|
p.theme = L.useContext(Ie);
|
|
3840
3860
|
}
|
|
3841
3861
|
typeof s.className == "string" ? w = Cr(d.registered, E, s.className) : s.className != null && (w = s.className + " ");
|
|
3842
|
-
var S = Ye(
|
|
3862
|
+
var S = Ye(h.concat(E), d.registered, p);
|
|
3843
3863
|
w += d.key + "-" + S.name, a !== void 0 && (w += " " + a);
|
|
3844
3864
|
var $ = f && l === void 0 ? dn(x) : u, N = {};
|
|
3845
3865
|
for (var B in s)
|
|
@@ -3851,14 +3871,14 @@ You may have forgotten to import it.`);
|
|
|
3851
3871
|
isStringTag: typeof x == "string"
|
|
3852
3872
|
}), /* @__PURE__ */ L.createElement(x, N));
|
|
3853
3873
|
});
|
|
3854
|
-
return y.displayName = i !== void 0 ? i : "Styled(" + (typeof o == "string" ? o : o.displayName || o.name || "Component") + ")", y.defaultProps = t.defaultProps, y.__emotion_real = y, y.__emotion_base = o, y.__emotion_styles =
|
|
3874
|
+
return y.displayName = i !== void 0 ? i : "Styled(" + (typeof o == "string" ? o : o.displayName || o.name || "Component") + ")", y.defaultProps = t.defaultProps, y.__emotion_real = y, y.__emotion_base = o, y.__emotion_styles = h, y.__emotion_forwardProp = l, Object.defineProperty(y, "toString", {
|
|
3855
3875
|
value: function() {
|
|
3856
3876
|
return a === void 0 && process.env.NODE_ENV !== "production" ? "NO_COMPONENT_SELECTOR" : "." + a;
|
|
3857
3877
|
}
|
|
3858
3878
|
}), y.withComponent = function(s, d) {
|
|
3859
3879
|
return e(s, z({}, r, d, {
|
|
3860
3880
|
shouldForwardProp: un(y, d, !0)
|
|
3861
|
-
})).apply(void 0,
|
|
3881
|
+
})).apply(void 0, h);
|
|
3862
3882
|
}, y;
|
|
3863
3883
|
};
|
|
3864
3884
|
}, Bs = [
|
|
@@ -4246,7 +4266,7 @@ function go(e) {
|
|
|
4246
4266
|
e = ae(e);
|
|
4247
4267
|
const {
|
|
4248
4268
|
values: t
|
|
4249
|
-
} = e, r = t[0], n = t[1] / 100, o = t[2] / 100, i = n * Math.min(o, 1 - o), a = (f,
|
|
4269
|
+
} = e, r = t[0], n = t[1] / 100, o = t[2] / 100, i = n * Math.min(o, 1 - o), a = (f, m = (f + r / 30) % 12) => o - i * Math.max(Math.min(m - 3, 9 - m, 1), -1);
|
|
4250
4270
|
let l = "rgb";
|
|
4251
4271
|
const u = [Math.round(a(0) * 255), Math.round(a(8) * 255), Math.round(a(4) * 255)];
|
|
4252
4272
|
return e.type === "hsla" && (l += "a", u.push(t[3])), Ke({
|
|
@@ -4570,8 +4590,8 @@ function P0(e) {
|
|
|
4570
4590
|
mode: t = "light",
|
|
4571
4591
|
contrastThreshold: r = 3,
|
|
4572
4592
|
tonalOffset: n = 0.2
|
|
4573
|
-
} = e, o = _e(e, T0), i = e.primary || N0(t), a = e.secondary || k0(t), l = e.error || $0(t), u = e.info || I0(t), f = e.success || M0(t),
|
|
4574
|
-
function
|
|
4593
|
+
} = e, o = _e(e, T0), i = e.primary || N0(t), a = e.secondary || k0(t), l = e.error || $0(t), u = e.info || I0(t), f = e.success || M0(t), m = e.warning || A0(t);
|
|
4594
|
+
function h(s) {
|
|
4575
4595
|
const d = hn(s, rr.text.primary) >= r ? rr.text.primary : pn.text.primary;
|
|
4576
4596
|
if (process.env.NODE_ENV !== "production") {
|
|
4577
4597
|
const v = hn(s, d);
|
|
@@ -4605,7 +4625,7 @@ const theme1 = createTheme({ palette: {
|
|
|
4605
4625
|
const theme2 = createTheme({ palette: {
|
|
4606
4626
|
primary: { main: green[500] },
|
|
4607
4627
|
} });` : nt(12, d ? ` (${d})` : "", JSON.stringify(s.main)));
|
|
4608
|
-
return gn(s, "light", x, n), gn(s, "dark", w, n), s.contrastText || (s.contrastText =
|
|
4628
|
+
return gn(s, "light", x, n), gn(s, "dark", w, n), s.contrastText || (s.contrastText = h(s.main)), s;
|
|
4609
4629
|
}, b = {
|
|
4610
4630
|
dark: rr,
|
|
4611
4631
|
light: pn
|
|
@@ -4636,7 +4656,7 @@ const theme2 = createTheme({ palette: {
|
|
|
4636
4656
|
}),
|
|
4637
4657
|
// The colors used to represent potentially dangerous actions or important messages.
|
|
4638
4658
|
warning: g({
|
|
4639
|
-
color:
|
|
4659
|
+
color: m,
|
|
4640
4660
|
name: "warning"
|
|
4641
4661
|
}),
|
|
4642
4662
|
// The colors used to present information to the user that is neutral and not necessarily important.
|
|
@@ -4655,7 +4675,7 @@ const theme2 = createTheme({ palette: {
|
|
|
4655
4675
|
// the background and the text.
|
|
4656
4676
|
contrastThreshold: r,
|
|
4657
4677
|
// Takes a background color and returns the text color that maximizes the contrast.
|
|
4658
|
-
getContrastText:
|
|
4678
|
+
getContrastText: h,
|
|
4659
4679
|
// Generate a rich color object.
|
|
4660
4680
|
augmentColor: g,
|
|
4661
4681
|
// Used by the functions below to shift a color's luminance by approximately
|
|
@@ -4685,11 +4705,11 @@ function z0(e, t) {
|
|
|
4685
4705
|
// 16px is the default font-size used by browsers.
|
|
4686
4706
|
htmlFontSize: f = 16,
|
|
4687
4707
|
// Apply the CSS properties to all the variants.
|
|
4688
|
-
allVariants:
|
|
4689
|
-
pxToRem:
|
|
4708
|
+
allVariants: m,
|
|
4709
|
+
pxToRem: h
|
|
4690
4710
|
} = r, g = _e(r, R0);
|
|
4691
4711
|
process.env.NODE_ENV !== "production" && (typeof o != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof f != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
|
|
4692
|
-
const b = o / 14, y =
|
|
4712
|
+
const b = o / 14, y = h || ((v) => `${v / f * b}rem`), s = (v, x, w, E, p) => z({
|
|
4693
4713
|
fontFamily: n,
|
|
4694
4714
|
fontWeight: v,
|
|
4695
4715
|
fontSize: y(x),
|
|
@@ -4697,7 +4717,7 @@ function z0(e, t) {
|
|
|
4697
4717
|
lineHeight: w
|
|
4698
4718
|
}, n === vn ? {
|
|
4699
4719
|
letterSpacing: `${D0(E / x)}em`
|
|
4700
|
-
} : {}, p,
|
|
4720
|
+
} : {}, p, m), d = {
|
|
4701
4721
|
h1: s(i, 96, 1.167, -1.5),
|
|
4702
4722
|
h2: s(i, 60, 1.2, -0.5),
|
|
4703
4723
|
h3: s(a, 48, 1.167, 0),
|
|
@@ -4781,11 +4801,11 @@ function Y0(e) {
|
|
|
4781
4801
|
delay: u = 0
|
|
4782
4802
|
} = i, f = _e(i, B0);
|
|
4783
4803
|
if (process.env.NODE_ENV !== "production") {
|
|
4784
|
-
const
|
|
4785
|
-
!
|
|
4804
|
+
const m = (g) => typeof g == "string", h = (g) => !isNaN(parseFloat(g));
|
|
4805
|
+
!m(o) && !Array.isArray(o) && console.error('MUI: Argument "props" must be a string or Array.'), !h(a) && !m(a) && console.error(`MUI: Argument "duration" must be a number or a string but found ${a}.`), m(l) || console.error('MUI: Argument "easing" must be a string.'), !h(u) && !m(u) && console.error('MUI: Argument "delay" must be a number or a string.'), typeof i != "object" && console.error(["MUI: Secong argument of transition.create must be an object.", "Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
|
|
4786
4806
|
`)), Object.keys(f).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(f).join(",")}].`);
|
|
4787
4807
|
}
|
|
4788
|
-
return (Array.isArray(o) ? o : [o]).map((
|
|
4808
|
+
return (Array.isArray(o) ? o : [o]).map((m) => `${m} ${typeof a == "string" ? a : bn(a)} ${l} ${typeof u == "string" ? u : bn(u)}`).join(",");
|
|
4789
4809
|
}
|
|
4790
4810
|
}, e, {
|
|
4791
4811
|
easing: t,
|
|
@@ -4821,12 +4841,12 @@ function X0(e = {}, ...t) {
|
|
|
4821
4841
|
transitions: Y0(o),
|
|
4822
4842
|
zIndex: z({}, K0)
|
|
4823
4843
|
});
|
|
4824
|
-
if (f = ue(f, a), f = t.reduce((
|
|
4825
|
-
const
|
|
4844
|
+
if (f = ue(f, a), f = t.reduce((m, h) => ue(m, h), f), process.env.NODE_ENV !== "production") {
|
|
4845
|
+
const m = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], h = (g, b) => {
|
|
4826
4846
|
let y;
|
|
4827
4847
|
for (y in g) {
|
|
4828
4848
|
const s = g[y];
|
|
4829
|
-
if (
|
|
4849
|
+
if (m.indexOf(y) !== -1 && Object.keys(s).length > 0) {
|
|
4830
4850
|
if (process.env.NODE_ENV !== "production") {
|
|
4831
4851
|
const d = gr("", y);
|
|
4832
4852
|
console.error([`MUI: The \`${b}\` component increases the CSS specificity of the \`${y}\` internal state.`, "You can not override it like this: ", JSON.stringify(g, null, 2), "", `Instead, you need to use the '&.${d}' syntax:`, JSON.stringify({
|
|
@@ -4842,12 +4862,12 @@ function X0(e = {}, ...t) {
|
|
|
4842
4862
|
};
|
|
4843
4863
|
Object.keys(f.components).forEach((g) => {
|
|
4844
4864
|
const b = f.components[g].styleOverrides;
|
|
4845
|
-
b && g.indexOf("Mui") === 0 &&
|
|
4865
|
+
b && g.indexOf("Mui") === 0 && h(b, g);
|
|
4846
4866
|
});
|
|
4847
4867
|
}
|
|
4848
|
-
return f.unstable_sxConfig = z({}, dt, a == null ? void 0 : a.unstable_sxConfig), f.unstable_sx = function(
|
|
4868
|
+
return f.unstable_sxConfig = z({}, dt, a == null ? void 0 : a.unstable_sxConfig), f.unstable_sx = function(h) {
|
|
4849
4869
|
return br({
|
|
4850
|
-
sx:
|
|
4870
|
+
sx: h,
|
|
4851
4871
|
theme: this
|
|
4852
4872
|
});
|
|
4853
4873
|
}, f;
|
|
@@ -4941,8 +4961,8 @@ function Ct(e, t) {
|
|
|
4941
4961
|
let f = !0;
|
|
4942
4962
|
typeof u.props == "function" ? f = u.props((0, oe.default)({
|
|
4943
4963
|
ownerState: r
|
|
4944
|
-
}, n, r)) : Object.keys(u.props).forEach((
|
|
4945
|
-
(r == null ? void 0 : r[
|
|
4964
|
+
}, n, r)) : Object.keys(u.props).forEach((m) => {
|
|
4965
|
+
(r == null ? void 0 : r[m]) !== u.props[m] && n[m] !== u.props[m] && (f = !1);
|
|
4946
4966
|
}), f && (Array.isArray(l) || (l = [l]), l.push(typeof u.style == "function" ? u.style((0, oe.default)({
|
|
4947
4967
|
ownerState: r
|
|
4948
4968
|
}, n, r)) : u.style));
|
|
@@ -4967,16 +4987,16 @@ function Sl(e = {}) {
|
|
|
4967
4987
|
const {
|
|
4968
4988
|
name: u,
|
|
4969
4989
|
slot: f,
|
|
4970
|
-
skipVariantsResolver:
|
|
4971
|
-
skipSx:
|
|
4990
|
+
skipVariantsResolver: m,
|
|
4991
|
+
skipSx: h,
|
|
4972
4992
|
// TODO v6: remove `lowercaseFirstLetter()` in the next major release
|
|
4973
4993
|
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
4974
4994
|
overridesResolver: g = wl(_n(f))
|
|
4975
|
-
} = l, b = (0, fr.default)(l, yl), y =
|
|
4995
|
+
} = l, b = (0, fr.default)(l, yl), y = m !== void 0 ? m : (
|
|
4976
4996
|
// TODO v6: remove `Root` in the next major release
|
|
4977
4997
|
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
4978
4998
|
f && f !== "Root" && f !== "root" || !1
|
|
4979
|
-
), s =
|
|
4999
|
+
), s = h || !1;
|
|
4980
5000
|
let d;
|
|
4981
5001
|
process.env.NODE_ENV !== "production" && u && (d = `${u}-${_n(f || "Root")}`);
|
|
4982
5002
|
let v = Et;
|
|
@@ -5064,7 +5084,7 @@ const Nl = ["children", "className", "color", "component", "fontSize", "htmlColo
|
|
|
5064
5084
|
theme: e,
|
|
5065
5085
|
ownerState: t
|
|
5066
5086
|
}) => {
|
|
5067
|
-
var r, n, o, i, a, l, u, f,
|
|
5087
|
+
var r, n, o, i, a, l, u, f, m, h, g, b, y;
|
|
5068
5088
|
return {
|
|
5069
5089
|
userSelect: "none",
|
|
5070
5090
|
width: "1em",
|
|
@@ -5081,10 +5101,10 @@ const Nl = ["children", "className", "color", "component", "fontSize", "htmlColo
|
|
|
5081
5101
|
inherit: "inherit",
|
|
5082
5102
|
small: ((i = e.typography) == null || (a = i.pxToRem) == null ? void 0 : a.call(i, 20)) || "1.25rem",
|
|
5083
5103
|
medium: ((l = e.typography) == null || (u = l.pxToRem) == null ? void 0 : u.call(l, 24)) || "1.5rem",
|
|
5084
|
-
large: ((f = e.typography) == null || (
|
|
5104
|
+
large: ((f = e.typography) == null || (m = f.pxToRem) == null ? void 0 : m.call(f, 35)) || "2.1875rem"
|
|
5085
5105
|
}[t.fontSize],
|
|
5086
5106
|
// TODO v5 deprecate, v6 remove for sx
|
|
5087
|
-
color: (
|
|
5107
|
+
color: (h = (g = (e.vars || e).palette) == null || (g = g[t.color]) == null ? void 0 : g.main) != null ? h : {
|
|
5088
5108
|
action: (b = (e.vars || e).palette) == null || (b = b.action) == null ? void 0 : b.active,
|
|
5089
5109
|
disabled: (y = (e.vars || e).palette) == null || (y = y.action) == null ? void 0 : y.disabled,
|
|
5090
5110
|
inherit: void 0
|
|
@@ -5101,32 +5121,32 @@ const Nl = ["children", "className", "color", "component", "fontSize", "htmlColo
|
|
|
5101
5121
|
component: l = "svg",
|
|
5102
5122
|
fontSize: u = "medium",
|
|
5103
5123
|
htmlColor: f,
|
|
5104
|
-
inheritViewBox:
|
|
5105
|
-
titleAccess:
|
|
5124
|
+
inheritViewBox: m = !1,
|
|
5125
|
+
titleAccess: h,
|
|
5106
5126
|
viewBox: g = "0 0 24 24"
|
|
5107
5127
|
} = n, b = _e(n, Nl), y = /* @__PURE__ */ L.isValidElement(o) && o.type === "svg", s = z({}, n, {
|
|
5108
5128
|
color: a,
|
|
5109
5129
|
component: l,
|
|
5110
5130
|
fontSize: u,
|
|
5111
5131
|
instanceFontSize: t.fontSize,
|
|
5112
|
-
inheritViewBox:
|
|
5132
|
+
inheritViewBox: m,
|
|
5113
5133
|
viewBox: g,
|
|
5114
5134
|
hasSvgAsChild: y
|
|
5115
5135
|
}), d = {};
|
|
5116
|
-
|
|
5136
|
+
m || (d.viewBox = g);
|
|
5117
5137
|
const v = kl(s);
|
|
5118
5138
|
return /* @__PURE__ */ T($l, z({
|
|
5119
5139
|
as: l,
|
|
5120
5140
|
className: Po(v.root, i),
|
|
5121
5141
|
focusable: "false",
|
|
5122
5142
|
color: f,
|
|
5123
|
-
"aria-hidden":
|
|
5124
|
-
role:
|
|
5143
|
+
"aria-hidden": h ? void 0 : !0,
|
|
5144
|
+
role: h ? "img" : void 0,
|
|
5125
5145
|
ref: r
|
|
5126
5146
|
}, d, b, y && o.props, {
|
|
5127
5147
|
ownerState: s,
|
|
5128
|
-
children: [y ? o.props.children : o,
|
|
5129
|
-
children:
|
|
5148
|
+
children: [y ? o.props.children : o, h ? /* @__PURE__ */ c("title", {
|
|
5149
|
+
children: h
|
|
5130
5150
|
}) : null]
|
|
5131
5151
|
}));
|
|
5132
5152
|
});
|
|
@@ -5284,12 +5304,12 @@ var zl = 150, Fl = function(t, r) {
|
|
|
5284
5304
|
}, Ot = null, Tt = null;
|
|
5285
5305
|
process.env.NODE_ENV !== "production" && typeof window < "u" && typeof window.WeakSet < "u" && (Ot = /* @__PURE__ */ new WeakSet(), Tt = /* @__PURE__ */ new WeakSet());
|
|
5286
5306
|
function Ll(e) {
|
|
5287
|
-
var t, r = e.getItemOffset, n = e.getEstimatedTotalSize, o = e.getItemSize, i = e.getOffsetForIndexAndAlignment, a = e.getStartIndexForOffset, l = e.getStopIndexForStartIndex, u = e.initInstanceProps, f = e.shouldResetStyleCacheOnItemSizeChange,
|
|
5288
|
-
return t = /* @__PURE__ */ function(
|
|
5289
|
-
Ro(g,
|
|
5307
|
+
var t, r = e.getItemOffset, n = e.getEstimatedTotalSize, o = e.getItemSize, i = e.getOffsetForIndexAndAlignment, a = e.getStartIndexForOffset, l = e.getStopIndexForStartIndex, u = e.initInstanceProps, f = e.shouldResetStyleCacheOnItemSizeChange, m = e.validateProps;
|
|
5308
|
+
return t = /* @__PURE__ */ function(h) {
|
|
5309
|
+
Ro(g, h);
|
|
5290
5310
|
function g(y) {
|
|
5291
5311
|
var s;
|
|
5292
|
-
return s =
|
|
5312
|
+
return s = h.call(this, y) || this, s._instanceProps = u(s.props, Rr(s)), s._outerRef = void 0, s._resetIsScrollingTimeoutId = null, s.state = {
|
|
5293
5313
|
instance: Rr(s),
|
|
5294
5314
|
isScrolling: !1,
|
|
5295
5315
|
scrollDirection: "forward",
|
|
@@ -5375,7 +5395,7 @@ function Ll(e) {
|
|
|
5375
5395
|
}, s;
|
|
5376
5396
|
}
|
|
5377
5397
|
g.getDerivedStateFromProps = function(s, d) {
|
|
5378
|
-
return jl(s, d),
|
|
5398
|
+
return jl(s, d), m(s), null;
|
|
5379
5399
|
};
|
|
5380
5400
|
var b = g.prototype;
|
|
5381
5401
|
return b.scrollTo = function(s) {
|
|
@@ -5491,14 +5511,14 @@ function Ll(e) {
|
|
|
5491
5511
|
}, t;
|
|
5492
5512
|
}
|
|
5493
5513
|
var jl = function(t, r) {
|
|
5494
|
-
var n = t.children, o = t.direction, i = t.height, a = t.layout, l = t.innerTagName, u = t.outerTagName, f = t.width,
|
|
5514
|
+
var n = t.children, o = t.direction, i = t.height, a = t.layout, l = t.innerTagName, u = t.outerTagName, f = t.width, m = r.instance;
|
|
5495
5515
|
if (process.env.NODE_ENV !== "production") {
|
|
5496
|
-
(l != null || u != null) && Tt && !Tt.has(
|
|
5497
|
-
var
|
|
5516
|
+
(l != null || u != null) && Tt && !Tt.has(m) && (Tt.add(m), console.warn("The innerTagName and outerTagName props have been deprecated. Please use the innerElementType and outerElementType props instead."));
|
|
5517
|
+
var h = o === "horizontal" || a === "horizontal";
|
|
5498
5518
|
switch (o) {
|
|
5499
5519
|
case "horizontal":
|
|
5500
5520
|
case "vertical":
|
|
5501
|
-
Ot && !Ot.has(
|
|
5521
|
+
Ot && !Ot.has(m) && (Ot.add(m), console.warn('The direction prop should be either "ltr" (default) or "rtl". Please use the layout prop to specify "vertical" (default) or "horizontal" orientation.'));
|
|
5502
5522
|
break;
|
|
5503
5523
|
case "ltr":
|
|
5504
5524
|
case "rtl":
|
|
@@ -5515,9 +5535,9 @@ var jl = function(t, r) {
|
|
|
5515
5535
|
}
|
|
5516
5536
|
if (n == null)
|
|
5517
5537
|
throw Error('An invalid "children" prop has been specified. Value should be a React component. ' + ('"' + (n === null ? "null" : typeof n) + '" was specified.'));
|
|
5518
|
-
if (
|
|
5538
|
+
if (h && typeof f != "number")
|
|
5519
5539
|
throw Error('An invalid "width" prop has been specified. Horizontal lists must specify a number for width. ' + ('"' + (f === null ? "null" : typeof f) + '" was specified.'));
|
|
5520
|
-
if (!
|
|
5540
|
+
if (!h && typeof i != "number")
|
|
5521
5541
|
throw Error('An invalid "height" prop has been specified. Vertical lists must specify a number for height. ' + ('"' + (i === null ? "null" : typeof i) + '" was specified.'));
|
|
5522
5542
|
}
|
|
5523
5543
|
}, Vl = 50, Be = function(t, r, n) {
|
|
@@ -5528,12 +5548,12 @@ var jl = function(t, r) {
|
|
|
5528
5548
|
var f = a[l];
|
|
5529
5549
|
u = f.offset + f.size;
|
|
5530
5550
|
}
|
|
5531
|
-
for (var
|
|
5532
|
-
var
|
|
5533
|
-
a[
|
|
5551
|
+
for (var m = l + 1; m <= r; m++) {
|
|
5552
|
+
var h = i(m);
|
|
5553
|
+
a[m] = {
|
|
5534
5554
|
offset: u,
|
|
5535
|
-
size:
|
|
5536
|
-
}, u +=
|
|
5555
|
+
size: h
|
|
5556
|
+
}, u += h;
|
|
5537
5557
|
}
|
|
5538
5558
|
n.lastMeasuredIndex = r;
|
|
5539
5559
|
}
|
|
@@ -5559,8 +5579,8 @@ var jl = function(t, r) {
|
|
|
5559
5579
|
var u = o[a];
|
|
5560
5580
|
l = u.offset + u.size;
|
|
5561
5581
|
}
|
|
5562
|
-
var f = n - a - 1,
|
|
5563
|
-
return l +
|
|
5582
|
+
var f = n - a - 1, m = f * i;
|
|
5583
|
+
return l + m;
|
|
5564
5584
|
}, Wl = /* @__PURE__ */ Ll({
|
|
5565
5585
|
getItemOffset: function(t, r, n) {
|
|
5566
5586
|
return Be(t, r, n).offset;
|
|
@@ -5570,7 +5590,7 @@ var jl = function(t, r) {
|
|
|
5570
5590
|
},
|
|
5571
5591
|
getEstimatedTotalSize: Nn,
|
|
5572
5592
|
getOffsetForIndexAndAlignment: function(t, r, n, o, i, a) {
|
|
5573
|
-
var l = t.direction, u = t.height, f = t.layout,
|
|
5593
|
+
var l = t.direction, u = t.height, f = t.layout, m = t.width, h = l === "horizontal" || f === "horizontal", g = h ? m : u, b = Be(t, r, i), y = Nn(t, i), s = Math.max(0, Math.min(y - g, b.offset)), d = Math.max(0, b.offset - g + b.size + a);
|
|
5574
5594
|
switch (n === "smart" && (o >= d - g && o <= s + g ? n = "auto" : n = "center"), n) {
|
|
5575
5595
|
case "start":
|
|
5576
5596
|
return s;
|
|
@@ -5587,7 +5607,7 @@ var jl = function(t, r) {
|
|
|
5587
5607
|
return Hl(t, n, r);
|
|
5588
5608
|
},
|
|
5589
5609
|
getStopIndexForStartIndex: function(t, r, n, o) {
|
|
5590
|
-
for (var i = t.direction, a = t.height, l = t.itemCount, u = t.layout, f = t.width,
|
|
5610
|
+
for (var i = t.direction, a = t.height, l = t.itemCount, u = t.layout, f = t.width, m = i === "horizontal" || u === "horizontal", h = m ? f : a, g = Be(t, r, o), b = n + h, y = g.offset + g.size, s = r; s < l - 1 && y < b; )
|
|
5591
5611
|
s++, y += Be(t, s, o).size;
|
|
5592
5612
|
return s;
|
|
5593
5613
|
},
|
|
@@ -5647,16 +5667,16 @@ const Mt = 37, Ul = (e, t) => {
|
|
|
5647
5667
|
return document.body.removeChild(a), l > 21 ? Mt + 21 : Mt;
|
|
5648
5668
|
};
|
|
5649
5669
|
function yc(e) {
|
|
5650
|
-
const [t, r] = G(!1), [n, o] = G(""), [i, a] = G(""), [l, u] = G(!1), { isRequired: f = !1 } = e,
|
|
5670
|
+
const [t, r] = G(!1), [n, o] = G(""), [i, a] = G(""), [l, u] = G(!1), { isRequired: f = !1 } = e, m = bt(
|
|
5651
5671
|
Dr.debounce((_) => {
|
|
5652
5672
|
var S;
|
|
5653
5673
|
(S = e.handleChangeSearch) == null || S.call(e, _);
|
|
5654
5674
|
}, 300),
|
|
5655
5675
|
[e.handleChangeSearch]
|
|
5656
|
-
),
|
|
5676
|
+
), h = () => {
|
|
5657
5677
|
r(!t);
|
|
5658
5678
|
}, g = () => {
|
|
5659
|
-
r(!1), a(""),
|
|
5679
|
+
r(!1), a(""), m("");
|
|
5660
5680
|
};
|
|
5661
5681
|
Q(() => {
|
|
5662
5682
|
o(e.value ? e.getOptionLabel(e.value) : "");
|
|
@@ -5666,7 +5686,7 @@ function yc(e) {
|
|
|
5666
5686
|
u(e.searchLoading);
|
|
5667
5687
|
}, [e.paging.rows, e.searchLoading]);
|
|
5668
5688
|
const b = e.paging.rows, { hasNextPage: y } = e, s = y ? b.length + 1 : b.length, d = () => e.isNextPageLoading ? void 0 : e.loadNextPage(i), v = (_) => !y || _ < b.length, x = (_) => {
|
|
5669
|
-
o(_.target.value), t && (a(_.target.value),
|
|
5689
|
+
o(_.target.value), t && (a(_.target.value), m(_.target.value), u(!0));
|
|
5670
5690
|
}, w = be(null), E = be(null), p = be(null);
|
|
5671
5691
|
return Q(() => {
|
|
5672
5692
|
var _, S, $, N;
|
|
@@ -5725,7 +5745,7 @@ function yc(e) {
|
|
|
5725
5745
|
},
|
|
5726
5746
|
onClick: (_) => {
|
|
5727
5747
|
var S;
|
|
5728
|
-
_.preventDefault(), _.stopPropagation(),
|
|
5748
|
+
_.preventDefault(), _.stopPropagation(), h(), (S = w.current) == null || S.focus();
|
|
5729
5749
|
},
|
|
5730
5750
|
disabled: e.loading || e.disabled || e.readOnly,
|
|
5731
5751
|
children: e.loading ? /* @__PURE__ */ c(Go, { size: "16px" }) : /* @__PURE__ */ c(
|
|
@@ -5881,7 +5901,7 @@ function yc(e) {
|
|
|
5881
5901
|
);
|
|
5882
5902
|
}
|
|
5883
5903
|
function vc(e) {
|
|
5884
|
-
var
|
|
5904
|
+
var m;
|
|
5885
5905
|
const { listProps: t } = e, [r, n] = G({
|
|
5886
5906
|
initLoading: !e.disabled,
|
|
5887
5907
|
searchLoading: !1,
|
|
@@ -5889,17 +5909,17 @@ function vc(e) {
|
|
|
5889
5909
|
isNextPageLoading: !1,
|
|
5890
5910
|
paging: {
|
|
5891
5911
|
page: 1,
|
|
5892
|
-
pageSize: ((
|
|
5912
|
+
pageSize: ((m = e.listProps) == null ? void 0 : m.pageSize) || 20,
|
|
5893
5913
|
rows: [],
|
|
5894
5914
|
total: 0,
|
|
5895
5915
|
totalPages: 1
|
|
5896
5916
|
}
|
|
5897
|
-
}), o = async (
|
|
5917
|
+
}), o = async (h, g) => {
|
|
5898
5918
|
var b, y;
|
|
5899
5919
|
if (e.list)
|
|
5900
5920
|
n(() => {
|
|
5901
5921
|
var v;
|
|
5902
|
-
const s = ((v =
|
|
5922
|
+
const s = ((v = h == null ? void 0 : h.search) == null ? void 0 : v.content) || "";
|
|
5903
5923
|
return {
|
|
5904
5924
|
hasNextPage: !1,
|
|
5905
5925
|
isNextPageLoading: !1,
|
|
@@ -5924,13 +5944,13 @@ function vc(e) {
|
|
|
5924
5944
|
pageSize: 20,
|
|
5925
5945
|
filter: {
|
|
5926
5946
|
...t == null ? void 0 : t.filter,
|
|
5927
|
-
...
|
|
5947
|
+
...h == null ? void 0 : h.filter
|
|
5928
5948
|
},
|
|
5929
5949
|
...zr.omit(t, "filter"),
|
|
5930
|
-
...zr.omit(
|
|
5950
|
+
...zr.omit(h, "filter"),
|
|
5931
5951
|
search: {
|
|
5932
5952
|
fields: ((b = t == null ? void 0 : t.search) == null ? void 0 : b.fields) ?? [],
|
|
5933
|
-
content: ((y =
|
|
5953
|
+
content: ((y = h == null ? void 0 : h.search) == null ? void 0 : y.content) ?? ""
|
|
5934
5954
|
}
|
|
5935
5955
|
};
|
|
5936
5956
|
g && (s.filter = {}, s.search && (s.search.content = ""), s.page = 1);
|
|
@@ -5941,26 +5961,26 @@ function vc(e) {
|
|
|
5941
5961
|
isNextPageLoading: !1,
|
|
5942
5962
|
paging: {
|
|
5943
5963
|
...d,
|
|
5944
|
-
rows: (
|
|
5964
|
+
rows: (h == null ? void 0 : h.page) === 1 ? d.rows : v.paging.rows.concat(d.rows)
|
|
5945
5965
|
},
|
|
5946
5966
|
hasNextPage: d.page < d.totalPages
|
|
5947
5967
|
}));
|
|
5948
5968
|
} catch {
|
|
5949
5969
|
}
|
|
5950
5970
|
}
|
|
5951
|
-
}, i = () => (n((
|
|
5971
|
+
}, i = () => (n((h) => ({ ...h, initLoading: !0 })), o(void 0, !0)), a = (h) => (n((g) => ({ ...g, initLoading: !0 })), o(h)), l = (h) => {
|
|
5952
5972
|
o({
|
|
5953
5973
|
page: r.paging.page + 1,
|
|
5954
|
-
search: { content:
|
|
5974
|
+
search: { content: h }
|
|
5955
5975
|
});
|
|
5956
|
-
}, u = (
|
|
5957
|
-
n((g) => ({ ...g, searchLoading: !0 })), o({ page: 1, search: { content:
|
|
5976
|
+
}, u = (h) => {
|
|
5977
|
+
n((g) => ({ ...g, searchLoading: !0 })), o({ page: 1, search: { content: h } });
|
|
5958
5978
|
};
|
|
5959
5979
|
Q(() => {
|
|
5960
|
-
e.disabled || (n((
|
|
5980
|
+
e.disabled || (n((h) => ({ ...h, initLoading: !0 })), o({ page: 1 }));
|
|
5961
5981
|
}, [...e.dependencyList || []]);
|
|
5962
5982
|
const f = () => {
|
|
5963
|
-
n((
|
|
5983
|
+
n((h) => ({ ...h, initLoading: !h.initLoading }));
|
|
5964
5984
|
};
|
|
5965
5985
|
return {
|
|
5966
5986
|
...e,
|
|
@@ -6088,9 +6108,9 @@ function bc(e) {
|
|
|
6088
6108
|
maxDate: Z(),
|
|
6089
6109
|
...e.initialSettings
|
|
6090
6110
|
},
|
|
6091
|
-
onApply: (f,
|
|
6111
|
+
onApply: (f, m) => {
|
|
6092
6112
|
var d, v, x;
|
|
6093
|
-
const
|
|
6113
|
+
const h = m.chosenLabel === Yl, { startDate: g, endDate: b } = m, y = h ? ((d = e.dateReset) == null ? void 0 : d.startDate) ?? void 0 : g.toDate(), s = h ? ((v = e.dateReset) == null ? void 0 : v.endDate) ?? void 0 : b.toDate();
|
|
6094
6114
|
r({ startDate: y, endDate: s }), (x = e.onChange) == null || x.call(e, { startDate: y, endDate: s });
|
|
6095
6115
|
},
|
|
6096
6116
|
children: /* @__PURE__ */ c(
|
|
@@ -6333,12 +6353,12 @@ const So = (e) => {
|
|
|
6333
6353
|
message: (l = i == null ? void 0 : i.data) == null ? void 0 : l.message,
|
|
6334
6354
|
context: (u = i == null ? void 0 : i.data) == null ? void 0 : u.context
|
|
6335
6355
|
}), n((f) => {
|
|
6336
|
-
var
|
|
6356
|
+
var m;
|
|
6337
6357
|
return {
|
|
6338
6358
|
...f,
|
|
6339
6359
|
unread: {
|
|
6340
6360
|
...f.unread,
|
|
6341
|
-
total: ((
|
|
6361
|
+
total: ((m = f.unread) == null ? void 0 : m.total) + 1
|
|
6342
6362
|
}
|
|
6343
6363
|
};
|
|
6344
6364
|
});
|