@sheetxl/studio-mui 0.8.0-beta.12 → 0.8.0-beta.13

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.
Files changed (101) hide show
  1. package/browser/esm/{7fVZXXuonYb6Z7FU.mjs → 6QDKC3DXaJjdTQvn.mjs} +3 -3
  2. package/browser/esm/{2nRxqrNYbmEn8fS8.mjs → B8-aNCyDzXh-3BnN.mjs} +5 -5
  3. package/browser/esm/{D5N4nGaZsXtrHAOh.mjs → BEjT3zSht5iH93uB.mjs} +3 -3
  4. package/browser/esm/{C29TKq47CbXs652l.mjs → BKB6y-l1USxdLM8V.mjs} +2 -2
  5. package/browser/esm/{DHZA48ZMCETvHmeP.mjs → BKE2ez65WLb02bOy.mjs} +1 -1
  6. package/browser/esm/{CMc7G7cevxzPGxr9.mjs → BOKRcLS0QikMyoWf.mjs} +2 -2
  7. package/browser/esm/{D5Fn0Hqllwv5HY6i.mjs → BTH-nzAPniB6G4TG.mjs} +69 -48
  8. package/browser/esm/{lKXEDVt2ow1NlWJj.mjs → Bbvx7IiwR5jW-Hwu.mjs} +6 -6
  9. package/browser/esm/{CFIAWgpU3UyepLBn.mjs → BgYy8t04q74BFK5_.mjs} +4 -4
  10. package/browser/esm/{D0slJycx3nq53qmf.mjs → BniGX5aeZXM9zMWH.mjs} +1 -1
  11. package/browser/esm/{BHGr2gsFofTdAFxq.mjs → BsxCXTfNJhFrldW9.mjs} +4 -4
  12. package/browser/esm/{CjYKDxU4EP2Kf_vo.mjs → BwbheU7gonBpE9Bs.mjs} +2 -2
  13. package/browser/esm/{BpVrgbVISiTDyFR3.mjs → BzLjlI67XDv3JcvA.mjs} +2 -2
  14. package/browser/esm/{tIKqpsA0vNXH9EgU.mjs → C3KoAU2WKPxC5-u7.mjs} +1 -1
  15. package/browser/esm/{0IBZhOJaVmzJxuTv.mjs → C9HzAN75sBq35kZg.mjs} +1 -1
  16. package/browser/esm/{BKhcJI-G15D3kGap.mjs → CMbJhvtUGfi-wQ3o.mjs} +2 -2
  17. package/browser/esm/{DaxpbAF1ShkT7hNU.mjs → CQd6qQ6b5R96lYkQ.mjs} +5 -5
  18. package/browser/esm/{WIhvQtBkGiw-oFUs.mjs → CYDqU_DnwM2dkv3O.mjs} +174 -133
  19. package/browser/esm/{D7AqPfyhMiuda5l5.mjs → CYNVxcg3QJ1RHCwS.mjs} +2 -2
  20. package/browser/esm/{Yjq3p_7eVGFw2Jod.mjs → CcyyIgMejaWOK8qw.mjs} +3 -3
  21. package/browser/esm/{u84rSnESjxqB6gay.mjs → CkmieJ2_aHVESg8Q.mjs} +1 -1
  22. package/browser/esm/{DX2_vf7WX6uRLaOZ.mjs → CtVEsNpA7LivARDl.mjs} +1 -1
  23. package/browser/esm/{NeGeLF3gbGMZyV6E.mjs → CyRZCFT_uVfmLkoB.mjs} +1 -1
  24. package/browser/esm/{BAzhmMX4Fk_qnUTp.mjs → D2KYXweAKTJVnLbt.mjs} +5 -5
  25. package/browser/esm/{CBzXksWnb-1gGEWZ.mjs → D9KI3TDs1Ed_en8o.mjs} +1 -1
  26. package/browser/esm/{oC0OwOddhOD0OoCJ.mjs → DAX7uqV05BahXHL1.mjs} +2 -2
  27. package/browser/esm/{BnkwC5rsg9LZyhoP.mjs → DFEz0RMRQrGo3tWC.mjs} +2 -2
  28. package/browser/esm/{CJD4jF4m9cBGHzr_.mjs → DLP2vkb2VDlGGA1A.mjs} +1 -1
  29. package/browser/esm/{C8p2iMad_NNCwGI_.mjs → DSIQFoVhlKSPzucu.mjs} +2 -2
  30. package/browser/esm/{CeF35ZeFP28Do5Zx.mjs → DWUrXikL8TyDNRrI.mjs} +6 -6
  31. package/browser/esm/{BZqwbIE8qzjSOYcJ.mjs → DYypTSo0adN5dUTS.mjs} +3 -3
  32. package/browser/esm/{DtTDaXmnWUoG4VBO.mjs → D_x6k92V4etahUtS.mjs} +2 -2
  33. package/browser/esm/{Db3oHfXiRtcH015t.mjs → DeSHnKGHmL3Lwl6t.mjs} +2 -2
  34. package/browser/esm/{Cq82lvdjyBvlJ8xJ.mjs → DkRUwiADZvoEL2xg.mjs} +1 -1
  35. package/browser/esm/{BWfLpYmd3cSgJ0C6.mjs → DlGOcFqQzrYB9wiZ.mjs} +4 -4
  36. package/browser/esm/{Dt47Huh1l3C4_5_w.mjs → DvDPtmuD-1bVFXhc.mjs} +1 -1
  37. package/browser/esm/{D2jzliMwAo2ENpfi.mjs → DyKgCJS1jQMxcPFF.mjs} +1 -1
  38. package/browser/esm/{BSv9MVJaz1DVEffm.mjs → ERVyjcGWX4mUl1p_.mjs} +4 -4
  39. package/browser/esm/{CYtULLhY9M2m3DeH.mjs → H8Dxocn689KdLYhD.mjs} +1 -1
  40. package/browser/esm/{DuuyN4-7K6_io2Py.mjs → LF4eGB9EZ_W6kUXC.mjs} +2 -2
  41. package/browser/esm/{PY3Br5Bo_TxcCnCU.mjs → PSYAcayGMjkZauMz.mjs} +2 -2
  42. package/browser/esm/{WgIvwAENeO8LANax.mjs → TT3Q8r0Jww_zZmNv.mjs} +2 -2
  43. package/browser/esm/{Cvk2yY90hpgXWMAt.mjs → UMji8dlv0GKyfjRw.mjs} +1 -1
  44. package/browser/esm/UWvqHAyCVY3D-8Pk.mjs +242 -0
  45. package/browser/esm/{BsngRDhvVYGVBJeK.mjs → aNYq27kJA5RA4L_0.mjs} +4 -4
  46. package/browser/esm/{BGL3x0W74D7qZXlf.mjs → dn1AnYOyR4bZamV4.mjs} +3 -3
  47. package/browser/esm/{BZy9xUrYpAtnKeji.mjs → eKakg1lFqn9dZkOO.mjs} +8 -8
  48. package/browser/esm/index.mjs +16 -16
  49. package/browser/esm/{BNbub9weuqm3mcoF.mjs → jbPNLnRSS8Xt5_Zd.mjs} +4 -4
  50. package/browser/esm/{BpJsBv413cNQpyg0.mjs → oj398-Nn8Gb8Cmu7.mjs} +3 -3
  51. package/browser/esm/{CuRxFAO42JkQvMEx.mjs → qyIg2o8AfCcwCuVZ.mjs} +1 -1
  52. package/browser/esm/{DtPt0phL7m56YfHZ.mjs → w9rl3kS5ehDc2U18.mjs} +1 -1
  53. package/node/esm/{C4F6WY8M4nkLyxdb.mjs → A-6VdAxUYuVCsS80.mjs} +2 -2
  54. package/node/esm/{CgKa6JuyJ1tTodev.mjs → BN5K-JWYdHJtnF5G.mjs} +171 -130
  55. package/node/esm/{CKWeipCqqpLnLE5e.mjs → BRSLQ_UNOJKAWRUq.mjs} +2 -2
  56. package/node/esm/{BqVxnA1mo52ubjdf.mjs → BVCjSh6m3Z_Cd6DD.mjs} +2 -2
  57. package/node/esm/{Cq53M7bAUSXMNq1f.mjs → BVyN4cLnT2ii1GMj.mjs} +1 -1
  58. package/node/esm/{BLv99aovW4R3C5PE.mjs → BWG2FA3rbsOsBHQM.mjs} +3 -3
  59. package/node/esm/{B8Ls4Eh1k8-Yiry_.mjs → BZVe_afv1tfvExD6.mjs} +1 -1
  60. package/node/esm/{DsNYnq4NtYBxPmeA.mjs → BiBMdXkWOUHZpWcb.mjs} +1 -1
  61. package/node/esm/{Cr8AYWUoU-XVt0hu.mjs → Bj-UqmrrHdVSX4vS.mjs} +1 -1
  62. package/node/esm/{fmya3XQnTGyQisvT.mjs → Blxb1C2eUbWoXcsl.mjs} +1 -1
  63. package/node/esm/{C3FCh9xju2SccUIE.mjs → BmySpSgR3H6eUK0L.mjs} +2 -2
  64. package/node/esm/{DJpwI8PlKBI2rk0r.mjs → C86bIpa86VUEVY3_.mjs} +2 -2
  65. package/node/esm/CVeYUjvKIc1XuPC1.mjs +242 -0
  66. package/node/esm/{BBGoyqs2L_ccSH1e.mjs → Cg1eqOYlWMCprF6j.mjs} +2 -2
  67. package/node/esm/{zGAcd4Jr7wkvXDBS.mjs → CksDVaPvtllTUe7F.mjs} +1 -1
  68. package/node/esm/{Cfi_ly8fBDZZdiZT.mjs → D0HpdVWcePBpfQHX.mjs} +3 -3
  69. package/node/esm/{BUGU_5lUtnCRlp3n.mjs → DEK0D7wAs-O0YMBq.mjs} +2 -2
  70. package/node/esm/{CTnVNfz4eqFnM92M.mjs → DFZctv5meqoQLuQF.mjs} +1 -1
  71. package/node/esm/{M7YxvRPGCuxuk9aK.mjs → DQ9BkHy3YgoLqyAw.mjs} +1 -1
  72. package/node/esm/{D72CupF9mfy2D1Xa.mjs → DTtGcAuClHgv-5s6.mjs} +1 -1
  73. package/node/esm/{dm8dmEaTIqfmgyeL.mjs → DcUXYRkJLeQFybOy.mjs} +2 -2
  74. package/node/esm/{di_8-pXh90j4BO4j.mjs → DjB5CHk5N8mYRiAW.mjs} +1 -1
  75. package/node/esm/{wB8xMpyJ_NvE16yG.mjs → DopRYDglwpRFuZ9y.mjs} +2 -2
  76. package/node/esm/{Dz0Hg87UcJ-awwiI.mjs → E3iNwBp5FzwRWhBH.mjs} +2 -2
  77. package/node/esm/{DQaGPUYbgL4Y5YZW.mjs → Mm5HFZHyaIJ5EfYO.mjs} +1 -1
  78. package/node/esm/{QNjtpX8rIpqGGLEJ.mjs → VLp3LfRG5Njlf4Mp.mjs} +2 -2
  79. package/node/esm/{DGDHFK8okuVbRCe5.mjs → YTiLYQEQ-ST2j-Yd.mjs} +1 -1
  80. package/node/esm/{ZzvsynJTCSuChYS-.mjs → h5Tt_pl2Dpa9vaR-.mjs} +1 -1
  81. package/node/esm/index.mjs +243 -222
  82. package/node/esm/{gPYAb_A0T5ZwcQ1E.mjs → nVZW0-P7DISm9GFM.mjs} +1 -1
  83. package/node/esm/{DygDgOpa9sJ6YFVS.mjs → sKA_898BrWm-kfiS.mjs} +1 -1
  84. package/node/esm/{B9X3n8MglL4OitAV.mjs → uySjOpgLC6iCqgC-.mjs} +1 -1
  85. package/node/esm/{BalROFG_oa9PFs9Q.mjs → xw7vek0VNw7ofbq1.mjs} +2 -2
  86. package/node/esm/{DJFkALt4XrwkMbnU.mjs → zZTOpRFxWBgeZTpk.mjs} +1 -1
  87. package/package.json +9 -9
  88. package/resources/locales/de/groups.cmd.json +12 -1
  89. package/resources/locales/en/groups.cmd.json +12 -1
  90. package/types/src/conditions/MembershipOption.d.ts +1 -1
  91. package/types/src/conditions/SelectorSelect.d.ts +1 -1
  92. package/types/src/dataValidation/DataValidationEditorPanel.d.ts +1 -1
  93. package/types/src/dialog/HyperlinkDialog.d.ts +15 -0
  94. package/types/src/externalLink/ExternalLinkSettingsTab.d.ts +1 -1
  95. package/types/src/filter/ColumnMenu.d.ts +1 -1
  96. package/types/src/shape/ShapeGalleryCommandButton.d.ts +18 -0
  97. package/types/src/shape/ShapePlugin.d.ts +2 -0
  98. package/types/src/shape/index.d.ts +1 -1
  99. package/browser/esm/jFRFCWlkD7Dsrhkh.mjs +0 -236
  100. package/node/esm/CyuOE595I2e-U4cG.mjs +0 -236
  101. package/types/src/shape/InsertShapeCommandButton.d.ts +0 -20
@@ -1,21 +1,21 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.12
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.13
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 { A as e, C as t, Et as n, I as r, L as i, M as a, N as o, R as s, S as c, W as l, _t as u, dt as d, et as f, i as p, pt as m, r as h, rt as g, t as _, tt as v, u as ee, v as y } from "./D5Fn0Hqllwv5HY6i.mjs";
8
- import { t as b } from "./u84rSnESjxqB6gay.mjs";
9
- import { n as x, t as S } from "./CJD4jF4m9cBGHzr_.mjs";
10
- import { CommandRootProvider as te, DefaultTaskPaneRegistry as C, LogoNoPaddingIcon as ne, SHAPE_ICON_PACK as re, TaskPaneArea as w, TaskPaneProvider as ie, ThemeStateDefaults as ae, ThemeStateKey as T, WorkbookIO as E, WorkbookProvider as oe, buildOOXMLThemeCSS as se, createEditable as ce, createSystemColorVars as le, registerMovablePane as ue, registerMovableToolbarEntry as de, useDocThemes as fe, useModelSync as pe, useReferenceModeStore as me, useResolvedWorkbook as he, useTaskPaneArea as ge, useWorkbookEncrypted as _e, useWorkbookName as ve, useWorkbookSaveState as ye } from "@sheetxl/react";
11
- import { Command as be, DefaultIconService as xe, DynamicIcon as Se, LanguageStateKey as Ce, NotifierType as D, ReactErrorBoundary as we, ReactNotifierProvider as Te, ReactUtils as Ee, RenderSlot as De, ScrollUtils as Oe, SplitPane as ke, UncaughtErrorBoundary as Ae, createBusyHandle as je, useCallbackRef as O, useFullscreen as Me, useImperativeElement as Ne, useLanguage as k, useMeasure as Pe, useNotifier as Fe, usePersistentState as Ie, useResolvedThemeMode as Le, useTokenThemeContext as Re, useTranslator as A, useVisualViewportRect as ze } from "@sheetxl/utils-react";
7
+ import { A as e, C as t, Et as n, I as r, L as i, M as a, N as o, R as s, S as c, W as l, _t as u, dt as d, et as f, i as p, pt as m, r as h, rt as g, t as _, tt as v, u as ee, v as y } from "./BTH-nzAPniB6G4TG.mjs";
8
+ import { t as b } from "./CkmieJ2_aHVESg8Q.mjs";
9
+ import { n as x, t as S } from "./DLP2vkb2VDlGGA1A.mjs";
10
+ import { CommandRootProvider as te, DefaultTaskPaneRegistry as C, LogoNoPaddingIcon as ne, SHAPE_ICON_PACK as re, TaskPaneArea as ie, TaskPaneProvider as ae, ThemeStateDefaults as oe, ThemeStateKey as w, WorkbookIO as T, WorkbookProvider as se, buildOOXMLThemeCSS as ce, createEditable as le, createSystemColorVars as ue, registerMovablePane as de, registerMovableToolbarEntry as fe, useDocThemes as pe, useModelSync as me, useReferenceModeStore as he, useResolvedWorkbook as ge, useTaskPaneArea as _e, useWorkbookEncrypted as ve, useWorkbookName as ye, useWorkbookSaveState as be } from "@sheetxl/react";
11
+ import { Command as xe, DefaultIconService as Se, DynamicIcon as Ce, LanguageStateKey as we, NotifierType as E, ReactErrorBoundary as Te, ReactNotifierProvider as Ee, ReactUtils as De, RenderSlot as Oe, ScrollUtils as ke, SplitPane as Ae, UncaughtErrorBoundary as je, createBusyHandle as Me, useCallbackRef as D, useFullscreen as Ne, useImperativeElement as Pe, useLanguage as O, useMeasure as Fe, useNotifier as Ie, usePersistentState as k, useResolvedThemeMode as Le, useTokenThemeContext as Re, useTranslator as A, useVisualViewportRect as ze } from "@sheetxl/utils-react";
12
12
  import j, { Component as Be, cloneElement as Ve, createElement as He, forwardRef as M, isValidElement as Ue, memo as N, useCallback as P, useContext as We, useEffect as F, useLayoutEffect as Ge, useMemo as I, useRef as L, useState as R } from "react";
13
13
  import { AnimatedLoadingPanel as Ke, AnimatedTraversingEllipsisIcon as qe, CommandGroup as Je, ExhibitFloatProvider as Ye, ExhibitTooltip as z, ModalProvider as Xe, SimpleTooltip as Ze, StackTrace as Qe, createExhibitTheme as $e, hideLoadingPanel as et, lazyModal as tt, lazyPanel as nt, showLoadingPanel as rt, useInputDialog as it, useLazyWindow as at, useModal as ot, useOptionsDialog as st } from "@sheetxl/utils-mui";
14
14
  import { Fragment as ct, jsx as B, jsxs as V } from "react/jsx-runtime";
15
15
  import { Box as H, Card as lt, CardActions as ut, Collapse as dt, CssBaseline as ft, DialogTitle as pt, IconButton as mt, Paper as ht, SvgIcon as gt, Tab as _t, Tabs as U, ThemeProvider as vt, Typography as yt, alpha as bt, useMediaQuery as xt, useTheme as St } from "@mui/material";
16
16
  import { CommonUtils as Ct, DOMUtils as wt, DefaultLanguagePackService as Tt, ErrorUtils as Et, ExpectedError as Dt, PartialError as Ot, defineLazyModule as W, formatMessage as G, messageKey as K, t as q } from "@sheetxl/utils";
17
17
  import { createPortal as J } from "react-dom";
18
- var kt = nt(W("studio:conditionalFormatDetailsTaskPane", () => import("./BZy9xUrYpAtnKeji.mjs"), { select: (e) => ({ default: e.ConditionalFormatDetailsTaskPane }) }).load), At = ["lines"];
18
+ var kt = nt(W("studio:conditionalFormatDetailsTaskPane", () => import("./eKakg1lFqn9dZkOO.mjs"), { select: (e) => ({ default: e.ConditionalFormatDetailsTaskPane }) }).load), At = ["lines"];
19
19
  function jt(e) {
20
20
  var t, n, r = "";
21
21
  if (typeof e == "string" || typeof e == "number") r += e;
@@ -938,12 +938,12 @@ var Un, Wn, Gn, Kn, qn, Jn = N(Hn), Yn = xn({ wrappedRoot: {
938
938
  size: "small",
939
939
  className: b($.expand, { [$.expandOpen]: u }),
940
940
  onClick: m,
941
- children: B(Se, { iconKey: "ExpandMore" })
941
+ children: B(Ce, { iconKey: "ExpandMore" })
942
942
  }) : null, B(mt, {
943
943
  size: "small",
944
944
  className: $.expand,
945
945
  onClick: h,
946
- children: B(Se, {
946
+ children: B(Ce, {
947
947
  iconKey: "Close",
948
948
  style: { transform: "scale(0.8)" }
949
949
  })
@@ -994,7 +994,7 @@ var or = B(() => {
994
994
  })
995
995
  });
996
996
  }, {}), sr = N(M((e, t) => {
997
- let { workbook: n, className: r, logo: i = or, mainElement: a, startElement: o, endElement: s, ...c } = e, [l, { width: u }] = Pe(), d = u < 530, p = L(null), m = x([
997
+ let { workbook: n, className: r, logo: i = or, mainElement: a, startElement: o, endElement: s, ...c } = e, [l, { width: u }] = Fe(), d = u < 530, p = L(null), m = x([
998
998
  p,
999
999
  l,
1000
1000
  t
@@ -1094,7 +1094,7 @@ function lr(e, t) {
1094
1094
  }, a;
1095
1095
  n && (i.progress.onStart = n);
1096
1096
  let s = -5;
1097
- return E.read({
1097
+ return T.read({
1098
1098
  ...i,
1099
1099
  progress: {
1100
1100
  async onStart(e, t) {
@@ -1129,10 +1129,10 @@ function lr(e, t) {
1129
1129
  },
1130
1130
  onWarnings: r ?? (async ({ warnings: e, origin: t, canCancel: n }) => {
1131
1131
  a?.(), console.warn(`Not written to '${t.getName()}':\n${e.map((e) => ` ${e.message}`).join("\n")}`);
1132
- let r = q("dialog.writeWarnings.title"), i = t.getFormat(), s = (i ? (await E.getWriteFormats({ search: i }))[0] : void 0)?.description ?? i ?? "", c = q("dialog.writeWarnings.keep");
1132
+ let r = q("dialog.writeWarnings.title"), i = t.getFormat(), s = (i ? (await T.getWriteFormats({ search: i }))[0] : void 0)?.description ?? i ?? "", c = q("dialog.writeWarnings.keep");
1133
1133
  return n ? await o.showOptions({
1134
1134
  title: r,
1135
- type: D.Warning,
1135
+ type: E.Warning,
1136
1136
  description: `${q("dialog.writeWarnings.confirm", { format: s })}\n\n${c}`,
1137
1137
  options: [{
1138
1138
  id: "Save",
@@ -1141,7 +1141,7 @@ function lr(e, t) {
1141
1141
  defaultOption: "Cancel"
1142
1142
  }) === "Save" && (a = await o?.showBusy?.(q("workbook.saving", { name: t?.getName() ?? "" })), !0) : (o.showOptions({
1143
1143
  title: r,
1144
- type: D.Warning,
1144
+ type: E.Warning,
1145
1145
  description: `${q("dialog.writeWarnings.saved", { format: s })}\n\n${c}`,
1146
1146
  options: ["Ok"]
1147
1147
  }), !0);
@@ -1149,15 +1149,15 @@ function lr(e, t) {
1149
1149
  }, c;
1150
1150
  if (n) {
1151
1151
  let n = e.getOrigin(), r = t?.exts?.[0] ?? (n.getExtension() || "sxl"), a = `${i || n.getName() || q("workbook.defaultName")}.${r}`;
1152
- c = await E.writeAs(e, a, {
1152
+ c = await T.writeAs(e, a, {
1153
1153
  ...s,
1154
1154
  prompt: !0
1155
1155
  });
1156
- } else c = await E.write(e, void 0, s);
1156
+ } else c = await T.write(e, void 0, s);
1157
1157
  return c;
1158
1158
  }, d = null;
1159
1159
  return e.updateCommand("newWorkbook", { callback: async (e) => {
1160
- let t = E.canRead() && !a();
1160
+ let t = T.canRead() && !a();
1161
1161
  e?.source ? t && d ? await d({
1162
1162
  url: e.source,
1163
1163
  title: e.title
@@ -1173,9 +1173,9 @@ function lr(e, t) {
1173
1173
  defaultOption: "Cancel"
1174
1174
  }) !== "Close" || window.close();
1175
1175
  } }), (async () => {
1176
- let t = await E.getWriteFormats();
1176
+ let t = await T.getWriteFormats();
1177
1177
  if (c) return;
1178
- let i = E.canWrite(), f = E.canRead();
1178
+ let i = T.canWrite(), f = T.canRead();
1179
1179
  if (i) {
1180
1180
  let r = (e) => {
1181
1181
  let r = e ? t.find((t) => t.key === e) : void 0;
@@ -1231,8 +1231,8 @@ function lr(e, t) {
1231
1231
  tags: ["noTransaction", "noRepeat"],
1232
1232
  callback: async (e = null) => {
1233
1233
  let t = e;
1234
- if (t || E.canRead() || (t = await (async () => {
1235
- let e = await E.getReadFormats(), t = [...new Set(e.flatMap((e) => e.exts))].map((e) => `.${e}`);
1234
+ if (t || T.canRead() || (t = await (async () => {
1235
+ let e = await T.getReadFormats(), t = [...new Set(e.flatMap((e) => e.exts))].map((e) => `.${e}`);
1236
1236
  return wt.openFileDialog(t.length ? t.join(",") : "*.*");
1237
1237
  })(), t)) return p(t);
1238
1238
  }
@@ -1318,7 +1318,7 @@ function lr(e, t) {
1318
1318
  c = !0, s && (s.current = null);
1319
1319
  };
1320
1320
  }
1321
- var ur = tt(W("studio:shortcutKeysDialog", () => import("./CuRxFAO42JkQvMEx.mjs")).load);
1321
+ var ur = tt(W("studio:shortcutKeysDialog", () => import("./qyIg2o8AfCcwCuVZ.mjs")).load);
1322
1322
  n(), _();
1323
1323
  var dr = /* @__PURE__ */ new Set(["ui"]), fr = (e) => {
1324
1324
  let t = (e) => {
@@ -1342,15 +1342,15 @@ var dr = /* @__PURE__ */ new Set(["ui"]), fr = (e) => {
1342
1342
  getDescription: () => n(o?.description, o?.params) ?? "",
1343
1343
  getShortcut: () => t(o?.shortcut) ?? null,
1344
1344
  getScope: () => i,
1345
- getScopeLabel: () => be.DefaultCommandCatalogService.getScopeLabel(i)
1345
+ getScopeLabel: () => xe.DefaultCommandCatalogService.getScopeLabel(i)
1346
1346
  }
1347
1347
  });
1348
1348
  }
1349
1349
  return { getAllCommands: () => r };
1350
1350
  }, pr = (e) => {
1351
- let { children: t, workbook: n, setWorkbook: r, workbookTitle: i, isDirty: a, refSave: o, fullscreenTarget: s } = e, c = be.useCommandScope(), l = Fe(), { showModal: u } = ot(), d = A(), f = L(a);
1351
+ let { children: t, workbook: n, setWorkbook: r, workbookTitle: i, isDirty: a, refSave: o, fullscreenTarget: s } = e, c = xe.useCommandScope(), l = Ie(), { showModal: u } = ot(), d = A(), f = L(a);
1352
1352
  f.current = a;
1353
- let p = O(() => {
1353
+ let p = D(() => {
1354
1354
  let e = c?.getRoot().getRegistry();
1355
1355
  if (!e) return;
1356
1356
  let t = u(ur, {
@@ -1378,7 +1378,7 @@ var dr = /* @__PURE__ */ new Set(["ui"]), fr = (e) => {
1378
1378
  } });
1379
1379
  }(e, { showShortcuts: p }), () => e.remove();
1380
1380
  }, [c, p]);
1381
- let m = xt("(prefers-color-scheme: dark)"), { themeMode: h } = Le(), [g, _] = Ie(T.Mode, ae[T.Mode]), [v, ee] = Ie(T.DarkGrid, ae[T.DarkGrid]), [y, b] = Ie(T.DarkImages, ae[T.DarkImages]);
1381
+ let m = xt("(prefers-color-scheme: dark)"), { themeMode: h } = Le(), [g, _] = k(w.Mode, oe[w.Mode]), [v, ee] = k(w.DarkGrid, oe[w.DarkGrid]), [y, b] = k(w.DarkImages, oe[w.DarkImages]);
1382
1382
  F(() => {
1383
1383
  if (!c) return;
1384
1384
  let e = c.getRoot().contribution();
@@ -1420,7 +1420,7 @@ var dr = /* @__PURE__ */ new Set(["ui"]), fr = (e) => {
1420
1420
  ee,
1421
1421
  b
1422
1422
  ]);
1423
- let [x, S] = Ie(Ce.Active, null), [te, C] = R(() => Tt.getActive());
1423
+ let [x, S] = k(we.Active, null), [te, C] = R(() => Tt.getActive());
1424
1424
  F(() => Tt.addChangeListener(C), []), F(() => {
1425
1425
  x && x !== Tt.getActive() && Tt.setActive(x);
1426
1426
  }, [x]), F(() => {
@@ -1444,7 +1444,7 @@ var dr = /* @__PURE__ */ new Set(["ui"]), fr = (e) => {
1444
1444
  te,
1445
1445
  S
1446
1446
  ]);
1447
- let ne = I(() => ({ current: s ?? null }), [s]), { isFullscreenAvailable: re, isFullscreenEnabled: w, toggleFullscreen: ie } = Me({ target: ne });
1447
+ let ne = I(() => ({ current: s ?? null }), [s]), { isFullscreenAvailable: re, isFullscreenEnabled: ie, toggleFullscreen: ae } = Ne({ target: ne });
1448
1448
  F(() => {
1449
1449
  if (!c) return;
1450
1450
  let e = c.getRoot().contribution();
@@ -1459,16 +1459,16 @@ var dr = /* @__PURE__ */ new Set(["ui"]), fr = (e) => {
1459
1459
  });
1460
1460
  }(e, {
1461
1461
  isFullscreenAvailable: re,
1462
- isFullscreenEnabled: w,
1463
- toggleFullscreen: ie
1462
+ isFullscreenEnabled: ie,
1463
+ toggleFullscreen: ae
1464
1464
  }), () => e.remove();
1465
1465
  }, [
1466
1466
  c,
1467
1467
  re,
1468
- w,
1469
- ie
1468
+ ie,
1469
+ ae
1470
1470
  ]);
1471
- let E = ge(!0);
1471
+ let T = _e(!0);
1472
1472
  return F(() => {
1473
1473
  if (!c) return;
1474
1474
  let e = c.getRoot().contribution();
@@ -1479,8 +1479,8 @@ var dr = /* @__PURE__ */ new Set(["ui"]), fr = (e) => {
1479
1479
  t("manageProtection", { args: { tab: "workbook" } });
1480
1480
  }
1481
1481
  });
1482
- }(e, (e, t) => E.activate(e, t)), () => e.remove();
1483
- }, [c, E]), F(() => {
1482
+ }(e, (e, t) => T.activate(e, t)), () => e.remove();
1483
+ }, [c, T]), F(() => {
1484
1484
  if (!c || !n) return;
1485
1485
  let e = c.getRoot().contribution(), t = lr(e, {
1486
1486
  workbook: n,
@@ -1504,7 +1504,7 @@ var dr = /* @__PURE__ */ new Set(["ui"]), fr = (e) => {
1504
1504
  };
1505
1505
  pr.displayName = "StudioCommandProvider";
1506
1506
  var mr = ({ renderWorkbook: e }) => {
1507
- let t = be.useCommandResolver(), n = L(null), r = A(), [i, a] = R(null), o = P((e) => {
1507
+ let t = xe.useCommandResolver(), n = L(null), r = A(), [i, a] = R(null), o = P((e) => {
1508
1508
  let n = e.dataTransfer;
1509
1509
  if (t && n) {
1510
1510
  if (e.type === "dragenter" || e.type === "dragover") {
@@ -1520,7 +1520,7 @@ var mr = ({ renderWorkbook: e }) => {
1520
1520
  }
1521
1521
  e.preventDefault();
1522
1522
  }
1523
- }, [t]), s = O((e) => {
1523
+ }, [t]), s = D((e) => {
1524
1524
  e.preventDefault();
1525
1525
  let r = i;
1526
1526
  if (a(null), r && t && (e.stopPropagation(), e.dataTransfer.files && e.dataTransfer.files.length > 0)) {
@@ -1545,7 +1545,7 @@ var mr = ({ renderWorkbook: e }) => {
1545
1545
  } }
1546
1546
  });
1547
1547
  } else {
1548
- if (!E.canRead()) return;
1548
+ if (!T.canRead()) return;
1549
1549
  let n = e.dataTransfer.items?.[0], i = typeof window < "u" && window.isSecureContext ? n?.getAsFileSystemHandle?.() : void 0;
1550
1550
  i ? i.then((e) => t.execute("openWorkbook", e?.kind === "file" ? e : r)).catch(() => t.execute("openWorkbook", r)) : t.execute("openWorkbook", r);
1551
1551
  }
@@ -1581,7 +1581,7 @@ var mr = ({ renderWorkbook: e }) => {
1581
1581
  color: "text.primary",
1582
1582
  "& .drop-overlay-icon": { color: "primary.main" }
1583
1583
  },
1584
- children: [B(Se, {
1584
+ children: [B(Ce, {
1585
1585
  iconKey: e ? "InsertImage" : "FileOpen",
1586
1586
  className: "drop-overlay-icon",
1587
1587
  size: 32
@@ -1623,17 +1623,17 @@ var mr = ({ renderWorkbook: e }) => {
1623
1623
  });
1624
1624
  hr.displayName = "CommandsWrapper";
1625
1625
  var gr = {
1626
- sort: W("studio:sortDialog", () => import("./DuuyN4-7K6_io2Py.mjs")).load,
1627
- hyperlink: W("studio:hyperlinkDialog", () => import("./jFRFCWlkD7Dsrhkh.mjs")).load,
1628
- find: W("studio:findReplaceWindow", () => import("./0IBZhOJaVmzJxuTv.mjs")).load,
1629
- tableNew: W("studio:tableNewDialog", () => import("./oC0OwOddhOD0OoCJ.mjs")).load,
1630
- namedDetails: W("studio:namedReferenceDialog", () => import("./C8p2iMad_NNCwGI_.mjs")).load,
1631
- insertFunction: W("studio:insertFunctionDialog", () => import("./BKhcJI-G15D3kGap.mjs")).load,
1632
- resizeHeader: W("studio:resizeHeaderDialog", () => import("./D2jzliMwAo2ENpfi.mjs")).load,
1633
- outlineSettings: W("studio:outlineSettingsDialog", () => import("./NeGeLF3gbGMZyV6E.mjs")).load,
1634
- fillSeries: W("studio:fillSeriesDialog", () => import("./tIKqpsA0vNXH9EgU.mjs")).load,
1635
- workbookStatistics: W("studio:workbookStatisticsDialog", () => import("./Cq82lvdjyBvlJ8xJ.mjs")).load,
1636
- password: W("studio:passwordDialog", () => import("./DX2_vf7WX6uRLaOZ.mjs")).load
1626
+ sort: W("studio:sortDialog", () => import("./LF4eGB9EZ_W6kUXC.mjs")).load,
1627
+ hyperlink: W("studio:hyperlinkDialog", () => import("./UWvqHAyCVY3D-8Pk.mjs")).load,
1628
+ find: W("studio:findReplaceWindow", () => import("./C9HzAN75sBq35kZg.mjs")).load,
1629
+ tableNew: W("studio:tableNewDialog", () => import("./DAX7uqV05BahXHL1.mjs")).load,
1630
+ namedDetails: W("studio:namedReferenceDialog", () => import("./DSIQFoVhlKSPzucu.mjs")).load,
1631
+ insertFunction: W("studio:insertFunctionDialog", () => import("./CMbJhvtUGfi-wQ3o.mjs")).load,
1632
+ resizeHeader: W("studio:resizeHeaderDialog", () => import("./DyKgCJS1jQMxcPFF.mjs")).load,
1633
+ outlineSettings: W("studio:outlineSettingsDialog", () => import("./CyRZCFT_uVfmLkoB.mjs")).load,
1634
+ fillSeries: W("studio:fillSeriesDialog", () => import("./C3KoAU2WKPxC5-u7.mjs")).load,
1635
+ workbookStatistics: W("studio:workbookStatisticsDialog", () => import("./DkRUwiADZvoEL2xg.mjs")).load,
1636
+ password: W("studio:passwordDialog", () => import("./CtVEsNpA7LivARDl.mjs")).load
1637
1637
  }, _r = ["find"], vr = N((e) => {
1638
1638
  let { children: t } = e, n = ir(), r = n ? n.enqueueSnackbar : () => {}, i = n ? n.closeSnackbar : () => {}, a = L(/* @__PURE__ */ new Set()), o = L(null), s = L(null), [c, l] = R({
1639
1639
  label: null,
@@ -1655,16 +1655,16 @@ var gr = {
1655
1655
  e.add(t.onceKey), g.current = e;
1656
1656
  }
1657
1657
  let n = {
1658
- variant: t?.type ?? D.Info,
1658
+ variant: t?.type ?? E.Info,
1659
1659
  anchorOrigin: {
1660
1660
  vertical: "top",
1661
1661
  horizontal: "center"
1662
1662
  },
1663
1663
  preventDuplicate: t?.preventDuplicate,
1664
- persist: t?.persist ?? t?.type === D.Error,
1664
+ persist: t?.persist ?? t?.type === E.Error,
1665
1665
  action: (e) => B(mt, {
1666
1666
  onClick: () => i(e),
1667
- children: B(Se, { iconKey: "Cancel" })
1667
+ children: B(Ce, { iconKey: "Cancel" })
1668
1668
  })
1669
1669
  };
1670
1670
  t?.enqueueProps && Object.assign(n, t.enqueueProps), e || console.log("message is 'null'", t), r(e ?? "Alert", n);
@@ -1677,7 +1677,7 @@ var gr = {
1677
1677
  ...t,
1678
1678
  label: e
1679
1679
  });
1680
- let r = je(() => {
1680
+ let r = Me(() => {
1681
1681
  a.current.delete(n) && (a.current.size > 0 || (et(o.current), s.current = null, l((e) => e.label === null && e.progress === null ? e : {
1682
1682
  label: null,
1683
1683
  progress: null
@@ -1708,8 +1708,8 @@ var gr = {
1708
1708
  showOptions: p,
1709
1709
  showInput: m,
1710
1710
  showError: (t) => {
1711
- let n, r = D.Error, i = u("error.unknown");
1712
- typeof t == "string" ? i = t : t instanceof Error && (n = t, t.message && (i = u(t.message))), t instanceof Ot && (r = D.Info), e(i, {
1711
+ let n, r = E.Error, i = u("error.unknown");
1712
+ typeof t == "string" ? i = t : t instanceof Error && (n = t, t.message && (i = u(t.message))), t instanceof Ot && (r = E.Info), e(i, {
1713
1713
  type: r,
1714
1714
  enqueueProps: { error: n }
1715
1715
  });
@@ -1735,18 +1735,18 @@ var gr = {
1735
1735
  pointerEvents: "none"
1736
1736
  }
1737
1737
  }), [c.label, c.progress]);
1738
- return V(Te, {
1738
+ return V(Ee, {
1739
1739
  notifier: _,
1740
1740
  children: [v, t]
1741
1741
  });
1742
1742
  });
1743
1743
  vr.displayName = "StudioNotifierProvider";
1744
1744
  var yr = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255, 255, 255, 0.2)))", br = N(M((e, t) => {
1745
- let { children: n, title: r, taskPanes: i, onSelect: a, selected: o, registry: s = C, style: c, iconsOnly: l, side: u = "right", className: d, ...f } = e, p = u !== "right", m = k(), h = I(() => i.map((t) => {
1745
+ let { children: n, title: r, taskPanes: i, onSelect: a, selected: o, registry: s = C, style: c, iconsOnly: l, side: u = "right", className: d, ...f } = e, p = u !== "right", m = O(), h = I(() => i.map((t) => {
1746
1746
  let n = s.getRegisteredTaskPane(t);
1747
1747
  if (!n) return null;
1748
1748
  let r = n.getIcon?.();
1749
- typeof r == "string" && (r = B(Se, { iconKey: r }));
1749
+ typeof r == "string" && (r = B(Ce, { iconKey: r }));
1750
1750
  let i = t === o, a = r ? B(H, {
1751
1751
  sx: {
1752
1752
  display: "inline-block",
@@ -1818,7 +1818,7 @@ var yr = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255,
1818
1818
  p,
1819
1819
  l,
1820
1820
  m
1821
- ]), g = Ne(t, () => ({ isTaskPaneStrip: () => !0 }), []), _ = I(() => b("taskpane-strip", d), [d]);
1821
+ ]), g = Pe(t, () => ({ isTaskPaneStrip: () => !0 }), []), _ = I(() => b("taskpane-strip", d), [d]);
1822
1822
  return B(H, {
1823
1823
  ref: g,
1824
1824
  className: _,
@@ -1897,14 +1897,14 @@ var yr = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255,
1897
1897
  onPointerUp: () => {
1898
1898
  r();
1899
1899
  },
1900
- children: B(Se, { iconKey: "Close" })
1900
+ children: B(Ce, { iconKey: "Close" })
1901
1901
  })
1902
1902
  })]
1903
1903
  })
1904
1904
  });
1905
1905
  }, Sr = M((e, t) => {
1906
1906
  let { model: n, side: r, ...i } = e, a = St(), o = `solid ${yr} 1px`, s = `${a.shape.borderRadius ?? 4}px`, c = `${a.spacing?.(.5) ?? 4}px`;
1907
- return B(w, {
1907
+ return B(ie, {
1908
1908
  model: n,
1909
1909
  ref: t,
1910
1910
  propsFrame: { style: {
@@ -1930,30 +1930,30 @@ var yr = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255,
1930
1930
  display: "flex",
1931
1931
  boxSizing: "border-box"
1932
1932
  }, Er = N(M((e, t) => {
1933
- let { mainElement: n, sidebarElement: r, position: i, persistKey: a, onPositionChange: o, className: s, style: c, taskSide: l = "right", ...u } = e, [d, f] = Ie(a ?? null, wr), p = St(), [m, { width: h }] = Pe(), g = h > 530 || h === 0, _ = L(null), v, ee, y = null, S = 4, te = 13;
1933
+ let { mainElement: n, sidebarElement: r, position: i, persistKey: a, onPositionChange: o, className: s, style: c, taskSide: l = "right", ...u } = e, [d, f] = k(a ?? null, wr), p = St(), [m, { width: h }] = Fe(), g = h > 530 || h === 0, _ = L(null), v, ee, y = null, S = 4, te = 13;
1934
1934
  g ? y = "m 3.6261898,11.36243 c 0,0.88365 -0.71627,1.59991 -1.59991,1.59991 -0.8836498,0 -1.60004965,-0.71626 -1.60004965,-1.59991 0,-0.88365 0.71639985,-1.6000508 1.60004965,-1.6000508 0.88364,0 1.59991,0.7164008 1.59991,1.6000508 m 0,-4.881294 c 0,0.88364 -0.71627,1.60004 -1.59991,1.60004 -0.8836498,0 -1.60004965,-0.7164 -1.60004965,-1.60004 0,-0.88365 0.71639985,-1.60005 1.60004965,-1.60005 0.88364,0 1.59991,0.7164 1.59991,1.60005 m 0,-4.881226 c 0,0.88365 -0.71627,1.60005 -1.59991,1.60005 C 1.14263,3.19996 0.42623015,2.48356 0.42623015,1.59991 0.42623015,0.71626 1.14263,0 2.0262798,0 c 0.88364,0 1.59991,0.71626 1.59991,1.59991" : (y = "M 1.59991,3.62619 C 0.71626,3.62619 0,2.90992 0,2.02628 0,1.1426301 0.71626,0.42623015 1.59991,0.42623015 c 0.88365,0 1.6000508,0.71639995 1.6000508,1.60004985 0,0.88364 -0.7164008,1.59991 -1.6000508,1.59991 m 4.881294,0 c -0.88364,0 -1.60004,-0.71627 -1.60004,-1.59991 0,-0.8836499 0.7164,-1.60004985 1.60004,-1.60004985 0.88365,0 1.60005,0.71639995 1.60005,1.60004985 0,0.88364 -0.7164,1.59991 -1.60005,1.59991 m 4.881226,0 c -0.88365,0 -1.60005,-0.71627 -1.60005,-1.59991 0,-0.8836499 0.7164,-1.60004985 1.60005,-1.60004985 0.88365,0 1.59991,0.71639995 1.59991,1.60004985 0,0.88364 -0.71626,1.59991 -1.59991,1.59991", S = 13, te = 4);
1935
- let C, ne = n, re = r, w = l !== "right", ie = g ? "row" : "column", ae = w && re ? "before" : "after", T = `${ie}:${ae}`, E = a ? d[T] : void 0, oe = E == null ? ((e, t) => {
1935
+ let C, ne = n, re = r, ie = l !== "right", ae = g ? "row" : "column", oe = ie && re ? "before" : "after", w = `${ae}:${oe}`, T = a ? d[w] : void 0, se = T == null ? ((e, t) => {
1936
1936
  if (e == null) return "40%";
1937
1937
  if (typeof e == "number" || typeof e == "string") return e;
1938
1938
  let n = e[t];
1939
1939
  return n == null ? "40%" : `${n}%`;
1940
- })(i, T) : `${E}%`, se = a || o ? (e) => {
1940
+ })(i, w) : `${T}%`, ce = a || o ? (e) => {
1941
1941
  a && f((t) => ({
1942
1942
  ...t,
1943
- [T]: e.percent
1943
+ [w]: e.percent
1944
1944
  })), o?.(e, {
1945
- orientation: ie,
1946
- side: ae,
1947
- key: T
1945
+ orientation: ae,
1946
+ side: oe,
1947
+ key: w
1948
1948
  });
1949
1949
  } : void 0;
1950
- w && re ? (ne = r, re = n, ee = { style: {
1950
+ ie && re ? (ne = r, re = n, ee = { style: {
1951
1951
  flexDirection: "column",
1952
1952
  boxSizing: "border-box",
1953
1953
  paddingRight: "2px"
1954
1954
  } }, v = {}, C = {
1955
1955
  fixedPane: "before",
1956
- position: oe,
1956
+ position: se,
1957
1957
  minBefore: g ? "280px" : "120px",
1958
1958
  splitDirection: g ? "row" : "column"
1959
1959
  }) : (v = { style: {
@@ -1964,17 +1964,17 @@ var yr = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255,
1964
1964
  marginRight: g ? "8px" : "4px"
1965
1965
  } }, C = {
1966
1966
  fixedPane: "after",
1967
- position: oe,
1967
+ position: se,
1968
1968
  minAfter: g ? "280px" : "120px",
1969
1969
  splitDirection: g ? "row" : "column"
1970
1970
  });
1971
- let ce = x([
1971
+ let le = x([
1972
1972
  _,
1973
1973
  m,
1974
1974
  t
1975
1975
  ]);
1976
- return B(ke, {
1977
- ref: ce,
1976
+ return B(Ae, {
1977
+ ref: le,
1978
1978
  className: s,
1979
1979
  style: c ? {
1980
1980
  ...Tr,
@@ -1982,7 +1982,7 @@ var yr = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255,
1982
1982
  } : Tr,
1983
1983
  ...u,
1984
1984
  ...C,
1985
- onPositionChange: se,
1985
+ onPositionChange: ce,
1986
1986
  propsResizer: {
1987
1987
  className: b("styled-resizer", Cr),
1988
1988
  style: {
@@ -1990,7 +1990,7 @@ var yr = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255,
1990
1990
  minHeight: g ? void 0 : "6px",
1991
1991
  maskImage: `url("data:image/svg+xml,%3Csvg width='${S}' height='${te}' viewBox='0 0 ${S} ${te}' version='1.1' fill='${p.palette.text.icon ?? p.palette.action.active}' xmlns='http://www.w3.org/2000/svg' xmlns:svg='http://www.w3.org/2000/svg'%3E%3Cpath d='${y}' /%3E%3C/svg%3E%0A")`,
1992
1992
  maskRepeat: "no-repeat",
1993
- maskPosition: w ? g ? "center center" : "bottom center" : g ? "left center" : "top center"
1993
+ maskPosition: ie ? g ? "center center" : "bottom center" : g ? "left center" : "top center"
1994
1994
  }
1995
1995
  },
1996
1996
  elementBefore: ne,
@@ -2022,8 +2022,8 @@ var Dr = () => B("div", { style: {
2022
2022
  n("main"),
2023
2023
  n("statusBar")
2024
2024
  ];
2025
- }, kr = nt(W("studio:dataValidationDetailsTaskPane", () => import("./BAzhmMX4Fk_qnUTp.mjs"), { select: (e) => ({ default: e.DataValidationDetailsTaskPane }) }).load);
2026
- u(), de("shape", {
2025
+ }, kr = nt(W("studio:dataValidationDetailsTaskPane", () => import("./D2KYXweAKTJVnLbt.mjs"), { select: (e) => ({ default: e.DataValidationDetailsTaskPane }) }).load);
2026
+ u(), fe("shape", {
2027
2027
  key: "changeShapeGallery",
2028
2028
  render: (e) => B(g, {
2029
2029
  ...e,
@@ -2033,14 +2033,55 @@ u(), de("shape", {
2033
2033
  }, {
2034
2034
  order: -1,
2035
2035
  divider: "after"
2036
- }), ue("shape", () => import("./Yjq3p_7eVGFw2Jod.mjs").then((e) => e.ShapeFormatPanel)), ue("chart", () => import("./BHGr2gsFofTdAFxq.mjs").then((e) => e.ChartFormatPanel)), de("picture", {
2036
+ }), de("shape", () => import("./CcyyIgMejaWOK8qw.mjs").then((e) => e.ShapeFormatPanel)), de("chart", () => import("./BsxCXTfNJhFrldW9.mjs").then((e) => e.ChartFormatPanel)), fe("picture", {
2037
2037
  key: "changePictureOptions",
2038
2038
  defaultKey: "changePictureFromFile",
2039
2039
  members: ["changePictureFromFile", "changePictureFromURL"]
2040
+ }, { order: -3 }), fe("picture", {
2041
+ key: "pictureHyperlinkOptions",
2042
+ defaultKey: "updatePictureHyperlink",
2043
+ members: [
2044
+ "updatePictureHyperlink",
2045
+ "openPictureHyperlink",
2046
+ "deletePictureHyperlink"
2047
+ ]
2048
+ }, { order: -2 }), xe.DefaultCommandButtonRegistry.register({
2049
+ key: "cropAspectOptions",
2050
+ members: [
2051
+ "cropAspect1x1",
2052
+ "-",
2053
+ "cropAspect2x3",
2054
+ "cropAspect3x4",
2055
+ "cropAspect3x5",
2056
+ "cropAspect4x5",
2057
+ "-",
2058
+ "cropAspect3x2",
2059
+ "cropAspect4x3",
2060
+ "cropAspect5x3",
2061
+ "cropAspect5x4",
2062
+ "cropAspect16x9",
2063
+ "cropAspect16x10"
2064
+ ]
2065
+ }, !0), fe("picture", {
2066
+ key: "cropOptions",
2067
+ members: [
2068
+ {
2069
+ key: "cropToShapeGallery",
2070
+ render: (e) => B(g, {
2071
+ ...e,
2072
+ commandKey: "cropToShape",
2073
+ excludeCategories: At
2074
+ })
2075
+ },
2076
+ "cropAspectOptions",
2077
+ "-",
2078
+ "cropFill",
2079
+ "cropFit"
2080
+ ]
2040
2081
  }, {
2041
2082
  order: -1,
2042
2083
  divider: "after"
2043
- }), o(), xe.register("plugin-table", { icons: {} }), C.registerTaskPane({
2084
+ }), o(), Se.register("plugin-table", { icons: {} }), C.registerTaskPane({
2044
2085
  key: "dataValidationDetails",
2045
2086
  getTitle: () => "Data Validation",
2046
2087
  getIcon: () => "DataValidation",
@@ -2070,33 +2111,33 @@ var Ar = () => {
2070
2111
  let { colorSchemes: n, ...r } = e, i = n?.[t ? "dark" : "light"];
2071
2112
  return i && typeof i == "object" ? Ct.deepMerge(r, i) : r;
2072
2113
  }, Mr = "taskPanePosition", Nr = N(M((e, n) => {
2073
- let { host: r, scopeClass: i, square: a, elevation: o, variant: s, onWorkbookLoad: l, prefetch: u, onDocumentError: f, renderDocumentError: g = c, propsDocumentError: _, propsTaskPaneArea: v, renderTaskPaneArea: b = Pr, taskPaneSide: x = "right", onKeyDown: te, workbook: C, onWorkbookChange: ne, logo: w, topLeft: ue, topRight: de, muiTheme: ge, tokens: D, cssBaseline: Te, autoFocus: ke = !1, title: je, onDirtyChange: Me, propsDocumentTitle: k, renderDocumentLoading: Pe = t, propsDocumentLoading: Fe, propsWorkbook: A, showFormulaBar: j, propsFormulaBar: Be, renderFormulaBar: Ve, formulaBarPlacement: He, manageVisualViewport: M = !0, editable: Ue, showStatusBar: N, propsStatusBar: We, renderStatusBar: Ge, propsToolbar: Ke, renderToolbar: qe } = e, z = L(null), Ze = L(null), Qe = L(null), et = O(() => {
2114
+ let { host: r, scopeClass: i, square: a, elevation: o, variant: s, onWorkbookLoad: l, prefetch: u, onDocumentError: f, renderDocumentError: g = c, propsDocumentError: _, propsTaskPaneArea: v, renderTaskPaneArea: b = Pr, taskPaneSide: x = "right", onKeyDown: te, workbook: C, onWorkbookChange: ne, logo: ie, topLeft: de, topRight: fe, muiTheme: _e, tokens: E, cssBaseline: Ee, autoFocus: Ae = !1, title: Me, onDirtyChange: Ne, propsDocumentTitle: O, renderDocumentLoading: Fe = t, propsDocumentLoading: Ie, propsWorkbook: A, showFormulaBar: j, propsFormulaBar: Be, renderFormulaBar: Ve, formulaBarPlacement: He, manageVisualViewport: M = !0, editable: Ue, showStatusBar: N, propsStatusBar: We, renderStatusBar: Ge, propsToolbar: Ke, renderToolbar: qe } = e, z = L(null), Ze = L(null), Qe = L(null), et = D(() => {
2074
2115
  Qe.current?.getNamedCollectionEditorElement?.()?.focus?.();
2075
- }, []), tt = ((e, t = typeof window > "u" ? "mouse" : Ee.detectIt().primaryInput) => e === "top" || e === "bottom" ? e : t === "touch" ? "bottom" : "top")(He), nt = tt === "bottom" && M, rt = ze(nt), it = rt ? Math.max(0, Math.round(window.innerHeight - rt.height)) : 0, at = rt ? Math.round(rt.offsetTop) : 0, ot = rt?.height;
2116
+ }, []), tt = ((e, t = typeof window > "u" ? "mouse" : De.detectIt().primaryInput) => e === "top" || e === "bottom" ? e : t === "touch" ? "bottom" : "top")(He), nt = tt === "bottom" && M, rt = ze(nt), it = rt ? Math.max(0, Math.round(window.innerHeight - rt.height)) : 0, at = rt ? Math.round(rt.offsetTop) : 0, ot = rt?.height;
2076
2117
  F(() => {
2077
2118
  nt && ot !== void 0 && (window.scrollX === 0 && window.scrollY === 0 || window.scrollTo(0, 0));
2078
2119
  }, [nt, ot]);
2079
- let st = O(f ?? (() => {}), [f]), ct = O(Me ?? (() => {}), [Me]), lt = k?.placeHolder, [ut] = Ie(T.Mode, ae[T.Mode]), { themeMode: dt } = Le({ mode: ut ?? void 0 }), [pt] = Ie(Ce.Active, null), mt = L(pt);
2120
+ let st = D(f ?? (() => {}), [f]), ct = D(Ne ?? (() => {}), [Ne]), lt = O?.placeHolder, [ut] = k(w.Mode, oe[w.Mode]), { themeMode: dt } = Le({ mode: ut ?? void 0 }), [pt] = k(we.Active, null), mt = L(pt);
2080
2121
  mt.current = pt;
2081
2122
  let _t = Re(), U = I(() => ({
2082
- light: $e(!1, Ct.deepMerge(jr(ge, !1), m(_t?.light))),
2083
- dark: $e(!0, Ct.deepMerge(jr(ge, !0), m(_t?.dark)))
2123
+ light: $e(!1, Ct.deepMerge(jr(_e, !1), m(_t?.light))),
2124
+ dark: $e(!0, Ct.deepMerge(jr(_e, !0), m(_t?.dark)))
2084
2125
  }), [
2085
- ge,
2126
+ _e,
2086
2127
  _t?.light,
2087
2128
  _t?.dark
2088
- ]), yt = dt === "dark", bt = I(() => d(U.light, U.dark, `.${i}`, D), [
2129
+ ]), yt = dt === "dark", bt = I(() => d(U.light, U.dark, `.${i}`, E), [
2089
2130
  U,
2090
2131
  i,
2091
- D
2092
- ]), xt = I(() => se("sxl-defaults", `.${i}`), [i]), St = fe(), [wt, Et] = R(() => C ?? null);
2132
+ E
2133
+ ]), xt = I(() => ce("sxl-defaults", `.${i}`), [i]), St = pe(), [wt, Et] = R(() => C ?? null);
2093
2134
  F(() => {
2094
2135
  Et(C ?? null);
2095
2136
  }, [C]);
2096
2137
  let [Dt, Ot] = R(0), W = L(null);
2097
2138
  W.current ||= Ar();
2098
- let G = he(wt, {
2099
- io: E,
2139
+ let G = ge(wt, {
2140
+ io: T,
2100
2141
  defaultTheme: St.getDefaultTheme(),
2101
2142
  reloadKey: Dt
2102
2143
  }), K = G.status === "loaded" ? G.workbook : null, q = I(() => G.status === "error" ? {
@@ -2138,9 +2179,9 @@ var Ar = () => {
2138
2179
  }
2139
2180
  }
2140
2181
  }, [J]);
2141
- let Pt = Ue ? null : J, Ft = me(), It = I(() => {
2182
+ let Pt = Ue ? null : J, Ft = he(), It = I(() => {
2142
2183
  let e = Pt?.getSelectedWorksheet() ?? Pt?.getWorksheets().getItems({ visibility: "veryHidden" })[0];
2143
- return e ? ce(e, { referenceMode: Ft }) : null;
2184
+ return e ? le(e, { referenceMode: Ft }) : null;
2144
2185
  }, [Pt, Ft]), X = Ue ?? It, Z = L(X);
2145
2186
  Z.current = X, F(() => {
2146
2187
  if (!X) return;
@@ -2150,11 +2191,11 @@ var Ar = () => {
2150
2191
  e = X.getSession(), t && !e && t.getActiveEditorId() === "formula-bar" && Qe.current?.contains?.(document.activeElement) && z.current?.focus();
2151
2192
  });
2152
2193
  }, [X]);
2153
- let Lt = ve(J), { isDirty: Rt, saveState: zt } = ye(J, E), Bt = _e(J), Vt = L(zt), Q = L(null);
2194
+ let Lt = ye(J), { isDirty: Rt, saveState: zt } = be(J, T), Bt = ve(J), Vt = L(zt), Q = L(null);
2154
2195
  Vt.current = zt;
2155
2196
  let Ht = P(() => Vt.current?.isDirty() ?? !1, []), Ut = L(q);
2156
2197
  Ut.current = q;
2157
- let [Wt, Gt] = R(null), Kt = je ?? k?.title, [qt, Jt] = R(null);
2198
+ let [Wt, Gt] = R(null), Kt = Me ?? O?.title, [qt, Jt] = R(null);
2158
2199
  F(() => {
2159
2200
  Jt(null);
2160
2201
  }, [J]);
@@ -2162,12 +2203,12 @@ var Ar = () => {
2162
2203
  F(() => {
2163
2204
  ct?.(Rt);
2164
2205
  }, [Rt]);
2165
- let Xt = O(ne ?? (() => {}), [ne]);
2206
+ let Xt = D(ne ?? (() => {}), [ne]);
2166
2207
  F(() => {
2167
2208
  Xt?.(K);
2168
2209
  }, [K]);
2169
2210
  let Zt = L(K);
2170
- Zt.current = K, pe(J, "onViewChange");
2211
+ Zt.current = K, me(J, "onViewChange");
2171
2212
  let Qt = I(() => B(Je, {
2172
2213
  groupKey: "helpOptions",
2173
2214
  disableHover: !0,
@@ -2177,25 +2218,25 @@ var Ar = () => {
2177
2218
  en(e);
2178
2219
  }, []);
2179
2220
  F(() => {
2180
- xe.prefetch([xe.getActive(), re]).catch((e) => {
2221
+ Se.prefetch([Se.getActive(), re]).catch((e) => {
2181
2222
  console.warn("Icons could not be loaded:", e);
2182
2223
  });
2183
2224
  }, []);
2184
2225
  let nn = L(null);
2185
2226
  nn.current ||= Ar();
2186
- let rn = L(null), an = P(() => rn.current?.getSheetElement()?.getGridSurface()?.getPane()?.getElement() ?? nn.current.promise, []), on = O(async (e) => {
2227
+ let rn = L(null), an = P(() => rn.current?.getSheetElement()?.getGridSurface()?.getPane()?.getElement() ?? nn.current.promise, []), on = D(async (e) => {
2187
2228
  let t = mt.current;
2188
- t && t !== Tt.getActive() && await Tt.setActive(t), await be.DefaultCommandCatalogService.prefetch(t ?? void 0), Gt(e), rn.current = e.source, nn.current.settled || nn.current.resolve(e.source.getSheetElement()?.getGridSurface()?.getPane()?.getElement() ?? null), l?.(e);
2229
+ t && t !== Tt.getActive() && await Tt.setActive(t), await xe.DefaultCommandCatalogService.prefetch(t ?? void 0), Gt(e), rn.current = e.source, nn.current.settled || nn.current.resolve(e.source.getSheetElement()?.getGridSurface()?.getPane()?.getElement() ?? null), l?.(e);
2189
2230
  }, []), sn = L(null), cn = P((e) => {
2190
2231
  let t = null, n = {
2191
2232
  readOnly: !0,
2192
- ...k
2233
+ ...O
2193
2234
  };
2194
- return k?.hidden || (t = B(h, {
2235
+ return O?.hidden || (t = B(h, {
2195
2236
  ...n,
2196
2237
  style: {
2197
2238
  maxWidth: "100%",
2198
- ...k?.style
2239
+ ...O?.style
2199
2240
  },
2200
2241
  workbook: e.workbook ?? z.current,
2201
2242
  ref: sn,
@@ -2204,29 +2245,29 @@ var Ar = () => {
2204
2245
  encrypted: Bt,
2205
2246
  placeHolder: lt,
2206
2247
  onTitleChange: (e) => {
2207
- Jt(e), k?.onTitleChange?.(e);
2248
+ Jt(e), O?.onTitleChange?.(e);
2208
2249
  }
2209
2250
  })), B(sr, {
2210
2251
  ...e,
2211
- logo: w,
2252
+ logo: ie,
2212
2253
  mainElement: t,
2213
- startElement: ue,
2214
- endElement: de
2254
+ startElement: de,
2255
+ endElement: fe
2215
2256
  });
2216
2257
  }, [
2217
- w,
2258
+ ie,
2218
2259
  Yt,
2219
2260
  Rt,
2220
2261
  Bt,
2221
- k,
2222
- ue,
2223
- de
2262
+ O,
2263
+ de,
2264
+ fe
2224
2265
  ]);
2225
2266
  F(() => {
2226
2267
  let e = z.current;
2227
2268
  if (!e) return;
2228
2269
  let t = (t) => {
2229
- (t.ctrlKey || t.metaKey || Oe.getWheelOwner(t, e) !== "native") && t.preventDefault();
2270
+ (t.ctrlKey || t.metaKey || ke.getWheelOwner(t, e) !== "native") && t.preventDefault();
2230
2271
  };
2231
2272
  return e.addEventListener("wheel", t, { passive: !1 }), () => {
2232
2273
  e.removeEventListener("wheel", t);
@@ -2249,7 +2290,7 @@ var Ar = () => {
2249
2290
  whiteSpace: "pre-wrap"
2250
2291
  },
2251
2292
  "*": { userSelect: "none" }
2252
- }), []), [fn, pn] = R(null), [, mn] = Ie(null, !1);
2293
+ }), []), [fn, pn] = R(null), [, mn] = k(null, !1);
2253
2294
  F(() => {
2254
2295
  mn(fn != null);
2255
2296
  }, [fn, mn]);
@@ -2263,7 +2304,7 @@ var Ar = () => {
2263
2304
  x,
2264
2305
  v
2265
2306
  ]), gn = L(r);
2266
- gn.current = r, Ne(n, () => ({
2307
+ gn.current = r, Pe(n, () => ({
2267
2308
  isStudioElement: () => !0,
2268
2309
  save: (e) => {
2269
2310
  let t = Q.current;
@@ -2279,7 +2320,7 @@ var Ar = () => {
2279
2320
  getWorkbookState: () => Ut.current,
2280
2321
  retry: () => Ot((e) => e + 1)
2281
2322
  }), [], r);
2282
- let _n = L(!1), vn = O((e, t) => {
2323
+ let _n = L(!1), vn = D((e, t) => {
2283
2324
  t === jt.current && requestAnimationFrame(() => requestAnimationFrame(() => {
2284
2325
  t === jt.current && (_n.current = gn.current?.contains(document.activeElement) ?? !0, kt(t), on(e));
2285
2326
  }));
@@ -2288,7 +2329,7 @@ var Ar = () => {
2288
2329
  _n.current && (_n.current = !1, z.current?.focus());
2289
2330
  }, [J]);
2290
2331
  let yn = P((e) => {
2291
- let { ref: t, ...n } = e, r = yt ? U.dark : U.light, i = q.status === "error" && g ? B(De, {
2332
+ let { ref: t, ...n } = e, r = yt ? U.dark : U.light, i = q.status === "error" && g ? B(Oe, {
2292
2333
  render: g,
2293
2334
  props: {
2294
2335
  ..._,
@@ -2313,13 +2354,13 @@ var Ar = () => {
2313
2354
  });
2314
2355
  let c = null;
2315
2356
  if (J) {
2316
- let e = J, i = e.getView(), a = j ?? i?.isShowFormulaBar(), o = N ?? i?.isShowStatusBar(), s = Wt?.source ?? z.current, l = B(De, {
2357
+ let e = J, i = e.getView(), a = j ?? i?.isShowFormulaBar(), o = N ?? i?.isShowStatusBar(), s = Wt?.source ?? z.current, l = B(Oe, {
2317
2358
  render: qe === void 0 ? cn : qe,
2318
2359
  props: {
2319
2360
  workbook: s,
2320
2361
  ...Ke
2321
2362
  }
2322
- }), d = tt === "bottom", f = a ? B(De, {
2363
+ }), d = tt === "bottom", f = a ? B(Oe, {
2323
2364
  render: Ve === void 0 ? ee : Ve,
2324
2365
  props: {
2325
2366
  ref: Qe,
@@ -2338,7 +2379,7 @@ var Ar = () => {
2338
2379
  ...Be?.propsNamedCollectionEditor
2339
2380
  }
2340
2381
  }
2341
- }) : null, m = o ? B(De, {
2382
+ }) : null, m = o ? B(Oe, {
2342
2383
  render: Ge === void 0 ? y : Ge,
2343
2384
  props: {
2344
2385
  childrenEnd: Qt,
@@ -2347,7 +2388,7 @@ var Ar = () => {
2347
2388
  }) : null, h = (e, r) => B(p, {
2348
2389
  ...A,
2349
2390
  tabIndex: 0,
2350
- autoFocus: !r && ke,
2391
+ autoFocus: !r && Ae,
2351
2392
  workbook: e,
2352
2393
  editable: r ? void 0 : X ?? void 0,
2353
2394
  focusNameBox: r ? void 0 : et,
@@ -2357,7 +2398,7 @@ var Ar = () => {
2357
2398
  onKeyDown: (e) => {
2358
2399
  te?.(e);
2359
2400
  },
2360
- propsWorkbookLoading: Fe,
2401
+ propsWorkbookLoading: Ie,
2361
2402
  renderWorkbookLoading: null,
2362
2403
  style: r ? {
2363
2404
  ...A?.style,
@@ -2379,7 +2420,7 @@ var Ar = () => {
2379
2420
  flex: "1 1 100%",
2380
2421
  minWidth: 0,
2381
2422
  minHeight: 0,
2382
- ...le({
2423
+ ...ue({
2383
2424
  window: r.palette.background.default,
2384
2425
  windowText: r.palette.text.primary
2385
2426
  })
@@ -2391,7 +2432,7 @@ var Ar = () => {
2391
2432
  main: B(Er, {
2392
2433
  taskSide: x,
2393
2434
  persistKey: Mr,
2394
- sidebarElement: fn ? B(be.CommandScopeProvider, {
2435
+ sidebarElement: fn ? B(xe.CommandScopeProvider, {
2395
2436
  scope: ln,
2396
2437
  children: fn
2397
2438
  }) : void 0,
@@ -2421,9 +2462,9 @@ var Ar = () => {
2421
2462
  })
2422
2463
  });
2423
2464
  }
2424
- let l = !Wt && Pe ? B(De, {
2425
- render: Pe,
2426
- props: { ...Fe }
2465
+ let l = !Wt && Fe ? B(Oe, {
2466
+ render: Fe,
2467
+ props: { ...Ie }
2427
2468
  }) : null;
2428
2469
  return V(ht, {
2429
2470
  sx: dn,
@@ -2473,8 +2514,8 @@ var Ar = () => {
2473
2514
  At,
2474
2515
  Wt,
2475
2516
  Yt,
2476
- Pe,
2477
2517
  Fe,
2518
+ Ie,
2478
2519
  A,
2479
2520
  a,
2480
2521
  o,
@@ -2519,19 +2560,19 @@ var Ar = () => {
2519
2560
  style: { marginRight: "8px" },
2520
2561
  children: B("path", { d: "M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z" })
2521
2562
  }),
2522
- error: B(Se, {
2563
+ error: B(Ce, {
2523
2564
  iconKey: "ErrorAlert",
2524
2565
  style: { marginRight: "8px" }
2525
2566
  })
2526
2567
  },
2527
- children: B(oe, {
2568
+ children: B(se, {
2528
2569
  workbook: J,
2529
- children: B(ie, {
2570
+ children: B(ae, {
2530
2571
  renderArea: hn,
2531
2572
  onUpdateArea: (e) => {
2532
2573
  pn(e);
2533
2574
  },
2534
- children: B(Xe, { children: B(vr, { children: B(Ae, { children: B(we, { children: B(hr, {
2575
+ children: B(Xe, { children: B(vr, { children: B(je, { children: B(Te, { children: B(hr, {
2535
2576
  workbook: J,
2536
2577
  initialCommandAnchor: an,
2537
2578
  renderWorkbook: yn,
@@ -2549,7 +2590,7 @@ var Ar = () => {
2549
2590
  return bn = V(vt, {
2550
2591
  theme: yt ? U.dark : U.light,
2551
2592
  children: [
2552
- Te ? B(ft, {}) : null,
2593
+ Ee ? B(ft, {}) : null,
2553
2594
  B("style", { children: bt }),
2554
2595
  B("style", { children: xt }),
2555
2596
  B(Ye, {