@sheetxl/studio-mui 0.8.0-beta.12 → 0.8.0-beta.14
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/{D5N4nGaZsXtrHAOh.mjs → 4meV2QrzGwOTw-Wg.mjs} +3 -3
- package/browser/esm/{NeGeLF3gbGMZyV6E.mjs → 7GvHfNWduigxqNjI.mjs} +1 -1
- package/browser/esm/{C29TKq47CbXs652l.mjs → 9wRFUyQKqfHCPUiS.mjs} +2 -2
- package/browser/esm/{u84rSnESjxqB6gay.mjs → ATDkpSD6QYiZqoUd.mjs} +1 -1
- package/browser/esm/{BAzhmMX4Fk_qnUTp.mjs → B0u4XScttbCbHUuj.mjs} +5 -5
- package/browser/esm/{BSv9MVJaz1DVEffm.mjs → B2NGlVfdWvs2G_Fq.mjs} +4 -4
- package/browser/esm/{CuRxFAO42JkQvMEx.mjs → B65gFGIGbaB2HJ7S.mjs} +1 -1
- package/browser/esm/{CeF35ZeFP28Do5Zx.mjs → BJPuzqf8wzAaSBCD.mjs} +6 -6
- package/browser/esm/{CMc7G7cevxzPGxr9.mjs → BJn4i5eSKttOM7Va.mjs} +2 -2
- package/browser/esm/{BKhcJI-G15D3kGap.mjs → BLWzmTXqRJp_rp2R.mjs} +2 -2
- package/browser/esm/{BWfLpYmd3cSgJ0C6.mjs → BPEGlembHUmOukt-.mjs} +4 -4
- package/browser/esm/{DaxpbAF1ShkT7hNU.mjs → BSgsK2ctkA7acJ8B.mjs} +5 -5
- package/browser/esm/{Dt47Huh1l3C4_5_w.mjs → BhurfBABcwf3sq1Y.mjs} +1 -1
- package/browser/esm/{D0slJycx3nq53qmf.mjs → BnRqW8S8uRFT1dsa.mjs} +1 -1
- package/browser/esm/{BsngRDhvVYGVBJeK.mjs → C4-74xZS6PXqeP2-.mjs} +4 -4
- package/browser/esm/{BNbub9weuqm3mcoF.mjs → C4UBegw-DrnYEN3U.mjs} +4 -4
- package/browser/esm/{CjYKDxU4EP2Kf_vo.mjs → C7G22BSOh6ahi_YA.mjs} +2 -2
- package/browser/esm/{DuuyN4-7K6_io2Py.mjs → C85QGz19eE9ggqzR.mjs} +2 -2
- package/browser/esm/{Cvk2yY90hpgXWMAt.mjs → CM5uH7kPI6bp0Ynb.mjs} +1 -1
- package/browser/esm/{WIhvQtBkGiw-oFUs.mjs → CQ6F1l897Rr74YXa.mjs} +174 -133
- package/browser/esm/{tIKqpsA0vNXH9EgU.mjs → CQmRcbXzQ2ZnzWkm.mjs} +1 -1
- package/browser/esm/{2nRxqrNYbmEn8fS8.mjs → CSjn0SmASZfMzjJD.mjs} +5 -5
- package/browser/esm/{BpJsBv413cNQpyg0.mjs → CUBCWkB6A5HH4u5Q.mjs} +3 -3
- package/browser/esm/{D7AqPfyhMiuda5l5.mjs → CeYt9oGNq5J48kA8.mjs} +2 -2
- package/browser/esm/{Db3oHfXiRtcH015t.mjs → Cm7gnL7wtPzU7kH9.mjs} +2 -2
- package/browser/esm/{DX2_vf7WX6uRLaOZ.mjs → CouH7NfOLzq-7BFG.mjs} +1 -1
- package/browser/esm/{CFIAWgpU3UyepLBn.mjs → CqAaow0-s9wI-Zco.mjs} +4 -4
- package/browser/esm/{BHGr2gsFofTdAFxq.mjs → D1METLVOmQUWB2GY.mjs} +4 -4
- package/browser/esm/{CJD4jF4m9cBGHzr_.mjs → D5ASCLEncVX6S3t7.mjs} +1 -1
- package/browser/esm/{oC0OwOddhOD0OoCJ.mjs → D5ioZQTn_SJateKf.mjs} +2 -2
- package/browser/esm/{CBzXksWnb-1gGEWZ.mjs → D7SHK5F4crIKlHfX.mjs} +1 -1
- package/browser/esm/{DHZA48ZMCETvHmeP.mjs → DC70OHr0cJy33grZ.mjs} +1 -1
- package/browser/esm/{D2jzliMwAo2ENpfi.mjs → DEu_fNm5LXqXGUqI.mjs} +1 -1
- package/browser/esm/{BGL3x0W74D7qZXlf.mjs → DGGNjWCfZChvgtCJ.mjs} +3 -3
- package/browser/esm/{PY3Br5Bo_TxcCnCU.mjs → DGsTOxJVdwIgmFiF.mjs} +2 -2
- package/browser/esm/{DtPt0phL7m56YfHZ.mjs → DJytYYs6hwKzoGdK.mjs} +1 -1
- package/browser/esm/{BZqwbIE8qzjSOYcJ.mjs → DKnuzGrJHk4qI0Zi.mjs} +3 -3
- package/browser/esm/{BnkwC5rsg9LZyhoP.mjs → DROcTh8qOW1i6ktd.mjs} +2 -2
- package/browser/esm/{D5Fn0Hqllwv5HY6i.mjs → DSMZVJXRlgHj6hnF.mjs} +69 -48
- package/browser/esm/{DtTDaXmnWUoG4VBO.mjs → DUMfNkupQUkMYbRX.mjs} +2 -2
- package/browser/esm/{C8p2iMad_NNCwGI_.mjs → DYKsNTXsl78btQCN.mjs} +2 -2
- package/browser/esm/{0IBZhOJaVmzJxuTv.mjs → DcF7yoU5XaD0TzDi.mjs} +1 -1
- package/browser/esm/{BpVrgbVISiTDyFR3.mjs → Dh1o7OIOvCQaeaVN.mjs} +2 -2
- package/browser/esm/{Cq82lvdjyBvlJ8xJ.mjs → DviYEVpPnQaWx-Tr.mjs} +1 -1
- package/browser/esm/DydtA0Kx0EIVeRVq.mjs +242 -0
- package/browser/esm/{BZy9xUrYpAtnKeji.mjs → IF6KtCM-Yj_9GGEI.mjs} +8 -8
- package/browser/esm/{7fVZXXuonYb6Z7FU.mjs → TJm3V2B1CMw1iZoU.mjs} +3 -3
- package/browser/esm/{WgIvwAENeO8LANax.mjs → XkkwDAFA6f5msXE4.mjs} +2 -2
- package/browser/esm/{CYtULLhY9M2m3DeH.mjs → b6OpGIOfqvVgPkpN.mjs} +1 -1
- package/browser/esm/{lKXEDVt2ow1NlWJj.mjs → cMMnySiLwLtz8_Zk.mjs} +6 -6
- package/browser/esm/{Yjq3p_7eVGFw2Jod.mjs → dcZCjUD2UCAzFGTB.mjs} +3 -3
- package/browser/esm/index.mjs +19 -17
- package/licenses/dependencies.txt +33 -33
- package/node/esm/{CgKa6JuyJ1tTodev.mjs → 0TWX9zLKXvPj1qMo.mjs} +171 -130
- package/node/esm/{C3FCh9xju2SccUIE.mjs → B74EJtfb07jNPG2i.mjs} +2 -2
- package/node/esm/{DygDgOpa9sJ6YFVS.mjs → BIbJ-RvwV7EKR1AK.mjs} +1 -1
- package/node/esm/{Cq53M7bAUSXMNq1f.mjs → BPbOKZTCABQS1v4l.mjs} +1 -1
- package/node/esm/{CTnVNfz4eqFnM92M.mjs → BXq4h4T2V5D0e0GE.mjs} +1 -1
- package/node/esm/{gPYAb_A0T5ZwcQ1E.mjs → BbCPG2xTU1rpAM5l.mjs} +1 -1
- package/node/esm/{B8Ls4Eh1k8-Yiry_.mjs → By9Y6KcwsjQGiP4W.mjs} +1 -1
- package/node/esm/{BBGoyqs2L_ccSH1e.mjs → C29ReEXb9EK4DP6E.mjs} +2 -2
- package/node/esm/{CKWeipCqqpLnLE5e.mjs → C2ZhJJ6JogM32N6v.mjs} +2 -2
- package/node/esm/{B9X3n8MglL4OitAV.mjs → CLArZpAFWoKR9UXC.mjs} +1 -1
- package/node/esm/{di_8-pXh90j4BO4j.mjs → CMsWjZqAF2n3PniO.mjs} +1 -1
- package/node/esm/{BLv99aovW4R3C5PE.mjs → ChAnZ_8BZXB8xGku.mjs} +3 -3
- package/node/esm/{DsNYnq4NtYBxPmeA.mjs → CnHJuuebdiYB4hU1.mjs} +1 -1
- package/node/esm/Cv_gkzf1CvleEpGx.mjs +242 -0
- package/node/esm/{DJFkALt4XrwkMbnU.mjs → CzQvRTTBIzvSAQWs.mjs} +1 -1
- package/node/esm/{BalROFG_oa9PFs9Q.mjs → D1RBCi056McbAuVe.mjs} +2 -2
- package/node/esm/{ZzvsynJTCSuChYS-.mjs → D3BoGAsVExHN5pzo.mjs} +1 -1
- package/node/esm/{C4F6WY8M4nkLyxdb.mjs → D9neYUsRInmBz-7P.mjs} +2 -2
- package/node/esm/{DQaGPUYbgL4Y5YZW.mjs → DINEK8QwAC2xbcJg.mjs} +1 -1
- package/node/esm/{M7YxvRPGCuxuk9aK.mjs → DKJDmlxmNG0mVHmb.mjs} +1 -1
- package/node/esm/{BUGU_5lUtnCRlp3n.mjs → DLa2dwTHx-TF9X28.mjs} +2 -2
- package/node/esm/{DJpwI8PlKBI2rk0r.mjs → DNhFkzvStZYjYqlY.mjs} +2 -2
- package/node/esm/{Cfi_ly8fBDZZdiZT.mjs → DV7GtbZngmzKJkGC.mjs} +3 -3
- package/node/esm/{Dz0Hg87UcJ-awwiI.mjs → DfRwTR3tR0Wx5I0U.mjs} +2 -2
- package/node/esm/{D72CupF9mfy2D1Xa.mjs → DrZYqa9k2cas_dpR.mjs} +1 -1
- package/node/esm/{QNjtpX8rIpqGGLEJ.mjs → DtxnTVIKKE8mp6rU.mjs} +2 -2
- package/node/esm/{wB8xMpyJ_NvE16yG.mjs → Dua4HsVMCVMOSuUP.mjs} +2 -2
- package/node/esm/{Cr8AYWUoU-XVt0hu.mjs → GkXvPmel2BbE1Yvo.mjs} +1 -1
- package/node/esm/{zGAcd4Jr7wkvXDBS.mjs → Hp0ggyjuRLoV7Zkw.mjs} +1 -1
- package/node/esm/{DGDHFK8okuVbRCe5.mjs → Ua-hzH0IDC5UU7I1.mjs} +1 -1
- package/node/esm/{fmya3XQnTGyQisvT.mjs → Y0a0MfNj9jzVeoRQ.mjs} +1 -1
- package/node/esm/{BqVxnA1mo52ubjdf.mjs → a4ksKvzRiZRS-LjD.mjs} +2 -2
- package/node/esm/index.mjs +246 -223
- package/node/esm/{dm8dmEaTIqfmgyeL.mjs → rSq-rFZ2oBrx0daL.mjs} +2 -2
- package/package.json +9 -9
- package/resources/locales/de/groups.cmd.json +12 -1
- package/resources/locales/en/groups.cmd.json +12 -1
- package/types/src/conditions/MembershipOption.d.ts +1 -1
- package/types/src/conditions/SelectorSelect.d.ts +1 -1
- package/types/src/dataValidation/DataValidationEditorPanel.d.ts +1 -1
- package/types/src/dialog/HyperlinkDialog.d.ts +15 -0
- package/types/src/externalLink/ExternalLinkSettingsTab.d.ts +1 -1
- package/types/src/filter/ColumnMenu.d.ts +1 -1
- package/types/src/shape/ShapeGalleryCommandButton.d.ts +18 -0
- package/types/src/shape/ShapePlugin.d.ts +2 -0
- package/types/src/shape/index.d.ts +1 -1
- package/browser/esm/jFRFCWlkD7Dsrhkh.mjs +0 -236
- package/node/esm/CyuOE595I2e-U4cG.mjs +0 -236
- package/types/src/shape/InsertShapeCommandButton.d.ts +0 -20
package/node/esm/index.mjs
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
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.14
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
6
|
*/
|
|
7
|
-
import { AutoFill as e, Color as t, CommonUtils as o, Condition as n, FontUtils as r, FormulaError as a, FormulaText as l, IBorders as i, ICalculation as s, ICell as d, ICellRange as c, ICellStyle as p, IColor as u, ICondition as m, IConditionalFormat as h, IFill as g, IFont as b, IFontCollection as f, IRangeStats as y, ISheet as x, ITextFrame as k, ITheme as v, InternalClipboard as w, InteropScalarType as S, LicenseManager as C, LicenseManager as T, NumberFormat as F, ScalarType as D, Table as N, TimerUtils as
|
|
8
|
-
import { AUTO_FILL_PRESET_LABELS as M, COLOR_SCALE_PRESETS as R, COMMAND_META_KEY as O, DATA_BAR_PRESETS as A, DefaultTaskPaneRegistry as L, DefaultTaskPaneRegistry as K, FunctionArgIcons as E, FunctionPreviewContent as z, FunctionSignature as W, ICON_SET_GALLERY_BLOCKS as H, IconSetGlyphs as G, LinkPreviewImage as $, NamedItemLabel as V, OutlineGlyph as U, PresetChartType as q, RangeAnnotationLayer as j, ShapeGallery as _, SheetKindIcon as Z, SheetTab as Q, SlicerStylePreview as Y, StaticBorderRenderer as X, StaticCellRenderer as J, StyledStrokePath as ee, ThemeStateDefaults as te, ThemeStateKey as oe, ThemedChartIcon as ne, ValueChecklist as re, WORKBOOK_TOOLBARS_KEY as ae, WorkbookElement as le, WorkbookIO as ie, WorkbookIO as se, WorkbookStrip as de, WorksheetElement as ce, argTypeKey as pe, assembleCall as ue, contributeEditorCommands as me, createFunctionDescriptor as he, createFunctionHint as ge, createSheetCellInput as be, describeConditionalIcon as fe, findSheetCircularReference as ye, formatCellAddress as xe, formatCommentTime as ke, formatEvalValue as ve, getConditionalIconSet as we, getPersonInitials as Se, getSlicerStyleNames as Ce, iconSetPreset as Te, outlineLevelColors as Fe, outlineLevelTextStyle as De, placeholderFromCell as Ne, presetChartTypeDescriptor as
|
|
9
|
-
import { Command as Xe, CommandButtonEntryLabel as Je, CommandButtonType as et, CommandScopeProvider as tt, DefaultCommandButtonRegistry as ot, DefaultIconService as nt, DynamicIcon as rt, KeyCodes as at, NotifierType as lt, ReactUtils as it, RenderSlot as st, ResizableBox as dt, SplitPane as ct, createThemeScopeClass as pt, defaultTheme as ut, exitEditMode as mt, floatThemeScopeProps as ht, isVirtualKeyboardUp as gt, lazyComponent as bt, measureUIText as ft, themeSurfaceProps as yt, useCallbackRef as xt, useCommandButtonEntry as kt, useCommandButtonRegistry as vt, useCommands as wt, useDevicePixelRatio as St, useEditMode as Ct, useFloat as Tt, useFloatStack as Ft, useFloatSurface as Dt, useImperativeElement as Nt, useLanguage as
|
|
7
|
+
import { AutoFill as e, Color as t, CommonUtils as o, Condition as n, FontUtils as r, FormulaError as a, FormulaText as l, IBorders as i, ICalculation as s, ICell as d, ICellRange as c, ICellStyle as p, IColor as u, ICondition as m, IConditionalFormat as h, IFill as g, IFont as b, IFontCollection as f, IRangeStats as y, ISheet as x, ITextFrame as k, ITheme as v, InternalClipboard as w, InteropScalarType as S, LicenseManager as C, LicenseManager as T, NumberFormat as F, ScalarType as D, Table as N, TimerUtils as I, builtInStyleNameDisplay as B, getLocaleProfile as P } from "@sheetxl/sdk";
|
|
8
|
+
import { AUTO_FILL_PRESET_LABELS as M, COLOR_SCALE_PRESETS as R, COMMAND_META_KEY as O, DATA_BAR_PRESETS as A, DefaultTaskPaneRegistry as L, DefaultTaskPaneRegistry as K, FunctionArgIcons as E, FunctionPreviewContent as z, FunctionSignature as W, ICON_SET_GALLERY_BLOCKS as H, IconSetGlyphs as G, LinkPreviewImage as $, NamedItemLabel as V, OutlineGlyph as U, PresetChartType as q, RangeAnnotationLayer as j, ShapeGallery as _, SheetKindIcon as Z, SheetTab as Q, SlicerStylePreview as Y, StaticBorderRenderer as X, StaticCellRenderer as J, StyledStrokePath as ee, ThemeStateDefaults as te, ThemeStateKey as oe, ThemedChartIcon as ne, ValueChecklist as re, WORKBOOK_TOOLBARS_KEY as ae, WorkbookElement as le, WorkbookIO as ie, WorkbookIO as se, WorkbookStrip as de, WorksheetElement as ce, argTypeKey as pe, assembleCall as ue, contributeEditorCommands as me, createFunctionDescriptor as he, createFunctionHint as ge, createSheetCellInput as be, describeConditionalIcon as fe, findSheetCircularReference as ye, formatCellAddress as xe, formatCommentTime as ke, formatEvalValue as ve, getConditionalIconSet as we, getPersonInitials as Se, getSlicerStyleNames as Ce, iconSetPreset as Te, outlineLevelColors as Fe, outlineLevelTextStyle as De, placeholderFromCell as Ne, presetChartTypeDescriptor as Ie, registerMovableCommandGroups as Be, registerMovableToolbarEntry as Pe, selectCell as Me, setPrintExamplesOnLoad as Re, shapeIconKey as Oe, toArgRows as Ae, useCommentThread as Le, useFormulaInput as Ke, useFormulaInputParts as Ee, useGridColorScheme as ze, useInputField as We, useInsertableCellControls as He, useModelListener as Ge, useModelListener as $e, useModelSync as Ve, useRangeListener as Ue, useReferenceMode as qe, useWindowChrome as je, useWorkbook as _e, useWorkbookFormat as Ze, useWorkbookName as Qe, useWorksheet as Ye } from "@sheetxl/react";
|
|
9
|
+
import { Command as Xe, CommandButtonEntryLabel as Je, CommandButtonType as et, CommandScopeProvider as tt, DefaultCommandButtonRegistry as ot, DefaultIconService as nt, DynamicIcon as rt, KeyCodes as at, NotifierType as lt, ReactUtils as it, RenderSlot as st, ResizableBox as dt, SplitPane as ct, createThemeScopeClass as pt, defaultTheme as ut, exitEditMode as mt, floatThemeScopeProps as ht, isVirtualKeyboardUp as gt, lazyComponent as bt, measureUIText as ft, themeSurfaceProps as yt, useCallbackRef as xt, useCommandButtonEntry as kt, useCommandButtonRegistry as vt, useCommands as wt, useDevicePixelRatio as St, useEditMode as Ct, useFloat as Tt, useFloatStack as Ft, useFloatSurface as Dt, useImperativeElement as Nt, useLanguage as It, useLocationSearch as Bt, useMeasure as Pt, useMouseDownAndHoldListener as Mt, useNotifier as Rt, useOptionalBoundSyncExternalStore as Ot, usePersistentState as At, useResolvedThemeMode as Lt, useTextSelectionDrag as Kt, useTranslator as Et, useVirtualKeyboard as zt } from "@sheetxl/utils-react";
|
|
10
10
|
import Wt, { Fragment as Ht, Suspense as Gt, cloneElement as $t, createContext as Vt, createElement as Ut, forwardRef as qt, isValidElement as jt, memo as _t, useCallback as Zt, useContext as Qt, useEffect as Yt, useId as Xt, useImperativeHandle as Jt, useLayoutEffect as eo, useMemo as to, useReducer as oo, useRef as no, useState as ro } from "react";
|
|
11
|
-
import { AnimatedLoadingPanel as ao, CommandButton as lo, CommandGroup as io, CommandPopupButton as so, CommandToolbar as co, CommandTooltip as po, ContextMenu as uo, ExhibitDivider as mo, ExhibitFloatProvider as ho, ExhibitIconButton as go, ExhibitMenuHeader as bo, ExhibitMenuItem as fo, ExhibitPopupIconButton as yo, ExhibitPopupMenuItem as xo, ExhibitTooltip as ko, InputCommandButton as vo, LabelIcon as wo, LazyLoadErrorPanel as So, MenuItemInsets as Co, PopupButtonType as To, SelectedIcon as Fo, SimpleTooltip as Do, StackTraceErrorPanel as No, ToggleGroupButton as
|
|
11
|
+
import { AnimatedLoadingPanel as ao, CommandButton as lo, CommandGroup as io, CommandPopupButton as so, CommandToolbar as co, CommandTooltip as po, ContextMenu as uo, ExhibitDivider as mo, ExhibitFloatProvider as ho, ExhibitIconButton as go, ExhibitMenuHeader as bo, ExhibitMenuItem as fo, ExhibitPopupIconButton as yo, ExhibitPopupMenuItem as xo, ExhibitTooltip as ko, InputCommandButton as vo, LabelIcon as wo, LazyLoadErrorPanel as So, MenuItemInsets as Co, PopupButtonType as To, SelectedIcon as Fo, SimpleTooltip as Do, StackTraceErrorPanel as No, ToggleGroupButton as Io, buttonLabelSx as Bo, createStrokeShadowFilter as Po, defaultRenderPopupPanel as Mo, defaultRenderScrollButtonEdge as Ro, defaultRenderScrollButtonEnd as Oo, defaultRenderScrollButtonStart as Ao, elevateColor as Lo, hexToRGB as Ko, lazyModal as Eo, lazyPanel as zo, renderMembers as Wo, strokeShadowFilter as Ho, useModal as Go } from "@sheetxl/utils-mui";
|
|
12
12
|
import { Fragment as $o, jsx as Vo, jsxs as Uo } from "react/jsx-runtime";
|
|
13
13
|
import { Avatar as qo, Box as jo, Button as _o, ButtonBase as Zo, Checkbox as Qo, Divider as Yo, FormControl as Xo, FormControlLabel as Jo, FormHelperText as en, IconButton as tn, Input as on, InputAdornment as nn, InputLabel as rn, Link as an, ListItemButton as ln, ListItemIcon as sn, ListSubheader as dn, Menu as cn, MenuItem as pn, MenuList as un, Paper as mn, Select as hn, Slider as gn, SvgIcon as bn, Tab as fn, Tabs as yn, TextField as xn, ToggleButton as kn, ToggleButtonGroup as vn, Typography as wn, alpha as Sn, styled as Cn, tooltipClasses as Tn, useMediaQuery as Fn, useTheme as Dn } from "@mui/material";
|
|
14
|
-
import { CommonUtils as Nn, CoordUtils as
|
|
14
|
+
import { CommonUtils as Nn, CoordUtils as In, DOMUtils as Bn, DefaultLanguagePackService as Pn, RangeAxis as Mn, TimerUtils as Rn, defineLazyModule as On, messageKey as An, t as Ln } from "@sheetxl/utils";
|
|
15
15
|
import Kn, { clsx as En } from "clsx";
|
|
16
16
|
import { alpha as zn } from "@mui/system";
|
|
17
17
|
import { useMergeRefs as Wn } from "react-merge-refs";
|
|
@@ -1085,10 +1085,21 @@ var Qn = {
|
|
|
1085
1085
|
description: "Insert a checkbox, or another registered cell control, in the selected cells.",
|
|
1086
1086
|
icon: "CheckboxInsert"
|
|
1087
1087
|
},
|
|
1088
|
+
insertImageInCellOptions: {
|
|
1089
|
+
label: "Place in Cell",
|
|
1090
|
+
description: "Insert a picture as the value of the selected cell. It moves, sorts and filters with the cell.",
|
|
1091
|
+
icon: "InsertImageInCell"
|
|
1092
|
+
},
|
|
1088
1093
|
insertImageOptions: {
|
|
1089
|
-
|
|
1094
|
+
label: "Pictures",
|
|
1095
|
+
description: "Insert a picture in a cell or over the cells.",
|
|
1090
1096
|
icon: "InsertImage"
|
|
1091
1097
|
},
|
|
1098
|
+
insertImageOverCellsOptions: {
|
|
1099
|
+
label: "Place over Cells",
|
|
1100
|
+
description: "Insert a picture that floats over the cells. It can be moved and resized on its own.",
|
|
1101
|
+
icon: "InsertImageOverCells"
|
|
1102
|
+
},
|
|
1092
1103
|
insertSheetOptions: { description: "Insert new cells, rows or columns to your workbook.\nTo insert multiple rows or columns at a time, select multiple rows or columns in the sheet and click Insert." },
|
|
1093
1104
|
insertToolbar: { label: "Insert" },
|
|
1094
1105
|
languageOptions: {
|
|
@@ -1420,7 +1431,7 @@ var or = [
|
|
|
1420
1431
|
icon: Vo(jo, {
|
|
1421
1432
|
className: "zoom-percent",
|
|
1422
1433
|
sx: {
|
|
1423
|
-
...
|
|
1434
|
+
...Bo,
|
|
1424
1435
|
display: "flex",
|
|
1425
1436
|
justifyContent: "center",
|
|
1426
1437
|
whiteSpace: "pre",
|
|
@@ -1715,8 +1726,8 @@ var rr = {
|
|
|
1715
1726
|
a?.set(d, s);
|
|
1716
1727
|
const c = s.toRGBA().toString();
|
|
1717
1728
|
l?.set(c, s);
|
|
1718
|
-
}, gr = bt(On("studio:customColorPanel", () => import("./
|
|
1719
|
-
const { selectedColor: n = null, previewColor: r = e.selectedColor ?? null, recentColors: a, schemeLookup: l, disableAlpha: i = !1, previewDebounceTime: s = 100, initialPanelType: d, defaultButtonSize: c = 24, width: p, onElementLoad: u, onDone: m, onEyeDropStart: h, onEyeDropStop: g, onPreviewColor: b, onPreviewColorImmediate: f, onSelectColor: y, autoColor: x, autoColorLabel: k, autoColorLabelKey: w, autoColorPosition: S = ar.Start, compareRGB: C = !1, darkMode: T = !1, style: F, ...D } = e, N = Et(),
|
|
1729
|
+
}, gr = bt(On("studio:customColorPanel", () => import("./Y0a0MfNj9jzVeoRQ.mjs")).load, { renderError: ({ error: e }) => Vo(So, { error: e }) }), br = _t(qt((e, o) => {
|
|
1730
|
+
const { selectedColor: n = null, previewColor: r = e.selectedColor ?? null, recentColors: a, schemeLookup: l, disableAlpha: i = !1, previewDebounceTime: s = 100, initialPanelType: d, defaultButtonSize: c = 24, width: p, onElementLoad: u, onDone: m, onEyeDropStart: h, onEyeDropStop: g, onPreviewColor: b, onPreviewColorImmediate: f, onSelectColor: y, autoColor: x, autoColorLabel: k, autoColorLabelKey: w, autoColorPosition: S = ar.Start, compareRGB: C = !1, darkMode: T = !1, style: F, ...D } = e, N = Et(), I = k ?? N(w ?? An("color.automatic")), B = r || n, P = xt(b ?? ((e) => {}), [b]), M = xt(f ?? ((e) => {}), [f]), R = xt(y ?? ((e, t) => {}), [y]), O = xt(h ?? (() => {}), [h]), A = xt(g ?? (() => {}), [g]), [L, K] = ro(!1), E = Dn(), z = to(() => l || t.getDefaultSchemeLookup(), [l]), W = to(() => {
|
|
1720
1731
|
const e = /* @__PURE__ */ new Map(), t = /* @__PURE__ */ new Map(), o = [];
|
|
1721
1732
|
hr(N("color.scheme.bg1"), "bg1", z, o, e, t), hr(N("color.scheme.tx1"), "tx1", z, o, e, t), hr(N("color.scheme.bg2"), "bg2", z, o, e, t), hr(N("color.scheme.tx2"), "tx2", z, o, e, t), hr(N("color.scheme.accent", { n: 1 }), "accent1", z, o, e, t), hr(N("color.scheme.accent", { n: 2 }), "accent2", z, o, e, t), hr(N("color.scheme.accent", { n: 3 }), "accent3", z, o, e, t), hr(N("color.scheme.accent", { n: 4 }), "accent4", z, o, e, t), hr(N("color.scheme.accent", { n: 5 }), "accent5", z, o, e, t), hr(N("color.scheme.accent", { n: 6 }), "accent6", z, o, e, t);
|
|
1722
1733
|
const n = v.buildPalette(o, z, e, t), r = [];
|
|
@@ -1837,18 +1848,18 @@ var rr = {
|
|
|
1837
1848
|
}),
|
|
1838
1849
|
children: Vo(gr, {
|
|
1839
1850
|
style: e,
|
|
1840
|
-
selectedColor:
|
|
1851
|
+
selectedColor: B ? B.toRGBA().toString() : "transparent",
|
|
1841
1852
|
onColorChange: X,
|
|
1842
1853
|
disableAlpha: i
|
|
1843
1854
|
})
|
|
1844
1855
|
});
|
|
1845
|
-
}, [H,
|
|
1856
|
+
}, [H, B]), te = to(() => ({
|
|
1846
1857
|
onClick: Z,
|
|
1847
1858
|
alphaGrey: E.palette.text.icon ?? E.palette.action.active
|
|
1848
1859
|
}), [Z, E]), oe = to(() => {
|
|
1849
1860
|
if (!x) return null;
|
|
1850
1861
|
const e = {
|
|
1851
|
-
description:
|
|
1862
|
+
description: I,
|
|
1852
1863
|
definition: {
|
|
1853
1864
|
val: x.getVal(),
|
|
1854
1865
|
adjs: x.getAdjustments()
|
|
@@ -1892,12 +1903,12 @@ var rr = {
|
|
|
1892
1903
|
marginLeft: "8px",
|
|
1893
1904
|
userSelect: "none"
|
|
1894
1905
|
},
|
|
1895
|
-
children:
|
|
1906
|
+
children: I
|
|
1896
1907
|
})]
|
|
1897
1908
|
}) });
|
|
1898
1909
|
}, [
|
|
1899
1910
|
x,
|
|
1900
|
-
|
|
1911
|
+
I,
|
|
1901
1912
|
z,
|
|
1902
1913
|
n,
|
|
1903
1914
|
r,
|
|
@@ -2066,9 +2077,9 @@ var rr = {
|
|
|
2066
2077
|
C.current || (k(e), b?.(e));
|
|
2067
2078
|
}, [b]), N = xt((e) => {
|
|
2068
2079
|
C.current || (k(e), f?.(e));
|
|
2069
|
-
}, [f]),
|
|
2080
|
+
}, [f]), I = xt((e, t) => {
|
|
2070
2081
|
C.current || (k(void 0), y?.(e, t));
|
|
2071
|
-
}, [y]),
|
|
2082
|
+
}, [y]), B = to(() => {
|
|
2072
2083
|
let e = "function" == typeof r ? r() : r;
|
|
2073
2084
|
"string" == typeof e && (e = Vo(rt, { iconKey: e }));
|
|
2074
2085
|
const t = (e) => e && "none" !== e ? e : void 0, o = t(S?.toCSS(h)) ?? t(p?.autoColor?.toCSS(h)) ?? "transparent";
|
|
@@ -2101,7 +2112,7 @@ var rr = {
|
|
|
2101
2112
|
},
|
|
2102
2113
|
onPreviewColorImmediate: N,
|
|
2103
2114
|
onPreviewColor: D,
|
|
2104
|
-
onSelectColor:
|
|
2115
|
+
onSelectColor: I,
|
|
2105
2116
|
onEyeDropStart: () => R(!0),
|
|
2106
2117
|
onEyeDropStop: () => R(!1),
|
|
2107
2118
|
compareRGB: m,
|
|
@@ -2122,7 +2133,7 @@ var rr = {
|
|
|
2122
2133
|
onPopupClose: T,
|
|
2123
2134
|
tooltip: a || l || "Color",
|
|
2124
2135
|
label: l,
|
|
2125
|
-
icon:
|
|
2136
|
+
icon: B,
|
|
2126
2137
|
...g
|
|
2127
2138
|
};
|
|
2128
2139
|
return c === To.Toolbar ? Vo(yo, {
|
|
@@ -2398,9 +2409,9 @@ var Cr = Object.freeze({
|
|
|
2398
2409
|
for (let t = 0; t < a; t++) n[e[t]] = r;
|
|
2399
2410
|
}
|
|
2400
2411
|
return n;
|
|
2401
|
-
}, []), B = Zt((e) => {
|
|
2402
|
-
b?.(e);
|
|
2403
2412
|
}, []), I = Zt((e) => {
|
|
2413
|
+
b?.(e);
|
|
2414
|
+
}, []), B = Zt((e) => {
|
|
2404
2415
|
f?.(e);
|
|
2405
2416
|
}, []), P = Zt((e) => {
|
|
2406
2417
|
const { closeFloatAll: o } = e, a = (e, t, n = "bottom", r = !1) => {
|
|
@@ -2413,7 +2424,7 @@ var Cr = Object.freeze({
|
|
|
2413
2424
|
placement: n
|
|
2414
2425
|
},
|
|
2415
2426
|
onClick: () => {
|
|
2416
|
-
o?.(),
|
|
2427
|
+
o?.(), B(a), I(a);
|
|
2417
2428
|
}
|
|
2418
2429
|
});
|
|
2419
2430
|
}, c = Uo($o, { children: [Uo(jo, {
|
|
@@ -2570,7 +2581,7 @@ var Cr = Object.freeze({
|
|
|
2570
2581
|
disabled: r || !g || g.disabled(),
|
|
2571
2582
|
...h
|
|
2572
2583
|
});
|
|
2573
|
-
})),
|
|
2584
|
+
})), Ir = _t(qt((e, t) => {
|
|
2574
2585
|
const { commandKey: o, showQuickButtons: n, fontSizes: a = r.DefaultFontSizes, disabled: l, icon: i, label: s, sx: d, ...c } = e, [p] = wt([o ?? ""]), u = () => p?.getState()?.toString() || "11", [m, h] = ro(u), g = xt(() => {
|
|
2575
2586
|
const e = parseFloat(m);
|
|
2576
2587
|
isNaN(e) ? h(u()) : parseFloat(u()) !== e && p?.execute(e);
|
|
@@ -2741,7 +2752,7 @@ var Cr = Object.freeze({
|
|
|
2741
2752
|
renderQuickButton: w,
|
|
2742
2753
|
...c
|
|
2743
2754
|
});
|
|
2744
|
-
})),
|
|
2755
|
+
})), Br = _t((e) => {
|
|
2745
2756
|
const { label: t, sample: o, sx: n, ...r } = e, a = !!o && o.length > 0;
|
|
2746
2757
|
return Uo(jo, {
|
|
2747
2758
|
sx: {
|
|
@@ -2769,7 +2780,7 @@ var Cr = Object.freeze({
|
|
|
2769
2780
|
})]
|
|
2770
2781
|
});
|
|
2771
2782
|
});
|
|
2772
|
-
|
|
2783
|
+
Br.displayName = "NumberFormatOption";
|
|
2773
2784
|
var Pr = (e, t) => {
|
|
2774
2785
|
switch (t) {
|
|
2775
2786
|
case F.Type.General: return e("numberFormat.catGeneral");
|
|
@@ -2841,7 +2852,7 @@ var Pr = (e, t) => {
|
|
|
2841
2852
|
"MYR",
|
|
2842
2853
|
"TWD"
|
|
2843
2854
|
], Ar = _t(qt((e, t) => {
|
|
2844
|
-
const { sx: o, disabled: n, groupKey: r, ...a } = e, l = Et(), i =
|
|
2855
|
+
const { sx: o, disabled: n, groupKey: r, ...a } = e, l = Et(), i = It(), [s] = wt(["formatNumberFormatAccountingStyle"]), d = n ?? (!s || s.disabled()), c = Zt((e) => {
|
|
2845
2856
|
const t = (t) => {
|
|
2846
2857
|
e.closeFloat?.(), s?.execute(t ?? void 0);
|
|
2847
2858
|
}, o = (e) => ({
|
|
@@ -3020,7 +3031,7 @@ var zr = _t((e) => {
|
|
|
3020
3031
|
e.keyCode !== at.Enter && e.keyCode !== at.Space || r(a.numberFormat);
|
|
3021
3032
|
},
|
|
3022
3033
|
...s,
|
|
3023
|
-
children: Vo(
|
|
3034
|
+
children: Vo(Br, {
|
|
3024
3035
|
label: l ?? Pr(d, a.formatType),
|
|
3025
3036
|
sample: n
|
|
3026
3037
|
})
|
|
@@ -3556,7 +3567,7 @@ var qr = _t(qt((e, t) => {
|
|
|
3556
3567
|
...r
|
|
3557
3568
|
});
|
|
3558
3569
|
})), Zr = (e, t) => {
|
|
3559
|
-
const o =
|
|
3570
|
+
const o = B(e);
|
|
3560
3571
|
return o ? t(o.key, o.params) : e;
|
|
3561
3572
|
}, Qr = (e, t) => {
|
|
3562
3573
|
const o = new Intl.Collator(Pn.getActive(), { numeric: !0 });
|
|
@@ -4061,7 +4072,7 @@ var qr = _t(qt((e, t) => {
|
|
|
4061
4072
|
})), aa = (e) => {
|
|
4062
4073
|
0 === e.button && e.preventDefault();
|
|
4063
4074
|
}, la = _t(qt((e, t) => {
|
|
4064
|
-
const { disabled: o, className: n, sx: r, defaultInput: a, value: l, formName: i, formOptions: s, onChangeInput: d, onChangeText: c, onDone: p, changeOn: u, onValidate: m, apiRef: h, label: g, helperText: b, showError: f = !0, onChangeError: y, hideAdornment: x, propsInput: k, onKeyDown: v, onFocus: w, ...S } = e, C = Et(), T = Kt(), F = g ?? C("namedInput.label"), D = Hn(), N = i && D ? D.register(i, s) : null,
|
|
4075
|
+
const { disabled: o, className: n, sx: r, defaultInput: a, value: l, formName: i, formOptions: s, onChangeInput: d, onChangeText: c, onDone: p, changeOn: u, onValidate: m, apiRef: h, label: g, helperText: b, showError: f = !0, onChangeError: y, hideAdornment: x, propsInput: k, onKeyDown: v, onFocus: w, ...S } = e, C = Et(), T = Kt(), F = g ?? C("namedInput.label"), D = Hn(), N = i && D ? D.register(i, s) : null, I = We({
|
|
4065
4076
|
value: l ?? "",
|
|
4066
4077
|
onChange: d,
|
|
4067
4078
|
onChangeText: c,
|
|
@@ -4070,19 +4081,19 @@ var qr = _t(qt((e, t) => {
|
|
|
4070
4081
|
onValidate: m,
|
|
4071
4082
|
disabled: o
|
|
4072
4083
|
});
|
|
4073
|
-
Jt(h, () =>
|
|
4074
|
-
const
|
|
4075
|
-
|
|
4084
|
+
Jt(h, () => I, [I]);
|
|
4085
|
+
const B = no(D);
|
|
4086
|
+
B.current = D;
|
|
4076
4087
|
const P = no(y);
|
|
4077
4088
|
P.current = y;
|
|
4078
4089
|
const M = no(null);
|
|
4079
4090
|
Yt(() => {
|
|
4080
|
-
if (
|
|
4081
|
-
if (M.current =
|
|
4082
|
-
const e =
|
|
4083
|
-
e && (
|
|
4084
|
-
}, [
|
|
4085
|
-
const R = "done" === u, O =
|
|
4091
|
+
if (I.error === M.current) return;
|
|
4092
|
+
if (M.current = I.error, P.current?.(I.error), !i) return;
|
|
4093
|
+
const e = B.current;
|
|
4094
|
+
e && (I.error ? e.setError(i, { message: C(I.error) }) : e.clearErrors(i));
|
|
4095
|
+
}, [I.error, i]);
|
|
4096
|
+
const R = "done" === u, O = I.engaged && I.dirty, A = to(() => {
|
|
4086
4097
|
if (!x && R) return Uo(nn, {
|
|
4087
4098
|
tabIndex: -1,
|
|
4088
4099
|
onMouseDown: aa,
|
|
@@ -4107,11 +4118,11 @@ var qr = _t(qt((e, t) => {
|
|
|
4107
4118
|
label: C("referenceInput.commit"),
|
|
4108
4119
|
simple: !0
|
|
4109
4120
|
},
|
|
4110
|
-
disabled: !!
|
|
4121
|
+
disabled: !!I.error,
|
|
4111
4122
|
tabIndex: -1,
|
|
4112
4123
|
onMouseDown: aa,
|
|
4113
4124
|
onClick: () => {
|
|
4114
|
-
|
|
4125
|
+
I.commit();
|
|
4115
4126
|
}
|
|
4116
4127
|
}), Vo(go, {
|
|
4117
4128
|
dense: !0,
|
|
@@ -4126,7 +4137,7 @@ var qr = _t(qt((e, t) => {
|
|
|
4126
4137
|
tabIndex: -1,
|
|
4127
4138
|
onMouseDown: aa,
|
|
4128
4139
|
onClick: () => {
|
|
4129
|
-
|
|
4140
|
+
I.cancel();
|
|
4130
4141
|
}
|
|
4131
4142
|
})]
|
|
4132
4143
|
});
|
|
@@ -4134,9 +4145,9 @@ var qr = _t(qt((e, t) => {
|
|
|
4134
4145
|
x,
|
|
4135
4146
|
R,
|
|
4136
4147
|
O,
|
|
4137
|
-
|
|
4138
|
-
|
|
4139
|
-
!!
|
|
4148
|
+
I.commit,
|
|
4149
|
+
I.cancel,
|
|
4150
|
+
!!I.error
|
|
4140
4151
|
]);
|
|
4141
4152
|
return Vo(Xo, {
|
|
4142
4153
|
sx: {
|
|
@@ -4152,8 +4163,8 @@ var qr = _t(qt((e, t) => {
|
|
|
4152
4163
|
label: F,
|
|
4153
4164
|
placeholder: a,
|
|
4154
4165
|
disabled: o,
|
|
4155
|
-
error: !!
|
|
4156
|
-
helperText:
|
|
4166
|
+
error: !!I.error,
|
|
4167
|
+
helperText: I.error && f ? C(I.error) : void 0 === b ? " " : b,
|
|
4157
4168
|
sx: { "& .MuiFormHelperText-root": { marginTop: (e) => e.spacing(.5) } },
|
|
4158
4169
|
slotProps: {
|
|
4159
4170
|
input: { endAdornment: A },
|
|
@@ -4173,21 +4184,21 @@ var qr = _t(qt((e, t) => {
|
|
|
4173
4184
|
}
|
|
4174
4185
|
}
|
|
4175
4186
|
},
|
|
4176
|
-
value:
|
|
4187
|
+
value: I.inputProps.value,
|
|
4177
4188
|
inputRef: (e) => {
|
|
4178
|
-
|
|
4189
|
+
I.inputProps.ref(e), N?.ref && N.ref(e);
|
|
4179
4190
|
},
|
|
4180
4191
|
onChange: (e) => {
|
|
4181
|
-
|
|
4192
|
+
I.inputProps.onChange(e), N?.onChange(e);
|
|
4182
4193
|
},
|
|
4183
4194
|
onKeyDown: (e) => {
|
|
4184
|
-
|
|
4195
|
+
I.inputProps.onKeyDown(e), e.defaultPrevented || v?.(e);
|
|
4185
4196
|
},
|
|
4186
4197
|
onFocus: (e) => {
|
|
4187
|
-
|
|
4198
|
+
I.inputProps.onFocus(e), w?.(e);
|
|
4188
4199
|
},
|
|
4189
4200
|
onBlur: (e) => {
|
|
4190
|
-
|
|
4201
|
+
I.inputProps.onBlur(e), N?.onBlur(e);
|
|
4191
4202
|
},
|
|
4192
4203
|
onContextMenu: (e) => {
|
|
4193
4204
|
e.stopPropagation();
|
|
@@ -4199,7 +4210,7 @@ la.displayName = "InputField";
|
|
|
4199
4210
|
var ia = (e) => {
|
|
4200
4211
|
0 === e.button && e.preventDefault();
|
|
4201
4212
|
}, sa = "20px", da = "4px", ca = `calc(${sa} + ${da})`, pa = _t(qt((e, t) => {
|
|
4202
|
-
const { grammar: o = "formula", formName: n, formOptions: r, disabled: a, className: l, sx: i, onKeyDown: s, onFocus: d, value: c, onChangeInput: p, onChangeText: u, onDone: m, changeOn: h, apiRef: g, workbook: b, home: f, equals: y, pickAs: x, pickSpills: k, allowMulti: v, allowCrossSheet: w, required: S, label: C, labelPlacement: T = "floating", placeholder: F, helperText: D, showError: N = !0, onChangeError:
|
|
4213
|
+
const { grammar: o = "formula", formName: n, formOptions: r, disabled: a, className: l, sx: i, onKeyDown: s, onFocus: d, value: c, onChangeInput: p, onChangeText: u, onDone: m, changeOn: h, apiRef: g, workbook: b, home: f, equals: y, pickAs: x, pickSpills: k, allowMulti: v, allowCrossSheet: w, required: S, label: C, labelPlacement: T = "floating", placeholder: F, helperText: D, showError: N = !0, onChangeError: I, validationError: B, hideAdornment: P, classNameInput: M, argument: R, id: O, ...A } = e, L = Et(), K = "above" === T, E = Xt(), z = O ?? E, W = "formula" === o, H = void 0 === C ? L(W ? "formulaInput.label" : "rangeInput.label") : C, G = F ?? L(W ? "formulaInput.placeholder" : "rangeInput.placeholder"), $ = Hn(), V = n && $ ? $.register(n, r) : null, U = Ke({
|
|
4203
4214
|
value: c,
|
|
4204
4215
|
onChange: p,
|
|
4205
4216
|
onChangeText: u,
|
|
@@ -4223,10 +4234,10 @@ var ia = (e) => {
|
|
|
4223
4234
|
workbook: b,
|
|
4224
4235
|
home: f,
|
|
4225
4236
|
argument: R
|
|
4226
|
-
}), j = !!U.error && !q.inputExpected, _ = j || !!
|
|
4237
|
+
}), j = !!U.error && !q.inputExpected, _ = j || !!B, Z = N && _ ? L(j ? U.error : B) : void 0 === D ? " " : D, Q = no($);
|
|
4227
4238
|
Q.current = $;
|
|
4228
|
-
const Y = no(
|
|
4229
|
-
Y.current =
|
|
4239
|
+
const Y = no(I);
|
|
4240
|
+
Y.current = I;
|
|
4230
4241
|
const X = no(null), J = j ? U.error : null, ee = no(null);
|
|
4231
4242
|
Yt(() => {
|
|
4232
4243
|
J !== ee.current && (ee.current = J, Y.current?.(J));
|
|
@@ -4407,7 +4418,7 @@ var ia = (e) => {
|
|
|
4407
4418
|
});
|
|
4408
4419
|
}));
|
|
4409
4420
|
pa.displayName = "FormulaField";
|
|
4410
|
-
var ua = zo(On("studio:tableDetailsTaskPane", () => import("./
|
|
4421
|
+
var ua = zo(On("studio:tableDetailsTaskPane", () => import("./BIbJ-RvwV7EKR1AK.mjs"), { select: (e) => ({ default: e.TableDetailsTaskPane }) }).load), ma = () => {
|
|
4411
4422
|
nt.register("plugin-table", { icons: {} }), K.registerTaskPane({
|
|
4412
4423
|
key: "tableDetails",
|
|
4413
4424
|
getTitle: () => "Table Details",
|
|
@@ -5023,7 +5034,7 @@ var ua = zo(On("studio:tableDetailsTaskPane", () => import("./DygDgOpa9sJ6YFVS.m
|
|
|
5023
5034
|
darkMode: g,
|
|
5024
5035
|
...c
|
|
5025
5036
|
});
|
|
5026
|
-
})),
|
|
5037
|
+
})), Ia = _t(qt((e, t) => {
|
|
5027
5038
|
const { groupKey: o = "workbook", disabled: n, ...r } = e, [a, l] = ro([]), i = se.canWrite(), s = se.canRead();
|
|
5028
5039
|
Yt(() => {
|
|
5029
5040
|
let e = !0;
|
|
@@ -5162,8 +5173,8 @@ var ua = zo(On("studio:tableDetailsTaskPane", () => import("./DygDgOpa9sJ6YFVS.m
|
|
|
5162
5173
|
})
|
|
5163
5174
|
});
|
|
5164
5175
|
}));
|
|
5165
|
-
|
|
5166
|
-
var
|
|
5176
|
+
Ia.displayName = "FileCommandButton";
|
|
5177
|
+
var Ba = _t(qt((e, t) => {
|
|
5167
5178
|
const { groupKey: o, disabled: n, ...r } = e, [a] = wt(["themeMode"]), l = kt("appearanceOptions"), i = xt((e) => {
|
|
5168
5179
|
const t = {
|
|
5169
5180
|
variant: et.Menuitem,
|
|
@@ -5656,9 +5667,14 @@ var cl = _t(qt((e, t) => {
|
|
|
5656
5667
|
cl.displayName = "PresetScalesCommandButton";
|
|
5657
5668
|
var pl = () => {
|
|
5658
5669
|
ot.register({
|
|
5659
|
-
key: "
|
|
5660
|
-
|
|
5670
|
+
key: "insertImageInCellOptions",
|
|
5671
|
+
members: ["insertImageInCellFromFile", "insertImageInCellFromURL"]
|
|
5672
|
+
}, !0), ot.register({
|
|
5673
|
+
key: "insertImageOverCellsOptions",
|
|
5661
5674
|
members: ["insertImageFromFile", "insertImageFromURL"]
|
|
5675
|
+
}, !0), ot.register({
|
|
5676
|
+
key: "insertImageOptions",
|
|
5677
|
+
members: ["insertImageInCellOptions", "insertImageOverCellsOptions"]
|
|
5662
5678
|
}, !0), ot.register({
|
|
5663
5679
|
key: "sheetBackgroundOptions",
|
|
5664
5680
|
defaultKey: "sheetBackgroundToggle",
|
|
@@ -5681,7 +5697,7 @@ var pl = () => {
|
|
|
5681
5697
|
]
|
|
5682
5698
|
}, !0), ot.register({
|
|
5683
5699
|
key: "underlineOptions",
|
|
5684
|
-
render: (e, t) => Vo(
|
|
5700
|
+
render: (e, t) => Vo(Io, {
|
|
5685
5701
|
...e,
|
|
5686
5702
|
groupKey: t,
|
|
5687
5703
|
projectAs: "quick"
|
|
@@ -5694,7 +5710,7 @@ var pl = () => {
|
|
|
5694
5710
|
]
|
|
5695
5711
|
}, !0), ot.register({
|
|
5696
5712
|
key: "textOverflowOptions",
|
|
5697
|
-
render: (e, t) => Vo(
|
|
5713
|
+
render: (e, t) => Vo(Io, {
|
|
5698
5714
|
...e,
|
|
5699
5715
|
groupKey: t,
|
|
5700
5716
|
projectAs: "icon",
|
|
@@ -5952,7 +5968,7 @@ var pl = () => {
|
|
|
5952
5968
|
render: (e) => Vo(jr, { ...e })
|
|
5953
5969
|
}, !0), ot.register({
|
|
5954
5970
|
key: "horizontalAlignOptions",
|
|
5955
|
-
render: (e, t) => Vo(
|
|
5971
|
+
render: (e, t) => Vo(Io, {
|
|
5956
5972
|
...e,
|
|
5957
5973
|
groupKey: t,
|
|
5958
5974
|
projectAs: "quick"
|
|
@@ -5986,7 +6002,7 @@ var pl = () => {
|
|
|
5986
6002
|
]
|
|
5987
6003
|
}, !0), ot.register({
|
|
5988
6004
|
key: "verticalAlignOptions",
|
|
5989
|
-
render: (e, t) => Vo(
|
|
6005
|
+
render: (e, t) => Vo(Io, {
|
|
5990
6006
|
...e,
|
|
5991
6007
|
groupKey: t,
|
|
5992
6008
|
projectAs: "icon",
|
|
@@ -6307,7 +6323,7 @@ var gl = _t(qt((e, t) => {
|
|
|
6307
6323
|
"zh-CN",
|
|
6308
6324
|
"zh-TW"
|
|
6309
6325
|
], fl = _t(qt((e, t) => {
|
|
6310
|
-
const { sx: o, disabled: n, ...r } = e, a = Et(), l =
|
|
6326
|
+
const { sx: o, disabled: n, ...r } = e, a = Et(), l = It(), [i] = wt(["locale"]), s = i?.getState() ?? null, d = n ?? (!i || i.disabled()), { reference: c } = Ft(), p = Zt((e) => {
|
|
6311
6327
|
const t = (e) => {
|
|
6312
6328
|
c?.closeAll(), i?.execute(e);
|
|
6313
6329
|
}, o = (e, o) => ({
|
|
@@ -6443,7 +6459,7 @@ var vl = "insertCellControlOptions", wl = _t(qt((e, t) => {
|
|
|
6443
6459
|
}));
|
|
6444
6460
|
wl.displayName = "InsertCellControlCommandButton";
|
|
6445
6461
|
var Sl = _t((e) => {
|
|
6446
|
-
const { presetKey: t, disabled: o, handleOnInsertChart: n, size: r = "large", ...a } = e, l = Et(), i =
|
|
6462
|
+
const { presetKey: t, disabled: o, handleOnInsertChart: n, size: r = "large", ...a } = e, l = Et(), i = Ie(t);
|
|
6447
6463
|
if (!i) return console.warn("no descriptor type", i), null;
|
|
6448
6464
|
const s = i.Icon;
|
|
6449
6465
|
return Vo(go, {
|
|
@@ -6624,7 +6640,7 @@ var Sl = _t((e) => {
|
|
|
6624
6640
|
]
|
|
6625
6641
|
})
|
|
6626
6642
|
});
|
|
6627
|
-
}, [n, i]), h =
|
|
6643
|
+
}, [n, i]), h = Ie(q.Column).Icon;
|
|
6628
6644
|
return Vo(so, {
|
|
6629
6645
|
ref: t,
|
|
6630
6646
|
renderPopupPanel: m,
|
|
@@ -6641,7 +6657,7 @@ var Sl = _t((e) => {
|
|
|
6641
6657
|
...l
|
|
6642
6658
|
});
|
|
6643
6659
|
})), Tl = Object.freeze([]), Fl = new Map(_.flatMap((e) => e.entries.map((e) => [e.key, e]))), Dl = _t(qt((e, t) => {
|
|
6644
|
-
const { groupKey: o, disabled: n, label: r, icon: a, commandKey: l
|
|
6660
|
+
const { groupKey: o, disabled: n, label: r, icon: a, commandKey: l, excludeCategories: i, ...s } = e, d = Et(), c = wt([l])[0], p = to(() => i?.length ? _.filter((e) => !i.includes(e.key)) : _, [i]), u = n ?? c?.disabled(), [m, h] = At("shape.recentShapes", Tl), g = to(() => {
|
|
6645
6661
|
if (!Array.isArray(m)) return [];
|
|
6646
6662
|
const e = [];
|
|
6647
6663
|
for (const t of m) {
|
|
@@ -6750,7 +6766,7 @@ var Sl = _t((e) => {
|
|
|
6750
6766
|
})
|
|
6751
6767
|
}, !0), ot.register({
|
|
6752
6768
|
key: "formatFontSize",
|
|
6753
|
-
render: (e) => Vo(
|
|
6769
|
+
render: (e) => Vo(Ir, {
|
|
6754
6770
|
...e,
|
|
6755
6771
|
commandKey: "formatFontSize"
|
|
6756
6772
|
})
|
|
@@ -6886,7 +6902,10 @@ var Sl = _t((e) => {
|
|
|
6886
6902
|
members: [
|
|
6887
6903
|
"insertTable",
|
|
6888
6904
|
"insertImageOptions",
|
|
6889
|
-
{ render: (e) => Vo(Dl, {
|
|
6905
|
+
{ render: (e) => Vo(Dl, {
|
|
6906
|
+
...e,
|
|
6907
|
+
commandKey: "insertShape"
|
|
6908
|
+
}) },
|
|
6890
6909
|
"-",
|
|
6891
6910
|
{ render: (e) => Vo(wl, { ...e }) },
|
|
6892
6911
|
"-",
|
|
@@ -6913,7 +6932,7 @@ var Sl = _t((e) => {
|
|
|
6913
6932
|
"-",
|
|
6914
6933
|
"sortFilterOptions"
|
|
6915
6934
|
]
|
|
6916
|
-
}, !0),
|
|
6935
|
+
}, !0), Be(), ot.register({
|
|
6917
6936
|
key: "movableContextMenu",
|
|
6918
6937
|
members: [
|
|
6919
6938
|
"copy",
|
|
@@ -7068,7 +7087,7 @@ var Sl = _t((e) => {
|
|
|
7068
7087
|
"viewToolbar"
|
|
7069
7088
|
]
|
|
7070
7089
|
}, !0);
|
|
7071
|
-
},
|
|
7090
|
+
}, Il = _t(qt((e, t) => {
|
|
7072
7091
|
const { sx: o, disabled: n, ...r } = e, [a] = wt(["language"]), l = a?.getState() ?? Pn.getActive(), i = n ?? (!a || a.disabled()), { reference: s } = Ft(), d = Zt((e) => {
|
|
7073
7092
|
const t = (e) => {
|
|
7074
7093
|
s?.closeAll(), a?.execute(e);
|
|
@@ -7106,7 +7125,7 @@ var Sl = _t((e) => {
|
|
|
7106
7125
|
overflow: "hidden",
|
|
7107
7126
|
textOverflow: "ellipsis"
|
|
7108
7127
|
},
|
|
7109
|
-
children:
|
|
7128
|
+
children: Bl(e)
|
|
7110
7129
|
})
|
|
7111
7130
|
})
|
|
7112
7131
|
}, e);
|
|
@@ -7150,7 +7169,7 @@ var Sl = _t((e) => {
|
|
|
7150
7169
|
...r
|
|
7151
7170
|
});
|
|
7152
7171
|
}));
|
|
7153
|
-
function
|
|
7172
|
+
function Bl(e) {
|
|
7154
7173
|
try {
|
|
7155
7174
|
return new Intl.DisplayNames([e], { type: "language" }).of(e) ?? e;
|
|
7156
7175
|
} catch {
|
|
@@ -7186,7 +7205,7 @@ var Pl = () => {
|
|
|
7186
7205
|
members: ["enableDarkGrid", "enableDarkImages"]
|
|
7187
7206
|
}, !0), ot.register({
|
|
7188
7207
|
key: "language",
|
|
7189
|
-
render: (e) => Vo(
|
|
7208
|
+
render: (e) => Vo(Il, {
|
|
7190
7209
|
...e,
|
|
7191
7210
|
variant: "menuitem"
|
|
7192
7211
|
})
|
|
@@ -7257,11 +7276,11 @@ var Rl = {
|
|
|
7257
7276
|
}));
|
|
7258
7277
|
Ol.displayName = "ItemCardAction";
|
|
7259
7278
|
var Al = _t((e) => {
|
|
7260
|
-
const { item: t, messageKeys: o, title: n, subtitle: r, caption: a, Subtitle: l, readOnly: i = !1, selected: s = !1, canMoveUp: d = !1, canMoveDown: c = !1, onEdit: p, onSelect: u, onMoveBy: m, onDuplicate: h, onDelete: g, actions: b, subscribeItem: f, Media: y, Body: x, className: k, sx: v, ...w } = e, S = Et(), C = !i && !!p, T = null != a, [F, D] = ro(!1), [N,
|
|
7279
|
+
const { item: t, messageKeys: o, title: n, subtitle: r, caption: a, Subtitle: l, readOnly: i = !1, selected: s = !1, canMoveUp: d = !1, canMoveDown: c = !1, onEdit: p, onSelect: u, onMoveBy: m, onDuplicate: h, onDelete: g, actions: b, subscribeItem: f, Media: y, Body: x, className: k, sx: v, ...w } = e, S = Et(), C = !i && !!p, T = null != a, [F, D] = ro(!1), [N, I] = oo((e) => e + 1, 0);
|
|
7261
7280
|
Yt(() => {
|
|
7262
|
-
if (f) return f(t,
|
|
7281
|
+
if (f) return f(t, I);
|
|
7263
7282
|
}, [t, f]), Yt(() => {}, [F]);
|
|
7264
|
-
const
|
|
7283
|
+
const B = to(() => Kn("sxl-item-card", "sxl-anchor-item-card", k, {
|
|
7265
7284
|
"sxl-read-only": i,
|
|
7266
7285
|
"Mui-selected": s
|
|
7267
7286
|
}, Rl.card), [
|
|
@@ -7307,7 +7326,7 @@ var Al = _t((e) => {
|
|
|
7307
7326
|
}
|
|
7308
7327
|
}
|
|
7309
7328
|
}, ...Array.isArray(v) ? v : [v]],
|
|
7310
|
-
className:
|
|
7329
|
+
className: B,
|
|
7311
7330
|
children: [
|
|
7312
7331
|
Uo(jo, {
|
|
7313
7332
|
className: "anchor-item-card-header",
|
|
@@ -7521,15 +7540,15 @@ var El = Vt(null), zl = (e) => {
|
|
|
7521
7540
|
e = !0;
|
|
7522
7541
|
};
|
|
7523
7542
|
}, [o]);
|
|
7524
|
-
const N = o && x?.name === o.getName() ? x.summary : null,
|
|
7543
|
+
const N = o && x?.name === o.getName() ? x.summary : null, I = to(() => o ? ge(o, { locale: s?.getLocale() }) : null, [o, s]), B = xt((e) => {
|
|
7525
7544
|
0 !== f.length && D(f[Math.min(f.length - 1, Math.max(0, e))]);
|
|
7526
7545
|
}, [f, D]), P = xt((e) => {
|
|
7527
7546
|
const t = o ? f.indexOf(o) : -1;
|
|
7528
|
-
|
|
7547
|
+
B(t + e);
|
|
7529
7548
|
}, [
|
|
7530
7549
|
f,
|
|
7531
7550
|
o,
|
|
7532
|
-
|
|
7551
|
+
B
|
|
7533
7552
|
]), M = xt((e) => {
|
|
7534
7553
|
if (e.isDefaultPrevented()) return;
|
|
7535
7554
|
const t = S.current?.contains(e.target) ?? !1;
|
|
@@ -7548,24 +7567,24 @@ var El = Vt(null), zl = (e) => {
|
|
|
7548
7567
|
break;
|
|
7549
7568
|
case at.Home:
|
|
7550
7569
|
if (!t) return;
|
|
7551
|
-
|
|
7570
|
+
B(0);
|
|
7552
7571
|
break;
|
|
7553
7572
|
case at.End:
|
|
7554
7573
|
if (!t) return;
|
|
7555
|
-
|
|
7574
|
+
B(f.length - 1);
|
|
7556
7575
|
break;
|
|
7557
7576
|
default: return;
|
|
7558
7577
|
}
|
|
7559
7578
|
e.preventDefault();
|
|
7560
7579
|
}, [
|
|
7561
7580
|
P,
|
|
7562
|
-
|
|
7581
|
+
B,
|
|
7563
7582
|
f
|
|
7564
7583
|
]);
|
|
7565
7584
|
Yt(() => {
|
|
7566
7585
|
if (!o) return;
|
|
7567
7586
|
const e = S.current, t = e?.querySelector("[data-selected=\"true\"]");
|
|
7568
|
-
e && t &&
|
|
7587
|
+
e && t && Bn.scrollIntoContainer(e, t);
|
|
7569
7588
|
}, [o]);
|
|
7570
7589
|
const R = to(() => f.map((e) => {
|
|
7571
7590
|
const t = e.getName(), n = e === o;
|
|
@@ -7681,7 +7700,7 @@ var El = Vt(null), zl = (e) => {
|
|
|
7681
7700
|
tabIndex: 0,
|
|
7682
7701
|
"aria-activedescendant": o ? F(o.getName()) : void 0,
|
|
7683
7702
|
onFocus: () => {
|
|
7684
|
-
o ||
|
|
7703
|
+
o || B(0);
|
|
7685
7704
|
},
|
|
7686
7705
|
sx: {
|
|
7687
7706
|
flex: "1 1 0",
|
|
@@ -7719,14 +7738,14 @@ var El = Vt(null), zl = (e) => {
|
|
|
7719
7738
|
fontSize: "0.8rem",
|
|
7720
7739
|
lineHeight: "16px"
|
|
7721
7740
|
},
|
|
7722
|
-
children:
|
|
7741
|
+
children: I ? Uo($o, { children: [Vo(jo, {
|
|
7723
7742
|
sx: { padding: "0 10px" },
|
|
7724
7743
|
children: Vo(W, {
|
|
7725
|
-
hint:
|
|
7744
|
+
hint: I,
|
|
7726
7745
|
wrap: !0
|
|
7727
7746
|
})
|
|
7728
7747
|
}), Vo(z, {
|
|
7729
|
-
hint:
|
|
7748
|
+
hint: I,
|
|
7730
7749
|
descriptor: x,
|
|
7731
7750
|
showParameters: !1
|
|
7732
7751
|
})] }) : null
|
|
@@ -7759,7 +7778,7 @@ var Hl = _t((e) => {
|
|
|
7759
7778
|
const N = xt((e) => {
|
|
7760
7779
|
const t = (S.current.get(e) ?? 0) + 1;
|
|
7761
7780
|
return S.current.set(e, t), t;
|
|
7762
|
-
}, []),
|
|
7781
|
+
}, []), I = xt((e, t) => {
|
|
7763
7782
|
p((o) => {
|
|
7764
7783
|
const n = o.slice();
|
|
7765
7784
|
for (; n.length <= e;) n.push("");
|
|
@@ -7769,7 +7788,7 @@ var Hl = _t((e) => {
|
|
|
7769
7788
|
const o = t.slice();
|
|
7770
7789
|
return o[e] = null, o;
|
|
7771
7790
|
});
|
|
7772
|
-
}, [N]),
|
|
7791
|
+
}, [N]), B = xt((e, t) => {
|
|
7773
7792
|
g((o) => {
|
|
7774
7793
|
if ((o[e] ?? null) === t) return o;
|
|
7775
7794
|
const n = o.slice();
|
|
@@ -7857,11 +7876,11 @@ var Hl = _t((e) => {
|
|
|
7857
7876
|
placeholder: i(pe(e.param)),
|
|
7858
7877
|
showError: !1,
|
|
7859
7878
|
helperText: null,
|
|
7860
|
-
onChangeError: (e) =>
|
|
7879
|
+
onChangeError: (e) => B(o, e),
|
|
7861
7880
|
workbook: d,
|
|
7862
7881
|
home: n,
|
|
7863
7882
|
value: null,
|
|
7864
|
-
onChangeText: (e) =>
|
|
7883
|
+
onChangeText: (e) => I(o, e),
|
|
7865
7884
|
onChangeInput: (e) => {
|
|
7866
7885
|
P(o, e);
|
|
7867
7886
|
},
|
|
@@ -7912,8 +7931,8 @@ var Hl = _t((e) => {
|
|
|
7912
7931
|
u,
|
|
7913
7932
|
d,
|
|
7914
7933
|
n,
|
|
7915
|
-
B,
|
|
7916
7934
|
I,
|
|
7935
|
+
B,
|
|
7917
7936
|
P,
|
|
7918
7937
|
i
|
|
7919
7938
|
]);
|
|
@@ -8298,7 +8317,7 @@ var Xl = { placement: "top-end" }, Jl = _t(qt((e, t) => {
|
|
|
8298
8317
|
} }), Yt(() => {
|
|
8299
8318
|
m.current = 0, u(!1), c(s?.getZoomScale() ?? 100);
|
|
8300
8319
|
}, [s]), Yt(() => {
|
|
8301
|
-
0 !== m.current && s &&
|
|
8320
|
+
0 !== m.current && s && I.debounce(() => {
|
|
8302
8321
|
d === m.current && (m.current = 0, s.update({ zoomScale: d }));
|
|
8303
8322
|
}, n)();
|
|
8304
8323
|
}, [d, n]);
|
|
@@ -8455,7 +8474,7 @@ var Xl = { placement: "top-end" }, Jl = _t(qt((e, t) => {
|
|
|
8455
8474
|
}));
|
|
8456
8475
|
Jl.displayName = "SheetZoomScale";
|
|
8457
8476
|
var ei = "_stats-items_151a8_1", ti = "_stats-item_151a8_1", oi = "_stats-item-label_151a8_15", ni = _t(qt((e, t) => {
|
|
8458
|
-
const { className: o, stats: n = ai, debounceDelay: r = 40, style: a, ...l } = e, i = Ye(), s = Et(), [d, c] = ro(null), [p, u] = oo((e) => e + 1, 0), m = Zt(
|
|
8477
|
+
const { className: o, stats: n = ai, debounceDelay: r = 40, style: a, ...l } = e, i = Ye(), s = Et(), [d, c] = ro(null), [p, u] = oo((e) => e + 1, 0), m = Zt(I.debounce(u, r), [r]);
|
|
8459
8478
|
Yt(() => {
|
|
8460
8479
|
if (!i) return;
|
|
8461
8480
|
const e = i.getSelectedRanges();
|
|
@@ -8592,7 +8611,7 @@ var ai = Object.freeze([
|
|
|
8592
8611
|
})
|
|
8593
8612
|
});
|
|
8594
8613
|
})), di = _t((e) => {
|
|
8595
|
-
const { debounceDelay: t = 40, className: o, style: n, ...r } = e, a = Ye(), l = Et(), [i, s] = oo((e) => e + 1, 0), d = Zt(
|
|
8614
|
+
const { debounceDelay: t = 40, className: o, style: n, ...r } = e, a = Ye(), l = Et(), [i, s] = oo((e) => e + 1, 0), d = Zt(I.debounce(s, t), [t]), [c, p] = ro(null);
|
|
8596
8615
|
if (Yt(() => {
|
|
8597
8616
|
p(a ? ye(a) : null);
|
|
8598
8617
|
}, [i, a]), $e(a, {
|
|
@@ -8630,7 +8649,7 @@ var ai = Object.freeze([
|
|
|
8630
8649
|
});
|
|
8631
8650
|
di.displayName = "CircularReferenceStatus";
|
|
8632
8651
|
var ci = _t((e) => {
|
|
8633
|
-
const { debounceDelay: t = 40, className: o, style: n, ...r } = e, a = _e(), l = Ye(), i = a?.getCalculation() ?? null, d = Et(), [c] = wt(["calculateAll"]), [, p] = oo((e) => e + 1, 0), u = Zt(
|
|
8652
|
+
const { debounceDelay: t = 40, className: o, style: n, ...r } = e, a = _e(), l = Ye(), i = a?.getCalculation() ?? null, d = Et(), [c] = wt(["calculateAll"]), [, p] = oo((e) => e + 1, 0), u = Zt(I.debounce(p, t), [t]);
|
|
8634
8653
|
return $e(i, {
|
|
8635
8654
|
onStale: u,
|
|
8636
8655
|
onOptionsChange: u,
|
|
@@ -8668,7 +8687,7 @@ var ci = _t((e) => {
|
|
|
8668
8687
|
});
|
|
8669
8688
|
ci.displayName = "CalculationRequiredStatus";
|
|
8670
8689
|
var pi = _t((e) => {
|
|
8671
|
-
const { debounceDelay: t = 40, className: o, style: n, ...r } = e, a = _e()?.getCalculation() ?? null, l = Et(), [, i] = oo((e) => e + 1, 0), s = Zt(
|
|
8690
|
+
const { debounceDelay: t = 40, className: o, style: n, ...r } = e, a = _e()?.getCalculation() ?? null, l = Et(), [, i] = oo((e) => e + 1, 0), s = Zt(I.debounce(i, t), [t]);
|
|
8672
8691
|
$e(a, {
|
|
8673
8692
|
onPendingChange: s,
|
|
8674
8693
|
onStatusChange: s
|
|
@@ -8945,16 +8964,16 @@ var mi = _t(qt((e, t) => {
|
|
|
8945
8964
|
t = a.getByRanges(o.getRanges())[0] ?? null;
|
|
8946
8965
|
} catch (e) {}
|
|
8947
8966
|
t || (t = e.getSelectedRange().toString()), g({ text: t });
|
|
8948
|
-
}, [l, f]), [
|
|
8967
|
+
}, [l, f]), [I, B] = ro(() => a?.getItems() ?? null);
|
|
8949
8968
|
$e(a, {
|
|
8950
8969
|
onCollectionChange(e) {
|
|
8951
|
-
|
|
8970
|
+
B(a.getItems()), N();
|
|
8952
8971
|
},
|
|
8953
8972
|
onInvalidated(e) {
|
|
8954
|
-
|
|
8973
|
+
B(a.getItems()), N();
|
|
8955
8974
|
},
|
|
8956
8975
|
onClose(e) {
|
|
8957
|
-
|
|
8976
|
+
B([]);
|
|
8958
8977
|
}
|
|
8959
8978
|
}), Yt(() => {
|
|
8960
8979
|
F(C());
|
|
@@ -9175,7 +9194,7 @@ var mi = _t(qt((e, t) => {
|
|
|
9175
9194
|
});
|
|
9176
9195
|
}, [
|
|
9177
9196
|
l,
|
|
9178
|
-
|
|
9197
|
+
I,
|
|
9179
9198
|
a,
|
|
9180
9199
|
h,
|
|
9181
9200
|
w,
|
|
@@ -9224,7 +9243,7 @@ var mi = _t(qt((e, t) => {
|
|
|
9224
9243
|
});
|
|
9225
9244
|
}));
|
|
9226
9245
|
mi.displayName = "NamedCollectionEditor";
|
|
9227
|
-
var hi = zo(On("studio:namedDetailsTaskPane", () => import("./
|
|
9246
|
+
var hi = zo(On("studio:namedDetailsTaskPane", () => import("./DfRwTR3tR0Wx5I0U.mjs"), { select: (e) => ({ default: e.NamedDetailsTaskPane }) }).load), gi = () => {
|
|
9228
9247
|
K.registerTaskPane({
|
|
9229
9248
|
key: "managedNames",
|
|
9230
9249
|
getTitle: () => "Names",
|
|
@@ -9354,11 +9373,11 @@ var hi = zo(On("studio:namedDetailsTaskPane", () => import("./Dz0Hg87UcJ-awwiI.m
|
|
|
9354
9373
|
editable: a,
|
|
9355
9374
|
disabled: c,
|
|
9356
9375
|
lineHeight: g
|
|
9357
|
-
}), C = wt(["insertFunctionDialog", "calculateAll"]), T = C[0], F = C[1], D = h.getCalculation(), [N,
|
|
9376
|
+
}), C = wt(["insertFunctionDialog", "calculateAll"]), T = C[0], F = C[1], D = h.getCalculation(), [N, I] = ro(() => D.getCalculationMode() === s.CalculationMode.Manual);
|
|
9358
9377
|
$e(D, { onOptionsChange: (e) => {
|
|
9359
|
-
|
|
9378
|
+
I(e.getCalculationMode() === s.CalculationMode.Manual);
|
|
9360
9379
|
} });
|
|
9361
|
-
const
|
|
9380
|
+
const B = p && N, P = Et(), [M, R] = ro(g), [O, A] = ro(5), [L, K] = ro(1), E = xt((e, { size: t }) => {
|
|
9362
9381
|
e.preventDefault(), e.stopPropagation();
|
|
9363
9382
|
const o = Math.floor(t.height / g);
|
|
9364
9383
|
R(o * g + 1), o > 1 && A(o);
|
|
@@ -9391,7 +9410,7 @@ var hi = zo(On("studio:namedDetailsTaskPane", () => import("./Dz0Hg87UcJ-awwiI.m
|
|
|
9391
9410
|
border: (e) => `solid ${y ? e.palette.action.disabled : ki} 1px`
|
|
9392
9411
|
},
|
|
9393
9412
|
children: [
|
|
9394
|
-
|
|
9413
|
+
B ? Vo(go, {
|
|
9395
9414
|
sx: {
|
|
9396
9415
|
border: "none !important",
|
|
9397
9416
|
"&.Mui-focusVisible": { border: "none" },
|
|
@@ -9482,7 +9501,7 @@ var hi = zo(On("studio:namedDetailsTaskPane", () => import("./Dz0Hg87UcJ-awwiI.m
|
|
|
9482
9501
|
k,
|
|
9483
9502
|
v,
|
|
9484
9503
|
P,
|
|
9485
|
-
|
|
9504
|
+
B,
|
|
9486
9505
|
F
|
|
9487
9506
|
]), $ = Dn(), [V, U] = ro(!1), q = to(() => Uo(jo, {
|
|
9488
9507
|
className: "formula-bar " + yi,
|
|
@@ -9784,7 +9803,7 @@ var Ci = (e) => {
|
|
|
9784
9803
|
inputMode: f,
|
|
9785
9804
|
enterKeyHint: "enter",
|
|
9786
9805
|
hintPlacement: "above"
|
|
9787
|
-
}), [T] = wt(["insertFunctionDialog"]), F = Et(), [D, N] = ro(!1), [
|
|
9806
|
+
}), [T] = wt(["insertFunctionDialog"]), F = Et(), [D, N] = ro(!1), [I, B] = ro(!1), P = D ? 5 : 1, M = no(a);
|
|
9788
9807
|
M.current = a;
|
|
9789
9808
|
const R = Nt(t, () => ({
|
|
9790
9809
|
isFormulaBarElement: () => !0,
|
|
@@ -9896,8 +9915,8 @@ var Ci = (e) => {
|
|
|
9896
9915
|
border: (e) => `solid ${x ? e.palette.action.disabled : "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255, 255, 255, 0.2)))"} 1px`,
|
|
9897
9916
|
"& textarea": { color: (e) => x ? `${e.palette.text.disabled} !important` : e.palette.text.primary }
|
|
9898
9917
|
},
|
|
9899
|
-
onFocus: () =>
|
|
9900
|
-
onBlur: () =>
|
|
9918
|
+
onFocus: () => B(!0),
|
|
9919
|
+
onBlur: () => B(!1),
|
|
9901
9920
|
children: [
|
|
9902
9921
|
Vo(jo, {
|
|
9903
9922
|
className: "formula-editor",
|
|
@@ -9931,7 +9950,7 @@ var Ci = (e) => {
|
|
|
9931
9950
|
height: "2px",
|
|
9932
9951
|
willChange: "opacity",
|
|
9933
9952
|
transition: "opacity 60ms ease-in",
|
|
9934
|
-
opacity:
|
|
9953
|
+
opacity: I ? 1 : 0,
|
|
9935
9954
|
borderBottomWidth: "2px",
|
|
9936
9955
|
borderBottomStyle: "solid",
|
|
9937
9956
|
borderBottomColor: (e) => e.palette.primary.main,
|
|
@@ -9972,7 +9991,7 @@ var Ci = (e) => {
|
|
|
9972
9991
|
});
|
|
9973
9992
|
}));
|
|
9974
9993
|
Ti.displayName = "MobileFormulaBar";
|
|
9975
|
-
var Fi = zo(On("studio:externalLinksTaskPane", () => import("./
|
|
9994
|
+
var Fi = zo(On("studio:externalLinksTaskPane", () => import("./DNhFkzvStZYjYqlY.mjs"), { select: (e) => ({ default: e.ExternalLinksTaskPane }) }).load), Di = () => {
|
|
9976
9995
|
K.registerTaskPane({
|
|
9977
9996
|
key: "externalLinks",
|
|
9978
9997
|
getTitle: () => "Workbook Links",
|
|
@@ -9992,7 +10011,7 @@ var Fi = zo(On("studio:externalLinksTaskPane", () => import("./DJpwI8PlKBI2rk0r.
|
|
|
9992
10011
|
resolved: An("comment.resolved"),
|
|
9993
10012
|
more: An("comment.more"),
|
|
9994
10013
|
unknownAuthor: An("comment.unknownAuthor")
|
|
9995
|
-
},
|
|
10014
|
+
}, Ii = "var(--sxl-comment-thread-indicator, #7e57c2)", Bi = "var(--sxl-comment-resolved-indicator, #9e9e9e)", Pi = (e) => {
|
|
9996
10015
|
const { initialValue: t = "", placeholder: o, submitLabel: n, cancelLabel: r, alwaysShowActions: a = !1, onSubmit: l, onCancel: i, refInput: s } = e, [d, c] = ro(t), p = 0 === d.trim().length, u = () => {
|
|
9997
10016
|
p || (l(d), c(""));
|
|
9998
10017
|
}, m = () => {
|
|
@@ -10050,7 +10069,7 @@ var Fi = zo(On("studio:externalLinksTaskPane", () => import("./DJpwI8PlKBI2rk0r.
|
|
|
10050
10069
|
}) : null]
|
|
10051
10070
|
});
|
|
10052
10071
|
}, Mi = (e) => {
|
|
10053
|
-
const { author: t, date: o, content: n, editor: r, trailing: a, overhang: l = !1, onMenu: i } = e, s = Et(), d =
|
|
10072
|
+
const { author: t, date: o, content: n, editor: r, trailing: a, overhang: l = !1, onMenu: i } = e, s = Et(), d = It(), c = t?.getDisplayName() || s(Ni.unknownAuthor), p = ke(o, { locale: d });
|
|
10054
10073
|
return Uo(jo, {
|
|
10055
10074
|
className: "sxl-comment-entry",
|
|
10056
10075
|
sx: {
|
|
@@ -10159,7 +10178,7 @@ var Fi = zo(On("studio:externalLinksTaskPane", () => import("./DJpwI8PlKBI2rk0r.
|
|
|
10159
10178
|
} catch (e) {
|
|
10160
10179
|
h.showError?.(e);
|
|
10161
10180
|
}
|
|
10162
|
-
}, S = t.getRange(
|
|
10181
|
+
}, S = t.getRange(In.cellToRange(o)).getAddress(), C = g?.resolved ? Bi : Ii, T = !n, F = to(() => T ? t.getWorkbook()?.getPeople().getCurrent() ?? null : null, [T, t]), D = Vo(wn, {
|
|
10163
10182
|
className: "sxl-comment-address",
|
|
10164
10183
|
variant: "caption",
|
|
10165
10184
|
sx: {
|
|
@@ -10167,7 +10186,7 @@ var Fi = zo(On("studio:externalLinksTaskPane", () => import("./DJpwI8PlKBI2rk0r.
|
|
|
10167
10186
|
flexShrink: 0
|
|
10168
10187
|
},
|
|
10169
10188
|
children: S
|
|
10170
|
-
}), N = !!g?.deleted,
|
|
10189
|
+
}), N = !!g?.deleted, I = !N && !!g?.resolved, B = I && n ? Uo(jo, {
|
|
10171
10190
|
className: "sxl-comment-resolved-header",
|
|
10172
10191
|
sx: {
|
|
10173
10192
|
display: "flex",
|
|
@@ -10268,7 +10287,7 @@ var Fi = zo(On("studio:externalLinksTaskPane", () => import("./DJpwI8PlKBI2rk0r.
|
|
|
10268
10287
|
},
|
|
10269
10288
|
children: [
|
|
10270
10289
|
T || N ? null : Uo($o, { children: [
|
|
10271
|
-
|
|
10290
|
+
B,
|
|
10272
10291
|
Vo(Mi, {
|
|
10273
10292
|
author: g.author,
|
|
10274
10293
|
date: g.date,
|
|
@@ -10278,7 +10297,7 @@ var Fi = zo(On("studio:externalLinksTaskPane", () => import("./DJpwI8PlKBI2rk0r.
|
|
|
10278
10297
|
editor: f && null === f.replyId ? M(g.content, (e) => {
|
|
10279
10298
|
n.setContent(e);
|
|
10280
10299
|
}) : void 0,
|
|
10281
|
-
onMenu:
|
|
10300
|
+
onMenu: I ? void 0 : (e) => k({
|
|
10282
10301
|
anchor: e,
|
|
10283
10302
|
replyId: null
|
|
10284
10303
|
})
|
|
@@ -10299,7 +10318,7 @@ var Fi = zo(On("studio:externalLinksTaskPane", () => import("./DJpwI8PlKBI2rk0r.
|
|
|
10299
10318
|
editor: f?.replyId === e.getId() ? M(e.getContent(), (t) => {
|
|
10300
10319
|
e.setContent(t);
|
|
10301
10320
|
}) : void 0,
|
|
10302
|
-
onMenu:
|
|
10321
|
+
onMenu: I ? void 0 : (t) => k({
|
|
10303
10322
|
anchor: t,
|
|
10304
10323
|
replyId: e.getId()
|
|
10305
10324
|
})
|
|
@@ -10320,13 +10339,13 @@ var Fi = zo(On("studio:externalLinksTaskPane", () => import("./DJpwI8PlKBI2rk0r.
|
|
|
10320
10339
|
refInput: v,
|
|
10321
10340
|
onSubmit: (e) => {
|
|
10322
10341
|
w(() => {
|
|
10323
|
-
const n = t.getComments().add(
|
|
10342
|
+
const n = t.getComments().add(In.cellToRange(o), e);
|
|
10324
10343
|
d?.(n);
|
|
10325
10344
|
});
|
|
10326
10345
|
},
|
|
10327
10346
|
onCancel: s
|
|
10328
10347
|
})
|
|
10329
|
-
}) : N ||
|
|
10348
|
+
}) : N || I ? null : Vo(Pi, {
|
|
10330
10349
|
placeholder: m(Ni.reply),
|
|
10331
10350
|
submitLabel: m(Ni.post),
|
|
10332
10351
|
cancelLabel: m(Ni.cancel),
|
|
@@ -10376,14 +10395,14 @@ var Fi = zo(On("studio:externalLinksTaskPane", () => import("./DJpwI8PlKBI2rk0r.
|
|
|
10376
10395
|
});
|
|
10377
10396
|
});
|
|
10378
10397
|
Ri.displayName = "CommentCard";
|
|
10379
|
-
var Oi = zo(On("studio:commentsTaskPane", () => import("./
|
|
10398
|
+
var Oi = zo(On("studio:commentsTaskPane", () => import("./Hp0ggyjuRLoV7Zkw.mjs"), { select: (e) => ({ default: e.CommentsTaskPane }) }).load), Ai = () => {
|
|
10380
10399
|
K.registerTaskPane({
|
|
10381
10400
|
key: "comments",
|
|
10382
10401
|
getTitle: () => Ln(An("comment.title")),
|
|
10383
10402
|
getIcon: () => "CommentEdit",
|
|
10384
10403
|
component: Oi
|
|
10385
10404
|
}, !0);
|
|
10386
|
-
}, Li = zo(On("studio:anomaliesTaskPane", () => import("./
|
|
10405
|
+
}, Li = zo(On("studio:anomaliesTaskPane", () => import("./BXq4h4T2V5D0e0GE.mjs"), { select: (e) => ({ default: e.AnomaliesTaskPane }) }).load), Ki = () => {
|
|
10387
10406
|
K.registerTaskPane({
|
|
10388
10407
|
key: "anomalies",
|
|
10389
10408
|
getTitle: () => "Anomalies",
|
|
@@ -10501,7 +10520,7 @@ var zi = 0, Wi = /* @__PURE__ */ new WeakMap(), Hi = (e) => {
|
|
|
10501
10520
|
paddingLeft: 1,
|
|
10502
10521
|
paddingRight: 1
|
|
10503
10522
|
}, Xi = { pl: 2 }, Ji = _t(qt((e, t) => {
|
|
10504
|
-
const { icon: o, tooltip: n, label: r, darkMode: a, propsPanel: l, value: i, operators: s, onChange: d, title: c, readOnly: p = !1, ...u } = e, m = Et(), h =
|
|
10523
|
+
const { icon: o, tooltip: n, label: r, darkMode: a, propsPanel: l, value: i, operators: s, onChange: d, title: c, readOnly: p = !1, ...u } = e, m = Et(), h = It();
|
|
10505
10524
|
c ?? m("condition.operatorTitle");
|
|
10506
10525
|
const g = o || Vo(rt, { iconKey: "Add" }), b = no(d);
|
|
10507
10526
|
b.current = d;
|
|
@@ -10547,7 +10566,7 @@ var zi = 0, Wi = /* @__PURE__ */ new WeakMap(), Hi = (e) => {
|
|
|
10547
10566
|
...f
|
|
10548
10567
|
});
|
|
10549
10568
|
})), es = _t((e) => {
|
|
10550
|
-
const { value: t, operators: o, onChange: n, title: r, readOnly: a = !1, ...l } = e, i = Et(), s =
|
|
10569
|
+
const { value: t, operators: o, onChange: n, title: r, readOnly: a = !1, ...l } = e, i = Et(), s = It(), d = r ?? i("condition.operatorTitle"), c = /* @__PURE__ */ new Map();
|
|
10551
10570
|
o.forEach((e) => {
|
|
10552
10571
|
c.set(e.getName(), e);
|
|
10553
10572
|
});
|
|
@@ -11006,7 +11025,7 @@ var bs = _t((e) => {
|
|
|
11006
11025
|
]
|
|
11007
11026
|
}
|
|
11008
11027
|
];
|
|
11009
|
-
}(Et(),
|
|
11028
|
+
}(Et(), It()), l = t?.type ?? m.TimePeriodType.Today;
|
|
11010
11029
|
return Vo(jo, {
|
|
11011
11030
|
...r,
|
|
11012
11031
|
sx: {
|
|
@@ -11411,13 +11430,13 @@ var Ds = (e) => null == e ? "" : "boolean" == typeof e ? e ? "TRUE" : "FALSE" :
|
|
|
11411
11430
|
o,
|
|
11412
11431
|
p,
|
|
11413
11432
|
u
|
|
11414
|
-
]),
|
|
11433
|
+
]), I = to(() => y ? "=" + (h.isIFormula ? p.display(h) : h) : x.join(u + " "), [
|
|
11415
11434
|
y,
|
|
11416
11435
|
h,
|
|
11417
11436
|
p,
|
|
11418
11437
|
x,
|
|
11419
11438
|
u
|
|
11420
|
-
]),
|
|
11439
|
+
]), B = F ?? C, { viewport: M, itemHeight: R } = i ?? {}, O = R ?? 24, [A, L] = ro(""), K = to(() => A ? jn(S, A) : S, [S, A]);
|
|
11421
11440
|
return Uo(jo, {
|
|
11422
11441
|
sx: {
|
|
11423
11442
|
display: "flex",
|
|
@@ -11431,7 +11450,7 @@ var Ds = (e) => null == e ? "" : "boolean" == typeof e ? e ? "TRUE" : "FALSE" :
|
|
|
11431
11450
|
Vo(pa, {
|
|
11432
11451
|
size: "small",
|
|
11433
11452
|
home: p.home,
|
|
11434
|
-
value:
|
|
11453
|
+
value: I,
|
|
11435
11454
|
onChangeText: N,
|
|
11436
11455
|
label: null,
|
|
11437
11456
|
placeholder: s("condition.enterListSource"),
|
|
@@ -11445,10 +11464,10 @@ var Ds = (e) => null == e ? "" : "boolean" == typeof e ? e ? "TRUE" : "FALSE" :
|
|
|
11445
11464
|
showError: !1,
|
|
11446
11465
|
helperText: null
|
|
11447
11466
|
}),
|
|
11448
|
-
|
|
11467
|
+
B && Vo(en, {
|
|
11449
11468
|
error: !0,
|
|
11450
11469
|
sx: { mt: -.5 },
|
|
11451
|
-
children: s(
|
|
11470
|
+
children: s(B)
|
|
11452
11471
|
}),
|
|
11453
11472
|
Uo(jo, {
|
|
11454
11473
|
className: "list-preview",
|
|
@@ -11511,24 +11530,24 @@ var Ds = (e) => null == e ? "" : "boolean" == typeof e ? e ? "TRUE" : "FALSE" :
|
|
|
11511
11530
|
});
|
|
11512
11531
|
});
|
|
11513
11532
|
Ns.displayName = "AuthoredMembership";
|
|
11514
|
-
var
|
|
11533
|
+
var Is = _t((e) => {
|
|
11515
11534
|
const t = e.getItems;
|
|
11516
11535
|
return t ? Vo(Fs, {
|
|
11517
11536
|
...e,
|
|
11518
11537
|
getItems: t
|
|
11519
11538
|
}) : Vo(Ns, { ...e });
|
|
11520
11539
|
});
|
|
11521
|
-
|
|
11522
|
-
var
|
|
11523
|
-
|
|
11524
|
-
|
|
11525
|
-
|
|
11526
|
-
|
|
11527
|
-
|
|
11528
|
-
|
|
11529
|
-
|
|
11530
|
-
|
|
11531
|
-
|
|
11540
|
+
Is.displayName = "MembershipOption";
|
|
11541
|
+
var Bs = m.BuiltInOperatorNames, Ps = /* @__PURE__ */ new Set([
|
|
11542
|
+
Bs.EqualTo,
|
|
11543
|
+
Bs.GreaterThan,
|
|
11544
|
+
Bs.GreaterThanEqualTo,
|
|
11545
|
+
Bs.LessThan,
|
|
11546
|
+
Bs.LessThanEqualTo,
|
|
11547
|
+
Bs.After,
|
|
11548
|
+
Bs.AfterEqualTo,
|
|
11549
|
+
Bs.Before,
|
|
11550
|
+
Bs.BeforeEqualTo
|
|
11532
11551
|
]), Ms = _t((e) => {
|
|
11533
11552
|
const { operatorParam: t, onOperatorParamChange: o, onRemove: n, renderRemove: r, operators: a, selector: l, onSelectorChange: i, getItems: s, propsChecklist: d, ignoreBlank: c, operatorTitle: p, operatorFixed: u = !1, readOnly: h, required: g, ...b } = e, f = Et(), y = p ?? f("condition.when"), x = t?.operator ?? null, k = () => h || g || null === r ? null : r ? Vo(st, {
|
|
11534
11553
|
render: r,
|
|
@@ -11544,12 +11563,12 @@ var Is = m.BuiltInOperatorNames, Ps = /* @__PURE__ */ new Set([
|
|
|
11544
11563
|
v,
|
|
11545
11564
|
S,
|
|
11546
11565
|
l
|
|
11547
|
-
]), N = u || !S && !C && F > 360,
|
|
11566
|
+
]), N = u || !S && !C && F > 360, I = xt((e) => {
|
|
11548
11567
|
o({
|
|
11549
11568
|
operator: x,
|
|
11550
11569
|
param: e
|
|
11551
11570
|
});
|
|
11552
|
-
}, [o, x]),
|
|
11571
|
+
}, [o, x]), B = to(() => {
|
|
11553
11572
|
if (!v || S) return null;
|
|
11554
11573
|
const e = {
|
|
11555
11574
|
sx: {
|
|
@@ -11557,9 +11576,9 @@ var Is = m.BuiltInOperatorNames, Ps = /* @__PURE__ */ new Set([
|
|
|
11557
11576
|
minWidth: 0
|
|
11558
11577
|
},
|
|
11559
11578
|
option: w,
|
|
11560
|
-
onOptionChange:
|
|
11579
|
+
onOptionChange: I
|
|
11561
11580
|
};
|
|
11562
|
-
if (C) return Vo(
|
|
11581
|
+
if (C) return Vo(Is, {
|
|
11563
11582
|
...e,
|
|
11564
11583
|
getItems: s,
|
|
11565
11584
|
selector: l,
|
|
@@ -11657,7 +11676,7 @@ var Is = m.BuiltInOperatorNames, Ps = /* @__PURE__ */ new Set([
|
|
|
11657
11676
|
onChange: R,
|
|
11658
11677
|
readOnly: h
|
|
11659
11678
|
}),
|
|
11660
|
-
|
|
11679
|
+
B,
|
|
11661
11680
|
k()
|
|
11662
11681
|
]
|
|
11663
11682
|
}) : Uo($o, { children: [Uo(jo, {
|
|
@@ -11710,7 +11729,7 @@ var Is = m.BuiltInOperatorNames, Ps = /* @__PURE__ */ new Set([
|
|
|
11710
11729
|
propsChecklist: d,
|
|
11711
11730
|
ignoreBlank: c,
|
|
11712
11731
|
readOnly: h
|
|
11713
|
-
}) :
|
|
11732
|
+
}) : B] })
|
|
11714
11733
|
});
|
|
11715
11734
|
});
|
|
11716
11735
|
Ms.displayName = "OperatorAndParamEditor";
|
|
@@ -11720,7 +11739,7 @@ var Rs = {
|
|
|
11720
11739
|
borderColor: "divider",
|
|
11721
11740
|
borderRadius: 1
|
|
11722
11741
|
}, Os = "formula", As = _t((e) => {
|
|
11723
|
-
const { condition: t, onConditionChange: o, showIncludeBlanks: r = !0, qualifiers: a, selectorTitle: l, readOnly: i, operators: s, selectors: d, ranges: c, getItems: p, propsChecklist: u, showSelector: h = !0, operatorTitle: g, renderRemove: b, sx: f, ...y } = e, x = Et(), k =
|
|
11742
|
+
const { condition: t, onConditionChange: o, showIncludeBlanks: r = !0, qualifiers: a, selectorTitle: l, readOnly: i, operators: s, selectors: d, ranges: c, getItems: p, propsChecklist: u, showSelector: h = !0, operatorTitle: g, renderRemove: b, sx: f, ...y } = e, x = Et(), k = It(), [v, w] = ro(() => t?.getSelector() ?? null), [S, C] = ro(() => t?.getOperator() ? {
|
|
11724
11743
|
operator: t.getOperator().getName(),
|
|
11725
11744
|
param: t.getParam()
|
|
11726
11745
|
} : null), [T, F] = ro(() => t?.isIncludeBlanks() ?? !1);
|
|
@@ -11732,7 +11751,7 @@ var Rs = {
|
|
|
11732
11751
|
param: t.getParam()
|
|
11733
11752
|
} : null), F(t.isIncludeBlanks());
|
|
11734
11753
|
}, [t]);
|
|
11735
|
-
const D = to(() => (d ?? Object.values(n.BuiltInSelectors)).slice().sort((e, t) => (e.getTitle?.() ?? "").localeCompare(t.getTitle?.() ?? "", k)), [d, k]), N = to(() => s ?? Object.values(n.BuiltInOperators), [s]),
|
|
11754
|
+
const D = to(() => (d ?? Object.values(n.BuiltInSelectors)).slice().sort((e, t) => (e.getTitle?.() ?? "").localeCompare(t.getTitle?.() ?? "", k)), [d, k]), N = to(() => s ?? Object.values(n.BuiltInOperators), [s]), I = to(() => N.find((e) => e.getName() === m.BuiltInOperatorNames.Expression) ?? null, [N]), B = h && !!I, P = B && S?.operator === m.BuiltInOperatorNames.Expression, M = to(() => {
|
|
11736
11755
|
if (s) return null;
|
|
11737
11756
|
const e = N.find((e) => e.getName() === m.BuiltInOperatorNames.InSet);
|
|
11738
11757
|
return e ? (t = Object.create(e), Ui.add(t), t) : null;
|
|
@@ -11756,7 +11775,7 @@ var Rs = {
|
|
|
11756
11775
|
p,
|
|
11757
11776
|
h,
|
|
11758
11777
|
M
|
|
11759
|
-
]), O = to(() =>
|
|
11778
|
+
]), O = to(() => B ? R.filter((e) => e.getName() !== m.BuiltInOperatorNames.Expression) : R, [R, B]), A = no(/* @__PURE__ */ new Map()), L = (e) => e?.getName() ?? "", K = no(null), E = no(!1);
|
|
11760
11779
|
Yt(() => {
|
|
11761
11780
|
if (!E.current) return;
|
|
11762
11781
|
E.current = !1;
|
|
@@ -11791,10 +11810,10 @@ var Rs = {
|
|
|
11791
11810
|
selectors: D,
|
|
11792
11811
|
value: v,
|
|
11793
11812
|
onChange: (e, t) => {
|
|
11794
|
-
if (S && A.current.set(P ? Os : L(v), S), t === Os &&
|
|
11813
|
+
if (S && A.current.set(P ? Os : L(v), S), t === Os && I) {
|
|
11795
11814
|
const e = A.current.get(Os) ?? {
|
|
11796
|
-
operator:
|
|
11797
|
-
param:
|
|
11815
|
+
operator: I.getName(),
|
|
11816
|
+
param: I.createDefaultParam?.() ?? ""
|
|
11798
11817
|
};
|
|
11799
11818
|
w(null), C(e), E.current = !0, o?.({
|
|
11800
11819
|
selector: null,
|
|
@@ -11838,9 +11857,9 @@ var Rs = {
|
|
|
11838
11857
|
},
|
|
11839
11858
|
allowNull: !0,
|
|
11840
11859
|
readOnly: i,
|
|
11841
|
-
extras:
|
|
11860
|
+
extras: B ? [{
|
|
11842
11861
|
value: Os,
|
|
11843
|
-
title:
|
|
11862
|
+
title: I.getTitle?.() ?? Os
|
|
11844
11863
|
}] : void 0,
|
|
11845
11864
|
extraValue: P ? Os : null
|
|
11846
11865
|
}) : null,
|
|
@@ -11966,7 +11985,7 @@ var Ls = m.BuiltInOperatorNames, Ks = m.BuiltInSelectorNames, Es = /* @__PURE__
|
|
|
11966
11985
|
const o = zs(e?.operator);
|
|
11967
11986
|
return o === Ls.InSet ? "values" : null !== o && t.has(o) ? "family" : "custom";
|
|
11968
11987
|
}, qs = _t(qt((e, t) => {
|
|
11969
|
-
const { column: o, disabled: r, style: a, floatReference: l, propsChecklist: i, ...s } = e, d = Et(), p =
|
|
11988
|
+
const { column: o, disabled: r, style: a, floatReference: l, propsChecklist: i, ...s } = e, d = Et(), p = It(), u = o?.getFilter() ?? null, m = u?.getCondition() ?? null, h = m?.getOperator()?.getName() ?? null, g = !!m && (null === h || Es.has(h)), f = ((e) => e.numbers > e.texts ? e.showsDates ? "date" : "number" : "text")(to(() => ((e) => {
|
|
11970
11989
|
if (!e) return {
|
|
11971
11990
|
numbers: 0,
|
|
11972
11991
|
texts: 0,
|
|
@@ -11992,12 +12011,12 @@ var Ls = m.BuiltInOperatorNames, Ks = m.BuiltInSelectorNames, Es = /* @__PURE__
|
|
|
11992
12011
|
return [...e, ...o];
|
|
11993
12012
|
})(k), [k]), S = to(() => {
|
|
11994
12013
|
if (u) return (e) => u.getItems(e);
|
|
11995
|
-
}, [u]), [C] = ro(() => g ? null : m ? m.toJSON() : null), [T, F] = ro(() => C ? Us(C, v) : "values"), [N,
|
|
12014
|
+
}, [u]), [C] = ro(() => g ? null : m ? m.toJSON() : null), [T, F] = ro(() => C ? Us(C, v) : "values"), [N, I] = ro(() => C && "values" === Us(C, v) ? zs(C.selector) : Ks.Display), [B, P] = ro(() => C && "values" === Us(C, v) ? C.param : null), [M, R] = ro("values" === T), O = to(() => N ? n.Selectors.get(N) ?? null : null, [N]), A = to(() => ({
|
|
11996
12015
|
selector: N,
|
|
11997
12016
|
operator: Ls.InSet,
|
|
11998
|
-
param:
|
|
12017
|
+
param: B ?? {},
|
|
11999
12018
|
includeBlanks: !1
|
|
12000
|
-
}), [N,
|
|
12019
|
+
}), [N, B]), L = no({
|
|
12001
12020
|
values: !1,
|
|
12002
12021
|
blanks: !0
|
|
12003
12022
|
}), [K, E] = ro(() => C && "family" === Us(C, v) ? C : null), [z, W] = ro(() => C && "custom" === Us(C, v) ? C : null), H = to(() => K ? n.resolveInput(K) : null, [K]), G = to(() => z ? n.resolveInput(z) : null, [z]), $ = "values" === T ? A : "family" === T ? K : z, V = to(() => "values" === T ? n.resolveInput(A) : "family" === T ? H : G, [
|
|
@@ -12042,7 +12061,7 @@ var Ls = m.BuiltInOperatorNames, Ks = m.BuiltInSelectorNames, Es = /* @__PURE__
|
|
|
12042
12061
|
}, [_]), Y = Zt((e) => {
|
|
12043
12062
|
P(e);
|
|
12044
12063
|
}, []), X = Zt((e) => {
|
|
12045
|
-
|
|
12064
|
+
I(e);
|
|
12046
12065
|
}, []), J = no(/* @__PURE__ */ new Set()), ee = to(() => ({ register: (e) => (J.current.add(e), () => {
|
|
12047
12066
|
J.current.delete(e);
|
|
12048
12067
|
}) }), []), [te, oe] = ro(!1), ne = Zt(() => {
|
|
@@ -12243,8 +12262,8 @@ var Ls = m.BuiltInOperatorNames, Ks = m.BuiltInSelectorNames, Es = /* @__PURE__
|
|
|
12243
12262
|
display: "values" === T ? "flex" : "none",
|
|
12244
12263
|
flexDirection: "column"
|
|
12245
12264
|
},
|
|
12246
|
-
children: Vo(
|
|
12247
|
-
option:
|
|
12265
|
+
children: Vo(Is, {
|
|
12266
|
+
option: B,
|
|
12248
12267
|
onOptionChange: Y,
|
|
12249
12268
|
getItems: S,
|
|
12250
12269
|
selector: O,
|
|
@@ -12637,7 +12656,7 @@ var ed = {
|
|
|
12637
12656
|
});
|
|
12638
12657
|
id.displayName = "StopPositionField";
|
|
12639
12658
|
var sd = _t((e) => {
|
|
12640
|
-
const { index: o, stop: n, offset: r, schemeLookup: a, recentColors: l, darkMode: i, disabled: s, canRemove: d, rampRef: c, onDrag: p, onMove: u, onPreviewColor: m, onChangeColor: h, onRemove: g, onOpenChange: b } = e, f = Et(), y = Dn(), x = to(() => new t(n.color, a), [n.color, a]), [k, v] = ro(void 0), [w, S] = ro(null), [C, T] = ro(!1), [F, D] = ro(!1), [N,
|
|
12659
|
+
const { index: o, stop: n, offset: r, schemeLookup: a, recentColors: l, darkMode: i, disabled: s, canRemove: d, rampRef: c, onDrag: p, onMove: u, onPreviewColor: m, onChangeColor: h, onRemove: g, onOpenChange: b } = e, f = Et(), y = Dn(), x = to(() => new t(n.color, a), [n.color, a]), [k, v] = ro(void 0), [w, S] = ro(null), [C, T] = ro(!1), [F, D] = ro(!1), [N, I] = ro(!1), [B, P] = ro(!1), M = no(null), R = no(!1), O = xt((e) => {
|
|
12641
12660
|
v(e), m(o, e ?? null);
|
|
12642
12661
|
}, [o, m]), A = xt((e) => {
|
|
12643
12662
|
u(o, e / 100);
|
|
@@ -12787,7 +12806,7 @@ var sd = _t((e) => {
|
|
|
12787
12806
|
W,
|
|
12788
12807
|
u,
|
|
12789
12808
|
g
|
|
12790
|
-
]), _ = C || F || N, Z = !s && !F && !C &&
|
|
12809
|
+
]), _ = C || F || N, Z = !s && !F && !C && B, Q = Uo(jo, {
|
|
12791
12810
|
className: "sxl-gradient-stop-toolbar",
|
|
12792
12811
|
onPointerDown: (e) => {
|
|
12793
12812
|
e.stopPropagation();
|
|
@@ -12858,8 +12877,8 @@ var sd = _t((e) => {
|
|
|
12858
12877
|
onPointerMove: V,
|
|
12859
12878
|
onPointerUp: U,
|
|
12860
12879
|
onPointerCancel: q,
|
|
12861
|
-
onFocus: () =>
|
|
12862
|
-
onBlur: () =>
|
|
12880
|
+
onFocus: () => I(!0),
|
|
12881
|
+
onBlur: () => I(!1),
|
|
12863
12882
|
onKeyDown: j,
|
|
12864
12883
|
sx: {
|
|
12865
12884
|
position: "absolute",
|
|
@@ -12956,7 +12975,7 @@ var dd = _t((e) => {
|
|
|
12956
12975
|
}, [h]), N = xt((e, t) => {
|
|
12957
12976
|
const o = h[e];
|
|
12958
12977
|
k((e) => t ? o : e === o ? null : e);
|
|
12959
|
-
}, [h]),
|
|
12978
|
+
}, [h]), I = xt((e, t) => {
|
|
12960
12979
|
S(C().map((o, n) => n === e ? {
|
|
12961
12980
|
...o,
|
|
12962
12981
|
stop: {
|
|
@@ -12964,7 +12983,7 @@ var dd = _t((e) => {
|
|
|
12964
12983
|
color: t.toString()
|
|
12965
12984
|
}
|
|
12966
12985
|
} : o));
|
|
12967
|
-
}, [C, S]),
|
|
12986
|
+
}, [C, S]), B = xt((e) => {
|
|
12968
12987
|
t.length <= n || S(C().filter((t, o) => o !== e));
|
|
12969
12988
|
}, [
|
|
12970
12989
|
t,
|
|
@@ -13063,8 +13082,8 @@ var dd = _t((e) => {
|
|
|
13063
13082
|
onDrag: T,
|
|
13064
13083
|
onMove: F,
|
|
13065
13084
|
onPreviewColor: D,
|
|
13066
|
-
onChangeColor:
|
|
13067
|
-
onRemove:
|
|
13085
|
+
onChangeColor: I,
|
|
13086
|
+
onRemove: B,
|
|
13068
13087
|
onOpenChange: N
|
|
13069
13088
|
}, h[t]))
|
|
13070
13089
|
})
|
|
@@ -13193,7 +13212,7 @@ var pd = (e) => {
|
|
|
13193
13212
|
offset: 1,
|
|
13194
13213
|
color: "4472c4"
|
|
13195
13214
|
}]
|
|
13196
|
-
}), md = zo(On("studio:formatTaskPane", () => import("./
|
|
13215
|
+
}), md = zo(On("studio:formatTaskPane", () => import("./DtxnTVIKKE8mp6rU.mjs"), { select: (e) => ({ default: e.FormatTaskPane }) }).load), hd = "formatCells", gd = () => {
|
|
13197
13216
|
K.registerTaskPane({
|
|
13198
13217
|
key: hd,
|
|
13199
13218
|
getTitle: () => "Format Cells",
|
|
@@ -13276,7 +13295,7 @@ var pd = (e) => {
|
|
|
13276
13295
|
});
|
|
13277
13296
|
});
|
|
13278
13297
|
bd.displayName = "PasswordField";
|
|
13279
|
-
var fd = On("studio:manageProtectionTaskPane", () => import("./
|
|
13298
|
+
var fd = On("studio:manageProtectionTaskPane", () => import("./Dua4HsVMCVMOSuUP.mjs")), yd = zo(() => fd.load().then((e) => ({ default: e.ManageProtectionTaskPane }))), xd = zo(() => fd.load().then((e) => ({ default: e.ProtectedRangeDetailsTaskPane }))), kd = () => {
|
|
13280
13299
|
K.registerTaskPane({
|
|
13281
13300
|
key: "manageProtection",
|
|
13282
13301
|
getTitle: () => "Manage Protection",
|
|
@@ -13613,7 +13632,7 @@ var Td = _t(qt((e, t) => {
|
|
|
13613
13632
|
groupKey: "contextMenu"
|
|
13614
13633
|
}, b = c.isEntireRows(), f = c.isEntireColumns(), y = [];
|
|
13615
13634
|
if (!b && !f) {
|
|
13616
|
-
y.push("-"), y.push(
|
|
13635
|
+
y.push("-"), y.push(u?.getHyperlink() ? { render: (e) => Vo(io, {
|
|
13617
13636
|
...e,
|
|
13618
13637
|
groupKey: "hyperlinkOptions",
|
|
13619
13638
|
members: ["updateHyperlink", "deleteHyperlink"],
|
|
@@ -13670,7 +13689,7 @@ var Dd = "-", Nd = (e) => ({
|
|
|
13670
13689
|
run: (t) => {
|
|
13671
13690
|
t.fill({ presetId: e });
|
|
13672
13691
|
}
|
|
13673
|
-
}),
|
|
13692
|
+
}), Id = Object.freeze([
|
|
13674
13693
|
{
|
|
13675
13694
|
key: "copy",
|
|
13676
13695
|
label: M[e.Presets.Copy.id],
|
|
@@ -13720,10 +13739,10 @@ var Dd = "-", Nd = (e) => ({
|
|
|
13720
13739
|
e.series();
|
|
13721
13740
|
}
|
|
13722
13741
|
}
|
|
13723
|
-
]),
|
|
13742
|
+
]), Bd = _t(qt((e, t) => {
|
|
13724
13743
|
const { workbook: o, menu: n, disabled: r, floatReference: a, className: l, ...i } = e, s = Et(), d = to(() => new Set(n.offered), [n]), c = (e) => {
|
|
13725
13744
|
e.run(n), a.close();
|
|
13726
|
-
}, p =
|
|
13745
|
+
}, p = Id.map((e, t) => {
|
|
13727
13746
|
if (e === Dd) return Vo(mo, { orientation: "horizontal" }, `divider:${t}`);
|
|
13728
13747
|
const o = r || !e.enabled(d);
|
|
13729
13748
|
return Vo(fo, {
|
|
@@ -13775,7 +13794,7 @@ var Dd = "-", Nd = (e) => ({
|
|
|
13775
13794
|
children: p
|
|
13776
13795
|
});
|
|
13777
13796
|
}));
|
|
13778
|
-
|
|
13797
|
+
Bd.displayName = "FillMenu";
|
|
13779
13798
|
var Pd = (e, t) => ({
|
|
13780
13799
|
width: t,
|
|
13781
13800
|
height: t,
|
|
@@ -13870,9 +13889,9 @@ var Pd = (e, t) => ({
|
|
|
13870
13889
|
elevated: !0
|
|
13871
13890
|
});
|
|
13872
13891
|
}, Kd = (e) => {
|
|
13873
|
-
const { hyperlink: t, open: o, copy: n, edit: r, remove: a,
|
|
13892
|
+
const { hyperlink: t, open: o, copy: n, edit: r, remove: a, disabled: l, preview: i, tipProps: s } = e, d = Et(), c = t.getScreenTip(), p = t.getAddress(), u = () => {
|
|
13874
13893
|
o();
|
|
13875
|
-
},
|
|
13894
|
+
}, m = i?.title, h = {
|
|
13876
13895
|
font: "inherit",
|
|
13877
13896
|
display: "block",
|
|
13878
13897
|
width: "100%",
|
|
@@ -13882,13 +13901,12 @@ var Pd = (e, t) => ({
|
|
|
13882
13901
|
whiteSpace: "nowrap"
|
|
13883
13902
|
};
|
|
13884
13903
|
return Uo(mn, {
|
|
13885
|
-
...
|
|
13904
|
+
...s,
|
|
13886
13905
|
elevation: 6,
|
|
13887
13906
|
role: "toolbar",
|
|
13888
13907
|
sx: {
|
|
13889
13908
|
display: "flex",
|
|
13890
13909
|
flexDirection: "column",
|
|
13891
|
-
gap: 1,
|
|
13892
13910
|
width: 320,
|
|
13893
13911
|
boxSizing: "border-box",
|
|
13894
13912
|
p: 1,
|
|
@@ -13896,7 +13914,7 @@ var Pd = (e, t) => ({
|
|
|
13896
13914
|
fontSize: "var(--sxl-font-size, 13px)",
|
|
13897
13915
|
border: "1px solid var(--sxl-color-base-border, rgba(0,0,0,0.26))",
|
|
13898
13916
|
boxShadow: "0 4px 16px var(--sxl-color-shadow, rgba(0,0,0,0.2))",
|
|
13899
|
-
...
|
|
13917
|
+
...s.style
|
|
13900
13918
|
},
|
|
13901
13919
|
children: [Uo(jo, {
|
|
13902
13920
|
sx: {
|
|
@@ -13908,34 +13926,34 @@ var Pd = (e, t) => ({
|
|
|
13908
13926
|
Vo(go, {
|
|
13909
13927
|
dense: !0,
|
|
13910
13928
|
icon: Vo(rt, { iconKey: "HyperlinkGoto" }),
|
|
13911
|
-
propsTooltip: { title:
|
|
13912
|
-
onClick:
|
|
13929
|
+
propsTooltip: { title: d("hyperlink.open") },
|
|
13930
|
+
onClick: u
|
|
13913
13931
|
}),
|
|
13914
13932
|
Uo(jo, {
|
|
13915
13933
|
sx: {
|
|
13916
13934
|
flex: 1,
|
|
13917
13935
|
minWidth: 0
|
|
13918
13936
|
},
|
|
13919
|
-
children: [
|
|
13937
|
+
children: [m ? Vo(an, {
|
|
13920
13938
|
component: "button",
|
|
13921
13939
|
type: "button",
|
|
13922
13940
|
underline: "hover",
|
|
13923
|
-
title:
|
|
13941
|
+
title: m,
|
|
13924
13942
|
sx: {
|
|
13925
|
-
...
|
|
13943
|
+
...h,
|
|
13926
13944
|
fontWeight: 600
|
|
13927
13945
|
},
|
|
13928
|
-
onClick:
|
|
13929
|
-
children:
|
|
13946
|
+
onClick: u,
|
|
13947
|
+
children: m
|
|
13930
13948
|
}) : null, Vo(an, {
|
|
13931
13949
|
component: "button",
|
|
13932
13950
|
type: "button",
|
|
13933
13951
|
underline: "none",
|
|
13934
|
-
title:
|
|
13935
|
-
color:
|
|
13936
|
-
sx:
|
|
13937
|
-
onClick:
|
|
13938
|
-
children:
|
|
13952
|
+
title: c ?? p,
|
|
13953
|
+
color: m ? "text.secondary" : "primary",
|
|
13954
|
+
sx: h,
|
|
13955
|
+
onClick: u,
|
|
13956
|
+
children: c ?? p
|
|
13939
13957
|
})]
|
|
13940
13958
|
}),
|
|
13941
13959
|
Uo(jo, {
|
|
@@ -13947,7 +13965,7 @@ var Pd = (e, t) => ({
|
|
|
13947
13965
|
Vo(go, {
|
|
13948
13966
|
dense: !0,
|
|
13949
13967
|
icon: Vo(rt, { iconKey: "ContentCopy" }),
|
|
13950
|
-
propsTooltip: { title:
|
|
13968
|
+
propsTooltip: { title: d("hyperlink.copy") },
|
|
13951
13969
|
onClick: () => {
|
|
13952
13970
|
n();
|
|
13953
13971
|
}
|
|
@@ -13955,20 +13973,22 @@ var Pd = (e, t) => ({
|
|
|
13955
13973
|
Vo(go, {
|
|
13956
13974
|
dense: !0,
|
|
13957
13975
|
icon: Vo(rt, { iconKey: "HyperlinkEdit" }),
|
|
13958
|
-
propsTooltip: { title:
|
|
13976
|
+
propsTooltip: { title: d("hyperlink.edit") },
|
|
13977
|
+
disabled: l,
|
|
13959
13978
|
onClick: r
|
|
13960
13979
|
}),
|
|
13961
13980
|
Vo(go, {
|
|
13962
13981
|
dense: !0,
|
|
13963
13982
|
icon: Vo(rt, { iconKey: "HyperlinkDelete" }),
|
|
13964
|
-
propsTooltip: { title:
|
|
13983
|
+
propsTooltip: { title: d("hyperlink.remove") },
|
|
13984
|
+
disabled: l,
|
|
13965
13985
|
onClick: a
|
|
13966
13986
|
})
|
|
13967
13987
|
]
|
|
13968
13988
|
})
|
|
13969
13989
|
]
|
|
13970
|
-
}),
|
|
13971
|
-
onClick:
|
|
13990
|
+
}), i?.image ? Vo(Zo, {
|
|
13991
|
+
onClick: u,
|
|
13972
13992
|
tabIndex: -1,
|
|
13973
13993
|
sx: {
|
|
13974
13994
|
display: "block",
|
|
@@ -13976,8 +13996,9 @@ var Pd = (e, t) => ({
|
|
|
13976
13996
|
overflow: "hidden"
|
|
13977
13997
|
},
|
|
13978
13998
|
children: Vo($, {
|
|
13979
|
-
src:
|
|
13980
|
-
expectedWidth:
|
|
13999
|
+
src: i.image,
|
|
14000
|
+
expectedWidth: i.imageWidth,
|
|
14001
|
+
style: { marginTop: 8 }
|
|
13981
14002
|
})
|
|
13982
14003
|
}) : null]
|
|
13983
14004
|
});
|
|
@@ -14010,7 +14031,7 @@ var Pd = (e, t) => ({
|
|
|
14010
14031
|
onPopupClose: () => n(!1)
|
|
14011
14032
|
})
|
|
14012
14033
|
});
|
|
14013
|
-
}, Gd = (e) => Vo(Hd, { ...e }), $d = (e) => Vo(Md, { ...e }), Vd = (e) => Vo(Rd, { ...e }), Ud = (e) => Vo(Sd, { ...e }), qd = (e) => Vo(
|
|
14034
|
+
}, Gd = (e) => Vo(Hd, { ...e }), $d = (e) => Vo(Md, { ...e }), Vd = (e) => Vo(Rd, { ...e }), Ud = (e) => Vo(Sd, { ...e }), qd = (e) => Vo(Bd, { ...e }), jd = (e) => Vo(Td, { ...e }), _d = (e) => Vo(qs, { ...e }), Zd = (e) => "bottom" === e.placement ? Vo(Ti, { ...e }) : Vo(vi, { ...e }), Qd = (e) => Vo(ao, {
|
|
14014
14035
|
transitionDelay: "160ms",
|
|
14015
14036
|
transparentBackground: !0,
|
|
14016
14037
|
...e
|
|
@@ -14089,9 +14110,9 @@ var lc = (e = !1, t = !1) => t ? null : {
|
|
|
14089
14110
|
border: (e) => `1px solid ${e.palette?.primary?.main} !important`
|
|
14090
14111
|
}
|
|
14091
14112
|
}, ic = _t(qt((e, t) => {
|
|
14092
|
-
const { sx: o, workbook: n, title: r = "", placeHolder: a, onTitleChange: l, readOnly: i = !1, modified: s = !1, encrypted: d = !1, hidden: c, ...p } = e, u = Et(), m = a ?? u("workbook.untitled"), [h, g] = ro(!1), [b, f] = ro(!1), [y, x] = ro(r ?? ""), [k, v] = ro(""), [w, { width: S }] = Pt(), [C, { width: T }] = Pt(), [F, D] = ro(!1), N = no(null),
|
|
14113
|
+
const { sx: o, workbook: n, title: r = "", placeHolder: a, onTitleChange: l, readOnly: i = !1, modified: s = !1, encrypted: d = !1, hidden: c, ...p } = e, u = Et(), m = a ?? u("workbook.untitled"), [h, g] = ro(!1), [b, f] = ro(!1), [y, x] = ro(r ?? ""), [k, v] = ro(""), [w, { width: S }] = Pt(), [C, { width: T }] = Pt(), [F, D] = ro(!1), N = no(null), I = no(null), B = Nt(t, () => ({
|
|
14093
14114
|
requestTitle: (e, t) => {
|
|
14094
|
-
|
|
14115
|
+
I.current = {
|
|
14095
14116
|
onAccept: e,
|
|
14096
14117
|
requestReason: t?.requestReason
|
|
14097
14118
|
}, t?.selectAll && N.current?.select(), N.current?.focus(t);
|
|
@@ -14110,7 +14131,7 @@ var lc = (e = !1, t = !1) => t ? null : {
|
|
|
14110
14131
|
f(!!y && !Zn.isValidFileName(y));
|
|
14111
14132
|
}, [y]);
|
|
14112
14133
|
const P = Wn([
|
|
14113
|
-
|
|
14134
|
+
B,
|
|
14114
14135
|
C,
|
|
14115
14136
|
t
|
|
14116
14137
|
]);
|
|
@@ -14144,7 +14165,7 @@ var lc = (e = !1, t = !1) => t ? null : {
|
|
|
14144
14165
|
children: Vo(rt, { iconKey: "Lock" })
|
|
14145
14166
|
})
|
|
14146
14167
|
}) : null, Vo(ko, {
|
|
14147
|
-
label:
|
|
14168
|
+
label: I.current?.requestReason ?? u("documentTitle.label"),
|
|
14148
14169
|
children: Uo(jo, {
|
|
14149
14170
|
className: Kn({ "Mui-focusVisible": h }),
|
|
14150
14171
|
sx: {
|
|
@@ -14187,7 +14208,7 @@ var lc = (e = !1, t = !1) => t ? null : {
|
|
|
14187
14208
|
}) : null]
|
|
14188
14209
|
}) : Vo(on, {
|
|
14189
14210
|
sx: {
|
|
14190
|
-
width: `${Math.min(S + 3, Math.max(T,
|
|
14211
|
+
width: `${Math.min(S + 3, Math.max(T, B.current?.getBoundingClientRect()?.width))}px`,
|
|
14191
14212
|
overflow: "hidden",
|
|
14192
14213
|
whiteSpace: "nowrap",
|
|
14193
14214
|
fontWeight: "600",
|
|
@@ -14218,16 +14239,16 @@ var lc = (e = !1, t = !1) => t ? null : {
|
|
|
14218
14239
|
ref: N
|
|
14219
14240
|
},
|
|
14220
14241
|
onBlur: () => {
|
|
14221
|
-
g(!1), b ? x(k) : (y !== k && (l?.(y), y &&
|
|
14242
|
+
g(!1), b ? x(k) : (y !== k && (l?.(y), y && I.current?.onAccept?.(y, "blur")), I.current = null);
|
|
14222
14243
|
},
|
|
14223
14244
|
onChange: (e) => {
|
|
14224
14245
|
if (e.target.value.length > Zn.MAX_WORKBOOK_NAME_SIZE) return e.stopPropagation(), void e.preventDefault();
|
|
14225
14246
|
x(e.target.value);
|
|
14226
14247
|
},
|
|
14227
14248
|
onKeyDown: (e) => {
|
|
14228
|
-
(Zn.isReservedFileNameChar(e.key) || e.target?.value.length > Zn.MAX_WORKBOOK_NAME_SIZE) && e.preventDefault(), e.which === at.Enter || e.which === at.Tab ? (b ? x(k) : (l?.(y), y && (
|
|
14249
|
+
(Zn.isReservedFileNameChar(e.key) || e.target?.value.length > Zn.MAX_WORKBOOK_NAME_SIZE) && e.preventDefault(), e.which === at.Enter || e.which === at.Tab ? (b ? x(k) : (l?.(y), y && (I.current?.onAccept?.(y, "keydown"), I.current = null)), e.stopPropagation(), e.preventDefault(), n?.focus()) : e.which === at.Escape && (y === k ? n?.focus() : (x(k), setTimeout(() => {
|
|
14229
14250
|
e.target?.select();
|
|
14230
|
-
}, 0)),
|
|
14251
|
+
}, 0)), I.current = null, e.stopPropagation(), e.preventDefault());
|
|
14231
14252
|
},
|
|
14232
14253
|
value: y
|
|
14233
14254
|
}), Vo(jo, {
|
|
@@ -14289,7 +14310,7 @@ var sc = /* @__PURE__ */ new Set([
|
|
|
14289
14310
|
"autoFocus",
|
|
14290
14311
|
"licenseKey",
|
|
14291
14312
|
"prefetch"
|
|
14292
|
-
]), dc = On("studio:eagerStudio", () => import("./
|
|
14313
|
+
]), dc = On("studio:eagerStudio", () => import("./0TWX9zLKXvPj1qMo.mjs")), cc = ({ error: e, onShown: t }) => (Yt(() => {
|
|
14293
14314
|
t();
|
|
14294
14315
|
}, []), Vo(So, { error: e })), pc = _t(qt((e, t) => {
|
|
14295
14316
|
const { sx: o, style: n, className: r, licenseKey: a, renderDocumentLoading: l = Qd, propsDocumentLoading: i, onWorkbookLoad: s, onDocumentError: d, ...c } = e, [p, u] = ((e) => {
|
|
@@ -14297,7 +14318,9 @@ var sc = /* @__PURE__ */ new Set([
|
|
|
14297
14318
|
for (const n in e) (sc.has(n) ? t : o)[n] = e[n];
|
|
14298
14319
|
return [t, o];
|
|
14299
14320
|
})(c);
|
|
14300
|
-
|
|
14321
|
+
to(() => {
|
|
14322
|
+
a && T.setLicenseKey(a).catch(() => {});
|
|
14323
|
+
}, [a]);
|
|
14301
14324
|
const [m] = At(oe.Mode, te[oe.Mode]), { themeMode: h } = Lt({ mode: m ?? void 0 }), g = "dark" === h, [b, f] = ro(null), y = pt("studio", Xt()), [x, k] = ro(!1), v = to(() => !l || x ? null : Vo(mn, {
|
|
14302
14325
|
style: {
|
|
14303
14326
|
backgroundColor: `var(--sxl-color-base-100, ${g ? "#121212" : "#fff"})`,
|
|
@@ -14356,7 +14379,7 @@ var sc = /* @__PURE__ */ new Set([
|
|
|
14356
14379
|
});
|
|
14357
14380
|
}));
|
|
14358
14381
|
pc.displayName = "Studio";
|
|
14359
|
-
var uc = Eo(On("studio:templateDialog", () => import("./
|
|
14382
|
+
var uc = Eo(On("studio:templateDialog", () => import("./D9neYUsRInmBz-7P.mjs")).load), mc = On("studio:welcomeDialog", () => import("./a4ksKvzRiZRS-LjD.mjs")), hc = Eo(mc.load), gc = _t((e) => {
|
|
14360
14383
|
const { scope: t } = e, { showModal: o } = Go(), n = Rt(), r = no(void 0), [a, l] = At("studio.welcome.showAtStartup", !0), i = (e, o) => {
|
|
14361
14384
|
t.resolve(e)?.execute(o);
|
|
14362
14385
|
}, s = (e) => {
|
|
@@ -14437,7 +14460,7 @@ var bc = !1, fc = () => {
|
|
|
14437
14460
|
contributions: { newWorkbookOptions: { order: 1 } }
|
|
14438
14461
|
}, !0));
|
|
14439
14462
|
}, yc = (e = {}) => {
|
|
14440
|
-
const { source: t, startWith: o, templatePath: n, onWorkbookLoad: r, onWorkbookChange: a, onDirtyChange: l, documentTitle: i, confirmOnClose: s, keyboardGuard: d, ...c } = e, p =
|
|
14463
|
+
const { source: t, startWith: o, templatePath: n, onWorkbookLoad: r, onWorkbookChange: a, onDirtyChange: l, documentTitle: i, confirmOnClose: s, keyboardGuard: d, ...c } = e, p = Bt(), [u, m] = ro(null), [h, g] = ro(!1), b = Qe(u);
|
|
14441
14464
|
je(b, h, {
|
|
14442
14465
|
documentTitle: i,
|
|
14443
14466
|
confirmOnClose: s,
|
|
@@ -14501,4 +14524,4 @@ var bc = !1, fc = () => {
|
|
|
14501
14524
|
onWorkbookLoad: F
|
|
14502
14525
|
};
|
|
14503
14526
|
};
|
|
14504
|
-
export { Ki as AnomaliesPlugin,
|
|
14527
|
+
export { Ki as AnomaliesPlugin, Ba as AppearanceCommandButton, ar as AutoColorPosition, Nr as BorderCommandButton, Dr as BorderPopupButton, wr as BorderStylePopupButton, Sr as BorderTemplateIcon, dr as C, Ra as CalculationOptionsCommandButton, ci as CalculationRequiredStatus, di as CircularReferenceStatus, pr as ColorButton, ur as ColorButtonList, Ur as ColorCommandButton, br as ColorPanel, rr as ColorPanelType, yr as ColorPopupButton, qs as ColumnMenu, Ri as CommentCard, Ai as CommentsPlugin, ud as DEFAULT_GRADIENT, L as DefaultTaskPaneRegistry, ql as DefaultWorkbookToolbars, Na as DocThemeCommandButton, ic as DocumentTitle, Di as ExternalLinksPlugin, hd as FORMAT_TASK_PANE_KEY, bi as FORMULA_BAR_EDITOR_ID, ca as FORMULA_FIELD_ABOVE_LABEL_HEIGHT, Ia as FileCommandButton, Bd as FillMenu, qr as FontFamilyCommandButton, Ir as FontSizeCommandButton, gd as FormatPlugin, vi as FormulaBar, pa as FormulaField, Hl as FunctionArgumentsPanel, Wl as FunctionSearchPanel, cd as GradientEditor, dd as GradientStopsBar, vl as INSERT_CELL_CONTROL_OPTIONS_KEY, Gl as INSERT_FUNCTION_PAGE_CLASS, la as InputField, wl as InsertCellControlCommandButton, hl as InsertFunctionCommandPopupButton, $l as InsertFunctionOption, Ml as InsertFunctionSumCommandPopupButton, Ul as InsertFunctionWizard, Ll as ItemCard, Ol as ItemCardAction, Kl as ItemsSearchField, C as LicenseManager, Ti as MobileFormulaBar, Si as MobileInputToolbar, mi as NamedCollectionEditor, gi as NamedPlugin, Wr as NumberFormatCommandButton, Br as NumberFormatOption, ni as NumberStats, Ys as PATTERN_GALLERY, bd as PasswordField, _r as PasteCommandButton, Js as PatternPopupButton, Qs as PatternSwatch, pi as PendingStatus, Xr as PresetCellStylesCommandButton, Za as PresetChip, js as PresetSlicerStylesCommandButton, ga as PresetTableStylesCommandButton, kd as ProtectionPlugin, Er as S, vd as SheetTabMenu, nr as SheetZoomCommandButton, Jl as SheetZoomScale, wd as SheetsAllMenu, _s as SlicerPlugin, ui as StatusBar, pc as Studio, vr as StyledStrokeIcon, ma as TablePlugin, ra as TableStyleCanvasPreview, ta as TableStylePreview, Hd as TableToolbar, jr as TextEffectsCommandButton, tr as TextRotateGroupButton, fa as ThemeSelectButton, ya as ThemeSelectPanel, xa as ThemeSelectPopupButton, Vr as UndoRedoCommandButton, Oa as WalkingCopyCommandButton, Td as WorkbookContextMenu, ac as WorkbookElement, ie as WorkbookIO, Cd as WorkbookStrip, Yl as WorkbookToolbars, _a as _, is as a, Aa as b, Rl as c, Da as createStudioThemeCSS, Sa as createThemeFromMUITheme, sl as d, _d as defaultRenderColumnMenu, Ld as defaultRenderCommentCard, jd as defaultRenderContextMenu, qd as defaultRenderFillMenu, Zd as defaultRenderFormulaBar, Ed as defaultRenderHyperlinkCard, Ud as defaultRenderMovableMenu, $d as defaultRenderOutlineButton, Vd as defaultRenderOutlineLevelButton, rc as defaultRenderSheetTab, tc as defaultRenderSheetTabMenu, oc as defaultRenderSheetsAll, Jd as defaultRenderStatusBar, Gd as defaultRenderTableToolbar, ec as defaultRenderTabs, jl as defaultRenderToolbar, Ad as defaultRenderTooltip, Yd as defaultRenderWorkbookError, Qd as defaultRenderWorkbookLoading, Xd as defaultRenderWorksheet, tl as f, Wa as g, Ha as h, rs as i, Dl as l, Ka as m, As as n, Mr as numberFormatCategoryLabel, Pr as numberFormatTypeLabel, El as o, Vl as optionsForPage, za as p, Xs as patternLabel, Rs as r, pl as registerSheetCommandGroups, er as registerStudioCommandCatalogs, Pl as registerStudioCommandGroups, Nl as registerWorkbookCommandGroups, zl as s, Re as setPrintExamplesOnLoad, fc as t, pd as toGradientValue, Zs as toPatternSlots, Ca as tokensToMuiOptions, rl as u, fi as useFormulaBarSession, Ge as useModelListener, Ue as useRangeListener, yc as useStudioApp, Ua as v, La as x, ja as y };
|