@sheetxl/studio-mui 0.8.0-beta.18 → 0.8.0-beta.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/esm/{D2ujgcJO_g-Wz6tL.mjs → 3pGM81cqNJ8DDWp_.mjs} +2 -2
- package/browser/esm/{C7BnTVpLGgX_kcmJ.mjs → 8nIjNjh3EYKTlgnw.mjs} +8 -8
- package/browser/esm/{BJcmwuzslRchDgSF.mjs → B0NC2aGu9jgdelTz.mjs} +2 -2
- package/browser/esm/{C7X9krI43CU4eg6-.mjs → B2nWe09MDoBLwo_k.mjs} +1 -1
- package/browser/esm/{DDv_r6PgL9U5-R5y.mjs → B45dW1aZ8s9mufl_.mjs} +2 -2
- package/browser/esm/{1i2GOCzP_uwuwLU5.mjs → B83kgckQsC0aY0NE.mjs} +5 -5
- package/browser/esm/{oBc8AkyrAEssabOC.mjs → B95vnhVq0KnbcA_Y.mjs} +1 -1
- package/browser/esm/{8bZUXEWSZi9k_S1E.mjs → BBbQjMATTPG16Lr9.mjs} +1 -1
- package/browser/esm/{fC6MZtheeHoJmQaQ.mjs → BC0b8N0c-Yenu46_.mjs} +5 -5
- package/browser/esm/{B2a4wwMYmYAKCzxQ.mjs → BCJ3o3M62lsBKbae.mjs} +1 -1
- package/browser/esm/{D5UYA-ocaqXccOz9.mjs → BJY1GNwcHIjXI6Dy.mjs} +1 -1
- package/browser/esm/{D_pfOujnkunwUDXo.mjs → BLZvY9XJL32hg1F-.mjs} +1 -1
- package/browser/esm/{CihxkgnUf8nPi34_.mjs → BMfZqSxbgNWsKjqY.mjs} +2 -2
- package/browser/esm/{DbOR86fbiNhrRKf7.mjs → BQjxD6zW8juryZHL.mjs} +2 -2
- package/browser/esm/{BZR-NXwIGzPYWmXd.mjs → BRfhOI9RpekZBcrO.mjs} +6 -6
- package/browser/esm/{yH10EsR9eo9Zthsc.mjs → BSmY1OUM8_F-moJ0.mjs} +4 -4
- package/browser/esm/{iQrP_vhW_sp4s71r.mjs → BUr5VGHQCYpQeran.mjs} +5 -5
- package/browser/esm/{BBxxJZF2EJ8Ir8C8.mjs → B_Vk87a5g9DxCz2O.mjs} +5 -5
- package/browser/esm/{BoH6LxJaD65sFjEK.mjs → Bece9zSczcJRj6iF.mjs} +2 -2
- package/browser/esm/{B3Nt_WBc1l3GCBgv.mjs → BgxFFejwP2YXqYGy.mjs} +2 -2
- package/browser/esm/{B6vJepS5vmDS-6yI.mjs → BhHlzIhnBJqfHSKP.mjs} +1649 -1554
- package/browser/esm/{C6uAkVUP0yIq5row.mjs → Bik5wGC75z2BvotX.mjs} +3 -3
- package/browser/esm/{Bzmdnbpbcxg0R51k.mjs → BjdZOM-UvDoJaYFo.mjs} +2 -2
- package/browser/esm/{BSCHqmWtrxi7hodH.mjs → Bkw1PteOYKjHz41s.mjs} +3 -3
- package/browser/esm/{BDrrR6bEk1vxHbzj.mjs → BlE9-hSf71ZoAM0M.mjs} +1 -1
- package/browser/esm/{YJgzYYp1xMzxkAHE.mjs → BsBeOKW7EhSZ9E5v.mjs} +4 -4
- package/browser/esm/{DhlfJNOvN7zFLViZ.mjs → Bscb3ZfordY8Cyzo.mjs} +2 -2
- package/browser/esm/{DLal4rukkujtOXW1.mjs → C8FnFcYHBHv7mRsK.mjs} +3 -3
- package/browser/esm/{Djn6orQ4oXLrHTGI.mjs → C8sDMsI-mfPVArSI.mjs} +2 -2
- package/browser/esm/{C7TqRPMpJZbA_OOn.mjs → CDuVmLEi65HzZ-mo.mjs} +2 -2
- package/browser/esm/{CH8ePenim5VvX--K.mjs → CEjud4n-8EggO2Im.mjs} +1 -1
- package/browser/esm/{CB5nX8EbOct6degp.mjs → CLVbEJee8eD3qMJR.mjs} +8 -8
- package/browser/esm/{D9f2rU9s6eWjt1U6.mjs → CMEIC_DYikQRzC9L.mjs} +256 -255
- package/browser/esm/{DqzQr8LRt193aj1o.mjs → CUi2AR-pqVbpTLq4.mjs} +1 -1
- package/browser/esm/{C8nsVSKrp_GHhYr3.mjs → CdFz-uXCDYgv_iOM.mjs} +1 -1
- package/browser/esm/{CDQnDyN5NoiSHowu.mjs → Cmm97cKH5IugcalW.mjs} +1 -1
- package/browser/esm/{BFlxgpwpozp1m6o7.mjs → Cp6H28QXgHRfTJ_n.mjs} +4 -4
- package/browser/esm/{D6S-Dg65OHGNEHcb.mjs → CtJpnIXloxW2qFGC.mjs} +4 -4
- package/browser/esm/{CQMlZxOt24bgmvvv.mjs → CzGACZ7X-3Z7pXxH.mjs} +2 -2
- package/browser/esm/D1EKHirhjR-MmeXo.mjs +8 -0
- package/browser/esm/{CuDRQ-pNBc-ktVy_.mjs → D3mfQHjRbA8iPLtv.mjs} +2 -2
- package/browser/esm/{BPzHePn2CiBErUXC.mjs → D4LGe9Sxrf-egOPN.mjs} +1 -1
- package/browser/esm/{CTvpV8rf9fcWohYU.mjs → D5fCoDA2NoOFViRy.mjs} +4 -4
- package/browser/esm/{C3HntWkKAjnyC3CV.mjs → D9ObD_aKgMWUPN0P.mjs} +4 -4
- package/browser/esm/{Cjy-cHM-DR-Gqk-n.mjs → DApXGOAXNdSZdYbT.mjs} +2 -2
- package/browser/esm/{DG_arYvuGh2bHE-N.mjs → DIC6M937GziE0_9l.mjs} +2 -2
- package/browser/esm/{BHlHoZ7Bg-knm5oa.mjs → DJTesgYNvoQv2Obl.mjs} +4 -4
- package/browser/esm/{lip_SyDs4iBRTs_8.mjs → DM9uGmTSDdyoRyRM.mjs} +3 -3
- package/browser/esm/{ZHTi6N8OUU6QO1QU.mjs → DMWgj1E1kYrTdAnf.mjs} +3 -3
- package/browser/esm/{By3lLqidoNB3DjVD.mjs → DeJenn9MUICppyMl.mjs} +2 -2
- package/browser/esm/{BmLvGcUzmP-znGgq.mjs → DhXTTl8_kMjearig.mjs} +1 -1
- package/browser/esm/Dp2cNfLOjOTs8V8x.mjs +267 -0
- package/browser/esm/{06WRKaJNHc_txDxr.mjs → Dvjjsols1lZ1qITL.mjs} +1 -1
- package/browser/esm/{fYmulvJHp8Wp0wmY.mjs → M-Rp0gM6kZb12Kim.mjs} +1 -1
- package/browser/esm/index.mjs +1074 -299
- package/browser/esm/{DYji4vVp9fnHsk9m.mjs → mBFrzCJis1-EVKL7.mjs} +1 -1
- package/browser/esm/{DXlf0PkvZgV_b6uG.mjs → p4Q_TpZ_s60_L7Ux.mjs} +1 -1
- package/browser/esm/{Cz5qKECCbacDmibP.mjs → s1DZ7iQHOb3R9G7m.mjs} +2 -2
- package/browser/esm/{CM6VmN79n4MRjipP.mjs → v2EnJ1fOZEXqAVlO.mjs} +2 -2
- package/browser/esm/{C2NKwzWjiJFJGukV.mjs → z7Sn4ncaTwiv23Fv.mjs} +4 -4
- package/node/esm/{DSmg7M3yRDDZkUBB.mjs → 9pdLzab-4aEax8pG.mjs} +3 -3
- package/node/esm/{DGv981h_d8G1Z3Zs.mjs → B16pFUEecGy6x7Sf.mjs} +2 -2
- package/node/esm/{DyRNwCwOwz60vRGA.mjs → B47JoJYzEtS6ivoC.mjs} +1 -1
- package/node/esm/{By_evGE-PBrgdKI6.mjs → B90Z94PB2O0Upt5h.mjs} +1 -1
- package/node/esm/{fX-2Y2Fd273TLPO2.mjs → BB5L5Y9qCXXDTqg-.mjs} +1 -1
- package/node/esm/{CpQlurB0oZqjuhgj.mjs → BUzCcr3jpBtj-9vH.mjs} +13 -13
- package/node/esm/{reyCfp4xOOgMNc9U.mjs → BdiSsEIgA0Pvd6bN.mjs} +1 -1
- package/node/esm/{Da-N8ynNfqk6THYD.mjs → BjEZxA3zF89uf47R.mjs} +188 -188
- package/node/esm/{Cs1GzAp4rTyQafpi.mjs → BjwbCQEJ3tllXtIc.mjs} +134 -130
- package/node/esm/{CLEK4zGd0mIKhiKV.mjs → Bkeg-KR5CHgIgCHZ.mjs} +1 -1
- package/node/esm/{oE4HsQTQ_4VVSUwb.mjs → BpJ0H2dpKtg21Mtw.mjs} +3 -3
- package/node/esm/{C7fI-BqM4p4WJS0l.mjs → BulNRuKygH0oLixF.mjs} +1 -1
- package/node/esm/{CFjes3wFNTOeB90c.mjs → CASMs7A6E_qrcIMk.mjs} +1 -1
- package/node/esm/{CBQ1hoazyQvlpJyI.mjs → CDbGB8TtNQhkBXqI.mjs} +1 -1
- package/node/esm/{DVc_bJM9diK0winM.mjs → CF7peiUJfmOOPRFn.mjs} +1 -1
- package/node/esm/{B9duSJ-i0VqTO5_t.mjs → CGZ_p4-_DZzlvhMG.mjs} +2 -2
- package/node/esm/{t1e3-saAZc_bj152.mjs → CHaPiJTvsCR2Z3sC.mjs} +4 -4
- package/node/esm/{DVgkD5LxGRgOyKQ6.mjs → CIAX0QoWY_xslYfv.mjs} +2 -2
- package/node/esm/{JOrOb7X9oZ8Xv7Gx.mjs → CPHJFMyFxjErRLvR.mjs} +2 -2
- package/node/esm/{Bi6LOMeX3-44pU1z.mjs → CY-1AXXWawiEXRDw.mjs} +3 -3
- package/node/esm/{FutOJu4AGdDHpujk.mjs → CYP_F_suVtfwdtBl.mjs} +2 -2
- package/node/esm/{2J7fdwNic7JOS8e6.mjs → ClDMRc2s0BBAKhHL.mjs} +5 -5
- package/node/esm/{DZYhnjts845P5iUY.mjs → D7-QWEykZGrgV_xs.mjs} +2 -2
- package/node/esm/{Djcn2kxMw3dUSbB7.mjs → D9Wle8u7Cs7tigPT.mjs} +4 -4
- package/node/esm/{D4g9aG5XNbSgg-3C.mjs → DCDqfmTkvT0D2Z5h.mjs} +2 -2
- package/node/esm/{CUtSgTUW09Qh72ST.mjs → DGzJYFzo02DBhqYC.mjs} +2 -2
- package/node/esm/DN7uFaCytRrXMJpu.mjs +267 -0
- package/node/esm/{DefzzmrMXN21wmmy.mjs → DSAtnDj1sXUS0LYj.mjs} +1 -1
- package/node/esm/{CIjBJgRnP7WbRBnA.mjs → DV5zGC0IZiv_lqwa.mjs} +1 -1
- package/node/esm/{CqYMLDeBPC2rGTWV.mjs → DhKvwk063hs0qEKD.mjs} +1 -1
- package/node/esm/{DiAOxoMTibKoi4gs.mjs → DiCErpAUUdV9xdwZ.mjs} +1 -1
- package/node/esm/{rLsP_BPGB2QEWTs8.mjs → Dp-aLdsFlu4Aw1Li.mjs} +4 -4
- package/node/esm/{5ifD6QRZEd3huWYb.mjs → DqZ4g3pHAK7bKVvG.mjs} +1 -1
- package/node/esm/{B4sLVPEb397EGucl.mjs → DssxcB0PnN-PgzzK.mjs} +1 -1
- package/node/esm/{CNZKUMbD_hGSw6do.mjs → DzwUDrXp4uuQ6bv0.mjs} +2 -2
- package/node/esm/{CUPV64pU0m9AaOfx.mjs → _gNQ05R589In7vSm.mjs} +3 -3
- package/node/esm/{NoB9LePsgjsq24TO.mjs → e_kM3nD2aaiphEoS.mjs} +2 -2
- package/node/esm/{DIqIt8CBVGmlUOmQ.mjs → i0R7voLYNUjkbop2.mjs} +1 -1
- package/node/esm/index.mjs +4586 -3716
- package/node/esm/{HLmlUPOPJh0q9Uym.mjs → viu5OtK-dXOIQdlG.mjs} +1 -1
- package/package.json +9 -9
- package/resources/contents.json +6 -0
- package/resources/locales/contents.json +14 -0
- package/resources/locales/de/groups.cmd.json +12 -0
- package/resources/locales/de/ui.msg.json +44 -0
- package/resources/locales/de/workbookAnomalies.cmd.json +14 -0
- package/resources/locales/en/groups.cmd.json +12 -0
- package/resources/locales/en/ui.msg.json +44 -0
- package/resources/locales/en/workbookAnomalies.cmd.json +14 -0
- package/types/src/anomalies/AnomaliesCommands.d.ts +8 -0
- package/types/src/anomalies/AnomaliesMessages.d.ts +30 -0
- package/types/src/anomalies/AnomaliesPlugin.d.ts +9 -2
- package/types/src/anomalies/_source.d.ts +7 -0
- package/types/src/chart/ChartPlugin.d.ts +1 -1
- package/types/src/comments/CommentsPlugin.d.ts +1 -1
- package/types/src/conditionalFormat/ConditionalFormatPlugin.d.ts +1 -1
- package/types/src/dataValidation/DataValidationPlugin.d.ts +1 -1
- package/types/src/externalLink/ExternalLinksPlugin.d.ts +1 -1
- package/types/src/format/FormatPlugin.d.ts +1 -6
- package/types/src/index.d.ts +1 -0
- package/types/src/named/NamedPlugin.d.ts +1 -1
- package/types/src/picture/PicturePlugin.d.ts +1 -1
- package/types/src/pivot/PivotPlugin.d.ts +1 -1
- package/types/src/presence/PresenceOverlay.d.ts +14 -0
- package/types/src/presence/PresencePlugin.d.ts +31 -0
- package/types/src/presence/PresenceStrip.d.ts +22 -0
- package/types/src/presence/PresenceTaskPane.d.ts +13 -0
- package/types/src/presence/Timeline.d.ts +29 -0
- package/types/src/presence/index.d.ts +5 -0
- package/types/src/protection/ProtectionPlugin.d.ts +1 -1
- package/types/src/shape/ShapePlugin.d.ts +1 -1
- package/types/src/slicer/SlicerPlugin.d.ts +1 -1
- package/types/src/table/TablePlugin.d.ts +1 -1
- package/browser/esm/UZFY5qdFE4QR1Agm.mjs +0 -212
- package/node/esm/DmjwVOK5INfbJZkW.mjs +0 -212
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.19
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
7
|
-
import { AnomaliesPlugin as e, CommentsPlugin as t, DocumentTitle as o, ExternalLinksPlugin as r, FormatPlugin as n, FormulaField as a, InputField as i, NamedPlugin as s, ProtectionPlugin as l, SlicerPlugin as c, TablePlugin as d, WorkbookElement as p, createStudioThemeCSS as u, defaultRenderFormulaBar as m, defaultRenderPivotMenu as g, defaultRenderStatusBar as h, defaultRenderToolbar as f, defaultRenderWorkbookError as k, defaultRenderWorkbookLoading as b,
|
|
8
|
-
import { CommandRootProvider as D, DefaultTaskPaneRegistry as S, LogoNoPaddingIcon as T,
|
|
9
|
-
import { Command as X, DefaultIconService as Y, DynamicIcon as Z, LanguageStateKey as J, NotifierType as Q, ReactErrorBoundary as ee, ReactNotifierProvider as te, ReactUtils as oe, RenderSlot as re, ScrollUtils as ne, SplitPane as ae, UncaughtErrorBoundary as ie, createBusyHandle as se, useCallbackRef as le, useFullscreen as ce, useImperativeElement as de, useKeyboardResize as pe, useLanguage as ue, useMeasure as me, useNotifier as ge, usePersistentState as he, useResolvedThemeMode as fe, useTokenThemeContext as ke, useTranslator as be } from "@sheetxl/utils-react";
|
|
7
|
+
import { AnomaliesPlugin as e, CommentsPlugin as t, DocumentTitle as o, ExternalLinksPlugin as r, FormatPlugin as n, FormulaField as a, InputField as i, NamedPlugin as s, ProtectionPlugin as l, SlicerPlugin as c, TablePlugin as d, WorkbookElement as p, createStudioThemeCSS as u, defaultRenderFormulaBar as m, defaultRenderPivotMenu as g, defaultRenderStatusBar as h, defaultRenderToolbar as f, defaultRenderWorkbookError as k, defaultRenderWorkbookLoading as b, registerStudioCommandCatalogs as y, registerStudioCommandGroups as w, t as x, tokensToMuiOptions as v, u as C } from "./index.mjs";
|
|
8
|
+
import { CommandRootProvider as D, DefaultTaskPaneRegistry as S, LogoNoPaddingIcon as T, PivotTablePane as E, SHAPE_ICON_PACK as W, TaskPaneArea as F, TaskPaneKey as A, TaskPaneProvider as P, ThemeStateDefaults as I, ThemeStateKey as N, WorkbookIO as R, WorkbookProvider as j, buildOOXMLThemeCSS as O, createEditable as $, createSystemColorVars as M, registerMovablePane as L, useDocThemes as B, useModelSync as K, useReferenceModeStore as _, useResolvedWorkbook as z, useTaskPaneArea as H, useWorkbookEncrypted as V, useWorkbookName as U, useWorkbookSaveState as G } from "@sheetxl/react";
|
|
9
|
+
import { Command as q, DefaultCommandButtonRegistry as X, DefaultIconService as Y, DynamicIcon as Z, LanguageStateKey as J, NotifierType as Q, ReactErrorBoundary as ee, ReactNotifierProvider as te, ReactUtils as oe, RenderSlot as re, ScrollUtils as ne, SplitPane as ae, UncaughtErrorBoundary as ie, createBusyHandle as se, useCallbackRef as le, useFullscreen as ce, useImperativeElement as de, useKeyboardResize as pe, useLanguage as ue, useMeasure as me, useNotifier as ge, usePersistentState as he, useResolvedThemeMode as fe, useTokenThemeContext as ke, useTranslator as be } from "@sheetxl/utils-react";
|
|
10
10
|
import ye, { Fragment as we, forwardRef as xe, isValidElement as ve, memo as Ce, useCallback as De, useEffect as Se, useMemo as Te, useRef as Ee, useState as We } from "react";
|
|
11
|
-
import { AnimatedLoadingPanel as Fe, AnimatedTraversingEllipsisIcon as
|
|
11
|
+
import { AnimatedLoadingPanel as Fe, AnimatedTraversingEllipsisIcon as Ae, CommandGroup as Pe, ExhibitDivider as Ie, ExhibitFloatProvider as Ne, ExhibitMenuItem as Re, ExhibitTooltip as je, ModalProvider as Oe, SelectedIcon as $e, SimpleTooltip as Me, StackTrace as Le, createExhibitTheme as Be, hideLoadingPanel as Ke, lazyModal as _e, lazyPanel as ze, showLoadingPanel as He, useInputDialog as Ve, useLazyWindow as Ue, useModal as Ge, useOptionsDialog as qe } from "@sheetxl/utils-mui";
|
|
12
12
|
import { Fragment as Xe, jsx as Ye, jsxs as Ze } from "react/jsx-runtime";
|
|
13
13
|
import { Box as Je, Card as Qe, CardActions as et, Collapse as tt, CssBaseline as ot, DialogTitle as rt, IconButton as nt, Paper as at, SvgIcon as it, Tab as st, Tabs as lt, ThemeProvider as ct, Typography as dt, alpha as pt, useMediaQuery as ut, useTheme as mt } from "@mui/material";
|
|
14
14
|
import { CommonUtils as gt, DOMUtils as ht, DefaultLanguagePackService as ft, ErrorUtils as kt, ExpectedError as bt, PartialError as yt, defineLazyModule as wt, formatMessage as xt, messageKey as vt, t as Ct } from "@sheetxl/utils";
|
|
15
15
|
import Dt from "clsx";
|
|
16
16
|
import { mergeRefs as St, useMergeRefs as Tt } from "react-merge-refs";
|
|
17
17
|
import { SnackbarContent as Et, SnackbarProvider as Wt, useSnackbar as Ft } from "notistack";
|
|
18
|
-
var
|
|
18
|
+
var At = Object.defineProperty, Pt = (e, t) => {
|
|
19
19
|
let o = {};
|
|
20
|
-
for (var r in e)
|
|
20
|
+
for (var r in e) At(o, r, {
|
|
21
21
|
get: e[r],
|
|
22
22
|
enumerable: !0
|
|
23
23
|
});
|
|
24
|
-
return t ||
|
|
25
|
-
}, It = ze(wt("studio:conditionalFormatDetailsTaskPane", () => import("./
|
|
24
|
+
return t || At(o, Symbol.toStringTag, { value: "Module" }), o;
|
|
25
|
+
}, It = ze(wt("studio:conditionalFormatDetailsTaskPane", () => import("./BjEZxA3zF89uf47R.mjs"), { select: (e) => ({ default: e.ConditionalFormatDetailsTaskPane }) }).load), Nt = ["lines"], Rt = /^[A-Za-z_\\][\w.\\]*$/, jt = /^\$?[A-Za-z]{1,3}\$?\d+$/, Ot = (e) => {
|
|
26
26
|
const t = e?.getReferences() ?? null;
|
|
27
27
|
if (!e || !t || 1 !== t.getCount()) return null;
|
|
28
28
|
const o = e.getExpression().trim();
|
|
@@ -462,8 +462,8 @@ function zt(e, t) {
|
|
|
462
462
|
l = !0, s && (s.current = null);
|
|
463
463
|
};
|
|
464
464
|
}
|
|
465
|
-
var Ht = _e(wt("studio:shortcutKeysDialog", () => import("./
|
|
466
|
-
|
|
465
|
+
var Ht = _e(wt("studio:shortcutKeysDialog", () => import("./BulNRuKygH0oLixF.mjs")).load);
|
|
466
|
+
y(), x();
|
|
467
467
|
var Vt = /* @__PURE__ */ new Set(["ui"]), Ut = (e) => {
|
|
468
468
|
const t = (e) => {
|
|
469
469
|
if ("function" != typeof e) return e;
|
|
@@ -486,13 +486,13 @@ var Vt = /* @__PURE__ */ new Set(["ui"]), Ut = (e) => {
|
|
|
486
486
|
getDescription: () => o(i?.description, i?.params) ?? "",
|
|
487
487
|
getShortcut: () => t(i?.shortcut) ?? null,
|
|
488
488
|
getScope: () => n,
|
|
489
|
-
getScopeLabel: () =>
|
|
489
|
+
getScopeLabel: () => q.DefaultCommandCatalogService.getScopeLabel(n)
|
|
490
490
|
}
|
|
491
491
|
});
|
|
492
492
|
}
|
|
493
493
|
return { getAllCommands: () => r };
|
|
494
494
|
}, Gt = (e) => {
|
|
495
|
-
const { children: t, workbook: o, setWorkbook: r, workbookTitle: n, isDirty: a, refSave: i, fullscreenTarget: s } = e, l =
|
|
495
|
+
const { children: t, workbook: o, setWorkbook: r, workbookTitle: n, isDirty: a, refSave: i, fullscreenTarget: s } = e, l = q.useCommandScope(), c = ge(), { showModal: d } = Ge(), p = be(), u = Ee(a);
|
|
496
496
|
u.current = a;
|
|
497
497
|
const m = le(() => {
|
|
498
498
|
const e = l?.getRoot().getRegistry();
|
|
@@ -612,7 +612,7 @@ var Vt = /* @__PURE__ */ new Set(["ui"]), Ut = (e) => {
|
|
|
612
612
|
W,
|
|
613
613
|
F
|
|
614
614
|
]);
|
|
615
|
-
const P =
|
|
615
|
+
const P = H(!0);
|
|
616
616
|
return Se(() => {
|
|
617
617
|
if (!l) return;
|
|
618
618
|
const e = l.getRoot().contribution();
|
|
@@ -620,7 +620,7 @@ var Vt = /* @__PURE__ */ new Set(["ui"]), Ut = (e) => {
|
|
|
620
620
|
e.updateCommand("protectWorkbook", {
|
|
621
621
|
tags: ["noTransaction", "noRepeat"],
|
|
622
622
|
callback: () => {
|
|
623
|
-
t(
|
|
623
|
+
t(A.Protection, { args: { tab: "workbook" } });
|
|
624
624
|
}
|
|
625
625
|
});
|
|
626
626
|
}(e, (e, t) => P.activate(e, t)), () => e.remove();
|
|
@@ -648,7 +648,7 @@ var Vt = /* @__PURE__ */ new Set(["ui"]), Ut = (e) => {
|
|
|
648
648
|
};
|
|
649
649
|
Gt.displayName = "StudioCommandProvider";
|
|
650
650
|
var qt = ({ renderWorkbook: e }) => {
|
|
651
|
-
const t =
|
|
651
|
+
const t = q.useCommandResolver(), o = Ee(null), r = be(), [n, a] = We(null), i = De((e) => {
|
|
652
652
|
const o = e.dataTransfer;
|
|
653
653
|
if (t && o) {
|
|
654
654
|
if ("dragenter" === e.type || "dragover" === e.type) {
|
|
@@ -768,21 +768,21 @@ var qt = ({ renderWorkbook: e }) => {
|
|
|
768
768
|
});
|
|
769
769
|
Xt.displayName = "CommandsWrapper";
|
|
770
770
|
var Yt = {
|
|
771
|
-
sort: wt("studio:sortDialog", () => import("./
|
|
772
|
-
hyperlink: wt("studio:hyperlinkDialog", () => import("./
|
|
773
|
-
find: wt("studio:findReplaceWindow", () => import("./
|
|
774
|
-
tableNew: wt("studio:tableNewDialog", () => import("./
|
|
775
|
-
pivotTableNew: wt("studio:pivotTableNewDialog", () => import("./
|
|
776
|
-
sparklineNew: wt("studio:sparklineNewDialog", () => import("./
|
|
777
|
-
sparklineEdit: wt("studio:sparklineEditDialog", () => import("./
|
|
778
|
-
namedDetails: wt("studio:namedReferenceDialog", () => import("./
|
|
779
|
-
insertFunction: wt("studio:insertFunctionDialog", () => import("./
|
|
780
|
-
resizeHeader: wt("studio:resizeHeaderDialog", () => import("./
|
|
781
|
-
outlineSettings: wt("studio:outlineSettingsDialog", () => import("./
|
|
782
|
-
fillSeries: wt("studio:fillSeriesDialog", () => import("./
|
|
783
|
-
workbookStatistics: wt("studio:workbookStatisticsDialog", () => import("./
|
|
784
|
-
password: wt("studio:passwordDialog", () => import("./
|
|
785
|
-
pivotValueSettings: wt("studio:pivotValueSettingsDialog", () => import("./
|
|
771
|
+
sort: wt("studio:sortDialog", () => import("./B16pFUEecGy6x7Sf.mjs")).load,
|
|
772
|
+
hyperlink: wt("studio:hyperlinkDialog", () => import("./CDbGB8TtNQhkBXqI.mjs")).load,
|
|
773
|
+
find: wt("studio:findReplaceWindow", () => import("./CASMs7A6E_qrcIMk.mjs")).load,
|
|
774
|
+
tableNew: wt("studio:tableNewDialog", () => import("./viu5OtK-dXOIQdlG.mjs")).load,
|
|
775
|
+
pivotTableNew: wt("studio:pivotTableNewDialog", () => import("./D7-QWEykZGrgV_xs.mjs")).load,
|
|
776
|
+
sparklineNew: wt("studio:sparklineNewDialog", () => import("./DssxcB0PnN-PgzzK.mjs")).load,
|
|
777
|
+
sparklineEdit: wt("studio:sparklineEditDialog", () => import("./DGzJYFzo02DBhqYC.mjs")).load,
|
|
778
|
+
namedDetails: wt("studio:namedReferenceDialog", () => import("./Bkeg-KR5CHgIgCHZ.mjs")).load,
|
|
779
|
+
insertFunction: wt("studio:insertFunctionDialog", () => import("./DhKvwk063hs0qEKD.mjs")).load,
|
|
780
|
+
resizeHeader: wt("studio:resizeHeaderDialog", () => import("./DSAtnDj1sXUS0LYj.mjs")).load,
|
|
781
|
+
outlineSettings: wt("studio:outlineSettingsDialog", () => import("./B90Z94PB2O0Upt5h.mjs")).load,
|
|
782
|
+
fillSeries: wt("studio:fillSeriesDialog", () => import("./B47JoJYzEtS6ivoC.mjs")).load,
|
|
783
|
+
workbookStatistics: wt("studio:workbookStatisticsDialog", () => import("./DiCErpAUUdV9xdwZ.mjs")).load,
|
|
784
|
+
password: wt("studio:passwordDialog", () => import("./BdiSsEIgA0Pvd6bN.mjs")).load,
|
|
785
|
+
pivotValueSettings: wt("studio:pivotValueSettingsDialog", () => import("./DzwUDrXp4uuQ6bv0.mjs")).load
|
|
786
786
|
}, Zt = ["find"], Jt = Ce((e) => {
|
|
787
787
|
const { children: t } = e, o = Ft(), r = o ? o.enqueueSnackbar : () => {}, n = o ? o.closeSnackbar : () => {}, a = Ee(/* @__PURE__ */ new Set()), i = Ee(null), s = Ee(null), [l, c] = We({
|
|
788
788
|
label: null,
|
|
@@ -867,7 +867,7 @@ var Yt = {
|
|
|
867
867
|
}, [d]), b = Te(() => Ye(Fe, {
|
|
868
868
|
ref: i,
|
|
869
869
|
autoStart: !1,
|
|
870
|
-
icon: Ye(
|
|
870
|
+
icon: Ye(Ae, { sx: {
|
|
871
871
|
transform: "scale(0.7)",
|
|
872
872
|
marginLeft: "-6px"
|
|
873
873
|
} }),
|
|
@@ -1053,7 +1053,7 @@ var Qt = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255,
|
|
|
1053
1053
|
});
|
|
1054
1054
|
}, oo = xe((e, t) => {
|
|
1055
1055
|
const { model: o, side: r, ...n } = e, a = mt(), i = `solid ${Qt} 1px`, s = `${a.shape.borderRadius ?? 4}px`, l = `${a.spacing?.(.5) ?? 4}px`;
|
|
1056
|
-
return Ye(
|
|
1056
|
+
return Ye(F, {
|
|
1057
1057
|
model: o,
|
|
1058
1058
|
ref: t,
|
|
1059
1059
|
propsFrame: { style: {
|
|
@@ -1083,7 +1083,7 @@ var Qt = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255,
|
|
|
1083
1083
|
let b, y, w = null, x = 4, v = 13;
|
|
1084
1084
|
f ? w = "m 3.6261898,11.36243 c 0,0.88365 -0.71627,1.59991 -1.59991,1.59991 -0.8836498,0 -1.60004965,-0.71626 -1.60004965,-1.59991 0,-0.88365 0.71639985,-1.6000508 1.60004965,-1.6000508 0.88364,0 1.59991,0.7164008 1.59991,1.6000508 m 0,-4.881294 c 0,0.88364 -0.71627,1.60004 -1.59991,1.60004 -0.8836498,0 -1.60004965,-0.7164 -1.60004965,-1.60004 0,-0.88365 0.71639985,-1.60005 1.60004965,-1.60005 0.88364,0 1.59991,0.7164 1.59991,1.60005 m 0,-4.881226 c 0,0.88365 -0.71627,1.60005 -1.59991,1.60005 C 1.14263,3.19996 0.42623015,2.48356 0.42623015,1.59991 0.42623015,0.71626 1.14263,0 2.0262798,0 c 0.88364,0 1.59991,0.71626 1.59991,1.59991" : (w = "M 1.59991,3.62619 C 0.71626,3.62619 0,2.90992 0,2.02628 0,1.1426301 0.71626,0.42623015 1.59991,0.42623015 c 0.88365,0 1.6000508,0.71639995 1.6000508,1.60004985 0,0.88364 -0.7164008,1.59991 -1.6000508,1.59991 m 4.881294,0 c -0.88364,0 -1.60004,-0.71627 -1.60004,-1.59991 0,-0.8836499 0.7164,-1.60004985 1.60004,-1.60004985 0.88365,0 1.60005,0.71639995 1.60005,1.60004985 0,0.88364 -0.7164,1.59991 -1.60005,1.59991 m 4.881226,0 c -0.88365,0 -1.60005,-0.71627 -1.60005,-1.59991 0,-0.8836499 0.7164,-1.60004985 1.60005,-1.60004985 0.88365,0 1.59991,0.71639995 1.59991,1.60004985 0,0.88364 -0.71626,1.59991 -1.59991,1.59991", x = 13, v = 4);
|
|
1085
1085
|
let C, D = o, S = r;
|
|
1086
|
-
const T = "right" !== c, E = f ? "row" : "column", W = T && S ? "before" : "after", F = `${E}:${W}`,
|
|
1086
|
+
const T = "right" !== c, E = f ? "row" : "column", W = T && S ? "before" : "after", F = `${E}:${W}`, A = a ? p[F] : void 0, P = null != A ? `${A}%` : ((e, t) => {
|
|
1087
1087
|
if (null == e) return "40%";
|
|
1088
1088
|
if ("number" == typeof e || "string" == typeof e) return e;
|
|
1089
1089
|
const o = e[t];
|
|
@@ -1104,7 +1104,7 @@ var Qt = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255,
|
|
|
1104
1104
|
paddingRight: "2px"
|
|
1105
1105
|
} }, b = {}, C = {
|
|
1106
1106
|
fixedPane: "before",
|
|
1107
|
-
position:
|
|
1107
|
+
position: P,
|
|
1108
1108
|
minBefore: f ? "280px" : "120px",
|
|
1109
1109
|
splitDirection: f ? "row" : "column"
|
|
1110
1110
|
}) : (b = { style: {
|
|
@@ -1115,7 +1115,7 @@ var Qt = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255,
|
|
|
1115
1115
|
marginRight: f ? "8px" : "4px"
|
|
1116
1116
|
} }, C = {
|
|
1117
1117
|
fixedPane: "after",
|
|
1118
|
-
position:
|
|
1118
|
+
position: P,
|
|
1119
1119
|
minAfter: f ? "280px" : "120px",
|
|
1120
1120
|
splitDirection: f ? "row" : "column"
|
|
1121
1121
|
});
|
|
@@ -1235,89 +1235,93 @@ var so = () => Ye("div", { style: {
|
|
|
1235
1235
|
disabled: c || null === r
|
|
1236
1236
|
})]
|
|
1237
1237
|
});
|
|
1238
|
-
}, mo = (e) => Ye(uo, { ...e }), go = (e) => Ye(
|
|
1238
|
+
}, mo = (e) => Ye(uo, { ...e }), go = (e) => Ye(E, {
|
|
1239
1239
|
renderMenu: po,
|
|
1240
1240
|
renderFilter: g,
|
|
1241
1241
|
renderHeader: mo,
|
|
1242
1242
|
...e
|
|
1243
|
-
}), ho = ze(wt("studio:dataValidationDetailsTaskPane", () => import("./
|
|
1243
|
+
}), ho = ze(wt("studio:dataValidationDetailsTaskPane", () => import("./ClDMRc2s0BBAKhHL.mjs"), { select: (e) => ({ default: e.DataValidationDetailsTaskPane }) }).load), fo = Pt({
|
|
1244
1244
|
EagerStudio: () => wo,
|
|
1245
1245
|
default: () => wo
|
|
1246
1246
|
});
|
|
1247
1247
|
d(), S.registerTaskPane({
|
|
1248
|
-
key:
|
|
1249
|
-
getTitle: () => "PivotTable Fields",
|
|
1250
|
-
getIcon: () => "Table",
|
|
1248
|
+
key: A.PivotTable,
|
|
1251
1249
|
component: go
|
|
1252
|
-
}, !0),
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
},
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
"
|
|
1271
|
-
"
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
"
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1250
|
+
}, !0), (() => {
|
|
1251
|
+
X.register({
|
|
1252
|
+
key: "changeShapeGallery",
|
|
1253
|
+
contributions: { shapeToolbar: {
|
|
1254
|
+
order: -1,
|
|
1255
|
+
divider: "after"
|
|
1256
|
+
} },
|
|
1257
|
+
render: (e) => Ye(C, {
|
|
1258
|
+
...e,
|
|
1259
|
+
commandKey: "changeShape",
|
|
1260
|
+
excludeCategories: Nt
|
|
1261
|
+
})
|
|
1262
|
+
}, !0);
|
|
1263
|
+
L("shape", () => import("./Dp-aLdsFlu4Aw1Li.mjs").then((e) => e.ShapeFormatPanel));
|
|
1264
|
+
})(), L("chart", () => import("./CHaPiJTvsCR2Z3sC.mjs").then((e) => e.ChartFormatPanel)), (() => {
|
|
1265
|
+
const e = q.DefaultCommandButtonRegistry, t = [];
|
|
1266
|
+
t.push(e.register({
|
|
1267
|
+
key: "changePictureOptions",
|
|
1268
|
+
defaultKey: "changePictureFromFile",
|
|
1269
|
+
members: ["changePictureFromFile", "changePictureFromURL"],
|
|
1270
|
+
contributions: { pictureToolbar: { order: -3 } }
|
|
1271
|
+
}, !0)), t.push(e.register({
|
|
1272
|
+
key: "pictureHyperlinkOptions",
|
|
1273
|
+
defaultKey: "updatePictureHyperlink",
|
|
1274
|
+
members: [
|
|
1275
|
+
"updatePictureHyperlink",
|
|
1276
|
+
"openPictureHyperlink",
|
|
1277
|
+
"deletePictureHyperlink"
|
|
1278
|
+
],
|
|
1279
|
+
contributions: { pictureToolbar: { order: -2 } }
|
|
1280
|
+
}, !0)), t.push(e.register({
|
|
1281
|
+
key: "cropAspectOptions",
|
|
1282
|
+
members: [
|
|
1283
|
+
"cropAspect1x1",
|
|
1284
|
+
"-",
|
|
1285
|
+
"cropAspect2x3",
|
|
1286
|
+
"cropAspect3x4",
|
|
1287
|
+
"cropAspect3x5",
|
|
1288
|
+
"cropAspect4x5",
|
|
1289
|
+
"-",
|
|
1290
|
+
"cropAspect3x2",
|
|
1291
|
+
"cropAspect4x3",
|
|
1292
|
+
"cropAspect5x3",
|
|
1293
|
+
"cropAspect5x4",
|
|
1294
|
+
"cropAspect16x9",
|
|
1295
|
+
"cropAspect16x10"
|
|
1296
|
+
]
|
|
1297
|
+
}, !0)), t.push(e.register({
|
|
1298
|
+
key: "cropOptions",
|
|
1299
|
+
members: [
|
|
1300
|
+
{
|
|
1301
|
+
key: "cropToShapeGallery",
|
|
1302
|
+
render: (e) => Ye(C, {
|
|
1303
|
+
...e,
|
|
1304
|
+
commandKey: "cropToShape",
|
|
1305
|
+
excludeCategories: Nt
|
|
1306
|
+
})
|
|
1307
|
+
},
|
|
1308
|
+
"cropAspectOptions",
|
|
1309
|
+
"-",
|
|
1310
|
+
"cropFill",
|
|
1311
|
+
"cropFit"
|
|
1312
|
+
],
|
|
1313
|
+
contributions: { pictureToolbar: {
|
|
1314
|
+
order: -1,
|
|
1315
|
+
divider: "after"
|
|
1316
|
+
} }
|
|
1317
|
+
}, !0));
|
|
1318
|
+
})(), c(), S.registerTaskPane({
|
|
1319
|
+
key: A.DataValidation,
|
|
1314
1320
|
component: ho
|
|
1315
1321
|
}, !0), S.registerTaskPane({
|
|
1316
|
-
key:
|
|
1317
|
-
getTitle: () => "Conditional Formatting",
|
|
1318
|
-
getIcon: () => "FormatPaint",
|
|
1322
|
+
key: A.ConditionalFormat,
|
|
1319
1323
|
component: It
|
|
1320
|
-
}, !0), l(), s(), r(), t(), e(), n(),
|
|
1324
|
+
}, !0), l(), s(), r(), t(), e(), n(), w();
|
|
1321
1325
|
var ko = () => {
|
|
1322
1326
|
let e, t;
|
|
1323
1327
|
const o = new Promise((o, r) => {
|
|
@@ -1338,28 +1342,28 @@ var ko = () => {
|
|
|
1338
1342
|
const { colorSchemes: o, ...r } = e, n = o?.[t ? "dark" : "light"];
|
|
1339
1343
|
return n && "object" == typeof n ? gt.deepMerge(r, n) : r;
|
|
1340
1344
|
}, yo = "taskPanePosition", wo = Ce(xe((e, t) => {
|
|
1341
|
-
const { host: r, scopeClass: n, square: a, elevation: i, variant: s, onWorkbookLoad: l, prefetch: c, onDocumentError: d, renderDocumentError: g = k, propsDocumentError: f, propsTaskPaneArea: y, renderTaskPaneArea: w = xo, taskPaneSide: x = "right", onKeyDown:
|
|
1345
|
+
const { host: r, scopeClass: n, square: a, elevation: i, variant: s, onWorkbookLoad: l, prefetch: c, onDocumentError: d, renderDocumentError: g = k, propsDocumentError: f, propsTaskPaneArea: y, renderTaskPaneArea: w = xo, taskPaneSide: x = "right", onKeyDown: C, workbook: D, onWorkbookChange: S, logo: T, topLeft: E, topRight: F, muiTheme: A, tokens: L, cssBaseline: H, autoFocus: X = !1, title: Q, onDirtyChange: te, propsDocumentTitle: ae, renderDocumentLoading: se = b, propsDocumentLoading: ce, propsWorkbook: ue, showFormulaBar: me, propsFormulaBar: ge, renderFormulaBar: be, formulaBarPlacement: ye, virtualKeyboard: we = "float", editable: xe, showStatusBar: ve, propsStatusBar: Ce, renderStatusBar: Fe, propsToolbar: Ae, renderToolbar: Ie } = e, Re = Ee(null), je = Ee(null), $e = Ee(null), Me = le(() => {
|
|
1342
1346
|
$e.current?.getNamedCollectionEditorElement?.()?.focus?.();
|
|
1343
1347
|
}, []), Le = ((e, t = "undefined" == typeof window ? "mouse" : oe.detectIt().primaryInput) => "top" === e || "bottom" === e ? e : "touch" === t ? "bottom" : "top")(ye), Ke = "bottom" === Le ? we : "none", { inset: _e, offsetTop: ze } = pe("resize" === Ke), He = le(d ?? (() => {}), [d]), Ve = le(te ?? (() => {}), [te]), Ue = ae?.placeHolder, [Ge] = he(N.Mode, I[N.Mode]), { themeMode: qe } = fe({ mode: Ge ?? void 0 }), [Xe] = he(J.Active, null), Qe = Ee(Xe);
|
|
1344
1348
|
Qe.current = Xe;
|
|
1345
1349
|
const et = ke(), tt = Te(() => ({
|
|
1346
|
-
light: Be(!1, gt.deepMerge(bo(
|
|
1347
|
-
dark: Be(!0, gt.deepMerge(bo(
|
|
1350
|
+
light: Be(!1, gt.deepMerge(bo(A, !1), v(et?.light))),
|
|
1351
|
+
dark: Be(!0, gt.deepMerge(bo(A, !0), v(et?.dark)))
|
|
1348
1352
|
}), [
|
|
1349
|
-
|
|
1353
|
+
A,
|
|
1350
1354
|
et?.light,
|
|
1351
1355
|
et?.dark
|
|
1352
1356
|
]), rt = "dark" === qe, nt = Te(() => u(tt.light, tt.dark, `.${n}`, L), [
|
|
1353
1357
|
tt,
|
|
1354
1358
|
n,
|
|
1355
1359
|
L
|
|
1356
|
-
]), st = Te(() => O("sxl-defaults", `.${n}`), [n]), lt =
|
|
1360
|
+
]), st = Te(() => O("sxl-defaults", `.${n}`), [n]), lt = B(), [dt, pt] = We(() => D ?? null);
|
|
1357
1361
|
Se(() => {
|
|
1358
1362
|
pt(D ?? null);
|
|
1359
1363
|
}, [D]);
|
|
1360
1364
|
const [ut, mt] = We(0), ht = Ee(null);
|
|
1361
1365
|
ht.current || (ht.current = ko());
|
|
1362
|
-
const kt =
|
|
1366
|
+
const kt = z(dt, {
|
|
1363
1367
|
io: R,
|
|
1364
1368
|
defaultTheme: lt.getDefaultTheme(),
|
|
1365
1369
|
reloadKey: ut
|
|
@@ -1402,10 +1406,10 @@ var ko = () => {
|
|
|
1402
1406
|
}
|
|
1403
1407
|
}
|
|
1404
1408
|
}, [wt]);
|
|
1405
|
-
const Ft = xe ? null : wt,
|
|
1409
|
+
const Ft = xe ? null : wt, At = _(), Pt = Te(() => {
|
|
1406
1410
|
const e = Ft?.getSelectedWorksheet() ?? Ft?.getWorksheets().getItems({ visibility: "veryHidden" })[0];
|
|
1407
|
-
return e ? $(e, { referenceMode:
|
|
1408
|
-
}, [Ft,
|
|
1411
|
+
return e ? $(e, { referenceMode: At }) : null;
|
|
1412
|
+
}, [Ft, At]), It = xe ?? Pt, Nt = Ee(It);
|
|
1409
1413
|
Nt.current = It, Se(() => {
|
|
1410
1414
|
if (!It) return;
|
|
1411
1415
|
let e = It.getSession();
|
|
@@ -1417,7 +1421,7 @@ var ko = () => {
|
|
|
1417
1421
|
(o?.isFocusWithin?.() ?? o?.contains?.(document.activeElement)) && Re.current?.focus();
|
|
1418
1422
|
});
|
|
1419
1423
|
}, [It]);
|
|
1420
|
-
const Rt =
|
|
1424
|
+
const Rt = U(wt), { isDirty: jt, saveState: Ot } = G(wt, R), $t = V(wt), Lt = Ee(Ot), Bt = Ee(null);
|
|
1421
1425
|
Lt.current = Ot;
|
|
1422
1426
|
const _t = De(() => Lt.current?.isDirty() ?? !1, []), zt = Ee(yt);
|
|
1423
1427
|
zt.current = yt;
|
|
@@ -1434,8 +1438,8 @@ var ko = () => {
|
|
|
1434
1438
|
Zt?.(bt);
|
|
1435
1439
|
}, [bt]);
|
|
1436
1440
|
const Qt = Ee(bt);
|
|
1437
|
-
Qt.current = bt,
|
|
1438
|
-
const eo = Te(() => Ye(
|
|
1441
|
+
Qt.current = bt, K(wt, "onViewChange");
|
|
1442
|
+
const eo = Te(() => Ye(Pe, {
|
|
1439
1443
|
groupKey: "helpOptions",
|
|
1440
1444
|
disableHover: !0,
|
|
1441
1445
|
sx: { padding: "0" },
|
|
@@ -1444,7 +1448,7 @@ var ko = () => {
|
|
|
1444
1448
|
oo(e);
|
|
1445
1449
|
}, []);
|
|
1446
1450
|
Se(() => {
|
|
1447
|
-
Y.prefetch([Y.getActive(),
|
|
1451
|
+
Y.prefetch([Y.getActive(), W]).catch((e) => {
|
|
1448
1452
|
console.warn("Icons could not be loaded:", e);
|
|
1449
1453
|
});
|
|
1450
1454
|
}, []);
|
|
@@ -1452,7 +1456,7 @@ var ko = () => {
|
|
|
1452
1456
|
no.current || (no.current = ko());
|
|
1453
1457
|
const ao = Ee(null), so = De(() => ao.current?.getSheetElement()?.getGridSurface()?.getPane()?.getElement() ?? no.current.promise, []), co = le(async (e) => {
|
|
1454
1458
|
const t = Qe.current;
|
|
1455
|
-
t && t !== ft.getActive() && await ft.setActive(t), await
|
|
1459
|
+
t && t !== ft.getActive() && await ft.setActive(t), await q.DefaultCommandCatalogService.prefetch(t ?? void 0), Vt(e), ao.current = e.source, no.current.settled || no.current.resolve(e.source.getSheetElement()?.getGridSurface()?.getPane()?.getElement() ?? null), l?.(e);
|
|
1456
1460
|
}, []), po = Ee(null), uo = De((e) => {
|
|
1457
1461
|
let t = null, r = {
|
|
1458
1462
|
readOnly: !0,
|
|
@@ -1478,7 +1482,7 @@ var ko = () => {
|
|
|
1478
1482
|
logo: T,
|
|
1479
1483
|
mainElement: t,
|
|
1480
1484
|
startElement: E,
|
|
1481
|
-
endElement:
|
|
1485
|
+
endElement: F
|
|
1482
1486
|
});
|
|
1483
1487
|
}, [
|
|
1484
1488
|
T,
|
|
@@ -1487,7 +1491,7 @@ var ko = () => {
|
|
|
1487
1491
|
$t,
|
|
1488
1492
|
ae,
|
|
1489
1493
|
E,
|
|
1490
|
-
|
|
1494
|
+
F
|
|
1491
1495
|
]);
|
|
1492
1496
|
Se(() => {
|
|
1493
1497
|
const e = Re.current;
|
|
@@ -1584,7 +1588,7 @@ var ko = () => {
|
|
|
1584
1588
|
render: void 0 === Ie ? uo : Ie,
|
|
1585
1589
|
props: {
|
|
1586
1590
|
workbook: s,
|
|
1587
|
-
...
|
|
1591
|
+
...Ae
|
|
1588
1592
|
}
|
|
1589
1593
|
}), u = "bottom" === Le, g = a ? Ye(re, {
|
|
1590
1594
|
render: void 0 === be ? m : be,
|
|
@@ -1615,7 +1619,7 @@ var ko = () => {
|
|
|
1615
1619
|
}) : null, k = (e, r) => Ye(p, {
|
|
1616
1620
|
...ue,
|
|
1617
1621
|
tabIndex: 0,
|
|
1618
|
-
autoFocus: !r &&
|
|
1622
|
+
autoFocus: !r && X,
|
|
1619
1623
|
workbook: e,
|
|
1620
1624
|
editable: r ? void 0 : It ?? void 0,
|
|
1621
1625
|
focusNameBox: r ? void 0 : Me,
|
|
@@ -1623,7 +1627,7 @@ var ko = () => {
|
|
|
1623
1627
|
ref: r ? je : St([t, Re]),
|
|
1624
1628
|
onWorkbookLoad: r ? (t) => To(t, e) : co,
|
|
1625
1629
|
onKeyDown: (e) => {
|
|
1626
|
-
|
|
1630
|
+
C?.(e);
|
|
1627
1631
|
},
|
|
1628
1632
|
propsWorkbookLoading: ce,
|
|
1629
1633
|
renderWorkbookLoading: null,
|
|
@@ -1659,7 +1663,7 @@ var ko = () => {
|
|
|
1659
1663
|
main: Ye(io, {
|
|
1660
1664
|
taskSide: x,
|
|
1661
1665
|
persistKey: yo,
|
|
1662
|
-
sidebarElement: fo ? Ye(
|
|
1666
|
+
sidebarElement: fo ? Ye(q.CommandScopeProvider, {
|
|
1663
1667
|
scope: mo,
|
|
1664
1668
|
children: fo
|
|
1665
1669
|
}) : void 0,
|
|
@@ -1762,7 +1766,7 @@ var ko = () => {
|
|
|
1762
1766
|
ve,
|
|
1763
1767
|
Ce,
|
|
1764
1768
|
Fe,
|
|
1765
|
-
|
|
1769
|
+
Ae,
|
|
1766
1770
|
Ie,
|
|
1767
1771
|
Ke,
|
|
1768
1772
|
_e,
|
|
@@ -1794,7 +1798,7 @@ var ko = () => {
|
|
|
1794
1798
|
},
|
|
1795
1799
|
children: Ye(j, {
|
|
1796
1800
|
workbook: wt,
|
|
1797
|
-
children: Ye(
|
|
1801
|
+
children: Ye(P, {
|
|
1798
1802
|
renderArea: Co,
|
|
1799
1803
|
onUpdateArea: (e) => {
|
|
1800
1804
|
wo(e);
|
|
@@ -1817,7 +1821,7 @@ var ko = () => {
|
|
|
1817
1821
|
return Wo = Ze(ct, {
|
|
1818
1822
|
theme: rt ? tt.dark : tt.light,
|
|
1819
1823
|
children: [
|
|
1820
|
-
|
|
1824
|
+
H ? Ye(ot, {}) : null,
|
|
1821
1825
|
Ye("style", { children: nt }),
|
|
1822
1826
|
Ye("style", { children: st }),
|
|
1823
1827
|
Ye(Ne, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.19
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: MIT
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.19
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
7
|
-
import { n as e, r as t, t as r } from "./
|
|
8
|
-
import { ItemCard as a, ItemsSearchField as n,
|
|
7
|
+
import { n as e, r as t, t as r } from "./CF7peiUJfmOOPRFn.mjs";
|
|
8
|
+
import { ItemCard as a, ItemsSearchField as n, l as s, s as i } from "./index.mjs";
|
|
9
9
|
import { DynamicIcon as o, NotifierType as l, useNotifier as c, useTranslator as d } from "@sheetxl/utils-react";
|
|
10
10
|
import { forwardRef as p, memo as g, useCallback as u, useEffect as m, useMemo as f, useReducer as h, useRef as x, useState as y } from "react";
|
|
11
11
|
import { SimpleTooltip as v } from "@sheetxl/utils-mui";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.19
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: MIT
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.19
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: MIT
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.19
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: MIT
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.19
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: MIT
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.19
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
7
7
|
import { ColorPopupButton as e, StyledStrokeIcon as l } from "./index.mjs";
|
|
8
|
-
import { i as n, n as i, o, r as t } from "./
|
|
8
|
+
import { i as n, n as i, o, r as t } from "./DqZ4g3pHAK7bKVvG.mjs";
|
|
9
9
|
import { IFill as a, IStroke as s } from "@sheetxl/sdk";
|
|
10
10
|
import { KeyCodes as d, useCallbackRef as r, useTranslator as p } from "@sheetxl/utils-react";
|
|
11
11
|
import { memo as h, useCallback as c, useMemo as y } from "react";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.19
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
7
7
|
import { ColorPopupButton as e } from "./index.mjs";
|
|
8
|
-
import { i as a, n as t, o as r, r as n } from "./
|
|
9
|
-
import { t as l } from "./
|
|
10
|
-
import { t as s } from "./
|
|
8
|
+
import { i as a, n as t, o as r, r as n } from "./DqZ4g3pHAK7bKVvG.mjs";
|
|
9
|
+
import { t as l } from "./CPHJFMyFxjErRLvR.mjs";
|
|
10
|
+
import { t as s } from "./CGZ_p4-_DZzlvhMG.mjs";
|
|
11
11
|
import { IFill as i } from "@sheetxl/sdk";
|
|
12
12
|
import { useGridColorScheme as o } from "@sheetxl/react";
|
|
13
13
|
import { useCallbackRef as h, useTranslator as c } from "@sheetxl/utils-react";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.19
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
7
|
-
import { a as t, i as e, n as a, r as i } from "./
|
|
7
|
+
import { a as t, i as e, n as a, r as i } from "./BB5L5Y9qCXXDTqg-.mjs";
|
|
8
8
|
import { useTranslator as o } from "@sheetxl/utils-react";
|
|
9
9
|
import { useCallback as r, useState as s } from "react";
|
|
10
10
|
import { InternalWindow as n } from "@sheetxl/utils-mui";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.19
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
7
7
|
import { AutoColorPosition as e, ColorPopupButton as l, DEFAULT_GRADIENT as o, GradientEditor as r, PatternPopupButton as t, toGradientValue as a, toPatternSlots as n } from "./index.mjs";
|
|
8
|
-
import { a as i, i as d, o as p, r as s } from "./
|
|
8
|
+
import { a as i, i as d, o as p, r as s } from "./DqZ4g3pHAK7bKVvG.mjs";
|
|
9
9
|
import { Color as c, IColor as y, IFill as u } from "@sheetxl/sdk";
|
|
10
10
|
import { useCallbackRef as f, useCommands as m, useTranslator as g } from "@sheetxl/utils-react";
|
|
11
11
|
import { memo as h, useMemo as T } from "react";
|