@ones-editor/editor 5.0.6-beta.DNP8216.3 → 5.0.6-beta.p8216.2
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 +2 -72
- package/@ones-editor/core/src/core/doc/index.d.ts +1 -0
- package/@ones-editor/core/src/core/doc/wiki-macro.d.ts +15 -0
- package/@ones-editor/core/src/core/doc/wiki-macro.test.d.ts +1 -0
- package/@ones-editor/core/src/core/editor/index.d.ts +0 -1
- package/@ones-editor/core/src/core/editor-doc/editor-doc.d.ts +0 -6
- package/@ones-editor/core/src/core/types.d.ts +9 -23
- package/@ones-editor/core/src/core/undo-manager/actions/async-action.d.ts +4 -7
- package/@ones-editor/core/src/core/undo-manager/undo-manager.d.ts +9 -15
- package/@ones-editor/core/src/local-doc/index.d.ts +1 -7
- package/@ones-editor/server-tools/src/to-markdown/embeds/wiki-macro.d.ts +1 -1
- package/@ones-editor/sharedb-doc/src/doc/auth-connection.d.ts +0 -12
- package/@ones-editor/sharedb-doc/src/doc/sharedb-client.d.ts +1 -2
- package/@ones-editor/sharedb-doc/src/doc/sharedb-doc.d.ts +1 -6
- package/@ones-editor/sharedb-doc/src/doc/sharedb-local-doc.d.ts +0 -1
- package/@ones-editor/sharedb-doc/src/types.d.ts +0 -4
- package/@ones-editor/sharedb-doc/src/versions/sharedb-server.d.ts +0 -2
- package/@ones-editor/sharedb-doc/src/versions/simple-client.d.ts +1 -2
- package/@ones-editor/tsconfig.tsbuildinfo +1 -1
- package/@ones-editor/ui/src/block-menu/index.d.ts +0 -1
- package/@ones-editor/versions/src/history-diff.d.ts +0 -1
- package/@ones-editor/versions/src/history-doc/history-doc.d.ts +1 -6
- package/dist/index.js +679 -1119
- package/package.json +1 -1
- package/@ones-editor/core/src/core/composition/clipboard/resources/doc-resource-hooks.d.ts +0 -6
- package/@ones-editor/core/src/core/editor/wiki-macro-locks.d.ts +0 -9
- package/@ones-editor/core/src/core/undo-manager/actions/macro-edit-action.d.ts +0 -4
package/package.json
CHANGED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { DocObject } from '../../../doc/doc';
|
|
2
|
-
import type { OnesEditor, OnesEditorDocResourceHook } from '../../../types';
|
|
3
|
-
export declare function registerDocResourceHook(editor: OnesEditor, hook: OnesEditorDocResourceHook): () => void;
|
|
4
|
-
export declare function collectDocResourceHooks(editor: OnesEditor, doc: DocObject, resources: Set<string>): void;
|
|
5
|
-
export declare function rewriteDocResourceHooks(editor: OnesEditor, doc: DocObject, resources: Map<string, string>): void;
|
|
6
|
-
export declare function clearDocResourceHooks(editor: OnesEditor): void;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { DocBlock, WikiMacroLock } from '../doc';
|
|
2
|
-
import { BlockElement, OnesEditor } from '../types';
|
|
3
|
-
export declare function initializeWikiMacroLocks(editor: OnesEditor): void;
|
|
4
|
-
export declare function updateWikiMacroLocks(editor: OnesEditor, locks: WikiMacroLock[]): void;
|
|
5
|
-
export declare function setWikiMacroLockSession(editor: OnesEditor, sessionId: string, active: boolean): void;
|
|
6
|
-
/** Leases are server notifications, never v1 persistent lock attributes or local-clock unlocks. */
|
|
7
|
-
export declare function isWikiMacroBlockLocked(editor: OnesEditor, block: DocBlock, macroSessionId?: string): boolean;
|
|
8
|
-
export declare function isWikiMacroElementLocked(editor: OnesEditor, block: BlockElement, macroSessionId?: string): boolean;
|
|
9
|
-
export declare function clearWikiMacroLocks(editor: OnesEditor): void;
|