@sheetxl/utils-mui 0.6.9 → 0.6.11
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/browser/cjs/{DHJYw1Rt2HBdXtOv.cjs → CqByC5PndixLEEM7.cjs} +3 -3
- package/browser/cjs/{CKlfdSTK9vZ3XEiu.cjs → DseLDYzY7eknsbxJ.cjs} +2 -2
- package/browser/cjs/index.cjs +2 -2
- package/browser/esm/{NpR41vbMLtz0fGKR.mjs → CDSN5XFUuylN_uAI.mjs} +2 -2
- package/browser/esm/index.mjs +2 -2
- package/browser/esm/{A_-uypYh_c2Wul4t.mjs → piV-tYQl4daQogUt.mjs} +97 -91
- package/node/esm/{B3VQbqLe_WpuSVZA.mjs → D17lNers21SpSCfd.mjs} +1 -1
- package/node/esm/index.mjs +12 -6
- package/package.json +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import J, { memo as i0, forwardRef as d0, useEffect as x0, useMemo as t0, version as D5, useLayoutEffect as S3, useState as
|
|
1
|
+
import J, { memo as i0, forwardRef as d0, useEffect as x0, useMemo as t0, version as D5, useLayoutEffect as S3, useState as n0, useRef as v0, useImperativeHandle as Z5, useCallback as D0, createContext as O5, Suspense as E5, Fragment as T5, useContext as P5, useReducer as A5 } from "react";
|
|
2
2
|
import { jsx as t, jsxs as x, Fragment as X0 } from "react/jsx-runtime";
|
|
3
3
|
import { alpha as f0, darken as R5, lighten as F5 } from "@mui/system";
|
|
4
4
|
import { SvgIcon as V, Box as X, IconButton as K0, Divider as N3, Typography as L0, Paper as M1, Chip as _5, Popper as I5, Grow as B5, Tooltip as j5, ListItemIcon as $5, MenuItem as D3, Fade as W5, Backdrop as U5, DialogTitle as q5, Button as Y5, DialogContent as G5, DialogActions as X5, Input as K5, Toolbar as Q5 } from "@mui/material";
|
|
@@ -9,7 +9,7 @@ import { deepmerge as O3 } from "@mui/utils";
|
|
|
9
9
|
import { ArrowLeft as a8, ArrowUpward as o8, ArrowRight as i8, ArrowDownward as c8, ContentCopy as l8, BugReport as s8, Error as d8, Close as u8 } from "@mui/icons-material";
|
|
10
10
|
import E3, { createPortal as h8 } from "react-dom";
|
|
11
11
|
/**
|
|
12
|
-
* @license @sheetxl/utils-mui - Utilities MUI - Utilities for MUI Components needed for all SheetXL components. - v0.6.
|
|
12
|
+
* @license @sheetxl/utils-mui - Utilities MUI - Utilities for MUI Components needed for all SheetXL components. - v0.6.11
|
|
13
13
|
*
|
|
14
14
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
15
15
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -126,7 +126,7 @@ function I3(e) {
|
|
|
126
126
|
}
|
|
127
127
|
var B3 = F3 ? S3 : x0, S2 = { x: 0, y: 0, width: 0, height: 0, top: 0, left: 0, bottom: 0, right: 0 };
|
|
128
128
|
const N2 = F3 && window.ResizeObserver !== void 0 ? function() {
|
|
129
|
-
var e =
|
|
129
|
+
var e = n0(null), a = e[0], r = e[1], n = n0(S2), c = n[0], l = n[1], o = t0(function() {
|
|
130
130
|
return new window.ResizeObserver(function(d) {
|
|
131
131
|
if (d[0]) {
|
|
132
132
|
var i = d[0].contentRect, s = i.x, p = i.y, z = i.width, v = i.height, b = i.top, H = i.left, g = i.bottom, m = i.right;
|
|
@@ -191,7 +191,7 @@ const H8 = /^\s*at\s+(?:(async|new|await)\s+)?(.+?)\s+\((.+?):(\d+):(\d+)\)$/, x
|
|
|
191
191
|
}
|
|
192
192
|
return e = (e = e.replace(/^\/+/, "")).replace(/^@?fs[\\/]/, "");
|
|
193
193
|
}, j3 = i0(({ error: e, maxLines: a = Number.MAX_SAFE_INTEGER, hideLineNumbers: r = !1 }) => {
|
|
194
|
-
const [n, c] =
|
|
194
|
+
const [n, c] = n0(null);
|
|
195
195
|
if (!e?.stack) return null;
|
|
196
196
|
const l = ((s) => {
|
|
197
197
|
const p = [], z = (v, b = 0) => {
|
|
@@ -391,17 +391,17 @@ function S8(e, a) {
|
|
|
391
391
|
})(typeof f != "number" ? f : (r = f, M8.reduce(function(P, _) {
|
|
392
392
|
return P[_] = r, P;
|
|
393
393
|
}, {}))), M = b === u1 ? "reference" : u1, S = e.rects.popper, D = e.elements[g ? M : b], R = (function(P, _, I, U) {
|
|
394
|
-
var
|
|
394
|
+
var r0 = _ === "clippingParents" ? k8(P) : [].concat(_), G = [].concat(r0, [I]), Q = G[0], c0 = G.reduce(function(a0, e0) {
|
|
395
395
|
var s0 = P2(P, e0, U);
|
|
396
|
-
return
|
|
396
|
+
return a0.top = b1(s0.top, a0.top), a0.right = Z2(s0.right, a0.right), a0.bottom = Z2(s0.bottom, a0.bottom), a0.left = b1(s0.left, a0.left), a0;
|
|
397
397
|
}, P2(P, Q, U));
|
|
398
398
|
return c0.width = c0.right - c0.left, c0.height = c0.bottom - c0.top, c0.x = c0.left, c0.y = c0.top, c0;
|
|
399
399
|
})(i1(D) ? D : D.contextElement || o1(e.elements.popper), s, z, d), C = f2(e.elements.reference), j = (function(P) {
|
|
400
|
-
var _, I = P.reference, U = P.element,
|
|
400
|
+
var _, I = P.reference, U = P.element, r0 = P.placement, G = r0 ? (function(m0) {
|
|
401
401
|
return m0.split("-")[0];
|
|
402
|
-
})(
|
|
402
|
+
})(r0) : null, Q = r0 ? (function(m0) {
|
|
403
403
|
return m0.split("-")[1];
|
|
404
|
-
})(
|
|
404
|
+
})(r0) : null, c0 = I.x + I.width / 2 - U.width / 2, a0 = I.y + I.height / 2 - U.height / 2;
|
|
405
405
|
switch (G) {
|
|
406
406
|
case t2:
|
|
407
407
|
_ = { x: c0, y: I.y - U.height };
|
|
@@ -410,10 +410,10 @@ function S8(e, a) {
|
|
|
410
410
|
_ = { x: c0, y: I.y + I.height };
|
|
411
411
|
break;
|
|
412
412
|
case n2:
|
|
413
|
-
_ = { x: I.x + I.width, y:
|
|
413
|
+
_ = { x: I.x + I.width, y: a0 };
|
|
414
414
|
break;
|
|
415
415
|
case W3:
|
|
416
|
-
_ = { x: I.x - U.width, y:
|
|
416
|
+
_ = { x: I.x - U.width, y: a0 };
|
|
417
417
|
break;
|
|
418
418
|
default:
|
|
419
419
|
_ = { x: I.x, y: I.y };
|
|
@@ -455,11 +455,11 @@ const N8 = { name: "maxSize", enabled: !0, phase: "main", requiresIfExists: ["of
|
|
|
455
455
|
} }, u = t0(() => {
|
|
456
456
|
const G = [{ name: "offset", options: { offset: o } }, { name: "flip", enabled: !0, options: { rootBoundary: "document" } }];
|
|
457
457
|
return H && G.unshift(N8, f), G;
|
|
458
|
-
}, [H, o]), [M, S] =
|
|
458
|
+
}, [H, o]), [M, S] = n0(!1), D = J.useRef(null), R = l0(() => {
|
|
459
459
|
s?.(A.current, D.current);
|
|
460
460
|
}, [p]), C = l0(p, [p]), j = l0(z, [z]), L = l0(v, [v]), w = l0(() => {
|
|
461
461
|
S(!1), b?.();
|
|
462
|
-
}, [b]), [Z, N] =
|
|
462
|
+
}, [b]), [Z, N] = n0(!1), A = J.useRef(null), P = J.useRef(!0), _ = t0(() => ({ onFirstUpdate: () => {
|
|
463
463
|
P.current && (N(!0), R?.(), P.current = !1);
|
|
464
464
|
} }), [n, M]);
|
|
465
465
|
x0(() => {
|
|
@@ -467,9 +467,9 @@ const N8 = { name: "maxSize", enabled: !0, phase: "main", requiresIfExists: ["of
|
|
|
467
467
|
}, [n, Z]);
|
|
468
468
|
const I = t0(() => ({ getBoundingClientRect: () => i ? new DOMRect(i?.left || 0, i?.top || 0, 0, 0) : d.getBoundingClientRect() }), [i, d]);
|
|
469
469
|
Z5(a, () => ({ instance: () => D.current, element: () => A.current }), []);
|
|
470
|
-
const { getPortalContainer: U } = l2(),
|
|
471
|
-
return t(I5, { ref: A, popperRef: D, container: U, anchorEl: I, open: M, role: void 0, popperOptions: _, transition: !0, sx:
|
|
472
|
-
const { in:
|
|
470
|
+
const { getPortalContainer: U } = l2(), r0 = t0(() => ({ zIndex: n ? "1300" : "1299", display: "flex", pointerEvents: M && n ? void 0 : "none", maxWidth: "100%", maxHeight: "100%", ...r }), [r, n, M]);
|
|
471
|
+
return t(I5, { ref: A, popperRef: D, container: U, anchorEl: I, open: M, role: void 0, popperOptions: _, transition: !0, sx: r0, placement: "bottom-start", modifiers: u, ...g, children: ({ TransitionProps: G, placement: Q, ...c0 }) => {
|
|
472
|
+
const { in: a0, onEnter: e0, onExited: s0, ...m0 } = G ?? {};
|
|
473
473
|
return t(B5, { ...m0, in: n, onEnter: () => {
|
|
474
474
|
e0?.(), j();
|
|
475
475
|
}, onExited: () => {
|
|
@@ -512,7 +512,7 @@ function J3(e, a) {
|
|
|
512
512
|
return N0.getOS() === N0.OSType.Firefox && (r["* .pseudo-scrollbar"] = { scrollbarColor: `${a.thumb} transparent` }, r["* .pseudo-scrollbar:hover:not([disabled])"] = { scrollbarColor: `${a.active} transparent` }), r;
|
|
513
513
|
}
|
|
514
514
|
const e5 = i0(d0((e, a) => {
|
|
515
|
-
const { open: r, anchorEl: n, anchorPosition: c, label: l, floatReference: o, createPopupPanel: d = v2, popperProps: i, onMount: s, onClosing: p, onClose: z, onOpening: v, onOpen: b, children: H, sx: g, ...m } = e, f = l0(p, [p]), u = l0(z, [z]), M = l0(v, [v]), S = l0(b, [b]), [D, R] =
|
|
515
|
+
const { open: r, anchorEl: n, anchorPosition: c, label: l, floatReference: o, createPopupPanel: d = v2, popperProps: i, onMount: s, onClosing: p, onClose: z, onOpening: v, onOpen: b, children: H, sx: g, ...m } = e, f = l0(p, [p]), u = l0(z, [z]), M = l0(v, [v]), S = l0(b, [b]), [D, R] = n0(), C = v0(null), j = l0((w, Z) => {
|
|
516
516
|
R(w), s?.(C.current, Z);
|
|
517
517
|
}, [s]), L = t0(() => {
|
|
518
518
|
const w = { popupContainer: D, floatReference: o, children: H, ...m }, Z = d(w);
|
|
@@ -536,7 +536,7 @@ const K1 = (e = null, a, r, n) => (I0 && (I0.fn.clear(), I0 = null), e === 0 ? a
|
|
|
536
536
|
const a = /* @__PURE__ */ new Set();
|
|
537
537
|
return t5(a, e), a;
|
|
538
538
|
}, $1 = (e) => {
|
|
539
|
-
const { anchor: a, label: r = null, parentFloat: n = null, onOpen: c, onClose: l, popperProps: o, createPopupPanel: d = v2 } = e ?? {}, i = l0(c, [c]), s = l0(l, [l]), [p, z] =
|
|
539
|
+
const { anchor: a, label: r = null, parentFloat: n = null, onOpen: c, onClose: l, popperProps: o, createPopupPanel: d = v2 } = e ?? {}, i = l0(c, [c]), s = l0(l, [l]), [p, z] = n0(null), [v, b] = n0(!1), [H, g] = n0(!1), m = t0(() => n === null ? (X1 === null && (X1 = { key: { label: "root" }, isRoot: !0, parent: null, open: () => null, close: (y) => null, closeChild: (y) => null, onChildVisible: () => {
|
|
540
540
|
}, onChildHidden: () => {
|
|
541
541
|
}, closeAll: () => I(0), floatElement: () => null, anchorElement: () => null }), X1) : n, []), f = t0(() => ({ label: r }), []), u = J.useRef(null), M = J.useRef(a);
|
|
542
542
|
x0(() => {
|
|
@@ -546,7 +546,7 @@ const K1 = (e = null, a, r, n) => (I0 && (I0.fn.clear(), I0 = null), e === 0 ? a
|
|
|
546
546
|
const k = W0.get(y);
|
|
547
547
|
let O = null;
|
|
548
548
|
return k && (O = U0.get(k)?.close(0)), O;
|
|
549
|
-
}, D = () => S(G.key), [R, C] =
|
|
549
|
+
}, D = () => S(G.key), [R, C] = n0(), j = () => {
|
|
550
550
|
if (!p) return void N();
|
|
551
551
|
const y = new Promise((k, O) => {
|
|
552
552
|
C((T) => ({ resolve: k, reject: O }));
|
|
@@ -567,14 +567,14 @@ const K1 = (e = null, a, r, n) => (I0 && (I0.fn.clear(), I0 = null), e === 0 ? a
|
|
|
567
567
|
y && y !== f && U0.get(y)?.close(0), requestAnimationFrame(() => {
|
|
568
568
|
W0.set(m.key, G.key), z(!0);
|
|
569
569
|
});
|
|
570
|
-
}, [Z, N] = J.useReducer((y) => y + 1, 0), A = D0((y) => d === null ? null : d({ closeFloat: I, closeFloatAll:
|
|
570
|
+
}, [Z, N] = J.useReducer((y) => y + 1, 0), A = D0((y) => d === null ? null : d({ closeFloat: I, closeFloatAll: r0, ...y }), [d]), P = d === null, _ = l0((y = 120) => K1(y, w, /* @__PURE__ */ new Set([G]), !1)(), [w]), I = l0((y = 60) => K1(y, j, F2(G), !0)(), [j]), U = l0((y = 360) => K1(y, D, F2(((k) => {
|
|
571
571
|
const O = W0.get(k.key);
|
|
572
572
|
return O && U0.get(O) || null;
|
|
573
|
-
})(G)), !0)(), [D]),
|
|
573
|
+
})(G)), !0)(), [D]), r0 = l0(L, [L]), G = t0(() => ({ key: f, isRoot: !1, label: r, parent: m, onChildVisible: () => {
|
|
574
574
|
g(!0);
|
|
575
575
|
}, onChildHidden: () => {
|
|
576
576
|
g(!1);
|
|
577
|
-
}, open: _, close: I, closeChild: U, closeAll:
|
|
577
|
+
}, open: _, close: I, closeChild: U, closeAll: r0, floatElement: () => u.current, anchorElement: () => M.current }), []);
|
|
578
578
|
x0(() => {
|
|
579
579
|
U0.set(f, G);
|
|
580
580
|
}, [G]), x0(() => () => {
|
|
@@ -584,7 +584,7 @@ const K1 = (e = null, a, r, n) => (I0 && (I0.fn.clear(), I0 = null), e === 0 ? a
|
|
|
584
584
|
}, [p, P]);
|
|
585
585
|
const Q = D0((y) => {
|
|
586
586
|
y.which === w0.Escape && (y.preventDefault(), y.stopPropagation(), I(0));
|
|
587
|
-
}, []), c0 = J.useRef(null),
|
|
587
|
+
}, []), c0 = J.useRef(null), a0 = D0(() => {
|
|
588
588
|
const y = c0.current, k = u.current;
|
|
589
589
|
y && k && (requestAnimationFrame(() => {
|
|
590
590
|
(k.contains(document.activeElement) || document.activeElement === document.body) && y.focus();
|
|
@@ -597,11 +597,11 @@ const K1 = (e = null, a, r, n) => (I0 && (I0.fn.clear(), I0 = null), e === 0 ? a
|
|
|
597
597
|
requestAnimationFrame(() => {
|
|
598
598
|
k === document.activeElement && y.focus();
|
|
599
599
|
});
|
|
600
|
-
}, []), [s0, m0] =
|
|
600
|
+
}, []), [s0, m0] = n0();
|
|
601
601
|
x0(() => {
|
|
602
602
|
P && (p ? i?.() : p === !1 && s?.()), m0(v ? t(e5, { floatReference: G, open: p, label: r, anchorEl: a, onOpening: () => {
|
|
603
603
|
i?.(), m.onChildVisible();
|
|
604
|
-
}, onClosing:
|
|
604
|
+
}, onClosing: a0, onClose: () => {
|
|
605
605
|
b(!1), m.onChildHidden();
|
|
606
606
|
}, onMount: e0, popperProps: { onKeyDown: Q, onMouseEnter: (y) => {
|
|
607
607
|
p && I0?.isClose && I0.setReferences.has(G) && (I0.fn.clear(), I0 = null, G.closeChild());
|
|
@@ -669,10 +669,16 @@ const h1 = i0((e) => {
|
|
|
669
669
|
}, d1 = i0(d0((e, a) => {
|
|
670
670
|
const { disabled: r = !1, label: n, shortcut: c, chips: l, description: o, maxWidth: d = 280, useModifierSymbols: i = !1, children: s, simple: p, componentDisabled: z = !1, sx: v, ...b } = e;
|
|
671
671
|
let H = null;
|
|
672
|
-
|
|
672
|
+
c && (H = n5(c, i));
|
|
673
|
+
const [g, m] = n0(null);
|
|
674
|
+
return x0(() => {
|
|
675
|
+
Promise.resolve(n).then((f) => {
|
|
676
|
+
m(f);
|
|
677
|
+
});
|
|
678
|
+
}, [n]), t(s1, { slotProps: { popper: { sx: { "& .MuiTooltip-tooltip": { marginTop: "0px !important" }, ...v }, modifiers: [{ name: "offset", options: { offset: [0, 14] } }] } }, className: "tooltip-wrapper", tabIndex: -1, title: !r && g ? x(X, { sx: { maxWidth: `${d}px` }, ref: a, children: [x(X, { sx: { display: "flex", flexDirection: "row", marginBottom: o ? "4px" : "0px" }, children: [t(L0, { variant: "subtitle1", component: "div", flex: "1 1 100%", children: g }), l ? t($3, { chips: l }) : null, H ? t(X, { sx: { marginLeft: "8px" } }, "leadingSpace") : t(X0, {}), H] }), o ? t(L0, { variant: "caption", sx: { whiteSpace: "pre-line", lineHeight: "1.4" }, children: o }) : t(X0, {})] }) : "", enterDelay: 260, enterNextDelay: 130, leaveDelay: 230, disableInteractive: !0, ...b, children: t("div", { style: { display: "flex", alignItems: "stretch", justifyContent: "stretch" }, children: s }) });
|
|
673
679
|
})), Qe = { Light: "light", Dark: "dark" };
|
|
674
680
|
function Je(e) {
|
|
675
|
-
const { mode: a } = e || {}, [r, n] =
|
|
681
|
+
const { mode: a } = e || {}, [r, n] = n0(() => {
|
|
676
682
|
if (a === "light" || a === "dark") return { themeMode: a, source: "prop" };
|
|
677
683
|
if (typeof document < "u") {
|
|
678
684
|
const c = _2();
|
|
@@ -706,7 +712,7 @@ function I2() {
|
|
|
706
712
|
return typeof window > "u" ? "light" : window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
|
|
707
713
|
}
|
|
708
714
|
const W1 = t(P3, {}), F8 = p2(t(h2, {})), U1 = i0(d0((e, a) => {
|
|
709
|
-
const { dense: r = !0, outlined: n = !1, disableHover: c = !1, parentFloat: l, selected: o, icon: d, tooltipProps: i, children: s, primary: p, sx: z, className: v, onFocus: b, onBlur: H, ...g } = e, [m, f] =
|
|
715
|
+
const { dense: r = !0, outlined: n = !1, disableHover: c = !1, parentFloat: l, selected: o, icon: d, tooltipProps: i, children: s, primary: p, sx: z, className: v, onFocus: b, onBlur: H, ...g } = e, [m, f] = n0(!1), u = { marginRight: "0px", padding: r ? "2px" : "7px", borderRadius: (C) => `${C.shape.borderRadius}px`, color: (C) => p ? void 0 : C.palette.text.icon ?? C.palette.action.active, border: (C) => `solid ${n ? C.palette.divider : "transparent"} 1px`, "& .MuiTouchRipple-child": { borderRadius: (C) => `${C.shape.borderRadius}px !important` }, "&.Mui-selected": { backgroundColor: (C) => f0(C.palette.text.primary, C.palette.action.selectedOpacity), border: (C) => `solid ${n ? C.palette.text?.primary : C.palette.divider} 1px` }, "&.Mui-disabled": { border: (C) => `solid ${n ? C.palette.divider : "transparent"} 1px` }, "&.Mui-disabled path.styled": { filter: "grayscale(65%)", opacity: ".8" }, "&.Mui-focusVisible": { outline: "solid transparent 1px", border: "1px solid transparent" }, ...z }, M = { "&:hover:not(.Mui-disabled, [disabled])": { color: (C) => C.palette.text.primary, border: (C) => `solid ${n ? C.palette.text?.primary : C.palette.divider} 1px`, "&.Mui-selected": { backgroundColor: (C) => f0(C.palette.text.primary, C.palette.action.selectedOpacity + C.palette.action.hoverOpacity) }, "> .outline-hover": { outline: (C) => `solid ${n ? C.palette.text?.primary : C.palette.divider} 1px` }, backgroundColor: null }, "&.Mui-focusVisible": { outline: (C) => `solid ${C.palette.primary.main} 1px`, border: (C) => `1px solid ${C.palette?.primary?.main}`, zIndex: 1 } };
|
|
710
716
|
let S = u;
|
|
711
717
|
c || (S = N0.mergeContentful(u, M));
|
|
712
718
|
const D = t0(() => {
|
|
@@ -724,7 +730,7 @@ const W1 = t(P3, {}), F8 = p2(t(h2, {})), U1 = i0(d0((e, a) => {
|
|
|
724
730
|
} else R = t(d1, { children: R, ...i });
|
|
725
731
|
return R;
|
|
726
732
|
})), _8 = (e) => e.icon, z1 = i0(d0((e, a) => {
|
|
727
|
-
const { icon: r = W1, renderIcon: n = _8, parentFloat: c, className: l, onFocus: o, selected: d, onBlur: i, onMouseOver: s, onMouseOut: p, onMouseEnter: z, disabled: v, children: b, sx: H, tooltipProps: g, chips: m, primary: f, ...u } = e, [M, S] =
|
|
733
|
+
const { icon: r = W1, renderIcon: n = _8, parentFloat: c, className: l, onFocus: o, selected: d, onBlur: i, onMouseOver: s, onMouseOut: p, onMouseEnter: z, disabled: v, children: b, sx: H, tooltipProps: g, chips: m, primary: f, ...u } = e, [M, S] = n0(!1), [D, R] = n0(!1), C = t0(() => {
|
|
728
734
|
const L = n?.({ icon: r, disabled: v, selected: d });
|
|
729
735
|
return L ? t($5, { className: C0({ "Mui-focusVisible": M, "Mui-hovered": D }), sx: { "& .MuiSvgIcon-root": { color: (w) => f ? void 0 : w.palette.text.icon ?? w.palette.action.active }, "&.Mui-hovered:not(.Mui-disabled, [disabled])": { "& .MuiSvgIcon-root": { color: (w) => w.palette.text.primary } } }, children: L }) : null;
|
|
730
736
|
}, [n, v, r, M, D, f, d]);
|
|
@@ -745,58 +751,58 @@ const W1 = t(P3, {}), F8 = p2(t(h2, {})), U1 = i0(d0((e, a) => {
|
|
|
745
751
|
return t(X0, { children: t(L0, { ref: a, variant: l, component: "div", sx: { userSelect: "none", fontWeight: "500", paddingLeft: "8px", paddingTop: l === "subtitle1" ? "2px" : void 0, paddingBottom: l === "subtitle1" ? "2px" : void 0, color: (d) => c ? void 0 : d.palette.text.secondary, ...n }, ...o, children: r }) });
|
|
746
752
|
})), y2 = i0(d0((e, a) => {
|
|
747
753
|
const { dense: r = !0, outlined: n = !1, label: c, selected: l = !1, onQuickClick: o, parentFloat: d, createPopupPanel: i, popupProps: s, onPopupOpen: p, onPopupClose: z, quickButtonProps: v, createQuickButton: b, tooltip: H = "", createTooltip: g, icon: m, disabled: f, buttonProps: u = N0.EmptyObject, disableHover: M, touchRippleRef: S, primary: D, children: R, sx: C, className: j, ...L } = e, w = u2(), Z = t0(() => {
|
|
748
|
-
const K = (
|
|
749
|
-
const F = typeof n == "boolean" ? null : n[
|
|
754
|
+
const K = (o0, u0, y0, T0 = y0) => {
|
|
755
|
+
const F = typeof n == "boolean" ? null : n[o0];
|
|
750
756
|
return typeof F == "function" ? F(u0) : F || (n ? y0 : T0);
|
|
751
757
|
};
|
|
752
|
-
return { outline: { color: (
|
|
753
|
-
}, [n, w]), [N, A] =
|
|
758
|
+
return { outline: { color: (o0) => K("color", o0, o0.palette.divider, "transparent"), hoverColor: (o0) => K("hoverColor", o0, o0.palette.text?.primary, o0.palette.divider), focusColor: (o0) => K("focusColor", o0, o0.palette?.primary?.main) }, active: w.palette.mode === "dark" ? w.palette.text.secondary : w.palette.text.primary, text: w.palette.text.icon ?? w.palette.action.active };
|
|
759
|
+
}, [n, w]), [N, A] = n0(!1), [P, _] = n0(!1), [I, U] = n0(!1), r0 = v0(null), G = v0(null), Q = $1({ anchor: r0.current, label: c, createPopupPanel: i, parentFloat: d, popperProps: s?.popperProps, onClose: () => {
|
|
754
760
|
A(!1), z?.();
|
|
755
761
|
}, onOpen: () => {
|
|
756
762
|
A(!0), p?.();
|
|
757
763
|
} }), c0 = l0((K) => {
|
|
758
764
|
o?.(K), Q.reference.close(0);
|
|
759
|
-
}, [o, Q]),
|
|
765
|
+
}, [o, Q]), a0 = l0(() => {
|
|
760
766
|
N ? Q.reference.close(0) : Q.reference.open(0);
|
|
761
767
|
}, [N, Q, d, c]), e0 = t0(() => {
|
|
762
|
-
const K = { "&.bordered": { borderWidth: "1px", borderRadius: "0px", borderTopStyle: "solid", borderBottomStyle: "solid", borderColor: ($) => Z.outline.color($), "&.Mui-focusVisible": { border: ($) => `1px solid ${Z.outline.focusColor($)} !important` }, "&:hover:not(.Mui-disabled, [disabled])": { borderColor: () => M ? "transparent" : void 0, backgroundColor: () => M ? "transparent" : void 0 }, "&.Mui-hovered:not(.Mui-disabled, [disabled])": { borderColor: ($) => Z.outline.hoverColor($) }, "&.Mui-selected:not(.Mui-disabled, [disabled])": { borderColor: ($) => Z.outline.hoverColor($) }, "&.left": { borderTopLeftRadius: ($) => `${$.shape.borderRadius}px`, borderBottomLeftRadius: ($) => `${$.shape.borderRadius}px`, borderLeftStyle: "solid" }, "&.hard-right": { borderRightStyle: "solid", borderRightWidth: "1px", borderRightColor: ($) => Z.outline.color($) }, "&.right": { borderTopRightRadius: ($) => `${$.shape.borderRadius}px`, borderBottomRightRadius: ($) => `${$.shape.borderRadius}px`, borderRightStyle: "solid" }, "&.divider": { borderLeftWidth: "0px !important" } }, "& .MuiTouchRipple-child": { borderRadius: ($) => `${$.shape.borderRadius}px !important` } },
|
|
763
|
-
return { quickButtonStyling: y0, openQuickButtonStyling: T0, compoundStyling: F, openCompoundStyling: N0.mergeContentful(F,
|
|
768
|
+
const K = { "&.bordered": { borderWidth: "1px", borderRadius: "0px", borderTopStyle: "solid", borderBottomStyle: "solid", borderColor: ($) => Z.outline.color($), "&.Mui-focusVisible": { border: ($) => `1px solid ${Z.outline.focusColor($)} !important` }, "&:hover:not(.Mui-disabled, [disabled])": { borderColor: () => M ? "transparent" : void 0, backgroundColor: () => M ? "transparent" : void 0 }, "&.Mui-hovered:not(.Mui-disabled, [disabled])": { borderColor: ($) => Z.outline.hoverColor($) }, "&.Mui-selected:not(.Mui-disabled, [disabled])": { borderColor: ($) => Z.outline.hoverColor($) }, "&.left": { borderTopLeftRadius: ($) => `${$.shape.borderRadius}px`, borderBottomLeftRadius: ($) => `${$.shape.borderRadius}px`, borderLeftStyle: "solid" }, "&.hard-right": { borderRightStyle: "solid", borderRightWidth: "1px", borderRightColor: ($) => Z.outline.color($) }, "&.right": { borderTopRightRadius: ($) => `${$.shape.borderRadius}px`, borderBottomRightRadius: ($) => `${$.shape.borderRadius}px`, borderRightStyle: "solid" }, "&.divider": { borderLeftWidth: "0px !important" } }, "& .MuiTouchRipple-child": { borderRadius: ($) => `${$.shape.borderRadius}px !important` } }, o0 = { "&.Mui-selected": { backgroundColor: ($) => f0($.palette.primary.main, $.palette.action.selectedOpacity), "&:hover:not(.Mui-disabled)": { backgroundColor: ($) => f0($.palette.primary.main, $.palette.action.selectedOpacity + $.palette.action.hoverOpacity), "@media (hover: none)": { backgroundColor: ($) => f0($.palette.primary.main, $.palette.action.selectedOpacity) } } } }, u0 = { maxHeight: "100%", "&.Mui-selected": { backgroundColor: ($) => f0($.palette.text.icon ?? $.palette.action.active, $.palette.action.selectedOpacity), "&:hover:not(.Mui-disabled)": { backgroundColor: ($) => f0($.palette.text.icon ?? $.palette.action.active, $.palette.action.selectedOpacity + $.palette.action.hoverOpacity), "@media (hover: none)": { backgroundColor: ($) => f0($.palette.text.icon ?? $.palette.action.active, $.palette.action.selectedOpacity) } } }, "&:hover:not(.Mui-disabled, [disabled])": { color: ($) => $.palette.text.primary }, backgroundColor: () => M ? "transparent" : void 0, color: ($) => $.palette.text.icon, "&.Mui-disabled path.styled": { filter: "grayscale(65%)", opacity: ".8" }, padding: () => r ? "2px 3px" : "7px", marginRight: "0" }, y0 = N0.mergeContentful(u0, K), T0 = N0.mergeContentful(y0, o0), F = N0.mergeContentful(u0, K);
|
|
769
|
+
return { quickButtonStyling: y0, openQuickButtonStyling: T0, compoundStyling: F, openCompoundStyling: N0.mergeContentful(F, o0) };
|
|
764
770
|
}, [Z, M]), s0 = l0((K) => {
|
|
765
|
-
const { children:
|
|
766
|
-
return t(s1, { ref: u0, ...y0, disableInteractive: !0, children:
|
|
771
|
+
const { children: o0, ref: u0, ...y0 } = K;
|
|
772
|
+
return t(s1, { ref: u0, ...y0, disableInteractive: !0, children: o0 });
|
|
767
773
|
}, []), m0 = o || b, h = m0 && (v?.tooltip || v?.createTooltip), y = (K) => {
|
|
768
|
-
const { tooltip:
|
|
774
|
+
const { tooltip: o0, createTooltip: u0, sx: y0, ...T0 } = K;
|
|
769
775
|
let F = t(K0, { sx: { ...y0 }, component: "div", ...T0 });
|
|
770
|
-
return h && (F = (u0 ?? s0)({ title: N ? "" :
|
|
776
|
+
return h && (F = (u0 ?? s0)({ title: N ? "" : o0 ?? H, children: t("div", { children: F }) }, N)), F;
|
|
771
777
|
}, k = { onKeyDown: (K) => {
|
|
772
|
-
K.keyCode === w0.Space ?
|
|
778
|
+
K.keyCode === w0.Space ? a0() : K.keyCode === w0.F4 || K.keyCode === w0.Down ? Q.reference.open(0) : K.keyCode === w0.Up && Q.reference.close(0);
|
|
773
779
|
} };
|
|
774
780
|
let O = t(X0, {});
|
|
775
781
|
const T = t0(() => typeof m == "function" ? m() : m, [m]);
|
|
776
782
|
if (m0) {
|
|
777
783
|
let K = N ? e0.openQuickButtonStyling : e0.quickButtonStyling;
|
|
778
|
-
const
|
|
784
|
+
const o0 = (b || y)({ tabIndex: -1, disabled: f, size: "small", edge: "end", onMouseEnter: () => {
|
|
779
785
|
Q.reference.parent.closeChild();
|
|
780
786
|
}, onMouseDown: (y0) => {
|
|
781
787
|
y0.button === 0 && (y0.preventDefault(), c0(y0));
|
|
782
788
|
}, touchRippleRef: S, children: T, ...v, className: C0({ "Mui-focusVisible": P || N, "Mui-selected": l, "Mui-hovered": I || N, "Mui-disabled": f, bordered: !0, left: !0, "hard-right": !0 }, v?.className), sx: { ...e0.quickButtonStyling, height: "100%", ...v?.sx } });
|
|
783
789
|
let u0 = A2(!0, r, N);
|
|
784
|
-
h && (u0 = (g ?? s0)({ title: N ? "" : H, children: u0 }, N)), O = x(X0, { children: [
|
|
785
|
-
y0.button === 0 && (y0.preventDefault(),
|
|
790
|
+
h && (u0 = (g ?? s0)({ title: N ? "" : H, children: u0 }, N)), O = x(X0, { children: [o0, t(K0, { ref: G, component: "div", className: C0({ "Mui-selected": N, "Mui-hovered": I || N, "Mui-disabled": f, "Mui-focusVisible": P || N, bordered: !0, right: !0, divider: !0 }), sx: { paddingLeft: (r ? 0 : 2) + "px", paddingRight: (r ? 0 : 2) + "px", width: () => "1em", ...e0.quickButtonStyling, ...K }, TouchRippleProps: { center: !1 }, tabIndex: -1, disabled: f, size: "small", edge: "end", onMouseDown: (y0) => {
|
|
791
|
+
y0.button === 0 && (y0.preventDefault(), a0());
|
|
786
792
|
}, children: u0 })] });
|
|
787
793
|
} else {
|
|
788
794
|
let K = N ? e0.openCompoundStyling : e0.compoundStyling;
|
|
789
|
-
O = t(U1, { ref: G, tabIndex: -1, disabled: f, size: "small", icon: T, className: C0({ "Mui-selected": N || l, "Mui-hovered": I, "Mui-disabled": f, "Mui-focusVisible": P || N, bordered: !0, left: !0, right: !0 }), sx: { ...e0.quickButtonStyling, ...K }, onMouseDown: (
|
|
790
|
-
|
|
795
|
+
O = t(U1, { ref: G, tabIndex: -1, disabled: f, size: "small", icon: T, className: C0({ "Mui-selected": N || l, "Mui-hovered": I, "Mui-disabled": f, "Mui-focusVisible": P || N, bordered: !0, left: !0, right: !0 }), sx: { ...e0.quickButtonStyling, ...K }, onMouseDown: (o0) => {
|
|
796
|
+
o0.button === 0 && (o0.preventDefault(), a0());
|
|
791
797
|
}, children: A2(!1, r, N) });
|
|
792
798
|
}
|
|
793
799
|
const { className: E, sx: B, ...q } = u;
|
|
794
|
-
let Y = t(X, { onFocus: () => _(!0), onBlur: () => _(!1), onMouseOver: () => U(!0), onMouseOut: () => U(!1), ...k, "aria-label": "split button", ref:
|
|
800
|
+
let Y = t(X, { onFocus: () => _(!0), onBlur: () => _(!1), onMouseOver: () => U(!0), onMouseOut: () => U(!1), ...k, "aria-label": "split button", ref: r0, tabIndex: f ? void 0 : 0, className: C0(E, "split-button-root", { "Mui-focusVisible": P || N, "Mui-selected": N || l, "Mui-hovered": I, "Mui-disabled": f }), sx: { display: "flex", flex: "1 1 100%", alignItems: "center", width: "fit-content", "&:not(.Mui-disabled)": { cursor: "pointer" }, marginLeft: n ? "1px" : "0px", marginRight: n ? "1px" : "0px", borderRadius: (K) => `${K.shape.borderRadius}px`, "&.Mui-focusVisible": { outline: (K) => `solid ${K.palette.primary.main} 1px`, zIndex: 2 }, ...B }, ...q, children: O });
|
|
795
801
|
return h || (Y = (g ?? s0)({ title: N ? "" : H, children: Y }, N)), x(X, { className: C0(j, "popupIconButton"), ref: a, ...L, sx: { zIndex: P || N ? 2 : void 0, display: "flex", alignItems: "center", ...C }, children: [Y, Q.component] });
|
|
796
802
|
}));
|
|
797
803
|
y2.displayName = "ExhibitPopupIconButton";
|
|
798
804
|
const I8 = {}, r5 = i0(d0((e, a) => {
|
|
799
|
-
const { selected: r = !1, label: n, onQuickClick: c, parentFloat: l, createPopupPanel: o, popupProps: d = I8, onPopupOpen: i, onPopupClose: s, quickButtonProps: p, createQuickButton: z, tooltip: v = "", createTooltip: b, icon: H, disabled: g, touchRippleRef: m, primary: f, children: u, sx: M, ...S } = e, [D, R] =
|
|
805
|
+
const { selected: r = !1, label: n, onQuickClick: c, parentFloat: l, createPopupPanel: o, popupProps: d = I8, onPopupOpen: i, onPopupClose: s, quickButtonProps: p, createQuickButton: z, tooltip: v = "", createTooltip: b, icon: H, disabled: g, touchRippleRef: m, primary: f, children: u, sx: M, ...S } = e, [D, R] = n0(!1), [C, j] = n0(!1), [L, w] = n0(!1), [Z, N] = n0(!1), A = v0(null), P = v0(null), _ = t0(() => {
|
|
800
806
|
if (!d) return;
|
|
801
807
|
const { popperProps: h } = d;
|
|
802
808
|
return { placement: "right-start", offsets: [-4, -2], ...h };
|
|
@@ -806,10 +812,10 @@ const I8 = {}, r5 = i0(d0((e, a) => {
|
|
|
806
812
|
R(!0), i?.();
|
|
807
813
|
} }), U = l0((h) => {
|
|
808
814
|
h.button === 0 && (c?.(h), I.reference.close(0));
|
|
809
|
-
}, [c]),
|
|
815
|
+
}, [c]), r0 = t(p8, { sx: { transform: () => void 0 } }), G = { "&.Mui-selected": { color: (h) => h.palette.text.primary, "& svg * ": { color: (h) => h.palette.text.primary } } }, Q = D0((h) => {
|
|
810
816
|
const { children: y, ref: k, ...O } = h;
|
|
811
817
|
return t(s1, { ref: k, ...O, disableInteractive: !0, children: y });
|
|
812
|
-
}, []), c0 = c || z,
|
|
818
|
+
}, []), c0 = c || z, a0 = (h) => {
|
|
813
819
|
const { tooltip: y, createTooltip: k, ...O } = h;
|
|
814
820
|
return t(z1, { icon: H, className: C0({ "Mui-hovered": L }), sx: { flex: "1 1 100%", ...G }, ...O, children: n });
|
|
815
821
|
}, e0 = { onFocus: () => {
|
|
@@ -825,7 +831,7 @@ const I8 = {}, r5 = i0(d0((e, a) => {
|
|
|
825
831
|
} };
|
|
826
832
|
let s0 = t(X0, {});
|
|
827
833
|
if (c0) {
|
|
828
|
-
const h = (z ||
|
|
834
|
+
const h = (z || a0)({ tabIndex: -1, disabled: g, onMouseEnter: () => {
|
|
829
835
|
I.reference.parent.closeChild();
|
|
830
836
|
}, onMouseDown: (y) => {
|
|
831
837
|
y.button === 0 && (y.preventDefault(), U(y));
|
|
@@ -836,10 +842,10 @@ const I8 = {}, r5 = i0(d0((e, a) => {
|
|
|
836
842
|
N(!1);
|
|
837
843
|
}, onClick: (y) => {
|
|
838
844
|
y.preventDefault(), D ? I.reference.close() : I.reference.open();
|
|
839
|
-
}, children:
|
|
845
|
+
}, children: r0 }) })] });
|
|
840
846
|
} else s0 = x(z1, { ref: P, tabIndex: -1, disabled: g, icon: H, className: C0({ "Mui-selected": D || r, "Mui-hovered": L }), sx: { flex: "1 1 100%", paddingRight: "0px", ...G }, onClick: (h) => {
|
|
841
847
|
h.preventDefault(), D ? I.reference.close() : I.reference.open();
|
|
842
|
-
}, ...e0, children: [t("div", { style: { flex: "1 1 100%" }, children: n }), t(X, { className: "expand-icon", sx: { flex: "none", display: "flex", color: (h) => f ? void 0 : h.palette.text.icon ?? h.palette.action.active }, children:
|
|
848
|
+
}, ...e0, children: [t("div", { style: { flex: "1 1 100%" }, children: n }), t(X, { className: "expand-icon", sx: { flex: "none", display: "flex", color: (h) => f ? void 0 : h.palette.text.icon ?? h.palette.action.active }, children: r0 })] });
|
|
843
849
|
let m0 = t(X, { "aria-label": "split button", ref: A, tabIndex: g ? void 0 : 0, className: C0({ "Mui-disabled": g, "Mui-selected": D, "Mui-focusVisible": C || D, "Mui-hovered": L }), sx: { display: "flex", flex: "1 1 100%", alignItems: "center", width: "fit-content", "& .quick-left": { borderTopRightRadius: "0px", borderBottomRightRadius: "0px", marginRight: "-1px" }, "&.Mui-disabled path.styled": { filter: "grayscale(65%)", opacity: ".8" }, ...M }, ...S, children: s0 });
|
|
844
850
|
return c0 && !Z && (p?.tooltip || p?.createTooltip) && (m0 = (p?.createTooltip ?? Q)({ title: D ? "" : m0 ?? p?.tooltip, children: m0 }, D)), x(X, { ref: a, sx: { zIndex: C || D ? 2 : void 0, display: "flex", " .tooltip-wrapper": { display: "flex", flex: "1 1 100%" } }, children: [m0, I.component] });
|
|
845
851
|
})), tt = i0(d0((e, a) => {
|
|
@@ -973,7 +979,7 @@ function g2(e) {
|
|
|
973
979
|
}, [n]), destroyModalsByRootId: c }, l);
|
|
974
980
|
}
|
|
975
981
|
function at(e) {
|
|
976
|
-
const [a, r] =
|
|
982
|
+
const [a, r] = n0(() => /* @__PURE__ */ new Map()), { showModal: n, updateModal: c, destroyModal: l, hideModal: o } = g2({ disableAutoDestroy: !0 });
|
|
977
983
|
return (d, i, s, p) => new Promise((z, v) => {
|
|
978
984
|
const b = { ...e, ...s, onHide: () => {
|
|
979
985
|
const f = a.get(d);
|
|
@@ -1293,12 +1299,12 @@ const u6 = Object.freeze(Object.defineProperty({ __proto__: null, createFocusTra
|
|
|
1293
1299
|
return q0(U) > 0;
|
|
1294
1300
|
});
|
|
1295
1301
|
return { container: L, tabbableNodes: w, focusableNodes: Z, posTabIndexesFound: I, firstTabbableNode: N, lastTabbableNode: A, firstDomTabbableNode: P, lastDomTabbableNode: _, nextTabbableNode: function(U) {
|
|
1296
|
-
var
|
|
1297
|
-
return G < 0 ?
|
|
1302
|
+
var r0 = !(arguments.length > 1 && arguments[1] !== void 0) || arguments[1], G = w.indexOf(U);
|
|
1303
|
+
return G < 0 ? r0 ? Z.slice(Z.indexOf(U) + 1).find(function(Q) {
|
|
1298
1304
|
return J0(Q);
|
|
1299
1305
|
}) : Z.slice(0, Z.indexOf(U)).reverse().find(function(Q) {
|
|
1300
1306
|
return J0(Q);
|
|
1301
|
-
}) : w[G + (
|
|
1307
|
+
}) : w[G + (r0 ? 1 : -1)];
|
|
1302
1308
|
} };
|
|
1303
1309
|
}), o.tabbableGroups = o.containerGroups.filter(function(L) {
|
|
1304
1310
|
return L.tabbableNodes.length > 0;
|
|
@@ -1329,7 +1335,7 @@ const u6 = Object.freeze(Object.defineProperty({ __proto__: null, createFocusTra
|
|
|
1329
1335
|
return w === s0;
|
|
1330
1336
|
});
|
|
1331
1337
|
if (U < 0 && (I.container === w || O1(w, l.tabbableOptions) && !J0(w, l.tabbableOptions) && !I.nextTabbableNode(w, !1)) && (U = _), U >= 0) {
|
|
1332
|
-
var
|
|
1338
|
+
var r0 = U === 0 ? o.tabbableGroups.length - 1 : U - 1, G = o.tabbableGroups[r0];
|
|
1333
1339
|
P = q0(w) >= 0 ? G.lastTabbableNode : G.lastDomTabbableNode;
|
|
1334
1340
|
} else V1(Z) || (P = I.nextTabbableNode(w, !1));
|
|
1335
1341
|
} else {
|
|
@@ -1338,8 +1344,8 @@ const u6 = Object.freeze(Object.defineProperty({ __proto__: null, createFocusTra
|
|
|
1338
1344
|
return w === s0;
|
|
1339
1345
|
});
|
|
1340
1346
|
if (Q < 0 && (I.container === w || O1(w, l.tabbableOptions) && !J0(w, l.tabbableOptions) && !I.nextTabbableNode(w)) && (Q = _), Q >= 0) {
|
|
1341
|
-
var c0 = Q === o.tabbableGroups.length - 1 ? 0 : Q + 1,
|
|
1342
|
-
P = q0(w) >= 0 ?
|
|
1347
|
+
var c0 = Q === o.tabbableGroups.length - 1 ? 0 : Q + 1, a0 = o.tabbableGroups[c0];
|
|
1348
|
+
P = q0(w) >= 0 ? a0.firstTabbableNode : a0.firstDomTabbableNode;
|
|
1343
1349
|
} else V1(Z) || (P = I.nextTabbableNode(w));
|
|
1344
1350
|
}
|
|
1345
1351
|
} else P = s("fallbackFocus");
|
|
@@ -1363,8 +1369,8 @@ const u6 = Object.freeze(Object.defineProperty({ __proto__: null, createFocusTra
|
|
|
1363
1369
|
I >= 0 && (l.isKeyForward(o.recentNavEvent) ? I + 1 < _.length && (N = _[I + 1], A = !1) : I - 1 >= 0 && (N = _[I - 1], A = !1));
|
|
1364
1370
|
}
|
|
1365
1371
|
} else o.containerGroups.some(function(U) {
|
|
1366
|
-
return U.tabbableNodes.some(function(
|
|
1367
|
-
return q0(
|
|
1372
|
+
return U.tabbableNodes.some(function(r0) {
|
|
1373
|
+
return q0(r0) > 0;
|
|
1368
1374
|
});
|
|
1369
1375
|
}) || (A = !1);
|
|
1370
1376
|
else A = !1;
|
|
@@ -2006,7 +2012,7 @@ var g6 = (function() {
|
|
|
2006
2012
|
return m1.exports = e, m1.exports.default = e, m1.exports.DraggableCore = a, m1.exports;
|
|
2007
2013
|
})();
|
|
2008
2014
|
const b6 = _3(g6), u3 = { x: 0, y: 0 }, V6 = i0(d0((e, a) => {
|
|
2009
|
-
const { defaultPosition: r = u3, PaperComponent: n = M1, onDragStop: c, rootSel: l = ".MuiModal-root", handleSel: o = ".draggable-title", titleSize: d, rootSize: i, ...s } = e, p = v0(null), z = t0(() => d && i ? { left: 0, top: 0, right: i.width - d.width, bottom: i.height - d.height } : null, [d, i]), [v, b] =
|
|
2015
|
+
const { defaultPosition: r = u3, PaperComponent: n = M1, onDragStop: c, rootSel: l = ".MuiModal-root", handleSel: o = ".draggable-title", titleSize: d, rootSize: i, ...s } = e, p = v0(null), z = t0(() => d && i ? { left: 0, top: 0, right: i.width - d.width, bottom: i.height - d.height } : null, [d, i]), [v, b] = n0(null), [H, g] = n0(null), [m, f] = n0(null);
|
|
2010
2016
|
return S3(() => {
|
|
2011
2017
|
!v && r && b(r ?? u3);
|
|
2012
2018
|
}, [r]), x0(() => {
|
|
@@ -2019,7 +2025,7 @@ const b6 = _3(g6), u3 = { x: 0, y: 0 }, V6 = i0(d0((e, a) => {
|
|
|
2019
2025
|
b({ x: D - m.x, y: R - m.y });
|
|
2020
2026
|
}, children: t(n, { ref: T1([p, a]), ...s }) });
|
|
2021
2027
|
})), H6 = { x: "50", y: "50" }, x6 = i0(d0((e, a) => {
|
|
2022
|
-
const r = r8({ props: e, name: "MuiDialog" }), n = u2(), c = { enter: 0.66 * n.transitions.duration.enteringScreen, exit: 0.66 * n.transitions.duration.leavingScreen }, { title: l = "SheetXL", key: o = "draggable-window", onCancel: d, onDone: i, onShow: s, onShown: p, onHide: z, open: v, autoFocusSel: b, children: H, TransitionComponent: g = W5, TransitionProps: m, transitionDuration: f = c, BackdropComponent: u = U5, BackdropProps: M, PaperComponent: S = M1, PaperProps: D, onBackdropClick: R, sx: C, className: j, onMouseDown: L, initialPosition: w = H6, isModal: Z = !1, ...N } = r, A = v0(null), [P, _] =
|
|
2028
|
+
const r = r8({ props: e, name: "MuiDialog" }), n = u2(), c = { enter: 0.66 * n.transitions.duration.enteringScreen, exit: 0.66 * n.transitions.duration.leavingScreen }, { title: l = "SheetXL", key: o = "draggable-window", onCancel: d, onDone: i, onShow: s, onShown: p, onHide: z, open: v, autoFocusSel: b, children: H, TransitionComponent: g = W5, TransitionProps: m, transitionDuration: f = c, BackdropComponent: u = U5, BackdropProps: M, PaperComponent: S = M1, PaperProps: D, onBackdropClick: R, sx: C, className: j, onMouseDown: L, initialPosition: w = H6, isModal: Z = !1, ...N } = r, A = v0(null), [P, _] = n0(null), [I, U] = n0(!1), [r0, G] = n0(!1), Q = v0(null), [c0, a0] = N2(), e0 = v0(null), [s0, m0] = N2(), h = v0(null);
|
|
2023
2029
|
x0(() => {
|
|
2024
2030
|
P && U(v);
|
|
2025
2031
|
}, [v, P]);
|
|
@@ -2027,12 +2033,12 @@ const b6 = _3(g6), u3 = { x: 0, y: 0 }, V6 = i0(d0((e, a) => {
|
|
|
2027
2033
|
d?.(), U(!1);
|
|
2028
2034
|
}, [d]);
|
|
2029
2035
|
x0(() => {
|
|
2030
|
-
if (
|
|
2031
|
-
const F = h.current?.getBoundingClientRect(), $ =
|
|
2036
|
+
if (a0.width === 0 && a0.height === 0 || P) return;
|
|
2037
|
+
const F = h.current?.getBoundingClientRect(), $ = a0.height - F.height, h0 = a0.width - F.width;
|
|
2032
2038
|
let Q0 = 0.5 * h0, A0 = 0.5 * $;
|
|
2033
2039
|
typeof w?.x == "number" ? Q0 = w.x : typeof w?.x == "string" && (Q0 = h0 * (parseFloat(w.x) / 100)), typeof w?.y == "number" ? A0 = w.y : typeof w?.y == "string" && (A0 = $ * (parseFloat(w.y) / 100)), _({ x: Q0, y: A0 });
|
|
2034
|
-
}, [
|
|
2035
|
-
const [k, O] =
|
|
2040
|
+
}, [a0, m0]);
|
|
2041
|
+
const [k, O] = n0(!1), [T, E] = n0(null), [B, q] = n0(null), Y = l0((F) => {
|
|
2036
2042
|
if (T) return T.focus(F), !0;
|
|
2037
2043
|
if (b) {
|
|
2038
2044
|
const $ = e0.current?.querySelectorAll?.(b);
|
|
@@ -2041,7 +2047,7 @@ const b6 = _3(g6), u3 = { x: 0, y: 0 }, V6 = i0(d0((e, a) => {
|
|
|
2041
2047
|
return e0.current?.focus?.(F), !1;
|
|
2042
2048
|
}, [T, b]), K = Z3(a, () => ({ focus: (F) => {
|
|
2043
2049
|
Y(F);
|
|
2044
|
-
} }), []),
|
|
2050
|
+
} }), []), o0 = { ...m, onExited: (F) => {
|
|
2045
2051
|
i?.(null), m?.onExited?.(F);
|
|
2046
2052
|
}, onExit: (F) => {
|
|
2047
2053
|
const $ = B;
|
|
@@ -2054,11 +2060,11 @@ const b6 = _3(g6), u3 = { x: 0, y: 0 }, V6 = i0(d0((e, a) => {
|
|
|
2054
2060
|
G(!0), p?.(K.current);
|
|
2055
2061
|
} };
|
|
2056
2062
|
x0(() => {
|
|
2057
|
-
|
|
2058
|
-
}, [
|
|
2059
|
-
let u0 = t(f6, { focusTrapOptions: { escapeDeactivates: !1, allowOutsideClick: !0, initialFocus: !1 }, ref: A, active:
|
|
2063
|
+
r0 && Y();
|
|
2064
|
+
}, [r0]);
|
|
2065
|
+
let u0 = t(f6, { focusTrapOptions: { escapeDeactivates: !1, allowOutsideClick: !0, initialFocus: !1 }, ref: A, active: r0, children: t(g, { in: I, timeout: f, role: "presentation", ...o0, children: t(X, { className: "MuiDialog-container", ref: e0, tabIndex: 0, sx: { outline: "none", position: "relative" }, onKeyDown: (F) => {
|
|
2060
2066
|
F.which === w0.Escape && (y(), Q.current?.start(F, { center: !1 }), setTimeout(() => Q.current?.stop(F), 180)), F.stopPropagation();
|
|
2061
|
-
}, children: x(V6, { ref: T1([h, a]), className: C0({ "Mui-focusVisible": k }, j, "draggable"), sx: { "& *": (F) => J3(F), pointerEvents: "auto", userSelect: "none", "&:hover:not([disabled]):not(.Mui-focusVisible)": { outline: (F) => `solid ${f0(F.palette.text?.primary, 0.2)} 1px` }, "&.Mui-focusVisible": { outline: (F) => `solid ${f0(F.palette.text?.primary, 0.2)} 1px` }, position: "absolute", maxWidth: "100%", ...C }, defaultPosition: P, titleSize: m0, rootSize:
|
|
2067
|
+
}, children: x(V6, { ref: T1([h, a]), className: C0({ "Mui-focusVisible": k }, j, "draggable"), sx: { "& *": (F) => J3(F), pointerEvents: "auto", userSelect: "none", "&:hover:not([disabled]):not(.Mui-focusVisible)": { outline: (F) => `solid ${f0(F.palette.text?.primary, 0.2)} 1px` }, "&.Mui-focusVisible": { outline: (F) => `solid ${f0(F.palette.text?.primary, 0.2)} 1px` }, position: "absolute", maxWidth: "100%", ...C }, defaultPosition: P, titleSize: m0, rootSize: a0, PaperComponent: S, ...N, ...D, children: [l ? t(q5, { className: C0({ "Mui-selected": k }, "draggable-title"), sx: { cursor: "move", display: "flex", color: (F) => F.palette.text.secondary, boxSizing: "border-box", padding: "0 0", transitionProperty: "opacity", transitionDuration: (F) => `${F.transitions.duration.shortest}ms`, opacity: 0.7, "&.Mui-selected": { opacity: 1, transitionDuration: (F) => F.transitions.duration.shortest / 2 + "ms" }, backgroundColor: (F) => f0(F.palette.action.hover, 0.03) }, ref: s0, children: x(X, { sx: { display: "flex", flex: "1 1 10%", flexDirection: "row", alignItems: "center", marginTop: (F) => F.spacing(1), marginLeft: (F) => F.spacing(1), marginRight: (F) => F.spacing(1) }, children: [t(X, { sx: { flex: "1 1 100%", paddingLeft: (F) => F.spacing(1) }, children: l }), t(d1, { label: "Close", children: t(K0, { "aria-label": "close", sx: { color: (F) => F.palette.text.icon ?? F.palette.action.active }, touchRippleRef: Q, onPointerDown: (F) => {
|
|
2062
2068
|
Q.current?.start(F, { center: !1 }), F.stopPropagation(), F.preventDefault();
|
|
2063
2069
|
}, onPointerUp: y, children: t(u8, {}) }) })] }) }) : null, H] }) }) }) }), y0 = null;
|
|
2064
2070
|
Z && (y0 = t(u, { ...M, open: I, onMouseDown: (F) => {
|
|
@@ -2257,8 +2263,8 @@ var r1 = (e) => b0(e) && !I1(e) ? e : { value: e, message: "" }, w3 = async (e,
|
|
|
2257
2263
|
let N, A;
|
|
2258
2264
|
const P = r1(v), _ = r1(z);
|
|
2259
2265
|
if (k0(u) || isNaN(u)) {
|
|
2260
|
-
const I = o.valueAsDate || new Date(u), U = (Q) => /* @__PURE__ */ new Date((/* @__PURE__ */ new Date()).toDateString() + " " + Q),
|
|
2261
|
-
_0(P.value) && u && (N =
|
|
2266
|
+
const I = o.valueAsDate || new Date(u), U = (Q) => /* @__PURE__ */ new Date((/* @__PURE__ */ new Date()).toDateString() + " " + Q), r0 = o.type == "time", G = o.type == "week";
|
|
2267
|
+
_0(P.value) && u && (N = r0 ? U(u) > U(P.value) : G ? u > P.value : I > new Date(P.value)), _0(_.value) && u && (A = r0 ? U(u) < U(_.value) : G ? u < _.value : I < new Date(_.value));
|
|
2262
2268
|
} else {
|
|
2263
2269
|
const I = o.valueAsNumber || u && +u;
|
|
2264
2270
|
k0(P.value) || (N = I > P.value), k0(_.value) || (A = I < _.value);
|
|
@@ -2391,17 +2397,17 @@ function j6(e = {}) {
|
|
|
2391
2397
|
}, B = x3(r.mode), q = x3(r.reValidateMode);
|
|
2392
2398
|
if (T) {
|
|
2393
2399
|
let Y, K;
|
|
2394
|
-
const
|
|
2395
|
-
p0(o, k,
|
|
2396
|
-
const F = f(k,
|
|
2400
|
+
const o0 = y.type ? H3(T._f) : ((h0) => b0(h0) && h0.target ? H1(h0.target) ? h0.target.checked : h0.target.value : h0)(h), u0 = h.type === k6 || h.type === S6, y0 = !((h0) => h0.mount && (h0.required || h0.min || h0.max || h0.maxLength || h0.minLength || h0.pattern || h0.validate))(T._f) && !r.resolver && !W(n.errors, k) && !T._f.deps || ((h0, Q0, A0, w2, L1) => !L1.isOnAll && (!A0 && L1.isOnTouch ? !(Q0 || h0) : (A0 ? w2.isOnBlur : L1.isOnBlur) ? !h0 : !(A0 ? w2.isOnChange : L1.isOnChange) || h0))(u0, W(n.touchedFields, k), n.isSubmitted, q, B), T0 = C3(k, i, u0);
|
|
2401
|
+
p0(o, k, o0), u0 ? y && y.readOnly || (T._f.onBlur && T._f.onBlur(h), a && a(0)) : T._f.onChange && T._f.onChange(h);
|
|
2402
|
+
const F = f(k, o0, u0), $ = !S0(F) || T0;
|
|
2397
2403
|
if (!u0 && v.state.next({ name: k, type: h.type, values: z0(o) }), y0) return (p.isValid || z.isValid) && (r.mode === "onBlur" ? u0 && H() : u0 || H()), $ && v.state.next({ name: k, ...T0 ? {} : F });
|
|
2398
2404
|
if (!u0 && T0 && v.state.next({ ...n }), r.resolver) {
|
|
2399
2405
|
const { errors: h0 } = await M([k]);
|
|
2400
|
-
if (E(
|
|
2406
|
+
if (E(o0), O) {
|
|
2401
2407
|
const Q0 = M3(n.errors, c, k), A0 = M3(h0, c, Q0.name || k);
|
|
2402
2408
|
Y = A0.error, k = A0.name, K = S0(h0);
|
|
2403
2409
|
}
|
|
2404
|
-
} else g([k], !0), Y = (await w3(T, i.disabled, o, b, r.shouldUseNativeValidation))[k], g([k]), E(
|
|
2410
|
+
} else g([k], !0), Y = (await w3(T, i.disabled, o, b, r.shouldUseNativeValidation))[k], g([k]), E(o0), O && (Y ? K = !1 : (p.isValid || z.isValid) && (K = await S(c, !0)));
|
|
2405
2411
|
O && (T._f.deps && N(T._f.deps), u(k, K, Y, F));
|
|
2406
2412
|
}
|
|
2407
2413
|
}, Z = (h, y) => {
|
|
@@ -2435,18 +2441,18 @@ function j6(e = {}) {
|
|
|
2435
2441
|
var k, O, T;
|
|
2436
2442
|
k = h.name, O = y.name, T = h.exact, k && O && k !== O && !g1(k).some((E) => E && (T ? E === O : E.startsWith(O) || O.startsWith(E))) || !((E, B, q, Y) => {
|
|
2437
2443
|
q(E);
|
|
2438
|
-
const { name: K, ...
|
|
2439
|
-
return S0(
|
|
2444
|
+
const { name: K, ...o0 } = E;
|
|
2445
|
+
return S0(o0) || Object.keys(o0).length >= Object.keys(B).length || Object.keys(o0).find((u0) => B[u0] === (!Y || C1));
|
|
2440
2446
|
})(y, h.formState || p, s0, h.reRenderRoot) || h.callback({ values: { ...o }, ...n, ...y, defaultValues: l });
|
|
2441
2447
|
} }).unsubscribe, U = (h, y = {}) => {
|
|
2442
2448
|
for (const k of h ? g1(h) : i.mount) i.mount.delete(k), i.array.delete(k), y.keepValue || (V0(c, k), V0(o, k)), !y.keepError && V0(n.errors, k), !y.keepDirty && V0(n.dirtyFields, k), !y.keepTouched && V0(n.touchedFields, k), !y.keepIsValidating && V0(n.validatingFields, k), !r.shouldUnregister && !y.keepDefaultValue && V0(l, k);
|
|
2443
2449
|
v.state.next({ values: z0(o) }), v.state.next({ ...n, ...y.keepDirty ? { isDirty: D() } : {} }), !y.keepIsValid && H();
|
|
2444
|
-
},
|
|
2450
|
+
}, r0 = ({ disabled: h, name: y }) => {
|
|
2445
2451
|
(F0(h) && d.mount || h || i.disabled.has(y)) && (h ? i.disabled.add(y) : i.disabled.delete(y));
|
|
2446
2452
|
}, G = (h, y = {}) => {
|
|
2447
2453
|
let k = W(c, h);
|
|
2448
2454
|
const O = F0(y.disabled) || F0(r.disabled);
|
|
2449
|
-
return p0(c, h, { ...k || {}, _f: { ...k && k._f ? k._f : { ref: { name: h } }, name: h, mount: !0, ...y } }), i.mount.add(h), k ?
|
|
2455
|
+
return p0(c, h, { ...k || {}, _f: { ...k && k._f ? k._f : { ref: { name: h } }, name: h, mount: !0, ...y } }), i.mount.add(h), k ? r0({ disabled: F0(y.disabled) ? y.disabled : r.disabled, name: h }) : m(h, !0, y.value), { ...O ? { disabled: y.disabled || r.disabled } : {}, ...r.progressive ? { required: !!y.required, min: y1(y.min), max: y1(y.max), minLength: y1(y.minLength), maxLength: y1(y.maxLength), pattern: y1(y.pattern) } : {}, name: h, onChange: w, onBlur: w, ref: (T) => {
|
|
2450
2456
|
if (T) {
|
|
2451
2457
|
G(h, y), k = W(c, h);
|
|
2452
2458
|
const E = H0(T.value) && T.querySelectorAll && T.querySelectorAll("input,select,textarea")[0] || T, B = ((Y) => M2(Y) || H1(Y))(E), q = k._f.refs || [];
|
|
@@ -2472,7 +2478,7 @@ function j6(e = {}) {
|
|
|
2472
2478
|
}
|
|
2473
2479
|
} else y && await y({ ...n.errors }, k), Q(), setTimeout(Q);
|
|
2474
2480
|
if (v.state.next({ isSubmitted: !0, isSubmitting: !1, isSubmitSuccessful: S0(n.errors) && !O, submitCount: n.submitCount + 1, errors: n.errors }), O) throw O;
|
|
2475
|
-
},
|
|
2481
|
+
}, a0 = (h, y = {}) => {
|
|
2476
2482
|
const k = h ? z0(h) : l, O = z0(k), T = S0(h), E = T ? l : O;
|
|
2477
2483
|
if (y.keepDefaultValues || (l = k), !y.keepValues) {
|
|
2478
2484
|
if (y.keepDirtyValues) {
|
|
@@ -2498,7 +2504,7 @@ function j6(e = {}) {
|
|
|
2498
2504
|
o = r.shouldUnregister ? y.keepDefaultValues ? z0(l) : {} : z0(E), v.array.next({ values: { ...E } }), v.state.next({ values: { ...E } });
|
|
2499
2505
|
}
|
|
2500
2506
|
i = { mount: y.keepDirtyValues ? i.mount : /* @__PURE__ */ new Set(), unMount: /* @__PURE__ */ new Set(), array: /* @__PURE__ */ new Set(), disabled: /* @__PURE__ */ new Set(), watch: /* @__PURE__ */ new Set(), watchAll: !1, focus: "" }, d.mount = !p.isValid || !!y.keepIsValid || !!y.keepDirtyValues, d.watch = !!r.shouldUnregister, v.state.next({ submitCount: y.keepSubmitCount ? n.submitCount : 0, isDirty: !T && (y.keepDirty ? n.isDirty : !(!y.keepDefaultValues || Y0(h, l))), isSubmitted: !!y.keepIsSubmitted && n.isSubmitted, dirtyFields: T ? {} : y.keepDirtyValues ? y.keepDefaultValues && o ? v1(l, o) : n.dirtyFields : y.keepDefaultValues && h ? v1(l, h) : y.keepDirty ? n.dirtyFields : {}, touchedFields: y.keepTouched ? n.touchedFields : {}, errors: y.keepErrors ? n.errors : {}, isSubmitSuccessful: !!y.keepIsSubmitSuccessful && n.isSubmitSuccessful, isSubmitting: !1, defaultValues: l });
|
|
2501
|
-
}, e0 = (h, y) =>
|
|
2507
|
+
}, e0 = (h, y) => a0(P0(h) ? h(o) : h, y), s0 = (h) => {
|
|
2502
2508
|
n = { ...n, ...h };
|
|
2503
2509
|
}, m0 = { control: { register: G, unregister: U, getFieldState: P, handleSubmit: c0, setError: _, _subscribe: I, _runSchema: M, _focusError: Q, _getWatch: R, _getDirty: D, _setValid: H, _setFieldArray: (h, y = [], k, O, T = !0, E = !0) => {
|
|
2504
2510
|
if (O && k && !r.disabled) {
|
|
@@ -2518,9 +2524,9 @@ function j6(e = {}) {
|
|
|
2518
2524
|
}
|
|
2519
2525
|
(p.dirtyFields || z.dirtyFields) && (n.dirtyFields = v1(l, o)), v.state.next({ name: h, isDirty: D(h, y), dirtyFields: n.dirtyFields, errors: n.errors, isValid: n.isValid });
|
|
2520
2526
|
} else p0(o, h, y);
|
|
2521
|
-
}, _setDisabledField:
|
|
2527
|
+
}, _setDisabledField: r0, _setErrors: (h) => {
|
|
2522
2528
|
n.errors = h, v.state.next({ errors: n.errors, isValid: !1 });
|
|
2523
|
-
}, _getFieldArray: (h) => i2(W(d.mount ? o : l, h, r.shouldUnregister ? W(l, h, []) : [])), _reset:
|
|
2529
|
+
}, _getFieldArray: (h) => i2(W(d.mount ? o : l, h, r.shouldUnregister ? W(l, h, []) : [])), _reset: a0, _resetDefaultValues: () => P0(r.defaultValues) && r.defaultValues().then((h) => {
|
|
2524
2530
|
e0(h, r.resetOptions), v.state.next({ isLoading: !1 });
|
|
2525
2531
|
}), _removeUnmounted: () => {
|
|
2526
2532
|
for (const h of i.unMount) {
|
|
@@ -2661,7 +2667,7 @@ const W6 = ["Ok", "Cancel"], k3 = i0(d0((e, a) => {
|
|
|
2661
2667
|
r?.onDone?.(), c.hide();
|
|
2662
2668
|
} });
|
|
2663
2669
|
});
|
|
2664
|
-
}, Y6 = J.lazy(() => import("./
|
|
2670
|
+
}, Y6 = J.lazy(() => import("./CDSN5XFUuylN_uAI.mjs")), it = (e) => {
|
|
2665
2671
|
const { showModal: a } = g2();
|
|
2666
2672
|
return (r) => {
|
|
2667
2673
|
const { defaultOption: n = r.options?.[0], cancelOption: c = "Cancel", ...l } = r;
|
|
@@ -2703,7 +2709,7 @@ const W6 = ["Ok", "Cancel"], k3 = i0(d0((e, a) => {
|
|
|
2703
2709
|
i?.onError(j, L, w);
|
|
2704
2710
|
} };
|
|
2705
2711
|
return i?.beforeExecute && (C.beforeExecute = i.beforeExecute), C;
|
|
2706
|
-
}, [i]), b = s2(r, v), H = () => r?.state()?.toString() || "0", [g, m] =
|
|
2712
|
+
}, [i]), b = s2(r, v), H = () => r?.state()?.toString() || "0", [g, m] = n0(H), f = l0(() => {
|
|
2707
2713
|
const C = parseFloat(g);
|
|
2708
2714
|
isNaN(C) ? m(H()) : parseFloat(H()) !== C && r.execute(C, i);
|
|
2709
2715
|
}, [H, r, g, i]);
|
|
@@ -2763,7 +2769,7 @@ const lt = (e) => {
|
|
|
2763
2769
|
const { command: a, label: r, scope: n, icon: c = t(h2, {}), sx: l, ...o } = e;
|
|
2764
2770
|
return x(X, { sx: { display: "flex", flexDirection: "row", textTransform: "none", alignItems: "center", fontSize: (d) => d.typography.subtitle2.fontSize, ...l }, ...o, children: [c ? p2(c) : null, t(L0, { component: "div", sx: { whiteSpace: "nowrap", lineHeight: "1", paddingLeft: (d) => d.spacing(0.25), paddingRight: (d) => d.spacing(0.25), fontSize: "inherit" }, children: a?.label(n) || r })] });
|
|
2765
2771
|
}, X6 = i0(d0((e, a) => {
|
|
2766
|
-
const { sx: r, commands: n, commandButtonProps: c, parentFloat: l, createToolbarPalette: o, children: d, ...i } = e, s = Z3(a, () => ({}), []), [p, z] =
|
|
2772
|
+
const { sx: r, commands: n, commandButtonProps: c, parentFloat: l, createToolbarPalette: o, children: d, ...i } = e, s = Z3(a, () => ({}), []), [p, z] = n0(null), { reference: v } = $1({ label: "toolbar", anchor: s.current, parentFloat: l, createPopupPanel: null }), b = D0(() => {
|
|
2767
2773
|
const C = p;
|
|
2768
2774
|
C && requestAnimationFrame(() => {
|
|
2769
2775
|
s.current?.contains(document.activeElement) && C.focus();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/utils-mui - Utilities MUI - Utilities for MUI Components needed for all SheetXL components. - v0.6.
|
|
2
|
+
* @license @sheetxl/utils-mui - Utilities MUI - Utilities for MUI Components needed for all SheetXL components. - v0.6.11
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|