oasis-editor 0.0.223 → 0.0.225

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.
@@ -31,6 +31,8 @@ export interface EssentialsFormattingCapability {
31
31
  hasTableOfContents: () => boolean;
32
32
  /** True when the current selection intersects revisions this command can resolve. */
33
33
  hasRevisionsInSelection: () => boolean;
34
+ /** True when the whole document contains any resolvable tracked revision. */
35
+ hasRevisionsInDocument: () => boolean;
34
36
  hasNavigableRevisions: () => boolean;
35
37
  hasNavigableComments: () => boolean;
36
38
  canCreateComment: () => boolean;
@@ -82,6 +84,8 @@ export interface EssentialsFormattingCapability {
82
84
  areParagraphMarksVisible: () => boolean;
83
85
  acceptRevisions: () => boolean;
84
86
  rejectRevisions: () => boolean;
87
+ acceptAllRevisions: () => boolean;
88
+ rejectAllRevisions: () => boolean;
85
89
  toggleShowMargins: () => boolean;
86
90
  toggleShowParagraphMarks: () => boolean;
87
91
  togglePreciseFonts: () => boolean;
@@ -329,6 +333,10 @@ export interface EssentialsTableCapability {
329
333
  canSplit: () => boolean;
330
334
  canEditColumn: () => boolean;
331
335
  canEditRow: () => boolean;
336
+ /** True when the caret sits inside a table that can be converted to text. */
337
+ canConvertToText: () => boolean;
338
+ /** Word's Convert Table to Text: flatten the active table into body paragraphs. */
339
+ convertToText: () => void;
332
340
  merge: () => void;
333
341
  split: () => void;
334
342
  insertColumnBefore: () => void;
@@ -349,6 +357,8 @@ export interface EssentialsTableCapability {
349
357
  alignLeft: () => void;
350
358
  alignCenter: () => void;
351
359
  alignRight: () => void;
360
+ setCellVerticalAlign: (value: "top" | "middle" | "bottom") => void;
361
+ setCellTextDirection: (value: "lrTb" | "tbRl" | "btLr" | "lrTbV" | "tbRlV") => void;
352
362
  setCellWidth: (width: string) => void;
353
363
  insert: (rows: number, cols: number) => void;
354
364
  }
@@ -61,6 +61,8 @@ declare function createAppCommandsControllerImpl(deps: AppCommandsControllerDeps
61
61
  applyToggleShowParagraphMarksCommand: () => void;
62
62
  applyAcceptRevisionsCommand: () => void;
63
63
  applyRejectRevisionsCommand: () => void;
64
+ applyAcceptAllRevisionsCommand: () => void;
65
+ applyRejectAllRevisionsCommand: () => void;
64
66
  applyLinkCommand: (href: string | null) => void;
65
67
  promptForLink: () => void;
66
68
  removeLinkCommand: () => void;
@@ -103,6 +105,8 @@ declare function createAppCommandsControllerImpl(deps: AppCommandsControllerDeps
103
105
  applyToggleShowParagraphMarksCommand: () => void;
104
106
  applyAcceptRevisionsCommand: () => void;
105
107
  applyRejectRevisionsCommand: () => void;
108
+ applyAcceptAllRevisionsCommand: () => void;
109
+ applyRejectAllRevisionsCommand: () => void;
106
110
  applyLinkCommand: (href: string | null) => void;
107
111
  promptForLink: () => void;
108
112
  removeLinkCommand: () => void;
@@ -96,6 +96,8 @@ declare function createEditorCommandRuntimeImpl(deps: EditorCommandRuntimeDeps):
96
96
  applyToggleShowParagraphMarksCommand: () => void;
97
97
  applyAcceptRevisionsCommand: () => void;
98
98
  applyRejectRevisionsCommand: () => void;
99
+ applyAcceptAllRevisionsCommand: () => void;
100
+ applyRejectAllRevisionsCommand: () => void;
99
101
  applyLinkCommand: (href: string | null) => void;
100
102
  promptForLink: () => void;
101
103
  removeLinkCommand: () => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oasis-editor",
3
- "version": "0.0.223",
3
+ "version": "0.0.225",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "repository": {