@sheetxl/studio-mui 0.7.10 → 0.7.12
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/{B-dxazW1OuNBcp02.cjs → BYfcSe1JgcohGr-C.cjs} +1 -1
- package/browser/cjs/{DLnPNypHwR15SmCU.cjs → BZPmbh6TWeAN2tiY.cjs} +1 -1
- package/browser/cjs/{pVcTsL-TasyB4b2-.cjs → CMEmwUuGpnOyILAu.cjs} +1 -1
- package/browser/cjs/{DiR8AzQV9os4ZYk0.cjs → CcsfLc43Qp-vN_dY.cjs} +3 -3
- package/browser/cjs/{BwTLuy_PnmJor7W8.cjs → CrkutQSHB1Buy5oQ.cjs} +2 -2
- package/browser/cjs/{B_eAGdji8Nx5J9T4.cjs → D2KC31HOMCGQMLvD.cjs} +2 -2
- package/browser/cjs/{DZBKNuFYEUx6Effx.cjs → DiQXaxwfHcQfkYKX.cjs} +1 -1
- package/browser/cjs/{CcXAFa-nlR_hdzWz.cjs → Dmw2IW35YLNmLgvP.cjs} +8 -8
- package/browser/cjs/{mMBBa38sCpWqbAas.cjs → bItCE_-c88dO7Izw.cjs} +1 -1
- package/browser/cjs/{CqZdJyYmTYFrQaQ2.cjs → fa-Q2vHsld47aqrE.cjs} +2 -2
- package/browser/cjs/index.cjs +2 -2
- package/browser/cjs/{B-utsUoR4zuLaAhd.cjs → wyak0LMoe5SYbD51.cjs} +2 -2
- package/browser/esm/{BcUbD_6hNdscDPHH.mjs → B7ChnkonDRA2zazH.mjs} +3 -3
- package/browser/esm/{DdvY0bLbK9TT-rIs.mjs → BZPlU0oT2oGTQQgK.mjs} +2 -2
- package/browser/esm/{DG5wukgrtP5snHCG.mjs → BzGH26JDt4xKZfM7.mjs} +1 -1
- package/browser/esm/{C6PORxVVmatRwpCK.mjs → CA-_Kya2gsMrF9Ef.mjs} +1 -1
- package/browser/esm/{CFbMYRxhxMq4XxOa.mjs → CGBRrUgnGzuP9FGo.mjs} +2 -2
- package/browser/esm/{D5Y0kqk4q5sYYCML.mjs → CRmCo9Jr1gvSFGVp.mjs} +39 -38
- package/browser/esm/{BobeGilMvc-Tjglo.mjs → DK1cCQD1jHxZbFAp.mjs} +1 -1
- package/browser/esm/{DcO8rsG2l9PJNAV1.mjs → aeHM-2IGRQaGFohd.mjs} +1 -1
- package/browser/esm/{BcD_hjx3QUJ3mxc9.mjs → csScKLYnqrrlL197.mjs} +2 -2
- package/browser/esm/{8BoSui-509azp4_T.mjs → fsGSNDVe9urk2cLB.mjs} +2 -2
- package/browser/esm/index.mjs +69 -68
- package/browser/esm/{BfjN2uCTh7d2HrDp.mjs → lm9H6CMj_7o_ra2l.mjs} +1 -1
- package/node/esm/{DTNMbcRmISndj_SS.mjs → BEFwnAOkyd0CWlex.mjs} +1 -1
- package/node/esm/{BNBkIeEbORFqf5jQ.mjs → BSTIZiKBGgwjXLtp.mjs} +1 -1
- package/node/esm/{l8mcLBezFW9dkg5N.mjs → BqLlyKyVXFNiRaJv.mjs} +1 -1
- package/node/esm/{DXwKau3GlIioZkFC.mjs → CGaHni9C2sipjSMn.mjs} +1 -1
- package/node/esm/{Ck5obwB4YN3EaFYQ.mjs → Cq6TadzONqFlX07d.mjs} +1 -1
- package/node/esm/{CEDKrfqPSMDT9wZY.mjs → CwKoYwlrp9nnVHln.mjs} +1 -1
- package/node/esm/{DHpIxaLHKL41gA1f.mjs → D71WQjM6hP5FzBql.mjs} +1 -1
- package/node/esm/{DBwzi9m6T7hDldM4.mjs → Df6HNjgJTgShGC-O.mjs} +1 -1
- package/node/esm/{CqmV-z1wjbh8jIia.mjs → H012qdl97RHln5MW.mjs} +1 -1
- package/node/esm/index.mjs +10 -9
- package/package.json +8 -8
- package/types/index.d.ts +4 -2
|
@@ -11,7 +11,7 @@ import Qt, { createPortal as Ps } from "react-dom";
|
|
|
11
11
|
import { CommonUtils as to, ChainedError as In, ErrorUtils as Rs, ExpectedError as Ms, PartialError as Ns, UndoManager as Fs } from "@sheetxl/utils";
|
|
12
12
|
import { IOUtils as Jt } from "@sheetxl/io";
|
|
13
13
|
/**
|
|
14
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.7.
|
|
14
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.7.12
|
|
15
15
|
*
|
|
16
16
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
17
17
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -144,7 +144,7 @@ const Os = q(X((n, a) => {
|
|
|
144
144
|
r?.set(i, p);
|
|
145
145
|
const s = p.toRGBA().toString();
|
|
146
146
|
l?.set(s, p);
|
|
147
|
-
}, $s = ae.lazy(() => import("./
|
|
147
|
+
}, $s = ae.lazy(() => import("./fsGSNDVe9urk2cLB.mjs")), Vs = q(X((n, a) => {
|
|
148
148
|
const { selectedColor: t = null, previewColor: e = n.selectedColor ?? null, recentColors: r, schemeLookup: l, disableAlpha: c = !1, previewDebounceTime: p = 100, initialPanelType: i, defaultButtonSize: s = 24, width: d, onElementLoad: x, onDone: g, onEyeDropStart: m, onEyeDropStop: u, onPreviewColor: b, onPreviewColorImmediate: y, onSelectColor: f, autoColor: h, autoColorLabel: w = "Automatic", autoColorPosition: v = Ro.Start, compareRGB: S = !1, darkMode: C = !1, ...D } = n, T = e || t, P = Y(b, [b]), R = Y(y, [y]), k = Y(f, [f]), E = Y(m, [m]), M = Y(u, [u]), [I, F] = _(!1), L = Ke(), O = W(() => l || ft.getDefaultSchemeLookup(), [l]), z = W(() => {
|
|
149
149
|
const G = /* @__PURE__ */ new Map(), se = /* @__PURE__ */ new Map(), Re = [];
|
|
150
150
|
Le("Primary Background", "bg1", O, Re, G, se), Le("Primary Text", "tx1", O, Re, G, se), Le("Secondary Background", "bg2", O, Re, G, se), Le("Secondary Text", "tx2", O, Re, G, se), Le("Accent 1", "accent1", O, Re, G, se), Le("Accent 2", "accent2", O, Re, G, se), Le("Accent 3", "accent3", O, Re, G, se), Le("Accent 4", "accent4", O, Re, G, se), Le("Accent 5", "accent5", O, Re, G, se), Le("Accent 6", "accent6", O, Re, G, se);
|
|
@@ -517,7 +517,7 @@ const ec = q(X((n, a) => {
|
|
|
517
517
|
const d = { variant: re.Menuitem, commandHook: e, scope: "sort", disabled: l }, x = s.getCommand("sortCustom"), g = H(le, { children: [o(N, { ...d, command: s.getCommand("sortAscending") }), o(N, { ...d, command: s.getCommand("sortDescending") }), x ? o(N, { ...d, command: x }) : null, o(Q, { orientation: "horizontal" }), o(N, { ...d, scope: "filter", command: s.getCommand("autoFilterToggle") }), o(N, { ...d, scope: "filter", command: s.getCommand("autoFilterClear") }), o(N, { ...d, scope: "filter", command: s.getCommand("autoFilterReapply") })] });
|
|
518
518
|
return ge({ ...i, children: g });
|
|
519
519
|
}, [l, e, r]);
|
|
520
|
-
return o(Se, { ref: a, commands: t, commandHook: e, scope: r, disabled: l, label: "Sort", tooltip: H(le, { children: [o("span", { children: "Organize your data so it's easier to analyze." }), o("br", {}), o("span", { children: "You can sort the selected data from smallest to largest or largest to smallest." })] }), createPopupPanel: p, icon: "
|
|
520
|
+
return o(Se, { ref: a, commands: t, commandHook: e, scope: r, disabled: l, label: "Sort", tooltip: H(le, { children: [o("span", { children: "Organize your data so it's easier to analyze." }), o("br", {}), o("span", { children: "You can sort the selected data from smallest to largest or largest to smallest." })] }), createPopupPanel: p, icon: "SortFilter", ...c });
|
|
521
521
|
})), ap = q(X((n, a) => {
|
|
522
522
|
const { commands: t, commandHook: e, scope: r, disabled: l = !1, ...c } = n, p = U((i, s) => {
|
|
523
523
|
const d = { variant: re.Menuitem, commandHook: e, scope: "sort", disabled: l }, x = H(le, { children: [o(N, { ...d, scope: "filter", command: s.getCommand("autoFilterToggle") }), o(N, { ...d, scope: "filter", command: s.getCommand("autoFilterClear") }), o(N, { ...d, scope: "filter", command: s.getCommand("autoFilterReapply") })] });
|
|
@@ -620,7 +620,7 @@ const tc = q(X((n, a) => {
|
|
|
620
620
|
const g = { variant: re.Menuitem, commandHook: r, scope: "paste", disabled: p }, m = [];
|
|
621
621
|
return c && (m.push(ke(N, { ...g, command: x.getCommand("paste"), key: "paste" })), m.push(o(Q, { orientation: "horizontal" }, "paste-div"))), m.push(ke(N, { ...g, command: x.getCommand("pasteValues"), key: "pasteValues" })), m.push(ke(N, { ...g, command: x.getCommand("pasteFormats"), key: "pasteFormats" })), m.push(ke(N, { ...g, command: x.getCommand("pasteFormulas"), key: "pasteFormulas" })), m.push(ke(N, { ...g, command: x.getCommand("pasteTranspose"), key: "pasteTranspose" })), m.push(ke(N, { ...g, command: x.getCommand("pasteLinks"), key: "pasteLinks" })), ge({ ...d, children: m });
|
|
622
622
|
}, [p, r, l, c]);
|
|
623
|
-
return o(Se, { ref: a, commands: e, commandHook: r, scope: l, createPopupPanel: s, label: "Paste", tooltip: "Add content to the clipboard to your document.", quickCommand: "paste",
|
|
623
|
+
return o(Se, { ref: a, commands: e, commandHook: r, scope: l, createPopupPanel: s, label: "Paste", tooltip: "Add content to the clipboard to your document.", quickCommand: "paste", ...i });
|
|
624
624
|
})), rc = q(X((n, a) => {
|
|
625
625
|
const { commands: t, commandHook: e, scope: r, disabled: l = !1, parentFloat: c, ...p } = n, i = Ie(t, ["sheetViewToggleShowHeadings", "sheetViewToggleShowHeadingColumns", "sheetViewToggleShowHeadingRows"]), s = U((d, x) => {
|
|
626
626
|
const g = { variant: re.Menuitem, parentFloat: d.floatReference, commandHook: e, scope: r, disabled: l }, m = H(le, { children: [o(N, { ...g, command: x.getCommand("sheetViewToggleShowHeadings") }), o(N, { ...g, command: x.getCommand("sheetViewToggleShowHeadingsNumeric") }), o(Q, { orientation: "horizontal" }), o(N, { ...g, command: x.getCommand("sheetViewToggleShowHeadingColumns") }), o(N, { ...g, command: x.getCommand("sheetViewToggleShowHeadingRows") })] });
|
|
@@ -1991,7 +1991,7 @@ const si = q(X((n, a) => {
|
|
|
1991
1991
|
v && (R = o(he, { iconKey: "Lock" })), h !== Ft.Visibility.Visible && (R = o(he, { iconKey: "VisibilityOff", style: { opacity: d.isStructureAllowed() ? 1 : 0.7 }, color: "secondary" })), R && (R = o(B, { sx: { display: "flex", flex: "1 1 100%", alignItems: "center", ml: "16px", "& *": { lineHeight: "1em", fontSize: "1.3em" } }, children: R })), m.push(o(ct, { disabled: !d.isStructureAllowed() && h === Ft.Visibility.Hidden, sx: { color: (k) => {
|
|
1992
1992
|
let E = w ? k.palette.primary.main : k.palette.text.secondary;
|
|
1993
1993
|
return T && (E = T), h === Ft.Visibility.Hidden && (E = Qe(E, k.palette.action.disabledOpacity)), E;
|
|
1994
|
-
}, borderLeft: (k) => `${w ? k.palette.primary.main : "transparent"} solid 2px`, paddingLeft: "4px", fontWeight: w ? "700" : "400", "&:hover": { fontWeight: "700" } }, icon: w ? o(nn, {}) : void 0, onMouseDown: (k) => k.preventDefault(), onMouseUp: () => {
|
|
1994
|
+
}, borderLeft: (k) => `${w ? k.palette.primary.main : "transparent"} solid 2px`, paddingLeft: "4px", paddingTop: "4px", paddingBottom: "4px", fontWeight: w ? "700" : "400", "&:hover": { fontWeight: "700" } }, icon: w ? o(nn, {}) : void 0, onMouseDown: (k) => k.preventDefault(), onMouseUp: () => {
|
|
1995
1995
|
Promise.resolve(r.closeAll()).then(() => {
|
|
1996
1996
|
try {
|
|
1997
1997
|
f.select();
|
|
@@ -2345,7 +2345,7 @@ const Cn = 0.12, Qr = (n, a) => {
|
|
|
2345
2345
|
const v = H(B, { sx: { display: "flex", flexDirection: "column", flex: "1 1 100%", overflow: "hidden" }, children: [w.length > 0 ? H(le, { children: [o(B, { sx: { overflow: "auto", flex: "1 1 100%" }, children: w }), o(Q, { orientation: "horizontal" })] }) : null, ke(N, { ...f, key: "help", command: t.getCommand("help") })] });
|
|
2346
2346
|
return ge({ ...b, children: v });
|
|
2347
2347
|
}, [l, e, r, d, m]);
|
|
2348
|
-
return o(Se, { ref: a, commands: t, disabled: l, commandHook: e, scope: r, label: "Insert Script", tooltip: "Inserts a script from a set of templates.", createPopupPanel: u, icon: "
|
|
2348
|
+
return o(Se, { ref: a, commands: t, disabled: l, commandHook: e, scope: r, label: "Insert Script", tooltip: "Inserts a script from a set of templates.", createPopupPanel: u, icon: "ScriptInsert", ...p });
|
|
2349
2349
|
})), fi = q(X((n, a) => {
|
|
2350
2350
|
const { commands: t, parentFloat: e, commandButtonProps: r, ...l } = n, c = Y((p) => {
|
|
2351
2351
|
const { commandButtonProps: i, commandPopupProps: s } = p;
|
|
@@ -4190,7 +4190,7 @@ const Yi = q((n) => {
|
|
|
4190
4190
|
const { showModal: pe } = hs();
|
|
4191
4191
|
return de(() => {
|
|
4192
4192
|
const j = () => new Promise((K, ee) => {
|
|
4193
|
-
const V = ae.lazy(() => import("./
|
|
4193
|
+
const V = ae.lazy(() => import("./B7ChnkonDRA2zazH.mjs")), A = pe(V, { title: "Shortcut Keys Reference", commands: z, onDone: () => {
|
|
4194
4194
|
A.hide();
|
|
4195
4195
|
}, slotProps: { transition: { onExited: () => {
|
|
4196
4196
|
K(!0);
|
|
@@ -4236,7 +4236,7 @@ const Zi = q((n) => {
|
|
|
4236
4236
|
const D = { ...S, onKeyDown: (T) => {
|
|
4237
4237
|
T.isDefaultPrevented() || T.isPropagationStopped() || S?.onKeyDown?.(T);
|
|
4238
4238
|
} };
|
|
4239
|
-
return d(v, { sort: () => import("./
|
|
4239
|
+
return d(v, { sort: () => import("./CA-_Kya2gsMrF9Ef.mjs"), numberFormat: () => import("./aeHM-2IGRQaGFohd.mjs"), hyperlink: () => import("./BzGH26JDt4xKZfM7.mjs"), comments: () => import("./lm9H6CMj_7o_ra2l.mjs"), find: () => import("./CGBRrUgnGzuP9FGo.mjs"), tableNew: () => import("./csScKLYnqrrlL197.mjs"), namedDetails: () => import("./BZPlU0oT2oGTQQgK.mjs") }[v], D, C);
|
|
4240
4240
|
}, showOptions: x, showInputOptions: g, showError: (v) => {
|
|
4241
4241
|
let S, C = wt.Error, D = "Unknown Error";
|
|
4242
4242
|
typeof v == "string" ? D = v : v instanceof Error && (S = v, v.message && (D = v.message)), v instanceof Ns && (C = wt.Info), f(D, { type: C, enqueueProps: { error: S } });
|
|
@@ -4412,36 +4412,37 @@ export {
|
|
|
4412
4412
|
zn as _,
|
|
4413
4413
|
Vt as a,
|
|
4414
4414
|
tr as a0,
|
|
4415
|
-
|
|
4416
|
-
|
|
4417
|
-
|
|
4418
|
-
|
|
4419
|
-
|
|
4420
|
-
|
|
4421
|
-
|
|
4422
|
-
|
|
4423
|
-
|
|
4424
|
-
|
|
4425
|
-
|
|
4426
|
-
|
|
4427
|
-
|
|
4428
|
-
|
|
4429
|
-
|
|
4430
|
-
|
|
4431
|
-
|
|
4432
|
-
|
|
4433
|
-
|
|
4434
|
-
|
|
4435
|
-
|
|
4436
|
-
|
|
4437
|
-
|
|
4438
|
-
|
|
4439
|
-
|
|
4440
|
-
|
|
4441
|
-
|
|
4442
|
-
|
|
4443
|
-
|
|
4444
|
-
|
|
4415
|
+
Lo as a1,
|
|
4416
|
+
Oa as a2,
|
|
4417
|
+
bc as a3,
|
|
4418
|
+
xc as a4,
|
|
4419
|
+
yc as a5,
|
|
4420
|
+
Za as a6,
|
|
4421
|
+
Ya as a7,
|
|
4422
|
+
ri as a8,
|
|
4423
|
+
ni as a9,
|
|
4424
|
+
ai as aa,
|
|
4425
|
+
Pc as ab,
|
|
4426
|
+
_a as ac,
|
|
4427
|
+
cc as ad,
|
|
4428
|
+
uc as ae,
|
|
4429
|
+
td as af,
|
|
4430
|
+
od as ag,
|
|
4431
|
+
nd as ah,
|
|
4432
|
+
ii as ai,
|
|
4433
|
+
li as aj,
|
|
4434
|
+
si as ak,
|
|
4435
|
+
lp as al,
|
|
4436
|
+
Mi as am,
|
|
4437
|
+
Ni as an,
|
|
4438
|
+
Pi as ao,
|
|
4439
|
+
Di as ap,
|
|
4440
|
+
zc as aq,
|
|
4441
|
+
Hc as ar,
|
|
4442
|
+
Qr as as,
|
|
4443
|
+
Vn as at,
|
|
4444
|
+
Wd as au,
|
|
4445
|
+
Lt as av,
|
|
4445
4446
|
Ln as b,
|
|
4446
4447
|
Do as c,
|
|
4447
4448
|
di as d,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.7.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.7.12
|
|
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.
|
|
@@ -6,7 +6,7 @@ import { NumberFormat as n } from "@sheetxl/sdk";
|
|
|
6
6
|
import { useCallbackRef as c, KeyCodes as Q } from "@sheetxl/utils-react";
|
|
7
7
|
import { OptionsDialog as U } from "@sheetxl/utils-mui";
|
|
8
8
|
/**
|
|
9
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.7.
|
|
9
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.7.12
|
|
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.
|
|
@@ -3,9 +3,9 @@ import { memo as N, useState as i, useCallback as T } from "react";
|
|
|
3
3
|
import { Box as w, FormControlLabel as F, Checkbox as j } from "@mui/material";
|
|
4
4
|
import { useCallbackRef as v } from "@sheetxl/utils-react";
|
|
5
5
|
import { OptionsDialog as y } from "@sheetxl/utils-mui";
|
|
6
|
-
import { R } from "./
|
|
6
|
+
import { R } from "./CRmCo9Jr1gvSFGVp.mjs";
|
|
7
7
|
/**
|
|
8
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.7.
|
|
8
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.7.12
|
|
9
9
|
*
|
|
10
10
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
11
11
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -2,10 +2,10 @@ import { jsxs as ie, jsx as U } from "react/jsx-runtime";
|
|
|
2
2
|
import O, { isValidElement as qu, PureComponent as pe, Component as de, memo as Ku, useState as ft, useCallback as ct, useLayoutEffect as Gu } from "react";
|
|
3
3
|
import { useTheme as Ju } from "@mui/material/styles";
|
|
4
4
|
import { Box as Qu } from "@mui/material";
|
|
5
|
-
import { g as mu, r as Zu, c as ve, C as es } from "./
|
|
5
|
+
import { g as mu, r as Zu, c as ve, C as es } from "./CRmCo9Jr1gvSFGVp.mjs";
|
|
6
6
|
import { ReactUtils as ts } from "@sheetxl/utils-react";
|
|
7
7
|
/**
|
|
8
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.7.
|
|
8
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.7.12
|
|
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.
|
package/browser/esm/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode("._sheetxl-reset_11z3j_1{display:block;margin:0;padding:0;line-height:1}._sheetxl-reset_11z3j_1 table,._sheetxl-reset_11z3j_1 thead,._sheetxl-reset_11z3j_1 tbody,._sheetxl-reset_11z3j_1 tfoot,._sheetxl-reset_11z3j_1 tr,._sheetxl-reset_11z3j_1 th,._sheetxl-reset_11z3j_1 td{display:block;width:auto;height:auto;margin:0;padding:0;border:none;border-collapse:inherit;border-spacing:0;border-color:inherit;vertical-align:inherit;text-align:left;font-weight:inherit;-webkit-border-horizontal-spacing:0;-webkit-border-vertical-spacing:0}._sheetxl-reset_11z3j_1 th,._sheetxl-reset_11z3j_1 td{display:inline}html{color:initial}._table-style-options-container_1kfn2_1{container-type:inline-size}._table-style-options_1kfn2_1{display:grid;grid-template-columns:1fr;user-select:none}@container (width > 600px){._table-style-options_1kfn2_1{grid-template-rows:repeat(3,auto);grid-auto-flow:column;grid-auto-columns:1fr;gap:2px}}._range-row_akhf4_1{display:flex;flex-direction:column;flex:1 1 100%;width:100%;align-items:center}@container (width > 600px){._range-row_akhf4_1{flex-direction:row;gap:12px;justify-content:space-between}}._action-row_akhf4_15{display:flex;align-items:start;flex-direction:column;width:100%;gap:4px}@container (width > 600px){._action-row_akhf4_15{align-items:center;flex-direction:row;justify-content:space-evenly}}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4{fill:currentColor}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .activeColor{fill:var(--sxl-color-active)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .background{fill:var(--sxl-app-color-background)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .grey{fill:var(--sxl-app-color-grey)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .highContrast{fill:var(--sxl-app-color-high)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .info{fill:var(--sxl-app-color-info)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .info.light{fill:var(--sxl-app-color-info-light)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .info.dark{fill:var(--sxl-app-color-info-dark)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .secondary{fill:var(--sxl-app-color-secondary)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .secondary.light{fill:var(--sxl-app-color-secondary-light)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .secondary.dark{fill:var(--sxl-app-color-secondary-dark)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .success{fill:var(--sxl-app-color-success)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .success.light{fill:var(--sxl-app-color-success-light)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .success.dark{fill:var(--sxl-app-color-success-dark)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .warning{fill:var(--sxl-app-color-warning)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .warning .light{fill:var(--sxl-app-color-warning-light)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .warning .dark{fill:var(--sxl-app-color-warning-dark)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .error{fill:var(--sxl-app-color-error)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .error .light{fill:var(--sxl-app-color-error-light)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .error .dark{fill:var(--sxl-app-color-error-dark)}._sheetxl-workbook_g5t6x_5{display:flex;position:relative;overflow:hidden;flex-direction:column;width:100%;height:100%;min-width:0;min-height:0;outline:none}._sheetxl-workbook_g5t6x_5 .splitPane .styled-resizer{background-color:var(--sxl-app-color-grey, grey)}._sheetxl-workbook_g5t6x_5 .splitPane .styled-resizer:hover,._sheetxl-workbook_g5t6x_5 .splitPane.dragging .styled-resizer{background-color:var(--sxl-app-color-primary, blue)}._card_1a398_7{width:100%}._actionRoot_1a398_11{padding:8px 8px 8px 16px;justify-content:space-between}._icons_1a398_16{margin-left:auto;display:flex;align-items:center}._expand_1a398_22{padding:8px;transform:rotate(0);color:#d32f2f;transition:all .2s ease-in-out}._expandOpen_1a398_29{transform:rotate(180deg)}._stackTraceContainer_1a398_33{padding:16px}._paper_1a398_37{background-color:#fff;padding:16px}._checkIcon_1a398_42{font-size:20px;padding-right:4px}._button_1a398_47{padding:0;text-transform:none}")),document.head.appendChild(e)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
|
|
2
2
|
import { LicenseManager as t } from "@sheetxl/sdk";
|
|
3
3
|
import { DefaultTaskPaneRegistry as n, useModelListener as s, useRangeListener as m } from "@sheetxl/react";
|
|
4
|
-
import { E as u, Z as r, B as d, O as C, X as B, n as i, o as
|
|
4
|
+
import { E as u, Z as r, B as d, O as C, X as B, n as i, o as p, m as S, k, a0 as P, a1 as T, t as b, $ as F, Y as c, a2 as g, D as y, at as I, l as f, aa as h, s as W, ab as x, h as M, v as w, i as L, a8 as v, F as A, G as D, H as E, L as O, K as R, I as N, M as V, a9 as z, N as H, j as U, P as G, z as j, A as q, R as Z, ai as J, aj as K, a7 as Q, ak as X, q as Y, a6 as _, S as $, Q as aa, af as oa, ag as ta, ah as ea, ad as na, ae as sa, ac as ma, w as la, T as ua, f as ra, a3 as da, a4 as Ca, a5 as Ba, x as ia, U as pa, V as Sa, p as ka, y as Pa, J as Ta, ao as ba, am as Fa, av as ca, ap as ga, an as ya, W as Ia, au as fa, as as ha, S as Wa, ar as xa, al as Ma, aq as wa } from "./CRmCo9Jr1gvSFGVp.mjs";
|
|
5
5
|
/**
|
|
6
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.7.
|
|
6
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.7.12
|
|
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.
|
|
@@ -13,80 +13,81 @@ export {
|
|
|
13
13
|
r as AutoColorPosition,
|
|
14
14
|
d as BorderCommandButton,
|
|
15
15
|
C as BorderPopupButton,
|
|
16
|
-
B as
|
|
16
|
+
B as BorderStylePopupButton,
|
|
17
17
|
i as CellsDeleteCommandButton,
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
p as CellsFormatCommandButton,
|
|
19
|
+
S as CellsInsertCommandButton,
|
|
20
20
|
k as ClearCommandButton,
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
b as
|
|
24
|
-
F as
|
|
25
|
-
c as
|
|
21
|
+
P as ColorButton,
|
|
22
|
+
T as ColorButtonList,
|
|
23
|
+
b as ColorCommandButton,
|
|
24
|
+
F as ColorPanel,
|
|
25
|
+
c as ColorPanelType,
|
|
26
|
+
g as ColorPopupButton,
|
|
26
27
|
n as DefaultTaskPaneRegistry,
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
28
|
+
y as DocThemeCommandButton,
|
|
29
|
+
I as EagerStudio,
|
|
30
|
+
f as FillCommandButton,
|
|
31
|
+
h as FilterColumnMenu,
|
|
32
|
+
W as FilterCommandButton,
|
|
33
|
+
x as Filters,
|
|
34
|
+
M as FindCommandButton,
|
|
35
|
+
w as FontFamilyCommandButton,
|
|
36
|
+
L as FontSizeCommandButton,
|
|
37
|
+
v as FormulaBar,
|
|
38
|
+
A as FreezeCommandButton,
|
|
39
|
+
D as HelpCommandButton,
|
|
40
|
+
E as HorizontalAlignCommandButton,
|
|
40
41
|
O as InsertFunctionCommandPopupButton,
|
|
41
42
|
R as InsertFunctionSumCommandPopupButton,
|
|
42
|
-
|
|
43
|
+
N as InsertImageCommandButton,
|
|
43
44
|
t as LicenseManager,
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
45
|
+
V as MergeCommandButton,
|
|
46
|
+
z as NamedCollectionEditor,
|
|
47
|
+
H as NamedInput,
|
|
48
|
+
U as NumberFormatCommandButton,
|
|
49
|
+
G as PasteCommandButton,
|
|
50
|
+
j as PresetCellStylesCommandButton,
|
|
51
|
+
q as PresetTableStylesCommandButton,
|
|
52
|
+
Z as RangeInput,
|
|
53
|
+
J as SheetTab,
|
|
54
|
+
K as SheetTabMenu,
|
|
55
|
+
Q as SheetZoomScale,
|
|
56
|
+
X as SheetsAllMenu,
|
|
57
|
+
Y as SortFilterCommandButton,
|
|
58
|
+
_ as StatusBar,
|
|
59
|
+
$ as Studio,
|
|
60
|
+
aa as StyledStrokeIcon,
|
|
61
|
+
oa as TableDetailsPanel,
|
|
62
|
+
ta as TableDetailsTaskPane,
|
|
63
|
+
ea as TablePlugin,
|
|
64
|
+
na as TableStyleCanvasPreview,
|
|
65
|
+
sa as TableStyleOptionsPanel,
|
|
66
|
+
ma as TableStylePreview,
|
|
67
|
+
la as TextEffectsCommandButton,
|
|
68
|
+
ua as TextOverflowCommandButton,
|
|
69
|
+
ra as TextRotateCommandButton,
|
|
70
|
+
da as ThemeSelectButton,
|
|
71
|
+
Ca as ThemeSelectPanel,
|
|
72
|
+
Ba as ThemeSelectPopupButton,
|
|
73
|
+
ia as UnderlineCommandButton,
|
|
74
|
+
pa as UndoRedoCommandButton,
|
|
74
75
|
Sa as VerticalAlignCommandButton,
|
|
75
|
-
|
|
76
|
-
|
|
76
|
+
ka as ViewGridLinesCommandButton,
|
|
77
|
+
Pa as ViewHeadingsCommandButton,
|
|
77
78
|
Ta as WalkingCopyCommandButton,
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
79
|
+
ba as WorkbookContextMenu,
|
|
80
|
+
Fa as WorkbookElement,
|
|
81
|
+
ca as WorkbookIO,
|
|
82
|
+
ga as WorkbookStrip,
|
|
83
|
+
ya as WorkbookTitle,
|
|
84
|
+
Ia as WorkbookViewCommandButton,
|
|
85
|
+
fa as _WorkbookIO,
|
|
86
|
+
ha as createGridStyleFromMUITheme,
|
|
87
|
+
Wa as default,
|
|
88
|
+
xa as defaultNewWorkbook,
|
|
89
|
+
Ma as setPrintExamplesOnLoad,
|
|
89
90
|
s as useModelListener,
|
|
90
91
|
m as useRangeListener,
|
|
91
|
-
|
|
92
|
+
wa as useWorkbookCommands
|
|
92
93
|
};
|
|
@@ -5,7 +5,7 @@ import { Box as V, FormControl as $, TextField as j } from "@mui/material";
|
|
|
5
5
|
import { useCallbackRef as m } from "@sheetxl/utils-react";
|
|
6
6
|
import { OptionsDialog as z } from "@sheetxl/utils-mui";
|
|
7
7
|
/**
|
|
8
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.7.
|
|
8
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.7.12
|
|
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,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.7.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.7.12
|
|
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.7.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.7.12
|
|
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.7.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.7.12
|
|
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.7.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.7.12
|
|
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.7.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.7.12
|
|
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.7.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.7.12
|
|
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.7.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.7.12
|
|
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.7.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.7.12
|
|
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.7.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.7.12
|
|
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.
|
package/node/esm/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.7.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.7.12
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -140,7 +140,7 @@ const ro = $(O((e2, t2) => {
|
|
|
140
140
|
r2?.set(d2, s2);
|
|
141
141
|
const c2 = s2.toRGBA().toString();
|
|
142
142
|
l2?.set(c2, s2);
|
|
143
|
-
}, ko = W.lazy(() => import("./
|
|
143
|
+
}, ko = W.lazy(() => import("./Df6HNjgJTgShGC-O.mjs")), So = $(O((t2, a2) => {
|
|
144
144
|
const { selectedColor: r2 = null, previewColor: l2 = t2.selectedColor ?? null, recentColors: i2, schemeLookup: s2, disableAlpha: d2 = false, previewDebounceTime: c2 = 100, initialPanelType: m2, defaultButtonSize: p2 = 24, width: u2, onElementLoad: g2, onDone: h2, onEyeDropStart: f2, onEyeDropStop: x2, onPreviewColor: b2, onPreviewColorImmediate: y2, onSelectColor: w2, autoColor: k2, autoColorLabel: S2 = "Automatic", autoColorPosition: C2 = mo.Start, compareRGB: v2 = false, darkMode: T2 = false, ...R2 } = t2, P2 = l2 || r2, D2 = gt(b2, [b2]), M2 = gt(y2, [y2]), F2 = gt(w2, [w2]), N2 = gt(f2, [f2]), B2 = gt(x2, [x2]), [E2, A2] = U(false), I2 = zt(), W2 = V(() => s2 || e.getDefaultSchemeLookup(), [s2]), $2 = V(() => {
|
|
145
145
|
const e2 = /* @__PURE__ */ new Map(), t3 = /* @__PURE__ */ new Map(), n2 = [];
|
|
146
146
|
wo("Primary Background", "bg1", W2, n2, e2, t3), wo("Primary Text", "tx1", W2, n2, e2, t3), wo("Secondary Background", "bg2", W2, n2, e2, t3), wo("Secondary Text", "tx2", W2, n2, e2, t3), wo("Accent 1", "accent1", W2, n2, e2, t3), wo("Accent 2", "accent2", W2, n2, e2, t3), wo("Accent 3", "accent3", W2, n2, e2, t3), wo("Accent 4", "accent4", W2, n2, e2, t3), wo("Accent 5", "accent5", W2, n2, e2, t3), wo("Accent 6", "accent6", W2, n2, e2, t3);
|
|
@@ -517,7 +517,7 @@ const Vo = $(O((e2, t2) => {
|
|
|
517
517
|
const o3 = { variant: ut.Menuitem, commandHook: n2, scope: "sort", disabled: r2 }, a3 = t3.getCommand("sortCustom"), l3 = L(H, { children: [z(ve, { ...o3, command: t3.getCommand("sortAscending") }), z(ve, { ...o3, command: t3.getCommand("sortDescending") }), a3 ? z(ve, { ...o3, command: a3 }) : null, z(Te, { orientation: "horizontal" }), z(ve, { ...o3, scope: "filter", command: t3.getCommand("autoFilterToggle") }), z(ve, { ...o3, scope: "filter", command: t3.getCommand("autoFilterClear") }), z(ve, { ...o3, scope: "filter", command: t3.getCommand("autoFilterReapply") })] });
|
|
518
518
|
return Re({ ...e3, children: l3 });
|
|
519
519
|
}, [r2, n2, a2]);
|
|
520
|
-
return z(Pe, { ref: t2, commands: o2, commandHook: n2, scope: a2, disabled: r2, label: "Sort", tooltip: L(H, { children: [z("span", { children: "Organize your data so it's easier to analyze." }), z("br", {}), z("span", { children: "You can sort the selected data from smallest to largest or largest to smallest." })] }), createPopupPanel: i2, icon: "
|
|
520
|
+
return z(Pe, { ref: t2, commands: o2, commandHook: n2, scope: a2, disabled: r2, label: "Sort", tooltip: L(H, { children: [z("span", { children: "Organize your data so it's easier to analyze." }), z("br", {}), z("span", { children: "You can sort the selected data from smallest to largest or largest to smallest." })] }), createPopupPanel: i2, icon: "SortFilter", ...l2 });
|
|
521
521
|
})), Go = $(O((e2, t2) => {
|
|
522
522
|
const { commands: o2, commandHook: n2, scope: a2, disabled: r2 = false, ...l2 } = e2, i2 = K((e3, t3) => {
|
|
523
523
|
const o3 = { variant: ut.Menuitem, commandHook: n2, scope: "sort", disabled: r2 }, a3 = L(H, { children: [z(ve, { ...o3, scope: "filter", command: t3.getCommand("autoFilterToggle") }), z(ve, { ...o3, scope: "filter", command: t3.getCommand("autoFilterClear") }), z(ve, { ...o3, scope: "filter", command: t3.getCommand("autoFilterReapply") })] });
|
|
@@ -620,7 +620,7 @@ const qo = $(O((e2, t2) => {
|
|
|
620
620
|
const o3 = { variant: ut.Menuitem, commandHook: a2, scope: "paste", disabled: i2 }, n3 = [];
|
|
621
621
|
return l2 && (n3.push(X(ve, { ...o3, command: t3.getCommand("paste"), key: "paste" })), n3.push(z(Te, { orientation: "horizontal" }, "paste-div"))), n3.push(X(ve, { ...o3, command: t3.getCommand("pasteValues"), key: "pasteValues" })), n3.push(X(ve, { ...o3, command: t3.getCommand("pasteFormats"), key: "pasteFormats" })), n3.push(X(ve, { ...o3, command: t3.getCommand("pasteFormulas"), key: "pasteFormulas" })), n3.push(X(ve, { ...o3, command: t3.getCommand("pasteTranspose"), key: "pasteTranspose" })), n3.push(X(ve, { ...o3, command: t3.getCommand("pasteLinks"), key: "pasteLinks" })), Re({ ...e3, children: n3 });
|
|
622
622
|
}, [i2, a2, r2, l2]);
|
|
623
|
-
return z(Pe, { ref: t2, commands: n2, commandHook: a2, scope: r2, createPopupPanel: d2, label: "Paste", tooltip: "Add content to the clipboard to your document.", quickCommand: "paste",
|
|
623
|
+
return z(Pe, { ref: t2, commands: n2, commandHook: a2, scope: r2, createPopupPanel: d2, label: "Paste", tooltip: "Add content to the clipboard to your document.", quickCommand: "paste", ...s2 });
|
|
624
624
|
})), Qo = $(O((e2, t2) => {
|
|
625
625
|
const { commands: o2, commandHook: n2, scope: a2, disabled: r2 = false, parentFloat: l2, ...i2 } = e2, s2 = pt(o2, ["sheetViewToggleShowHeadings", "sheetViewToggleShowHeadingColumns", "sheetViewToggleShowHeadingRows"]), d2 = K((e3, t3) => {
|
|
626
626
|
const o3 = { variant: ut.Menuitem, parentFloat: e3.floatReference, commandHook: n2, scope: a2, disabled: r2 }, l3 = L(H, { children: [z(ve, { ...o3, command: t3.getCommand("sheetViewToggleShowHeadings") }), z(ve, { ...o3, command: t3.getCommand("sheetViewToggleShowHeadingsNumeric") }), z(Te, { orientation: "horizontal" }), z(ve, { ...o3, command: t3.getCommand("sheetViewToggleShowHeadingColumns") }), z(ve, { ...o3, command: t3.getCommand("sheetViewToggleShowHeadingRows") })] });
|
|
@@ -1193,7 +1193,7 @@ const Fn = $(O((e2, t2) => {
|
|
|
1193
1193
|
d3 && (x2 = z(xt, { iconKey: "Lock" })), i3 !== u.Visibility.Visible && (x2 = z(xt, { iconKey: "VisibilityOff", style: { opacity: c2.isStructureAllowed() ? 1 : 0.7 }, color: "secondary" })), x2 && (x2 = z(J, { sx: { display: "flex", flex: "1 1 100%", alignItems: "center", ml: "16px", "& *": { lineHeight: "1em", fontSize: "1.3em" } }, children: x2 })), e3.push(z(Ae, { disabled: !c2.isStructureAllowed() && i3 === u.Visibility.Hidden, sx: { color: (e4) => {
|
|
1194
1194
|
let t4 = s3 ? e4.palette.primary.main : e4.palette.text.secondary;
|
|
1195
1195
|
return h2 && (t4 = h2), i3 === u.Visibility.Hidden && (t4 = Vt(t4, e4.palette.action.disabledOpacity)), t4;
|
|
1196
|
-
}, borderLeft: (e4) => `${s3 ? e4.palette.primary.main : "transparent"} solid 2px`, paddingLeft: "4px", fontWeight: s3 ? "700" : "400", "&:hover": { fontWeight: "700" } }, icon: s3 ? z($e, {}) : void 0, onMouseDown: (e4) => e4.preventDefault(), onMouseUp: () => {
|
|
1196
|
+
}, borderLeft: (e4) => `${s3 ? e4.palette.primary.main : "transparent"} solid 2px`, paddingLeft: "4px", paddingTop: "4px", paddingBottom: "4px", fontWeight: s3 ? "700" : "400", "&:hover": { fontWeight: "700" } }, icon: s3 ? z($e, {}) : void 0, onMouseDown: (e4) => e4.preventDefault(), onMouseUp: () => {
|
|
1197
1197
|
Promise.resolve(a2.closeAll()).then(() => {
|
|
1198
1198
|
try {
|
|
1199
1199
|
l3.select();
|
|
@@ -1372,7 +1372,7 @@ const An = async (e2) => {
|
|
|
1372
1372
|
const d3 = L(J, { sx: { display: "flex", flexDirection: "column", flex: "1 1 100%", overflow: "hidden" }, children: [i3.length > 0 ? L(H, { children: [z(J, { sx: { overflow: "auto", flex: "1 1 100%" }, children: i3 }), z(Te, { orientation: "horizontal" })] }) : null, X(ve, { ...a3, key: "help", command: o2.getCommand("help") })] });
|
|
1373
1373
|
return Re({ ...e3, children: d3 });
|
|
1374
1374
|
}, [r2, n2, a2, c2, u2]);
|
|
1375
|
-
return z(Pe, { ref: t2, commands: o2, disabled: r2, commandHook: n2, scope: a2, label: "Insert Script", tooltip: "Inserts a script from a set of templates.", createPopupPanel: g2, icon: "
|
|
1375
|
+
return z(Pe, { ref: t2, commands: o2, disabled: r2, commandHook: n2, scope: a2, label: "Insert Script", tooltip: "Inserts a script from a set of templates.", createPopupPanel: g2, icon: "ScriptInsert", ...i2 });
|
|
1376
1376
|
})), jn = $(O((e2, t2) => {
|
|
1377
1377
|
const { commands: o2, parentFloat: n2, commandButtonProps: a2, ...r2 } = e2, l2 = gt((e3) => {
|
|
1378
1378
|
const { commandButtonProps: t3, commandPopupProps: a3 } = e3;
|
|
@@ -2528,7 +2528,7 @@ const tr = $((e2) => {
|
|
|
2528
2528
|
const { showModal: S2 } = nt();
|
|
2529
2529
|
return j(() => {
|
|
2530
2530
|
const e4 = () => new Promise((e5, t4) => {
|
|
2531
|
-
const o4 = W.lazy(() => import("./
|
|
2531
|
+
const o4 = W.lazy(() => import("./H012qdl97RHln5MW.mjs")), n4 = S2(o4, { title: "Shortcut Keys Reference", commands: y2, onDone: () => {
|
|
2532
2532
|
n4.hide();
|
|
2533
2533
|
}, slotProps: { transition: { onExited: () => {
|
|
2534
2534
|
e5(true);
|
|
@@ -2575,7 +2575,7 @@ const or = $((e2) => {
|
|
|
2575
2575
|
const n3 = { ...t4, onKeyDown: (e5) => {
|
|
2576
2576
|
e5.isDefaultPrevented() || e5.isPropagationStopped() || t4?.onKeyDown?.(e5);
|
|
2577
2577
|
} };
|
|
2578
|
-
return c2(e4, { sort: () => import("./
|
|
2578
|
+
return c2(e4, { sort: () => import("./Cq6TadzONqFlX07d.mjs"), numberFormat: () => import("./CGaHni9C2sipjSMn.mjs"), hyperlink: () => import("./CwKoYwlrp9nnVHln.mjs"), comments: () => import("./BSTIZiKBGgwjXLtp.mjs"), find: () => import("./D71WQjM6hP5FzBql.mjs"), tableNew: () => import("./BqLlyKyVXFNiRaJv.mjs"), namedDetails: () => import("./BEFwnAOkyd0CWlex.mjs") }[e4], n3, o4);
|
|
2579
2579
|
}, showOptions: m2, showInputOptions: p2, showError: (t4) => {
|
|
2580
2580
|
let o4, n3 = St.Error, a3 = "Unknown Error";
|
|
2581
2581
|
"string" == typeof t4 ? a3 = t4 : t4 instanceof Error && (o4 = t4, t4.message && (a3 = t4.message)), t4 instanceof Yt && (n3 = St.Info), e3(a3, { type: n3, enqueueProps: { error: o4 } });
|
|
@@ -2726,13 +2726,14 @@ export {
|
|
|
2726
2726
|
mo as AutoColorPosition,
|
|
2727
2727
|
Mo as BorderCommandButton,
|
|
2728
2728
|
Do as BorderPopupButton,
|
|
2729
|
-
Po as
|
|
2729
|
+
Po as BorderStylePopupButton,
|
|
2730
2730
|
ho as C,
|
|
2731
2731
|
Wo as CellsDeleteCommandButton,
|
|
2732
2732
|
$o as CellsFormatCommandButton,
|
|
2733
2733
|
zo as CellsInsertCommandButton,
|
|
2734
2734
|
Lo as ClearCommandButton,
|
|
2735
2735
|
xo as ColorButton,
|
|
2736
|
+
bo as ColorButtonList,
|
|
2736
2737
|
Oo as ColorCommandButton,
|
|
2737
2738
|
So as ColorPanel,
|
|
2738
2739
|
co as ColorPanelType,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sheetxl/studio-mui",
|
|
3
3
|
"description": "Studio - Spreadsheet UI built with SheetXL SDK using React & MUI.",
|
|
4
|
-
"version": "0.7.
|
|
4
|
+
"version": "0.7.12",
|
|
5
5
|
"license": "SEE LICENSE IN <LICENSE>",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"exports": {
|
|
@@ -48,13 +48,13 @@
|
|
|
48
48
|
"charting"
|
|
49
49
|
],
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@sheetxl/grid-react": "^0.7.
|
|
52
|
-
"@sheetxl/io": "^0.7.
|
|
53
|
-
"@sheetxl/react": "^0.7.
|
|
54
|
-
"@sheetxl/sdk": "^0.7.
|
|
55
|
-
"@sheetxl/utils": "^0.7.
|
|
56
|
-
"@sheetxl/utils-mui": "^0.7.
|
|
57
|
-
"@sheetxl/utils-react": "^0.7.
|
|
51
|
+
"@sheetxl/grid-react": "^0.7.12",
|
|
52
|
+
"@sheetxl/io": "^0.7.12",
|
|
53
|
+
"@sheetxl/react": "^0.7.12",
|
|
54
|
+
"@sheetxl/sdk": "^0.7.12",
|
|
55
|
+
"@sheetxl/utils": "^0.7.12",
|
|
56
|
+
"@sheetxl/utils-mui": "^0.7.12",
|
|
57
|
+
"@sheetxl/utils-react": "^0.7.12",
|
|
58
58
|
"clsx": "^2.1.1",
|
|
59
59
|
"csstype": "^3.1.3",
|
|
60
60
|
"file-saver": "^2.0.5",
|
package/types/index.d.ts
CHANGED
|
@@ -123,9 +123,9 @@ export declare interface BorderPopupButtonProps extends Omit<ExhibitPopupIconBut
|
|
|
123
123
|
onPreviewBorder?: (border: Partial<IBorder.Properties> | null) => void;
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
export declare const
|
|
126
|
+
export declare const BorderStylePopupButton: default_2.NamedExoticComponent<Omit<BorderStylePopupButtonProps, "ref"> & default_2.RefAttributes<HTMLElement>>;
|
|
127
127
|
|
|
128
|
-
export declare interface
|
|
128
|
+
export declare interface BorderStylePopupButtonProps extends ExhibitPopupButtonProps {
|
|
129
129
|
selectedStyle: IBorder.StrokeStyle;
|
|
130
130
|
onSelectStyle?: (style: IBorder.StrokeStyle | null) => void;
|
|
131
131
|
/**
|
|
@@ -200,6 +200,8 @@ export declare interface ClearCommandButtonProps extends CommandPopupButtonProps
|
|
|
200
200
|
*/
|
|
201
201
|
export declare const ColorButton: default_2.FC<ColorButtonProps>;
|
|
202
202
|
|
|
203
|
+
export declare const ColorButtonList: default_2.FC<ColorButtonListProps>;
|
|
204
|
+
|
|
203
205
|
export declare interface ColorButtonListProps extends default_2.HTMLAttributes<HTMLElement> {
|
|
204
206
|
title?: string;
|
|
205
207
|
colorDefs: IColor.DefinitionWithLabel[] | IColor.DefinitionWithLabel[][];
|