@sheetxl/studio-mui 0.3.17 → 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/{DwDxn-CNljZzVT1A.cjs → -Z_xfLHIzayq6e-C.cjs} +2 -2
- package/browser/cjs/{LuveH2FlUiHGFdEo.cjs → 5EMNCalBy5T7Qv40.cjs} +1 -1
- package/browser/cjs/{tRDmcs5sNqgwsPcc.cjs → B-i9az2r-j4BoodW.cjs} +1 -1
- package/browser/cjs/{CpjgyIT06xS_g-RI.cjs → B98cTi8NhLFwk-0Q.cjs} +2 -2
- package/browser/cjs/{Dy6OQFVhwFO_v_rL.cjs → BFe0zJbC0Wy4fqLf.cjs} +1 -1
- package/browser/cjs/{vgm3myHD1SVA4Oal.cjs → Bg1sVEitsy9Ktlo9.cjs} +1 -1
- package/browser/cjs/{D-0gYov1wyCtp4ZX.cjs → BsJ8nFqSJFJDsuan.cjs} +2 -2
- package/browser/cjs/{Dk3opGiX0kIIcJN4.cjs → BvCYlgtHsPgA_aNK.cjs} +2 -2
- package/browser/cjs/{CIHCV7NTmzi3k8gl.cjs → ByHotNG2i_czKEr8.cjs} +2 -2
- package/browser/cjs/{D9zHP8uxvUVS8Gid.cjs → C-ElWpjJiAYCYYvU.cjs} +2 -2
- package/browser/cjs/{DXSp4lOLFHBJmXwL.cjs → C-oc8im_PZRCQOvZ.cjs} +1 -1
- package/browser/cjs/{_mKLoeTMKAtAbWoZ.cjs → C645WCVpMGicXgBM.cjs} +1 -1
- package/browser/cjs/{CKUzVyrC7_Eq3M5O.cjs → CF_a0DpvEBsJCpgQ.cjs} +3 -3
- package/browser/cjs/CLJkEcejZPl006p2.cjs +87 -0
- package/browser/cjs/{XyTji7yypa56X6GA.cjs → COX8k8pyTOk8BoD-.cjs} +1 -1
- package/browser/cjs/{BgSiicbcautP-dJN.cjs → CRV08682FzN5ew39.cjs} +3 -3
- package/browser/cjs/{C08ng5ahasoyzwZg.cjs → CTlLfk6a9CkzbQNt.cjs} +4 -4
- package/browser/cjs/{DdBweIBk4jEt5Tue.cjs → CUn6t8lfcG9cPH1h.cjs} +2 -2
- package/browser/cjs/{DLxWeoRObtw9vhq0.cjs → D6E9xEe6tjbfqtEm.cjs} +2 -2
- package/browser/cjs/{DFFgZqn8T517K-D8.cjs → D92iJHsZJX_wZ52_.cjs} +2 -2
- package/browser/cjs/{Tfh1HV0EKshDqS7E.cjs → DW0q0AyrJofzss0y.cjs} +4 -4
- package/browser/cjs/{DIxETliPSfTmAXr4.cjs → DggumD9iQqyO3FFa.cjs} +2 -2
- package/browser/cjs/{D1evviVgpMSnh_ps.cjs → DkMBDN---q9jUa8V.cjs} +2 -2
- package/browser/cjs/{DFngnyWyXGuxhIPZ.cjs → _dSiOxKU18SdUtnS.cjs} +1 -1
- package/browser/cjs/index.cjs +2 -2
- package/browser/cjs/{Nw__gRJX4sl4Tt7R.cjs → oyaxmxAEZ4VTVk_8.cjs} +1 -1
- package/browser/esm/{C3hl8685OyiU8zAf.mjs → 8JD53VBt79P-aa-S.mjs} +3 -3
- package/browser/esm/{C8fEUlANNzawC6Xc.mjs → B97bNoiD5vSlwEfq.mjs} +2 -2
- package/browser/esm/{n1kGJdvXBEjFxVrb.mjs → BB_9iof-6U8Cb15P.mjs} +6 -6
- package/browser/esm/{BLZ3EOMzZsWJC5S0.mjs → BHegaWai1nWBR-L9.mjs} +1 -1
- package/browser/esm/{n4POnl7MgS65q2ii.mjs → BKhb4mVxGfN4CIjS.mjs} +1 -1
- package/browser/esm/{Bmj8uXB3KL06M3vv.mjs → BVzvMC6p5FNP8qK9.mjs} +12 -12
- package/browser/esm/{Bb3_PsjetSKWrSf4.mjs → BbMrsjIGEkoLGak0.mjs} +2 -2
- package/browser/esm/{DS3c6eeicscsjbs7.mjs → Bi-5-fOHXnnsSVMH.mjs} +1 -1
- package/browser/esm/{B1xyEbeBWMDrAkzW.mjs → C4vC41vzQpD-qyMn.mjs} +2 -2
- package/browser/esm/{DG3efN-bUDufTTcd.mjs → C7UEqLxvuNIEbzcl.mjs} +8 -8
- package/browser/esm/{DNvhZrp6zzno9ElX.mjs → CJPeBWCN11PDgfKC.mjs} +1 -1
- package/browser/esm/{3Eldf7LDx05FkHEG.mjs → CLRvr3EDwZwQGFld.mjs} +2 -2
- package/browser/esm/{DzdpqKiOgiu_ZQX-.mjs → CTgZnJeqPNm0IneY.mjs} +1 -1
- package/browser/esm/{CZo42wxuAl9vQtuk.mjs → CUrgSndSnDCQKu6U.mjs} +2 -2
- package/browser/esm/{Bpmx44QjgJMzXvvV.mjs → CocO3lRUMqgv4AFJ.mjs} +1 -1
- package/browser/esm/{Cgjq8GJx8h_-7jJX.mjs → DLTm93l6QUeTWBtR.mjs} +12 -12
- package/browser/esm/{CPqpIblMYT0gACih.mjs → DNMEKvZSHupr35RK.mjs} +4 -4
- package/browser/esm/{baV4rsxFxEXHit-d.mjs → Dkm4CH9HTgLMuj1z.mjs} +1 -1
- package/browser/esm/{Drqavr0l8Ps0YhDs.mjs → Dkqkg5OonmopX_av.mjs} +2 -2
- package/browser/esm/{koW9BUpZv7gyrarA.mjs → DsLBuFS0K1zRuAH4.mjs} +1 -1
- package/browser/esm/{rFrvxYxzRtQImlgP.mjs → Dsvtw0sJ8FRtGm5n.mjs} +3 -3
- package/browser/esm/{D6hA19knB0fJKwzy.mjs → WKwjqHXBabDyAtuT.mjs} +1 -1
- package/browser/esm/{RN7ZcTUj1a9bkcAY.mjs → g4yV8ILPtVwy8tG5.mjs} +9064 -8978
- package/browser/esm/index.mjs +16 -16
- package/browser/esm/{DqZe7V3DGrIfMtGS.mjs → w-PhBfcFM6AZzwmU.mjs} +2 -2
- package/browser/esm/{C1NK6PMgHA6_q4G9.mjs → zHTatrVtfVuPg1ii.mjs} +40 -40
- package/licenses/dependencies.txt +27 -27
- package/node/esm/{DGQmWSiV5JY6DjZG.mjs → BB6SV3cXsfTqodbb.mjs} +1 -1
- package/node/esm/{DqsU4yd41ufRAcJO.mjs → Bp-CJA_tLpQ7pT29.mjs} +2 -2
- package/node/esm/{ClfVBIMfZxlVszUo.mjs → C06YIVEYQuR5Vaft.mjs} +1 -1
- package/node/esm/{Htj3MI9usVmunAcf.mjs → CCl1udn2B2Ht6C3g.mjs} +10 -10
- package/node/esm/{BsQ-Ov8Ivo8TI4I4.mjs → Ck6HJccOiajom0p5.mjs} +27 -27
- package/node/esm/{CsEHLeb8-XFUlGfX.mjs → Cnz7_lvzqMqQs08b.mjs} +5 -5
- package/node/esm/{DJQrHkF9BqUru6t4.mjs → CvIwaInnb5xT75rt.mjs} +1 -1
- package/node/esm/{ChMgfohJzzPyjfAB.mjs → D1cFV6R_lGB3yi1w.mjs} +1 -1
- package/node/esm/{Cg3P7DuUpeT1RkRa.mjs → D2h4VPChcK5U-a0T.mjs} +2 -2
- package/node/esm/{D9md0q9Q4quDfKMk.mjs → D7jQWNfNldioygd-.mjs} +1 -1
- package/node/esm/{F32Ja_r-VN01X2Xk.mjs → DHqKiBp0YDn-rVWv.mjs} +2 -2
- package/node/esm/{CDh2VQNMmOnfKFuW.mjs → DTiWaGbGjtZCRAj0.mjs} +7 -7
- package/node/esm/{UiulRLshJYUYX09M.mjs → DX4vRmhbc53oBNeg.mjs} +1 -1
- package/node/esm/{CddguVWsXQg-DXNA.mjs → DbrD7HDgNfqUmzdP.mjs} +1 -1
- package/node/esm/{D1iWuymmaACMQ4pm.mjs → DoRbSUaOrfZffDc4.mjs} +84 -84
- package/node/esm/{BmOWZuGmSqavyXpQ.mjs → RfwcTEhVvbPAxFAu.mjs} +2 -2
- package/node/esm/{CwwTvoSxzfri2KMt.mjs → Xa5E_4nSt8LVXkNA.mjs} +1 -1
- package/node/esm/{DPiWF4TL-A-tKNQt.mjs → Ya3wztkbwM47CwJy.mjs} +5 -5
- package/node/esm/{C8DPV_nnEWIiAiCB.mjs → acSFCnnB-d3FV6qe.mjs} +3 -3
- package/node/esm/{CHMPEyY4aAIYityN.mjs → bozut2iu1gZ26NCH.mjs} +2 -2
- package/node/esm/index.mjs +3986 -3887
- package/node/esm/{CN7f5Js_bPmrOhWa.mjs → lx40ksuj0iGDMKDe.mjs} +27 -27
- package/node/esm/{Dz0BG4WLmpimwD6q.mjs → tcog-VptibIIj9kW.mjs} +4 -4
- package/node/esm/{9g3lp6kZgtdHUkZX.mjs → uHvMtxBHa3ohbrOl.mjs} +12 -12
- package/package.json +8 -8
- package/browser/cjs/Cg143L74lLTSVqNN.cjs +0 -87
package/browser/esm/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode("._sheetxl-reset_ods65_1{display:block;margin:0;padding:0;line-height:normal}._sheetxl-reset_ods65_1 table,._sheetxl-reset_ods65_1 thead,._sheetxl-reset_ods65_1 tbody,._sheetxl-reset_ods65_1 tfoot,._sheetxl-reset_ods65_1 tr,._sheetxl-reset_ods65_1 th,._sheetxl-reset_ods65_1 td{display:block;width:auto;height:auto;margin:0;padding:0;border:none;border-collapse:inherit;border-spacing:0;border-color:inherit;vertical-align:inherit;text-align:left;font-weight:inherit;-webkit-border-horizontal-spacing:0;-webkit-border-vertical-spacing:0}._sheetxl-reset_ods65_1 th,._sheetxl-reset_ods65_1 td{display:inline}html{color:initial}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4{fill:currentColor}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .activeColor{fill:var(--sxl-color-active)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .background{fill:var(--sxl-app-color-background)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .grey{fill:var(--sxl-app-color-grey)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .highContrast{fill:var(--sxl-app-color-high)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .info{fill:var(--sxl-app-color-info)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .info.light{fill:var(--sxl-app-color-info-light)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .info.dark{fill:var(--sxl-app-color-info-dark)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .secondary{fill:var(--sxl-app-color-secondary)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .secondary.light{fill:var(--sxl-app-color-secondary-light)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .secondary.dark{fill:var(--sxl-app-color-secondary-dark)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .success{fill:var(--sxl-app-color-success)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .success.light{fill:var(--sxl-app-color-success-light)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .success.dark{fill:var(--sxl-app-color-success-dark)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .warning{fill:var(--sxl-app-color-warning)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .warning .light{fill:var(--sxl-app-color-warning-light)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .warning .dark{fill:var(--sxl-app-color-warning-dark)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .error{fill:var(--sxl-app-color-error)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .error .light{fill:var(--sxl-app-color-error-light)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .error .dark{fill:var(--sxl-app-color-error-dark)}._sheetxl-workbook_1j3lu_5{display:flex;position:relative;overflow:hidden;flex-direction:column;width:100%;height:100%;outline:none}._sheetxl-workbook_1j3lu_5 .splitPane .styled-resizer{background-color:var(--sxl-app-color-grey, grey)}._sheetxl-workbook_1j3lu_5 .splitPane .styled-resizer:hover,._sheetxl-workbook_1j3lu_5 .splitPane.dragging .styled-resizer{background-color:var(--sxl-app-color-primary, blue)}._card_1a398_7{width:100%}._actionRoot_1a398_11{padding:8px 8px 8px 16px;justify-content:space-between}._icons_1a398_16{margin-left:auto;display:flex;align-items:center}._expand_1a398_22{padding:8px;transform:rotate(0);color:#d32f2f;transition:all .2s ease-in-out}._expandOpen_1a398_29{transform:rotate(180deg)}._stackTraceContainer_1a398_33{padding:16px}._paper_1a398_37{background-color:#fff;padding:16px}._checkIcon_1a398_42{font-size:20px;padding-right:4px}._button_1a398_47{padding:0;text-transform:none}")),document.head.appendChild(e)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
|
|
2
2
|
import { LicenseManager as t } from "@sheetxl/sdk";
|
|
3
|
-
import { A as n, b3 as s, aA as m, a$ as r, b1 as l, aG as u, b5 as d, aO as C, b4 as b, b2 as B, b6 as i, aJ as S, aX as k, aH as p, be as T, aM as c, bf as
|
|
3
|
+
import { A as n, b3 as s, aA as m, a$ as r, b1 as l, aG as u, b5 as d, aO as C, b4 as b, b2 as B, b6 as i, aJ as S, aX as k, aH as p, be as T, aM as c, bf as F, aD as P, aP as W, aE as h, bc as y, aC as I, B as M, aw as g, aI as w, aY as f, bt as x, aB as A, bd as R, ai as v, aF as E, aS as N, aV as O, aW as V, a_ as z, aj as H, bs as U, bu as D, br as G, bh as L, bi as j, bb as J, bj as Q, aL as Z, bp as _, ba as q, b0 as K, bg as X, ak as Y, al as $, aQ as aa, ay as oa, az as ta, p as ea, b7 as na, b8 as sa, b9 as ma, aR as ra, aN as la, ax as ua, aK as da, aT as Ca, aZ as ba, bk as Ba, J as ia, W as Sa, bl as ka, I as pa, aU as Ta, bq as ca, bo as Fa, bn as Pa, o as Wa, bm as ha } from "./g4yV8ILPtVwy8tG5.mjs";
|
|
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.
|
|
@@ -24,8 +24,8 @@ export {
|
|
|
24
24
|
p as FillCommandButton,
|
|
25
25
|
T as FilterColumnMenu,
|
|
26
26
|
c as FilterCommandButton,
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
F as Filters,
|
|
28
|
+
P as FindCommandButton,
|
|
29
29
|
W as FontFamilyCommandButton,
|
|
30
30
|
h as FontSizeCommandButton,
|
|
31
31
|
y as FormulaBar,
|
|
@@ -37,11 +37,11 @@ export {
|
|
|
37
37
|
x as InsertScriptCommandButton,
|
|
38
38
|
t as LicenseManager,
|
|
39
39
|
A as MergeCommandButton,
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
40
|
+
R as NamedCollectionEditor,
|
|
41
|
+
v as NamedInput,
|
|
42
|
+
E as NumberFormatCommandButton,
|
|
43
|
+
N as PasteCommandButton,
|
|
44
|
+
O as PresetCellStylesCommandButton,
|
|
45
45
|
V as PresetTableStylesCommandButton,
|
|
46
46
|
z as QuickFormulaSumCommandPopupButton,
|
|
47
47
|
H as RangeInput,
|
|
@@ -50,11 +50,11 @@ export {
|
|
|
50
50
|
G as ScriptWorkspace,
|
|
51
51
|
L as SheetTab,
|
|
52
52
|
j as SheetTabMenu,
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
53
|
+
J as SheetZoomScale,
|
|
54
|
+
Q as SheetsAllMenu,
|
|
55
|
+
Z as SortFilterCommandButton,
|
|
56
|
+
_ as StandaloneWorkbook,
|
|
57
|
+
q as StatusBar,
|
|
58
58
|
K as StyledStrokeIcon,
|
|
59
59
|
X as TableStyleCanvasPreview,
|
|
60
60
|
Y as TableStyleOptionsPanel,
|
|
@@ -79,8 +79,8 @@ export {
|
|
|
79
79
|
pa as WorkbookTitle,
|
|
80
80
|
Ta as WorkbookViewCommandButton,
|
|
81
81
|
ca as _WorkbookIO,
|
|
82
|
-
|
|
83
|
-
|
|
82
|
+
Fa as createGridStyleFromMUITheme,
|
|
83
|
+
Pa as defaultNewWorkbook,
|
|
84
84
|
Wa as useResolvedThemeMode,
|
|
85
85
|
ha as useWorkbookCommands
|
|
86
86
|
};
|
|
@@ -2,10 +2,10 @@ import { jsx as t, jsxs as y } from "react/jsx-runtime";
|
|
|
2
2
|
import { memo as G, useState as x, useCallback as O, useEffect as H, useMemo as S } from "react";
|
|
3
3
|
import { Box as w, FormControl as P, InputLabel as K, Select as q, TextField as A, Typography as I, MenuItem as J } from "@mui/material";
|
|
4
4
|
import { NumberFormat as n } from "@sheetxl/sdk";
|
|
5
|
-
import { T as l, a4 as Q, a1 as U, a5 as p } from "./
|
|
5
|
+
import { T as l, a4 as Q, a1 as U, a5 as p } from "./g4yV8ILPtVwy8tG5.mjs";
|
|
6
6
|
import { alpha as c } from "@mui/system";
|
|
7
7
|
/**
|
|
8
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
8
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.19
|
|
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,12 +1,12 @@
|
|
|
1
1
|
import { jsx as h, jsxs as ie, Fragment as It } from "react/jsx-runtime";
|
|
2
|
-
import S, { Component as At, createElement as le, createContext as an, memo as Ee, forwardRef as oe, useRef as ne, useState as ee, useCallback as
|
|
3
|
-
import { u as un,
|
|
2
|
+
import S, { Component as At, createElement as le, createContext as an, memo as Ee, forwardRef as oe, useRef as ne, useState as ee, useCallback as Z, useEffect as j, useMemo as $, useContext as sn, isValidElement as ln, cloneElement as cn, useLayoutEffect as st } from "react";
|
|
3
|
+
import { u as un, a as lt, L as dn, T as te, v as Je, x as Te, y as pn, M as mn, P as fn, z as hn, b as kt, W as pe, d as gn, H as kn, e as bt, V as bn, f as xn, h as wn, j as yn, k as vn, m as Ht, n as En, l as Cn, A as Sn, Y as Ln, Q as K, Z as De, X as xt, K as Rt, w as Tn, o as jt, p as ct, E as Dn, q as Mn, s as On, t as Wn, $ as qt, G as Fn, B as Pn, D as Re, U as Nn, F as wt, R as In, I as An, J as Hn, N as Rn, O as jn, S as qn } from "./g4yV8ILPtVwy8tG5.mjs";
|
|
4
4
|
import { createPortal as Bn } from "react-dom";
|
|
5
5
|
import { Card as _n, CardActions as Vn, Typography as zn, IconButton as ut, Collapse as Un, Box as ue, SvgIcon as Gn, CssBaseline as Kn } from "@mui/material";
|
|
6
|
-
import { PartialError as $n, CommonUtils as et, UndoManager as
|
|
7
|
-
import { ExpandMore as
|
|
6
|
+
import { PartialError as $n, CommonUtils as et, UndoManager as Zn, Workbook as yt } from "@sheetxl/sdk";
|
|
7
|
+
import { ExpandMore as Xn, Close as Qn, CancelOutlined as Yn } from "@mui/icons-material";
|
|
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.
|
|
@@ -287,7 +287,7 @@ function Be(t, a) {
|
|
|
287
287
|
}
|
|
288
288
|
}
|
|
289
289
|
var $t = oe(function(t, a) {
|
|
290
|
-
var r = t.children, e = t.direction, n = e === void 0 ? "down" : e, o = t.in, i = t.style, c = t.timeout, s = c === void 0 ? 0 : c, l = t.onEnter, u = t.onEntered, d = t.onExit, m = t.onExited, b = Ne(t, ["children", "direction", "in", "style", "timeout", "onEnter", "onEntered", "onExit", "onExited"]), w = ne(null), x = pt(r.ref, w), y = pt(x, a), g =
|
|
290
|
+
var r = t.children, e = t.direction, n = e === void 0 ? "down" : e, o = t.in, i = t.style, c = t.timeout, s = c === void 0 ? 0 : c, l = t.onEnter, u = t.onEntered, d = t.onExit, m = t.onExited, b = Ne(t, ["children", "direction", "in", "style", "timeout", "onEnter", "onEntered", "onExit", "onExited"]), w = ne(null), x = pt(r.ref, w), y = pt(x, a), g = Z(function() {
|
|
291
291
|
w.current && Be(n, w.current);
|
|
292
292
|
}, [n]);
|
|
293
293
|
return j(function() {
|
|
@@ -295,7 +295,7 @@ var $t = oe(function(t, a) {
|
|
|
295
295
|
var f = function(C, Y) {
|
|
296
296
|
var R;
|
|
297
297
|
function q() {
|
|
298
|
-
for (var B = this, z = arguments.length, _ = new Array(z),
|
|
298
|
+
for (var B = this, z = arguments.length, _ = new Array(z), X = 0; X < z; X++) _[X] = arguments[X];
|
|
299
299
|
clearTimeout(R), R = setTimeout(function() {
|
|
300
300
|
C.apply(B, _);
|
|
301
301
|
}, Y);
|
|
@@ -362,9 +362,9 @@ function Ie(t) {
|
|
|
362
362
|
return L({}, a, ((e = {})[n] = dt(o), e));
|
|
363
363
|
}, {});
|
|
364
364
|
}
|
|
365
|
-
var ho = "notistack-SnackbarContainer", go = "notistack-Snackbar",
|
|
365
|
+
var ho = "notistack-SnackbarContainer", go = "notistack-Snackbar", Zt = "notistack-CollapseWrapper", ko = "notistack-MuiContent", bo = function(t) {
|
|
366
366
|
return "notistack-MuiContent-" + t;
|
|
367
|
-
}, Mt = Ie({ root: { height: 0 }, entered: { height: "auto" } }), ot = "0px",
|
|
367
|
+
}, Mt = Ie({ root: { height: 0 }, entered: { height: "auto" } }), ot = "0px", Xt = oe(function(t, a) {
|
|
368
368
|
var r = t.children, e = t.in, n = t.onExited, o = ne(null), i = ne(null), c = pt(a, i), s = function() {
|
|
369
369
|
return o.current ? o.current.clientHeight : 0;
|
|
370
370
|
};
|
|
@@ -382,10 +382,10 @@ var ho = "notistack-SnackbarContainer", go = "notistack-Snackbar", Xt = "notista
|
|
|
382
382
|
var u = Ke({ timeout: 175, mode: "exit" }), d = u.duration, m = u.easing;
|
|
383
383
|
l.style.transitionDuration = typeof d == "string" ? d : d + "ms", l.style.height = ot, l.style.transitionTimingFunction = m || "";
|
|
384
384
|
}, nodeRef: i, timeout: 175 }, function(l, u) {
|
|
385
|
-
return le("div", Object.assign({ ref: c, className: fe(Mt.root, l === "entered" && Mt.entered), style: L({ pointerEvents: "all", overflow: "hidden", minHeight: ot, transition: ve("height") }, l === "entered" && { overflow: "visible" }, {}, l === "exited" && !e && { visibility: "hidden" }) }, u), le("div", { ref: o, className:
|
|
385
|
+
return le("div", Object.assign({ ref: c, className: fe(Mt.root, l === "entered" && Mt.entered), style: L({ pointerEvents: "all", overflow: "hidden", minHeight: ot, transition: ve("height") }, l === "entered" && { overflow: "visible" }, {}, l === "exited" && !e && { visibility: "hidden" }) }, u), le("div", { ref: o, className: Zt, style: { display: "flex", width: "100%" } }, r));
|
|
386
386
|
});
|
|
387
387
|
});
|
|
388
|
-
|
|
388
|
+
Xt.displayName = "Collapse";
|
|
389
389
|
var Ot = { right: "left", left: "right", bottom: "up", top: "down" }, xo = function(t) {
|
|
390
390
|
return "anchorOrigin" + mt(t);
|
|
391
391
|
}, wo = function() {
|
|
@@ -404,7 +404,7 @@ function Wt(t) {
|
|
|
404
404
|
var a = ne(t);
|
|
405
405
|
return yo(function() {
|
|
406
406
|
a.current = t;
|
|
407
|
-
}),
|
|
407
|
+
}), Z(function() {
|
|
408
408
|
return a.current.apply(void 0, arguments);
|
|
409
409
|
}, []);
|
|
410
410
|
}
|
|
@@ -423,7 +423,7 @@ var rt, Qt = oe(function(t, a) {
|
|
|
423
423
|
}, [l, n, w]);
|
|
424
424
|
var x = function() {
|
|
425
425
|
m.current && clearTimeout(m.current);
|
|
426
|
-
}, y =
|
|
426
|
+
}, y = Z(function() {
|
|
427
427
|
n != null && w(0.5 * n);
|
|
428
428
|
}, [n, w]);
|
|
429
429
|
return j(function() {
|
|
@@ -448,7 +448,7 @@ var Oe = Ie({ root: { backgroundColor: "#313131", fontSize: "0.875rem", lineHeig
|
|
|
448
448
|
});
|
|
449
449
|
Yt.displayName = "MaterialDesignContent";
|
|
450
450
|
var We, at, _e, Ve, it, Eo = Ee(Yt), Co = Ie({ wrappedRoot: { width: "100%", position: "relative", transform: "translateX(0)", top: 0, right: 0, bottom: 0, left: 0, minWidth: "288px" } }), So = function(t) {
|
|
451
|
-
var a = ne(), r = ee(!0), e = r[0], n = r[1], o = Pe([t.snack.onClose, t.onClose]), i =
|
|
451
|
+
var a = ne(), r = ee(!0), e = r[0], n = r[1], o = Pe([t.snack.onClose, t.onClose]), i = Z(function() {
|
|
452
452
|
a.current = setTimeout(function() {
|
|
453
453
|
n(function(B) {
|
|
454
454
|
return !B;
|
|
@@ -466,9 +466,9 @@ var We, at, _e, Ve, it, Eo = Ee(Yt), Co = Ie({ wrappedRoot: { width: "100%", pos
|
|
|
466
466
|
var z = { containerRoot: !0, containerAnchorOriginTopCenter: !0, containerAnchorOriginBottomCenter: !0, containerAnchorOriginTopRight: !0, containerAnchorOriginBottomRight: !0, containerAnchorOriginTopLeft: !0, containerAnchorOriginBottomLeft: !0 };
|
|
467
467
|
return Object.keys(B).filter(function(_) {
|
|
468
468
|
return !z[_];
|
|
469
|
-
}).reduce(function(_,
|
|
469
|
+
}).reduce(function(_, X) {
|
|
470
470
|
var he;
|
|
471
|
-
return L({}, _, ((he = {})[
|
|
471
|
+
return L({}, _, ((he = {})[X] = B[X], he));
|
|
472
472
|
}, {});
|
|
473
473
|
}(l);
|
|
474
474
|
}, [l]), b = s.open, w = s.SnackbarProps, x = s.TransitionComponent, y = s.TransitionProps, g = s.transitionDuration, f = s.disableWindowBlurListener, O = s.content, C = Ne(s, ["open", "SnackbarProps", "TransitionComponent", "TransitionProps", "transitionDuration", "disableWindowBlurListener", "content", "entered", "requestClose", "onEnter", "onEntered", "onExit", "onExited"]), Y = L({ direction: (c = C.anchorOrigin, c.horizontal !== "center" ? Ot[c.horizontal] : Ot[c.vertical]), timeout: g }, y), R = O;
|
|
@@ -477,10 +477,10 @@ var We, at, _e, Ve, it, Eo = Ee(Yt), Co = Ie({ wrappedRoot: { width: "100%", pos
|
|
|
477
477
|
var _;
|
|
478
478
|
return L({}, B, ((_ = {})[z] = Pe([t.snack[z], t[z]], C.id), _));
|
|
479
479
|
}, {});
|
|
480
|
-
return S.createElement(
|
|
480
|
+
return S.createElement(Xt, { in: e, onExited: q.onExited }, S.createElement(Qt, { open: b, id: C.id, disableWindowBlurListener: f, autoHideDuration: C.autoHideDuration, className: fe(Co.wrappedRoot, m.root, m[xo(C.anchorOrigin)]), SnackbarProps: w, onClose: o }, S.createElement(x, Object.assign({}, Y, { appear: !0, in: b, onExit: q.onExit, onExited: i, onEnter: q.onEnter, onEntered: Pe([q.onEntered, function() {
|
|
481
481
|
t.snack.requestClose && o(null, "instructed", t.snack.id);
|
|
482
482
|
}], C.id) }), R || S.createElement(d, Object.assign({}, C)))));
|
|
483
|
-
}, Fe = { default: 20 }, ze = { default: 6, dense: 2 }, Pt = "." +
|
|
483
|
+
}, Fe = { default: 20 }, ze = { default: 6, dense: 2 }, Pt = "." + Zt, Ue = Ie({ root: (We = { boxSizing: "border-box", display: "flex", maxHeight: "100%", position: "fixed", zIndex: 1400, height: "auto", width: "auto", transition: ve(["top", "right", "bottom", "left", "max-width"], { duration: 300, easing: "ease" }), pointerEvents: "none" }, We[Pt] = { padding: ze.default + "px 0px", transition: "padding 300ms ease 0ms" }, We.maxWidth = "calc(100% - " + 2 * Fe.default + "px)", We[nt] = { width: "100%", maxWidth: "calc(100% - 32px)" }, We), rootDense: (at = {}, at[Pt] = { padding: ze.dense + "px 0px" }, at), top: { top: Fe.default - ze.default + "px", flexDirection: "column" }, bottom: { bottom: Fe.default - ze.default + "px", flexDirection: "column-reverse" }, left: (_e = { left: Fe.default + "px" }, _e[Ge] = { alignItems: "flex-start" }, _e[nt] = { left: "16px" }, _e), right: (Ve = { right: Fe.default + "px" }, Ve[Ge] = { alignItems: "flex-end" }, Ve[nt] = { right: "16px" }, Ve), center: (it = { left: "50%", transform: "translateX(-50%)" }, it[Ge] = { alignItems: "center" }, it) }), Lo = Ee(function(t) {
|
|
484
484
|
var a = t.classes, r = a === void 0 ? {} : a, e = t.anchorOrigin, n = t.dense, o = t.children, i = fe(ho, Ue[e.vertical], Ue[e.horizontal], Ue.root, r.containerRoot, r["containerAnchorOrigin" + mt(e)], n && Ue.rootDense);
|
|
485
485
|
return S.createElement("div", { className: i }, o);
|
|
486
486
|
}), Nt = function(t) {
|
|
@@ -568,12 +568,12 @@ var We, at, _e, Ve, it, Eo = Ee(Yt), Co = Ie({ wrappedRoot: { width: "100%", pos
|
|
|
568
568
|
return sn(Ut);
|
|
569
569
|
};
|
|
570
570
|
const ae = { card: "_card_1a398_7", actionRoot: "_actionRoot_1a398_11", icons: "_icons_1a398_16", expand: "_expand_1a398_22", expandOpen: "_expandOpen_1a398_29", stackTraceContainer: "_stackTraceContainer_1a398_33" }, en = oe((t, a) => {
|
|
571
|
-
const { id: r, message: e, iconVariant: n, error: o, hideIconVariant: i, ...c } = t, { closeSnackbar: s } = Jt(), l = un(), [u, d] = ee(!1), m =
|
|
571
|
+
const { id: r, message: e, iconVariant: n, error: o, hideIconVariant: i, ...c } = t, { closeSnackbar: s } = Jt(), l = un(), [u, d] = ee(!1), m = Z(() => {
|
|
572
572
|
d((x) => !x);
|
|
573
|
-
}, []), b =
|
|
573
|
+
}, []), b = Z(() => {
|
|
574
574
|
s(r);
|
|
575
575
|
}, [r, s]), w = o?.message || String(e);
|
|
576
|
-
return h(ht, { ref: a, className: lt(ae.root, "error-snackbar"), children: ie(_n, { className: ae.card, style: { backgroundColor: l.palette.error.dark, border: `1px solid ${l.palette.error.dark}` }, children: [ie(Vn, { className: ae.actionRoot, children: [i ? null : n?.error, h(zn, { variant: "body2", component: "div", className: ae.typography, style: { color: l.palette.text.primary }, children: w }), h("div", { style: { flex: "1 1 auto" } }), ie("div", { className: ae.icons, children: [o ? h(ut, { "aria-label": "Show more", size: "small", className: lt(ae.expand, { [ae.expandOpen]: u }), style: { color: l.palette.action.active }, onClick: m, children: h(
|
|
576
|
+
return h(ht, { ref: a, className: lt(ae.root, "error-snackbar"), children: ie(_n, { className: ae.card, style: { backgroundColor: l.palette.error.dark, border: `1px solid ${l.palette.error.dark}` }, children: [ie(Vn, { className: ae.actionRoot, children: [i ? null : n?.error, h(zn, { variant: "body2", component: "div", className: ae.typography, style: { color: l.palette.text.primary }, children: w }), h("div", { style: { flex: "1 1 auto" } }), ie("div", { className: ae.icons, children: [o ? h(ut, { "aria-label": "Show more", size: "small", className: lt(ae.expand, { [ae.expandOpen]: u }), style: { color: l.palette.action.active }, onClick: m, children: h(Xn, {}) }) : null, h(ut, { size: "small", className: ae.expand, style: { color: l.palette.action.active }, onClick: b, children: h(Qn, { fontSize: "small" }) })] })] }), o ? h(Un, { in: u, timeout: "auto", unmountOnExit: !0, children: h("div", { className: ae.stackTraceContainer, style: { backgroundColor: l.palette.error.light, borderTop: `1px solid ${l.palette.error.main}` }, children: h(dn, { error: o, hideLineNumbers: !0 }) }) }) : null] }) });
|
|
577
577
|
});
|
|
578
578
|
en.displayName = "ToastError";
|
|
579
579
|
const tn = Ee(oe((t, a) => {
|
|
@@ -613,9 +613,9 @@ nn.displayName = "StandaloneWorkbookToolbar";
|
|
|
613
613
|
const on = Ee(oe((t, a) => {
|
|
614
614
|
const { workbook: r, setWorkbook: e, refWorkbookTitle: n, titleWorkbook: o, setWorkbookTitle: i, titlePlaceHolder: c, children: s, undoManager: l, commands: u, importExportDisabled: d, themeModeOptions: m } = t, b = Jt(), w = b ? b.enqueueSnackbar : () => {
|
|
615
615
|
}, x = b ? b.closeSnackbar : () => {
|
|
616
|
-
}, [y, g] = ee({ isMounted: !1, label: null, starting: /* @__PURE__ */ new Map(), running: /* @__PURE__ */ new Map() }), f =
|
|
616
|
+
}, [y, g] = ee({ isMounted: !1, label: null, starting: /* @__PURE__ */ new Map(), running: /* @__PURE__ */ new Map() }), f = Z(() => {
|
|
617
617
|
g((M) => ({ ...M, isMounted: !0 }));
|
|
618
|
-
}, []), O =
|
|
618
|
+
}, []), O = Z(() => {
|
|
619
619
|
g((M) => ({ ...M, isMounted: !1 }));
|
|
620
620
|
}, []), C = Mn(), Y = On(), R = Wn(), q = ne(/* @__PURE__ */ new Set()), B = $(() => {
|
|
621
621
|
const M = (v, E) => {
|
|
@@ -640,14 +640,14 @@ const on = Ee(oe((t, a) => {
|
|
|
640
640
|
const T = { ...E, onKeyDown: (H) => {
|
|
641
641
|
u?.dispatchToFocusedCommand(H), H.isDefaultPrevented() || H.isPropagationStopped() || E?.onKeyDown?.(H);
|
|
642
642
|
} };
|
|
643
|
-
return C(v, { sort: () => import("./
|
|
643
|
+
return C(v, { sort: () => import("./C4vC41vzQpD-qyMn.mjs"), numberFormat: () => import("./w-PhBfcFM6AZzwmU.mjs"), hyperlink: () => import("./BbMrsjIGEkoLGak0.mjs"), comments: () => import("./B97bNoiD5vSlwEfq.mjs"), find: () => import("./C7UEqLxvuNIEbzcl.mjs"), tableDetails: () => import("./BVzvMC6p5FNP8qK9.mjs"), tableNew: () => import("./CUrgSndSnDCQKu6U.mjs"), namedDetails: () => import("./Dkqkg5OonmopX_av.mjs") }[v], T, W);
|
|
644
644
|
}, showOptions: Y, showInputOptions: R, showError: (v) => {
|
|
645
645
|
let E, W = Re.Error, T = "Unknown Error";
|
|
646
646
|
typeof v == "string" ? T = v : v instanceof Error && (E = v, v.message && (T = v.message)), v instanceof $n && (W = Re.Info), M(T, { type: W, enqueueProps: { error: E } });
|
|
647
647
|
} };
|
|
648
|
-
}, []), z =
|
|
648
|
+
}, []), z = Z(() => {
|
|
649
649
|
}, []), _ = ((M) => {
|
|
650
|
-
const { workbook: v, setWorkbook: E, importExportDisabled: W, workbookTitle: T = "export", setWorkbookTitle: H, notifier: I, requestWorkbookTitle: J, themeModeOptions: F, undoManager: Ae, commands: Q, onExecute: ke } = M, He = te(F?.onForceModeChange, [F?.onForceModeChange]),
|
|
650
|
+
const { workbook: v, setWorkbook: E, importExportDisabled: W, workbookTitle: T = "export", setWorkbookTitle: H, notifier: I, requestWorkbookTitle: J, themeModeOptions: F, undoManager: Ae, commands: Q, onExecute: ke } = M, He = te(F?.onForceModeChange, [F?.onForceModeChange]), Ze = te(F?.onForceLightGridChange, [F?.onForceLightGridChange]), be = te(F?.onForceLightImagesChange, [F?.onForceLightImagesChange]), Xe = te(async (D = null, U = null) => {
|
|
651
651
|
const p = [];
|
|
652
652
|
let k, P = null, G = null;
|
|
653
653
|
if (typeof D == "string" ? G = D : P = D, k = P ? D : await Ln.openFileDialog(G ?? pe.getAllReadFormatTypeAsString().join(",")), !k) return null;
|
|
@@ -663,7 +663,7 @@ const on = Ee(oe((t, a) => {
|
|
|
663
663
|
return k !== null && pe.writeFile(k, D, { formatType: p.key });
|
|
664
664
|
}
|
|
665
665
|
return pe.writeFile(U, D, { formatType: p.key });
|
|
666
|
-
}, [I, v, J]), A =
|
|
666
|
+
}, [I, v, J]), A = Z(() => ({ contains: (D) => !0, focus() {
|
|
667
667
|
} }), []), ce = $(() => {
|
|
668
668
|
const D = [];
|
|
669
669
|
W || (pe.getWriteFormats().forEach((p) => {
|
|
@@ -682,7 +682,7 @@ const on = Ee(oe((t, a) => {
|
|
|
682
682
|
}), D.push(new K("openWorkbook", A, { label: "Open Workbook…", scopedLabels: { workbook: "Open…" }, description: "Open a workbook from the desktop.", shortcut: { key: "O", modifiers: [De.Ctrl] } }, async (p = null) => {
|
|
683
683
|
const k = { date1904: v.isDate1904(), ...v.options };
|
|
684
684
|
try {
|
|
685
|
-
const P = await
|
|
685
|
+
const P = await Xe(p, k);
|
|
686
686
|
if (!P) return;
|
|
687
687
|
const G = P.title, se = P.workbook, Le = se.getSelectedSheet();
|
|
688
688
|
if (P.formatType.mimeType === "text/csv") {
|
|
@@ -730,7 +730,7 @@ const on = Ee(oe((t, a) => {
|
|
|
730
730
|
}), V.getCommand("defaultThemeMode").update({ state: !F.forceMode }).updateCallback(() => {
|
|
731
731
|
He(null);
|
|
732
732
|
}), V.getCommand("forceLightGrid").update({ state: F.forceLightGrid }).updateCallback(() => {
|
|
733
|
-
|
|
733
|
+
Ze(!F.forceLightGrid);
|
|
734
734
|
}), V.getCommand("forceLightImages").update({ state: F.forceLightImages }).updateCallback(() => {
|
|
735
735
|
be(!F.forceLightImages);
|
|
736
736
|
});
|
|
@@ -738,7 +738,7 @@ const on = Ee(oe((t, a) => {
|
|
|
738
738
|
const { showModal: Qe } = Dn();
|
|
739
739
|
return j(() => {
|
|
740
740
|
const D = () => new Promise((U, p) => {
|
|
741
|
-
const k = S.lazy(() => import("./
|
|
741
|
+
const k = S.lazy(() => import("./DNMEKvZSHupr35RK.mjs")), P = Qe(k, { title: "Shortcut Keys Reference", commands: V, onDone: () => {
|
|
742
742
|
P.hide();
|
|
743
743
|
}, TransitionProps: { onExited: () => {
|
|
744
744
|
U(!0);
|
|
@@ -765,18 +765,18 @@ const on = Ee(oe((t, a) => {
|
|
|
765
765
|
}), { ...M, starting: /* @__PURE__ */ new Map(), running: v };
|
|
766
766
|
});
|
|
767
767
|
}, [y]);
|
|
768
|
-
const [
|
|
768
|
+
const [X, he] = ee(null);
|
|
769
769
|
j(() => {
|
|
770
770
|
y.starting.size !== 0 || y.running.size !== 0 ? he(h(qt, { icon: h(Fn, { sx: { transform: "scale(0.7)", marginLeft: "-6px" } }), panel: !0, label: y.label, onMount: f, onUnmount: O, sx: { position: "absolute", left: "0", top: "0", width: "100%", height: "100%", zIndex: "9999" } })) : he(null);
|
|
771
771
|
}, [y.starting, y.running]);
|
|
772
772
|
const N = $(() => h(Pn, { commands: _, disableHover: !0, sx: { padding: "0" }, buttonProps: { sx: { maxHeight: "22px" } } }), [_]), ge = { notifier: B, commands: _ };
|
|
773
|
-
return r && (ge.statusBarProps = { childrenEnd: N }), ie(It, { children: [
|
|
773
|
+
return r && (ge.statusBarProps = { childrenEnd: N }), ie(It, { children: [X, s ? S.cloneElement(s, ge) : null] });
|
|
774
774
|
}));
|
|
775
775
|
on.displayName = "SnackbarAndCommandsWrapper";
|
|
776
776
|
const rn = Ee(oe((t, a) => {
|
|
777
|
-
const { className: r, sx: e, style: n, onElementLoad: o, onError: i, undoManager: c, errorPanel: s = Nn, onKeyDown: l, workbook: u, createWorkbookOptions: d, onWorkbookChange: m, logo: b, importExportDisabled: w = !1, themeModeOptions: x, autoFocus: y = !1, commands: g, title: f, onTitleChange: O, titleProps: C, ...Y } = t, R = ne(null), q = te(m, [m]), B = te(O ?? C?.onTitleChange, [O ?? C?.onTitleChange]), z = C?.placeHolder ?? "Untitled", _ = x?.forceMode, { themeMode:
|
|
777
|
+
const { className: r, sx: e, style: n, onElementLoad: o, onError: i, undoManager: c, errorPanel: s = Nn, onKeyDown: l, workbook: u, createWorkbookOptions: d, onWorkbookChange: m, logo: b, importExportDisabled: w = !1, themeModeOptions: x, autoFocus: y = !1, commands: g, title: f, onTitleChange: O, titleProps: C, ...Y } = t, R = ne(null), q = te(m, [m]), B = te(O ?? C?.onTitleChange, [O ?? C?.onTitleChange]), z = C?.placeHolder ?? "Untitled", _ = x?.forceMode, { themeMode: X, source: he } = jt({ mode: _ }), N = $(() => ({ ...x, light: wt(!1, et.deepMerge(x?.theme ?? {}, x?.light ?? {})), dark: wt(!0, et.deepMerge(x?.theme ?? {}, x?.dark ?? {})) }), [x]), ge = X === ct.Dark, [M, v] = ee(null);
|
|
778
778
|
j(() => {
|
|
779
|
-
v(c ?? new
|
|
779
|
+
v(c ?? new Zn());
|
|
780
780
|
}, [c]);
|
|
781
781
|
const [E, W] = ee(null), [T, H] = ee(null), I = In();
|
|
782
782
|
st(() => {
|
|
@@ -817,17 +817,17 @@ const rn = Ee(oe((t, a) => {
|
|
|
817
817
|
}, [f ?? C?.title]), j(() => {
|
|
818
818
|
B?.(Q);
|
|
819
819
|
}, [Q]);
|
|
820
|
-
const [He,
|
|
820
|
+
const [He, Ze] = ee(null), be = $(() => {
|
|
821
821
|
const p = () => ({ contains: (k) => !0, focus() {
|
|
822
822
|
} });
|
|
823
823
|
return g ? g.createChildGroup(p, "application", !1) : new Rt(p, "application");
|
|
824
|
-
}, [g]),
|
|
825
|
-
|
|
824
|
+
}, [g]), Xe = te((p) => {
|
|
825
|
+
Ze(p.source.getViewportElement()), F(p), be.activate("sheet"), o?.(p);
|
|
826
826
|
}, [be]);
|
|
827
827
|
j(() => {
|
|
828
828
|
J && y && J.source?.focus(typeof y == "object" ? y : void 0);
|
|
829
829
|
}, [J]);
|
|
830
|
-
const Ce = ne(null), A =
|
|
830
|
+
const Ce = ne(null), A = Z((p) => {
|
|
831
831
|
let k = null;
|
|
832
832
|
return C?.hidden || (k = h(An, { ...C, style: { maxWidth: "100%", ...C?.style }, workbook: R.current, ref: Ce, title: Q, placeHolder: z, onTitleChange: (P) => {
|
|
833
833
|
ke(P);
|
|
@@ -839,11 +839,11 @@ const rn = Ee(oe((t, a) => {
|
|
|
839
839
|
R.current?.removeEventListener("wheel", p);
|
|
840
840
|
};
|
|
841
841
|
}, []);
|
|
842
|
-
const ce = $(() => h(qt, { transparentBackground: !0, sx: e, style: n }), [e, n]), V =
|
|
842
|
+
const ce = $(() => h(qt, { transparentBackground: !0, sx: e, style: n }), [e, n]), V = Z(({ error: p }) => (i?.(p), h(s, { sx: e, style: n, error: p ?? "Unable to display empty workbook." })), [e, n, i]), Se = $(() => ({ ...e, "& .SnackbarContainer-root": { position: "absolute !important" }, "& .notistack-Snackbar": { minWidth: "unset" }, "& .notistack-MuiContent *": { fontFamily: (p) => p.typography.fontFamily }, "& #notistack-snackbar": { maxWidth: "560px", whiteSpace: "pre-wrap" }, "*": { userSelect: "none" } }), [e]), Qe = Ht([R, a]), D = $(() => {
|
|
843
843
|
if (!E) return ce;
|
|
844
844
|
if (E.error || !E.workbook) return V({ error: E.error });
|
|
845
845
|
let p = null, k = null, P = !1;
|
|
846
|
-
return N && (p = ge ? N.dark : N.light, k = ge && !N.forceLightGrid ? N.dark : N.light, P = N.forceLightImages), h(Hn, { sx: Se, style: n, tabIndex: 0, autoFocus: !0, workbook: E.workbook, ref: Qe, renderToolbar: A, onElementLoad:
|
|
846
|
+
return N && (p = ge ? N.dark : N.light, k = ge && !N.forceLightGrid ? N.dark : N.light, P = N.forceLightImages), h(Hn, { sx: Se, style: n, tabIndex: 0, autoFocus: !0, workbook: E.workbook, ref: Qe, renderToolbar: A, onElementLoad: Xe, onRepeatCommandChange: Ae, onKeyDown: (G) => {
|
|
847
847
|
l?.(G);
|
|
848
848
|
}, gridTheme: k, headersTheme: p, forceLightImages: P, className: lt(r, "sheetxl-workbook"), onContextMenu: (G) => G.preventDefault(), ...Y }, "WorkbookElement");
|
|
849
849
|
}, [E, Q, M, ce, N, Y, A, Se]);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Name: @sheetxl/utils-mui
|
|
2
|
-
Version: 0.3.
|
|
2
|
+
Version: 0.3.19
|
|
3
3
|
License: SEE LICENSE IN <LICENSE>
|
|
4
4
|
Private: false
|
|
5
5
|
Description: Utilities MUI - Utilities for MUI Components needed for all SheetXL components.
|
|
@@ -148,7 +148,7 @@ Licensed under the **MIT** license
|
|
|
148
148
|
---
|
|
149
149
|
|
|
150
150
|
Name: @sheetxl/react
|
|
151
|
-
Version: 0.3.
|
|
151
|
+
Version: 0.3.19
|
|
152
152
|
License: SEE LICENSE IN <LICENSE>
|
|
153
153
|
Private: false
|
|
154
154
|
Description: React - React components needed to build advanced grid and spreadsheet UIs.
|
|
@@ -169,28 +169,6 @@ https://www.sheetxl.com/licensing-pricing
|
|
|
169
169
|
|
|
170
170
|
---
|
|
171
171
|
|
|
172
|
-
Name: @sheetxl/io
|
|
173
|
-
Version: 0.3.17
|
|
174
|
-
License: SEE LICENSE IN <LICENSE>
|
|
175
|
-
Private: false
|
|
176
|
-
Description: IO - Import/Export Libraries for SheetXL.
|
|
177
|
-
License Copyright:
|
|
178
|
-
===
|
|
179
|
-
|
|
180
|
-
# Repository Licensing
|
|
181
|
-
|
|
182
|
-
SheetXL contains a mix of open-source and commercially licensed packages. Each package is individually licensed and contains its own license file.
|
|
183
|
-
|
|
184
|
-
For the specific terms and conditions applicable to a package, please see the `LICENSE.md` file located in that package's root directory.
|
|
185
|
-
|
|
186
|
-
Generally, packages intended for public distribution (such as CLIs, adapters, and vanilla wrappers) are licensed under the MIT license. All other core packages are proprietary and require a commercial license for use.
|
|
187
|
-
|
|
188
|
-
For more details on commercial licensing, please visit our website:
|
|
189
|
-
|
|
190
|
-
https://www.sheetxl.com/licensing-pricing
|
|
191
|
-
|
|
192
|
-
---
|
|
193
|
-
|
|
194
172
|
Name: prop-types
|
|
195
173
|
Version: 15.8.1
|
|
196
174
|
License: MIT
|
|
@@ -455,6 +433,28 @@ terms above.
|
|
|
455
433
|
|
|
456
434
|
---
|
|
457
435
|
|
|
436
|
+
Name: @sheetxl/io
|
|
437
|
+
Version: 0.3.19
|
|
438
|
+
License: SEE LICENSE IN <LICENSE>
|
|
439
|
+
Private: false
|
|
440
|
+
Description: IO - Import/Export Libraries for SheetXL.
|
|
441
|
+
License Copyright:
|
|
442
|
+
===
|
|
443
|
+
|
|
444
|
+
# Repository Licensing
|
|
445
|
+
|
|
446
|
+
SheetXL contains a mix of open-source and commercially licensed packages. Each package is individually licensed and contains its own license file.
|
|
447
|
+
|
|
448
|
+
For the specific terms and conditions applicable to a package, please see the `LICENSE.md` file located in that package's root directory.
|
|
449
|
+
|
|
450
|
+
Generally, packages intended for public distribution (such as CLIs, adapters, and vanilla wrappers) are licensed under the MIT license. All other core packages are proprietary and require a commercial license for use.
|
|
451
|
+
|
|
452
|
+
For more details on commercial licensing, please visit our website:
|
|
453
|
+
|
|
454
|
+
https://www.sheetxl.com/licensing-pricing
|
|
455
|
+
|
|
456
|
+
---
|
|
457
|
+
|
|
458
458
|
Name: @mui/system
|
|
459
459
|
Version: 6.5.0
|
|
460
460
|
License: MIT
|
|
@@ -880,7 +880,7 @@ License Copyright:
|
|
|
880
880
|
---
|
|
881
881
|
|
|
882
882
|
Name: @sheetxl/utils
|
|
883
|
-
Version: 0.3.
|
|
883
|
+
Version: 0.3.19
|
|
884
884
|
License: SEE LICENSE IN <LICENSE>
|
|
885
885
|
Private: false
|
|
886
886
|
Description: Utils - Utilities used by most SheetXL components.
|
|
@@ -902,7 +902,7 @@ https://www.sheetxl.com/licensing-pricing
|
|
|
902
902
|
---
|
|
903
903
|
|
|
904
904
|
Name: @sheetxl/utils-react
|
|
905
|
-
Version: 0.3.
|
|
905
|
+
Version: 0.3.19
|
|
906
906
|
License: SEE LICENSE IN <LICENSE>
|
|
907
907
|
Private: false
|
|
908
908
|
Description: Utils React - Utilities for React capabilities needed for all SheetXL components.
|
|
@@ -993,7 +993,7 @@ SOFTWARE.
|
|
|
993
993
|
---
|
|
994
994
|
|
|
995
995
|
Name: @sheetxl/grid-react
|
|
996
|
-
Version: 0.3.
|
|
996
|
+
Version: 0.3.19
|
|
997
997
|
License: SEE LICENSE IN <LICENSE>
|
|
998
998
|
Private: false
|
|
999
999
|
Description: Grid - Advanced data grid component for React
|
|
@@ -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.
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
import { jsx as e, jsxs as t } from "react/jsx-runtime";
|
|
8
8
|
import { memo as a, useMemo as n, useState as l, useCallback as o } from "react";
|
|
9
9
|
import { Box as i } from "@mui/material";
|
|
10
|
-
import { P as r,
|
|
10
|
+
import { P as r, x as s, NamedInput as d, RangeInput as p } from "./index.mjs";
|
|
11
11
|
const u = ["Ok", "Cancel"], c = a((a2) => {
|
|
12
12
|
const { value: c2 = null, context: m, onOption: g, onValidateOption: x, onDone: f, onUpdate: N, options: y = u, defaultOption: T = y?.[0], cancelOption: O = "Cancel", sx: V, ...h } = a2, v = n(() => m?.getNames().findValidName("Range1"), []), C = n(() => {
|
|
13
13
|
if (!c2) return true;
|
|
@@ -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.
|
|
@@ -9,33 +9,33 @@ import { memo as o, forwardRef as n, useState as a } from "react";
|
|
|
9
9
|
import e from "clsx";
|
|
10
10
|
import { alpha as i, getOverlayAlpha as p } from "@mui/material/styles/index.js";
|
|
11
11
|
import { Box as r, FormControl as s, TextField as l } from "@mui/material";
|
|
12
|
-
import {
|
|
12
|
+
import { v as c, w as u, x as d } from "./index.mjs";
|
|
13
13
|
const m = ["Input"], g = o(n((o2, n2) => {
|
|
14
|
-
const { initialValue: g2 = "", onOption: f, onValidateOption:
|
|
14
|
+
const { initialValue: g2 = "", onOption: f, onValidateOption: x, onInputOption: h, onValidateInputOption: y, onDone: O, inputProps: w, inputLabel: T, inputType: v, inputPlaceHolder: F, options: I = m, autoFocusSel: P = ".autoFocus", cancelOption: C, defaultOption: b = I?.[0], ...k } = o2, [V, j] = a(false), [D, B] = a(g2), [H, L] = a(""), [M, N] = a(true), S = c(async (t2, o3) => {
|
|
15
15
|
if (!y) return true;
|
|
16
16
|
const n3 = await y?.(t2, o3);
|
|
17
17
|
L(n3?.message ?? "");
|
|
18
18
|
const a2 = n3?.valid ?? true;
|
|
19
19
|
return N(a2), a2;
|
|
20
20
|
}, [y]), $ = c(async (t2) => {
|
|
21
|
-
|
|
22
|
-
}, [D,
|
|
21
|
+
h?.(D, t2);
|
|
22
|
+
}, [D, h, O, f, C, b]), z = c(async (t2) => {
|
|
23
23
|
t2.keyCode === u.Enter && await S?.(D, null);
|
|
24
24
|
}, [D, $]), E = c((t2) => {
|
|
25
25
|
B(t2.target.value), S?.(t2.target.value, null);
|
|
26
|
-
}, [
|
|
26
|
+
}, [x]), K = c(async (t2) => {
|
|
27
27
|
let o3 = await S(D, t2);
|
|
28
28
|
try {
|
|
29
29
|
false !== o3 && (o3 = await S(D, t2));
|
|
30
30
|
} catch (t3) {
|
|
31
31
|
}
|
|
32
32
|
return o3 ?? true;
|
|
33
|
-
}, [D,
|
|
34
|
-
return t(d, { options:
|
|
33
|
+
}, [D, x]);
|
|
34
|
+
return t(d, { options: I, onDone: O, onOption: (t2, o3) => {
|
|
35
35
|
o3 || $(t2);
|
|
36
|
-
}, onValidateOption: K, cancelOption: C, defaultOption: b, autoFocusSel:
|
|
36
|
+
}, onValidateOption: K, cancelOption: C, defaultOption: b, autoFocusSel: P, ...k, children: t(r, { sx: { paddingTop: (t2) => t2.spacing(1), paddingBottom: (t2) => t2.spacing(0) }, children: t(s, { sx: { paddingTop: (t2) => t2.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: t(l, { onFocus: (t2) => {
|
|
37
37
|
V || t2.target?.select(), j(true);
|
|
38
|
-
}, type:
|
|
38
|
+
}, type: v, label: T, helperText: H || " ", sx: { width: "100%", "& .MuiFormHelperText-root": { marginTop: (t2) => t2.spacing(0.5), color: M ? void 0 : "error.main" } }, InputLabelProps: { shrink: true }, InputProps: { inputProps: { placeholder: F, spellCheck: false, autoComplete: "off", ...w, className: e("autoFocus", w?.className), sx: { paddingTop: (t2) => t2.spacing(1.25), paddingBottom: (t2) => t2.spacing(0.75), backgroundImage: `linear-gradient(${i("#fff", p(5))}, ${i("#fff", p(5))})` } } }, value: D, onChange: E, onKeyDown: z, onContextMenu: (t2) => {
|
|
39
39
|
t2.stopPropagation();
|
|
40
40
|
} }) }) }) });
|
|
41
41
|
}));
|