@sheetxl/react 0.8.0-beta.10 → 0.8.0-beta.11

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 (233) hide show
  1. package/browser/esm/{CYoUd5KIl7W3AsxH.mjs → 1-LEUre9ZLG0OYYB.mjs} +24 -23
  2. package/browser/esm/94dxo1A-z8lgiiGw.mjs +128 -0
  3. package/browser/esm/{BwRduT8FTrk5n72r.mjs → B26QVfjer2oY2ewK.mjs} +1 -1
  4. package/browser/esm/B93LSmhnvkxNXTq-.mjs +42 -0
  5. package/browser/esm/{BZcQ-KYwS62Ut45c.mjs → BQYS2Yf-EAV_tBLr.mjs} +1 -1
  6. package/browser/esm/BegvsXeRs7e-9t8k.mjs +8 -0
  7. package/browser/esm/Bl2BFCQ00fotauKB.mjs +36 -0
  8. package/browser/esm/{Cfe0kofqVKGxLqO6.mjs → Bos4Rkp8UTF7QXUB.mjs} +1 -1
  9. package/browser/esm/{Dd-ZybXAgoq9pgGv.mjs → C1pc9F4Rt2C5FKUo.mjs} +1 -1
  10. package/browser/esm/{C6urN77szrYwODXF.mjs → CPnnESfZz2jjJd82.mjs} +1 -1
  11. package/browser/esm/CRi6DQ3UXmPEv-w_.mjs +729 -0
  12. package/browser/esm/{BuvXl14hs-1CvjeA.mjs → ClAtIfYbsUPA073B.mjs} +1 -1
  13. package/browser/esm/CzRIbc-Lk__VMLKM.mjs +60 -0
  14. package/browser/esm/{DyU9UInRnfkPYYlR.mjs → D2u6THGErqw64KQI.mjs} +1 -1
  15. package/browser/esm/{cYjYjqEsyd63x8t4.mjs → DMdsMPT0fWBbTkNn.mjs} +1 -1
  16. package/browser/esm/{Bow9CzRJrYxak2i5.mjs → DS66lAIM-9M-YoZQ.mjs} +5 -8
  17. package/browser/esm/DgL7Dy-Lqcr1TvW6.mjs +23528 -0
  18. package/browser/esm/{DjiBz4H74I6nPUY6.mjs → Dnh1kpz3v1JKtRD_.mjs} +2 -2
  19. package/browser/esm/{Sp6PJavGKpF8SJzA.mjs → cQ6xdPFkEcuDlNTN.mjs} +1 -1
  20. package/browser/esm/chart.mjs +32 -52
  21. package/browser/esm/control.mjs +2 -2
  22. package/browser/esm/group.mjs +3 -3
  23. package/browser/esm/index.mjs +6590 -4824
  24. package/browser/esm/note.mjs +73 -47
  25. package/browser/esm/picture.mjs +2 -2
  26. package/browser/esm/shape.mjs +2 -2
  27. package/browser/esm/slicer.mjs +5 -5
  28. package/browser/esm/ugfE7YeZALQURDKF.mjs +241 -0
  29. package/licenses/dependencies.txt +313 -1
  30. package/node/esm/6zApGj9DozhFy-bx.mjs +35 -0
  31. package/node/esm/{DPN0n6MGYQ9vZ2KO.mjs → BMVK5plvmBOAIlxP.mjs} +1 -1
  32. package/node/esm/{Dxbm6ryIDCEi26RO.mjs → BaRfst1euuhquupX.mjs} +1 -1
  33. package/node/esm/{BJ7ZZm63j5O6cvrB.mjs → Be9c1GwQkPo8Piuh.mjs} +1 -1
  34. package/node/esm/{DhSq680c5tgMFFbj.mjs → BiaDWnN3tT7neoRL.mjs} +1 -1
  35. package/node/esm/BlxXufqBBg1PtsXd.mjs +8 -0
  36. package/node/esm/{CM5BT7h-hMtST2bE.mjs → C_SNx7TlFEcwbYjx.mjs} +1 -1
  37. package/node/esm/DJPgbB1X22YmhbaR.mjs +242 -0
  38. package/node/esm/DTMTIrYIK1eZswsM.mjs +37 -0
  39. package/node/esm/{Buw-VKYJy3y5dbaJ.mjs → D_pCpfdQowV_4Aje.mjs} +23 -22
  40. package/node/esm/{DYosMUJKp-3MSO4q.mjs → DgGEHydEjD7nfsDB.mjs} +1 -1
  41. package/node/esm/{CFFlJxNwgyInjEnh.mjs → Dj5FM7_-YWhCtCCt.mjs} +1 -1
  42. package/node/esm/{GkmuxU7OwRZtm2Rf.mjs → DxQZmb-j4NLUO9Af.mjs} +1 -1
  43. package/node/esm/{BfRn5S5V4X8xIAEa.mjs → JiQGhLkoL8CJpVvA.mjs} +1 -1
  44. package/node/esm/b-XRVRI1fYQQMkTC.mjs +1664 -0
  45. package/node/esm/chart.mjs +32 -52
  46. package/node/esm/control.mjs +2 -2
  47. package/node/esm/{C_ANM4feA1xV-pri.mjs → gpD-9LDW92phhoma.mjs} +1 -1
  48. package/node/esm/group.mjs +3 -3
  49. package/node/esm/index.mjs +9005 -7225
  50. package/node/esm/note.mjs +86 -60
  51. package/node/esm/picture.mjs +2 -2
  52. package/node/esm/shape.mjs +292 -340
  53. package/node/esm/sigD1UFqvPlWUw_9.mjs +128 -0
  54. package/node/esm/slicer.mjs +15 -15
  55. package/node/esm/{D3YXHeOyFp00Xk3m.mjs → umljAT66yb3_rURh.mjs} +53 -56
  56. package/package.json +8 -6
  57. package/resources/contents.json +6 -0
  58. package/resources/locales/contents.json +14 -0
  59. package/resources/locales/de/chart.cmd.json +82 -0
  60. package/resources/locales/de/sheet.cmd.json +11 -0
  61. package/resources/locales/de/table.cmd.json +1 -1
  62. package/resources/locales/de/ui.msg.json +12 -0
  63. package/resources/locales/de/workbook.cmd.json +5 -0
  64. package/resources/locales/en/chart.cmd.json +82 -0
  65. package/resources/locales/en/sheet.cmd.json +11 -0
  66. package/resources/locales/en/table.cmd.json +1 -1
  67. package/resources/locales/en/ui.msg.json +12 -0
  68. package/resources/locales/en/workbook.cmd.json +5 -0
  69. package/types/src/autoFill/FillMenu.d.ts +2 -2
  70. package/types/src/autoFill/FillSeries.d.ts +2 -2
  71. package/types/src/border/StaticBorderRenderer.d.ts +18 -1
  72. package/types/src/border/useBorders.d.ts +74 -1
  73. package/types/src/cell/FormulaCellRenderer.d.ts +5 -2
  74. package/types/src/cell/useFormulaViewAnchor.d.ts +2 -2
  75. package/types/src/chart/ChartCommands.d.ts +15 -0
  76. package/types/src/chart/ChartEditor.d.ts +10 -2
  77. package/types/src/chart/ChartElement.d.ts +111 -0
  78. package/types/src/chart/ChartKind.d.ts +7 -0
  79. package/types/src/chart/PresetChartTypeDescriptors.d.ts +3 -1
  80. package/types/src/chart/index.d.ts +2 -0
  81. package/types/src/chart/paint/_fills.d.ts +24 -0
  82. package/types/src/chart/paint/_graphics.d.ts +46 -0
  83. package/types/src/chart/paint/echarts.d.ts +30 -0
  84. package/types/src/chart/paint/index.d.ts +12 -0
  85. package/types/src/chart/paint/kinds/ChartPaintKind.d.ts +132 -0
  86. package/types/src/chart/paint/kinds/_Area.d.ts +3 -0
  87. package/types/src/chart/paint/kinds/_Bar.d.ts +3 -0
  88. package/types/src/chart/paint/kinds/_BoxWhisker.d.ts +3 -0
  89. package/types/src/chart/paint/kinds/_Bubble.d.ts +3 -0
  90. package/types/src/chart/paint/kinds/_Funnel.d.ts +3 -0
  91. package/types/src/chart/paint/kinds/_Histogram.d.ts +3 -0
  92. package/types/src/chart/paint/kinds/_Line.d.ts +10 -0
  93. package/types/src/chart/paint/kinds/_OfPie.d.ts +3 -0
  94. package/types/src/chart/paint/kinds/_Pie.d.ts +21 -0
  95. package/types/src/chart/paint/kinds/_Placeholder.d.ts +7 -0
  96. package/types/src/chart/paint/kinds/_Radar.d.ts +3 -0
  97. package/types/src/chart/paint/kinds/_Scatter.d.ts +3 -0
  98. package/types/src/chart/paint/kinds/_Sunburst.d.ts +3 -0
  99. package/types/src/chart/paint/kinds/_Surface.d.ts +3 -0
  100. package/types/src/chart/paint/kinds/_Treemap.d.ts +3 -0
  101. package/types/src/chart/paint/kinds/_Waterfall.d.ts +3 -0
  102. package/types/src/chart/paint/kinds/_builtIns.d.ts +12 -0
  103. package/types/src/chart/paint/toEChartsOption.d.ts +31 -0
  104. package/types/src/clipboard/ClipboardCommands.d.ts +3 -3
  105. package/types/src/clipboard/SheetClipboardLayer.d.ts +2 -2
  106. package/types/src/comment/CommentCardRequest.d.ts +9 -9
  107. package/types/src/comment/useSheetComments.d.ts +2 -2
  108. package/types/src/context/WorksheetContext.d.ts +18 -0
  109. package/types/src/context/index.d.ts +1 -1
  110. package/types/src/editor/EditorCommands.d.ts +3 -3
  111. package/types/src/editor/SheetCellEditorLayer.d.ts +2 -2
  112. package/types/src/editor/SheetCellEditorStartLayer.d.ts +22 -5
  113. package/types/src/editor/SheetEditable.d.ts +6 -6
  114. package/types/src/editor/SheetReferenceLayer.d.ts +4 -4
  115. package/types/src/editor/VirtualKeyboardLayer.d.ts +49 -0
  116. package/types/src/editor/formulaAnchor.d.ts +12 -0
  117. package/types/src/editor/index.d.ts +1 -0
  118. package/types/src/editor/pickedReference.d.ts +3 -3
  119. package/types/src/editor/useEditRejectedNotice.d.ts +3 -3
  120. package/types/src/editor/useFormulaHints.d.ts +2 -2
  121. package/types/src/editor/validationAlert.d.ts +3 -3
  122. package/types/src/frame/CommandContext.d.ts +7 -7
  123. package/types/src/index.d.ts +2 -0
  124. package/types/src/layer/BorderLayer.d.ts +2 -2
  125. package/types/src/layer/CellErrorLayer.d.ts +2 -2
  126. package/types/src/layer/CellFillLayer.d.ts +2 -2
  127. package/types/src/layer/CellInsertLayer.d.ts +71 -0
  128. package/types/src/layer/CircularIndicatorLayer.d.ts +2 -2
  129. package/types/src/layer/CommentCardLayer.d.ts +2 -2
  130. package/types/src/layer/CommentsLayer.d.ts +2 -2
  131. package/types/src/layer/ConditionalBarLayer.d.ts +2 -2
  132. package/types/src/layer/ConditionalIconsLayer.d.ts +2 -2
  133. package/types/src/layer/ContextMenuLayer.d.ts +2 -2
  134. package/types/src/layer/GridFreezeLayer.d.ts +2 -2
  135. package/types/src/layer/HyperlinkLayer.d.ts +3 -3
  136. package/types/src/layer/MovableKindScope.d.ts +2 -2
  137. package/types/src/layer/ProtectionLayer.d.ts +3 -3
  138. package/types/src/layer/RangeAnnotationLayer.d.ts +2 -2
  139. package/types/src/layer/ResizeIndicator.d.ts +2 -2
  140. package/types/src/layer/SheetBackgroundLayer.d.ts +3 -3
  141. package/types/src/layer/SheetCellLayer.d.ts +4 -4
  142. package/types/src/layer/SheetColumnButtonLayer.d.ts +2 -2
  143. package/types/src/layer/SheetGridLineLayer.d.ts +11 -13
  144. package/types/src/layer/SheetLayers.d.ts +115 -0
  145. package/types/src/layer/SheetMovableLayer.d.ts +2 -2
  146. package/types/src/layer/SheetOutlineLayer.d.ts +2 -2
  147. package/types/src/layer/SheetTableCommandLayer.d.ts +2 -2
  148. package/types/src/layer/SpillLayer.d.ts +2 -2
  149. package/types/src/layer/TableLayer.d.ts +2 -2
  150. package/types/src/layer/TableToolbar.d.ts +3 -3
  151. package/types/src/layer/ValidationDropdownLayer.d.ts +2 -2
  152. package/types/src/layer/ValidationIndicatorLayer.d.ts +2 -2
  153. package/types/src/layer/ValidationPromptLayer.d.ts +5 -4
  154. package/types/src/layer/_tableColor.d.ts +2 -2
  155. package/types/src/layer/index.d.ts +2 -0
  156. package/types/src/layer/useFreezeDrag.d.ts +2 -2
  157. package/types/src/layer/useNormalBorderLines.d.ts +15 -0
  158. package/types/src/layer/useSheetFeatureRegions.d.ts +2 -2
  159. package/types/src/layer/useSheetVisibleCells.d.ts +2 -2
  160. package/types/src/layer/useSheetVisibleDecorations.d.ts +2 -2
  161. package/types/src/layer/useTableHeaderCells.d.ts +2 -2
  162. package/types/src/layer/useValidationPicker.d.ts +2 -2
  163. package/types/src/layer/useVisibleTables.d.ts +2 -2
  164. package/types/src/layer/validationMark.d.ts +3 -3
  165. package/types/src/listener/index.d.ts +5 -0
  166. package/types/src/listener/useCell.d.ts +29 -0
  167. package/types/src/listener/useCellRange.d.ts +23 -0
  168. package/types/src/listener/useCellValue.d.ts +26 -0
  169. package/types/src/listener/useModelListener.d.ts +4 -4
  170. package/types/src/listener/useRangeSnapshot.d.ts +35 -0
  171. package/types/src/listener/useTable.d.ts +26 -0
  172. package/types/src/movable/DefaultMovable.d.ts +8 -0
  173. package/types/src/movable/MovableCommands.d.ts +2 -2
  174. package/types/src/movable/MovableRenderers.d.ts +3 -3
  175. package/types/src/movable/index.d.ts +1 -0
  176. package/types/src/picker/cellPickerOpen.d.ts +3 -3
  177. package/types/src/picker/useCellPicker.d.ts +2 -2
  178. package/types/src/richText/RichTextEditor.d.ts +2 -2
  179. package/types/src/selection/SelectionCommands.d.ts +2 -2
  180. package/types/src/selection/SheetSelectionLayer.d.ts +2 -2
  181. package/types/src/sheet/ISheetHeaderElement.d.ts +1 -1
  182. package/types/src/sheet/{ISheetElement.d.ts → IWorksheetElement.d.ts} +46 -13
  183. package/types/src/sheet/OpaqueSheetElement.d.ts +21 -0
  184. package/types/src/sheet/SheetCommandProvider.d.ts +2 -2
  185. package/types/src/sheet/SheetCommands.d.ts +2 -2
  186. package/types/src/sheet/SheetKindIcon.d.ts +14 -0
  187. package/types/src/sheet/SheetOutlineElement.d.ts +4 -4
  188. package/types/src/sheet/SheetPanels.d.ts +11 -0
  189. package/types/src/sheet/SheetScrollbar.d.ts +3 -3
  190. package/types/src/sheet/TopLeftCorner.d.ts +2 -2
  191. package/types/src/sheet/WorksheetElement.d.ts +12 -0
  192. package/types/src/sheet/_freezeAt.d.ts +2 -2
  193. package/types/src/sheet/circularReferences.d.ts +3 -3
  194. package/types/src/sheet/index.d.ts +5 -2
  195. package/types/src/sheet/useCycleHighlight.d.ts +2 -2
  196. package/types/src/tabStrip/SheetTab.d.ts +1 -1
  197. package/types/src/table/TableCommands.d.ts +2 -2
  198. package/types/src/taskPane/TaskPaneArea.d.ts +7 -0
  199. package/types/src/theme/buildOOXMLThemeCSS.d.ts +2 -2
  200. package/types/src/theme/useGridColorScheme.d.ts +1 -1
  201. package/types/src/theme/useSystemColors.d.ts +2 -2
  202. package/types/src/workbook/DefaultRenderers.d.ts +3 -2
  203. package/types/src/workbook/IWorkbookElement.d.ts +27 -5
  204. package/browser/esm/BHjeSMaycUkS5dVL.mjs +0 -66
  205. package/browser/esm/CYMRbtPIr6SklGpp.mjs +0 -775
  206. package/browser/esm/CiRN-woJZWYOgTn4.mjs +0 -36
  207. package/browser/esm/J8cPagZBeXz86Lnd.mjs +0 -777
  208. package/node/esm/BpwE3HqTnrLLzE3C.mjs +0 -775
  209. package/node/esm/CV3bT3Hql74GcHoU.mjs +0 -37
  210. package/types/src/chart/templates/area-stacked-percent-template.json.d.ts +0 -10
  211. package/types/src/chart/templates/area-stacked-template.json.d.ts +0 -10
  212. package/types/src/chart/templates/area-template.json.d.ts +0 -9
  213. package/types/src/chart/templates/bar-stacked-percent-template.json.d.ts +0 -10
  214. package/types/src/chart/templates/bar-stacked-template.json.d.ts +0 -10
  215. package/types/src/chart/templates/bar-template.json.d.ts +0 -9
  216. package/types/src/chart/templates/column-stacked-percent-template.json.d.ts +0 -10
  217. package/types/src/chart/templates/column-stacked-template.json.d.ts +0 -10
  218. package/types/src/chart/templates/column-template.json.d.ts +0 -9
  219. package/types/src/chart/templates/line-markers-template.json.d.ts +0 -10
  220. package/types/src/chart/templates/line-stacked-markers-template.json.d.ts +0 -11
  221. package/types/src/chart/templates/line-stacked-percent-markers-template.json.d.ts +0 -11
  222. package/types/src/chart/templates/line-stacked-percent-template.json.d.ts +0 -10
  223. package/types/src/chart/templates/line-stacked-template.json.d.ts +0 -10
  224. package/types/src/chart/templates/line-template.json.d.ts +0 -9
  225. package/types/src/chart/templates/pie-doughnut-template.json.d.ts +0 -10
  226. package/types/src/chart/templates/pie-template.json.d.ts +0 -9
  227. package/types/src/chart/templates/scatter-lines-markers-smooth-template.json.d.ts +0 -10
  228. package/types/src/chart/templates/scatter-lines-markers-template.json.d.ts +0 -10
  229. package/types/src/chart/templates/scatter-lines-smooth-template.json.d.ts +0 -10
  230. package/types/src/chart/templates/scatter-lines-template.json.d.ts +0 -10
  231. package/types/src/chart/templates/scatter-markers-template.json.d.ts +0 -10
  232. package/types/src/context/SheetContext.d.ts +0 -18
  233. package/types/src/sheet/SheetElement.d.ts +0 -15
@@ -0,0 +1,128 @@
1
+ /**
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.11
3
+ *
4
+ * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
+ * License: The license can be found at https://www.sheetxl.com/license.
6
+ */
7
+ import { n as e } from "./DTMTIrYIK1eZswsM.mjs";
8
+ import { ChartEditor as t } from "./chart.mjs";
9
+ import { jsx as a } from "react/jsx-runtime";
10
+ import { messageKey as s, t as o } from "@sheetxl/utils";
11
+ var i = /* @__PURE__ */ new Set([
12
+ "waterfall",
13
+ "histogram",
14
+ "pareto",
15
+ "boxwhisker",
16
+ "treemap",
17
+ "sunburst",
18
+ "funnel",
19
+ "regionMap"
20
+ ]), r = [
21
+ {
22
+ key: "chartTitleToggle",
23
+ state: (e) => e.getTitle().getVisible(),
24
+ show: ["chartTitleAboveChart"],
25
+ hide: ["chartTitleNone"]
26
+ },
27
+ {
28
+ key: "chartLegendToggle",
29
+ state: (e) => e.getLegend().getVisible(),
30
+ show: ["legendRight"],
31
+ hide: ["legendNone"]
32
+ },
33
+ {
34
+ key: "chartDataLabelsToggle",
35
+ state: (e) => e.getDataLabels().getVisible(),
36
+ show: ["dataLabelShow"],
37
+ hide: ["dataLabelNone"]
38
+ },
39
+ {
40
+ key: "chartDataTableToggle",
41
+ state: (e) => e.getDataTable().getVisible(),
42
+ show: ["dataTableShow"],
43
+ hide: ["dataTableNone"]
44
+ },
45
+ {
46
+ key: "chartGridlinesToggle",
47
+ state: (e) => e.getAxes().getValueAxis()?.getMajorGridlines().getVisible() ?? !1,
48
+ show: ["primaryValueGridLinesMajor"],
49
+ hide: ["primaryValueGridLinesNone"]
50
+ },
51
+ {
52
+ key: "chartAxisTitlesToggle",
53
+ state: (e) => e.getAxes().getItems().some((e) => "primary" === e.getAxisGroup() && e.getTitle().getVisible()),
54
+ show: ["primaryCategoryAxisTitleAdjacentToAxis", "primaryValueAxisTitleRotated"],
55
+ hide: ["primaryCategoryAxisTitleNone", "primaryValueAxisTitleNone"]
56
+ }
57
+ ], l = {
58
+ renderer: (e) => a(t, {
59
+ ...e,
60
+ chart: e.movable.getContent()
61
+ }),
62
+ commands: (t, a) => {
63
+ const { sheet: l, movable: n, notifier: c } = a, d = n.getContent();
64
+ t.use(e({
65
+ transaction: l,
66
+ notifier: c
67
+ }));
68
+ const g = () => ({ chart: () => d }), h = () => d.isReadOnly() ? [s("reason.sheetProtected")] : [], m = () => {
69
+ const e = d.isReadOnly() ? [s("reason.sheetProtected")] : i.has(d.getChartType()) ? [s("reason.chartTypeNotEditable")] : [];
70
+ t.updateCommand("chartChangeType", {
71
+ callback: (e) => {
72
+ const t = "string" == typeof e ? e : e?.type;
73
+ t && d.setChartType(t);
74
+ },
75
+ state: d.getChartType(),
76
+ context: g,
77
+ disabledReasons: e
78
+ }), t.updateCommand("chartSwitchRowColumn", {
79
+ callback: () => {
80
+ d.setSeriesBy("rows" === d.getSeriesBy() ? "columns" : "rows");
81
+ },
82
+ state: d.getSeriesBy(),
83
+ context: g,
84
+ disabledReasons: e
85
+ }), t.updateCommand("chartSelectData", {
86
+ tags: ["noTransaction", "noRepeat"],
87
+ callback: async (e) => {
88
+ if (!e) {
89
+ const t = await c?.showInput?.({
90
+ title: o("dialog.chartSelectData.title"),
91
+ description: o("dialog.chartSelectData.description"),
92
+ inputLabel: o("dialog.chartSelectData.inputLabel"),
93
+ initialValue: d.getSeries()[0]?.getValuesRange()?.getAddress() ?? "",
94
+ options: [{
95
+ id: "Select",
96
+ label: () => o("dialog.select")
97
+ }]
98
+ });
99
+ if (!t || "Select" !== t.option || !t.input) return;
100
+ e = t.input;
101
+ }
102
+ d.setData(e);
103
+ },
104
+ context: g,
105
+ disabledReasons: e
106
+ }), t.updateCommand("chartAddElement", {
107
+ callback: (e) => {
108
+ e && d.setElement(e);
109
+ },
110
+ context: g,
111
+ disabledReasons: e
112
+ });
113
+ for (const a of r) {
114
+ const s = a.state(d);
115
+ t.updateCommand(a.key, {
116
+ callback: () => {
117
+ for (const e of s ? a.hide : a.show) d.setElement(e);
118
+ },
119
+ state: s,
120
+ context: g,
121
+ disabledReasons: "chartTitleToggle" === a.key || "chartLegendToggle" === a.key ? h() : e
122
+ });
123
+ }
124
+ };
125
+ return m(), d.addListeners({ onAnyChange: m });
126
+ }
127
+ };
128
+ export { l as ChartKind };
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.10
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.11
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 { t as e } from "./CFFlJxNwgyInjEnh.mjs";
8
- import { n as t } from "./BfRn5S5V4X8xIAEa.mjs";
9
- import { i as r, r as o, t as l } from "./DhSq680c5tgMFFbj.mjs";
7
+ import { t as e } from "./Dj5FM7_-YWhCtCCt.mjs";
8
+ import { n as t } from "./JiQGhLkoL8CJpVvA.mjs";
9
+ import { i as r, r as o, t as l } from "./BiaDWnN3tT7neoRL.mjs";
10
10
  import { forwardRef as i, memo as n, useCallback as s, useEffect as a, useLayoutEffect as c, useMemo as d, useReducer as h, useRef as p, useState as u } from "react";
11
11
  import { jsx as g, jsxs as m } from "react/jsx-runtime";
12
12
  import { useImperativeElement as f, useNotifier as x, useTranslator as y } from "@sheetxl/utils-react";
@@ -48,11 +48,11 @@ var b = () => m("svg", {
48
48
  fontSize: "11pt"
49
49
  };
50
50
  }, k = n(i((i, n) => {
51
- const { children: k, disabled: C, style: S, slicer: M, movable: D, zoom: R = 1, isDragging: z, onHide: F, onShow: I, onDragZone: N, adornmentHost: O, flip: j, gesture: H, ...E } = i, K = y(), T = x(), P = (t() ?? M.getTable()?.getSheet() ?? null)?.getStyles() ?? null, [W, $] = h((e) => e + 1, 0);
51
+ const { children: k, disabled: C, style: S, slicer: M, movable: D, zoom: R = 1, isDragging: z, onHide: F, onShow: I, onDragZone: N, adornmentHost: O, flip: j, gesture: H, ...E } = i, K = y(), T = x(), W = (t() ?? M.getTable()?.getWorksheet() ?? null)?.getStyles() ?? null, [P, $] = h((e) => e + 1, 0);
52
52
  e(M, {
53
53
  onAnyChange: $,
54
54
  onReferencesChange: $
55
- }), a(() => P?.addListeners({ onAnyChange: $ }), [P]);
55
+ }), a(() => W?.addListeners({ onAnyChange: $ }), [W]);
56
56
  const [A, B] = u([]);
57
57
  a(() => {
58
58
  let e = !0;
@@ -63,7 +63,7 @@ var b = () => m("svg", {
63
63
  }), () => {
64
64
  e = !1;
65
65
  };
66
- }, [M, W]);
66
+ }, [M, P]);
67
67
  const [L, J] = u(!1), [X, Y] = u(null), Z = p(null), q = p(null), G = p(null), [Q, U] = u(!1);
68
68
  c(() => {
69
69
  const e = G.current;
@@ -111,14 +111,14 @@ var b = () => m("svg", {
111
111
  L,
112
112
  C,
113
113
  te
114
- ]), oe = f(n, () => ({ isSlicerEditor: () => !0 }), []), le = l(M.getStyle(), P), ie = d(() => o(le?.wholeTable, P), [
114
+ ]), oe = f(n, () => ({ isSlicerEditor: () => !0 }), []), le = l(M.getStyle(), W), ie = d(() => o(le?.wholeTable, W), [
115
115
  le,
116
- P,
117
- W
118
- ]), ne = d(() => o(le?.headerRow, P), [
116
+ W,
117
+ P
118
+ ]), ne = d(() => o(le?.headerRow, W), [
119
119
  le,
120
- P,
121
- W
120
+ W,
121
+ P
122
122
  ]);
123
123
  if (M.isDeleted()) return null;
124
124
  const se = M.isFilterCleared(), ae = M.isShowCaption(), ce = {
@@ -150,7 +150,7 @@ var b = () => m("svg", {
150
150
  position: "relative",
151
151
  backgroundColor: "var(--sxl-color-base-100, white)",
152
152
  border: "var(--sxl-color-neutral, grey) solid 1px",
153
- ...w(P),
153
+ ...w(W),
154
154
  ...ie,
155
155
  filter: C ? "blur(1px)" : void 0,
156
156
  boxShadow: z ? "1px 1px 2px var(--sxl-color-shadow, rgba(0,0,0,.15))" : void 0,
@@ -255,7 +255,7 @@ var b = () => m("svg", {
255
255
  userSelect: "none",
256
256
  cursor: C ? void 0 : "pointer",
257
257
  border: "1px solid transparent",
258
- ...o(le?.[t], P)
258
+ ...o(le?.[t], W)
259
259
  },
260
260
  onPointerEnter: () => Y(e.key),
261
261
  onPointerDown: (e) => {
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.10
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.11
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 { t as e } from "./CFFlJxNwgyInjEnh.mjs";
8
- import { createContext as t, memo as n, useCallback as o, useEffect as r, useReducer as a, useRef as l } from "react";
7
+ import { t as e } from "./Dj5FM7_-YWhCtCCt.mjs";
8
+ import { createContext as t, memo as n, useCallback as o, useEffect as r, useReducer as l, useRef as a } from "react";
9
9
  import { Fragment as i, jsx as s, jsxs as c } from "react/jsx-runtime";
10
10
  import { LazyModules as d, defineLazyModule as u } from "@sheetxl/utils";
11
11
  import { ReactUtils as p } from "@sheetxl/utils-react";
@@ -16,10 +16,10 @@ var h = Object.freeze({
16
16
  width: 0,
17
17
  height: 0
18
18
  }), f = (e, t, n) => {
19
- const o = n?.bounds ?? e.getBounds(), r = o ? t.toPaneBounds(o) : h, a = p.getDevicePixelRatio();
19
+ const o = n?.bounds ?? e.getBounds(), r = o ? t.toPaneBounds(o) : h, l = p.getDevicePixelRatio();
20
20
  return {
21
- left: p.snapDeviceEdge(r.x, a),
22
- top: p.snapDeviceEdge(r.y, a),
21
+ left: p.snapDeviceEdge(r.x, l),
22
+ top: p.snapDeviceEdge(r.y, l),
23
23
  width: r.width,
24
24
  height: r.height,
25
25
  rotation: n?.rotation ?? (e.getRotation() || 0),
@@ -37,22 +37,22 @@ var h = Object.freeze({
37
37
  e && o.unshift(e), r = r.parentElement;
38
38
  }
39
39
  if (0 === o.length) return e;
40
- const a = [e];
40
+ const l = [e];
41
41
  for (const e of o) {
42
- const t = a[a.length - 1].getMovables()?.getItems().find((t) => t.getId() === e);
42
+ const t = l[l.length - 1].getMovables()?.getItems().find((t) => t.getId() === e);
43
43
  if (!t) break;
44
- a.push(t);
44
+ l.push(t);
45
45
  }
46
- const l = a.length - 1;
47
- for (let e = l; e >= 0; e--) if (a[e].isSelected()) return a[Math.min(e + 1, l)];
48
- const i = e.getRange().getSheet().getView().getMovableSelection().getContainer();
49
- return i && v(i) === e ? a[Math.min(w(i) + 1, l)] : e;
46
+ const a = l.length - 1;
47
+ for (let e = a; e >= 0; e--) if (l[e].isSelected()) return l[Math.min(e + 1, a)];
48
+ const i = e.getRange().getWorksheet().getView().getMovableSelection().getContainer();
49
+ return i && v(i) === e ? l[Math.min(w(i) + 1, a)] : e;
50
50
  }, w = (e) => {
51
51
  let t = 0;
52
52
  for (let n = e.getParent(); n; n = n.getParent()) t++;
53
53
  return t;
54
- }, C = t(/* @__PURE__ */ new Map()), x = n(({ movable: t, preview: n, onHost: r, children: l }) => {
55
- const i = m(), [, c] = a((e) => e + 1, 0);
54
+ }, x = t(/* @__PURE__ */ new Map()), y = n(({ movable: t, preview: n, onHost: r, children: a }) => {
55
+ const i = m(), [, c] = l((e) => e + 1, 0);
56
56
  e(t, {
57
57
  onBoundsChange: () => c(),
58
58
  onAnyChange: () => c()
@@ -74,11 +74,11 @@ var h = Object.freeze({
74
74
  zIndex: 3001,
75
75
  pointerEvents: "none"
76
76
  },
77
- children: l
77
+ children: a
78
78
  });
79
79
  });
80
- x.displayName = "MovableAdornment";
81
- var y = {
80
+ y.displayName = "MovableAdornment";
81
+ var C = {
82
82
  nw: [-1, -1],
83
83
  n: [0, -1],
84
84
  ne: [1, -1],
@@ -96,11 +96,11 @@ var y = {
96
96
  const n = 180 * Math.atan2(e[1], e[0]) / Math.PI + t;
97
97
  return M[(Math.round(n / 45) % 4 + 4) % 4];
98
98
  }, z = n((e) => {
99
- const { directions: t, rotation: n, isDragging: r = !1, onResizeStart: a, onResize: i, onResizeEnd: d, onResizeCancel: u, context: p = !1, onMoveStart: m, children: h } = e, f = l(null), g = o((e) => {
99
+ const { directions: t, rotation: n, isDragging: r = !1, onResizeStart: l, onResize: i, onResizeEnd: d, onResizeCancel: u, context: p = !1, onMoveStart: m, children: h } = e, f = a(null), g = o((e) => {
100
100
  if (0 !== e.button) return;
101
101
  e.stopPropagation(), e.preventDefault();
102
- const t = y[e.currentTarget.dataset.direction ?? ""];
103
- t && a() && (f.current = {
102
+ const t = C[e.currentTarget.dataset.direction ?? ""];
103
+ t && l() && (f.current = {
104
104
  pointerId: e.pointerId,
105
105
  direction: t,
106
106
  press: {
@@ -108,7 +108,7 @@ var y = {
108
108
  y: e.clientY
109
109
  }
110
110
  }, e.currentTarget.setPointerCapture(e.pointerId));
111
- }, [a]), v = o((e) => {
111
+ }, [l]), v = o((e) => {
112
112
  const t = f.current;
113
113
  t && t.pointerId === e.pointerId && (e.stopPropagation(), i(t.direction, [e.clientX - t.press.x, e.clientY - t.press.y], e.shiftKey));
114
114
  }, [i]), b = o((e) => {
@@ -117,7 +117,7 @@ var y = {
117
117
  }, [d]), w = o((e) => {
118
118
  const t = f.current;
119
119
  t && t.pointerId === e.pointerId && (f.current = null, u());
120
- }, [u]), C = o((e) => {
120
+ }, [u]), x = o((e) => {
121
121
  0 === e.button && (e.stopPropagation(), e.preventDefault(), m?.(e.nativeEvent));
122
122
  }, [m]);
123
123
  return c("div", {
@@ -130,7 +130,7 @@ var y = {
130
130
  h,
131
131
  s("div", { className: "movable-control-outline" }),
132
132
  t.map((e) => {
133
- const t = y[e];
133
+ const t = C[e];
134
134
  return t ? s("div", {
135
135
  className: "movable-control-handle",
136
136
  "data-direction": e,
@@ -147,7 +147,7 @@ var y = {
147
147
  }),
148
148
  m ? s("div", {
149
149
  className: "movable-move-handle",
150
- onPointerDown: C,
150
+ onPointerDown: x,
151
151
  children: s("svg", {
152
152
  viewBox: "0 0 24 24",
153
153
  "aria-hidden": "true",
@@ -158,14 +158,11 @@ var y = {
158
158
  });
159
159
  });
160
160
  z.displayName = "MovableControl";
161
- var P = /* @__PURE__ */ new Map(), B = /* @__PURE__ */ new Map(), S = /* @__PURE__ */ new Map(), j = /* @__PURE__ */ new Set(), k = () => {
162
- for (const e of [...j]) e();
161
+ var P = /* @__PURE__ */ new Map(), B = /* @__PURE__ */ new Map(), k = /* @__PURE__ */ new Map(), S = /* @__PURE__ */ new Set(), j = () => {
162
+ for (const e of [...S]) e();
163
163
  }, I = !1, D = () => {
164
164
  I || (I = !0, function(e) {
165
- e("picture", () => import("./DYosMUJKp-3MSO4q.mjs"), { select: (e) => e.PictureKind }), e("chart", () => import("./chart.mjs"), { select: ({ ChartEditor: e }) => (t) => s(e, {
166
- ...t,
167
- chart: t.movable.getContent()
168
- }) }), e("slicer", () => import("./C_ANM4feA1xV-pri.mjs"), { select: (e) => e.SlicerKind }), e("shape", () => import("./Buw-VKYJy3y5dbaJ.mjs"), {
165
+ e("picture", () => import("./DgGEHydEjD7nfsDB.mjs"), { select: (e) => e.PictureKind }), e("chart", () => import("./sigD1UFqvPlWUw_9.mjs"), { select: (e) => e.ChartKind }), e("slicer", () => import("./gpD-9LDW92phhoma.mjs"), { select: (e) => e.SlicerKind }), e("shape", () => import("./D_pCpfdQowV_4Aje.mjs"), {
169
166
  select: (e) => e.ShapeKind,
170
167
  selectionShadow: !1
171
168
  }), e("group", () => import("./group.mjs"), { select: ({ GroupEditor: e }) => (t) => s(e, {
@@ -177,25 +174,25 @@ var P = /* @__PURE__ */ new Map(), B = /* @__PURE__ */ new Map(), S = /* @__PURE
177
174
  ...o,
178
175
  note: t.movable.getContent()
179
176
  });
180
- } }), e("error", () => import("./Dxbm6ryIDCEi26RO.mjs").then((e) => e.t), { select: ({ ErrorContentFrame: e }) => (t) => s(e, { ...t }) });
177
+ } }), e("error", () => import("./BaRfst1euuhquupX.mjs").then((e) => e.t), { select: ({ ErrorContentFrame: e }) => (t) => s(e, { ...t }) });
181
178
  const t = (t, n) => {
182
179
  e(t, () => import("./control.mjs"), { select: n });
183
180
  };
184
181
  t("button", (e) => e.ButtonRenderer), t("checkBox", (e) => e.CheckBoxRenderer), t("optionButton", (e) => e.OptionButtonRenderer), t("listBox", (e) => e.ListBoxRenderer), t("dropDown", (e) => e.DropDownRenderer), t("scrollBar", (e) => e.ScrollBarRenderer), t("spinner", (e) => e.SpinnerRenderer), t("groupBox", (e) => e.GroupBoxRenderer), t("label", (e) => e.LabelRenderer), t("editBox", (e) => e.UnmodeledControlRenderer), t("dialog", (e) => e.UnmodeledControlRenderer), t("formControl", (e) => e.UnmodeledControlRenderer);
185
182
  }(Y));
186
183
  }, E = (e) => (D(), B.get(e) ?? P.get(e)), N = (e) => {
187
- const { movable: t, fallback: n, children: o } = e, [, l] = a((e) => e + 1, 0), c = t.isContentLoaded();
184
+ const { movable: t, fallback: n, children: o } = e, [, a] = l((e) => e + 1, 0), c = t.isContentLoaded();
188
185
  return r(() => {
189
186
  if (c) return;
190
187
  let e = !0;
191
188
  return t.whenContentLoaded().then(() => {
192
- e && l();
189
+ e && a();
193
190
  }), () => {
194
191
  e = !1;
195
192
  };
196
193
  }, [t, c]), s(i, { children: c ? o : n });
197
194
  }, L = (e) => {
198
- const [, t] = a((e) => e + 1, 0), n = e.module;
195
+ const [, t] = l((e) => e + 1, 0), n = e.module;
199
196
  return r(() => {
200
197
  if (n) return;
201
198
  let o = !0;
@@ -216,17 +213,17 @@ var P = /* @__PURE__ */ new Map(), B = /* @__PURE__ */ new Map(), S = /* @__PURE
216
213
  select: (e) => {
217
214
  const t = n?.select ? n.select(e) : e, o = "object" == typeof (r = t) && null !== r && "renderer" in r ? t : { renderer: t };
218
215
  var r;
219
- return c.module = o, c.control = o.control, c.loaded = !0, k(), o;
216
+ return c.module = o, c.control = o.control, c.loaded = !0, j(), o;
220
217
  },
221
218
  prefetch: !1 !== n?.prefetch && (o ?? !0)
222
219
  });
223
- let a = null;
224
- const l = n?.fallback ?? null, i = (e) => s(N, {
220
+ let l = null;
221
+ const a = n?.fallback ?? null, i = (e) => s(N, {
225
222
  movable: e.movable,
226
- fallback: l,
223
+ fallback: a,
227
224
  children: s(A, {
228
225
  kind: c,
229
- fallback: l,
226
+ fallback: a,
230
227
  props: e
231
228
  })
232
229
  }), c = {
@@ -242,9 +239,9 @@ var P = /* @__PURE__ */ new Map(), B = /* @__PURE__ */ new Map(), S = /* @__PURE
242
239
  return s(t, { ...e });
243
240
  },
244
241
  ownShadow: !1 === n?.selectionShadow,
245
- loadModule: () => (a ??= r.load().then((e) => (a = null, e), (t) => {
246
- throw a = null, console.warn(`The renderer '${e}' could not be loaded; its movables are drawn as the fallback.`, t), t;
247
- }), a),
242
+ loadModule: () => (l ??= r.load().then((e) => (l = null, e), (t) => {
243
+ throw l = null, console.warn(`The renderer '${e}' could not be loaded; its movables are drawn as the fallback.`, t), t;
244
+ }), l),
248
245
  module: void 0,
249
246
  lazyModule: r
250
247
  };
@@ -253,43 +250,43 @@ var P = /* @__PURE__ */ new Map(), B = /* @__PURE__ */ new Map(), S = /* @__PURE
253
250
  function U(e, t, n) {
254
251
  D();
255
252
  const o = K(`movable-renderer:${e}`, t, n);
256
- return B.set(e, o), k(), () => {
257
- B.get(e) === o && (B.delete(e), d.remove(o.lazyModule), k());
253
+ return B.set(e, o), j(), () => {
254
+ B.get(e) === o && (B.delete(e), d.remove(o.lazyModule), j());
258
255
  };
259
256
  }
260
257
  function $(e, t) {
261
258
  let n = null;
262
259
  const o = {
263
260
  load: () => (n ??= t().then((t) => {
264
- o.pane = t, S.get(e) === o && k();
261
+ o.pane = t, k.get(e) === o && j();
265
262
  }, (e) => {
266
263
  throw n = null, e;
267
264
  }), n),
268
265
  pane: void 0
269
266
  };
270
- return S.set(e, o), k(), () => {
271
- S.get(e) === o && (S.delete(e), k());
267
+ return k.set(e, o), j(), () => {
268
+ k.get(e) === o && (k.delete(e), j());
272
269
  };
273
270
  }
274
271
  function F(e) {
275
272
  const t = E(e);
276
273
  if (!t?.module) return;
277
- const n = S.get(e);
274
+ const n = k.get(e);
278
275
  n && !n.pane && n.load().catch(() => {});
279
- const { control: o, commands: r, toolbar: a, pane: l } = t.module;
276
+ const { control: o, commands: r, toolbar: l, pane: a } = t.module;
280
277
  return {
281
278
  type: e,
282
279
  control: o,
283
280
  commands: r,
284
- toolbar: a,
285
- pane: n ? n.pane : l
281
+ toolbar: l,
282
+ pane: n ? n.pane : a
286
283
  };
287
284
  }
288
285
  async function H(e) {
289
286
  const t = E(e);
290
287
  if (t) {
291
288
  try {
292
- await t.loadModule(), await S.get(e)?.load();
289
+ await t.loadModule(), await k.get(e)?.load();
293
290
  } catch {
294
291
  return;
295
292
  }
@@ -297,8 +294,8 @@ async function H(e) {
297
294
  }
298
295
  }
299
296
  function O(e) {
300
- return j.add(e), () => {
301
- j.delete(e);
297
+ return S.add(e), () => {
298
+ S.delete(e);
302
299
  };
303
300
  }
304
301
  function T(e) {
@@ -320,4 +317,4 @@ function Y(e, t, n) {
320
317
  ...n
321
318
  }, () => !B.has(e)));
322
319
  }
323
- export { v as _, X as a, $ as c, z as d, R as f, b as g, g as h, G as i, U as l, x as m, V as n, T as o, C as p, F as r, Y as s, O as t, H as u, f as v };
320
+ export { v as _, X as a, $ as c, z as d, R as f, b as g, g as h, G as i, U as l, y as m, V as n, T as o, x as p, F as r, Y as s, O as t, H as u, f as v };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sheetxl/react",
3
3
  "description": "React - React components needed to build advanced grid and spreadsheet UIs.",
4
- "version": "0.8.0-beta.10",
4
+ "version": "0.8.0-beta.11",
5
5
  "license": "SEE LICENSE IN <LICENSE>",
6
6
  "type": "module",
7
7
  "exports": {
@@ -89,12 +89,13 @@
89
89
  "@dnd-kit/modifiers": "^9.0.0",
90
90
  "@dnd-kit/sortable": "^10.0.0",
91
91
  "@dnd-kit/utilities": "^3.2.2",
92
- "@sheetxl/grid-react": "^0.8.0-beta.10",
93
- "@sheetxl/io": "^0.8.0-beta.10",
94
- "@sheetxl/sdk": "^0.8.0-beta.10",
95
- "@sheetxl/utils": "^0.8.0-beta.10",
96
- "@sheetxl/utils-react": "^0.8.0-beta.10",
92
+ "@sheetxl/grid-react": "^0.8.0-beta.11",
93
+ "@sheetxl/io": "^0.8.0-beta.11",
94
+ "@sheetxl/sdk": "^0.8.0-beta.11",
95
+ "@sheetxl/utils": "^0.8.0-beta.11",
96
+ "@sheetxl/utils-react": "^0.8.0-beta.11",
97
97
  "clsx": "^2.1.1",
98
+ "echarts": "~6.1.0",
98
99
  "react-merge-refs": "^3.0.2",
99
100
  "rooks": "^9.9.0"
100
101
  },
@@ -103,6 +104,7 @@
103
104
  "react-dom": "^19.0.0"
104
105
  },
105
106
  "devDependencies": {
107
+ "@sheetxl/io-xlsx": "^0.8.0-beta.11",
106
108
  "@types/react": "^19.3.0",
107
109
  "@types/react-dom": "^19.3.0"
108
110
  }
@@ -3,6 +3,9 @@
3
3
  {
4
4
  "path": "locales/contents.json"
5
5
  },
6
+ {
7
+ "path": "locales/de/chart.cmd.json"
8
+ },
6
9
  {
7
10
  "path": "locales/de/clipboard.cmd.json"
8
11
  },
@@ -36,6 +39,9 @@
36
39
  {
37
40
  "path": "locales/de/workbook.cmd.json"
38
41
  },
42
+ {
43
+ "path": "locales/en/chart.cmd.json"
44
+ },
39
45
  {
40
46
  "path": "locales/en/clipboard.cmd.json"
41
47
  },
@@ -2,6 +2,13 @@
2
2
  "kind": "locales",
3
3
  "package": "@sheetxl/react",
4
4
  "entries": [
5
+ {
6
+ "path": "de/chart.cmd.json",
7
+ "locale": "de",
8
+ "role": "catalog",
9
+ "scope": "chart",
10
+ "sourceId": "chart"
11
+ },
5
12
  {
6
13
  "path": "de/clipboard.cmd.json",
7
14
  "locale": "de",
@@ -77,6 +84,13 @@
77
84
  "scope": "workbook",
78
85
  "sourceId": "workbook"
79
86
  },
87
+ {
88
+ "path": "en/chart.cmd.json",
89
+ "locale": "en",
90
+ "role": "catalog",
91
+ "scope": "chart",
92
+ "sourceId": "chart"
93
+ },
80
94
  {
81
95
  "path": "en/clipboard.cmd.json",
82
96
  "locale": "en",
@@ -0,0 +1,82 @@
1
+ {
2
+ "$schema": "../../../utils-react/command-catalog.schema.json",
3
+ "scope": "chart",
4
+ "label": "Diagramm",
5
+ "tag": "de",
6
+ "version": 1,
7
+ "commands": {
8
+ "chartChangeType": {
9
+ "label": "Diagrammtyp ändern",
10
+ "description": "Jede Datenreihe als einen anderen Diagrammtyp zeichnen.",
11
+ "tags": [
12
+ "mutator"
13
+ ]
14
+ },
15
+ "chartSwitchRowColumn": {
16
+ "label": "Zeile/Spalte wechseln",
17
+ "description": "Die Zeilen der Daten statt der Spalten als Datenreihen darstellen, oder umgekehrt.",
18
+ "tags": [
19
+ "mutator"
20
+ ]
21
+ },
22
+ "chartSelectData": {
23
+ "label": "Daten auswählen",
24
+ "description": "Die Zellen ändern, die das Diagramm darstellt.",
25
+ "groupLabels": {
26
+ "contextMenu": "Daten auswählen…"
27
+ },
28
+ "tags": [
29
+ "mutator"
30
+ ]
31
+ },
32
+ "chartAddElement": {
33
+ "label": "Diagrammelement hinzufügen",
34
+ "description": "Titel, Legende, Datenbeschriftungen, Datentabelle, Gitternetzlinien, Achsentitel, Trendlinien, Fehlerindikatoren, Linien oder Auf-/Abwärtsbalken hinzufügen, verschieben oder entfernen.",
35
+ "tags": [
36
+ "mutator"
37
+ ]
38
+ },
39
+ "chartTitleToggle": {
40
+ "label": "Diagrammtitel",
41
+ "description": "Den Diagrammtitel über dem Diagramm anzeigen oder entfernen.",
42
+ "tags": [
43
+ "mutator"
44
+ ]
45
+ },
46
+ "chartLegendToggle": {
47
+ "label": "Legende",
48
+ "description": "Die Legende rechts anzeigen oder entfernen.",
49
+ "tags": [
50
+ "mutator"
51
+ ]
52
+ },
53
+ "chartDataLabelsToggle": {
54
+ "label": "Datenbeschriftungen",
55
+ "description": "Jeden Punkt mit seinem Wert beschriften oder die Beschriftungen entfernen.",
56
+ "tags": [
57
+ "mutator"
58
+ ]
59
+ },
60
+ "chartDataTableToggle": {
61
+ "label": "Datentabelle",
62
+ "description": "Die dargestellten Werte in einer Tabelle unter dem Diagramm anzeigen oder entfernen.",
63
+ "tags": [
64
+ "mutator"
65
+ ]
66
+ },
67
+ "chartGridlinesToggle": {
68
+ "label": "Gitternetzlinien",
69
+ "description": "Die Hauptgitternetzlinien der Größenachse anzeigen oder entfernen.",
70
+ "tags": [
71
+ "mutator"
72
+ ]
73
+ },
74
+ "chartAxisTitlesToggle": {
75
+ "label": "Achsentitel",
76
+ "description": "Auf jeder Primärachse einen Titel anzeigen oder die Titel entfernen.",
77
+ "tags": [
78
+ "mutator"
79
+ ]
80
+ }
81
+ }
82
+ }
@@ -1052,6 +1052,17 @@
1052
1052
  "mutator"
1053
1053
  ]
1054
1054
  },
1055
+ "insertChart": {
1056
+ "label": "Diagramm einfügen",
1057
+ "description": "Ein Diagramm der ausgewählten Zellen einfügen.",
1058
+ "groupLabels": {
1059
+ "contextMenu": "Diagramm einfügen…"
1060
+ },
1061
+ "shortcut": "alt+F1",
1062
+ "tags": [
1063
+ "mutator"
1064
+ ]
1065
+ },
1055
1066
  "sheetBackgroundToggle": {
1056
1067
  "label": "Blatthintergrund umschalten",
1057
1068
  "description": "Das Bild, das hinter den Zellen des Blattes gekachelt wird, hinzufügen oder entfernen.",