superdoc 2.0.0-next.27 → 2.0.0-next.29
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/{PdfViewer-XZg0nr8y.es.js → PdfViewer-CNOtyS-I.es.js} +1 -1
- package/dist/chunks/{PdfViewer-BtuYf2yM.cjs → PdfViewer-CoFiGAhm.cjs} +1 -1
- package/dist/chunks/{create-super-doc-ui-Dvl3EZsv.es.js → create-super-doc-ui-BKVf2uCM.es.js} +660 -159
- package/dist/chunks/{create-super-doc-ui-pYMthdDn.cjs → create-super-doc-ui-BXehf3i3.cjs} +660 -159
- package/dist/collaboration-upgrade-engine.cjs +1 -1
- package/dist/collaboration-upgrade-engine.es.js +1 -1
- package/dist/document-api/src/contract/operation-definitions.d.ts +1 -1
- package/dist/document-api/src/track-changes/track-changes.d.ts +6 -2
- package/dist/document-api/src/types/clipboard.d.ts +5 -1
- package/dist/document-api/src/types/table-operations.types.d.ts +6 -4
- package/dist/document-api/src/types/track-changes.types.d.ts +15 -0
- package/dist/layout-engine/contracts/src/incremental-dependency.d.ts +10 -0
- package/dist/layout-engine/contracts/src/index.d.ts +38 -0
- package/dist/layout-engine/layout-bridge/src/incrementalLayout.d.ts +40 -1
- package/dist/layout-engine/layout-engine/src/index.d.ts +17 -0
- package/dist/layout-engine/layout-engine/src/paginator.d.ts +16 -0
- package/dist/layout-engine/layout-engine/src/paragraph-layout-eligibility.d.ts +1 -4
- package/dist/public/ui-react.cjs +1 -1
- package/dist/public/ui-react.es.js +1 -1
- package/dist/public/ui.cjs +1 -1
- package/dist/public/ui.es.js +1 -1
- package/dist/style.css +130 -86
- package/dist/style.layered.css +130 -86
- package/dist/superdoc/src/components/CommentsLayer/floating-comment-positioning.d.ts +1 -2
- package/dist/superdoc/src/core/types/index.d.ts +7 -0
- package/dist/superdoc/src/helpers/v2-review-mutation-impact.d.ts +4 -1
- package/dist/superdoc/src/helpers/v2-review-mutation-reconciler.d.ts +6 -5
- package/dist/superdoc/src/public/ui/reasons.d.ts +8 -0
- package/dist/superdoc/src/stores/comments-store.d.ts +17 -11
- package/dist/superdoc/src/stores/helpers/floating-comment-instances.d.ts +2 -10
- package/dist/superdoc/src/stores/helpers/tracked-change-thread-index.d.ts +14 -0
- package/dist/superdoc/src/stores/superdoc-store.d.ts +51 -33
- package/dist/superdoc.cjs +531 -135
- package/dist/superdoc.es.js +531 -135
- package/dist-cdn/style.layered.css +1 -1
- package/dist-cdn/superdoc.min.css +1 -1
- package/dist-cdn/superdoc.min.js +37 -37
- package/package.json +2 -2
|
@@ -50,21 +50,23 @@ export const useCommentsStore: import('pinia').StoreDefinition<"comments", Pick<
|
|
|
50
50
|
parentComments: any[];
|
|
51
51
|
resolvedComments: any[];
|
|
52
52
|
}>;
|
|
53
|
+
hasOpenTrackedChanges: import('vue').ComputedRef<boolean>;
|
|
53
54
|
getCommentsByPosition: import('vue').ComputedRef<{
|
|
54
55
|
parentComments: any[];
|
|
55
56
|
resolvedComments: any[];
|
|
56
57
|
}>;
|
|
57
58
|
getFloatingComments: import('vue').ComputedRef<any[]>;
|
|
58
|
-
getFloatingCommentInstances: import('vue').ComputedRef<
|
|
59
|
-
id:
|
|
59
|
+
getFloatingCommentInstances: import('vue').ComputedRef<{
|
|
60
|
+
id: any;
|
|
60
61
|
threadId: any;
|
|
61
62
|
comment: any;
|
|
62
63
|
positionKey: any;
|
|
63
64
|
pageIndex: any;
|
|
64
65
|
isPrimary: boolean;
|
|
65
66
|
positionEntry: any;
|
|
66
|
-
}
|
|
67
|
+
}[]>;
|
|
67
68
|
getCommentAliasIds: (commentOrId: any) => (string | null)[];
|
|
69
|
+
getTrackedChangeThread: (parentComment: any) => any[] | readonly never[];
|
|
68
70
|
getCommentPositionKey: (commentOrId: Object | string | null | undefined) => string | null;
|
|
69
71
|
getCommentPosition: (commentOrId: Object | string) => Object | null;
|
|
70
72
|
getCommentAnchoredText: (commentOrId: Object | string, options?: {
|
|
@@ -273,21 +275,23 @@ export const useCommentsStore: import('pinia').StoreDefinition<"comments", Pick<
|
|
|
273
275
|
parentComments: any[];
|
|
274
276
|
resolvedComments: any[];
|
|
275
277
|
}>;
|
|
278
|
+
hasOpenTrackedChanges: import('vue').ComputedRef<boolean>;
|
|
276
279
|
getCommentsByPosition: import('vue').ComputedRef<{
|
|
277
280
|
parentComments: any[];
|
|
278
281
|
resolvedComments: any[];
|
|
279
282
|
}>;
|
|
280
283
|
getFloatingComments: import('vue').ComputedRef<any[]>;
|
|
281
|
-
getFloatingCommentInstances: import('vue').ComputedRef<
|
|
282
|
-
id:
|
|
284
|
+
getFloatingCommentInstances: import('vue').ComputedRef<{
|
|
285
|
+
id: any;
|
|
283
286
|
threadId: any;
|
|
284
287
|
comment: any;
|
|
285
288
|
positionKey: any;
|
|
286
289
|
pageIndex: any;
|
|
287
290
|
isPrimary: boolean;
|
|
288
291
|
positionEntry: any;
|
|
289
|
-
}
|
|
292
|
+
}[]>;
|
|
290
293
|
getCommentAliasIds: (commentOrId: any) => (string | null)[];
|
|
294
|
+
getTrackedChangeThread: (parentComment: any) => any[] | readonly never[];
|
|
291
295
|
getCommentPositionKey: (commentOrId: Object | string | null | undefined) => string | null;
|
|
292
296
|
getCommentPosition: (commentOrId: Object | string) => Object | null;
|
|
293
297
|
getCommentAnchoredText: (commentOrId: Object | string, options?: {
|
|
@@ -444,7 +448,7 @@ export const useCommentsStore: import('pinia').StoreDefinition<"comments", Pick<
|
|
|
444
448
|
reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale }?: {
|
|
445
449
|
pruneStale?: boolean | undefined;
|
|
446
450
|
}) => any;
|
|
447
|
-
}, "getConfig" | "documentsWithConverations" | "getGroupedComments" | "getCommentsByPosition" | "getFloatingComments" | "getFloatingCommentInstances" | "isViewingMode" | "shouldRenderReviewInViewing">, Pick<{
|
|
451
|
+
}, "getConfig" | "documentsWithConverations" | "getGroupedComments" | "hasOpenTrackedChanges" | "getCommentsByPosition" | "getFloatingComments" | "getFloatingCommentInstances" | "isViewingMode" | "shouldRenderReviewInViewing">, Pick<{
|
|
448
452
|
COMMENT_EVENTS: {
|
|
449
453
|
readonly RESOLVED: "resolved";
|
|
450
454
|
readonly NEW: "new";
|
|
@@ -496,21 +500,23 @@ export const useCommentsStore: import('pinia').StoreDefinition<"comments", Pick<
|
|
|
496
500
|
parentComments: any[];
|
|
497
501
|
resolvedComments: any[];
|
|
498
502
|
}>;
|
|
503
|
+
hasOpenTrackedChanges: import('vue').ComputedRef<boolean>;
|
|
499
504
|
getCommentsByPosition: import('vue').ComputedRef<{
|
|
500
505
|
parentComments: any[];
|
|
501
506
|
resolvedComments: any[];
|
|
502
507
|
}>;
|
|
503
508
|
getFloatingComments: import('vue').ComputedRef<any[]>;
|
|
504
|
-
getFloatingCommentInstances: import('vue').ComputedRef<
|
|
505
|
-
id:
|
|
509
|
+
getFloatingCommentInstances: import('vue').ComputedRef<{
|
|
510
|
+
id: any;
|
|
506
511
|
threadId: any;
|
|
507
512
|
comment: any;
|
|
508
513
|
positionKey: any;
|
|
509
514
|
pageIndex: any;
|
|
510
515
|
isPrimary: boolean;
|
|
511
516
|
positionEntry: any;
|
|
512
|
-
}
|
|
517
|
+
}[]>;
|
|
513
518
|
getCommentAliasIds: (commentOrId: any) => (string | null)[];
|
|
519
|
+
getTrackedChangeThread: (parentComment: any) => any[] | readonly never[];
|
|
514
520
|
getCommentPositionKey: (commentOrId: Object | string | null | undefined) => string | null;
|
|
515
521
|
getCommentPosition: (commentOrId: Object | string) => Object | null;
|
|
516
522
|
getCommentAnchoredText: (commentOrId: Object | string, options?: {
|
|
@@ -667,4 +673,4 @@ export const useCommentsStore: import('pinia').StoreDefinition<"comments", Pick<
|
|
|
667
673
|
reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale }?: {
|
|
668
674
|
pruneStale?: boolean | undefined;
|
|
669
675
|
}) => any;
|
|
670
|
-
}, "getCommentAliasIds" | "getCommentPositionKey" | "getCommentPosition" | "getCommentAnchoredText" | "getCommentAnchorData" | "resolveCommentPositionEntry" | "getCommentDocumentId" | "belongsToDocument" | "init" | "setViewingVisibility" | "getComment" | "setActiveComment" | "getCommentLocation" | "hasOverlapId" | "getPendingComment" | "showAddComment" | "addComment" | "addHydratedComment" | "cancelComment" | "deleteComment" | "removePendingComment" | "cancelImportedTrackedChangeBootstrap" | "removeCommentsForDocument" | "processLoadedDocxComments" | "translateCommentsForExport" | "handleEditorLocationsUpdate" | "clearEditorCommentPositions" | "handleTrackedChangeUpdate" | "refreshTrackedChangeCommentsByIds" | "syncResolvedCommentsWithDocument" | "syncTrackedChangePositionsWithDocument" | "setActiveFloatingCommentInstance" | "requestInstantSidebarAlignment" | "peekInstantSidebarAlignment" | "clearInstantSidebarAlignment" | "syncTrackedChangeComments" | "decideTrackedChangeFromSidebar" | "setV2CommentsAdapter" | "getV2CommentsAdapter" | "hydrateCommentsFromV2" | "reconcileCommentsFromV2" | "isV2EditorActive" | "replyCommentV2" | "editCommentV2" | "resolveCommentV2" | "reopenCommentV2" | "setV2TrackedChangesAdapter" | "getV2TrackedChangesAdapter" | "hydrateTrackedChangesFromV2" | "reconcileTrackedChangeMutationFromV2" | "reconcileTrackedChangesFromV2">>;
|
|
676
|
+
}, "getCommentAliasIds" | "getTrackedChangeThread" | "getCommentPositionKey" | "getCommentPosition" | "getCommentAnchoredText" | "getCommentAnchorData" | "resolveCommentPositionEntry" | "getCommentDocumentId" | "belongsToDocument" | "init" | "setViewingVisibility" | "getComment" | "setActiveComment" | "getCommentLocation" | "hasOverlapId" | "getPendingComment" | "showAddComment" | "addComment" | "addHydratedComment" | "cancelComment" | "deleteComment" | "removePendingComment" | "cancelImportedTrackedChangeBootstrap" | "removeCommentsForDocument" | "processLoadedDocxComments" | "translateCommentsForExport" | "handleEditorLocationsUpdate" | "clearEditorCommentPositions" | "handleTrackedChangeUpdate" | "refreshTrackedChangeCommentsByIds" | "syncResolvedCommentsWithDocument" | "syncTrackedChangePositionsWithDocument" | "setActiveFloatingCommentInstance" | "requestInstantSidebarAlignment" | "peekInstantSidebarAlignment" | "clearInstantSidebarAlignment" | "syncTrackedChangeComments" | "decideTrackedChangeFromSidebar" | "setV2CommentsAdapter" | "getV2CommentsAdapter" | "hydrateCommentsFromV2" | "reconcileCommentsFromV2" | "isV2EditorActive" | "replyCommentV2" | "editCommentV2" | "resolveCommentV2" | "reopenCommentV2" | "setV2TrackedChangesAdapter" | "getV2TrackedChangesAdapter" | "hydrateTrackedChangesFromV2" | "reconcileTrackedChangeMutationFromV2" | "reconcileTrackedChangesFromV2">>;
|
|
@@ -3,20 +3,12 @@ export function buildFloatingCommentInstances({ comment, positionKey, positionEn
|
|
|
3
3
|
positionKey: any;
|
|
4
4
|
positionEntry: any;
|
|
5
5
|
fallbackId: any;
|
|
6
|
-
}):
|
|
7
|
-
id:
|
|
6
|
+
}): {
|
|
7
|
+
id: any;
|
|
8
8
|
threadId: any;
|
|
9
9
|
comment: any;
|
|
10
10
|
positionKey: any;
|
|
11
11
|
pageIndex: any;
|
|
12
12
|
isPrimary: boolean;
|
|
13
13
|
positionEntry: any;
|
|
14
|
-
} | null)[] | {
|
|
15
|
-
id: any;
|
|
16
|
-
threadId: any;
|
|
17
|
-
comment: any;
|
|
18
|
-
positionKey: any;
|
|
19
|
-
positionEntry: any;
|
|
20
|
-
pageIndex: number | null;
|
|
21
|
-
isPrimary: boolean;
|
|
22
14
|
}[];
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export function buildTrackedChangeThreadIndex<Comment extends {
|
|
2
|
+
commentId: string | number;
|
|
3
|
+
trackedChange?: boolean;
|
|
4
|
+
createdTime?: number;
|
|
5
|
+
parentCommentId?: string | number | null;
|
|
6
|
+
threadingParentCommentId?: string | number | null;
|
|
7
|
+
trackedChangeParentId?: string | number | null;
|
|
8
|
+
}>(allComments: ReadonlyArray<Comment>, previous?: ReadonlyMap<string | number, ReadonlyArray<Comment>>): Map<string | number, ReadonlyArray<Comment>>;
|
|
9
|
+
export function buildTrackedChangeDecisionLinkIndex<Comment extends {
|
|
10
|
+
parentCommentId?: string | number | null;
|
|
11
|
+
threadingParentCommentId?: string | number | null;
|
|
12
|
+
trackedChangeParentId?: string | number | null;
|
|
13
|
+
trackedChangeThreadParentId?: string | number | null;
|
|
14
|
+
}>(allComments: ReadonlyArray<Comment>, previous?: ReadonlyMap<string, ReadonlyArray<Comment>>): Map<string, ReadonlyArray<Comment>>;
|
|
@@ -51,21 +51,23 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
51
51
|
parentComments: any[];
|
|
52
52
|
resolvedComments: any[];
|
|
53
53
|
}>;
|
|
54
|
+
hasOpenTrackedChanges: import('vue').ComputedRef<boolean>;
|
|
54
55
|
getCommentsByPosition: import('vue').ComputedRef<{
|
|
55
56
|
parentComments: any[];
|
|
56
57
|
resolvedComments: any[];
|
|
57
58
|
}>;
|
|
58
59
|
getFloatingComments: import('vue').ComputedRef<any[]>;
|
|
59
|
-
getFloatingCommentInstances: import('vue').ComputedRef<
|
|
60
|
-
id:
|
|
60
|
+
getFloatingCommentInstances: import('vue').ComputedRef<{
|
|
61
|
+
id: any;
|
|
61
62
|
threadId: any;
|
|
62
63
|
comment: any;
|
|
63
64
|
positionKey: any;
|
|
64
65
|
pageIndex: any;
|
|
65
66
|
isPrimary: boolean;
|
|
66
67
|
positionEntry: any;
|
|
67
|
-
}
|
|
68
|
+
}[]>;
|
|
68
69
|
getCommentAliasIds: (commentOrId: any) => (string | null)[];
|
|
70
|
+
getTrackedChangeThread: (parentComment: any) => any[] | readonly never[];
|
|
69
71
|
getCommentPositionKey: (commentOrId: Object | string | null | undefined) => string | null;
|
|
70
72
|
getCommentPosition: (commentOrId: Object | string) => Object | null;
|
|
71
73
|
getCommentAnchoredText: (commentOrId: Object | string, options?: {
|
|
@@ -274,21 +276,23 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
274
276
|
parentComments: any[];
|
|
275
277
|
resolvedComments: any[];
|
|
276
278
|
}>;
|
|
279
|
+
hasOpenTrackedChanges: import('vue').ComputedRef<boolean>;
|
|
277
280
|
getCommentsByPosition: import('vue').ComputedRef<{
|
|
278
281
|
parentComments: any[];
|
|
279
282
|
resolvedComments: any[];
|
|
280
283
|
}>;
|
|
281
284
|
getFloatingComments: import('vue').ComputedRef<any[]>;
|
|
282
|
-
getFloatingCommentInstances: import('vue').ComputedRef<
|
|
283
|
-
id:
|
|
285
|
+
getFloatingCommentInstances: import('vue').ComputedRef<{
|
|
286
|
+
id: any;
|
|
284
287
|
threadId: any;
|
|
285
288
|
comment: any;
|
|
286
289
|
positionKey: any;
|
|
287
290
|
pageIndex: any;
|
|
288
291
|
isPrimary: boolean;
|
|
289
292
|
positionEntry: any;
|
|
290
|
-
}
|
|
293
|
+
}[]>;
|
|
291
294
|
getCommentAliasIds: (commentOrId: any) => (string | null)[];
|
|
295
|
+
getTrackedChangeThread: (parentComment: any) => any[] | readonly never[];
|
|
292
296
|
getCommentPositionKey: (commentOrId: Object | string | null | undefined) => string | null;
|
|
293
297
|
getCommentPosition: (commentOrId: Object | string) => Object | null;
|
|
294
298
|
getCommentAnchoredText: (commentOrId: Object | string, options?: {
|
|
@@ -445,7 +449,7 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
445
449
|
reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale }?: {
|
|
446
450
|
pruneStale?: boolean | undefined;
|
|
447
451
|
}) => any;
|
|
448
|
-
}, "getConfig" | "documentsWithConverations" | "getGroupedComments" | "getCommentsByPosition" | "getFloatingComments" | "getFloatingCommentInstances" | "isViewingMode" | "shouldRenderReviewInViewing">, Pick<{
|
|
452
|
+
}, "getConfig" | "documentsWithConverations" | "getGroupedComments" | "hasOpenTrackedChanges" | "getCommentsByPosition" | "getFloatingComments" | "getFloatingCommentInstances" | "isViewingMode" | "shouldRenderReviewInViewing">, Pick<{
|
|
449
453
|
COMMENT_EVENTS: {
|
|
450
454
|
readonly RESOLVED: "resolved";
|
|
451
455
|
readonly NEW: "new";
|
|
@@ -497,21 +501,23 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
497
501
|
parentComments: any[];
|
|
498
502
|
resolvedComments: any[];
|
|
499
503
|
}>;
|
|
504
|
+
hasOpenTrackedChanges: import('vue').ComputedRef<boolean>;
|
|
500
505
|
getCommentsByPosition: import('vue').ComputedRef<{
|
|
501
506
|
parentComments: any[];
|
|
502
507
|
resolvedComments: any[];
|
|
503
508
|
}>;
|
|
504
509
|
getFloatingComments: import('vue').ComputedRef<any[]>;
|
|
505
|
-
getFloatingCommentInstances: import('vue').ComputedRef<
|
|
506
|
-
id:
|
|
510
|
+
getFloatingCommentInstances: import('vue').ComputedRef<{
|
|
511
|
+
id: any;
|
|
507
512
|
threadId: any;
|
|
508
513
|
comment: any;
|
|
509
514
|
positionKey: any;
|
|
510
515
|
pageIndex: any;
|
|
511
516
|
isPrimary: boolean;
|
|
512
517
|
positionEntry: any;
|
|
513
|
-
}
|
|
518
|
+
}[]>;
|
|
514
519
|
getCommentAliasIds: (commentOrId: any) => (string | null)[];
|
|
520
|
+
getTrackedChangeThread: (parentComment: any) => any[] | readonly never[];
|
|
515
521
|
getCommentPositionKey: (commentOrId: Object | string | null | undefined) => string | null;
|
|
516
522
|
getCommentPosition: (commentOrId: Object | string) => Object | null;
|
|
517
523
|
getCommentAnchoredText: (commentOrId: Object | string, options?: {
|
|
@@ -668,7 +674,7 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
668
674
|
reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale }?: {
|
|
669
675
|
pruneStale?: boolean | undefined;
|
|
670
676
|
}) => any;
|
|
671
|
-
}, "getCommentAliasIds" | "getCommentPositionKey" | "getCommentPosition" | "getCommentAnchoredText" | "getCommentAnchorData" | "resolveCommentPositionEntry" | "getCommentDocumentId" | "belongsToDocument" | "init" | "setViewingVisibility" | "getComment" | "setActiveComment" | "getCommentLocation" | "hasOverlapId" | "getPendingComment" | "showAddComment" | "addComment" | "addHydratedComment" | "cancelComment" | "deleteComment" | "removePendingComment" | "cancelImportedTrackedChangeBootstrap" | "removeCommentsForDocument" | "processLoadedDocxComments" | "translateCommentsForExport" | "handleEditorLocationsUpdate" | "clearEditorCommentPositions" | "handleTrackedChangeUpdate" | "refreshTrackedChangeCommentsByIds" | "syncResolvedCommentsWithDocument" | "syncTrackedChangePositionsWithDocument" | "setActiveFloatingCommentInstance" | "requestInstantSidebarAlignment" | "peekInstantSidebarAlignment" | "clearInstantSidebarAlignment" | "syncTrackedChangeComments" | "decideTrackedChangeFromSidebar" | "setV2CommentsAdapter" | "getV2CommentsAdapter" | "hydrateCommentsFromV2" | "reconcileCommentsFromV2" | "isV2EditorActive" | "replyCommentV2" | "editCommentV2" | "resolveCommentV2" | "reopenCommentV2" | "setV2TrackedChangesAdapter" | "getV2TrackedChangesAdapter" | "hydrateTrackedChangesFromV2" | "reconcileTrackedChangeMutationFromV2" | "reconcileTrackedChangesFromV2">>;
|
|
677
|
+
}, "getCommentAliasIds" | "getTrackedChangeThread" | "getCommentPositionKey" | "getCommentPosition" | "getCommentAnchoredText" | "getCommentAnchorData" | "resolveCommentPositionEntry" | "getCommentDocumentId" | "belongsToDocument" | "init" | "setViewingVisibility" | "getComment" | "setActiveComment" | "getCommentLocation" | "hasOverlapId" | "getPendingComment" | "showAddComment" | "addComment" | "addHydratedComment" | "cancelComment" | "deleteComment" | "removePendingComment" | "cancelImportedTrackedChangeBootstrap" | "removeCommentsForDocument" | "processLoadedDocxComments" | "translateCommentsForExport" | "handleEditorLocationsUpdate" | "clearEditorCommentPositions" | "handleTrackedChangeUpdate" | "refreshTrackedChangeCommentsByIds" | "syncResolvedCommentsWithDocument" | "syncTrackedChangePositionsWithDocument" | "setActiveFloatingCommentInstance" | "requestInstantSidebarAlignment" | "peekInstantSidebarAlignment" | "clearInstantSidebarAlignment" | "syncTrackedChangeComments" | "decideTrackedChangeFromSidebar" | "setV2CommentsAdapter" | "getV2CommentsAdapter" | "hydrateCommentsFromV2" | "reconcileCommentsFromV2" | "isV2EditorActive" | "replyCommentV2" | "editCommentV2" | "resolveCommentV2" | "reopenCommentV2" | "setV2TrackedChangesAdapter" | "getV2TrackedChangesAdapter" | "hydrateTrackedChangesFromV2" | "reconcileTrackedChangeMutationFromV2" | "reconcileTrackedChangesFromV2">>;
|
|
672
678
|
documents: import('vue').Ref<any[], any[]>;
|
|
673
679
|
documentBounds: import('vue').Ref<never[], never[]>;
|
|
674
680
|
pages: {};
|
|
@@ -772,21 +778,23 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
772
778
|
parentComments: any[];
|
|
773
779
|
resolvedComments: any[];
|
|
774
780
|
}>;
|
|
781
|
+
hasOpenTrackedChanges: import('vue').ComputedRef<boolean>;
|
|
775
782
|
getCommentsByPosition: import('vue').ComputedRef<{
|
|
776
783
|
parentComments: any[];
|
|
777
784
|
resolvedComments: any[];
|
|
778
785
|
}>;
|
|
779
786
|
getFloatingComments: import('vue').ComputedRef<any[]>;
|
|
780
|
-
getFloatingCommentInstances: import('vue').ComputedRef<
|
|
781
|
-
id:
|
|
787
|
+
getFloatingCommentInstances: import('vue').ComputedRef<{
|
|
788
|
+
id: any;
|
|
782
789
|
threadId: any;
|
|
783
790
|
comment: any;
|
|
784
791
|
positionKey: any;
|
|
785
792
|
pageIndex: any;
|
|
786
793
|
isPrimary: boolean;
|
|
787
794
|
positionEntry: any;
|
|
788
|
-
}
|
|
795
|
+
}[]>;
|
|
789
796
|
getCommentAliasIds: (commentOrId: any) => (string | null)[];
|
|
797
|
+
getTrackedChangeThread: (parentComment: any) => any[] | readonly never[];
|
|
790
798
|
getCommentPositionKey: (commentOrId: Object | string | null | undefined) => string | null;
|
|
791
799
|
getCommentPosition: (commentOrId: Object | string) => Object | null;
|
|
792
800
|
getCommentAnchoredText: (commentOrId: Object | string, options?: {
|
|
@@ -995,21 +1003,23 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
995
1003
|
parentComments: any[];
|
|
996
1004
|
resolvedComments: any[];
|
|
997
1005
|
}>;
|
|
1006
|
+
hasOpenTrackedChanges: import('vue').ComputedRef<boolean>;
|
|
998
1007
|
getCommentsByPosition: import('vue').ComputedRef<{
|
|
999
1008
|
parentComments: any[];
|
|
1000
1009
|
resolvedComments: any[];
|
|
1001
1010
|
}>;
|
|
1002
1011
|
getFloatingComments: import('vue').ComputedRef<any[]>;
|
|
1003
|
-
getFloatingCommentInstances: import('vue').ComputedRef<
|
|
1004
|
-
id:
|
|
1012
|
+
getFloatingCommentInstances: import('vue').ComputedRef<{
|
|
1013
|
+
id: any;
|
|
1005
1014
|
threadId: any;
|
|
1006
1015
|
comment: any;
|
|
1007
1016
|
positionKey: any;
|
|
1008
1017
|
pageIndex: any;
|
|
1009
1018
|
isPrimary: boolean;
|
|
1010
1019
|
positionEntry: any;
|
|
1011
|
-
}
|
|
1020
|
+
}[]>;
|
|
1012
1021
|
getCommentAliasIds: (commentOrId: any) => (string | null)[];
|
|
1022
|
+
getTrackedChangeThread: (parentComment: any) => any[] | readonly never[];
|
|
1013
1023
|
getCommentPositionKey: (commentOrId: Object | string | null | undefined) => string | null;
|
|
1014
1024
|
getCommentPosition: (commentOrId: Object | string) => Object | null;
|
|
1015
1025
|
getCommentAnchoredText: (commentOrId: Object | string, options?: {
|
|
@@ -1166,7 +1176,7 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
1166
1176
|
reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale }?: {
|
|
1167
1177
|
pruneStale?: boolean | undefined;
|
|
1168
1178
|
}) => any;
|
|
1169
|
-
}, "getConfig" | "documentsWithConverations" | "getGroupedComments" | "getCommentsByPosition" | "getFloatingComments" | "getFloatingCommentInstances" | "isViewingMode" | "shouldRenderReviewInViewing">, Pick<{
|
|
1179
|
+
}, "getConfig" | "documentsWithConverations" | "getGroupedComments" | "hasOpenTrackedChanges" | "getCommentsByPosition" | "getFloatingComments" | "getFloatingCommentInstances" | "isViewingMode" | "shouldRenderReviewInViewing">, Pick<{
|
|
1170
1180
|
COMMENT_EVENTS: {
|
|
1171
1181
|
readonly RESOLVED: "resolved";
|
|
1172
1182
|
readonly NEW: "new";
|
|
@@ -1218,21 +1228,23 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
1218
1228
|
parentComments: any[];
|
|
1219
1229
|
resolvedComments: any[];
|
|
1220
1230
|
}>;
|
|
1231
|
+
hasOpenTrackedChanges: import('vue').ComputedRef<boolean>;
|
|
1221
1232
|
getCommentsByPosition: import('vue').ComputedRef<{
|
|
1222
1233
|
parentComments: any[];
|
|
1223
1234
|
resolvedComments: any[];
|
|
1224
1235
|
}>;
|
|
1225
1236
|
getFloatingComments: import('vue').ComputedRef<any[]>;
|
|
1226
|
-
getFloatingCommentInstances: import('vue').ComputedRef<
|
|
1227
|
-
id:
|
|
1237
|
+
getFloatingCommentInstances: import('vue').ComputedRef<{
|
|
1238
|
+
id: any;
|
|
1228
1239
|
threadId: any;
|
|
1229
1240
|
comment: any;
|
|
1230
1241
|
positionKey: any;
|
|
1231
1242
|
pageIndex: any;
|
|
1232
1243
|
isPrimary: boolean;
|
|
1233
1244
|
positionEntry: any;
|
|
1234
|
-
}
|
|
1245
|
+
}[]>;
|
|
1235
1246
|
getCommentAliasIds: (commentOrId: any) => (string | null)[];
|
|
1247
|
+
getTrackedChangeThread: (parentComment: any) => any[] | readonly never[];
|
|
1236
1248
|
getCommentPositionKey: (commentOrId: Object | string | null | undefined) => string | null;
|
|
1237
1249
|
getCommentPosition: (commentOrId: Object | string) => Object | null;
|
|
1238
1250
|
getCommentAnchoredText: (commentOrId: Object | string, options?: {
|
|
@@ -1389,7 +1401,7 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
1389
1401
|
reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale }?: {
|
|
1390
1402
|
pruneStale?: boolean | undefined;
|
|
1391
1403
|
}) => any;
|
|
1392
|
-
}, "getCommentAliasIds" | "getCommentPositionKey" | "getCommentPosition" | "getCommentAnchoredText" | "getCommentAnchorData" | "resolveCommentPositionEntry" | "getCommentDocumentId" | "belongsToDocument" | "init" | "setViewingVisibility" | "getComment" | "setActiveComment" | "getCommentLocation" | "hasOverlapId" | "getPendingComment" | "showAddComment" | "addComment" | "addHydratedComment" | "cancelComment" | "deleteComment" | "removePendingComment" | "cancelImportedTrackedChangeBootstrap" | "removeCommentsForDocument" | "processLoadedDocxComments" | "translateCommentsForExport" | "handleEditorLocationsUpdate" | "clearEditorCommentPositions" | "handleTrackedChangeUpdate" | "refreshTrackedChangeCommentsByIds" | "syncResolvedCommentsWithDocument" | "syncTrackedChangePositionsWithDocument" | "setActiveFloatingCommentInstance" | "requestInstantSidebarAlignment" | "peekInstantSidebarAlignment" | "clearInstantSidebarAlignment" | "syncTrackedChangeComments" | "decideTrackedChangeFromSidebar" | "setV2CommentsAdapter" | "getV2CommentsAdapter" | "hydrateCommentsFromV2" | "reconcileCommentsFromV2" | "isV2EditorActive" | "replyCommentV2" | "editCommentV2" | "resolveCommentV2" | "reopenCommentV2" | "setV2TrackedChangesAdapter" | "getV2TrackedChangesAdapter" | "hydrateTrackedChangesFromV2" | "reconcileTrackedChangeMutationFromV2" | "reconcileTrackedChangesFromV2">>;
|
|
1404
|
+
}, "getCommentAliasIds" | "getTrackedChangeThread" | "getCommentPositionKey" | "getCommentPosition" | "getCommentAnchoredText" | "getCommentAnchorData" | "resolveCommentPositionEntry" | "getCommentDocumentId" | "belongsToDocument" | "init" | "setViewingVisibility" | "getComment" | "setActiveComment" | "getCommentLocation" | "hasOverlapId" | "getPendingComment" | "showAddComment" | "addComment" | "addHydratedComment" | "cancelComment" | "deleteComment" | "removePendingComment" | "cancelImportedTrackedChangeBootstrap" | "removeCommentsForDocument" | "processLoadedDocxComments" | "translateCommentsForExport" | "handleEditorLocationsUpdate" | "clearEditorCommentPositions" | "handleTrackedChangeUpdate" | "refreshTrackedChangeCommentsByIds" | "syncResolvedCommentsWithDocument" | "syncTrackedChangePositionsWithDocument" | "setActiveFloatingCommentInstance" | "requestInstantSidebarAlignment" | "peekInstantSidebarAlignment" | "clearInstantSidebarAlignment" | "syncTrackedChangeComments" | "decideTrackedChangeFromSidebar" | "setV2CommentsAdapter" | "getV2CommentsAdapter" | "hydrateCommentsFromV2" | "reconcileCommentsFromV2" | "isV2EditorActive" | "replyCommentV2" | "editCommentV2" | "resolveCommentV2" | "reopenCommentV2" | "setV2TrackedChangesAdapter" | "getV2TrackedChangesAdapter" | "hydrateTrackedChangesFromV2" | "reconcileTrackedChangeMutationFromV2" | "reconcileTrackedChangesFromV2">>;
|
|
1393
1405
|
documents: import('vue').Ref<any[], any[]>;
|
|
1394
1406
|
documentBounds: import('vue').Ref<never[], never[]>;
|
|
1395
1407
|
pages: {};
|
|
@@ -1493,21 +1505,23 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
1493
1505
|
parentComments: any[];
|
|
1494
1506
|
resolvedComments: any[];
|
|
1495
1507
|
}>;
|
|
1508
|
+
hasOpenTrackedChanges: import('vue').ComputedRef<boolean>;
|
|
1496
1509
|
getCommentsByPosition: import('vue').ComputedRef<{
|
|
1497
1510
|
parentComments: any[];
|
|
1498
1511
|
resolvedComments: any[];
|
|
1499
1512
|
}>;
|
|
1500
1513
|
getFloatingComments: import('vue').ComputedRef<any[]>;
|
|
1501
|
-
getFloatingCommentInstances: import('vue').ComputedRef<
|
|
1502
|
-
id:
|
|
1514
|
+
getFloatingCommentInstances: import('vue').ComputedRef<{
|
|
1515
|
+
id: any;
|
|
1503
1516
|
threadId: any;
|
|
1504
1517
|
comment: any;
|
|
1505
1518
|
positionKey: any;
|
|
1506
1519
|
pageIndex: any;
|
|
1507
1520
|
isPrimary: boolean;
|
|
1508
1521
|
positionEntry: any;
|
|
1509
|
-
}
|
|
1522
|
+
}[]>;
|
|
1510
1523
|
getCommentAliasIds: (commentOrId: any) => (string | null)[];
|
|
1524
|
+
getTrackedChangeThread: (parentComment: any) => any[] | readonly never[];
|
|
1511
1525
|
getCommentPositionKey: (commentOrId: Object | string | null | undefined) => string | null;
|
|
1512
1526
|
getCommentPosition: (commentOrId: Object | string) => Object | null;
|
|
1513
1527
|
getCommentAnchoredText: (commentOrId: Object | string, options?: {
|
|
@@ -1716,21 +1730,23 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
1716
1730
|
parentComments: any[];
|
|
1717
1731
|
resolvedComments: any[];
|
|
1718
1732
|
}>;
|
|
1733
|
+
hasOpenTrackedChanges: import('vue').ComputedRef<boolean>;
|
|
1719
1734
|
getCommentsByPosition: import('vue').ComputedRef<{
|
|
1720
1735
|
parentComments: any[];
|
|
1721
1736
|
resolvedComments: any[];
|
|
1722
1737
|
}>;
|
|
1723
1738
|
getFloatingComments: import('vue').ComputedRef<any[]>;
|
|
1724
|
-
getFloatingCommentInstances: import('vue').ComputedRef<
|
|
1725
|
-
id:
|
|
1739
|
+
getFloatingCommentInstances: import('vue').ComputedRef<{
|
|
1740
|
+
id: any;
|
|
1726
1741
|
threadId: any;
|
|
1727
1742
|
comment: any;
|
|
1728
1743
|
positionKey: any;
|
|
1729
1744
|
pageIndex: any;
|
|
1730
1745
|
isPrimary: boolean;
|
|
1731
1746
|
positionEntry: any;
|
|
1732
|
-
}
|
|
1747
|
+
}[]>;
|
|
1733
1748
|
getCommentAliasIds: (commentOrId: any) => (string | null)[];
|
|
1749
|
+
getTrackedChangeThread: (parentComment: any) => any[] | readonly never[];
|
|
1734
1750
|
getCommentPositionKey: (commentOrId: Object | string | null | undefined) => string | null;
|
|
1735
1751
|
getCommentPosition: (commentOrId: Object | string) => Object | null;
|
|
1736
1752
|
getCommentAnchoredText: (commentOrId: Object | string, options?: {
|
|
@@ -1887,7 +1903,7 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
1887
1903
|
reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale }?: {
|
|
1888
1904
|
pruneStale?: boolean | undefined;
|
|
1889
1905
|
}) => any;
|
|
1890
|
-
}, "getConfig" | "documentsWithConverations" | "getGroupedComments" | "getCommentsByPosition" | "getFloatingComments" | "getFloatingCommentInstances" | "isViewingMode" | "shouldRenderReviewInViewing">, Pick<{
|
|
1906
|
+
}, "getConfig" | "documentsWithConverations" | "getGroupedComments" | "hasOpenTrackedChanges" | "getCommentsByPosition" | "getFloatingComments" | "getFloatingCommentInstances" | "isViewingMode" | "shouldRenderReviewInViewing">, Pick<{
|
|
1891
1907
|
COMMENT_EVENTS: {
|
|
1892
1908
|
readonly RESOLVED: "resolved";
|
|
1893
1909
|
readonly NEW: "new";
|
|
@@ -1939,21 +1955,23 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
1939
1955
|
parentComments: any[];
|
|
1940
1956
|
resolvedComments: any[];
|
|
1941
1957
|
}>;
|
|
1958
|
+
hasOpenTrackedChanges: import('vue').ComputedRef<boolean>;
|
|
1942
1959
|
getCommentsByPosition: import('vue').ComputedRef<{
|
|
1943
1960
|
parentComments: any[];
|
|
1944
1961
|
resolvedComments: any[];
|
|
1945
1962
|
}>;
|
|
1946
1963
|
getFloatingComments: import('vue').ComputedRef<any[]>;
|
|
1947
|
-
getFloatingCommentInstances: import('vue').ComputedRef<
|
|
1948
|
-
id:
|
|
1964
|
+
getFloatingCommentInstances: import('vue').ComputedRef<{
|
|
1965
|
+
id: any;
|
|
1949
1966
|
threadId: any;
|
|
1950
1967
|
comment: any;
|
|
1951
1968
|
positionKey: any;
|
|
1952
1969
|
pageIndex: any;
|
|
1953
1970
|
isPrimary: boolean;
|
|
1954
1971
|
positionEntry: any;
|
|
1955
|
-
}
|
|
1972
|
+
}[]>;
|
|
1956
1973
|
getCommentAliasIds: (commentOrId: any) => (string | null)[];
|
|
1974
|
+
getTrackedChangeThread: (parentComment: any) => any[] | readonly never[];
|
|
1957
1975
|
getCommentPositionKey: (commentOrId: Object | string | null | undefined) => string | null;
|
|
1958
1976
|
getCommentPosition: (commentOrId: Object | string) => Object | null;
|
|
1959
1977
|
getCommentAnchoredText: (commentOrId: Object | string, options?: {
|
|
@@ -2110,7 +2128,7 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
2110
2128
|
reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale }?: {
|
|
2111
2129
|
pruneStale?: boolean | undefined;
|
|
2112
2130
|
}) => any;
|
|
2113
|
-
}, "getCommentAliasIds" | "getCommentPositionKey" | "getCommentPosition" | "getCommentAnchoredText" | "getCommentAnchorData" | "resolveCommentPositionEntry" | "getCommentDocumentId" | "belongsToDocument" | "init" | "setViewingVisibility" | "getComment" | "setActiveComment" | "getCommentLocation" | "hasOverlapId" | "getPendingComment" | "showAddComment" | "addComment" | "addHydratedComment" | "cancelComment" | "deleteComment" | "removePendingComment" | "cancelImportedTrackedChangeBootstrap" | "removeCommentsForDocument" | "processLoadedDocxComments" | "translateCommentsForExport" | "handleEditorLocationsUpdate" | "clearEditorCommentPositions" | "handleTrackedChangeUpdate" | "refreshTrackedChangeCommentsByIds" | "syncResolvedCommentsWithDocument" | "syncTrackedChangePositionsWithDocument" | "setActiveFloatingCommentInstance" | "requestInstantSidebarAlignment" | "peekInstantSidebarAlignment" | "clearInstantSidebarAlignment" | "syncTrackedChangeComments" | "decideTrackedChangeFromSidebar" | "setV2CommentsAdapter" | "getV2CommentsAdapter" | "hydrateCommentsFromV2" | "reconcileCommentsFromV2" | "isV2EditorActive" | "replyCommentV2" | "editCommentV2" | "resolveCommentV2" | "reopenCommentV2" | "setV2TrackedChangesAdapter" | "getV2TrackedChangesAdapter" | "hydrateTrackedChangesFromV2" | "reconcileTrackedChangeMutationFromV2" | "reconcileTrackedChangesFromV2">>;
|
|
2131
|
+
}, "getCommentAliasIds" | "getTrackedChangeThread" | "getCommentPositionKey" | "getCommentPosition" | "getCommentAnchoredText" | "getCommentAnchorData" | "resolveCommentPositionEntry" | "getCommentDocumentId" | "belongsToDocument" | "init" | "setViewingVisibility" | "getComment" | "setActiveComment" | "getCommentLocation" | "hasOverlapId" | "getPendingComment" | "showAddComment" | "addComment" | "addHydratedComment" | "cancelComment" | "deleteComment" | "removePendingComment" | "cancelImportedTrackedChangeBootstrap" | "removeCommentsForDocument" | "processLoadedDocxComments" | "translateCommentsForExport" | "handleEditorLocationsUpdate" | "clearEditorCommentPositions" | "handleTrackedChangeUpdate" | "refreshTrackedChangeCommentsByIds" | "syncResolvedCommentsWithDocument" | "syncTrackedChangePositionsWithDocument" | "setActiveFloatingCommentInstance" | "requestInstantSidebarAlignment" | "peekInstantSidebarAlignment" | "clearInstantSidebarAlignment" | "syncTrackedChangeComments" | "decideTrackedChangeFromSidebar" | "setV2CommentsAdapter" | "getV2CommentsAdapter" | "hydrateCommentsFromV2" | "reconcileCommentsFromV2" | "isV2EditorActive" | "replyCommentV2" | "editCommentV2" | "resolveCommentV2" | "reopenCommentV2" | "setV2TrackedChangesAdapter" | "getV2TrackedChangesAdapter" | "hydrateTrackedChangesFromV2" | "reconcileTrackedChangeMutationFromV2" | "reconcileTrackedChangesFromV2">>;
|
|
2114
2132
|
documents: import('vue').Ref<any[], any[]>;
|
|
2115
2133
|
documentBounds: import('vue').Ref<never[], never[]>;
|
|
2116
2134
|
pages: {};
|