@sheetxl/studio-vanilla 0.3.5 → 0.3.6

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 (90) hide show
  1. package/browser/cjs/{6e91IXsvk9_k3W5c.cjs → 3JKPVnbyR3hJBHBj.cjs} +2 -2
  2. package/browser/cjs/B1_gRcAH1cv26X_U.cjs +301 -0
  3. package/browser/cjs/{BwocMiKAPb8s__1Z.cjs → B2fgcYTdhA0facdy.cjs} +2 -2
  4. package/browser/cjs/B5cmz4f50xr5iF-S.cjs +19 -0
  5. package/browser/cjs/{-aNm3r-RpjcRRCbw.cjs → B7eLEpR9cmunfRfq.cjs} +2 -2
  6. package/browser/cjs/{CuY7mAREmYhHuYWx.cjs → BDUaerzhOJJZeQgS.cjs} +2 -2
  7. package/browser/cjs/{BN0MiwKQ8NjKXgue.cjs → BDcLV5_cJTh8yhJI.cjs} +3 -3
  8. package/browser/cjs/{Bg9KIoDuqtkhIYfN.cjs → BOSNEoFPpJAjkRsv.cjs} +1 -1
  9. package/browser/cjs/{DIawrhwQ7E_1l99b.cjs → BSfmlz8MvlIKFx_N.cjs} +6 -6
  10. package/browser/cjs/{DKsZXMMHWKP9IZ4E.cjs → Bdhft6pu1-bwMbfv.cjs} +1 -1
  11. package/browser/cjs/{Ya4f5p9go_UndgNy.cjs → BmbGW13BR2649OAV.cjs} +2 -2
  12. package/browser/cjs/{CdWBtYv7LuuDLPL2.cjs → Bu6q4vuUt_6LDbk_.cjs} +1 -1
  13. package/browser/cjs/{yvA5FY7oe6FILMqB.cjs → CXe_6K7OT1AVSgAV.cjs} +1 -1
  14. package/browser/cjs/ChqJwXboF-6-bjIC.cjs +6 -0
  15. package/browser/cjs/{DeAt9vyyaeB2vbxQ.cjs → CyA00uY0ivUSWJ17.cjs} +2 -2
  16. package/browser/cjs/{CvESC6HiL0-peppq.cjs → D1jsD18kKrFBRLo8.cjs} +4 -4
  17. package/browser/cjs/{BW_fZwvTtMLqteuJ.cjs → DC0sGYXEVcjL3fEu.cjs} +1 -1
  18. package/browser/cjs/{BLHbDre9R0bvyb9G.cjs → DQJ0sG5gEZSPPLGp.cjs} +2 -2
  19. package/browser/cjs/{Biyqj-Wu75uxLHv1.cjs → DUIyD1-nWzOytYDo.cjs} +2 -2
  20. package/browser/cjs/{DKit140jXAUUSf-_.cjs → D_RushRsBoa4Hd6w.cjs} +2 -2
  21. package/browser/cjs/{hSI9QVPgIxqt3pXc.cjs → D_gx4EJ1Z1jqCpC2.cjs} +1 -1
  22. package/browser/cjs/{qjPE6k7aYlu-R90s.cjs → Dgv9C5kP5-0zdZ_n.cjs} +2 -2
  23. package/browser/cjs/{DCWZ2ZkLp-Horeca.cjs → Dp_f-iB1lirYu5mz.cjs} +1 -1
  24. package/browser/cjs/{BNtn_2pcq6Dd-2HL.cjs → P2nQEqe-ae2Lk91E.cjs} +3 -3
  25. package/browser/cjs/{BiiW2FlRZHxGIWso.cjs → SvTvsTn26UgPTXmE.cjs} +1 -1
  26. package/browser/cjs/index.cjs +2 -2
  27. package/browser/cjs/{D7NgrO__M-IUmM8o.cjs → oIH2DXvUemx8KBZE.cjs} +1 -1
  28. package/{cdn/assets/mq5uPzTIc1x8unBP.js → browser/esm/BEdBgMB0JXu6qm1p.mjs} +1 -1
  29. package/browser/esm/{DFa_tXqv1VN1OZdv.mjs → BUVsXfFhbzBtVoTV.mjs} +17 -17
  30. package/browser/esm/{Q1yWEkJBu4cVEF33.mjs → BWoHBg8cjtJL9xBv.mjs} +6 -6
  31. package/browser/esm/Bc8I4T3hDcq3Tbe7.mjs +46 -0
  32. package/browser/esm/{ChMaIhqaEhF3SLLt.mjs → BpIA1_q9rYZhuE_V.mjs} +7 -7
  33. package/browser/esm/{D0-tgawYa4KXYT2c.mjs → BwpZ-CB67KJ8A2Pd.mjs} +2 -2
  34. package/{cdn/assets/BzptX9H_YCM2l0DE.js → browser/esm/CAUWxMHzGpG7-P5A.mjs} +5 -5
  35. package/browser/esm/{BLsIMzjofsOnRFrU.mjs → CFw_ZTxUHsgd5Pf5.mjs} +6 -6
  36. package/{cdn/assets/CvFAAktSd9TQK1h4.js → browser/esm/CIG-Y2tRBFYerBVK.mjs} +1 -1
  37. package/{cdn/assets/C60KakDbde-A4anI.js → browser/esm/CRLFplTpJUvecqqq.mjs} +1 -1
  38. package/browser/esm/{DJxioSY-hxyM7dmk.mjs → CanwhkFG9e2Ojys-.mjs} +3 -3
  39. package/browser/esm/{CLTP12OHGQ2k4_Kt.mjs → CcGOjkDDVya2Ff-b.mjs} +3 -3
  40. package/browser/esm/{CAm14rTtmPL5-rvQ.mjs → Ce53t5Ez6mDQoNNS.mjs} +126 -126
  41. package/browser/esm/{Btk74VwCVJ1T5LQD.mjs → Cmk4lwRc0QJqs2cT.mjs} +3 -3
  42. package/browser/esm/CnI4MLBb2ZtZInkh.mjs +22 -0
  43. package/{cdn/assets/DXMyzCcyP7039z13.js → browser/esm/CrZPGKZDaJ-22LSg.mjs} +799 -796
  44. package/{cdn/assets/DCuLWmzd9eLWgI03.js → browser/esm/D-GTj1DQOn_EIw_N.mjs} +1 -1
  45. package/browser/esm/{DdrICyX8Ead15N32.mjs → D0YFJdBci18KKVSS.mjs} +1 -1
  46. package/{cdn/assets/Bs-psXrTRw1jFety.js → browser/esm/D7__-CZBbVdVmNms.mjs} +8 -8
  47. package/{cdn/assets/CsVV_QnEl77BQM3V.js → browser/esm/DRX3PxyWmwYCO1oC.mjs} +1 -1
  48. package/{cdn/assets/F-RqJeKWiW4i5344.js → browser/esm/DtS8vZkP_9xxg-8G.mjs} +10475 -10290
  49. package/browser/esm/{D244UwY3qPC_LNc5.mjs → DuOzS4aDJybvfnas.mjs} +2 -2
  50. package/browser/esm/{DDD5zfwNNPKuc_zZ.mjs → ekyugPyyyBIdZgfX.mjs} +1 -1
  51. package/{cdn/assets/Did46-x6ZVwk_-r-.js → browser/esm/evOdu9Z-9G0PNrGI.mjs} +1 -1
  52. package/browser/esm/{CPWh2H15145LP-d5.mjs → goTiQtfGVEDiRLX3.mjs} +1 -1
  53. package/browser/esm/index.mjs +2 -2
  54. package/{cdn/assets/C8omEbSXHWI_wNjp.js → browser/esm/ius8cYWSRDNFx-QU.mjs} +8 -8
  55. package/cdn/assets/{DBgbBl_3O65WhfWN.js → 6GT7WcmdWYVxOobM.js} +7 -7
  56. package/{browser/esm/mq5uPzTIc1x8unBP.mjs → cdn/assets/BEdBgMB0JXu6qm1p.js} +1 -1
  57. package/cdn/assets/{Cz33L9W3cdQckAL5.js → BH-qA3U2gj7snkKJ.js} +3 -3
  58. package/cdn/assets/BPeDOIBYCZkjaWRD.js +46 -0
  59. package/cdn/assets/{DLYF-18qErpwF9Q-.js → BVIGf25ixd6wvJVI.js} +6 -6
  60. package/{browser/esm/Di2tNceI3NodSsgU.mjs → cdn/assets/BcGPdpUCizGdDlXm.js} +8 -8
  61. package/cdn/assets/{NHbXgEQMftGzY01r.js → Be-_CFU80fx1X1E9.js} +3 -3
  62. package/{browser/esm/CvFAAktSd9TQK1h4.mjs → cdn/assets/CIG-Y2tRBFYerBVK.js} +1 -1
  63. package/{browser/esm/C60KakDbde-A4anI.mjs → cdn/assets/CRLFplTpJUvecqqq.js} +1 -1
  64. package/cdn/assets/{ClFGbVy7cnhMW-dO.js → ChD-x-lrZKLslGbg.js} +2 -2
  65. package/{browser/esm/CntwHkPpskE88Ixu.mjs → cdn/assets/CkMou3XlV2mmYqmq.js} +5 -5
  66. package/cdn/assets/{BOl7blN8JotSzCHJ.js → Cx6czat4u0MrS9wL.js} +2 -2
  67. package/{browser/esm/DCuLWmzd9eLWgI03.mjs → cdn/assets/D-GTj1DQOn_EIw_N.js} +1 -1
  68. package/cdn/assets/{DdrICyX8Ead15N32.js → D0YFJdBci18KKVSS.js} +1 -1
  69. package/{browser/esm/CsVV_QnEl77BQM3V.mjs → cdn/assets/DRX3PxyWmwYCO1oC.js} +1 -1
  70. package/cdn/assets/{CEXK9SXjFf1dGHZe.js → DS9Og6WSj_kNksiq.js} +6 -6
  71. package/{browser/esm/CYXzmWJtZn5OJVBF.mjs → cdn/assets/De8HwbKM7sZJMZSq.js} +9723 -9844
  72. package/cdn/assets/DfoJr75R0GrjAv-i.js +22 -0
  73. package/cdn/assets/{Dj3GhNedlKE9TeTn.js → Dw1Rz_MNeT4QWFeY.js} +126 -126
  74. package/{browser/esm/BdLAPrmXIfjGFhhA.mjs → cdn/assets/FSFNUan5QfhjNqMt.js} +799 -796
  75. package/cdn/assets/{CoCIP7n4THmzOggq.js → Ijbe8IzzEjVScejo.js} +17 -17
  76. package/{browser/esm/BTQ-TGJnw7w1Y0CX.mjs → cdn/assets/YQRaiV0_mvhQsFVY.js} +8 -8
  77. package/cdn/assets/{B41q92oKD_VR31Dd.js → _W5FqhFhYviNTP8H.js} +3 -3
  78. package/cdn/assets/{DDD5zfwNNPKuc_zZ.js → ekyugPyyyBIdZgfX.js} +1 -1
  79. package/{browser/esm/Did46-x6ZVwk_-r-.mjs → cdn/assets/evOdu9Z-9G0PNrGI.js} +1 -1
  80. package/cdn/assets/{CPWh2H15145LP-d5.js → goTiQtfGVEDiRLX3.js} +1 -1
  81. package/cdn/index.js +8 -8
  82. package/cdn/loader.js +1 -1
  83. package/package.json +8 -8
  84. package/browser/cjs/Cxt39d6l0pu9k1vT.cjs +0 -19
  85. package/browser/cjs/DDhq2nYMdw5b7wP6.cjs +0 -301
  86. package/browser/cjs/Dkl2t2DSaDxPbm2V.cjs +0 -6
  87. package/browser/esm/BsDYj6xix3mlXry2.mjs +0 -46
  88. package/browser/esm/wziCLl5xvHu6Guu_.mjs +0 -22
  89. package/cdn/assets/C_E1C68wCcRpC6XN.js +0 -46
  90. package/cdn/assets/lM5it-aJgI7DLNH9.js +0 -22
@@ -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 { r as D, t as H, av as ue, V 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, a as _, b 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 "./F-RqJeKWiW4i5344.js";
5
- import { C as ee } from "./Dj3GhNedlKE9TeTn.js";
4
+ import { t as D, w as H, av as ue, W 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, a as _, c 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 "./De8HwbKM7sZJMZSq.js";
5
+ import { C as ee } from "./Dw1Rz_MNeT4QWFeY.js";
6
6
  /**
7
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.5
7
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.6
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.
@@ -27,23 +27,23 @@ const Ae = { "By Rows": !0, "By Columns": !1 }, ie = (E, h) => {
27
27
  if (h[d] === E) return d;
28
28
  }
29
29
  }, ze = oe((E) => {
30
- const { replace: h = !1, findText: r, replaceText: a, findOptions: d, replaceOptions: v, title: A, onHide: K, onFindOrReplace: T, ...P } = E, s = C(null), u = C(null), $ = C(null), W = C(null), j = C(null), N = C(null), G = (e, t) => {
30
+ const { replace: h = !1, findText: r, replaceText: a, findOptions: d, replaceOptions: v, title: A, onHide: K, onFindOrReplace: T, ...P } = E, s = C(null), u = C(null), W = C(null), $ = C(null), j = C(null), N = C(null), G = (e, t) => {
31
31
  t && (t.start(e, { center: !1 }), setTimeout(() => t.stop(e), 180));
32
- }, [J, I] = b(!1), [V, le] = b(!1), [f, B] = b(h), [U, M] = b(!1), [X, q] = b(!1), [o, l] = b({ findText: null, replaceText: null, replace: h, replaceOptions: {}, findOptions: { matchCase: !1, matchEntireCell: !1, useRegex: !1, orientation: R.Orientation.Row, fields: [c.Content.Formulas] }, scope: te.Sheet }), F = H(async (e, t, n, S) => {
32
+ }, [J, I] = b(!1), [B, le] = b(!1), [f, M] = b(h), [U, V] = b(!1), [X, q] = b(!1), [o, l] = b({ findText: null, replaceText: null, replace: h, replaceOptions: {}, findOptions: { matchCase: !1, matchEntireCell: !1, useRegex: !1, orientation: R.Orientation.Row, fields: [c.Content.Formulas] }, scope: te.Sheet }), F = H(async (e, t, n, S) => {
33
33
  if (!T) return;
34
34
  const g = { ...o };
35
35
  g.replaceOptions = { ...g.replaceOptions }, g.findOptions = { ...g.findOptions }, g.replaceOptions.maxCount = n ? void 0 : 1, g.replace = t, t && o.findOptions.fields?.[0] === c.Content.Values && (g.findOptions.fields = [c.Content.Formulas]), g.findOptions.reverse = !e;
36
36
  const ce = await T({ autoFocus: S, ...g });
37
- M(ce === 0);
37
+ V(ce === 0);
38
38
  }, [o, T]);
39
39
  L(() => {
40
- M(!1);
41
- }, [o, V, f]);
40
+ V(!1);
41
+ }, [o, B, f]);
42
42
  const Q = H((e, t) => {
43
43
  if (e.keyCode === ue.Enter) {
44
44
  if (!o.findText) return;
45
45
  let n = !0, S = !1;
46
- e.shiftKey && (n = !1), t ? (e.ctrlKey && e.altKey && (S = !0), G(e, S ? N.current : j.current)) : G(e, n ? W.current : $.current), F(n, t, S, !1);
46
+ e.shiftKey && (n = !1), t ? (e.ctrlKey && e.altKey && (S = !0), G(e, S ? N.current : j.current)) : G(e, n ? $.current : W.current), F(n, t, S, !1);
47
47
  }
48
48
  }, [o]), Y = C(null);
49
49
  pe(() => {
@@ -51,7 +51,7 @@ const Ae = { "By Rows": !0, "By Columns": !1 }, ie = (E, h) => {
51
51
  const t = { ...e };
52
52
  t.findText = r && r.length > 0 ? r : e.findText ?? "", I(!0), a !== void 0 && (t.replaceText = a), d && (t.findOptions = { ...t.findOptions, ...d }), t.replaceText || (t.replaceText = ""), t.replaceOptions && (t.replaceOptions = { ...t.replaceOptions }), v && (t.replaceOptions = { ...t.replaceOptions, ...v }), o.findOptions.fields?.[0] || (o.findOptions.fields = [c.Content.Formulas]);
53
53
  const n = !(!v && a === void 0);
54
- return n && B(n), t;
54
+ return n && M(n), t;
55
55
  }), X || Y.current?.focus();
56
56
  }, [r, a, d, v]), L(() => {
57
57
  f ? (o.findOptions.fields[0], c.Content.Values) : I(!0);
@@ -62,9 +62,9 @@ const Ae = { "By Rows": !0, "By Columns": !1 }, ie = (E, h) => {
62
62
  }, [J, o]);
63
63
  const [re, { width: Z }] = fe();
64
64
  return i(ge, { title: A ?? (f ? "Find & Replace" : "Find"), initialPosition: { y: "35" }, autoFocusSel: ".input", refWindow: Y, onHide: K, onFocus: () => q(!0), onBlur: () => {
65
- q(!1), M(!1);
65
+ q(!1), V(!1);
66
66
  }, PaperProps: { elevation: X ? 3 : 1 }, ...P, children: p(me, { dividers: !0, ref: re, sx: { display: "flex", flexDirection: "column", paddingLeft: (e) => e.spacing(1.5), paddingRight: (e) => e.spacing(1.5) }, onKeyDown: (e) => {
67
- if (e.key === "h" && e.ctrlKey) B(!0), s.current?.contains(document.activeElement) && u.current?.focus();
67
+ if (e.key === "h" && e.ctrlKey) M(!0), s.current?.contains(document.activeElement) && u.current?.focus();
68
68
  else if (e.key === "f" && e.ctrlKey) s.current?.focus();
69
69
  else if (e.key === "c" && e.altKey) l((t) => {
70
70
  const n = { ...t };
@@ -82,10 +82,10 @@ const Ae = { "By Rows": !0, "By Columns": !1 }, ie = (E, h) => {
82
82
  });
83
83
  }
84
84
  e.preventDefault();
85
- }, children: [p(O, { sx: { display: "flex", flexDirection: "row", gap: (e) => e.spacing(1) }, children: [p(O, { sx: { display: "flex", flexDirection: "row", alignItems: "start", gap: (e) => e.spacing(0.25), paddingTop: "3px" }, children: [i(m, { selected: V, onSelectToggle: (e) => {
85
+ }, children: [p(O, { sx: { display: "flex", flexDirection: "row", gap: (e) => e.spacing(1) }, children: [p(O, { sx: { display: "flex", flexDirection: "row", alignItems: "start", gap: (e) => e.spacing(0.25), paddingTop: "3px" }, children: [i(m, { selected: B, onSelectToggle: (e) => {
86
86
  le(e);
87
87
  }, preventFocus: !0, label: "Toggle Additional Options", icon: x(i(xe, {})) }), i(m, { selected: f, onSelectToggle: (e) => {
88
- B(e);
88
+ M(e);
89
89
  }, preventFocus: !0, label: "Toggle Replace", icon: x(i(he, {})), shortcut: { key: f ? "F" : "H", modifiers: [y.Ctrl] } })] }), p(O, { sx: { display: "flex", flexDirection: "column", maxWidth: "100%", boxSizing: "border-box" }, children: [p(O, { sx: { display: "flex", flexDirection: "row", alignItems: "center" }, children: [i(_, { label: "Find", InputLabelProps: { shrink: !0 }, InputProps: { sx: { paddingRight: (e) => e.spacing(1), minWidth: Z > 460 ? "20em" : void 0, backgroundImage: `linear-gradient(${k("#fff", w(5))}, ${k("#fff", w(5))})` }, inputProps: { draggable: !1, ref: s, className: "input", autoFocus: !0, spellCheck: !1, autoComplete: "off", sx: { paddingTop: (e) => e.spacing(1.25), paddingBottom: (e) => e.spacing(0.75) } }, endAdornment: i(Oe, { sx: { transform: "scale(0.75) translateX(16px)" }, position: "end", children: p(O, { sx: { display: "flex", alignItems: "center", flexDirection: "row", gap: "1px" }, children: [i(m, { selected: o.findOptions.matchCase, onSelectToggle: (e) => {
90
90
  l((t) => {
91
91
  const n = { ...t };
@@ -110,9 +110,9 @@ const Ae = { "By Rows": !0, "By Columns": !1 }, ie = (E, h) => {
110
110
  e.stopPropagation();
111
111
  } }), i(m, { selected: o.findOptions.reverse, onSelectToggle: (e) => {
112
112
  F(!1, !1);
113
- }, touchRippleRef: $, label: "", shortcut: { key: "Enter", modifiers: [y.Shift] }, icon: x(o.findOptions.orientation !== R.Orientation.Column ? i(Se, {}) : i(De, {})), disabled: !o.findText }), i(m, { selected: !o.findOptions.reverse, onSelectToggle: (e) => {
113
+ }, touchRippleRef: W, label: "", shortcut: { key: "Enter", modifiers: [y.Shift] }, icon: x(o.findOptions.orientation !== R.Orientation.Column ? i(Se, {}) : i(De, {})), disabled: !o.findText }), i(m, { selected: !o.findOptions.reverse, onSelectToggle: (e) => {
114
114
  F(!0, !1);
115
- }, touchRippleRef: W, label: "Next Match", shortcut: { key: "Enter" }, icon: x(o.findOptions.orientation !== R.Orientation.Column ? i(Le, {}) : i(Ie, {})), disabled: !o.findText })] }), i(ee, { in: f, timeout: ne, onExit: () => {
115
+ }, touchRippleRef: $, label: "Next Match", shortcut: { key: "Enter" }, icon: x(o.findOptions.orientation !== R.Orientation.Column ? i(Le, {}) : i(Ie, {})), disabled: !o.findText })] }), i(ee, { in: f, timeout: ne, onExit: () => {
116
116
  s.current?.focus();
117
117
  }, children: p(O, { sx: { display: "flex", flexDirection: "row", alignItems: "center", marginTop: (e) => e.spacing(2) }, children: [i(_, { label: "Replace", InputLabelProps: { shrink: !0 }, InputProps: { sx: { paddingRight: (e) => e.spacing(1), backgroundImage: `linear-gradient(${k("#fff", w(5))}, ${k("#fff", w(5))})` }, inputProps: { ref: u, className: "input", spellCheck: !1, autoComplete: "off", sx: { paddingTop: (e) => e.spacing(1.25), paddingBottom: (e) => e.spacing(0.75) } } }, sx: { flex: "1 1 100%", marginRight: (e) => e.spacing(1) }, value: o.replaceText ?? "", onChange: (e) => {
118
118
  l((t) => {
@@ -125,7 +125,7 @@ const Ae = { "By Rows": !0, "By Columns": !1 }, ie = (E, h) => {
125
125
  F(!0, !0);
126
126
  }, touchRippleRef: j, label: "Replace", shortcut: { key: "Enter" }, icon: x(i(ve, {})), disabled: !o.findText }), i(m, { onSelectToggle: (e) => {
127
127
  F(!0, !0, !0);
128
- }, touchRippleRef: N, label: "Replace All", shortcut: { key: "Enter", modifiers: [y.Ctrl, y.Alt] }, icon: x(i(Te, {})), disabled: !o.findText })] }) })] })] }), i(ee, { in: V, timeout: ne, onExit: () => {
128
+ }, touchRippleRef: N, label: "Replace All", shortcut: { key: "Enter", modifiers: [y.Ctrl, y.Alt] }, icon: x(i(Te, {})), disabled: !o.findText })] }) })] })] }), i(ee, { in: B, timeout: ne, onExit: () => {
129
129
  s.current?.focus();
130
130
  }, children: p(O, { sx: { minHeight: "10px", flex: "1 1 100%", display: "flex", flexDirection: "column", gap: (e) => e.spacing(0.5), marginTop: (e) => e.spacing(1) }, children: [i(Re, { orientation: "horizontal", sx: { marginBottom: (e) => e.spacing(1.5) } }), p(O, { sx: { display: "flex", flexDirection: Z >= 413 ? "row" : "column", justifyContent: "space-evenly", alignItems: "center", rowGap: (e) => e.spacing(2) }, tabIndex: -1, children: [i(z, { label: "Within", value: o.scope, options: te, onSelect: (e) => {
131
131
  l((t) => {
@@ -1,17 +1,17 @@
1
1
  import { jsx as a, jsxs as s } from "react/jsx-runtime";
2
- import { memo as O, useState as r, useRef as M, useReducer as A, useMemo as E } from "react";
3
- import { aL as W, V, aM as k, aN as Q, t 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 "./CYXzmWJtZn5OJVBF.mjs";
2
+ import { memo as O, useState as r, useRef as M, useReducer as W, useMemo as A } from "react";
3
+ import { aL as E, W as k, aM as Q, 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 w, ai as b, aS as S } from "./De8HwbKM7sZJMZSq.js";
4
4
  /**
5
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.5
5
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.6
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.
9
9
  */
10
10
  const te = O((C) => {
11
- const { title: N, onHide: R, autoFocusSel: v = ".range-input input", context: T, notifier: l = W, command: c, commands: d, ...D } = C, [F, g] = r(!1), [m, p] = r(!1), h = M(null), [Y, B] = A((e) => e + 1, 0), [H, { width: Z }] = V();
12
- k(c);
13
- const o = T ?? c.context(), t = o.table(), [P, I] = r(() => t ? o.getNames().getRanges(t.getRange()) : null), j = E(() => t?.getName() ?? "", [t]);
14
- Q(o.table(), { onAnchorCoordsChange(e) {
11
+ const { title: N, onHide: R, autoFocusSel: v = ".range-input input", context: T, notifier: l = E, command: c, commands: d, ...D } = C, [F, g] = r(!1), [m, p] = r(!1), h = M(null), [Y, B] = W((e) => e + 1, 0), [H, { width: Z }] = k();
12
+ Q(c);
13
+ const o = T ?? c.context(), t = o.table(), [P, I] = r(() => t ? o.getNames().getRanges(t.getRange()) : null), j = A(() => t?.getName() ?? "", [t]);
14
+ V(o.table(), { onAnchorCoordsChange(e) {
15
15
  I(o.getNames().getRanges(e.getRange()));
16
16
  }, onProtectedChange(e) {
17
17
  B();
@@ -50,7 +50,7 @@ const te = O((C) => {
50
50
  } catch (i) {
51
51
  l.showError(i);
52
52
  }
53
- } }), a(n, { sx: { display: "flex", alignItems: "center", justifyContent: "center", flexDirection: "column", marginTop: (e) => e.spacing(2), marginBottom: (e) => e.spacing(1) }, children: a(X, { table: t, styles: o.styles(), bodyStyle: o.bodyStyle(), cellHeight: 30, isLive: !0 }) }), a(f, { orientation: "horizontal" }), s(n, { sx: { display: "flex", flexDirection: "column", justifyContent: "center" }, children: [a(y, { variant: w.Menuitem, command: d.getCommand("convertTableToRange"), commandState: t, icon: b(a(S, {})) }), a(y, { variant: w.Menuitem, commandState: t, command: d.getCommand("deleteTable"), icon: b(a(S, {})) })] })] })] }), u] }) });
53
+ } }), a(n, { sx: { display: "flex", alignItems: "center", justifyContent: "center", flexDirection: "column", marginTop: (e) => e.spacing(2), marginBottom: (e) => e.spacing(1) }, children: a(X, { table: t, styles: o.styles(), bodyStyle: o.bodyStyle(), cellHeight: 30, isLive: !0 }) }), a(f, { orientation: "horizontal" }), s(n, { sx: { display: "flex", flexDirection: "column", justifyContent: "center" }, children: [a(y, { variant: b.Menuitem, command: d.getCommand("convertTableToRange"), commandState: t, icon: w(a(S, {})) }), a(y, { variant: b.Menuitem, commandState: t, command: d.getCommand("deleteTable"), icon: w(a(S, {})) })] })] })] }), u] }) });
54
54
  });
55
55
  export {
56
56
  te as TableDetailsWindow,
@@ -1,12 +1,12 @@
1
1
  import { Workbook as y, IRange as C } from "@sheetxl/sdk";
2
2
  /**
3
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.5
3
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.6
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.
7
7
  */
8
8
  const k = async (a, p) => {
9
- const { trimLeadingBlankRow: i = !0, trimLeadingBlankColumn: u = !0, excludeHidden: h = !1, sheetKey: r = null, papaParseConfig: m = {} } = p || {}, f = await import("./CsVV_QnEl77BQM3V.js").then((s) => s.p);
9
+ const { trimLeadingBlankRow: i = !0, trimLeadingBlankColumn: u = !0, excludeHidden: h = !1, sheetKey: r = null, papaParseConfig: m = {} } = p || {}, f = await import("./DRX3PxyWmwYCO1oC.js").then((s) => s.p);
10
10
  if (!a) throw new Error("workbook must be specified");
11
11
  let t = null;
12
12
  if (r === null ? t = a.getSelectedSheet() : typeof r == "number" ? t = a.getSheets().search()[r] : typeof r == "string" && (t = a.getSheets().getByName(r)), !t) throw new Error("invalid sheetKey specified");
@@ -27,7 +27,7 @@ const k = async (a, p) => {
27
27
  const o = { ...m }, g = f.unparse(d, o);
28
28
  return new TextEncoder().encode(g);
29
29
  }, R = async (a, p) => {
30
- const { papaParseConfig: i, setValuesOptions: u, constructorOptions: h } = p ?? {}, r = await import("./CsVV_QnEl77BQM3V.js").then((o) => o.p), m = new TextDecoder().decode(a);
30
+ const { papaParseConfig: i, setValuesOptions: u, constructorOptions: h } = p ?? {}, r = await import("./DRX3PxyWmwYCO1oC.js").then((o) => o.p), m = new TextDecoder().decode(a);
31
31
  let f = -1;
32
32
  const t = new y(h), c = t.getSelectedSheet().getEntireRange().startIncrementalUpdates({ orientation: C.Orientation.Row }), d = p?.onProgress;
33
33
  let e = 0;
@@ -1,7 +1,7 @@
1
1
  import * as Je from "react";
2
2
  import { createElement as $r, forwardRef as Ya, useRef as Xa, useImperativeHandle as Wa, useEffect as Ha } from "react";
3
3
  /**
4
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.5
4
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.6
5
5
  *
6
6
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
7
7
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.5
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.6
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-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.5
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.6
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/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.3.5
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.6
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 b = async (e) => c || (c = await (async (n, t) => {
116
116
  try {
117
117
  if (t?.selector && C(t?.selector, t?.loading), !n) {
118
- const { resolveDependencies: r } = await import("./assets/ClFGbVy7cnhMW-dO.js");
118
+ const { resolveDependencies: r } = await import("./assets/ChD-x-lrZKLslGbg.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);
@@ -136,7 +136,7 @@ const b = async (e) => c || (c = await (async (n, t) => {
136
136
  let d = null;
137
137
  await new Promise((v) => {
138
138
  o.render(t.React.createElement(g, { ...m, ref: (i) => {
139
- console.log("SheetXL: Component instance ready:", i), i && (d = i, v());
139
+ i && (d = i, v());
140
140
  } }));
141
141
  });
142
142
  const y = { runtime: t, root: o };
@@ -145,8 +145,8 @@ const b = async (e) => c || (c = await (async (n, t) => {
145
145
  return new Proxy(d, { get(v, i, z) {
146
146
  if (S) throw new Error(`SheetXL instance attached to "${a}" has been detached. Cannot access properties.`);
147
147
  return i === "update" ? (N) => {
148
- const X = { ...m, ...N, ref: u };
149
- return o.render(t.React.createElement(g, X)), Promise.resolve();
148
+ const $ = { ...m, ...N, ref: u };
149
+ return o.render(t.React.createElement(g, $)), Promise.resolve();
150
150
  } : i === "detach" ? () => (x.delete(a), o.unmount(), S = !0, Promise.resolve()) : Reflect.get(v, i, z);
151
151
  } });
152
152
  } catch (o) {
@@ -164,8 +164,8 @@ if (w) {
164
164
  console.error("Error creating SheetXL workbook:", n);
165
165
  });
166
166
  }
167
- const $ = M;
167
+ const X = M;
168
168
  export {
169
- $ as SheetXL,
170
- $ as default
169
+ X as SheetXL,
170
+ X as default
171
171
  };
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.3.5
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.6
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.3.5",
4
+ "version": "0.3.6",
5
5
  "license": "SEE LICENSE IN <LICENSE>",
6
6
  "type": "module",
7
7
  "main": "./browser/esm/index.mjs",
@@ -36,17 +36,17 @@
36
36
  "@emotion/cache": "^11.14.0",
37
37
  "@emotion/react": "^11.14.0",
38
38
  "@emotion/styled": "^11.14.0",
39
- "@mui/icons-material": "^6.4.2",
40
- "@mui/material": "^6.4.2",
41
- "@mui/styled-engine": "^6.4.2",
42
- "@mui/system": "^6.4.2",
43
- "@mui/utils": "^6.4.2",
44
- "@sheetxl/studio-mui": "^0.3.5",
39
+ "@mui/icons-material": "^6.5.0",
40
+ "@mui/material": "^6.5.0",
41
+ "@mui/styled-engine": "^6.5.0",
42
+ "@mui/system": "^6.5.0",
43
+ "@mui/utils": "^6.4.9",
44
+ "@sheetxl/studio-mui": "^0.3.6",
45
45
  "csstype": "^3.1.3",
46
46
  "http-server": "^14.1.1"
47
47
  },
48
48
  "peerDependencies": {
49
- "@sheetxl/sdk": "^0.3.5",
49
+ "@sheetxl/sdk": "^0.3.6",
50
50
  "react": "^19.1.0",
51
51
  "react-dom": "^19.1.0"
52
52
  }