@sheetxl/react 1.0.5 → 1.0.6

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 (149) hide show
  1. package/browser/esm/{CdLMc8_FiTxEsxwZ.mjs → 4M1ime0lSMPwFdwq.mjs} +1 -1
  2. package/browser/esm/{DwNflr1J0woLdEr3.mjs → 56NlLn16iTCMXWTn.mjs} +6 -6
  3. package/browser/esm/BBpLlCS6trF9IqY7.mjs +325 -0
  4. package/browser/esm/{DGAS1Bt4tv72VwsG.mjs → BCGOU0KEA92-tHXw.mjs} +5 -5
  5. package/browser/esm/{Bpm5mA-WhhskQ7O_.mjs → BPyvBK7c6TKRxVZb.mjs} +1 -1
  6. package/browser/esm/{CLpO-44ZQYtUuHJ_.mjs → BkkfkHsyalXv3k4Q.mjs} +1 -1
  7. package/browser/esm/{DFZDRvUoKsQrTNFt.mjs → Bks84B7NgyzaBVv0.mjs} +1 -1
  8. package/browser/esm/{CyE8HNEdNOeXsRj7.mjs → Bl0-xYLr5UA_pMTT.mjs} +6 -6
  9. package/browser/esm/{BSszu1CZPC63X-0W.mjs → Bp-3XmIZb2fkqunF.mjs} +2 -2
  10. package/browser/esm/{Dbyt1u9b-bkpxFZg.mjs → C1luDkna9W7PNKrz.mjs} +1 -1
  11. package/browser/esm/{DaYS3AaeatKiMKI0.mjs → CKYZvqAf2y2oAkB7.mjs} +1 -1
  12. package/browser/esm/{Bgi1ceZnvTvhowQZ.mjs → CsGmLR7d80u8xidY.mjs} +1 -1
  13. package/browser/esm/D20ReZZxs2JHIqXW.mjs +1681 -0
  14. package/browser/esm/{cMzhFYhRaujQDn1e.mjs → D4OKTHNu7UroAOVB.mjs} +1 -1
  15. package/browser/esm/{CdURrZNtQtHiyEq0.mjs → D9kzGjqEClI2OQO8.mjs} +1 -1
  16. package/browser/esm/{CcJ2ckwm0AJLIkJ7.mjs → DAGQOiFH2fGWDOqj.mjs} +2 -2
  17. package/browser/esm/{HVbo12BbnUEOXJxl.mjs → DBCT8TZn5tx3RRgu.mjs} +1 -1
  18. package/browser/esm/{DRCPWIFyD3G_s4iR.mjs → DIXBmbnM-qkL9ot2.mjs} +8 -6
  19. package/browser/esm/{D3zD1F3zK9CjIbaI.mjs → DpQkiVYU6nJmsEXE.mjs} +3 -3
  20. package/browser/esm/{DzHsdPz_a3UaTaW0.mjs → Dq9OEmhDbQi90JyF.mjs} +3 -3
  21. package/browser/esm/{CSXyl6ZhfB9ZcjfG.mjs → Du_yTZVTH9ZhIwVz.mjs} +1 -1
  22. package/browser/esm/DzcsaJD62P_RrIgp.mjs +127 -0
  23. package/browser/esm/{BUAQF-RIane5evWy.mjs → OYfZSA6eTFsqp5MC.mjs} +1308 -1281
  24. package/browser/esm/{D9nqzJMnC7S3IWTw.mjs → X9EpvcUhpbtf95sq.mjs} +1 -1
  25. package/browser/esm/{DPYZc-PX9UPpwgYO.mjs → XkePaxnbmJijuUST.mjs} +1 -1
  26. package/browser/esm/chart.mjs +3 -3
  27. package/browser/esm/control.mjs +2 -2
  28. package/browser/esm/{CAYrch6ikCVjpWpz.mjs → dE1dGLDL9PIqTCiM.mjs} +73 -35
  29. package/browser/esm/group.mjs +3 -3
  30. package/browser/esm/index.mjs +8930 -9026
  31. package/browser/esm/note.mjs +4 -4
  32. package/browser/esm/{D1KeJvm_q_Zi-53a.mjs → pAnBA5Hy2mjpkAWB.mjs} +2 -2
  33. package/browser/esm/picture.mjs +2 -2
  34. package/browser/esm/shape.mjs +2 -2
  35. package/browser/esm/slicer.mjs +4 -4
  36. package/node/esm/{Ch9ynF_jZSrlpZDS.mjs → BCTgV60zEAPoPG-u.mjs} +1 -1
  37. package/node/esm/{NeaxzrPfaXj62lfB.mjs → BRsrSOeAgAbh8LCL.mjs} +30 -28
  38. package/node/esm/BSYkbwvzEjg5tnyi.mjs +327 -0
  39. package/node/esm/BXCAuiepvo2pCMA6.mjs +177 -0
  40. package/node/esm/{H0KeMIq51yNI7XAn.mjs → Bf1ybiY9HNcds5_H.mjs} +1 -1
  41. package/node/esm/{BzT_rMN7K8KBVLqx.mjs → BkT-mLvzP5h10mLU.mjs} +1 -1
  42. package/node/esm/{9AXvpka4egnBDM3A.mjs → C-l3nPRIH0q_ucYX.mjs} +1 -1
  43. package/node/esm/{-mV1DEJz3g_r9ZVt.mjs → C0syazJAmS6_LFTY.mjs} +5 -5
  44. package/node/esm/{Dd56hZZkvQyCC3Pa.mjs → C3frF4D3I2rcLHK1.mjs} +1 -1
  45. package/node/esm/{KeTXNAWP4ZhLJ0zG.mjs → CIPjf-XhEAQufN0V.mjs} +1 -1
  46. package/node/esm/{CTwwxwXFVbjbYYV_.mjs → CJKhZu3BbJY3VsWH.mjs} +1 -1
  47. package/node/esm/CWoaMwpLSM7gBaVh.mjs +1681 -0
  48. package/node/esm/{Dbj9JZP9wWrDb6Q-.mjs → CcblOBJaE8U6tCWg.mjs} +1 -1
  49. package/node/esm/{BvJUJ2iYjuNxDnjg.mjs → D5UV0AjhZIYGotrV.mjs} +1 -1
  50. package/node/esm/{DmVgKO2JYltH2hmt.mjs → D5rzzywf1R4MvJU0.mjs} +1 -1
  51. package/node/esm/{BgXCGRb7kgCTG-YG.mjs → DEH7X3vDYP518pp4.mjs} +1 -1
  52. package/node/esm/{DvysKgejoU1ToqEJ.mjs → DO7K3oDOoCZ4fpv-.mjs} +2 -2
  53. package/node/esm/{DKz-pmZGTrJglwuX.mjs → DnZ2zYP0QCJWioMW.mjs} +1 -1
  54. package/node/esm/{Dn4jtkqnECzc_xp2.mjs → DrQEt2TfEEgKvYKL.mjs} +1 -1
  55. package/node/esm/{CYJHipsfG6d4VZaU.mjs → Dxv-9TQ2qdooz9VX.mjs} +347 -320
  56. package/node/esm/EvhDIPxbJ1B3lfrj.mjs +166 -0
  57. package/node/esm/{Dd5QCp7bMWDf3GlP.mjs → KC9JU5CVeDBJ2aHR.mjs} +1 -1
  58. package/node/esm/{Bi20m4omZHHDwJ3B.mjs → WFBPS4qHr0sTxFmI.mjs} +1 -1
  59. package/node/esm/chart.mjs +2 -2
  60. package/node/esm/control.mjs +2 -2
  61. package/node/esm/group.mjs +3 -3
  62. package/node/esm/index.mjs +11035 -11128
  63. package/node/esm/note.mjs +4 -4
  64. package/node/esm/picture.mjs +5 -5
  65. package/node/esm/shape.mjs +6 -6
  66. package/node/esm/slicer.mjs +4 -4
  67. package/package.json +7 -7
  68. package/resources/contents.json +6 -0
  69. package/resources/locales/contents.json +14 -0
  70. package/resources/locales/de/cells.cmd.json +1589 -0
  71. package/resources/locales/de/chart.cmd.json +15 -0
  72. package/resources/locales/de/editor.cmd.json +8 -8
  73. package/resources/locales/de/movable.cmd.json +0 -8
  74. package/resources/locales/de/sheet.cmd.json +190 -1713
  75. package/resources/locales/de/ui.msg.json +67 -0
  76. package/resources/locales/en/cells.cmd.json +1602 -0
  77. package/resources/locales/en/chart.cmd.json +15 -0
  78. package/resources/locales/en/editor.cmd.json +8 -8
  79. package/resources/locales/en/movable.cmd.json +0 -8
  80. package/resources/locales/en/sheet.cmd.json +193 -1729
  81. package/resources/locales/en/ui.msg.json +67 -0
  82. package/types/src/chart/ChartCommands.d.ts +5 -3
  83. package/types/src/chart/ChartElement.d.ts +1 -1
  84. package/types/src/chart/PresetChartTypeDescriptors.d.ts +23 -2
  85. package/types/src/chart/_outlinePath.d.ts +17 -0
  86. package/types/src/chart/paint/_fills.d.ts +4 -1
  87. package/types/src/chart/paint/_graphics.d.ts +5 -2
  88. package/types/src/chart/paint/kinds/ChartPaintKind.d.ts +19 -5
  89. package/types/src/clipboard/ClipboardCommands.d.ts +16 -4
  90. package/types/src/commands/PaneScopeProvider.d.ts +2 -2
  91. package/types/src/editor/EditorCommands.d.ts +3 -3
  92. package/types/src/icons/chart/ChartIcons.d.ts +20 -0
  93. package/types/src/icons/chart/_ChartIconPack.d.ts +4 -0
  94. package/types/src/icons/chart/_chartIconKeys.d.ts +4 -0
  95. package/types/src/icons/chart/index.d.ts +1 -49
  96. package/types/src/index.d.ts +1 -0
  97. package/types/src/layer/MovableKindScope.d.ts +3 -2
  98. package/types/src/layer/MovableToolbar.d.ts +27 -0
  99. package/types/src/layer/RangeToolbar.d.ts +17 -4
  100. package/types/src/layer/SheetMovableLayer.d.ts +6 -0
  101. package/types/src/layer/ValidationDropdownLayer.d.ts +1 -1
  102. package/types/src/layer/index.d.ts +1 -0
  103. package/types/src/movable/MovableCommands.d.ts +8 -2
  104. package/types/src/movable/MovableLayer.d.ts +2 -0
  105. package/types/src/movable/MovableRenderers.d.ts +43 -1
  106. package/types/src/movable/_drawingFormat.d.ts +15 -0
  107. package/types/src/presence/PresenceCommands.d.ts +1 -1
  108. package/types/src/sheet/IWorksheetElement.d.ts +9 -0
  109. package/types/src/sheet/SheetCommandProvider.d.ts +17 -10
  110. package/types/src/sheet/SheetCommands.d.ts +17 -4
  111. package/types/src/taskPane/FormatPane.d.ts +46 -0
  112. package/types/src/taskPane/MovablePane.d.ts +8 -10
  113. package/types/src/taskPane/TaskPaneArea.d.ts +57 -2
  114. package/types/src/taskPane/TaskPaneEmpty.d.ts +14 -0
  115. package/types/src/taskPane/TaskPaneKeys.d.ts +8 -4
  116. package/types/src/taskPane/TaskPaneRegistry.d.ts +2 -1
  117. package/types/src/taskPane/TaskPaneStrip.d.ts +13 -2
  118. package/types/src/taskPane/_taskPaneHost.d.ts +9 -0
  119. package/types/src/taskPane/index.d.ts +2 -0
  120. package/types/src/taskPane/useTaskPane.d.ts +14 -18
  121. package/browser/esm/ZPOCHFycZqmFav3f.mjs +0 -264
  122. package/node/esm/BuQt6aujDbFNe4im.mjs +0 -128
  123. package/node/esm/CjUIWph6hGIsBoRP.mjs +0 -265
  124. package/types/src/icons/chart/ChartAreaIcon.d.ts +0 -5
  125. package/types/src/icons/chart/ChartAreaStackedIcon.d.ts +0 -5
  126. package/types/src/icons/chart/ChartAreaStackedPercentIcon.d.ts +0 -5
  127. package/types/src/icons/chart/ChartBarIcon.d.ts +0 -5
  128. package/types/src/icons/chart/ChartBarStackedIcon.d.ts +0 -5
  129. package/types/src/icons/chart/ChartBarStackedPercentIcon.d.ts +0 -5
  130. package/types/src/icons/chart/ChartBubble3DIcon.d.ts +0 -5
  131. package/types/src/icons/chart/ChartBubbleIcon.d.ts +0 -5
  132. package/types/src/icons/chart/ChartColumnIcon.d.ts +0 -5
  133. package/types/src/icons/chart/ChartColumnStackedIcon.d.ts +0 -5
  134. package/types/src/icons/chart/ChartColumnStackedPercentIcon.d.ts +0 -5
  135. package/types/src/icons/chart/ChartLineIcon.d.ts +0 -5
  136. package/types/src/icons/chart/ChartLineMarkersIcon.d.ts +0 -5
  137. package/types/src/icons/chart/ChartLineStackedIcon.d.ts +0 -5
  138. package/types/src/icons/chart/ChartLineStackedMarkersIcon.d.ts +0 -5
  139. package/types/src/icons/chart/ChartLineStackedPercentIcon.d.ts +0 -5
  140. package/types/src/icons/chart/ChartLineStackedPercentMarkersIcon.d.ts +0 -5
  141. package/types/src/icons/chart/ChartPieDoughnutIcon.d.ts +0 -5
  142. package/types/src/icons/chart/ChartPieIcon.d.ts +0 -5
  143. package/types/src/icons/chart/ChartScatterLinesIcon.d.ts +0 -5
  144. package/types/src/icons/chart/ChartScatterLinesMarkersIcon.d.ts +0 -5
  145. package/types/src/icons/chart/ChartScatterLinesMarkersSmoothIcon.d.ts +0 -5
  146. package/types/src/icons/chart/ChartScatterLinesSmoothIcon.d.ts +0 -5
  147. package/types/src/icons/chart/ChartScatterMarkersIcon.d.ts +0 -5
  148. package/types/src/icons/chart/ChartWaterfallIcon.d.ts +0 -5
  149. package/types/src/icons/chart/ThemedChartIcon.d.ts +0 -20
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v1.0.5
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v1.0.6
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v1.0.5
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v1.0.6
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
@@ -1,10 +1,10 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v1.0.5
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v1.0.6
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
6
6
  */
7
- import { n as e } from "./CLpO-44ZQYtUuHJ_.mjs";
7
+ import { n as e } from "./BkkfkHsyalXv3k4Q.mjs";
8
8
  var t = function(e, n) {
9
9
  return t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) {
10
10
  e.__proto__ = t;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v1.0.5
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v1.0.6
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
@@ -1,10 +1,10 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v1.0.5
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v1.0.6
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
6
6
  */
7
- import { t as e } from "./CdLMc8_FiTxEsxwZ.mjs";
7
+ import { t as e } from "./4M1ime0lSMPwFdwq.mjs";
8
8
  import { createContext as t, memo as n, useCallback as r, useEffect as i, useReducer as a, useRef as o, useState as s } from "react";
9
9
  import { Fragment as c, jsx as l, jsxs as u } from "react/jsx-runtime";
10
10
  import { LazyModules as d, defineLazyModule as f } from "@sheetxl/utils";
@@ -161,7 +161,7 @@ var O = /* @__PURE__ */ new Map(), k = /* @__PURE__ */ new Map(), A = /* @__PURE
161
161
  for (let e of [...j]) e();
162
162
  }, N = !1, P = () => {
163
163
  N || (N = !0, function(e) {
164
- e("picture", () => import("./D3zD1F3zK9CjIbaI.mjs"), { select: (e) => e.PictureKind }), e("chart", () => import("./CAYrch6ikCVjpWpz.mjs"), { select: (e) => e.ChartKind }), e("slicer", () => import("./Bpm5mA-WhhskQ7O_.mjs"), { select: (e) => e.SlicerKind }), e("shape", () => import("./CyE8HNEdNOeXsRj7.mjs"), {
164
+ e("picture", () => import("./DpQkiVYU6nJmsEXE.mjs"), { select: (e) => e.PictureKind }), e("chart", () => import("./dE1dGLDL9PIqTCiM.mjs"), { select: (e) => e.ChartKind }), e("slicer", () => import("./BPyvBK7c6TKRxVZb.mjs"), { select: (e) => e.SlicerKind }), e("shape", () => import("./Bl0-xYLr5UA_pMTT.mjs"), {
165
165
  select: (e) => e.ShapeKind,
166
166
  selectionShadow: !1
167
167
  }), e("group", () => import("./group.mjs"), { select: ({ GroupEditor: e }) => (t) => l(e, {
@@ -173,7 +173,7 @@ var O = /* @__PURE__ */ new Map(), k = /* @__PURE__ */ new Map(), A = /* @__PURE
173
173
  ...r,
174
174
  note: t.movable.getContent()
175
175
  });
176
- } }), e("error", () => import("./DzHsdPz_a3UaTaW0.mjs").then((e) => e.t), { select: ({ ErrorContentFrame: e }) => (t) => l(e, { ...t }) });
176
+ } }), e("error", () => import("./Dq9OEmhDbQi90JyF.mjs").then((e) => e.t), { select: ({ ErrorContentFrame: e }) => (t) => l(e, { ...t }) });
177
177
  let t = (t, n) => {
178
178
  e(t, () => import("./control.mjs"), { select: n });
179
179
  };
@@ -276,13 +276,15 @@ function H(e) {
276
276
  if (!t?.module) return;
277
277
  let n = A.get(e);
278
278
  n && !n.pane && n.load().catch(() => {});
279
- let { control: r, commands: i, toolbar: a, pane: o } = t.module;
279
+ let { control: r, commands: i, toolbar: a, floatingToolbar: o, buttons: s, pane: c } = t.module;
280
280
  return {
281
281
  type: e,
282
282
  control: r,
283
283
  commands: i,
284
284
  toolbar: a,
285
- pane: n ? n.pane : o
285
+ floatingToolbar: o,
286
+ buttons: s,
287
+ pane: n ? n.pane : c
286
288
  };
287
289
  }
288
290
  async function U(e) {
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v1.0.5
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v1.0.6
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
6
6
  */
7
- import { n as e } from "./CSXyl6ZhfB9ZcjfG.mjs";
8
- import { i as t, n, r, t as i } from "./DGAS1Bt4tv72VwsG.mjs";
7
+ import { n as e } from "./Du_yTZVTH9ZhIwVz.mjs";
8
+ import { i as t, n, r, t as i } from "./BCGOU0KEA92-tHXw.mjs";
9
9
  import { jsx as a } from "react/jsx-runtime";
10
10
  import { DOMUtils as o, messageKey as s, t as c } from "@sheetxl/utils";
11
11
  import { NotifierType as l } from "@sheetxl/utils-react";
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v1.0.5
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v1.0.6
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
6
6
  */
7
- import { n as e } from "./CLpO-44ZQYtUuHJ_.mjs";
8
- import { t } from "./Dbyt1u9b-bkpxFZg.mjs";
7
+ import { n as e } from "./BkkfkHsyalXv3k4Q.mjs";
8
+ import { t } from "./C1luDkna9W7PNKrz.mjs";
9
9
  import { forwardRef as n, memo as r, useEffect as i } from "react";
10
10
  import { jsx as a } from "react/jsx-runtime";
11
11
  import { useImperativeElement as o, useMeasure as s, useTranslator as c } from "@sheetxl/utils-react";
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v1.0.5
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v1.0.6
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
@@ -0,0 +1,127 @@
1
+ /**
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v1.0.6
3
+ *
4
+ * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
+ * License: SheetXL EULA — https://www.sheetxl.com/eula
6
+ */
7
+ import { Command as e, DefaultIconService as t } from "@sheetxl/utils-react";
8
+ var n = "workbookToolbars", r = /* @__PURE__ */ new Map();
9
+ function i(t) {
10
+ let n = t.key.toLowerCase(), i = r.get(n) ?? 0;
11
+ i === 0 && e.DefaultCommandButtonRegistry.register(t, !0), r.set(n, i + 1);
12
+ let a = !1;
13
+ return () => {
14
+ if (a) return;
15
+ a = !0;
16
+ let t = (r.get(n) ?? 1) - 1;
17
+ t > 0 ? r.set(n, t) : (r.delete(n), e.DefaultCommandButtonRegistry.get(n) && e.DefaultCommandButtonRegistry.unregister(n));
18
+ };
19
+ }
20
+ var a = (e) => `${e}Toolbar`;
21
+ function o(e, t) {
22
+ return {
23
+ key: a(e),
24
+ contributions: { [n]: { order: 1 } },
25
+ getLabel: () => t,
26
+ members: [
27
+ "moveForwardOptions",
28
+ "moveBackwardOptions",
29
+ "-",
30
+ "drawAlignOptions",
31
+ "drawGroupOptions",
32
+ "drawFlipOptions",
33
+ "-",
34
+ "drawSizingOptions",
35
+ "toggleLockAspectRatio",
36
+ "-",
37
+ "format"
38
+ ]
39
+ };
40
+ }
41
+ var s = !1;
42
+ function c() {
43
+ if (s) return;
44
+ s = !0;
45
+ let t = e.DefaultCommandButtonRegistry;
46
+ t.register({
47
+ key: "moveForwardOptions",
48
+ defaultKey: "moveToFront",
49
+ members: ["moveToFront", "moveForward"]
50
+ }, !0), t.register({
51
+ key: "moveBackwardOptions",
52
+ defaultKey: "moveToBack",
53
+ members: ["moveToBack", "moveBackward"]
54
+ }, !0), t.register({
55
+ key: "drawAlignOptions",
56
+ members: [
57
+ "formatDrawAlignLeft",
58
+ "formatDrawAlignCenter",
59
+ "formatDrawAlignRight",
60
+ "-",
61
+ "formatDrawAlignTop",
62
+ "formatDrawAlignMiddle",
63
+ "formatDrawAlignBottom",
64
+ "-",
65
+ "formatDrawDistributeHorz",
66
+ "formatDrawDistributeVert"
67
+ ]
68
+ }, !0), t.register({
69
+ key: "drawFlipOptions",
70
+ members: ["formatDrawFlipHorizontal", "formatDrawFlipVertical"]
71
+ }, !0), t.register({
72
+ key: "drawGroupOptions",
73
+ members: ["groupDrawings", "ungroupDrawings"]
74
+ }, !0), t.register({
75
+ key: "drawSizingOptions",
76
+ members: [
77
+ "formatAnchorTypeTwoCell",
78
+ "formatAnchorTypeOneCell",
79
+ "formatAnchorTypeAbsolute"
80
+ ]
81
+ }, !0), t.register({
82
+ key: "arrangeOptions",
83
+ members: [
84
+ "moveForwardOptions",
85
+ "moveBackwardOptions",
86
+ "-",
87
+ "drawAlignOptions",
88
+ "drawGroupOptions",
89
+ "drawFlipOptions",
90
+ "-",
91
+ "drawSizingOptions"
92
+ ]
93
+ }, !0);
94
+ }
95
+ var l = {
96
+ Format: "format",
97
+ Comments: "comments",
98
+ TableDetails: "tableDetails",
99
+ ConditionalFormat: "conditionalFormatDetails",
100
+ DataValidation: "dataValidationDetails",
101
+ Protection: "manageProtection",
102
+ Names: "managedNames",
103
+ ExternalLinks: "externalLinks",
104
+ PivotTable: "pivotTableFields",
105
+ CellControl: "formatCellControl",
106
+ ChartDetails: "chartDetails"
107
+ }, u = /* @__PURE__ */ new Set(/* @__PURE__ */ "columnClustered.columnStacked.columnStacked100.barClustered.barStacked.barStacked100.line.lineStacked.lineStacked100.lineMarkers.lineMarkersStacked.lineMarkersStacked100.pie.pieExploded.pieOfPie.barOfPie.doughnut.doughnutExploded.area.areaStacked.areaStacked100.xyscatter.xyscatterSmooth.xyscatterSmoothNoMarkers.xyscatterLines.xyscatterLinesNoMarkers.bubble.bubble3DEffect.radar.radarMarkers.radarFilled.stockHLC.stockOHLC.stockVHLC.stockVOHLC.surface.surfaceWireframe.surfaceTopView.surfaceTopViewWireframe.histogram.pareto.boxwhisker.waterfall.funnel.treemap.sunburst.regionMap.combo.unknown".split(".")), d = "chart";
108
+ t.register(d, () => import("./D20ReZZxs2JHIqXW.mjs"));
109
+ var f = {
110
+ "3DColumn": "columnClustered",
111
+ "3DColumnClustered": "columnClustered",
112
+ "3DColumnStacked": "columnStacked",
113
+ "3DColumnStacked100": "columnStacked100",
114
+ "3DBarClustered": "barClustered",
115
+ "3DBarStacked": "barStacked",
116
+ "3DBarStacked100": "barStacked100",
117
+ "3DLine": "line",
118
+ "3DPie": "pie",
119
+ "3DPieExploded": "pieExploded",
120
+ "3DArea": "area",
121
+ "3DAreaStacked": "areaStacked",
122
+ "3DAreaStacked100": "areaStacked100"
123
+ }, p = (e) => {
124
+ let t = f[e] ?? e;
125
+ return `${d}:${u.has(t) ? t : "unknown"}`;
126
+ };
127
+ export { a, i as c, o as i, p as n, c as o, l as r, n as s, d as t };