superdoc 2.27.0-next.3 → 2.27.0-next.4
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/chunks/{create-super-doc-ui-DK14sCrT.cjs → create-super-doc-ui-BWoeA7So.cjs} +34 -2
- package/dist/chunks/{create-super-doc-ui-BCQ5RHxy.es.js → create-super-doc-ui-DqZk5WpX.es.js} +29 -3
- package/dist/collaboration-upgrade-engine.cjs +1 -1
- package/dist/collaboration-upgrade-engine.es.js +1 -1
- package/dist/document-api/src/history/history.types.d.ts +0 -6
- package/dist/public/ui-react.cjs +1 -1
- package/dist/public/ui-react.es.js +1 -1
- package/dist/public/ui-vue.cjs +1 -1
- package/dist/public/ui-vue.es.js +1 -1
- package/dist/public/ui.cjs +1 -1
- package/dist/public/ui.es.js +1 -1
- package/dist/superdoc/src/core/v2-integration/v2-integration.d.ts +2 -5
- package/dist/superdoc/src/helpers/tracked-change-comment-lane.d.ts +1 -0
- package/dist/superdoc.cjs +7 -18
- package/dist/superdoc.es.js +3 -14
- package/dist-cdn/superdoc.min.js +38 -38
- package/package.json +2 -5
- package/dist/superdoc/src/components/CommentsLayer/comment-schemas.d.ts +0 -18
- package/dist/superdoc/src/components/CommentsLayer/types.d.ts +0 -3
- package/dist/superdoc/src/components/CommentsLayer/use-conversation.d.ts +0 -22
- package/dist/superdoc/src/components/CommentsLayer/use-floating-comment.d.ts +0 -11
- package/dist/superdoc/src/core/collaboration/room-overwrite.d.ts +0 -22
- package/dist/superdoc/src/core/index.d.ts +0 -1
- package/dist/superdoc/src/stores/hrbr-fields-store.d.ts +0 -43
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "superdoc",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.27.0-next.
|
|
4
|
+
"version": "2.27.0-next.4",
|
|
5
5
|
"description": "The document engine for DOCX files. Open, edit, and render Word documents in the browser.",
|
|
6
6
|
"license": "AGPL-3.0",
|
|
7
7
|
"repository": {
|
|
@@ -97,12 +97,9 @@
|
|
|
97
97
|
"main": "./dist/superdoc.cjs",
|
|
98
98
|
"module": "./dist/superdoc.es.js",
|
|
99
99
|
"dependencies": {
|
|
100
|
-
"@superdoc/docx-engine": "0.26.0-next.
|
|
101
|
-
"@types/mdast": "^4.0.4",
|
|
100
|
+
"@superdoc/docx-engine": "0.26.0-next.4",
|
|
102
101
|
"@types/ws": "^8.18.1",
|
|
103
|
-
"buffer-crc32": "^1.0.0",
|
|
104
102
|
"eventemitter3": "^5.0.1",
|
|
105
|
-
"jsdom": "^27.3.0",
|
|
106
103
|
"konva": "^10.2.0",
|
|
107
104
|
"pinia": "^3.0.4",
|
|
108
105
|
"pdfjs-dist": "^5.4.296",
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export namespace conversation {
|
|
2
|
-
let conversationId: null;
|
|
3
|
-
let documentId: null;
|
|
4
|
-
let creatorId: null;
|
|
5
|
-
let creatorEmail: null;
|
|
6
|
-
let creatorName: null;
|
|
7
|
-
let comments: never[];
|
|
8
|
-
let selection: null;
|
|
9
|
-
}
|
|
10
|
-
export namespace comment {
|
|
11
|
-
let comment: null;
|
|
12
|
-
namespace user {
|
|
13
|
-
let id: null;
|
|
14
|
-
let name: null;
|
|
15
|
-
let email: null;
|
|
16
|
-
}
|
|
17
|
-
let timestamp: null;
|
|
18
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export default function useConversation(params: any): {
|
|
2
|
-
getValues: () => Object;
|
|
3
|
-
markDone: (email: any, name: any) => void;
|
|
4
|
-
conversationId: any;
|
|
5
|
-
thread: import('vue').Ref<any, any>;
|
|
6
|
-
documentId: any;
|
|
7
|
-
creatorEmail: any;
|
|
8
|
-
creatorName: any;
|
|
9
|
-
comments: import('vue').Ref<any, any>;
|
|
10
|
-
selection: any;
|
|
11
|
-
markedDone: import('vue').Ref<any, any>;
|
|
12
|
-
markedDoneByEmail: import('vue').Ref<any, any>;
|
|
13
|
-
markedDoneByName: import('vue').Ref<any, any>;
|
|
14
|
-
isFocused: import('vue').Ref<any, any>;
|
|
15
|
-
group: import('vue').Ref<null, null>;
|
|
16
|
-
conversationElement: import('vue').Ref<null, null>;
|
|
17
|
-
suppressHighlight: import('vue').Ref<any, any>;
|
|
18
|
-
suppressClick: import('vue').Ref<any, any>;
|
|
19
|
-
isInternal: import('vue').Ref<any, any>;
|
|
20
|
-
isTrackedChange: import('vue').Ref<any, any>;
|
|
21
|
-
trackedChange: any;
|
|
22
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Overwrite the room's comment array with the current local comments.
|
|
3
|
-
*
|
|
4
|
-
* Performs an authoritative replacement — all existing room comments
|
|
5
|
-
* are removed and replaced with serialized local state.
|
|
6
|
-
*
|
|
7
|
-
* @param {import('yjs').Doc} ydoc The target Yjs document
|
|
8
|
-
* @param {Array} commentsList The local comments list (items with `getValues()`)
|
|
9
|
-
* @returns {void}
|
|
10
|
-
*/
|
|
11
|
-
export function overwriteRoomComments(ydoc: import('yjs').Doc, commentsList: any[]): void;
|
|
12
|
-
/**
|
|
13
|
-
* Transfer the local lock state into the target room's meta map.
|
|
14
|
-
*
|
|
15
|
-
* @param {import('yjs').Doc} ydoc The target Yjs document
|
|
16
|
-
* @param {{ isLocked: boolean, lockedBy: Object | null }} lockState
|
|
17
|
-
* @returns {void}
|
|
18
|
-
*/
|
|
19
|
-
export function overwriteRoomLockState(ydoc: import('yjs').Doc, { isLocked, lockedBy }: {
|
|
20
|
-
isLocked: boolean;
|
|
21
|
-
lockedBy: Object | null;
|
|
22
|
-
}): void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { SuperDoc } from './SuperDoc.js';
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
export const useHrbrFieldsStore: import('pinia').StoreDefinition<"hrbr-fields", Pick<{
|
|
2
|
-
hrbrFieldsConfig: {
|
|
3
|
-
name: string;
|
|
4
|
-
};
|
|
5
|
-
fieldComponentsMap: Readonly<{
|
|
6
|
-
TEXTINPUT: import('vue').Raw<object>;
|
|
7
|
-
HTMLINPUT: import('vue').Raw<object>;
|
|
8
|
-
SELECT: import('vue').Raw<object>;
|
|
9
|
-
CHECKBOXINPUT: import('vue').Raw<object>;
|
|
10
|
-
SIGNATUREINPUT: import('vue').Raw<object>;
|
|
11
|
-
IMAGEINPUT: import('vue').Raw<object>;
|
|
12
|
-
}>;
|
|
13
|
-
getAnnotations: import('vue').ComputedRef<any[]>;
|
|
14
|
-
getField: (documentId: any, fieldId: any) => any;
|
|
15
|
-
}, "hrbrFieldsConfig" | "fieldComponentsMap">, Pick<{
|
|
16
|
-
hrbrFieldsConfig: {
|
|
17
|
-
name: string;
|
|
18
|
-
};
|
|
19
|
-
fieldComponentsMap: Readonly<{
|
|
20
|
-
TEXTINPUT: import('vue').Raw<object>;
|
|
21
|
-
HTMLINPUT: import('vue').Raw<object>;
|
|
22
|
-
SELECT: import('vue').Raw<object>;
|
|
23
|
-
CHECKBOXINPUT: import('vue').Raw<object>;
|
|
24
|
-
SIGNATUREINPUT: import('vue').Raw<object>;
|
|
25
|
-
IMAGEINPUT: import('vue').Raw<object>;
|
|
26
|
-
}>;
|
|
27
|
-
getAnnotations: import('vue').ComputedRef<any[]>;
|
|
28
|
-
getField: (documentId: any, fieldId: any) => any;
|
|
29
|
-
}, "getAnnotations">, Pick<{
|
|
30
|
-
hrbrFieldsConfig: {
|
|
31
|
-
name: string;
|
|
32
|
-
};
|
|
33
|
-
fieldComponentsMap: Readonly<{
|
|
34
|
-
TEXTINPUT: import('vue').Raw<object>;
|
|
35
|
-
HTMLINPUT: import('vue').Raw<object>;
|
|
36
|
-
SELECT: import('vue').Raw<object>;
|
|
37
|
-
CHECKBOXINPUT: import('vue').Raw<object>;
|
|
38
|
-
SIGNATUREINPUT: import('vue').Raw<object>;
|
|
39
|
-
IMAGEINPUT: import('vue').Raw<object>;
|
|
40
|
-
}>;
|
|
41
|
-
getAnnotations: import('vue').ComputedRef<any[]>;
|
|
42
|
-
getField: (documentId: any, fieldId: any) => any;
|
|
43
|
-
}, "getField">>;
|