@sheetxl/studio-mui 0.4.7 → 0.4.9

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 (86) hide show
  1. package/browser/cjs/{CArewr_CDpxiRR66.cjs → 02LSJ7jnb-ovS7ex.cjs} +1 -1
  2. package/browser/cjs/{DQRGxRYSOKOEByUm.cjs → BDDJIe6JwgEYEtda.cjs} +2 -2
  3. package/browser/cjs/{BULArqiBp4j5hxyx.cjs → BGh6tEDK_1MFKfMU.cjs} +1 -1
  4. package/browser/cjs/{BbvqKmxn6Rum-bk6.cjs → BSRDKlVOTYHfOAF_.cjs} +6 -6
  5. package/browser/cjs/{CzHIyuIwxVQd9I_P.cjs → Bn0BSzVk_S-rvDwk.cjs} +2 -2
  6. package/browser/cjs/Bzf8jKmmZl374mof.cjs +6 -0
  7. package/browser/cjs/{BnHBKznz1O8QEPEE.cjs → C20NTPRE5_ExESDZ.cjs} +2 -2
  8. package/browser/cjs/{C0rgKqf5wJGFF0Pn.cjs → C5i9hklL-WNb8J_q.cjs} +2 -2
  9. package/browser/cjs/{B5H9gNIHdOkSXNhX.cjs → CLxYxjd0yz1LCTB-.cjs} +1 -1
  10. package/browser/cjs/{CmX_3VyTiwTzdJhI.cjs → CUo2iW5IL6UZJNWT.cjs} +2 -2
  11. package/browser/cjs/{DK6e7OLzcRQFuNAR.cjs → C_QWbWVBVc6YJ4Q3.cjs} +1 -1
  12. package/browser/cjs/{x5DxzBmBRyolQW8p.cjs → CeeZxww7wpF45vvp.cjs} +2 -2
  13. package/browser/cjs/{x0gHCGm4Ua404wtj.cjs → CekKZCV1J1HUFIqO.cjs} +2 -2
  14. package/browser/cjs/CgD0b2zJD8zElhuz.cjs +6 -0
  15. package/browser/cjs/CqwEnIUDMxWw5DX1.cjs +87 -0
  16. package/browser/cjs/{6ahm9L_JadTVTVKM.cjs → CwOKyPq_H2afJacv.cjs} +2 -2
  17. package/browser/cjs/{ojTdNwa8dIIVVsYa.cjs → D32t9wiFoNX7WVEo.cjs} +1 -1
  18. package/browser/cjs/{sia-JpDs1OJx3UqA.cjs → DILF3GzsMdg-Y2wu.cjs} +1 -1
  19. package/browser/cjs/Dr-PR7J1T91UjrPL.cjs +12 -0
  20. package/browser/cjs/{D0g5Yi1sFZedrm8U.cjs → DyR0_iZAINpjodWL.cjs} +2 -2
  21. package/browser/cjs/{ZmZmJzyx8f56di-3.cjs → LWuNxqu9MyiniH_g.cjs} +3 -3
  22. package/browser/cjs/{D5hBXjLlXQHJlC_R.cjs → O8r9K4Qh6Pgd6rXU.cjs} +1 -1
  23. package/browser/cjs/index.cjs +2 -2
  24. package/browser/cjs/{CnIoJa4rGjDIRDt_.cjs → jbTHHxJODyD10jVH.cjs} +1 -1
  25. package/browser/cjs/{D2F5d-KqoX6K87V-.cjs → n-4XaX3pkXUEEQ5u.cjs} +2 -2
  26. package/browser/cjs/qQGaIq5VhlZJU-xf.cjs +6 -0
  27. package/browser/esm/{CIEN20sJj9GKW3yE.mjs → AmErN6xXU01K_bEs.mjs} +1 -1
  28. package/browser/esm/{54Y6CqDofk0Ryz8B.mjs → B08nVBuOXar7x7in.mjs} +3 -3
  29. package/browser/esm/{CMiuTssM0lBVhuJS.mjs → B8xKZIF9fvamlvW5.mjs} +6 -6
  30. package/browser/esm/{BadcJIpfDDb6Oula.mjs → BGWd79IfMfoHoO6g.mjs} +1 -1
  31. package/browser/esm/{PjZRDfcmhPXxjS2K.mjs → BT8vduOS21nsJ6EQ.mjs} +1 -1
  32. package/browser/esm/{vs0v9un-v2S9Jnlo.mjs → Bz6NqTbktTH8Df6_.mjs} +4 -4
  33. package/browser/esm/{C2ogJhUgj6tBd2Ze.mjs → CDRALHzsBIsRPM5g.mjs} +13 -13
  34. package/browser/esm/{Ip_kfHi5bomcrUk6.mjs → CIH1rBtL9lK5ku-N.mjs} +1 -1
  35. package/browser/esm/{D0TAETGiUzsAjxPY.mjs → CVJee4uHPTdpZGEH.mjs} +16 -16
  36. package/browser/esm/{CevfhoT-xtAPuMWS.mjs → CXUv64T9mbQbJGgM.mjs} +2 -2
  37. package/browser/esm/{CAgqX2BO2DbnSbS0.mjs → Ca5nvvpeuP6Wsv5P.mjs} +2 -2
  38. package/browser/esm/{DBhNx8LLdmzo5Avs.mjs → CelDYTh0f7McDj4o.mjs} +2 -2
  39. package/browser/esm/{BUxotxJXTYkCxXGj.mjs → DHlS6l8ZPDMN2cwP.mjs} +1 -1
  40. package/browser/esm/{DHsxjQ98xXj3tRTJ.mjs → DXKQ9TZdaT7ytR1S.mjs} +1 -1
  41. package/browser/esm/{CRCvnu8AKE7fJq05.mjs → D_FJwwe-bsDiDGBV.mjs} +2 -2
  42. package/browser/esm/{D3DJPz0louDEmOOg.mjs → DduyjhwDREaxXNzm.mjs} +7 -7
  43. package/browser/esm/DffuCp_514AjqJLT.mjs +864 -0
  44. package/browser/esm/{BgQK3a-xYWlmvNDD.mjs → DgC_oaBYpwh1mBi_.mjs} +2 -2
  45. package/browser/esm/{ww-U-PglTS7Dtu3g.mjs → Dl-SlJoaP7EFX-GR.mjs} +2 -2
  46. package/browser/esm/{DJJZ-Mz0hVMWcKq8.mjs → DpTSO921EQ7L_abP.mjs} +2 -2
  47. package/browser/esm/{DXbciCQNKY4_r5Et.mjs → Dr5y4zmj1js9FjzE.mjs} +1 -1
  48. package/browser/esm/{CJ46XJddcTe9sn3Q.mjs → DuoEo0hJBssfAmB4.mjs} +2 -2
  49. package/browser/esm/index.mjs +26 -25
  50. package/browser/esm/{BRio-IBtU98oZf5v.mjs → jIv4VNLAAFANZjhN.mjs} +1 -1
  51. package/browser/esm/{B5ZVjFCvGZMlskn5.mjs → wysWhT4-jO-uukUH.mjs} +2 -2
  52. package/browser/esm/{BSQXNtEzcvD1nZ07.mjs → zZaxvhjZK5N3yZkw.mjs} +7971 -7961
  53. package/licenses/dependencies.txt +6 -6
  54. package/node/esm/{B_-60k30GZTVFJCG.mjs → 9iDXWtTOWeDVslQL.mjs} +1 -1
  55. package/node/esm/{BcfUxPgXAV1if9NT.mjs → B18g9zjzyR9YL3Mv.mjs} +1 -1
  56. package/node/esm/{HAKu1GEoK2wZht5-.mjs → B7xzqWxB07TdXnmo.mjs} +2 -2
  57. package/node/esm/BBWRiJSBxt6O1CfK.mjs +312 -0
  58. package/node/esm/{DW9fZUq5TEVyK05B.mjs → BUVA6vYXyFFnBCMg.mjs} +1 -1
  59. package/node/esm/{CTgcSkLGEwSlcrWM.mjs → BfuG4JD3t3n1uOci.mjs} +1 -1
  60. package/node/esm/{CiFa6r-hL-KsSx0I.mjs → C7t1ZHhSDgJnZ4Da.mjs} +1 -1
  61. package/node/esm/{CVheJHEYC7Bxc-m9.mjs → CG1T0Z1roNRSVlal.mjs} +1 -1
  62. package/node/esm/{BdwO--U2p6MiyekK.mjs → CGiJgZJFY-YsXWCX.mjs} +1 -1
  63. package/node/esm/{BK_IZrqK3_Xz2rfA.mjs → CILOMzOF30-XSZqR.mjs} +1 -1
  64. package/node/esm/{BeiZhSUAA8NyCua8.mjs → CijBL1IDWaxPgQ_E.mjs} +1 -1
  65. package/node/esm/{DQfxpSzOhUDp1tes.mjs → Cr5l_3AqPbv4mke9.mjs} +1 -1
  66. package/node/esm/{DEtck55hesGlXNoj.mjs → CsbP0EYKOHobzZCu.mjs} +1 -1
  67. package/node/esm/{xQKjfFNNUiXBnIeG.mjs → DGTK2YeARR5cTnft.mjs} +1 -1
  68. package/node/esm/{D9INCGl89jNGldla.mjs → DHmVr6jRLzt6lD1x.mjs} +1 -1
  69. package/node/esm/{1YvclnJ1eNd7ibD-.mjs → DODhKM0Qeycx3Hvp.mjs} +1 -1
  70. package/node/esm/{ClSJpKVPQuTKvJtg.mjs → DWKLdf_rn5dajRBA.mjs} +14 -14
  71. package/node/esm/{RPVynz_rpfz9lkAQ.mjs → Dn38s6pH3QNvdk-x.mjs} +7 -7
  72. package/node/esm/{DKqYePntZxW3fh6x.mjs → Dq49h62ihEYk_8VR.mjs} +1 -1
  73. package/node/esm/index.mjs +231 -221
  74. package/node/esm/{CJhxYk5D_7vcD7QG.mjs → qewbqty13W1sKrMC.mjs} +1 -1
  75. package/node/esm/{BkzwNHPzd0DSf0FL.mjs → tur4cwLbnCn69JK-.mjs} +19 -19
  76. package/node/esm/{C2SG9zLSqOGo3vCR.mjs → uY021f9cZSWYX0--.mjs} +5 -5
  77. package/node/esm/{C-WOcvkTBKxqQfEZ.mjs → v4fR5lIq2IqY_Clq.mjs} +20 -20
  78. package/package.json +8 -8
  79. package/types/index.d.ts +118 -81
  80. package/browser/cjs/Bi9ti1geH1gSoYX2.cjs +0 -6
  81. package/browser/cjs/Bt1aI3vb7h-PM53z.cjs +0 -6
  82. package/browser/cjs/CxMQIx_-k_XCclct.cjs +0 -87
  83. package/browser/cjs/DFkeNYQoyIagEEQ9.cjs +0 -6
  84. package/browser/cjs/iEu_JcRmrN7o_Gnt.cjs +0 -12
  85. package/browser/esm/BQoEwYUY9khnxsGk.mjs +0 -860
  86. package/node/esm/BlIGyiGNQyArtF2L.mjs +0 -308
@@ -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 "./BSQXNtEzcvD1nZ07.mjs";
2
+ import { Y as cs } from "./zZaxvhjZK5N3yZkw.mjs";
3
3
  /**
4
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.7
4
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.9
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("./Ip_kfHi5bomcrUk6.mjs"), m = import("./54Y6CqDofk0Ryz8B.mjs");
900
+ const { password: s, onWarning: o, createWorkbookOptions: n = {}, ...a } = t ?? {}, c = import("./CIH1rBtL9lK5ku-N.mjs"), m = import("./B08nVBuOXar7x7in.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("./DXbciCQNKY4_r5Et.mjs").then((u) => u.i));
907
+ v || (b = import("./Dr5y4zmj1js9FjzE.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("./BUxotxJXTYkCxXGj.mjs");
1314
+ const { ReadableStream: Z } = await import("./DHlS6l8ZPDMN2cwP.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("./Ip_kfHi5bomcrUk6.mjs"), o = await i.toJSON(!0), n = s.utils.book_new();
1412
+ const s = await import("./CIH1rBtL9lK5ku-N.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,6 +1,6 @@
1
1
  import C, { memo as ne, useState as z, useRef as m, useCallback as re, useEffect as S } from "react";
2
2
  /**
3
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.7
3
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.9
4
4
  *
5
5
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
6
6
  * 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.4.7
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.9
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,14 +1,14 @@
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 { an as lo, ao as He, ap as so, aq as ao, ar as co, as as uo, at as U, au as ho, Y as fo, a4 as St, a5 as de, a as Se, av as po, a6 as mo } from "./BSQXNtEzcvD1nZ07.mjs";
3
+ import { an as lo, ao as He, ap as so, aq as ao, ar as co, as as uo, at as U, au as ho, Y as fo, a4 as St, a5 as de, a as Se, av as po, a6 as mo } from "./zZaxvhjZK5N3yZkw.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 { c as N } from "./BQoEwYUY9khnxsGk.mjs";
7
+ import { c as N } from "./DffuCp_514AjqJLT.mjs";
8
8
  import So, { internal_serializeStyles as K, internal_mutateStyles as yo } from "@mui/styled-engine";
9
9
  import { alpha as fe } from "@mui/system";
10
10
  /**
11
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.7
11
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.9
12
12
  *
13
13
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
14
14
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -2220,7 +2220,7 @@ function Yo(o) {
2220
2220
  return g;
2221
2221
  }, [n, e]), [s, c] = he(null);
2222
2222
  De(() => {
2223
- import("./DHsxjQ98xXj3tRTJ.mjs").then((h) => {
2223
+ import("./DXKQ9TZdaT7ytR1S.mjs").then((h) => {
2224
2224
  c(new h.default(a, { threshold: 0, ignoreLocation: !0, keys: ["label", "description"] }));
2225
2225
  });
2226
2226
  }, [a]);
@@ -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, 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, P as De } from "./BSQXNtEzcvD1nZ07.mjs";
6
+ import { T as j, a4 as be, j as Te, a6 as ve, a7 as m, w 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, P as De } from "./zZaxvhjZK5N3yZkw.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.4.7
9
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.9
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.
@@ -16,7 +16,7 @@ const $ = ie((I) => {
16
16
  D(() => {
17
17
  v(ne(r, s));
18
18
  }, [r, s]);
19
- const K = W((u) => {
19
+ const K = j((u) => {
20
20
  v(u.target.value), d?.(s[u.target.value]);
21
21
  }, [d, s]), l = pe(() => Object.keys(s).map((u) => i(fe, { value: u, children: u }, u)), [s]);
22
22
  return p(ge, { sx: { minWidth: 135 }, size: "small", children: [i(me, { children: h }), i(xe, { inputProps: { tabIndex: T }, value: A, label: h, onChange: K, sx: { backgroundImage: `linear-gradient(${w("#fff", k(5))}, ${w("#fff", k(5))})` }, ...P, children: l })] });
@@ -28,10 +28,10 @@ const Pe = { "By Rows": !0, "By Columns": !1 }, ne = (I, h) => {
28
28
  const d = r[s];
29
29
  if (h[d] === I) return d;
30
30
  }
31
- }, je = ie((I) => {
32
- const { replace: h = !1, findText: r, replaceText: s, findOptions: d, replaceOptions: T, title: P, onHide: A, onFindOrReplace: v, ...K } = I, l = C(null), u = C(null), j = C(null), V = C(null), N = C(null), H = C(null), z = (e, t) => {
31
+ }, Ve = ie((I) => {
32
+ const { replace: h = !1, findText: r, replaceText: s, findOptions: d, replaceOptions: T, title: P, onHide: A, onFindOrReplace: v, ...K } = I, l = C(null), u = C(null), V = C(null), W = C(null), N = C(null), H = C(null), z = (e, t) => {
33
33
  t && (t.start(e, { center: !1 }), setTimeout(() => t.stop(e), 180));
34
- }, [U, F] = b(!1), [M, le] = b(!1), [f, B] = b(h), [X, L] = b(!1), [G, Z] = b(!1), [o, a] = b({ findText: null, replaceText: null, replace: h, replaceOptions: {}, findOptions: { matchCase: !1, matchEntireCell: !1, useRegex: !1, orientation: R.Orientation.Row, fields: [c.Content.Formulas] }, scope: ee.Sheet }), S = W(async (e, t, n, E) => {
34
+ }, [U, F] = b(!1), [M, le] = b(!1), [f, B] = b(h), [X, L] = b(!1), [G, Z] = b(!1), [o, a] = b({ findText: null, replaceText: null, replace: h, replaceOptions: {}, findOptions: { matchCase: !1, matchEntireCell: !1, useRegex: !1, orientation: R.Orientation.Row, fields: [c.Content.Formulas] }, scope: ee.Sheet }), S = j(async (e, t, n, E) => {
35
35
  if (!v) return;
36
36
  const g = { ...o };
37
37
  g.replaceOptions = { ...g.replaceOptions }, g.findOptions = { ...g.findOptions }, g.replaceOptions.maxCount = n ? void 0 : 1, g.replace = t, t && o.findOptions.fields?.[0] === c.Content.Values && (g.findOptions.fields = [c.Content.Formulas]), g.findOptions.reverse = !e;
@@ -41,11 +41,11 @@ const Pe = { "By Rows": !0, "By Columns": !1 }, ne = (I, h) => {
41
41
  D(() => {
42
42
  L(!1);
43
43
  }, [o, M, f]);
44
- const q = W((e, t) => {
44
+ const q = j((e, t) => {
45
45
  if (e.keyCode === be.Enter) {
46
46
  if (!o.findText) return;
47
47
  let n = !0, E = !1;
48
- e.shiftKey && (n = !1), t ? (e.ctrlKey && e.altKey && (E = !0), z(e, E ? H.current : N.current)) : z(e, n ? V.current : j.current), S(n, t, E, !1);
48
+ e.shiftKey && (n = !1), t ? (e.ctrlKey && e.altKey && (E = !0), z(e, E ? H.current : N.current)) : z(e, n ? W.current : V.current), S(n, t, E, !1);
49
49
  }
50
50
  }, [o]), J = C(null);
51
51
  ce(() => {
@@ -63,7 +63,7 @@ const Pe = { "By Rows": !0, "By Columns": !1 }, ne = (I, h) => {
63
63
  }, { once: !0 });
64
64
  }, [U, o]);
65
65
  const [ae, { width: Q }] = Te();
66
- return i(ve, { title: P ?? (f ? "Find & Replace" : "Find"), initialPosition: { y: "35" }, autoFocusSel: ".input", refWindow: J, onHide: A, onFocus: () => Z(!0), onBlur: () => {
66
+ return i(ve, { ref: J, title: P ?? (f ? "Find & Replace" : "Find"), initialPosition: { y: "35" }, autoFocusSel: ".input", onHide: A, onFocus: () => Z(!0), onBlur: () => {
67
67
  Z(!1), L(!1);
68
68
  }, PaperProps: { elevation: G ? 3 : 1 }, ...K, children: p(de, { dividers: !0, ref: ae, sx: { display: "flex", flexDirection: "column", paddingLeft: (e) => e.spacing(1.5), paddingRight: (e) => e.spacing(1.5) }, onKeyDown: (e) => {
69
69
  if (e.key === "h" && e.ctrlKey) B(!0), l.current?.contains(document.activeElement) && u.current?.focus();
@@ -112,9 +112,9 @@ const Pe = { "By Rows": !0, "By Columns": !1 }, ne = (I, h) => {
112
112
  e.stopPropagation();
113
113
  } }), i(m, { selected: o.findOptions.reverse, onSelectToggle: (e) => {
114
114
  S(!1, !1);
115
- }, touchRippleRef: j, label: "", shortcut: { key: "Enter", modifiers: [y.Shift] }, icon: x(o.findOptions.orientation !== R.Orientation.Column ? i(he, {}) : i(Oe, {})), disabled: !o.findText }), i(m, { selected: !o.findOptions.reverse, onSelectToggle: (e) => {
115
+ }, touchRippleRef: V, label: "", shortcut: { key: "Enter", modifiers: [y.Shift] }, icon: x(o.findOptions.orientation !== R.Orientation.Column ? i(he, {}) : i(Oe, {})), disabled: !o.findText }), i(m, { selected: !o.findOptions.reverse, onSelectToggle: (e) => {
116
116
  S(!0, !1);
117
- }, touchRippleRef: V, label: "Next Match", shortcut: { key: "Enter" }, icon: x(o.findOptions.orientation !== R.Orientation.Column ? i(Ce, {}) : i(ye, {})), disabled: !o.findText })] }), i(_, { in: f, timeout: te, onExit: () => {
117
+ }, touchRippleRef: W, label: "Next Match", shortcut: { key: "Enter" }, icon: x(o.findOptions.orientation !== R.Orientation.Column ? i(Ce, {}) : i(ye, {})), disabled: !o.findText })] }), i(_, { in: f, timeout: te, onExit: () => {
118
118
  l.current?.focus();
119
119
  }, children: p(O, { sx: { display: "flex", flexDirection: "row", alignItems: "center", marginTop: (e) => e.spacing(2) }, children: [i(Y, { label: "Replace", InputLabelProps: { shrink: !0 }, InputProps: { sx: { paddingRight: (e) => e.spacing(1), backgroundImage: `linear-gradient(${w("#fff", k(5))}, ${w("#fff", k(5))})` }, inputProps: { ref: u, className: "input", spellCheck: !1, autoComplete: "off", sx: { paddingTop: (e) => e.spacing(1.25), paddingBottom: (e) => e.spacing(0.75) } } }, sx: { flex: "1 1 100%", marginRight: (e) => e.spacing(1) }, value: o.replaceText ?? "", onChange: (e) => {
120
120
  a((t) => {
@@ -147,7 +147,7 @@ const Pe = { "By Rows": !0, "By Columns": !1 }, ne = (I, h) => {
147
147
  } })] })] }) })] }) });
148
148
  });
149
149
  export {
150
- je as FindReplaceWindow,
150
+ Ve as FindReplaceWindow,
151
151
  ee as ScopeOptions,
152
- je as default
152
+ Ve as default
153
153
  };
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.7
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.9
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,12 +1,12 @@
1
- import { Workbook as y, IRange as C } from "@sheetxl/sdk";
1
+ import { Workbook as y, IRange as k } from "@sheetxl/sdk";
2
2
  /**
3
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.7
3
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.9
4
4
  *
5
5
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
6
6
  * License: The license can be found at https://www.sheetxl.com/license.
7
7
  */
8
- const k = async (a, p) => {
9
- const { trimLeadingBlankRow: i = !0, trimLeadingBlankColumn: u = !0, excludeHidden: h = !1, sheetKey: r = null, papaParseConfig: m = {} } = p || {}, f = await import("./BRio-IBtU98oZf5v.mjs").then((s) => s.p);
8
+ const E = async (a, p) => {
9
+ const { trimLeadingBlankRow: i = !0, trimLeadingBlankColumn: f = !0, excludeHidden: h = !1, sheetKey: r = null, papaParseConfig: m = {} } = p || {}, u = await import("./jIv4VNLAAFANZjhN.mjs").then((s) => s.p);
10
10
  if (!a) throw new Error("workbook must be specified");
11
11
  let t = null;
12
12
  if (r === null ? t = a.getSelectedSheet() : typeof r == "number" ? t = a.getSheets().search()[r] : typeof r == "string" && (t = a.getSheets().getByName(r)), !t) throw new Error("invalid sheetKey specified");
@@ -14,8 +14,8 @@ const k = async (a, p) => {
14
14
  const d = [];
15
15
  let e = null, n = t.getUsedRange({ excludeHidden: h });
16
16
  if (!n) throw new Error("Nothing to export");
17
- if (!i || !u) {
18
- const s = i ? n.getRowStart() : 0, l = u ? n.getColumnStart() : 0;
17
+ if (!i || !f) {
18
+ const s = i ? n.getRowStart() : 0, l = f ? n.getColumnStart() : 0;
19
19
  n = n.getOffsetTo(s, l);
20
20
  }
21
21
  n.forEach((s, l) => {
@@ -24,23 +24,23 @@ const k = async (a, p) => {
24
24
  const S = x.toTextUnformatted() ?? "";
25
25
  e.push(S);
26
26
  }, { includeEmpty: !0, address: null }), e && d.push(e);
27
- const o = { ...m }, g = f.unparse(d, o);
27
+ const o = { ...m }, g = u.unparse(d, o);
28
28
  return new TextEncoder().encode(g).buffer;
29
- }, R = async (a, p) => {
30
- const { papaParseConfig: i, setValuesOptions: u, constructorOptions: h } = p ?? {}, r = await import("./BRio-IBtU98oZf5v.mjs").then((o) => o.p), m = new TextDecoder().decode(a);
31
- let f = -1;
32
- const t = new y(h), c = t.getSelectedSheet().getEntireRange().startIncrementalUpdates({ orientation: C.Orientation.Row }), d = p?.onProgress;
29
+ }, b = async (a, p) => {
30
+ const { papaParseConfig: i, setValuesOptions: f, createWorkbookOptions: h } = p ?? {}, r = await import("./jIv4VNLAAFANZjhN.mjs").then((o) => o.p), m = new TextDecoder().decode(a);
31
+ let u = -1;
32
+ const t = new y(h), c = t.getSelectedSheet().getEntireRange().startIncrementalUpdates({ orientation: k.Orientation.Row }), d = p?.onProgress;
33
33
  let e = 0;
34
34
  const n = { ...i, transform: (o, g) => {
35
35
  i?.transform && (o = i.transform(o, g));
36
36
  const s = g;
37
- s === 0 && f++;
37
+ s === 0 && u++;
38
38
  let l = o ?? "";
39
- return c.pushAt(f, s, l), e++, e % 1e5 == 0 && d?.(e), o;
39
+ return c.pushAt(u, s, l), e++, e % 1e5 == 0 && d?.(e), o;
40
40
  } };
41
- return r.parse(m, n).data, c.apply({ textParser: !0, ...u }), t;
41
+ return r.parse(m, n).data, c.apply({ textParser: !0, ...f }), t;
42
42
  };
43
43
  export {
44
- R as fromBufferCSV,
45
- k as toBufferCSV
44
+ b as fromBufferCSV,
45
+ E as toBufferCSV
46
46
  };
@@ -1,10 +1,10 @@
1
1
  import { jsx as o, jsxs as A } from "react/jsx-runtime";
2
2
  import { memo as E, useMemo as F, useState as m, useCallback as O } from "react";
3
3
  import { Box as S, FormControl as P, TextField as b } from "@mui/material";
4
- import { T as f, a1 as U, a5 as l } from "./BSQXNtEzcvD1nZ07.mjs";
4
+ import { T as f, a1 as U, a5 as l } from "./zZaxvhjZK5N3yZkw.mjs";
5
5
  import { alpha as p } from "@mui/system";
6
6
  /**
7
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.7
7
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.9
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,10 +1,10 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
2
  import { memo as z, forwardRef as E, useState as p } from "react";
3
- import { _ as t, a0 as K, a1 as R, a2 as W, a3 as O } from "./BSQXNtEzcvD1nZ07.mjs";
3
+ import { _ as t, a0 as K, a1 as R, a2 as W, a3 as O } from "./zZaxvhjZK5N3yZkw.mjs";
4
4
  import { Box as _, FormControl as q, TextField as A } from "@mui/material";
5
5
  import { alpha as y } from "@mui/system";
6
6
  /**
7
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.7
7
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.9
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,9 +1,9 @@
1
1
  import { jsx as d, jsxs as k } 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, a1 as S, ai as A, aj as G } from "./BSQXNtEzcvD1nZ07.mjs";
4
+ import { T as u, a1 as S, ai as A, aj as G } from "./zZaxvhjZK5N3yZkw.mjs";
5
5
  /**
6
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.7
6
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.9
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,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.7
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.9
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.4.7
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.9
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, i as Zu, u as es, C as ts } from "./BSQXNtEzcvD1nZ07.mjs";
4
+ import { g as mu, r as Qu, c as ve, i as Zu, u as es, C as ts } from "./zZaxvhjZK5N3yZkw.mjs";
5
5
  /**
6
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.7
6
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.9
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,9 +1,9 @@
1
1
  import { jsx as a, jsxs as s } from "react/jsx-runtime";
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 q, ah as G, T as x, a6 as J, ai as K, aj as Q, P as f, ak as U, al as X, v as y, x as b, y as w, am as S } from "./BSQXNtEzcvD1nZ07.mjs";
2
+ import { memo as O, useState as r, useRef as E, useReducer as M, useMemo as A } 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 x, a6 as J, ai as K, aj as Q, P as f, ak as U, al as X, v as y, w as b, y as w, am as S } from "./zZaxvhjZK5N3yZkw.mjs";
5
5
  /**
6
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.7
6
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.9
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 { af as k, j as V, ag as q, ah as G, T as x, a6 as J, ai as K, aj as Q, P
11
11
  const ae = O((C) => {
12
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), [Y, j] = M((e) => e + 1, 0), [B, { width: Z }] = V();
13
13
  q(c);
14
- const o = T ?? c.context(), t = o.table(), [H, P] = r(() => t ? o.getNames().getRanges(t.getRange()) : null), I = W(() => t?.getName() ?? "", [t]);
14
+ const o = T ?? c.context(), t = o.table(), [H, P] = r(() => t ? o.getNames().getRanges(t.getRange()) : null), I = A(() => t?.getName() ?? "", [t]);
15
15
  G(o.table(), { onAnchorCoordsChange(e) {
16
16
  P(o.getNames().getRanges(e.getRange()));
17
17
  }, onProtectedChange(e) {
@@ -23,9 +23,9 @@ const ae = O((C) => {
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(J, { ref: h, title: N ?? "Table Details", initialPosition: { y: "35" }, autoFocusSel: R, 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(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(K, { formName: "name", defaultInput: I, value: t?.getName() ?? "No table", onChangeInput: z, onValidate: (e) => {
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: I, 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);