@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,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 "./g4yV8ILPtVwy8tG5.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.19
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
  };
@@ -2,10 +2,10 @@ import { jsx as t, jsxs as y } from "react/jsx-runtime";
2
2
  import { memo as G, useState as x, useCallback as O, useEffect as H, useMemo as S } from "react";
3
3
  import { Box as w, FormControl as P, InputLabel as K, Select as q, TextField as A, Typography as I, MenuItem as J } from "@mui/material";
4
4
  import { NumberFormat as n } from "@sheetxl/sdk";
5
- import { T as l, a4 as Q, a1 as U, a5 as p } from "./BJiFVIVZgstircY0.mjs";
5
+ import { T as l, a4 as Q, a1 as U, a5 as p } from "./g4yV8ILPtVwy8tG5.mjs";
6
6
  import { alpha as c } from "@mui/system";
7
7
  /**
8
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.18
8
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.19
9
9
  *
10
10
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
11
11
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,12 +1,12 @@
1
1
  import { jsx as h, jsxs as ie, Fragment as It } from "react/jsx-runtime";
2
- import S, { Component as At, createElement as le, createContext as an, memo as Ee, forwardRef as oe, useRef as ne, useState as ee, useCallback as X, useEffect as j, useMemo as $, useContext as sn, isValidElement as ln, cloneElement as cn, useLayoutEffect as st } from "react";
3
- import { u as un, b as lt, k as dn, T as te, d as Je, x as Te, v as pn, z as mn, Z as fn, V as hn, e as kt, W as pe, f as gn, L as kn, h as bt, H as bn, i as xn, y as wn, j as yn, l as vn, m as Ht, n as En, o as Cn, A as Sn, Y as Ln, Q as K, p as De, q as xt, s as Rt, S as Tn, t as jt, w as ct, E as Dn, B as Mn, D as On, F as Wn, G as qt, K as Fn, I as Pn, J as Re, M as Nn, N as wt, R as In, O as An, P as Hn, U as Rn, X as jn, _ as qn } from "./BJiFVIVZgstircY0.mjs";
2
+ import S, { Component as At, createElement as le, createContext as an, memo as Ee, forwardRef as oe, useRef as ne, useState as ee, useCallback as Z, useEffect as j, useMemo as $, useContext as sn, isValidElement as ln, cloneElement as cn, useLayoutEffect as st } from "react";
3
+ import { u as un, a as lt, L as dn, T as te, v as Je, x as Te, y as pn, M as mn, P as fn, z as hn, b as kt, W as pe, d as gn, H as kn, e as bt, V as bn, f as xn, h as wn, j as yn, k as vn, m as Ht, n as En, l as Cn, A as Sn, Y as Ln, Q as K, Z as De, X as xt, K as Rt, w as Tn, o as jt, p as ct, E as Dn, q as Mn, s as On, t as Wn, $ as qt, G as Fn, B as Pn, D as Re, U as Nn, F as wt, R as In, I as An, J as Hn, N as Rn, O as jn, S as qn } from "./g4yV8ILPtVwy8tG5.mjs";
4
4
  import { createPortal as Bn } from "react-dom";
5
5
  import { Card as _n, CardActions as Vn, Typography as zn, IconButton as ut, Collapse as Un, Box as ue, SvgIcon as Gn, CssBaseline as Kn } from "@mui/material";
6
- import { PartialError as $n, CommonUtils as et, UndoManager as Xn, Workbook as yt } from "@sheetxl/sdk";
7
- import { ExpandMore as Zn, Close as Qn, CancelOutlined as Yn } from "@mui/icons-material";
6
+ import { PartialError as $n, CommonUtils as et, UndoManager as Zn, Workbook as yt } from "@sheetxl/sdk";
7
+ import { ExpandMore as Xn, Close as Qn, CancelOutlined as Yn } from "@mui/icons-material";
8
8
  /**
9
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.18
9
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.19
10
10
  *
11
11
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
12
12
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -287,7 +287,7 @@ function Be(t, a) {
287
287
  }
288
288
  }
289
289
  var $t = oe(function(t, a) {
290
- var r = t.children, e = t.direction, n = e === void 0 ? "down" : e, o = t.in, i = t.style, c = t.timeout, s = c === void 0 ? 0 : c, l = t.onEnter, u = t.onEntered, d = t.onExit, m = t.onExited, b = Ne(t, ["children", "direction", "in", "style", "timeout", "onEnter", "onEntered", "onExit", "onExited"]), w = ne(null), x = pt(r.ref, w), y = pt(x, a), g = X(function() {
290
+ var r = t.children, e = t.direction, n = e === void 0 ? "down" : e, o = t.in, i = t.style, c = t.timeout, s = c === void 0 ? 0 : c, l = t.onEnter, u = t.onEntered, d = t.onExit, m = t.onExited, b = Ne(t, ["children", "direction", "in", "style", "timeout", "onEnter", "onEntered", "onExit", "onExited"]), w = ne(null), x = pt(r.ref, w), y = pt(x, a), g = Z(function() {
291
291
  w.current && Be(n, w.current);
292
292
  }, [n]);
293
293
  return j(function() {
@@ -295,7 +295,7 @@ var $t = oe(function(t, a) {
295
295
  var f = function(C, Y) {
296
296
  var R;
297
297
  function q() {
298
- for (var B = this, z = arguments.length, _ = new Array(z), Z = 0; Z < z; Z++) _[Z] = arguments[Z];
298
+ for (var B = this, z = arguments.length, _ = new Array(z), X = 0; X < z; X++) _[X] = arguments[X];
299
299
  clearTimeout(R), R = setTimeout(function() {
300
300
  C.apply(B, _);
301
301
  }, Y);
@@ -362,9 +362,9 @@ function Ie(t) {
362
362
  return L({}, a, ((e = {})[n] = dt(o), e));
363
363
  }, {});
364
364
  }
365
- var ho = "notistack-SnackbarContainer", go = "notistack-Snackbar", Xt = "notistack-CollapseWrapper", ko = "notistack-MuiContent", bo = function(t) {
365
+ var ho = "notistack-SnackbarContainer", go = "notistack-Snackbar", Zt = "notistack-CollapseWrapper", ko = "notistack-MuiContent", bo = function(t) {
366
366
  return "notistack-MuiContent-" + t;
367
- }, Mt = Ie({ root: { height: 0 }, entered: { height: "auto" } }), ot = "0px", Zt = oe(function(t, a) {
367
+ }, Mt = Ie({ root: { height: 0 }, entered: { height: "auto" } }), ot = "0px", Xt = oe(function(t, a) {
368
368
  var r = t.children, e = t.in, n = t.onExited, o = ne(null), i = ne(null), c = pt(a, i), s = function() {
369
369
  return o.current ? o.current.clientHeight : 0;
370
370
  };
@@ -382,10 +382,10 @@ var ho = "notistack-SnackbarContainer", go = "notistack-Snackbar", Xt = "notista
382
382
  var u = Ke({ timeout: 175, mode: "exit" }), d = u.duration, m = u.easing;
383
383
  l.style.transitionDuration = typeof d == "string" ? d : d + "ms", l.style.height = ot, l.style.transitionTimingFunction = m || "";
384
384
  }, nodeRef: i, timeout: 175 }, function(l, u) {
385
- return le("div", Object.assign({ ref: c, className: fe(Mt.root, l === "entered" && Mt.entered), style: L({ pointerEvents: "all", overflow: "hidden", minHeight: ot, transition: ve("height") }, l === "entered" && { overflow: "visible" }, {}, l === "exited" && !e && { visibility: "hidden" }) }, u), le("div", { ref: o, className: Xt, style: { display: "flex", width: "100%" } }, r));
385
+ return le("div", Object.assign({ ref: c, className: fe(Mt.root, l === "entered" && Mt.entered), style: L({ pointerEvents: "all", overflow: "hidden", minHeight: ot, transition: ve("height") }, l === "entered" && { overflow: "visible" }, {}, l === "exited" && !e && { visibility: "hidden" }) }, u), le("div", { ref: o, className: Zt, style: { display: "flex", width: "100%" } }, r));
386
386
  });
387
387
  });
388
- Zt.displayName = "Collapse";
388
+ Xt.displayName = "Collapse";
389
389
  var Ot = { right: "left", left: "right", bottom: "up", top: "down" }, xo = function(t) {
390
390
  return "anchorOrigin" + mt(t);
391
391
  }, wo = function() {
@@ -404,7 +404,7 @@ function Wt(t) {
404
404
  var a = ne(t);
405
405
  return yo(function() {
406
406
  a.current = t;
407
- }), X(function() {
407
+ }), Z(function() {
408
408
  return a.current.apply(void 0, arguments);
409
409
  }, []);
410
410
  }
@@ -423,7 +423,7 @@ var rt, Qt = oe(function(t, a) {
423
423
  }, [l, n, w]);
424
424
  var x = function() {
425
425
  m.current && clearTimeout(m.current);
426
- }, y = X(function() {
426
+ }, y = Z(function() {
427
427
  n != null && w(0.5 * n);
428
428
  }, [n, w]);
429
429
  return j(function() {
@@ -448,7 +448,7 @@ var Oe = Ie({ root: { backgroundColor: "#313131", fontSize: "0.875rem", lineHeig
448
448
  });
449
449
  Yt.displayName = "MaterialDesignContent";
450
450
  var We, at, _e, Ve, it, Eo = Ee(Yt), Co = Ie({ wrappedRoot: { width: "100%", position: "relative", transform: "translateX(0)", top: 0, right: 0, bottom: 0, left: 0, minWidth: "288px" } }), So = function(t) {
451
- var a = ne(), r = ee(!0), e = r[0], n = r[1], o = Pe([t.snack.onClose, t.onClose]), i = X(function() {
451
+ var a = ne(), r = ee(!0), e = r[0], n = r[1], o = Pe([t.snack.onClose, t.onClose]), i = Z(function() {
452
452
  a.current = setTimeout(function() {
453
453
  n(function(B) {
454
454
  return !B;
@@ -466,9 +466,9 @@ var We, at, _e, Ve, it, Eo = Ee(Yt), Co = Ie({ wrappedRoot: { width: "100%", pos
466
466
  var z = { containerRoot: !0, containerAnchorOriginTopCenter: !0, containerAnchorOriginBottomCenter: !0, containerAnchorOriginTopRight: !0, containerAnchorOriginBottomRight: !0, containerAnchorOriginTopLeft: !0, containerAnchorOriginBottomLeft: !0 };
467
467
  return Object.keys(B).filter(function(_) {
468
468
  return !z[_];
469
- }).reduce(function(_, Z) {
469
+ }).reduce(function(_, X) {
470
470
  var he;
471
- return L({}, _, ((he = {})[Z] = B[Z], he));
471
+ return L({}, _, ((he = {})[X] = B[X], he));
472
472
  }, {});
473
473
  }(l);
474
474
  }, [l]), b = s.open, w = s.SnackbarProps, x = s.TransitionComponent, y = s.TransitionProps, g = s.transitionDuration, f = s.disableWindowBlurListener, O = s.content, C = Ne(s, ["open", "SnackbarProps", "TransitionComponent", "TransitionProps", "transitionDuration", "disableWindowBlurListener", "content", "entered", "requestClose", "onEnter", "onEntered", "onExit", "onExited"]), Y = L({ direction: (c = C.anchorOrigin, c.horizontal !== "center" ? Ot[c.horizontal] : Ot[c.vertical]), timeout: g }, y), R = O;
@@ -477,10 +477,10 @@ var We, at, _e, Ve, it, Eo = Ee(Yt), Co = Ie({ wrappedRoot: { width: "100%", pos
477
477
  var _;
478
478
  return L({}, B, ((_ = {})[z] = Pe([t.snack[z], t[z]], C.id), _));
479
479
  }, {});
480
- return S.createElement(Zt, { in: e, onExited: q.onExited }, S.createElement(Qt, { open: b, id: C.id, disableWindowBlurListener: f, autoHideDuration: C.autoHideDuration, className: fe(Co.wrappedRoot, m.root, m[xo(C.anchorOrigin)]), SnackbarProps: w, onClose: o }, S.createElement(x, Object.assign({}, Y, { appear: !0, in: b, onExit: q.onExit, onExited: i, onEnter: q.onEnter, onEntered: Pe([q.onEntered, function() {
480
+ return S.createElement(Xt, { in: e, onExited: q.onExited }, S.createElement(Qt, { open: b, id: C.id, disableWindowBlurListener: f, autoHideDuration: C.autoHideDuration, className: fe(Co.wrappedRoot, m.root, m[xo(C.anchorOrigin)]), SnackbarProps: w, onClose: o }, S.createElement(x, Object.assign({}, Y, { appear: !0, in: b, onExit: q.onExit, onExited: i, onEnter: q.onEnter, onEntered: Pe([q.onEntered, function() {
481
481
  t.snack.requestClose && o(null, "instructed", t.snack.id);
482
482
  }], C.id) }), R || S.createElement(d, Object.assign({}, C)))));
483
- }, Fe = { default: 20 }, ze = { default: 6, dense: 2 }, Pt = "." + Xt, Ue = Ie({ root: (We = { boxSizing: "border-box", display: "flex", maxHeight: "100%", position: "fixed", zIndex: 1400, height: "auto", width: "auto", transition: ve(["top", "right", "bottom", "left", "max-width"], { duration: 300, easing: "ease" }), pointerEvents: "none" }, We[Pt] = { padding: ze.default + "px 0px", transition: "padding 300ms ease 0ms" }, We.maxWidth = "calc(100% - " + 2 * Fe.default + "px)", We[nt] = { width: "100%", maxWidth: "calc(100% - 32px)" }, We), rootDense: (at = {}, at[Pt] = { padding: ze.dense + "px 0px" }, at), top: { top: Fe.default - ze.default + "px", flexDirection: "column" }, bottom: { bottom: Fe.default - ze.default + "px", flexDirection: "column-reverse" }, left: (_e = { left: Fe.default + "px" }, _e[Ge] = { alignItems: "flex-start" }, _e[nt] = { left: "16px" }, _e), right: (Ve = { right: Fe.default + "px" }, Ve[Ge] = { alignItems: "flex-end" }, Ve[nt] = { right: "16px" }, Ve), center: (it = { left: "50%", transform: "translateX(-50%)" }, it[Ge] = { alignItems: "center" }, it) }), Lo = Ee(function(t) {
483
+ }, Fe = { default: 20 }, ze = { default: 6, dense: 2 }, Pt = "." + Zt, Ue = Ie({ root: (We = { boxSizing: "border-box", display: "flex", maxHeight: "100%", position: "fixed", zIndex: 1400, height: "auto", width: "auto", transition: ve(["top", "right", "bottom", "left", "max-width"], { duration: 300, easing: "ease" }), pointerEvents: "none" }, We[Pt] = { padding: ze.default + "px 0px", transition: "padding 300ms ease 0ms" }, We.maxWidth = "calc(100% - " + 2 * Fe.default + "px)", We[nt] = { width: "100%", maxWidth: "calc(100% - 32px)" }, We), rootDense: (at = {}, at[Pt] = { padding: ze.dense + "px 0px" }, at), top: { top: Fe.default - ze.default + "px", flexDirection: "column" }, bottom: { bottom: Fe.default - ze.default + "px", flexDirection: "column-reverse" }, left: (_e = { left: Fe.default + "px" }, _e[Ge] = { alignItems: "flex-start" }, _e[nt] = { left: "16px" }, _e), right: (Ve = { right: Fe.default + "px" }, Ve[Ge] = { alignItems: "flex-end" }, Ve[nt] = { right: "16px" }, Ve), center: (it = { left: "50%", transform: "translateX(-50%)" }, it[Ge] = { alignItems: "center" }, it) }), Lo = Ee(function(t) {
484
484
  var a = t.classes, r = a === void 0 ? {} : a, e = t.anchorOrigin, n = t.dense, o = t.children, i = fe(ho, Ue[e.vertical], Ue[e.horizontal], Ue.root, r.containerRoot, r["containerAnchorOrigin" + mt(e)], n && Ue.rootDense);
485
485
  return S.createElement("div", { className: i }, o);
486
486
  }), Nt = function(t) {
@@ -568,12 +568,12 @@ var We, at, _e, Ve, it, Eo = Ee(Yt), Co = Ie({ wrappedRoot: { width: "100%", pos
568
568
  return sn(Ut);
569
569
  };
570
570
  const ae = { card: "_card_1a398_7", actionRoot: "_actionRoot_1a398_11", icons: "_icons_1a398_16", expand: "_expand_1a398_22", expandOpen: "_expandOpen_1a398_29", stackTraceContainer: "_stackTraceContainer_1a398_33" }, en = oe((t, a) => {
571
- const { id: r, message: e, iconVariant: n, error: o, hideIconVariant: i, ...c } = t, { closeSnackbar: s } = Jt(), l = un(), [u, d] = ee(!1), m = X(() => {
571
+ const { id: r, message: e, iconVariant: n, error: o, hideIconVariant: i, ...c } = t, { closeSnackbar: s } = Jt(), l = un(), [u, d] = ee(!1), m = Z(() => {
572
572
  d((x) => !x);
573
- }, []), b = X(() => {
573
+ }, []), b = Z(() => {
574
574
  s(r);
575
575
  }, [r, s]), w = o?.message || String(e);
576
- return h(ht, { ref: a, className: lt(ae.root, "error-snackbar"), children: ie(_n, { className: ae.card, style: { backgroundColor: l.palette.error.dark, border: `1px solid ${l.palette.error.dark}` }, children: [ie(Vn, { className: ae.actionRoot, children: [i ? null : n?.error, h(zn, { variant: "body2", component: "div", className: ae.typography, style: { color: l.palette.text.primary }, children: w }), h("div", { style: { flex: "1 1 auto" } }), ie("div", { className: ae.icons, children: [o ? h(ut, { "aria-label": "Show more", size: "small", className: lt(ae.expand, { [ae.expandOpen]: u }), style: { color: l.palette.action.active }, onClick: m, children: h(Zn, {}) }) : null, h(ut, { size: "small", className: ae.expand, style: { color: l.palette.action.active }, onClick: b, children: h(Qn, { fontSize: "small" }) })] })] }), o ? h(Un, { in: u, timeout: "auto", unmountOnExit: !0, children: h("div", { className: ae.stackTraceContainer, style: { backgroundColor: l.palette.error.light, borderTop: `1px solid ${l.palette.error.main}` }, children: h(dn, { error: o, hideLineNumbers: !0 }) }) }) : null] }) });
576
+ return h(ht, { ref: a, className: lt(ae.root, "error-snackbar"), children: ie(_n, { className: ae.card, style: { backgroundColor: l.palette.error.dark, border: `1px solid ${l.palette.error.dark}` }, children: [ie(Vn, { className: ae.actionRoot, children: [i ? null : n?.error, h(zn, { variant: "body2", component: "div", className: ae.typography, style: { color: l.palette.text.primary }, children: w }), h("div", { style: { flex: "1 1 auto" } }), ie("div", { className: ae.icons, children: [o ? h(ut, { "aria-label": "Show more", size: "small", className: lt(ae.expand, { [ae.expandOpen]: u }), style: { color: l.palette.action.active }, onClick: m, children: h(Xn, {}) }) : null, h(ut, { size: "small", className: ae.expand, style: { color: l.palette.action.active }, onClick: b, children: h(Qn, { fontSize: "small" }) })] })] }), o ? h(Un, { in: u, timeout: "auto", unmountOnExit: !0, children: h("div", { className: ae.stackTraceContainer, style: { backgroundColor: l.palette.error.light, borderTop: `1px solid ${l.palette.error.main}` }, children: h(dn, { error: o, hideLineNumbers: !0 }) }) }) : null] }) });
577
577
  });
578
578
  en.displayName = "ToastError";
579
579
  const tn = Ee(oe((t, a) => {
@@ -613,9 +613,9 @@ nn.displayName = "StandaloneWorkbookToolbar";
613
613
  const on = Ee(oe((t, a) => {
614
614
  const { workbook: r, setWorkbook: e, refWorkbookTitle: n, titleWorkbook: o, setWorkbookTitle: i, titlePlaceHolder: c, children: s, undoManager: l, commands: u, importExportDisabled: d, themeModeOptions: m } = t, b = Jt(), w = b ? b.enqueueSnackbar : () => {
615
615
  }, x = b ? b.closeSnackbar : () => {
616
- }, [y, g] = ee({ isMounted: !1, label: null, starting: /* @__PURE__ */ new Map(), running: /* @__PURE__ */ new Map() }), f = X(() => {
616
+ }, [y, g] = ee({ isMounted: !1, label: null, starting: /* @__PURE__ */ new Map(), running: /* @__PURE__ */ new Map() }), f = Z(() => {
617
617
  g((M) => ({ ...M, isMounted: !0 }));
618
- }, []), O = X(() => {
618
+ }, []), O = Z(() => {
619
619
  g((M) => ({ ...M, isMounted: !1 }));
620
620
  }, []), C = Mn(), Y = On(), R = Wn(), q = ne(/* @__PURE__ */ new Set()), B = $(() => {
621
621
  const M = (v, E) => {
@@ -640,14 +640,14 @@ const on = Ee(oe((t, a) => {
640
640
  const T = { ...E, onKeyDown: (H) => {
641
641
  u?.dispatchToFocusedCommand(H), H.isDefaultPrevented() || H.isPropagationStopped() || E?.onKeyDown?.(H);
642
642
  } };
643
- return C(v, { sort: () => import("./DAABl4IjtZoiB_ZM.mjs"), numberFormat: () => import("./D7VfJjp49e_MDYZN.mjs"), hyperlink: () => import("./IW0FN0JJihUjmUhl.mjs"), comments: () => import("./dyvLjt-D32wPaGoj.mjs"), find: () => import("./DWhxo1LUgYMKPIl6.mjs"), tableDetails: () => import("./CHo7Pe-qLRr6D7Zb.mjs"), tableNew: () => import("./D85IfpCrfIBFDqe8.mjs"), namedDetails: () => import("./BQQcYbNIADI7dSX4.mjs") }[v], T, W);
643
+ return C(v, { sort: () => import("./C4vC41vzQpD-qyMn.mjs"), numberFormat: () => import("./w-PhBfcFM6AZzwmU.mjs"), hyperlink: () => import("./BbMrsjIGEkoLGak0.mjs"), comments: () => import("./B97bNoiD5vSlwEfq.mjs"), find: () => import("./C7UEqLxvuNIEbzcl.mjs"), tableDetails: () => import("./BVzvMC6p5FNP8qK9.mjs"), tableNew: () => import("./CUrgSndSnDCQKu6U.mjs"), namedDetails: () => import("./Dkqkg5OonmopX_av.mjs") }[v], T, W);
644
644
  }, showOptions: Y, showInputOptions: R, showError: (v) => {
645
645
  let E, W = Re.Error, T = "Unknown Error";
646
646
  typeof v == "string" ? T = v : v instanceof Error && (E = v, v.message && (T = v.message)), v instanceof $n && (W = Re.Info), M(T, { type: W, enqueueProps: { error: E } });
647
647
  } };
648
- }, []), z = X(() => {
648
+ }, []), z = Z(() => {
649
649
  }, []), _ = ((M) => {
650
- const { workbook: v, setWorkbook: E, importExportDisabled: W, workbookTitle: T = "export", setWorkbookTitle: H, notifier: I, requestWorkbookTitle: J, themeModeOptions: F, undoManager: Ae, commands: Q, onExecute: ke } = M, He = te(F?.onForceModeChange, [F?.onForceModeChange]), Xe = te(F?.onForceLightGridChange, [F?.onForceLightGridChange]), be = te(F?.onForceLightImagesChange, [F?.onForceLightImagesChange]), Ze = te(async (D = null, U = null) => {
650
+ const { workbook: v, setWorkbook: E, importExportDisabled: W, workbookTitle: T = "export", setWorkbookTitle: H, notifier: I, requestWorkbookTitle: J, themeModeOptions: F, undoManager: Ae, commands: Q, onExecute: ke } = M, He = te(F?.onForceModeChange, [F?.onForceModeChange]), Ze = te(F?.onForceLightGridChange, [F?.onForceLightGridChange]), be = te(F?.onForceLightImagesChange, [F?.onForceLightImagesChange]), Xe = te(async (D = null, U = null) => {
651
651
  const p = [];
652
652
  let k, P = null, G = null;
653
653
  if (typeof D == "string" ? G = D : P = D, k = P ? D : await Ln.openFileDialog(G ?? pe.getAllReadFormatTypeAsString().join(",")), !k) return null;
@@ -663,7 +663,7 @@ const on = Ee(oe((t, a) => {
663
663
  return k !== null && pe.writeFile(k, D, { formatType: p.key });
664
664
  }
665
665
  return pe.writeFile(U, D, { formatType: p.key });
666
- }, [I, v, J]), A = X(() => ({ contains: (D) => !0, focus() {
666
+ }, [I, v, J]), A = Z(() => ({ contains: (D) => !0, focus() {
667
667
  } }), []), ce = $(() => {
668
668
  const D = [];
669
669
  W || (pe.getWriteFormats().forEach((p) => {
@@ -682,7 +682,7 @@ const on = Ee(oe((t, a) => {
682
682
  }), D.push(new K("openWorkbook", A, { label: "Open Workbook…", scopedLabels: { workbook: "Open…" }, description: "Open a workbook from the desktop.", shortcut: { key: "O", modifiers: [De.Ctrl] } }, async (p = null) => {
683
683
  const k = { date1904: v.isDate1904(), ...v.options };
684
684
  try {
685
- const P = await Ze(p, k);
685
+ const P = await Xe(p, k);
686
686
  if (!P) return;
687
687
  const G = P.title, se = P.workbook, Le = se.getSelectedSheet();
688
688
  if (P.formatType.mimeType === "text/csv") {
@@ -730,7 +730,7 @@ const on = Ee(oe((t, a) => {
730
730
  }), V.getCommand("defaultThemeMode").update({ state: !F.forceMode }).updateCallback(() => {
731
731
  He(null);
732
732
  }), V.getCommand("forceLightGrid").update({ state: F.forceLightGrid }).updateCallback(() => {
733
- Xe(!F.forceLightGrid);
733
+ Ze(!F.forceLightGrid);
734
734
  }), V.getCommand("forceLightImages").update({ state: F.forceLightImages }).updateCallback(() => {
735
735
  be(!F.forceLightImages);
736
736
  });
@@ -738,7 +738,7 @@ const on = Ee(oe((t, a) => {
738
738
  const { showModal: Qe } = Dn();
739
739
  return j(() => {
740
740
  const D = () => new Promise((U, p) => {
741
- const k = S.lazy(() => import("./DOtIN-2juYEPtB8A.mjs")), P = Qe(k, { title: "Shortcut Keys Reference", commands: V, onDone: () => {
741
+ const k = S.lazy(() => import("./DNMEKvZSHupr35RK.mjs")), P = Qe(k, { title: "Shortcut Keys Reference", commands: V, onDone: () => {
742
742
  P.hide();
743
743
  }, TransitionProps: { onExited: () => {
744
744
  U(!0);
@@ -765,18 +765,18 @@ const on = Ee(oe((t, a) => {
765
765
  }), { ...M, starting: /* @__PURE__ */ new Map(), running: v };
766
766
  });
767
767
  }, [y]);
768
- const [Z, he] = ee(null);
768
+ const [X, he] = ee(null);
769
769
  j(() => {
770
770
  y.starting.size !== 0 || y.running.size !== 0 ? he(h(qt, { icon: h(Fn, { sx: { transform: "scale(0.7)", marginLeft: "-6px" } }), panel: !0, label: y.label, onMount: f, onUnmount: O, sx: { position: "absolute", left: "0", top: "0", width: "100%", height: "100%", zIndex: "9999" } })) : he(null);
771
771
  }, [y.starting, y.running]);
772
772
  const N = $(() => h(Pn, { commands: _, disableHover: !0, sx: { padding: "0" }, buttonProps: { sx: { maxHeight: "22px" } } }), [_]), ge = { notifier: B, commands: _ };
773
- return r && (ge.statusBarProps = { childrenEnd: N }), ie(It, { children: [Z, s ? S.cloneElement(s, ge) : null] });
773
+ return r && (ge.statusBarProps = { childrenEnd: N }), ie(It, { children: [X, s ? S.cloneElement(s, ge) : null] });
774
774
  }));
775
775
  on.displayName = "SnackbarAndCommandsWrapper";
776
776
  const rn = Ee(oe((t, a) => {
777
- const { className: r, sx: e, style: n, onElementLoad: o, onError: i, undoManager: c, errorPanel: s = Nn, onKeyDown: l, workbook: u, createWorkbookOptions: d, onWorkbookChange: m, logo: b, importExportDisabled: w = !1, themeModeOptions: x, autoFocus: y = !1, commands: g, title: f, onTitleChange: O, titleProps: C, ...Y } = t, R = ne(null), q = te(m, [m]), B = te(O ?? C?.onTitleChange, [O ?? C?.onTitleChange]), z = C?.placeHolder ?? "Untitled", _ = x?.forceMode, { themeMode: Z, source: he } = jt({ mode: _ }), N = $(() => ({ ...x, light: wt(!1, et.deepMerge(x?.theme ?? {}, x?.light ?? {})), dark: wt(!0, et.deepMerge(x?.theme ?? {}, x?.dark ?? {})) }), [x]), ge = Z === ct.Dark, [M, v] = ee(null);
777
+ const { className: r, sx: e, style: n, onElementLoad: o, onError: i, undoManager: c, errorPanel: s = Nn, onKeyDown: l, workbook: u, createWorkbookOptions: d, onWorkbookChange: m, logo: b, importExportDisabled: w = !1, themeModeOptions: x, autoFocus: y = !1, commands: g, title: f, onTitleChange: O, titleProps: C, ...Y } = t, R = ne(null), q = te(m, [m]), B = te(O ?? C?.onTitleChange, [O ?? C?.onTitleChange]), z = C?.placeHolder ?? "Untitled", _ = x?.forceMode, { themeMode: X, source: he } = jt({ mode: _ }), N = $(() => ({ ...x, light: wt(!1, et.deepMerge(x?.theme ?? {}, x?.light ?? {})), dark: wt(!0, et.deepMerge(x?.theme ?? {}, x?.dark ?? {})) }), [x]), ge = X === ct.Dark, [M, v] = ee(null);
778
778
  j(() => {
779
- v(c ?? new Xn());
779
+ v(c ?? new Zn());
780
780
  }, [c]);
781
781
  const [E, W] = ee(null), [T, H] = ee(null), I = In();
782
782
  st(() => {
@@ -817,17 +817,17 @@ const rn = Ee(oe((t, a) => {
817
817
  }, [f ?? C?.title]), j(() => {
818
818
  B?.(Q);
819
819
  }, [Q]);
820
- const [He, Xe] = ee(null), be = $(() => {
820
+ const [He, Ze] = ee(null), be = $(() => {
821
821
  const p = () => ({ contains: (k) => !0, focus() {
822
822
  } });
823
823
  return g ? g.createChildGroup(p, "application", !1) : new Rt(p, "application");
824
- }, [g]), Ze = te((p) => {
825
- Xe(p.source.getViewportElement()), F(p), be.activate("sheet"), o?.(p);
824
+ }, [g]), Xe = te((p) => {
825
+ Ze(p.source.getViewportElement()), F(p), be.activate("sheet"), o?.(p);
826
826
  }, [be]);
827
827
  j(() => {
828
828
  J && y && J.source?.focus(typeof y == "object" ? y : void 0);
829
829
  }, [J]);
830
- const Ce = ne(null), A = X((p) => {
830
+ const Ce = ne(null), A = Z((p) => {
831
831
  let k = null;
832
832
  return C?.hidden || (k = h(An, { ...C, style: { maxWidth: "100%", ...C?.style }, workbook: R.current, ref: Ce, title: Q, placeHolder: z, onTitleChange: (P) => {
833
833
  ke(P);
@@ -839,11 +839,11 @@ const rn = Ee(oe((t, a) => {
839
839
  R.current?.removeEventListener("wheel", p);
840
840
  };
841
841
  }, []);
842
- const ce = $(() => h(qt, { transparentBackground: !0, sx: e, style: n }), [e, n]), V = X(({ error: p }) => (i?.(p), h(s, { sx: e, style: n, error: p ?? "Unable to display empty workbook." })), [e, n, i]), Se = $(() => ({ ...e, "& .SnackbarContainer-root": { position: "absolute !important" }, "& .notistack-Snackbar": { minWidth: "unset" }, "& .notistack-MuiContent *": { fontFamily: (p) => p.typography.fontFamily }, "& #notistack-snackbar": { maxWidth: "560px", whiteSpace: "pre-wrap" }, "*": { userSelect: "none" } }), [e]), Qe = Ht([R, a]), D = $(() => {
842
+ const ce = $(() => h(qt, { transparentBackground: !0, sx: e, style: n }), [e, n]), V = Z(({ error: p }) => (i?.(p), h(s, { sx: e, style: n, error: p ?? "Unable to display empty workbook." })), [e, n, i]), Se = $(() => ({ ...e, "& .SnackbarContainer-root": { position: "absolute !important" }, "& .notistack-Snackbar": { minWidth: "unset" }, "& .notistack-MuiContent *": { fontFamily: (p) => p.typography.fontFamily }, "& #notistack-snackbar": { maxWidth: "560px", whiteSpace: "pre-wrap" }, "*": { userSelect: "none" } }), [e]), Qe = Ht([R, a]), D = $(() => {
843
843
  if (!E) return ce;
844
844
  if (E.error || !E.workbook) return V({ error: E.error });
845
845
  let p = null, k = null, P = !1;
846
- return N && (p = ge ? N.dark : N.light, k = ge && !N.forceLightGrid ? N.dark : N.light, P = N.forceLightImages), h(Hn, { sx: Se, style: n, tabIndex: 0, autoFocus: !0, workbook: E.workbook, ref: Qe, renderToolbar: A, onElementLoad: Ze, onRepeatCommandChange: Ae, onKeyDown: (G) => {
846
+ return N && (p = ge ? N.dark : N.light, k = ge && !N.forceLightGrid ? N.dark : N.light, P = N.forceLightImages), h(Hn, { sx: Se, style: n, tabIndex: 0, autoFocus: !0, workbook: E.workbook, ref: Qe, renderToolbar: A, onElementLoad: Xe, onRepeatCommandChange: Ae, onKeyDown: (G) => {
847
847
  l?.(G);
848
848
  }, gridTheme: k, headersTheme: p, forceLightImages: P, className: lt(r, "sheetxl-workbook"), onContextMenu: (G) => G.preventDefault(), ...Y }, "WorkbookElement");
849
849
  }, [E, Q, M, ce, N, Y, A, Se]);
@@ -1,5 +1,5 @@
1
1
  Name: @sheetxl/utils-mui
2
- Version: 0.3.18
2
+ Version: 0.3.19
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.19
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.19
438
438
  License: SEE LICENSE IN <LICENSE>
439
439
  Private: false
440
440
  Description: IO - Import/Export Libraries for SheetXL.
@@ -880,7 +880,7 @@ License Copyright:
880
880
  ---
881
881
 
882
882
  Name: @sheetxl/utils
883
- Version: 0.3.18
883
+ Version: 0.3.19
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.19
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.19
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.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.
@@ -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.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.
@@ -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, ...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
  }));