@sheetxl/studio-mui 0.7.3 → 0.7.5

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 (45) hide show
  1. package/README.md +9 -5
  2. package/browser/cjs/{Ezgivppjg0YGYuvk.cjs → B4uj1Smd-98Hab_l.cjs} +2 -2
  3. package/browser/cjs/{CzhsFl-yeDRYp_Ya.cjs → BnpPHKTC6_96pDcW.cjs} +2 -2
  4. package/browser/cjs/{BNAv-1KD4Z-JBGmo.cjs → CHyGxDKCce-XV53l.cjs} +1 -1
  5. package/browser/cjs/{CZHpYokIrB9or1kO.cjs → CJQkIVFa7S1AZcBP.cjs} +1 -1
  6. package/browser/cjs/{Ba3EaCxs0-PYJOHF.cjs → CuHwOikK2J1MLsHN.cjs} +1 -1
  7. package/browser/cjs/{CF7gN1Im2OZf0fyo.cjs → D4c72fkCJiL-S_-a.cjs} +3 -3
  8. package/browser/cjs/{fI8eQSgm9DnQdoqc.cjs → D6pUyWwmIliDWT8B.cjs} +2 -2
  9. package/browser/cjs/F4v-BOmzUXzCO3uz.cjs +6 -0
  10. package/browser/cjs/{7yf1jDRYBQhJ0IgK.cjs → JURSrTjvLJ8bc4Yl.cjs} +2 -2
  11. package/browser/cjs/QQ4l7f6lYZb7S6td.cjs +20 -0
  12. package/browser/cjs/{Dd1ymyZnhRrMyk8W.cjs → Td2md8ruASYOp_Rr.cjs} +1 -1
  13. package/browser/cjs/index.cjs +2 -2
  14. package/browser/cjs/{BDBuN2H9gI8rbqch.cjs → jHU6TwhWd2lZX-VA.cjs} +1 -1
  15. package/browser/esm/{CbQfO8yuXsD7zfKt.mjs → B7CJX7fKvv1vBk8-.mjs} +2 -2
  16. package/browser/esm/{QHLyYFH_hFJn_CdF.mjs → BbfPde9B9b4p64_L.mjs} +2 -2
  17. package/browser/esm/{B4c9bY5iEhIRTeFI.mjs → BhP57_jo4NnvHBgF.mjs} +8 -6
  18. package/browser/esm/{C-WOTbexGZdqA0Cy.mjs → C48fXszXYqcJMQni.mjs} +1 -1
  19. package/browser/esm/CGVa4zFRRZyFzDvh.mjs +4489 -0
  20. package/browser/esm/{BMhsxJPTT2oY70z6.mjs → COI8Eg7HQcdPFGcZ.mjs} +1 -1
  21. package/browser/esm/{B3OGepFJek3nMUlQ.mjs → CajWEWsYWzynjFKw.mjs} +2 -2
  22. package/browser/esm/{C0QRYjn9bQqR1KnO.mjs → CkXFR3hHwNp6jfJV.mjs} +1 -1
  23. package/browser/esm/{BXTb14FHzlnPLAEW.mjs → CwAqw5gJ2yzuXbLx.mjs} +2 -2
  24. package/browser/esm/{UJcz7qfMj06BWj1Q.mjs → KULqIIHcvNriSu7F.mjs} +1 -1
  25. package/browser/esm/{D3NThHe3w_O4Ry0D.mjs → gpytxNaiTkBoZ6aj.mjs} +1 -1
  26. package/browser/esm/{CxbwDisnGiU8Bvfq.mjs → hWToTYtpa0PFzhRm.mjs} +3 -3
  27. package/browser/esm/index.mjs +2 -2
  28. package/licenses/dependencies.txt +139 -139
  29. package/node/esm/{CE_wDNQHtTFRFwNO.mjs → 8qD_FXFKXbOqF2_X.mjs} +1 -1
  30. package/node/esm/{e-hAbNYacz5nXfrX.mjs → BHFc6-pxJ_X3esj1.mjs} +1 -1
  31. package/node/esm/{GfnfhO-RSN3U1QDI.mjs → CuIak_iZn0ApypmT.mjs} +1 -1
  32. package/node/esm/{B01n_q5SspvjsTcc.mjs → DEnAvzkXoQEvscd-.mjs} +1 -1
  33. package/node/esm/{MlWMmDWfx1ohpoCK.mjs → DExsoaMD7hWNhceb.mjs} +1 -1
  34. package/node/esm/{CcEBSVCCtyGC6XWd.mjs → DH3yxwtQR5c61iv3.mjs} +1 -1
  35. package/node/esm/{D616RGpnOfCKxE7k.mjs → DKhoTrOwIfMtft9r.mjs} +1 -1
  36. package/node/esm/{BsnCGCG5NtyDT_bI.mjs → DQIYBoarjlonhEEn.mjs} +1 -1
  37. package/node/esm/DQKU8gdXpx4S0S0D.mjs +65 -0
  38. package/node/esm/{KhHu7gqlchpl2exi.mjs → NYFZEGBg9dFXwfFf.mjs} +1 -1
  39. package/node/esm/index.mjs +604 -604
  40. package/package.json +21 -9
  41. package/types/index.d.ts +4 -11
  42. package/browser/cjs/HhHqaDWuILzt1AKC.cjs +0 -20
  43. package/browser/cjs/MdZLRo_iiKExSIs7.cjs +0 -6
  44. package/browser/esm/DoO4MKoQT5HuPymy.mjs +0 -4489
  45. package/node/esm/B_ltyNSEkQayBgVo.mjs +0 -63
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.7.3
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.7.5
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,7 +1,7 @@
1
1
  (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode("._sheetxl-reset_11z3j_1{display:block;margin:0;padding:0;line-height:1}._sheetxl-reset_11z3j_1 table,._sheetxl-reset_11z3j_1 thead,._sheetxl-reset_11z3j_1 tbody,._sheetxl-reset_11z3j_1 tfoot,._sheetxl-reset_11z3j_1 tr,._sheetxl-reset_11z3j_1 th,._sheetxl-reset_11z3j_1 td{display:block;width:auto;height:auto;margin:0;padding:0;border:none;border-collapse:inherit;border-spacing:0;border-color:inherit;vertical-align:inherit;text-align:left;font-weight:inherit;-webkit-border-horizontal-spacing:0;-webkit-border-vertical-spacing:0}._sheetxl-reset_11z3j_1 th,._sheetxl-reset_11z3j_1 td{display:inline}html{color:initial}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4{fill:currentColor}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .activeColor{fill:var(--sxl-color-active)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .background{fill:var(--sxl-app-color-background)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .grey{fill:var(--sxl-app-color-grey)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .highContrast{fill:var(--sxl-app-color-high)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .info{fill:var(--sxl-app-color-info)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .info.light{fill:var(--sxl-app-color-info-light)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .info.dark{fill:var(--sxl-app-color-info-dark)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .secondary{fill:var(--sxl-app-color-secondary)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .secondary.light{fill:var(--sxl-app-color-secondary-light)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .secondary.dark{fill:var(--sxl-app-color-secondary-dark)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .success{fill:var(--sxl-app-color-success)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .success.light{fill:var(--sxl-app-color-success-light)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .success.dark{fill:var(--sxl-app-color-success-dark)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .warning{fill:var(--sxl-app-color-warning)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .warning .light{fill:var(--sxl-app-color-warning-light)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .warning .dark{fill:var(--sxl-app-color-warning-dark)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .error{fill:var(--sxl-app-color-error)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .error .light{fill:var(--sxl-app-color-error-light)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .error .dark{fill:var(--sxl-app-color-error-dark)}._sheetxl-workbook_g5t6x_5{display:flex;position:relative;overflow:hidden;flex-direction:column;width:100%;height:100%;min-width:0;min-height:0;outline:none}._sheetxl-workbook_g5t6x_5 .splitPane .styled-resizer{background-color:var(--sxl-app-color-grey, grey)}._sheetxl-workbook_g5t6x_5 .splitPane .styled-resizer:hover,._sheetxl-workbook_g5t6x_5 .splitPane.dragging .styled-resizer{background-color:var(--sxl-app-color-primary, blue)}._card_1a398_7{width:100%}._actionRoot_1a398_11{padding:8px 8px 8px 16px;justify-content:space-between}._icons_1a398_16{margin-left:auto;display:flex;align-items:center}._expand_1a398_22{padding:8px;transform:rotate(0);color:#d32f2f;transition:all .2s ease-in-out}._expandOpen_1a398_29{transform:rotate(180deg)}._stackTraceContainer_1a398_33{padding:16px}._paper_1a398_37{background-color:#fff;padding:16px}._checkIcon_1a398_42{font-size:20px;padding-right:4px}._button_1a398_47{padding:0;text-transform:none}")),document.head.appendChild(e)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
2
2
  "use strict";/**
3
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.7.3
3
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.7.5
4
4
  *
5
5
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
6
6
  * License: The license can be found at https://www.sheetxl.com/license.
7
- */Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("@sheetxl/sdk"),t=require("@sheetxl/react"),o=require("./HhHqaDWuILzt1AKC.cjs");Object.defineProperty(exports,"LicenseManager",{enumerable:!0,get:()=>e.LicenseManager}),Object.defineProperty(exports,"useModelListener",{enumerable:!0,get:()=>t.useModelListener}),Object.defineProperty(exports,"useRangeListener",{enumerable:!0,get:()=>t.useRangeListener}),exports.AppearanceCommandButton=o.AppearanceCommandButton,exports.AutoColorPosition=o.AutoColorPosition,exports.BorderCommandButton=o.BorderCommandButton,exports.BorderPopupButton=o.BorderPopupButton,exports.BorderStyleButton=o.BorderStyleButton,exports.ClearCommandButton=o.ClearCommandButton,exports.ColorButton=o.ColorButton,exports.ColorCommandButton=o.ColorCommandButton,exports.ColorPanel=o.ColorPanel,exports.ColorPanelType=o.ColorPanelType,exports.ColorPopupButton=o.ColorPopupButton,exports.DeleteCellsCommandButton=o.DeleteCellsCommandButton,exports.DocThemeCommandButton=o.DocThemeCommandButton,exports.EagerStudio=o.EagerStudio,exports.FillCommandButton=o.FillCommandButton,exports.FilterColumnMenu=o.FilterColumnMenu,exports.FilterCommandButton=o.FilterCommandButton,exports.Filters=o.Filters,exports.FindCommandButton=o.FindCommandButton,exports.FontFamilyCommandButton=o.FontFamilyCommandButton,exports.FontSizeCommandButton=o.FontSizeCommandButton,exports.FormulaBar=o.FormulaBar,exports.FreezeCommandButton=o.FreezeCommandButton,exports.HelpCommandButton=o.HelpCommandButton,exports.HorizontalAlignCommandButton=o.HorizontalAlignCommandButton,exports.InsertCellsCommandButton=o.InsertCellsCommandButton,exports.InsertFunctionCommandPopupButton=o.InsertFunctionCommandPopupButton,exports.InsertFunctionSumCommandPopupButton=o.InsertFunctionSumCommandPopupButton,exports.InsertImageCommandButton=o.InsertImageCommandButton,exports.InsertScriptCommandButton=o.InsertScriptCommandButton,exports.MergeCommandButton=o.MergeCommandButton,exports.NamedCollectionEditor=o.NamedCollectionEditor,exports.NamedInput=o.NamedInput,exports.NumberFormatCommandButton=o.NumberFormatCommandButton,exports.PasteCommandButton=o.PasteCommandButton,exports.PresetCellStylesCommandButton=o.PresetCellStylesCommandButton,exports.PresetTableStylesCommandButton=o.PresetTableStylesCommandButton,exports.RangeInput=o.RangeInput,exports.RunScriptCommandButton=o.RunScriptCommandButton,exports.ScriptEditorToolbar=o.ScriptEditorToolbar,exports.ScriptWorkspace=o.ScriptWorkspace,exports.SheetTab=o.SheetTab,exports.SheetTabMenu=o.SheetTabMenu,exports.SheetZoomScale=o.SheetZoomScale,exports.SheetsAllMenu=o.SheetsAllMenu,exports.SortFilterCommandButton=o.SortFilterCommandButton,exports.StatusBar=o.StatusBar,exports.Studio=o.Studio,exports.StyledStrokeIcon=o.StyledStrokeIcon,exports.TableStyleCanvasPreview=o.TableStyleCanvasPreview,exports.TableStyleOptionsPanel=o.TableStyleOptionsPanel,exports.TableStylePreview=o.TableStylePreview,exports.TextEffectsCommandButton=o.TextEffectsCommandButton,exports.TextOverflowCommandButton=o.TextOverflowCommandButton,exports.TextRotateCommandButton=o.TextRotateCommandButton,exports.ThemeSelectButton=o.ThemeSelectButton,exports.ThemeSelectPanel=o.ThemeSelectPanel,exports.ThemeSelectPopupButton=o.ThemeSelectPopupButton,exports.UnderlineCommandButton=o.UnderlineCommandButton,exports.UndoRedoCommandButton=o.UndoRedoCommandButton,exports.VerticalAlignCommandButton=o.VerticalAlignCommandButton,exports.ViewGridLinesCommandButton=o.ViewGridLinesCommandButton,exports.ViewHeadingsCommandButton=o.ViewHeadingsCommandButton,exports.WalkingCopyCommandButton=o.WalkingCopyCommandButton,exports.WorkbookContextMenu=o.WorkbookContextMenu,exports.WorkbookElement=o.WorkbookElement,exports.WorkbookIO=o.WorkbookIO,exports.WorkbookStrip=o.WorkbookStrip,exports.WorkbookTitle=o.WorkbookTitle,exports.WorkbookViewCommandButton=o.WorkbookViewCommandButton,exports._WorkbookIO=o._WorkbookIO,exports.createGridStyleFromMUITheme=o.createGridStyleFromMUITheme,exports.default=o.Studio,exports.defaultNewWorkbook=o.defaultNewWorkbook,exports.setPrintExamplesOnLoad=o.setPrintExamplesOnLoad,exports.useWorkbookCommands=o.useWorkbookCommands;
7
+ */Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("@sheetxl/sdk"),t=require("@sheetxl/react"),o=require("./QQ4l7f6lYZb7S6td.cjs");Object.defineProperty(exports,"LicenseManager",{enumerable:!0,get:()=>e.LicenseManager}),Object.defineProperty(exports,"useModelListener",{enumerable:!0,get:()=>t.useModelListener}),Object.defineProperty(exports,"useRangeListener",{enumerable:!0,get:()=>t.useRangeListener}),exports.AppearanceCommandButton=o.AppearanceCommandButton,exports.AutoColorPosition=o.AutoColorPosition,exports.BorderCommandButton=o.BorderCommandButton,exports.BorderPopupButton=o.BorderPopupButton,exports.BorderStyleButton=o.BorderStyleButton,exports.ClearCommandButton=o.ClearCommandButton,exports.ColorButton=o.ColorButton,exports.ColorCommandButton=o.ColorCommandButton,exports.ColorPanel=o.ColorPanel,exports.ColorPanelType=o.ColorPanelType,exports.ColorPopupButton=o.ColorPopupButton,exports.DeleteCellsCommandButton=o.DeleteCellsCommandButton,exports.DocThemeCommandButton=o.DocThemeCommandButton,exports.EagerStudio=o.EagerStudio,exports.FillCommandButton=o.FillCommandButton,exports.FilterColumnMenu=o.FilterColumnMenu,exports.FilterCommandButton=o.FilterCommandButton,exports.Filters=o.Filters,exports.FindCommandButton=o.FindCommandButton,exports.FontFamilyCommandButton=o.FontFamilyCommandButton,exports.FontSizeCommandButton=o.FontSizeCommandButton,exports.FormulaBar=o.FormulaBar,exports.FreezeCommandButton=o.FreezeCommandButton,exports.HelpCommandButton=o.HelpCommandButton,exports.HorizontalAlignCommandButton=o.HorizontalAlignCommandButton,exports.InsertCellsCommandButton=o.InsertCellsCommandButton,exports.InsertFunctionCommandPopupButton=o.InsertFunctionCommandPopupButton,exports.InsertFunctionSumCommandPopupButton=o.InsertFunctionSumCommandPopupButton,exports.InsertImageCommandButton=o.InsertImageCommandButton,exports.InsertScriptCommandButton=o.InsertScriptCommandButton,exports.MergeCommandButton=o.MergeCommandButton,exports.NamedCollectionEditor=o.NamedCollectionEditor,exports.NamedInput=o.NamedInput,exports.NumberFormatCommandButton=o.NumberFormatCommandButton,exports.PasteCommandButton=o.PasteCommandButton,exports.PresetCellStylesCommandButton=o.PresetCellStylesCommandButton,exports.PresetTableStylesCommandButton=o.PresetTableStylesCommandButton,exports.RangeInput=o.RangeInput,exports.RunScriptCommandButton=o.RunScriptCommandButton,exports.ScriptEditorToolbar=o.ScriptEditorToolbar,exports.ScriptWorkspace=o.ScriptWorkspace,exports.SheetTab=o.SheetTab,exports.SheetTabMenu=o.SheetTabMenu,exports.SheetZoomScale=o.SheetZoomScale,exports.SheetsAllMenu=o.SheetsAllMenu,exports.SortFilterCommandButton=o.SortFilterCommandButton,exports.StatusBar=o.StatusBar,exports.Studio=o.Studio,exports.StyledStrokeIcon=o.StyledStrokeIcon,exports.TableStyleCanvasPreview=o.TableStyleCanvasPreview,exports.TableStyleOptionsPanel=o.TableStyleOptionsPanel,exports.TableStylePreview=o.TableStylePreview,exports.TextEffectsCommandButton=o.TextEffectsCommandButton,exports.TextOverflowCommandButton=o.TextOverflowCommandButton,exports.TextRotateCommandButton=o.TextRotateCommandButton,exports.ThemeSelectButton=o.ThemeSelectButton,exports.ThemeSelectPanel=o.ThemeSelectPanel,exports.ThemeSelectPopupButton=o.ThemeSelectPopupButton,exports.UnderlineCommandButton=o.UnderlineCommandButton,exports.UndoRedoCommandButton=o.UndoRedoCommandButton,exports.VerticalAlignCommandButton=o.VerticalAlignCommandButton,exports.ViewGridLinesCommandButton=o.ViewGridLinesCommandButton,exports.ViewHeadingsCommandButton=o.ViewHeadingsCommandButton,exports.WalkingCopyCommandButton=o.WalkingCopyCommandButton,exports.WorkbookContextMenu=o.WorkbookContextMenu,exports.WorkbookElement=o.WorkbookElement,exports.WorkbookIO=o.WorkbookIO,exports.WorkbookStrip=o.WorkbookStrip,exports.WorkbookTitle=o.WorkbookTitle,exports.WorkbookViewCommandButton=o.WorkbookViewCommandButton,exports._WorkbookIO=o._WorkbookIO,exports.createGridStyleFromMUITheme=o.createGridStyleFromMUITheme,exports.default=o.Studio,exports.defaultNewWorkbook=o.defaultNewWorkbook,exports.setPrintExamplesOnLoad=o.setPrintExamplesOnLoad,exports.useWorkbookCommands=o.useWorkbookCommands;
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.7.3
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.7.5
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.
@@ -3,9 +3,9 @@ import { memo as N, useState as i, useCallback as T } from "react";
3
3
  import { Box as w, FormControlLabel as F, Checkbox as j } from "@mui/material";
4
4
  import { useCallbackRef as v } from "@sheetxl/utils-react";
5
5
  import { OptionsDialog as y } from "@sheetxl/utils-mui";
6
- import { R } from "./DoO4MKoQT5HuPymy.mjs";
6
+ import { R } from "./CGVa4zFRRZyFzDvh.mjs";
7
7
  /**
8
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.7.3
8
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.7.5
9
9
  *
10
10
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
11
11
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -2,10 +2,10 @@ import { jsxs as ie, jsx as U } from "react/jsx-runtime";
2
2
  import O, { isValidElement as qu, PureComponent as pe, Component as de, memo as Ku, useState as ft, useCallback as ct, useLayoutEffect as Gu } from "react";
3
3
  import { useTheme as Ju } from "@mui/material/styles";
4
4
  import { Box as Qu } from "@mui/material";
5
- import { g as mu, r as Zu, c as ve, C as es } from "./DoO4MKoQT5HuPymy.mjs";
5
+ import { g as mu, r as Zu, c as ve, C as es } from "./CGVa4zFRRZyFzDvh.mjs";
6
6
  import { ReactUtils as ts } from "@sheetxl/utils-react";
7
7
  /**
8
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.7.3
8
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.7.5
9
9
  *
10
10
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
11
11
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,19 +1,19 @@
1
1
  import { jsx as o, jsxs as s } from "react/jsx-runtime";
2
2
  import { memo as E, useState as r, useRef as M, useReducer as O, useMemo as W } from "react";
3
3
  import { DialogContent as A, Box as n } from "@mui/material";
4
- import { DefaultNotifier as k, useCommand as V, useCallbackRef as f, CommandButtonType as x } from "@sheetxl/utils-react";
4
+ import { useCommand as k, useCallbackRef as f, useNotifier as V, CommandButtonType as x } from "@sheetxl/utils-react";
5
5
  import { InternalWindow as q, ExhibitDivider as y, CommandButton as b, themeIcon as w, InsertTableIcon as C } from "@sheetxl/utils-mui";
6
6
  import { useModelListener as G } from "@sheetxl/react";
7
- import { u as J, N as K, R as Q, T as U, a as X } from "./DoO4MKoQT5HuPymy.mjs";
7
+ import { u as J, N as K, R as Q, T as U, a as X } from "./CGVa4zFRRZyFzDvh.mjs";
8
8
  /**
9
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.7.3
9
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.7.5
10
10
  *
11
11
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
12
12
  * License: The license can be found at https://www.sheetxl.com/license.
13
13
  */
14
14
  const ie = E((S) => {
15
- const { title: N, onHide: R, autoFocusSel: T = ".range-input input", context: v, notifier: l = k, command: c, commands: d, ...D } = S, [I, m] = r(!1), [g, p] = r(!1), u = M(null), [Y, B] = O((e) => e + 1, 0), [F, { width: Z }] = J();
16
- V(c);
15
+ const { title: N, onHide: R, autoFocusSel: T = ".range-input input", context: v, command: c, commands: d, ...D } = S, [I, m] = r(!1), [g, p] = r(!1), u = M(null), [Y, B] = O((e) => e + 1, 0), [F, { width: Z }] = J();
16
+ k(c);
17
17
  const a = v ?? c.context(), t = a.table(), [H, P] = r(() => t ? a.getNames().getRanges(t.getRange()) : null), j = W(() => t?.getName() ?? "", [t]);
18
18
  G(a.table(), { onAnchorCoordsChange(e) {
19
19
  P(a.getNames().getRanges(e.getRange()));
@@ -26,7 +26,9 @@ const ie = E((S) => {
26
26
  a?.table().resize(e.at(0));
27
27
  }, [a]);
28
28
  let h = null;
29
- return a.table() || (h = o("div", { style: { position: "absolute", top: "0", left: "0", width: "100%", height: "100%", opacity: 1, display: "flex", alignItems: "center", justifyItems: "center", justifyContent: "center", boxSizing: "border-box" }, children: o("div", { children: "No table selected" }) })), o(q, { ref: u, title: N ?? "Table Details", initialPosition: { y: "35" }, autoFocusSel: T, onHide: R, onFocus: () => m(!0), onBlur: (e) => {
29
+ a.table() || (h = o("div", { style: { position: "absolute", top: "0", left: "0", width: "100%", height: "100%", opacity: 1, display: "flex", alignItems: "center", justifyItems: "center", justifyContent: "center", boxSizing: "border-box" }, children: o("div", { children: "No table selected" }) }));
30
+ const l = V();
31
+ return o(q, { ref: u, title: N ?? "Table Details", initialPosition: { y: "35" }, autoFocusSel: T, onHide: R, onFocus: () => m(!0), onBlur: (e) => {
30
32
  u?.current?.contains(e.relatedTarget) || m(!1);
31
33
  }, PaperProps: { elevation: I ? 3 : 1 }, ...D, children: s(A, { dividers: !0, ref: F, sx: { display: "flex", flexDirection: "column", position: "relative", paddingLeft: (e) => e.spacing(1.5), paddingRight: (e) => e.spacing(1.5) }, children: [s(n, { sx: { display: "flex", flexDirection: "column", transition: "opacity 60ms", opacity: a.table() ? 1 : 0 }, children: [o(n, { sx: { display: "flex", flexDirection: "row", gap: (e) => e.spacing(1) }, children: o(n, { sx: { display: "flex", flexDirection: "column", maxWidth: "100%", boxSizing: "border-box", paddingLeft: (e) => e.spacing(2), paddingRight: (e) => e.spacing(2) }, children: s(n, { sx: { display: "flex", flexDirection: "column", alignItems: "center" }, children: [o(K, { formName: "name", defaultInput: j, value: t?.getName() ?? "No table", onChangeInput: L, onValidate: (e) => {
32
34
  t && t.getName().toLowerCase() === e.toLowerCase() || a?.getNames().validateName(e);
@@ -6,7 +6,7 @@ import { NumberFormat as n } from "@sheetxl/sdk";
6
6
  import { useCallbackRef as c, KeyCodes as Q } from "@sheetxl/utils-react";
7
7
  import { OptionsDialog as U } from "@sheetxl/utils-mui";
8
8
  /**
9
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.7.3
9
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.7.5
10
10
  *
11
11
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
12
12
  * License: The license can be found at https://www.sheetxl.com/license.