@sheetxl/studio-mui 0.7.12 → 0.7.13

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 (56) hide show
  1. package/browser/cjs/BAcqVi4z0lEWdogG.cjs +6 -0
  2. package/browser/cjs/{CcsfLc43Qp-vN_dY.cjs → BXSBqvJbFd1zmXED.cjs} +3 -3
  3. package/browser/cjs/BXpuqWQiSePSVD7I.cjs +6 -0
  4. package/browser/cjs/BY_Yr3aQW5hLO-nN.cjs +6 -0
  5. package/browser/cjs/BankB3sWgfQSVyEv.cjs +20 -0
  6. package/browser/cjs/{wyak0LMoe5SYbD51.cjs → BkRzKXHu8z2zghTF.cjs} +2 -2
  7. package/browser/cjs/CYeknazLzZOjQtcK.cjs +6 -0
  8. package/browser/cjs/CyLVMzcTgEZPvYOm.cjs +6 -0
  9. package/browser/cjs/DD9bJC3Knid6T5It.cjs +6 -0
  10. package/browser/cjs/{CMEmwUuGpnOyILAu.cjs → SQX0Xb9ngHtVWoYW.cjs} +1 -1
  11. package/browser/cjs/_A_9JrHZzYhVIimw.cjs +7 -0
  12. package/browser/cjs/gmJVh5GO4raegeQH.cjs +6 -0
  13. package/browser/cjs/index.cjs +2 -2
  14. package/browser/esm/{fsGSNDVe9urk2cLB.mjs → BUX-eSzx85xb14z2.mjs} +2 -2
  15. package/browser/esm/BhK8LG6eLNtnpyM8.mjs +50 -0
  16. package/browser/esm/{B7ChnkonDRA2zazH.mjs → Bt5mafuXg0WhvqQl.mjs} +3 -3
  17. package/browser/esm/CM2aBn9YvLNeeDKP.mjs +26 -0
  18. package/browser/esm/{DK1cCQD1jHxZbFAp.mjs → CWzQRJNunubg1KYs.mjs} +1 -1
  19. package/browser/esm/{CRmCo9Jr1gvSFGVp.mjs → C_L0TMqGy3dfJBxX.mjs} +833 -829
  20. package/browser/esm/{aeHM-2IGRQaGFohd.mjs → D3fJ2Y2akXy1Cea2.mjs} +28 -27
  21. package/browser/esm/DAM5zld1EMvhrTq7.mjs +46 -0
  22. package/browser/esm/DBreu3Q0z7uri1up.mjs +50 -0
  23. package/browser/esm/DYbBkU4jsgMfwHKv.mjs +155 -0
  24. package/browser/esm/DkCrTK-q70GM5ZtY.mjs +53 -0
  25. package/browser/esm/index.mjs +2 -2
  26. package/browser/esm/uswYw8_B9PDchitz.mjs +25 -0
  27. package/licenses/dependencies.txt +142 -142
  28. package/node/esm/{BSTIZiKBGgwjXLtp.mjs → B2g633xDh_bOofUD.mjs} +18 -18
  29. package/node/esm/{CGaHni9C2sipjSMn.mjs → B2kR5d7yN_btwSPu.mjs} +9 -7
  30. package/node/esm/{H012qdl97RHln5MW.mjs → B3fiHsOdyeQ-hH_X.mjs} +1 -1
  31. package/node/esm/{BEFwnAOkyd0CWlex.mjs → BCgE2DMn9_S_eSSk.mjs} +13 -13
  32. package/node/esm/B_WXfCoiTjdjGFTw.mjs +26 -0
  33. package/node/esm/BjHur-Y2v2kC9PV8.mjs +156 -0
  34. package/node/esm/CJHoW3AcW0bzWuGz.mjs +52 -0
  35. package/node/esm/CKgRE7End3PwfjDJ.mjs +25 -0
  36. package/node/esm/{CwKoYwlrp9nnVHln.mjs → EtyY49hdotdAcmRj.mjs} +22 -22
  37. package/node/esm/index.mjs +115 -116
  38. package/node/esm/{Df6HNjgJTgShGC-O.mjs → uQbXUzeyLOqo4POP.mjs} +1 -1
  39. package/package.json +17 -15
  40. package/browser/cjs/BYfcSe1JgcohGr-C.cjs +0 -7
  41. package/browser/cjs/BZPmbh6TWeAN2tiY.cjs +0 -6
  42. package/browser/cjs/CrkutQSHB1Buy5oQ.cjs +0 -6
  43. package/browser/cjs/D2KC31HOMCGQMLvD.cjs +0 -6
  44. package/browser/cjs/DiQXaxwfHcQfkYKX.cjs +0 -6
  45. package/browser/cjs/Dmw2IW35YLNmLgvP.cjs +0 -20
  46. package/browser/cjs/bItCE_-c88dO7Izw.cjs +0 -6
  47. package/browser/cjs/fa-Q2vHsld47aqrE.cjs +0 -6
  48. package/browser/esm/BZPlU0oT2oGTQQgK.mjs +0 -46
  49. package/browser/esm/BzGH26JDt4xKZfM7.mjs +0 -49
  50. package/browser/esm/CA-_Kya2gsMrF9Ef.mjs +0 -26
  51. package/browser/esm/CGBRrUgnGzuP9FGo.mjs +0 -156
  52. package/browser/esm/csScKLYnqrrlL197.mjs +0 -25
  53. package/browser/esm/lm9H6CMj_7o_ra2l.mjs +0 -53
  54. package/node/esm/BqLlyKyVXFNiRaJv.mjs +0 -25
  55. package/node/esm/Cq6TadzONqFlX07d.mjs +0 -26
  56. package/node/esm/D71WQjM6hP5FzBql.mjs +0 -157
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.7.12
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.7.13
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.
@@ -140,7 +140,7 @@ const ro = $(O((e2, t2) => {
140
140
  r2?.set(d2, s2);
141
141
  const c2 = s2.toRGBA().toString();
142
142
  l2?.set(c2, s2);
143
- }, ko = W.lazy(() => import("./Df6HNjgJTgShGC-O.mjs")), So = $(O((t2, a2) => {
143
+ }, ko = W.lazy(() => import("./uQbXUzeyLOqo4POP.mjs")), So = $(O((t2, a2) => {
144
144
  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: x2, onPreviewColor: b2, onPreviewColorImmediate: y2, onSelectColor: w2, autoColor: k2, autoColorLabel: S2 = "Automatic", autoColorPosition: C2 = mo.Start, compareRGB: v2 = false, darkMode: T2 = false, ...R2 } = t2, P2 = l2 || r2, D2 = gt(b2, [b2]), M2 = gt(y2, [y2]), F2 = gt(w2, [w2]), N2 = gt(f2, [f2]), B2 = gt(x2, [x2]), [E2, A2] = U(false), I2 = zt(), W2 = V(() => s2 || e.getDefaultSchemeLookup(), [s2]), $2 = V(() => {
145
145
  const e2 = /* @__PURE__ */ new Map(), t3 = /* @__PURE__ */ new Map(), n2 = [];
146
146
  wo("Primary Background", "bg1", W2, n2, e2, t3), wo("Primary Text", "tx1", W2, n2, e2, t3), wo("Secondary Background", "bg2", W2, n2, e2, t3), wo("Secondary Text", "tx2", W2, n2, e2, t3), wo("Accent 1", "accent1", W2, n2, e2, t3), wo("Accent 2", "accent2", W2, n2, e2, t3), wo("Accent 3", "accent3", W2, n2, e2, t3), wo("Accent 4", "accent4", W2, n2, e2, t3), wo("Accent 5", "accent5", W2, n2, e2, t3), wo("Accent 6", "accent6", W2, n2, e2, t3);
@@ -503,7 +503,7 @@ const Oo = $(O((t2, o2) => {
503
503
  let s3 = e2.children;
504
504
  return (n2?.disabled() || l2) && (s3 = z("div", { children: s3 })), z(We, { command: n2, placement: i2 === ut.Toolbar ? "bottom-start" : "right-start", disabled: t3, ...r3, children: s3 });
505
505
  }, [n2, l2]);
506
- return z(vo, { ref: o2, panelProps: v2, icon: p2, quickColor: y2, selectedColor: n2?.state(), onSelectColor: T2, variant: i2 === ut.Menuitem ? Ne.Menuitem : Ne.Toolbar, createTooltip: R2, label: n2?.label(), disabled: l2 || !n2 || n2.disabled(), compareRGB: true, darkMode: C2, ...u2 });
506
+ return z(vo, { ref: o2, panelProps: v2, icon: p2 ?? n2?.icon(b2), quickColor: y2, selectedColor: n2?.state(), onSelectColor: T2, variant: i2 === ut.Menuitem ? Ne.Menuitem : Ne.Toolbar, createTooltip: R2, label: n2?.label(), disabled: l2 || !n2 || n2.disabled(), compareRGB: true, darkMode: C2, ...u2 });
507
507
  }));
508
508
  Oo.displayName = "ColorCommandButton";
509
509
  const Vo = $(O((e2, t2) => {
@@ -1215,7 +1215,7 @@ const An = async (e2) => {
1215
1215
  if (Bn || t2.isEval()) {
1216
1216
  try {
1217
1217
  const e3 = top ?? window;
1218
- e3.SheetXL || (e3.SheetXL = Object.freeze({ getSelectedWorkbook: () => En?.getWorkbook(), getSelectedSheet: () => En?.getWorkbook().getSelectedSheet(), getSelectedRange: () => En?.getWorkbook().getSelectedRange(), getRange: (e4) => En?.getWorkbook().getRange(e4), getSelectedWorkbookElement: () => En, getLicenseManager: () => g, moreExamples: () => {
1218
+ e3.SheetXL || (e3.SheetXL = Object.freeze({ getSelectedWorkbook: () => En?.getWorkbook(), getSelectedSheet: () => En?.getWorkbook().getSelectedSheet(), getSelectedRange: () => En?.getWorkbook().getSelectedRange(), getSelectedRanges: () => En?.getWorkbook().getSelectedRanges(), getRange: (e4) => En?.getWorkbook().getRange(e4), getSelectedWorkbookElement: () => En, getLicenseManager: () => g, moreExamples: () => {
1219
1219
  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." } };
1220
1220
  console.table(e4);
1221
1221
  } }));
@@ -1514,55 +1514,45 @@ const Yn = $(O((e2, t2) => {
1514
1514
  i3.push(l3);
1515
1515
  }
1516
1516
  }
1517
- const d3 = z(Oo, { ...a3, command: o2.getCommand("formatFontColor"), icon: z(xt, { iconKey: "text.colored" }), isSplit: true, panelProps: { disableAlpha: true } }), m3 = z(Oo, { ...a3, command: o2.getCommand("formatFillColor"), icon: z(xt, { iconKey: "fill.colored" }), isSplit: true, panelProps: { disableAlpha: true, autoColorLabel: "No Fill", autoColorPosition: mo.End } }), p2 = o2.getCommand("undo") ? z(H, { children: z(Uo, { ...a3, quickCommand: "undo" }) }) : null, u2 = o2.getCommand("find") ? z(H, { children: z(Bo, { ...a3 }) }) : null;
1517
+ const d3 = z(Oo, { ...a3, command: o2.getCommand("formatFontColor"), isSplit: true, panelProps: { disableAlpha: true } }), m3 = z(Oo, { ...a3, command: o2.getCommand("formatFillColor"), isSplit: true, panelProps: { disableAlpha: true, autoColorLabel: "No Fill", autoColorPosition: mo.End } }), p2 = o2.getCommand("undo") ? z(H, { children: z(Uo, { ...a3, quickCommand: "undo" }) }) : null, u2 = o2.getCommand("find") ? z(H, { children: z(Bo, { ...a3 }) }) : null;
1518
1518
  let g2 = null;
1519
1519
  l2 && (g2 = L(H, { children: [z(Te, {}), z(Yn, { ...a3 })] }));
1520
- return L(zn, { parentFloat: n2, children: [p2, null, p2 ? z(Te, {}) : null, z(Yo, { ...a3, command: o2.getCommand("paste") }), z(ve, { ...t3, command: o2.getCommand("formatPainterToggle") }), z(xa, { ...t3, command: o2.getCommand("copy") }), z(Te, {}), z(qo, { ...a3, command: o2.getCommand("formatFontFamily") }), z(Eo, { ...a3, command: o2.getCommand("formatFontSize") }), z(ve, { ...t3, command: o2.getCommand("formatBoldToggle") }), z(ve, { ...t3, command: o2.getCommand("formatItalicToggle") }), z(Zo, { ...a3 }), z(Xo, { ...a3 }), z(Mo, { ...a3 }), m3, d3, z(Te, {}), z(ro, { ...a3 }), z(lo, { ...a3 }), z(so, { ...a3 }), z(io, { ...a3 }), z(Fo, { ...a3 }), z(Te, {}), z(Io, { ...a3 }), z(on, { command: o2.getCommand("formatCellStyle"), ...a3 }), z(La, { command: o2.getCommand("formatTableStyle"), ...a3 }), z(Te, {}), z(zo, { ...a3 }), z(Wo, { ...a3 }), z($o, { ...a3 }), z(Te, {}), z($a, { ...a3 }), z(Ho, { ...a3 }), z(Lo, { ...a3 }), z(Ko, { ...a3 }), u2, g2, i3] });
1520
+ return L(zn, { parentFloat: n2, children: [p2, null, p2 ? z(Te, {}) : null, z(Yo, { ...a3, command: o2.getCommand("paste") }), z(ve, { ...t3, command: o2.getCommand("formatPainterToggle") }), z(fa, { ...t3, command: o2.getCommand("copy") }), z(Te, {}), z(qo, { ...a3, command: o2.getCommand("formatFontFamily") }), z(Eo, { ...a3, command: o2.getCommand("formatFontSize") }), z(ve, { ...t3, command: o2.getCommand("formatBoldToggle") }), z(ve, { ...t3, command: o2.getCommand("formatItalicToggle") }), z(Zo, { ...a3 }), z(Xo, { ...a3 }), z(Mo, { ...a3 }), m3, d3, z(Te, {}), z(ro, { ...a3 }), z(lo, { ...a3 }), z(so, { ...a3 }), z(io, { ...a3 }), z(Fo, { ...a3 }), z(Te, {}), z(Io, { ...a3 }), z(Te, {}), z(on, { command: o2.getCommand("formatCellStyle"), ...a3 }), z(Ia, { command: o2.getCommand("formatTableStyle"), ...a3 }), z(Te, {}), z(zo, { ...a3 }), z(Wo, { ...a3 }), z($o, { ...a3 }), z(Te, {}), z($a, { ...a3 }), z(Ho, { ...a3 }), z(Lo, { ...a3 }), z(Ko, { ...a3 }), u2, g2, i3] });
1521
1521
  }, [o2, s2, l2, c2]);
1522
1522
  return z(Xe, { ref: t2, commands: o2, parentFloat: n2, commandButtonProps: a2, createToolbarPalette: m2, ...r2 });
1523
1523
  }));
1524
1524
  Jn.displayName = "HomeToolbar";
1525
1525
  const ea = $(O((e2, t2) => {
1526
- const { commands: o2, commandHook: n2, scope: a2, disabled: r2 = false, preferSingleMenu: l2 = true, showQuickButton: i2 = true, variant: s2 = ut.Toolbar, ...d2 } = e2, c2 = pt(o2, ["insertImageFromFile", "insertImageFromURL"]), { singleMenuCommand: m2, allDisabled: p2 } = V(() => {
1527
- let e3 = null, t3 = 0;
1528
- for (let o3 = 0; o3 < c2.length; o3++) c2[o3] && !c2[o3]?.disabled() && (l2 && s2 === ut.Menuitem && (e3 = 0 === t3 ? c2[o3] : null), t3++);
1529
- return { singleMenuCommand: e3, allDisabled: 0 === t3 };
1530
- }, [c2]), u2 = K((e3, t3) => {
1531
- const o3 = { variant: ut.Menuitem, commandHook: n2, scope: "insertImage", disabled: r2 }, a3 = L(H, { children: [z(ve, { ...o3, command: t3.getCommand("insertImageFromFile") }), z(ve, { ...o3, command: t3.getCommand("insertImageFromURL") })] });
1532
- return Re({ ...e3, children: a3 });
1533
- }, [r2, n2, a2]);
1534
- return m2 ? z(ve, { ref: t2, variant: s2, commandHook: n2, disabled: r2, command: m2, ...d2 }) : z(Pe, { ref: t2, variant: s2, quickCommand: "insertImageFromFile", commands: o2, commandHook: n2, scope: a2, disabled: r2 || p2, tooltip: "Insert a picture from the web to complement your data.", createPopupPanel: u2, icon: "InsertImage", ...d2 });
1535
- })), ta = $(O((e2, t2) => {
1536
1526
  const { commands: o2, parentFloat: n2, commandButtonProps: a2, ...r2 } = e2, l2 = gt((e3) => {
1537
1527
  const { commandButtonProps: t3, commandPopupProps: a3 } = e3;
1538
- return L(zn, { parentFloat: n2, children: [z(ve, { ...t3, command: o2.getCommand("insertTable") }), z(ea, { ...a3 }), null, z(ve, { ...t3, command: o2.getCommand("updateHyperlink") }), z(ve, { ...t3, command: o2.getCommand("updateComments") })] });
1528
+ return L(zn, { parentFloat: n2, children: [z(ve, { ...t3, command: o2.getCommand("insertTable") }), z(Wa, { ...a3 }), null, z(ve, { ...t3, command: o2.getCommand("updateHyperlink") }), z(ve, { ...t3, command: o2.getCommand("updateComments") })] });
1539
1529
  }, [o2]);
1540
1530
  return z(Xe, { ref: t2, commands: o2, parentFloat: n2, commandButtonProps: a2, createToolbarPalette: l2, ...r2 });
1541
1531
  }));
1542
- ta.displayName = "InsertToolbar";
1543
- const oa = $(O((e2, t2) => {
1532
+ ea.displayName = "InsertToolbar";
1533
+ const ta = $(O((e2, t2) => {
1544
1534
  const { commands: o2, parentFloat: n2, commandButtonProps: a2, ...r2 } = e2, l2 = gt((e3) => {
1545
1535
  const { commandButtonProps: t3, commandPopupProps: a3 } = e3;
1546
- return L(zn, { parentFloat: n2, children: [z(No, { ...a3 }), z(ve, { ...t3, command: o2.getCommand("protectionSheetToggle") }), z(Te, {}), z(Vo, { ...a3 }), z(Qo, { ...a3 }), z(Te, {}), z(ve, { ...t3, command: o2.getCommand("sheetViewToggleFormulaView"), scope: "view" }), z(ve, { ...t3, command: o2.getCommand("sheetViewToggleShowZeros"), scope: "view" }), z(Te, {}), z(Jo, { ...a3 }), z(Ha, { command: o2.getCommand("selectTheme"), ...a3 }), z(Te, {}), z(Yn, { ...a3, scope: "view" }), z(Te, {}), z(ve, { ...t3, command: o2.getCommand("fullScreenToggle"), scope: "view" })] });
1536
+ return L(zn, { parentFloat: n2, children: [z(No, { ...a3 }), z(ve, { ...t3, command: o2.getCommand("protectionSheetToggle") }), z(Te, {}), z(Vo, { ...a3 }), z(Qo, { ...a3 }), z(Te, {}), z(ve, { ...t3, command: o2.getCommand("sheetViewToggleFormulaView"), scope: "view" }), z(ve, { ...t3, command: o2.getCommand("sheetViewToggleShowZeros"), scope: "view" }), z(Te, {}), z(Jo, { ...a3 }), z(La, { command: o2.getCommand("selectTheme"), ...a3 }), z(Te, {}), z(Yn, { ...a3, scope: "view" }), z(Te, {}), z(ve, { ...t3, command: o2.getCommand("fullScreenToggle"), scope: "view" })] });
1547
1537
  }, [o2]);
1548
1538
  return z(Xe, { ref: t2, commands: o2, parentFloat: n2, commandButtonProps: a2, createToolbarPalette: l2, ...r2 });
1549
1539
  }));
1550
- oa.displayName = "ViewToolbar";
1551
- const na = (e2) => z(ia, { ...e2 }), aa = $((e2) => {
1540
+ ta.displayName = "ViewToolbar";
1541
+ const oa = (e2) => z(la, { ...e2 }), na = $((e2) => {
1552
1542
  const { sx: t2, ...o2 } = e2;
1553
1543
  return L(J, { sx: { display: "flex", flexDirection: "column", position: "relative", "&:hover:not([disabled]) .indicator": { borderBottom: (e3) => `${Wt(e3.palette.primary.main, 0.35)} solid 2px` } }, children: [z(xe, { disableRipple: true, onMouseDown: (e3) => {
1554
1544
  0 === e3.button && e3.preventDefault();
1555
1545
  }, sx: { textTransform: "none", flex: "1 1 100%", fontWeight: (e3) => e3.typography.fontWeightRegular, padding: "2px 6px", minHeight: "0px", minWidth: "0px", marginRight: (e3) => e3.spacing(0.5), "&.Mui-selected": {}, "&.Mui-focusVisible": {}, ...t2 }, ...o2 }), z(J, { className: "indicator", sx: { width: "90%", borderRadius: "4px", minWidth: "4px", position: "absolute", bottom: "0", alignSelf: "center", display: "flex" } })] });
1556
- }), ra = $((e2) => {
1546
+ }), aa = $((e2) => {
1557
1547
  const { toolbars: t2, value: o2, onToolbarChange: n2, sx: a2, ...r2 } = e2, l2 = V(() => {
1558
1548
  const e3 = [];
1559
- for (let o3 = 0; o3 < t2.length; o3++) e3.push(z(aa, { label: t2[o3].label }, t2[o3].label));
1549
+ for (let o3 = 0; o3 < t2.length; o3++) e3.push(z(na, { label: t2[o3].label }, t2[o3].label));
1560
1550
  return e3;
1561
1551
  }, [t2]);
1562
1552
  return z(fe, { value: o2, onChange: (e3, t3) => {
1563
1553
  n2?.(t3);
1564
1554
  }, variant: "scrollable", scrollButtons: false, sx: { paddingLeft: (e3) => e3.spacing(1.5), paddingRight: (e3) => e3.spacing(1.5), paddingTop: (e3) => e3.spacing(0), paddingBottom: (e3) => e3.spacing(0), minHeight: "26px", alignItems: "center", "& .MuiTabs-indicator": { display: "flex", justifyContent: "center", backgroundColor: "transparent" }, "& .MuiTabs-indicatorSpan": { width: "90%", borderRadius: "4px", minWidth: "4px", backgroundColor: (e3) => e3.palette.primary.main }, "& .MuiTab-root": { marginRight: "0px" }, ...a2 }, slotProps: { indicator: { children: z("span", { className: "MuiTabs-indicatorSpan" }) } }, ...r2, children: l2 });
1565
- }), la = $((e2) => {
1555
+ }), ra = $((e2) => {
1566
1556
  const { toolbars: t2, value: o2, onToolbarChange: n2, selectProps: a2, ...r2 } = e2, l2 = K((e3) => {
1567
1557
  n2?.(e3.target.value);
1568
1558
  }, [n2]), i2 = V(() => {
@@ -1576,26 +1566,26 @@ const na = (e2) => z(ia, { ...e2 }), aa = $((e2) => {
1576
1566
  return e3;
1577
1567
  }, [t2, o2]);
1578
1568
  return z(de, { sx: { minWidth: "125px", maxWidth: "125px", "& .MuiInputBase-root": { paddingLeft: "0px", paddingRight: "0px" }, "& .MuiSelect-select": { paddingTop: (e3) => e3.spacing(0.5), paddingBottom: (e3) => e3.spacing(0.5), paddingLeft: (e3) => e3.spacing(2), color: (e3) => e3.palette.primary.main }, "& .MuiSelect-icon": { fill: (e3) => e3.palette.text.icon ?? e3.palette.action.active, "&:hover:not(.Mui-disabled)": { color: (e3) => e3.palette.text.icon ?? e3.palette.action.active } }, ...a2 }, size: "small", children: z(he, { value: o2, onChange: l2, variant: "outlined", sx: { backgroundImage: `linear-gradient(${Wt("#fff", $t(5))}, ${Wt("#fff", $t(5))})` }, ...r2, children: i2 }) });
1579
- }), ia = $(O((e2, t2) => {
1569
+ }), la = $(O((e2, t2) => {
1580
1570
  const { commands: o2, selectWrapper: n2, selectProps: a2 = {}, renderCompact: r2 = false, paletteWrapper: l2, toolbarsProps: i2, paletteProps: s2 = {}, workbook: d2, sx: c2, ...m2 } = e2, p2 = V(() => {
1581
1571
  const e3 = [], { ref: t3, ...n3 } = i2?.Home || {};
1582
1572
  e3.push({ label: "Home", component: z(Jn, { commands: o2, ...n3 }) });
1583
1573
  const { ref: a3, ...r3 } = i2?.Insert || {};
1584
- e3.push({ label: "Insert", component: z(ta, { commands: o2, ...r3 }) });
1574
+ e3.push({ label: "Insert", component: z(ea, { commands: o2, ...r3 }) });
1585
1575
  const { ref: l3, ...s3 } = i2?.View || {};
1586
- return e3.push({ label: "View", component: z(oa, { commands: o2, ...s3 }) }), e3;
1576
+ return e3.push({ label: "View", component: z(ta, { commands: o2, ...s3 }) }), e3;
1587
1577
  }, [o2, d2]), u2 = V(() => {
1588
1578
  const e3 = [];
1589
1579
  for (let t3 = 0; t3 < p2.length; t3++) e3.push(W.cloneElement(p2[t3].component, { ...p2[t3].component.props, key: p2[t3].key ?? p2[t3].label }));
1590
1580
  return e3;
1591
1581
  }, [p2]), [g2, h2] = U(0), f2 = (e3) => {
1592
1582
  h2(e3);
1593
- }, x2 = V(() => z(r2 ? la : ra, { toolbars: p2, value: g2, onToolbarChange: f2, sx: a2 }), [p2, g2, a2, r2]), { sx: b2, ...y2 } = s2, w2 = z(ue, { elevation: 2, tabIndex: 0, sx: { display: "flex", alignItems: "center", userSelect: "none", flexGrow: 1, borderRadius: "8px", backgroundImage: `linear-gradient(${Wt("#fff", $t(5))}, ${Wt("#fff", $t(5))})`, marginLeft: (e3) => e3.spacing(1), marginRight: (e3) => e3.spacing(1), marginTop: (e3) => e3.spacing(0.5), marginBottom: (e3) => e3.spacing(0.5), ...b2 }, ...y2, children: u2[g2] });
1583
+ }, x2 = V(() => z(r2 ? ra : aa, { toolbars: p2, value: g2, onToolbarChange: f2, sx: a2 }), [p2, g2, a2, r2]), { sx: b2, ...y2 } = s2, w2 = z(ue, { elevation: 2, tabIndex: 0, sx: { display: "flex", alignItems: "center", userSelect: "none", flexGrow: 1, borderRadius: "8px", backgroundImage: `linear-gradient(${Wt("#fff", $t(5))}, ${Wt("#fff", $t(5))})`, marginLeft: (e3) => e3.spacing(1), marginRight: (e3) => e3.spacing(1), marginTop: (e3) => e3.spacing(0.5), marginBottom: (e3) => e3.spacing(0.5), ...b2 }, ...y2, children: u2[g2] });
1594
1584
  return L(J, { ref: t2, className: "toolbarWrappers", sx: { display: "flex", flexDirection: "column", paddingTop: (e3) => e3.spacing(0.5), "*": { userSelect: "none" }, ...c2 }, ...m2, children: [n2 ? n2(x2) : x2, l2 ? l2(w2) : w2] });
1595
1585
  }));
1596
- ia.displayName = "WorkbookToolbars";
1597
- const sa = (e2) => {
1598
- const { workbook: t2, workbookElement: o2, target: n2, commands: a2, darkMode: r2, onNewWorkbook: l2 = da } = e2, i2 = kt(), [s2, d2] = U(t2?.getSelectedSheet()), [c2, m2] = U(t2?.getSheets().getItems()), p2 = gt(l2, [l2]), g2 = T(), h2 = V(() => [new Pt("activateTask", n2, { label: "Activate Task", description: "Activate Task Pane.", shortcut: { key: "F6" } }), new Pt("workbookStatistics", n2, { label: "Workbook Statistics", description: "Show the workbook statistics.", shortcut: { key: "G", modifiers: [Mt.Ctrl, Mt.Shift] } }), new Pt("workbookStatistics", n2, { label: "Workbook Statistics", description: "Show the workbook statistics.", shortcut: { key: "G", modifiers: [Mt.Ctrl, Mt.Shift] } }), new Pt("showFormat", n2, { label: "Show Format", description: "Open the format pane.", shortcut: { key: "F", modifiers: [Mt.Ctrl, Mt.Shift] } }), new Dt("newCellStyle", n2, { label: "New Cell Style…", scopedLabels: { cellStyle: "New Cell Style" }, description: "Create a new named style can can be quickly used later.", icon: "NewPresetStyles" }), new Dt("deleteCellStyle", n2, { label: "Delete Cell Style", scopedLabels: { cellStyle: "Delete" }, description: "Remove a named style that is no longer needed." }), new Dt("modifyCellStyle", n2, { label: "Modify Cell Style", scopedLabels: { cellStyle: "Modify" }, description: "Update a style with the currently style." }), new Pt("find", n2, { label: "Find", description: "Open the Find window.", icon: "Find", shortcut: [{ key: "F", modifiers: [Mt.Ctrl] }, { key: "F5", modifiers: [Mt.Shift] }] }), new Pt("findReplace", n2, { label: "Find & Replace", description: "Open the Find & Replace window.", icon: "FindReplace", shortcut: [{ key: "H", modifiers: [Mt.Ctrl] }, { key: "H", modifiers: [Mt.Ctrl, Mt.Alt] }] }), new Pt("goto", n2, { label: "Go To", description: "Open the 'Go To' window.", icon: "GoTo", shortcut: [{ key: "G", modifiers: [Mt.Ctrl] }] }), new Pt("workbookViewToggleExpandFormulaBar", n2, { label: "Toggle Expand Formula bar", description: "Expand or collapse the formula bar.", shortcut: { key: "U", modifiers: [Mt.Ctrl, Mt.Shift] } }), new Pt("workbookViewToggleShowFormulaBar", n2, { label: "View Formula bar", scopedLabels: { view: "Formula Bar" }, description: "Show or hide the formula bar." }), new Pt("workbookViewToggleShowTabs", n2, { label: "View Sheet Tabs", description: "Show or hide the sheet tabs.", scopedLabels: { view: "Sheet Tabs" } }), new Pt("workbookViewToggleShowStatusBar", n2, { label: "View Status Bar", description: "Show or hide the status bar.", scopedLabels: { view: "Status Bar" } }), new Pt("workbookViewToggleShowHorizontalScrollBar", n2, { label: "View Horizontal Scrollbar", description: "Show or hide the horizontal scrollbar.", scopedLabels: { view: "Horizontal Scrollbar" } }), new Pt("workbookViewToggleShowVerticalScrollBar", n2, { label: "View Vertical Scrollbar", description: "Show or hide the vertical scrollbar.", scopedLabels: { view: "Vertical Scrollbar" } }), new Dt("hideSheet", n2, { label: "Hide Sheet", scopedLabels: { sheet: "Hide" }, description: "Hide the sheet from appearing in the tabs. This keeps the data but de-clutters the tabs.", icon: "VisibilityOff" }), new Dt("deleteSheet", n2, { label: "Delete Sheet", scopedLabels: { sheet: "Delete" }, description: "Delete the sheet and all the data." }), new Dt("addSheet", n2, { label: "Insert Sheet", scopedLabels: { sheet: "Insert" }, description: "Insert sheet before the current sheet.", shortcut: [{ key: "F11", modifiers: [Mt.Shift] }, { key: "F1", modifiers: [Mt.Alt, Mt.Shift] }] }), new Dt("duplicateSheet", n2, { label: "Duplicate Sheet", description: "Duplicate the current sheet.", scopedLabels: { sheet: "Duplicate" } }), new Dt("nextSheet", n2, { label: "Next Sheet", scopedLabels: { sheet: "Next" }, description: "Activate the next sheet.", shortcut: [{ key: "PageDown", modifiers: [Mt.Ctrl] }] }), new Dt("previousSheet", n2, { label: "Previous Sheet", scopedLabels: { sheet: "Previous" }, description: "Activate the previous sheet.", shortcut: [{ key: "PageUp", modifiers: [Mt.Ctrl] }] }), new Dt("selectNextSheet", n2, { label: "Select Next Sheet", scopedLabels: { sheet: "Select Next" }, description: "Select the next sheet.", shortcut: [{ key: "PageDown", modifiers: [Mt.Ctrl, Mt.Shift] }] }), new Dt("selectPreviousSheet", n2, { label: "Select Previous Sheet", scopedLabels: { sheet: "Select Previous" }, description: "Select the previous sheet.", shortcut: [{ key: "PageUp", modifiers: [Mt.Ctrl, Mt.Shift] }] }), new Dt("selectTheme", n2, { label: "Theme", description: "Select a theme that coveys a style suitable for your data." }), new Dt("selectNamed", n2, { label: (e3) => e3?.getName() ?? "Select Named Item", scopedLabels: { namedItem: (e3) => e3?.getName() ?? "Select" }, description: "Select the item." }), new Dt("addNamedReference", n2, { label: "Define Named Reference", scopedLabels: { namedItem: "Define Name…" }, description: "Add a new named reference. Names can be used as a substitute for cell references.", icon: "InsertNamedRange" }), new Dt("editNamedReference", n2, { label: "Edit Named Reference…", scopedLabels: { namedItem: "Edit…" }, description: "Add a new named reference. Names can be used as a substitute for cell references.", icon: "NamedRangeEdit" }), new Dt("deleteNamedReference", n2, { label: "Delete Named Reference", scopedLabels: { namedItem: "Delete" }, description: "Remove the named reference.", icon: "DeleteNamedRange" }), new Pt("activeNameBox", n2, { label: "Activate Name Box", description: "Move the focus to the name box.", shortcut: { key: "F3", modifiers: [Mt.Alt] } }), new Pt("createNamedReferenceFromSelection", n2, { label: "Create from Selection", description: "Automatically generate names from the selected cells.", shortcut: { key: "F3", modifiers: [Mt.Ctrl, Mt.Shift] } }), new Pt("activeNameManager", n2, { label: "Activate Name Manager", description: "Create, edit, delete, and find all the names used in the workbook.\n\nNames can be used as a substitute for cell references.", shortcut: { key: "F3", modifiers: [Mt.Ctrl] } }), new Dt("fullScreenToggle", n2, { label: "FullScreen", description: "Toggle showing the workbook using the full screen.", shortcut: { key: "F11" }, icon: "FullScreen" }), new Dt("showScriptEditor", n2, { label: "Scripts", scopedLabels: { scripts: "Script Editor…" }, description: "Show the script editor.", icon: "ScriptRun", shortcut: [{ key: "F11", modifiers: [Mt.Alt] }] }), new Dt("executeScript", n2, { label: "Run Script", description: "Run the selected or last executed script.", icon: "ScriptRun", shortcut: { key: "F8" } }), new Dt("executeSelectedScript", n2, { label: "Run Script", description: "Run the selected script.", icon: "ScriptRun", shortcut: { key: "F8" } }), new Dt("saveScripts", n2, { label: "Save Script", description: "Save the current scripts.", icon: "ScriptSave" }), new Dt("maximumWorkbookToggle", n2, { label: "Maximize", description: "Toggle showing the workbook maximized.", shortcut: { key: "F10", modifiers: [Mt.Ctrl] } }), new Dt("spellCheck", n2, { label: "Spell Check", description: "Check the workbook for spelling mistakes.", shortcut: { key: "F7" } }), new Dt("calculateAll", n2, { label: "Calculate Now", description: "Recalculate all formulas.", icon: "Calculate", shortcut: { key: "F9" } }), new Pt("closeWorkbook", n2, { label: "Close Workbook", description: "Close the workbook.", shortcut: { key: "W", modifiers: [Mt.Ctrl] } }), new Pt("newWorkbook", n2, { label: "New Workbook", description: "Create a new workbook in another tab.", icon: "FileNew" })], []), f2 = V(() => {
1586
+ la.displayName = "WorkbookToolbars";
1587
+ const ia = (e2) => {
1588
+ const { workbook: t2, workbookElement: o2, target: n2, commands: a2, darkMode: r2, onNewWorkbook: l2 = sa } = e2, i2 = kt(), [s2, d2] = U(t2?.getSelectedSheet()), [c2, m2] = U(t2?.getSheets().getItems()), p2 = gt(l2, [l2]), g2 = T(), h2 = V(() => [new Pt("activateTask", n2, { label: "Activate Task", description: "Activate Task Pane.", shortcut: { key: "F6" } }), new Pt("workbookStatistics", n2, { label: "Workbook Statistics", description: "Show the workbook statistics.", shortcut: { key: "G", modifiers: [Mt.Ctrl, Mt.Shift] } }), new Pt("workbookStatistics", n2, { label: "Workbook Statistics", description: "Show the workbook statistics.", shortcut: { key: "G", modifiers: [Mt.Ctrl, Mt.Shift] } }), new Pt("showFormat", n2, { label: "Show Format", description: "Open the format pane.", shortcut: { key: "F", modifiers: [Mt.Ctrl, Mt.Shift] } }), new Dt("newCellStyle", n2, { label: "New Cell Style…", scopedLabels: { cellStyle: "New Cell Style" }, description: "Create a new named style can can be quickly used later.", icon: "NewPresetStyles" }), new Dt("deleteCellStyle", n2, { label: "Delete Cell Style", scopedLabels: { cellStyle: "Delete" }, description: "Remove a named style that is no longer needed." }), new Dt("modifyCellStyle", n2, { label: "Modify Cell Style", scopedLabels: { cellStyle: "Modify" }, description: "Update a style with the currently style." }), new Pt("find", n2, { label: "Find", description: "Open the Find window.", icon: "Find", shortcut: [{ key: "F", modifiers: [Mt.Ctrl] }, { key: "F5", modifiers: [Mt.Shift] }] }), new Pt("findReplace", n2, { label: "Find & Replace", description: "Open the Find & Replace window.", icon: "FindReplace", shortcut: [{ key: "H", modifiers: [Mt.Ctrl] }, { key: "H", modifiers: [Mt.Ctrl, Mt.Alt] }] }), new Pt("goto", n2, { label: "Go To", description: "Open the 'Go To' window.", icon: "GoTo", shortcut: [{ key: "G", modifiers: [Mt.Ctrl] }] }), new Pt("workbookViewToggleExpandFormulaBar", n2, { label: "Toggle Expand Formula bar", description: "Expand or collapse the formula bar.", shortcut: { key: "U", modifiers: [Mt.Ctrl, Mt.Shift] } }), new Pt("workbookViewToggleShowFormulaBar", n2, { label: "View Formula bar", scopedLabels: { view: "Formula Bar" }, description: "Show or hide the formula bar." }), new Pt("workbookViewToggleShowTabs", n2, { label: "View Sheet Tabs", description: "Show or hide the sheet tabs.", scopedLabels: { view: "Sheet Tabs" } }), new Pt("workbookViewToggleShowStatusBar", n2, { label: "View Status Bar", description: "Show or hide the status bar.", scopedLabels: { view: "Status Bar" } }), new Pt("workbookViewToggleShowHorizontalScrollBar", n2, { label: "View Horizontal Scrollbar", description: "Show or hide the horizontal scrollbar.", scopedLabels: { view: "Horizontal Scrollbar" } }), new Pt("workbookViewToggleShowVerticalScrollBar", n2, { label: "View Vertical Scrollbar", description: "Show or hide the vertical scrollbar.", scopedLabels: { view: "Vertical Scrollbar" } }), new Dt("hideSheet", n2, { label: "Hide Sheet", scopedLabels: { sheet: "Hide" }, description: "Hide the sheet from appearing in the tabs. This keeps the data but de-clutters the tabs.", icon: "VisibilityOff" }), new Dt("deleteSheet", n2, { label: "Delete Sheet", scopedLabels: { sheet: "Delete" }, description: "Delete the sheet and all the data." }), new Dt("addSheet", n2, { label: "Insert Sheet", scopedLabels: { sheet: "Insert" }, description: "Insert sheet before the current sheet.", shortcut: [{ key: "F11", modifiers: [Mt.Shift] }, { key: "F1", modifiers: [Mt.Alt, Mt.Shift] }] }), new Dt("duplicateSheet", n2, { label: "Duplicate Sheet", description: "Duplicate the current sheet.", scopedLabels: { sheet: "Duplicate" } }), new Dt("nextSheet", n2, { label: "Next Sheet", scopedLabels: { sheet: "Next" }, description: "Activate the next sheet.", shortcut: [{ key: "PageDown", modifiers: [Mt.Ctrl] }] }), new Dt("previousSheet", n2, { label: "Previous Sheet", scopedLabels: { sheet: "Previous" }, description: "Activate the previous sheet.", shortcut: [{ key: "PageUp", modifiers: [Mt.Ctrl] }] }), new Dt("selectNextSheet", n2, { label: "Select Next Sheet", scopedLabels: { sheet: "Select Next" }, description: "Select the next sheet.", shortcut: [{ key: "PageDown", modifiers: [Mt.Ctrl, Mt.Shift] }] }), new Dt("selectPreviousSheet", n2, { label: "Select Previous Sheet", scopedLabels: { sheet: "Select Previous" }, description: "Select the previous sheet.", shortcut: [{ key: "PageUp", modifiers: [Mt.Ctrl, Mt.Shift] }] }), new Dt("selectTheme", n2, { label: "Theme", description: "Select a theme that coveys a style suitable for your data." }), new Dt("selectNamed", n2, { label: (e3) => e3?.getName() ?? "Select Named Item", scopedLabels: { namedItem: (e3) => e3?.getName() ?? "Select" }, description: "Select the item." }), new Dt("addNamedReference", n2, { label: "Define Named Reference", scopedLabels: { namedItem: "Define Name…" }, description: "Add a new named reference. Names can be used as a substitute for cell references.", icon: "InsertNamedRange" }), new Dt("editNamedReference", n2, { label: "Edit Named Reference…", scopedLabels: { namedItem: "Edit…" }, description: "Add a new named reference. Names can be used as a substitute for cell references.", icon: "NamedRangeEdit" }), new Dt("deleteNamedReference", n2, { label: "Delete Named Reference", scopedLabels: { namedItem: "Delete" }, description: "Remove the named reference.", icon: "DeleteNamedRange" }), new Pt("activeNameBox", n2, { label: "Activate Name Box", description: "Move the focus to the name box.", shortcut: { key: "F3", modifiers: [Mt.Alt] } }), new Pt("createNamedReferenceFromSelection", n2, { label: "Create from Selection", description: "Automatically generate names from the selected cells.", shortcut: { key: "F3", modifiers: [Mt.Ctrl, Mt.Shift] } }), new Pt("activeNameManager", n2, { label: "Activate Name Manager", description: "Create, edit, delete, and find all the names used in the workbook.\n\nNames can be used as a substitute for cell references.", shortcut: { key: "F3", modifiers: [Mt.Ctrl] } }), new Dt("fullScreenToggle", n2, { label: "FullScreen", description: "Toggle showing the workbook using the full screen.", shortcut: { key: "F11" }, icon: "FullScreen" }), new Dt("showScriptEditor", n2, { label: "Scripts", scopedLabels: { scripts: "Script Editor…" }, description: "Show the script editor.", icon: "ScriptRun", shortcut: [{ key: "F11", modifiers: [Mt.Alt] }] }), new Dt("executeScript", n2, { label: "Run Script", description: "Run the selected or last executed script.", icon: "ScriptRun", shortcut: { key: "F8" } }), new Dt("executeSelectedScript", n2, { label: "Run Script", description: "Run the selected script.", icon: "ScriptRun", shortcut: { key: "F8" } }), new Dt("saveScripts", n2, { label: "Save Script", description: "Save the current scripts.", icon: "ScriptSave" }), new Dt("maximumWorkbookToggle", n2, { label: "Maximize", description: "Toggle showing the workbook maximized.", shortcut: { key: "F10", modifiers: [Mt.Ctrl] } }), new Dt("spellCheck", n2, { label: "Spell Check", description: "Check the workbook for spelling mistakes.", shortcut: { key: "F7" } }), new Dt("calculateAll", n2, { label: "Calculate Now", description: "Recalculate all formulas.", icon: "Calculate", shortcut: { key: "F9" } }), new Pt("closeWorkbook", n2, { label: "Close Workbook", description: "Close the workbook.", shortcut: { key: "W", modifiers: [Mt.Ctrl] } }), new Pt("newWorkbook", n2, { label: "New Workbook", description: "Create a new workbook in another tab.", icon: "FileNew" })], []), f2 = V(() => {
1599
1589
  let e3 = null;
1600
1590
  return e3 = a2 ? a2.createChildGroup(n2, "workbook", false) : new Ft(n2, "workbook"), e3.addCommands(h2, true), e3;
1601
1591
  }, [a2, h2]), x2 = wt(), b2 = W.useRef(null), y2 = gt(() => {
@@ -1679,7 +1669,7 @@ const sa = (e2) => {
1679
1669
  }, [t2, i2]);
1680
1670
  j(() => {
1681
1671
  f2.getCommand("newCellStyle").updateCallback((e3) => {
1682
- i2.showInputOptions({ initialValue: (() => {
1672
+ i2.showInput({ initialValue: (() => {
1683
1673
  let e4 = 0;
1684
1674
  for (; ; ) {
1685
1675
  e4++;
@@ -1689,7 +1679,7 @@ const sa = (e2) => {
1689
1679
  } catch (e5) {
1690
1680
  }
1691
1681
  }
1692
- })(), title: f2.getCommand("newCellStyle")?.label("cellStyle"), description: "Enter a name for the new cell style.", inputLabel: "Style Name", inputProps: { style: { minWidth: "300px" } }, options: ["Ok", "Cancel"], defaultOption: "Ok", onValidateInputOption: async (e4, o3) => {
1682
+ })(), title: f2.getCommand("newCellStyle")?.label("cellStyle"), description: "Enter a name for the new cell style.", inputLabel: "Style Name", inputProps: { style: { minWidth: "300px" } }, options: ["Ok", "Cancel"], defaultOption: "Ok", onValidateInput: async (e4, o3) => {
1693
1683
  let n3 = null;
1694
1684
  try {
1695
1685
  t2.getStyles().validateStyleName(e4, false);
@@ -1757,53 +1747,51 @@ const sa = (e2) => {
1757
1747
  }
1758
1748
  return o3;
1759
1749
  }, [t2, o2]), F2 = gt((e3) => {
1760
- const o3 = { value: e3, context: { selection: () => {
1761
- const e4 = t2.getSelectedRanges(), o4 = [];
1762
- for (let t3 = 0; t3 < e4.getCount(); t3++) {
1763
- const n3 = e4.at(t3).getFixed(true).getCoords();
1764
- o4.push(n3);
1750
+ const o3 = { selection: () => {
1751
+ const e4 = t2.getSelectedRanges(), o4 = e4.getCount(), n4 = new Array(o4);
1752
+ for (let t3 = 0; t3 < o4; t3++) {
1753
+ const o5 = e4.at(t3).getFixed(true).getCoords();
1754
+ n4[t3] = o5;
1765
1755
  }
1766
- return t2.getRanges(o4);
1767
- }, getNames: () => t2.getNames() }, onUpdate: async (e4) => {
1756
+ return t2.getRanges(n4);
1757
+ }, getNames: () => t2.getNames() }, n3 = { initialValue: e3, context: () => o3, onInput: async (e4) => {
1768
1758
  try {
1769
1759
  await e4.select();
1770
1760
  } catch (e5) {
1771
1761
  i2.showMessage(e5.message, { type: St.Error });
1772
1762
  }
1773
1763
  } };
1774
- return i2.showWindow("namedDetails", o3);
1764
+ return i2.showWindow("namedDetails", n3);
1775
1765
  }, [i2, t2, o2]);
1776
1766
  return j(() => {
1777
1767
  const e3 = (e4 = false) => {
1778
- const o3 = t2.getSelectedCell(), n3 = { onFindOrReplace: M2, onKeyDown: (e5) => {
1768
+ const o3 = { initialValue: { findOptions: { text: t2.getSelectedCell().toTextUnformatted(true) }, replace: e4 }, context: () => M2, onKeyDown: (e5) => {
1779
1769
  f2.findCommandByEvent(e5) !== f2.getCommand("find") && f2.findCommandByEvent(e5) !== f2.getCommand("findReplace") || e5.preventDefault();
1780
- }, findOptions: { text: "" }, findText: o3.toTextUnformatted(true) };
1781
- n3.replace = e4, i2.showWindow?.("find", n3, { disableAutoDestroy: true });
1770
+ }, autoFocus: true, disableAutoDestroy: true };
1771
+ i2.showWindow("find", o3);
1782
1772
  };
1783
1773
  f2.getCommand("find")?.update({ disabled: !i2.showWindow }).updateCallback(() => {
1784
1774
  e3();
1785
1775
  }), f2.getCommand("findReplace")?.update({ disabled: !i2.showWindow }).updateCallback(() => {
1786
1776
  e3(true);
1787
1777
  }), f2.getCommand("activateTask")?.update({ disabled: !i2 }).updateCallback(() => {
1788
- const e4 = { onInputOption: async (e5) => {
1778
+ const e4 = { onInput: async (e5) => {
1789
1779
  try {
1790
1780
  g2.activateTaskPane(e5);
1791
1781
  } catch (e6) {
1792
1782
  i2.showError(e6.message);
1793
1783
  }
1794
1784
  }, title: f2.getCommand("activateTask")?.label(), inputLabel: "Task Name", options: ["Activate"] };
1795
- i2.showInputOptions(e4);
1785
+ i2.showInput(e4);
1796
1786
  }), f2.getCommand("goto")?.update({ disabled: !i2 }).updateCallback(() => {
1797
- const e4 = { onInputOption: async (e5) => {
1787
+ const e4 = { onInput: async (e5) => {
1798
1788
  try {
1799
1789
  await t2.getRanges(e5).select();
1800
1790
  } catch (e6) {
1801
1791
  i2.showMessage(e6.message, { type: St.Error });
1802
1792
  }
1803
- }, onKeyDown: (e5) => {
1804
- f2.findCommandByEvent(e5) === f2.getCommand("goto") && e5.preventDefault();
1805
1793
  }, title: f2.getCommand("goto")?.label(), inputLabel: "Location", options: ["Go To"] };
1806
- i2.showInputOptions(e4);
1794
+ i2.showInput(e4);
1807
1795
  }), f2.getCommand("selectNamed")?.update({ disabled: !i2 }).updateCallback(async (e4) => {
1808
1796
  if (e4) try {
1809
1797
  await e4.select();
@@ -1839,10 +1827,10 @@ const sa = (e2) => {
1839
1827
  const e3 = t2.getProtection().isStructureAllowed();
1840
1828
  f2.getCommand("hideSheet").update({ disabled: c2.length <= 1 || !e3 }), f2.getCommand("deleteSheet").update({ disabled: c2.length <= 1 || !e3 });
1841
1829
  }, [c2, s2]), f2;
1842
- }, da = () => {
1830
+ }, sa = () => {
1843
1831
  window.open(window.origin.toString(), "sheetxl-" + n.uuidV4(), "popup=true");
1844
- }, ca = "_sheetxl-theme_4opcr_2", ma = "_sheetxl-workbook_g5t6x_5", pa = (e2) => z(Mn, { ...e2 }), ua = (e2) => z(Fn, { ...e2 }), ga = (e2) => z(Dn, { ...e2 }), ha = $(O((e2, t2) => {
1845
- const { workbook: o2, commands: n2, onBeforeUserChange: a2, onUserChange: r2, disabled: l2 = false, readOnly: i2 = false, contextMenuProps: s2, renderContextMenu: d2 = pa, sheetsAllProps: c2, renderSheetsAll: m2 = ua, sheetTabProps: p2, renderSheetTab: u2, background: g2 = "transparent", className: h2, sx: f2, borderWidth: x2, borderColor: b2, gridTheme: y2, gridStyle: k2, ...S2 } = e2, [C2, v2] = U(o2?.getSelectedSheetIndex()), [T2, R2] = U(o2?.getSheets().getItems()), [D2, M2] = U(o2?.getProtection());
1832
+ }, da = "_sheetxl-theme_4opcr_2", ca = "_sheetxl-workbook_g5t6x_5", ma = (e2) => z(Mn, { ...e2 }), pa = (e2) => z(Fn, { ...e2 }), ua = (e2) => z(Dn, { ...e2 }), ga = $(O((e2, t2) => {
1833
+ const { workbook: o2, commands: n2, onBeforeUserChange: a2, onUserChange: r2, disabled: l2 = false, readOnly: i2 = false, contextMenuProps: s2, renderContextMenu: d2 = ma, sheetsAllProps: c2, renderSheetsAll: m2 = pa, sheetTabProps: p2, renderSheetTab: u2, background: g2 = "transparent", className: h2, sx: f2, borderWidth: x2, borderColor: b2, gridTheme: y2, gridStyle: k2, ...S2 } = e2, [C2, v2] = U(o2?.getSelectedSheetIndex()), [T2, R2] = U(o2?.getSheets().getItems()), [D2, M2] = U(o2?.getProtection());
1846
1834
  w(o2, { onViewChange(e3) {
1847
1835
  v2(e3?.getSelectedSheetIndex());
1848
1836
  }, onSheetsChange: (e3) => {
@@ -1883,7 +1871,7 @@ const sa = (e2) => {
1883
1871
  } catch (e4) {
1884
1872
  }
1885
1873
  if (!t3) return null;
1886
- return (u2 ?? ga)({ sheet: t3, gridTheme: y2, onContextMenu: (t4) => {
1874
+ return (u2 ?? ua)({ sheet: t3, gridTheme: y2, onContextMenu: (t4) => {
1887
1875
  B2(e3.index), ae2(t4, e3.index);
1888
1876
  }, ...e3, ...p2 });
1889
1877
  }, [u2, p2, o2, y2]), le2 = V(() => F2 ? null : z(Me, { disableInteractive: true, title: "New sheet", children: z(te, { disabled: l2, component: "div", sx: { padding: "0", "&:hover:not([disabled])": { color: (e3) => e3.palette.primary.main }, color: (e3) => e3.palette.text.icon ?? e3.palette.action.active, "& svg": { width: "18px", height: "18px" } }, "aria-label": "addTab", size: "small", onMouseDown: (e3) => {
@@ -1902,8 +1890,8 @@ const sa = (e2) => {
1902
1890
  $2 ? _2.close(0) : _2.open(0);
1903
1891
  }, icon: z(xt, { iconKey: "Menu" }) }) }) }), z("div", { style: { borderTop: `solid ${b2} ${x2}px`, minWidth: "4px" } }), z("div", { style: { borderTop: `solid ${b2} ${x2}px`, flex: "none", display: "flex", alignItems: "center" }, children: le2 }), z("div", { style: { borderTop: `solid ${b2} ${x2}px`, flex: 1, minWidth: "24px" } }), ne2, X2] });
1904
1892
  }));
1905
- ha.displayName = "WorkbookStrip";
1906
- const fa = $(O((e2, t2) => {
1893
+ ga.displayName = "WorkbookStrip";
1894
+ const ha = $(O((e2, t2) => {
1907
1895
  const { workbook: o2, commands: n2, disabled: a2, sx: r2, floatReference: l2, className: i2, ...s2 } = e2, [d2, c2] = Z((e3) => e3 + 1, 0), [m2, p2] = U(o2.getSelectedSheet()), [u2, g2] = U(m2.getSelectedRanges()), [h2, f2] = U(m2.getSelectedCell());
1908
1896
  w(o2, { onSheetsChange() {
1909
1897
  p2(o2.getSelectedSheet());
@@ -1930,31 +1918,31 @@ const fa = $(O((e2, t2) => {
1930
1918
  const e3 = n2.getCommand("updateComments");
1931
1919
  T2.push(X(ve, { command: e3, ...y2, key: "contextBefore:" + T2.length }));
1932
1920
  }
1933
- P2 ? T2.push(X(Oe, { ...k2, variant: ut.Menuitem, key: "contextBefore:" + T2.length, popupCommandKeys: ["convertTableToRange", "deleteTable"], popupScope: "table", scope: "context", commandState: P2, quickCommand: "editTable" })) : T2.push(X(ve, { command: n2.getCommand("insertTable"), ...y2, key: "context:" + S2.length })), T2.push(X(ea, { ...k2, key: "contextBefore:" + T2.length }));
1921
+ P2 ? T2.push(X(Oe, { ...k2, variant: ut.Menuitem, key: "contextBefore:" + T2.length, popupCommandKeys: ["convertTableToRange", "deleteTable"], popupScope: "table", scope: "context", commandState: P2, quickCommand: "editTable" })) : T2.push(X(ve, { command: n2.getCommand("insertTable"), ...y2, key: "context:" + S2.length })), T2.push(X(Wa, { ...k2, key: "contextBefore:" + T2.length }));
1934
1922
  }
1935
- const D2 = L(H, { children: [z(ve, { command: n2.getCommand("cut"), ...y2 }), z(xa, { command: n2.getCommand("copy"), ...y2 }), z(Yo, { command: n2.getCommand("paste"), ...k2, includePasteAllInPopup: false }), z(Te, { orientation: "horizontal" }), z(Ko, { ...k2 }), z(Te, { orientation: "horizontal" }), z(zo, { commands: n2, ...k2, disableSheet: true }), z(Wo, { commands: n2, ...k2, disableSheet: true }), z(Lo, { ...k2 }), T2, S2] });
1923
+ const D2 = L(H, { children: [z(ve, { command: n2.getCommand("cut"), ...y2 }), z(fa, { command: n2.getCommand("copy"), ...y2 }), z(Yo, { command: n2.getCommand("paste"), ...k2, includePasteAllInPopup: false }), z(Te, { orientation: "horizontal" }), z(Ko, { ...k2 }), z(Te, { orientation: "horizontal" }), z(zo, { commands: n2, ...k2, disableSheet: true }), z(Wo, { commands: n2, ...k2, disableSheet: true }), z(Lo, { ...k2 }), T2, S2] });
1936
1924
  return z(J, { ref: t2, className: mt("menu", i2), sx: { ...r2 }, ...s2, children: D2 });
1937
1925
  }));
1938
- fa.displayName = "WorkbookContextMenu";
1939
- const xa = $(O((e2, t2) => {
1926
+ ha.displayName = "WorkbookContextMenu";
1927
+ const fa = $(O((e2, t2) => {
1940
1928
  const { command: o2, ...n2 } = e2, a2 = wt(), [r2, l2] = U(false), [i2, s2] = U("info");
1941
1929
  return j(() => {
1942
1930
  const e3 = a2.getMode();
1943
1931
  l2("copy" === e3?.key || "cut" === e3?.key), s2("cut" === e3?.key ? "warn" : "accent");
1944
1932
  }, [a2]), z(ve, { ref: t2, command: o2, icon: z(xt, { iconKey: "copy.walking", sourceProps: { isWalking: r2, themedType: i2 } }), ...n2 });
1945
- })), ba = $(O((e2, t2) => {
1933
+ })), xa = $(O((e2, t2) => {
1946
1934
  const { movable: o2, commands: n2, disabled: a2, sx: r2, floatReference: l2, ...i2 } = e2;
1947
1935
  w(o2, { onAnyChange(e3) {
1948
1936
  } });
1949
1937
  const s2 = V(() => ({}), []), d2 = V(() => ({ commandHook: { beforeExecute: (e3, t3) => l2.closeAll(), onExecute() {
1950
1938
  }, onError() {
1951
1939
  console.log("onError");
1952
- } }, disabled: a2, parentFloat: l2 }), [a2, l2]), c2 = V(() => ({ variant: ut.Menuitem, ...s2, ...d2 }), [s2, d2]), m2 = V(() => ({ commands: n2, variant: ut.Menuitem, parentFloat: l2, ...d2 }), [n2, d2, l2]), p2 = L(H, { children: [z(xa, { command: n2.getCommand("copy"), ...c2, variant: ut.Menuitem }), [], z(Te, { orientation: "horizontal" }), z(Oe, { ...m2, popupCommandKeys: ["moveToFront", "moveForward"], quickCommand: "moveToFront" }), z(Oe, { ...m2, popupCommandKeys: ["moveToBack", "moveBackward"], quickCommand: "moveToBack" }), z(Te, { orientation: "horizontal" }), z(ve, { ...c2, command: n2.getCommand("toggleLockAspectRatio") }), z(Te, { orientation: "horizontal" }), z(Oe, { ...m2, popupCommandKeys: ["formatDrawAlignLeft", "formatDrawAlignCenter", "formatDrawAlignRight", null, "formatDrawAlignTop", "formatDrawAlignMiddle", "formatDrawAlignBottom", null, "formatDrawDistributeHorz", "formatDrawDistributeVert"], label: "Align", icon: "DrawAlignLeft", tooltip: "Quickly change the placement of your drawings." }), z(Te, { orientation: "horizontal" }), z(Oe, { ...m2, popupCommandKeys: ["formatAnchorTypeTwoCell", "formatAnchorTypeOneCell", "formatAnchorTypeAbsolute"], label: "Sizing", icon: "DrawResize", tooltip: "Determine how the drawing size will adjust as the cell sizes adjust." }), []] });
1940
+ } }, disabled: a2, parentFloat: l2 }), [a2, l2]), c2 = V(() => ({ variant: ut.Menuitem, ...s2, ...d2 }), [s2, d2]), m2 = V(() => ({ commands: n2, variant: ut.Menuitem, parentFloat: l2, ...d2 }), [n2, d2, l2]), p2 = L(H, { children: [z(fa, { command: n2.getCommand("copy"), ...c2, variant: ut.Menuitem }), [], z(Te, { orientation: "horizontal" }), z(Oe, { ...m2, popupCommandKeys: ["moveToFront", "moveForward"], quickCommand: "moveToFront" }), z(Oe, { ...m2, popupCommandKeys: ["moveToBack", "moveBackward"], quickCommand: "moveToBack" }), z(Te, { orientation: "horizontal" }), z(ve, { ...c2, command: n2.getCommand("toggleLockAspectRatio") }), z(Te, { orientation: "horizontal" }), z(Oe, { ...m2, popupCommandKeys: ["formatDrawAlignLeft", "formatDrawAlignCenter", "formatDrawAlignRight", null, "formatDrawAlignTop", "formatDrawAlignMiddle", "formatDrawAlignBottom", null, "formatDrawDistributeHorz", "formatDrawDistributeVert"], label: "Align", icon: "DrawAlignLeft", tooltip: "Quickly change the placement of your drawings." }), z(Te, { orientation: "horizontal" }), z(Oe, { ...m2, popupCommandKeys: ["formatAnchorTypeTwoCell", "formatAnchorTypeOneCell", "formatAnchorTypeAbsolute"], label: "Sizing", icon: "DrawResize", tooltip: "Determine how the drawing size will adjust as the cell sizes adjust." }), []] });
1953
1941
  return z(J, { ref: t2, sx: { paddingTop: "4px", paddingBottom: "4px", ...r2 }, ...i2, children: p2 });
1954
1942
  }));
1955
- ba.displayName = "MovableContextMenu";
1956
- const ya = (e2) => z(ba, { ...e2 }), wa = (e2) => z(fa, { ...e2 }), ka = (e2) => z(Rn, { ...e2 }), Sa = (e2, t2) => z(Tn, { ref: t2, ...e2 }), Ca = (e2) => z(Fe, { ...e2 }), va = (e2, t2) => z(D, { ref: t2, ...e2 }), Ta = (e2) => z(Sn, { ...e2 }), Ra = (e2) => z(ha, { ...e2 }), Pa = { fireOnModelChange: false }, Da = { flex: "1 1 100%", display: "flex", boxSizing: "border-box" }, Ma = $(O((e2, t2) => {
1957
- const { workbook: o2, createWorkbookOptions: n2, onNewWorkbook: a2, onElementLoad: r2, autoFocus: l2 = false, sx: i2, style: s2, className: d2, onFocus: c2, onBlur: m2, onKeyDown: p2, onRepeatCommandChange: u2, commands: g2, showFormulaBar: x2, formulaBarProps: b2, renderFormulaBar: y2 = Sa, showTabs: k2, tabsProps: S2, renderTabs: C2 = Ra, showStatusBar: v2, statusBarProps: T2, renderStatusBar: P2 = Ta, toolbarProps: D2, renderToolbar: E2 = na, contextMenuSx: A2, renderContextMenu: I2 = wa, renderFilterMenu: $2 = ka, renderMovableMenu: O2 = ya, renderLoadingPanel: G2 = Ca, loadingPanelProps: _2, sheetProps: X2, renderSheet: Y2 = va, mainWrapper: te2, showHorizontalScrollbar: oe2, showVerticalScrollbar: ne2, gridTheme: ae2, headersTheme: re2, enableDarkImages: le2, ...ie2 } = e2, se2 = zt(), de2 = R(), ce2 = V(() => {
1943
+ xa.displayName = "MovableContextMenu";
1944
+ const ba = (e2) => z(xa, { ...e2 }), ya = (e2) => z(ha, { ...e2 }), wa = (e2) => z(Rn, { ...e2 }), ka = (e2, t2) => z(Tn, { ref: t2, ...e2 }), Sa = (e2) => z(Fe, { ...e2 }), Ca = (e2, t2) => z(D, { ref: t2, ...e2 }), va = (e2) => z(Sn, { ...e2 }), Ta = (e2) => z(ga, { ...e2 }), Ra = { fireOnModelChange: false }, Pa = { flex: "1 1 100%", display: "flex", boxSizing: "border-box" }, Da = $(O((e2, t2) => {
1945
+ const { workbook: o2, createWorkbookOptions: n2, onNewWorkbook: a2, onElementLoad: r2, autoFocus: l2 = false, sx: i2, style: s2, className: d2, onFocus: c2, onBlur: m2, onKeyDown: p2, onRepeatCommandChange: u2, commands: g2, showFormulaBar: x2, formulaBarProps: b2, renderFormulaBar: y2 = ka, showTabs: k2, tabsProps: S2, renderTabs: C2 = Ta, showStatusBar: v2, statusBarProps: T2, renderStatusBar: P2 = va, toolbarProps: D2, renderToolbar: E2 = oa, contextMenuSx: A2, renderContextMenu: I2 = ya, renderFilterMenu: $2 = wa, renderMovableMenu: O2 = ba, renderLoadingPanel: G2 = Sa, loadingPanelProps: _2, sheetProps: X2, renderSheet: Y2 = Ca, mainWrapper: te2, showHorizontalScrollbar: oe2, showVerticalScrollbar: ne2, gridTheme: ae2, headersTheme: re2, enableDarkImages: le2, ...ie2 } = e2, se2 = zt(), de2 = R(), ce2 = V(() => {
1958
1946
  const e3 = { theme: de2.getDefaultTheme(), ...n2 };
1959
1947
  return o2 ?? new h(e3);
1960
1948
  }, [o2]), me2 = q(null), [pe2, ge2] = U(false), he2 = q(null), fe2 = V(() => z(J, { className: "sheetxl-viewport", sx: { width: "100%", height: "100%", boxSizing: "border-box", position: "absolute", pointerEvents: "none !important", "& > :first-of-type": { position: "relative" } }, ref: he2 }), []), [xe2, be2] = U(false), [ye2, we2] = U(false), ke2 = K(() => {
@@ -1983,7 +1971,7 @@ const ya = (e2) => z(ba, { ...e2 }), wa = (e2) => z(fa, { ...e2 }), ka = (e2) =>
1983
1971
  me2.current.getSheet() !== t3 ? me2.current.getGridElement()?.onViewChangeOnce(() => {
1984
1972
  me2.current.getSheet() !== t3 && e4(false), e4(true);
1985
1973
  }) : e4(true);
1986
- }) }, Pa);
1974
+ }) }, Ra);
1987
1975
  const [Ee2, Ae2] = Z((e3) => e3 + 1, 0), Ie2 = ce2?.getView();
1988
1976
  w(Ie2, { onViewChange: (e3) => {
1989
1977
  Ae2();
@@ -1992,7 +1980,7 @@ const ya = (e2) => z(ba, { ...e2 }), wa = (e2) => z(fa, { ...e2 }), ka = (e2) =>
1992
1980
  K(() => {
1993
1981
  me2.current.focus();
1994
1982
  }, []);
1995
- const Ve2 = sa({ workbook: ce2, workbookElement: Ce2.current, target: () => me2.current, commands: g2, darkMode: He2.body.darkMode, onNewWorkbook: a2 }), Ke2 = q(null), [Ge2, Ue2] = U(false), [je2, qe2] = U(null), [Xe2, Ze2] = U(Nt.Top), [Ye2, Qe2] = U(f.EmptyBounds), et2 = K(() => {
1983
+ const Ve2 = ia({ workbook: ce2, workbookElement: Ce2.current, target: () => me2.current, commands: g2, darkMode: He2.body.darkMode, onNewWorkbook: a2 }), Ke2 = q(null), [Ge2, Ue2] = U(false), [je2, qe2] = U(null), [Xe2, Ze2] = U(Nt.Top), [Ye2, Qe2] = U(f.EmptyBounds), et2 = K(() => {
1996
1984
  Ue2(false), qe2(null);
1997
1985
  }, []), tt2 = K((e3, t3, o3 = Nt.Top) => {
1998
1986
  Qe2(e3), Ze2(o3), qe2(t3), null !== Ke2.current && setTimeout(() => {
@@ -2099,7 +2087,7 @@ const ya = (e2) => z(ba, { ...e2 }), wa = (e2) => z(fa, { ...e2 }), ka = (e2) =>
2099
2087
  r3 = z(B, { ...e4 });
2100
2088
  }
2101
2089
  return z("div", { style: { position: "absolute", clipPath: "inset(0px)", display: "flex", alignItems: "stretch", justifyContent: "stretch", pointerEvents: "all" }, children: r3 }, t3.getUUID());
2102
- }, []), Yt2 = V(() => Y2({ style: Da, onFocus: It2, gridStyle: He2, headersStyle: We2, sheet: Pe2, commands: Ve2, onSheetContextMenu: Dt2, onViewportChange: (e3) => {
2090
+ }, []), Yt2 = V(() => Y2({ style: Pa, onFocus: It2, gridStyle: He2, headersStyle: We2, sheet: Pe2, commands: Ve2, onSheetContextMenu: Dt2, onViewportChange: (e3) => {
2103
2091
  Oe2(e3);
2104
2092
  }, showScrollbars: false, viewportComponent: fe2, onRepeatCommandChange: u2, onElementLoad: ke2, onShowColumnTooltip: (e3) => {
2105
2093
  tt2(e3.anchor, e3.display, Nt.Top);
@@ -2110,12 +2098,12 @@ const ya = (e2) => z(ba, { ...e2 }), wa = (e2) => z(fa, { ...e2 }), ka = (e2) =>
2110
2098
  }, onCloseTooltip: () => et2(), renderMovable: Zt2, ...X2, cellRenderProps: { onFilterButtonMouseDown: (e3, t3) => {
2111
2099
  X2?.cellRenderProps?.onFilterButtonMouseDown(e3, t3), Rt2(e3, t3);
2112
2100
  }, ...X2?.cellRenderProps } }, me2), [Ve2, X2, Pe2, He2, u2]), Qt2 = V(() => {
2113
- let e3 = z(Bt, { ref: ut2, style: Da, viewport: $e2, touchElement: me2.current?.getGridElement()?.stage, onScrollViewport: (e4) => {
2101
+ let e3 = z(Bt, { ref: ut2, style: Pa, viewport: $e2, touchElement: me2.current?.getGridElement()?.stage, onScrollViewport: (e4) => {
2114
2102
  me2.current?.getGridElement()?.scrollTo(e4);
2115
2103
  }, showHorizontalScrollbar: rt2 || at2, showVerticalScrollbar: st2, createHorizontalScrollbar: bt2, createVerticalScrollbar: Ht2, children: Yt2 });
2116
2104
  return ft2 || 0 === ht2 || (e3 = L(H, { children: [e3, xt2] })), te2 ? te2(e3) : e3;
2117
2105
  }, [rt2, at2, bt2, st2, $e2, ft2, Yt2, xt2, se2, te2]), eo2 = V(() => z(Me, { arrow: true, disableInteractive: true, open: Ge2, title: z(ee, { variant: "subtitle2", component: "div", children: je2 }), placement: Xe2, slotProps: { transition: { timeout: { exit: 0 } }, popper: { popperRef: Ke2, sx: { "& .MuiTooltip-tooltip": { padding: "2px 6px", "& .MuiTooltip-arrow": { display: Ge2 ? "visible" : "none" } } }, anchorEl: { getBoundingClientRect: () => new DOMRect(Ye2.x, Ye2.y, Ye2.width, Ye2.height) }, modifiers: [{ name: "offset", options: { offset: [0, 0] } }] } }, children: z(J, {}) }), [Ge2, je2, Xe2, Ye2, Ke2]), to2 = V(() => ({ boxSizing: "border-box", background: (e3) => "dark" !== e3.palette.mode ? He2.header.fill : e3.palette.background.paper, "& *": { ...Je(se2), fontWeight: 400 }, "&.Mui-focusVisible": {}, "& .viewport-overlay": { borderRight: `solid ${dt2} 1px` }, ...i2 }), [i2, He2]), oo2 = V(() => z(J, { sx: { marginBottom: (e3) => e3.spacing(0.75) } }), []), no2 = V(() => ({ flex: "1 1 100%", width: "100%", display: "flex", flexDirection: "column", opacity: ye2 ? void 0 : 0, "--sxl-app-color-high-contrast": se2.palette.primary.main, "--sxl-app-color-primary": se2.palette.primary.main, "--sxl-app-color-primary-dark": se2.palette.primary.dark, "--sxl-app-color-primary-light": se2.palette.primary.light, "--sxl-app-color-info": se2.palette.info.main, "--sxl-app-color-info-dark": se2.palette.info.dark, "--sxl-app-color-info-light": se2.palette.info.light, "--sxl-app-color-secondary": se2.palette.secondary.main, "--sxl-app-color-secondary-dark": se2.palette.secondary.dark, "--sxl-app-color-secondary-light": se2.palette.secondary.light, "--sxl-app-color-success": se2.palette.success.main, "--sxl-app-color-success-dark": se2.palette.success.dark, "--sxl-app-color-success-light": se2.palette.success.light, "--sxl-app-color-warning": se2.palette.warning.main, "--sxl-app-color-warning-dark": se2.palette.warning.dark, "--sxl-app-color-warning-light": se2.palette.warning.light, "--sxl-app-color-error": se2.palette.error.main, "--sxl-app-color-error-dark": se2.palette.error.dark, "--sxl-app-color-error-light": se2.palette.error.light, "--sxl-app-color-text": se2.palette.text.primary, "--sxl-app-color-text-secondary": se2.palette.text.secondary, "--sxl-app-color-text-disabled": se2.palette.text.disabled, "--sxl-app-color-background": se2.palette.background.paper, "--sxl-app-color-button-surface": se2.palette.grey[600], "--sxl-app-color-shadow": se2.palette.action.focus, "--sxl-app-color-grey": se2.palette.grey[500], "--sxl-app-filter-dark-invert": He2.body.darkMode && le2 ? "hue-rotate(180deg) invert(1) brightness(95%)" : "none", "--sxl-app-image-background": He2.body.darkMode ? `linear-gradient(${Wt("#fff", $t(5))}, ${Wt("#fff", $t(5))})` : void 0 }), [He2, se2, ye2]), ao2 = V(() => mt(nn), []);
2118
- return L(ue, { className: mt("sheetxl-workbook", ma, { "Mui-focusVisible": pe2 }, ca, d2), sx: to2, style: s2, square: false, ...ie2, ref: Ce2, onFocus: (e3) => {
2106
+ return L(ue, { className: mt("sheetxl-workbook", ca, { "Mui-focusVisible": pe2 }, da, d2), sx: to2, style: s2, square: false, ...ie2, ref: Ce2, onFocus: (e3) => {
2119
2107
  ge2(true), At2(), c2?.(e3);
2120
2108
  }, onBlur: (e3) => {
2121
2109
  ge2(false), m2?.(e3);
@@ -2128,8 +2116,8 @@ const ya = (e2) => z(ba, { ...e2 }), wa = (e2) => z(fa, { ...e2 }), ka = (e2) =>
2128
2116
  }
2129
2117
  }, onDragEnter: Kt2, onDragLeave: Kt2, onDragOver: Kt2, onDrop: Gt2, children: [L("div", { className: ao2, style: no2, children: [pt2, lt2 ? Xt2 : null, oo2, Qt2, ct2, eo2, Tt2, Ut2] }), qt2] });
2130
2118
  }));
2131
- Ma.displayName = "WorkbookElement";
2132
- const Fa = (e2 = false, t2 = false) => t2 ? null : { "& input:not(:focus):not(:hover)": { color: (e3) => e3.palette.text.secondary }, backgroundColor: (e3) => Wt(e3.palette.background.paper, 0.6), borderRadius: (e3) => `${e3.shape.borderRadius}px`, border: (t3) => `solid ${e2 ? t3.palette.divider : "transparent"} 1px`, "&.Mui-disabled": { border: (t3) => `solid ${e2 ? t3.palette.divider : "transparent"} 1px` }, "&:focus-within:not([disabled])": { backgroundColor: (e3) => e3.palette.background.paper }, "&:hover:not([disabled])": { border: (t3) => `solid ${e2 ? t3.palette.text?.primary : t3.palette.divider} 1px`, backgroundColor: null }, "&.Mui-focusVisible": { outline: (e3) => `solid ${e3.palette.primary.main} 1px !important`, border: (e3) => `1px solid ${e3.palette?.primary?.main} !important` } }, Na = $(O((e2, t2) => {
2119
+ Da.displayName = "WorkbookElement";
2120
+ const Ma = (e2 = false, t2 = false) => t2 ? null : { "& input:not(:focus):not(:hover)": { color: (e3) => e3.palette.text.secondary }, backgroundColor: (e3) => Wt(e3.palette.background.paper, 0.6), borderRadius: (e3) => `${e3.shape.borderRadius}px`, border: (t3) => `solid ${e2 ? t3.palette.divider : "transparent"} 1px`, "&.Mui-disabled": { border: (t3) => `solid ${e2 ? t3.palette.divider : "transparent"} 1px` }, "&:focus-within:not([disabled])": { backgroundColor: (e3) => e3.palette.background.paper }, "&:hover:not([disabled])": { border: (t3) => `solid ${e2 ? t3.palette.text?.primary : t3.palette.divider} 1px`, backgroundColor: null }, "&.Mui-focusVisible": { outline: (e3) => `solid ${e3.palette.primary.main} 1px !important`, border: (e3) => `1px solid ${e3.palette?.primary?.main} !important` } }, Fa = $(O((e2, t2) => {
2133
2121
  const { sx: o2, workbook: n2, title: a2 = "", placeHolder: r2 = "Untitled", onTitleChange: l2, readOnly: i2 = false, hidden: s2, ...d2 } = e2, [c2, m2] = U(false), [p2, u2] = U(false), [g2, h2] = U(a2 ?? ""), [f2, x2] = U(""), [b2, { width: y2 }] = jt(), [w2, { width: k2 }] = jt(), [S2, C2] = U(false), v2 = q(null), T2 = q(null), R2 = Ct(t2, () => ({ requestWorkbookTitle: (e3 = null, t3) => {
2134
2122
  T2.current = { onAccept: e3, requestReason: t3?.requestReason }, t3?.selectAll && v2.current?.select(), v2.current?.focus(t3);
2135
2123
  }, focus: (e3) => {
@@ -2143,7 +2131,7 @@ const Fa = (e2 = false, t2 = false) => t2 ? null : { "& input:not(:focus):not(:h
2143
2131
  }, 300)();
2144
2132
  }, [S2, y2]), j(() => {
2145
2133
  u2(g2 && !to.isValidWindowsFilename(g2));
2146
- }, [g2]), s2 ? null : z(J, { sx: { display: "flex", flexDirection: "column", justifyContent: "center", alignItems: "center", opacity: S2 ? "0" : "1", transition: S2 ? void 0 : "opacity .25s ease-in", "& .tooltip-wrapper": { maxWidth: "100%" } }, ref: Ut([R2, w2, t2]), ...d2, children: z(He, { label: T2.current?.requestReason ?? "Workbook Name", children: L(J, { className: mt({ "Mui-focusVisible": c2 }), sx: { visibility: 0 === y2 ? "hidden" : "visible", display: "block", maxWidth: "100%", overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap", paddingLeft: "12px", paddingRight: "12px", marginLeft: "2px", marginRight: "2px", paddingTop: "2px", paddingBottom: "1px", ...Fa(true, i2), ...o2 }, children: [i2 ? z(ee, { variant: "subtitle1", component: "div", sx: { whiteSpace: "nowrap", fontStyle: g2 !== f2 ? "italic" : void 0, userSelect: "none", textOverflow: "ellipsis", lineHeight: "1.4375em", border: "transparent 1px solid", color: (e3) => p2 ? e3.palette.error.dark : void 0 }, children: a2 ?? r2 }) : z(le, { sx: { width: `${Math.min(y2 + 3, Math.max(k2, R2.current?.getBoundingClientRect()?.width))}px`, overflow: "hidden", whiteSpace: "nowrap", fontWeight: "600", maxWidth: "100%", border: "none", padding: "0px", margin: "0px", color: (e3) => p2 ? e3.palette.error.dark : void 0, fontStyle: g2 !== f2 ? "italic" : void 0, "& input": { paddingTop: "0px", paddingBottom: "0px", textOverflow: "ellipsis" } }, disableUnderline: true, fullWidth: false, multiline: false, readOnly: i2, spellCheck: false, placeholder: r2, onFocus: (e3) => {
2134
+ }, [g2]), s2 ? null : z(J, { sx: { display: "flex", flexDirection: "column", justifyContent: "center", alignItems: "center", opacity: S2 ? "0" : "1", transition: S2 ? void 0 : "opacity .25s ease-in", "& .tooltip-wrapper": { maxWidth: "100%" } }, ref: Ut([R2, w2, t2]), ...d2, children: z(He, { label: T2.current?.requestReason ?? "Workbook Name", children: L(J, { className: mt({ "Mui-focusVisible": c2 }), sx: { visibility: 0 === y2 ? "hidden" : "visible", display: "block", maxWidth: "100%", overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap", paddingLeft: "12px", paddingRight: "12px", marginLeft: "2px", marginRight: "2px", paddingTop: "2px", paddingBottom: "1px", ...Ma(true, i2), ...o2 }, children: [i2 ? z(ee, { variant: "subtitle1", component: "div", sx: { whiteSpace: "nowrap", fontStyle: g2 !== f2 ? "italic" : void 0, userSelect: "none", textOverflow: "ellipsis", lineHeight: "1.4375em", border: "transparent 1px solid", color: (e3) => p2 ? e3.palette.error.dark : void 0 }, children: a2 ?? r2 }) : z(le, { sx: { width: `${Math.min(y2 + 3, Math.max(k2, R2.current?.getBoundingClientRect()?.width))}px`, overflow: "hidden", whiteSpace: "nowrap", fontWeight: "600", maxWidth: "100%", border: "none", padding: "0px", margin: "0px", color: (e3) => p2 ? e3.palette.error.dark : void 0, fontStyle: g2 !== f2 ? "italic" : void 0, "& input": { paddingTop: "0px", paddingBottom: "0px", textOverflow: "ellipsis" } }, disableUnderline: true, fullWidth: false, multiline: false, readOnly: i2, spellCheck: false, placeholder: r2, onFocus: (e3) => {
2147
2135
  m2(true), e3.target?.select();
2148
2136
  }, inputProps: { name: "input-workbook-title", autoComplete: "off", ref: v2 }, onBlur: () => {
2149
2137
  m2(false), p2 ? h2(f2) : (g2 !== f2 && (l2?.(g2), g2 && T2.current?.onAccept?.(g2, "blur")), T2.current = null);
@@ -2156,8 +2144,8 @@ const Fa = (e2 = false, t2 = false) => t2 ? null : { "& input:not(:focus):not(:h
2156
2144
  }, 0)), T2.current = null, e3.stopPropagation(), e3.preventDefault());
2157
2145
  }, value: g2 }), z(J, { ref: b2, sx: { position: "absolute", visibility: "hidden", top: "-9999px", fontWeight: "600 !important", whiteSpace: "pre", fontStyle: g2 !== f2 ? "italic" : void 0, fontFamily: (e3) => e3.typography.fontFamily, letterSpacing: "0.00938em" }, children: g2 || r2 })] }) }) });
2158
2146
  }));
2159
- Na.displayName = "WorkbookTitle";
2160
- const Ba = $(O((e2, t2) => {
2147
+ Fa.displayName = "WorkbookTitle";
2148
+ const Na = $(O((e2, t2) => {
2161
2149
  const { title: o2, commands: n2, className: a2, ...r2 } = e2, l2 = kt(), [i2, s2] = U(false), [d2, c2] = U(false), m2 = q(null), [p2, u2] = Z((e3) => e3 + 1, 0), [g2, { width: h2 }] = jt(), f2 = pt(n2, ["editTable"])[0].context(), x2 = f2.table(), [b2, y2] = U(() => x2 ? f2.getNames().getRanges(x2.getRange()) : null), k2 = V(() => x2?.getName() ?? "", [x2]);
2162
2150
  w(f2.table(), { onAnchorCoordsChange(e3) {
2163
2151
  y2(f2.getNames().getRanges(e3.getRange()));
@@ -2178,7 +2166,7 @@ const Ba = $(O((e2, t2) => {
2178
2166
  d2 || e3.target?.select(), c2(true);
2179
2167
  } }), z(fn, { formName: "range", value: b2, onChangeInput: C2, resolvedAddress: f2.getNames().getRanges.bind(f2.getNames()), disabled: x2?.isProtected() ?? true, onFocus: (e3) => {
2180
2168
  d2 || e3.target?.select(), c2(true);
2181
- } })] }) }), L(J, { sx: { minHeight: "10px", flex: "1 1 100%", display: "flex", flexDirection: "column", containerType: "inline-size", gap: (e3) => e3.spacing(0.5), marginTop: (e3) => e3.spacing(1) }, children: [z(Te, { orientation: "horizontal", sx: { marginTop: (e3) => e3.spacing(1.5), marginBottom: (e3) => e3.spacing(0.75) } }), z(mn, { disabled: x2?.isProtected(), styleOptions: x2?.getStyleOptions() ?? null, onStyleOptionsChange: (e3) => {
2169
+ } })] }) }), L(J, { sx: { minHeight: "10px", flex: "1 1 100%", display: "flex", border: "red solid 2px", flexDirection: "column", containerType: "inline-size", gap: (e3) => e3.spacing(0.5), marginTop: (e3) => e3.spacing(1) }, children: [z(Te, { orientation: "horizontal", sx: { marginTop: (e3) => e3.spacing(1.5), marginBottom: (e3) => e3.spacing(0.75) } }), z(J, { sx: { display: "flex", flex: "1 1 100%", alignItems: "center", justifyContent: "start", flexDirection: "column", marginTop: (e3) => e3.spacing(1), marginBottom: (e3) => e3.spacing(1) }, children: L("div", { style: { display: "flex", alignItems: "start", gap: "2px" }, children: [z(rn, { table: x2, styles: f2.styles(), bodyStyle: f2.bodyStyle(), cellHeight: 30, isLive: true }), z(Ia, { command: n2.getCommand("formatTableStyle"), commands: n2, disabledQuickKey: true })] }) }), z(Te, { orientation: "horizontal", sx: { marginTop: (e3) => e3.spacing(1.5), marginBottom: (e3) => e3.spacing(0.75) } }), z(mn, { disabled: x2?.isProtected(), styleOptions: x2?.getStyleOptions() ?? null, onStyleOptionsChange: (e3) => {
2182
2170
  x2.updateStyleOptions(e3);
2183
2171
  }, showHeaderRow: x2?.getShowHeaders(), onShowHeaderRowChange: (e3) => {
2184
2172
  try {
@@ -2198,13 +2186,13 @@ const Ba = $(O((e2, t2) => {
2198
2186
  } catch (e4) {
2199
2187
  l2.showError(e4);
2200
2188
  }
2201
- } }), z(Te, { orientation: "horizontal", sx: { marginTop: (e3) => e3.spacing(1.5), marginBottom: (e3) => e3.spacing(0.75) } }), z(J, { sx: { display: "flex", flex: "1 1 100%", alignItems: "center", justifyContent: "start", flexDirection: "column", marginTop: (e3) => e3.spacing(2), marginBottom: (e3) => e3.spacing(1) }, children: L("div", { style: { display: "flex", alignItems: "start", gap: "2px" }, children: [z(rn, { table: x2, styles: f2.styles(), bodyStyle: f2.bodyStyle(), cellHeight: 30, isLive: true }), z(La, { command: n2.getCommand("formatTableStyle"), commands: n2, disabledQuickKey: true })] }) }), z(Te, { orientation: "horizontal" }), L(J, { className: un, children: [z(ve, { variant: ut.Menuitem, command: n2.getCommand("convertTableToRange"), commandState: x2 }), z(ve, { variant: ut.Menuitem, commandState: x2, command: n2.getCommand("deleteTable") })] })] })] }) });
2202
- })), Ea = (e2, t2) => {
2189
+ } }), z(Te, { orientation: "horizontal" }), L(J, { className: un, children: [z(ve, { variant: ut.Menuitem, command: n2.getCommand("convertTableToRange"), commandState: x2 }), z(ve, { variant: ut.Menuitem, commandState: x2, command: n2.getCommand("deleteTable") })] })] })] }) });
2190
+ })), Ba = (e2, t2) => {
2203
2191
  const { model: o2, commands: n2, entryKey: a2, frame: r2, ...l2 } = e2;
2204
- return z(Ba, { ref: t2, commands: n2, ...l2 });
2205
- }, Aa = () => {
2206
- Rt.register("plugin-table", { icons: {} }), v.registerTaskPane({ key: "tableDetails", getTitle: () => "Table Details", getIcon: () => "Table", renderTaskPane: Ea }, true);
2207
- }, Ia = $((e2) => {
2192
+ return z(Na, { ref: t2, commands: n2, ...l2 });
2193
+ }, Ea = () => {
2194
+ Rt.register("plugin-table", { icons: {} }), v.registerTaskPane({ key: "tableDetails", getTitle: () => "Table Details", getIcon: () => "Table", renderTaskPane: Ba }, true);
2195
+ }, Aa = $((e2) => {
2208
2196
  const { table: t2, tableStyle: o2, selectedTableStyleName: n2, onSelectTableStyleName: a2, styles: r2, hasContextMenu: l2 = true, bodyStyle: i2, parentFloat: s2, commands: d2, disabled: c2, commandHook: m2, useCanvasPreview: p2 = true, canvas: u2, ...g2 } = e2, h2 = K((e3) => {
2209
2197
  const t3 = { variant: ut.Menuitem, commandHook: m2, context: "table" }, n3 = L(H, { children: [z(ve, { ...t3, command: d2.getCommand("formatTableStyleClearCellStyles"), commandState: o2, disabled: c2 }), z(ve, { ...t3, style: { fontWeight: 550 }, command: d2.getCommand("formatTableStyle"), commandState: { name: o2.getName() }, disabled: c2 }), z(Te, { orientation: "horizontal" }), z(ve, { ...t3, command: d2.getCommand("setDefaultTableStyle"), commandState: o2.getName(), disabled: c2 }), z(Te, { orientation: "horizontal" }), z(ve, { ...t3, command: d2.getCommand("deleteTableStyle"), commandState: o2?.getName(), disabled: c2 || !o2 || o2.isBuiltIn() })] });
2210
2198
  return Re({ ...e3, children: z(J, { sx: { display: "flex", flexDirection: "column", flex: "1 1 100%", overflow: "hidden" }, children: z(J, { sx: { overflow: "auto", flex: "1 1 100%" }, children: n3 }) }) });
@@ -2216,7 +2204,7 @@ const Ba = $(O((e2, t2) => {
2216
2204
  a2?.(o2?.getName());
2217
2205
  }, ...g2, children: x2 }, o2.getName());
2218
2206
  return l2 && (b2 = z(Ge, { label: t2.getStyleOptions().name, parentFloat: s2, createPopupPanel: h2, children: b2 })), b2;
2219
- }), La = $(O((e2, t2) => {
2207
+ }), Ia = $(O((e2, t2) => {
2220
2208
  const { commands: o2, command: n2, commandHook: a2, selectedTable: r2, onSelectTableStyleName: l2, disabled: i2 = false, bodyStyle: s2, disabledQuickKey: d2 = false, usePreviewIcon: m2 = false, ...p2 } = e2;
2221
2209
  bt(n2);
2222
2210
  const u2 = n2?.context(), g2 = u2?.styles, h2 = r2 ?? u2?.table?.();
@@ -2236,7 +2224,7 @@ const Ba = $(O((e2, t2) => {
2236
2224
  C2.current || (C2.current = document.createElement("canvas"));
2237
2225
  const n3 = (e4) => {
2238
2226
  const n4 = g2().getTableStyle(e4);
2239
- return n4 ? z(Ia, { table: y2, tableStyle: n4, selectedTableStyleName: y2.getStyleOptions().name, bodyStyle: u2.bodyStyle(), commands: t3, commandHook: a2, canvas: C2.current, ...o3 }, e4) : null;
2227
+ return n4 ? z(Aa, { table: y2, tableStyle: n4, selectedTableStyleName: y2.getStyleOptions().name, bodyStyle: u2.bodyStyle(), commands: t3, commandHook: a2, canvas: C2.current, ...o3 }, e4) : null;
2240
2228
  }, r3 = (e4, t4, o4 = true) => {
2241
2229
  const a3 = [];
2242
2230
  for (let e5 = 0; e5 < t4.length; e5++) {
@@ -2266,7 +2254,7 @@ const Ba = $(O((e2, t2) => {
2266
2254
  if (!u2 || !m2) return n2?.icon();
2267
2255
  }, [y2, k2, T2, n2]);
2268
2256
  return z(Pe, { ref: t2, quickCommand: d2 ? void 0 : f2, createPopupPanel: v2, commands: o2, label: n2?.label(), commandState: h2, commandHook: a2, selected: null !== h2, createTooltip: ({ children: e3 }, t3) => z(He, { label: n2?.label(), description: n2?.description(), disabled: t3, children: e3 }), disabled: T2, icon: R2, ...p2 });
2269
- })), Ha = $(O((e2, t2) => {
2257
+ })), La = $(O((e2, t2) => {
2270
2258
  const { command: o2, commandHook: n2, selectedTheme: a2, onSelectTheme: r2, disabled: l2 = false, darkMode: i2, label: s2, icon: d2, variant: c2, ...m2 } = e2;
2271
2259
  bt(o2);
2272
2260
  const p2 = o2?.context()?.themes, u2 = a2 || o2?.context()?.theme, g2 = i2 ?? o2?.context()?.darkMode, h2 = l2 || o2?.disabled(), f2 = gt((e3) => {
@@ -2277,7 +2265,7 @@ const Ba = $(O((e2, t2) => {
2277
2265
  return (h2 || t3) && (l3 = z("div", { children: l3 })), z(We, { command: o2, placement: c2 === ut.Toolbar ? "bottom-start" : "right-start", disabled: h2 || t3, ...r3, children: l3 });
2278
2266
  }, [o2, h2]);
2279
2267
  return z(wn, { ref: t2, themes: p2, selectedTheme: u2, onSelectTheme: f2, variant: c2 === ut.Menuitem ? Ne.Menuitem : Ne.Toolbar, createTooltip: x2, disabled: h2, darkMode: g2, ...m2 });
2280
- })), za = $(O((e2, t2) => {
2268
+ })), Ha = $(O((e2, t2) => {
2281
2269
  const { commands: o2, commandHook: n2, scope: a2, disabled: r2 = false, ...l2 } = e2, i2 = pt(o2, ["themeMode"])[0], s2 = gt((e3, t3) => {
2282
2270
  const o3 = { variant: ut.Menuitem, commandHook: n2, scope: "appearance", disabled: r2 }, a3 = L(H, { children: [z(ve, { ...o3, command: i2 }), z(ve, { ...o3, command: t3.getCommand("defaultThemeMode") }), z(Te, { orientation: "horizontal" }), z(ve, { ...o3, command: t3.getCommand("enableDarkGrid") }), z(ve, { ...o3, command: t3.getCommand("enableDarkImages") })] });
2283
2271
  return Re({ ...e3, children: a3 });
@@ -2285,7 +2273,7 @@ const Ba = $(O((e2, t2) => {
2285
2273
  return z(Pe, { ref: t2, quickCommand: "themeMode", commands: o2, commandHook: n2, createPopupPanel: s2, label: "Appearance", tooltip: "Change the light/dark mode to match your viewing preference. This does not affect the view for others.", onQuickClick: () => {
2286
2274
  i2?.execute(m2 ? "light" : "dark", n2);
2287
2275
  }, selected: p2, ...l2 });
2288
- })), Wa = $(O((e2, t2) => {
2276
+ })), za = $(O((e2, t2) => {
2289
2277
  const { commands: o2, commandHook: n2, scope: a2, disabled: r2 = false, sx: l2, ...i2 } = e2, s2 = K((e3, t3) => {
2290
2278
  const o3 = { variant: ut.Menuitem, scope: "help", commandHook: { ...n2, beforeExecute: (t4, o4) => {
2291
2279
  const a4 = n2?.beforeExecute?.(t4, o4);
@@ -2294,6 +2282,16 @@ const Ba = $(O((e2, t2) => {
2294
2282
  return Re({ ...e3, children: a3 });
2295
2283
  }, [r2, n2]);
2296
2284
  return z(Pe, { ref: t2, sx: l2, commands: o2, disabled: r2, commandHook: n2, scope: a2, label: "Help", tooltip: "Help, feedback, and keyboard shortcuts.", createPopupPanel: s2, icon: z(xt, { iconKey: "Help", style: { transform: "scale(0.75)" } }), ...i2 });
2285
+ })), Wa = $(O((e2, t2) => {
2286
+ const { commands: o2, commandHook: n2, scope: a2, disabled: r2 = false, preferSingleMenu: l2 = true, showQuickButton: i2 = true, variant: s2 = ut.Toolbar, ...d2 } = e2, c2 = pt(o2, ["insertImageFromFile", "insertImageFromURL"]), { singleMenuCommand: m2, allDisabled: p2 } = V(() => {
2287
+ let e3 = null, t3 = 0;
2288
+ for (let o3 = 0; o3 < c2.length; o3++) c2[o3] && !c2[o3]?.disabled() && (l2 && s2 === ut.Menuitem && (e3 = 0 === t3 ? c2[o3] : null), t3++);
2289
+ return { singleMenuCommand: e3, allDisabled: 0 === t3 };
2290
+ }, [c2]), u2 = K((e3, t3) => {
2291
+ const o3 = { variant: ut.Menuitem, commandHook: n2, scope: "insertImage", disabled: r2 }, a3 = L(H, { children: [z(ve, { ...o3, command: t3.getCommand("insertImageFromFile") }), z(ve, { ...o3, command: t3.getCommand("insertImageFromURL") })] });
2292
+ return Re({ ...e3, children: a3 });
2293
+ }, [r2, n2, a2]);
2294
+ return m2 ? z(ve, { ref: t2, variant: s2, commandHook: n2, disabled: r2, command: m2, ...d2 }) : z(Pe, { ref: t2, variant: s2, quickCommand: "insertImageFromFile", commands: o2, commandHook: n2, scope: a2, disabled: r2 || p2, tooltip: "Insert a picture from the web to complement your data.", createPopupPanel: u2, icon: "InsertImage", ...d2 });
2297
2295
  })), $a = $(O((e2, t2) => {
2298
2296
  const { ...o2 } = e2;
2299
2297
  return z(Oe, { ref: t2, ...o2, popupCommandKeys: ["insertFunctionSum", "insertFunctionAverage", "insertFunctionCount", "insertFunctionMax", "insertFunctionMin", null, "insertFunction"], quickCommand: "insertFunctionSum", popupScope: "insertFunction", label: "Quick Function", tooltip: "More functions." });
@@ -2427,11 +2425,11 @@ const Ja = z(He, { label: "SheetXL", description: "Visit me at sheetxl.com.", ch
2427
2425
  const { commands: o2, workbook: n2, logo: a2 = Ja, mainElement: r2, showFileMenu: l2 = true, showAppearanceMenu: i2 = true, ...s2 } = e2, { reference: d2 } = _e(), [c2, { width: m2 }] = jt(), p2 = m2 < 530, u2 = l2 ? z(Qa, { commands: o2, commandHook: { beforeExecute() {
2428
2426
  d2?.closeAll();
2429
2427
  }, onError(e3, t3, o3) {
2430
- } } }) : null, g2 = i2 ? z(za, { commands: o2, commandHook: { beforeExecute() {
2428
+ } } }) : null, g2 = i2 ? z(Ha, { commands: o2, commandHook: { beforeExecute() {
2431
2429
  d2?.closeAll();
2432
2430
  }, onError(e3, t3, o3) {
2433
2431
  } } }) : null, h2 = V(() => ({ paddingLeft: (e3) => e3.spacing(1), paddingRight: (e3) => e3.spacing(1) }), []), f2 = q(null);
2434
- return z(J, { ref: Ut([f2, c2, t2]), ...s2, children: na({ commands: o2, renderCompact: p2, workbook: n2, selectWrapper: (e3) => L(J, { sx: { display: "flex", flex: "1", flexDirection: "row", alignItems: "stretch", gap: (e4) => e4.spacing(1), paddingLeft: (e4) => e4.spacing(1), paddingRight: (e4) => e4.spacing(1) }, children: [L(J, { sx: { display: "flex", flexDirection: "row", alignItems: "center", flex: "1 1 100%", gap: (e4) => e4.spacing(0.5) }, children: [a2, L(J, { sx: { display: "flex", flexDirection: "row", alignItems: "center", gap: (e4) => e4.spacing(0.25) }, children: [u2, e3] })] }), z(J, { sx: { display: "flex", flexDirection: "row", flex: "1 1 300%", overflow: "hidden", alignItems: "center", justifyContent: "center" }, children: r2 }), z(J, { sx: { display: "flex", alignItems: "center", justifyContent: "end", flex: p2 && !g2 ? "0 0 auto" : "1 1 100%" }, children: g2 })] }), selectProps: h2, toolbarsProps: { Home: { sx: {} } } }) });
2432
+ return z(J, { ref: Ut([f2, c2, t2]), ...s2, children: oa({ commands: o2, renderCompact: p2, workbook: n2, selectWrapper: (e3) => L(J, { sx: { display: "flex", flex: "1", flexDirection: "row", alignItems: "stretch", gap: (e4) => e4.spacing(1), paddingLeft: (e4) => e4.spacing(1), paddingRight: (e4) => e4.spacing(1) }, children: [L(J, { sx: { display: "flex", flexDirection: "row", alignItems: "center", flex: "1 1 100%", gap: (e4) => e4.spacing(0.5) }, children: [a2, L(J, { sx: { display: "flex", flexDirection: "row", alignItems: "center", gap: (e4) => e4.spacing(0.25) }, children: [u2, e3] })] }), z(J, { sx: { display: "flex", flexDirection: "row", flex: "1 1 300%", overflow: "hidden", alignItems: "center", justifyContent: "center" }, children: r2 }), z(J, { sx: { display: "flex", alignItems: "center", justifyContent: "end", flex: p2 && !g2 ? "0 0 auto" : "1 1 100%" }, children: g2 })] }), selectProps: h2, toolbarsProps: { Home: { sx: {} } } }) });
2435
2433
  }));
2436
2434
  er.displayName = "StudioToolbar";
2437
2435
  const tr = $((e2) => {
@@ -2488,7 +2486,7 @@ const tr = $((e2) => {
2488
2486
  }
2489
2487
  })), e4.push(new Dt("openWorkbookFromUrl", x2, { label: "Open Workbook From Web", scopedLabels: { insert: "From Web", workbook: "From Web…" }, description: "Open a workbook from the web." }, async function(e5) {
2490
2488
  if (!e5) {
2491
- const t4 = await m3.showInputOptions({ title: "Open Workbook from the Web", description: "Enter the web address for the workbook to open.", inputLabel: "Address", initialValue: "https://www.sheetxl.com/examples/features-checklist.xlsx", inputProps: { style: { minWidth: "440px" } }, options: ["Open"] });
2489
+ const t4 = await m3.showInput({ title: "Open Workbook from the Web", description: "Enter the web address for the workbook to open.", inputLabel: "Address", initialValue: "https://www.sheetxl.com/examples/features-checklist.xlsx", inputProps: { style: { minWidth: "440px" } }, options: ["Open"] });
2492
2490
  if ("Open" !== t4.option) return;
2493
2491
  e5 = t4.input;
2494
2492
  }
@@ -2528,7 +2526,7 @@ const tr = $((e2) => {
2528
2526
  const { showModal: S2 } = nt();
2529
2527
  return j(() => {
2530
2528
  const e4 = () => new Promise((e5, t4) => {
2531
- const o4 = W.lazy(() => import("./H012qdl97RHln5MW.mjs")), n4 = S2(o4, { title: "Shortcut Keys Reference", commands: y2, onDone: () => {
2529
+ const o4 = W.lazy(() => import("./B3fiHsOdyeQ-hH_X.mjs")), n4 = S2(o4, { title: "Shortcut Keys Reference", commands: y2, onDone: () => {
2532
2530
  n4.hide();
2533
2531
  }, slotProps: { transition: { onExited: () => {
2534
2532
  e5(true);
@@ -2541,7 +2539,7 @@ const tr = $((e2) => {
2541
2539
  t3(e4);
2542
2540
  }, { selectAll: true, requestReason: e3 }) : t3(l2);
2543
2541
  }), themeOptions: m2, undoManager: s2, onExecute: K(() => {
2544
- }, []) }), u2 = V(() => z(Wa, { commands: p2, disableHover: true, sx: { padding: "0" }, buttonProps: { sx: { maxHeight: "22px" } } }), [p2]), g2 = { commands: p2 };
2542
+ }, []) }), u2 = V(() => z(za, { commands: p2, disableHover: true, sx: { padding: "0" }, buttonProps: { sx: { maxHeight: "22px" } } }), [p2]), g2 = { commands: p2 };
2545
2543
  return t2 && (g2.statusBarProps = { childrenEnd: u2 }), i2 ? W.cloneElement(i2, g2) : null;
2546
2544
  });
2547
2545
  tr.displayName = "CommandsWrapper";
@@ -2571,12 +2569,13 @@ const or = $((e2) => {
2571
2569
  a3.set(n3, o4);
2572
2570
  return { ...t5, label: e4, starting: a3 };
2573
2571
  }), n3;
2574
- }, showWindow: (e4, t4, o4) => {
2575
- const n3 = { ...t4, onKeyDown: (e5) => {
2576
- e5.isDefaultPrevented() || e5.isPropagationStopped() || t4?.onKeyDown?.(e5);
2572
+ }, showWindow: (e4, t4) => {
2573
+ const o4 = t4;
2574
+ t4 = { ...t4, onKeyDown: (e5) => {
2575
+ e5.isDefaultPrevented() || e5.isPropagationStopped() || o4?.onKeyDown?.(e5);
2577
2576
  } };
2578
- return c2(e4, { sort: () => import("./Cq6TadzONqFlX07d.mjs"), numberFormat: () => import("./CGaHni9C2sipjSMn.mjs"), hyperlink: () => import("./CwKoYwlrp9nnVHln.mjs"), comments: () => import("./BSTIZiKBGgwjXLtp.mjs"), find: () => import("./D71WQjM6hP5FzBql.mjs"), tableNew: () => import("./BqLlyKyVXFNiRaJv.mjs"), namedDetails: () => import("./BEFwnAOkyd0CWlex.mjs") }[e4], n3, o4);
2579
- }, showOptions: m2, showInputOptions: p2, showError: (t4) => {
2577
+ return c2(e4, { sort: () => import("./B_WXfCoiTjdjGFTw.mjs"), numberFormat: () => import("./B2kR5d7yN_btwSPu.mjs"), hyperlink: () => import("./EtyY49hdotdAcmRj.mjs"), comments: () => import("./B2g633xDh_bOofUD.mjs"), find: () => import("./BjHur-Y2v2kC9PV8.mjs"), tableNew: () => import("./CKgRE7End3PwfjDJ.mjs"), namedDetails: () => import("./BCgE2DMn9_S_eSSk.mjs"), resizeHeader: () => import("./CJHoW3AcW0bzWuGz.mjs") }[e4], t4);
2578
+ }, showOptions: m2, showInput: p2, showError: (t4) => {
2580
2579
  let o4, n3 = St.Error, a3 = "Unknown Error";
2581
2580
  "string" == typeof t4 ? a3 = t4 : t4 instanceof Error && (o4 = t4, t4.message && (a3 = t4.message)), t4 instanceof Yt && (n3 = St.Info), e3(a3, { type: n3, enqueueProps: { error: o4 } });
2582
2581
  } }, o3 = new At();
@@ -2635,7 +2634,7 @@ const nr = $(O((e2, t2) => {
2635
2634
  let p2 = null, u2 = 4, g2 = 13;
2636
2635
  return c2 ? p2 = "m 3.6261898,11.36243 c 0,0.88365 -0.71627,1.59991 -1.59991,1.59991 -0.8836498,0 -1.60004965,-0.71626 -1.60004965,-1.59991 0,-0.88365 0.71639985,-1.6000508 1.60004965,-1.6000508 0.88364,0 1.59991,0.7164008 1.59991,1.6000508 m 0,-4.881294 c 0,0.88364 -0.71627,1.60004 -1.59991,1.60004 -0.8836498,0 -1.60004965,-0.7164 -1.60004965,-1.60004 0,-0.88365 0.71639985,-1.60005 1.60004965,-1.60005 0.88364,0 1.59991,0.7164 1.59991,1.60005 m 0,-4.881226 c 0,0.88365 -0.71627,1.60005 -1.59991,1.60005 C 1.14263,3.19996 0.42623015,2.48356 0.42623015,1.59991 0.42623015,0.71626 1.14263,0 2.0262798,0 c 0.88364,0 1.59991,0.71626 1.59991,1.59991" : (p2 = "M 1.59991,3.62619 C 0.71626,3.62619 0,2.90992 0,2.02628 0,1.1426301 0.71626,0.42623015 1.59991,0.42623015 c 0.88365,0 1.6000508,0.71639995 1.6000508,1.60004985 0,0.88364 -0.7164008,1.59991 -1.6000508,1.59991 m 4.881294,0 c -0.88364,0 -1.60004,-0.71627 -1.60004,-1.59991 0,-0.8836499 0.7164,-1.60004985 1.60004,-1.60004985 0.88365,0 1.60005,0.71639995 1.60005,1.60004985 0,0.88364 -0.7164,1.59991 -1.60005,1.59991 m 4.881226,0 c -0.88365,0 -1.60005,-0.71627 -1.60005,-1.59991 0,-0.8836499 0.7164,-1.60004985 1.60005,-1.60004985 0.88365,0 1.59991,0.71639995 1.59991,1.60004985 0,0.88364 -0.71626,1.59991 -1.59991,1.59991", u2 = 13, g2 = 4), z(vt, { ref: Ut([m2, s2, t2]), className: a2, style: r2 ? { ...lr, ...r2 } : lr, ...l2, fixedPane: "after", position: "40%", minAfter: c2 ? "280px" : "120px", splitDirection: c2 ? "row" : "column", resizerProps: { className: "styled-resizer", style: { minWidth: c2 ? "6px" : void 0, minHeight: c2 ? void 0 : "6px", maskImage: `url("data:image/svg+xml,%3Csvg width='${u2}' height='${g2}' viewBox='0 0 ${u2} ${g2}' version='1.1' fill='${i2.palette.text.icon ?? i2.palette.action.active}' xmlns='http://www.w3.org/2000/svg' xmlns:svg='http://www.w3.org/2000/svg'%3E%3Cpath d='${p2}' /%3E%3C/svg%3E%0A")`, maskRepeat: "no-repeat", maskPosition: c2 ? "left center" : "top center" } }, elementBefore: o2, paneBeforeProps: { style: { flexDirection: "column", marginRight: n2 ? void 0 : "6px" } }, elementAfter: n2, paneAfterProps: { style: { marginLeft: c2 ? "0px" : "4px", marginRight: c2 ? "8px" : "4px" } } });
2637
2636
  }));
2638
- ir.displayName = "StudioSplitPane", Aa(), Rt.register("plugin-scripts", { icons: {} }), v.registerTaskPane({ key: "scriptEditor", getTitle: () => "Script (Typescript)", getIcon: () => "ScriptRun", renderTaskPane: Xn }, true);
2637
+ ir.displayName = "StudioSplitPane", Ea(), Rt.register("plugin-scripts", { icons: {} }), v.registerTaskPane({ key: "scriptEditor", getTitle: () => "Script (Typescript)", getIcon: () => "ScriptRun", renderTaskPane: Xn }, true);
2639
2638
  const sr = $(O((e2, t2) => {
2640
2639
  const { className: o2, sx: n2, style: a2, onElementLoad: r2, onError: l2, undoManager: i2, errorPanel: s2 = st, onKeyDown: d2, workbook: c2, createWorkbookOptions: m2, onWorkbookChange: p2, logo: u2, importExportDisabled: g2 = false, themeOptions: f2, autoFocus: x2 = false, commands: b2, title: y2, onTitleChange: w2, titleProps: k2, renderLoadingPanel: S2, ...C2 } = e2, v2 = q(null), T2 = gt(p2, [p2]), P2 = gt(w2 ?? k2?.onTitleChange, [w2 ?? k2?.onTitleChange]), D2 = k2?.placeHolder ?? "Untitled", M2 = f2?.mode, { themeMode: F2, source: N2 } = tt({ mode: M2 }), B2 = V(() => ({ ...f2, light: dt(false, _t.deepMerge(f2?.theme ?? {}, f2?.light ?? {})), dark: dt(true, _t.deepMerge(f2?.theme ?? {}, f2?.dark ?? {})) }), [f2]), E2 = F2 === ot.Dark, [A2, H2] = U(null);
2641
2640
  j(() => {
@@ -2691,7 +2690,7 @@ const sr = $(O((e2, t2) => {
2691
2690
  }, [X2]);
2692
2691
  const ie2 = q(null), se2 = K((e3) => {
2693
2692
  let t3 = null;
2694
- return k2?.hidden || (t3 = z(Na, { ...k2, style: { maxWidth: "100%", ...k2?.style }, workbook: v2.current, ref: ie2, title: ee2, placeHolder: D2, onTitleChange: (e4) => {
2693
+ return k2?.hidden || (t3 = z(Fa, { ...k2, style: { maxWidth: "100%", ...k2?.style }, workbook: v2.current, ref: ie2, title: ee2, placeHolder: D2, onTitleChange: (e4) => {
2695
2694
  te2(e4);
2696
2695
  } })), z(er, { ...e3, logo: u2, mainElement: t3, showFileMenu: !g2, showAppearanceMenu: !!(B2?.onEnabledDarkGridChange || B2?.onEnabledDarkImagesChange || B2?.onModeChange) });
2697
2696
  }, [u2, ee2, k2, B2, g2, ae2]);
@@ -2708,7 +2707,7 @@ const sr = $(O((e2, t2) => {
2708
2707
  if (!W2) return de2;
2709
2708
  if (W2.error || !W2.workbook) return ce2({ error: W2.error });
2710
2709
  let e3 = null, t3 = null, n3 = false;
2711
- return B2 && (e3 = E2 ? B2.dark : B2.light, t3 = E2 && B2.enableDarkGrid ? B2.dark : B2.light, n3 = B2.enableDarkImages), z(Ma, { sx: me2, style: a2, tabIndex: 0, autoFocus: true, workbook: W2.workbook, ref: fe2, renderToolbar: se2, onElementLoad: le2, onRepeatCommandChange: Y2, onKeyDown: (e4) => {
2710
+ return B2 && (e3 = E2 ? B2.dark : B2.light, t3 = E2 && B2.enableDarkGrid ? B2.dark : B2.light, n3 = B2.enableDarkImages), z(Da, { sx: me2, style: a2, tabIndex: 0, autoFocus: true, workbook: W2.workbook, ref: fe2, renderToolbar: se2, onElementLoad: le2, onRepeatCommandChange: Y2, onKeyDown: (e4) => {
2712
2711
  d2?.(e4);
2713
2712
  }, renderLoadingPanel: S2, gridTheme: t3, headersTheme: e3, enableDarkImages: n3, mainWrapper: he2, className: mt(o2), onContextMenu: (e4) => e4.preventDefault(), ...C2 }, "WorkbookElement");
2714
2713
  }, [W2, ee2, A2, de2, S2, B2, C2, se2, me2, he2]);
@@ -2722,7 +2721,7 @@ const sr = $(O((e2, t2) => {
2722
2721
  sr.displayName = "EagerStudio";
2723
2722
  const dr = Object.freeze(Object.defineProperty({ __proto__: null, EagerStudio: sr, default: sr }, Symbol.toStringTag, { value: "Module" }));
2724
2723
  export {
2725
- za as AppearanceCommandButton,
2724
+ Ha as AppearanceCommandButton,
2726
2725
  mo as AutoColorPosition,
2727
2726
  Mo as BorderCommandButton,
2728
2727
  Do as BorderPopupButton,
@@ -2739,7 +2738,7 @@ export {
2739
2738
  co as ColorPanelType,
2740
2739
  vo as ColorPopupButton,
2741
2740
  DefaultTaskPaneRegistry,
2742
- Ha as DocThemeCommandButton,
2741
+ La as DocThemeCommandButton,
2743
2742
  sr as EagerStudio,
2744
2743
  Ho as FillCommandButton,
2745
2744
  Rn as FilterColumnMenu,
@@ -2750,11 +2749,11 @@ export {
2750
2749
  Eo as FontSizeCommandButton,
2751
2750
  Tn as FormulaBar,
2752
2751
  No as FreezeCommandButton,
2753
- Wa as HelpCommandButton,
2752
+ za as HelpCommandButton,
2754
2753
  ro as HorizontalAlignCommandButton,
2755
2754
  Ka as InsertFunctionCommandPopupButton,
2756
2755
  $a as InsertFunctionSumCommandPopupButton,
2757
- ea as InsertImageCommandButton,
2756
+ Wa as InsertImageCommandButton,
2758
2757
  LicenseManager,
2759
2758
  Fo as MergeCommandButton,
2760
2759
  Cn as NamedCollectionEditor,
@@ -2762,7 +2761,7 @@ export {
2762
2761
  Io as NumberFormatCommandButton,
2763
2762
  Yo as PasteCommandButton,
2764
2763
  on as PresetCellStylesCommandButton,
2765
- La as PresetTableStylesCommandButton,
2764
+ Ia as PresetTableStylesCommandButton,
2766
2765
  fn as RangeInput,
2767
2766
  Dn as SheetTab,
2768
2767
  Mn as SheetTabMenu,
@@ -2772,9 +2771,9 @@ export {
2772
2771
  Sn as StatusBar,
2773
2772
  Ua as Studio,
2774
2773
  Ro as StyledStrokeIcon,
2775
- Ba as TableDetailsPanel,
2776
- Ea as TableDetailsTaskPane,
2777
- Aa as TablePlugin,
2774
+ Na as TableDetailsPanel,
2775
+ Ba as TableDetailsTaskPane,
2776
+ Ea as TablePlugin,
2778
2777
  sn as TableStyleCanvasPreview,
2779
2778
  mn as TableStyleOptionsPanel,
2780
2779
  rn as TableStylePreview,
@@ -2789,19 +2788,19 @@ export {
2789
2788
  lo as VerticalAlignCommandButton,
2790
2789
  Vo as ViewGridLinesCommandButton,
2791
2790
  Qo as ViewHeadingsCommandButton,
2792
- xa as WalkingCopyCommandButton,
2793
- fa as WorkbookContextMenu,
2794
- Ma as WorkbookElement,
2791
+ fa as WalkingCopyCommandButton,
2792
+ ha as WorkbookContextMenu,
2793
+ Da as WorkbookElement,
2795
2794
  Xa as WorkbookIO,
2796
- ha as WorkbookStrip,
2797
- Na as WorkbookTitle,
2795
+ ga as WorkbookStrip,
2796
+ Fa as WorkbookTitle,
2798
2797
  Jo as WorkbookViewCommandButton,
2799
2798
  qa as _WorkbookIO,
2800
2799
  Hn as createGridStyleFromMUITheme,
2801
2800
  Ua as default,
2802
- da as defaultNewWorkbook,
2801
+ sa as defaultNewWorkbook,
2803
2802
  In as setPrintExamplesOnLoad,
2804
2803
  useModelListener,
2805
2804
  useRangeListener,
2806
- sa as useWorkbookCommands
2805
+ ia as useWorkbookCommands
2807
2806
  };