@movable/ui 2.4.1 → 2.5.0
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/lib/index.d.ts +7 -0
- package/lib/index.mjs +176 -163
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.mjs
CHANGED
|
@@ -3,7 +3,7 @@ var hc = (e, t, r) => t in e ? mc(e, t, { enumerable: !0, configurable: !0, writ
|
|
|
3
3
|
var An = (e, t, r) => hc(e, typeof t != "symbol" ? t + "" : t, r);
|
|
4
4
|
import * as C from "react";
|
|
5
5
|
import pt, { useRef as bi, useState as Zt, useEffect as Es, Children as xi, isValidElement as dr, cloneElement as kr, forwardRef as gc } from "react";
|
|
6
|
-
import { Typography as ot, Tooltip as Ts, Chip as Qn, Box as Tt, Menu as Os, MenuItem as eo, Button as
|
|
6
|
+
import { Typography as ot, Tooltip as Ts, Chip as Qn, Box as Tt, Menu as Os, MenuItem as eo, Button as Nt, Dialog as vc, IconButton as Ei, Icon as Ir, DialogTitle as yc, Stack as Ye, DialogActions as bc, CircularProgress as Jo, styled as xc, Drawer as Ec, AppBar as Tc, useScrollTrigger as Oc, Breadcrumbs as Cc, Link as wc, RadioGroup as Sc, FormControlLabel as Cs, Radio as Rc, Card as $c, Switch as ca, ToggleButton as ws, ToggleButtonGroup as Ss, ListSubheader as Mc, FormControl as Pc, InputLabel as kc, Select as jc, FormHelperText as _c } from "@mui/material";
|
|
7
7
|
import { WarningAmberRounded as Ac, ReportRounded as Ic } from "@mui/icons-material";
|
|
8
8
|
import Nc from "@emotion/styled";
|
|
9
9
|
import { CacheProvider as Dc, Global as Lc, ThemeContext as Rs, css as Bc, keyframes as mo } from "@emotion/react";
|
|
@@ -348,7 +348,7 @@ function Gc() {
|
|
|
348
348
|
return "";
|
|
349
349
|
}
|
|
350
350
|
var We = Object.prototype.hasOwnProperty, ht = {}, Be = T.ReactDebugCurrentFrame;
|
|
351
|
-
function
|
|
351
|
+
function kt(g) {
|
|
352
352
|
if (g) {
|
|
353
353
|
var k = g._owner, D = we(g.type, g._source, k ? k.type : null);
|
|
354
354
|
Be.setExtraStackFrame(D);
|
|
@@ -370,7 +370,7 @@ function Gc() {
|
|
|
370
370
|
} catch (de) {
|
|
371
371
|
le = de;
|
|
372
372
|
}
|
|
373
|
-
le && !(le instanceof Error) && (
|
|
373
|
+
le && !(le instanceof Error) && (kt(me), S("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", oe || "React class", D, ce, typeof le), kt(null)), le instanceof Error && !(le.message in ht) && (ht[le.message] = !0, kt(me), S("Failed %s type: %s", D, le.message), kt(null));
|
|
374
374
|
}
|
|
375
375
|
}
|
|
376
376
|
}
|
|
@@ -378,7 +378,7 @@ function Gc() {
|
|
|
378
378
|
function ct(g) {
|
|
379
379
|
return gt(g);
|
|
380
380
|
}
|
|
381
|
-
function
|
|
381
|
+
function jt(g) {
|
|
382
382
|
{
|
|
383
383
|
var k = typeof Symbol == "function" && Symbol.toStringTag, D = k && g[Symbol.toStringTag] || g.constructor.name || "Object";
|
|
384
384
|
return D;
|
|
@@ -396,16 +396,16 @@ function Gc() {
|
|
|
396
396
|
}
|
|
397
397
|
function vt(g) {
|
|
398
398
|
if (ut(g))
|
|
399
|
-
return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
399
|
+
return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", jt(g)), Ke(g);
|
|
400
400
|
}
|
|
401
401
|
var Qe = T.ReactCurrentOwner, Ht = {
|
|
402
402
|
key: !0,
|
|
403
403
|
ref: !0,
|
|
404
404
|
__self: !0,
|
|
405
405
|
__source: !0
|
|
406
|
-
}, ae, Xe,
|
|
407
|
-
|
|
408
|
-
function
|
|
406
|
+
}, ae, Xe, Ft;
|
|
407
|
+
Ft = {};
|
|
408
|
+
function _t(g) {
|
|
409
409
|
if (We.call(g, "ref")) {
|
|
410
410
|
var k = Object.getOwnPropertyDescriptor(g, "ref").get;
|
|
411
411
|
if (k && k.isReactWarning)
|
|
@@ -424,7 +424,7 @@ function Gc() {
|
|
|
424
424
|
function $n(g, k) {
|
|
425
425
|
if (typeof g.ref == "string" && Qe.current && k && Qe.current.stateNode !== k) {
|
|
426
426
|
var D = B(Qe.current.type);
|
|
427
|
-
|
|
427
|
+
Ft[D] || (S('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', B(Qe.current.type), g.ref), Ft[D] = !0);
|
|
428
428
|
}
|
|
429
429
|
}
|
|
430
430
|
function br(g, k) {
|
|
@@ -481,7 +481,7 @@ function Gc() {
|
|
|
481
481
|
function Mn(g, k, D, oe, me) {
|
|
482
482
|
{
|
|
483
483
|
var Te, ce = {}, le = null, K = null;
|
|
484
|
-
D !== void 0 && (vt(D), le = "" + D), rr(k) && (vt(k.key), le = "" + k.key),
|
|
484
|
+
D !== void 0 && (vt(D), le = "" + D), rr(k) && (vt(k.key), le = "" + k.key), _t(k) && (K = k.ref, $n(k, me));
|
|
485
485
|
for (Te in k)
|
|
486
486
|
We.call(k, Te) && !Ht.hasOwnProperty(Te) && (ce[Te] = k[Te]);
|
|
487
487
|
if (g && g.defaultProps) {
|
|
@@ -730,7 +730,7 @@ const $s = (e) => {
|
|
|
730
730
|
const t = [];
|
|
731
731
|
return xi.forEach(e, (r) => {
|
|
732
732
|
if (dr(r)) {
|
|
733
|
-
r.type ===
|
|
733
|
+
r.type === Nt && t.push(r);
|
|
734
734
|
const n = r.props;
|
|
735
735
|
n.children && t.push(...$s(n.children));
|
|
736
736
|
}
|
|
@@ -738,7 +738,7 @@ const $s = (e) => {
|
|
|
738
738
|
}, Ms = (e, t) => {
|
|
739
739
|
if (!dr(e))
|
|
740
740
|
return e;
|
|
741
|
-
if ("type" in e && e.type ===
|
|
741
|
+
if ("type" in e && e.type === Nt) {
|
|
742
742
|
const n = e.props;
|
|
743
743
|
if (t && e === t)
|
|
744
744
|
return kr(e, {
|
|
@@ -766,7 +766,7 @@ function qv({ Title: e, Content: t, Actions: r, onClose: n, hideCloseButton: o,
|
|
|
766
766
|
right: "15px",
|
|
767
767
|
p: "4px",
|
|
768
768
|
color: (m) => m.palette.grey[500]
|
|
769
|
-
}, children: h.jsx(Ir, { children: "close_filled" }) }), typeof e != "string" ? h.jsx(h.Fragment, { children: e }) : h.jsx(yc, { "data-test": "ink-dialog-title", children: h.jsxs(Ye, { direction: "row", alignItems: "center", children: [((l = a == null ? void 0 : a.primary) == null ? void 0 : l.variant) && h.jsx(Xc, { variant: a.primary.variant }), h.jsx(ot, { variant: "h6", children: h.jsx("strong", { children: e }) })] }) }), t, c, a && h.jsxs(bc, { sx: { m: 1 }, children: [a.cancel && h.jsx(
|
|
769
|
+
}, children: h.jsx(Ir, { children: "close_filled" }) }), typeof e != "string" ? h.jsx(h.Fragment, { children: e }) : h.jsx(yc, { "data-test": "ink-dialog-title", children: h.jsxs(Ye, { direction: "row", alignItems: "center", children: [((l = a == null ? void 0 : a.primary) == null ? void 0 : l.variant) && h.jsx(Xc, { variant: a.primary.variant }), h.jsx(ot, { variant: "h6", children: h.jsx("strong", { children: e }) })] }) }), t, c, a && h.jsxs(bc, { sx: { m: 1 }, children: [a.cancel && h.jsx(Nt, { "data-test": "ink-dialog-cancel-action", onClick: a.cancel.onClick, children: (u = a.cancel) == null ? void 0 : u.label }), a.secondary && h.jsx(Nt, { "data-test": "ink-dialog-secondary-action", color: ((d = a.secondary) == null ? void 0 : d.variant) === "destructive" ? "error" : "primary", endIcon: a.secondary.loading ? h.jsx(Jo, { size: 20, color: "inherit" }) : void 0, disabled: a.secondary.disabled || a.secondary.loading, ...a.secondary, variant: (f = a.secondary) != null && f.variant ? "contained" : "text", children: (p = a.secondary) == null ? void 0 : p.label }), a.primary && h.jsx(Nt, { "data-test": "ink-dialog-primary-action", color: ((v = a.primary) == null ? void 0 : v.variant) === "destructive" ? "error" : "primary", endIcon: a.primary.loading ? h.jsx(Jo, { size: 20, color: "inherit" }) : void 0, disabled: a.primary.disabled || a.primary.loading, ...a.primary, variant: "contained", children: (x = a.primary) == null ? void 0 : x.label })] })] });
|
|
770
770
|
}
|
|
771
771
|
const Ps = 280, Jc = xc(Tt, { shouldForwardProp: (e) => e !== "open" })(({ theme: e, open: t }) => ({
|
|
772
772
|
flexGrow: 1,
|
|
@@ -884,7 +884,7 @@ function Xv({ primaryAction: e, secondaryAction: t, dropdownAction: r }) {
|
|
|
884
884
|
}, c = () => {
|
|
885
885
|
o(null);
|
|
886
886
|
}, { internalUseOnlyItems: l, menuOptions: u } = r ?? {}, d = u == null ? void 0 : u.filter((p) => l == null ? void 0 : l.includes(p.label)), f = u == null ? void 0 : u.filter((p) => !(l != null && l.includes(p.label)));
|
|
887
|
-
return h.jsxs(Ye, { direction: "row", spacing: 1, children: [r && h.jsxs(Tt, { children: [h.jsx(
|
|
887
|
+
return h.jsxs(Ye, { direction: "row", spacing: 1, children: [r && h.jsxs(Tt, { children: [h.jsx(Nt, { id: "action-dd", "aria-controls": a ? "action-menu" : void 0, "aria-haspopup": "true", "aria-expanded": a ? "true" : void 0, onClick: s, variant: "contained", color: "inherit", endIcon: h.jsx(Ir, { children: "arrow_drop_down" }), children: r.label }), h.jsxs(Os, { id: "action-menu", anchorEl: n, open: a, onClose: c, MenuListProps: {
|
|
888
888
|
"aria-labelledby": "action-dd"
|
|
889
889
|
}, anchorOrigin: {
|
|
890
890
|
vertical: "bottom",
|
|
@@ -896,7 +896,7 @@ function Xv({ primaryAction: e, secondaryAction: t, dropdownAction: r }) {
|
|
|
896
896
|
v(), c();
|
|
897
897
|
}, ...x, children: p }, m)), d && d.length > 0 && h.jsxs(Tt, { sx: { mt: "12px" }, children: [h.jsx(ru, { sx: { px: 2 } }), d.map(({ label: p, onClick: v, menuItemProps: x }, m) => h.jsx(eo, { onClick: () => {
|
|
898
898
|
v(), c();
|
|
899
|
-
}, ...x, children: p }, m))] })] })] }), t && h.jsx(
|
|
899
|
+
}, ...x, children: p }, m))] })] })] }), t && h.jsx(Nt, { variant: "contained", color: "inherit", ...t, children: t.label }), e && h.jsx(Nt, { variant: "contained", ...e, sx: { whiteSpace: "nowrap" }, children: e.label })] });
|
|
900
900
|
}
|
|
901
901
|
function Jv({ subtitle: e }) {
|
|
902
902
|
return h.jsx(ot, { variant: "body2", color: "text.secondary", children: e });
|
|
@@ -904,11 +904,11 @@ function Jv({ subtitle: e }) {
|
|
|
904
904
|
function Zv({ label: e, Stepper: t, ButtonGroup: r }) {
|
|
905
905
|
const n = (o) => typeof o == "object" && o !== null && ("primary" in o || "close" in o);
|
|
906
906
|
return h.jsx(ks, { sx: {
|
|
907
|
-
px:
|
|
907
|
+
px: 3,
|
|
908
908
|
py: 2.25,
|
|
909
909
|
borderBottom: "1px solid",
|
|
910
910
|
borderBottomColor: "neutral200"
|
|
911
|
-
}, children: ({ position: o }) => h.jsxs(Ye, { position: o, direction: "row", spacing: 2, justifyContent: "space-between", alignItems: "center", children: [h.jsx(ot, { "data-test-worflow-header-label": !0, variant: "h6", sx: { fontWeight: "600", flexGrow: "1"
|
|
911
|
+
}, children: ({ position: o }) => h.jsxs(Ye, { position: o, direction: "row", spacing: 2, justifyContent: "space-between", alignItems: "center", children: [h.jsx(ot, { "data-test-worflow-header-label": !0, variant: "h6", sx: { fontWeight: "600", flexGrow: "1" }, children: e }), t && h.jsx(Tt, { sx: { flexGrow: "2" }, "data-test-worflow-header-stepper": !0, children: t }), r && h.jsx(Tt, { sx: { flexGrow: "1", justifyContent: "end", display: "flex" }, "data-test-worflow-header-button-group": !0, children: n(r) ? h.jsxs(Ye, { direction: "row", spacing: 1, children: [r.primary && h.jsx(Nt, { variant: "contained", endIcon: r.primary.loading ? h.jsx(Jo, { size: 20, color: "inherit" }) : void 0, disabled: r.primary.disabled || r.primary.loading, ...r.primary, "data-test-worflow-header-primary-action": !0, children: r.primary.label }), r.close && h.jsx(Ei, { onClick: r.close.onClick, "data-test-worflow-header-close-action": !0, children: h.jsx(Ir, { children: "close_rounded" }) })] }) : r })] }) });
|
|
912
912
|
}
|
|
913
913
|
function se(e, t) {
|
|
914
914
|
if (e == null) return {};
|
|
@@ -1687,7 +1687,7 @@ var nt = ke.alpha = Ws;
|
|
|
1687
1687
|
ke.blend = Mu;
|
|
1688
1688
|
ke.colorChannel = void 0;
|
|
1689
1689
|
var ti = ke.darken = Ci;
|
|
1690
|
-
ke.decomposeColor =
|
|
1690
|
+
ke.decomposeColor = St;
|
|
1691
1691
|
ke.emphasize = Us;
|
|
1692
1692
|
var Ea = ke.getContrastRatio = Cu;
|
|
1693
1693
|
ke.getLuminance = to;
|
|
@@ -1715,11 +1715,11 @@ function Eu(e) {
|
|
|
1715
1715
|
const t = e.toString(16);
|
|
1716
1716
|
return t.length === 1 ? `0${t}` : t;
|
|
1717
1717
|
}
|
|
1718
|
-
function
|
|
1718
|
+
function St(e) {
|
|
1719
1719
|
if (e.type)
|
|
1720
1720
|
return e;
|
|
1721
1721
|
if (e.charAt(0) === "#")
|
|
1722
|
-
return
|
|
1722
|
+
return St(zs(e));
|
|
1723
1723
|
const t = e.indexOf("("), r = e.substring(0, t);
|
|
1724
1724
|
if (["rgb", "rgba", "hsl", "hsla", "color"].indexOf(r) === -1)
|
|
1725
1725
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${e}\` color.
|
|
@@ -1738,7 +1738,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
1738
1738
|
};
|
|
1739
1739
|
}
|
|
1740
1740
|
const Fs = (e) => {
|
|
1741
|
-
const t =
|
|
1741
|
+
const t = St(e);
|
|
1742
1742
|
return t.values.slice(0, 3).map((r, n) => t.type.indexOf("hsl") !== -1 && n !== 0 ? `${r}%` : r).join(" ");
|
|
1743
1743
|
};
|
|
1744
1744
|
ke.colorChannel = Fs;
|
|
@@ -1765,11 +1765,11 @@ function Ou(e) {
|
|
|
1765
1765
|
return e;
|
|
1766
1766
|
const {
|
|
1767
1767
|
values: t
|
|
1768
|
-
} =
|
|
1768
|
+
} = St(e);
|
|
1769
1769
|
return `#${t.map((r, n) => Eu(n === 3 ? Math.round(255 * r) : r)).join("")}`;
|
|
1770
1770
|
}
|
|
1771
1771
|
function Vs(e) {
|
|
1772
|
-
e =
|
|
1772
|
+
e = St(e);
|
|
1773
1773
|
const {
|
|
1774
1774
|
values: t
|
|
1775
1775
|
} = e, r = t[0], n = t[1] / 100, o = t[2] / 100, a = n * Math.min(o, 1 - o), s = (u, d = (u + r / 30) % 12) => o - a * Math.max(Math.min(d - 3, 9 - d, 1), -1);
|
|
@@ -1781,8 +1781,8 @@ function Vs(e) {
|
|
|
1781
1781
|
});
|
|
1782
1782
|
}
|
|
1783
1783
|
function to(e) {
|
|
1784
|
-
e =
|
|
1785
|
-
let t = e.type === "hsl" || e.type === "hsla" ?
|
|
1784
|
+
e = St(e);
|
|
1785
|
+
let t = e.type === "hsl" || e.type === "hsla" ? St(Vs(e)).values : e.values;
|
|
1786
1786
|
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));
|
|
1787
1787
|
}
|
|
1788
1788
|
function Cu(e, t) {
|
|
@@ -1790,7 +1790,7 @@ function Cu(e, t) {
|
|
|
1790
1790
|
return (Math.max(r, n) + 0.05) / (Math.min(r, n) + 0.05);
|
|
1791
1791
|
}
|
|
1792
1792
|
function Ws(e, t) {
|
|
1793
|
-
return e =
|
|
1793
|
+
return e = St(e), t = Oi(t), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${t}` : e.values[3] = t, Vr(e);
|
|
1794
1794
|
}
|
|
1795
1795
|
function wu(e, t, r) {
|
|
1796
1796
|
try {
|
|
@@ -1800,7 +1800,7 @@ function wu(e, t, r) {
|
|
|
1800
1800
|
}
|
|
1801
1801
|
}
|
|
1802
1802
|
function Ci(e, t) {
|
|
1803
|
-
if (e =
|
|
1803
|
+
if (e = St(e), t = Oi(t), e.type.indexOf("hsl") !== -1)
|
|
1804
1804
|
e.values[2] *= 1 - t;
|
|
1805
1805
|
else if (e.type.indexOf("rgb") !== -1 || e.type.indexOf("color") !== -1)
|
|
1806
1806
|
for (let r = 0; r < 3; r += 1)
|
|
@@ -1815,7 +1815,7 @@ function Su(e, t, r) {
|
|
|
1815
1815
|
}
|
|
1816
1816
|
}
|
|
1817
1817
|
function wi(e, t) {
|
|
1818
|
-
if (e =
|
|
1818
|
+
if (e = St(e), t = Oi(t), e.type.indexOf("hsl") !== -1)
|
|
1819
1819
|
e.values[2] += (100 - e.values[2]) * t;
|
|
1820
1820
|
else if (e.type.indexOf("rgb") !== -1)
|
|
1821
1821
|
for (let r = 0; r < 3; r += 1)
|
|
@@ -1843,7 +1843,7 @@ function $u(e, t, r) {
|
|
|
1843
1843
|
}
|
|
1844
1844
|
}
|
|
1845
1845
|
function Mu(e, t, r, n = 1) {
|
|
1846
|
-
const o = (l, u) => Math.round((l ** (1 / n) * (1 - r) + u ** (1 / n) * r) ** n), a =
|
|
1846
|
+
const o = (l, u) => Math.round((l ** (1 / n) * (1 - r) + u ** (1 / n) * r) ** n), a = St(e), s = St(t), c = [o(a.values[0], s.values[0]), o(a.values[1], s.values[1]), o(a.values[2], s.values[2])];
|
|
1847
1847
|
return Vr({
|
|
1848
1848
|
type: "rgb",
|
|
1849
1849
|
values: c
|
|
@@ -1942,7 +1942,7 @@ function qe(e, t) {
|
|
|
1942
1942
|
function dn(e, t, r) {
|
|
1943
1943
|
return e.slice(t, r);
|
|
1944
1944
|
}
|
|
1945
|
-
function
|
|
1945
|
+
function It(e) {
|
|
1946
1946
|
return e.length;
|
|
1947
1947
|
}
|
|
1948
1948
|
function $i(e) {
|
|
@@ -1970,7 +1970,7 @@ function Uu() {
|
|
|
1970
1970
|
function ft() {
|
|
1971
1971
|
return De = st < Ys ? qe(Wr, st++) : 0, Nr++, De === 10 && (Nr = 1, go++), De;
|
|
1972
1972
|
}
|
|
1973
|
-
function
|
|
1973
|
+
function Dt() {
|
|
1974
1974
|
return qe(Wr, st);
|
|
1975
1975
|
}
|
|
1976
1976
|
function Gn() {
|
|
@@ -2012,7 +2012,7 @@ function pn(e) {
|
|
|
2012
2012
|
return 0;
|
|
2013
2013
|
}
|
|
2014
2014
|
function Ks(e) {
|
|
2015
|
-
return go = Nr = 1, Ys =
|
|
2015
|
+
return go = Nr = 1, Ys = It(Wr = e), st = 0, [];
|
|
2016
2016
|
}
|
|
2017
2017
|
function Xs(e) {
|
|
2018
2018
|
return Wr = "", e;
|
|
@@ -2021,14 +2021,14 @@ function Hn(e) {
|
|
|
2021
2021
|
return Hs(bn(st - 1, oi(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
|
|
2022
2022
|
}
|
|
2023
2023
|
function qu(e) {
|
|
2024
|
-
for (; (De =
|
|
2024
|
+
for (; (De = Dt()) && De < 33; )
|
|
2025
2025
|
ft();
|
|
2026
2026
|
return pn(e) > 2 || pn(De) > 3 ? "" : " ";
|
|
2027
2027
|
}
|
|
2028
2028
|
function Gu(e, t) {
|
|
2029
2029
|
for (; --t && ft() && !(De < 48 || De > 102 || De > 57 && De < 65 || De > 70 && De < 97); )
|
|
2030
2030
|
;
|
|
2031
|
-
return bn(e, Gn() + (t < 6 &&
|
|
2031
|
+
return bn(e, Gn() + (t < 6 && Dt() == 32 && ft() == 32));
|
|
2032
2032
|
}
|
|
2033
2033
|
function oi(e) {
|
|
2034
2034
|
for (; ft(); )
|
|
@@ -2050,12 +2050,12 @@ function oi(e) {
|
|
|
2050
2050
|
}
|
|
2051
2051
|
function Hu(e, t) {
|
|
2052
2052
|
for (; ft() && e + De !== 57; )
|
|
2053
|
-
if (e + De === 84 &&
|
|
2053
|
+
if (e + De === 84 && Dt() === 47)
|
|
2054
2054
|
break;
|
|
2055
2055
|
return "/*" + bn(t, st - 1) + "*" + ho(e === 47 ? e : ft());
|
|
2056
2056
|
}
|
|
2057
2057
|
function Yu(e) {
|
|
2058
|
-
for (; !pn(
|
|
2058
|
+
for (; !pn(Dt()); )
|
|
2059
2059
|
ft();
|
|
2060
2060
|
return bn(e, st);
|
|
2061
2061
|
}
|
|
@@ -2085,7 +2085,7 @@ function Yn(e, t, r, n, o, a, s, c, l) {
|
|
|
2085
2085
|
M += Gu(Gn() - 1, 7);
|
|
2086
2086
|
continue;
|
|
2087
2087
|
case 47:
|
|
2088
|
-
switch (
|
|
2088
|
+
switch (Dt()) {
|
|
2089
2089
|
case 42:
|
|
2090
2090
|
case 47:
|
|
2091
2091
|
Dn(Xu(Hu(ft(), Gn()), t, r), l);
|
|
@@ -2095,7 +2095,7 @@ function Yn(e, t, r, n, o, a, s, c, l) {
|
|
|
2095
2095
|
}
|
|
2096
2096
|
break;
|
|
2097
2097
|
case 123 * m:
|
|
2098
|
-
c[u++] =
|
|
2098
|
+
c[u++] = It(M) * T;
|
|
2099
2099
|
case 125 * m:
|
|
2100
2100
|
case 59:
|
|
2101
2101
|
case 0:
|
|
@@ -2104,7 +2104,7 @@ function Yn(e, t, r, n, o, a, s, c, l) {
|
|
|
2104
2104
|
case 125:
|
|
2105
2105
|
y = 0;
|
|
2106
2106
|
case 59 + d:
|
|
2107
|
-
T == -1 && (M = ge(M, /\f/g, "")), v > 0 &&
|
|
2107
|
+
T == -1 && (M = ge(M, /\f/g, "")), v > 0 && It(M) - f && Dn(v > 32 ? Sa(M + ";", n, r, f - 1) : Sa(ge(M, " ", "") + ";", n, r, f - 2), l);
|
|
2108
2108
|
break;
|
|
2109
2109
|
case 59:
|
|
2110
2110
|
M += ";";
|
|
@@ -2127,7 +2127,7 @@ function Yn(e, t, r, n, o, a, s, c, l) {
|
|
|
2127
2127
|
u = d = v = 0, m = T = 1, R = M = "", f = s;
|
|
2128
2128
|
break;
|
|
2129
2129
|
case 58:
|
|
2130
|
-
f = 1 +
|
|
2130
|
+
f = 1 + It(M), v = x;
|
|
2131
2131
|
default:
|
|
2132
2132
|
if (m < 1) {
|
|
2133
2133
|
if (S == 123)
|
|
@@ -2140,13 +2140,13 @@ function Yn(e, t, r, n, o, a, s, c, l) {
|
|
|
2140
2140
|
T = d > 0 ? 1 : (M += "\f", -1);
|
|
2141
2141
|
break;
|
|
2142
2142
|
case 44:
|
|
2143
|
-
c[u++] = (
|
|
2143
|
+
c[u++] = (It(M) - 1) * T, T = 1;
|
|
2144
2144
|
break;
|
|
2145
2145
|
case 64:
|
|
2146
|
-
|
|
2146
|
+
Dt() === 45 && (M += Hn(ft())), p = Dt(), d = f = It(R = M += Yu(Gn())), S++;
|
|
2147
2147
|
break;
|
|
2148
2148
|
case 45:
|
|
2149
|
-
x === 45 &&
|
|
2149
|
+
x === 45 && It(M) == 2 && (m = 0);
|
|
2150
2150
|
}
|
|
2151
2151
|
}
|
|
2152
2152
|
return a;
|
|
@@ -2182,7 +2182,7 @@ function Ju(e, t, r, n) {
|
|
|
2182
2182
|
case Si:
|
|
2183
2183
|
e.value = e.props.join(",");
|
|
2184
2184
|
}
|
|
2185
|
-
return
|
|
2185
|
+
return It(r = jr(e.children, n)) ? e.return = e.value + "{" + r + "}" : "";
|
|
2186
2186
|
}
|
|
2187
2187
|
function Zu(e) {
|
|
2188
2188
|
var t = $i(e);
|
|
@@ -2198,7 +2198,7 @@ function Qu(e) {
|
|
|
2198
2198
|
};
|
|
2199
2199
|
}
|
|
2200
2200
|
var ed = function(t, r, n) {
|
|
2201
|
-
for (var o = 0, a = 0; o = a, a =
|
|
2201
|
+
for (var o = 0, a = 0; o = a, a = Dt(), o === 38 && a === 12 && (r[n] = 1), !pn(a); )
|
|
2202
2202
|
ft();
|
|
2203
2203
|
return bn(t, st);
|
|
2204
2204
|
}, td = function(t, r) {
|
|
@@ -2206,14 +2206,14 @@ var ed = function(t, r, n) {
|
|
|
2206
2206
|
do
|
|
2207
2207
|
switch (pn(o)) {
|
|
2208
2208
|
case 0:
|
|
2209
|
-
o === 38 &&
|
|
2209
|
+
o === 38 && Dt() === 12 && (r[n] = 1), t[n] += ed(st - 1, r, n);
|
|
2210
2210
|
break;
|
|
2211
2211
|
case 2:
|
|
2212
2212
|
t[n] += Hn(o);
|
|
2213
2213
|
break;
|
|
2214
2214
|
case 4:
|
|
2215
2215
|
if (o === 44) {
|
|
2216
|
-
t[++n] =
|
|
2216
|
+
t[++n] = Dt() === 58 ? "&\f" : "", r[n] = t[n].length;
|
|
2217
2217
|
break;
|
|
2218
2218
|
}
|
|
2219
2219
|
default:
|
|
@@ -2323,7 +2323,7 @@ function Js(e, t) {
|
|
|
2323
2323
|
case 5789:
|
|
2324
2324
|
case 5021:
|
|
2325
2325
|
case 4765:
|
|
2326
|
-
if (
|
|
2326
|
+
if (It(e) - 1 - t > 6) switch (qe(e, t + 1)) {
|
|
2327
2327
|
case 109:
|
|
2328
2328
|
if (qe(e, t + 4) !== 45) break;
|
|
2329
2329
|
case 102:
|
|
@@ -2335,7 +2335,7 @@ function Js(e, t) {
|
|
|
2335
2335
|
case 4949:
|
|
2336
2336
|
if (qe(e, t + 1) !== 115) break;
|
|
2337
2337
|
case 6444:
|
|
2338
|
-
switch (qe(e,
|
|
2338
|
+
switch (qe(e, It(e) - 3 - (~ni(e, "!important") && 10))) {
|
|
2339
2339
|
case 107:
|
|
2340
2340
|
return ge(e, ":", ":" + he) + e;
|
|
2341
2341
|
case 101:
|
|
@@ -2502,14 +2502,14 @@ const el = (e, t) => {
|
|
|
2502
2502
|
internal_processStyles: el,
|
|
2503
2503
|
keyframes: mo
|
|
2504
2504
|
}, Symbol.toStringTag, { value: "Module" })), tl = /* @__PURE__ */ qt(cd);
|
|
2505
|
-
function
|
|
2505
|
+
function Vt(e) {
|
|
2506
2506
|
if (typeof e != "object" || e === null)
|
|
2507
2507
|
return !1;
|
|
2508
2508
|
const t = Object.getPrototypeOf(e);
|
|
2509
2509
|
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
|
|
2510
2510
|
}
|
|
2511
2511
|
function rl(e) {
|
|
2512
|
-
if (!
|
|
2512
|
+
if (!Vt(e))
|
|
2513
2513
|
return e;
|
|
2514
2514
|
const t = {};
|
|
2515
2515
|
return Object.keys(e).forEach((r) => {
|
|
@@ -2520,15 +2520,15 @@ function Ot(e, t, r = {
|
|
|
2520
2520
|
clone: !0
|
|
2521
2521
|
}) {
|
|
2522
2522
|
const n = r.clone ? E({}, e) : e;
|
|
2523
|
-
return
|
|
2524
|
-
|
|
2525
|
-
Object.prototype.hasOwnProperty.call(e, o) &&
|
|
2523
|
+
return Vt(e) && Vt(t) && Object.keys(t).forEach((o) => {
|
|
2524
|
+
Vt(t[o]) && // Avoid prototype pollution
|
|
2525
|
+
Object.prototype.hasOwnProperty.call(e, o) && Vt(e[o]) ? n[o] = Ot(e[o], t[o], r) : r.clone ? n[o] = Vt(t[o]) ? rl(t[o]) : t[o] : n[o] = t[o];
|
|
2526
2526
|
}), n;
|
|
2527
2527
|
}
|
|
2528
2528
|
const ud = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2529
2529
|
__proto__: null,
|
|
2530
2530
|
default: Ot,
|
|
2531
|
-
isPlainObject:
|
|
2531
|
+
isPlainObject: Vt
|
|
2532
2532
|
}, Symbol.toStringTag, { value: "Module" })), dd = /* @__PURE__ */ qt(ud);
|
|
2533
2533
|
function pe(e) {
|
|
2534
2534
|
if (typeof e != "string")
|
|
@@ -3018,14 +3018,14 @@ function Eo(...e) {
|
|
|
3018
3018
|
function Et(e) {
|
|
3019
3019
|
return typeof e != "number" ? e : `${e}px solid`;
|
|
3020
3020
|
}
|
|
3021
|
-
function
|
|
3021
|
+
function Pt(e, t) {
|
|
3022
3022
|
return je({
|
|
3023
3023
|
prop: e,
|
|
3024
3024
|
themeKey: "borders",
|
|
3025
3025
|
transform: t
|
|
3026
3026
|
});
|
|
3027
3027
|
}
|
|
3028
|
-
const jd =
|
|
3028
|
+
const jd = Pt("border", Et), _d = Pt("borderTop", Et), Ad = Pt("borderRight", Et), Id = Pt("borderBottom", Et), Nd = Pt("borderLeft", Et), Dd = Pt("borderColor"), Ld = Pt("borderTopColor"), Bd = Pt("borderRightColor"), zd = Pt("borderBottomColor"), Fd = Pt("borderLeftColor"), Vd = Pt("outline", Et), Wd = Pt("outlineColor"), To = (e) => {
|
|
3029
3029
|
if (e.borderRadius !== void 0 && e.borderRadius !== null) {
|
|
3030
3030
|
const t = xn(e.theme, "shape.borderRadius", 4, "borderRadius"), r = (n) => ({
|
|
3031
3031
|
borderRadius: hr(t, n)
|
|
@@ -3592,7 +3592,7 @@ function On(e) {
|
|
|
3592
3592
|
let a;
|
|
3593
3593
|
return Array.isArray(t) ? a = [n, ...t] : typeof t == "function" ? a = (...s) => {
|
|
3594
3594
|
const c = t(...s);
|
|
3595
|
-
return
|
|
3595
|
+
return Vt(c) ? E({}, n, c) : n;
|
|
3596
3596
|
} : a = E({}, n, t), E({}, o, {
|
|
3597
3597
|
sx: a
|
|
3598
3598
|
});
|
|
@@ -4524,7 +4524,7 @@ function xf(e = {}) {
|
|
|
4524
4524
|
const S = Mi(s, E({
|
|
4525
4525
|
shouldForwardProp: T,
|
|
4526
4526
|
label: y
|
|
4527
|
-
}, v)), R = (b) => typeof b == "function" && b.__emotion_real !== b ||
|
|
4527
|
+
}, v)), R = (b) => typeof b == "function" && b.__emotion_real !== b || Vt(b) ? (P) => Jn(b, E({}, P, {
|
|
4528
4528
|
theme: Bn({
|
|
4529
4529
|
theme: P.theme,
|
|
4530
4530
|
defaultTheme: r,
|
|
@@ -4806,7 +4806,7 @@ function cr(e) {
|
|
|
4806
4806
|
(0, t.current)(...r)
|
|
4807
4807
|
)).current;
|
|
4808
4808
|
}
|
|
4809
|
-
function
|
|
4809
|
+
function Rt(...e) {
|
|
4810
4810
|
return C.useMemo(() => e.every((t) => t == null) ? null : (t) => {
|
|
4811
4811
|
e.forEach((r) => {
|
|
4812
4812
|
io(r, t);
|
|
@@ -4969,7 +4969,7 @@ function Yf(e) {
|
|
|
4969
4969
|
internalRef: u
|
|
4970
4970
|
} = El(E({}, s, {
|
|
4971
4971
|
externalSlotProps: c
|
|
4972
|
-
})), d =
|
|
4972
|
+
})), d = Rt(u, c == null ? void 0 : c.ref, (t = e.additionalProps) == null ? void 0 : t.ref);
|
|
4973
4973
|
return Pr(r, E({}, l, {
|
|
4974
4974
|
ref: d
|
|
4975
4975
|
}), o);
|
|
@@ -5322,7 +5322,7 @@ const u0 = ["align", "className", "component", "gutterBottom", "noWrap", "paragr
|
|
|
5322
5322
|
secondary: "secondary.main",
|
|
5323
5323
|
textSecondary: "text.secondary",
|
|
5324
5324
|
error: "error.main"
|
|
5325
|
-
}, m0 = (e) => f0[e] || e,
|
|
5325
|
+
}, m0 = (e) => f0[e] || e, Wt = /* @__PURE__ */ C.forwardRef(function(t, r) {
|
|
5326
5326
|
const n = Le({
|
|
5327
5327
|
props: t,
|
|
5328
5328
|
name: "MuiTypography"
|
|
@@ -5355,7 +5355,7 @@ const u0 = ["align", "className", "component", "gutterBottom", "noWrap", "paragr
|
|
|
5355
5355
|
className: ue(T.root, c)
|
|
5356
5356
|
}, x));
|
|
5357
5357
|
});
|
|
5358
|
-
process.env.NODE_ENV !== "production" && (
|
|
5358
|
+
process.env.NODE_ENV !== "production" && (Wt.propTypes = {
|
|
5359
5359
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
5360
5360
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
5361
5361
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -5443,7 +5443,7 @@ function Qv({ Header: e, Description: t, Icon: r, CTA: n, children: o, ...a }) {
|
|
|
5443
5443
|
flexBasis: "100%",
|
|
5444
5444
|
overflow: "hidden",
|
|
5445
5445
|
textOverflow: "ellipsis"
|
|
5446
|
-
}, children: [typeof e != "string" ? h.jsx(h.Fragment, { children: e }) : h.jsx(
|
|
5446
|
+
}, children: [typeof e != "string" ? h.jsx(h.Fragment, { children: e }) : h.jsx(Wt, { "data-test": "ink-paper-header", variant: "subtitle1", color: "text.primary", component: "strong", fontWeight: 600, children: e }), t && h.jsx(Wt, { "data-test": "ink-paper-description", variant: "caption", color: "text.secondary", noWrap: !0, children: t })] }), n] }), o] });
|
|
5447
5447
|
}
|
|
5448
5448
|
const ey = ({ name: e, options: t, value: r, ref: n, direction: o = "row", cardSx: a, fullWidth: s = !0, disabled: c = !1, onChange: l, onBlur: u }) => {
|
|
5449
5449
|
const d = (p, v, x, m) => m ? p ? v : "inherit" : x, f = (p, v, x, m, y) => y ? p ? v : m : p ? v : x;
|
|
@@ -5655,7 +5655,7 @@ const Ja = {
|
|
|
5655
5655
|
};
|
|
5656
5656
|
function oy({ title: e, description: t, action: r, variant: n, icon: o, sx: a }) {
|
|
5657
5657
|
const s = n === "search" ? "neutral00" : "neutral50", c = g0[n], { fontSize: l, fontSizeDescription: u, titleVariant: d, descriptionVariant: f } = c;
|
|
5658
|
-
return h.jsxs(Ye, { alignItems: "center", justifyContent: "center", my: 6, textAlign: "center", "data-cy": `empty-state-${n}-container`, sx: { backgroundColor: s, p: 5, ...a }, children: [o && h.jsx(h0, { icon: o, variant: n }), e && h.jsx(ot, { variant: d, sx: { fontSize: l }, "data-cy": "empty-state-title", children: h.jsx("strong", { children: e }) }), h.jsx(ot, { variant: f, color: "text.secondary", sx: { fontSize: u }, "data-cy": "empty-state-description", children: t }), r && h.jsx(Tt, { mt: 3, children: h.jsx(
|
|
5658
|
+
return h.jsxs(Ye, { alignItems: "center", justifyContent: "center", my: 6, textAlign: "center", "data-cy": `empty-state-${n}-container`, sx: { backgroundColor: s, p: 5, ...a }, children: [o && h.jsx(h0, { icon: o, variant: n }), e && h.jsx(ot, { variant: d, sx: { fontSize: l }, "data-cy": "empty-state-title", children: h.jsx("strong", { children: e }) }), h.jsx(ot, { variant: f, color: "text.secondary", sx: { fontSize: u }, "data-cy": "empty-state-description", children: t }), r && h.jsx(Tt, { mt: 3, children: h.jsx(Nt, { onClick: r.onClick, "data-cy": "empty-state-action-button", children: r.title }) })] });
|
|
5659
5659
|
}
|
|
5660
5660
|
const zn = 400, v0 = 50, y0 = 250, b0 = () => {
|
|
5661
5661
|
const [e, t] = Zt(zn), [r, n] = Zt("bottom"), o = (c) => {
|
|
@@ -5775,7 +5775,7 @@ function Qa(e, t) {
|
|
|
5775
5775
|
component: y
|
|
5776
5776
|
},
|
|
5777
5777
|
internalRef: T
|
|
5778
|
-
} = m, S = se(m.props, O0), R =
|
|
5778
|
+
} = m, S = se(m.props, O0), R = Rt(T, x == null ? void 0 : x.ref, t.ref), O = s ? s(S) : {}, b = E({}, o, O), P = e === "root" ? y || u : y, M = Pr(v, E({}, e === "root" && !u && !d[e] && c, e !== "root" && !d[e] && c, S, P && {
|
|
5779
5779
|
as: P
|
|
5780
5780
|
}, {
|
|
5781
5781
|
ref: R
|
|
@@ -5819,7 +5819,7 @@ process.env.NODE_ENV !== "production" && i.oneOfType([i.string, i.shape({
|
|
|
5819
5819
|
const ao = pt.createContext(null);
|
|
5820
5820
|
var S0 = function(t) {
|
|
5821
5821
|
return t.scrollTop;
|
|
5822
|
-
}, on = "unmounted", sr = "exited", lr = "entering", Rr = "entered", pi = "exiting",
|
|
5822
|
+
}, on = "unmounted", sr = "exited", lr = "entering", Rr = "entered", pi = "exiting", zt = /* @__PURE__ */ function(e) {
|
|
5823
5823
|
Ol(t, e);
|
|
5824
5824
|
function t(n, o) {
|
|
5825
5825
|
var a;
|
|
@@ -5947,8 +5947,8 @@ var S0 = function(t) {
|
|
|
5947
5947
|
);
|
|
5948
5948
|
}, t;
|
|
5949
5949
|
}(pt.Component);
|
|
5950
|
-
|
|
5951
|
-
|
|
5950
|
+
zt.contextType = ao;
|
|
5951
|
+
zt.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
5952
5952
|
/**
|
|
5953
5953
|
* A React reference to DOM element that need to transition:
|
|
5954
5954
|
* https://stackoverflow.com/a/51127130/4671932
|
|
@@ -6119,7 +6119,7 @@ Bt.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
6119
6119
|
} : {};
|
|
6120
6120
|
function Sr() {
|
|
6121
6121
|
}
|
|
6122
|
-
|
|
6122
|
+
zt.defaultProps = {
|
|
6123
6123
|
in: !1,
|
|
6124
6124
|
mountOnEnter: !1,
|
|
6125
6125
|
unmountOnExit: !1,
|
|
@@ -6133,11 +6133,11 @@ Bt.defaultProps = {
|
|
|
6133
6133
|
onExiting: Sr,
|
|
6134
6134
|
onExited: Sr
|
|
6135
6135
|
};
|
|
6136
|
-
|
|
6137
|
-
|
|
6138
|
-
|
|
6139
|
-
|
|
6140
|
-
|
|
6136
|
+
zt.UNMOUNTED = on;
|
|
6137
|
+
zt.EXITED = sr;
|
|
6138
|
+
zt.ENTERING = lr;
|
|
6139
|
+
zt.ENTERED = Rr;
|
|
6140
|
+
zt.EXITING = pi;
|
|
6141
6141
|
function R0(e) {
|
|
6142
6142
|
if (e === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
6143
6143
|
return e;
|
|
@@ -6703,7 +6703,7 @@ const F0 = Ae("MuiButtonBase", ["root", "disabled", "focusVisible"]), V0 = ["act
|
|
|
6703
6703
|
TouchRippleProps: B,
|
|
6704
6704
|
touchRippleRef: X,
|
|
6705
6705
|
type: U
|
|
6706
|
-
} = n, F = se(n, V0), ee = C.useRef(null), _ = C.useRef(null), J =
|
|
6706
|
+
} = n, F = se(n, V0), ee = C.useRef(null), _ = C.useRef(null), J = Rt(_, X), {
|
|
6707
6707
|
isFocusVisibleRef: $,
|
|
6708
6708
|
onFocus: j,
|
|
6709
6709
|
onBlur: re,
|
|
@@ -6722,14 +6722,14 @@ const F0 = Ae("MuiButtonBase", ["root", "disabled", "focusVisible"]), V0 = ["act
|
|
|
6722
6722
|
C.useEffect(() => {
|
|
6723
6723
|
q && p && !d && Y && _.current.pulsate();
|
|
6724
6724
|
}, [d, p, q, Y]);
|
|
6725
|
-
function H(ae, Xe,
|
|
6726
|
-
return cr((
|
|
6725
|
+
function H(ae, Xe, Ft = f) {
|
|
6726
|
+
return cr((_t) => (Xe && Xe(_t), !Ft && _.current && _.current[ae](_t), !0));
|
|
6727
6727
|
}
|
|
6728
6728
|
const ie = H("start", P), fe = H("stop", y), A = H("stop", T), Pe = H("stop", z), W = H("stop", (ae) => {
|
|
6729
6729
|
q && ae.preventDefault(), M && M(ae);
|
|
6730
6730
|
}), we = H("start", I), We = H("stop", L), ht = H("stop", N), Be = H("stop", (ae) => {
|
|
6731
6731
|
re(ae), $.current === !1 && Z(!1), x && x(ae);
|
|
6732
|
-
}, !1),
|
|
6732
|
+
}, !1), kt = cr((ae) => {
|
|
6733
6733
|
ee.current || (ee.current = ae.currentTarget), j(ae), $.current === !0 && (Z(!0), R && R(ae)), S && S(ae);
|
|
6734
6734
|
}), Ue = () => {
|
|
6735
6735
|
const ae = ee.current;
|
|
@@ -6738,7 +6738,7 @@ const F0 = Ae("MuiButtonBase", ["root", "disabled", "focusVisible"]), V0 = ["act
|
|
|
6738
6738
|
p && !gt.current && q && _.current && ae.key === " " && (gt.current = !0, _.current.stop(ae, () => {
|
|
6739
6739
|
_.current.start(ae);
|
|
6740
6740
|
})), ae.target === ae.currentTarget && Ue() && ae.key === " " && ae.preventDefault(), O && O(ae), ae.target === ae.currentTarget && Ue() && ae.key === "Enter" && !u && (ae.preventDefault(), m && m(ae));
|
|
6741
|
-
}),
|
|
6741
|
+
}), jt = cr((ae) => {
|
|
6742
6742
|
p && ae.key === " " && _.current && q && !ae.defaultPrevented && (gt.current = !1, _.current.stop(ae, () => {
|
|
6743
6743
|
_.current.pulsate(ae);
|
|
6744
6744
|
})), b && b(ae), m && ae.target === ae.currentTarget && Ue() && ae.key === " " && !ae.defaultPrevented && m(ae);
|
|
@@ -6747,7 +6747,7 @@ const F0 = Ae("MuiButtonBase", ["root", "disabled", "focusVisible"]), V0 = ["act
|
|
|
6747
6747
|
ut === "button" && (F.href || F.to) && (ut = v);
|
|
6748
6748
|
const Ke = {};
|
|
6749
6749
|
ut === "button" ? (Ke.type = U === void 0 ? "button" : U, Ke.disabled = u) : (!F.href && !F.to && (Ke.role = "button"), u && (Ke["aria-disabled"] = u));
|
|
6750
|
-
const vt =
|
|
6750
|
+
const vt = Rt(r, te, ee);
|
|
6751
6751
|
process.env.NODE_ENV !== "production" && C.useEffect(() => {
|
|
6752
6752
|
G && !_.current && console.error(["MUI: The `component` prop provided to ButtonBase is invalid.", "Please make sure the children prop is rendered in this custom component."].join(`
|
|
6753
6753
|
`));
|
|
@@ -6769,9 +6769,9 @@ const F0 = Ae("MuiButtonBase", ["root", "disabled", "focusVisible"]), V0 = ["act
|
|
|
6769
6769
|
onBlur: Be,
|
|
6770
6770
|
onClick: m,
|
|
6771
6771
|
onContextMenu: fe,
|
|
6772
|
-
onFocus:
|
|
6772
|
+
onFocus: kt,
|
|
6773
6773
|
onKeyDown: ct,
|
|
6774
|
-
onKeyUp:
|
|
6774
|
+
onKeyUp: jt,
|
|
6775
6775
|
onMouseDown: ie,
|
|
6776
6776
|
onMouseLeave: W,
|
|
6777
6777
|
onMouseUp: Pe,
|
|
@@ -7628,7 +7628,7 @@ const dm = ["className"], pm = (e) => {
|
|
|
7628
7628
|
return Ve({
|
|
7629
7629
|
root: ["root"]
|
|
7630
7630
|
}, um, t);
|
|
7631
|
-
}, fm = ve(
|
|
7631
|
+
}, fm = ve(Wt, {
|
|
7632
7632
|
name: "MuiAlertTitle",
|
|
7633
7633
|
slot: "Root",
|
|
7634
7634
|
overridesResolver: (e, t) => t.root
|
|
@@ -7676,7 +7676,7 @@ process.env.NODE_ENV !== "production" && (Rl.propTypes = {
|
|
|
7676
7676
|
});
|
|
7677
7677
|
const mm = ({ action: e, severity: t, alertProps: r, message: n, onClose: o, title: a }) => {
|
|
7678
7678
|
const s = t === "default" ? "info" : t;
|
|
7679
|
-
return h.jsxs(Sl, { "data-test-ink-snackbar-alert": t, variant: "snackbar", icon: t !== "default" ? void 0 : !1, severity: s, onClose: o && !e ? o : void 0, action: e || void 0, ...r, children: [a && h.jsx(Rl, { "data-test-ink-snackbar-title": !0, sx: { textAlign: "left" }, children: a }), h.jsx(
|
|
7679
|
+
return h.jsxs(Sl, { "data-test-ink-snackbar-alert": t, variant: "snackbar", icon: t !== "default" ? void 0 : !1, severity: s, onClose: o && !e ? o : void 0, action: e || void 0, ...r, children: [a && h.jsx(Rl, { "data-test-ink-snackbar-title": !0, sx: { textAlign: "left" }, children: a }), h.jsx(Wt, { "data-test-ink-snackbar-message": !0, variant: "body2", children: n })] });
|
|
7680
7680
|
}, en = gc((e, t) => {
|
|
7681
7681
|
const { message: r, variant: n, title: o, alertProps: a, action: s, onClose: c } = e;
|
|
7682
7682
|
return h.jsx(Vc, { ref: t, role: "alert", children: h.jsx(mm, { title: o, severity: n, message: r, action: s, onClose: c, alertProps: a }) });
|
|
@@ -8052,7 +8052,7 @@ const Em = {
|
|
|
8052
8052
|
unsupportedProp: If,
|
|
8053
8053
|
useControlled: xl,
|
|
8054
8054
|
useEventCallback: cr,
|
|
8055
|
-
useForkRef:
|
|
8055
|
+
useForkRef: Rt,
|
|
8056
8056
|
useIsFocusVisible: Fi
|
|
8057
8057
|
}, Symbol.toStringTag, { value: "Module" })), Om = /* @__PURE__ */ qt(Tm);
|
|
8058
8058
|
var ls;
|
|
@@ -8756,7 +8756,7 @@ const Gm = ["className"], Hm = ["alignItems", "autoFocus", "button", "children",
|
|
|
8756
8756
|
divider: S,
|
|
8757
8757
|
hasSecondaryAction: X,
|
|
8758
8758
|
selected: b
|
|
8759
|
-
}), F = Km(U), ee =
|
|
8759
|
+
}), F = Km(U), ee = Rt(V, r), _ = M.root || d.Root || Xm, J = P.root || f.root || {}, $ = E({
|
|
8760
8760
|
className: ue(F.root, J.className, l),
|
|
8761
8761
|
disabled: m
|
|
8762
8762
|
}, L);
|
|
@@ -9010,14 +9010,14 @@ const cs = Ae("MuiListItemText", ["root", "multiline", "dense", "inset", "primar
|
|
|
9010
9010
|
secondary: !!m,
|
|
9011
9011
|
dense: v
|
|
9012
9012
|
}), T = eh(y);
|
|
9013
|
-
return x != null && x.type !==
|
|
9013
|
+
return x != null && x.type !== Wt && !s && (x = /* @__PURE__ */ h.jsx(Wt, E({
|
|
9014
9014
|
variant: v ? "body2" : "body1",
|
|
9015
9015
|
className: T.primary,
|
|
9016
9016
|
component: u != null && u.variant ? void 0 : "span",
|
|
9017
9017
|
display: "block"
|
|
9018
9018
|
}, u, {
|
|
9019
9019
|
children: x
|
|
9020
|
-
}))), m != null && m.type !==
|
|
9020
|
+
}))), m != null && m.type !== Wt && !s && (m = /* @__PURE__ */ h.jsx(Wt, E({
|
|
9021
9021
|
variant: "body2",
|
|
9022
9022
|
className: T.secondary,
|
|
9023
9023
|
color: "text.secondary",
|
|
@@ -9267,8 +9267,8 @@ const vh = {
|
|
|
9267
9267
|
style: x,
|
|
9268
9268
|
timeout: m = "auto",
|
|
9269
9269
|
// eslint-disable-next-line react/prop-types
|
|
9270
|
-
TransitionComponent: y =
|
|
9271
|
-
} = t, T = se(t, gh), S = Mr(), R = C.useRef(), O = wn(), b = C.useRef(null), P =
|
|
9270
|
+
TransitionComponent: y = zt
|
|
9271
|
+
} = t, T = se(t, gh), S = Mr(), R = C.useRef(), O = wn(), b = C.useRef(null), P = Rt(b, a.ref, r), M = (U) => (F) => {
|
|
9272
9272
|
if (U) {
|
|
9273
9273
|
const ee = b.current;
|
|
9274
9274
|
F === void 0 ? U(ee) : U(ee, F);
|
|
@@ -9449,12 +9449,12 @@ function Th(e = null) {
|
|
|
9449
9449
|
return !t || Eh(t) ? e : t;
|
|
9450
9450
|
}
|
|
9451
9451
|
Ul = Xi.default = Th;
|
|
9452
|
-
var it = "top",
|
|
9452
|
+
var it = "top", $t = "bottom", Mt = "right", at = "left", Ji = "auto", Sn = [it, $t, Mt, at], Lr = "start", hn = "end", Oh = "clippingParents", Gl = "viewport", tn = "popper", Ch = "reference", us = /* @__PURE__ */ Sn.reduce(function(e, t) {
|
|
9453
9453
|
return e.concat([t + "-" + Lr, t + "-" + hn]);
|
|
9454
9454
|
}, []), Hl = /* @__PURE__ */ [].concat(Sn, [Ji]).reduce(function(e, t) {
|
|
9455
9455
|
return e.concat([t, t + "-" + Lr, t + "-" + hn]);
|
|
9456
9456
|
}, []), wh = "beforeRead", Sh = "read", Rh = "afterRead", $h = "beforeMain", Mh = "main", Ph = "afterMain", kh = "beforeWrite", jh = "write", _h = "afterWrite", Ah = [wh, Sh, Rh, $h, Mh, Ph, kh, jh, _h];
|
|
9457
|
-
function
|
|
9457
|
+
function Bt(e) {
|
|
9458
9458
|
return e ? (e.nodeName || "").toLowerCase() : null;
|
|
9459
9459
|
}
|
|
9460
9460
|
function mt(e) {
|
|
@@ -9484,7 +9484,7 @@ function Ih(e) {
|
|
|
9484
9484
|
var t = e.state;
|
|
9485
9485
|
Object.keys(t.elements).forEach(function(r) {
|
|
9486
9486
|
var n = t.styles[r] || {}, o = t.attributes[r] || {}, a = t.elements[r];
|
|
9487
|
-
!Ct(a) || !
|
|
9487
|
+
!Ct(a) || !Bt(a) || (Object.assign(a.style, n), Object.keys(o).forEach(function(s) {
|
|
9488
9488
|
var c = o[s];
|
|
9489
9489
|
c === !1 ? a.removeAttribute(s) : a.setAttribute(s, c === !0 ? "" : c);
|
|
9490
9490
|
}));
|
|
@@ -9508,7 +9508,7 @@ function Nh(e) {
|
|
|
9508
9508
|
var o = t.elements[n], a = t.attributes[n] || {}, s = Object.keys(t.styles.hasOwnProperty(n) ? t.styles[n] : r[n]), c = s.reduce(function(l, u) {
|
|
9509
9509
|
return l[u] = "", l;
|
|
9510
9510
|
}, {});
|
|
9511
|
-
!Ct(o) || !
|
|
9511
|
+
!Ct(o) || !Bt(o) || (Object.assign(o.style, c), Object.keys(a).forEach(function(l) {
|
|
9512
9512
|
o.removeAttribute(l);
|
|
9513
9513
|
}));
|
|
9514
9514
|
});
|
|
@@ -9522,7 +9522,7 @@ const Dh = {
|
|
|
9522
9522
|
effect: Nh,
|
|
9523
9523
|
requires: ["computeStyles"]
|
|
9524
9524
|
};
|
|
9525
|
-
function
|
|
9525
|
+
function Lt(e) {
|
|
9526
9526
|
return e.split("-")[0];
|
|
9527
9527
|
}
|
|
9528
9528
|
var fr = Math.max, uo = Math.min, Br = Math.round;
|
|
@@ -9578,7 +9578,7 @@ function Ut(e) {
|
|
|
9578
9578
|
return mt(e).getComputedStyle(e);
|
|
9579
9579
|
}
|
|
9580
9580
|
function Lh(e) {
|
|
9581
|
-
return ["table", "td", "th"].indexOf(
|
|
9581
|
+
return ["table", "td", "th"].indexOf(Bt(e)) >= 0;
|
|
9582
9582
|
}
|
|
9583
9583
|
function tr(e) {
|
|
9584
9584
|
return ((vr(e) ? e.ownerDocument : (
|
|
@@ -9587,7 +9587,7 @@ function tr(e) {
|
|
|
9587
9587
|
)) || window.document).documentElement;
|
|
9588
9588
|
}
|
|
9589
9589
|
function Po(e) {
|
|
9590
|
-
return
|
|
9590
|
+
return Bt(e) === "html" ? e : (
|
|
9591
9591
|
// this is a quicker (but less type safe) way to save quite some bytes from the bundle
|
|
9592
9592
|
// $FlowFixMe[incompatible-return]
|
|
9593
9593
|
// $FlowFixMe[prop-missing]
|
|
@@ -9610,7 +9610,7 @@ function Bh(e) {
|
|
|
9610
9610
|
return null;
|
|
9611
9611
|
}
|
|
9612
9612
|
var o = Po(e);
|
|
9613
|
-
for (Zi(o) && (o = o.host); Ct(o) && ["html", "body"].indexOf(
|
|
9613
|
+
for (Zi(o) && (o = o.host); Ct(o) && ["html", "body"].indexOf(Bt(o)) < 0; ) {
|
|
9614
9614
|
var a = Ut(o);
|
|
9615
9615
|
if (a.transform !== "none" || a.perspective !== "none" || a.contain === "paint" || ["transform", "perspective"].indexOf(a.willChange) !== -1 || t && a.willChange === "filter" || t && a.filter && a.filter !== "none")
|
|
9616
9616
|
return o;
|
|
@@ -9621,7 +9621,7 @@ function Bh(e) {
|
|
|
9621
9621
|
function Rn(e) {
|
|
9622
9622
|
for (var t = mt(e), r = ds(e); r && Lh(r) && Ut(r).position === "static"; )
|
|
9623
9623
|
r = ds(r);
|
|
9624
|
-
return r && (
|
|
9624
|
+
return r && (Bt(r) === "html" || Bt(r) === "body" && Ut(r).position === "static") ? t : r || Bh(e) || t;
|
|
9625
9625
|
}
|
|
9626
9626
|
function ea(e) {
|
|
9627
9627
|
return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
|
|
@@ -9655,9 +9655,9 @@ var Fh = function(t, r) {
|
|
|
9655
9655
|
})) : t, Jl(typeof t != "number" ? t : Zl(t, Sn));
|
|
9656
9656
|
};
|
|
9657
9657
|
function Vh(e) {
|
|
9658
|
-
var t, r = e.state, n = e.name, o = e.options, a = r.elements.arrow, s = r.modifiersData.popperOffsets, c =
|
|
9658
|
+
var t, r = e.state, n = e.name, o = e.options, a = r.elements.arrow, s = r.modifiersData.popperOffsets, c = Lt(r.placement), l = ea(c), u = [at, Mt].indexOf(c) >= 0, d = u ? "height" : "width";
|
|
9659
9659
|
if (!(!a || !s)) {
|
|
9660
|
-
var f = Fh(o.padding, r), p = Qi(a), v = l === "y" ? it : at, x = l === "y" ?
|
|
9660
|
+
var f = Fh(o.padding, r), p = Qi(a), v = l === "y" ? it : at, x = l === "y" ? $t : Mt, m = r.rects.reference[d] + r.rects.reference[l] - s[l] - r.rects.popper[d], y = s[l] - r.rects.reference[l], T = Rn(a), S = T ? l === "y" ? T.clientHeight || 0 : T.clientWidth || 0 : 0, R = m / 2 - y / 2, O = f[v], b = S - p[d] - f[x], P = S / 2 - p[d] / 2 + R, M = cn(O, P, b), z = l;
|
|
9661
9661
|
r.modifiersData[n] = (t = {}, t[z] = M, t.centerOffset = M - P, t);
|
|
9662
9662
|
}
|
|
9663
9663
|
}
|
|
@@ -9702,16 +9702,16 @@ function ps(e) {
|
|
|
9702
9702
|
var T = s.hasOwnProperty("x"), S = s.hasOwnProperty("y"), R = at, O = it, b = window;
|
|
9703
9703
|
if (u) {
|
|
9704
9704
|
var P = Rn(r), M = "clientHeight", z = "clientWidth";
|
|
9705
|
-
if (P === mt(r) && (P = tr(r), Ut(P).position !== "static" && c === "absolute" && (M = "scrollHeight", z = "scrollWidth")), P = P, o === it || (o === at || o ===
|
|
9706
|
-
O =
|
|
9705
|
+
if (P === mt(r) && (P = tr(r), Ut(P).position !== "static" && c === "absolute" && (M = "scrollHeight", z = "scrollWidth")), P = P, o === it || (o === at || o === Mt) && a === hn) {
|
|
9706
|
+
O = $t;
|
|
9707
9707
|
var L = f && P === b && b.visualViewport ? b.visualViewport.height : (
|
|
9708
9708
|
// $FlowFixMe[prop-missing]
|
|
9709
9709
|
P[M]
|
|
9710
9710
|
);
|
|
9711
9711
|
m -= L - n.height, m *= l ? 1 : -1;
|
|
9712
9712
|
}
|
|
9713
|
-
if (o === at || (o === it || o ===
|
|
9714
|
-
R =
|
|
9713
|
+
if (o === at || (o === it || o === $t) && a === hn) {
|
|
9714
|
+
R = Mt;
|
|
9715
9715
|
var N = f && P === b && b.visualViewport ? b.visualViewport.width : (
|
|
9716
9716
|
// $FlowFixMe[prop-missing]
|
|
9717
9717
|
P[z]
|
|
@@ -9736,7 +9736,7 @@ function ps(e) {
|
|
|
9736
9736
|
}
|
|
9737
9737
|
function Hh(e) {
|
|
9738
9738
|
var t = e.state, r = e.options, n = r.gpuAcceleration, o = n === void 0 ? !0 : n, a = r.adaptive, s = a === void 0 ? !0 : a, c = r.roundOffsets, l = c === void 0 ? !0 : c, u = {
|
|
9739
|
-
placement:
|
|
9739
|
+
placement: Lt(t.placement),
|
|
9740
9740
|
variation: Fr(t.placement),
|
|
9741
9741
|
popper: t.elements.popper,
|
|
9742
9742
|
popperRect: t.rects.popper,
|
|
@@ -9844,7 +9844,7 @@ function na(e) {
|
|
|
9844
9844
|
return /auto|scroll|overlay|hidden/.test(r + o + n);
|
|
9845
9845
|
}
|
|
9846
9846
|
function Ql(e) {
|
|
9847
|
-
return ["html", "body", "#document"].indexOf(
|
|
9847
|
+
return ["html", "body", "#document"].indexOf(Bt(e)) >= 0 ? e.ownerDocument.body : Ct(e) && na(e) ? e : Ql(Po(e));
|
|
9848
9848
|
}
|
|
9849
9849
|
function un(e, t) {
|
|
9850
9850
|
var r;
|
|
@@ -9873,7 +9873,7 @@ function ms(e, t, r) {
|
|
|
9873
9873
|
function rg(e) {
|
|
9874
9874
|
var t = un(Po(e)), r = ["absolute", "fixed"].indexOf(Ut(e).position) >= 0, n = r && Ct(e) ? Rn(e) : e;
|
|
9875
9875
|
return vr(n) ? t.filter(function(o) {
|
|
9876
|
-
return vr(o) && Kl(o, n) &&
|
|
9876
|
+
return vr(o) && Kl(o, n) && Bt(o) !== "body";
|
|
9877
9877
|
}) : [];
|
|
9878
9878
|
}
|
|
9879
9879
|
function ng(e, t, r, n) {
|
|
@@ -9884,7 +9884,7 @@ function ng(e, t, r, n) {
|
|
|
9884
9884
|
return c.width = c.right - c.left, c.height = c.bottom - c.top, c.x = c.left, c.y = c.top, c;
|
|
9885
9885
|
}
|
|
9886
9886
|
function ec(e) {
|
|
9887
|
-
var t = e.reference, r = e.element, n = e.placement, o = n ?
|
|
9887
|
+
var t = e.reference, r = e.element, n = e.placement, o = n ? Lt(n) : null, a = n ? Fr(n) : null, s = t.x + t.width / 2 - r.width / 2, c = t.y + t.height / 2 - r.height / 2, l;
|
|
9888
9888
|
switch (o) {
|
|
9889
9889
|
case it:
|
|
9890
9890
|
l = {
|
|
@@ -9892,13 +9892,13 @@ function ec(e) {
|
|
|
9892
9892
|
y: t.y - r.height
|
|
9893
9893
|
};
|
|
9894
9894
|
break;
|
|
9895
|
-
case
|
|
9895
|
+
case $t:
|
|
9896
9896
|
l = {
|
|
9897
9897
|
x: s,
|
|
9898
9898
|
y: t.y + t.height
|
|
9899
9899
|
};
|
|
9900
9900
|
break;
|
|
9901
|
-
case
|
|
9901
|
+
case Mt:
|
|
9902
9902
|
l = {
|
|
9903
9903
|
x: t.x + t.width,
|
|
9904
9904
|
y: c
|
|
@@ -9946,7 +9946,7 @@ function gn(e, t) {
|
|
|
9946
9946
|
if (p === tn && I) {
|
|
9947
9947
|
var V = I[o];
|
|
9948
9948
|
Object.keys(N).forEach(function(B) {
|
|
9949
|
-
var X = [$t
|
|
9949
|
+
var X = [Mt, $t].indexOf(B) >= 0 ? 1 : -1, U = [it, $t].indexOf(B) >= 0 ? "y" : "x";
|
|
9950
9950
|
N[B] += V[U] * X;
|
|
9951
9951
|
});
|
|
9952
9952
|
}
|
|
@@ -9966,14 +9966,14 @@ function og(e, t) {
|
|
|
9966
9966
|
boundary: o,
|
|
9967
9967
|
rootBoundary: a,
|
|
9968
9968
|
padding: s
|
|
9969
|
-
})[
|
|
9969
|
+
})[Lt(m)], x;
|
|
9970
9970
|
}, {});
|
|
9971
9971
|
return Object.keys(v).sort(function(x, m) {
|
|
9972
9972
|
return v[x] - v[m];
|
|
9973
9973
|
});
|
|
9974
9974
|
}
|
|
9975
9975
|
function ig(e) {
|
|
9976
|
-
if (
|
|
9976
|
+
if (Lt(e) === Ji)
|
|
9977
9977
|
return [];
|
|
9978
9978
|
var t = Zn(e);
|
|
9979
9979
|
return [fs(e), t, fs(t)];
|
|
@@ -9981,8 +9981,8 @@ function ig(e) {
|
|
|
9981
9981
|
function ag(e) {
|
|
9982
9982
|
var t = e.state, r = e.options, n = e.name;
|
|
9983
9983
|
if (!t.modifiersData[n]._skip) {
|
|
9984
|
-
for (var o = r.mainAxis, a = o === void 0 ? !0 : o, s = r.altAxis, c = s === void 0 ? !0 : s, l = r.fallbackPlacements, u = r.padding, d = r.boundary, f = r.rootBoundary, p = r.altBoundary, v = r.flipVariations, x = v === void 0 ? !0 : v, m = r.allowedAutoPlacements, y = t.options.placement, T =
|
|
9985
|
-
return q.concat(
|
|
9984
|
+
for (var o = r.mainAxis, a = o === void 0 ? !0 : o, s = r.altAxis, c = s === void 0 ? !0 : s, l = r.fallbackPlacements, u = r.padding, d = r.boundary, f = r.rootBoundary, p = r.altBoundary, v = r.flipVariations, x = v === void 0 ? !0 : v, m = r.allowedAutoPlacements, y = t.options.placement, T = Lt(y), S = T === y, R = l || (S || !x ? [Zn(y)] : ig(y)), O = [y].concat(R).reduce(function(q, Z) {
|
|
9985
|
+
return q.concat(Lt(Z) === Ji ? og(t, {
|
|
9986
9986
|
placement: Z,
|
|
9987
9987
|
boundary: d,
|
|
9988
9988
|
rootBoundary: f,
|
|
@@ -9991,13 +9991,13 @@ function ag(e) {
|
|
|
9991
9991
|
allowedAutoPlacements: m
|
|
9992
9992
|
}) : Z);
|
|
9993
9993
|
}, []), b = t.rects.reference, P = t.rects.popper, M = /* @__PURE__ */ new Map(), z = !0, L = O[0], N = 0; N < O.length; N++) {
|
|
9994
|
-
var I = O[N], V =
|
|
9994
|
+
var I = O[N], V = Lt(I), B = Fr(I) === Lr, X = [it, $t].indexOf(V) >= 0, U = X ? "width" : "height", F = gn(t, {
|
|
9995
9995
|
placement: I,
|
|
9996
9996
|
boundary: d,
|
|
9997
9997
|
rootBoundary: f,
|
|
9998
9998
|
altBoundary: p,
|
|
9999
9999
|
padding: u
|
|
10000
|
-
}), ee = X ? B ?
|
|
10000
|
+
}), ee = X ? B ? Mt : at : B ? $t : it;
|
|
10001
10001
|
b[U] > P[U] && (ee = Zn(ee));
|
|
10002
10002
|
var _ = Zn(ee), J = [];
|
|
10003
10003
|
if (a && J.push(F[V] <= 0), c && J.push(F[ee] <= 0, F[_] <= 0), J.every(function(q) {
|
|
@@ -10048,7 +10048,7 @@ function hs(e, t, r) {
|
|
|
10048
10048
|
};
|
|
10049
10049
|
}
|
|
10050
10050
|
function gs(e) {
|
|
10051
|
-
return [it, $t,
|
|
10051
|
+
return [it, Mt, $t, at].some(function(t) {
|
|
10052
10052
|
return e[t] >= 0;
|
|
10053
10053
|
});
|
|
10054
10054
|
}
|
|
@@ -10076,10 +10076,10 @@ const cg = {
|
|
|
10076
10076
|
fn: lg
|
|
10077
10077
|
};
|
|
10078
10078
|
function ug(e, t, r) {
|
|
10079
|
-
var n =
|
|
10079
|
+
var n = Lt(e), o = [at, it].indexOf(n) >= 0 ? -1 : 1, a = typeof r == "function" ? r(Object.assign({}, t, {
|
|
10080
10080
|
placement: e
|
|
10081
10081
|
})) : r, s = a[0], c = a[1];
|
|
10082
|
-
return s = s || 0, c = (c || 0) * o, [at,
|
|
10082
|
+
return s = s || 0, c = (c || 0) * o, [at, Mt].indexOf(n) >= 0 ? {
|
|
10083
10083
|
x: c,
|
|
10084
10084
|
y: s
|
|
10085
10085
|
} : {
|
|
@@ -10125,7 +10125,7 @@ function gg(e) {
|
|
|
10125
10125
|
rootBoundary: u,
|
|
10126
10126
|
padding: f,
|
|
10127
10127
|
altBoundary: d
|
|
10128
|
-
}), T =
|
|
10128
|
+
}), T = Lt(t.placement), S = Fr(t.placement), R = !S, O = ea(T), b = hg(O), P = t.modifiersData.popperOffsets, M = t.rects.reference, z = t.rects.popper, L = typeof m == "function" ? m(Object.assign({}, t.rects, {
|
|
10129
10129
|
placement: t.placement
|
|
10130
10130
|
})) : m, N = typeof L == "number" ? {
|
|
10131
10131
|
mainAxis: L,
|
|
@@ -10139,14 +10139,14 @@ function gg(e) {
|
|
|
10139
10139
|
};
|
|
10140
10140
|
if (P) {
|
|
10141
10141
|
if (a) {
|
|
10142
|
-
var B, X = O === "y" ? it : at, U = O === "y" ?
|
|
10142
|
+
var B, X = O === "y" ? it : at, U = O === "y" ? $t : Mt, F = O === "y" ? "height" : "width", ee = P[O], _ = ee + y[X], J = ee - y[U], $ = v ? -z[F] / 2 : 0, j = S === Lr ? M[F] : z[F], re = S === Lr ? -z[F] : -M[F], te = t.elements.arrow, q = v && te ? Qi(te) : {
|
|
10143
10143
|
width: 0,
|
|
10144
10144
|
height: 0
|
|
10145
10145
|
}, Z = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Xl(), Y = Z[X], Q = Z[U], G = cn(0, M[F], q[F]), H = R ? M[F] / 2 - $ - G - Y - N.mainAxis : j - G - Y - N.mainAxis, ie = R ? -M[F] / 2 + $ + G + Q + N.mainAxis : re + G + Q + N.mainAxis, fe = t.elements.arrow && Rn(t.elements.arrow), A = fe ? O === "y" ? fe.clientTop || 0 : fe.clientLeft || 0 : 0, Pe = (B = I == null ? void 0 : I[O]) != null ? B : 0, W = ee + H - Pe - A, we = ee + ie - Pe, We = cn(v ? uo(_, W) : _, ee, v ? fr(J, we) : J);
|
|
10146
10146
|
P[O] = We, V[O] = We - ee;
|
|
10147
10147
|
}
|
|
10148
10148
|
if (c) {
|
|
10149
|
-
var ht, Be = O === "x" ? it : at,
|
|
10149
|
+
var ht, Be = O === "x" ? it : at, kt = O === "x" ? $t : Mt, Ue = P[b], gt = b === "y" ? "height" : "width", ct = Ue + y[Be], jt = Ue - y[kt], ut = [it, at].indexOf(T) !== -1, Ke = (ht = I == null ? void 0 : I[b]) != null ? ht : 0, vt = ut ? ct : Ue - M[gt] - z[gt] - Ke + N.altAxis, Qe = ut ? Ue + M[gt] + z[gt] - Ke - N.altAxis : jt, Ht = v && ut ? zh(vt, Ue, Qe) : cn(v ? vt : ct, Ue, v ? Qe : jt);
|
|
10150
10150
|
P[b] = Ht, V[b] = Ht - Ue;
|
|
10151
10151
|
}
|
|
10152
10152
|
t.modifiersData[n] = V;
|
|
@@ -10181,7 +10181,7 @@ function Eg(e, t, r) {
|
|
|
10181
10181
|
x: 0,
|
|
10182
10182
|
y: 0
|
|
10183
10183
|
};
|
|
10184
|
-
return (n || !n && !r) && ((
|
|
10184
|
+
return (n || !n && !r) && ((Bt(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
|
|
10185
10185
|
na(a)) && (c = bg(t)), Ct(t) ? (l = zr(t, !0), l.x += t.clientLeft, l.y += t.clientTop) : a && (l.x = ra(a))), {
|
|
10186
10186
|
x: s.left + c.scrollLeft - l.x,
|
|
10187
10187
|
y: s.top + c.scrollTop - l.y,
|
|
@@ -10360,7 +10360,7 @@ const po = /* @__PURE__ */ C.forwardRef(function(t, r) {
|
|
|
10360
10360
|
children: n,
|
|
10361
10361
|
container: o,
|
|
10362
10362
|
disablePortal: a = !1
|
|
10363
|
-
} = t, [s, c] = C.useState(null), l =
|
|
10363
|
+
} = t, [s, c] = C.useState(null), l = Rt(/* @__PURE__ */ C.isValidElement(n) ? n.ref : null, r);
|
|
10364
10364
|
if (gr(() => {
|
|
10365
10365
|
a || c(Mg(o) || document.body);
|
|
10366
10366
|
}, [o, a]), gr(() => {
|
|
@@ -10464,7 +10464,7 @@ const Ig = (e) => {
|
|
|
10464
10464
|
TransitionProps: m
|
|
10465
10465
|
// @ts-ignore internal logic
|
|
10466
10466
|
// prevent from spreading to DOM, it can come from the parent component e.g. Select.
|
|
10467
|
-
} = t, y = se(t, kg), T = C.useRef(null), S =
|
|
10467
|
+
} = t, y = se(t, kg), T = C.useRef(null), S = Rt(T, r), R = C.useRef(null), O = Rt(R, p), b = C.useRef(O);
|
|
10468
10468
|
gr(() => {
|
|
10469
10469
|
b.current = O;
|
|
10470
10470
|
}, [O]), C.useImperativeHandle(p, () => R.current, []);
|
|
@@ -11109,7 +11109,7 @@ const rc = /* @__PURE__ */ C.forwardRef(function(t, r) {
|
|
|
11109
11109
|
TransitionProps: Pe
|
|
11110
11110
|
} = P, W = se(P, Fg), we = /* @__PURE__ */ C.isValidElement(z) ? z : /* @__PURE__ */ h.jsx("span", {
|
|
11111
11111
|
children: z
|
|
11112
|
-
}), We = wn(), ht = Xf(), [Be,
|
|
11112
|
+
}), We = wn(), ht = Xf(), [Be, kt] = C.useState(), [Ue, gt] = C.useState(null), ct = C.useRef(!1), jt = X || J, ut = Mr(), Ke = Mr(), vt = Mr(), Qe = Mr(), [Ht, ae] = xl({
|
|
11113
11113
|
controlled: Z,
|
|
11114
11114
|
default: !1,
|
|
11115
11115
|
name: "Tooltip",
|
|
@@ -11125,8 +11125,8 @@ const rc = /* @__PURE__ */ C.forwardRef(function(t, r) {
|
|
|
11125
11125
|
`));
|
|
11126
11126
|
}, [fe, Be, K]);
|
|
11127
11127
|
}
|
|
11128
|
-
const
|
|
11129
|
-
|
|
11128
|
+
const Ft = bl($), _t = C.useRef(), rr = cr(() => {
|
|
11129
|
+
_t.current !== void 0 && (document.body.style.WebkitUserSelect = _t.current, _t.current = void 0), Qe.clear();
|
|
11130
11130
|
});
|
|
11131
11131
|
C.useEffect(() => rr, [rr]);
|
|
11132
11132
|
const $n = (K) => {
|
|
@@ -11158,14 +11158,14 @@ const rc = /* @__PURE__ */ C.forwardRef(function(t, r) {
|
|
|
11158
11158
|
} = Fi(), [, Er] = C.useState(!1), Tr = (K) => {
|
|
11159
11159
|
Yr(K), Mn.current === !1 && (Er(!1), Hr(K));
|
|
11160
11160
|
}, Kr = (K) => {
|
|
11161
|
-
Be ||
|
|
11161
|
+
Be || kt(K.currentTarget), Pn(K), Mn.current === !0 && (Er(!0), xr(K));
|
|
11162
11162
|
}, kn = (K) => {
|
|
11163
11163
|
ct.current = !0;
|
|
11164
11164
|
const de = we.props;
|
|
11165
11165
|
de.onTouchStart && de.onTouchStart(K);
|
|
11166
11166
|
}, jn = (K) => {
|
|
11167
|
-
kn(K), vt.clear(), ut.clear(), rr(),
|
|
11168
|
-
document.body.style.WebkitUserSelect =
|
|
11167
|
+
kn(K), vt.clear(), ut.clear(), rr(), _t.current = document.body.style.WebkitUserSelect, document.body.style.WebkitUserSelect = "none", Qe.start(_, () => {
|
|
11168
|
+
document.body.style.WebkitUserSelect = _t.current, xr(K);
|
|
11169
11169
|
});
|
|
11170
11170
|
}, jo = (K) => {
|
|
11171
11171
|
we.props.onTouchEnd && we.props.onTouchEnd(K), rr(), vt.start(re, () => {
|
|
@@ -11182,7 +11182,7 @@ const rc = /* @__PURE__ */ C.forwardRef(function(t, r) {
|
|
|
11182
11182
|
document.removeEventListener("keydown", K);
|
|
11183
11183
|
};
|
|
11184
11184
|
}, [br, Xe]);
|
|
11185
|
-
const _n =
|
|
11185
|
+
const _n = Rt(we.ref, Yt, kt, r);
|
|
11186
11186
|
!fe && fe !== 0 && (Xe = !1);
|
|
11187
11187
|
const Or = C.useRef(), _o = (K) => {
|
|
11188
11188
|
const de = we.props;
|
|
@@ -11191,7 +11191,7 @@ const rc = /* @__PURE__ */ C.forwardRef(function(t, r) {
|
|
|
11191
11191
|
y: K.clientY
|
|
11192
11192
|
}, Or.current && Or.current.update();
|
|
11193
11193
|
}, nr = {}, Cr = typeof fe == "string";
|
|
11194
|
-
I ? (nr.title = !Xe && Cr && !B ? fe : null, nr["aria-describedby"] = Xe ?
|
|
11194
|
+
I ? (nr.title = !Xe && Cr && !B ? fe : null, nr["aria-describedby"] = Xe ? Ft : null) : (nr["aria-label"] = Cr ? fe : null, nr["aria-labelledby"] = Xe && !Cr ? Ft : null);
|
|
11195
11195
|
const Je = E({}, nr, W, we.props, {
|
|
11196
11196
|
className: ue(W.className, we.props.className),
|
|
11197
11197
|
onTouchStart: kn,
|
|
@@ -11204,7 +11204,7 @@ const rc = /* @__PURE__ */ C.forwardRef(function(t, r) {
|
|
|
11204
11204
|
`));
|
|
11205
11205
|
}, [Be]));
|
|
11206
11206
|
const or = {};
|
|
11207
|
-
U || (Je.onTouchStart = jn, Je.onTouchEnd = jo), B || (Je.onMouseOver = Un(xr, Je.onMouseOver), Je.onMouseLeave = Un(Hr, Je.onMouseLeave),
|
|
11207
|
+
U || (Je.onTouchStart = jn, Je.onTouchEnd = jo), B || (Je.onMouseOver = Un(xr, Je.onMouseOver), Je.onMouseLeave = Un(Hr, Je.onMouseLeave), jt || (or.onMouseOver = xr, or.onMouseLeave = Hr)), V || (Je.onFocus = Un(Kr, Je.onFocus), Je.onBlur = Un(Tr, Je.onBlur), jt || (or.onFocus = Kr, or.onBlur = Tr)), process.env.NODE_ENV !== "production" && we.props.title && console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.", `Remove this title prop \`${we.props.title}\` or the Tooltip component.`].join(`
|
|
11208
11208
|
`));
|
|
11209
11209
|
const Ao = C.useMemo(() => {
|
|
11210
11210
|
var K;
|
|
@@ -11222,7 +11222,7 @@ const rc = /* @__PURE__ */ C.forwardRef(function(t, r) {
|
|
|
11222
11222
|
}, [Ue, G]), ir = E({}, P, {
|
|
11223
11223
|
isRtl: ht,
|
|
11224
11224
|
arrow: M,
|
|
11225
|
-
disableInteractive:
|
|
11225
|
+
disableInteractive: jt,
|
|
11226
11226
|
placement: Y,
|
|
11227
11227
|
PopperComponentProp: Q,
|
|
11228
11228
|
touch: ct.current
|
|
@@ -11249,7 +11249,7 @@ const rc = /* @__PURE__ */ C.forwardRef(function(t, r) {
|
|
|
11249
11249
|
} : Be,
|
|
11250
11250
|
popperRef: Or,
|
|
11251
11251
|
open: Be ? Xe : !1,
|
|
11252
|
-
id:
|
|
11252
|
+
id: Ft,
|
|
11253
11253
|
transition: !0
|
|
11254
11254
|
}, or, me, {
|
|
11255
11255
|
popperOptions: Ao,
|
|
@@ -11532,7 +11532,7 @@ const Ze = {
|
|
|
11532
11532
|
A200: "#18ffff",
|
|
11533
11533
|
A400: "#00e5ff",
|
|
11534
11534
|
A700: "#00b8d4"
|
|
11535
|
-
},
|
|
11535
|
+
}, At = {
|
|
11536
11536
|
50: "#f1f8e9",
|
|
11537
11537
|
100: "#dcedc8",
|
|
11538
11538
|
200: "#c5e1a5",
|
|
@@ -11654,16 +11654,16 @@ const Ze = {
|
|
|
11654
11654
|
lightBlueA200: Ce.A200,
|
|
11655
11655
|
lightBlueA400: Ce.A400,
|
|
11656
11656
|
lightBlueA700: Ce.A700,
|
|
11657
|
-
lightGreen50:
|
|
11658
|
-
lightGreen100:
|
|
11659
|
-
lightGreen200:
|
|
11660
|
-
lightGreen300:
|
|
11661
|
-
lightGreen400:
|
|
11662
|
-
lightGreen500:
|
|
11663
|
-
lightGreen600:
|
|
11664
|
-
lightGreen700:
|
|
11665
|
-
lightGreen800:
|
|
11666
|
-
lightGreen900:
|
|
11657
|
+
lightGreen50: At[50],
|
|
11658
|
+
lightGreen100: At[100],
|
|
11659
|
+
lightGreen200: At[200],
|
|
11660
|
+
lightGreen300: At[300],
|
|
11661
|
+
lightGreen400: At[400],
|
|
11662
|
+
lightGreen500: At[500],
|
|
11663
|
+
lightGreen600: At[600],
|
|
11664
|
+
lightGreen700: At[700],
|
|
11665
|
+
lightGreen800: At[800],
|
|
11666
|
+
lightGreen900: At[900],
|
|
11667
11667
|
neutral00: ne.neutral00,
|
|
11668
11668
|
neutral50: Ne[50],
|
|
11669
11669
|
neutral100: Ne[100],
|
|
@@ -12110,7 +12110,7 @@ const iv = (e) => {
|
|
|
12110
12110
|
root: ["root", r && "container", o && "item", c && "zeroMinWidth", ...u, n !== "row" && `direction-xs-${String(n)}`, s !== "wrap" && `wrap-xs-${String(s)}`, ...d]
|
|
12111
12111
|
};
|
|
12112
12112
|
return Ve(f, Hg, t);
|
|
12113
|
-
},
|
|
12113
|
+
}, wt = /* @__PURE__ */ C.forwardRef(function(t, r) {
|
|
12114
12114
|
const n = Le({
|
|
12115
12115
|
props: t,
|
|
12116
12116
|
name: "MuiGrid"
|
|
@@ -12155,7 +12155,7 @@ const iv = (e) => {
|
|
|
12155
12155
|
}, M))
|
|
12156
12156
|
});
|
|
12157
12157
|
});
|
|
12158
|
-
process.env.NODE_ENV !== "production" && (
|
|
12158
|
+
process.env.NODE_ENV !== "production" && (wt.propTypes = {
|
|
12159
12159
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
12160
12160
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
12161
12161
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -12284,8 +12284,8 @@ process.env.NODE_ENV !== "production" && (Wt.propTypes = {
|
|
|
12284
12284
|
zeroMinWidth: i.bool
|
|
12285
12285
|
});
|
|
12286
12286
|
if (process.env.NODE_ENV !== "production") {
|
|
12287
|
-
const e = yl("Grid",
|
|
12288
|
-
|
|
12287
|
+
const e = yl("Grid", wt);
|
|
12288
|
+
wt.propTypes = E({}, wt.propTypes, {
|
|
12289
12289
|
direction: e("container"),
|
|
12290
12290
|
lg: e("item"),
|
|
12291
12291
|
md: e("item"),
|
|
@@ -12298,7 +12298,7 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
12298
12298
|
}
|
|
12299
12299
|
function dy({ Header: e, children: t, ...r }) {
|
|
12300
12300
|
const { sx: n, ...o } = r || {};
|
|
12301
|
-
return h.jsxs(
|
|
12301
|
+
return h.jsxs(wt, { container: !0, children: [e, h.jsx(wt, { item: !0, container: !0, xs: 12, sx: {
|
|
12302
12302
|
justifyContent: "center",
|
|
12303
12303
|
alignContent: "flex-start",
|
|
12304
12304
|
alignItems: "center",
|
|
@@ -12307,10 +12307,10 @@ function dy({ Header: e, children: t, ...r }) {
|
|
|
12307
12307
|
minHeight: "100vh",
|
|
12308
12308
|
overflow: "auto",
|
|
12309
12309
|
...n
|
|
12310
|
-
}, "data-test-layout-details": "content-slot", ...o, children: h.jsx(
|
|
12310
|
+
}, "data-test-layout-details": "content-slot", ...o, children: h.jsx(wt, { item: !0, xs: 10, children: t }) })] });
|
|
12311
12311
|
}
|
|
12312
12312
|
function py({ Header: e, children: t, ...r }) {
|
|
12313
|
-
return h.jsxs(
|
|
12313
|
+
return h.jsxs(wt, { container: !0, children: [e, h.jsx(wt, { item: !0, container: !0, xs: 12, sx: {
|
|
12314
12314
|
justifyContent: "center",
|
|
12315
12315
|
alignContent: "flex-start",
|
|
12316
12316
|
alignItems: "center",
|
|
@@ -12319,6 +12319,18 @@ function py({ Header: e, children: t, ...r }) {
|
|
|
12319
12319
|
pb: 6
|
|
12320
12320
|
}, ...r, children: t })] });
|
|
12321
12321
|
}
|
|
12322
|
+
function fy({ Header: e, children: t, sx: r, ...n }) {
|
|
12323
|
+
return h.jsxs(wt, { container: !0, children: [e, h.jsx(wt, { item: !0, container: !0, xs: 12, sx: {
|
|
12324
|
+
justifyContent: "center",
|
|
12325
|
+
alignContent: "flex-start",
|
|
12326
|
+
alignItems: "center",
|
|
12327
|
+
pt: 8,
|
|
12328
|
+
backgroundColor: w.neutral50,
|
|
12329
|
+
minHeight: "100vh",
|
|
12330
|
+
overflow: "auto",
|
|
12331
|
+
...r
|
|
12332
|
+
}, "data-test-workflow-layout": "content-slot", ...n, children: h.jsx(wt, { item: !0, xs: 8, children: t }) })] });
|
|
12333
|
+
}
|
|
12322
12334
|
class av {
|
|
12323
12335
|
constructor() {
|
|
12324
12336
|
An(this, "BASE_ATTRIBUTE", 'data-test="ink-dialog"');
|
|
@@ -12379,7 +12391,7 @@ class av {
|
|
|
12379
12391
|
this.title.should("have.text", t);
|
|
12380
12392
|
}
|
|
12381
12393
|
}
|
|
12382
|
-
const
|
|
12394
|
+
const my = new av();
|
|
12383
12395
|
class oc {
|
|
12384
12396
|
constructor(t) {
|
|
12385
12397
|
An(this, "baseAttribute", "data-test-select");
|
|
@@ -12741,8 +12753,8 @@ const uc = /* @__PURE__ */ C.forwardRef(function(t, r) {
|
|
|
12741
12753
|
style: R,
|
|
12742
12754
|
timeout: O = a,
|
|
12743
12755
|
// eslint-disable-next-line react/prop-types
|
|
12744
|
-
TransitionComponent: b =
|
|
12745
|
-
} = t, P = se(t, Cv), M = C.useRef(null), z =
|
|
12756
|
+
TransitionComponent: b = zt
|
|
12757
|
+
} = t, P = se(t, Cv), M = C.useRef(null), z = Rt(l.ref, M, r), L = (_) => (J) => {
|
|
12746
12758
|
_ && (J === void 0 ? _(M.current) : _(M.current, J));
|
|
12747
12759
|
}, N = L((_, J) => {
|
|
12748
12760
|
qn(d, _, u), Wl(_), v && v(_, J);
|
|
@@ -13510,7 +13522,7 @@ const Sv = {
|
|
|
13510
13522
|
})
|
|
13511
13523
|
}
|
|
13512
13524
|
}
|
|
13513
|
-
},
|
|
13525
|
+
}, hy = Ai({
|
|
13514
13526
|
typography: {
|
|
13515
13527
|
fontFamily: ["Inter", "sans-serif"].join(",")
|
|
13516
13528
|
},
|
|
@@ -13696,10 +13708,11 @@ export {
|
|
|
13696
13708
|
ry as InkToggleTextGroup,
|
|
13697
13709
|
Zv as InkWorkflowHeader,
|
|
13698
13710
|
Kv as LinkBreadcrumbs,
|
|
13699
|
-
|
|
13711
|
+
hy as MovableUITheme,
|
|
13700
13712
|
Xv as PageHeaderActionButtons,
|
|
13701
13713
|
sy as SnackbarActionButton,
|
|
13702
|
-
fy as
|
|
13714
|
+
fy as WorkflowLayout,
|
|
13715
|
+
my as inkDialog,
|
|
13703
13716
|
oc as inkSelect
|
|
13704
13717
|
};
|
|
13705
13718
|
//# sourceMappingURL=index.mjs.map
|