@ukpc-lib/react 0.13.1-dev.9 → 0.13.1-sandbox.saas-8516-p2
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/components/GlobalMenu/data.json.d.ts +2627 -2582
- package/dist/components/PopUp/types.d.ts +1 -1
- package/dist/components/index.cjs +18 -18
- package/dist/components/index.js +106 -131
- package/dist/components/main.d.ts +0 -1
- package/dist/{index.esm2017-DJ5XZpWt.js → index.esm2017-BjuT9BCK.js} +11742 -11600
- package/dist/index.esm2017-D6LwZ1l8.cjs +1078 -0
- package/dist/share/hooks/index.d.ts +0 -2
- package/dist/share/index.cjs +1 -1
- package/dist/share/index.js +52 -95
- package/package.json +1 -1
- package/web-components-bundle/access-denied/index.js +2 -2
- package/web-components-bundle/base-breadcrumbs/index.js +5 -0
- package/web-components-bundle/clsx-DB4S2d7J.js +22 -0
- package/web-components-bundle/favorite-menu/index.js +6 -5
- package/web-components-bundle/global-menu/index.js +5 -4
- package/web-components-bundle/global-topbar/index.js +8 -7
- package/web-components-bundle/has-permission/index.js +5 -4
- package/web-components-bundle/{index-DyX6L9q-.js → index-B4uOLjGK.js} +236 -247
- package/web-components-bundle/{index-B1bJ4sn5.js → index-BSe1av43.js} +1 -1
- package/web-components-bundle/index-BTy-Dpix.js +5413 -0
- package/web-components-bundle/index-c9XK42Av.js +40146 -0
- package/web-components-bundle/page-not-found/index.js +2 -2
- package/web-components-bundle/{react-to-web-component-C4-Jmrxs.js → react-to-web-component-CXwKHjZr.js} +5 -5
- package/web-components-bundle/{react-toastify.esm-C4-Xv2fh.js → react-toastify.esm-CrTD7cpE.js} +156 -175
- package/web-components-bundle/setPrototypeOf-BVKdEITT.js +14 -0
- package/web-components-bundle/toast-config/index.js +2 -2
- package/web-components-bundle/toast-config-notification/index.js +2 -2
- package/dist/index.esm2017-C3w5APcd.cjs +0 -1078
- package/dist/share/hooks/useSyncBackdrop.d.ts +0 -4
- package/dist/share/hooks/useSyncRouter.d.ts +0 -7
- package/web-components-bundle/index-2K0_9D9S.js +0 -45367
package/dist/components/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import ii, { jsxs as M, Fragment as le, jsx as u } from "react/jsx-runtime";
|
|
2
2
|
import * as N from "react";
|
|
3
3
|
import ye, { useState as W, useContext as $e, useEffect as q, useRef as Se, useCallback as Mt, forwardRef as ai, createElement as sr, PureComponent as si } from "react";
|
|
4
|
-
import { c as ne, a as gt, C as Le, t as ct, p as li, L as Xr, u as ci, b as ui, S as qn, d as di, e as fi, Q as Zn, f as Et, g as Xn, h as hi, s as Ct, _ as
|
|
5
|
-
import { H as au, G as su, K as lu, E as cu, F as uu, J as du } from "../index.esm2017-
|
|
4
|
+
import { c as ne, a as gt, C as Le, t as ct, p as li, L as Xr, u as ci, b as ui, S as qn, d as di, e as fi, Q as Zn, f as Et, g as Xn, h as hi, s as Ct, _ as B, P as R, i as pe, j as mi, o as pi, k as Ne, l as gi, m as yi, n as Jr, q as Ot, r as Qr, I as vi, v as bi, w as en, D as xi, x as Jn, y as Qn, z as Si, A as wi, B as _i } from "../index.esm2017-BjuT9BCK.js";
|
|
5
|
+
import { H as au, G as su, K as lu, E as cu, F as uu, J as du } from "../index.esm2017-BjuT9BCK.js";
|
|
6
6
|
import Q from "moment";
|
|
7
7
|
import { Stack as me, Dialog as Ei, DialogTitle as Ci, Typography as Ce, DialogContent as Ti, DialogActions as Ii, Button as pr, Box as ki, ClickAwayListener as Mi, TextField as eo, IconButton as Oi, CircularProgress as $i, Fade as Ai, Paper as Ni, Checkbox as Ri, Breadcrumbs as Pi } from "@mui/material";
|
|
8
8
|
import "axios";
|
|
9
|
-
import { useParams as zi, Link as to } from "react-router-dom";
|
|
10
9
|
import "@r2wc/react-to-web-component";
|
|
10
|
+
import { useParams as zi, Link as to } from "react-router-dom";
|
|
11
11
|
import "react-query";
|
|
12
12
|
import "react-dom";
|
|
13
13
|
const Di = (e) => {
|
|
@@ -204,27 +204,10 @@ const Di = (e) => {
|
|
|
204
204
|
/* @__PURE__ */ M("div", { className: "notification-item__content-wrapper", children: [
|
|
205
205
|
/* @__PURE__ */ M("div", { className: "notification-item__content", children: [
|
|
206
206
|
/* @__PURE__ */ u("p", { className: "notification-item__user-name", children: e.actorName }),
|
|
207
|
-
/* @__PURE__ */ M(
|
|
208
|
-
|
|
209
|
-
{
|
|
210
|
-
|
|
211
|
-
style: {
|
|
212
|
-
cursor: e != null && e.contextUrl ? "pointer" : "unset"
|
|
213
|
-
},
|
|
214
|
-
children: [
|
|
215
|
-
_(e, x),
|
|
216
|
-
/* @__PURE__ */ u(
|
|
217
|
-
"span",
|
|
218
|
-
{
|
|
219
|
-
style: {
|
|
220
|
-
color: e.contextUrl ? "#007BFF" : "#292929"
|
|
221
|
-
},
|
|
222
|
-
children: ` ${e != null && e.context ? e.context : ""}`
|
|
223
|
-
}
|
|
224
|
-
)
|
|
225
|
-
]
|
|
226
|
-
}
|
|
227
|
-
),
|
|
207
|
+
/* @__PURE__ */ M(w, { href: e.contextUrl, style: { cursor: e != null && e.contextUrl ? "pointer" : "unset" }, children: [
|
|
208
|
+
_(e, x),
|
|
209
|
+
/* @__PURE__ */ u("span", { className: "notification-item__context-link", children: ` ${e != null && e.context ? e.context : ""}` })
|
|
210
|
+
] }),
|
|
228
211
|
(e == null ? void 0 : e.notificationType) === "deleteMultiple" && /* @__PURE__ */ M(
|
|
229
212
|
"button",
|
|
230
213
|
{
|
|
@@ -451,7 +434,7 @@ const Di = (e) => {
|
|
|
451
434
|
}
|
|
452
435
|
) });
|
|
453
436
|
};
|
|
454
|
-
function
|
|
437
|
+
function ji({
|
|
455
438
|
iconColor: e = "#fff",
|
|
456
439
|
baseUrl: t,
|
|
457
440
|
notiPath: r,
|
|
@@ -463,8 +446,8 @@ function Bi({
|
|
|
463
446
|
try {
|
|
464
447
|
await d();
|
|
465
448
|
} catch (s) {
|
|
466
|
-
li(
|
|
467
|
-
((p = (v = s.response) == null ? void 0 : v.data) == null ? void 0 : p.errorMessage) || "Have error when get notification list"
|
|
449
|
+
console.log(" NotificationIcon.tsx ~ error:", s), li(
|
|
450
|
+
((p = (v = s.response) == null ? void 0 : v.data) == null ? void 0 : p.errorMessage) || s.message || "Have error when get notification list"
|
|
468
451
|
);
|
|
469
452
|
}
|
|
470
453
|
};
|
|
@@ -543,7 +526,7 @@ function Bi({
|
|
|
543
526
|
) })
|
|
544
527
|
] });
|
|
545
528
|
}
|
|
546
|
-
const
|
|
529
|
+
const Bi = ".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-wrapper{position:fixed;top:0;left:0;width:100%;height:64px;display:flex;z-index:1000;background:#292929;padding-left:2.5rem}.navbar-container{display:flex;flex-direction:row;align-items:center;width:100%;justify-content:space-between;position:relative}.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}.userFullName{color:#fff;font-weight:400;font-size:.875rem;line-height:1.25rem;transition:width .3s}.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:#ddd;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}.topbar-search-label{display:flex;position:relative}.topbar-search-input{color:#292929;border-radius:3px;height:40px;outline:none;font-size:14px;text-overflow:ellipsis;max-width:166px}#icon{position:absolute;left:9px;top:8px;width:16px;height:24px}", Hi = ".StyledReactSearchAutocomplete ::-webkit-scrollbar-track{background:#f1f1f1;border-radius:5px}.StyledReactSearchAutocomplete ::-webkit-scrollbar-thumb{background:#c2c2c2;border-radius:5px}.StyledReactSearchAutocomplete ::-webkit-scrollbar-thumb:hover{background:#757575}.StyledReactSearchAutocomplete .container{display:flex;width:100%;height:100vh;justify-content:center;align-items:center}.StyledReactSearchAutocomplete .container>div{width:300px;height:40px}.StyledReactSearchAutocomplete .container>div input{width:100%;height:40px;border:1px solid #ccc;border-radius:5px;font-size:14px;color:#000}.StyledReactSearchAutocomplete .container>div input:focus{outline:1px solid rgb(83,172,255)}.StyledReactSearchAutocomplete .list{display:flex;flex-direction:column;max-height:220px;width:inherit;overflow:auto;overflow-x:hidden;box-shadow:#0000001f 0 1px 3px,#0000003d 0 1px 2px;color:#000}.StyledReactSearchAutocomplete .list button{background:none;border:none;width:100%;height:100%;max-height:3em;padding:10px;text-align:left;cursor:pointer;border-bottom:1px solid #ccc}.StyledReactSearchAutocomplete .list button:hover{background:#f8f8f8}.StyledReactSearchAutocomplete .list button:last-child{border-bottom:none}.StyledReactSearchAutocomplete{position:relative;height:46px}.StyledReactSearchAutocomplete .wrapper{position:absolute;display:flex;flex-direction:column;width:100%;border:1px solid #dfe1e5;background-color:#fff;color:#212121;font-size:14px;font-family:inherit;z-index:0;margin-top:2px;border-radius:3px}.StyledReactSearchAutocomplete .wrapper:hover,.StyledReactSearchAutocomplete .wrapper:active,.StyledReactSearchAutocomplete .wrapper:focus-within{box-shadow:#20212447 0 1px 6px}.StyledResults{position:absolute;display:flex;flex-direction:column;border:1px solid #dfe1e5;background-color:#fff;color:#212121;font-size:14px;font-family:inherit;z-index:0;min-width:250px;max-width:400px;top:calc(100% - 2px);left:0}.StyledResults>div.line{border-top-color:#e8eaed;border-top-style:solid;border-top-width:1px;margin:0 20px 0 14px;padding-bottom:4px}.StyledResults>ul{list-style-type:none;margin:0;padding:0 0 16px;max-height:300px;max-width:450px}#autocomplete-results strong,#autocomplete-results li strong,#autocomplete-results li div strong{font-weight:700!important}.StyledResults>ul>li{display:flex;align-items:center;padding:4px 10px 4px 0;font-size:14px;width:100%}.StyledResults>ul>li>div{margin-left:13px;font-size:14px}.StyledResults .ellipsis{text-align:left;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.StyledResults .selectedSearch{color:#fff;text-decoration:none;background-color:#0d6efd}.StyledSearchInput{min-height:40px;width:100%;display:flex;align-items:center}.StyledSearchInput input{width:100%}.StyledSearchInput>input::-moz-placeholder{color:gray;opacity:1}.StyledSearchInput>input::placeholder{color:gray;opacity:1}.StyledSearchInput>input:-ms-input-placeholder{color:gray}.StyledSearchInput>input::-ms-input-placeholder{color:gray}.StyledClearIcon{margin:0 0 0 5px}.StyledClearIcon:hover{cursor:pointer}.StyledClearIcon>svg{fill:gray}.StyledSearchIcon{flex-shrink:0;margin:0 0 0 10px;fill:gray}.search-icon{position:unset!important;float:left;margin-right:5px;margin-left:5px}", Vi = ':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;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__context-text{color:#292929}.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}', Wi = "._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}", ro = '.notification-massage_container{background:#fff;padding:0 64px 0 72px;border-radius:8px;font-family:TT Firs Neue Trl,sans-serif;text-decoration:none;color:inherit}.notification-massage_container: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{font-weight:500;font-size:14px;margin:0}.notification-message_service{font-size:12px}.notification-message_button-close{position:absolute;top:12px;right:24px;width:24px;height:24px}';
|
|
547
530
|
function Ui(e) {
|
|
548
531
|
return /* @__PURE__ */ M(
|
|
549
532
|
"svg",
|
|
@@ -1805,7 +1788,7 @@ function La({
|
|
|
1805
1788
|
const cn = ({ children: e }) => /* @__PURE__ */ M("div", { className: "StyledResults", children: [
|
|
1806
1789
|
/* @__PURE__ */ u("div", { className: "line" }),
|
|
1807
1790
|
/* @__PURE__ */ u("ul", { id: "autocomplete-results", children: e })
|
|
1808
|
-
] }),
|
|
1791
|
+
] }), ja = ({
|
|
1809
1792
|
showClear: e,
|
|
1810
1793
|
setSearchString: t,
|
|
1811
1794
|
searchString: r,
|
|
@@ -1834,7 +1817,7 @@ const cn = ({ children: e }) => /* @__PURE__ */ M("div", { className: "StyledRes
|
|
|
1834
1817
|
}
|
|
1835
1818
|
);
|
|
1836
1819
|
};
|
|
1837
|
-
function
|
|
1820
|
+
function Ba({
|
|
1838
1821
|
searchString: e,
|
|
1839
1822
|
setSearchString: t,
|
|
1840
1823
|
setHighlightedItem: r,
|
|
@@ -1900,7 +1883,7 @@ function ja({
|
|
|
1900
1883
|
if ((_ != null ? _.shadowRoot : document).getElementById("selectedSearch") === null) {
|
|
1901
1884
|
console.log("enter", x);
|
|
1902
1885
|
const E = x.currentTarget.value;
|
|
1903
|
-
window.location.href = `${h}/
|
|
1886
|
+
window.location.href = `${h}/stella/page/Search/Index?Term=${E}`;
|
|
1904
1887
|
return;
|
|
1905
1888
|
}
|
|
1906
1889
|
}
|
|
@@ -1911,7 +1894,7 @@ function ja({
|
|
|
1911
1894
|
}
|
|
1912
1895
|
),
|
|
1913
1896
|
/* @__PURE__ */ u(
|
|
1914
|
-
|
|
1897
|
+
ja,
|
|
1915
1898
|
{
|
|
1916
1899
|
showClear: d,
|
|
1917
1900
|
setSearchString: t,
|
|
@@ -1956,7 +1939,7 @@ function Wa({
|
|
|
1956
1939
|
({ ...p });
|
|
1957
1940
|
const S = { ...ln, ...t }, I = new rt(e, S);
|
|
1958
1941
|
I.setCollection(e);
|
|
1959
|
-
const [k, O] = W(y), [C, $] = W([]), [P, U] = W(-1), [re, he] = W(!1), [ze, Ee] = W(!1), [at, ke] = W(!1), [
|
|
1942
|
+
const [k, O] = W(y), [C, $] = W([]), [P, U] = W(-1), [re, he] = W(!1), [ze, Ee] = W(!1), [at, ke] = W(!1), [je, Be] = W(!1);
|
|
1960
1943
|
q(() => {
|
|
1961
1944
|
O(y);
|
|
1962
1945
|
const z = setTimeout(
|
|
@@ -1968,12 +1951,12 @@ function Wa({
|
|
|
1968
1951
|
(k == null ? void 0 : k.length) >= 3 ? e && (e == null ? void 0 : e.length) > 0 && $(e) : $([]);
|
|
1969
1952
|
}, [e]), q(() => {
|
|
1970
1953
|
const z = () => {
|
|
1971
|
-
We(),
|
|
1954
|
+
We(), Be(!1);
|
|
1972
1955
|
};
|
|
1973
1956
|
return document.addEventListener("click", z), () => document.removeEventListener("click", z);
|
|
1974
1957
|
}, []), q(() => {
|
|
1975
1958
|
(() => {
|
|
1976
|
-
_ && k.length > 0 && !ze && C.length === 0 && !re ? ke(!0) : ke(!1), E && C.length === 0 && k.length === 0 &&
|
|
1959
|
+
_ && k.length > 0 && !ze && C.length === 0 && !re ? ke(!0) : ke(!1), E && C.length === 0 && k.length === 0 && je && $(e.slice(0, h));
|
|
1977
1960
|
})();
|
|
1978
1961
|
}, [
|
|
1979
1962
|
ze,
|
|
@@ -1982,10 +1965,10 @@ function Wa({
|
|
|
1982
1965
|
k,
|
|
1983
1966
|
C,
|
|
1984
1967
|
E,
|
|
1985
|
-
|
|
1968
|
+
je
|
|
1986
1969
|
]);
|
|
1987
1970
|
const He = (z) => {
|
|
1988
|
-
c && a(z),
|
|
1971
|
+
c && a(z), Be(!0);
|
|
1989
1972
|
}, ge = (z) => {
|
|
1990
1973
|
let T = [];
|
|
1991
1974
|
(z == null ? void 0 : z.length) > 0 && (T = wt(z)), $(T), n(z, T), Ee(!1);
|
|
@@ -2024,7 +2007,7 @@ function Wa({
|
|
|
2024
2007
|
};
|
|
2025
2008
|
return /* @__PURE__ */ u(le, { children: /* @__PURE__ */ M("div", { className: "StyledReactSearchAutocomplete", children: [
|
|
2026
2009
|
/* @__PURE__ */ u("div", { className: "wrapper", children: /* @__PURE__ */ u(
|
|
2027
|
-
|
|
2010
|
+
Ba,
|
|
2028
2011
|
{
|
|
2029
2012
|
searchString: k,
|
|
2030
2013
|
setSearchString: ar,
|
|
@@ -2080,7 +2063,7 @@ function Ua({ classNames: e = "", ...t }) {
|
|
|
2080
2063
|
s.length >= 3 ? E(s) : _([]);
|
|
2081
2064
|
}, [s]);
|
|
2082
2065
|
const E = async (O) => {
|
|
2083
|
-
await fetch(`${o}/
|
|
2066
|
+
await fetch(`${o}/stella/page/Search/Suggestions?term=${O}`).then((C) => C.json()).then((C) => {
|
|
2084
2067
|
_(C), console.log(C);
|
|
2085
2068
|
}).catch((C) => {
|
|
2086
2069
|
console.error(C);
|
|
@@ -2093,13 +2076,13 @@ function Ua({ classNames: e = "", ...t }) {
|
|
|
2093
2076
|
const C = O.entityType, $ = O.entityId;
|
|
2094
2077
|
switch (C) {
|
|
2095
2078
|
case "Zone":
|
|
2096
|
-
document.location.href = o + "/
|
|
2079
|
+
document.location.href = o + "/stella/page/SiteManagement/Zone/Details/" + $;
|
|
2097
2080
|
return;
|
|
2098
2081
|
case "Location":
|
|
2099
|
-
document.location.href = o + "/
|
|
2082
|
+
document.location.href = o + "/stella/page/SiteManagement/Location/Details/" + $;
|
|
2100
2083
|
return;
|
|
2101
2084
|
case "Company":
|
|
2102
|
-
document.location.href = o + "/
|
|
2085
|
+
document.location.href = o + "/stella/page/SiteManagement/Company/Details/" + $;
|
|
2103
2086
|
return;
|
|
2104
2087
|
default:
|
|
2105
2088
|
console.log(`Unsure how to navigate to ${C} ${$}`);
|
|
@@ -2121,7 +2104,7 @@ function Ua({ classNames: e = "", ...t }) {
|
|
|
2121
2104
|
qn,
|
|
2122
2105
|
{
|
|
2123
2106
|
styles: [
|
|
2124
|
-
|
|
2107
|
+
Bi,
|
|
2125
2108
|
// tabStyles,
|
|
2126
2109
|
Vi,
|
|
2127
2110
|
ro,
|
|
@@ -2182,7 +2165,7 @@ function Ua({ classNames: e = "", ...t }) {
|
|
|
2182
2165
|
}
|
|
2183
2166
|
),
|
|
2184
2167
|
/* @__PURE__ */ u(
|
|
2185
|
-
|
|
2168
|
+
ji,
|
|
2186
2169
|
{
|
|
2187
2170
|
iconColor: l == null ? void 0 : l.headerTextColor,
|
|
2188
2171
|
baseUrl: o,
|
|
@@ -2755,15 +2738,9 @@ function K1(e) {
|
|
|
2755
2738
|
function Y1(e) {
|
|
2756
2739
|
const t = Xa(typeof e == "boolean" ? e : void 0);
|
|
2757
2740
|
return {
|
|
2758
|
-
setTrue:
|
|
2759
|
-
var r, n;
|
|
2760
|
-
t.setTrue(), (n = (r = window.top) == null ? void 0 : r.HostBridge) == null || n.openBackdrop(!0);
|
|
2761
|
-
},
|
|
2741
|
+
setTrue: t.setTrue,
|
|
2762
2742
|
open: t.value,
|
|
2763
|
-
onClose:
|
|
2764
|
-
var r, n;
|
|
2765
|
-
t.setFalse(), (n = (r = window.top) == null ? void 0 : r.HostBridge) == null || n.openBackdrop(!1);
|
|
2766
|
-
},
|
|
2743
|
+
onClose: t.setFalse,
|
|
2767
2744
|
onConfirm: typeof e != "boolean" ? e == null ? void 0 : e.onConfirm : void 0
|
|
2768
2745
|
};
|
|
2769
2746
|
}
|
|
@@ -2927,7 +2904,7 @@ function go(e) {
|
|
|
2927
2904
|
function we(e, t, r = {
|
|
2928
2905
|
clone: !0
|
|
2929
2906
|
}) {
|
|
2930
|
-
const n = r.clone ?
|
|
2907
|
+
const n = r.clone ? B({}, e) : e;
|
|
2931
2908
|
return Oe(e) && Oe(t) && Object.keys(t).forEach((o) => {
|
|
2932
2909
|
/* @__PURE__ */ N.isValidElement(t[o]) ? n[o] = t[o] : Oe(t[o]) && // Avoid prototype pollution
|
|
2933
2910
|
Object.prototype.hasOwnProperty.call(e, o) && Oe(e[o]) ? n[o] = we(e[o], t[o], r) : r.clone ? n[o] = Oe(t[o]) ? go(t[o]) : t[o] : n[o] = t[o];
|
|
@@ -3182,7 +3159,7 @@ function ds(e) {
|
|
|
3182
3159
|
function fs(e, t) {
|
|
3183
3160
|
if (process.env.NODE_ENV === "production")
|
|
3184
3161
|
return () => null;
|
|
3185
|
-
const r = t ?
|
|
3162
|
+
const r = t ? B({}, t.propTypes) : null;
|
|
3186
3163
|
return (o) => (i, a, l, c, d, ...f) => {
|
|
3187
3164
|
const h = d || a, m = r == null ? void 0 : r[h];
|
|
3188
3165
|
if (m) {
|
|
@@ -3344,13 +3321,13 @@ function Ts() {
|
|
|
3344
3321
|
};
|
|
3345
3322
|
}
|
|
3346
3323
|
function Cr(e, t) {
|
|
3347
|
-
const r =
|
|
3324
|
+
const r = B({}, t);
|
|
3348
3325
|
return Object.keys(e).forEach((n) => {
|
|
3349
3326
|
if (n.toString().match(/^(components|slots)$/))
|
|
3350
|
-
r[n] =
|
|
3327
|
+
r[n] = B({}, e[n], r[n]);
|
|
3351
3328
|
else if (n.toString().match(/^(componentsProps|slotProps)$/)) {
|
|
3352
3329
|
const o = e[n] || {}, i = t[n];
|
|
3353
|
-
r[n] = {}, !i || !Object.keys(i) ? r[n] = o : !o || !Object.keys(o) ? r[n] = i : (r[n] =
|
|
3330
|
+
r[n] = {}, !i || !Object.keys(i) ? r[n] = o : !o || !Object.keys(o) ? r[n] = i : (r[n] = B({}, i), Object.keys(o).forEach((a) => {
|
|
3354
3331
|
r[n][a] = Cr(o[a], i[a]);
|
|
3355
3332
|
}));
|
|
3356
3333
|
} else
|
|
@@ -3464,11 +3441,11 @@ function Ls(e) {
|
|
|
3464
3441
|
if (document.styleSheets[t].ownerNode === e)
|
|
3465
3442
|
return document.styleSheets[t];
|
|
3466
3443
|
}
|
|
3467
|
-
function
|
|
3444
|
+
function js(e) {
|
|
3468
3445
|
var t = document.createElement("style");
|
|
3469
3446
|
return t.setAttribute("data-emotion", e.key), e.nonce !== void 0 && t.setAttribute("nonce", e.nonce), t.appendChild(document.createTextNode("")), t.setAttribute("data-s", ""), t;
|
|
3470
3447
|
}
|
|
3471
|
-
var
|
|
3448
|
+
var Bs = /* @__PURE__ */ function() {
|
|
3472
3449
|
function e(r) {
|
|
3473
3450
|
var n = this;
|
|
3474
3451
|
this._insertTag = function(o) {
|
|
@@ -3480,7 +3457,7 @@ var js = /* @__PURE__ */ function() {
|
|
|
3480
3457
|
return t.hydrate = function(n) {
|
|
3481
3458
|
n.forEach(this._insertTag);
|
|
3482
3459
|
}, t.insert = function(n) {
|
|
3483
|
-
this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(
|
|
3460
|
+
this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(js(this));
|
|
3484
3461
|
var o = this.tags[this.tags.length - 1];
|
|
3485
3462
|
if (this.isSpeedy) {
|
|
3486
3463
|
var i = Ls(o);
|
|
@@ -3522,7 +3499,7 @@ function ft(e, t, r) {
|
|
|
3522
3499
|
function ve(e) {
|
|
3523
3500
|
return e.length;
|
|
3524
3501
|
}
|
|
3525
|
-
function
|
|
3502
|
+
function jr(e) {
|
|
3526
3503
|
return e.length;
|
|
3527
3504
|
}
|
|
3528
3505
|
function It(e, t) {
|
|
@@ -3729,7 +3706,7 @@ function Nt(e, t, r, n, o, i, a, l, c) {
|
|
|
3729
3706
|
return i;
|
|
3730
3707
|
}
|
|
3731
3708
|
function yn(e, t, r, n, o, i, a, l, c, d, f) {
|
|
3732
|
-
for (var h = o - 1, m = o === 0 ? i : [""], v =
|
|
3709
|
+
for (var h = o - 1, m = o === 0 ? i : [""], v = jr(m), p = 0, s = 0, y = 0; p < n; ++p)
|
|
3733
3710
|
for (var x = 0, _ = ft(e, h + 1, h = Ws(s = a[p])), w = e; x < v; ++x)
|
|
3734
3711
|
(w = To(s > 0 ? m[x] + " " + _ : F(_, /&\f/g, m[x]))) && (c[y++] = w);
|
|
3735
3712
|
return Yt(e, t, r, o === 0 ? Fr : l, c, d, f);
|
|
@@ -3741,7 +3718,7 @@ function vn(e, t, r, n) {
|
|
|
3741
3718
|
return Yt(e, t, r, Lr, ft(e, 0, n), ft(e, n + 1, -1), n);
|
|
3742
3719
|
}
|
|
3743
3720
|
function Qe(e, t) {
|
|
3744
|
-
for (var r = "", n =
|
|
3721
|
+
for (var r = "", n = jr(e), o = 0; o < n; o++)
|
|
3745
3722
|
r += t(e[o], o, e, t) || "";
|
|
3746
3723
|
return r;
|
|
3747
3724
|
}
|
|
@@ -3763,7 +3740,7 @@ function nl(e, t, r, n) {
|
|
|
3763
3740
|
return ve(r = Qe(e.children, n)) ? e.return = e.value + "{" + r + "}" : "";
|
|
3764
3741
|
}
|
|
3765
3742
|
function ol(e) {
|
|
3766
|
-
var t =
|
|
3743
|
+
var t = jr(e);
|
|
3767
3744
|
return function(r, n, o, i) {
|
|
3768
3745
|
for (var a = "", l = 0; l < t; l++)
|
|
3769
3746
|
a += e[l](r, n, o, i) || "";
|
|
@@ -4007,7 +3984,7 @@ var dl = function(t, r, n, o) {
|
|
|
4007
3984
|
}
|
|
4008
3985
|
var p = {
|
|
4009
3986
|
key: r,
|
|
4010
|
-
sheet: new
|
|
3987
|
+
sheet: new Bs({
|
|
4011
3988
|
key: r,
|
|
4012
3989
|
container: a,
|
|
4013
3990
|
nonce: t.nonce,
|
|
@@ -4097,7 +4074,7 @@ function hl() {
|
|
|
4097
4074
|
return typeof b == "string" || typeof b == "function" || b === n || b === d || b === i || b === o || b === h || b === m || typeof b == "object" && b !== null && (b.$$typeof === p || b.$$typeof === v || b.$$typeof === a || b.$$typeof === l || b.$$typeof === f || b.$$typeof === y || b.$$typeof === x || b.$$typeof === _ || b.$$typeof === s);
|
|
4098
4075
|
}, L.typeOf = w, L;
|
|
4099
4076
|
}
|
|
4100
|
-
var
|
|
4077
|
+
var j = {};
|
|
4101
4078
|
/** @license React v16.13.1
|
|
4102
4079
|
* react-is.development.js
|
|
4103
4080
|
*
|
|
@@ -4153,10 +4130,10 @@ function ml() {
|
|
|
4153
4130
|
function ke(T) {
|
|
4154
4131
|
return E(T) === d;
|
|
4155
4132
|
}
|
|
4156
|
-
function
|
|
4133
|
+
function je(T) {
|
|
4157
4134
|
return E(T) === l;
|
|
4158
4135
|
}
|
|
4159
|
-
function
|
|
4136
|
+
function Be(T) {
|
|
4160
4137
|
return E(T) === a;
|
|
4161
4138
|
}
|
|
4162
4139
|
function He(T) {
|
|
@@ -4186,8 +4163,8 @@ function ml() {
|
|
|
4186
4163
|
function z(T) {
|
|
4187
4164
|
return E(T) === h;
|
|
4188
4165
|
}
|
|
4189
|
-
|
|
4190
|
-
}()),
|
|
4166
|
+
j.AsyncMode = b, j.ConcurrentMode = g, j.ContextConsumer = S, j.ContextProvider = I, j.Element = k, j.ForwardRef = O, j.Fragment = C, j.Lazy = $, j.Memo = P, j.Portal = U, j.Profiler = re, j.StrictMode = he, j.Suspense = ze, j.isAsyncMode = at, j.isConcurrentMode = ke, j.isContextConsumer = je, j.isContextProvider = Be, j.isElement = He, j.isForwardRef = ge, j.isFragment = Ve, j.isLazy = ir, j.isMemo = wt, j.isPortal = ar, j.isProfiler = We, j.isStrictMode = _t, j.isSuspense = z, j.isValidElementType = w, j.typeOf = E;
|
|
4167
|
+
}()), j;
|
|
4191
4168
|
}
|
|
4192
4169
|
process.env.NODE_ENV === "production" ? kr.exports = hl() : kr.exports = ml();
|
|
4193
4170
|
var pl = kr.exports, No = pl, gl = {
|
|
@@ -4213,7 +4190,7 @@ function Po(e, t, r) {
|
|
|
4213
4190
|
e[o] !== void 0 ? t.push(e[o] + ";") : o && (n += o + " ");
|
|
4214
4191
|
}), n;
|
|
4215
4192
|
}
|
|
4216
|
-
var
|
|
4193
|
+
var Br = function(t, r, n) {
|
|
4217
4194
|
var o = t.key + "-" + r.name;
|
|
4218
4195
|
// we only need to add the styles to the registered cache if the
|
|
4219
4196
|
// class name could be used further down
|
|
@@ -4226,7 +4203,7 @@ var jr = function(t, r, n) {
|
|
|
4226
4203
|
// also, note that this check will be dead code eliminated in the browser
|
|
4227
4204
|
vl === !1) && t.registered[o] === void 0 && (t.registered[o] = r.styles);
|
|
4228
4205
|
}, Hr = function(t, r, n) {
|
|
4229
|
-
|
|
4206
|
+
Br(t, r, n);
|
|
4230
4207
|
var o = t.key + "-" + r.name;
|
|
4231
4208
|
if (t.inserted[r.name] === void 0) {
|
|
4232
4209
|
var i = r;
|
|
@@ -4451,7 +4428,7 @@ var El = function(t) {
|
|
|
4451
4428
|
return n[Mr] = t, n;
|
|
4452
4429
|
}, Il = function(t) {
|
|
4453
4430
|
var r = t.cache, n = t.serialized, o = t.isStringTag;
|
|
4454
|
-
return
|
|
4431
|
+
return Br(r, n, o), Fo(function() {
|
|
4455
4432
|
return Hr(r, n, o);
|
|
4456
4433
|
}), null;
|
|
4457
4434
|
}, kl = /* @__PURE__ */ Vr(function(e, t, r) {
|
|
@@ -4508,13 +4485,13 @@ var Ol = /* @__PURE__ */ Vr(function(e, t) {
|
|
|
4508
4485
|
t.insert("", n, a, !1);
|
|
4509
4486
|
}, [t, n.name]), null;
|
|
4510
4487
|
});
|
|
4511
|
-
function
|
|
4488
|
+
function jo() {
|
|
4512
4489
|
for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
|
|
4513
4490
|
t[r] = arguments[r];
|
|
4514
4491
|
return Gt(t);
|
|
4515
4492
|
}
|
|
4516
4493
|
function $l() {
|
|
4517
|
-
var e =
|
|
4494
|
+
var e = jo.apply(void 0, arguments), t = "animation-" + e.name;
|
|
4518
4495
|
return {
|
|
4519
4496
|
name: t,
|
|
4520
4497
|
styles: "@keyframes " + t + "{" + e.styles + "}",
|
|
@@ -4547,7 +4524,7 @@ var Al = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|def
|
|
|
4547
4524
|
return typeof o != "function" && n && (o = t.__emotion_forwardProp), o;
|
|
4548
4525
|
}, zl = function(t) {
|
|
4549
4526
|
var r = t.cache, n = t.serialized, o = t.isStringTag;
|
|
4550
|
-
return
|
|
4527
|
+
return Br(r, n, o), Fo(function() {
|
|
4551
4528
|
return Hr(r, n, o);
|
|
4552
4529
|
}), null;
|
|
4553
4530
|
}, Dl = function e(t, r) {
|
|
@@ -4589,7 +4566,7 @@ var Al = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|def
|
|
|
4589
4566
|
return "." + a;
|
|
4590
4567
|
}
|
|
4591
4568
|
}), s.withComponent = function(y, x) {
|
|
4592
|
-
var _ = e(y,
|
|
4569
|
+
var _ = e(y, B({}, r, x, {
|
|
4593
4570
|
shouldForwardProp: kn(s, x, !0)
|
|
4594
4571
|
}));
|
|
4595
4572
|
return _.apply(void 0, h);
|
|
@@ -4740,7 +4717,7 @@ typeof document == "object" && ($r = Ao({
|
|
|
4740
4717
|
key: "css",
|
|
4741
4718
|
prepend: !0
|
|
4742
4719
|
}));
|
|
4743
|
-
function
|
|
4720
|
+
function Bo(e) {
|
|
4744
4721
|
const {
|
|
4745
4722
|
injectFirst: t,
|
|
4746
4723
|
children: r
|
|
@@ -4750,7 +4727,7 @@ function jo(e) {
|
|
|
4750
4727
|
children: r
|
|
4751
4728
|
}) : r;
|
|
4752
4729
|
}
|
|
4753
|
-
process.env.NODE_ENV !== "production" && (
|
|
4730
|
+
process.env.NODE_ENV !== "production" && (Bo.propTypes = {
|
|
4754
4731
|
/**
|
|
4755
4732
|
* Your component tree.
|
|
4756
4733
|
*/
|
|
@@ -4785,7 +4762,7 @@ process.env.NODE_ENV !== "production" && (Ho.propTypes = {
|
|
|
4785
4762
|
* This source code is licensed under the MIT license found in the
|
|
4786
4763
|
* LICENSE file in the root directory of this source tree.
|
|
4787
4764
|
*/
|
|
4788
|
-
function
|
|
4765
|
+
function jl(e, t) {
|
|
4789
4766
|
const r = Or(e, t);
|
|
4790
4767
|
return process.env.NODE_ENV !== "production" ? (...n) => {
|
|
4791
4768
|
const o = typeof e == "string" ? `"${e}"` : "component";
|
|
@@ -4793,23 +4770,23 @@ function Bl(e, t) {
|
|
|
4793
4770
|
`)) : n.some((i) => i === void 0) && console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`), r(...n);
|
|
4794
4771
|
} : r;
|
|
4795
4772
|
}
|
|
4796
|
-
const
|
|
4773
|
+
const Bl = (e, t) => {
|
|
4797
4774
|
Array.isArray(e.__emotion_styles) && (e.__emotion_styles = t(e.__emotion_styles));
|
|
4798
4775
|
}, Hl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4799
4776
|
__proto__: null,
|
|
4800
4777
|
GlobalStyles: Ho,
|
|
4801
|
-
StyledEngineProvider:
|
|
4778
|
+
StyledEngineProvider: Bo,
|
|
4802
4779
|
ThemeContext: qt,
|
|
4803
|
-
css:
|
|
4804
|
-
default:
|
|
4805
|
-
internal_processStyles:
|
|
4780
|
+
css: jo,
|
|
4781
|
+
default: jl,
|
|
4782
|
+
internal_processStyles: Bl,
|
|
4806
4783
|
keyframes: $l
|
|
4807
4784
|
}, Symbol.toStringTag, { value: "Module" })), Vl = /* @__PURE__ */ pe(Hl), Wl = /* @__PURE__ */ pe(Qa), Ul = /* @__PURE__ */ pe(as), Kl = /* @__PURE__ */ pe(is), Yl = ["values", "unit", "step"], Gl = (e) => {
|
|
4808
4785
|
const t = Object.keys(e).map((r) => ({
|
|
4809
4786
|
key: r,
|
|
4810
4787
|
val: e[r]
|
|
4811
4788
|
})) || [];
|
|
4812
|
-
return t.sort((r, n) => r.val - n.val), t.reduce((r, n) =>
|
|
4789
|
+
return t.sort((r, n) => r.val - n.val), t.reduce((r, n) => B({}, r, {
|
|
4813
4790
|
[n.key]: n.val
|
|
4814
4791
|
}), {});
|
|
4815
4792
|
};
|
|
@@ -4849,7 +4826,7 @@ function Vo(e) {
|
|
|
4849
4826
|
const v = a.indexOf(m);
|
|
4850
4827
|
return v === 0 ? l(a[1]) : v === a.length - 1 ? c(a[v]) : d(m, a[a.indexOf(m) + 1]).replace("@media", "@media not all and");
|
|
4851
4828
|
}
|
|
4852
|
-
return
|
|
4829
|
+
return B({
|
|
4853
4830
|
keys: a,
|
|
4854
4831
|
values: i,
|
|
4855
4832
|
up: l,
|
|
@@ -4930,7 +4907,7 @@ function Zt(e, t, r = !0) {
|
|
|
4930
4907
|
}
|
|
4931
4908
|
return t.split(".").reduce((n, o) => n && n[o] != null ? n[o] : null, e);
|
|
4932
4909
|
}
|
|
4933
|
-
function
|
|
4910
|
+
function jt(e, t, r, n = r) {
|
|
4934
4911
|
let o;
|
|
4935
4912
|
return typeof e == "function" ? o = e(r) : Array.isArray(e) ? o = e[r] || n : o = Zt(e, r) || n, t && (o = t(o, n, e)), o;
|
|
4936
4913
|
}
|
|
@@ -4945,8 +4922,8 @@ function Z(e) {
|
|
|
4945
4922
|
return null;
|
|
4946
4923
|
const l = a[t], c = a.theme, d = Zt(c, n) || {};
|
|
4947
4924
|
return Ie(a, l, (h) => {
|
|
4948
|
-
let m =
|
|
4949
|
-
return h === m && typeof h == "string" && (m =
|
|
4925
|
+
let m = jt(d, o, h);
|
|
4926
|
+
return h === m && typeof h == "string" && (m = jt(d, o, `${t}${h === "default" ? "" : Ae(h)}`, h)), r === !1 ? m : {
|
|
4950
4927
|
[r]: m
|
|
4951
4928
|
};
|
|
4952
4929
|
});
|
|
@@ -5510,8 +5487,8 @@ function Ko() {
|
|
|
5510
5487
|
};
|
|
5511
5488
|
const m = Zt(o, d) || {};
|
|
5512
5489
|
return h ? h(a) : Ie(a, n, (p) => {
|
|
5513
|
-
let s =
|
|
5514
|
-
return p === s && typeof p == "string" && (s =
|
|
5490
|
+
let s = jt(m, f, p);
|
|
5491
|
+
return p === s && typeof p == "string" && (s = jt(m, f, `${r}${p === "default" ? "" : Ae(p)}`, p)), c === !1 ? s : {
|
|
5515
5492
|
[c]: s
|
|
5516
5493
|
};
|
|
5517
5494
|
});
|
|
@@ -5581,13 +5558,13 @@ function Go(e = {}, ...t) {
|
|
|
5581
5558
|
direction: "ltr",
|
|
5582
5559
|
components: {},
|
|
5583
5560
|
// Inject component definitions.
|
|
5584
|
-
palette:
|
|
5561
|
+
palette: B({
|
|
5585
5562
|
mode: "light"
|
|
5586
5563
|
}, n),
|
|
5587
5564
|
spacing: c,
|
|
5588
|
-
shape:
|
|
5565
|
+
shape: B({}, ql, i)
|
|
5589
5566
|
}, a);
|
|
5590
|
-
return d.applyStyles = Yo, d = t.reduce((f, h) => we(f, h), d), d.unstable_sxConfig =
|
|
5567
|
+
return d.applyStyles = Yo, d = t.reduce((f, h) => we(f, h), d), d.unstable_sxConfig = B({}, St, a == null ? void 0 : a.unstable_sxConfig), d.unstable_sx = function(h) {
|
|
5591
5568
|
return or({
|
|
5592
5569
|
sx: h,
|
|
5593
5570
|
theme: this
|
|
@@ -5599,7 +5576,7 @@ const Lc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5599
5576
|
default: Go,
|
|
5600
5577
|
private_createBreakpoints: Vo,
|
|
5601
5578
|
unstable_applyStyles: Yo
|
|
5602
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
5579
|
+
}, Symbol.toStringTag, { value: "Module" })), jc = /* @__PURE__ */ pe(Lc), Bc = ["sx"], Hc = (e) => {
|
|
5603
5580
|
var t, r;
|
|
5604
5581
|
const n = {
|
|
5605
5582
|
systemProps: {},
|
|
@@ -5612,15 +5589,15 @@ const Lc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5612
5589
|
function Vc(e) {
|
|
5613
5590
|
const {
|
|
5614
5591
|
sx: t
|
|
5615
|
-
} = e, r = Ne(e,
|
|
5592
|
+
} = e, r = Ne(e, Bc), {
|
|
5616
5593
|
systemProps: n,
|
|
5617
5594
|
otherProps: o
|
|
5618
5595
|
} = Hc(r);
|
|
5619
5596
|
let i;
|
|
5620
5597
|
return Array.isArray(t) ? i = [n, ...t] : typeof t == "function" ? i = (...a) => {
|
|
5621
5598
|
const l = t(...a);
|
|
5622
|
-
return Oe(l) ?
|
|
5623
|
-
} : i =
|
|
5599
|
+
return Oe(l) ? B({}, n, l) : n;
|
|
5600
|
+
} : i = B({}, n, t), B({}, o, {
|
|
5624
5601
|
sx: i
|
|
5625
5602
|
});
|
|
5626
5603
|
}
|
|
@@ -5638,7 +5615,7 @@ Object.defineProperty(yt, "__esModule", {
|
|
|
5638
5615
|
var Kc = yt.default = a0;
|
|
5639
5616
|
yt.shouldForwardProp = Rt;
|
|
5640
5617
|
yt.systemDefaultTheme = void 0;
|
|
5641
|
-
var ce = ot(Ds), Ar = ot(Fs), $n = t0(Vl), Yc = Wl, Gc = ot(Ul), qc = ot(Kl), Zc = ot(
|
|
5618
|
+
var ce = ot(Ds), Ar = ot(Fs), $n = t0(Vl), Yc = Wl, Gc = ot(Ul), qc = ot(Kl), Zc = ot(jc), Xc = ot(Uc);
|
|
5642
5619
|
const Jc = ["ownerState"], Qc = ["variants"], e0 = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"];
|
|
5643
5620
|
function qo(e) {
|
|
5644
5621
|
if (typeof WeakMap != "function")
|
|
@@ -5800,7 +5777,7 @@ function a0(e = {}) {
|
|
|
5800
5777
|
};
|
|
5801
5778
|
}
|
|
5802
5779
|
function s0(e, t) {
|
|
5803
|
-
return
|
|
5780
|
+
return B({
|
|
5804
5781
|
toolbar: {
|
|
5805
5782
|
minHeight: 56,
|
|
5806
5783
|
[e.up("xs")]: {
|
|
@@ -5827,7 +5804,7 @@ var u0 = X.darken = Gr;
|
|
|
5827
5804
|
X.decomposeColor = de;
|
|
5828
5805
|
X.emphasize = ti;
|
|
5829
5806
|
var Nn = X.getContrastRatio = g0;
|
|
5830
|
-
X.getLuminance =
|
|
5807
|
+
X.getLuminance = Bt;
|
|
5831
5808
|
X.hexToRgb = Xo;
|
|
5832
5809
|
X.hslToRgb = Qo;
|
|
5833
5810
|
var d0 = X.lighten = qr;
|
|
@@ -5917,13 +5894,13 @@ function Qo(e) {
|
|
|
5917
5894
|
values: c
|
|
5918
5895
|
});
|
|
5919
5896
|
}
|
|
5920
|
-
function
|
|
5897
|
+
function Bt(e) {
|
|
5921
5898
|
e = de(e);
|
|
5922
5899
|
let t = e.type === "hsl" || e.type === "hsla" ? de(Qo(e)).values : e.values;
|
|
5923
5900
|
return t = t.map((r) => (e.type !== "color" && (r /= 255), r <= 0.03928 ? r / 12.92 : ((r + 0.055) / 1.055) ** 2.4)), Number((0.2126 * t[0] + 0.7152 * t[1] + 0.0722 * t[2]).toFixed(3));
|
|
5924
5901
|
}
|
|
5925
5902
|
function g0(e, t) {
|
|
5926
|
-
const r =
|
|
5903
|
+
const r = Bt(e), n = Bt(t);
|
|
5927
5904
|
return (Math.max(r, n) + 0.05) / (Math.min(r, n) + 0.05);
|
|
5928
5905
|
}
|
|
5929
5906
|
function ei(e, t) {
|
|
@@ -5970,7 +5947,7 @@ function b0(e, t, r) {
|
|
|
5970
5947
|
}
|
|
5971
5948
|
}
|
|
5972
5949
|
function ti(e, t = 0.15) {
|
|
5973
|
-
return
|
|
5950
|
+
return Bt(e) > 0.5 ? Gr(e, t) : qr(e, t);
|
|
5974
5951
|
}
|
|
5975
5952
|
function x0(e, t, r) {
|
|
5976
5953
|
try {
|
|
@@ -6198,7 +6175,7 @@ function O0(e) {
|
|
|
6198
6175
|
lightShade: _ = 300,
|
|
6199
6176
|
darkShade: w = 700
|
|
6200
6177
|
}) => {
|
|
6201
|
-
if (s =
|
|
6178
|
+
if (s = B({}, s), !s.main && s[x] && (s.main = s[x]), !s.hasOwnProperty("main"))
|
|
6202
6179
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${y ? ` (${y})` : ""} provided to augmentColor(color) is invalid.
|
|
6203
6180
|
The color object needs to have a \`main\` property or a \`${x}\` property.` : dt(11, y ? ` (${y})` : "", x));
|
|
6204
6181
|
if (typeof s.main != "string")
|
|
@@ -6221,9 +6198,9 @@ const theme2 = createTheme({ palette: {
|
|
|
6221
6198
|
dark: dr,
|
|
6222
6199
|
light: Pn
|
|
6223
6200
|
};
|
|
6224
|
-
return process.env.NODE_ENV !== "production" && (v[t] || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), we(
|
|
6201
|
+
return process.env.NODE_ENV !== "production" && (v[t] || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), we(B({
|
|
6225
6202
|
// A collection of common colors.
|
|
6226
|
-
common:
|
|
6203
|
+
common: B({}, pt),
|
|
6227
6204
|
// prevent mutable object.
|
|
6228
6205
|
// The palette mode, can be light or dark.
|
|
6229
6206
|
mode: t,
|
|
@@ -6300,7 +6277,7 @@ function N0(e, t) {
|
|
|
6300
6277
|
pxToRem: h
|
|
6301
6278
|
} = r, m = Ne(r, $0);
|
|
6302
6279
|
process.env.NODE_ENV !== "production" && (typeof o != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof d != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
|
|
6303
|
-
const v = o / 14, p = h || ((x) => `${x / d * v}rem`), s = (x, _, w, E, b) =>
|
|
6280
|
+
const v = o / 14, p = h || ((x) => `${x / d * v}rem`), s = (x, _, w, E, b) => B({
|
|
6304
6281
|
fontFamily: n,
|
|
6305
6282
|
fontWeight: x,
|
|
6306
6283
|
fontSize: p(_),
|
|
@@ -6331,7 +6308,7 @@ function N0(e, t) {
|
|
|
6331
6308
|
letterSpacing: "inherit"
|
|
6332
6309
|
}
|
|
6333
6310
|
};
|
|
6334
|
-
return we(
|
|
6311
|
+
return we(B({
|
|
6335
6312
|
htmlFontSize: d,
|
|
6336
6313
|
pxToRem: p,
|
|
6337
6314
|
fontFamily: n,
|
|
@@ -6359,7 +6336,7 @@ const D0 = ["none", K(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), K(0, 3, 1, -2, 0, 2,
|
|
|
6359
6336
|
easeIn: "cubic-bezier(0.4, 0, 1, 1)",
|
|
6360
6337
|
// The sharp curve is used by objects that may return to the screen at any time.
|
|
6361
6338
|
sharp: "cubic-bezier(0.4, 0, 0.6, 1)"
|
|
6362
|
-
},
|
|
6339
|
+
}, j0 = {
|
|
6363
6340
|
shortest: 150,
|
|
6364
6341
|
shorter: 200,
|
|
6365
6342
|
short: 250,
|
|
@@ -6375,16 +6352,16 @@ const D0 = ["none", K(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), K(0, 3, 1, -2, 0, 2,
|
|
|
6375
6352
|
function Ln(e) {
|
|
6376
6353
|
return `${Math.round(e)}ms`;
|
|
6377
6354
|
}
|
|
6378
|
-
function
|
|
6355
|
+
function B0(e) {
|
|
6379
6356
|
if (!e)
|
|
6380
6357
|
return 0;
|
|
6381
6358
|
const t = e / 36;
|
|
6382
6359
|
return Math.round((4 + 15 * t ** 0.25 + t / 5) * 10);
|
|
6383
6360
|
}
|
|
6384
6361
|
function H0(e) {
|
|
6385
|
-
const t =
|
|
6386
|
-
return
|
|
6387
|
-
getAutoHeightDuration:
|
|
6362
|
+
const t = B({}, L0, e.easing), r = B({}, j0, e.duration);
|
|
6363
|
+
return B({
|
|
6364
|
+
getAutoHeightDuration: B0,
|
|
6388
6365
|
create: (o = ["all"], i = {}) => {
|
|
6389
6366
|
const {
|
|
6390
6367
|
duration: a = r.standard,
|
|
@@ -6420,9 +6397,7 @@ function U0(e = {}, ...t) {
|
|
|
6420
6397
|
transitions: o = {},
|
|
6421
6398
|
typography: i = {}
|
|
6422
6399
|
} = e, a = Ne(e, W0);
|
|
6423
|
-
if (e.vars
|
|
6424
|
-
// `generateCssVars` is the closest identifier for checking that the `options` is a result of `extendTheme` with CSS variables so that user can create new theme for nested ThemeProvider.
|
|
6425
|
-
e.generateCssVars === void 0)
|
|
6400
|
+
if (e.vars)
|
|
6426
6401
|
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name." : dt(18));
|
|
6427
6402
|
const l = O0(n), c = Go(e);
|
|
6428
6403
|
let d = we(c, {
|
|
@@ -6432,7 +6407,7 @@ function U0(e = {}, ...t) {
|
|
|
6432
6407
|
shadows: D0.slice(),
|
|
6433
6408
|
typography: N0(l, i),
|
|
6434
6409
|
transitions: H0(o),
|
|
6435
|
-
zIndex:
|
|
6410
|
+
zIndex: B({}, V0)
|
|
6436
6411
|
});
|
|
6437
6412
|
if (d = we(d, a), d = t.reduce((f, h) => we(f, h), d), process.env.NODE_ENV !== "production") {
|
|
6438
6413
|
const f = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], h = (m, v) => {
|
|
@@ -6458,7 +6433,7 @@ function U0(e = {}, ...t) {
|
|
|
6458
6433
|
v && m.indexOf("Mui") === 0 && h(v, m);
|
|
6459
6434
|
});
|
|
6460
6435
|
}
|
|
6461
|
-
return d.unstable_sxConfig =
|
|
6436
|
+
return d.unstable_sxConfig = B({}, St, a == null ? void 0 : a.unstable_sxConfig), d.unstable_sx = function(h) {
|
|
6462
6437
|
return or({
|
|
6463
6438
|
sx: h,
|
|
6464
6439
|
theme: this
|
|
@@ -6540,7 +6515,7 @@ const J0 = ["children", "className", "color", "component", "fontSize", "htmlColo
|
|
|
6540
6515
|
inheritViewBox: f = !1,
|
|
6541
6516
|
titleAccess: h,
|
|
6542
6517
|
viewBox: m = "0 0 24 24"
|
|
6543
|
-
} = n, v = Ne(n, J0), p = /* @__PURE__ */ N.isValidElement(o) && o.type === "svg", s =
|
|
6518
|
+
} = n, v = Ne(n, J0), p = /* @__PURE__ */ N.isValidElement(o) && o.type === "svg", s = B({}, n, {
|
|
6544
6519
|
color: a,
|
|
6545
6520
|
component: l,
|
|
6546
6521
|
fontSize: c,
|
|
@@ -6551,7 +6526,7 @@ const J0 = ["children", "className", "color", "component", "fontSize", "htmlColo
|
|
|
6551
6526
|
}), y = {};
|
|
6552
6527
|
f || (y.viewBox = m);
|
|
6553
6528
|
const x = Q0(s);
|
|
6554
|
-
return /* @__PURE__ */ M(e1,
|
|
6529
|
+
return /* @__PURE__ */ M(e1, B({
|
|
6555
6530
|
as: l,
|
|
6556
6531
|
className: gi(x.root, i),
|
|
6557
6532
|
focusable: "false",
|
|
@@ -6641,7 +6616,7 @@ process.env.NODE_ENV !== "production" && (Ht.propTypes = {
|
|
|
6641
6616
|
Ht.muiName = "SvgIcon";
|
|
6642
6617
|
function ri(e, t) {
|
|
6643
6618
|
function r(n, o) {
|
|
6644
|
-
return /* @__PURE__ */ u(Ht,
|
|
6619
|
+
return /* @__PURE__ */ u(Ht, B({
|
|
6645
6620
|
"data-testid": `${t}Icon`,
|
|
6646
6621
|
ref: o
|
|
6647
6622
|
}, n, {
|
|
@@ -6678,11 +6653,11 @@ const t1 = {
|
|
|
6678
6653
|
}, Symbol.toStringTag, { value: "Module" })), n1 = ri(/* @__PURE__ */ u("path", {
|
|
6679
6654
|
d: "m7 10 5 5 5-5z"
|
|
6680
6655
|
}), "ArrowDropDown");
|
|
6681
|
-
var
|
|
6656
|
+
var jn = Number.isNaN || function(t) {
|
|
6682
6657
|
return typeof t == "number" && t !== t;
|
|
6683
6658
|
};
|
|
6684
6659
|
function o1(e, t) {
|
|
6685
|
-
return !!(e === t ||
|
|
6660
|
+
return !!(e === t || jn(e) && jn(t));
|
|
6686
6661
|
}
|
|
6687
6662
|
function i1(e, t) {
|
|
6688
6663
|
if (e.length !== t.length)
|
|
@@ -6702,7 +6677,7 @@ function fr(e, t) {
|
|
|
6702
6677
|
}
|
|
6703
6678
|
return a;
|
|
6704
6679
|
}
|
|
6705
|
-
var a1 = typeof performance == "object" && typeof performance.now == "function",
|
|
6680
|
+
var a1 = typeof performance == "object" && typeof performance.now == "function", Bn = a1 ? function() {
|
|
6706
6681
|
return performance.now();
|
|
6707
6682
|
} : function() {
|
|
6708
6683
|
return Date.now();
|
|
@@ -6711,9 +6686,9 @@ function Hn(e) {
|
|
|
6711
6686
|
cancelAnimationFrame(e.id);
|
|
6712
6687
|
}
|
|
6713
6688
|
function s1(e, t) {
|
|
6714
|
-
var r =
|
|
6689
|
+
var r = Bn();
|
|
6715
6690
|
function n() {
|
|
6716
|
-
|
|
6691
|
+
Bn() - r >= t ? e.call(null) : o.id = requestAnimationFrame(n);
|
|
6717
6692
|
}
|
|
6718
6693
|
var o = {
|
|
6719
6694
|
id: requestAnimationFrame(n)
|
|
@@ -6890,9 +6865,9 @@ function u1(e) {
|
|
|
6890
6865
|
}, v.componentWillUnmount = function() {
|
|
6891
6866
|
this._resetIsScrollingTimeoutId !== null && Hn(this._resetIsScrollingTimeoutId);
|
|
6892
6867
|
}, v.render = function() {
|
|
6893
|
-
var s = this.props, y = s.children, x = s.className, _ = s.direction, w = s.height, E = s.innerRef, b = s.innerElementType, g = s.innerTagName, S = s.itemCount, I = s.itemData, k = s.itemKey, O = k === void 0 ? c1 : k, C = s.layout, $ = s.outerElementType, P = s.outerTagName, U = s.style, re = s.useIsScrolling, he = s.width, ze = this.state.isScrolling, Ee = _ === "horizontal" || C === "horizontal", at = Ee ? this._onScrollHorizontal : this._onScrollVertical, ke = this._getRangeToRender(),
|
|
6868
|
+
var s = this.props, y = s.children, x = s.className, _ = s.direction, w = s.height, E = s.innerRef, b = s.innerElementType, g = s.innerTagName, S = s.itemCount, I = s.itemData, k = s.itemKey, O = k === void 0 ? c1 : k, C = s.layout, $ = s.outerElementType, P = s.outerTagName, U = s.style, re = s.useIsScrolling, he = s.width, ze = this.state.isScrolling, Ee = _ === "horizontal" || C === "horizontal", at = Ee ? this._onScrollHorizontal : this._onScrollVertical, ke = this._getRangeToRender(), je = ke[0], Be = ke[1], He = [];
|
|
6894
6869
|
if (S > 0)
|
|
6895
|
-
for (var ge =
|
|
6870
|
+
for (var ge = je; ge <= Be; ge++)
|
|
6896
6871
|
He.push(sr(y, {
|
|
6897
6872
|
data: I,
|
|
6898
6873
|
key: O(ge, I),
|
|
@@ -6905,7 +6880,7 @@ function u1(e) {
|
|
|
6905
6880
|
className: x,
|
|
6906
6881
|
onScroll: at,
|
|
6907
6882
|
ref: this._outerRefSetter,
|
|
6908
|
-
style:
|
|
6883
|
+
style: B({
|
|
6909
6884
|
position: "relative",
|
|
6910
6885
|
height: w,
|
|
6911
6886
|
width: he,
|