@sheetxl/studio-mui 0.3.5 → 0.3.7

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.
Files changed (80) hide show
  1. package/browser/cjs/{DAIK3n9uEZA5B3jo.cjs → 5lrQc6ebnKFysmq3.cjs} +1 -1
  2. package/browser/cjs/{LLqao183uS5MMxF5.cjs → B-tcUZY3WwHVsjFC.cjs} +2 -2
  3. package/browser/cjs/{D76n8Obon9BUBaN9.cjs → B063Nbr-uy6miEeW.cjs} +1 -1
  4. package/browser/cjs/{Dold2uHEN8H8QsT-.cjs → BZIDHjX8evLBDbvt.cjs} +1 -1
  5. package/browser/cjs/{kEe9PBONC8-oT9AU.cjs → Bp25JuCA2taK48lY.cjs} +2 -2
  6. package/browser/cjs/{Bav0cmsoPAA3a5yu.cjs → Bptt_-UuaRMKdwY9.cjs} +2 -2
  7. package/browser/cjs/{q9JmnJDMYsSf7UfZ.cjs → Br0gn69JbvyUYDMg.cjs} +2 -2
  8. package/browser/cjs/BveI4rysOlsRJvby.cjs +18 -0
  9. package/browser/cjs/{B13OXuZsTC4RULMo.cjs → CBfo8BUCxQqr5EG7.cjs} +1 -1
  10. package/browser/cjs/{4qy63Boa4nvdxyjo.cjs → CPE8Vo584fYhmjso.cjs} +2 -2
  11. package/browser/cjs/{ByVL-_c8JG4yCwyg.cjs → CQmIQDdsypx55cb8.cjs} +2 -2
  12. package/browser/cjs/{zAZ0LJZMPXeu6JSh.cjs → CgewvR53mvgndBYJ.cjs} +37 -37
  13. package/browser/cjs/{BlxVofqfnSMNcuv8.cjs → DEeqvwGNuFw8w157.cjs} +1 -1
  14. package/browser/cjs/{BHJSCG4oU8pmuDwm.cjs → DEnkHWsu727igCDW.cjs} +1 -1
  15. package/browser/cjs/{Bkl3DGri3E5UGuvv.cjs → DP_7ozELxxlik0xI.cjs} +1 -1
  16. package/browser/cjs/{DQxMsOz7p1VlzGGr.cjs → DSOsPfZL9_kyL9ln.cjs} +3 -3
  17. package/browser/cjs/{CauYni4UlnUOg2KD.cjs → DY_2g7vioK75DWuW.cjs} +2 -2
  18. package/browser/cjs/{p8j2cCUulAy7yD2q.cjs → D_3Edl4zCIfGZD8s.cjs} +2 -2
  19. package/browser/cjs/DjwklvllCc5gCwOJ.cjs +6 -0
  20. package/browser/cjs/{DSumeKv5upBoatXJ.cjs → M0QSvCGTWhSO5dni.cjs} +5 -5
  21. package/browser/cjs/{AQ9Vi-Cv6JK-IezR.cjs → V5ipiTc5GTsPLIat.cjs} +1 -1
  22. package/browser/cjs/{CGHGrJD1KaYGPUWt.cjs → WYCmUJpGhaAzfJcr.cjs} +3 -3
  23. package/browser/cjs/{CQXkduebOzsWYR7I.cjs → ZDbKPSGJ-yUI16Lb.cjs} +1 -1
  24. package/browser/cjs/index.cjs +2 -2
  25. package/browser/cjs/{wwocjd0UfaRLBBMZ.cjs → tRx7tGimGNCQpr04.cjs} +2 -2
  26. package/browser/cjs/{CetwWGtSVR7MPQmq.cjs → wfgBpIXW-R13NDRi.cjs} +2 -2
  27. package/browser/esm/{DQwg0nFQOuoWa9vC.mjs → B3Ij1XnTXKB8Ra6l.mjs} +1 -1
  28. package/browser/esm/{Bx8dhDDGV4fnPcL4.mjs → BIM5Wii-WyRfiTCP.mjs} +2 -2
  29. package/browser/esm/{DhJgaHDvhGW9Q-Jd.mjs → BJoEILXGs-4dsOid.mjs} +1 -1
  30. package/browser/esm/{C2gkPo-K972JVp5g.mjs → BrjzLQb3ECtQX_oE.mjs} +2 -2
  31. package/browser/esm/{BYUh5NiLu-E5n_2A.mjs → BsNWvF5TK-6d7dXG.mjs} +3 -3
  32. package/browser/esm/{BRJgzXA_m_2aKWbd.mjs → C7Ks61IOWv5mxPi5.mjs} +2 -2
  33. package/browser/esm/{Dr-hrT0HVZs3fkdF.mjs → CLwgNIcx1dXAlqFF.mjs} +2 -2
  34. package/browser/esm/{DK4TrH-nckKO9Q9L.mjs → CNHwFwsPDx506Pv1.mjs} +1 -1
  35. package/browser/esm/{B5O5PCrKRZ4DUAH5.mjs → CRxSFb6mxsdqaEWw.mjs} +3 -3
  36. package/browser/esm/{Dw7dYD6MrvZb3WPh.mjs → C_iaOAYxfBeQ_Eao.mjs} +488 -485
  37. package/browser/esm/{D0WM4vskQ31-MkSX.mjs → CfXsn2J2t5iZRq47.mjs} +6 -6
  38. package/browser/esm/{DVEcYvO4EkDBk4FX.mjs → CpvBz72f-J2m43rR.mjs} +1 -1
  39. package/browser/esm/{CsT1vXKI_o6hLmzM.mjs → CvbzFydCbYFpqozz.mjs} +1 -1
  40. package/browser/esm/{XSaSkbiadpjvNPF-.mjs → CzYlxA9vwNmFQ8sE.mjs} +2 -2
  41. package/browser/esm/{DHvI-gSNOpEkZS0_.mjs → D5zMI93VuwbUlba7.mjs} +40 -40
  42. package/browser/esm/{q-qojAI33CqmRx77.mjs → D90EhJlb6d3offOa.mjs} +15 -15
  43. package/browser/esm/{DzW551wAkGdUKn1f.mjs → D9i2f_vC22Se56A1.mjs} +2 -2
  44. package/browser/esm/{B89QkSJt5Nra70ba.mjs → DmMAkUHShQPrUYdy.mjs} +5604 -5596
  45. package/browser/esm/{DdsrrZg_d16qXBaF.mjs → Dr00OJODZaQoFOPH.mjs} +2 -2
  46. package/browser/esm/{Cb9SB2mI9VqoMLgo.mjs → DwF_wDqk6LJKkqHC.mjs} +1 -1
  47. package/browser/esm/{CEvGwR40Y6Ef-WDe.mjs → DyytGTk_wDfb9u5F.mjs} +1 -1
  48. package/browser/esm/{DMOlhSnOh4hHXiw0.mjs → DzVmvHLdD-ek8bqb.mjs} +2 -2
  49. package/browser/esm/{D5FRlmQmwf6Y4j_G.mjs → EqfxPHEY1TqRj5Ux.mjs} +1 -1
  50. package/browser/esm/{Drjhq-zlZ3HTK_ZI.mjs → _W9VYfMjuPSlrtP4.mjs} +2 -2
  51. package/browser/esm/index.mjs +11 -11
  52. package/browser/esm/{DEorp4Rd9a565r_h.mjs → jwJWVJb9gDdlQ0cW.mjs} +1 -1
  53. package/licenses/dependencies.txt +8 -8
  54. package/node/esm/{CvxTDOd3lLLowV8Z.mjs → -ufruJ1KO7sCgQCc.mjs} +1 -1
  55. package/node/esm/{BXZpU4qRYF5maAg0.mjs → 5GES52ASlImUnxiG.mjs} +3 -3
  56. package/node/esm/{BNhJrLEKwde0o2dg.mjs → AR8Pu9U1TlCmFr4k.mjs} +1 -1
  57. package/node/esm/{BiU1UyUrEkNS9WeH.mjs → B0ES7zIqSifg8qCO.mjs} +1 -1
  58. package/node/esm/{CZtyxHtVSnQOWUIw.mjs → BEeB-u2zgjucbLGy.mjs} +5 -5
  59. package/node/esm/{BUDeEhnsn9-yrQlE.mjs → BNjGAhc55jrQ1g3j.mjs} +1 -1
  60. package/node/esm/{C63AwhK2bi3nQ-qh.mjs → BWyrDf4jgObFanXE.mjs} +1 -1
  61. package/node/esm/{C53eiTE5QbclOU-x.mjs → Bea8u6AT5GuuzREd.mjs} +1 -1
  62. package/node/esm/{Dca0ee8jhGRibBhk.mjs → Bu4F0S4wnxFDgT0c.mjs} +1 -1
  63. package/node/esm/{D_wrbdHZwcqLBmob.mjs → C1B1mWQAcYHCdSs1.mjs} +1 -1
  64. package/node/esm/{BQWO9jQkGVXLYnCK.mjs → CEg9fJasdT_kctZx.mjs} +1 -1
  65. package/node/esm/{mEXgu7-CAzFc23RE.mjs → CUBSAaqg00w1oZse.mjs} +1 -1
  66. package/node/esm/{BexDrSYf11he63De.mjs → ChUaw-6H_k-rQrin.mjs} +1 -1
  67. package/node/esm/{DpB6jqJa5heTZlo1.mjs → DPeCPqMlSAhL24yo.mjs} +1 -1
  68. package/node/esm/{B6na2FpIb2N8_BII.mjs → DSlqkNGniwMkptsL.mjs} +1 -1
  69. package/node/esm/{BCqh-sztmdgZm9pd.mjs → D_HsSmvAUM93hhV7.mjs} +1 -1
  70. package/node/esm/{0VUK_26rxW-1p-no.mjs → DpUbzQzROf1E0IEX.mjs} +2 -2
  71. package/node/esm/{B4Eo0tFRg7GybYQq.mjs → RlDXWMx7VZdvm6v_.mjs} +1 -1
  72. package/node/esm/{CKS2ltb4Bv_q8qad.mjs → SjEP8IGjTybFF3GO.mjs} +1 -1
  73. package/node/esm/index.mjs +8 -8
  74. package/node/esm/{DuL4Zvdz5hbTWC1z.mjs → k29lAtxWgg2NJOmE.mjs} +3 -3
  75. package/node/esm/{DrgN5wWkYF1hgIK3.mjs → sPH28U-9oXTmsgtc.mjs} +1 -1
  76. package/node/esm/{DQv4OOMysHEA_ih5.mjs → txd-xYXneGIWdMTi.mjs} +1 -1
  77. package/node/esm/{CJzMybL2SEMDl1Nw.mjs → zgQ7l8vqbi0BmUvJ.mjs} +1 -1
  78. package/package.json +13 -13
  79. package/browser/cjs/DKTmOXPHU474-EAe.cjs +0 -6
  80. package/browser/cjs/K7lHFQm8oaMP4Fc7.cjs +0 -18
@@ -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 { Y as cs } from "./B89QkSJt5Nra70ba.mjs";
2
+ import { Y as cs } from "./DmMAkUHShQPrUYdy.mjs";
3
3
  /**
4
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.5
4
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.7
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, constructorOptions: n = {}, ...a } = t ?? {}, c = import("./CsT1vXKI_o6hLmzM.mjs"), m = import("./BYUh5NiLu-E5n_2A.mjs");
900
+ const { password: s, onWarning: o, constructorOptions: n = {}, ...a } = t ?? {}, c = import("./CvbzFydCbYFpqozz.mjs"), m = import("./BsNWvF5TK-6d7dXG.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("./DQwg0nFQOuoWa9vC.mjs").then((u) => u.i));
907
+ v || (b = import("./B3Ij1XnTXKB8Ra6l.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("./DVEcYvO4EkDBk4FX.mjs");
1314
+ const { ReadableStream: Z } = await import("./CpvBz72f-J2m43rR.mjs");
1315
1315
  global.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("./CsT1vXKI_o6hLmzM.mjs"), o = await i.toJSON(!0), n = s.utils.book_new();
1412
+ const s = await import("./CvbzFydCbYFpqozz.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.3.5
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.7
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,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.5
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.7
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
1
  import { jsxs as ie, jsx as U } from "react/jsx-runtime";
2
2
  import O, { isValidElement as qu, PureComponent as pe, Component as de, memo as Ku, useState as ft, useCallback as ct, useLayoutEffect as Gu } from "react";
3
3
  import { Box as Ju } from "@mui/material";
4
- import { g as mu, r as Qu, c as ve, a as Zu, u as es, C as ts } from "./B89QkSJt5Nra70ba.mjs";
4
+ import { g as mu, r as Qu, c as ve, a as Zu, u as es, C as ts } from "./DmMAkUHShQPrUYdy.mjs";
5
5
  /**
6
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.5
6
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.7
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.
@@ -1,12 +1,12 @@
1
1
  import { jsx as h, jsxs as ie, Fragment as It } from "react/jsx-runtime";
2
- import S, { Component as At, createElement as le, createContext as an, memo as Ee, forwardRef as oe, useRef as ne, useState as ee, useCallback as Z, useEffect as j, useMemo as $, useContext as sn, isValidElement as ln, cloneElement as cn, useLayoutEffect as st } from "react";
3
- import { u as un, b as lt, V as dn, T as te, f as Je, y as Te, v as pn, S as mn, A as fn, _ as hn, d as kt, W as pe, e as gn, z as kn, h as bt, M as bn, s as xn, i as wn, j as yn, k as vn, m as Ht, l as En, n as Cn, o as Sn, Y as Ln, Q as K, Z as De, p as xt, H as Rt, q as Tn, t as jt, w as ct, L as Dn, x as Mn, B as On, D as Wn, I as qt, E as Fn, F as Pn, G as Re, J as Nn, K as wt, R as In, N as An, O as Hn, P as Rn, U as jn, X as qn } from "./B89QkSJt5Nra70ba.mjs";
2
+ import S, { Component as At, createElement as le, createContext as an, memo as Ee, forwardRef as oe, useRef as ne, useState as ee, useCallback as X, useEffect as j, useMemo as $, useContext as sn, isValidElement as ln, cloneElement as cn, useLayoutEffect as st } from "react";
3
+ import { u as un, b as lt, k as dn, T as te, d as Je, x as Te, v as pn, z as mn, Z as fn, V as hn, e as kt, W as pe, f as gn, L as kn, h as bt, H as bn, i as xn, y as wn, j as yn, l as vn, m as Ht, n as En, o as Cn, A as Sn, Y as Ln, Q as K, p as De, q as xt, s as Rt, S as Tn, t as jt, w as ct, E as Dn, B as Mn, D as On, F as Wn, G as qt, K as Fn, I as Pn, J as Re, M as Nn, N as wt, R as In, O as An, P as Hn, U as Rn, X as jn, _ as qn } from "./DmMAkUHShQPrUYdy.mjs";
4
4
  import { createPortal as Bn } from "react-dom";
5
5
  import { Card as _n, CardActions as Vn, Typography as zn, IconButton as ut, Collapse as Un, Box as ue, SvgIcon as Gn, CssBaseline as Kn } from "@mui/material";
6
- import { PartialError as $n, CommonUtils as et, UndoManager as Zn, Workbook as yt } from "@sheetxl/sdk";
7
- import { ExpandMore as Xn, Close as Qn, CancelOutlined as Yn } from "@mui/icons-material";
6
+ import { PartialError as $n, CommonUtils as et, UndoManager as Xn, Workbook as yt } from "@sheetxl/sdk";
7
+ import { ExpandMore as Zn, Close as Qn, CancelOutlined as Yn } from "@mui/icons-material";
8
8
  /**
9
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.5
9
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.7
10
10
  *
11
11
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
12
12
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -287,7 +287,7 @@ function Be(t, a) {
287
287
  }
288
288
  }
289
289
  var $t = oe(function(t, a) {
290
- var r = t.children, e = t.direction, n = e === void 0 ? "down" : e, o = t.in, i = t.style, c = t.timeout, s = c === void 0 ? 0 : c, l = t.onEnter, u = t.onEntered, d = t.onExit, m = t.onExited, b = Ne(t, ["children", "direction", "in", "style", "timeout", "onEnter", "onEntered", "onExit", "onExited"]), w = ne(null), x = pt(r.ref, w), y = pt(x, a), g = Z(function() {
290
+ var r = t.children, e = t.direction, n = e === void 0 ? "down" : e, o = t.in, i = t.style, c = t.timeout, s = c === void 0 ? 0 : c, l = t.onEnter, u = t.onEntered, d = t.onExit, m = t.onExited, b = Ne(t, ["children", "direction", "in", "style", "timeout", "onEnter", "onEntered", "onExit", "onExited"]), w = ne(null), x = pt(r.ref, w), y = pt(x, a), g = X(function() {
291
291
  w.current && Be(n, w.current);
292
292
  }, [n]);
293
293
  return j(function() {
@@ -295,7 +295,7 @@ var $t = oe(function(t, a) {
295
295
  var f = function(C, Y) {
296
296
  var R;
297
297
  function q() {
298
- for (var B = this, z = arguments.length, _ = new Array(z), X = 0; X < z; X++) _[X] = arguments[X];
298
+ for (var B = this, z = arguments.length, _ = new Array(z), Z = 0; Z < z; Z++) _[Z] = arguments[Z];
299
299
  clearTimeout(R), R = setTimeout(function() {
300
300
  C.apply(B, _);
301
301
  }, Y);
@@ -362,9 +362,9 @@ function Ie(t) {
362
362
  return L({}, a, ((e = {})[n] = dt(o), e));
363
363
  }, {});
364
364
  }
365
- var ho = "notistack-SnackbarContainer", go = "notistack-Snackbar", Zt = "notistack-CollapseWrapper", ko = "notistack-MuiContent", bo = function(t) {
365
+ var ho = "notistack-SnackbarContainer", go = "notistack-Snackbar", Xt = "notistack-CollapseWrapper", ko = "notistack-MuiContent", bo = function(t) {
366
366
  return "notistack-MuiContent-" + t;
367
- }, Mt = Ie({ root: { height: 0 }, entered: { height: "auto" } }), ot = "0px", Xt = oe(function(t, a) {
367
+ }, Mt = Ie({ root: { height: 0 }, entered: { height: "auto" } }), ot = "0px", Zt = oe(function(t, a) {
368
368
  var r = t.children, e = t.in, n = t.onExited, o = ne(null), i = ne(null), c = pt(a, i), s = function() {
369
369
  return o.current ? o.current.clientHeight : 0;
370
370
  };
@@ -382,10 +382,10 @@ var ho = "notistack-SnackbarContainer", go = "notistack-Snackbar", Zt = "notista
382
382
  var u = Ke({ timeout: 175, mode: "exit" }), d = u.duration, m = u.easing;
383
383
  l.style.transitionDuration = typeof d == "string" ? d : d + "ms", l.style.height = ot, l.style.transitionTimingFunction = m || "";
384
384
  }, nodeRef: i, timeout: 175 }, function(l, u) {
385
- return le("div", Object.assign({ ref: c, className: fe(Mt.root, l === "entered" && Mt.entered), style: L({ pointerEvents: "all", overflow: "hidden", minHeight: ot, transition: ve("height") }, l === "entered" && { overflow: "visible" }, {}, l === "exited" && !e && { visibility: "hidden" }) }, u), le("div", { ref: o, className: Zt, style: { display: "flex", width: "100%" } }, r));
385
+ return le("div", Object.assign({ ref: c, className: fe(Mt.root, l === "entered" && Mt.entered), style: L({ pointerEvents: "all", overflow: "hidden", minHeight: ot, transition: ve("height") }, l === "entered" && { overflow: "visible" }, {}, l === "exited" && !e && { visibility: "hidden" }) }, u), le("div", { ref: o, className: Xt, style: { display: "flex", width: "100%" } }, r));
386
386
  });
387
387
  });
388
- Xt.displayName = "Collapse";
388
+ Zt.displayName = "Collapse";
389
389
  var Ot = { right: "left", left: "right", bottom: "up", top: "down" }, xo = function(t) {
390
390
  return "anchorOrigin" + mt(t);
391
391
  }, wo = function() {
@@ -404,7 +404,7 @@ function Wt(t) {
404
404
  var a = ne(t);
405
405
  return yo(function() {
406
406
  a.current = t;
407
- }), Z(function() {
407
+ }), X(function() {
408
408
  return a.current.apply(void 0, arguments);
409
409
  }, []);
410
410
  }
@@ -423,7 +423,7 @@ var rt, Qt = oe(function(t, a) {
423
423
  }, [l, n, w]);
424
424
  var x = function() {
425
425
  m.current && clearTimeout(m.current);
426
- }, y = Z(function() {
426
+ }, y = X(function() {
427
427
  n != null && w(0.5 * n);
428
428
  }, [n, w]);
429
429
  return j(function() {
@@ -448,7 +448,7 @@ var Oe = Ie({ root: { backgroundColor: "#313131", fontSize: "0.875rem", lineHeig
448
448
  });
449
449
  Yt.displayName = "MaterialDesignContent";
450
450
  var We, at, _e, Ve, it, Eo = Ee(Yt), Co = Ie({ wrappedRoot: { width: "100%", position: "relative", transform: "translateX(0)", top: 0, right: 0, bottom: 0, left: 0, minWidth: "288px" } }), So = function(t) {
451
- var a = ne(), r = ee(!0), e = r[0], n = r[1], o = Pe([t.snack.onClose, t.onClose]), i = Z(function() {
451
+ var a = ne(), r = ee(!0), e = r[0], n = r[1], o = Pe([t.snack.onClose, t.onClose]), i = X(function() {
452
452
  a.current = setTimeout(function() {
453
453
  n(function(B) {
454
454
  return !B;
@@ -466,9 +466,9 @@ var We, at, _e, Ve, it, Eo = Ee(Yt), Co = Ie({ wrappedRoot: { width: "100%", pos
466
466
  var z = { containerRoot: !0, containerAnchorOriginTopCenter: !0, containerAnchorOriginBottomCenter: !0, containerAnchorOriginTopRight: !0, containerAnchorOriginBottomRight: !0, containerAnchorOriginTopLeft: !0, containerAnchorOriginBottomLeft: !0 };
467
467
  return Object.keys(B).filter(function(_) {
468
468
  return !z[_];
469
- }).reduce(function(_, X) {
469
+ }).reduce(function(_, Z) {
470
470
  var he;
471
- return L({}, _, ((he = {})[X] = B[X], he));
471
+ return L({}, _, ((he = {})[Z] = B[Z], he));
472
472
  }, {});
473
473
  }(l);
474
474
  }, [l]), b = s.open, w = s.SnackbarProps, x = s.TransitionComponent, y = s.TransitionProps, g = s.transitionDuration, f = s.disableWindowBlurListener, O = s.content, C = Ne(s, ["open", "SnackbarProps", "TransitionComponent", "TransitionProps", "transitionDuration", "disableWindowBlurListener", "content", "entered", "requestClose", "onEnter", "onEntered", "onExit", "onExited"]), Y = L({ direction: (c = C.anchorOrigin, c.horizontal !== "center" ? Ot[c.horizontal] : Ot[c.vertical]), timeout: g }, y), R = O;
@@ -477,10 +477,10 @@ var We, at, _e, Ve, it, Eo = Ee(Yt), Co = Ie({ wrappedRoot: { width: "100%", pos
477
477
  var _;
478
478
  return L({}, B, ((_ = {})[z] = Pe([t.snack[z], t[z]], C.id), _));
479
479
  }, {});
480
- return S.createElement(Xt, { in: e, onExited: q.onExited }, S.createElement(Qt, { open: b, id: C.id, disableWindowBlurListener: f, autoHideDuration: C.autoHideDuration, className: fe(Co.wrappedRoot, m.root, m[xo(C.anchorOrigin)]), SnackbarProps: w, onClose: o }, S.createElement(x, Object.assign({}, Y, { appear: !0, in: b, onExit: q.onExit, onExited: i, onEnter: q.onEnter, onEntered: Pe([q.onEntered, function() {
480
+ return S.createElement(Zt, { in: e, onExited: q.onExited }, S.createElement(Qt, { open: b, id: C.id, disableWindowBlurListener: f, autoHideDuration: C.autoHideDuration, className: fe(Co.wrappedRoot, m.root, m[xo(C.anchorOrigin)]), SnackbarProps: w, onClose: o }, S.createElement(x, Object.assign({}, Y, { appear: !0, in: b, onExit: q.onExit, onExited: i, onEnter: q.onEnter, onEntered: Pe([q.onEntered, function() {
481
481
  t.snack.requestClose && o(null, "instructed", t.snack.id);
482
482
  }], C.id) }), R || S.createElement(d, Object.assign({}, C)))));
483
- }, Fe = { default: 20 }, ze = { default: 6, dense: 2 }, Pt = "." + Zt, Ue = Ie({ root: (We = { boxSizing: "border-box", display: "flex", maxHeight: "100%", position: "fixed", zIndex: 1400, height: "auto", width: "auto", transition: ve(["top", "right", "bottom", "left", "max-width"], { duration: 300, easing: "ease" }), pointerEvents: "none" }, We[Pt] = { padding: ze.default + "px 0px", transition: "padding 300ms ease 0ms" }, We.maxWidth = "calc(100% - " + 2 * Fe.default + "px)", We[nt] = { width: "100%", maxWidth: "calc(100% - 32px)" }, We), rootDense: (at = {}, at[Pt] = { padding: ze.dense + "px 0px" }, at), top: { top: Fe.default - ze.default + "px", flexDirection: "column" }, bottom: { bottom: Fe.default - ze.default + "px", flexDirection: "column-reverse" }, left: (_e = { left: Fe.default + "px" }, _e[Ge] = { alignItems: "flex-start" }, _e[nt] = { left: "16px" }, _e), right: (Ve = { right: Fe.default + "px" }, Ve[Ge] = { alignItems: "flex-end" }, Ve[nt] = { right: "16px" }, Ve), center: (it = { left: "50%", transform: "translateX(-50%)" }, it[Ge] = { alignItems: "center" }, it) }), Lo = Ee(function(t) {
483
+ }, Fe = { default: 20 }, ze = { default: 6, dense: 2 }, Pt = "." + Xt, Ue = Ie({ root: (We = { boxSizing: "border-box", display: "flex", maxHeight: "100%", position: "fixed", zIndex: 1400, height: "auto", width: "auto", transition: ve(["top", "right", "bottom", "left", "max-width"], { duration: 300, easing: "ease" }), pointerEvents: "none" }, We[Pt] = { padding: ze.default + "px 0px", transition: "padding 300ms ease 0ms" }, We.maxWidth = "calc(100% - " + 2 * Fe.default + "px)", We[nt] = { width: "100%", maxWidth: "calc(100% - 32px)" }, We), rootDense: (at = {}, at[Pt] = { padding: ze.dense + "px 0px" }, at), top: { top: Fe.default - ze.default + "px", flexDirection: "column" }, bottom: { bottom: Fe.default - ze.default + "px", flexDirection: "column-reverse" }, left: (_e = { left: Fe.default + "px" }, _e[Ge] = { alignItems: "flex-start" }, _e[nt] = { left: "16px" }, _e), right: (Ve = { right: Fe.default + "px" }, Ve[Ge] = { alignItems: "flex-end" }, Ve[nt] = { right: "16px" }, Ve), center: (it = { left: "50%", transform: "translateX(-50%)" }, it[Ge] = { alignItems: "center" }, it) }), Lo = Ee(function(t) {
484
484
  var a = t.classes, r = a === void 0 ? {} : a, e = t.anchorOrigin, n = t.dense, o = t.children, i = fe(ho, Ue[e.vertical], Ue[e.horizontal], Ue.root, r.containerRoot, r["containerAnchorOrigin" + mt(e)], n && Ue.rootDense);
485
485
  return S.createElement("div", { className: i }, o);
486
486
  }), Nt = function(t) {
@@ -568,12 +568,12 @@ var We, at, _e, Ve, it, Eo = Ee(Yt), Co = Ie({ wrappedRoot: { width: "100%", pos
568
568
  return sn(Ut);
569
569
  };
570
570
  const ae = { card: "_card_1a398_7", actionRoot: "_actionRoot_1a398_11", icons: "_icons_1a398_16", expand: "_expand_1a398_22", expandOpen: "_expandOpen_1a398_29", stackTraceContainer: "_stackTraceContainer_1a398_33" }, en = oe((t, a) => {
571
- const { id: r, message: e, iconVariant: n, error: o, hideIconVariant: i, ...c } = t, { closeSnackbar: s } = Jt(), l = un(), [u, d] = ee(!1), m = Z(() => {
571
+ const { id: r, message: e, iconVariant: n, error: o, hideIconVariant: i, ...c } = t, { closeSnackbar: s } = Jt(), l = un(), [u, d] = ee(!1), m = X(() => {
572
572
  d((x) => !x);
573
- }, []), b = Z(() => {
573
+ }, []), b = X(() => {
574
574
  s(r);
575
575
  }, [r, s]), w = o?.message || String(e);
576
- return h(ht, { ref: a, className: lt(ae.root, "error-snackbar"), children: ie(_n, { className: ae.card, style: { backgroundColor: l.palette.error.dark, border: `1px solid ${l.palette.error.dark}` }, children: [ie(Vn, { className: ae.actionRoot, children: [i ? null : n?.error, h(zn, { variant: "body2", component: "div", className: ae.typography, style: { color: l.palette.text.primary }, children: w }), h("div", { style: { flex: "1 1 auto" } }), ie("div", { className: ae.icons, children: [o ? h(ut, { "aria-label": "Show more", size: "small", className: lt(ae.expand, { [ae.expandOpen]: u }), style: { color: l.palette.action.active }, onClick: m, children: h(Xn, {}) }) : null, h(ut, { size: "small", className: ae.expand, style: { color: l.palette.action.active }, onClick: b, children: h(Qn, { fontSize: "small" }) })] })] }), o ? h(Un, { in: u, timeout: "auto", unmountOnExit: !0, children: h("div", { className: ae.stackTraceContainer, style: { backgroundColor: l.palette.error.light, borderTop: `1px solid ${l.palette.error.main}` }, children: h(dn, { error: o, hideLineNumbers: !0 }) }) }) : null] }) });
576
+ return h(ht, { ref: a, className: lt(ae.root, "error-snackbar"), children: ie(_n, { className: ae.card, style: { backgroundColor: l.palette.error.dark, border: `1px solid ${l.palette.error.dark}` }, children: [ie(Vn, { className: ae.actionRoot, children: [i ? null : n?.error, h(zn, { variant: "body2", component: "div", className: ae.typography, style: { color: l.palette.text.primary }, children: w }), h("div", { style: { flex: "1 1 auto" } }), ie("div", { className: ae.icons, children: [o ? h(ut, { "aria-label": "Show more", size: "small", className: lt(ae.expand, { [ae.expandOpen]: u }), style: { color: l.palette.action.active }, onClick: m, children: h(Zn, {}) }) : null, h(ut, { size: "small", className: ae.expand, style: { color: l.palette.action.active }, onClick: b, children: h(Qn, { fontSize: "small" }) })] })] }), o ? h(Un, { in: u, timeout: "auto", unmountOnExit: !0, children: h("div", { className: ae.stackTraceContainer, style: { backgroundColor: l.palette.error.light, borderTop: `1px solid ${l.palette.error.main}` }, children: h(dn, { error: o, hideLineNumbers: !0 }) }) }) : null] }) });
577
577
  });
578
578
  en.displayName = "ToastError";
579
579
  const tn = Ee(oe((t, a) => {
@@ -613,9 +613,9 @@ nn.displayName = "StandaloneWorkbookToolbar";
613
613
  const on = Ee(oe((t, a) => {
614
614
  const { workbook: r, setWorkbook: e, refWorkbookTitle: n, titleWorkbook: o, setWorkbookTitle: i, titlePlaceHolder: c, children: s, undoManager: l, commands: u, importExportDisabled: d, themeModeOptions: m } = t, b = Jt(), w = b ? b.enqueueSnackbar : () => {
615
615
  }, x = b ? b.closeSnackbar : () => {
616
- }, [y, g] = ee({ isMounted: !1, label: null, starting: /* @__PURE__ */ new Map(), running: /* @__PURE__ */ new Map() }), f = Z(() => {
616
+ }, [y, g] = ee({ isMounted: !1, label: null, starting: /* @__PURE__ */ new Map(), running: /* @__PURE__ */ new Map() }), f = X(() => {
617
617
  g((M) => ({ ...M, isMounted: !0 }));
618
- }, []), O = Z(() => {
618
+ }, []), O = X(() => {
619
619
  g((M) => ({ ...M, isMounted: !1 }));
620
620
  }, []), C = Mn(), Y = On(), R = Wn(), q = ne(/* @__PURE__ */ new Set()), B = $(() => {
621
621
  const M = (v, E) => {
@@ -640,14 +640,14 @@ const on = Ee(oe((t, a) => {
640
640
  const T = { ...E, onKeyDown: (H) => {
641
641
  u?.dispatchToFocusedCommand(H), H.isDefaultPrevented() || H.isPropagationStopped() || E?.onKeyDown?.(H);
642
642
  } };
643
- return C(v, { sort: () => import("./Drjhq-zlZ3HTK_ZI.mjs"), numberFormat: () => import("./DMOlhSnOh4hHXiw0.mjs"), hyperlink: () => import("./BRJgzXA_m_2aKWbd.mjs"), comments: () => import("./C2gkPo-K972JVp5g.mjs"), find: () => import("./DzW551wAkGdUKn1f.mjs"), tableDetails: () => import("./q-qojAI33CqmRx77.mjs"), tableNew: () => import("./Bx8dhDDGV4fnPcL4.mjs"), namedDetails: () => import("./DdsrrZg_d16qXBaF.mjs") }[v], T, W);
643
+ return C(v, { sort: () => import("./_W9VYfMjuPSlrtP4.mjs"), numberFormat: () => import("./DzVmvHLdD-ek8bqb.mjs"), hyperlink: () => import("./C7Ks61IOWv5mxPi5.mjs"), comments: () => import("./BrjzLQb3ECtQX_oE.mjs"), find: () => import("./D9i2f_vC22Se56A1.mjs"), tableDetails: () => import("./D90EhJlb6d3offOa.mjs"), tableNew: () => import("./BIM5Wii-WyRfiTCP.mjs"), namedDetails: () => import("./Dr00OJODZaQoFOPH.mjs") }[v], T, W);
644
644
  }, showOptions: Y, showInputOptions: R, showError: (v) => {
645
645
  let E, W = Re.Error, T = "Unknown Error";
646
646
  typeof v == "string" ? T = v : v instanceof Error && (E = v, v.message && (T = v.message)), v instanceof $n && (W = Re.Info), M(T, { type: W, enqueueProps: { error: E } });
647
647
  } };
648
- }, []), z = Z(() => {
648
+ }, []), z = X(() => {
649
649
  }, []), _ = ((M) => {
650
- const { workbook: v, setWorkbook: E, importExportDisabled: W, workbookTitle: T = "export", setWorkbookTitle: H, notifier: I, requestWorkbookTitle: J, themeModeOptions: F, undoManager: Ae, commands: Q, onExecute: ke } = M, He = te(F?.onForceModeChange, [F?.onForceModeChange]), Ze = te(F?.onForceLightGridChange, [F?.onForceLightGridChange]), be = te(F?.onForceLightImagesChange, [F?.onForceLightImagesChange]), Xe = te(async (D = null, U = null) => {
650
+ const { workbook: v, setWorkbook: E, importExportDisabled: W, workbookTitle: T = "export", setWorkbookTitle: H, notifier: I, requestWorkbookTitle: J, themeModeOptions: F, undoManager: Ae, commands: Q, onExecute: ke } = M, He = te(F?.onForceModeChange, [F?.onForceModeChange]), Xe = te(F?.onForceLightGridChange, [F?.onForceLightGridChange]), be = te(F?.onForceLightImagesChange, [F?.onForceLightImagesChange]), Ze = te(async (D = null, U = null) => {
651
651
  const p = [];
652
652
  let k, P = null, G = null;
653
653
  if (typeof D == "string" ? G = D : P = D, k = P ? D : await Ln.openFileDialog(G ?? pe.getAllReadFormatTypeAsString().join(",")), !k) return null;
@@ -663,7 +663,7 @@ const on = Ee(oe((t, a) => {
663
663
  return k !== null && pe.writeFile(k, D, { formatType: p.key });
664
664
  }
665
665
  return pe.writeFile(U, D, { formatType: p.key });
666
- }, [I, v, J]), A = Z(() => ({ contains: (D) => !0, focus() {
666
+ }, [I, v, J]), A = X(() => ({ contains: (D) => !0, focus() {
667
667
  } }), []), ce = $(() => {
668
668
  const D = [];
669
669
  W || (pe.getWriteFormats().forEach((p) => {
@@ -682,7 +682,7 @@ const on = Ee(oe((t, a) => {
682
682
  }), D.push(new K("openWorkbook", A, { label: "Open Workbook…", scopedLabels: { workbook: "Open…" }, description: "Open a workbook from the desktop.", shortcut: { key: "O", modifiers: [De.Ctrl] } }, async (p = null) => {
683
683
  const k = { date1904: v.isDate1904(), ...v.options };
684
684
  try {
685
- const P = await Xe(p, k);
685
+ const P = await Ze(p, k);
686
686
  if (!P) return;
687
687
  const G = P.title, se = P.workbook, Le = se.getSelectedSheet();
688
688
  if (P.formatType.mimeType === "text/csv") {
@@ -730,7 +730,7 @@ const on = Ee(oe((t, a) => {
730
730
  }), V.getCommand("defaultThemeMode").update({ state: !F.forceMode }).updateCallback(() => {
731
731
  He(null);
732
732
  }), V.getCommand("forceLightGrid").update({ state: F.forceLightGrid }).updateCallback(() => {
733
- Ze(!F.forceLightGrid);
733
+ Xe(!F.forceLightGrid);
734
734
  }), V.getCommand("forceLightImages").update({ state: F.forceLightImages }).updateCallback(() => {
735
735
  be(!F.forceLightImages);
736
736
  });
@@ -738,7 +738,7 @@ const on = Ee(oe((t, a) => {
738
738
  const { showModal: Qe } = Dn();
739
739
  return j(() => {
740
740
  const D = () => new Promise((U, p) => {
741
- const k = S.lazy(() => import("./Dw7dYD6MrvZb3WPh.mjs")), P = Qe(k, { title: "Shortcut Keys Reference", commands: V, onDone: () => {
741
+ const k = S.lazy(() => import("./C_iaOAYxfBeQ_Eao.mjs")), P = Qe(k, { title: "Shortcut Keys Reference", commands: V, onDone: () => {
742
742
  P.hide();
743
743
  }, TransitionProps: { onExited: () => {
744
744
  U(!0);
@@ -765,18 +765,18 @@ const on = Ee(oe((t, a) => {
765
765
  }), { ...M, starting: /* @__PURE__ */ new Map(), running: v };
766
766
  });
767
767
  }, [y]);
768
- const [X, he] = ee(null);
768
+ const [Z, he] = ee(null);
769
769
  j(() => {
770
770
  y.starting.size !== 0 || y.running.size !== 0 ? he(h(qt, { icon: h(Fn, { sx: { transform: "scale(0.7)", marginLeft: "-6px" } }), panel: !0, label: y.label, onMount: f, onUnmount: O, sx: { position: "absolute", left: "0", top: "0", width: "100%", height: "100%", zIndex: "9999" } })) : he(null);
771
771
  }, [y.starting, y.running]);
772
772
  const N = $(() => h(Pn, { commands: _, disableHover: !0, sx: { padding: "0" }, buttonProps: { sx: { maxHeight: "22px" } } }), [_]), ge = { notifier: B, commands: _ };
773
- return r && (ge.statusBarProps = { childrenEnd: N }), ie(It, { children: [X, s ? S.cloneElement(s, ge) : null] });
773
+ return r && (ge.statusBarProps = { childrenEnd: N }), ie(It, { children: [Z, s ? S.cloneElement(s, ge) : null] });
774
774
  }));
775
775
  on.displayName = "SnackbarAndCommandsWrapper";
776
776
  const rn = Ee(oe((t, a) => {
777
- const { className: r, sx: e, style: n, onElementLoad: o, onError: i, undoManager: c, errorPanel: s = Nn, onKeyDown: l, workbook: u, createWorkbookOptions: d, onWorkbookChange: m, logo: b, importExportDisabled: w = !1, themeModeOptions: x, autoFocus: y = !1, commands: g, title: f, onTitleChange: O, titleProps: C, ...Y } = t, R = ne(null), q = te(m, [m]), B = te(O ?? C?.onTitleChange, [O ?? C?.onTitleChange]), z = C?.placeHolder ?? "Untitled", _ = x?.forceMode, { themeMode: X, source: he } = jt({ mode: _ }), N = $(() => ({ ...x, light: wt(!1, et.deepMerge(x?.theme ?? {}, x?.light ?? {})), dark: wt(!0, et.deepMerge(x?.theme ?? {}, x?.dark ?? {})) }), [x]), ge = X === ct.Dark, [M, v] = ee(null);
777
+ const { className: r, sx: e, style: n, onElementLoad: o, onError: i, undoManager: c, errorPanel: s = Nn, onKeyDown: l, workbook: u, createWorkbookOptions: d, onWorkbookChange: m, logo: b, importExportDisabled: w = !1, themeModeOptions: x, autoFocus: y = !1, commands: g, title: f, onTitleChange: O, titleProps: C, ...Y } = t, R = ne(null), q = te(m, [m]), B = te(O ?? C?.onTitleChange, [O ?? C?.onTitleChange]), z = C?.placeHolder ?? "Untitled", _ = x?.forceMode, { themeMode: Z, source: he } = jt({ mode: _ }), N = $(() => ({ ...x, light: wt(!1, et.deepMerge(x?.theme ?? {}, x?.light ?? {})), dark: wt(!0, et.deepMerge(x?.theme ?? {}, x?.dark ?? {})) }), [x]), ge = Z === ct.Dark, [M, v] = ee(null);
778
778
  j(() => {
779
- v(c ?? new Zn());
779
+ v(c ?? new Xn());
780
780
  }, [c]);
781
781
  const [E, W] = ee(null), [T, H] = ee(null), I = In();
782
782
  st(() => {
@@ -817,17 +817,17 @@ const rn = Ee(oe((t, a) => {
817
817
  }, [f ?? C?.title]), j(() => {
818
818
  B?.(Q);
819
819
  }, [Q]);
820
- const [He, Ze] = ee(null), be = $(() => {
820
+ const [He, Xe] = ee(null), be = $(() => {
821
821
  const p = () => ({ contains: (k) => !0, focus() {
822
822
  } });
823
823
  return g ? g.createChildGroup(p, "application", !1) : new Rt(p, "application");
824
- }, [g]), Xe = te((p) => {
825
- Ze(p.source.getViewportElement()), F(p), be.activate("sheet"), o?.(p);
824
+ }, [g]), Ze = te((p) => {
825
+ Xe(p.source.getViewportElement()), F(p), be.activate("sheet"), o?.(p);
826
826
  }, [be]);
827
827
  j(() => {
828
828
  J && y && J.source?.focus(typeof y == "object" ? y : void 0);
829
829
  }, [J]);
830
- const Ce = ne(null), A = Z((p) => {
830
+ const Ce = ne(null), A = X((p) => {
831
831
  let k = null;
832
832
  return C?.hidden || (k = h(An, { ...C, style: { maxWidth: "100%", ...C?.style }, workbook: R.current, ref: Ce, title: Q, placeHolder: z, onTitleChange: (P) => {
833
833
  ke(P);
@@ -839,11 +839,11 @@ const rn = Ee(oe((t, a) => {
839
839
  R.current?.removeEventListener("wheel", p);
840
840
  };
841
841
  }, []);
842
- const ce = $(() => h(qt, { transparentBackground: !0, sx: e, style: n }), [e, n]), V = Z(({ error: p }) => (i?.(p), h(s, { sx: e, style: n, error: p ?? "Unable to display empty workbook." })), [e, n, i]), Se = $(() => ({ ...e, "& .SnackbarContainer-root": { position: "absolute !important" }, "& .notistack-Snackbar": { minWidth: "unset" }, "& .notistack-MuiContent *": { fontFamily: (p) => p.typography.fontFamily }, "& #notistack-snackbar": { maxWidth: "560px", whiteSpace: "pre-wrap" }, "*": { userSelect: "none" } }), [e]), Qe = Ht([R, a]), D = $(() => {
842
+ const ce = $(() => h(qt, { transparentBackground: !0, sx: e, style: n }), [e, n]), V = X(({ error: p }) => (i?.(p), h(s, { sx: e, style: n, error: p ?? "Unable to display empty workbook." })), [e, n, i]), Se = $(() => ({ ...e, "& .SnackbarContainer-root": { position: "absolute !important" }, "& .notistack-Snackbar": { minWidth: "unset" }, "& .notistack-MuiContent *": { fontFamily: (p) => p.typography.fontFamily }, "& #notistack-snackbar": { maxWidth: "560px", whiteSpace: "pre-wrap" }, "*": { userSelect: "none" } }), [e]), Qe = Ht([R, a]), D = $(() => {
843
843
  if (!E) return ce;
844
844
  if (E.error || !E.workbook) return V({ error: E.error });
845
845
  let p = null, k = null, P = !1;
846
- return N && (p = ge ? N.dark : N.light, k = ge && !N.forceLightGrid ? N.dark : N.light, P = N.forceLightImages), h(Hn, { sx: Se, style: n, tabIndex: 0, autoFocus: !0, workbook: E.workbook, ref: Qe, renderToolbar: A, onElementLoad: Xe, onRepeatCommandChange: Ae, onKeyDown: (G) => {
846
+ return N && (p = ge ? N.dark : N.light, k = ge && !N.forceLightGrid ? N.dark : N.light, P = N.forceLightImages), h(Hn, { sx: Se, style: n, tabIndex: 0, autoFocus: !0, workbook: E.workbook, ref: Qe, renderToolbar: A, onElementLoad: Ze, onRepeatCommandChange: Ae, onKeyDown: (G) => {
847
847
  l?.(G);
848
848
  }, gridTheme: k, headersTheme: p, forceLightImages: P, className: lt(r, "sheetxl-workbook"), onContextMenu: (G) => G.preventDefault(), ...Y }, "WorkbookElement");
849
849
  }, [E, Q, M, ce, N, Y, A, Se]);
@@ -1,37 +1,37 @@
1
1
  import { jsx as a, jsxs as s } from "react/jsx-runtime";
2
- import { memo as O, useState as r, useRef as A, useReducer as E, useMemo as M } from "react";
3
- import { DialogContent as W, Box as n } from "@mui/material";
4
- import { af as k, j as V, ag as q, ah as G, T as f, a6 as J, ai as K, aj as Q, A as x, ak as U, al as X, f as y, y as b, v as w, am as S } from "./B89QkSJt5Nra70ba.mjs";
2
+ import { memo as O, useState as r, useRef as E, useReducer as M, useMemo as W } from "react";
3
+ import { DialogContent as A, Box as n } from "@mui/material";
4
+ import { af as k, j as V, ag as Z, ah as q, T as x, a6 as G, ai as J, aj as K, Z as f, ak as Q, al as U, d as y, x as b, v as w, am as S } from "./DmMAkUHShQPrUYdy.mjs";
5
5
  /**
6
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.5
6
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.7
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: N, onHide: v, 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 = A(null), [Y, j] = E((e) => e + 1, 0), [B, { width: Z }] = V();
13
- q(c);
14
- const o = T ?? c.context(), t = o.table(), [H, I] = r(() => t ? o.getNames().getRanges(t.getRange()) : null), P = M(() => t?.getName() ?? "", [t]);
15
- G(o.table(), { onAnchorCoordsChange(e) {
12
+ const { title: N, onHide: v, 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), [X, j] = M((e) => e + 1, 0), [B, { width: Y }] = V();
13
+ Z(c);
14
+ const o = T ?? c.context(), t = o.table(), [H, I] = r(() => t ? o.getNames().getRanges(t.getRange()) : null), P = W(() => t?.getName() ?? "", [t]);
15
+ q(o.table(), { onAnchorCoordsChange(e) {
16
16
  I(o.getNames().getRanges(e.getRange()));
17
17
  }, onProtectedChange(e) {
18
18
  j();
19
19
  } });
20
- const z = f((e) => {
20
+ const z = x((e) => {
21
21
  o?.table().setName(e);
22
- }, [o]), L = f((e) => {
22
+ }, [o]), L = x((e) => {
23
23
  o?.table().resize(e.at(0));
24
24
  }, [o]);
25
25
  let u = null;
26
- return o.table() || (u = a("div", { style: { position: "absolute", top: "0", left: "0", width: "100%", height: "100%", opacity: 1, display: "flex", alignItems: "center", justifyItems: "center", justifyContent: "center", boxSizing: "border-box" }, children: a("div", { children: "No table selected" }) })), a(J, { title: N ?? "Table Details", initialPosition: { y: "35" }, autoFocusSel: R, refWindow: h, onHide: v, onFocus: () => g(!0), onBlur: (e) => {
26
+ return o.table() || (u = a("div", { style: { position: "absolute", top: "0", left: "0", width: "100%", height: "100%", opacity: 1, display: "flex", alignItems: "center", justifyItems: "center", justifyContent: "center", boxSizing: "border-box" }, children: a("div", { children: "No table selected" }) })), a(G, { title: N ?? "Table Details", initialPosition: { y: "35" }, autoFocusSel: R, refWindow: h, onHide: v, onFocus: () => g(!0), onBlur: (e) => {
27
27
  h?.current?.contains(e.relatedTarget) || g(!1);
28
- }, PaperProps: { elevation: F ? 3 : 1 }, ...D, children: s(W, { dividers: !0, ref: B, sx: { display: "flex", flexDirection: "column", position: "relative", paddingLeft: (e) => e.spacing(1.5), paddingRight: (e) => e.spacing(1.5) }, children: [s(n, { sx: { display: "flex", flexDirection: "column", transition: "opacity 60ms", opacity: o.table() ? 1 : 0 }, children: [a(n, { sx: { display: "flex", flexDirection: "row", gap: (e) => e.spacing(1) }, children: a(n, { sx: { display: "flex", flexDirection: "column", maxWidth: "100%", boxSizing: "border-box", paddingLeft: (e) => e.spacing(2), paddingRight: (e) => e.spacing(2) }, children: s(n, { sx: { display: "flex", flexDirection: "column", alignItems: "center" }, children: [a(K, { formName: "name", defaultInput: P, value: t?.getName() ?? "No table", onChangeInput: z, onValidate: (e) => {
28
+ }, PaperProps: { elevation: F ? 3 : 1 }, ...D, children: s(A, { dividers: !0, ref: B, sx: { display: "flex", flexDirection: "column", position: "relative", paddingLeft: (e) => e.spacing(1.5), paddingRight: (e) => e.spacing(1.5) }, children: [s(n, { sx: { display: "flex", flexDirection: "column", transition: "opacity 60ms", opacity: o.table() ? 1 : 0 }, children: [a(n, { sx: { display: "flex", flexDirection: "row", gap: (e) => e.spacing(1) }, children: a(n, { sx: { display: "flex", flexDirection: "column", maxWidth: "100%", boxSizing: "border-box", paddingLeft: (e) => e.spacing(2), paddingRight: (e) => e.spacing(2) }, children: s(n, { sx: { display: "flex", flexDirection: "column", alignItems: "center" }, children: [a(J, { formName: "name", defaultInput: P, value: t?.getName() ?? "No table", onChangeInput: z, onValidate: (e) => {
29
29
  t && t.getName().toLowerCase() === e.toLowerCase() || o?.getNames().validateName(e);
30
30
  }, disabled: t?.isProtected() ?? !0, onFocus: (e) => {
31
31
  m || e.target?.select(), p(!0);
32
- } }), a(Q, { formName: "range", value: H, onChangeInput: L, resolvedAddress: o.getNames().getRanges.bind(o.getNames()), disabled: t?.isProtected() ?? !0, onFocus: (e) => {
32
+ } }), a(K, { formName: "range", value: H, onChangeInput: L, resolvedAddress: o.getNames().getRanges.bind(o.getNames()), disabled: t?.isProtected() ?? !0, onFocus: (e) => {
33
33
  m || e.target?.select(), p(!0);
34
- } })] }) }) }), s(n, { sx: { minHeight: "10px", flex: "1 1 100%", display: "flex", flexDirection: "column", gap: (e) => e.spacing(0.5), marginTop: (e) => e.spacing(1) }, children: [a(x, { orientation: "horizontal", sx: { marginTop: (e) => e.spacing(1.5), marginBottom: (e) => e.spacing(0.75) } }), a(U, { disabled: t?.isProtected(), styleOptions: t?.getStyleOptions() ?? null, onStyleOptionsChange: (e) => {
34
+ } })] }) }) }), s(n, { sx: { minHeight: "10px", flex: "1 1 100%", display: "flex", flexDirection: "column", gap: (e) => e.spacing(0.5), marginTop: (e) => e.spacing(1) }, children: [a(f, { orientation: "horizontal", sx: { marginTop: (e) => e.spacing(1.5), marginBottom: (e) => e.spacing(0.75) } }), a(Q, { disabled: t?.isProtected(), styleOptions: t?.getStyleOptions() ?? null, onStyleOptionsChange: (e) => {
35
35
  t.updateStyleOptions(e);
36
36
  }, showHeaderRow: t?.getShowHeaders(), onShowHeaderRowChange: (e) => {
37
37
  try {
@@ -51,7 +51,7 @@ const ae = O((C) => {
51
51
  } catch (i) {
52
52
  l.showError(i);
53
53
  }
54
- } }), a(n, { sx: { display: "flex", alignItems: "center", justifyContent: "center", flexDirection: "column", marginTop: (e) => e.spacing(2), marginBottom: (e) => e.spacing(1) }, children: a(X, { table: t, styles: o.styles(), bodyStyle: o.bodyStyle(), cellHeight: 30, isLive: !0 }) }), a(x, { orientation: "horizontal" }), s(n, { sx: { display: "flex", flexDirection: "column", justifyContent: "center" }, children: [a(y, { variant: w.Menuitem, command: d.getCommand("convertTableToRange"), commandState: t, icon: b(a(S, {})) }), a(y, { variant: w.Menuitem, commandState: t, command: d.getCommand("deleteTable"), icon: b(a(S, {})) })] })] })] }), u] }) });
54
+ } }), a(n, { sx: { display: "flex", alignItems: "center", justifyContent: "center", flexDirection: "column", marginTop: (e) => e.spacing(2), marginBottom: (e) => e.spacing(1) }, children: a(U, { table: t, styles: o.styles(), bodyStyle: o.bodyStyle(), cellHeight: 30, isLive: !0 }) }), a(f, { orientation: "horizontal" }), s(n, { sx: { display: "flex", flexDirection: "column", justifyContent: "center" }, children: [a(y, { variant: w.Menuitem, command: d.getCommand("convertTableToRange"), commandState: t, icon: b(a(S, {})) }), a(y, { variant: w.Menuitem, commandState: t, command: d.getCommand("deleteTable"), icon: b(a(S, {})) })] })] })] }), u] }) });
55
55
  });
56
56
  export {
57
57
  ae as TableDetailsWindow,
@@ -3,10 +3,10 @@ import { memo as ie, useRef as C, useState as b, useEffect as D, useLayoutEffect
3
3
  import { DialogContent as de, Box as O, TextField as Y, InputAdornment as ue, Collapse as _, MenuItem as fe, FormControl as ge, InputLabel as me, Select as xe } from "@mui/material";
4
4
  import { ArrowBack as he, ArrowUpward as Oe, ArrowForward as Ce, ArrowDownward as ye } from "@mui/icons-material";
5
5
  import { ICell as c, IRange as R } from "@sheetxl/sdk";
6
- import { T as W, a4 as be, j as Te, a6 as ve, a7 as m, y as x, a8 as Re, Z as y, a9 as ke, aa as we, ab as Ie, ac as Se, a5 as k, ad as Ee, ae as Fe, A as De } from "./B89QkSJt5Nra70ba.mjs";
6
+ import { T as W, a4 as be, j as Te, a6 as ve, a7 as m, x, a8 as Re, p as y, a9 as ke, aa as we, ab as Ie, ac as Se, a5 as k, ad as Ee, ae as Fe, Z as De } from "./DmMAkUHShQPrUYdy.mjs";
7
7
  import { alpha as w } from "@mui/system";
8
8
  /**
9
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.5
9
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.7
10
10
  *
11
11
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
12
12
  * License: The license can be found at https://www.sheetxl.com/license.