@sheetxl/studio-vanilla 0.4.8 → 0.4.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) hide show
  1. package/browser/cjs/{CHSE1pa8SMApg4BM.cjs → 3GhIDU8JK1oBJrCA.cjs} +2 -2
  2. package/browser/cjs/{BYhOQCFEzewgsKDn.cjs → 5hPVyVAXmITQCRAG.cjs} +2 -2
  3. package/browser/cjs/{3nTDo2EiTknjadbt.cjs → 7PlrLPQx1lct0mdN.cjs} +1 -1
  4. package/browser/cjs/{C6nZKAevPqj8zJY-.cjs → B4K6KuggSdXj-V8g.cjs} +2 -2
  5. package/browser/cjs/{DWTMnPR33rKK87Xt.cjs → B5Qc3gXLEhscRsFm.cjs} +4 -4
  6. package/browser/cjs/{BCnlTOmUDmizyvVV.cjs → B7eW1GQgFvphlLGY.cjs} +2 -2
  7. package/browser/cjs/{CD_HItzF2RneMAER.cjs → BQPFxJ77OaD_sBIX.cjs} +2 -2
  8. package/browser/cjs/{i0D2haODisHW8uGg.cjs → Ba3O1f0NYbzEwNAd.cjs} +1 -1
  9. package/browser/cjs/{Cqymi9AOXO_JYvY4.cjs → BoojmbbjqixMVu2H.cjs} +2 -2
  10. package/browser/cjs/{CE5NVYltiso41NzK.cjs → CSGVl8EBCRhxcFm1.cjs} +1 -1
  11. package/browser/cjs/{6Wu3sLyx-7NM6CXS.cjs → CalnqtYH48_x2rcI.cjs} +8 -8
  12. package/browser/cjs/{euAV1pPrNOIb6DV4.cjs → CjDsO4sQWUHbIX1N.cjs} +2 -2
  13. package/browser/cjs/{BIPxYhhi1F-y0gSm.cjs → CsCaFaiySArzEfdH.cjs} +2 -2
  14. package/browser/cjs/{BqLDj2GlSzX8ZN3l.cjs → D6AUUY9awlTRjjqd.cjs} +1 -1
  15. package/browser/cjs/{oNi7wirDlZ81Lm0Z.cjs → D8lN5Mv3J4SwSpLP.cjs} +1 -1
  16. package/browser/cjs/{CTXKzcsm-W1ujL_U.cjs → D9RQ5oYv7U38wSI7.cjs} +3 -3
  17. package/browser/cjs/{CcQjGGiCx6Qz7yJ4.cjs → DCd2rPNFkSHDaRcM.cjs} +1 -1
  18. package/browser/cjs/{z1aNSOtWsEE21p2H.cjs → DGQrcBvjSGwwoZEv.cjs} +2 -2
  19. package/browser/cjs/{DMUSzq5n2k0WNFw6.cjs → DIXyMJKaeCGuWxjZ.cjs} +1 -1
  20. package/browser/cjs/{Dy4SB47It0LGbh2I.cjs → Dmw7xaaV85s72QZe.cjs} +1 -1
  21. package/browser/cjs/{D6pPBbRPLTNFSXuO.cjs → DzCXPcqV1oKbCcLO.cjs} +1 -1
  22. package/browser/cjs/{Dds58NEqJ0OalWH3.cjs → EoaX6dPoS-Mb-ITO.cjs} +2 -2
  23. package/browser/cjs/{B11W4AIKbkJQG6ug.cjs → Y6OgkWqbIB761o5q.cjs} +2 -2
  24. package/browser/cjs/{VJLb1uMfbKAUW1QF.cjs → gbABnN2zW1kHo3_I.cjs} +3 -3
  25. package/browser/cjs/index.cjs +2 -2
  26. package/browser/cjs/{bHWvGntvmuk8t7sX.cjs → kfV5Cli9oE9IsCtx.cjs} +2 -2
  27. package/browser/cjs/{C2B3wbeahcHlbOBZ.cjs → nURb18uhj9rScsHa.cjs} +2 -2
  28. package/browser/esm/{D_FC0zteMRPriWTD.mjs → 2NQDbhor1Nuzndgq.mjs} +1 -1
  29. package/{cdn/assets/CPi83FXApMlTaVbs.js → browser/esm/4aC35Q2XPOwifBRR.mjs} +1 -1
  30. package/{cdn/assets/CjVsKZEPAncg5mIk.js → browser/esm/5zFDFBAgT-aPgQQ0.mjs} +1 -1
  31. package/browser/esm/{Ckz080o58XOgRhqj.mjs → B3I_TrFN_pAK5Mdh.mjs} +2 -2
  32. package/browser/esm/{eXQ_1uhRMyN-hfDZ.mjs → BD9GKsR-k4aEK2tx.mjs} +1 -1
  33. package/browser/esm/{EUFvcP5R4HFDLn2V.mjs → BQpsMTJvguy6LMIq.mjs} +2 -2
  34. package/browser/esm/{DQ0Li3WfKbZxSFuB.mjs → BfCWogOnq8R-c3dD.mjs} +2 -2
  35. package/browser/esm/{cSe92c0HnvbRwiVM.mjs → BkGQPKMRPIVUVTLO.mjs} +64 -64
  36. package/browser/esm/{B7qUiL1xPnzfOHZw.mjs → C81J50HcankGTOIj.mjs} +1 -1
  37. package/browser/esm/{DnWiOUNTPvi_llPT.mjs → CO_s27056nua6qzN.mjs} +1 -1
  38. package/browser/esm/{BM74iVi-iQkHbrfo.mjs → CPEjlDUTxckVS1rp.mjs} +2 -2
  39. package/browser/esm/{BP8kNG31HYSkk1VW.mjs → CY7astxzrfb7uZqy.mjs} +4 -4
  40. package/browser/esm/{6KgR81NK4yzANTBT.mjs → CZVzRhflTpwAAl1o.mjs} +2 -2
  41. package/browser/esm/{h4NbNvV8KCL9Tl1v.mjs → CaWZXQsmKl4hTNq5.mjs} +3 -3
  42. package/{cdn/assets/BEFQcBJ71bA297Zu.js → browser/esm/CxcLNXXaxyFyUzyb.mjs} +1 -1
  43. package/browser/esm/{4C7Rg83L5RYFoOvl.mjs → D0icxW0WVNoeVRLH.mjs} +2 -2
  44. package/browser/esm/{2RGq163l1wYJKGsa.mjs → DFQvqk5r1uf_z0h_.mjs} +9 -9
  45. package/{cdn/assets/xlL3Ai-ka9qMVeua.js → browser/esm/DRL5s4S0fIXi1aU7.mjs} +1 -1
  46. package/browser/esm/{DyUvHYGMNA9W2zL6.mjs → DRmeb1VC4YCzKKWd.mjs} +1 -1
  47. package/browser/esm/{DXyJaUwHLq39-Jfa.mjs → DTwhl4v5YnZrUSgI.mjs} +2 -2
  48. package/browser/esm/{BEIn7yNWsHNJisB6.mjs → DmpPAs6w-XNWGTIN.mjs} +3 -3
  49. package/browser/esm/{B1CYiJmSpyx4TD5r.mjs → Dx-GS3XDBkRaMNG-.mjs} +3 -3
  50. package/browser/esm/{CDkmbShJijwq4EBo.mjs → V5CA7xqGOB7-Qx4Y.mjs} +6 -6
  51. package/browser/esm/{ClXspoNrNV-A8BaL.mjs → gsfI5CGYr7LCQxRx.mjs} +2 -2
  52. package/browser/esm/index.mjs +2 -2
  53. package/browser/esm/{C_hRuPoaT857EnC1.mjs → tOBqasyBAnd7O4qE.mjs} +2 -2
  54. package/browser/esm/{CA_DRvBOFOlhezCt.mjs → tPrnEcHW_czJDZOT.mjs} +2 -2
  55. package/cdn/assets/{D_FC0zteMRPriWTD.js → 2NQDbhor1Nuzndgq.js} +1 -1
  56. package/{browser/esm/CPi83FXApMlTaVbs.mjs → cdn/assets/4aC35Q2XPOwifBRR.js} +1 -1
  57. package/{browser/esm/CjVsKZEPAncg5mIk.mjs → cdn/assets/5zFDFBAgT-aPgQQ0.js} +1 -1
  58. package/cdn/assets/{CtDntnnwJW1rZ3sM.js → B0w_moB3pDJd-a6V.js} +2 -2
  59. package/cdn/assets/{eXQ_1uhRMyN-hfDZ.js → BD9GKsR-k4aEK2tx.js} +1 -1
  60. package/cdn/assets/{O1XID2whLDb1cTWS.js → BJVOhUH_XL03H6ZD.js} +2 -2
  61. package/cdn/assets/{C1x5-f1q8NeSwRA2.js → BWJOkXXB6Tr-jYUS.js} +3 -3
  62. package/cdn/assets/{DppHXtCDGzttFdS4.js → BapFqJyAb3cblvJM.js} +2 -2
  63. package/cdn/assets/{CpVan9KpuEGXgwIK.js → Bg88bG-JM9EHeyYX.js} +2 -2
  64. package/cdn/assets/{B7qUiL1xPnzfOHZw.js → C81J50HcankGTOIj.js} +1 -1
  65. package/cdn/assets/{DnWiOUNTPvi_llPT.js → CO_s27056nua6qzN.js} +1 -1
  66. package/cdn/assets/{CuG5WoZ4OOj9RCsv.js → CXa9u-7w14dyPYxk.js} +3 -3
  67. package/cdn/assets/{Bvy1txLm7c3LbPL7.js → CkcETdiKdTsZAzma.js} +6 -6
  68. package/{browser/esm/BEFQcBJ71bA297Zu.mjs → cdn/assets/CxcLNXXaxyFyUzyb.js} +1 -1
  69. package/cdn/assets/{BXBP2rNGQxrgUPvU.js → D0PaU6F-TNaTWj-a.js} +2 -2
  70. package/cdn/assets/{CLA1BGtRbWm0K0U0.js → D4hoypx6_sZbvrC_.js} +2 -2
  71. package/cdn/assets/{BgChN-ZVYUOMDX9_.js → D5exf1RvCqvUoJ3X.js} +4 -4
  72. package/cdn/assets/{B2hDWpWSEoChxhVY.js → DKLitAhDj5Ibh2cc.js} +8 -8
  73. package/{browser/esm/xlL3Ai-ka9qMVeua.mjs → cdn/assets/DRL5s4S0fIXi1aU7.js} +1 -1
  74. package/cdn/assets/{DyUvHYGMNA9W2zL6.js → DRmeb1VC4YCzKKWd.js} +1 -1
  75. package/cdn/assets/{DTvvMKZZfsVRhbow.js → DYkBvlMlZjOASUJs.js} +2 -2
  76. package/cdn/assets/{C5NMOq74C3Sme49x.js → ON5--a75QdEU99y_.js} +3 -3
  77. package/cdn/assets/{Dbd0AFDlzQDW0tOg.js → PIZDjyqIbvmHXs1T.js} +2 -2
  78. package/cdn/assets/{DuU1-7vd87A1wfGJ.js → TOkIJFYhNg78FdJa.js} +2 -2
  79. package/cdn/assets/{g4FhlroGKmJM7Utd.js → b9dlFmoFz8tJhV0Z.js} +2 -2
  80. package/cdn/assets/{tJI1G_FjDgqWo3rJ.js → d1PG-QPA1GcQ_RuH.js} +64 -64
  81. package/cdn/index.js +2 -2
  82. package/cdn/loader.js +1 -1
  83. package/package.json +3 -3
@@ -1,6 +1,6 @@
1
1
  import { Workbook as J } from "@sheetxl/sdk";
2
2
  /**
3
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.8
3
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.9
4
4
  *
5
5
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
6
6
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.8
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.9
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,8 +1,8 @@
1
1
  import { jsx as a, jsxs as s } from "react/jsx-runtime";
2
2
  import { memo as O, useState as r, useRef as M, useReducer as A, useMemo as E } from "react";
3
- import { aL as Q, Q as W, aM as k, aN as V, w as x, aA as q, aB as G, B as n, aO as J, aP as K, ak as f, aQ as U, aR as X, ag as y, ah as b, ai as w, aS as S } from "./B2hDWpWSEoChxhVY.js";
3
+ import { aL as Q, Q as W, aM as k, aN as V, w as x, aA as q, aB as G, B as n, aO as J, aP as K, ak as f, aQ as U, aR as X, ag as y, ah as b, ai as w, aS as S } from "./DKLitAhDj5Ibh2cc.js";
4
4
  /**
5
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.8
5
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.9
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.
@@ -1,10 +1,10 @@
1
1
  import { jsx as i, jsxs as p } from "react/jsx-runtime";
2
2
  import { memo as oe, useRef as C, useState as b, useEffect as L, useLayoutEffect as pe, useMemo as de } from "react";
3
3
  import { ICell as c, IRange as R } from "@sheetxl/sdk";
4
- import { v as D, w as H, av as ue, Q as fe, aA as ge, aB as me, B as O, aC as m, ah as x, aD as xe, a8 as y, aE as he, T as _, a as k, aF as Oe, aG as Ce, aH as ye, aI as be, ay as w, aJ as ve, aK as Te, ak as Re, az as ke, F as we, aw as Ee, ax as Fe } from "./B2hDWpWSEoChxhVY.js";
5
- import { C as ee } from "./tJI1G_FjDgqWo3rJ.js";
4
+ import { v as D, w as H, av as ue, Q as fe, aA as ge, aB as me, B as O, aC as m, ah as x, aD as xe, a8 as y, aE as he, T as _, a as k, aF as Oe, aG as Ce, aH as ye, aI as be, ay as w, aJ as ve, aK as Te, ak as Re, az as ke, F as we, aw as Ee, ax as Fe } from "./DKLitAhDj5Ibh2cc.js";
5
+ import { C as ee } from "./d1PG-QPA1GcQ_RuH.js";
6
6
  /**
7
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.8
7
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.9
8
8
  *
9
9
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
10
10
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,8 +1,8 @@
1
1
  import { jsx as o, jsxs as A } from "react/jsx-runtime";
2
2
  import { memo as E, useMemo as b, useState as g, useCallback as O } from "react";
3
- import { w as f, b as S, B as U, F as P, T as D, a as l, ay as p } from "./B2hDWpWSEoChxhVY.js";
3
+ import { w as f, b as S, B as U, F as P, T as D, a as l, ay as p } from "./DKLitAhDj5Ibh2cc.js";
4
4
  /**
5
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.8
5
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.9
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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.8
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.9
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -13,7 +13,7 @@ const i = { reactUrl: "https://esm.sh/react@19.1.0", reactJsxTransform: "https:/
13
13
  e.type = "importmap", e.textContent = JSON.stringify({ imports: { react: n, "react/jsx-runtime": a, "react-dom": s, "react-dom/client": c } }), document.head.appendChild(e), console.log("SheetXL: Import map injected:", e.textContent);
14
14
  }
15
15
  await new Promise((e) => setTimeout(e, 0));
16
- const o = await Promise.all([import("react"), import("react/jsx-runtime"), import("react-dom"), import("react-dom/client"), import("./B2hDWpWSEoChxhVY.js").then((e) => e.b6)]);
16
+ const o = await Promise.all([import("react"), import("react/jsx-runtime"), import("react-dom"), import("react-dom/client"), import("./DKLitAhDj5Ibh2cc.js").then((e) => e.b6)]);
17
17
  return console.log("SheetXL: Dependencies resolved:", o), { React: o[0], ReactJSXTransform: o[1], ReactDOM: o[2], ReactDOMClient: o[3], StudioMUI: o[4] };
18
18
  })(), r));
19
19
  export {
@@ -1,8 +1,8 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
2
  import { memo as E, useMemo as M, useState as x, useCallback as j } from "react";
3
- import { w as r, b as S, B as V, F as $, T as z, a as h, ay as C } from "./B2hDWpWSEoChxhVY.js";
3
+ import { w as r, b as S, B as V, F as $, T as z, a as h, ay as C } from "./DKLitAhDj5Ibh2cc.js";
4
4
  /**
5
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.8
5
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.9
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.
@@ -1,11 +1,11 @@
1
1
  import { jsx as f, jsxs as ie, Fragment as Kt } from "react/jsx-runtime";
2
2
  import * as we from "react";
3
3
  import L, { memo as Me, forwardRef as le, useRef as se, useMemo as te, useState as re, useEffect as G, useLayoutEffect as dt, useCallback as ne, Component as Gt, createElement as he, createContext as yn, isValidElement as Zt, useContext as wn, cloneElement as vn } from "react";
4
- import { g as xt, e as yt, u as et, f as En, h as Cn, j as Sn, l as Dn, m as Tn, s as je, n as wt, o as vt, p as Tt, q as Mn, r as On, t as Xt, v as Ln, x as Wn, w as ae, U as Qt, D as Mt, W as pt, X as An, y as xe, z as Yt, A as Nn, B as me, V as Jt, C as Rn, E as mt, H as en, K as In, L as Pn, S as Fn, N as jn, O as Hn, Q as zn, Z as _n, _ as qn, c as Bn, $ as $n, a0 as ht, a1 as Vn, a2 as Un, a3 as Kn, a4 as Gn, a5 as Zn, a6 as Xn, J as Qn, a7 as ee, a8 as We, a9 as Ot, aa as Yn, ab as Jn, ac as eo, ad as to, ae as no, af as oo, ag as nt, ah as Ae, ai as ro, aj as ao, ak as io, al as so, am as Lt, an as Wt, ao as lo, ap as co, aq as uo, ar as po, as as Be } from "./B2hDWpWSEoChxhVY.js";
4
+ import { g as xt, e as yt, u as et, f as En, h as Cn, j as Sn, l as Dn, m as Tn, s as je, n as wt, o as vt, p as Tt, q as Mn, r as On, t as Xt, v as Ln, x as Wn, w as ae, U as Qt, D as Mt, W as pt, X as Nn, y as xe, z as Yt, A as An, B as me, V as Jt, C as Rn, E as mt, H as en, K as In, L as Pn, S as Fn, N as jn, O as Hn, Q as zn, Z as _n, _ as qn, c as Bn, $ as $n, a0 as ht, a1 as Vn, a2 as Un, a3 as Kn, a4 as Gn, a5 as Zn, a6 as Xn, J as Qn, a7 as ee, a8 as We, a9 as Ot, aa as Yn, ab as Jn, ac as eo, ad as to, ae as no, af as oo, ag as nt, ah as Ne, ai as ro, aj as ao, ak as io, al as so, am as Lt, an as Wt, ao as lo, ap as co, aq as uo, ar as po, as as Be } from "./DKLitAhDj5Ibh2cc.js";
5
5
  import { createPortal as mo } from "react-dom";
6
- import { CommonUtils as ot, UndoManager as ho, Workbook as At, PartialError as fo } from "@sheetxl/sdk";
6
+ import { CommonUtils as ot, UndoManager as ho, Workbook as Nt, PartialError as fo } from "@sheetxl/sdk";
7
7
  /**
8
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.8
8
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.9
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.
@@ -18,10 +18,10 @@ const ko = je("div", { name: "MuiCollapse", slot: "Root", overridesResolver: (e,
18
18
  const { ownerState: r } = e;
19
19
  return [o.root, o[r.orientation], r.state === "entered" && o.entered, r.state === "exited" && !r.in && r.collapsedSize === "0px" && o.hidden];
20
20
  } })(Mn(({ theme: e }) => ({ height: 0, overflow: "hidden", transition: e.transitions.create("height"), variants: [{ props: { orientation: "horizontal" }, style: { height: "auto", width: 0, transition: e.transitions.create("width") } }, { props: { state: "entered" }, style: { height: "auto", overflow: "visible" } }, { props: { state: "entered", orientation: "horizontal" }, style: { width: "auto" } }, { props: ({ ownerState: o }) => o.state === "exited" && !o.in && o.collapsedSize === "0px", style: { visibility: "hidden" } }] }))), bo = je("div", { name: "MuiCollapse", slot: "Wrapper", overridesResolver: (e, o) => o.wrapper })({ display: "flex", width: "100%", variants: [{ props: { orientation: "horizontal" }, style: { width: "auto", height: "100%" } }] }), xo = je("div", { name: "MuiCollapse", slot: "WrapperInner", overridesResolver: (e, o) => o.wrapperInner })({ width: "100%", variants: [{ props: { orientation: "horizontal" }, style: { width: "auto", height: "100%" } }] }), ft = we.forwardRef(function(e, o) {
21
- const r = et({ props: e, name: "MuiCollapse" }), { addEndListener: t, children: n, className: a, collapsedSize: i = "0px", component: l, easing: s, in: c, onEnter: u, onEntered: p, onEntering: k, onExit: w, onExited: b, onExiting: g, orientation: y = "vertical", style: h, timeout: d = En.standard, TransitionComponent: S = Cn, ...v } = r, A = { ...r, orientation: y, collapsedSize: i }, D = ((E) => {
21
+ const r = et({ props: e, name: "MuiCollapse" }), { addEndListener: t, children: n, className: a, collapsedSize: i = "0px", component: l, easing: s, in: c, onEnter: u, onEntered: p, onEntering: k, onExit: w, onExited: b, onExiting: g, orientation: y = "vertical", style: h, timeout: d = En.standard, TransitionComponent: S = Cn, ...v } = r, N = { ...r, orientation: y, collapsedSize: i }, D = ((E) => {
22
22
  const { orientation: B, classes: $ } = E;
23
23
  return vt({ root: ["root", `${B}`], entered: ["entered"], hidden: ["hidden"], wrapper: ["wrapper", `${B}`], wrapperInner: ["wrapperInner", `${B}`] }, go, $);
24
- })(A), j = Sn(), _ = Dn(), I = we.useRef(null), q = we.useRef(), K = typeof i == "number" ? `${i}px` : i, Q = y === "horizontal", de = Q ? "width" : "height", P = we.useRef(null), V = Tn(o, P), x = (E) => (B) => {
24
+ })(N), j = Sn(), _ = Dn(), I = we.useRef(null), q = we.useRef(), K = typeof i == "number" ? `${i}px` : i, Q = y === "horizontal", de = Q ? "width" : "height", P = we.useRef(null), V = Tn(o, P), x = (E) => (B) => {
25
25
  if (E) {
26
26
  const $ = P.current;
27
27
  B === void 0 ? E($) : E($, B);
@@ -41,7 +41,7 @@ const ko = je("div", { name: "MuiCollapse", slot: "Root", overridesResolver: (e,
41
41
  E.style[de] = "auto", p && p(E, B);
42
42
  }), z = x((E) => {
43
43
  E.style[de] = `${M()}px`, w && w(E);
44
- }), ge = x(b), N = x((E) => {
44
+ }), ge = x(b), A = x((E) => {
45
45
  const B = M(), { duration: $, easing: Y } = Tt({ style: h, timeout: d, easing: s }, { mode: "exit" });
46
46
  if (d === "auto") {
47
47
  const pe = j.transitions.getAutoHeightDuration(B);
@@ -49,9 +49,9 @@ const ko = je("div", { name: "MuiCollapse", slot: "Root", overridesResolver: (e,
49
49
  } else E.style.transitionDuration = typeof $ == "string" ? $ : `${$}ms`;
50
50
  E.style[de] = K, E.style.transitionTimingFunction = Y, g && g(E);
51
51
  });
52
- return f(S, { in: c, onEnter: T, onEntered: H, onEntering: F, onExit: z, onExited: ge, onExiting: N, addEndListener: (E) => {
52
+ return f(S, { in: c, onEnter: T, onEntered: H, onEntering: F, onExit: z, onExited: ge, onExiting: A, addEndListener: (E) => {
53
53
  d === "auto" && _.start(q.current || 0, E), t && t(P.current, E);
54
- }, nodeRef: P, timeout: d === "auto" ? null : d, ...v, children: (E, { ownerState: B, ...$ }) => f(ko, { as: l, className: wt(D.root, a, { entered: D.entered, exited: !c && K === "0px" && D.hidden }[E]), style: { [Q ? "minWidth" : "minHeight"]: K, ...h }, ref: V, ownerState: { ...A, state: E }, ...$, children: f(bo, { ownerState: { ...A, state: E }, className: D.wrapper, ref: I, children: f(xo, { ownerState: { ...A, state: E }, className: D.wrapperInner, children: n }) }) }) });
54
+ }, nodeRef: P, timeout: d === "auto" ? null : d, ...v, children: (E, { ownerState: B, ...$ }) => f(ko, { as: l, className: wt(D.root, a, { entered: D.entered, exited: !c && K === "0px" && D.hidden }[E]), style: { [Q ? "minWidth" : "minHeight"]: K, ...h }, ref: V, ownerState: { ...N, state: E }, ...$, children: f(bo, { ownerState: { ...N, state: E }, className: D.wrapper, ref: I, children: f(xo, { ownerState: { ...N, state: E }, className: D.wrapperInner, children: n }) }) }) });
55
55
  });
56
56
  function yo(e) {
57
57
  return xt("MuiCard", e);
@@ -77,7 +77,7 @@ const Co = je("div", { name: "MuiCardActions", slot: "Root", overridesResolver:
77
77
  return vt({ root: ["root", !u && "spacing"] }, Eo, c);
78
78
  })(i);
79
79
  return f(Co, { className: wt(l.root, n), ownerState: i, ref: o, ...a });
80
- }), gt = typeof Xt({}) == "function", Do = (e, o) => ({ WebkitFontSmoothing: "antialiased", MozOsxFontSmoothing: "grayscale", boxSizing: "border-box", WebkitTextSizeAdjust: "100%", ...o && !e.vars && { colorScheme: e.palette.mode } }), To = (e) => ({ color: (e.vars || e).palette.text.primary, ...e.typography.body1, backgroundColor: (e.vars || e).palette.background.default, "@media print": { backgroundColor: (e.vars || e).palette.common.white } }), Nt = (e, o = !1) => {
80
+ }), gt = typeof Xt({}) == "function", Do = (e, o) => ({ WebkitFontSmoothing: "antialiased", MozOsxFontSmoothing: "grayscale", boxSizing: "border-box", WebkitTextSizeAdjust: "100%", ...o && !e.vars && { colorScheme: e.palette.mode } }), To = (e) => ({ color: (e.vars || e).palette.text.primary, ...e.typography.body1, backgroundColor: (e.vars || e).palette.background.default, "@media print": { backgroundColor: (e.vars || e).palette.common.white } }), At = (e, o = !1) => {
81
81
  const r = {};
82
82
  o && e.colorSchemes && typeof e.getColorSchemeSelector == "function" && Object.entries(e.colorSchemes).forEach(([a, i]) => {
83
83
  const l = e.getColorSchemeSelector(a);
@@ -86,8 +86,8 @@ const Co = je("div", { name: "MuiCardActions", slot: "Root", overridesResolver:
86
86
  let t = { html: Do(e, o), "*, *::before, *::after": { boxSizing: "inherit" }, "strong, b": { fontWeight: e.typography.fontWeightBold }, body: { margin: 0, ...To(e), "&::backdrop": { backgroundColor: (e.vars || e).palette.background.default } }, ...r };
87
87
  const n = e.components?.MuiCssBaseline?.styleOverrides;
88
88
  return n && (t = [t, n]), t;
89
- }, Qe = "mui-ecs", Mo = Xt(gt ? ({ theme: e, enableColorScheme: o }) => Nt(e, o) : ({ theme: e }) => ((o) => {
90
- const r = Nt(o, !1), t = Array.isArray(r) ? r[0] : r;
89
+ }, Qe = "mui-ecs", Mo = Xt(gt ? ({ theme: e, enableColorScheme: o }) => At(e, o) : ({ theme: e }) => ((o) => {
90
+ const r = At(o, !1), t = Array.isArray(r) ? r[0] : r;
91
91
  return !o.vars && t && (t.html[`:root:has(${Qe})`] = { colorScheme: o.palette.mode }), o.colorSchemes && Object.entries(o.colorSchemes).forEach(([n, a]) => {
92
92
  const i = o.getColorSchemeSelector(n);
93
93
  i.startsWith("@") ? t[i] = { [`:root:not(:has(.${Qe}))`]: { colorScheme: a.palette?.mode } } : t[i.replace(/\s*&/, "")] = { [`&:not(:has(.${Qe}))`]: { colorScheme: a.palette?.mode } };
@@ -98,7 +98,7 @@ function Oo(e) {
98
98
  return ie(we.Fragment, { children: [gt && f(Mo, { enableColorScheme: t }), !gt && !t && f("span", { className: Qe, style: { display: "none" } }), r] });
99
99
  }
100
100
  const Lo = Ln(f("path", { d: "M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m3.59-13L12 10.59 8.41 7 7 8.41 10.59 12 7 15.59 8.41 17 12 13.41 15.59 17 17 15.59 13.41 12 17 8.41z" }), "CancelOutlined"), Wo = yn(null), rt = { didCatch: !1, error: null };
101
- class Ao extends Gt {
101
+ class No extends Gt {
102
102
  constructor(o) {
103
103
  super(o), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state = rt;
104
104
  }
@@ -150,7 +150,7 @@ function fe() {
150
150
  for (var e, o, r = 0, t = ""; r < arguments.length; ) (e = arguments[r++]) && (o = tn(e)) && (t && (t += " "), t += o);
151
151
  return t;
152
152
  }
153
- let No = { data: "" }, Ro = /(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g, Io = /\/\*[^]*?\*\/| +/g, Rt = /\n+/g, ye = (e, o) => {
153
+ let Ao = { data: "" }, Ro = /(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g, Io = /\/\*[^]*?\*\/| +/g, Rt = /\n+/g, ye = (e, o) => {
154
154
  let r = "", t = "", n = "";
155
155
  for (let a in e) {
156
156
  let i = e[a];
@@ -175,8 +175,8 @@ function kt(e) {
175
175
  })(p));
176
176
  if (!ce[k]) {
177
177
  let d = p !== i ? i : ((S) => {
178
- let v, A, D = [{}];
179
- for (; v = Ro.exec(S.replace(Io, "")); ) v[4] ? D.shift() : v[3] ? (A = v[3].replace(Rt, " ").trim(), D.unshift(D[0][A] = D[0][A] || {})) : D[0][v[1]] = v[2].replace(Rt, " ").trim();
178
+ let v, N, D = [{}];
179
+ for (; v = Ro.exec(S.replace(Io, "")); ) v[4] ? D.shift() : v[3] ? (N = v[3].replace(Rt, " ").trim(), D.unshift(D[0][N] = D[0][N] || {})) : D[0][v[1]] = v[2].replace(Rt, " ").trim();
180
180
  return D[0];
181
181
  })(i);
182
182
  ce[k] = ye(u ? { ["@keyframes " + k]: d } : d, s ? "" : "." + k);
@@ -191,7 +191,7 @@ function kt(e) {
191
191
  c = p ? "." + p : u && typeof u == "object" ? u.props ? "" : ye(u, "") : u === !1 ? "" : u;
192
192
  }
193
193
  return i + l + (c ?? "");
194
- }, "")) : r.reduce((i, l) => Object.assign(i, l && l.call ? l(o.p) : l), {}) : r, ((i) => typeof window == "object" ? ((i ? i.querySelector("#_goober") : window._goober) || Object.assign((i || document.head).appendChild(document.createElement("style")), { innerHTML: " ", id: "_goober" })).firstChild : i || No)(o.target), o.g, o.o, o.k);
194
+ }, "")) : r.reduce((i, l) => Object.assign(i, l && l.call ? l(o.p) : l), {}) : r, ((i) => typeof window == "object" ? ((i ? i.querySelector("#_goober") : window._goober) || Object.assign((i || document.head).appendChild(document.createElement("style")), { innerHTML: " ", id: "_goober" })).firstChild : i || Ao)(o.target), o.g, o.o, o.k);
195
195
  var t, n, a;
196
196
  }
197
197
  function on(e, o, r) {
@@ -233,12 +233,12 @@ var Pt = function() {
233
233
  return "" + Ft(e.vertical) + Ft(e.horizontal);
234
234
  }, $e = function(e) {
235
235
  return !!e || e === 0;
236
- }, Ve = "unmounted", Ce = "exited", Se = "entering", Ne = "entered", jt = "exiting", Ct = function(e) {
236
+ }, Ve = "unmounted", Ce = "exited", Se = "entering", Ae = "entered", jt = "exiting", Ct = function(e) {
237
237
  function o(t) {
238
238
  var n;
239
239
  n = e.call(this, t) || this;
240
240
  var a, i = t.appear;
241
- return n.appearStatus = null, t.in ? i ? (a = Ce, n.appearStatus = Se) : a = Ne : a = t.unmountOnExit || t.mountOnEnter ? Ve : Ce, n.state = { status: a }, n.nextCallback = null, n;
241
+ return n.appearStatus = null, t.in ? i ? (a = Ce, n.appearStatus = Se) : a = Ae : a = t.unmountOnExit || t.mountOnEnter ? Ve : Ce, n.state = { status: a }, n.nextCallback = null, n;
242
242
  }
243
243
  rn(o, e), o.getDerivedStateFromProps = function(t, n) {
244
244
  return t.in && n.status === Ve ? { status: Ce } : null;
@@ -250,7 +250,7 @@ var Pt = function() {
250
250
  var n = null;
251
251
  if (t !== this.props) {
252
252
  var a = this.state.status;
253
- this.props.in ? a !== Se && a !== Ne && (n = Se) : a !== Se && a !== Ne || (n = jt);
253
+ this.props.in ? a !== Se && a !== Ae && (n = Se) : a !== Se && a !== Ae || (n = jt);
254
254
  }
255
255
  this.updateStatus(!1, n);
256
256
  }, r.componentWillUnmount = function() {
@@ -264,11 +264,11 @@ var Pt = function() {
264
264
  var n = this, a = this.props.enter, i = t, l = this.getTimeouts();
265
265
  t || a ? (this.props.onEnter && this.props.onEnter(this.node, i), this.safeSetState({ status: Se }, function() {
266
266
  n.props.onEntering && n.props.onEntering(n.node, i), n.onTransitionEnd(l.enter, function() {
267
- n.safeSetState({ status: Ne }, function() {
267
+ n.safeSetState({ status: Ae }, function() {
268
268
  n.props.onEntered && n.props.onEntered(n.node, i);
269
269
  });
270
270
  });
271
- })) : this.safeSetState({ status: Ne }, function() {
271
+ })) : this.safeSetState({ status: Ae }, function() {
272
272
  n.props.onEntered && n.props.onEntered(n.node, i);
273
273
  });
274
274
  }, r.performExit = function() {
@@ -376,15 +376,15 @@ var cn = le(function(e, o) {
376
376
  }, [n]);
377
377
  return G(function() {
378
378
  if (!a && n !== "down" && n !== "right") {
379
- var d = function(v, A) {
379
+ var d = function(v, N) {
380
380
  var D;
381
381
  function j() {
382
382
  for (var _ = this, I = arguments.length, q = new Array(I), K = 0; K < I; K++) q[K] = arguments[K];
383
383
  clearTimeout(D), D = setTimeout(function() {
384
384
  v.apply(_, q);
385
- }, A);
385
+ }, N);
386
386
  }
387
- return A === void 0 && (A = 166), j.clear = function() {
387
+ return N === void 0 && (N = 166), j.clear = function() {
388
388
  clearTimeout(D);
389
389
  }, j;
390
390
  }(function() {
@@ -541,13 +541,13 @@ var Ie, lt, Ge, Ze, ct, _o = Me(mn), qo = ze({ wrappedRoot: { width: "100%", pos
541
541
  return W({}, q, ((Q = {})[K] = _[K], Q));
542
542
  }, {});
543
543
  }(c);
544
- }, [c]), w = s.open, b = s.SnackbarProps, g = s.TransitionComponent, y = s.TransitionProps, h = s.transitionDuration, d = s.disableWindowBlurListener, S = s.content, v = He(s, ["open", "SnackbarProps", "TransitionComponent", "TransitionProps", "transitionDuration", "disableWindowBlurListener", "content", "entered", "requestClose", "onEnter", "onEntered", "onExit", "onExited"]), A = W({ direction: (l = v.anchorOrigin, l.horizontal !== "center" ? qt[l.horizontal] : qt[l.vertical]), timeout: h }, y), D = S;
544
+ }, [c]), w = s.open, b = s.SnackbarProps, g = s.TransitionComponent, y = s.TransitionProps, h = s.transitionDuration, d = s.disableWindowBlurListener, S = s.content, v = He(s, ["open", "SnackbarProps", "TransitionComponent", "TransitionProps", "transitionDuration", "disableWindowBlurListener", "content", "entered", "requestClose", "onEnter", "onEntered", "onExit", "onExited"]), N = W({ direction: (l = v.anchorOrigin, l.horizontal !== "center" ? qt[l.horizontal] : qt[l.vertical]), timeout: h }, y), D = S;
545
545
  typeof D == "function" && (D = D(v.id, v.message));
546
546
  var j = ["onEnter", "onEntered", "onExit", "onExited"].reduce(function(_, I) {
547
547
  var q;
548
548
  return W({}, _, ((q = {})[I] = Fe([e.snack[I], e[I]], v.id), q));
549
549
  }, {});
550
- return L.createElement(dn, { in: t, onExited: j.onExited }, L.createElement(pn, { open: w, id: v.id, disableWindowBlurListener: d, autoHideDuration: v.autoHideDuration, className: fe(qo.wrappedRoot, k.root, k[Fo(v.anchorOrigin)]), SnackbarProps: b, onClose: a }, L.createElement(g, Object.assign({}, A, { appear: !0, in: w, onExit: j.onExit, onExited: i, onEnter: j.onEnter, onEntered: Fe([j.onEntered, function() {
550
+ return L.createElement(dn, { in: t, onExited: j.onExited }, L.createElement(pn, { open: w, id: v.id, disableWindowBlurListener: d, autoHideDuration: v.autoHideDuration, className: fe(qo.wrappedRoot, k.root, k[Fo(v.anchorOrigin)]), SnackbarProps: b, onClose: a }, L.createElement(g, Object.assign({}, N, { appear: !0, in: w, onExit: j.onExit, onExited: i, onEnter: j.onEnter, onEntered: Fe([j.onEntered, function() {
551
551
  e.snack.requestClose && a(null, "instructed", e.snack.id);
552
552
  }], v.id) }), D || L.createElement(p, Object.assign({}, v)))));
553
553
  }, Pe = 20, ut = 6, $o = 2, Vt = "." + un, Xe = ze({ root: (Ie = { boxSizing: "border-box", display: "flex", maxHeight: "100%", position: "fixed", zIndex: 1400, height: "auto", width: "auto", transition: Te(["top", "right", "bottom", "left", "max-width"], { duration: 300, easing: "ease" }), pointerEvents: "none" }, Ie[Vt] = { padding: ut + "px 0px", transition: "padding 300ms ease 0ms" }, Ie.maxWidth = "calc(100% - " + 2 * Pe + "px)", Ie[at] = { width: "100%", maxWidth: "calc(100% - 32px)" }, Ie), rootDense: (lt = {}, lt[Vt] = { padding: $o + "px 0px" }, lt), top: { top: Pe - ut + "px", flexDirection: "column" }, bottom: { bottom: Pe - ut + "px", flexDirection: "column-reverse" }, left: (Ge = { left: Pe + "px" }, Ge[Ye] = { alignItems: "flex-start" }, Ge[at] = { left: "16px" }, Ge), right: (Ze = { right: Pe + "px" }, Ze[Ye] = { alignItems: "flex-end" }, Ze[at] = { right: "16px" }, Ze), center: (ct = { left: "50%", transform: "translateX(-50%)" }, ct[Ye] = { alignItems: "center" }, ct) }), Vo = Me(function(e) {
@@ -564,12 +564,12 @@ var Ie, lt, Ge, Ze, ct, _o = Me(mn), qo = ze({ wrappedRoot: { width: "100%", pos
564
564
  return function(h, d) {
565
565
  return d === void 0 && (d = !1), d ? W({}, be[h], {}, y[h], {}, g[h]) : h === "autoHideDuration" ? (D = g.autoHideDuration, j = y.autoHideDuration, (_ = function(I) {
566
566
  return typeof I == "number" || I === null;
567
- })(D) ? D : _(j) ? j : be.autoHideDuration) : h === "transitionDuration" ? (S = g.transitionDuration, v = y.transitionDuration, (A = function(I, q) {
567
+ })(D) ? D : _(j) ? j : be.autoHideDuration) : h === "transitionDuration" ? (S = g.transitionDuration, v = y.transitionDuration, (N = function(I, q) {
568
568
  return q.some(function(K) {
569
569
  return typeof I === K;
570
570
  });
571
- })(S, ["string", "number"]) ? S : A(S, ["object"]) ? W({}, be.transitionDuration, {}, A(v, ["object"]) && v, {}, S) : A(v, ["string", "number"]) ? v : A(v, ["object"]) ? W({}, be.transitionDuration, {}, v) : be.transitionDuration) : g[h] || y[h] || be[h];
572
- var S, v, A, D, j, _;
571
+ })(S, ["string", "number"]) ? S : N(S, ["object"]) ? W({}, be.transitionDuration, {}, N(v, ["object"]) && v, {}, S) : N(v, ["string", "number"]) ? v : N(v, ["object"]) ? W({}, be.transitionDuration, {}, v) : be.transitionDuration) : g[h] || y[h] || be[h];
572
+ var S, v, N, D, j, _;
573
573
  };
574
574
  }(u, t.props), b = W({ id: k }, u, { message: l, open: !0, entered: !1, requestClose: !1, persist: w("persist"), action: w("action"), content: w("content"), variant: w("variant"), anchorOrigin: w("anchorOrigin"), disableWindowBlurListener: w("disableWindowBlurListener"), autoHideDuration: w("autoHideDuration"), hideIconVariant: w("hideIconVariant"), TransitionComponent: w("TransitionComponent"), transitionDuration: w("transitionDuration"), TransitionProps: w("TransitionProps", !0), iconVariant: w("iconVariant", !0), style: w("style", !0), SnackbarProps: w("SnackbarProps", !0), className: fe(t.props.className, u.className) });
575
575
  return b.persist && (b.autoHideDuration = void 0), t.setState(function(g) {
@@ -660,12 +660,12 @@ const ue = { card: "_card_1a398_7", actionRoot: "_actionRoot_1a398_11", icons: "
660
660
  fn.displayName = "ToastError";
661
661
  const gn = Me(le((e, o) => {
662
662
  const { commands: r, commandHook: t, scope: n = "workbook", disabled: a = !1, ...i } = e, l = ae((c) => {
663
- const u = { variant: ro.Menuitem, parentFloat: c.floatReference, commandHook: t, scope: n, disabled: a }, p = ie(Kt, { children: [f(nt, { ...u, command: r.getCommand("newWorkbook"), icon: Ae(f(ao, {})) }), f(io, { orientation: "horizontal" }), f(nt, { ...u, command: r.getCommand("openWorkbook"), icon: Ae(f(so, {})) }), f(Lt, { ...u, commands: r, quickCommand: "saveWorkbook", icon: Ae(f(uo, {})), createPopupPanel: (k) => {
663
+ const u = { variant: ro.Menuitem, parentFloat: c.floatReference, commandHook: t, scope: n, disabled: a }, p = ie(Kt, { children: [f(nt, { ...u, command: r.getCommand("newWorkbook"), icon: Ne(f(ao, {})) }), f(io, { orientation: "horizontal" }), f(nt, { ...u, command: r.getCommand("openWorkbook"), icon: Ne(f(so, {})) }), f(Lt, { ...u, commands: r, quickCommand: "saveWorkbook", icon: Ne(f(uo, {})), createPopupPanel: (k) => {
664
664
  const w = { ...u, parentFloat: k.floatReference, scope: "saveWorkbook" }, b = [];
665
665
  return xe.getWriteFormats().forEach((g) => {
666
666
  if (g.isDefault) return;
667
667
  let y = null;
668
- g.key === "CSV" ? y = Ae(f(lo, {})) : g.key === "Excel" && (y = Ae(f(co, {})));
668
+ g.key === "CSV" ? y = Ne(f(lo, {})) : g.key === "Excel" && (y = Ne(f(co, {})));
669
669
  const h = r.getCommand(`saveWorkbookAs${g.key}`);
670
670
  h ? b.push(he(nt, { ...w, key: g.key, command: h, icon: y })) : console.warn(`Unable to resolve command: 'saveWorkbookAs${g.key}'`);
671
671
  }), Wt({ ...k, children: b, onClick: () => {
@@ -699,7 +699,7 @@ const bn = Me(le((e, o) => {
699
699
  h((V) => ({ ...V, isMounted: !0 }));
700
700
  }, []), S = ne(() => {
701
701
  h((V) => ({ ...V, isMounted: !1 }));
702
- }, []), v = Gn(), A = Zn(), D = Xn(), j = se(/* @__PURE__ */ new Set()), _ = te(() => {
702
+ }, []), v = Gn(), N = Zn(), D = Xn(), j = se(/* @__PURE__ */ new Set()), _ = te(() => {
703
703
  const V = (x, M) => {
704
704
  if (M?.onceKey) {
705
705
  if (j.current.has(M.onceKey)) return;
@@ -722,14 +722,14 @@ const bn = Me(le((e, o) => {
722
722
  const F = { ...M, onKeyDown: (H) => {
723
723
  u?.dispatchToFocusedCommand(H), H.isDefaultPrevented() || H.isPropagationStopped() || M?.onKeyDown?.(H);
724
724
  } };
725
- return v(x, { sort: () => import("./CtDntnnwJW1rZ3sM.js"), numberFormat: () => import("./DppHXtCDGzttFdS4.js"), hyperlink: () => import("./Dbd0AFDlzQDW0tOg.js"), comments: () => import("./g4FhlroGKmJM7Utd.js"), find: () => import("./C5NMOq74C3Sme49x.js"), tableDetails: () => import("./DTvvMKZZfsVRhbow.js"), tableNew: () => import("./O1XID2whLDb1cTWS.js"), namedDetails: () => import("./BXBP2rNGQxrgUPvU.js") }[x], F, T);
726
- }, showOptions: A, showInputOptions: D, showError: (x) => {
725
+ return v(x, { sort: () => import("./B0w_moB3pDJd-a6V.js"), numberFormat: () => import("./BapFqJyAb3cblvJM.js"), hyperlink: () => import("./PIZDjyqIbvmHXs1T.js"), comments: () => import("./b9dlFmoFz8tJhV0Z.js"), find: () => import("./ON5--a75QdEU99y_.js"), tableDetails: () => import("./DYkBvlMlZjOASUJs.js"), tableNew: () => import("./BJVOhUH_XL03H6ZD.js"), namedDetails: () => import("./D0PaU6F-TNaTWj-a.js") }[x], F, T);
726
+ }, showOptions: N, showInputOptions: D, showError: (x) => {
727
727
  let M, T = Be.Error, F = "Unknown Error";
728
728
  typeof x == "string" ? F = x : x instanceof Error && (M = x, x.message && (F = x.message)), x instanceof fo && (T = Be.Info), V(F, { type: T, enqueueProps: { error: M } });
729
729
  } };
730
730
  }, []), I = ne(() => {
731
731
  }, []), q = ((V) => {
732
- const { workbook: x, setWorkbook: M, importExportDisabled: T, workbookTitle: F = "export", setWorkbookTitle: H, notifier: z, requestWorkbookTitle: ge, themeOptions: N, undoManager: E, commands: B, onExecute: $ } = V, Y = ae(N?.onModeChange, [N?.onModeChange]), pe = ae(N?.onEnabledDarkGridChange, [N?.onEnabledDarkGridChange]), ve = ae(N?.onEnabledDarkImagesChange, [N?.onEnabledDarkImagesChange]), Ee = ae(async (R = null, oe = null) => {
732
+ const { workbook: x, setWorkbook: M, importExportDisabled: T, workbookTitle: F = "export", setWorkbookTitle: H, notifier: z, requestWorkbookTitle: ge, themeOptions: A, undoManager: E, commands: B, onExecute: $ } = V, Y = ae(A?.onModeChange, [A?.onModeChange]), pe = ae(A?.onEnabledDarkGridChange, [A?.onEnabledDarkGridChange]), ve = ae(A?.onEnabledDarkImagesChange, [A?.onEnabledDarkImagesChange]), Ee = ae(async (R = null, oe = null) => {
733
733
  const O = [];
734
734
  let m, C = null, X = null;
735
735
  if (typeof R == "string" ? X = R : C = R, m = C ? R : await Qn.openFileDialog(X ?? xe.getAllReadFormatTypeAsString().join(",")), !m) return null;
@@ -786,7 +786,7 @@ const bn = Me(le((e, o) => {
786
786
  O && console.log("openWorkbookFromUrl", O);
787
787
  })));
788
788
  let oe = [];
789
- return N && (oe = [new ee("themeMode", U, { label: "Light/Dark Mode", scopedLabels: { appearance: "Light/Dark Mode" }, description: "Toggle the application styling between light and dark mode." }), new ee("defaultThemeMode", U, { label: "Use System Light/Dark Mode", scopedLabels: { appearance: "Use System Default" }, description: "Use the system settings to determine styling for light and dark mode." }), new ee("enableDarkGrid", U, { label: "Enable Dark Grid", description: "Allow the grid to render in dark mode if dark mode is being used. This is ensures that the grid will render the colors as specified in another tools (for example Excel)." }), new ee("enableDarkImages", U, { label: "Enable Dark Images", description: "Allow the images to render in dark mode if dark mode is being used. This is ensures that the images will render the colors as specified in another tools (for example Excel). This only has any effect if the grid is in dark mode." })]), [...R, ...oe, new Ot("help", U, { label: "Show Help", description: "Provide Help.", shortcut: { key: "F1" } }, () => {
789
+ return A && (oe = [new ee("themeMode", U, { label: "Light/Dark Mode", scopedLabels: { appearance: "Light/Dark Mode" }, description: "Toggle the application styling between light and dark mode." }), new ee("defaultThemeMode", U, { label: "Use System Light/Dark Mode", scopedLabels: { appearance: "Use System Default" }, description: "Use the system settings to determine styling for light and dark mode." }), new ee("enableDarkGrid", U, { label: "Enable Dark Grid", description: "Allow the grid to render in dark mode if dark mode is being used. This is ensures that the grid will render the colors as specified in another tools (for example Excel)." }), new ee("enableDarkImages", U, { label: "Enable Dark Images", description: "Allow the images to render in dark mode if dark mode is being used. This is ensures that the images will render the colors as specified in another tools (for example Excel). This only has any effect if the grid is in dark mode." })]), [...R, ...oe, new Ot("help", U, { label: "Show Help", description: "Provide Help.", shortcut: { key: "F1" } }, () => {
790
790
  }), new Ot("showKeyboardShortcuts", U, { label: "Keyboard Shortcuts", description: "Show keyboard shortcuts.", shortcut: { key: "/", modifiers: [We.Ctrl] } }, () => {
791
791
  }), new ee("gotoUrlGithub", U, { label: "Github", description: "Download examples, explore source code, and leave a star." }, () => {
792
792
  window?.open("https://github.com/sheetxl/sheetxl");
@@ -797,29 +797,29 @@ const bn = Me(le((e, o) => {
797
797
  }), new ee("gotoUrlIssue", U, { label: "Create Issue", description: "Create an issue to identify a bug or a feature request." }, () => {
798
798
  window?.open("https://github.com/sheetxl/sheetxl/issues");
799
799
  })];
800
- }, [x, F, z, T, N, B, E]), Z = te(() => {
800
+ }, [x, F, z, T, A, B, E]), Z = te(() => {
801
801
  let R = null;
802
802
  return R = B ? B.createChildGroup(U, "standaloneWorkbook", !1) : new Yt(U, "standaloneWorkbook"), R.addCommands(ke, !0), R;
803
803
  }, [B, ke]);
804
804
  Yn({ manager: E, commands: Z, notifier: z });
805
805
  const { themeMode: Oe } = Qt();
806
806
  G(() => {
807
- if (!N || !Z) return;
808
- const R = N.mode === "dark" || !N.mode && Oe === "dark";
809
- Z.getCommand("themeMode").update({ state: N.mode ?? null, label: R ? "Dark Mode" : "Light Mode", scopedLabels: { appearance: R ? "Dark Mode" : "Light Mode" } }).updateCallback(() => {
807
+ if (!A || !Z) return;
808
+ const R = A.mode === "dark" || !A.mode && Oe === "dark";
809
+ Z.getCommand("themeMode").update({ state: A.mode ?? null, label: R ? "Dark Mode" : "Light Mode", scopedLabels: { appearance: R ? "Dark Mode" : "Light Mode" } }).updateCallback(() => {
810
810
  Y(R ? pt.Light : pt.Dark);
811
- }), Z.getCommand("defaultThemeMode").update({ state: !N.mode }).updateCallback(() => {
811
+ }), Z.getCommand("defaultThemeMode").update({ state: !A.mode }).updateCallback(() => {
812
812
  Y(null);
813
- }), Z.getCommand("enableDarkGrid").update({ state: N.enableDarkGrid }).updateCallback(() => {
814
- pe(!N.enableDarkGrid);
815
- }), Z.getCommand("enableDarkImages").update({ state: N.enableDarkImages }).updateCallback(() => {
816
- ve(!N.enableDarkImages);
813
+ }), Z.getCommand("enableDarkGrid").update({ state: A.enableDarkGrid }).updateCallback(() => {
814
+ pe(!A.enableDarkGrid);
815
+ }), Z.getCommand("enableDarkImages").update({ state: A.enableDarkImages }).updateCallback(() => {
816
+ ve(!A.enableDarkImages);
817
817
  });
818
- }, [Oe, N, ke]);
818
+ }, [Oe, A, ke]);
819
819
  const { showModal: qe } = Jn();
820
820
  return G(() => {
821
821
  const R = () => new Promise((oe, O) => {
822
- const m = L.lazy(() => import("./BgChN-ZVYUOMDX9_.js")), C = qe(m, { title: "Shortcut Keys Reference", commands: Z, onDone: () => {
822
+ const m = L.lazy(() => import("./D5exf1RvCqvUoJ3X.js")), C = qe(m, { title: "Shortcut Keys Reference", commands: Z, onDone: () => {
823
823
  C.hide();
824
824
  }, TransitionProps: { onExited: () => {
825
825
  oe(!0);
@@ -855,19 +855,19 @@ const bn = Me(le((e, o) => {
855
855
  }));
856
856
  bn.displayName = "SnackbarAndCommandsWrapper";
857
857
  const xn = Me(le((e, o) => {
858
- const { className: r, sx: t, style: n, onElementLoad: a, onError: i, undoManager: l, errorPanel: s = Wn, onKeyDown: c, workbook: u, createWorkbookOptions: p, onWorkbookChange: k, logo: w, importExportDisabled: b = !1, themeOptions: g, autoFocus: y = !1, commands: h, title: d, onTitleChange: S, titleProps: v, renderLoadingPanel: A, ...D } = e, j = se(null), _ = ae(k, [k]), I = ae(S ?? v?.onTitleChange, [S ?? v?.onTitleChange]), q = v?.placeHolder ?? "Untitled", K = g?.mode, { themeMode: Q, source: de } = Qt({ mode: K }), P = te(() => ({ ...g, light: Mt(!1, ot.deepMerge(g?.theme ?? {}, g?.light ?? {})), dark: Mt(!0, ot.deepMerge(g?.theme ?? {}, g?.dark ?? {})) }), [g]), V = Q === pt.Dark, [x, M] = re(null);
858
+ const { className: r, sx: t, style: n, onElementLoad: a, onError: i, undoManager: l, errorPanel: s = Wn, onKeyDown: c, workbook: u, createWorkbookOptions: p, onWorkbookChange: k, logo: w, importExportDisabled: b = !1, themeOptions: g, autoFocus: y = !1, commands: h, title: d, onTitleChange: S, titleProps: v, renderLoadingPanel: N, ...D } = e, j = se(null), _ = ae(k, [k]), I = ae(S ?? v?.onTitleChange, [S ?? v?.onTitleChange]), q = v?.placeHolder ?? "Untitled", K = g?.mode, { themeMode: Q, source: de } = Qt({ mode: K }), P = te(() => ({ ...g, light: Mt(!1, ot.deepMerge(g?.theme ?? {}, g?.light ?? {})), dark: Mt(!0, ot.deepMerge(g?.theme ?? {}, g?.dark ?? {})) }), [g]), V = Q === pt.Dark, [x, M] = re(null);
859
859
  G(() => {
860
860
  M(l ?? new ho());
861
861
  }, [l]);
862
- const [T, F] = re(null), [H, z] = re(null), ge = An();
862
+ const [T, F] = re(null), [H, z] = re(null), ge = Nn();
863
863
  dt(() => {
864
864
  if (!u || Object.keys(u).length === 0 && !ot.isPromiseLike(u)) {
865
865
  const m = { theme: ge.getDefaultTheme(), ...p };
866
- z(new At(m));
866
+ z(new Nt(m));
867
867
  } else z(u);
868
868
  }, [u]), dt(() => {
869
869
  if (H) {
870
- if (H instanceof At) return F({ workbook: H }), void (u !== H && _?.(H));
870
+ if (H instanceof Nt) return F({ workbook: H }), void (u !== H && _?.(H));
871
871
  (async () => {
872
872
  try {
873
873
  let m, C = await Promise.resolve(H);
@@ -878,17 +878,17 @@ const xn = Me(le((e, o) => {
878
878
  })();
879
879
  }
880
880
  }, [H]);
881
- const [N, E] = re(null);
881
+ const [A, E] = re(null);
882
882
  G(() => {
883
883
  if (!x || !T) return;
884
884
  x.clear();
885
885
  const m = T?.workbook?.getTransactions();
886
886
  return m ? m.addListener({ onCommitEnd: (C) => {
887
- C.getDescription() ? x.addUndoOperation({ description: C.getDescription(), undo: () => (m.revert(C.getId()), N.source?.focus(), () => {
888
- m.restore(C.getId()), N.source?.focus();
887
+ C.getDescription() ? x.addUndoOperation({ description: C.getDescription(), undo: () => (m.revert(C.getId()), A.source?.focus(), () => {
888
+ m.restore(C.getId()), A.source?.focus();
889
889
  }) }) : console.warn("commit has no description", C);
890
890
  } }) : void 0;
891
- }, [x, T, N]);
891
+ }, [x, T, A]);
892
892
  const B = ae((m) => {
893
893
  m ? x.setRepeatableOperation({ description: m.label(), repeat: async () => m.execute() }) : x.setRepeatableOperation(null);
894
894
  }, [x]), [$, Y] = re(d ?? v?.title ?? "");
@@ -905,11 +905,11 @@ const xn = Me(le((e, o) => {
905
905
  ve(m.source.getViewportElement()), E(m), Ee.activate("sheet"), a?.(m);
906
906
  }, [Ee]);
907
907
  G(() => {
908
- N && y && N.source?.focus(typeof y == "object" ? y : void 0);
909
- }, [N]);
908
+ A && y && A.source?.focus(typeof y == "object" ? y : void 0);
909
+ }, [A]);
910
910
  const U = se(null), ke = ne((m) => {
911
911
  let C = null;
912
- return v?.hidden || (C = f(Nn, { ...v, style: { maxWidth: "100%", ...v?.style }, workbook: j.current, ref: U, title: $, placeHolder: q, onTitleChange: (X) => {
912
+ return v?.hidden || (C = f(An, { ...v, style: { maxWidth: "100%", ...v?.style }, workbook: j.current, ref: U, title: $, placeHolder: q, onTitleChange: (X) => {
913
913
  Y(X);
914
914
  } })), f(kn, { ...m, logo: w, mainElement: C, showFileMenu: !b, showAppearanceMenu: !!(P?.onEnabledDarkGridChange || P?.onEnabledDarkImagesChange || P?.onModeChange) });
915
915
  }, [w, $, v, P, b, Ee]);
@@ -921,16 +921,16 @@ const xn = Me(le((e, o) => {
921
921
  }, []);
922
922
  const Z = te(() => {
923
923
  const m = { transparentBackground: !0 };
924
- return f(me, { sx: t, style: { position: "absolute", top: 0, left: 0, right: 0, bottom: 0, display: "flex", alignItems: "center", justifyContent: "center", ...n }, children: A?.(m) ?? f(Jt, { ...m }) });
925
- }, [t, n, A]), Oe = ne(({ error: m }) => (i?.(m), f(s, { sx: t, style: n, error: m ?? "Unable to display empty workbook." })), [t, n, i]), qe = te(() => ({ ...t, "& .SnackbarContainer-root": { position: "absolute !important" }, "& .notistack-Snackbar": { minWidth: "unset" }, "& .notistack-MuiContent *": { fontFamily: (m) => m.typography.fontFamily }, "& #notistack-snackbar": { maxWidth: "560px", whiteSpace: "pre-wrap" }, "*": { userSelect: "none" } }), [t]), R = en([j, o]), oe = te(() => {
924
+ return f(me, { sx: t, style: { position: "absolute", top: 0, left: 0, right: 0, bottom: 0, display: "flex", alignItems: "center", justifyContent: "center", ...n }, children: N?.(m) ?? f(Jt, { ...m }) });
925
+ }, [t, n, N]), Oe = ne(({ error: m }) => (i?.(m), f(s, { sx: t, style: n, error: m ?? "Unable to display empty workbook." })), [t, n, i]), qe = te(() => ({ ...t, "& .SnackbarContainer-root": { position: "absolute !important" }, "& .notistack-Snackbar": { minWidth: "unset" }, "& .notistack-MuiContent *": { fontFamily: (m) => m.typography.fontFamily }, "& #notistack-snackbar": { maxWidth: "560px", whiteSpace: "pre-wrap" }, "*": { userSelect: "none" } }), [t]), R = en([j, o]), oe = te(() => {
926
926
  if (!T) return Z;
927
927
  if (T.error || !T.workbook) return Oe({ error: T.error });
928
928
  let m = null, C = null, X = !1;
929
929
  return P && (m = V ? P.dark : P.light, C = V && P.enableDarkGrid ? P.dark : P.light, X = P.enableDarkImages), f(Rn, { sx: qe, style: n, tabIndex: 0, autoFocus: !0, workbook: T.workbook, ref: R, renderToolbar: ke, onElementLoad: _e, onRepeatCommandChange: B, onKeyDown: (J) => {
930
930
  c?.(J);
931
- }, renderLoadingPanel: A, gridTheme: C, headersTheme: m, enableDarkImages: X, className: mt(r, "sheetxl-workbook"), onContextMenu: (J) => J.preventDefault(), ...D }, "WorkbookElement");
932
- }, [T, $, x, Z, A, P, D, ke, qe]);
933
- let O = f(Ao, { fallbackRender: Oe, children: f(Uo, { maxSnack: 3, domRoot: pe, anchorOrigin: { vertical: "bottom", horizontal: "right" }, autoHideDuration: 3500, onClose: (m, C, X) => {
931
+ }, renderLoadingPanel: N, gridTheme: C, headersTheme: m, enableDarkImages: X, className: mt(r, "sheetxl-workbook"), onContextMenu: (J) => J.preventDefault(), ...D }, "WorkbookElement");
932
+ }, [T, $, x, Z, N, P, D, ke, qe]);
933
+ let O = f(No, { fallbackRender: Oe, children: f(Uo, { maxSnack: 3, domRoot: pe, anchorOrigin: { vertical: "bottom", horizontal: "right" }, autoHideDuration: 3500, onClose: (m, C, X) => {
934
934
  j.current?.focus();
935
935
  }, Components: { error: fn }, iconVariant: { success: f(Fn, { style: { marginRight: "8px" }, children: f("path", { d: "M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z" }) }), error: f(Pn, { style: { marginRight: "8px" } }) }, children: f(In, { children: f(bn, { workbook: T?.workbook, setWorkbook: z, importExportDisabled: b, titlePlaceHolder: q, titleWorkbook: $, setWorkbookTitle: Y, refWorkbookTitle: U, commands: Ee, undoManager: x, themeOptions: P, children: oe }) }) }) });
936
936
  return P && (O = ie(jn, { theme: V ? P.dark : P.light, children: [P.cssBaseline ? f(Oo, {}) : null, O] })), O;
@@ -938,7 +938,7 @@ const xn = Me(le((e, o) => {
938
938
  xn.displayName = "EagerStudio";
939
939
  const Go = Object.freeze(Object.defineProperty({ __proto__: null, default: xn }, Symbol.toStringTag, { value: "Module" })), er = Object.freeze(Object.defineProperty({ __proto__: null, E: Go, c: fe }, Symbol.toStringTag, { value: "Module" }));
940
940
  export {
941
- er as A,
942
941
  ft as C,
942
+ er as D,
943
943
  fe as h
944
944
  };
package/cdn/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.8
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.9
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -115,7 +115,7 @@ let c;
115
115
  const C = async (e) => c || (c = await (async (n, t) => {
116
116
  try {
117
117
  if (t?.selector && k(t?.selector, t?.loading), !n) {
118
- const { resolveDependencies: r } = await import("./assets/DuU1-7vd87A1wfGJ.js");
118
+ const { resolveDependencies: r } = await import("./assets/TOkIJFYhNg78FdJa.js");
119
119
  n = await r(t?.dependencies);
120
120
  }
121
121
  t?.licenseKey && await n.StudioMUI.LicenseManager.setLicenseKey(t.licenseKey), t?.selector && h(t?.selector);
package/cdn/loader.js CHANGED
@@ -1,5 +1,5 @@
1
1
  (function(e){typeof define=="function"&&define.amd?define(e):e()})(function(){"use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.8
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.9
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sheetxl/studio-vanilla",
3
3
  "description": "SheetXL Studio - Vanilla entry point for integrating SheetXL UI.",
4
- "version": "0.4.8",
4
+ "version": "0.4.9",
5
5
  "license": "SEE LICENSE IN <LICENSE>",
6
6
  "type": "module",
7
7
  "main": "./browser/esm/index.mjs",
@@ -41,12 +41,12 @@
41
41
  "@mui/styled-engine": "^6.5.0",
42
42
  "@mui/system": "^6.5.0",
43
43
  "@mui/utils": "^6.4.9",
44
- "@sheetxl/studio-mui": "^0.4.8",
44
+ "@sheetxl/studio-mui": "^0.4.9",
45
45
  "csstype": "^3.1.3",
46
46
  "http-server": "^14.1.1"
47
47
  },
48
48
  "peerDependencies": {
49
- "@sheetxl/sdk": "^0.4.8",
49
+ "@sheetxl/sdk": "^0.4.9",
50
50
  "react": "^19.1.0",
51
51
  "react-dom": "^19.1.0"
52
52
  }