@sheetxl/studio-mui 0.3.18 → 0.3.19
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.
- package/browser/cjs/{CYlWk3JZne2DVAvj.cjs → -Z_xfLHIzayq6e-C.cjs} +2 -2
- package/browser/cjs/{CMQnksVdFNTGCcuL.cjs → 5EMNCalBy5T7Qv40.cjs} +1 -1
- package/browser/cjs/{CTVwwijxWyTj1-To.cjs → B-i9az2r-j4BoodW.cjs} +1 -1
- package/browser/cjs/{Dt-_lF8cbqIQeFDT.cjs → B98cTi8NhLFwk-0Q.cjs} +2 -2
- package/browser/cjs/{tzUSfMyL4rscAPOw.cjs → BFe0zJbC0Wy4fqLf.cjs} +1 -1
- package/browser/cjs/{DtfIBBSWwGnFn5da.cjs → Bg1sVEitsy9Ktlo9.cjs} +1 -1
- package/browser/cjs/{BWJGFEIQCBdTEl6B.cjs → BsJ8nFqSJFJDsuan.cjs} +2 -2
- package/browser/cjs/{BkCmVm6sA_avib9h.cjs → BvCYlgtHsPgA_aNK.cjs} +2 -2
- package/browser/cjs/{CKF-dWfZku6ebHzj.cjs → ByHotNG2i_czKEr8.cjs} +2 -2
- package/browser/cjs/{AQdyOmNsNjlI3zZX.cjs → C-ElWpjJiAYCYYvU.cjs} +2 -2
- package/browser/cjs/{CJQdEaRRBvm3gCqh.cjs → C-oc8im_PZRCQOvZ.cjs} +1 -1
- package/browser/cjs/{Clxk_WuA_PRn6KW9.cjs → C645WCVpMGicXgBM.cjs} +1 -1
- package/browser/cjs/{ckZ4F6Ezl3aCnh5Z.cjs → CF_a0DpvEBsJCpgQ.cjs} +3 -3
- package/browser/cjs/CLJkEcejZPl006p2.cjs +87 -0
- package/browser/cjs/{2OSBl2r7IttrCdtA.cjs → COX8k8pyTOk8BoD-.cjs} +1 -1
- package/browser/cjs/{BNyVm7np2bfgLvot.cjs → CRV08682FzN5ew39.cjs} +3 -3
- package/browser/cjs/{B5eQzk5WyXy8IAA8.cjs → CTlLfk6a9CkzbQNt.cjs} +4 -4
- package/browser/cjs/{Dsf7iNkpZ-XRvkri.cjs → CUn6t8lfcG9cPH1h.cjs} +2 -2
- package/browser/cjs/{B1SUaFgnsimk42bG.cjs → D6E9xEe6tjbfqtEm.cjs} +2 -2
- package/browser/cjs/{BpriOx_ASGcmQgAv.cjs → D92iJHsZJX_wZ52_.cjs} +2 -2
- package/browser/cjs/{D6MmQYTV_-2r6TNA.cjs → DW0q0AyrJofzss0y.cjs} +4 -4
- package/browser/cjs/{BBB1d8xHkY7ltQWw.cjs → DggumD9iQqyO3FFa.cjs} +2 -2
- package/browser/cjs/{CvVjY72BJUTQvkkP.cjs → DkMBDN---q9jUa8V.cjs} +2 -2
- package/browser/cjs/{BLcValtf97N7iwR5.cjs → _dSiOxKU18SdUtnS.cjs} +1 -1
- package/browser/cjs/index.cjs +2 -2
- package/browser/cjs/{C6UymVKpB0f_aOz4.cjs → oyaxmxAEZ4VTVk_8.cjs} +1 -1
- package/browser/esm/{B9JJu0VnIIYWT5lt.mjs → 8JD53VBt79P-aa-S.mjs} +3 -3
- package/browser/esm/{dyvLjt-D32wPaGoj.mjs → B97bNoiD5vSlwEfq.mjs} +2 -2
- package/browser/esm/{wk6kyK0HvQWZcF9v.mjs → BB_9iof-6U8Cb15P.mjs} +6 -6
- package/browser/esm/{B-rFSfciMrAt40UW.mjs → BHegaWai1nWBR-L9.mjs} +1 -1
- package/browser/esm/{kag30q_f2OyzNEpu.mjs → BKhb4mVxGfN4CIjS.mjs} +1 -1
- package/browser/esm/{CHo7Pe-qLRr6D7Zb.mjs → BVzvMC6p5FNP8qK9.mjs} +12 -12
- package/browser/esm/{IW0FN0JJihUjmUhl.mjs → BbMrsjIGEkoLGak0.mjs} +2 -2
- package/browser/esm/{COZ6r5iZ8TyK00AP.mjs → Bi-5-fOHXnnsSVMH.mjs} +1 -1
- package/browser/esm/{DAABl4IjtZoiB_ZM.mjs → C4vC41vzQpD-qyMn.mjs} +2 -2
- package/browser/esm/{DWhxo1LUgYMKPIl6.mjs → C7UEqLxvuNIEbzcl.mjs} +8 -8
- package/browser/esm/{B_GtXHanCbWYSw3u.mjs → CJPeBWCN11PDgfKC.mjs} +1 -1
- package/browser/esm/{Bm90soyGjT9Iu1LC.mjs → CLRvr3EDwZwQGFld.mjs} +2 -2
- package/browser/esm/{DRnTwfoTxrtXBFC7.mjs → CTgZnJeqPNm0IneY.mjs} +1 -1
- package/browser/esm/{D85IfpCrfIBFDqe8.mjs → CUrgSndSnDCQKu6U.mjs} +2 -2
- package/browser/esm/{CvsYx4oxcqsUUtrr.mjs → CocO3lRUMqgv4AFJ.mjs} +1 -1
- package/browser/esm/{DivcgoJCzXwVgCcg.mjs → DLTm93l6QUeTWBtR.mjs} +12 -12
- package/browser/esm/{DOtIN-2juYEPtB8A.mjs → DNMEKvZSHupr35RK.mjs} +4 -4
- package/browser/esm/{D5U2mNtg-sHAxwUo.mjs → Dkm4CH9HTgLMuj1z.mjs} +1 -1
- package/browser/esm/{BQQcYbNIADI7dSX4.mjs → Dkqkg5OonmopX_av.mjs} +2 -2
- package/browser/esm/{DrGVTfUVlughL_d0.mjs → DsLBuFS0K1zRuAH4.mjs} +1 -1
- package/browser/esm/{Cbz-BdHkkb_IX1IO.mjs → Dsvtw0sJ8FRtGm5n.mjs} +3 -3
- package/browser/esm/{qnS7YH5ry4bwFwmH.mjs → WKwjqHXBabDyAtuT.mjs} +1 -1
- package/browser/esm/{BJiFVIVZgstircY0.mjs → g4yV8ILPtVwy8tG5.mjs} +9064 -8978
- package/browser/esm/index.mjs +16 -16
- package/browser/esm/{D7VfJjp49e_MDYZN.mjs → w-PhBfcFM6AZzwmU.mjs} +2 -2
- package/browser/esm/{CvzuJmImMn0DC78K.mjs → zHTatrVtfVuPg1ii.mjs} +40 -40
- package/licenses/dependencies.txt +6 -6
- package/node/esm/{DNg39nLT0gHqmPlz.mjs → BB6SV3cXsfTqodbb.mjs} +1 -1
- package/node/esm/{DwU05hEZ7gmV6D81.mjs → Bp-CJA_tLpQ7pT29.mjs} +2 -2
- package/node/esm/{D37x0J7Pp7Ovk7U6.mjs → C06YIVEYQuR5Vaft.mjs} +1 -1
- package/node/esm/{Bjq64rdekFLv2Pk6.mjs → CCl1udn2B2Ht6C3g.mjs} +10 -10
- package/node/esm/{DCqwwPMoosi5CmNI.mjs → Ck6HJccOiajom0p5.mjs} +27 -27
- package/node/esm/{Bt5SOQDsxPC-egr0.mjs → Cnz7_lvzqMqQs08b.mjs} +5 -5
- package/node/esm/{2eYi7rphLL5H13FB.mjs → CvIwaInnb5xT75rt.mjs} +1 -1
- package/node/esm/{qTHmpgXiWFDs-DpN.mjs → D1cFV6R_lGB3yi1w.mjs} +1 -1
- package/node/esm/{BKWvOu_IeRMuC8Xk.mjs → D2h4VPChcK5U-a0T.mjs} +2 -2
- package/node/esm/{BMwY3wpsb5LC-oha.mjs → D7jQWNfNldioygd-.mjs} +1 -1
- package/node/esm/{DET5hZx0KEr6Xvkf.mjs → DHqKiBp0YDn-rVWv.mjs} +2 -2
- package/node/esm/{SDYCTfAbHCT1NUVT.mjs → DTiWaGbGjtZCRAj0.mjs} +7 -7
- package/node/esm/{DZTAP_s1UBqFpZWn.mjs → DX4vRmhbc53oBNeg.mjs} +1 -1
- package/node/esm/{CfC4Y9itv3zxli6a.mjs → DbrD7HDgNfqUmzdP.mjs} +1 -1
- package/node/esm/{CkG4RfZYIEpgMYHF.mjs → DoRbSUaOrfZffDc4.mjs} +84 -84
- package/node/esm/{BTyx75rKO81NBrpD.mjs → RfwcTEhVvbPAxFAu.mjs} +2 -2
- package/node/esm/{CVcSQEeEQOVzGI-N.mjs → Xa5E_4nSt8LVXkNA.mjs} +1 -1
- package/node/esm/{C-K5UNI5JYn9db2u.mjs → Ya3wztkbwM47CwJy.mjs} +5 -5
- package/node/esm/{hYDFyrnl76Q8TbVg.mjs → acSFCnnB-d3FV6qe.mjs} +3 -3
- package/node/esm/{DyLBbEMRFc3oCumP.mjs → bozut2iu1gZ26NCH.mjs} +2 -2
- package/node/esm/index.mjs +3986 -3887
- package/node/esm/{CN_9EpYFfSahI0tk.mjs → lx40ksuj0iGDMKDe.mjs} +27 -27
- package/node/esm/{BwhDUQgAy49WUvzS.mjs → tcog-VptibIIj9kW.mjs} +4 -4
- package/node/esm/{DOyVcSa6UGUQpjJ8.mjs → uHvMtxBHa3ohbrOl.mjs} +12 -12
- package/package.json +8 -8
- package/browser/cjs/B50pi_DZlxL44FZa.cjs +0 -87
package/browser/cjs/index.cjs
CHANGED
|
@@ -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_ods65_1{display:block;margin:0;padding:0;line-height:normal}._sheetxl-reset_ods65_1 table,._sheetxl-reset_ods65_1 thead,._sheetxl-reset_ods65_1 tbody,._sheetxl-reset_ods65_1 tfoot,._sheetxl-reset_ods65_1 tr,._sheetxl-reset_ods65_1 th,._sheetxl-reset_ods65_1 td{display:block;width:auto;height:auto;margin:0;padding:0;border:none;border-collapse:inherit;border-spacing:0;border-color:inherit;vertical-align:inherit;text-align:left;font-weight:inherit;-webkit-border-horizontal-spacing:0;-webkit-border-vertical-spacing:0}._sheetxl-reset_ods65_1 th,._sheetxl-reset_ods65_1 td{display:inline}html{color:initial}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4{fill:currentColor}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .activeColor{fill:var(--sxl-color-active)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .background{fill:var(--sxl-app-color-background)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .grey{fill:var(--sxl-app-color-grey)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .highContrast{fill:var(--sxl-app-color-high)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .info{fill:var(--sxl-app-color-info)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .info.light{fill:var(--sxl-app-color-info-light)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .info.dark{fill:var(--sxl-app-color-info-dark)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .secondary{fill:var(--sxl-app-color-secondary)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .secondary.light{fill:var(--sxl-app-color-secondary-light)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .secondary.dark{fill:var(--sxl-app-color-secondary-dark)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .success{fill:var(--sxl-app-color-success)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .success.light{fill:var(--sxl-app-color-success-light)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .success.dark{fill:var(--sxl-app-color-success-dark)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .warning{fill:var(--sxl-app-color-warning)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .warning .light{fill:var(--sxl-app-color-warning-light)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .warning .dark{fill:var(--sxl-app-color-warning-dark)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .error{fill:var(--sxl-app-color-error)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .error .light{fill:var(--sxl-app-color-error-light)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .error .dark{fill:var(--sxl-app-color-error-dark)}._sheetxl-workbook_1j3lu_5{display:flex;position:relative;overflow:hidden;flex-direction:column;width:100%;height:100%;outline:none}._sheetxl-workbook_1j3lu_5 .splitPane .styled-resizer{background-color:var(--sxl-app-color-grey, grey)}._sheetxl-workbook_1j3lu_5 .splitPane .styled-resizer:hover,._sheetxl-workbook_1j3lu_5 .splitPane.dragging .styled-resizer{background-color:var(--sxl-app-color-primary, blue)}._card_1a398_7{width:100%}._actionRoot_1a398_11{padding:8px 8px 8px 16px;justify-content:space-between}._icons_1a398_16{margin-left:auto;display:flex;align-items:center}._expand_1a398_22{padding:8px;transform:rotate(0);color:#d32f2f;transition:all .2s ease-in-out}._expandOpen_1a398_29{transform:rotate(180deg)}._stackTraceContainer_1a398_33{padding:16px}._paper_1a398_37{background-color:#fff;padding:16px}._checkIcon_1a398_42{font-size:20px;padding-right:4px}._button_1a398_47{padding:0;text-transform:none}")),document.head.appendChild(e)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
|
|
2
2
|
"use strict";/**
|
|
3
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
3
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.19
|
|
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.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("@sheetxl/sdk"),o=require("./
|
|
7
|
+
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("@sheetxl/sdk"),o=require("./CLJkEcejZPl006p2.cjs");Object.defineProperty(exports,"LicenseManager",{enumerable:!0,get:()=>t.LicenseManager}),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.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.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.QuickFormulaSumCommandPopupButton=o.QuickFormulaSumCommandPopupButton,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.StandaloneWorkbook=o.StandaloneWorkbook,exports.StatusBar=o.StatusBar,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.ThemeMode=o.ThemeMode,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.defaultNewWorkbook=o.defaultNewWorkbook,exports.useResolvedThemeMode=o.useResolvedThemeMode,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.3.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.19
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Y } from "./
|
|
2
|
-
import { c as x, b as f, r as I, t as Z, a as A, p as D, d as tt } from "./
|
|
1
|
+
import { Y } from "./g4yV8ILPtVwy8tG5.mjs";
|
|
2
|
+
import { c as x, b as f, r as I, t as Z, a as A, p as D, d as tt } from "./BB_9iof-6U8Cb15P.mjs";
|
|
3
3
|
import { IFont as k, IAutoFilter as T, Sort as G, IRange as et, AddressUtils as W, IFill as C, IStyle as rt, ITextFrame as P, FormulaError as st, IBorder as V } from "@sheetxl/sdk";
|
|
4
4
|
/**
|
|
5
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
5
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.19
|
|
6
6
|
*
|
|
7
7
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
8
8
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import { memo as E, useMemo as M, useState as h, useCallback as j } from "react";
|
|
3
3
|
import { Box as S, FormControl as V, TextField as $ } from "@mui/material";
|
|
4
|
-
import { T as m, a1 as z, a5 as C } from "./
|
|
4
|
+
import { T as m, a1 as z, a5 as C } from "./g4yV8ILPtVwy8tG5.mjs";
|
|
5
5
|
import { alpha as O } from "@mui/system";
|
|
6
6
|
/**
|
|
7
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
7
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.19
|
|
8
8
|
*
|
|
9
9
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
10
10
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { NumberFormat as Ht, ScalarType as Ft, ResourceCollection as vs, Tuple as Ss, IAutoFilter as Zt, AddressUtils as at, CommonUtils as es, Theme as Cs, JSONStableStringify as ks, Workbook as As, IColor as Es, CoordUtils as De, IRange as Ds, OutOfBoundsError as Ps, FormulaError as Os } from "@sheetxl/sdk";
|
|
2
|
-
import { Y as cs } from "./
|
|
2
|
+
import { Y as cs } from "./g4yV8ILPtVwy8tG5.mjs";
|
|
3
3
|
/**
|
|
4
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
4
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.19
|
|
5
5
|
*
|
|
6
6
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
7
7
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -897,14 +897,14 @@ class Bt {
|
|
|
897
897
|
const Ks = (i, t, s) => {
|
|
898
898
|
if (i[0].value[0] === i[1].value[0]) return t;
|
|
899
899
|
}, ls = { colStart: 0, colEnd: 0, rowStart: 0, rowEnd: 0 }, ri = Object.freeze(Object.defineProperty({ __proto__: null, fromBufferXLSX: async (i, t) => {
|
|
900
|
-
const { password: s, onWarning: o, constructorOptions: n = {}, ...a } = t ?? {}, c = import("./
|
|
900
|
+
const { password: s, onWarning: o, constructorOptions: n = {}, ...a } = t ?? {}, c = import("./BKhb4mVxGfN4CIjS.mjs"), m = import("./8JD53VBt79P-aa-S.mjs");
|
|
901
901
|
let v = null;
|
|
902
902
|
try {
|
|
903
903
|
v = new DOMParser();
|
|
904
904
|
} catch {
|
|
905
905
|
}
|
|
906
906
|
let b = null;
|
|
907
|
-
v || (b = import("./
|
|
907
|
+
v || (b = import("./BHegaWai1nWBR-L9.mjs").then((u) => u.i));
|
|
908
908
|
let x = null, E = null, y = null;
|
|
909
909
|
try {
|
|
910
910
|
const u = await Promise.all([c, m, b]);
|
|
@@ -1311,7 +1311,7 @@ const Ks = (i, t, s) => {
|
|
|
1311
1311
|
}, W), _t = ns(R, ce), xt = await (async (V, U = 8388608) => {
|
|
1312
1312
|
await (async () => {
|
|
1313
1313
|
if (typeof ReadableStream > "u") if (typeof window > "u") {
|
|
1314
|
-
const { ReadableStream: Z } = await import("./
|
|
1314
|
+
const { ReadableStream: Z } = await import("./CTgZnJeqPNm0IneY.mjs");
|
|
1315
1315
|
global.ReadableStream = Z;
|
|
1316
1316
|
} else console.warn("Browser does not support ReadableStream; consider loading a polyfill.");
|
|
1317
1317
|
})();
|
|
@@ -1409,7 +1409,7 @@ const Ks = (i, t, s) => {
|
|
|
1409
1409
|
throw u instanceof Ps && (D = "Unable to open XLSX. There are too many rows or columns."), new Error(D, { cause: u });
|
|
1410
1410
|
}
|
|
1411
1411
|
}, toBufferXLSX: async (i, t) => {
|
|
1412
|
-
const s = await import("./
|
|
1412
|
+
const s = await import("./BKhb4mVxGfN4CIjS.mjs"), o = await i.toJSON(!0), n = s.utils.book_new();
|
|
1413
1413
|
for (let a = 0; a < o.sheets.length; a++) {
|
|
1414
1414
|
const c = o.sheets[a], m = s.utils.json_to_sheet([{}]);
|
|
1415
1415
|
s.utils.book_append_sheet(n, m, c.name);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.19
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.19
|
|
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,19 +1,19 @@
|
|
|
1
1
|
import { jsx as a, jsxs as s } from "react/jsx-runtime";
|
|
2
2
|
import { memo as O, useState as r, useRef as E, useReducer as M, useMemo as W } from "react";
|
|
3
3
|
import { DialogContent as A, Box as n } from "@mui/material";
|
|
4
|
-
import { af as k, j as V, ag as
|
|
4
|
+
import { af as k, j as V, ag as q, ah as G, T as x, a6 as J, ai as K, aj as Q, P as f, ak as U, al as X, v as y, x as b, y as w, am as S } from "./g4yV8ILPtVwy8tG5.mjs";
|
|
5
5
|
/**
|
|
6
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
6
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.19
|
|
7
7
|
*
|
|
8
8
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
9
9
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
10
10
|
*/
|
|
11
11
|
const ae = O((C) => {
|
|
12
|
-
const { title: N, onHide: v, autoFocusSel: R = ".range-input input", context: T, notifier: l = k, command: c, commands: d, ...D } = C, [F, g] = r(!1), [m, p] = r(!1), h = E(null), [
|
|
13
|
-
|
|
14
|
-
const o = T ?? c.context(), t = o.table(), [H,
|
|
15
|
-
|
|
16
|
-
|
|
12
|
+
const { title: N, onHide: v, autoFocusSel: R = ".range-input input", context: T, notifier: l = k, command: c, commands: d, ...D } = C, [F, g] = r(!1), [m, p] = r(!1), h = E(null), [Y, j] = M((e) => e + 1, 0), [B, { width: Z }] = V();
|
|
13
|
+
q(c);
|
|
14
|
+
const o = T ?? c.context(), t = o.table(), [H, P] = r(() => t ? o.getNames().getRanges(t.getRange()) : null), I = W(() => t?.getName() ?? "", [t]);
|
|
15
|
+
G(o.table(), { onAnchorCoordsChange(e) {
|
|
16
|
+
P(o.getNames().getRanges(e.getRange()));
|
|
17
17
|
}, onProtectedChange(e) {
|
|
18
18
|
j();
|
|
19
19
|
} });
|
|
@@ -23,15 +23,15 @@ const ae = O((C) => {
|
|
|
23
23
|
o?.table().resize(e.at(0));
|
|
24
24
|
}, [o]);
|
|
25
25
|
let u = null;
|
|
26
|
-
return o.table() || (u = a("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: a("div", { children: "No table selected" }) })), a(
|
|
26
|
+
return o.table() || (u = a("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: a("div", { children: "No table selected" }) })), a(J, { title: N ?? "Table Details", initialPosition: { y: "35" }, autoFocusSel: R, refWindow: h, onHide: v, onFocus: () => g(!0), onBlur: (e) => {
|
|
27
27
|
h?.current?.contains(e.relatedTarget) || g(!1);
|
|
28
|
-
}, PaperProps: { elevation: F ? 3 : 1 }, ...D, children: s(A, { dividers: !0, ref: B, 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: o.table() ? 1 : 0 }, children: [a(n, { sx: { display: "flex", flexDirection: "row", gap: (e) => e.spacing(1) }, children: a(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: [a(
|
|
28
|
+
}, PaperProps: { elevation: F ? 3 : 1 }, ...D, children: s(A, { dividers: !0, ref: B, 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: o.table() ? 1 : 0 }, children: [a(n, { sx: { display: "flex", flexDirection: "row", gap: (e) => e.spacing(1) }, children: a(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: [a(K, { formName: "name", defaultInput: I, value: t?.getName() ?? "No table", onChangeInput: z, onValidate: (e) => {
|
|
29
29
|
t && t.getName().toLowerCase() === e.toLowerCase() || o?.getNames().validateName(e);
|
|
30
30
|
}, disabled: t?.isProtected() ?? !0, onFocus: (e) => {
|
|
31
31
|
m || e.target?.select(), p(!0);
|
|
32
|
-
} }), a(
|
|
32
|
+
} }), a(Q, { formName: "range", value: H, onChangeInput: L, resolvedAddress: o.getNames().getRanges.bind(o.getNames()), disabled: t?.isProtected() ?? !0, onFocus: (e) => {
|
|
33
33
|
m || e.target?.select(), p(!0);
|
|
34
|
-
} })] }) }) }), s(n, { sx: { minHeight: "10px", flex: "1 1 100%", display: "flex", flexDirection: "column", gap: (e) => e.spacing(0.5), marginTop: (e) => e.spacing(1) }, children: [a(f, { orientation: "horizontal", sx: { marginTop: (e) => e.spacing(1.5), marginBottom: (e) => e.spacing(0.75) } }), a(
|
|
34
|
+
} })] }) }) }), s(n, { sx: { minHeight: "10px", flex: "1 1 100%", display: "flex", flexDirection: "column", gap: (e) => e.spacing(0.5), marginTop: (e) => e.spacing(1) }, children: [a(f, { orientation: "horizontal", sx: { marginTop: (e) => e.spacing(1.5), marginBottom: (e) => e.spacing(0.75) } }), a(U, { disabled: t?.isProtected(), styleOptions: t?.getStyleOptions() ?? null, onStyleOptionsChange: (e) => {
|
|
35
35
|
t.updateStyleOptions(e);
|
|
36
36
|
}, showHeaderRow: t?.getShowHeaders(), onShowHeaderRowChange: (e) => {
|
|
37
37
|
try {
|
|
@@ -51,7 +51,7 @@ const ae = O((C) => {
|
|
|
51
51
|
} catch (i) {
|
|
52
52
|
l.showError(i);
|
|
53
53
|
}
|
|
54
|
-
} }), a(n, { sx: { display: "flex", alignItems: "center", justifyContent: "center", flexDirection: "column", marginTop: (e) => e.spacing(2), marginBottom: (e) => e.spacing(1) }, children: a(
|
|
54
|
+
} }), a(n, { sx: { display: "flex", alignItems: "center", justifyContent: "center", flexDirection: "column", marginTop: (e) => e.spacing(2), marginBottom: (e) => e.spacing(1) }, children: a(X, { table: t, styles: o.styles(), bodyStyle: o.bodyStyle(), cellHeight: 30, isLive: !0 }) }), a(f, { orientation: "horizontal" }), s(n, { sx: { display: "flex", flexDirection: "column", justifyContent: "center" }, children: [a(y, { variant: w.Menuitem, command: d.getCommand("convertTableToRange"), commandState: t, icon: b(a(S, {})) }), a(y, { variant: w.Menuitem, commandState: t, command: d.getCommand("deleteTable"), icon: b(a(S, {})) })] })] })] }), u] }) });
|
|
55
55
|
});
|
|
56
56
|
export {
|
|
57
57
|
ae as TableDetailsWindow,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as o, jsxs as A } from "react/jsx-runtime";
|
|
2
2
|
import { memo as E, useMemo as F, useState as m, useCallback as O } from "react";
|
|
3
3
|
import { Box as S, FormControl as P, TextField as b } from "@mui/material";
|
|
4
|
-
import { T as f, a1 as U, a5 as l } from "./
|
|
4
|
+
import { T as f, a1 as U, a5 as l } from "./g4yV8ILPtVwy8tG5.mjs";
|
|
5
5
|
import { alpha as p } from "@mui/system";
|
|
6
6
|
/**
|
|
7
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
7
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.19
|
|
8
8
|
*
|
|
9
9
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
10
10
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as Oe from "react";
|
|
2
2
|
import { createElement as Er, forwardRef as la, useRef as fa, useImperativeHandle as pa, useEffect as da } from "react";
|
|
3
3
|
/**
|
|
4
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
4
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.19
|
|
5
5
|
*
|
|
6
6
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
7
7
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -2,9 +2,9 @@ import { jsx as n, jsxs as u } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState as v } from "react";
|
|
3
3
|
import { Box as O, FormControlLabel as a, Checkbox as s } from "@mui/material";
|
|
4
4
|
import { Sort as l, IRange as r } from "@sheetxl/sdk";
|
|
5
|
-
import { T as b, a1 as S } from "./
|
|
5
|
+
import { T as b, a1 as S } from "./g4yV8ILPtVwy8tG5.mjs";
|
|
6
6
|
/**
|
|
7
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
7
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.19
|
|
8
8
|
*
|
|
9
9
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
10
10
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -3,33 +3,33 @@ import { memo as ie, useRef as C, useState as b, useEffect as D, useLayoutEffect
|
|
|
3
3
|
import { DialogContent as de, Box as O, TextField as Y, InputAdornment as ue, Collapse as _, MenuItem as fe, FormControl as ge, InputLabel as me, Select as xe } from "@mui/material";
|
|
4
4
|
import { ArrowBack as he, ArrowUpward as Oe, ArrowForward as Ce, ArrowDownward as ye } from "@mui/icons-material";
|
|
5
5
|
import { ICell as c, IRange as R } from "@sheetxl/sdk";
|
|
6
|
-
import { T as W, a4 as be, j as Te, a6 as ve, a7 as m, x, a8 as Re,
|
|
6
|
+
import { T as W, a4 as be, j as Te, a6 as ve, a7 as m, x, a8 as Re, Z as y, a9 as ke, aa as we, ab as Ie, ac as Se, a5 as k, ad as Ee, ae as Fe, P as De } from "./g4yV8ILPtVwy8tG5.mjs";
|
|
7
7
|
import { alpha as w } from "@mui/system";
|
|
8
8
|
/**
|
|
9
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
9
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.19
|
|
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((I) => {
|
|
15
|
-
const { label: h, value: r, options: s, onSelect: d, tabIndex: T = 0, ...
|
|
15
|
+
const { label: h, value: r, options: s, onSelect: d, tabIndex: T = 0, ...P } = I, [A, v] = b(() => ne(r, s));
|
|
16
16
|
D(() => {
|
|
17
17
|
v(ne(r, s));
|
|
18
18
|
}, [r, s]);
|
|
19
19
|
const K = W((u) => {
|
|
20
20
|
v(u.target.value), d?.(s[u.target.value]);
|
|
21
21
|
}, [d, s]), l = pe(() => Object.keys(s).map((u) => i(fe, { value: u, children: u }, u)), [s]);
|
|
22
|
-
return p(ge, { sx: { minWidth: 135 }, size: "small", children: [i(me, { children: h }), i(xe, { inputProps: { tabIndex: T }, value:
|
|
22
|
+
return p(ge, { sx: { minWidth: 135 }, size: "small", children: [i(me, { children: h }), i(xe, { inputProps: { tabIndex: T }, value: A, label: h, onChange: K, sx: { backgroundImage: `linear-gradient(${w("#fff", k(5))}, ${w("#fff", k(5))})` }, ...P, children: l })] });
|
|
23
23
|
}), ee = { Workbook: "workbook", Sheet: "sheet" }, te = { enter: 140, exit: 140 }, oe = { Formulas: c.Content.Formulas, Values: c.Content.Values, Notes: c.Content.Notes, Comments: c.Content.Comments }, se = { ...oe };
|
|
24
24
|
delete se.Values;
|
|
25
|
-
const
|
|
25
|
+
const Pe = { "By Rows": !0, "By Columns": !1 }, ne = (I, h) => {
|
|
26
26
|
const r = Object.keys(h);
|
|
27
27
|
for (let s = 0; s < r.length; s++) {
|
|
28
28
|
const d = r[s];
|
|
29
29
|
if (h[d] === I) return d;
|
|
30
30
|
}
|
|
31
31
|
}, je = ie((I) => {
|
|
32
|
-
const { replace: h = !1, findText: r, replaceText: s, findOptions: d, replaceOptions: T, title:
|
|
32
|
+
const { replace: h = !1, findText: r, replaceText: s, findOptions: d, replaceOptions: T, title: P, onHide: A, onFindOrReplace: v, ...K } = I, l = C(null), u = C(null), j = C(null), V = C(null), N = C(null), H = C(null), z = (e, t) => {
|
|
33
33
|
t && (t.start(e, { center: !1 }), setTimeout(() => t.stop(e), 180));
|
|
34
34
|
}, [U, F] = b(!1), [M, le] = b(!1), [f, B] = b(h), [X, L] = b(!1), [G, Z] = b(!1), [o, a] = b({ findText: null, replaceText: null, replace: h, replaceOptions: {}, findOptions: { matchCase: !1, matchEntireCell: !1, useRegex: !1, orientation: R.Orientation.Row, fields: [c.Content.Formulas] }, scope: ee.Sheet }), S = W(async (e, t, n, E) => {
|
|
35
35
|
if (!v) return;
|
|
@@ -63,7 +63,7 @@ const Ae = { "By Rows": !0, "By Columns": !1 }, ne = (I, h) => {
|
|
|
63
63
|
}, { once: !0 });
|
|
64
64
|
}, [U, o]);
|
|
65
65
|
const [ae, { width: Q }] = Te();
|
|
66
|
-
return i(ve, { title:
|
|
66
|
+
return i(ve, { title: P ?? (f ? "Find & Replace" : "Find"), initialPosition: { y: "35" }, autoFocusSel: ".input", refWindow: J, onHide: A, onFocus: () => Z(!0), onBlur: () => {
|
|
67
67
|
Z(!1), L(!1);
|
|
68
68
|
}, PaperProps: { elevation: G ? 3 : 1 }, ...K, children: p(de, { dividers: !0, ref: ae, sx: { display: "flex", flexDirection: "column", paddingLeft: (e) => e.spacing(1.5), paddingRight: (e) => e.spacing(1.5) }, onKeyDown: (e) => {
|
|
69
69
|
if (e.key === "h" && e.ctrlKey) B(!0), l.current?.contains(document.activeElement) && u.current?.focus();
|
|
@@ -134,7 +134,7 @@ const Ae = { "By Rows": !0, "By Columns": !1 }, ne = (I, h) => {
|
|
|
134
134
|
const n = { ...t };
|
|
135
135
|
return n.scope = e, n;
|
|
136
136
|
});
|
|
137
|
-
} }), i($, { label: "Search", value: o.findOptions.orientation !== R.Orientation.Column, options:
|
|
137
|
+
} }), i($, { label: "Search", value: o.findOptions.orientation !== R.Orientation.Column, options: Pe, onSelect: (e) => {
|
|
138
138
|
a((t) => {
|
|
139
139
|
const n = { ...t };
|
|
140
140
|
return n.findOptions.orientation = e ? R.Orientation.Row : R.Orientation.Column, n;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.19
|
|
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,9 +1,9 @@
|
|
|
1
1
|
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 { Box as Ju } from "@mui/material";
|
|
4
|
-
import { g as mu, r as Qu, c as ve,
|
|
4
|
+
import { g as mu, r as Qu, c as ve, i as Zu, u as es, C as ts } from "./g4yV8ILPtVwy8tG5.mjs";
|
|
5
5
|
/**
|
|
6
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
6
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.19
|
|
7
7
|
*
|
|
8
8
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
9
9
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.19
|
|
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,9 +1,9 @@
|
|
|
1
1
|
import { jsx as o, jsxs as k } from "react/jsx-runtime";
|
|
2
2
|
import { memo as D, useState as i, useCallback as N } from "react";
|
|
3
3
|
import { Box as j, FormControlLabel as w, Checkbox as F } from "@mui/material";
|
|
4
|
-
import { T as v, a1 as y, aj as B } from "./
|
|
4
|
+
import { T as v, a1 as y, aj as B } from "./g4yV8ILPtVwy8tG5.mjs";
|
|
5
5
|
/**
|
|
6
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
6
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.19
|
|
7
7
|
*
|
|
8
8
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
9
9
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.19
|
|
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,28 +1,28 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import { memo as j, forwardRef as z, useState as p } from "react";
|
|
3
|
-
import {
|
|
4
|
-
import { Box as W, FormControl as
|
|
3
|
+
import { _ as t, a0 as E, a1 as K, a2 as R, a3 as O } from "./g4yV8ILPtVwy8tG5.mjs";
|
|
4
|
+
import { Box as W, FormControl as _, TextField as q } from "@mui/material";
|
|
5
5
|
import { alpha as y } from "@mui/system";
|
|
6
6
|
/**
|
|
7
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
7
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.19
|
|
8
8
|
*
|
|
9
9
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
10
10
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
11
11
|
*/
|
|
12
|
-
const
|
|
13
|
-
const { initialValue: F = "", onOption: T, onValidateOption: r, onInputOption: l, onValidateInputOption: s, onDone: u, inputProps: c, inputLabel: C, inputType: I, inputPlaceHolder: P, options: d =
|
|
12
|
+
const A = ["Input"], Z = j(z((w, G) => {
|
|
13
|
+
const { initialValue: F = "", onOption: T, onValidateOption: r, onInputOption: l, onValidateInputOption: s, onDone: u, inputProps: c, inputLabel: C, inputType: I, inputPlaceHolder: P, options: d = A, autoFocusSel: v = ".autoFocus", cancelOption: m, defaultOption: g = d?.[0], ...b } = w, [k, V] = p(!1), [o, B] = p(F), [D, S] = p(""), [H, L] = p(!0), e = t(async (a, n) => {
|
|
14
14
|
if (!s) return !0;
|
|
15
15
|
const h = await s?.(a, n);
|
|
16
16
|
S(h?.message ?? "");
|
|
17
17
|
const x = h?.valid ?? !0;
|
|
18
|
-
return
|
|
18
|
+
return L(x), x;
|
|
19
19
|
}, [s]), f = t(async (a) => {
|
|
20
20
|
l?.(o, a);
|
|
21
|
-
}, [o, l, u, T, m, g]),
|
|
21
|
+
}, [o, l, u, T, m, g]), M = t(async (a) => {
|
|
22
22
|
a.keyCode === E.Enter && await e?.(o, null);
|
|
23
|
-
}, [o, f]),
|
|
23
|
+
}, [o, f]), N = t((a) => {
|
|
24
24
|
B(a.target.value), e?.(a.target.value, null);
|
|
25
|
-
}, [r]),
|
|
25
|
+
}, [r]), $ = t(async (a) => {
|
|
26
26
|
let n = await e(o, a);
|
|
27
27
|
try {
|
|
28
28
|
n !== !1 && (n = await e(o, a));
|
|
@@ -32,12 +32,12 @@ const G = ["Input"], _ = j(z((w, J) => {
|
|
|
32
32
|
}, [o, r]);
|
|
33
33
|
return i(K, { options: d, onDone: u, onOption: (a, n) => {
|
|
34
34
|
n || f(a);
|
|
35
|
-
}, onValidateOption:
|
|
35
|
+
}, onValidateOption: $, cancelOption: m, defaultOption: g, autoFocusSel: v, ...b, children: i(W, { sx: { paddingTop: (a) => a.spacing(1), paddingBottom: (a) => a.spacing(0) }, children: i(_, { sx: { paddingTop: (a) => a.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: i(q, { onFocus: (a) => {
|
|
36
36
|
k || a.target?.select(), V(!0);
|
|
37
|
-
}, type: I, label: C, helperText: D || " ", sx: { width: "100%", "& .MuiFormHelperText-root": { marginTop: (a) => a.spacing(0.5), color:
|
|
37
|
+
}, type: I, label: C, helperText: D || " ", sx: { width: "100%", "& .MuiFormHelperText-root": { marginTop: (a) => a.spacing(0.5), color: H ? void 0 : "error.main" } }, InputLabelProps: { shrink: !0 }, InputProps: { inputProps: { placeholder: P, spellCheck: !1, autoComplete: "off", ...c, className: R("autoFocus", c?.className), sx: { paddingTop: (a) => a.spacing(1.25), paddingBottom: (a) => a.spacing(0.75), backgroundImage: `linear-gradient(${y("#fff", O(5))}, ${y("#fff", O(5))})` } } }, value: o, onChange: N, onKeyDown: M, onContextMenu: (a) => {
|
|
38
38
|
a.stopPropagation();
|
|
39
39
|
} }) }) }) });
|
|
40
40
|
}));
|
|
41
41
|
export {
|
|
42
|
-
|
|
42
|
+
Z as default
|
|
43
43
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsxs as Ee, jsx as W } from "react/jsx-runtime";
|
|
2
2
|
import { Box as ue, TextField as Qt, InputAdornment as eo, IconButton as to, FormControlLabel as oo, Checkbox as no, Typography as ro, TableCell as We, DialogContent as io } from "@mui/material";
|
|
3
|
-
import { an as lo, ao as He, ap as so, aq as ao, ar as co, as as uo, at as U, au as ho, Y as fo, a4 as St, a5 as de,
|
|
3
|
+
import { an as lo, ao as He, ap as so, aq as ao, ar as co, as as uo, at as U, au as ho, Y as fo, a4 as St, a5 as de, a as Se, av as po, a6 as mo } from "./g4yV8ILPtVwy8tG5.mjs";
|
|
4
4
|
import * as x from "react";
|
|
5
5
|
import yt, { cloneElement as go, useState as he, useMemo as vo, useEffect as De } from "react";
|
|
6
6
|
import { Close as _o } from "@mui/icons-material";
|
|
7
|
-
import { c as N } from "./
|
|
7
|
+
import { c as N } from "./zHTatrVtfVuPg1ii.mjs";
|
|
8
8
|
import So, { internal_serializeStyles as K, internal_mutateStyles as yo } from "@mui/styled-engine";
|
|
9
9
|
import { alpha as fe } from "@mui/system";
|
|
10
10
|
/**
|
|
11
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
11
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.19
|
|
12
12
|
*
|
|
13
13
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
14
14
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -2220,7 +2220,7 @@ function Yo(o) {
|
|
|
2220
2220
|
return g;
|
|
2221
2221
|
}, [n, e]), [s, c] = he(null);
|
|
2222
2222
|
De(() => {
|
|
2223
|
-
import("./
|
|
2223
|
+
import("./CocO3lRUMqgv4AFJ.mjs").then((h) => {
|
|
2224
2224
|
c(new h.default(a, { threshold: 0, ignoreLocation: !0, keys: ["label", "description"] }));
|
|
2225
2225
|
});
|
|
2226
2226
|
}, [a]);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Workbook as k } from "@sheetxl/sdk";
|
|
2
2
|
/**
|
|
3
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
3
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.19
|
|
4
4
|
*
|
|
5
5
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
6
6
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as d, jsxs as k } from "react/jsx-runtime";
|
|
2
2
|
import { memo as E, useMemo as V, useState as p, useCallback as h } from "react";
|
|
3
3
|
import { Box as L } from "@mui/material";
|
|
4
|
-
import { T as u, a1 as S, ai as A, aj as G } from "./
|
|
4
|
+
import { T as u, a1 as S, ai as A, aj as G } from "./g4yV8ILPtVwy8tG5.mjs";
|
|
5
5
|
/**
|
|
6
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
6
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.19
|
|
7
7
|
*
|
|
8
8
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
9
9
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import C, { memo as ne, useState as z, useRef as m, useCallback as re, useEffect as S } from "react";
|
|
2
2
|
/**
|
|
3
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
3
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.19
|
|
4
4
|
*
|
|
5
5
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
6
6
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { Workbook as y, IRange as C } from "@sheetxl/sdk";
|
|
2
2
|
/**
|
|
3
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
3
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.19
|
|
4
4
|
*
|
|
5
5
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
6
6
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
7
7
|
*/
|
|
8
8
|
const k = async (a, p) => {
|
|
9
|
-
const { trimLeadingBlankRow: i = !0, trimLeadingBlankColumn: u = !0, excludeHidden: h = !1, sheetKey: r = null, papaParseConfig: m = {} } = p || {}, f = await import("./
|
|
9
|
+
const { trimLeadingBlankRow: i = !0, trimLeadingBlankColumn: u = !0, excludeHidden: h = !1, sheetKey: r = null, papaParseConfig: m = {} } = p || {}, f = await import("./WKwjqHXBabDyAtuT.mjs").then((s) => s.p);
|
|
10
10
|
if (!a) throw new Error("workbook must be specified");
|
|
11
11
|
let t = null;
|
|
12
12
|
if (r === null ? t = a.getSelectedSheet() : typeof r == "number" ? t = a.getSheets().search()[r] : typeof r == "string" && (t = a.getSheets().getByName(r)), !t) throw new Error("invalid sheetKey specified");
|
|
@@ -27,7 +27,7 @@ const k = async (a, p) => {
|
|
|
27
27
|
const o = { ...m }, g = f.unparse(d, o);
|
|
28
28
|
return new TextEncoder().encode(g);
|
|
29
29
|
}, R = async (a, p) => {
|
|
30
|
-
const { papaParseConfig: i, setValuesOptions: u, constructorOptions: h } = p ?? {}, r = await import("./
|
|
30
|
+
const { papaParseConfig: i, setValuesOptions: u, constructorOptions: h } = p ?? {}, r = await import("./WKwjqHXBabDyAtuT.mjs").then((o) => o.p), m = new TextDecoder().decode(a);
|
|
31
31
|
let f = -1;
|
|
32
32
|
const t = new y(h), c = t.getSelectedSheet().getEntireRange().startIncrementalUpdates({ orientation: C.Orientation.Row }), d = p?.onProgress;
|
|
33
33
|
let e = 0;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.19
|
|
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.
|