@ukpc-lib/react 0.9.13 → 0.10.1
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/index.cjs +19 -19
- package/dist/components/index.js +76 -73
- package/dist/{index.module-8d2829d5.cjs → index.module-7e4f51f2.cjs} +87 -86
- package/dist/{index.module-5c6646b7.js → index.module-eda9cb3b.js} +3515 -3502
- package/dist/share/index.cjs +1 -1
- package/dist/share/index.js +1 -1
- package/package.json +108 -108
- package/web-components-bundle/favorite-menu/index.js +1 -1
- package/web-components-bundle/global-menu/index.js +1 -1
- package/web-components-bundle/global-topbar/index.js +1 -1
- package/web-components-bundle/has-permission/index.js +1 -1
- package/web-components-bundle/{index-9bece117.js → index-c429861b.js} +4940 -4922
package/dist/components/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as N, Fragment as be, jsx as c } from "react/jsx-runtime";
|
|
2
|
-
import * as
|
|
2
|
+
import * as j from "react";
|
|
3
3
|
import ge, { useState as G, useContext as _e, useEffect as Q, useCallback as We, useRef as ve, forwardRef as Eo, createElement as tr, PureComponent as Co } from "react";
|
|
4
|
-
import { c as Te, a as Ke, C as ke, p as Oo, L as Pr, u as No, b as To, S as ko, d as Io, e as $o, Q as $n, f as yt, g as hr, h as Mo, s as vt, _ as z, i as Se, P as k, j as he, k as Ao, o as Po, l as Ro, m as Do, n as Rr, q as wt, r as Dr, I as zo, t as Fo, v as zr, D as
|
|
5
|
-
import { H as
|
|
4
|
+
import { c as Te, a as Ke, C as ke, p as Oo, L as Pr, u as No, b as To, S as ko, d as Io, e as $o, Q as $n, f as yt, g as hr, h as Mo, s as vt, _ as z, i as Se, P as k, j as he, k as Ao, o as Po, l as Ro, m as Do, n as Rr, q as wt, r as Dr, I as zo, t as Fo, v as zr, D as jo, w as Mn, x as An, y as Lo, z as Vo, A as Ho, B as rt } from "../index.module-eda9cb3b.js";
|
|
5
|
+
import { H as jc, G as Lc, K as Vc, E as Hc, F as Bc, J as Wc } from "../index.module-eda9cb3b.js";
|
|
6
6
|
import Z from "moment";
|
|
7
7
|
import { Stack as te, Dialog as Bo, DialogTitle as Wo, Typography as ye, DialogContent as Uo, DialogActions as Yo, Button as kt, Box as qo, ClickAwayListener as Go, TextField as Pn, IconButton as Ko, CircularProgress as Zo, Fade as Jo, Paper as Xo, Checkbox as Qo } from "@mui/material";
|
|
8
8
|
import "@r2wc/react-to-web-component";
|
|
@@ -507,7 +507,7 @@ function ii({
|
|
|
507
507
|
) })
|
|
508
508
|
] });
|
|
509
509
|
}
|
|
510
|
-
const ai = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTciIHZpZXdCb3g9IjAgMCAxNiAxNyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iNy44OTIyMiIgY3k9IjguMzQ5MDEiIHI9IjUuNTk5MDEiIHN0cm9rZT0iIzg1ODU4QSIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8cGF0aCBkPSJNMTIuNjQyOCAxMy4xODU1TDE0LjQ1NjggMTQuOTk5NSIgc3Ryb2tlPSIjODU4NThBIiBzdHJva2Utd2lkdGg9IjEuNSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=", si = `.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{
|
|
510
|
+
const ai = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTciIHZpZXdCb3g9IjAgMCAxNiAxNyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iNy44OTIyMiIgY3k9IjguMzQ5MDEiIHI9IjUuNTk5MDEiIHN0cm9rZT0iIzg1ODU4QSIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8cGF0aCBkPSJNMTIuNjQyOCAxMy4xODU1TDE0LjQ1NjggMTQuOTk5NSIgc3Ryb2tlPSIjODU4NThBIiBzdHJva2Utd2lkdGg9IjEuNSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=", si = `.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:#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}.topbar-search-label{display:flex;position:relative}.topbar-search-input{color:#292929;border-radius:3px;height:40px;outline:none;width:223px;padding:5px 10px 5px 33px;font-size:14px;text-overflow:ellipsis}#icon{position:absolute;left:9px;top:8px;width:16px;height:24px}
|
|
511
511
|
`, li = `: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__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}
|
|
512
512
|
`, ci = `._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}
|
|
513
513
|
`, di = `._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}
|
|
@@ -723,6 +723,8 @@ function wi({ classNames: e = "", ...t }) {
|
|
|
723
723
|
style: { zIndex: 1202 },
|
|
724
724
|
id: "topbar-wrapper",
|
|
725
725
|
children: [
|
|
726
|
+
/* @__PURE__ */ c("script", { src: `${o}/stella/js/services/GlobalSearchService.js?v=${Date.now()}`, type: "text/javascript" }),
|
|
727
|
+
/* @__PURE__ */ c("input", { type: "hidden", id: "idBaseUrl", value: o }),
|
|
726
728
|
/* @__PURE__ */ c(
|
|
727
729
|
"nav",
|
|
728
730
|
{
|
|
@@ -744,6 +746,7 @@ function wi({ classNames: e = "", ...t }) {
|
|
|
744
746
|
className: "topbar-search-input",
|
|
745
747
|
id: "GlobalSearchInput",
|
|
746
748
|
placeholder: "Search",
|
|
749
|
+
autoComplete: "off",
|
|
747
750
|
onChange: (p) => {
|
|
748
751
|
const _ = p.target.value;
|
|
749
752
|
S(_);
|
|
@@ -1546,11 +1549,11 @@ var ar = { exports: {} }, A = {};
|
|
|
1546
1549
|
* This source code is licensed under the MIT license found in the
|
|
1547
1550
|
* LICENSE file in the root directory of this source tree.
|
|
1548
1551
|
*/
|
|
1549
|
-
var
|
|
1552
|
+
var jr;
|
|
1550
1553
|
function $i() {
|
|
1551
|
-
if (
|
|
1554
|
+
if (jr)
|
|
1552
1555
|
return A;
|
|
1553
|
-
|
|
1556
|
+
jr = 1;
|
|
1554
1557
|
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"), s = Symbol.for("react.server_context"), d = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), b = Symbol.for("react.offscreen"), y;
|
|
1555
1558
|
y = Symbol.for("react.module.reference");
|
|
1556
1559
|
function l(f) {
|
|
@@ -1625,9 +1628,9 @@ var P = {};
|
|
|
1625
1628
|
* This source code is licensed under the MIT license found in the
|
|
1626
1629
|
* LICENSE file in the root directory of this source tree.
|
|
1627
1630
|
*/
|
|
1628
|
-
var
|
|
1631
|
+
var Lr;
|
|
1629
1632
|
function Mi() {
|
|
1630
|
-
return
|
|
1633
|
+
return Lr || (Lr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1631
1634
|
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"), s = Symbol.for("react.server_context"), d = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), b = Symbol.for("react.offscreen"), y = !1, l = !1, f = !1, v = !1, w = !1, x;
|
|
1632
1635
|
x = Symbol.for("react.module.reference");
|
|
1633
1636
|
function S(O) {
|
|
@@ -1760,7 +1763,7 @@ const Di = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1760
1763
|
__proto__: null,
|
|
1761
1764
|
default: Ie
|
|
1762
1765
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1763
|
-
function
|
|
1766
|
+
function jn(e, t) {
|
|
1764
1767
|
const r = z({}, t);
|
|
1765
1768
|
return Object.keys(e).forEach((n) => {
|
|
1766
1769
|
if (n.toString().match(/^(components|slots)$/))
|
|
@@ -1768,7 +1771,7 @@ function Ln(e, t) {
|
|
|
1768
1771
|
else if (n.toString().match(/^(componentsProps|slotProps)$/)) {
|
|
1769
1772
|
const o = e[n] || {}, i = t[n];
|
|
1770
1773
|
r[n] = {}, !i || !Object.keys(i) ? r[n] = o : !o || !Object.keys(o) ? r[n] = i : (r[n] = z({}, i), Object.keys(o).forEach((a) => {
|
|
1771
|
-
r[n][a] =
|
|
1774
|
+
r[n][a] = jn(o[a], i[a]);
|
|
1772
1775
|
}));
|
|
1773
1776
|
} else
|
|
1774
1777
|
r[n] === void 0 && (r[n] = e[n]);
|
|
@@ -1803,7 +1806,7 @@ const Br = (e) => e, Fi = () => {
|
|
|
1803
1806
|
e = Br;
|
|
1804
1807
|
}
|
|
1805
1808
|
};
|
|
1806
|
-
},
|
|
1809
|
+
}, ji = Fi(), Li = ji, Vi = {
|
|
1807
1810
|
active: "active",
|
|
1808
1811
|
checked: "checked",
|
|
1809
1812
|
completed: "completed",
|
|
@@ -1819,7 +1822,7 @@ const Br = (e) => e, Fi = () => {
|
|
|
1819
1822
|
};
|
|
1820
1823
|
function gr(e, t, r = "Mui") {
|
|
1821
1824
|
const n = Vi[t];
|
|
1822
|
-
return n ? `${r}-${n}` : `${
|
|
1825
|
+
return n ? `${r}-${n}` : `${Li.generate(e)}-${t}`;
|
|
1823
1826
|
}
|
|
1824
1827
|
function Hi(e, t, r = "Mui") {
|
|
1825
1828
|
const n = {};
|
|
@@ -1840,7 +1843,7 @@ function Ui(e) {
|
|
|
1840
1843
|
name: r,
|
|
1841
1844
|
props: n
|
|
1842
1845
|
} = e;
|
|
1843
|
-
return !t || !t.components || !t.components[r] || !t.components[r].defaultProps ? n :
|
|
1846
|
+
return !t || !t.components || !t.components[r] || !t.components[r].defaultProps ? n : jn(t.components[r].defaultProps, n);
|
|
1844
1847
|
}
|
|
1845
1848
|
const Yi = ["values", "unit", "step"], qi = (e) => {
|
|
1846
1849
|
const t = Object.keys(e).map((r) => ({
|
|
@@ -1851,7 +1854,7 @@ const Yi = ["values", "unit", "step"], qi = (e) => {
|
|
|
1851
1854
|
[n.key]: n.val
|
|
1852
1855
|
}), {});
|
|
1853
1856
|
};
|
|
1854
|
-
function
|
|
1857
|
+
function Ln(e) {
|
|
1855
1858
|
const {
|
|
1856
1859
|
// The breakpoint **start** at this value.
|
|
1857
1860
|
// For instance with the first breakpoint xs: [xs, sm).
|
|
@@ -2090,7 +2093,7 @@ function se(e, t) {
|
|
|
2090
2093
|
transform: t
|
|
2091
2094
|
});
|
|
2092
2095
|
}
|
|
2093
|
-
const sa = se("border", ie), la = se("borderTop", ie), ca = se("borderRight", ie), da = se("borderBottom", ie), ua = se("borderLeft", ie), fa = se("borderColor"), ha = se("borderTopColor"), ma = se("borderRightColor"), pa = se("borderBottomColor"), ga = se("borderLeftColor"), ya = se("outline", ie), va = se("outlineColor"),
|
|
2096
|
+
const sa = se("border", ie), la = se("borderTop", ie), ca = se("borderRight", ie), da = se("borderBottom", ie), ua = se("borderLeft", ie), fa = se("borderColor"), ha = se("borderTopColor"), ma = se("borderRightColor"), pa = se("borderBottomColor"), ga = se("borderLeftColor"), ya = se("outline", ie), va = se("outlineColor"), jt = (e) => {
|
|
2094
2097
|
if (e.borderRadius !== void 0 && e.borderRadius !== null) {
|
|
2095
2098
|
const t = ut(e.theme, "shape.borderRadius", 4, "borderRadius"), r = (n) => ({
|
|
2096
2099
|
borderRadius: ft(t, n)
|
|
@@ -2099,12 +2102,12 @@ const sa = se("border", ie), la = se("borderTop", ie), ca = se("borderRight", ie
|
|
|
2099
2102
|
}
|
|
2100
2103
|
return null;
|
|
2101
2104
|
};
|
|
2102
|
-
|
|
2105
|
+
jt.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
2103
2106
|
borderRadius: Ee
|
|
2104
2107
|
} : {};
|
|
2105
|
-
|
|
2106
|
-
Ft(sa, la, ca, da, ua, fa, ha, ma, pa, ga,
|
|
2107
|
-
const
|
|
2108
|
+
jt.filterProps = ["borderRadius"];
|
|
2109
|
+
Ft(sa, la, ca, da, ua, fa, ha, ma, pa, ga, jt, ya, va);
|
|
2110
|
+
const Lt = (e) => {
|
|
2108
2111
|
if (e.gap !== void 0 && e.gap !== null) {
|
|
2109
2112
|
const t = ut(e.theme, "spacing", 8, "gap"), r = (n) => ({
|
|
2110
2113
|
gap: ft(t, n)
|
|
@@ -2113,10 +2116,10 @@ const jt = (e) => {
|
|
|
2113
2116
|
}
|
|
2114
2117
|
return null;
|
|
2115
2118
|
};
|
|
2116
|
-
|
|
2119
|
+
Lt.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
2117
2120
|
gap: Ee
|
|
2118
2121
|
} : {};
|
|
2119
|
-
|
|
2122
|
+
Lt.filterProps = ["gap"];
|
|
2120
2123
|
const Vt = (e) => {
|
|
2121
2124
|
if (e.columnGap !== void 0 && e.columnGap !== null) {
|
|
2122
2125
|
const t = ut(e.theme, "spacing", 8, "columnGap"), r = (n) => ({
|
|
@@ -2162,7 +2165,7 @@ const ba = U({
|
|
|
2162
2165
|
}), Na = U({
|
|
2163
2166
|
prop: "gridArea"
|
|
2164
2167
|
});
|
|
2165
|
-
Ft(
|
|
2168
|
+
Ft(Lt, Vt, Ht, ba, xa, wa, _a, Sa, Ea, Ca, Oa, Na);
|
|
2166
2169
|
function Ue(e, t) {
|
|
2167
2170
|
return t === "grey" ? t : e;
|
|
2168
2171
|
}
|
|
@@ -2278,7 +2281,7 @@ const za = {
|
|
|
2278
2281
|
},
|
|
2279
2282
|
borderRadius: {
|
|
2280
2283
|
themeKey: "shape.borderRadius",
|
|
2281
|
-
style:
|
|
2284
|
+
style: jt
|
|
2282
2285
|
},
|
|
2283
2286
|
// palette
|
|
2284
2287
|
color: {
|
|
@@ -2445,7 +2448,7 @@ const za = {
|
|
|
2445
2448
|
justifySelf: {},
|
|
2446
2449
|
// grid
|
|
2447
2450
|
gap: {
|
|
2448
|
-
style:
|
|
2451
|
+
style: Lt
|
|
2449
2452
|
},
|
|
2450
2453
|
rowGap: {
|
|
2451
2454
|
style: Ht
|
|
@@ -2521,7 +2524,7 @@ function Fa(...e) {
|
|
|
2521
2524
|
const t = e.reduce((n, o) => n.concat(Object.keys(o)), []), r = new Set(t);
|
|
2522
2525
|
return e.every((n) => r.size === Object.keys(n).length);
|
|
2523
2526
|
}
|
|
2524
|
-
function
|
|
2527
|
+
function ja(e, t) {
|
|
2525
2528
|
return typeof e == "function" ? e(t) : e;
|
|
2526
2529
|
}
|
|
2527
2530
|
function Bn() {
|
|
@@ -2574,7 +2577,7 @@ function Bn() {
|
|
|
2574
2577
|
const h = Ji(i.breakpoints), m = Object.keys(h);
|
|
2575
2578
|
let g = h;
|
|
2576
2579
|
return Object.keys(u).forEach((b) => {
|
|
2577
|
-
const y =
|
|
2580
|
+
const y = ja(u[b], i);
|
|
2578
2581
|
if (y != null)
|
|
2579
2582
|
if (typeof y == "object")
|
|
2580
2583
|
if (a[b])
|
|
@@ -2607,14 +2610,14 @@ function Un(e, t) {
|
|
|
2607
2610
|
[r.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/, "*:where($1)")]: t
|
|
2608
2611
|
} : r.palette.mode === e ? t : {};
|
|
2609
2612
|
}
|
|
2610
|
-
const
|
|
2613
|
+
const La = ["breakpoints", "palette", "spacing", "shape"];
|
|
2611
2614
|
function xr(e = {}, ...t) {
|
|
2612
2615
|
const {
|
|
2613
2616
|
breakpoints: r = {},
|
|
2614
2617
|
palette: n = {},
|
|
2615
2618
|
spacing: o,
|
|
2616
2619
|
shape: i = {}
|
|
2617
|
-
} = e, a = Se(e,
|
|
2620
|
+
} = e, a = Se(e, La), s = Ln(r), d = aa(o);
|
|
2618
2621
|
let u = ue({
|
|
2619
2622
|
breakpoints: s,
|
|
2620
2623
|
direction: "ltr",
|
|
@@ -2636,7 +2639,7 @@ function xr(e = {}, ...t) {
|
|
|
2636
2639
|
const Va = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2637
2640
|
__proto__: null,
|
|
2638
2641
|
default: xr,
|
|
2639
|
-
private_createBreakpoints:
|
|
2642
|
+
private_createBreakpoints: Ln,
|
|
2640
2643
|
unstable_applyStyles: Un
|
|
2641
2644
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
2642
2645
|
function Yn(e) {
|
|
@@ -3709,9 +3712,9 @@ var le, Ge = function(t, r, n) {
|
|
|
3709
3712
|
styles: i,
|
|
3710
3713
|
next: le
|
|
3711
3714
|
};
|
|
3712
|
-
},
|
|
3715
|
+
}, js = function(t) {
|
|
3713
3716
|
return t();
|
|
3714
|
-
}, ao =
|
|
3717
|
+
}, ao = j["useInsertionEffect"] ? j["useInsertionEffect"] : !1, Nr = ao || js, rn = ao || j.useLayoutEffect, Ls = {}.hasOwnProperty, Tr = /* @__PURE__ */ j.createContext(
|
|
3715
3718
|
// we're doing this to avoid preconstruct's dead code elimination in this one case
|
|
3716
3719
|
// because this module is primarily intended for the browser and node
|
|
3717
3720
|
// but it's also required in react native and similar environments sometimes
|
|
@@ -3728,7 +3731,7 @@ var Vs = Tr.Provider, Gt = function(t) {
|
|
|
3728
3731
|
var o = _e(Tr);
|
|
3729
3732
|
return t(r, o, n);
|
|
3730
3733
|
});
|
|
3731
|
-
}, $e = /* @__PURE__ */
|
|
3734
|
+
}, $e = /* @__PURE__ */ j.createContext({});
|
|
3732
3735
|
process.env.NODE_ENV !== "production" && ($e.displayName = "EmotionThemeContext");
|
|
3733
3736
|
var nn = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", on = "__EMOTION_LABEL_PLEASE_DO_NOT_USE__", Hs = function(t) {
|
|
3734
3737
|
var r = t.cache, n = t.serialized, o = t.isStringTag;
|
|
@@ -3740,7 +3743,7 @@ var nn = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", on = "__EMOTION_LABEL_PLEASE_DO_N
|
|
|
3740
3743
|
typeof n == "string" && t.registered[n] !== void 0 && (n = t.registered[n]);
|
|
3741
3744
|
var o = e[nn], i = [n], a = "";
|
|
3742
3745
|
typeof e.className == "string" ? a = Cr(t.registered, i, e.className) : e.className != null && (a = e.className + " ");
|
|
3743
|
-
var s = Ge(i, void 0,
|
|
3746
|
+
var s = Ge(i, void 0, j.useContext($e));
|
|
3744
3747
|
if (process.env.NODE_ENV !== "production" && s.name.indexOf("-") === -1) {
|
|
3745
3748
|
var d = e[on];
|
|
3746
3749
|
d && (s = Ge([s, "label:" + d + ";"]));
|
|
@@ -3748,12 +3751,12 @@ var nn = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", on = "__EMOTION_LABEL_PLEASE_DO_N
|
|
|
3748
3751
|
a += t.key + "-" + s.name;
|
|
3749
3752
|
var u = {};
|
|
3750
3753
|
for (var h in e)
|
|
3751
|
-
|
|
3752
|
-
return u.ref = r, u.className = a, /* @__PURE__ */
|
|
3754
|
+
Ls.call(e, h) && h !== "css" && h !== nn && (process.env.NODE_ENV === "production" || h !== on) && (u[h] = e[h]);
|
|
3755
|
+
return u.ref = r, u.className = a, /* @__PURE__ */ j.createElement(j.Fragment, null, /* @__PURE__ */ j.createElement(Hs, {
|
|
3753
3756
|
cache: t,
|
|
3754
3757
|
serialized: s,
|
|
3755
3758
|
isStringTag: typeof o == "string"
|
|
3756
|
-
}), /* @__PURE__ */
|
|
3759
|
+
}), /* @__PURE__ */ j.createElement(o, u));
|
|
3757
3760
|
});
|
|
3758
3761
|
process.env.NODE_ENV !== "production" && (Bs.displayName = "EmotionCssPropInternal");
|
|
3759
3762
|
var Ws = {
|
|
@@ -3892,7 +3895,7 @@ var Ws = {
|
|
|
3892
3895
|
// means it will be turned into a className prop
|
|
3893
3896
|
// $FlowFixMe I don't really want to add it to the type since it shouldn't be used
|
|
3894
3897
|
(e.className || e.css) && (console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"), an = !0);
|
|
3895
|
-
var r = e.styles, n = Ge([r], void 0,
|
|
3898
|
+
var r = e.styles, n = Ge([r], void 0, j.useContext($e)), o = j.useRef();
|
|
3896
3899
|
return rn(function() {
|
|
3897
3900
|
var i = t.key + "-global", a = new t.sheet.constructor({
|
|
3898
3901
|
key: i,
|
|
@@ -3985,9 +3988,9 @@ var Gs = function(t) {
|
|
|
3985
3988
|
}, a = {
|
|
3986
3989
|
css: o,
|
|
3987
3990
|
cx: i,
|
|
3988
|
-
theme:
|
|
3991
|
+
theme: j.useContext($e)
|
|
3989
3992
|
}, s = e.children(a);
|
|
3990
|
-
return r = !0, /* @__PURE__ */
|
|
3993
|
+
return r = !0, /* @__PURE__ */ j.createElement(j.Fragment, null, /* @__PURE__ */ j.createElement(Gs, {
|
|
3991
3994
|
cache: t,
|
|
3992
3995
|
serializedArr: n
|
|
3993
3996
|
}), s);
|
|
@@ -4049,7 +4052,7 @@ You may have forgotten to import it.`);
|
|
|
4049
4052
|
p = {};
|
|
4050
4053
|
for (var _ in l)
|
|
4051
4054
|
p[_] = l[_];
|
|
4052
|
-
p.theme =
|
|
4055
|
+
p.theme = j.useContext($e);
|
|
4053
4056
|
}
|
|
4054
4057
|
typeof l.className == "string" ? x = Cr(f.registered, S, l.className) : l.className != null && (x = l.className + " ");
|
|
4055
4058
|
var E = Ge(m.concat(S), f.registered, p);
|
|
@@ -4058,11 +4061,11 @@ You may have forgotten to import it.`);
|
|
|
4058
4061
|
for (var B in l)
|
|
4059
4062
|
u && B === "as" || // $FlowFixMe
|
|
4060
4063
|
I(B) && (T[B] = l[B]);
|
|
4061
|
-
return T.className = x, T.ref = v, /* @__PURE__ */
|
|
4064
|
+
return T.className = x, T.ref = v, /* @__PURE__ */ j.createElement(j.Fragment, null, /* @__PURE__ */ j.createElement(Qs, {
|
|
4062
4065
|
cache: f,
|
|
4063
4066
|
serialized: E,
|
|
4064
4067
|
isStringTag: typeof w == "string"
|
|
4065
|
-
}), /* @__PURE__ */
|
|
4068
|
+
}), /* @__PURE__ */ j.createElement(w, T));
|
|
4066
4069
|
});
|
|
4067
4070
|
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 = m, y.__emotion_forwardProp = s, Object.defineProperty(y, "toString", {
|
|
4068
4071
|
value: function() {
|
|
@@ -4288,7 +4291,7 @@ function a0(e) {
|
|
|
4288
4291
|
return Object.keys(e).length === 0;
|
|
4289
4292
|
}
|
|
4290
4293
|
function s0(e = null) {
|
|
4291
|
-
const t =
|
|
4294
|
+
const t = j.useContext($e);
|
|
4292
4295
|
return !t || a0(t) ? e : t;
|
|
4293
4296
|
}
|
|
4294
4297
|
const l0 = xr();
|
|
@@ -4614,7 +4617,7 @@ const I0 = {
|
|
|
4614
4617
|
A200: "#448aff",
|
|
4615
4618
|
A400: "#2979ff",
|
|
4616
4619
|
A700: "#2962ff"
|
|
4617
|
-
},
|
|
4620
|
+
}, je = D0, z0 = {
|
|
4618
4621
|
50: "#e1f5fe",
|
|
4619
4622
|
100: "#b3e5fc",
|
|
4620
4623
|
200: "#81d4fa",
|
|
@@ -4629,7 +4632,7 @@ const I0 = {
|
|
|
4629
4632
|
A200: "#40c4ff",
|
|
4630
4633
|
A400: "#00b0ff",
|
|
4631
4634
|
A700: "#0091ea"
|
|
4632
|
-
},
|
|
4635
|
+
}, Le = z0, F0 = {
|
|
4633
4636
|
50: "#e8f5e9",
|
|
4634
4637
|
100: "#c8e6c9",
|
|
4635
4638
|
200: "#a5d6a7",
|
|
@@ -4644,7 +4647,7 @@ const I0 = {
|
|
|
4644
4647
|
A200: "#69f0ae",
|
|
4645
4648
|
A400: "#00e676",
|
|
4646
4649
|
A700: "#00c853"
|
|
4647
|
-
}, Ve = F0,
|
|
4650
|
+
}, Ve = F0, j0 = ["mode", "contrastThreshold", "tonalOffset"], pn = {
|
|
4648
4651
|
// The colors used to style the text.
|
|
4649
4652
|
text: {
|
|
4650
4653
|
// The most important text.
|
|
@@ -4711,15 +4714,15 @@ function gn(e, t, r, n) {
|
|
|
4711
4714
|
const o = n.light || n, i = n.dark || n * 1.5;
|
|
4712
4715
|
e[t] || (e.hasOwnProperty(r) ? e[t] = e[r] : t === "light" ? e.light = b0(e.main, o) : t === "dark" && (e.dark = v0(e.main, i)));
|
|
4713
4716
|
}
|
|
4714
|
-
function
|
|
4717
|
+
function L0(e = "light") {
|
|
4715
4718
|
return e === "dark" ? {
|
|
4716
|
-
main:
|
|
4717
|
-
light:
|
|
4718
|
-
dark:
|
|
4719
|
+
main: je[200],
|
|
4720
|
+
light: je[50],
|
|
4721
|
+
dark: je[400]
|
|
4719
4722
|
} : {
|
|
4720
|
-
main:
|
|
4721
|
-
light:
|
|
4722
|
-
dark:
|
|
4723
|
+
main: je[700],
|
|
4724
|
+
light: je[400],
|
|
4725
|
+
dark: je[800]
|
|
4723
4726
|
};
|
|
4724
4727
|
}
|
|
4725
4728
|
function V0(e = "light") {
|
|
@@ -4746,13 +4749,13 @@ function H0(e = "light") {
|
|
|
4746
4749
|
}
|
|
4747
4750
|
function B0(e = "light") {
|
|
4748
4751
|
return e === "dark" ? {
|
|
4749
|
-
main:
|
|
4750
|
-
light:
|
|
4751
|
-
dark:
|
|
4752
|
+
main: Le[400],
|
|
4753
|
+
light: Le[300],
|
|
4754
|
+
dark: Le[700]
|
|
4752
4755
|
} : {
|
|
4753
|
-
main:
|
|
4754
|
-
light:
|
|
4755
|
-
dark:
|
|
4756
|
+
main: Le[700],
|
|
4757
|
+
light: Le[500],
|
|
4758
|
+
dark: Le[900]
|
|
4756
4759
|
};
|
|
4757
4760
|
}
|
|
4758
4761
|
function W0(e = "light") {
|
|
@@ -4783,7 +4786,7 @@ function Y0(e) {
|
|
|
4783
4786
|
mode: t = "light",
|
|
4784
4787
|
contrastThreshold: r = 3,
|
|
4785
4788
|
tonalOffset: n = 0.2
|
|
4786
|
-
} = e, o = Se(e,
|
|
4789
|
+
} = e, o = Se(e, j0), i = e.primary || L0(t), a = e.secondary || V0(t), s = e.error || H0(t), d = e.info || B0(t), u = e.success || W0(t), h = e.warning || U0(t);
|
|
4787
4790
|
function m(l) {
|
|
4788
4791
|
const f = hn(l, nr.text.primary) >= r ? nr.text.primary : pn.text.primary;
|
|
4789
4792
|
if (process.env.NODE_ENV !== "production") {
|
|
@@ -4948,10 +4951,10 @@ function K0(e, t) {
|
|
|
4948
4951
|
});
|
|
4949
4952
|
}
|
|
4950
4953
|
const Z0 = 0.2, J0 = 0.14, X0 = 0.12;
|
|
4951
|
-
function
|
|
4954
|
+
function L(...e) {
|
|
4952
4955
|
return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Z0})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${J0})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${X0})`].join(",");
|
|
4953
4956
|
}
|
|
4954
|
-
const Q0 = ["none",
|
|
4957
|
+
const Q0 = ["none", L(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), L(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), L(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), L(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), L(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), L(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), L(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), L(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), L(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), L(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), L(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), L(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), L(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), L(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), L(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), L(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), L(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), L(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), L(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), L(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), L(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), L(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), L(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), L(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], el = Q0, tl = ["duration", "easing", "delay"], rl = {
|
|
4955
4958
|
// This is the most common easing curve.
|
|
4956
4959
|
easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
|
|
4957
4960
|
// Objects enter the screen at full velocity from off-screen and
|
|
@@ -5251,11 +5254,11 @@ const Dl = (e) => wl(e) && e !== "classes", zl = xl({
|
|
|
5251
5254
|
defaultTheme: xo,
|
|
5252
5255
|
rootShouldForwardProp: Dl
|
|
5253
5256
|
}), Fl = zl;
|
|
5254
|
-
function
|
|
5257
|
+
function jl(e) {
|
|
5255
5258
|
return gr("MuiSvgIcon", e);
|
|
5256
5259
|
}
|
|
5257
5260
|
Hi("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorAction", "colorError", "colorDisabled", "fontSizeInherit", "fontSizeSmall", "fontSizeMedium", "fontSizeLarge"]);
|
|
5258
|
-
const
|
|
5261
|
+
const Ll = ["children", "className", "color", "component", "fontSize", "htmlColor", "inheritViewBox", "titleAccess", "viewBox"], Vl = (e) => {
|
|
5259
5262
|
const {
|
|
5260
5263
|
color: t,
|
|
5261
5264
|
fontSize: r,
|
|
@@ -5263,7 +5266,7 @@ const jl = ["children", "className", "color", "component", "fontSize", "htmlColo
|
|
|
5263
5266
|
} = e, o = {
|
|
5264
5267
|
root: ["root", t !== "inherit" && `color${Ie(t)}`, `fontSize${Ie(r)}`]
|
|
5265
5268
|
};
|
|
5266
|
-
return zi(o,
|
|
5269
|
+
return zi(o, jl, n);
|
|
5267
5270
|
}, Hl = Fl("svg", {
|
|
5268
5271
|
name: "MuiSvgIcon",
|
|
5269
5272
|
slot: "Root",
|
|
@@ -5303,7 +5306,7 @@ const jl = ["children", "className", "color", "component", "fontSize", "htmlColo
|
|
|
5303
5306
|
inherit: void 0
|
|
5304
5307
|
}[t.color]
|
|
5305
5308
|
};
|
|
5306
|
-
}), Mr = /* @__PURE__ */
|
|
5309
|
+
}), Mr = /* @__PURE__ */ j.forwardRef(function(t, r) {
|
|
5307
5310
|
const n = ul({
|
|
5308
5311
|
props: t,
|
|
5309
5312
|
name: "MuiSvgIcon"
|
|
@@ -5317,7 +5320,7 @@ const jl = ["children", "className", "color", "component", "fontSize", "htmlColo
|
|
|
5317
5320
|
inheritViewBox: h = !1,
|
|
5318
5321
|
titleAccess: m,
|
|
5319
5322
|
viewBox: g = "0 0 24 24"
|
|
5320
|
-
} = n, b = Se(n,
|
|
5323
|
+
} = n, b = Se(n, Ll), y = /* @__PURE__ */ j.isValidElement(o) && o.type === "svg", l = z({}, n, {
|
|
5321
5324
|
color: a,
|
|
5322
5325
|
component: s,
|
|
5323
5326
|
fontSize: d,
|
|
@@ -5426,7 +5429,7 @@ function Bl(e, t) {
|
|
|
5426
5429
|
children: e
|
|
5427
5430
|
}));
|
|
5428
5431
|
}
|
|
5429
|
-
return process.env.NODE_ENV !== "production" && (r.displayName = `${t}Icon`), r.muiName = _n.muiName, /* @__PURE__ */
|
|
5432
|
+
return process.env.NODE_ENV !== "production" && (r.displayName = `${t}Icon`), r.muiName = _n.muiName, /* @__PURE__ */ j.memo(/* @__PURE__ */ j.forwardRef(r));
|
|
5430
5433
|
}
|
|
5431
5434
|
const Wl = Bl(/* @__PURE__ */ c("path", {
|
|
5432
5435
|
d: "m7 10 5 5 5-5z"
|
|
@@ -6272,7 +6275,7 @@ function Ac(e) {
|
|
|
6272
6275
|
}, [e.value]);
|
|
6273
6276
|
const o = ve(null), i = ve(null), a = ve(null);
|
|
6274
6277
|
return console.log("inputRef", o), console.log("labelRef", i), /* @__PURE__ */ c(
|
|
6275
|
-
|
|
6278
|
+
jo,
|
|
6276
6279
|
{
|
|
6277
6280
|
initialSettings: {
|
|
6278
6281
|
autoApply: !0,
|
|
@@ -6432,7 +6435,7 @@ const In = (e) => {
|
|
|
6432
6435
|
measurementId: e.measurementId
|
|
6433
6436
|
})
|
|
6434
6437
|
);
|
|
6435
|
-
|
|
6438
|
+
Lo(r, {
|
|
6436
6439
|
// add your VPAID key here
|
|
6437
6440
|
serviceWorkerRegistration: t,
|
|
6438
6441
|
vapidKey: e.vapidKey
|
|
@@ -6589,8 +6592,8 @@ export {
|
|
|
6589
6592
|
kn as AutocompleteOption,
|
|
6590
6593
|
Pc as BaseCheckbox,
|
|
6591
6594
|
sc as CheckedIcon,
|
|
6592
|
-
|
|
6593
|
-
|
|
6595
|
+
jc as FavoriteMenu,
|
|
6596
|
+
Lc as GlobalMenu,
|
|
6594
6597
|
kc as HomePage,
|
|
6595
6598
|
Vc as IconComponent,
|
|
6596
6599
|
_i as LanguageDropdown,
|