@sheetxl/studio-mui 0.3.18 → 0.3.20

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/8yJKDn6FG4qXm6C_.cjs +6 -0
  2. package/browser/cjs/{CvVjY72BJUTQvkkP.cjs → B1jZEfhC-UDnqHyx.cjs} +2 -2
  3. package/browser/cjs/B6SNtC4e_WvQXSbH.cjs +87 -0
  4. package/browser/cjs/{BWJGFEIQCBdTEl6B.cjs → BDNJoQLDNwBKjkfN.cjs} +2 -2
  5. package/browser/cjs/{BLcValtf97N7iwR5.cjs → BNRt1gPcV30KL-_2.cjs} +1 -1
  6. package/browser/cjs/Br-k5vmbo_70osX8.cjs +12 -0
  7. package/browser/cjs/{C6UymVKpB0f_aOz4.cjs → BxHOEF80SAdnbAt9.cjs} +1 -1
  8. package/browser/cjs/{tzUSfMyL4rscAPOw.cjs → ByE3VEEpczj3xLVa.cjs} +1 -1
  9. package/browser/cjs/{BNyVm7np2bfgLvot.cjs → C70cMil2r-R9L7x8.cjs} +3 -3
  10. package/browser/cjs/{CJQdEaRRBvm3gCqh.cjs → CLx2YONMFeXbGBO3.cjs} +1 -1
  11. package/browser/cjs/{ckZ4F6Ezl3aCnh5Z.cjs → C_V7M1p_CSqFgZ5C.cjs} +3 -3
  12. package/browser/cjs/{BkCmVm6sA_avib9h.cjs → CaqQouPOAX3k7acG.cjs} +2 -2
  13. package/browser/cjs/{B5eQzk5WyXy8IAA8.cjs → ClDyjEAo5O3N7VH4.cjs} +4 -4
  14. package/browser/cjs/{CKF-dWfZku6ebHzj.cjs → Co714rETH_sBPMIE.cjs} +2 -2
  15. package/browser/cjs/{D6MmQYTV_-2r6TNA.cjs → D5lC4NJu4zIU1Zs7.cjs} +4 -4
  16. package/browser/cjs/{2OSBl2r7IttrCdtA.cjs → Dd3jhRCtgjzn-Q_j.cjs} +1 -1
  17. package/browser/cjs/{CYlWk3JZne2DVAvj.cjs → Dw-60Ix8trelSf49.cjs} +2 -2
  18. package/browser/cjs/{CMQnksVdFNTGCcuL.cjs → ERubX2VhTgExTjPs.cjs} +1 -1
  19. package/browser/cjs/{B1SUaFgnsimk42bG.cjs → HU2wyYTngkzRIfcp.cjs} +2 -2
  20. package/browser/cjs/{Dsf7iNkpZ-XRvkri.cjs → IJjqthMv8sYE3zk5.cjs} +2 -2
  21. package/browser/cjs/{Dt-_lF8cbqIQeFDT.cjs → Mkgw7-OjsOuATlTu.cjs} +2 -2
  22. package/browser/cjs/{CTVwwijxWyTj1-To.cjs → hNe2uQuNlEZUxHVc.cjs} +1 -1
  23. package/browser/cjs/index.cjs +2 -2
  24. package/browser/cjs/{BBB1d8xHkY7ltQWw.cjs → omB-b0WJWPLOvoDW.cjs} +2 -2
  25. package/browser/cjs/{DtfIBBSWwGnFn5da.cjs → r3IRuRCfr7z3EIua.cjs} +1 -1
  26. package/browser/cjs/y6pSQIuEtIXm0Nrb.cjs +6 -0
  27. package/browser/esm/{dyvLjt-D32wPaGoj.mjs → BAg5b-CxAJZIccnx.mjs} +2 -2
  28. package/browser/esm/{CvzuJmImMn0DC78K.mjs → BGDtHuaoSHSUbpFS.mjs} +40 -40
  29. package/browser/esm/{B9JJu0VnIIYWT5lt.mjs → BnJG8TC71fG1mf91.mjs} +3 -3
  30. package/browser/esm/{B-rFSfciMrAt40UW.mjs → BxSZJMB3FJ6E3VQm.mjs} +1 -1
  31. package/browser/esm/{COZ6r5iZ8TyK00AP.mjs → BzYtHnJ9YtmP06qB.mjs} +1 -1
  32. package/browser/esm/{DAABl4IjtZoiB_ZM.mjs → CACmHB-fbLy04wZd.mjs} +2 -2
  33. package/browser/esm/{DWhxo1LUgYMKPIl6.mjs → CBktOJulH0O7hLGQ.mjs} +8 -8
  34. package/browser/esm/{Bm90soyGjT9Iu1LC.mjs → CCTPmbQSUB0QnmRa.mjs} +2 -2
  35. package/browser/esm/{D85IfpCrfIBFDqe8.mjs → CMc3J0D7OFGYJ-c9.mjs} +2 -2
  36. package/browser/esm/CSA6yBKvhJGmIb1K.mjs +84 -0
  37. package/browser/esm/{DRnTwfoTxrtXBFC7.mjs → CYsNgnaP27Wh2Sp0.mjs} +1 -1
  38. package/browser/esm/{CvsYx4oxcqsUUtrr.mjs → ChqC2YqQOdxyO-yL.mjs} +1 -1
  39. package/browser/esm/{Cbz-BdHkkb_IX1IO.mjs → CwY4b2WKnvnRRk9n.mjs} +4 -4
  40. package/browser/esm/{DrGVTfUVlughL_d0.mjs → D1Upf6elHEvN6BvD.mjs} +1 -1
  41. package/browser/esm/DGQh7NK1O5vxTFbY.mjs +43 -0
  42. package/browser/esm/{BQQcYbNIADI7dSX4.mjs → DQZnd1NQGxJbVV61.mjs} +2 -2
  43. package/browser/esm/{DOtIN-2juYEPtB8A.mjs → DSyt7euUXqyQE6wJ.mjs} +4 -4
  44. package/browser/esm/{kag30q_f2OyzNEpu.mjs → Dnlx2SfcuqIfXAuA.mjs} +1 -1
  45. package/browser/esm/{B_GtXHanCbWYSw3u.mjs → DtrcnJnkGUDsjn70.mjs} +1 -1
  46. package/browser/esm/{D7VfJjp49e_MDYZN.mjs → Epq0t9gZ5n9jR9fk.mjs} +2 -2
  47. package/browser/esm/{qnS7YH5ry4bwFwmH.mjs → Ra0uzwzBLLZ-3x5M.mjs} +1 -1
  48. package/browser/esm/{CHo7Pe-qLRr6D7Zb.mjs → VA1ZILAJsv7M5eeq.mjs} +12 -12
  49. package/browser/esm/{BJiFVIVZgstircY0.mjs → WY7bB02qrit-yNWs.mjs} +9079 -8988
  50. package/browser/esm/index.mjs +16 -16
  51. package/browser/esm/{wk6kyK0HvQWZcF9v.mjs → jh3hpFpR0p1T4JLc.mjs} +7 -7
  52. package/browser/esm/{IW0FN0JJihUjmUhl.mjs → q1N22YChJlGT72Pc.mjs} +2 -2
  53. package/licenses/dependencies.txt +7 -7
  54. package/node/esm/{DyLBbEMRFc3oCumP.mjs → 7P6cCNWpeCh60raM.mjs} +2 -2
  55. package/node/esm/{DwU05hEZ7gmV6D81.mjs → 7pybVbMMrYvkgqo9.mjs} +2 -2
  56. package/node/esm/{BMwY3wpsb5LC-oha.mjs → B8JB14t2M1ROyBkd.mjs} +1 -1
  57. package/node/esm/{Bjq64rdekFLv2Pk6.mjs → BAETN9DFz0tUoXIp.mjs} +10 -10
  58. package/node/esm/{DOyVcSa6UGUQpjJ8.mjs → BN1OHyhHhXzVvWHA.mjs} +12 -12
  59. package/node/esm/BWAaL8-EYBs6vY6s.mjs +78 -0
  60. package/node/esm/{CN_9EpYFfSahI0tk.mjs → BhUbhNqcdaTWybXe.mjs} +27 -27
  61. package/node/esm/{Bt5SOQDsxPC-egr0.mjs → BjeTLq8pChIWnYWi.mjs} +5 -5
  62. package/node/esm/{hYDFyrnl76Q8TbVg.mjs → BkyFc92-aUY-wmW4.mjs} +4 -4
  63. package/node/esm/{CkG4RfZYIEpgMYHF.mjs → C0LHsgaW5_sBdiDi.mjs} +84 -84
  64. package/node/esm/{D37x0J7Pp7Ovk7U6.mjs → C6X-zKtwMSEFUmHG.mjs} +1 -1
  65. package/node/esm/{CVcSQEeEQOVzGI-N.mjs → CATzhyyc6fqHMLUL.mjs} +1 -1
  66. package/node/esm/{SDYCTfAbHCT1NUVT.mjs → CCNbV253HUVpRz3U.mjs} +7 -7
  67. package/node/esm/{BTyx75rKO81NBrpD.mjs → C__9KMBW0m5KFw3m.mjs} +2 -2
  68. package/node/esm/{DZTAP_s1UBqFpZWn.mjs → D6zrNfT4CrAssYik.mjs} +1 -1
  69. package/node/esm/{qTHmpgXiWFDs-DpN.mjs → DCjKIE1BmIXBswF0.mjs} +1 -1
  70. package/node/esm/{C-K5UNI5JYn9db2u.mjs → DCr306y2KVQnDJ7Q.mjs} +6 -6
  71. package/node/esm/{DCqwwPMoosi5CmNI.mjs → DNHrDFkT_y0MPSWZ.mjs} +27 -27
  72. package/node/esm/{BwhDUQgAy49WUvzS.mjs → DT7b6dvdVukPKg4l.mjs} +4 -4
  73. package/node/esm/{DET5hZx0KEr6Xvkf.mjs → DgTOFZPvhbvehrEy.mjs} +2 -2
  74. package/node/esm/{CfC4Y9itv3zxli6a.mjs → DtR80dy_xh4e2mfQ.mjs} +1 -1
  75. package/node/esm/{DNg39nLT0gHqmPlz.mjs → XxfPUjXZVLZfzpYZ.mjs} +1 -1
  76. package/node/esm/{BKWvOu_IeRMuC8Xk.mjs → gtQdInhawjIRtXyg.mjs} +2 -2
  77. package/node/esm/index.mjs +4000 -3897
  78. package/package.json +8 -8
  79. package/types/index.d.ts +50 -45
  80. package/browser/cjs/AQdyOmNsNjlI3zZX.cjs +0 -6
  81. package/browser/cjs/B50pi_DZlxL44FZa.cjs +0 -87
  82. package/browser/cjs/BpriOx_ASGcmQgAv.cjs +0 -6
  83. package/browser/cjs/Clxk_WuA_PRn6KW9.cjs +0 -12
  84. package/browser/esm/D5U2mNtg-sHAxwUo.mjs +0 -80
  85. package/browser/esm/DivcgoJCzXwVgCcg.mjs +0 -43
  86. package/node/esm/2eYi7rphLL5H13FB.mjs +0 -74
@@ -1,8 +1,8 @@
1
1
  (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode("._sheetxl-reset_ods65_1{display:block;margin:0;padding:0;line-height:normal}._sheetxl-reset_ods65_1 table,._sheetxl-reset_ods65_1 thead,._sheetxl-reset_ods65_1 tbody,._sheetxl-reset_ods65_1 tfoot,._sheetxl-reset_ods65_1 tr,._sheetxl-reset_ods65_1 th,._sheetxl-reset_ods65_1 td{display:block;width:auto;height:auto;margin:0;padding:0;border:none;border-collapse:inherit;border-spacing:0;border-color:inherit;vertical-align:inherit;text-align:left;font-weight:inherit;-webkit-border-horizontal-spacing:0;-webkit-border-vertical-spacing:0}._sheetxl-reset_ods65_1 th,._sheetxl-reset_ods65_1 td{display:inline}html{color:initial}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4{fill:currentColor}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .activeColor{fill:var(--sxl-color-active)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .background{fill:var(--sxl-app-color-background)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .grey{fill:var(--sxl-app-color-grey)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .highContrast{fill:var(--sxl-app-color-high)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .info{fill:var(--sxl-app-color-info)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .info.light{fill:var(--sxl-app-color-info-light)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .info.dark{fill:var(--sxl-app-color-info-dark)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .secondary{fill:var(--sxl-app-color-secondary)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .secondary.light{fill:var(--sxl-app-color-secondary-light)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .secondary.dark{fill:var(--sxl-app-color-secondary-dark)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .success{fill:var(--sxl-app-color-success)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .success.light{fill:var(--sxl-app-color-success-light)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .success.dark{fill:var(--sxl-app-color-success-dark)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .warning{fill:var(--sxl-app-color-warning)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .warning .light{fill:var(--sxl-app-color-warning-light)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .warning .dark{fill:var(--sxl-app-color-warning-dark)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .error{fill:var(--sxl-app-color-error)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .error .light{fill:var(--sxl-app-color-error-light)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .error .dark{fill:var(--sxl-app-color-error-dark)}._sheetxl-workbook_1j3lu_5{display:flex;position:relative;overflow:hidden;flex-direction:column;width:100%;height:100%;outline:none}._sheetxl-workbook_1j3lu_5 .splitPane .styled-resizer{background-color:var(--sxl-app-color-grey, grey)}._sheetxl-workbook_1j3lu_5 .splitPane .styled-resizer:hover,._sheetxl-workbook_1j3lu_5 .splitPane.dragging .styled-resizer{background-color:var(--sxl-app-color-primary, blue)}._card_1a398_7{width:100%}._actionRoot_1a398_11{padding:8px 8px 8px 16px;justify-content:space-between}._icons_1a398_16{margin-left:auto;display:flex;align-items:center}._expand_1a398_22{padding:8px;transform:rotate(0);color:#d32f2f;transition:all .2s ease-in-out}._expandOpen_1a398_29{transform:rotate(180deg)}._stackTraceContainer_1a398_33{padding:16px}._paper_1a398_37{background-color:#fff;padding:16px}._checkIcon_1a398_42{font-size:20px;padding-right:4px}._button_1a398_47{padding:0;text-transform:none}")),document.head.appendChild(e)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
2
2
  import { LicenseManager as t } from "@sheetxl/sdk";
3
- import { A as n, b3 as s, aA as m, a$ as r, b1 as l, aG as u, b5 as d, aO as C, b4 as b, b2 as B, b6 as i, aJ as S, aX as k, aH as p, be as T, aM as c, bf as P, aD as F, aP as W, aE as h, bc as y, aC as I, I as M, aw as g, aI as w, aY as f, bt as x, aB as A, bd as O, ai as R, aF as v, aS as E, aV as N, aW as V, a_ as z, aj as H, bs as U, bu as D, br as G, bh as L, bi as j, bb as Q, bj as Z, aL as _, bp as q, ba as J, b0 as K, bg as X, ak as Y, al as $, aQ as aa, ay as oa, az as ta, w as ea, b7 as na, b8 as sa, b9 as ma, aR as ra, aN as la, ax as ua, aK as da, aT as Ca, aZ as ba, bk as Ba, P as ia, W as Sa, bl as ka, O as pa, aU as Ta, bq as ca, bo as Pa, bn as Fa, t as Wa, bm as ha } from "./BJiFVIVZgstircY0.mjs";
3
+ import { A as n, b3 as s, aA as m, a$ as r, b1 as l, aG as u, b5 as d, aO as C, b4 as b, b2 as B, b6 as i, aJ as S, aX as k, aH as p, be as T, aM as c, bf as F, aD as P, aP as W, aE as h, bc as y, aC as I, B as M, aw as g, aI as w, aY as f, bt as x, aB as A, bd as R, ai as v, aF as E, aS as N, aV as O, aW as V, a_ as z, aj as H, bs as U, bu as D, br as G, bh as L, bi as j, bb as J, bj as Q, aL as Z, bp as _, ba as q, b0 as K, bg as X, ak as Y, al as $, aQ as aa, ay as oa, az as ta, p as ea, b7 as na, b8 as sa, b9 as ma, aR as ra, aN as la, ax as ua, aK as da, aT as Ca, aZ as ba, bk as Ba, J as ia, W as Sa, bl as ka, I as pa, aU as Ta, bq as ca, bo as Fa, bn as Pa, o as Wa, bm as ha } from "./WY7bB02qrit-yNWs.mjs";
4
4
  /**
5
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.18
5
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.20
6
6
  *
7
7
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
8
8
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -24,8 +24,8 @@ export {
24
24
  p as FillCommandButton,
25
25
  T as FilterColumnMenu,
26
26
  c as FilterCommandButton,
27
- P as Filters,
28
- F as FindCommandButton,
27
+ F as Filters,
28
+ P as FindCommandButton,
29
29
  W as FontFamilyCommandButton,
30
30
  h as FontSizeCommandButton,
31
31
  y as FormulaBar,
@@ -37,11 +37,11 @@ export {
37
37
  x as InsertScriptCommandButton,
38
38
  t as LicenseManager,
39
39
  A as MergeCommandButton,
40
- O as NamedCollectionEditor,
41
- R as NamedInput,
42
- v as NumberFormatCommandButton,
43
- E as PasteCommandButton,
44
- N as PresetCellStylesCommandButton,
40
+ R as NamedCollectionEditor,
41
+ v as NamedInput,
42
+ E as NumberFormatCommandButton,
43
+ N as PasteCommandButton,
44
+ O as PresetCellStylesCommandButton,
45
45
  V as PresetTableStylesCommandButton,
46
46
  z as QuickFormulaSumCommandPopupButton,
47
47
  H as RangeInput,
@@ -50,11 +50,11 @@ export {
50
50
  G as ScriptWorkspace,
51
51
  L as SheetTab,
52
52
  j as SheetTabMenu,
53
- Q as SheetZoomScale,
54
- Z as SheetsAllMenu,
55
- _ as SortFilterCommandButton,
56
- q as StandaloneWorkbook,
57
- J as StatusBar,
53
+ J as SheetZoomScale,
54
+ Q as SheetsAllMenu,
55
+ Z as SortFilterCommandButton,
56
+ _ as StandaloneWorkbook,
57
+ q as StatusBar,
58
58
  K as StyledStrokeIcon,
59
59
  X as TableStyleCanvasPreview,
60
60
  Y as TableStyleOptionsPanel,
@@ -79,8 +79,8 @@ export {
79
79
  pa as WorkbookTitle,
80
80
  Ta as WorkbookViewCommandButton,
81
81
  ca as _WorkbookIO,
82
- Pa as createGridStyleFromMUITheme,
83
- Fa as defaultNewWorkbook,
82
+ Fa as createGridStyleFromMUITheme,
83
+ Pa as defaultNewWorkbook,
84
84
  Wa as useResolvedThemeMode,
85
85
  ha as useWorkbookCommands
86
86
  };
@@ -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 "./BJiFVIVZgstircY0.mjs";
2
+ import { Y as cs } from "./WY7bB02qrit-yNWs.mjs";
3
3
  /**
4
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.18
4
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.20
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("./kag30q_f2OyzNEpu.mjs"), m = import("./B9JJu0VnIIYWT5lt.mjs");
900
+ const { password: s, onWarning: o, constructorOptions: n = {}, ...a } = t ?? {}, c = import("./Dnlx2SfcuqIfXAuA.mjs"), m = import("./BnJG8TC71fG1mf91.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("./B-rFSfciMrAt40UW.mjs").then((u) => u.i));
907
+ v || (b = import("./BxSZJMB3FJ6E3VQm.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,8 +1311,8 @@ 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("./DRnTwfoTxrtXBFC7.mjs");
1315
- global.ReadableStream = Z;
1314
+ const { ReadableStream: Z } = await import("./CYsNgnaP27Wh2Sp0.mjs");
1315
+ globalThis.ReadableStream = Z;
1316
1316
  } else console.warn("Browser does not support ReadableStream; consider loading a polyfill.");
1317
1317
  })();
1318
1318
  const te = new TextDecoder("utf-8");
@@ -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("./kag30q_f2OyzNEpu.mjs"), o = await i.toJSON(!0), n = s.utils.book_new();
1412
+ const s = await import("./Dnlx2SfcuqIfXAuA.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,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 "./BJiFVIVZgstircY0.mjs";
4
+ import { T as f, a1 as U, a5 as l } from "./WY7bB02qrit-yNWs.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.3.18
7
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.20
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,5 +1,5 @@
1
1
  Name: @sheetxl/utils-mui
2
- Version: 0.3.18
2
+ Version: 0.3.20
3
3
  License: SEE LICENSE IN <LICENSE>
4
4
  Private: false
5
5
  Description: Utilities MUI - Utilities for MUI Components needed for all SheetXL components.
@@ -148,7 +148,7 @@ Licensed under the **MIT** license
148
148
  ---
149
149
 
150
150
  Name: @sheetxl/react
151
- Version: 0.3.18
151
+ Version: 0.3.20
152
152
  License: SEE LICENSE IN <LICENSE>
153
153
  Private: false
154
154
  Description: React - React components needed to build advanced grid and spreadsheet UIs.
@@ -434,7 +434,7 @@ terms above.
434
434
  ---
435
435
 
436
436
  Name: @sheetxl/io
437
- Version: 0.3.18
437
+ Version: 0.3.20
438
438
  License: SEE LICENSE IN <LICENSE>
439
439
  Private: false
440
440
  Description: IO - Import/Export Libraries for SheetXL.
@@ -526,7 +526,7 @@ SOFTWARE.
526
526
  ---
527
527
 
528
528
  Name: @babel/runtime
529
- Version: 7.27.6
529
+ Version: 7.28.2
530
530
  License: MIT
531
531
  Private: false
532
532
  Description: babel's modular runtime helpers
@@ -880,7 +880,7 @@ License Copyright:
880
880
  ---
881
881
 
882
882
  Name: @sheetxl/utils
883
- Version: 0.3.18
883
+ Version: 0.3.20
884
884
  License: SEE LICENSE IN <LICENSE>
885
885
  Private: false
886
886
  Description: Utils - Utilities used by most SheetXL components.
@@ -902,7 +902,7 @@ https://www.sheetxl.com/licensing-pricing
902
902
  ---
903
903
 
904
904
  Name: @sheetxl/utils-react
905
- Version: 0.3.18
905
+ Version: 0.3.20
906
906
  License: SEE LICENSE IN <LICENSE>
907
907
  Private: false
908
908
  Description: Utils React - Utilities for React capabilities needed for all SheetXL components.
@@ -993,7 +993,7 @@ SOFTWARE.
993
993
  ---
994
994
 
995
995
  Name: @sheetxl/grid-react
996
- Version: 0.3.18
996
+ Version: 0.3.20
997
997
  License: SEE LICENSE IN <LICENSE>
998
998
  Private: false
999
999
  Description: Grid - Advanced data grid component for React
@@ -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.20
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, o as u } from "./index.mjs";
11
+ import { P as c, x 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.3.18
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.20
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.
@@ -7,7 +7,7 @@
7
7
  import { jsx as e, jsxs as t } from "react/jsx-runtime";
8
8
  import { memo as a, useMemo as n, useState as l, useCallback as o } from "react";
9
9
  import { Box as i } from "@mui/material";
10
- import { P as r, o as s, NamedInput as d, RangeInput as p } from "./index.mjs";
10
+ import { P as r, x as s, NamedInput as d, RangeInput as p } from "./index.mjs";
11
11
  const u = ["Ok", "Cancel"], c = a((a2) => {
12
12
  const { value: c2 = null, context: m, onOption: g, onValidateOption: x, onDone: f, onUpdate: N, options: y = u, defaultOption: T = y?.[0], cancelOption: O = "Cancel", sx: V, ...h } = a2, v = n(() => m?.getNames().findValidName("Range1"), []), C = n(() => {
13
13
  if (!c2) return true;
@@ -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.20
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.20
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.
@@ -9,33 +9,33 @@ import { memo as o, forwardRef as n, useState as a } from "react";
9
9
  import e from "clsx";
10
10
  import { alpha as i, getOverlayAlpha as p } from "@mui/material/styles/index.js";
11
11
  import { Box as r, FormControl as s, TextField as l } from "@mui/material";
12
- import { m as c, n as u, o as d } from "./index.mjs";
12
+ import { v as c, w as u, x as d } from "./index.mjs";
13
13
  const m = ["Input"], g = o(n((o2, n2) => {
14
- const { initialValue: g2 = "", onOption: f, onValidateOption: h, onInputOption: x, onValidateInputOption: y, onDone: O, inputProps: w, inputLabel: T, inputType: F, inputPlaceHolder: I, options: P = m, autoFocusSel: v = ".autoFocus", cancelOption: C, defaultOption: b = P?.[0], ...k } = o2, [V, j] = a(false), [D, B] = a(g2), [H, L] = a(""), [M, N] = a(true), S = c(async (t2, o3) => {
14
+ const { initialValue: g2 = "", onOption: f, onValidateOption: x, onInputOption: h, onValidateInputOption: y, onDone: O, inputProps: w, inputLabel: T, inputType: v, inputPlaceHolder: F, options: I = m, autoFocusSel: P = ".autoFocus", cancelOption: C, defaultOption: b = I?.[0], ...k } = o2, [V, j] = a(false), [D, B] = a(g2), [H, L] = a(""), [M, N] = a(true), S = c(async (t2, o3) => {
15
15
  if (!y) return true;
16
16
  const n3 = await y?.(t2, o3);
17
17
  L(n3?.message ?? "");
18
18
  const a2 = n3?.valid ?? true;
19
19
  return N(a2), a2;
20
20
  }, [y]), $ = c(async (t2) => {
21
- x?.(D, t2);
22
- }, [D, x, O, f, C, b]), z = c(async (t2) => {
21
+ h?.(D, t2);
22
+ }, [D, h, O, f, C, b]), z = c(async (t2) => {
23
23
  t2.keyCode === u.Enter && await S?.(D, null);
24
24
  }, [D, $]), E = c((t2) => {
25
25
  B(t2.target.value), S?.(t2.target.value, null);
26
- }, [h]), K = c(async (t2) => {
26
+ }, [x]), K = c(async (t2) => {
27
27
  let o3 = await S(D, t2);
28
28
  try {
29
29
  false !== o3 && (o3 = await S(D, t2));
30
30
  } catch (t3) {
31
31
  }
32
32
  return o3 ?? true;
33
- }, [D, h]);
34
- return t(d, { options: P, onDone: O, onOption: (t2, o3) => {
33
+ }, [D, x]);
34
+ return t(d, { options: I, onDone: O, onOption: (t2, o3) => {
35
35
  o3 || $(t2);
36
- }, onValidateOption: K, cancelOption: C, defaultOption: b, autoFocusSel: v, ...k, children: t(r, { sx: { paddingTop: (t2) => t2.spacing(1), paddingBottom: (t2) => t2.spacing(0) }, children: t(s, { sx: { paddingTop: (t2) => t2.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: t(l, { onFocus: (t2) => {
36
+ }, onValidateOption: K, cancelOption: C, defaultOption: b, autoFocusSel: P, ref: n2, ...k, children: t(r, { sx: { paddingTop: (t2) => t2.spacing(1), paddingBottom: (t2) => t2.spacing(0) }, children: t(s, { sx: { paddingTop: (t2) => t2.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: t(l, { onFocus: (t2) => {
37
37
  V || t2.target?.select(), j(true);
38
- }, type: F, label: T, helperText: H || " ", sx: { width: "100%", "& .MuiFormHelperText-root": { marginTop: (t2) => t2.spacing(0.5), color: M ? void 0 : "error.main" } }, InputLabelProps: { shrink: true }, InputProps: { inputProps: { placeholder: I, spellCheck: false, autoComplete: "off", ...w, className: e("autoFocus", w?.className), sx: { paddingTop: (t2) => t2.spacing(1.25), paddingBottom: (t2) => t2.spacing(0.75), backgroundImage: `linear-gradient(${i("#fff", p(5))}, ${i("#fff", p(5))})` } } }, value: D, onChange: E, onKeyDown: z, onContextMenu: (t2) => {
38
+ }, type: v, label: T, helperText: H || " ", sx: { width: "100%", "& .MuiFormHelperText-root": { marginTop: (t2) => t2.spacing(0.5), color: M ? void 0 : "error.main" } }, InputLabelProps: { shrink: true }, InputProps: { inputProps: { placeholder: F, spellCheck: false, autoComplete: "off", ...w, className: e("autoFocus", w?.className), sx: { paddingTop: (t2) => t2.spacing(1.25), paddingBottom: (t2) => t2.spacing(0.75), backgroundImage: `linear-gradient(${i("#fff", p(5))}, ${i("#fff", p(5))})` } } }, value: D, onChange: E, onKeyDown: z, onContextMenu: (t2) => {
39
39
  t2.stopPropagation();
40
40
  } }) }) }) });
41
41
  }));
@@ -1,30 +1,30 @@
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.20
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 r, IconButton as o, FormControlLabel as a, Checkbox as l, Typography as d, TableCell as s, DialogContent as c } from "@mui/material";
9
- import { e as h, T as p, a1 as m, H as u } from "./index.mjs";
9
+ import { e as h, z as p, a1 as m, A as u } from "./index.mjs";
10
10
  import g, { useState as f, useMemo as x, useEffect as b } from "react";
11
11
  import y from "clsx";
12
12
  import { alpha as w, getOverlayAlpha as R, styled as C } from "@mui/material/styles/index.js";
13
13
  import { Close as k } from "@mui/icons-material";
14
14
  import { AutoSizer as v, Table as $, Column as D } from "react-virtualized";
15
- const z = "ReactVirtualizedDemo-flexContainer", H = "ReactVirtualizedDemo-tableRow", I = "ReactVirtualizedDemo-tableRowHover", K = "ReactVirtualizedDemo-tableCell", S = "ReactVirtualizedDemo-noClick";
15
+ const z = "ReactVirtualizedDemo-flexContainer", I = "ReactVirtualizedDemo-tableRow", K = "ReactVirtualizedDemo-tableRowHover", H = "ReactVirtualizedDemo-tableCell", S = "ReactVirtualizedDemo-noClick";
16
16
  class N extends g.PureComponent {
17
17
  constructor() {
18
18
  super(...arguments), this.getRowClassName = ({ index: e2 }) => {
19
19
  const { onRowClick: t2 } = this.props;
20
- return y(H, z, { [I]: -1 !== e2 && null != t2 });
20
+ return y(I, z, { [K]: -1 !== e2 && null != t2 });
21
21
  }, this.cellRenderer = ({ cellData: e2, columnIndex: n2, dataKey: i2 }) => {
22
22
  const { columns: r2, rowHeight: o2, onRowClick: a2 } = this.props;
23
23
  let l2 = e2, d2 = { height: o2, paddingRight: "2px", paddingTop: "0px", paddingBottom: "0px" };
24
- return "shortcut" === i2 ? l2 = m(e2) : "description" === i2 && (d2 = { ...d2, fontSize: ".75rem", display: "block", paddingTop: "4px", whiteSpace: "pre-line" }), t(s, { component: "div", className: y(K, z, { [S]: null == a2 }), variant: "body", style: d2, align: null != n2 && r2[n2].numeric ? "right" : "left", children: l2 });
24
+ return "shortcut" === i2 ? l2 = m(e2) : "description" === i2 && (d2 = { ...d2, fontSize: ".75rem", display: "block", paddingTop: "4px", whiteSpace: "pre-line" }), t(s, { component: "div", className: y(H, z, { [S]: null == a2 }), variant: "body", style: d2, align: null != n2 && r2[n2].numeric ? "right" : "left", children: l2 });
25
25
  }, this.headerRenderer = ({ label: e2, columnIndex: n2 }) => {
26
26
  const { headerHeight: i2, columns: r2 } = this.props;
27
- return t(s, { component: "div", className: y(K, z, S), variant: "head", sx: { height: i2, backgroundColor: (e3) => e3.palette.grey[300] }, align: r2[n2].numeric ? "right" : "left", children: t("span", { children: e2 }) });
27
+ return t(s, { component: "div", className: y(H, z, S), variant: "head", sx: { height: i2, backgroundColor: (e3) => e3.palette.grey[300] }, align: r2[n2].numeric ? "right" : "left", children: t("span", { children: e2 }) });
28
28
  };
29
29
  }
30
30
  static {
@@ -38,7 +38,7 @@ class N extends g.PureComponent {
38
38
  }) }) });
39
39
  }
40
40
  }
41
- const T = C(N)(({ theme: e2 }) => ({ "& .ReactVirtualized__Table__headerRow": { ..."rtl" === e2.direction && { paddingLeft: "0 !important" }, ..."rtl" !== e2.direction && { paddingRight: void 0 } }, "& .ReactVirtualized__Table__Grid": { outline: "none" }, [`& .${z}`]: { display: "flex", alignItems: "center", boxSizing: "border-box" }, [`& .${H}`]: { cursor: "pointer" }, [`& .${I}`]: { "&:hover:not([disabled])": { backgroundColor: e2.palette.grey[200] } }, [`& .${K}`]: { flex: 1 }, [`& .${S}`]: { cursor: "initial" } }));
41
+ const T = C(N)(({ theme: e2 }) => ({ "& .ReactVirtualized__Table__headerRow": { ..."rtl" === e2.direction && { paddingLeft: "0 !important" }, ..."rtl" !== e2.direction && { paddingRight: void 0 } }, "& .ReactVirtualized__Table__Grid": { outline: "none" }, [`& .${z}`]: { display: "flex", alignItems: "center", boxSizing: "border-box" }, [`& .${I}`]: { cursor: "pointer" }, [`& .${K}`]: { "&:hover:not([disabled])": { backgroundColor: e2.palette.grey[200] } }, [`& .${H}`]: { flex: 1 }, [`& .${S}`]: { cursor: "initial" } }));
42
42
  function _(s2) {
43
43
  const { commands: c2, ...m2 } = s2, [u2, g2] = f(false), [y2, C2] = f(""), v2 = x(() => {
44
44
  let e2 = c2.getAllCommands();
@@ -58,22 +58,22 @@ function _(s2) {
58
58
  D2(new e2.default(v2, { threshold: 0, ignoreLocation: true, keys: ["label", "description"] }));
59
59
  });
60
60
  }, [v2]);
61
- const [z2, H2] = f(v2), I2 = y2.length > 0 && 0 === z2.length;
61
+ const [z2, I2] = f(v2), K2 = y2.length > 0 && 0 === z2.length;
62
62
  b(() => {
63
63
  $2 && h.debounce(() => {
64
- if (0 === y2.trim().length) return void H2(v2);
64
+ if (0 === y2.trim().length) return void I2(v2);
65
65
  const e2 = $2.search(y2.trim()), t2 = new Array(e2.length);
66
66
  for (let n2 = 0; n2 < e2.length; n2++) t2[n2] = e2[n2].item;
67
- H2(t2);
67
+ I2(t2);
68
68
  }, 90)();
69
69
  }, [$2, y2]);
70
- return e(n, { style: { height: 440, width: "100%", display: "flex", flexDirection: "column" }, ...m2, children: [e(n, { sx: { display: "flex", alignItems: "center", justifyContent: "end", marginBottom: (e2) => e2.spacing(2), color: (e2) => e2.palette.text.secondary }, children: [t(i, { InputProps: { sx: { backgroundImage: `linear-gradient(${w("#fff", R(5))}, ${w("#fff", R(5))})` }, inputProps: { className: "input", autoFocus: true, spellCheck: false, placeholder: "Type to search key bindings", autoComplete: "off", sx: { paddingTop: (e2) => e2.spacing(1), paddingBottom: (e2) => e2.spacing(1) } }, endAdornment: t(r, { sx: { opacity: y2.length > 0 ? 1 : 0, display: y2.length > 0 ? "flex" : "none" }, position: "end", children: t(o, { "aria-label": "clear search", onClick: () => C2(""), edge: "end", children: t(k, {}) }) }) }, sx: { flex: "1 1 40%", marginRight: (e2) => e2.spacing(1), "& .MuiOutlinedInput-notchedOutline": { borderColor: (e2) => I2 ? `${e2.palette.error.main} !important` : void 0 }, "& .MuiInputLabel-outlined": { color: (e2) => I2 ? `${e2.palette.error.main} !important` : void 0 } }, value: y2, onChange: (e2) => {
70
+ return e(n, { style: { height: 440, width: "100%", display: "flex", flexDirection: "column" }, ...m2, children: [e(n, { sx: { display: "flex", alignItems: "center", justifyContent: "end", marginBottom: (e2) => e2.spacing(2), color: (e2) => e2.palette.text.secondary }, children: [t(i, { InputProps: { sx: { backgroundImage: `linear-gradient(${w("#fff", R(5))}, ${w("#fff", R(5))})` }, inputProps: { className: "input", autoFocus: true, spellCheck: false, placeholder: "Type to search key bindings", autoComplete: "off", sx: { paddingTop: (e2) => e2.spacing(1), paddingBottom: (e2) => e2.spacing(1) } }, endAdornment: t(r, { sx: { opacity: y2.length > 0 ? 1 : 0, display: y2.length > 0 ? "flex" : "none" }, position: "end", children: t(o, { "aria-label": "clear search", onClick: () => C2(""), edge: "end", children: t(k, {}) }) }) }, sx: { flex: "1 1 40%", marginRight: (e2) => e2.spacing(1), "& .MuiOutlinedInput-notchedOutline": { borderColor: (e2) => K2 ? `${e2.palette.error.main} !important` : void 0 }, "& .MuiInputLabel-outlined": { color: (e2) => K2 ? `${e2.palette.error.main} !important` : void 0 } }, value: y2, onChange: (e2) => {
71
71
  C2(e2.target.value);
72
72
  }, onKeyDown: (e2) => {
73
73
  e2.which === p.Escape && y2.length > 0 && (C2(""), e2.stopPropagation(), e2.preventDefault());
74
74
  }, onContextMenu: (e2) => {
75
75
  e2.stopPropagation();
76
- } }), t(a, { sx: { flex: "1 1 60%" }, control: t(l, { checked: u2, onChange: () => g2(!u2) }), label: "Show commands without key bindings", labelPlacement: "start" })] }), t(n, { sx: { flex: "1 1 100%", borderRadius: (e2) => `${e2.shape.borderRadius}px`, border: (e2) => `solid ${e2.palette.divider} 1px`, paddingRight: "1px", overflow: "hidden", "* .MuiTableCell-head": { background: (e2) => e2.palette.background.paper, backgroundImage: `linear-gradient(${w("#fff", R(5))}, ${w("#fff", R(5))})` } }, children: t(T, { rowCount: z2.length, rowGetter: (e2) => z2[e2.index], columns: [{ width: 180, label: "Command", dataKey: "label" }, { width: 260, label: "Key Binding", dataKey: "shortcut" }, { width: 240, label: "Description", dataKey: "description", widthLess: 440 }] }) }), t(n, { sx: { display: "flex", flexShrink: "0", paddingLeft: (e2) => e2.spacing(1), paddingTop: (e2) => e2.spacing(1), paddingRight: (e2) => e2.spacing(1), userSelect: "none", justifyContent: "flex-end" }, children: t(d, { noWrap: true, component: "div", sx: { color: (e2) => I2 ? e2.palette.error.main : e2.palette.text.secondary }, children: `${0 === z2.length ? "No" : z2.length} shortcut key${1 === z2.length ? "" : "s"}${y2.length > 0 ? " found" : ""}` }) })] });
76
+ } }), t(a, { sx: { flex: "1 1 60%" }, control: t(l, { checked: u2, onChange: () => g2(!u2) }), label: "Show commands without key bindings", labelPlacement: "start" })] }), t(n, { sx: { flex: "1 1 100%", borderRadius: (e2) => `${e2.shape.borderRadius}px`, border: (e2) => `solid ${e2.palette.divider} 1px`, paddingRight: "1px", overflow: "hidden", "* .MuiTableCell-head": { background: (e2) => e2.palette.background.paper, backgroundImage: `linear-gradient(${w("#fff", R(5))}, ${w("#fff", R(5))})` } }, children: t(T, { rowCount: z2.length, rowGetter: (e2) => z2[e2.index], columns: [{ width: 180, label: "Command", dataKey: "label" }, { width: 260, label: "Key Binding", dataKey: "shortcut" }, { width: 240, label: "Description", dataKey: "description", widthLess: 440 }] }) }), t(n, { sx: { display: "flex", flexShrink: "0", paddingLeft: (e2) => e2.spacing(1), paddingTop: (e2) => e2.spacing(1), paddingRight: (e2) => e2.spacing(1), userSelect: "none", justifyContent: "flex-end" }, children: t(d, { noWrap: true, component: "div", sx: { color: (e2) => K2 ? e2.palette.error.main : e2.palette.text.secondary }, children: `${0 === z2.length ? "No" : z2.length} shortcut key${1 === z2.length ? "" : "s"}${y2.length > 0 ? " found" : ""}` }) })] });
77
77
  }
78
78
  const P = (e2) => {
79
79
  const { title: n2 = "Shortcut Keys", commands: i2, sx: r2, ...o2 } = e2;
@@ -0,0 +1,78 @@
1
+ /**
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.20
3
+ *
4
+ * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
+ * License: The license can be found at https://www.sheetxl.com/license.
6
+ */
7
+ import { Workbook as e } from "@sheetxl/sdk";
8
+ const r = async (e2, r2) => {
9
+ const t2 = await e2.toJSON(), n = r2?.whiteSpace ?? 0;
10
+ let o;
11
+ r2?.beforeWrite?.(e2, t2), o = 0 === n ? JSON.stringify(t2) : function(e3, r3 = 2) {
12
+ const t3 = [];
13
+ function n2(e4) {
14
+ const n3 = r3 * e4;
15
+ return void 0 === t3[n3] && (t3[n3] = " ".repeat(n3)), t3[n3];
16
+ }
17
+ return function e4(r4, t4, o2, i2) {
18
+ if (null == r4 || "object" != typeof r4) return JSON.stringify(r4);
19
+ const s2 = n2(t4), f = n2(t4 + 1);
20
+ if (Array.isArray(r4)) {
21
+ const n3 = r4.length;
22
+ if (0 === n3) return "[]";
23
+ if (0 !== o2) return JSON.stringify(r4);
24
+ let i3 = "[\n";
25
+ for (let s3 = 0; s3 < n3; s3++) i3 += f + e4(r4[s3], t4 + 1, o2 + 1, true), s3 < n3 - 1 && (i3 += ",\n");
26
+ return i3 += "\n" + s2 + "]", i3;
27
+ }
28
+ const a = Object.keys(r4), c = a.length;
29
+ if (0 === c) return "{}";
30
+ if (!(o2 < 2)) return JSON.stringify(r4);
31
+ let u = "{\n";
32
+ i2 || (o2 = 0);
33
+ for (let n3 = 0; n3 < c; n3++) {
34
+ const i3 = a[n3];
35
+ u += f + JSON.stringify(i3) + ": " + e4(r4[i3], t4 + 1, o2, false), n3 < c - 1 && (u += ",\n");
36
+ }
37
+ return u += "\n" + s2 + "}", u;
38
+ }(e3, 0, 0, false);
39
+ }(t2, n);
40
+ let i = new TextEncoder().encode(o).buffer;
41
+ const s = r2?.compress ?? true;
42
+ return s && (i = await async function(e3, r3 = "gzip") {
43
+ let t3;
44
+ e3 instanceof SharedArrayBuffer ? (t3 = new ArrayBuffer(e3.byteLength), new Uint8Array(t3).set(new Uint8Array(e3))) : t3 = e3;
45
+ const n2 = new ReadableStream({ start(e4) {
46
+ e4.enqueue(t3), e4.close();
47
+ } }), o2 = new CompressionStream(r3), i2 = n2.pipeThrough(o2);
48
+ return (await new Response(i2).blob()).arrayBuffer();
49
+ }(i, "string" == typeof s ? s : void 0)), i;
50
+ }, t = async (r2, t2) => {
51
+ let n = r2;
52
+ (function(e2) {
53
+ if (e2.byteLength < 4) return false;
54
+ const r3 = new Uint8Array(e2), t3 = { gzip: [31, 139], zip: [80, 75, 3, 4], bz2: [66, 90, 104], br: [206, 178, 207, 129] }, n2 = Object.keys(t3);
55
+ for (let e3 = 0; e3 < n2.length; e3++) {
56
+ const o2 = n2[e3], i2 = t3[o2];
57
+ let s2 = true;
58
+ for (let e4 = 0; e4 < i2.length; e4++) if (r3[e4] !== i2[e4]) {
59
+ s2 = false;
60
+ break;
61
+ }
62
+ if (s2) return o2;
63
+ }
64
+ return false;
65
+ })(n) && (n = await async function(e2, r3 = "gzip") {
66
+ let t3;
67
+ e2 instanceof SharedArrayBuffer ? (t3 = new ArrayBuffer(e2.byteLength), new Uint8Array(t3).set(new Uint8Array(e2))) : t3 = e2;
68
+ const n2 = new Blob([t3]).stream(), o2 = new DecompressionStream(r3), i2 = n2.pipeThrough(o2);
69
+ return (await new Response(i2).blob()).arrayBuffer();
70
+ }(n));
71
+ let o = new TextDecoder().decode(n);
72
+ const i = JSON.parse(o), s = { ...t2?.constructorOptions ?? {}, json: i };
73
+ return new e(s);
74
+ };
75
+ export {
76
+ t as fromBufferJSON,
77
+ r as toBufferJSON
78
+ };
@@ -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.20
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, Y as g, $ as m, P as p, H as h, NamedInput as u, RangeInput as x, p as f, TableStyleOptionsPanel as y, TableStylePreview as b, Z as w, q as S, t as C, a0 as N } from "./index.mjs";
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";
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), O = a(null), [E, A] = i((e2) => e2 + 1, 0), [M, { width: W }] = s();
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: W }] = s();
14
14
  g(H);
15
- const q = F ?? H.context(), V = q.table(), [Y, Z] = n(() => V ? q.getNames().getRanges(V.getRange()) : null), $ = l(() => V?.getName() ?? "", [V]);
16
- m(q.table(), { onAnchorCoordsChange(e2) {
17
- Z(q.getNames().getRanges(e2.getRange()));
15
+ const V = F ?? H.context(), Z = V.table(), [k, q] = n(() => Z ? V.getNames().getRanges(Z.getRange()) : null), G = l(() => Z?.getName() ?? "", [Z]);
16
+ m(V.table(), { onAnchorCoordsChange(e2) {
17
+ q(V.getNames().getRanges(e2.getRange()));
18
18
  }, onProtectedChange(e2) {
19
19
  A();
20
20
  } });
21
- const k = p((e2) => {
22
- q?.table().setName(e2);
23
- }, [q]), G = p((e2) => {
24
- q?.table().resize(e2.at(0));
25
- }, [q]);
26
- let J = null;
27
- return q.table() || (J = 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, { title: v2 ?? "Table Details", initialPosition: { y: "35" }, autoFocusSel: T, refWindow: O, onHide: R, onFocus: () => j(true), onBlur: (e2) => {
28
- O?.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: q.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: $, value: V?.getName() ?? "No table", onChangeInput: k, onValidate: (e2) => {
30
- V && V.getName().toLowerCase() === e2.toLowerCase() || q?.getNames().validateName(e2);
31
- }, disabled: V?.isProtected() ?? true, onFocus: (e2) => {
21
+ const J = p((e2) => {
22
+ V?.table().setName(e2);
23
+ }, [V]), K = p((e2) => {
24
+ V?.table().resize(e2.at(0));
25
+ }, [V]);
26
+ let Q = null;
27
+ return V.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, { title: v2 ?? "Table Details", initialPosition: { y: "35" }, autoFocusSel: T, refWindow: E, 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: V.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() || V?.getNames().validateName(e2);
31
+ }, disabled: Z?.isProtected() ?? true, onFocus: (e2) => {
32
32
  z || e2.target?.select(), L(true);
33
- } }), e(x, { formName: "range", value: Y, onChangeInput: G, resolvedAddress: q.getNames().getRanges.bind(q.getNames()), disabled: V?.isProtected() ?? true, onFocus: (e2) => {
33
+ } }), e(x, { formName: "range", value: k, onChangeInput: K, resolvedAddress: V.getNames().getRanges.bind(V.getNames()), disabled: Z?.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: V?.isProtected(), styleOptions: V?.getStyleOptions() ?? null, onStyleOptionsChange: (e2) => {
36
- V.updateStyleOptions(e2);
37
- }, showHeaderRow: V?.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: Z?.isProtected(), styleOptions: Z?.getStyleOptions() ?? null, onStyleOptionsChange: (e2) => {
36
+ Z.updateStyleOptions(e2);
37
+ }, showHeaderRow: Z?.getShowHeaders(), onShowHeaderRowChange: (e2) => {
38
38
  try {
39
- V.setShowHeaders(e2);
39
+ Z.setShowHeaders(e2);
40
40
  } catch (e3) {
41
41
  D.showError(e3);
42
42
  }
43
- }, showTotalRow: V?.getShowTotals(), onShowTotalRowChange: (e2) => {
43
+ }, showTotalRow: Z?.getShowTotals(), onShowTotalRowChange: (e2) => {
44
44
  try {
45
- V.setShowTotals(e2);
45
+ Z.setShowTotals(e2);
46
46
  } catch (e3) {
47
47
  D.showError(e3);
48
48
  }
49
- }, showFilterButton: V?.getFilter() ? V.getShowFilterButton() : null, onShowFilterButtonChange: (e2) => {
49
+ }, showFilterButton: Z?.getFilter() ? Z.getShowFilterButton() : null, onShowFilterButtonChange: (e2) => {
50
50
  try {
51
- V.setShowFilterButton(e2);
51
+ Z.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: V, styles: q.styles(), bodyStyle: q.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: V, icon: S(e(N, {})) }), e(w, { variant: C.Menuitem, commandState: V, command: B.getCommand("deleteTable"), icon: S(e(N, {})) })] })] })] }), J] }) });
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: V.styles(), bodyStyle: V.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] }) });
56
56
  });
57
57
  export {
58
58
  v as TableDetailsWindow,
@@ -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.20
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,12 +1,12 @@
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.20
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("./DZTAP_s1UBqFpZWn.mjs").then((e3) => e3.p);
9
+ const { trimLeadingBlankRow: n2 = true, trimLeadingBlankColumn: r2 = true, excludeHidden: o = false, sheetKey: s = null, papaParseConfig: a = {} } = t2 || {}, l = await import("./D6zrNfT4CrAssYik.mjs").then((e3) => e3.p);
10
10
  if (!e2) throw new Error("workbook must be specified");
11
11
  let i = null;
12
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");
@@ -25,9 +25,9 @@ const n = async (e2, t2) => {
25
25
  p.push(o2);
26
26
  }, { includeEmpty: true, address: null }), p && d.push(p);
27
27
  const f = { ...a }, g = l.unparse(d, f);
28
- return new TextEncoder().encode(g);
28
+ return new TextEncoder().encode(g).buffer;
29
29
  }, r = async (n2, r2) => {
30
- const { papaParseConfig: o, setValuesOptions: s, constructorOptions: a } = r2 ?? {}, l = await import("./DZTAP_s1UBqFpZWn.mjs").then((e2) => e2.p), i = new TextDecoder().decode(n2);
30
+ const { papaParseConfig: o, setValuesOptions: s, constructorOptions: a } = r2 ?? {}, l = await import("./D6zrNfT4CrAssYik.mjs").then((e2) => e2.p), i = new TextDecoder().decode(n2);
31
31
  let c = -1;
32
32
  const d = new e(a), p = d.getSelectedSheet().getEntireRange().startIncrementalUpdates({ orientation: t.Orientation.Row }), u = r2?.onProgress;
33
33
  let f = 0;