@sheetxl/react 0.7.28-beta.4 → 0.8.0-beta.10

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 (245) hide show
  1. package/browser/esm/BHjeSMaycUkS5dVL.mjs +66 -0
  2. package/browser/esm/BZcQ-KYwS62Ut45c.mjs +20 -0
  3. package/browser/esm/Bow9CzRJrYxak2i5.mjs +318 -0
  4. package/browser/esm/BuvXl14hs-1CvjeA.mjs +2706 -0
  5. package/browser/esm/BwRduT8FTrk5n72r.mjs +32 -0
  6. package/browser/esm/C6urN77szrYwODXF.mjs +134 -0
  7. package/browser/esm/CYMRbtPIr6SklGpp.mjs +775 -0
  8. package/browser/esm/CYoUd5KIl7W3AsxH.mjs +196 -0
  9. package/browser/esm/Cfe0kofqVKGxLqO6.mjs +31 -0
  10. package/browser/esm/CiRN-woJZWYOgTn4.mjs +36 -0
  11. package/browser/esm/Dd-ZybXAgoq9pgGv.mjs +45 -0
  12. package/browser/esm/DjiBz4H74I6nPUY6.mjs +79 -0
  13. package/browser/esm/DyU9UInRnfkPYYlR.mjs +63 -0
  14. package/browser/esm/J8cPagZBeXz86Lnd.mjs +777 -0
  15. package/browser/esm/Sp6PJavGKpF8SJzA.mjs +75 -0
  16. package/browser/esm/cYjYjqEsyd63x8t4.mjs +67 -0
  17. package/browser/esm/chart.mjs +60 -0
  18. package/browser/esm/control.mjs +216 -0
  19. package/browser/esm/group.mjs +123 -0
  20. package/browser/esm/index.mjs +14122 -8944
  21. package/browser/esm/note.mjs +86 -0
  22. package/browser/esm/picture.mjs +86 -0
  23. package/{node/esm/Ban9guHVB-Vxa-tq.mjs → browser/esm/shape.mjs} +2 -4
  24. package/browser/esm/slicer.mjs +276 -0
  25. package/licenses/dependencies.txt +6 -599
  26. package/node/esm/BJ7ZZm63j5O6cvrB.mjs +134 -0
  27. package/node/esm/BfRn5S5V4X8xIAEa.mjs +20 -0
  28. package/node/esm/BpwE3HqTnrLLzE3C.mjs +775 -0
  29. package/node/esm/Buw-VKYJy3y5dbaJ.mjs +197 -0
  30. package/node/esm/CFFlJxNwgyInjEnh.mjs +45 -0
  31. package/node/esm/CM5BT7h-hMtST2bE.mjs +2706 -0
  32. package/node/esm/CV3bT3Hql74GcHoU.mjs +37 -0
  33. package/node/esm/C_ANM4feA1xV-pri.mjs +32 -0
  34. package/node/esm/D3YXHeOyFp00Xk3m.mjs +323 -0
  35. package/node/esm/DPN0n6MGYQ9vZ2KO.mjs +80 -0
  36. package/node/esm/DYosMUJKp-3MSO4q.mjs +76 -0
  37. package/node/esm/DhSq680c5tgMFFbj.mjs +68 -0
  38. package/node/esm/Dxbm6ryIDCEi26RO.mjs +66 -0
  39. package/node/esm/GkmuxU7OwRZtm2Rf.mjs +63 -0
  40. package/node/esm/chart.mjs +60 -0
  41. package/node/esm/control.mjs +216 -0
  42. package/node/esm/group.mjs +123 -0
  43. package/node/esm/index.mjs +16649 -11320
  44. package/node/esm/note.mjs +87 -0
  45. package/node/esm/picture.mjs +86 -0
  46. package/node/esm/shape.mjs +783 -0
  47. package/node/esm/slicer.mjs +278 -0
  48. package/package.json +53 -14
  49. package/resources/contents.json +18 -0
  50. package/resources/locales/contents.json +42 -0
  51. package/resources/locales/de/movable.cmd.json +154 -0
  52. package/resources/locales/de/picture.cmd.json +31 -0
  53. package/resources/locales/de/selection.cmd.json +8 -0
  54. package/resources/locales/de/shape.cmd.json +17 -0
  55. package/resources/locales/de/sheet.cmd.json +328 -21
  56. package/resources/locales/de/slicer.cmd.json +17 -0
  57. package/resources/locales/de/table.cmd.json +9 -1
  58. package/resources/locales/de/ui.msg.json +309 -3
  59. package/resources/locales/de/workbook.cmd.json +10 -6
  60. package/resources/locales/en/movable.cmd.json +154 -0
  61. package/resources/locales/en/picture.cmd.json +31 -0
  62. package/resources/locales/en/selection.cmd.json +8 -0
  63. package/resources/locales/en/shape.cmd.json +17 -0
  64. package/resources/locales/en/sheet.cmd.json +342 -22
  65. package/resources/locales/en/slicer.cmd.json +17 -0
  66. package/resources/locales/en/table.cmd.json +9 -1
  67. package/resources/locales/en/ui.msg.json +309 -3
  68. package/resources/locales/en/workbook.cmd.json +11 -7
  69. package/types/chart.d.ts +2 -0
  70. package/types/control.d.ts +2 -0
  71. package/types/group.d.ts +2 -0
  72. package/types/note.d.ts +2 -0
  73. package/types/picture.d.ts +2 -0
  74. package/types/shape.d.ts +2 -0
  75. package/types/slicer.d.ts +2 -0
  76. package/types/src/annotation/RangeAnnotations.d.ts +119 -0
  77. package/types/src/annotation/index.d.ts +2 -0
  78. package/types/src/autoFill/AutoFillPresets.d.ts +14 -0
  79. package/types/src/autoFill/FillMenu.d.ts +36 -0
  80. package/types/src/autoFill/FillSeries.d.ts +38 -0
  81. package/types/src/autoFill/index.d.ts +4 -0
  82. package/types/src/border/StaticBorderRenderer.d.ts +2 -2
  83. package/types/src/border/useBorders.d.ts +7 -7
  84. package/types/src/cell/CornerTriangle.d.ts +6 -0
  85. package/types/src/cell/FormulaCellRenderer.d.ts +1 -1
  86. package/types/src/cell/OutlineButton.d.ts +123 -0
  87. package/types/src/cell/SheetCellRenderer.d.ts +17 -2
  88. package/types/src/cell/SheetHeaderRenderer.d.ts +5 -0
  89. package/types/src/cell/StaticCellRenderer.d.ts +57 -0
  90. package/types/src/cell/index.d.ts +2 -0
  91. package/types/src/cell/useFormulaViewAnchor.d.ts +1 -1
  92. package/types/src/chart/index.d.ts +0 -1
  93. package/types/src/checklist/ValueChecklist.d.ts +112 -0
  94. package/types/src/checklist/index.d.ts +2 -0
  95. package/types/src/commands/ContextualToolbar.d.ts +19 -0
  96. package/types/src/commands/createTransactionalMiddleware.d.ts +4 -1
  97. package/types/src/commands/index.d.ts +1 -0
  98. package/types/src/comment/CommentCardRequest.d.ts +94 -0
  99. package/types/src/comment/CommentUtils.d.ts +43 -0
  100. package/types/src/comment/NoteEditor.d.ts +20 -0
  101. package/types/src/comment/index.d.ts +5 -0
  102. package/types/src/comment/useCommentThread.d.ts +37 -0
  103. package/types/src/comment/useSheetComments.d.ts +28 -0
  104. package/types/src/{sheet → conditionalFormat}/ConditionalFormatPresets.d.ts +6 -6
  105. package/types/src/conditionalFormat/index.d.ts +1 -0
  106. package/types/src/control/FormControlRenderers.d.ts +22 -0
  107. package/types/src/editor/FunctionPreviewPanel.d.ts +15 -1
  108. package/types/src/editor/NamedItemLabel.d.ts +29 -0
  109. package/types/src/editor/NamedItemsPanel.d.ts +13 -2
  110. package/types/src/editor/SheetCellEditorLayer.d.ts +3 -7
  111. package/types/src/editor/SheetCellEditorStartLayer.d.ts +44 -0
  112. package/types/src/editor/SheetCellInput.d.ts +26 -2
  113. package/types/src/editor/SheetEditable.d.ts +8 -2
  114. package/types/src/editor/formulaCaret.d.ts +39 -10
  115. package/types/src/editor/formulaEval.d.ts +9 -5
  116. package/types/src/editor/formulaLint.d.ts +36 -0
  117. package/types/src/editor/formulaPresentation.d.ts +7 -0
  118. package/types/src/editor/formulaText.d.ts +17 -5
  119. package/types/src/editor/functionArgs.d.ts +20 -0
  120. package/types/src/editor/index.d.ts +4 -1
  121. package/types/src/editor/pickedReference.d.ts +76 -0
  122. package/types/src/editor/useEditRejectedNotice.d.ts +32 -0
  123. package/types/src/editor/useFormulaHints.d.ts +93 -3
  124. package/types/src/editor/useFormulaInput.d.ts +30 -4
  125. package/types/src/editor/useReferenceMode.d.ts +12 -0
  126. package/types/src/editor/validationAlert.d.ts +24 -0
  127. package/types/src/externalLink/ExternalLinksPaneArgs.d.ts +23 -0
  128. package/types/src/externalLink/index.d.ts +2 -0
  129. package/types/src/form/FormulaInput.d.ts +18 -2
  130. package/types/src/form/FormulaInputParts.d.ts +10 -1
  131. package/types/src/form/useEditCommit.d.ts +23 -3
  132. package/types/src/form/useInputField.d.ts +2 -3
  133. package/types/src/frame/CommandContext.d.ts +188 -6
  134. package/types/src/group/GroupEditor.d.ts +25 -0
  135. package/types/src/index.d.ts +12 -1
  136. package/types/src/io/WorkbookIO.d.ts +2 -0
  137. package/types/src/layer/CellErrorLayer.d.ts +24 -7
  138. package/types/src/layer/CommentCardLayer.d.ts +43 -0
  139. package/types/src/layer/CommentsLayer.d.ts +35 -0
  140. package/types/src/layer/ConditionalIcons.d.ts +4 -4
  141. package/types/src/layer/FreezeDragLines.d.ts +17 -0
  142. package/types/src/layer/GridFreezeLayer.d.ts +11 -0
  143. package/types/src/layer/HeaderFreezeLayer.d.ts +12 -0
  144. package/types/src/layer/HeaderResizerLayer.d.ts +2 -1
  145. package/types/src/layer/HyperlinkLayer.d.ts +109 -0
  146. package/types/src/layer/MovableKindScope.d.ts +17 -0
  147. package/types/src/layer/ProtectionLayer.d.ts +52 -0
  148. package/types/src/layer/RangeAnnotationLayer.d.ts +71 -0
  149. package/types/src/layer/ResizeIndicator.d.ts +9 -8
  150. package/types/src/layer/ResizeTooltip.d.ts +13 -0
  151. package/types/src/layer/SheetHeaderCellLayer.d.ts +10 -1
  152. package/types/src/layer/SheetOutlineLayer.d.ts +40 -0
  153. package/types/src/layer/TableLayer.d.ts +5 -4
  154. package/types/src/layer/TableToolbar.d.ts +42 -0
  155. package/types/src/layer/ValidationDropdownLayer.d.ts +61 -0
  156. package/types/src/layer/ValidationIndicatorLayer.d.ts +14 -21
  157. package/types/src/layer/ValidationPromptLayer.d.ts +64 -0
  158. package/types/src/layer/_tableColor.d.ts +4 -0
  159. package/types/src/layer/cellTip.d.ts +13 -0
  160. package/types/src/layer/freezeDragState.d.ts +21 -0
  161. package/types/src/layer/index.d.ts +14 -0
  162. package/types/src/layer/resizeIndicatorState.d.ts +3 -1
  163. package/types/src/layer/useFreezeDrag.d.ts +22 -0
  164. package/types/src/layer/useValidationPicker.d.ts +54 -0
  165. package/types/src/layer/validationMark.d.ts +63 -0
  166. package/types/src/listener/useModelListener.d.ts +4 -4
  167. package/types/src/movable/ConnectionSites.d.ts +18 -0
  168. package/types/src/movable/IMovableArea.d.ts +56 -0
  169. package/types/src/movable/MovableAdornment.d.ts +26 -0
  170. package/types/src/movable/MovableCommandGroups.d.ts +40 -0
  171. package/types/src/movable/MovableCommands.d.ts +6 -1
  172. package/types/src/movable/MovableControl.d.ts +78 -0
  173. package/types/src/movable/MovableEdit.d.ts +22 -0
  174. package/types/src/movable/MovableFrame.d.ts +16 -13
  175. package/types/src/movable/MovableLayer.d.ts +25 -7
  176. package/types/src/movable/MovableRenderers.d.ts +210 -0
  177. package/types/src/movable/PlaceholderFrames.d.ts +11 -0
  178. package/types/src/movable/RotateHandle.d.ts +37 -0
  179. package/types/src/movable/TextBox.d.ts +34 -0
  180. package/types/src/movable/connect.d.ts +16 -0
  181. package/types/src/movable/framePlacement.d.ts +72 -0
  182. package/types/src/movable/geometry.d.ts +61 -0
  183. package/types/src/movable/index.d.ts +10 -0
  184. package/types/src/movable/pressTarget.d.ts +20 -0
  185. package/types/src/picker/PickerPanel.d.ts +52 -0
  186. package/types/src/picker/cellPickerOpen.d.ts +6 -0
  187. package/types/src/picker/index.d.ts +4 -0
  188. package/types/src/picker/useCellPicker.d.ts +95 -0
  189. package/types/src/picture/PictureCommands.d.ts +12 -0
  190. package/types/src/picture/PictureKind.d.ts +7 -0
  191. package/types/src/picture/index.d.ts +0 -1
  192. package/types/src/protection/ProtectionPaneArgs.d.ts +31 -0
  193. package/types/src/protection/index.d.ts +3 -0
  194. package/types/src/protection/unlockProtectedRanges.d.ts +23 -0
  195. package/types/src/richText/RichTextEditor.d.ts +41 -0
  196. package/types/src/richText/index.d.ts +2 -0
  197. package/types/src/selection/SheetSelectionLayer.d.ts +14 -10
  198. package/types/src/shape/ConnectorControl.d.ts +46 -0
  199. package/types/src/shape/ShapeCommands.d.ts +11 -0
  200. package/types/src/shape/ShapeControl.d.ts +8 -0
  201. package/types/src/shape/ShapeEditor.d.ts +15 -2
  202. package/types/src/shape/ShapeGallery.d.ts +31 -0
  203. package/types/src/shape/ShapeHandles.d.ts +28 -0
  204. package/types/src/shape/ShapeKind.d.ts +7 -0
  205. package/types/src/shape/ShapeSVG.d.ts +22 -0
  206. package/types/src/shape/ShapeText.d.ts +17 -0
  207. package/types/src/shape/icons/ShapeIcons.d.ts +16 -0
  208. package/types/src/shape/icons/_ShapeIconPack.d.ts +4 -0
  209. package/types/src/shape/index.d.ts +3 -1
  210. package/types/src/shape/shapeFrame.d.ts +50 -0
  211. package/types/src/shape/shapeStyle.d.ts +82 -0
  212. package/types/src/sheet/ISheetElement.d.ts +62 -65
  213. package/types/src/sheet/SheetCommandProvider.d.ts +9 -4
  214. package/types/src/sheet/SheetCommands.d.ts +21 -6
  215. package/types/src/sheet/SheetOutlineElement.d.ts +70 -0
  216. package/types/src/sheet/SheetScrollbar.d.ts +1 -10
  217. package/types/src/sheet/_freezeAt.d.ts +10 -0
  218. package/types/src/sheet/_useHeaderMetrics.d.ts +11 -0
  219. package/types/src/sheet/circularReferences.d.ts +9 -1
  220. package/types/src/sheet/index.d.ts +1 -1
  221. package/types/src/sheet/useCycleHighlight.d.ts +21 -0
  222. package/types/src/slicer/SlicerCommands.d.ts +10 -0
  223. package/types/src/slicer/SlicerEditor.d.ts +8 -2
  224. package/types/src/slicer/SlicerKind.d.ts +7 -0
  225. package/types/src/slicer/SlicerStylePreview.d.ts +18 -0
  226. package/types/src/slicer/index.d.ts +2 -1
  227. package/types/src/slicer/slicerStyles.d.ts +32 -0
  228. package/types/src/tabStrip/TabStrip.d.ts +7 -0
  229. package/types/src/taskPane/ITaskPane.d.ts +12 -1
  230. package/types/src/taskPane/MovablePane.d.ts +17 -0
  231. package/types/src/taskPane/index.d.ts +1 -0
  232. package/types/src/theme/ThemeState.d.ts +14 -1
  233. package/types/src/theme/useGridColorScheme.d.ts +1 -1
  234. package/types/src/workbook/DefaultMovableRenderers.d.ts +20 -0
  235. package/types/src/workbook/IWorkbookElement.d.ts +24 -0
  236. package/types/src/workbook/WorkbookCommands.d.ts +2 -4
  237. package/types/src/workbook/WorkbookStrip.d.ts +9 -0
  238. package/types/src/workbook/_followOrigin.d.ts +9 -0
  239. package/types/src/workbook/useWorkbookFormat.d.ts +3 -3
  240. package/browser/cjs/Bo9Kx3L_XQkGPBJ5.cjs +0 -1
  241. package/browser/cjs/Pl04-kDEQSO8_qFU.cjs +0 -156
  242. package/browser/cjs/index.cjs +0 -35
  243. package/browser/esm/BdJpSdwyWuh-Te5p.mjs +0 -6286
  244. package/types/src/editor/useProtectedEditNotice.d.ts +0 -14
  245. package/types/src/movable/MoveableBundle.d.ts +0 -4
@@ -0,0 +1,31 @@
1
+ {
2
+ "$schema": "../../../utils-react/command-catalog.schema.json",
3
+ "scope": "picture",
4
+ "label": "Picture",
5
+ "tag": "en",
6
+ "version": 1,
7
+ "commands": {
8
+ "changePictureFromFile": {
9
+ "label": "Change Picture",
10
+ "description": "Show another picture from your device in the same frame, keeping its size and formatting.",
11
+ "groupLabels": {
12
+ "changePictureOptions": "From Device…"
13
+ },
14
+ "icon": "InsertImage",
15
+ "tags": [
16
+ "mutator"
17
+ ]
18
+ },
19
+ "changePictureFromURL": {
20
+ "label": "Change Picture From Web",
21
+ "description": "Show another picture from the web in the same frame, keeping its size and formatting.",
22
+ "groupLabels": {
23
+ "changePictureOptions": "From the Web…"
24
+ },
25
+ "icon": "InsertImage",
26
+ "tags": [
27
+ "mutator"
28
+ ]
29
+ }
30
+ }
31
+ }
@@ -69,6 +69,14 @@
69
69
  "selection"
70
70
  ]
71
71
  },
72
+ "selectArray": {
73
+ "label": "Select Array",
74
+ "description": "Select the whole spilled or array-entered block containing the active cell.",
75
+ "shortcut": "ctrl+shift+?",
76
+ "tags": [
77
+ "selection"
78
+ ]
79
+ },
72
80
  "selectColumn": {
73
81
  "label": "Select Column",
74
82
  "description": "Select the columns for the selected cells.",
@@ -0,0 +1,17 @@
1
+ {
2
+ "$schema": "../../../utils-react/command-catalog.schema.json",
3
+ "scope": "shape",
4
+ "label": "Shape",
5
+ "tag": "en",
6
+ "version": 1,
7
+ "commands": {
8
+ "changeShape": {
9
+ "label": "Change Shape",
10
+ "description": "Change the selected shape to another one, keeping its text and formatting.",
11
+ "icon": "shape:Shapes",
12
+ "tags": [
13
+ "mutator"
14
+ ]
15
+ }
16
+ }
17
+ }
@@ -200,6 +200,50 @@
200
200
  "locked": false
201
201
  }
202
202
  },
203
+ "protectionSheetPause": {
204
+ "label": "{paused, select, true{Resume Protection} other{Pause Protection}}",
205
+ "description": "Temporarily lift protection on this sheet without unprotecting it.\nAsks for the sheet password, if there is one. It applies to this session only and is never saved with the file.",
206
+ "groupLabels": {
207
+ "protectionOptions": "{paused, select, true{Resume Protection} other{Pause Protection}}"
208
+ },
209
+ "icon": "LockOpen",
210
+ "params": {
211
+ "paused": false
212
+ }
213
+ },
214
+ "protectionSheetProtectOrPause": {
215
+ "label": "{state, select, paused{Resume Protection} locked{Pause Protection} other{Protect Sheet}}",
216
+ "description": "Protect the sheet, or pause protection on a protected one.\nNever unprotects: pausing keeps the password and options, and applies to this session only.",
217
+ "icon": "Lock",
218
+ "params": {
219
+ "state": "none"
220
+ }
221
+ },
222
+ "protectionHighlight": {
223
+ "label": "Highlight Locked Cells",
224
+ "description": "Shade the cells sheet protection locks, leaving the ranges that stay editable clear.\nA view setting: it changes nothing in the workbook, and works whether or not the sheet is protected.",
225
+ "groupLabels": {
226
+ "protectionOptions": "Highlight Locked Cells"
227
+ }
228
+ },
229
+ "manageProtection": {
230
+ "label": "Manage Protection",
231
+ "description": "Sheet protection and its options, the ranges that stay editable, and workbook protection - in one place.",
232
+ "groupLabels": {
233
+ "protectionOptions": "Manage Protection…",
234
+ "sheetTabMenu": "Manage Protection…",
235
+ "contextMenu": "Manage Protection…"
236
+ },
237
+ "icon": "Lock"
238
+ },
239
+ "protectionUnlockRange": {
240
+ "label": "Unlock Range…",
241
+ "description": "Let the selected cells stay editable while the rest of the sheet is protected.",
242
+ "groupLabels": {
243
+ "protectionOptions": "Unlock Range…"
244
+ },
245
+ "icon": "LockRange"
246
+ },
203
247
  "formatSheetTabColor": {
204
248
  "label": "Tab Color",
205
249
  "description": "Color the tab to help differentiate for other sheets.",
@@ -529,17 +573,34 @@
529
573
  "mutator"
530
574
  ]
531
575
  },
532
- "formatNumberDialog": {
533
- "label": "Custom Number Format",
534
- "description": "Create a custom number format.",
576
+ "formatCells": {
577
+ "label": "Format Cells",
578
+ "description": "Open the Format Cells pane — number, alignment, font, fill and borders.",
579
+ "icon": "CellsFormat",
535
580
  "groupLabels": {
536
- "numberFormatOptions": "Custom"
537
- },
581
+ "numberFormatOptions": "More Number Formats…",
582
+ "cellsFormatOptions": "Format Cells…",
583
+ "contextMenu": "Format Cells…"
584
+ }
585
+ },
586
+ "formatCellsNumber": {
587
+ "label": "Format Cells: Number",
588
+ "description": "Open the Format Cells pane on the Number tab.",
589
+ "icon": "CellsFormat",
538
590
  "shortcut": [
539
591
  "ctrl+1",
540
592
  "ctrl+alt+1"
541
593
  ]
542
594
  },
595
+ "formatCellsFont": {
596
+ "label": "Format Cells: Font",
597
+ "description": "Open the Format Cells pane on the Font tab.",
598
+ "icon": "CellsFormat",
599
+ "shortcut": [
600
+ "ctrl+shift+F",
601
+ "ctrl+alt+F"
602
+ ]
603
+ },
543
604
  "formatNumberFormat": {
544
605
  "label": "Number Format",
545
606
  "description": "Choose the format for your cells, such as percentage, currency, date or time.",
@@ -695,6 +756,111 @@
695
756
  "mutator"
696
757
  ]
697
758
  },
759
+ "group": {
760
+ "label": "{span, select, columns{Group Columns} rows{Group Rows} other{Group}}",
761
+ "description": "Group the selected rows or columns, or both for a cell selection, so they can be collapsed and expanded together.",
762
+ "icon": "Group",
763
+ "tags": [
764
+ "mutator"
765
+ ],
766
+ "params": {
767
+ "span": "both"
768
+ }
769
+ },
770
+ "groupRows": {
771
+ "label": "Group Rows",
772
+ "description": "Group the selected rows so they can be collapsed and expanded together.",
773
+ "shortcut": "alt+shift+ArrowDown",
774
+ "tags": [
775
+ "mutator"
776
+ ]
777
+ },
778
+ "groupColumns": {
779
+ "label": "Group Columns",
780
+ "description": "Group the selected columns so they can be collapsed and expanded together.",
781
+ "tags": [
782
+ "mutator"
783
+ ],
784
+ "shortcut": "alt+shift+ArrowRight"
785
+ },
786
+ "ungroup": {
787
+ "label": "{span, select, columns{Ungroup Columns} rows{Ungroup Rows} other{Ungroup}}",
788
+ "description": "Remove the selected rows or columns, or both for a cell selection, from their group.",
789
+ "icon": "Ungroup",
790
+ "tags": [
791
+ "mutator"
792
+ ],
793
+ "params": {
794
+ "span": "both"
795
+ }
796
+ },
797
+ "ungroupRows": {
798
+ "label": "Ungroup Rows",
799
+ "description": "Remove the selected rows from their group.",
800
+ "shortcut": "alt+shift+ArrowUp",
801
+ "tags": [
802
+ "mutator"
803
+ ]
804
+ },
805
+ "ungroupColumns": {
806
+ "label": "Ungroup Columns",
807
+ "description": "Remove the selected columns from their group.",
808
+ "tags": [
809
+ "mutator"
810
+ ],
811
+ "shortcut": "alt+shift+ArrowLeft"
812
+ },
813
+ "showDetail": {
814
+ "label": "Show Detail",
815
+ "description": "Expand the group at the selection.",
816
+ "icon": "OutlineShowDetail",
817
+ "tags": [
818
+ "mutator"
819
+ ]
820
+ },
821
+ "hideDetail": {
822
+ "label": "Hide Detail",
823
+ "description": "Collapse the group at the selection.",
824
+ "icon": "OutlineHideDetail",
825
+ "tags": [
826
+ "mutator"
827
+ ]
828
+ },
829
+ "outlineToggleGroup": {
830
+ "label": "Collapse or Expand Group",
831
+ "description": "Collapse or expand one group from its button in the outline gutter.",
832
+ "tags": [
833
+ "mutator"
834
+ ]
835
+ },
836
+ "outlineShowLevel": {
837
+ "label": "Show Outline Level",
838
+ "description": "Show the groups down to a level and collapse the rest.",
839
+ "tags": [
840
+ "mutator"
841
+ ]
842
+ },
843
+ "clearOutline": {
844
+ "label": "Clear Outline",
845
+ "description": "Remove the selected rows and columns from every group.",
846
+ "tags": [
847
+ "mutator"
848
+ ]
849
+ },
850
+ "autoOutline": {
851
+ "label": "Auto Outline",
852
+ "description": "Group the rows and columns from the sheet's formulas: each total becomes a summary of the cells it adds up.",
853
+ "tags": [
854
+ "mutator"
855
+ ]
856
+ },
857
+ "outlineSettings": {
858
+ "label": "Outline Settings…",
859
+ "description": "Choose where summary rows and columns sit, and whether the outline styles apply.",
860
+ "tags": [
861
+ "mutator"
862
+ ]
863
+ },
698
864
  "calculate": {
699
865
  "label": "Calculate Sheet",
700
866
  "description": "Recalculate the formulas on the current sheet.",
@@ -756,6 +922,10 @@
756
922
  "label": "Zoom 25%",
757
923
  "description": "Zoom document to 25%."
758
924
  },
925
+ "sheetZoomSelection": {
926
+ "label": "Zoom to Selection",
927
+ "description": "Zoom so the selected range fills the window."
928
+ },
759
929
  "sheetZoomCustom": {
760
930
  "label": "Custom Zoom",
761
931
  "description": "Zoom document to a custom scale.",
@@ -801,33 +971,68 @@
801
971
  },
802
972
  "icon": "HyperlinkDelete"
803
973
  },
804
- "insertNote": {
805
- "label": "Insert Note",
806
- "description": "Add a note to the cell.",
807
- "groupLabels": {
808
- "contextMenu": "Insert Note…"
974
+ "editNote": {
975
+ "label": "{note, select, yes{Edit Note} other{Insert Note}}",
976
+ "description": "Add a note to the cell, or edit the one it has.",
977
+ "icon": "NoteInsert",
978
+ "shortcut": "shift+F2",
979
+ "params": {
980
+ "note": "no"
809
981
  },
810
- "shortcut": "shift+F2"
982
+ "groupLabels": {
983
+ "contextMenu": "{note, select, yes{Edit Note} other{Insert Note…}}",
984
+ "noteOptions": "Edit"
985
+ }
986
+ },
987
+ "showHideNote": {
988
+ "label": "Show Note",
989
+ "description": "Keep the note on the sheet. Otherwise it shows only while its cell is pointed at.",
990
+ "groupLabels": {
991
+ "noteOptions": "Show"
992
+ }
993
+ },
994
+ "showAllNotes": {
995
+ "label": "Show All Notes",
996
+ "description": "Keep every note on the sheet. When every note is already shown, hide them all."
811
997
  },
812
998
  "updateComments": {
813
- "label": "Comments",
814
- "description": "Add a comment to the current cell.",
999
+ "label": "{thread, select, yes{Show Comment} other{Insert Comment}}",
1000
+ "description": "Add a comment to the cell, or reply to the one it has.",
815
1001
  "groupLabels": {
816
- "contextMenu": "Insert Comments…"
1002
+ "contextMenu": "{thread, select, yes{Show Comment} other{Insert Comment…}}"
817
1003
  },
818
1004
  "icon": "CommentInsert",
819
1005
  "shortcut": "ctrl+alt+M",
820
- "tags": [
821
- "mutator"
822
- ]
1006
+ "params": {
1007
+ "thread": "no"
1008
+ }
823
1009
  },
824
1010
  "deleteComments": {
825
1011
  "label": "Delete Comments",
826
1012
  "description": "Remove any comments.",
827
1013
  "icon": "CommentDelete",
828
- "tags": [
829
- "mutator"
830
- ]
1014
+ "groupLabels": {
1015
+ "noteOptions": "Delete"
1016
+ }
1017
+ },
1018
+ "previousComment": {
1019
+ "label": "Previous Comment",
1020
+ "description": "Go to the comment before the selected cell.",
1021
+ "icon": "ArrowBack"
1022
+ },
1023
+ "nextComment": {
1024
+ "label": "Next Comment",
1025
+ "description": "Go to the comment after the selected cell.",
1026
+ "icon": "ArrowForward"
1027
+ },
1028
+ "showCommentsPane": {
1029
+ "label": "Show Comments",
1030
+ "description": "List every comment on the sheet in a pane.",
1031
+ "icon": "CommentEdit"
1032
+ },
1033
+ "convertNotesToComments": {
1034
+ "label": "Convert to Comments",
1035
+ "description": "Convert every note on the sheet to a comment that can be replied to."
831
1036
  },
832
1037
  "insertImageFromFile": {
833
1038
  "label": "Insert Image",
@@ -852,14 +1057,115 @@
852
1057
  "mutator"
853
1058
  ]
854
1059
  },
1060
+ "insertShape": {
1061
+ "label": "Shapes",
1062
+ "description": "Insert a ready-made shape, such as a rectangle, an arrow, a callout or a flowchart symbol.",
1063
+ "icon": "shape:Shapes",
1064
+ "tags": [
1065
+ "mutator"
1066
+ ]
1067
+ },
1068
+ "sheetBackgroundToggle": {
1069
+ "label": "Toggle Sheet Background",
1070
+ "description": "Add or remove the picture that is tiled behind the sheet's cells.",
1071
+ "icon": "BackgroundImage",
1072
+ "tags": [
1073
+ "mutator"
1074
+ ]
1075
+ },
1076
+ "sheetBackgroundFromFile": {
1077
+ "label": "Sheet Background From Device",
1078
+ "description": "Use a picture from your device as the sheet's background.",
1079
+ "groupLabels": {
1080
+ "sheetBackgroundOptions": "From Device…"
1081
+ },
1082
+ "icon": "BackgroundImage",
1083
+ "tags": [
1084
+ "mutator"
1085
+ ]
1086
+ },
1087
+ "sheetBackgroundFromURL": {
1088
+ "label": "Sheet Background From Web",
1089
+ "description": "Use a picture from the web as the sheet's background.",
1090
+ "groupLabels": {
1091
+ "sheetBackgroundOptions": "From the Web…"
1092
+ },
1093
+ "icon": "BackgroundImage",
1094
+ "tags": [
1095
+ "mutator"
1096
+ ]
1097
+ },
1098
+ "sheetBackgroundDelete": {
1099
+ "label": "Delete Sheet Background",
1100
+ "description": "Remove the sheet's background picture.",
1101
+ "groupLabels": {
1102
+ "sheetBackgroundOptions": "Delete Background"
1103
+ },
1104
+ "icon": "Delete",
1105
+ "tags": [
1106
+ "mutator"
1107
+ ]
1108
+ },
855
1109
  "manageDataValidation": {
856
1110
  "label": "Data Validation",
857
1111
  "description": "Manage data validation rules to limit the type of data entered in a cell.",
858
1112
  "groupLabels": {
859
- "contextMenu": "Data Validation…"
1113
+ "contextMenu": "Data Validation…",
1114
+ "dataValidationOptions": "Manage Rules…"
860
1115
  },
861
1116
  "icon": "DataValidation"
862
1117
  },
1118
+ "dataValidationList": {
1119
+ "label": "Data Validation List",
1120
+ "description": "Limit the selected cells to a list, seeded with the values already there.",
1121
+ "groupLabels": {
1122
+ "dataValidationOptions": "List…"
1123
+ }
1124
+ },
1125
+ "dataValidationUnique": {
1126
+ "label": "Require Unique Values",
1127
+ "description": "Allow each value only once in the selected cells.",
1128
+ "groupLabels": {
1129
+ "dataValidationOptions": "Unique"
1130
+ },
1131
+ "tags": [
1132
+ "mutator"
1133
+ ]
1134
+ },
1135
+ "dataValidationShowInvalid": {
1136
+ "label": "Show Invalid Data",
1137
+ "description": "Mark the cells whose value fails a data validation.\nA view setting: it changes nothing in the rules.",
1138
+ "groupLabels": {
1139
+ "dataValidationOptions": "Show Invalid"
1140
+ }
1141
+ },
1142
+ "dataValidationNewRule": {
1143
+ "label": "New Data Validation Rule",
1144
+ "description": "Create a new data validation rule for the selected cells.",
1145
+ "groupLabels": {
1146
+ "dataValidationOptions": "New Rule…"
1147
+ }
1148
+ },
1149
+ "dataValidationClearSelection": {
1150
+ "label": "Clear Data Validation from Selected Cells",
1151
+ "description": "Remove the selected cells from every data validation rule covering them.",
1152
+ "groupLabels": {
1153
+ "dataValidationClearOptions": "From Selected Cells"
1154
+ },
1155
+ "tags": [
1156
+ "mutator"
1157
+ ]
1158
+ },
1159
+ "dataValidationClearSheet": {
1160
+ "label": "Clear Data Validation from Entire Sheet",
1161
+ "description": "Remove every data validation rule on this sheet.",
1162
+ "groupLabels": {
1163
+ "dataValidationClearOptions": "From Entire Sheet"
1164
+ },
1165
+ "tags": [
1166
+ "mutator"
1167
+ ]
1168
+ },
863
1169
  "manageConditionalFormat": {
864
1170
  "label": "Conditional Formatting",
865
1171
  "description": "Manage conditional formatting rules to change how cells look based on their values.",
@@ -1115,7 +1421,10 @@
1115
1421
  "convertTableToRange": {
1116
1422
  "label": "Convert To Range",
1117
1423
  "description": "Convert the table into a normal range of cells.\n\nThe values and the formatting are preserved.",
1118
- "icon": "TableInsert"
1424
+ "icon": "TableInsert",
1425
+ "tags": [
1426
+ "mutator"
1427
+ ]
1119
1428
  },
1120
1429
  "tableFilterToggle": {
1121
1430
  "label": "Sort & Filter",
@@ -1326,6 +1635,13 @@
1326
1635
  "mutator"
1327
1636
  ]
1328
1637
  },
1638
+ "fillSeries": {
1639
+ "label": "Series…",
1640
+ "description": "Fill the selection with a series of numbers or dates, choosing the type, step value and stop value.",
1641
+ "tags": [
1642
+ "mutator"
1643
+ ]
1644
+ },
1329
1645
  "formatBorderAddOutline": {
1330
1646
  "label": "Add Outline Border",
1331
1647
  "description": "Apply an outline border.",
@@ -1456,6 +1772,10 @@
1456
1772
  "description": "Unfreeze both the rows and columns.",
1457
1773
  "icon": "MergeUnMerge"
1458
1774
  },
1775
+ "freezePanesAt": {
1776
+ "label": "Move Freeze",
1777
+ "description": "Freeze the rows or columns up to the given one."
1778
+ },
1459
1779
  "autoFitRows": {
1460
1780
  "label": "Autofit Rows",
1461
1781
  "description": "Adjust the rows to the best height.",
@@ -0,0 +1,17 @@
1
+ {
2
+ "$schema": "../../../utils-react/command-catalog.schema.json",
3
+ "scope": "slicer",
4
+ "label": "Slicer",
5
+ "tag": "en",
6
+ "version": 1,
7
+ "commands": {
8
+ "formatSlicerStyle": {
9
+ "label": "Slicer Styles",
10
+ "description": "Change how the slicer and its items look.",
11
+ "icon": "PresetStyles",
12
+ "tags": [
13
+ "mutator"
14
+ ]
15
+ }
16
+ }
17
+ }
@@ -5,8 +5,16 @@
5
5
  "tag": "en",
6
6
  "version": 1,
7
7
  "commands": {
8
+ "insertSlicer": {
9
+ "label": "Insert Slicer",
10
+ "description": "Add a slicer that filters the table by the selected column. Picking a style restyles the table's slicers, or adds one in that style when it has none.",
11
+ "icon": "SlicerInsert",
12
+ "tags": [
13
+ "mutator"
14
+ ]
15
+ },
8
16
  "tableStyleOptions": {
9
- "label": "Table Style Options",
17
+ "label": "Table Style",
10
18
  "description": "Toggle which structural elements (header, total, banded rows/columns, filter) the table shows."
11
19
  },
12
20
  "tableTotalRowToggle": {