@sheetxl/studio-mui 0.4.9 → 0.4.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (127) hide show
  1. package/browser/cjs/B29yIlf_FSHx9q3M.cjs +7 -0
  2. package/browser/cjs/B783moVfFT70yQuK.cjs +7 -0
  3. package/browser/cjs/BCtVyhxIZSUPH_Z4.cjs +7 -0
  4. package/browser/cjs/BE6O6K7i1mHBC3et.cjs +7 -0
  5. package/browser/cjs/BQ-G2ABc3FYN-D50.cjs +7 -0
  6. package/browser/cjs/BabvaPi1dUIPt5AG.cjs +7 -0
  7. package/browser/cjs/BbvcxaJzfy7H6xfa.cjs +7 -0
  8. package/browser/cjs/Bhh0dqxUzzOzHWMc.cjs +7 -0
  9. package/browser/cjs/CH50hiw_7LBSC6dR.cjs +7 -0
  10. package/browser/cjs/Cfb0T6htsh82UPK-.cjs +7 -0
  11. package/browser/cjs/CisYglNTHGrj9oMH.cjs +7 -0
  12. package/browser/cjs/Clbakb5VUTDTlofM.cjs +7 -0
  13. package/browser/cjs/D7xmeRe-f7IifEKc.cjs +7 -0
  14. package/browser/cjs/DCV-6w2JGk_faE3x.cjs +7 -0
  15. package/browser/cjs/DY2PuDSgw0TrB5-_.cjs +7 -0
  16. package/browser/cjs/Df5v6knUJ4dqHmmo.cjs +7 -0
  17. package/browser/cjs/DyzVC_iq7ceqC2fj.cjs +7 -0
  18. package/browser/cjs/QB_8kWYEsfOH_HwK.cjs +7 -0
  19. package/browser/cjs/aOmlMJRAkQEF59EX.cjs +7 -0
  20. package/browser/cjs/index.cjs +10 -4
  21. package/browser/cjs/li-J7BWV6WUzY5aq.cjs +7 -0
  22. package/browser/cjs/u0WmWLGlCwhnhL9i.cjs +7 -0
  23. package/browser/cjs/uoBAuXnlUz8scSA1.cjs +7 -0
  24. package/browser/cjs/xp2ZII-PuLk9tHK3.cjs +7 -0
  25. package/browser/cjs/xq-CJbsvm7BQO8lK.cjs +7 -0
  26. package/browser/esm/12Ttun7hzbiInyVr.mjs +7 -0
  27. package/browser/esm/7jSMnphGrNRPUa_S.mjs +7 -0
  28. package/browser/esm/AnCmK-idMDJ2vI8H.mjs +7 -0
  29. package/browser/esm/B-Ut_yUCD9THCz0T.mjs +7 -0
  30. package/browser/esm/BTD5k7gtFcqDwslB.mjs +7 -0
  31. package/browser/esm/BVRUNnRvnt7aVCDD.mjs +7 -0
  32. package/browser/esm/BauTkiamxm0HDt6M.mjs +7 -0
  33. package/browser/esm/BcIp2mxLBfjUBE0q.mjs +7 -0
  34. package/browser/esm/Bi_0z0hyhFuz5Ta3.mjs +7 -0
  35. package/browser/esm/BkDEdK7zOlsoUKCZ.mjs +7 -0
  36. package/browser/esm/BpGexBYtmHbTIJz2.mjs +7 -0
  37. package/browser/esm/CJawFB555VEY-Vge.mjs +7 -0
  38. package/browser/esm/CWogLlWYHiL4W6CH.mjs +7 -0
  39. package/browser/esm/Cr46Bo9bGoz0LbWq.mjs +7 -0
  40. package/browser/esm/Csk8rXNpaXmf5g7O.mjs +7 -0
  41. package/browser/esm/Cu-5HDPN8B0qE77-.mjs +7 -0
  42. package/browser/esm/CzgR8PxJ_89IC4Mr.mjs +7 -0
  43. package/browser/esm/DMUXpRbV3ahdB1lN.mjs +7 -0
  44. package/browser/esm/DiIX5KzrWnbDWjGE.mjs +7 -0
  45. package/browser/esm/Djo2IS-ivmVSrO3v.mjs +7 -0
  46. package/browser/esm/Hy95ExHvIFgzxQb-.mjs +7 -0
  47. package/browser/esm/Z1_72ZY8rW2Mc3g_.mjs +7 -0
  48. package/browser/esm/_ZR9nT54xwy-C6ow.mjs +7 -0
  49. package/browser/esm/csxyptiqbJZO0pQA.mjs +7 -0
  50. package/browser/esm/index.mjs +8 -82
  51. package/licenses/dependencies.txt +145 -145
  52. package/node/esm/{CsbP0EYKOHobzZCu.mjs → 8THCZRGNmI2nPqMR.mjs} +2 -2
  53. package/node/esm/{CGiJgZJFY-YsXWCX.mjs → BDm0y2dv7wLZhYj1.mjs} +1 -1
  54. package/node/esm/{CijBL1IDWaxPgQ_E.mjs → BPylexVHXa-t0sqJ.mjs} +6 -6
  55. package/node/esm/{B7xzqWxB07TdXnmo.mjs → BQYQg7lfqFbWaf8x.mjs} +2 -2
  56. package/node/esm/{BUVA6vYXyFFnBCMg.mjs → BSUbQzac78SXiAJe.mjs} +1 -1
  57. package/node/esm/{qewbqty13W1sKrMC.mjs → BeNXnrWMr5S34Oxb.mjs} +1 -1
  58. package/node/esm/{BfuG4JD3t3n1uOci.mjs → C6jxZQrvMLctjLZM.mjs} +4 -4
  59. package/node/esm/{Dn38s6pH3QNvdk-x.mjs → CCZepFZNn1pIXrnd.mjs} +1 -1
  60. package/node/esm/{9iDXWtTOWeDVslQL.mjs → CXSwyUs6BuNGCic0.mjs} +13 -13
  61. package/node/esm/{Dq49h62ihEYk_8VR.mjs → CaV6SH-PMyHlXUhx.mjs} +1 -1
  62. package/node/esm/{B18g9zjzyR9YL3Mv.mjs → D481dAOp77EZbV5s.mjs} +2 -2
  63. package/node/esm/{DWKLdf_rn5dajRBA.mjs → DHj9iDuBImdwscIb.mjs} +25 -25
  64. package/node/esm/{uY021f9cZSWYX0--.mjs → DIGsHHDexzj0uG_T.mjs} +5 -5
  65. package/node/esm/{Cr5l_3AqPbv4mke9.mjs → DLiw-2C_tqGgJIQ6.mjs} +2 -2
  66. package/node/esm/{CG1T0Z1roNRSVlal.mjs → DNJVdt9TbBsUE8Jm.mjs} +1 -1
  67. package/node/esm/{DGTK2YeARR5cTnft.mjs → DaCmut490aSCGvX8.mjs} +1 -1
  68. package/node/esm/{C7t1ZHhSDgJnZ4Da.mjs → Dd2OFQJQyYp6bAeP.mjs} +1 -1
  69. package/node/esm/{DHmVr6jRLzt6lD1x.mjs → DkpAjhQeaZn_Ipxg.mjs} +2 -2
  70. package/node/esm/{DODhKM0Qeycx3Hvp.mjs → DyMCnCG9LzH5Mgw0.mjs} +2 -2
  71. package/node/esm/{v4fR5lIq2IqY_Clq.mjs → RV-AvxVzzFKWjYFM.mjs} +38 -38
  72. package/node/esm/{tur4cwLbnCn69JK-.mjs → Ui3_6RhrEZQDOXwg.mjs} +8 -8
  73. package/node/esm/index.mjs +5373 -5075
  74. package/node/esm/{CILOMzOF30-XSZqR.mjs → qI75rORek8T0-Kpf.mjs} +2 -2
  75. package/package.json +8 -8
  76. package/types/index.d.ts +24 -0
  77. package/browser/cjs/02LSJ7jnb-ovS7ex.cjs +0 -15
  78. package/browser/cjs/BDDJIe6JwgEYEtda.cjs +0 -6
  79. package/browser/cjs/BGh6tEDK_1MFKfMU.cjs +0 -145
  80. package/browser/cjs/BSRDKlVOTYHfOAF_.cjs +0 -11
  81. package/browser/cjs/Bn0BSzVk_S-rvDwk.cjs +0 -6
  82. package/browser/cjs/Bzf8jKmmZl374mof.cjs +0 -6
  83. package/browser/cjs/C20NTPRE5_ExESDZ.cjs +0 -6
  84. package/browser/cjs/C5i9hklL-WNb8J_q.cjs +0 -42
  85. package/browser/cjs/CLxYxjd0yz1LCTB-.cjs +0 -6
  86. package/browser/cjs/CUo2iW5IL6UZJNWT.cjs +0 -6
  87. package/browser/cjs/C_QWbWVBVc6YJ4Q3.cjs +0 -16
  88. package/browser/cjs/CeeZxww7wpF45vvp.cjs +0 -6
  89. package/browser/cjs/CekKZCV1J1HUFIqO.cjs +0 -6
  90. package/browser/cjs/CgD0b2zJD8zElhuz.cjs +0 -6
  91. package/browser/cjs/CqwEnIUDMxWw5DX1.cjs +0 -87
  92. package/browser/cjs/CwOKyPq_H2afJacv.cjs +0 -7
  93. package/browser/cjs/D32t9wiFoNX7WVEo.cjs +0 -161
  94. package/browser/cjs/DILF3GzsMdg-Y2wu.cjs +0 -11
  95. package/browser/cjs/Dr-PR7J1T91UjrPL.cjs +0 -12
  96. package/browser/cjs/DyR0_iZAINpjodWL.cjs +0 -12
  97. package/browser/cjs/LWuNxqu9MyiniH_g.cjs +0 -18
  98. package/browser/cjs/O8r9K4Qh6Pgd6rXU.cjs +0 -7
  99. package/browser/cjs/jbTHHxJODyD10jVH.cjs +0 -6
  100. package/browser/cjs/n-4XaX3pkXUEEQ5u.cjs +0 -6
  101. package/browser/cjs/qQGaIq5VhlZJU-xf.cjs +0 -6
  102. package/browser/esm/AmErN6xXU01K_bEs.mjs +0 -3803
  103. package/browser/esm/B08nVBuOXar7x7in.mjs +0 -1703
  104. package/browser/esm/B8xKZIF9fvamlvW5.mjs +0 -1467
  105. package/browser/esm/BGWd79IfMfoHoO6g.mjs +0 -392
  106. package/browser/esm/BT8vduOS21nsJ6EQ.mjs +0 -1366
  107. package/browser/esm/Bz6NqTbktTH8Df6_.mjs +0 -2251
  108. package/browser/esm/CDRALHzsBIsRPM5g.mjs +0 -153
  109. package/browser/esm/CIH1rBtL9lK5ku-N.mjs +0 -13391
  110. package/browser/esm/CVJee4uHPTdpZGEH.mjs +0 -46
  111. package/browser/esm/CXUv64T9mbQbJGgM.mjs +0 -48
  112. package/browser/esm/Ca5nvvpeuP6Wsv5P.mjs +0 -43
  113. package/browser/esm/CelDYTh0f7McDj4o.mjs +0 -44
  114. package/browser/esm/DHlS6l8ZPDMN2cwP.mjs +0 -1672
  115. package/browser/esm/DXKQ9TZdaT7ytR1S.mjs +0 -640
  116. package/browser/esm/D_FJwwe-bsDiDGBV.mjs +0 -2410
  117. package/browser/esm/DduyjhwDREaxXNzm.mjs +0 -59
  118. package/browser/esm/DffuCp_514AjqJLT.mjs +0 -864
  119. package/browser/esm/DgC_oaBYpwh1mBi_.mjs +0 -25
  120. package/browser/esm/Dl-SlJoaP7EFX-GR.mjs +0 -52
  121. package/browser/esm/DpTSO921EQ7L_abP.mjs +0 -52
  122. package/browser/esm/Dr5y4zmj1js9FjzE.mjs +0 -1352
  123. package/browser/esm/DuoEo0hJBssfAmB4.mjs +0 -84
  124. package/browser/esm/jIv4VNLAAFANZjhN.mjs +0 -424
  125. package/browser/esm/wysWhT4-jO-uukUH.mjs +0 -23
  126. package/browser/esm/zZaxvhjZK5N3yZkw.mjs +0 -19947
  127. package/node/esm/BBWRiJSBxt6O1CfK.mjs +0 -312
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.9
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.11
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -8,51 +8,51 @@ import { jsx as e, jsxs as t } from "react/jsx-runtime";
8
8
  import { memo as o, useState as n, useRef as a, useReducer as i, useMemo as l } from "react";
9
9
  import { useMeasure as s } from "react-use";
10
10
  import { DialogContent as r, Box as c } from "@mui/material";
11
- import { R as d, S as g, Z as m, P as p, A as h, NamedInput as u, RangeInput as x, d as f, TableStyleOptionsPanel as y, TableStylePreview as b, E as w, a as S, t as C, a0 as N } from "./index.mjs";
11
+ import { h as d, j as g, k as m, P as p, z as h, NamedInput as u, RangeInput as x, g as f, TableStyleOptionsPanel as y, TableStylePreview as b, m as w, b as S, t as C, U as N } from "./index.mjs";
12
12
  const v = o((o2) => {
13
- const { title: v2, onHide: R, autoFocusSel: T = ".range-input input", context: F, notifier: D = d, command: H, commands: B, ...I } = o2, [P, j] = n(false), [z, L] = n(false), E = a(null), [O, A] = i((e2) => e2 + 1, 0), [M, { width: V }] = s();
13
+ const { title: v2, onHide: R, autoFocusSel: T = ".range-input input", context: F, notifier: D = d, command: H, commands: j, ...B } = o2, [I, P] = n(false), [z, L] = n(false), O = a(null), [E, A] = i((e2) => e2 + 1, 0), [M, { width: k }] = s();
14
14
  g(H);
15
- const W = F ?? H.context(), Z = W.table(), [k, q] = n(() => Z ? W.getNames().getRanges(Z.getRange()) : null), G = l(() => Z?.getName() ?? "", [Z]);
16
- m(W.table(), { onAnchorCoordsChange(e2) {
17
- q(W.getNames().getRanges(e2.getRange()));
15
+ const U = F ?? H.context(), V = U.table(), [W, q] = n(() => V ? U.getNames().getRanges(V.getRange()) : null), G = l(() => V?.getName() ?? "", [V]);
16
+ m(U.table(), { onAnchorCoordsChange(e2) {
17
+ q(U.getNames().getRanges(e2.getRange()));
18
18
  }, onProtectedChange(e2) {
19
19
  A();
20
20
  } });
21
21
  const J = p((e2) => {
22
- W?.table().setName(e2);
23
- }, [W]), K = p((e2) => {
24
- W?.table().resize(e2.at(0));
25
- }, [W]);
22
+ U?.table().setName(e2);
23
+ }, [U]), K = p((e2) => {
24
+ U?.table().resize(e2.at(0));
25
+ }, [U]);
26
26
  let Q = null;
27
- return W.table() || (Q = e("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: e("div", { children: "No table selected" }) })), e(h, { ref: E, title: v2 ?? "Table Details", initialPosition: { y: "35" }, autoFocusSel: T, onHide: R, onFocus: () => j(true), onBlur: (e2) => {
28
- E?.current?.contains(e2.relatedTarget) || j(false);
29
- }, PaperProps: { elevation: P ? 3 : 1 }, ...I, children: t(r, { dividers: true, ref: M, sx: { display: "flex", flexDirection: "column", position: "relative", paddingLeft: (e2) => e2.spacing(1.5), paddingRight: (e2) => e2.spacing(1.5) }, children: [t(c, { sx: { display: "flex", flexDirection: "column", transition: "opacity 60ms", opacity: W.table() ? 1 : 0 }, children: [e(c, { sx: { display: "flex", flexDirection: "row", gap: (e2) => e2.spacing(1) }, children: e(c, { sx: { display: "flex", flexDirection: "column", maxWidth: "100%", boxSizing: "border-box", paddingLeft: (e2) => e2.spacing(2), paddingRight: (e2) => e2.spacing(2) }, children: t(c, { sx: { display: "flex", flexDirection: "column", alignItems: "center" }, children: [e(u, { formName: "name", defaultInput: G, value: Z?.getName() ?? "No table", onChangeInput: J, onValidate: (e2) => {
30
- Z && Z.getName().toLowerCase() === e2.toLowerCase() || W?.getNames().validateName(e2);
31
- }, disabled: Z?.isProtected() ?? true, onFocus: (e2) => {
27
+ return U.table() || (Q = e("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: e("div", { children: "No table selected" }) })), e(h, { ref: O, title: v2 ?? "Table Details", initialPosition: { y: "35" }, autoFocusSel: T, onHide: R, onFocus: () => P(true), onBlur: (e2) => {
28
+ O?.current?.contains(e2.relatedTarget) || P(false);
29
+ }, PaperProps: { elevation: I ? 3 : 1 }, ...B, children: t(r, { dividers: true, ref: M, sx: { display: "flex", flexDirection: "column", position: "relative", paddingLeft: (e2) => e2.spacing(1.5), paddingRight: (e2) => e2.spacing(1.5) }, children: [t(c, { sx: { display: "flex", flexDirection: "column", transition: "opacity 60ms", opacity: U.table() ? 1 : 0 }, children: [e(c, { sx: { display: "flex", flexDirection: "row", gap: (e2) => e2.spacing(1) }, children: e(c, { sx: { display: "flex", flexDirection: "column", maxWidth: "100%", boxSizing: "border-box", paddingLeft: (e2) => e2.spacing(2), paddingRight: (e2) => e2.spacing(2) }, children: t(c, { sx: { display: "flex", flexDirection: "column", alignItems: "center" }, children: [e(u, { formName: "name", defaultInput: G, value: V?.getName() ?? "No table", onChangeInput: J, onValidate: (e2) => {
30
+ V && V.getName().toLowerCase() === e2.toLowerCase() || U?.getNames().validateName(e2);
31
+ }, disabled: V?.isProtected() ?? true, onFocus: (e2) => {
32
32
  z || e2.target?.select(), L(true);
33
- } }), e(x, { formName: "range", value: k, onChangeInput: K, resolvedAddress: W.getNames().getRanges.bind(W.getNames()), disabled: Z?.isProtected() ?? true, onFocus: (e2) => {
33
+ } }), e(x, { formName: "range", value: W, onChangeInput: K, resolvedAddress: U.getNames().getRanges.bind(U.getNames()), disabled: V?.isProtected() ?? true, onFocus: (e2) => {
34
34
  z || e2.target?.select(), L(true);
35
- } })] }) }) }), t(c, { sx: { minHeight: "10px", flex: "1 1 100%", display: "flex", flexDirection: "column", gap: (e2) => e2.spacing(0.5), marginTop: (e2) => e2.spacing(1) }, children: [e(f, { orientation: "horizontal", sx: { marginTop: (e2) => e2.spacing(1.5), marginBottom: (e2) => e2.spacing(0.75) } }), e(y, { disabled: Z?.isProtected(), styleOptions: Z?.getStyleOptions() ?? null, onStyleOptionsChange: (e2) => {
36
- Z.updateStyleOptions(e2);
37
- }, showHeaderRow: Z?.getShowHeaders(), onShowHeaderRowChange: (e2) => {
35
+ } })] }) }) }), t(c, { sx: { minHeight: "10px", flex: "1 1 100%", display: "flex", flexDirection: "column", gap: (e2) => e2.spacing(0.5), marginTop: (e2) => e2.spacing(1) }, children: [e(f, { orientation: "horizontal", sx: { marginTop: (e2) => e2.spacing(1.5), marginBottom: (e2) => e2.spacing(0.75) } }), e(y, { disabled: V?.isProtected(), styleOptions: V?.getStyleOptions() ?? null, onStyleOptionsChange: (e2) => {
36
+ V.updateStyleOptions(e2);
37
+ }, showHeaderRow: V?.getShowHeaders(), onShowHeaderRowChange: (e2) => {
38
38
  try {
39
- Z.setShowHeaders(e2);
39
+ V.setShowHeaders(e2);
40
40
  } catch (e3) {
41
41
  D.showError(e3);
42
42
  }
43
- }, showTotalRow: Z?.getShowTotals(), onShowTotalRowChange: (e2) => {
43
+ }, showTotalRow: V?.getShowTotals(), onShowTotalRowChange: (e2) => {
44
44
  try {
45
- Z.setShowTotals(e2);
45
+ V.setShowTotals(e2);
46
46
  } catch (e3) {
47
47
  D.showError(e3);
48
48
  }
49
- }, showFilterButton: Z?.getFilter() ? Z.getShowFilterButton() : null, onShowFilterButtonChange: (e2) => {
49
+ }, showFilterButton: V?.getFilter() ? V.getShowFilterButton() : null, onShowFilterButtonChange: (e2) => {
50
50
  try {
51
- Z.setShowFilterButton(e2);
51
+ V.setShowFilterButton(e2);
52
52
  } catch (e3) {
53
53
  D.showError(e3);
54
54
  }
55
- } }), e(c, { sx: { display: "flex", alignItems: "center", justifyContent: "center", flexDirection: "column", marginTop: (e2) => e2.spacing(2), marginBottom: (e2) => e2.spacing(1) }, children: e(b, { table: Z, styles: W.styles(), bodyStyle: W.bodyStyle(), cellHeight: 30, isLive: true }) }), e(f, { orientation: "horizontal" }), t(c, { sx: { display: "flex", flexDirection: "column", justifyContent: "center" }, children: [e(w, { variant: C.Menuitem, command: B.getCommand("convertTableToRange"), commandState: Z, icon: S(e(N, {})) }), e(w, { variant: C.Menuitem, commandState: Z, command: B.getCommand("deleteTable"), icon: S(e(N, {})) })] })] })] }), Q] }) });
55
+ } }), e(c, { sx: { display: "flex", alignItems: "center", justifyContent: "center", flexDirection: "column", marginTop: (e2) => e2.spacing(2), marginBottom: (e2) => e2.spacing(1) }, children: e(b, { table: V, styles: U.styles(), bodyStyle: U.bodyStyle(), cellHeight: 30, isLive: true }) }), e(f, { orientation: "horizontal" }), t(c, { sx: { display: "flex", flexDirection: "column", justifyContent: "center" }, children: [e(w, { variant: C.Menuitem, command: j.getCommand("convertTableToRange"), commandState: V, icon: S(e(N, {})) }), e(w, { variant: C.Menuitem, commandState: V, command: j.getCommand("deleteTable"), icon: S(e(N, {})) })] })] })] }), Q] }) });
56
56
  });
57
57
  export {
58
58
  v as TableDetailsWindow,
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.9
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.11
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -900,14 +900,14 @@ class wt {
900
900
  const vt = (t2, e2, s2) => {
901
901
  if (t2[0].value[0] === t2[1].value[0]) return e2;
902
902
  }, St = { colStart: 0, colEnd: 0, rowStart: 0, rowEnd: 0 }, Ct = Object.freeze(Object.defineProperty({ __proto__: null, fromBufferXLSX: async (t2, h2) => {
903
- const { password: f2, onWarning: m2, createWorkbookOptions: T2 = {}, ...y2 } = h2 ?? {}, b2 = import("./Dq49h62ihEYk_8VR.mjs"), x2 = import("./B7xzqWxB07TdXnmo.mjs");
903
+ const { password: f2, onWarning: m2, createWorkbookOptions: T2 = {}, ...y2 } = h2 ?? {}, b2 = import("./CaV6SH-PMyHlXUhx.mjs"), x2 = import("./BQYQg7lfqFbWaf8x.mjs");
904
904
  let w2 = null;
905
905
  try {
906
906
  w2 = new DOMParser();
907
907
  } catch (t3) {
908
908
  }
909
909
  let v2 = null;
910
- w2 || (v2 = import("./Cr5l_3AqPbv4mke9.mjs").then((t3) => t3.i));
910
+ w2 || (v2 = import("./DLiw-2C_tqGgJIQ6.mjs").then((t3) => t3.i));
911
911
  let S2 = null, C2 = null, k2 = null;
912
912
  try {
913
913
  const t3 = await Promise.all([b2, x2, v2]);
@@ -1316,7 +1316,7 @@ const vt = (t2, e2, s2) => {
1316
1316
  }, A2), a3 = ht(h4, P2), c3 = await (async (t6, e2 = 8388608) => {
1317
1317
  await (async () => {
1318
1318
  if ("undefined" == typeof ReadableStream) if ("undefined" == typeof window) {
1319
- const { ReadableStream: t7 } = await import("./qewbqty13W1sKrMC.mjs");
1319
+ const { ReadableStream: t7 } = await import("./BeNXnrWMr5S34Oxb.mjs");
1320
1320
  globalThis.ReadableStream = t7;
1321
1321
  } else console.warn("Browser does not support ReadableStream; consider loading a polyfill.");
1322
1322
  })();
@@ -1421,7 +1421,7 @@ const vt = (t2, e2, s2) => {
1421
1421
  throw t3 instanceof p && (e2 = "Unable to open XLSX. There are too many rows or columns."), new Error(e2, { cause: t3 });
1422
1422
  }
1423
1423
  }, toBufferXLSX: async (s2, i2) => {
1424
- const o2 = await import("./Dq49h62ihEYk_8VR.mjs"), r2 = await s2.toJSON(true), n2 = o2.utils.book_new();
1424
+ const o2 = await import("./CaV6SH-PMyHlXUhx.mjs"), r2 = await s2.toJSON(true), n2 = o2.utils.book_new();
1425
1425
  for (let i3 = 0; i3 < r2.sheets.length; i3++) {
1426
1426
  const a2 = r2.sheets[i3], l2 = o2.utils.json_to_sheet([{}]);
1427
1427
  o2.utils.book_append_sheet(n2, l2, a2.name);
@@ -1,10 +1,10 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.9
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.11
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
6
6
  */
7
- import { a2 as e } from "./index.mjs";
7
+ import { p as e } from "./index.mjs";
8
8
  function r(e2, r2) {
9
9
  for (var t2 = 0; t2 < r2.length; t2++) {
10
10
  const n2 = r2[t2];
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.9
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.11
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.9
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.11
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.9
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.11
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.9
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.11
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
6
6
  */
7
7
  import { jsxs as e, jsx as t } from "react/jsx-runtime";
8
8
  import { Box as n, TextField as i, InputAdornment as o, IconButton as r, FormControlLabel as a, Checkbox as l, Typography as d, TableCell as s, DialogContent as c } from "@mui/material";
9
- import { e as h, z as p, a1 as m, A as u } from "./index.mjs";
9
+ import { e as h, T as p, n as m, z as u } from "./index.mjs";
10
10
  import g, { useState as f, useMemo as x, useEffect as b } from "react";
11
11
  import w from "clsx";
12
12
  import { alpha as y, getOverlayAlpha as R, styled as C } from "@mui/material/styles/index.js";
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.9
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.11
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -8,7 +8,7 @@ import { jsx as t, jsxs as n } from "react/jsx-runtime";
8
8
  import { memo as e, useMemo as o, useState as a, useCallback as i } from "react";
9
9
  import { alpha as s, getOverlayAlpha as l } from "@mui/material/styles/index.js";
10
10
  import { Box as r, FormControl as p, TextField as d } from "@mui/material";
11
- import { P as c, x as u } from "./index.mjs";
11
+ import { P as c, a as u } from "./index.mjs";
12
12
  const g = ["Ok", "Cancel"], m = e((e2) => {
13
13
  const { initialHyperlink: m2 = null, initialDisplay: f = null, onUpdateHyperlink: x, context: h, onOption: y, onValidateOption: T, onDone: k, options: C = g, defaultOption: O = C?.[0], cancelOption: P = "Cancel", sx: b, ...D } = e2, F = o(() => null !== (m2 ?? h?.()?.getHyperlink()), []), I = o(() => {
14
14
  let t2 = null, n2 = null;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.9
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.11
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -11,35 +11,35 @@ import { alpha as c, getOverlayAlpha as p } from "@mui/material/styles/index.js"
11
11
  import { DialogContent as d, Box as u, TextField as f, InputAdornment as m, Collapse as g, MenuItem as x, FormControl as h, InputLabel as O, Select as C } from "@mui/material";
12
12
  import { ArrowBack as y, ArrowUpward as b, ArrowForward as T, ArrowDownward as v } from "@mui/icons-material";
13
13
  import { ICell as k, IRange as R } from "@sheetxl/sdk";
14
- import { P as E, z as S, A as I, B as F, a as w, D, c as P, G as K, H as A, I as $, J as B, O as M, Q as j, d as L } from "./index.mjs";
14
+ import { P as E, T as S, z as F, f as I, b as w, r as D, E as P, o as K, l as $, i as A, s as M, c as j, d as B, g as L } from "./index.mjs";
15
15
  const V = t((t2) => {
16
- const { label: i2, value: r2, options: a2, onSelect: d2, tabIndex: u2 = 0, ...f2 } = t2, [m2, g2] = o(() => J(r2, a2));
16
+ const { label: i2, value: r2, options: a2, onSelect: d2, tabIndex: u2 = 0, ...f2 } = t2, [m2, g2] = o(() => U(r2, a2));
17
17
  l(() => {
18
- g2(J(r2, a2));
18
+ g2(U(r2, a2));
19
19
  }, [r2, a2]);
20
20
  const y2 = E((e2) => {
21
21
  g2(e2.target.value), d2?.(a2[e2.target.value]);
22
22
  }, [d2, a2]), b2 = s(() => Object.keys(a2).map((n2) => e(x, { value: n2, children: n2 }, n2)), [a2]);
23
23
  return n(h, { sx: { minWidth: 135 }, size: "small", children: [e(O, { children: i2 }), e(C, { inputProps: { tabIndex: u2 }, value: m2, label: i2, onChange: y2, sx: { backgroundImage: `linear-gradient(${c("#fff", p(5))}, ${c("#fff", p(5))})` }, ...f2, children: b2 })] });
24
- }), H = { Workbook: "workbook", Sheet: "sheet" }, N = { enter: 140, exit: 140 }, W = { Formulas: k.Content.Formulas, Values: k.Content.Values, Notes: k.Content.Notes, Comments: k.Content.Comments }, z = { ...W };
25
- delete z.Values;
26
- const G = { "By Rows": true, "By Columns": false }, J = (e2, n2) => {
24
+ }), N = { Workbook: "workbook", Sheet: "sheet" }, W = { enter: 140, exit: 140 }, z = { Formulas: k.Content.Formulas, Values: k.Content.Values, Notes: k.Content.Notes, Comments: k.Content.Comments }, H = { ...z };
25
+ delete H.Values;
26
+ const G = { "By Rows": true, "By Columns": false }, U = (e2, n2) => {
27
27
  const t2 = Object.keys(n2);
28
28
  for (let i2 = 0; i2 < t2.length; i2++) {
29
29
  const o2 = t2[i2];
30
30
  if (n2[o2] === e2) return o2;
31
31
  }
32
- }, Q = t((t2) => {
33
- const { replace: s2 = false, findText: x2, replaceText: h2, findOptions: O2, replaceOptions: C2, title: J2, onHide: Q2, onFindOrReplace: U, ...X } = t2, q = i(null), Y = i(null), Z = i(null), _ = i(null), ee = i(null), ne = i(null), te = (e2, n2) => {
32
+ }, X = t((t2) => {
33
+ const { replace: s2 = false, findText: x2, replaceText: h2, findOptions: O2, replaceOptions: C2, title: U2, onHide: X2, onFindOrReplace: q, ...J } = t2, Q = i(null), Y = i(null), Z = i(null), _ = i(null), ee = i(null), ne = i(null), te = (e2, n2) => {
34
34
  if (!n2) return;
35
35
  n2.start(e2, { center: false }), setTimeout(() => n2.stop(e2), 180);
36
- }, [ie, oe] = o(false), [le, re] = o(false), [se, ae] = o(s2), [ce, pe] = o(false), [de, ue] = o(false), [fe, me] = o({ findText: null, replaceText: null, replace: s2, replaceOptions: {}, findOptions: { matchCase: false, matchEntireCell: false, useRegex: false, orientation: R.Orientation.Row, fields: [k.Content.Formulas] }, scope: H.Sheet }), ge = E(async (e2, n2, t3, i2) => {
37
- if (!U) return;
36
+ }, [ie, oe] = o(false), [le, re] = o(false), [se, ae] = o(s2), [ce, pe] = o(false), [de, ue] = o(false), [fe, me] = o({ findText: null, replaceText: null, replace: s2, replaceOptions: {}, findOptions: { matchCase: false, matchEntireCell: false, useRegex: false, orientation: R.Orientation.Row, fields: [k.Content.Formulas] }, scope: N.Sheet }), ge = E(async (e2, n2, t3, i2) => {
37
+ if (!q) return;
38
38
  const o2 = { ...fe };
39
39
  o2.replaceOptions = { ...o2.replaceOptions }, o2.findOptions = { ...o2.findOptions }, o2.replaceOptions.maxCount = t3 ? void 0 : 1, o2.replace = n2, n2 && fe.findOptions.fields?.[0] === k.Content.Values && (o2.findOptions.fields = [k.Content.Formulas]), o2.findOptions.reverse = !e2;
40
- const l2 = await U({ autoFocus: i2, ...o2 });
40
+ const l2 = await q({ autoFocus: i2, ...o2 });
41
41
  pe(0 === l2);
42
- }, [fe, U]);
42
+ }, [fe, q]);
43
43
  l(() => {
44
44
  pe(false);
45
45
  }, [fe, le, se]);
@@ -60,16 +60,16 @@ const G = { "By Rows": true, "By Columns": false }, J = (e2, n2) => {
60
60
  }, [x2, h2, O2, C2]), l(() => {
61
61
  se ? (fe.findOptions.fields[0], k.Content.Values) : oe(true);
62
62
  }, [se]), l(() => {
63
- if (ie && q.current && fe.findText === q.current.value) return q.current === document.activeElement || q.current.contains(document.activeElement) ? (q.current?.select(), void oe(false)) : void q.current.addEventListener("focus", () => {
64
- q.current?.select(), oe(false);
63
+ if (ie && Q.current && fe.findText === Q.current.value) return Q.current === document.activeElement || Q.current.contains(document.activeElement) ? (Q.current?.select(), void oe(false)) : void Q.current.addEventListener("focus", () => {
64
+ Q.current?.select(), oe(false);
65
65
  }, { once: true });
66
66
  }, [ie, fe]);
67
67
  const [Oe, { width: Ce }] = a();
68
- return e(I, { ref: he, title: J2 ?? (se ? "Find & Replace" : "Find"), initialPosition: { y: "35" }, autoFocusSel: ".input", onHide: Q2, onFocus: () => ue(true), onBlur: () => {
68
+ return e(F, { ref: he, title: U2 ?? (se ? "Find & Replace" : "Find"), initialPosition: { y: "35" }, autoFocusSel: ".input", onHide: X2, onFocus: () => ue(true), onBlur: () => {
69
69
  ue(false), pe(false);
70
- }, PaperProps: { elevation: de ? 3 : 1 }, ...X, children: n(d, { dividers: true, ref: Oe, sx: { display: "flex", flexDirection: "column", paddingLeft: (e2) => e2.spacing(1.5), paddingRight: (e2) => e2.spacing(1.5) }, onKeyDown: (e2) => {
71
- if ("h" === e2.key && e2.ctrlKey) ae(true), q.current?.contains(document.activeElement) && Y.current?.focus();
72
- else if ("f" === e2.key && e2.ctrlKey) q.current?.focus();
70
+ }, PaperProps: { elevation: de ? 3 : 1 }, ...J, children: n(d, { dividers: true, ref: Oe, sx: { display: "flex", flexDirection: "column", paddingLeft: (e2) => e2.spacing(1.5), paddingRight: (e2) => e2.spacing(1.5) }, onKeyDown: (e2) => {
71
+ if ("h" === e2.key && e2.ctrlKey) ae(true), Q.current?.contains(document.activeElement) && Y.current?.focus();
72
+ else if ("f" === e2.key && e2.ctrlKey) Q.current?.focus();
73
73
  else if ("c" === e2.key && e2.altKey) me((e3) => {
74
74
  const n2 = { ...e3 };
75
75
  return n2.findOptions.matchCase = !e3.findOptions.matchCase, n2;
@@ -86,38 +86,38 @@ const G = { "By Rows": true, "By Columns": false }, J = (e2, n2) => {
86
86
  });
87
87
  }
88
88
  e2.preventDefault();
89
- }, children: [n(u, { sx: { display: "flex", flexDirection: "row", gap: (e2) => e2.spacing(1) }, children: [n(u, { sx: { display: "flex", flexDirection: "row", alignItems: "start", gap: (e2) => e2.spacing(0.25), paddingTop: "3px" }, children: [e(F, { selected: le, onSelectToggle: (e2) => {
89
+ }, children: [n(u, { sx: { display: "flex", flexDirection: "row", gap: (e2) => e2.spacing(1) }, children: [n(u, { sx: { display: "flex", flexDirection: "row", alignItems: "start", gap: (e2) => e2.spacing(0.25), paddingTop: "3px" }, children: [e(I, { selected: le, onSelectToggle: (e2) => {
90
90
  re(e2);
91
- }, preventFocus: true, label: "Toggle Additional Options", icon: w(e(D, {})) }), e(F, { selected: se, onSelectToggle: (e2) => {
91
+ }, preventFocus: true, label: "Toggle Additional Options", icon: w(e(D, {})) }), e(I, { selected: se, onSelectToggle: (e2) => {
92
92
  ae(e2);
93
- }, preventFocus: true, label: "Toggle Replace", icon: w(e(K, {})), shortcut: { key: se ? "F" : "H", modifiers: [P.Ctrl] } })] }), n(u, { sx: { display: "flex", flexDirection: "column", maxWidth: "100%", boxSizing: "border-box" }, children: [n(u, { sx: { display: "flex", flexDirection: "row", alignItems: "center" }, children: [e(f, { label: "Find", InputLabelProps: { shrink: true }, InputProps: { sx: { paddingRight: (e2) => e2.spacing(1), minWidth: Ce > 460 ? "20em" : void 0, backgroundImage: `linear-gradient(${c("#fff", p(5))}, ${c("#fff", p(5))})` }, inputProps: { draggable: false, ref: q, className: "input", autoFocus: true, spellCheck: false, autoComplete: "off", sx: { paddingTop: (e2) => e2.spacing(1.25), paddingBottom: (e2) => e2.spacing(0.75) } }, endAdornment: e(m, { sx: { transform: "scale(0.75) translateX(16px)" }, position: "end", children: n(u, { sx: { display: "flex", alignItems: "center", flexDirection: "row", gap: "1px" }, children: [e(F, { selected: fe.findOptions.matchCase, onSelectToggle: (e2) => {
93
+ }, preventFocus: true, label: "Toggle Replace", icon: w(e(K, {})), shortcut: { key: se ? "F" : "H", modifiers: [P.Ctrl] } })] }), n(u, { sx: { display: "flex", flexDirection: "column", maxWidth: "100%", boxSizing: "border-box" }, children: [n(u, { sx: { display: "flex", flexDirection: "row", alignItems: "center" }, children: [e(f, { label: "Find", InputLabelProps: { shrink: true }, InputProps: { sx: { paddingRight: (e2) => e2.spacing(1), minWidth: Ce > 460 ? "20em" : void 0, backgroundImage: `linear-gradient(${c("#fff", p(5))}, ${c("#fff", p(5))})` }, inputProps: { draggable: false, ref: Q, className: "input", autoFocus: true, spellCheck: false, autoComplete: "off", sx: { paddingTop: (e2) => e2.spacing(1.25), paddingBottom: (e2) => e2.spacing(0.75) } }, endAdornment: e(m, { sx: { transform: "scale(0.75) translateX(16px)" }, position: "end", children: n(u, { sx: { display: "flex", alignItems: "center", flexDirection: "row", gap: "1px" }, children: [e(I, { selected: fe.findOptions.matchCase, onSelectToggle: (e2) => {
94
94
  me((n2) => {
95
95
  const t3 = { ...n2 };
96
96
  return t3.findOptions.matchCase = e2, t3;
97
97
  });
98
- }, label: "Match Case", shortcut: { key: "C", modifiers: [P.Alt] }, icon: w(e(A, {})) }), e(F, { selected: fe.findOptions.matchEntireCell, onSelectToggle: (e2) => {
98
+ }, label: "Match Case", shortcut: { key: "C", modifiers: [P.Alt] }, icon: w(e($, {})) }), e(I, { selected: fe.findOptions.matchEntireCell, onSelectToggle: (e2) => {
99
99
  me((n2) => {
100
100
  const t3 = { ...n2 };
101
101
  return t3.findOptions.matchEntireCell = e2, t3;
102
102
  });
103
- }, label: "Match Entire Cell", shortcut: { key: "E", modifiers: [P.Alt] }, icon: w(e($, {})) }), e(F, { selected: fe.findOptions.useRegex, onSelectToggle: (e2) => {
103
+ }, label: "Match Entire Cell", shortcut: { key: "E", modifiers: [P.Alt] }, icon: w(e(A, {})) }), e(I, { selected: fe.findOptions.useRegex, onSelectToggle: (e2) => {
104
104
  me((n2) => {
105
105
  const t3 = { ...n2 };
106
106
  return t3.findOptions.useRegex = e2, t3;
107
107
  });
108
- }, label: "Use Regular Expression", shortcut: { key: "R", modifiers: [P.Alt] }, icon: w(e(B, {})) })] }) }) }, sx: { flex: "1 1 100%", marginRight: (e2) => e2.spacing(1), "& .MuiOutlinedInput-notchedOutline": { borderColor: (e2) => ce ? `${e2.palette.error.main} !important` : void 0 }, "& .MuiInputLabel-outlined": { color: (e2) => ce ? `${e2.palette.error.main} !important` : void 0 } }, value: fe.findText ?? "", onChange: (e2) => {
108
+ }, label: "Use Regular Expression", shortcut: { key: "R", modifiers: [P.Alt] }, icon: w(e(M, {})) })] }) }) }, sx: { flex: "1 1 100%", marginRight: (e2) => e2.spacing(1), "& .MuiOutlinedInput-notchedOutline": { borderColor: (e2) => ce ? `${e2.palette.error.main} !important` : void 0 }, "& .MuiInputLabel-outlined": { color: (e2) => ce ? `${e2.palette.error.main} !important` : void 0 } }, value: fe.findText ?? "", onChange: (e2) => {
109
109
  me((n2) => {
110
110
  const t3 = { ...n2 };
111
111
  return t3.findText = e2.target.value, t3;
112
112
  });
113
113
  }, onKeyDown: (e2) => xe(e2, false), onContextMenu: (e2) => {
114
114
  e2.stopPropagation();
115
- } }), e(F, { selected: fe.findOptions.reverse, onSelectToggle: (e2) => {
115
+ } }), e(I, { selected: fe.findOptions.reverse, onSelectToggle: (e2) => {
116
116
  ge(false, false);
117
- }, touchRippleRef: Z, label: "", shortcut: { key: "Enter", modifiers: [P.Shift] }, icon: w(fe.findOptions.orientation !== R.Orientation.Column ? e(y, {}) : e(b, {})), disabled: !fe.findText }), e(F, { selected: !fe.findOptions.reverse, onSelectToggle: (e2) => {
117
+ }, touchRippleRef: Z, label: "", shortcut: { key: "Enter", modifiers: [P.Shift] }, icon: w(fe.findOptions.orientation !== R.Orientation.Column ? e(y, {}) : e(b, {})), disabled: !fe.findText }), e(I, { selected: !fe.findOptions.reverse, onSelectToggle: (e2) => {
118
118
  ge(true, false);
119
- }, touchRippleRef: _, label: "Next Match", shortcut: { key: "Enter" }, icon: w(fe.findOptions.orientation !== R.Orientation.Column ? e(T, {}) : e(v, {})), disabled: !fe.findText })] }), e(g, { in: se, timeout: N, onExit: () => {
120
- q.current?.focus();
119
+ }, touchRippleRef: _, label: "Next Match", shortcut: { key: "Enter" }, icon: w(fe.findOptions.orientation !== R.Orientation.Column ? e(T, {}) : e(v, {})), disabled: !fe.findText })] }), e(g, { in: se, timeout: W, onExit: () => {
120
+ Q.current?.focus();
121
121
  }, children: n(u, { sx: { display: "flex", flexDirection: "row", alignItems: "center", marginTop: (e2) => e2.spacing(2) }, children: [e(f, { label: "Replace", InputLabelProps: { shrink: true }, InputProps: { sx: { paddingRight: (e2) => e2.spacing(1), backgroundImage: `linear-gradient(${c("#fff", p(5))}, ${c("#fff", p(5))})` }, inputProps: { ref: Y, className: "input", spellCheck: false, autoComplete: "off", sx: { paddingTop: (e2) => e2.spacing(1.25), paddingBottom: (e2) => e2.spacing(0.75) } } }, sx: { flex: "1 1 100%", marginRight: (e2) => e2.spacing(1) }, value: fe.replaceText ?? "", onChange: (e2) => {
122
122
  me((n2) => {
123
123
  const t3 = { ...n2 };
@@ -125,13 +125,13 @@ const G = { "By Rows": true, "By Columns": false }, J = (e2, n2) => {
125
125
  });
126
126
  }, onKeyDown: (e2) => xe(e2, true), onContextMenu: (e2) => {
127
127
  e2.stopPropagation();
128
- } }), e(F, { onSelectToggle: (e2) => {
128
+ } }), e(I, { onSelectToggle: (e2) => {
129
129
  ge(true, true);
130
- }, touchRippleRef: ee, label: "Replace", shortcut: { key: "Enter" }, icon: w(e(M, {})), disabled: !fe.findText }), e(F, { onSelectToggle: (e2) => {
130
+ }, touchRippleRef: ee, label: "Replace", shortcut: { key: "Enter" }, icon: w(e(j, {})), disabled: !fe.findText }), e(I, { onSelectToggle: (e2) => {
131
131
  ge(true, true, true);
132
- }, touchRippleRef: ne, label: "Replace All", shortcut: { key: "Enter", modifiers: [P.Ctrl, P.Alt] }, icon: w(e(j, {})), disabled: !fe.findText })] }) })] })] }), e(g, { in: le, timeout: N, onExit: () => {
133
- q.current?.focus();
134
- }, children: n(u, { sx: { minHeight: "10px", flex: "1 1 100%", display: "flex", flexDirection: "column", gap: (e2) => e2.spacing(0.5), marginTop: (e2) => e2.spacing(1) }, children: [e(L, { orientation: "horizontal", sx: { marginBottom: (e2) => e2.spacing(1.5) } }), n(u, { sx: { display: "flex", flexDirection: Ce >= 413 ? "row" : "column", justifyContent: "space-evenly", alignItems: "center", rowGap: (e2) => e2.spacing(2) }, tabIndex: -1, children: [e(V, { label: "Within", value: fe.scope, options: H, onSelect: (e2) => {
132
+ }, touchRippleRef: ne, label: "Replace All", shortcut: { key: "Enter", modifiers: [P.Ctrl, P.Alt] }, icon: w(e(B, {})), disabled: !fe.findText })] }) })] })] }), e(g, { in: le, timeout: W, onExit: () => {
133
+ Q.current?.focus();
134
+ }, children: n(u, { sx: { minHeight: "10px", flex: "1 1 100%", display: "flex", flexDirection: "column", gap: (e2) => e2.spacing(0.5), marginTop: (e2) => e2.spacing(1) }, children: [e(L, { orientation: "horizontal", sx: { marginBottom: (e2) => e2.spacing(1.5) } }), n(u, { sx: { display: "flex", flexDirection: Ce >= 413 ? "row" : "column", justifyContent: "space-evenly", alignItems: "center", rowGap: (e2) => e2.spacing(2) }, tabIndex: -1, children: [e(V, { label: "Within", value: fe.scope, options: N, onSelect: (e2) => {
135
135
  me((n2) => {
136
136
  const t3 = { ...n2 };
137
137
  return t3.scope = e2, t3;
@@ -141,7 +141,7 @@ const G = { "By Rows": true, "By Columns": false }, J = (e2, n2) => {
141
141
  const t3 = { ...n2 };
142
142
  return t3.findOptions.orientation = e2 ? R.Orientation.Row : R.Orientation.Column, t3;
143
143
  });
144
- } }), e(V, { label: "Look in", value: se && fe.findOptions.fields?.[0] === k.Content.Values ? k.Content.Formulas : fe.findOptions.fields?.[0], options: se ? z : W, onSelect: (e2) => {
144
+ } }), e(V, { label: "Look in", value: se && fe.findOptions.fields?.[0] === k.Content.Values ? k.Content.Formulas : fe.findOptions.fields?.[0], options: se ? H : z, onSelect: (e2) => {
145
145
  me((n2) => {
146
146
  const t3 = { ...n2 };
147
147
  return t3.findOptions.fields = [e2], t3;
@@ -149,7 +149,7 @@ const G = { "By Rows": true, "By Columns": false }, J = (e2, n2) => {
149
149
  } })] })] }) })] }) });
150
150
  });
151
151
  export {
152
- Q as FindReplaceWindow,
153
- H as ScopeOptions,
154
- Q as default
152
+ X as FindReplaceWindow,
153
+ N as ScopeOptions,
154
+ X as default
155
155
  };
@@ -1,18 +1,18 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.9
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.11
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
6
6
  */
7
7
  import { Workbook as e, IRange as t } from "@sheetxl/sdk";
8
8
  const n = async (e2, t2) => {
9
- const { trimLeadingBlankRow: n2 = true, trimLeadingBlankColumn: r2 = true, excludeHidden: o = false, sheetKey: s = null, papaParseConfig: a = {} } = t2 || {}, l = await import("./C7t1ZHhSDgJnZ4Da.mjs").then((e3) => e3.p);
9
+ const { trimLeadingBlankRow: n2 = true, trimLeadingBlankColumn: r2 = true, excludeHidden: o = false, sheetKey: s = null, papaParseConfig: a = {} } = t2 || {}, i = await import("./Dd2OFQJQyYp6bAeP.mjs").then((e3) => e3.p);
10
10
  if (!e2) throw new Error("workbook must be specified");
11
- let i = null;
12
- if (null === s ? i = e2.getSelectedSheet() : "number" == typeof s ? i = e2.getSheets().search()[s] : "string" == typeof s && (i = e2.getSheets().getByName(s)), !i) throw new Error("invalid sheetKey specified");
11
+ let l = null;
12
+ if (null === s ? l = e2.getSelectedSheet() : "number" == typeof s ? l = e2.getSheets().search()[s] : "string" == typeof s && (l = e2.getSheets().getByName(s)), !l) throw new Error("invalid sheetKey specified");
13
13
  let d = null;
14
14
  const c = [];
15
- let p = null, f = i.getUsedRange({ excludeHidden: o });
15
+ let p = null, f = l.getUsedRange({ excludeHidden: o });
16
16
  if (!f) throw new Error("Nothing to export");
17
17
  if (!n2 || !r2) {
18
18
  const e3 = n2 ? f.getRowStart() : 0, t3 = r2 ? f.getColumnStart() : 0;
@@ -24,10 +24,10 @@ const n = async (e2, t2) => {
24
24
  const o2 = r3.toTextUnformatted() ?? "";
25
25
  p.push(o2);
26
26
  }, { includeEmpty: true, address: null }), p && c.push(p);
27
- const u = { ...a }, g = l.unparse(c, u);
27
+ const u = { ...a }, g = i.unparse(c, u);
28
28
  return new TextEncoder().encode(g).buffer;
29
29
  }, r = async (n2, r2) => {
30
- const { papaParseConfig: o, setValuesOptions: s, createWorkbookOptions: a } = r2 ?? {}, l = await import("./C7t1ZHhSDgJnZ4Da.mjs").then((e2) => e2.p), i = new TextDecoder().decode(n2);
30
+ const { papaParseConfig: o, setValuesOptions: s, createWorkbookOptions: a } = r2 ?? {}, i = await import("./Dd2OFQJQyYp6bAeP.mjs").then((e2) => e2.p), l = new TextDecoder().decode(n2);
31
31
  let d = -1;
32
32
  const c = new e(a), p = c.getSelectedSheet().getEntireRange().startIncrementalUpdates({ orientation: t.Orientation.Row }), f = r2?.onProgress;
33
33
  let u = 0;
@@ -38,7 +38,7 @@ const n = async (e2, t2) => {
38
38
  let r3 = e2 ?? "";
39
39
  return p.pushAt(d, n3, r3), u++, u % 1e5 == 0 && f?.(u), e2;
40
40
  } };
41
- return l.parse(i, g).data, p.apply({ textParser: true, ...s }), c;
41
+ return i.parse(l, g).data, p.apply({ textParser: true, ...s }), c;
42
42
  };
43
43
  export {
44
44
  r as fromBufferCSV,