@sheetxl/studio-mui 0.3.18 → 0.3.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. package/browser/cjs/{CYlWk3JZne2DVAvj.cjs → -Z_xfLHIzayq6e-C.cjs} +2 -2
  2. package/browser/cjs/{CMQnksVdFNTGCcuL.cjs → 5EMNCalBy5T7Qv40.cjs} +1 -1
  3. package/browser/cjs/{CTVwwijxWyTj1-To.cjs → B-i9az2r-j4BoodW.cjs} +1 -1
  4. package/browser/cjs/{Dt-_lF8cbqIQeFDT.cjs → B98cTi8NhLFwk-0Q.cjs} +2 -2
  5. package/browser/cjs/{tzUSfMyL4rscAPOw.cjs → BFe0zJbC0Wy4fqLf.cjs} +1 -1
  6. package/browser/cjs/{DtfIBBSWwGnFn5da.cjs → Bg1sVEitsy9Ktlo9.cjs} +1 -1
  7. package/browser/cjs/{BWJGFEIQCBdTEl6B.cjs → BsJ8nFqSJFJDsuan.cjs} +2 -2
  8. package/browser/cjs/{BkCmVm6sA_avib9h.cjs → BvCYlgtHsPgA_aNK.cjs} +2 -2
  9. package/browser/cjs/{CKF-dWfZku6ebHzj.cjs → ByHotNG2i_czKEr8.cjs} +2 -2
  10. package/browser/cjs/{AQdyOmNsNjlI3zZX.cjs → C-ElWpjJiAYCYYvU.cjs} +2 -2
  11. package/browser/cjs/{CJQdEaRRBvm3gCqh.cjs → C-oc8im_PZRCQOvZ.cjs} +1 -1
  12. package/browser/cjs/{Clxk_WuA_PRn6KW9.cjs → C645WCVpMGicXgBM.cjs} +1 -1
  13. package/browser/cjs/{ckZ4F6Ezl3aCnh5Z.cjs → CF_a0DpvEBsJCpgQ.cjs} +3 -3
  14. package/browser/cjs/CLJkEcejZPl006p2.cjs +87 -0
  15. package/browser/cjs/{2OSBl2r7IttrCdtA.cjs → COX8k8pyTOk8BoD-.cjs} +1 -1
  16. package/browser/cjs/{BNyVm7np2bfgLvot.cjs → CRV08682FzN5ew39.cjs} +3 -3
  17. package/browser/cjs/{B5eQzk5WyXy8IAA8.cjs → CTlLfk6a9CkzbQNt.cjs} +4 -4
  18. package/browser/cjs/{Dsf7iNkpZ-XRvkri.cjs → CUn6t8lfcG9cPH1h.cjs} +2 -2
  19. package/browser/cjs/{B1SUaFgnsimk42bG.cjs → D6E9xEe6tjbfqtEm.cjs} +2 -2
  20. package/browser/cjs/{BpriOx_ASGcmQgAv.cjs → D92iJHsZJX_wZ52_.cjs} +2 -2
  21. package/browser/cjs/{D6MmQYTV_-2r6TNA.cjs → DW0q0AyrJofzss0y.cjs} +4 -4
  22. package/browser/cjs/{BBB1d8xHkY7ltQWw.cjs → DggumD9iQqyO3FFa.cjs} +2 -2
  23. package/browser/cjs/{CvVjY72BJUTQvkkP.cjs → DkMBDN---q9jUa8V.cjs} +2 -2
  24. package/browser/cjs/{BLcValtf97N7iwR5.cjs → _dSiOxKU18SdUtnS.cjs} +1 -1
  25. package/browser/cjs/index.cjs +2 -2
  26. package/browser/cjs/{C6UymVKpB0f_aOz4.cjs → oyaxmxAEZ4VTVk_8.cjs} +1 -1
  27. package/browser/esm/{B9JJu0VnIIYWT5lt.mjs → 8JD53VBt79P-aa-S.mjs} +3 -3
  28. package/browser/esm/{dyvLjt-D32wPaGoj.mjs → B97bNoiD5vSlwEfq.mjs} +2 -2
  29. package/browser/esm/{wk6kyK0HvQWZcF9v.mjs → BB_9iof-6U8Cb15P.mjs} +6 -6
  30. package/browser/esm/{B-rFSfciMrAt40UW.mjs → BHegaWai1nWBR-L9.mjs} +1 -1
  31. package/browser/esm/{kag30q_f2OyzNEpu.mjs → BKhb4mVxGfN4CIjS.mjs} +1 -1
  32. package/browser/esm/{CHo7Pe-qLRr6D7Zb.mjs → BVzvMC6p5FNP8qK9.mjs} +12 -12
  33. package/browser/esm/{IW0FN0JJihUjmUhl.mjs → BbMrsjIGEkoLGak0.mjs} +2 -2
  34. package/browser/esm/{COZ6r5iZ8TyK00AP.mjs → Bi-5-fOHXnnsSVMH.mjs} +1 -1
  35. package/browser/esm/{DAABl4IjtZoiB_ZM.mjs → C4vC41vzQpD-qyMn.mjs} +2 -2
  36. package/browser/esm/{DWhxo1LUgYMKPIl6.mjs → C7UEqLxvuNIEbzcl.mjs} +8 -8
  37. package/browser/esm/{B_GtXHanCbWYSw3u.mjs → CJPeBWCN11PDgfKC.mjs} +1 -1
  38. package/browser/esm/{Bm90soyGjT9Iu1LC.mjs → CLRvr3EDwZwQGFld.mjs} +2 -2
  39. package/browser/esm/{DRnTwfoTxrtXBFC7.mjs → CTgZnJeqPNm0IneY.mjs} +1 -1
  40. package/browser/esm/{D85IfpCrfIBFDqe8.mjs → CUrgSndSnDCQKu6U.mjs} +2 -2
  41. package/browser/esm/{CvsYx4oxcqsUUtrr.mjs → CocO3lRUMqgv4AFJ.mjs} +1 -1
  42. package/browser/esm/{DivcgoJCzXwVgCcg.mjs → DLTm93l6QUeTWBtR.mjs} +12 -12
  43. package/browser/esm/{DOtIN-2juYEPtB8A.mjs → DNMEKvZSHupr35RK.mjs} +4 -4
  44. package/browser/esm/{D5U2mNtg-sHAxwUo.mjs → Dkm4CH9HTgLMuj1z.mjs} +1 -1
  45. package/browser/esm/{BQQcYbNIADI7dSX4.mjs → Dkqkg5OonmopX_av.mjs} +2 -2
  46. package/browser/esm/{DrGVTfUVlughL_d0.mjs → DsLBuFS0K1zRuAH4.mjs} +1 -1
  47. package/browser/esm/{Cbz-BdHkkb_IX1IO.mjs → Dsvtw0sJ8FRtGm5n.mjs} +3 -3
  48. package/browser/esm/{qnS7YH5ry4bwFwmH.mjs → WKwjqHXBabDyAtuT.mjs} +1 -1
  49. package/browser/esm/{BJiFVIVZgstircY0.mjs → g4yV8ILPtVwy8tG5.mjs} +9064 -8978
  50. package/browser/esm/index.mjs +16 -16
  51. package/browser/esm/{D7VfJjp49e_MDYZN.mjs → w-PhBfcFM6AZzwmU.mjs} +2 -2
  52. package/browser/esm/{CvzuJmImMn0DC78K.mjs → zHTatrVtfVuPg1ii.mjs} +40 -40
  53. package/licenses/dependencies.txt +6 -6
  54. package/node/esm/{DNg39nLT0gHqmPlz.mjs → BB6SV3cXsfTqodbb.mjs} +1 -1
  55. package/node/esm/{DwU05hEZ7gmV6D81.mjs → Bp-CJA_tLpQ7pT29.mjs} +2 -2
  56. package/node/esm/{D37x0J7Pp7Ovk7U6.mjs → C06YIVEYQuR5Vaft.mjs} +1 -1
  57. package/node/esm/{Bjq64rdekFLv2Pk6.mjs → CCl1udn2B2Ht6C3g.mjs} +10 -10
  58. package/node/esm/{DCqwwPMoosi5CmNI.mjs → Ck6HJccOiajom0p5.mjs} +27 -27
  59. package/node/esm/{Bt5SOQDsxPC-egr0.mjs → Cnz7_lvzqMqQs08b.mjs} +5 -5
  60. package/node/esm/{2eYi7rphLL5H13FB.mjs → CvIwaInnb5xT75rt.mjs} +1 -1
  61. package/node/esm/{qTHmpgXiWFDs-DpN.mjs → D1cFV6R_lGB3yi1w.mjs} +1 -1
  62. package/node/esm/{BKWvOu_IeRMuC8Xk.mjs → D2h4VPChcK5U-a0T.mjs} +2 -2
  63. package/node/esm/{BMwY3wpsb5LC-oha.mjs → D7jQWNfNldioygd-.mjs} +1 -1
  64. package/node/esm/{DET5hZx0KEr6Xvkf.mjs → DHqKiBp0YDn-rVWv.mjs} +2 -2
  65. package/node/esm/{SDYCTfAbHCT1NUVT.mjs → DTiWaGbGjtZCRAj0.mjs} +7 -7
  66. package/node/esm/{DZTAP_s1UBqFpZWn.mjs → DX4vRmhbc53oBNeg.mjs} +1 -1
  67. package/node/esm/{CfC4Y9itv3zxli6a.mjs → DbrD7HDgNfqUmzdP.mjs} +1 -1
  68. package/node/esm/{CkG4RfZYIEpgMYHF.mjs → DoRbSUaOrfZffDc4.mjs} +84 -84
  69. package/node/esm/{BTyx75rKO81NBrpD.mjs → RfwcTEhVvbPAxFAu.mjs} +2 -2
  70. package/node/esm/{CVcSQEeEQOVzGI-N.mjs → Xa5E_4nSt8LVXkNA.mjs} +1 -1
  71. package/node/esm/{C-K5UNI5JYn9db2u.mjs → Ya3wztkbwM47CwJy.mjs} +5 -5
  72. package/node/esm/{hYDFyrnl76Q8TbVg.mjs → acSFCnnB-d3FV6qe.mjs} +3 -3
  73. package/node/esm/{DyLBbEMRFc3oCumP.mjs → bozut2iu1gZ26NCH.mjs} +2 -2
  74. package/node/esm/index.mjs +3986 -3887
  75. package/node/esm/{CN_9EpYFfSahI0tk.mjs → lx40ksuj0iGDMKDe.mjs} +27 -27
  76. package/node/esm/{BwhDUQgAy49WUvzS.mjs → tcog-VptibIIj9kW.mjs} +4 -4
  77. package/node/esm/{DOyVcSa6UGUQpjJ8.mjs → uHvMtxBHa3ohbrOl.mjs} +12 -12
  78. package/package.json +8 -8
  79. package/browser/cjs/B50pi_DZlxL44FZa.cjs +0 -87
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.18
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.19
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -11,11 +11,11 @@ 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, T as S, H as I, v as w, q as F, s as D, E as K, A as P, D as A, G as $, I as L, K as M, L as j, p as B } from "./index.mjs";
14
+ import { P as E, z as S, A as I, B as w, a as F, 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";
15
15
  const V = t((t2) => {
16
- const { label: i2, value: r2, options: a2, onSelect: d2, tabIndex: u2 = 0, ...f2 } = t2, [m2, g2] = o(() => q(r2, a2));
16
+ const { label: i2, value: r2, options: a2, onSelect: d2, tabIndex: u2 = 0, ...f2 } = t2, [m2, g2] = o(() => J(r2, a2));
17
17
  l(() => {
18
- g2(q(r2, a2));
18
+ g2(J(r2, a2));
19
19
  }, [r2, a2]);
20
20
  const y2 = E((e2) => {
21
21
  g2(e2.target.value), d2?.(a2[e2.target.value]);
@@ -23,23 +23,23 @@ const V = t((t2) => {
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
24
  }), W = { Workbook: "workbook", Sheet: "sheet" }, H = { enter: 140, exit: 140 }, N = { Formulas: k.Content.Formulas, Values: k.Content.Values, Notes: k.Content.Notes, Comments: k.Content.Comments }, z = { ...N };
25
25
  delete z.Values;
26
- const G = { "By Rows": true, "By Columns": false }, q = (e2, n2) => {
26
+ const G = { "By Rows": true, "By Columns": false }, J = (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
- }, U = t((t2) => {
33
- const { replace: s2 = false, findText: x2, replaceText: h2, findOptions: O2, replaceOptions: C2, title: q2, onHide: U2, onFindOrReplace: X, ...J } = t2, Q = i(null), Y = i(null), Z = i(null), _ = i(null), ee = i(null), ne = i(null), te = (e2, n2) => {
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) => {
34
34
  if (!n2) return;
35
35
  n2.start(e2, { center: false }), setTimeout(() => n2.stop(e2), 180);
36
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: W.Sheet }), ge = E(async (e2, n2, t3, i2) => {
37
- if (!X) return;
37
+ if (!U) 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 X({ autoFocus: i2, ...o2 });
40
+ const l2 = await U({ autoFocus: i2, ...o2 });
41
41
  pe(0 === l2);
42
- }, [fe, X]);
42
+ }, [fe, U]);
43
43
  l(() => {
44
44
  pe(false);
45
45
  }, [fe, le, se]);
@@ -60,16 +60,16 @@ const G = { "By Rows": true, "By Columns": false }, q = (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, { title: q2 ?? (se ? "Find & Replace" : "Find"), initialPosition: { y: "35" }, autoFocusSel: ".input", refWindow: he, onHide: U2, onFocus: () => ue(true), onBlur: () => {
68
+ return e(I, { title: J2 ?? (se ? "Find & Replace" : "Find"), initialPosition: { y: "35" }, autoFocusSel: ".input", refWindow: he, onHide: Q2, onFocus: () => ue(true), onBlur: () => {
69
69
  ue(false), pe(false);
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();
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();
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;
@@ -90,22 +90,22 @@ const G = { "By Rows": true, "By Columns": false }, q = (e2, n2) => {
90
90
  re(e2);
91
91
  }, preventFocus: true, label: "Toggle Additional Options", icon: F(e(D, {})) }), e(w, { selected: se, onSelectToggle: (e2) => {
92
92
  ae(e2);
93
- }, preventFocus: true, label: "Toggle Replace", icon: F(e(P, {})), shortcut: { key: se ? "F" : "H", modifiers: [K.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(w, { selected: fe.findOptions.matchCase, onSelectToggle: (e2) => {
93
+ }, preventFocus: true, label: "Toggle Replace", icon: F(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(w, { 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: [K.Alt] }, icon: F(e(A, {})) }), e(w, { selected: fe.findOptions.matchEntireCell, onSelectToggle: (e2) => {
98
+ }, label: "Match Case", shortcut: { key: "C", modifiers: [P.Alt] }, icon: F(e(A, {})) }), e(w, { 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: [K.Alt] }, icon: F(e($, {})) }), e(w, { selected: fe.findOptions.useRegex, onSelectToggle: (e2) => {
103
+ }, label: "Match Entire Cell", shortcut: { key: "E", modifiers: [P.Alt] }, icon: F(e($, {})) }), e(w, { 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: [K.Alt] }, icon: F(e(L, {})) })] }) }) }, 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: F(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) => {
109
109
  me((n2) => {
110
110
  const t3 = { ...n2 };
111
111
  return t3.findText = e2.target.value, t3;
@@ -114,10 +114,10 @@ const G = { "By Rows": true, "By Columns": false }, q = (e2, n2) => {
114
114
  e2.stopPropagation();
115
115
  } }), e(w, { selected: fe.findOptions.reverse, onSelectToggle: (e2) => {
116
116
  ge(false, false);
117
- }, touchRippleRef: Z, label: "", shortcut: { key: "Enter", modifiers: [K.Shift] }, icon: F(fe.findOptions.orientation !== R.Orientation.Column ? e(y, {}) : e(b, {})), disabled: !fe.findText }), e(w, { selected: !fe.findOptions.reverse, onSelectToggle: (e2) => {
117
+ }, touchRippleRef: Z, label: "", shortcut: { key: "Enter", modifiers: [P.Shift] }, icon: F(fe.findOptions.orientation !== R.Orientation.Column ? e(y, {}) : e(b, {})), disabled: !fe.findText }), e(w, { selected: !fe.findOptions.reverse, onSelectToggle: (e2) => {
118
118
  ge(true, false);
119
119
  }, touchRippleRef: _, label: "Next Match", shortcut: { key: "Enter" }, icon: F(fe.findOptions.orientation !== R.Orientation.Column ? e(T, {}) : e(v, {})), disabled: !fe.findText })] }), e(g, { in: se, timeout: H, onExit: () => {
120
- Q.current?.focus();
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 };
@@ -129,9 +129,9 @@ const G = { "By Rows": true, "By Columns": false }, q = (e2, n2) => {
129
129
  ge(true, true);
130
130
  }, touchRippleRef: ee, label: "Replace", shortcut: { key: "Enter" }, icon: F(e(M, {})), disabled: !fe.findText }), e(w, { onSelectToggle: (e2) => {
131
131
  ge(true, true, true);
132
- }, touchRippleRef: ne, label: "Replace All", shortcut: { key: "Enter", modifiers: [K.Ctrl, K.Alt] }, icon: F(e(j, {})), disabled: !fe.findText })] }) })] })] }), e(g, { in: le, timeout: H, 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(B, { 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: W, onSelect: (e2) => {
132
+ }, touchRippleRef: ne, label: "Replace All", shortcut: { key: "Enter", modifiers: [P.Ctrl, P.Alt] }, icon: F(e(j, {})), disabled: !fe.findText })] }) })] })] }), e(g, { in: le, timeout: H, 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: W, onSelect: (e2) => {
135
135
  me((n2) => {
136
136
  const t3 = { ...n2 };
137
137
  return t3.scope = e2, t3;
@@ -149,7 +149,7 @@ const G = { "By Rows": true, "By Columns": false }, q = (e2, n2) => {
149
149
  } })] })] }) })] }) });
150
150
  });
151
151
  export {
152
- U as FindReplaceWindow,
152
+ Q as FindReplaceWindow,
153
153
  W as ScopeOptions,
154
- U as default
154
+ Q as default
155
155
  };
@@ -1,23 +1,23 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.18
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.19
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
6
6
  */
7
7
  import { jsx as e, jsxs as n } from "react/jsx-runtime";
8
8
  import { useState as t } from "react";
9
- import { Box as o, FormControlLabel as i, Checkbox as l } from "@mui/material";
9
+ import { Box as i, FormControlLabel as o, Checkbox as l } from "@mui/material";
10
10
  import { Sort as r, IRange as a } from "@sheetxl/sdk";
11
- import { P as s, o as c } from "./index.mjs";
11
+ import { P as s, x as c } from "./index.mjs";
12
12
  const d = ({ range: d2, options: m, cell: p, onDone: h, ...u }) => {
13
13
  const [v, C] = t(m ?? r.DefaultRangeOptions), O = s((e2) => {
14
14
  let n2 = null;
15
15
  "Sort" === e2 && (n2 = { ...m, options: v }), h?.(n2);
16
16
  }, [v, h, m]);
17
- return e(c, { title: "Sort", options: ["Sort", "Cancel"], onDone: O, ...u, children: n(o, { sx: { display: "flex", flexDirection: "column" }, children: [e(i, { control: e(l, { checked: !v.reverse, onChange: () => C((e2) => ({ ...e2, reverse: !e2.reverse })) }), label: "Is Ascending", labelPlacement: "end" }), e(i, { control: e(l, { checked: v.hasHeader, onChange: () => C((e2) => ({ ...e2, hasHeader: !e2.hasHeader })) }), label: "Has Header", labelPlacement: "end" }), e(i, { control: e(l, { checked: v.collatorOptions?.sensitivity === r.CaseSensitiveOptions.sensitivity, onChange: () => C((e2) => ({ ...e2, collatorOptions: v.collatorOptions?.sensitivity === r.CaseSensitiveOptions.sensitivity ? r.CaseInsensitiveOptions : r.CaseSensitiveOptions })) }), label: "Case Sensitive", labelPlacement: "end" }), e(i, { control: e(l, { checked: v.orientation === a.Orientation.Row, onChange: () => C((e2) => {
17
+ return e(c, { title: "Sort", options: ["Sort", "Cancel"], onDone: O, ...u, children: n(i, { sx: { display: "flex", flexDirection: "column" }, children: [e(o, { control: e(l, { checked: !v.reverse, onChange: () => C((e2) => ({ ...e2, reverse: !e2.reverse })) }), label: "Is Ascending", labelPlacement: "end" }), e(o, { control: e(l, { checked: v.hasHeader, onChange: () => C((e2) => ({ ...e2, hasHeader: !e2.hasHeader })) }), label: "Has Header", labelPlacement: "end" }), e(o, { control: e(l, { checked: v.collatorOptions?.sensitivity === r.CaseSensitiveOptions.sensitivity, onChange: () => C((e2) => ({ ...e2, collatorOptions: v.collatorOptions?.sensitivity === r.CaseSensitiveOptions.sensitivity ? r.CaseInsensitiveOptions : r.CaseSensitiveOptions })) }), label: "Case Sensitive", labelPlacement: "end" }), e(o, { control: e(l, { checked: v.orientation === a.Orientation.Row, onChange: () => C((e2) => {
18
18
  const n2 = e2.orientation === a.Orientation.Row ? a.Orientation.Column : a.Orientation.Row;
19
19
  return { ...d2.getDefaultSortCriteria(n2, p).options, includeHidden: e2.includeHidden, reverse: e2.reverse, orientation: n2 };
20
- }) }), label: "Row Sort", labelPlacement: "end" }), e(i, { control: e(l, { checked: v.includeHidden, onChange: () => C((e2) => ({ ...e2, includeHidden: !e2.includeHidden })) }), label: "Include Hidden", labelPlacement: "end" })] }) });
20
+ }) }), label: "Row Sort", labelPlacement: "end" }), e(o, { control: e(l, { checked: v.includeHidden, onChange: () => C((e2) => ({ ...e2, includeHidden: !e2.includeHidden })) }), label: "Include Hidden", labelPlacement: "end" })] }) });
21
21
  };
22
22
  export {
23
23
  d as SortDialog,
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.18
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.19
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.18
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.19
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.18
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.19
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
6
6
  */
7
7
  import { e as t } from "./index.mjs";
8
- import { c as e, b as s, r, t as o, a as i, p as n, d as l } from "./C-K5UNI5JYn9db2u.mjs";
8
+ import { c as e, b as s, r, t as o, a as i, p as n, d as l } from "./Ya3wztkbwM47CwJy.mjs";
9
9
  import { IFont as a, IAutoFilter as c, Sort as u, IRange as h, AddressUtils as p, IFill as g, IStyle as d, ITextFrame as m, FormulaError as b, IBorder as f } from "@sheetxl/sdk";
10
10
  class A {
11
11
  constructor(t2) {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.18
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.19
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.18
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.19
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -11,7 +11,7 @@ import { Box as h } from "@mui/material";
11
11
  import p from "tinycolor2";
12
12
  import { Alpha as d, Hue as c } from "react-color/es/components/common/index.js";
13
13
  import g from "react-color/es/components/sketch/SketchFields.js";
14
- import { J as u, C as b } from "./index.mjs";
14
+ import { q as u, C as b } from "./index.mjs";
15
15
  class m extends (n || i) {
16
16
  constructor(e2) {
17
17
  super(e2), this.handleChange = (e3) => {
@@ -1,19 +1,19 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.18
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.19
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
6
6
  */
7
7
  import { jsx as e, jsxs as n } from "react/jsx-runtime";
8
- import { memo as t, useState as o, useCallback as a } from "react";
8
+ import { memo as t, useState as a, useCallback as o } from "react";
9
9
  import { Box as i, FormControlLabel as l, Checkbox as s } from "@mui/material";
10
- import { P as r, o as p, RangeInput as c } from "./index.mjs";
10
+ import { P as r, x as p, RangeInput as c } from "./index.mjs";
11
11
  const d = ["Ok", "Cancel"], m = t((t2) => {
12
- const { tableOptions: m2, context: g, onOption: u, onValidateOption: f, onDone: h, options: x = d, defaultOption: O = x?.[0], cancelOption: b = "Cancel", sx: C, ...D } = t2, [N, T] = o(false), [j, k] = o(() => m2?.hasHeader ?? false), [v, w] = o(() => m2?.ranges ?? null), y = r((e2) => {
12
+ const { tableOptions: m2, context: g, onOption: u, onValidateOption: x, onDone: f, options: h = d, defaultOption: O = h?.[0], cancelOption: b = "Cancel", sx: C, ...D } = t2, [N, T] = a(false), [j, k] = a(() => m2?.hasHeader ?? false), [v, w] = a(() => m2?.ranges ?? null), y = r((e2) => {
13
13
  const n2 = { ...m2, hasHeader: j, ranges: v };
14
- u?.(e2, e2 === b, e2 === O), h?.({ option: e2, tableOptions: n2 });
15
- }, [h, u, O, b, j, v, m2]), F = a(async (e2, n2) => null, []);
16
- return e(p, { title: "Insert Table", options: x, onDone: y, onValidateOption: F, defaultOption: O, cancelOption: b, autoFocusSel: ".range-input input", sx: { width: "360px", ...C }, ...D, children: n(i, { sx: { paddingTop: (e2) => e2.spacing(1), paddingBottom: (e2) => e2.spacing(0), rowGap: (e2) => e2.spacing(1), display: "flex", flexDirection: "column" }, children: [e(c, { formName: "range", value: v, onChangeInput: (e2) => w(e2), resolvedAddress: g.getNames().getRanges.bind(g.getNames()), onFocus: (e2) => {
14
+ u?.(e2, e2 === b, e2 === O), f?.({ option: e2, tableOptions: n2 });
15
+ }, [f, u, O, b, j, v, m2]), F = o(async (e2, n2) => null, []);
16
+ return e(p, { title: "Insert Table", options: h, onDone: y, onValidateOption: F, defaultOption: O, cancelOption: b, autoFocusSel: ".range-input input", sx: { width: "360px", ...C }, ...D, children: n(i, { sx: { paddingTop: (e2) => e2.spacing(1), paddingBottom: (e2) => e2.spacing(0), rowGap: (e2) => e2.spacing(1), display: "flex", flexDirection: "column" }, children: [e(c, { formName: "range", value: v, onChangeInput: (e2) => w(e2), resolvedAddress: g.getNames().getRanges.bind(g.getNames()), onFocus: (e2) => {
17
17
  N || e2.target?.select(), T(true);
18
18
  } }), e(l, { control: e(s, { checked: j, onChange: () => k(!j) }), label: "Table has headers", labelPlacement: "end" })] }) });
19
19
  });
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.18
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.19
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.18
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.19
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.