oasis-editor 0.0.197 → 0.0.199
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.
- package/dist/{OasisEditorApp-DQgltded.js → OasisEditorApp-DyDxI1Kx.js} +1 -1
- package/dist/core/commands/history.d.ts +3 -0
- package/dist/core/pluginUiTypes.d.ts +1 -1
- package/dist/defaultToolbar-BiD81UCq.js +1 -0
- package/dist/i18n/locales/en.d.ts +7 -0
- package/dist/i18n/locales/pt-BR.d.ts +7 -0
- package/dist/oasis-editor.js +1 -1
- package/dist/oasis-editor.umd.cjs +1 -1
- package/dist/plugins/internal/essentialsCapabilities.d.ts +10 -0
- package/dist/ui/app/essentials/formatting.d.ts +1 -6
- package/package.json +3 -1
- package/dist/defaultToolbar-XaZHjmgA.js +0 -1
|
@@ -2,5 +2,8 @@ import { EditorState } from '../model.js';
|
|
|
2
2
|
export declare function toggleTrackChanges(state: EditorState): EditorState;
|
|
3
3
|
export declare function acceptRevision(state: EditorState, revisionId: string): EditorState;
|
|
4
4
|
export declare function rejectRevision(state: EditorState, revisionId: string): EditorState;
|
|
5
|
+
export declare function collectSelectedRevisionIds(state: EditorState): Set<string>;
|
|
6
|
+
/** Only count revision kinds that Accept/Reject currently handle in the selection. */
|
|
7
|
+
export declare function hasRevisionsInSelection(state: EditorState): boolean;
|
|
5
8
|
export declare function acceptRevisionsInSelection(state: EditorState): EditorState;
|
|
6
9
|
export declare function rejectRevisionsInSelection(state: EditorState): EditorState;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const RIBBON_TABS: readonly ["file", "home", "insert", "design", "draw", "layout", "references", "collaboration", "protection", "view", "tableDesign", "tableLayout", "imageFormat", "plugins", "ai"];
|
|
1
|
+
export declare const RIBBON_TABS: readonly ["file", "home", "insert", "design", "draw", "layout", "references", "review", "collaboration", "protection", "view", "tableDesign", "tableLayout", "imageFormat", "plugins", "ai"];
|
|
2
2
|
export type RibbonTabId = (typeof RIBBON_TABS)[number];
|
|
3
3
|
/**
|
|
4
4
|
* Contextual tabs are hidden from the tab strip unless their gating command
|