@sheetxl/studio-mui 0.6.16 → 0.6.18

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 (38) hide show
  1. package/browser/cjs/{DgxATv5Pyt-UvGnz.cjs → BN4aFZRab6VVCDRf.cjs} +1 -1
  2. package/browser/cjs/{CmZxpoNWrvl55SsY.cjs → BNykDmn-jxiYcIQj.cjs} +1 -1
  3. package/browser/cjs/{C3105MWc-woxUHZc.cjs → BYTvEMkYL0RP_ps4.cjs} +2 -2
  4. package/browser/cjs/{CSKCJG2BNPJRnLQj.cjs → CUkp30ObmoYCJQ1t.cjs} +2 -2
  5. package/browser/cjs/{GWPpESpVYOLg46KV.cjs → CdB9FUSOOcgfgefd.cjs} +1 -1
  6. package/browser/cjs/{yWK3cx-bOKdeggI0.cjs → D9hFxTxVmINH11I5.cjs} +2 -2
  7. package/browser/cjs/{BDg6I2DDs9-iKYF5.cjs → DA6AaNv2yQwpHkNX.cjs} +2 -2
  8. package/browser/cjs/{CHSxqTyJzATci6Tk.cjs → DQVEvZcBdQ5wUgah.cjs} +3 -3
  9. package/browser/cjs/{GngNka5PfIG6BrK2.cjs → DTF-sH8eYVxIMWj1.cjs} +1 -1
  10. package/browser/cjs/{CB1a_1hSwUAkPG5N.cjs → Dkrv98Pt_gBc35aF.cjs} +2 -2
  11. package/browser/cjs/{CJE5r89wOc3-2hpW.cjs → I-JJQgHQPDyvk6HH.cjs} +1 -1
  12. package/browser/cjs/index.cjs +2 -2
  13. package/browser/cjs/{DcmO3BW8NLtOum8V.cjs → rE5-I8fnfIULvQXU.cjs} +6 -6
  14. package/browser/esm/{B17P3VJE3ZxHgLNv.mjs → BKOIurW3mYEcnCTS.mjs} +2 -2
  15. package/browser/esm/{yPYJ29nBH4i4bB4t.mjs → BWjaUMYWGFwkVa5H.mjs} +6 -6
  16. package/browser/esm/{C-dudMiRxjKns-WI.mjs → BlCa3HIR23dHGfTM.mjs} +1 -1
  17. package/browser/esm/{DtDmMKOuXFl9bJMQ.mjs → BmrGIoLQK76R0aN6.mjs} +2 -2
  18. package/browser/esm/{Bo-wyFU3XM8BAZTM.mjs → C2GUfkj50aw_nr70.mjs} +1 -1
  19. package/browser/esm/{BJEHl7vWv3pGi8yC.mjs → C8oyzGVcvYnR6Jw8.mjs} +2 -2
  20. package/browser/esm/{VjiteO64m4ODXA3j.mjs → CAFSDtARvE6zD6L_.mjs} +1 -1
  21. package/browser/esm/{CfD7z7cXAaMbLeux.mjs → CIgXbeqCnCfVQrLW.mjs} +2 -2
  22. package/browser/esm/{EzpkOO2rZZZVQma_.mjs → DdXINikeTgiJnXFw.mjs} +3 -3
  23. package/browser/esm/{D2nP8LbaeYlT5-wd.mjs → DrHM88KIJrh6rDV1.mjs} +2 -2
  24. package/browser/esm/{Hx_EbM0ccKXtXnJr.mjs → WCbdqe0I4CQAyhax.mjs} +1 -1
  25. package/browser/esm/index.mjs +2 -2
  26. package/browser/esm/{_Ee30-Edy8Us9by3.mjs → ns8UMyaw-8Mb76pu.mjs} +1 -1
  27. package/node/esm/{DpdeL-ltQiXWEMTo.mjs → B14zbQ6YYVVNISVd.mjs} +1 -1
  28. package/node/esm/{KiwV-gQ9jp6WWNZ6.mjs → BthUgPPH-I3a5EDi.mjs} +1 -1
  29. package/node/esm/{D4SJsMAK4KXSGtQL.mjs → C2BsnfIZHmFJow9U.mjs} +1 -1
  30. package/node/esm/{C331YVB-0KYlLpkb.mjs → CD5iSnfD-urKHi6O.mjs} +1 -1
  31. package/node/esm/{DVD2u1Q9Lfz8C3s0.mjs → CdYw8eNVbzodCDva.mjs} +1 -1
  32. package/node/esm/{GhaDaPYh-TbkYlig.mjs → CnVeHGEuzAOXhq-V.mjs} +1 -1
  33. package/node/esm/{B98JO6IKYk9T4Bel.mjs → DQI5z6JQBCOqFS7x.mjs} +1 -1
  34. package/node/esm/{BDkVQf1tvx4PAlqr.mjs → DiVBqpFMiK2Bdi3T.mjs} +1 -1
  35. package/node/esm/{D8f8OBcU38zwwrrh.mjs → DnG1pT1raJ-k6z1l.mjs} +1 -1
  36. package/node/esm/{Bd6Geg7MHEA-1K6n.mjs → bKzQAG3c-526EaEs.mjs} +1 -1
  37. package/node/esm/index.mjs +6 -6
  38. package/package.json +8 -8
@@ -6,9 +6,9 @@ import { ArrowBack as he, ArrowUpward as Oe, ArrowForward as Ce, ArrowDownward a
6
6
  import { ICell as c, IRange as R } from "@sheetxl/sdk";
7
7
  import { useCallbackRef as $, KeyCodes as be, KeyModifiers as y } from "@sheetxl/utils-react";
8
8
  import { InternalWindow as Te, ExhibitOptionButton as m, themeIcon as x, FindOptionsIcon as ve, FindReplaceToggleIcon as Re, FindCaseSensitiveIcon as Ie, FindWholeWordIcon as ke, FindRegExIcon as Fe, FindReplaceIcon as we, FindReplaceAllIcon as Ee, ExhibitDivider as Se } from "@sheetxl/utils-mui";
9
- import { u as De } from "./yPYJ29nBH4i4bB4t.mjs";
9
+ import { u as De } from "./BWjaUMYWGFwkVa5H.mjs";
10
10
  /**
11
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.6.16
11
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.6.18
12
12
  *
13
13
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
14
14
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -12,7 +12,7 @@ import Kt, { createPortal as xp } from "react-dom";
12
12
  import { CommonUtils as Jt, ChainedError as Kn, PartialError as yp, UndoManager as wp } from "@sheetxl/utils";
13
13
  import { IOUtils as Yt } from "@sheetxl/io";
14
14
  /**
15
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.6.16
15
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.6.18
16
16
  *
17
17
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
18
18
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -157,7 +157,7 @@ const Sp = Y(J((r, i) => {
157
157
  n?.set(a, g);
158
158
  const s = g.toRGBA().toString();
159
159
  l?.set(s, g);
160
- }, Mp = ae.lazy(() => import("./D2nP8LbaeYlT5-wd.mjs")), Ip = Y(J((r, i) => {
160
+ }, Mp = ae.lazy(() => import("./DrHM88KIJrh6rDV1.mjs")), Ip = Y(J((r, i) => {
161
161
  const { selectedColor: o = null, previewColor: t = r.selectedColor ?? null, recentColors: n, schemeLookup: l, disableAlpha: c = !1, previewDebounceTime: g = 100, initialPanelType: a, defaultButtonSize: s = 24, width: u, onElementLoad: p, onDone: h, onEyeDropStart: d, onEyeDropStop: m, onPreviewColor: y, onPreviewColorImmediate: b, onSelectColor: x, autoColor: f, autoColorLabel: w = "Automatic", autoColorPosition: v = To.Start, compareRGB: C = !1, darkMode: k = !1, ...T } = r, I = t || o, N = te(y, [y]), B = te(b, [b]), P = te(x, [x]), S = te(d, [d]), R = te(m, [m]), [L, F] = U(!1), V = at(), M = W(() => l || ft.getDefaultSchemeLookup(), [l]), E = W(() => {
162
162
  const H = /* @__PURE__ */ new Map(), oe = /* @__PURE__ */ new Map(), Te = [];
163
163
  ze("Primary Background", "bg1", M, Te, H, oe), ze("Primary Text", "tx1", M, Te, H, oe), ze("Secondary Background", "bg2", M, Te, H, oe), ze("Secondary Text", "tx2", M, Te, H, oe), ze("Accent 1", "accent1", M, Te, H, oe), ze("Accent 2", "accent2", M, Te, H, oe), ze("Accent 3", "accent3", M, Te, H, oe), ze("Accent 4", "accent4", M, Te, H, oe), ze("Accent 5", "accent5", M, Te, H, oe), ze("Accent 6", "accent6", M, Te, H, oe);
@@ -2173,7 +2173,7 @@ const Ha = async (r) => {
2173
2173
  try {
2174
2174
  const o = top ?? window;
2175
2175
  o.SheetXL || (o.SheetXL = Object.freeze({ getSelectedWorkbook: () => Pt?.getWorkbook(), getSelectedSheet: () => Pt?.getWorkbook().getSelectedSheet(), getSelectedRange: () => Pt?.getWorkbook().getSelectedRange(), getRange: (t) => Pt?.getWorkbook().getRange(t), getSelectedWorkbookElement: () => Pt, getLicenseManager: () => So, moreExamples: () => {
2176
- console.table({ "SheetXL.getRange('Sheet1!e5:f6').setValues([[110, 220], [210, 220]])": { Summary: "Set an array of values." }, "SheetXL.getRange('a1:e5').setValue(100)": { Summary: "Set a single repeating value to a range." }, "SheetXL.getRange('Sheet1!e5:f6').getValues()": { Summary: "Get the values as a 2d array (see forEach)." }, "SheetXL.getSelectedRange().setValue(new Date())": { Summary: "Set current date/time using Javascript Date." }, "SheetXL.getSelectedRange().setValue('10/23/95')": { Summary: "Set current date/time using string." }, "SheetXL.getSelectedSheet().getUsedRange().getValues()": { Summary: "Get all of the values in a sheet." }, "SheetXL.getSelectedRange().updateStyle({ fill: 'accent4' })": { Summary: "Set fill to theme color 4." }, "SheetXL.getRange('E:L').updateStyle({ fill: 'accent1 lumMod 90 lumOff 40' })": { Summary: "Set some columns to a modified theme color." }, "SheetXL.getRange('e5:f10').updateStyle({ style: { border: 'double blue' }})": { Summary: "Set border." }, "SheetXL.getCell().getStyle().fill.toCSS()": { Summary: "Get the fill style as css for the selected cell." }, "SheetXL.getRange('a1:a3').autoFill('a1:a7')": { Summary: "Autofill down." }, "SheetXL.getRange('e7:i9').merge({ orientation: 'rows' })": { Summary: "Merge cells horizontally." }, "SheetXL.getSelectedRange().sort({ ascending: false, hasHeader: false })": { Summary: "Sort selected cells ascending with a header." }, "SheetXL.getSelectedRange().clear('all')": { Summary: "Clear the current range a different way." }, "SheetXL.getSelectedSheet().getTables().add('b2:e9')": { Summary: "Create a 4x8 table at b2 for current sheet." }, "SheetXL.getRange('a1:c3').copyFrom('e1:g3')": { Summary: "Copy cells." }, "SheetXL.getRange('c:t').getColumnHeaders().setSize(30)": { Summary: "Set the size of columns to 30 pixels." }, "SheetXL.getRange('2:3').delete()": { Summary: "Remove rows 2 and 3 and shift up." }, "SheetXL.getSelectedSheet().getMovables().addImage('https://www.sheetxl.com/logo-text.svg')": { Summary: "Add an image." }, "SheetXL.getSelectedSheet().getMovables().addImage('https://www.sheetxl.com/logo-text.svg', { bounds: { height: 100 } })": { Summary: "Add an image of height 100." }, "SheetXL.getSelectedRange().doBatch(() => { SheetXL.getSelectedRange().setValue(1.50).updateStyle({ numberFormat: '0%' }).autoFit(); }, 'Enter 150%')": { Summary: "Set value to 100 and numberformat to 0% as a single." }, "SheetXL.getSelectedRange().doBatch(() => { SheetXL.getSelectedRange().setValue('Remind Me Later').updateStyle({ namedStyle: 'Note'}).autoFit(); }, 'Set Reminder')": { Summary: "Set a value and style to Note style and autofit text." }, "SheetXL.getSelectedWorkbook().getNames().addReference('Small_Range', 'A2:E5');": { Summary: "Add a named range." }, "SheetXL.getSelectedWorkbook().getRange('a1:e5').addListener((e) => { console.log('got an update for:', e.getSource().toString()) })": { Summary: "Listen for updates at a range." } });
2176
+ console.table({ "SheetXL.getRange('Sheet1!e5:f6').setValues([[110, 220], [210, 220]])": { Summary: "Set an array of values." }, "SheetXL.getRange('a1:e5').setValue(100)": { Summary: "Set a single repeating value to a range." }, "SheetXL.getRange('Sheet1!e5:f6').getValues()": { Summary: "Get the values as a 2d array (see forEach)." }, "SheetXL.getSelectedRange().setValue(new Date())": { Summary: "Set current date/time using Javascript Date." }, "SheetXL.getSelectedRange().setValue('10/23/95')": { Summary: "Set current date/time using string." }, "SheetXL.getSelectedSheet().getUsedRange().getValues()": { Summary: "Get all of the values in a sheet." }, "SheetXL.getSelectedRange().getStyle().update({ fill: 'accent4' })": { Summary: "Set fill to theme color 4." }, "SheetXL.getRange('E:L').getStyle().update({ fill: 'accent1 lumMod 90 lumOff 40' })": { Summary: "Set some columns to a modified theme color." }, "SheetXL.getRange('e5:f10').getStyle().update({ style: { border: 'double blue' }})": { Summary: "Set border." }, "SheetXL.getCell().getStyle().fill.toCSS()": { Summary: "Get the fill style as css for the selected cell." }, "SheetXL.getRange('a1:a3').autoFill('a1:a7')": { Summary: "Autofill down." }, "SheetXL.getRange('e7:i9').merge({ orientation: 'rows' })": { Summary: "Merge cells horizontally." }, "SheetXL.getSelectedRange().sort({ ascending: false, hasHeader: false })": { Summary: "Sort selected cells ascending with a header." }, "SheetXL.getSelectedRange().clear('all')": { Summary: "Clear the current range a different way." }, "SheetXL.getSelectedSheet().getTables().add('b2:e9')": { Summary: "Create a 4x8 table at b2 for current sheet." }, "SheetXL.getRange('a1:c3').copyFrom('e1:g3')": { Summary: "Copy cells." }, "SheetXL.getRange('c:t').getColumnHeaders().setSize(30)": { Summary: "Set the size of columns to 30 pixels." }, "SheetXL.getRange('2:3').delete()": { Summary: "Remove rows 2 and 3 and shift up." }, "SheetXL.getSelectedSheet().getMovables().addImage('https://www.sheetxl.com/logo-text.svg')": { Summary: "Add an image." }, "SheetXL.getSelectedSheet().getMovables().addImage('https://www.sheetxl.com/logo-text.svg', { bounds: { height: 100 } })": { Summary: "Add an image of height 100." }, "SheetXL.getSelectedRange().doBatch(() => { SheetXL.getSelectedRange().setValue(1.50).getStyle().update({ numberFormat: '0%' }).autoFit(); }, 'Enter 150%')": { Summary: "Set value to 100 and numberformat to 0% as a single." }, "SheetXL.getSelectedRange().doBatch(() => { SheetXL.getSelectedRange().setValue('Remind Me Later').getStyle().update({ namedStyle: 'Note'}).autoFit(); }, 'Set Reminder')": { Summary: "Set a value and style to Note style and autofit text." }, "SheetXL.getSelectedWorkbook().getNames().addReference('Small_Range', 'A2:E5');": { Summary: "Add a named range." }, "SheetXL.getSelectedWorkbook().getRange('a1:e5').addListener((e) => { console.log('got an update for:', e.getSource().toString()) })": { Summary: "Listen for updates at a range." } });
2177
2177
  } }));
2178
2178
  } catch (o) {
2179
2179
  o instanceof DOMException || console.error(o), Go = !0;
@@ -3017,7 +3017,7 @@ Names can be used as a substitute for cell references.`, shortcut: { key: "F3",
3017
3017
  const F = i.getSelectedSheet().getSelectedRange();
3018
3018
  if (L !== "Ok") return;
3019
3019
  const V = i.getStyles().setNamed({ name: R, style: F.getCell().getStyle() });
3020
- F.updateStyle({ named: V.getName() });
3020
+ F.getStyle().update({ named: V.getName() });
3021
3021
  });
3022
3022
  }), b.getCommand("deleteCellStyle").updateCallback((S) => {
3023
3023
  S.delete();
@@ -4181,7 +4181,7 @@ const zl = Y(J((r, i) => {
4181
4181
  const Q = { ...E, onKeyDown: (q) => {
4182
4182
  u?.dispatchToFocusedCommand(q), q.isDefaultPrevented() || q.isPropagationStopped() || E?.onKeyDown?.(q);
4183
4183
  } };
4184
- return C(M, { sort: () => import("./Hx_EbM0ccKXtXnJr.mjs"), numberFormat: () => import("./_Ee30-Edy8Us9by3.mjs"), hyperlink: () => import("./VjiteO64m4ODXA3j.mjs"), comments: () => import("./Bo-wyFU3XM8BAZTM.mjs"), find: () => import("./B17P3VJE3ZxHgLNv.mjs"), tableDetails: () => import("./DtDmMKOuXFl9bJMQ.mjs"), tableNew: () => import("./BJEHl7vWv3pGi8yC.mjs"), namedDetails: () => import("./CfD7z7cXAaMbLeux.mjs") }[M], Q, K);
4184
+ return C(M, { sort: () => import("./WCbdqe0I4CQAyhax.mjs"), numberFormat: () => import("./ns8UMyaw-8Mb76pu.mjs"), hyperlink: () => import("./CAFSDtARvE6zD6L_.mjs"), comments: () => import("./C2GUfkj50aw_nr70.mjs"), find: () => import("./BKOIurW3mYEcnCTS.mjs"), tableDetails: () => import("./BmrGIoLQK76R0aN6.mjs"), tableNew: () => import("./C8oyzGVcvYnR6Jw8.mjs"), namedDetails: () => import("./CIgXbeqCnCfVQrLW.mjs") }[M], Q, K);
4185
4185
  }, showOptions: k, showInputOptions: T, showError: (M) => {
4186
4186
  let E, K = wt.Error, Q = "Unknown Error";
4187
4187
  typeof M == "string" ? Q = M : M instanceof Error && (E = M, M.message && (Q = M.message)), M instanceof yp && (K = wt.Info), V(Q, { type: K, enqueueProps: { error: E } });
@@ -4279,7 +4279,7 @@ const zl = Y(J((r, i) => {
4279
4279
  const { showModal: Te } = Wd();
4280
4280
  return ue(() => {
4281
4281
  const ge = () => new Promise((fe, Z) => {
4282
- const ce = ae.lazy(() => import("./EzpkOO2rZZZVQma_.mjs")), Me = Te(ce, { title: "Shortcut Keys Reference", commands: H, onDone: () => {
4282
+ const ce = ae.lazy(() => import("./DdXINikeTgiJnXFw.mjs")), Me = Te(ce, { title: "Shortcut Keys Reference", commands: H, onDone: () => {
4283
4283
  Me.hide();
4284
4284
  }, TransitionProps: { onExited: () => {
4285
4285
  fe(!0);
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.6.16
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.6.18
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.
@@ -4,9 +4,9 @@ import { DialogContent as A, Box as n } from "@mui/material";
4
4
  import { DefaultNotifier as k, useCommand as V, useCallbackRef as f, CommandButtonType as x } from "@sheetxl/utils-react";
5
5
  import { InternalWindow as q, ExhibitDivider as y, CommandButton as b, themeIcon as w, InsertTableIcon as C } from "@sheetxl/utils-mui";
6
6
  import { useModelListener as G } from "@sheetxl/react";
7
- import { u as J, N as K, R as Q, T as U, a as X } from "./yPYJ29nBH4i4bB4t.mjs";
7
+ import { u as J, N as K, R as Q, T as U, a as X } from "./BWjaUMYWGFwkVa5H.mjs";
8
8
  /**
9
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.6.16
9
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.6.18
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.
@@ -5,7 +5,7 @@ import { Box as V, FormControl as $, TextField as j } from "@mui/material";
5
5
  import { useCallbackRef as m } from "@sheetxl/utils-react";
6
6
  import { OptionsDialog as z } from "@sheetxl/utils-mui";
7
7
  /**
8
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.6.16
8
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.6.18
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.
@@ -3,9 +3,9 @@ import { memo as N, useState as i, useCallback as T } from "react";
3
3
  import { Box as w, FormControlLabel as F, Checkbox as j } from "@mui/material";
4
4
  import { useCallbackRef as v } from "@sheetxl/utils-react";
5
5
  import { OptionsDialog as y } from "@sheetxl/utils-mui";
6
- import { R } from "./yPYJ29nBH4i4bB4t.mjs";
6
+ import { R } from "./BWjaUMYWGFwkVa5H.mjs";
7
7
  /**
8
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.6.16
8
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.6.18
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.
@@ -5,7 +5,7 @@ import { Box as S, FormControl as D, TextField as F } from "@mui/material";
5
5
  import { useCallbackRef as f } from "@sheetxl/utils-react";
6
6
  import { OptionsDialog as U } from "@sheetxl/utils-mui";
7
7
  /**
8
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.6.16
8
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.6.18
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.
@@ -3,9 +3,9 @@ import { memo as E, useMemo as R, useState as d, useCallback as V } from "react"
3
3
  import { Box as L } from "@mui/material";
4
4
  import { useCallbackRef as m } from "@sheetxl/utils-react";
5
5
  import { OptionsDialog as S } from "@sheetxl/utils-mui";
6
- import { N as A, R as G } from "./yPYJ29nBH4i4bB4t.mjs";
6
+ import { N as A, R as G } from "./BWjaUMYWGFwkVa5H.mjs";
7
7
  /**
8
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.6.16
8
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.6.18
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.
@@ -4,12 +4,12 @@ import { KeyCodes as pt } from "@sheetxl/utils-react";
4
4
  import { toShortcutElements as eo, InternalWindow as to } from "@sheetxl/utils-mui";
5
5
  import * as C from "react";
6
6
  import mt, { cloneElement as oo, useState as ae, useMemo as no, useEffect as Ge } from "react";
7
- import { _ as ro, b as N, d as U, e as io, f as ge } from "./yPYJ29nBH4i4bB4t.mjs";
7
+ import { _ as ro, b as N, d as U, e as io, f as ge } from "./BWjaUMYWGFwkVa5H.mjs";
8
8
  import { alpha as ce, getOverlayAlpha as de, styled as lo } from "@mui/material/styles";
9
9
  import { Close as so } from "@mui/icons-material";
10
10
  import { CommonUtils as ao } from "@sheetxl/utils";
11
11
  /**
12
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.6.16
12
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.6.18
13
13
  *
14
14
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
15
15
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -2125,7 +2125,7 @@ function Ao(n) {
2125
2125
  return v;
2126
2126
  }, [o, e]), [s, c] = ae(null);
2127
2127
  Ge(() => {
2128
- import("./C-dudMiRxjKns-WI.mjs").then((h) => {
2128
+ import("./BlCa3HIR23dHGfTM.mjs").then((h) => {
2129
2129
  c(new h.default(a, { threshold: 0, ignoreLocation: !0, keys: ["label", "description"] }));
2130
2130
  });
2131
2131
  }, [a]);
@@ -2,10 +2,10 @@ import { jsxs as ie, jsx as U } from "react/jsx-runtime";
2
2
  import O, { isValidElement as qu, PureComponent as pe, Component as de, memo as Ku, useState as ft, useCallback as ct, useLayoutEffect as Gu } from "react";
3
3
  import { useTheme as Ju } from "@mui/material/styles";
4
4
  import { Box as Qu } from "@mui/material";
5
- import { g as mu, r as Zu, c as ve, C as es } from "./yPYJ29nBH4i4bB4t.mjs";
5
+ import { g as mu, r as Zu, c as ve, C as es } from "./BWjaUMYWGFwkVa5H.mjs";
6
6
  import { ReactUtils as ts } from "@sheetxl/utils-react";
7
7
  /**
8
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.6.16
8
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.6.18
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.
@@ -5,7 +5,7 @@ import { Sort as s, IRange as r } from "@sheetxl/sdk";
5
5
  import { useCallbackRef as b } from "@sheetxl/utils-react";
6
6
  import { OptionsDialog as f } from "@sheetxl/utils-mui";
7
7
  /**
8
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.6.16
8
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.6.18
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,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 { E as e, $ as s, B as m, Q as r, Y as u, m as l, a1 as d, s as C, a0 as B, Z as i, a2 as S, D as p, A as k, ao as c, n as b, aa as T, q as P, ab as F, j as I, t as y, k as W, a8 as h, F as g, G as f, H as w, I as x, O as M, L as E, J as A, at as O, M as v, a9 as N, N as R, l as V, P as z, y as H, z as L, R as U, as as D, au as G, ar as j, ad as q, ae as Z, a7 as J, af as K, p as Q, a6 as X, S as Y, X as _, ac as $, T as aa, a as oa, v as ta, h as na, i as ea, a3 as sa, a4 as ma, a5 as ra, w as ua, U as la, V as da, o as Ca, x as Ba, K as ia, aj as Sa, ah as pa, aq as ka, ak as ca, ai as ba, W as Ta, ap as Pa, an as Fa, S as Ia, am as ya, ag as Wa, al as ha } from "./yPYJ29nBH4i4bB4t.mjs";
3
+ import { E as e, $ as s, B as m, Q as r, Y as u, m as l, a1 as d, s as C, a0 as B, Z as i, a2 as S, D as p, A as k, ao as c, n as b, aa as T, q as P, ab as F, j as I, t as y, k as W, a8 as h, F as g, G as f, H as w, I as x, O as M, L as E, J as A, at as O, M as v, a9 as N, N as R, l as V, P as z, y as H, z as L, R as U, as as D, au as G, ar as j, ad as q, ae as Z, a7 as J, af as K, p as Q, a6 as X, S as Y, X as _, ac as $, T as aa, a as oa, v as ta, h as na, i as ea, a3 as sa, a4 as ma, a5 as ra, w as ua, U as la, V as da, o as Ca, x as Ba, K as ia, aj as Sa, ah as pa, aq as ka, ak as ca, ai as ba, W as Ta, ap as Pa, an as Fa, S as Ia, am as ya, ag as Wa, al as ha } from "./BWjaUMYWGFwkVa5H.mjs";
4
4
  /**
5
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.6.16
5
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.6.18
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.
@@ -6,7 +6,7 @@ import { NumberFormat as n } from "@sheetxl/sdk";
6
6
  import { useCallbackRef as c, KeyCodes as Q } from "@sheetxl/utils-react";
7
7
  import { OptionsDialog as U } from "@sheetxl/utils-mui";
8
8
  /**
9
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.6.16
9
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.6.18
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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.6.16
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.6.18
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.6.16
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.6.18
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.6.16
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.6.18
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.6.16
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.6.18
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.6.16
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.6.18
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.6.16
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.6.18
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.6.16
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.6.18
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.6.16
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.6.18
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.6.16
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.6.18
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.6.16
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.6.18
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.6.16
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.6.18
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.
@@ -153,7 +153,7 @@ const nr = k(S((e2, t2) => {
153
153
  r2?.set(d2, s2);
154
154
  const c2 = s2.toRGBA().toString();
155
155
  l2?.set(c2, s2);
156
- }, br = w.lazy(() => import("./B98JO6IKYk9T4Bel.mjs")), yr = k(S((t2, a2) => {
156
+ }, br = w.lazy(() => import("./DQI5z6JQBCOqFS7x.mjs")), yr = k(S((t2, a2) => {
157
157
  const { selectedColor: r2 = null, previewColor: l2 = t2.selectedColor ?? null, recentColors: i2, schemeLookup: s2, disableAlpha: d2 = false, previewDebounceTime: c2 = 100, initialPanelType: m2, defaultButtonSize: p2 = 24, width: u2, onElementLoad: g2, onDone: h2, onEyeDropStart: f2, onEyeDropStop: w2, onPreviewColor: k2, onPreviewColorImmediate: S2, onSelectColor: T2, autoColor: M2, autoColorLabel: F2 = "Automatic", autoColorPosition: B2 = sr.Start, compareRGB: N2 = false, darkMode: E2 = false, ...$2 } = t2, O2 = l2 || r2, V2 = ra(k2, [k2]), G2 = ra(S2, [S2]), U2 = ra(T2, [T2]), j2 = ra(f2, [f2]), _2 = ra(w2, [w2]), [q2, K2] = D(false), X2 = Sa(), Z2 = C(() => s2 || e.getDefaultSchemeLookup(), [s2]), J2 = C(() => {
158
158
  const e2 = /* @__PURE__ */ new Map(), t3 = /* @__PURE__ */ new Map(), n2 = [];
159
159
  xr("Primary Background", "bg1", Z2, n2, e2, t3), xr("Primary Text", "tx1", Z2, n2, e2, t3), xr("Secondary Background", "bg2", Z2, n2, e2, t3), xr("Secondary Text", "tx2", Z2, n2, e2, t3), xr("Accent 1", "accent1", Z2, n2, e2, t3), xr("Accent 2", "accent2", Z2, n2, e2, t3), xr("Accent 3", "accent3", Z2, n2, e2, t3), xr("Accent 4", "accent4", Z2, n2, e2, t3), xr("Accent 5", "accent5", Z2, n2, e2, t3), xr("Accent 6", "accent6", Z2, n2, e2, t3);
@@ -1401,7 +1401,7 @@ const Hl = async (e2) => {
1401
1401
  try {
1402
1402
  const e3 = top ?? window;
1403
1403
  e3.SheetXL || (e3.SheetXL = Object.freeze({ getSelectedWorkbook: () => Ll?.getWorkbook(), getSelectedSheet: () => Ll?.getWorkbook().getSelectedSheet(), getSelectedRange: () => Ll?.getWorkbook().getSelectedRange(), getRange: (e4) => Ll?.getWorkbook().getRange(e4), getSelectedWorkbookElement: () => Ll, getLicenseManager: () => g, moreExamples: () => {
1404
- const e4 = { "SheetXL.getRange('Sheet1!e5:f6').setValues([[110, 220], [210, 220]])": { Summary: "Set an array of values." }, "SheetXL.getRange('a1:e5').setValue(100)": { Summary: "Set a single repeating value to a range." }, "SheetXL.getRange('Sheet1!e5:f6').getValues()": { Summary: "Get the values as a 2d array (see forEach)." }, "SheetXL.getSelectedRange().setValue(new Date())": { Summary: "Set current date/time using Javascript Date." }, "SheetXL.getSelectedRange().setValue('10/23/95')": { Summary: "Set current date/time using string." }, "SheetXL.getSelectedSheet().getUsedRange().getValues()": { Summary: "Get all of the values in a sheet." }, "SheetXL.getSelectedRange().updateStyle({ fill: 'accent4' })": { Summary: "Set fill to theme color 4." }, "SheetXL.getRange('E:L').updateStyle({ fill: 'accent1 lumMod 90 lumOff 40' })": { Summary: "Set some columns to a modified theme color." }, "SheetXL.getRange('e5:f10').updateStyle({ style: { border: 'double blue' }})": { Summary: "Set border." }, "SheetXL.getCell().getStyle().fill.toCSS()": { Summary: "Get the fill style as css for the selected cell." }, "SheetXL.getRange('a1:a3').autoFill('a1:a7')": { Summary: "Autofill down." }, "SheetXL.getRange('e7:i9').merge({ orientation: 'rows' })": { Summary: "Merge cells horizontally." }, "SheetXL.getSelectedRange().sort({ ascending: false, hasHeader: false })": { Summary: "Sort selected cells ascending with a header." }, "SheetXL.getSelectedRange().clear('all')": { Summary: "Clear the current range a different way." }, "SheetXL.getSelectedSheet().getTables().add('b2:e9')": { Summary: "Create a 4x8 table at b2 for current sheet." }, "SheetXL.getRange('a1:c3').copyFrom('e1:g3')": { Summary: "Copy cells." }, "SheetXL.getRange('c:t').getColumnHeaders().setSize(30)": { Summary: "Set the size of columns to 30 pixels." }, "SheetXL.getRange('2:3').delete()": { Summary: "Remove rows 2 and 3 and shift up." }, "SheetXL.getSelectedSheet().getMovables().addImage('https://www.sheetxl.com/logo-text.svg')": { Summary: "Add an image." }, "SheetXL.getSelectedSheet().getMovables().addImage('https://www.sheetxl.com/logo-text.svg', { bounds: { height: 100 } })": { Summary: "Add an image of height 100." }, "SheetXL.getSelectedRange().doBatch(() => { SheetXL.getSelectedRange().setValue(1.50).updateStyle({ numberFormat: '0%' }).autoFit(); }, 'Enter 150%')": { Summary: "Set value to 100 and numberformat to 0% as a single." }, "SheetXL.getSelectedRange().doBatch(() => { SheetXL.getSelectedRange().setValue('Remind Me Later').updateStyle({ namedStyle: 'Note'}).autoFit(); }, 'Set Reminder')": { Summary: "Set a value and style to Note style and autofit text." }, "SheetXL.getSelectedWorkbook().getNames().addReference('Small_Range', 'A2:E5');": { Summary: "Add a named range." }, "SheetXL.getSelectedWorkbook().getRange('a1:e5').addListener((e) => { console.log('got an update for:', e.getSource().toString()) })": { Summary: "Listen for updates at a range." } };
1404
+ const e4 = { "SheetXL.getRange('Sheet1!e5:f6').setValues([[110, 220], [210, 220]])": { Summary: "Set an array of values." }, "SheetXL.getRange('a1:e5').setValue(100)": { Summary: "Set a single repeating value to a range." }, "SheetXL.getRange('Sheet1!e5:f6').getValues()": { Summary: "Get the values as a 2d array (see forEach)." }, "SheetXL.getSelectedRange().setValue(new Date())": { Summary: "Set current date/time using Javascript Date." }, "SheetXL.getSelectedRange().setValue('10/23/95')": { Summary: "Set current date/time using string." }, "SheetXL.getSelectedSheet().getUsedRange().getValues()": { Summary: "Get all of the values in a sheet." }, "SheetXL.getSelectedRange().getStyle().update({ fill: 'accent4' })": { Summary: "Set fill to theme color 4." }, "SheetXL.getRange('E:L').getStyle().update({ fill: 'accent1 lumMod 90 lumOff 40' })": { Summary: "Set some columns to a modified theme color." }, "SheetXL.getRange('e5:f10').getStyle().update({ style: { border: 'double blue' }})": { Summary: "Set border." }, "SheetXL.getCell().getStyle().fill.toCSS()": { Summary: "Get the fill style as css for the selected cell." }, "SheetXL.getRange('a1:a3').autoFill('a1:a7')": { Summary: "Autofill down." }, "SheetXL.getRange('e7:i9').merge({ orientation: 'rows' })": { Summary: "Merge cells horizontally." }, "SheetXL.getSelectedRange().sort({ ascending: false, hasHeader: false })": { Summary: "Sort selected cells ascending with a header." }, "SheetXL.getSelectedRange().clear('all')": { Summary: "Clear the current range a different way." }, "SheetXL.getSelectedSheet().getTables().add('b2:e9')": { Summary: "Create a 4x8 table at b2 for current sheet." }, "SheetXL.getRange('a1:c3').copyFrom('e1:g3')": { Summary: "Copy cells." }, "SheetXL.getRange('c:t').getColumnHeaders().setSize(30)": { Summary: "Set the size of columns to 30 pixels." }, "SheetXL.getRange('2:3').delete()": { Summary: "Remove rows 2 and 3 and shift up." }, "SheetXL.getSelectedSheet().getMovables().addImage('https://www.sheetxl.com/logo-text.svg')": { Summary: "Add an image." }, "SheetXL.getSelectedSheet().getMovables().addImage('https://www.sheetxl.com/logo-text.svg', { bounds: { height: 100 } })": { Summary: "Add an image of height 100." }, "SheetXL.getSelectedRange().doBatch(() => { SheetXL.getSelectedRange().setValue(1.50).getStyle().update({ numberFormat: '0%' }).autoFit(); }, 'Enter 150%')": { Summary: "Set value to 100 and numberformat to 0% as a single." }, "SheetXL.getSelectedRange().doBatch(() => { SheetXL.getSelectedRange().setValue('Remind Me Later').getStyle().update({ namedStyle: 'Note'}).autoFit(); }, 'Set Reminder')": { Summary: "Set a value and style to Note style and autofit text." }, "SheetXL.getSelectedWorkbook().getNames().addReference('Small_Range', 'A2:E5');": { Summary: "Add a named range." }, "SheetXL.getSelectedWorkbook().getRange('a1:e5').addListener((e) => { console.log('got an update for:', e.getSource().toString()) })": { Summary: "Listen for updates at a range." } };
1405
1405
  console.table(e4);
1406
1406
  } }));
1407
1407
  } catch (e3) {
@@ -1867,7 +1867,7 @@ const si = (e2) => {
1867
1867
  const n3 = t2.getSelectedSheet().getSelectedRange();
1868
1868
  if ("Ok" !== o3) return;
1869
1869
  const a3 = t2.getStyles().setNamed({ name: e4, style: n3.getCell().getStyle() });
1870
- n3.updateStyle({ named: a3.getName() });
1870
+ n3.getStyle().update({ named: a3.getName() });
1871
1871
  });
1872
1872
  }), x2.getCommand("deleteCellStyle").updateCallback((e3) => {
1873
1873
  e3.delete();
@@ -2488,7 +2488,7 @@ const Oi = k(S((e2, t2) => {
2488
2488
  const n3 = { ...t3, onKeyDown: (e5) => {
2489
2489
  c2?.dispatchToFocusedCommand(e5), e5.isDefaultPrevented() || e5.isPropagationStopped() || t3?.onKeyDown?.(e5);
2490
2490
  } };
2491
- return F2(e4, { sort: () => import("./GhaDaPYh-TbkYlig.mjs"), numberFormat: () => import("./KiwV-gQ9jp6WWNZ6.mjs"), hyperlink: () => import("./D8f8OBcU38zwwrrh.mjs"), comments: () => import("./Bd6Geg7MHEA-1K6n.mjs"), find: () => import("./DpdeL-ltQiXWEMTo.mjs"), tableDetails: () => import("./C331YVB-0KYlLpkb.mjs"), tableNew: () => import("./BDkVQf1tvx4PAlqr.mjs"), namedDetails: () => import("./D4SJsMAK4KXSGtQL.mjs") }[e4], n3, o3);
2491
+ return F2(e4, { sort: () => import("./CnVeHGEuzAOXhq-V.mjs"), numberFormat: () => import("./BthUgPPH-I3a5EDi.mjs"), hyperlink: () => import("./DnG1pT1raJ-k6z1l.mjs"), comments: () => import("./bKzQAG3c-526EaEs.mjs"), find: () => import("./B14zbQ6YYVVNISVd.mjs"), tableDetails: () => import("./CD5iSnfD-urKHi6O.mjs"), tableNew: () => import("./DiVBqpFMiK2Bdi3T.mjs"), namedDetails: () => import("./C2BsnfIZHmFJow9U.mjs") }[e4], n3, o3);
2492
2492
  }, showOptions: B2, showInputOptions: N2, showError: (t3) => {
2493
2493
  let o3, n3 = ma.Error, a3 = "Unknown Error";
2494
2494
  "string" == typeof t3 ? a3 = t3 : t3 instanceof Error && (o3 = t3, t3.message && (a3 = t3.message)), t3 instanceof qa && (n3 = ma.Info), e3(a3, { type: n3, enqueueProps: { error: o3 } });
@@ -2585,7 +2585,7 @@ const Oi = k(S((e2, t2) => {
2585
2585
  const { showModal: S3 } = Rn();
2586
2586
  return P(() => {
2587
2587
  const e4 = () => new Promise((e5, t4) => {
2588
- const o4 = w.lazy(() => import("./DVD2u1Q9Lfz8C3s0.mjs")), n4 = S3(o4, { title: "Shortcut Keys Reference", commands: y2, onDone: () => {
2588
+ const o4 = w.lazy(() => import("./CdYw8eNVbzodCDva.mjs")), n4 = S3(o4, { title: "Shortcut Keys Reference", commands: y2, onDone: () => {
2589
2589
  n4.hide();
2590
2590
  }, TransitionProps: { onExited: () => {
2591
2591
  e5(true);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sheetxl/studio-mui",
3
3
  "description": "Studio - Spreadsheet UI built with SheetXL SDK using React & MUI.",
4
- "version": "0.6.16",
4
+ "version": "0.6.18",
5
5
  "license": "SEE LICENSE IN <LICENSE>",
6
6
  "type": "module",
7
7
  "exports": {
@@ -36,13 +36,13 @@
36
36
  "charting"
37
37
  ],
38
38
  "dependencies": {
39
- "@sheetxl/grid-react": "^0.6.16",
40
- "@sheetxl/io": "^0.6.16",
41
- "@sheetxl/react": "^0.6.16",
42
- "@sheetxl/sdk": "^0.6.16",
43
- "@sheetxl/utils": "^0.6.16",
44
- "@sheetxl/utils-mui": "^0.6.16",
45
- "@sheetxl/utils-react": "^0.6.16",
39
+ "@sheetxl/grid-react": "^0.6.18",
40
+ "@sheetxl/io": "^0.6.18",
41
+ "@sheetxl/react": "^0.6.18",
42
+ "@sheetxl/sdk": "^0.6.18",
43
+ "@sheetxl/utils": "^0.6.18",
44
+ "@sheetxl/utils-mui": "^0.6.18",
45
+ "@sheetxl/utils-react": "^0.6.18",
46
46
  "clsx": "^2.1.1",
47
47
  "csstype": "^3.1.3",
48
48
  "file-saver": "^2.0.5",