@ones-editor/editor 2.9.8-beta.19 → 2.9.8-beta.20
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/@ones-editor/core/src/core/doc/doc.d.ts +1 -0
- package/@ones-editor/core/src/core/editor-doc/editor-doc.d.ts +1 -0
- package/@ones-editor/core/src/local-doc/index.d.ts +1 -0
- package/@ones-editor/sharedb-doc/src/doc/sharedb-doc.d.ts +2 -0
- package/@ones-editor/tsconfig.tsbuildinfo +1 -1
- package/@ones-editor/versions/src/history-doc/history-doc.d.ts +1 -0
- package/dist/index.js +23 -2
- package/package.json +1 -1
|
@@ -256,6 +256,7 @@ export interface OnesEditorDoc extends OnesEditorDocServer {
|
|
|
256
256
|
endBatchUpdate: () => number;
|
|
257
257
|
triggerReAuth?: (auto?: boolean) => void;
|
|
258
258
|
rawData?: () => DocObject;
|
|
259
|
+
applyingOps?: () => boolean;
|
|
259
260
|
}
|
|
260
261
|
export interface OnesEditorDocHistoryData {
|
|
261
262
|
user: {
|
|
@@ -8,6 +8,7 @@ export default class EditorDoc extends EventCallbacks<OnesEditorDocCallbacks> im
|
|
|
8
8
|
constructor(editor: OnesEditor, externalDoc: OnesEditorDoc, localEvents: EditorDocLocalActionCallbacks);
|
|
9
9
|
beginBatchUpdate(): number;
|
|
10
10
|
endBatchUpdate(): number;
|
|
11
|
+
applyingOps(): boolean;
|
|
11
12
|
registerLocalEvents(events: EditorDocLocalActionCallbacks): void;
|
|
12
13
|
toJSON(): DocObject;
|
|
13
14
|
getVersionHelper(): import("../doc").OnesEditorDocVersionHelper | undefined;
|
|
@@ -11,6 +11,7 @@ export declare class LocalDoc extends EventCallbacks<OnesEditorDocCallbacks> imp
|
|
|
11
11
|
endBatchUpdate(): number;
|
|
12
12
|
toJSON(): DocObject;
|
|
13
13
|
rawData(): DocObject;
|
|
14
|
+
applyingOps(): boolean;
|
|
14
15
|
getContainerBlocks(containerId: string): DocBlock[];
|
|
15
16
|
findContainerBlocks(containerId: string): DocBlock[];
|
|
16
17
|
getBlockData(containerId: string, blockIndex: number): DocBlock;
|
|
@@ -16,9 +16,11 @@ export default class ShareDBDoc extends EventCallbacks<ShareDBDocCallbacks> impl
|
|
|
16
16
|
disableLogout: boolean;
|
|
17
17
|
destroyed: boolean;
|
|
18
18
|
editStatus: EditStatus;
|
|
19
|
+
_applyingOps: boolean;
|
|
19
20
|
constructor(options: ShareDBDocOptions, client: ShareDBClient, doc: Doc, disableLogout?: boolean);
|
|
20
21
|
beginBatchUpdate(): number;
|
|
21
22
|
endBatchUpdate(): number;
|
|
23
|
+
applyingOps(): boolean;
|
|
22
24
|
static load(options: ShareDBDocOptions): Promise<ShareDBDoc>;
|
|
23
25
|
private handleNothingPending;
|
|
24
26
|
private handleCreate;
|