@sheetxl/studio-mui 0.4.18 → 0.4.19
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/{DKc4vbhIk5DPvp7s.cjs → 9JbHyHSHGCO4uFHn.cjs} +2 -2
- package/browser/cjs/{BuYT3RoulkkPDFjr.cjs → B17ClH6YVt0_UP8s.cjs} +2 -2
- package/browser/cjs/{D4-1QgTnQguFRTt8.cjs → B9LTfguTHj9uQv3h.cjs} +2 -2
- package/browser/cjs/{f2GrJbw8OJVCuv26.cjs → BYWh4kkrXJKKl2Ju.cjs} +1 -1
- package/browser/cjs/{Clzv3BjkpWQFlpFH.cjs → BYrNOLTwEhs6LHAw.cjs} +2 -2
- package/browser/cjs/{8k5RM8T4aOEZ9lpZ.cjs → Bh8xJY_qVp_q9NdJ.cjs} +2 -2
- package/browser/cjs/{DnVHSwM3bnrP3EXV.cjs → Bl5l1B_eznDfB_7v.cjs} +3 -3
- package/browser/cjs/{Du2T3WKzTNkLANQC.cjs → C1LBzI2ntslIKFn5.cjs} +2 -2
- package/browser/cjs/{BU2Vto6nUHEss7E3.cjs → CGWf__jrNH3xfu2y.cjs} +1 -1
- package/browser/cjs/{65eot8Nbn4zgCvmp.cjs → CGlk1dj000Bm5cqP.cjs} +1 -1
- package/browser/cjs/{BApP_kOvh3duHJ4V.cjs → CX_y7y31Q5qi020q.cjs} +2 -2
- package/browser/cjs/{C1xEp_VFiDZ7jk6P.cjs → Cby5RVhO-aNkuWsV.cjs} +3 -3
- package/browser/cjs/{Bl4O5ZLtPzfQIjJ_.cjs → D2CoaVzteKVTLz2u.cjs} +2 -2
- package/browser/cjs/{f0ZdY_Vq589X2AXA.cjs → D4ge-OwnSGkzaQnk.cjs} +1 -1
- package/browser/cjs/{B29FpitRc0wfBA1R.cjs → D54KO7Qf1gFYpUYh.cjs} +1 -1
- package/browser/cjs/{DCXjgeA5INkg-HT2.cjs → D5Hr7ebLiJgvcT0k.cjs} +2 -2
- package/browser/cjs/{pv4FPiAJgePyzq3P.cjs → D6qxm65mk30iMCfQ.cjs} +1 -1
- package/browser/cjs/{D75SDhTG8DT8DGo-.cjs → DIR6Yr7FCZPYWi4-.cjs} +2 -2
- package/browser/cjs/{Bxyvf0Azt_-0ynEw.cjs → DeklxocxxZiZyZ5u.cjs} +2 -2
- package/browser/cjs/Dh2Z7N-jImJZemiw.cjs +6 -0
- package/browser/cjs/{zjHqyq09UPSv0pXw.cjs → Dngll9GyDqkTUUmu.cjs} +2 -2
- package/browser/cjs/{DYX-UePyFD-tmTad.cjs → KmAkK4F7kLQEM3IN.cjs} +1 -1
- package/browser/cjs/{DBSfvQkbFVcZwxzJ.cjs → afHzhXTMVhLQJ6uC.cjs} +1 -1
- package/browser/cjs/index.cjs +2 -2
- package/browser/cjs/{D-LXVIBCGkp2018s.cjs → n8wDl6JTlhLU6ZAW.cjs} +1 -1
- package/browser/cjs/{SKvGxxFvYJeV9LNA.cjs → zr0HW2FkaHX7brxh.cjs} +50 -43
- package/browser/esm/{ByPD9qbfchz8fW6p.mjs → 6nabbOchsfGHTDbJ.mjs} +2 -2
- package/browser/esm/{DRjbaengVsWOcbN-.mjs → B8eNugj_qKnbe7K9.mjs} +4 -4
- package/browser/esm/{DJuaGRL7TVZVqydW.mjs → BPRkMu1MFxUWK930.mjs} +1 -1
- package/browser/esm/{B6U4QpdkEZ5A7rFu.mjs → BQtrstD4gTIutZpE.mjs} +6 -6
- package/browser/esm/{CStiySOAg1dgcdmy.mjs → BeT_3zf80WoubGnC.mjs} +1 -1
- package/browser/esm/{Bh71ntZB0ZUTKa1X.mjs → C226zpF9x3cqGDep.mjs} +9 -9
- package/browser/esm/{BkHYM-mRH1oIQzKa.mjs → C4lgCnqxoHUTMKx0.mjs} +1 -1
- package/browser/esm/{wY5sZG3wainCNEwD.mjs → C52hEZh6H2W5Zw5u.mjs} +27 -27
- package/browser/esm/{BmCIBUGBVI_jKzFO.mjs → CJi45DDPGy79h3Hk.mjs} +1 -1
- package/browser/esm/{M4aGrc4f6PQVvILS.mjs → CSAsCpXnzBKwTizz.mjs} +7266 -6465
- package/browser/esm/{D5G2pN5OFiBisDO8.mjs → ChetmIXTvR3tA23A.mjs} +2 -2
- package/browser/esm/{BWNz5r_i-pOLGvcQ.mjs → CtAFduFwOuqSdkvi.mjs} +7 -7
- package/browser/esm/{B-e3CMLK0ZgbYUtd.mjs → D1mFp2w9djJ0V4vm.mjs} +2 -2
- package/browser/esm/{DfEnN6o2CDcb6tZV.mjs → DA83VkmtEXnqG2ye.mjs} +2 -2
- package/browser/esm/{BXaaKbLgdWmruBua.mjs → Duk7LVR9m02nk_H1.mjs} +78 -78
- package/browser/esm/{iC5cPgshjoPAAa9O.mjs → DwyDpojQzn8Yb0Z3.mjs} +2 -2
- package/browser/esm/{Cd2PsvehUlm_ik0p.mjs → Dy_zBluT96wehR25.mjs} +3 -3
- package/browser/esm/{DkA5rfggiPyONWzj.mjs → NwT_h_qyOIJUd95T.mjs} +1 -1
- package/browser/esm/{BYVUdX4AuIIpkA1Y.mjs → aeeg2i5lmw2EnSq8.mjs} +2 -2
- package/browser/esm/{D0DJGwQZudREBDSw.mjs → eNfgzWFw915mA1DM.mjs} +1 -1
- package/browser/esm/i07lQ5p_zaWwjifI.mjs +12 -0
- package/browser/esm/index.mjs +17 -17
- package/browser/esm/{BNDsBNemTXcX904C.mjs → mWKbTdOrhJijxGkQ.mjs} +1 -1
- package/browser/esm/{DzeBUjOrOAK6FKBH.mjs → qTwpcY21ZDbsJF8q.mjs} +1 -1
- package/browser/esm/{D-E5-FYM3QhCYNT0.mjs → rOu2mn5CpwGjRPMt.mjs} +1 -1
- package/browser/esm/{BBiRLsG2Zerrewtx.mjs → xBoO8UGcKLTEtu2_.mjs} +3 -3
- package/licenses/dependencies.txt +452 -452
- package/node/esm/{iTi4IbmWjhRhtTw-.mjs → 8IRz_tiw9gL3CiTm.mjs} +3 -3
- package/node/esm/{DYOQXo-LPKNA_7-M.mjs → BGuyZxOceFDiCkHS.mjs} +1 -1
- package/node/esm/{mxAsQT93a1vo6azp.mjs → BOlA6nKvsuwJ8-qE.mjs} +1 -1
- package/node/esm/{Bo3RvN58D6Jj4jyT.mjs → BRc35RfDs9NeSBil.mjs} +1 -1
- package/node/esm/{Dm423AbHpUNbM3z0.mjs → BWNYjBRxl8-kaqWc.mjs} +3 -3
- package/node/esm/{3lP7I5qhsYH1BTb7.mjs → BbLVlH-VHXBiyGbB.mjs} +1 -1
- package/node/esm/{DPxznh5LpcvuG8Qm.mjs → Bdk5FW-41aJV-x0f.mjs} +1 -1
- package/node/esm/{D94gLW5R-ThLU5_L.mjs → C1qlFAMFUg7JxINj.mjs} +1 -1
- package/node/esm/{C1KGpSJM38_VeNcU.mjs → C2KYv5fsjkP4dceu.mjs} +2 -2
- package/node/esm/{CcRvLOoFoMozkoqX.mjs → C7eBwbZmMMcQeZ5y.mjs} +6 -6
- package/node/esm/{D1X4Y309cFH6_K-A.mjs → CCmhTOlFNku7bidD.mjs} +1 -1
- package/node/esm/{zuqgbycVwVQqzPkW.mjs → COWuJnOkG4AgfLpx.mjs} +1 -1
- package/node/esm/{8_DjDzbBczYWIxM5.mjs → CcxYuxLYIW_z4w-n.mjs} +1 -1
- package/node/esm/{CG1aiWCHTz6m9OYy.mjs → Cqh-VwF8iLFUBQG2.mjs} +2 -2
- package/node/esm/{CaQ-WMubShR-mgXr.mjs → DO-FR-M-Iy43f7rk.mjs} +2 -2
- package/node/esm/{6OJWm-lH83CfTjF4.mjs → DOa-YBJSa8QO8ypH.mjs} +1 -1
- package/node/esm/{BZ9inF62ba2_KMq9.mjs → DXgMMPZD2XcdNWPg.mjs} +1 -1
- package/node/esm/{CeCNLtePK3O3evNJ.mjs → DXlF9nEg2kAr3Ykp.mjs} +1 -1
- package/node/esm/{gjNonW2tTOhWM1zx.mjs → FcospSz9-0aW4gFs.mjs} +1 -1
- package/node/esm/{Duj0nxYd3K0gsS1G.mjs → SdVxzy9D4jvK5ILt.mjs} +1 -1
- package/node/esm/{Dk58QChP4_h_WyVI.mjs → Svd1DLPJnYKhJsxn.mjs} +1 -1
- package/node/esm/index.mjs +10918 -10120
- package/node/esm/{CQ6RG7b1hN7aMIWX.mjs → wuBONOGgEy1w5A3Q.mjs} +1 -1
- package/package.json +8 -8
|
@@ -2,9 +2,9 @@ import { jsx as n, jsxs as u } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState as v } from "react";
|
|
3
3
|
import { Box as O, FormControlLabel as a, Checkbox as s } from "@mui/material";
|
|
4
4
|
import { Sort as l, IRange as r } from "@sheetxl/sdk";
|
|
5
|
-
import { T as b, D as S } from "./
|
|
5
|
+
import { T as b, D as S } from "./CSAsCpXnzBKwTizz.mjs";
|
|
6
6
|
/**
|
|
7
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.
|
|
7
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.19
|
|
8
8
|
*
|
|
9
9
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
10
10
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { jsx as a, jsxs as s } from "react/jsx-runtime";
|
|
2
2
|
import { memo as O, useState as r, useRef as E, useReducer as M, useMemo as A } from "react";
|
|
3
3
|
import { DialogContent as W, Box as n } from "@mui/material";
|
|
4
|
-
import {
|
|
4
|
+
import { h as k, u as V, i as q, m as G, T as x, j as J, N as K, k as Q, P as f, l as U, n as X, v as y, w as b, y as w, L as S } from "./CSAsCpXnzBKwTizz.mjs";
|
|
5
5
|
/**
|
|
6
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.
|
|
6
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.19
|
|
7
7
|
*
|
|
8
8
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
9
9
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
10
10
|
*/
|
|
11
11
|
const ae = O((C) => {
|
|
12
|
-
const { title: v, onHide: N, autoFocusSel: R = ".range-input input", context: T, notifier: l =
|
|
13
|
-
|
|
12
|
+
const { title: v, onHide: N, autoFocusSel: R = ".range-input input", context: T, notifier: l = k, command: c, commands: d, ...D } = C, [F, g] = r(!1), [m, p] = r(!1), h = E(null), [Y, B] = M((e) => e + 1, 0), [H, { width: Z }] = V();
|
|
13
|
+
q(c);
|
|
14
14
|
const o = T ?? c.context(), t = o.table(), [P, j] = r(() => t ? o.getNames().getRanges(t.getRange()) : null), I = A(() => t?.getName() ?? "", [t]);
|
|
15
15
|
G(o.table(), { onAnchorCoordsChange(e) {
|
|
16
16
|
j(o.getNames().getRanges(e.getRange()));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as Oe from "react";
|
|
2
2
|
import { createElement as Er, forwardRef as la, useRef as fa, useImperativeHandle as pa, useEffect as da } from "react";
|
|
3
3
|
/**
|
|
4
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.
|
|
4
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.19
|
|
5
5
|
*
|
|
6
6
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
7
7
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { NumberFormat as Ht, ScalarType as Ft, ResourceCollection as vs, Tuple as Ss, IAutoFilter as Zt, AddressUtils as at, CommonUtils as es, Theme as Cs, JSONStableStringify as ks, Workbook as As, IColor as Es, CoordUtils as De, IRange as Ds, OutOfBoundsError as Ps, FormulaError as Os } from "@sheetxl/sdk";
|
|
2
|
-
import {
|
|
2
|
+
import { e as cs } from "./CSAsCpXnzBKwTizz.mjs";
|
|
3
3
|
/**
|
|
4
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.
|
|
4
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.19
|
|
5
5
|
*
|
|
6
6
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
7
7
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -897,14 +897,14 @@ class Bt {
|
|
|
897
897
|
const Ks = (i, t, s) => {
|
|
898
898
|
if (i[0].value[0] === i[1].value[0]) return t;
|
|
899
899
|
}, ls = { colStart: 0, colEnd: 0, rowStart: 0, rowEnd: 0 }, ri = Object.freeze(Object.defineProperty({ __proto__: null, fromBufferXLSX: async (i, t) => {
|
|
900
|
-
const { password: s, onWarning: o, createWorkbookOptions: n = {}, ...a } = t ?? {}, c = import("./
|
|
900
|
+
const { password: s, onWarning: o, createWorkbookOptions: n = {}, ...a } = t ?? {}, c = import("./mWKbTdOrhJijxGkQ.mjs"), m = import("./xBoO8UGcKLTEtu2_.mjs");
|
|
901
901
|
let v = null;
|
|
902
902
|
try {
|
|
903
903
|
v = new DOMParser();
|
|
904
904
|
} catch {
|
|
905
905
|
}
|
|
906
906
|
let b = null;
|
|
907
|
-
v || (b = import("./
|
|
907
|
+
v || (b = import("./BeT_3zf80WoubGnC.mjs").then((u) => u.i));
|
|
908
908
|
let x = null, E = null, y = null;
|
|
909
909
|
try {
|
|
910
910
|
const u = await Promise.all([c, m, b]);
|
|
@@ -1311,7 +1311,7 @@ const Ks = (i, t, s) => {
|
|
|
1311
1311
|
}, W), _t = ns(R, ce), xt = await (async (V, U = 8388608) => {
|
|
1312
1312
|
await (async () => {
|
|
1313
1313
|
if (typeof ReadableStream > "u") if (typeof window > "u") {
|
|
1314
|
-
const { ReadableStream: Z } = await import("./
|
|
1314
|
+
const { ReadableStream: Z } = await import("./rOu2mn5CpwGjRPMt.mjs");
|
|
1315
1315
|
globalThis.ReadableStream = Z;
|
|
1316
1316
|
} else console.warn("Browser does not support ReadableStream; consider loading a polyfill.");
|
|
1317
1317
|
})();
|
|
@@ -1409,7 +1409,7 @@ const Ks = (i, t, s) => {
|
|
|
1409
1409
|
throw u instanceof Ps && (D = "Unable to open XLSX. There are too many rows or columns."), new Error(D, { cause: u });
|
|
1410
1410
|
}
|
|
1411
1411
|
}, toBufferXLSX: async (i, t) => {
|
|
1412
|
-
const s = await import("./
|
|
1412
|
+
const s = await import("./mWKbTdOrhJijxGkQ.mjs"), o = await i.toJSON(!0), n = s.utils.book_new();
|
|
1413
1413
|
for (let a = 0; a < o.sheets.length; a++) {
|
|
1414
1414
|
const c = o.sheets[a], m = s.utils.json_to_sheet([{}]);
|
|
1415
1415
|
s.utils.book_append_sheet(n, m, c.name);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.19
|
|
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.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { jsx as d, jsxs as
|
|
1
|
+
import { jsx as d, jsxs as j } from "react/jsx-runtime";
|
|
2
2
|
import { memo as E, useMemo as V, useState as p, useCallback as h } from "react";
|
|
3
3
|
import { Box as L } from "@mui/material";
|
|
4
|
-
import { T as u, D as S, N as A,
|
|
4
|
+
import { T as u, D as S, N as A, k as G } from "./CSAsCpXnzBKwTizz.mjs";
|
|
5
5
|
/**
|
|
6
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.
|
|
6
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.19
|
|
7
7
|
*
|
|
8
8
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
9
9
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -11,7 +11,7 @@ import { T as u, D as S, N as A, o as G } from "./M4aGrc4f6PQVvILS.mjs";
|
|
|
11
11
|
const M = ["Ok", "Cancel"], J = E((C) => {
|
|
12
12
|
const { value: a = null, context: t, onOption: c, onValidateOption: U, onDone: m, onUpdate: g, options: x = M, defaultOption: f = x?.[0], cancelOption: N = "Cancel", sx: R, ...v } = C, T = V(() => t?.getNames().findValidName("Range1"), []), i = V(() => {
|
|
13
13
|
if (!a) return !0;
|
|
14
|
-
}, []), [n, D] = p({ displayText: a?.getName() ?? T, errorText: null }), [o, w] = p({ displayValue: a?.getRanges() ?? t?.selection() ?? null, errorText: null }), [y, O] = p(!1), F = h(async (e) => !n.errorText && !o.errorText, [t]),
|
|
14
|
+
}, []), [n, D] = p({ displayText: a?.getName() ?? T, errorText: null }), [o, w] = p({ displayValue: a?.getRanges() ?? t?.selection() ?? null, errorText: null }), [y, O] = p(!1), F = h(async (e) => !n.errorText && !o.errorText, [t]), k = u((e, l, r) => {
|
|
15
15
|
if (!l) {
|
|
16
16
|
let s = null;
|
|
17
17
|
i ? s = t?.getNames().addReference(n?.displayText, o?.displayValue, !1) : (a.getType() === "reference" && a.doBatch(() => {
|
|
@@ -19,7 +19,7 @@ const M = ["Ok", "Cancel"], J = E((C) => {
|
|
|
19
19
|
}, `Edit Named '${n?.displayText}'`), s = a), s && (s.select(), g(s, i));
|
|
20
20
|
}
|
|
21
21
|
c?.(e, l, r), m?.();
|
|
22
|
-
}, [t, n, o, m, c, f, N, g]),
|
|
22
|
+
}, [t, n, o, m, c, f, N, g]), B = u((e) => {
|
|
23
23
|
let l = null;
|
|
24
24
|
try {
|
|
25
25
|
t?.getNames().validateName(e);
|
|
@@ -27,14 +27,14 @@ const M = ["Ok", "Cancel"], J = E((C) => {
|
|
|
27
27
|
l = r.message;
|
|
28
28
|
}
|
|
29
29
|
D({ displayText: e, errorText: l });
|
|
30
|
-
}, []),
|
|
30
|
+
}, []), I = u((e) => {
|
|
31
31
|
a && a.getName().toLowerCase() === e.toLowerCase() || t?.getNames().validateName(e);
|
|
32
|
-
}, [t, a]),
|
|
32
|
+
}, [t, a]), b = h((e) => {
|
|
33
33
|
w({ displayValue: e ?? null, errorText: null });
|
|
34
34
|
}, []);
|
|
35
|
-
return d(S, { title: (i ? "Define" : "Edit") + " Range", options: x, onOption:
|
|
35
|
+
return d(S, { title: (i ? "Define" : "Edit") + " Range", options: x, onOption: k, onValidateOption: F, defaultOption: f, cancelOption: N, autoFocusSel: ".autoFocus", sx: { width: "460px", ...R }, ...v, children: j(L, { sx: { paddingTop: (e) => e.spacing(1), paddingBottom: (e) => e.spacing(0), rowGap: (e) => e.spacing(1), range: "flex", flexDirection: "column" }, children: [d(A, { formName: "name", defaultInput: T, value: n.displayText, onChangeInput: B, onValidate: I, onFocus: (e) => {
|
|
36
36
|
y || e.target?.select(), O(!0);
|
|
37
|
-
} }), d(G, { formName: "range", value: o.displayValue, onChangeInput:
|
|
37
|
+
} }), d(G, { formName: "range", value: o.displayValue, onChangeInput: b, resolvedAddress: t.getNames().getRanges.bind(t.getNames()), onFocus: (e) => {
|
|
38
38
|
y || e.target?.select(), O(!0);
|
|
39
39
|
} })] }) });
|
|
40
40
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.19
|
|
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.
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsxs as Ee, jsx as W } from "react/jsx-runtime";
|
|
2
2
|
import { Box as ue, TextField as Qt, InputAdornment as eo, IconButton as to, FormControlLabel as oo, Checkbox as no, Typography as ro, TableCell as We, DialogContent as io } from "@mui/material";
|
|
3
|
-
import {
|
|
3
|
+
import { o as lo, p as He, q as so, x as ao, z as co, _ as uo, C as N, E as U, G as ho, Y as fo, a as St, g as de, J as Se, K as po, j as mo } from "./CSAsCpXnzBKwTizz.mjs";
|
|
4
4
|
import * as x from "react";
|
|
5
5
|
import yt, { cloneElement as go, useState as he, useMemo as vo, useEffect as De } from "react";
|
|
6
6
|
import { Close as _o } from "@mui/icons-material";
|
|
7
|
-
import So, { internal_serializeStyles as
|
|
7
|
+
import So, { internal_serializeStyles as K, internal_mutateStyles as yo } from "@mui/styled-engine";
|
|
8
8
|
import { alpha as fe } from "@mui/system";
|
|
9
9
|
/**
|
|
10
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.
|
|
10
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.19
|
|
11
11
|
*
|
|
12
12
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
13
13
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -16,7 +16,7 @@ const wo = lo();
|
|
|
16
16
|
function ye(o) {
|
|
17
17
|
return o !== "ownerState" && o !== "theme" && o !== "sx" && o !== "as";
|
|
18
18
|
}
|
|
19
|
-
function
|
|
19
|
+
function q(o, e) {
|
|
20
20
|
return e && o && typeof o == "object" && o.styles && !o.styles.startsWith("@layer") && (o.styles = `@layer ${e}{${String(o.styles)}}`), o;
|
|
21
21
|
}
|
|
22
22
|
function Co(o) {
|
|
@@ -27,14 +27,14 @@ function ge(o, e, t) {
|
|
|
27
27
|
if (Array.isArray(n)) return n.flatMap((r) => ge(o, r, t));
|
|
28
28
|
if (Array.isArray(n?.variants)) {
|
|
29
29
|
let r;
|
|
30
|
-
if (n.isProcessed) r = t ?
|
|
30
|
+
if (n.isProcessed) r = t ? q(n.style, t) : n.style;
|
|
31
31
|
else {
|
|
32
32
|
const { variants: l, ...i } = n;
|
|
33
|
-
r = t ? K(
|
|
33
|
+
r = t ? q(K(i), t) : i;
|
|
34
34
|
}
|
|
35
35
|
return wt(o, n.variants, [r], t);
|
|
36
36
|
}
|
|
37
|
-
return n?.isProcessed ? t ? K(
|
|
37
|
+
return n?.isProcessed ? t ? q(K(n.style), t) : n.style : t ? q(K(n), t) : n;
|
|
38
38
|
}
|
|
39
39
|
function wt(o, e, t = [], n = void 0) {
|
|
40
40
|
let r;
|
|
@@ -43,7 +43,7 @@ function wt(o, e, t = [], n = void 0) {
|
|
|
43
43
|
if (typeof i.props == "function") {
|
|
44
44
|
if (r ??= { ...o, ...o.ownerState, ownerState: o.ownerState }, !i.props(r)) continue;
|
|
45
45
|
} else for (const a in i.props) if (o[a] !== i.props[a] && o.ownerState?.[a] !== i.props[a]) continue e;
|
|
46
|
-
typeof i.style == "function" ? (r ??= { ...o, ...o.ownerState, ownerState: o.ownerState }, t.push(n ? K(
|
|
46
|
+
typeof i.style == "function" ? (r ??= { ...o, ...o.ownerState, ownerState: o.ownerState }, t.push(n ? q(K(i.style(r)), n) : i.style(r))) : t.push(n ? q(K(i.style), n) : i.style);
|
|
47
47
|
}
|
|
48
48
|
return t;
|
|
49
49
|
}
|
|
@@ -74,13 +74,13 @@ const Ro = function(o = {}) {
|
|
|
74
74
|
};
|
|
75
75
|
if (so(C)) {
|
|
76
76
|
const R = function(T) {
|
|
77
|
-
const { variants: b, ...I } = T, O = { variants: b, style:
|
|
77
|
+
const { variants: b, ...I } = T, O = { variants: b, style: K(I), isProcessed: !0 };
|
|
78
78
|
return O.style === I || b && b.forEach((z) => {
|
|
79
|
-
typeof z.style != "function" && (z.style =
|
|
79
|
+
typeof z.style != "function" && (z.style = K(z.style));
|
|
80
80
|
}), O;
|
|
81
81
|
}(C);
|
|
82
82
|
return function(T) {
|
|
83
|
-
return R.variants ? ge(T, R, T.theme.modularCssLayers ? g : void 0) : T.theme.modularCssLayers ?
|
|
83
|
+
return R.variants ? ge(T, R, T.theme.modularCssLayers ? g : void 0) : T.theme.modularCssLayers ? q(R.style, g) : R.style;
|
|
84
84
|
};
|
|
85
85
|
}
|
|
86
86
|
return C;
|
|
@@ -481,7 +481,7 @@ function be(o) {
|
|
|
481
481
|
}
|
|
482
482
|
return pe;
|
|
483
483
|
}
|
|
484
|
-
function
|
|
484
|
+
function qe(o, e) {
|
|
485
485
|
var t = Object.keys(o);
|
|
486
486
|
if (Object.getOwnPropertySymbols) {
|
|
487
487
|
var n = Object.getOwnPropertySymbols(o);
|
|
@@ -491,12 +491,12 @@ function Ke(o, e) {
|
|
|
491
491
|
}
|
|
492
492
|
return t;
|
|
493
493
|
}
|
|
494
|
-
function
|
|
494
|
+
function Ke(o) {
|
|
495
495
|
for (var e = 1; e < arguments.length; e++) {
|
|
496
496
|
var t = arguments[e] != null ? arguments[e] : {};
|
|
497
|
-
e % 2 ?
|
|
497
|
+
e % 2 ? qe(Object(t), !0).forEach(function(n) {
|
|
498
498
|
p(o, n, t[n]);
|
|
499
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(o, Object.getOwnPropertyDescriptors(t)) :
|
|
499
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(o, Object.getOwnPropertyDescriptors(t)) : qe(Object(t)).forEach(function(n) {
|
|
500
500
|
Object.defineProperty(o, n, Object.getOwnPropertyDescriptor(t, n));
|
|
501
501
|
});
|
|
502
502
|
}
|
|
@@ -556,7 +556,7 @@ var To = "observed", te = "requested", ve = function() {
|
|
|
556
556
|
var e = this.props, t = e.autoHeight, n = e.cellCount, r = e.cellLayoutManager, l = e.className, i = e.height, a = e.horizontalOverscanSize, s = e.id, c = e.noContentRenderer, u = e.style, d = e.verticalOverscanSize, f = e.width, h = this.state, g = h.isScrolling, v = h.scrollLeft, _ = h.scrollTop;
|
|
557
557
|
(this._lastRenderedCellCount !== n || this._lastRenderedCellLayoutManager !== r || this._calculateSizeAndPositionDataOnNextUpdate) && (this._lastRenderedCellCount = n, this._lastRenderedCellLayoutManager = r, this._calculateSizeAndPositionDataOnNextUpdate = !1, r.calculateSizeAndPositionData());
|
|
558
558
|
var S = r.getTotalSize(), m = S.height, y = S.width, w = Math.max(0, v - a), C = Math.max(0, _ - d), R = Math.min(y, v + f + a), T = Math.min(m, _ + i + d), b = i > 0 && f > 0 ? r.cellRenderers({ height: T - C, isScrolling: g, width: R - w, x: w, y: C }) : [], I = { boxSizing: "border-box", direction: "ltr", height: t ? "auto" : i, position: "relative", WebkitOverflowScrolling: "touch", width: f, willChange: "transform" }, O = m > i ? this._scrollbarSize : 0, z = y > f ? this._scrollbarSize : 0;
|
|
559
|
-
return I.overflowX = y + O <= f ? "hidden" : "auto", I.overflowY = m + z <= i ? "hidden" : "auto", x.createElement("div", { ref: this._setScrollingContainerRef, "aria-label": this.props["aria-label"], className: N("ReactVirtualized__Collection", l), id: s, onScroll: this._onScroll, role: "grid", style:
|
|
559
|
+
return I.overflowX = y + O <= f ? "hidden" : "auto", I.overflowY = m + z <= i ? "hidden" : "auto", x.createElement("div", { ref: this._setScrollingContainerRef, "aria-label": this.props["aria-label"], className: N("ReactVirtualized__Collection", l), id: s, onScroll: this._onScroll, role: "grid", style: Ke(Ke({}, I), u), tabIndex: 0 }, n > 0 && x.createElement("div", { className: "ReactVirtualized__Collection__innerScrollContainer", style: { height: m, maxHeight: m, maxWidth: y, overflow: "hidden", pointerEvents: g ? "none" : "", width: y } }, b), n === 0 && c());
|
|
560
560
|
} }, { key: "_enablePointerEventsAfterDelay", value: function() {
|
|
561
561
|
var e = this;
|
|
562
562
|
this._disablePointerEventsTimeoutId && clearTimeout(this._disablePointerEventsTimeoutId), this._disablePointerEventsTimeoutId = setTimeout(function() {
|
|
@@ -1899,13 +1899,13 @@ function B(o) {
|
|
|
1899
1899
|
}
|
|
1900
1900
|
return o;
|
|
1901
1901
|
}
|
|
1902
|
-
function
|
|
1902
|
+
function qt() {
|
|
1903
1903
|
try {
|
|
1904
1904
|
var o = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
1905
1905
|
}));
|
|
1906
1906
|
} catch {
|
|
1907
1907
|
}
|
|
1908
|
-
return (
|
|
1908
|
+
return (qt = function() {
|
|
1909
1909
|
return !!o;
|
|
1910
1910
|
})();
|
|
1911
1911
|
}
|
|
@@ -1922,7 +1922,7 @@ p(_e, "defaultProps", { cellDataGetter: function(o) {
|
|
|
1922
1922
|
var Oe = function() {
|
|
1923
1923
|
function o(e) {
|
|
1924
1924
|
var t, n, r, l;
|
|
1925
|
-
return G(this, o), n = this, l = [e], r = P(r = o), (t = H(n,
|
|
1925
|
+
return G(this, o), n = this, l = [e], r = P(r = o), (t = H(n, qt() ? Reflect.construct(r, l || [], P(n).constructor) : r.apply(n, l))).state = { scrollbarWidth: 0 }, t._createColumn = t._createColumn.bind(t), t._createRow = t._createRow.bind(t), t._onScroll = t._onScroll.bind(t), t._onSectionRendered = t._onSectionRendered.bind(t), t._setRef = t._setRef.bind(t), t._setGridElementRef = t._setGridElementRef.bind(t), t;
|
|
1926
1926
|
}
|
|
1927
1927
|
return D(o, x.PureComponent), A(o, [{ key: "forceUpdateGrid", value: function() {
|
|
1928
1928
|
this.Grid && this.Grid.forceUpdate();
|
|
@@ -2033,11 +2033,11 @@ p(Oe, "defaultProps", { disableHeader: !1, estimatedRowSize: 30, headerHeight: 0
|
|
|
2033
2033
|
return x.createElement("div", { className: e, role: "row", style: n }, t);
|
|
2034
2034
|
}, rowStyle: {}, scrollToAlignment: "auto", scrollToIndex: -1, style: {} }), Oe.propTypes = {};
|
|
2035
2035
|
var Y = [], le = null, X = null;
|
|
2036
|
-
function
|
|
2036
|
+
function Kt() {
|
|
2037
2037
|
X && (X = null, document.body && le != null && (document.body.style.pointerEvents = le), le = null);
|
|
2038
2038
|
}
|
|
2039
|
-
function
|
|
2040
|
-
|
|
2039
|
+
function qo() {
|
|
2040
|
+
Kt(), Y.forEach(function(o) {
|
|
2041
2041
|
return o.__resetIsScrolling();
|
|
2042
2042
|
});
|
|
2043
2043
|
}
|
|
@@ -2047,7 +2047,7 @@ function $t(o) {
|
|
|
2047
2047
|
var e = 0;
|
|
2048
2048
|
Y.forEach(function(t) {
|
|
2049
2049
|
e = Math.max(e, t.props.scrollingResetTimeInterval);
|
|
2050
|
-
}), X = Le(
|
|
2050
|
+
}), X = Le(qo, e);
|
|
2051
2051
|
}(), Y.forEach(function(e) {
|
|
2052
2052
|
e.props.scrollElement === o.currentTarget && e.__handleWindowScrollEvent();
|
|
2053
2053
|
});
|
|
@@ -2060,7 +2060,7 @@ function ft(o, e) {
|
|
|
2060
2060
|
function pt(o, e) {
|
|
2061
2061
|
(Y = Y.filter(function(t) {
|
|
2062
2062
|
return t !== o;
|
|
2063
|
-
})).length || (e.removeEventListener("scroll", $t), X && (ee(X),
|
|
2063
|
+
})).length || (e.removeEventListener("scroll", $t), X && (ee(X), Kt()));
|
|
2064
2064
|
}
|
|
2065
2065
|
var Ae = function(o) {
|
|
2066
2066
|
return o === window;
|
|
@@ -2113,7 +2113,7 @@ function Xt() {
|
|
|
2113
2113
|
}
|
|
2114
2114
|
var Yt = function() {
|
|
2115
2115
|
return typeof window < "u" ? window : void 0;
|
|
2116
|
-
},
|
|
2116
|
+
}, Ko = function() {
|
|
2117
2117
|
function o() {
|
|
2118
2118
|
var e, t, n, r;
|
|
2119
2119
|
G(this, o);
|
|
@@ -2173,7 +2173,7 @@ var Yt = function() {
|
|
|
2173
2173
|
return x.createElement("div", { ref: this._windowScrollerRef }, e({ onChildScroll: this._onChildScroll, registerChild: this._registerChild, height: i, isScrolling: n, scrollLeft: l, scrollTop: r, width: a }));
|
|
2174
2174
|
} }]);
|
|
2175
2175
|
}();
|
|
2176
|
-
p(
|
|
2176
|
+
p(Ko, "defaultProps", { onResize: function() {
|
|
2177
2177
|
}, onScroll: function() {
|
|
2178
2178
|
}, scrollingResetTimeInterval: 150, scrollElement: Yt(), serverHeight: 0, serverWidth: 0 });
|
|
2179
2179
|
const ie = "ReactVirtualizedDemo-flexContainer", Jt = "ReactVirtualizedDemo-tableRow", Zt = "ReactVirtualizedDemo-tableRowHover", ke = "ReactVirtualizedDemo-tableCell", Me = "ReactVirtualizedDemo-noClick";
|
|
@@ -2219,7 +2219,7 @@ function Yo(o) {
|
|
|
2219
2219
|
return g;
|
|
2220
2220
|
}, [n, e]), [s, c] = he(null);
|
|
2221
2221
|
De(() => {
|
|
2222
|
-
import("./
|
|
2222
|
+
import("./C4lgCnqxoHUTMKx0.mjs").then((h) => {
|
|
2223
2223
|
c(new h.default(a, { threshold: 0, ignoreLocation: !0, keys: ["label", "description"] }));
|
|
2224
2224
|
});
|
|
2225
2225
|
}, [a]);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.19
|
|
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.
|