superdoc 2.0.0-next.28 → 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-BlnUCtrx.es.js → create-super-doc-ui-BKVf2uCM.es.js} +489 -108
- package/dist/chunks/{create-super-doc-ui-CZBUMdjl.cjs → create-super-doc-ui-BXehf3i3.cjs} +489 -108
- package/dist/collaboration-upgrade-engine.cjs +1 -1
- package/dist/collaboration-upgrade-engine.es.js +1 -1
- package/dist/layout-engine/layout-bridge/src/incrementalLayout.d.ts +18 -1
- 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 +113 -88
- package/dist/style.layered.css +113 -88
- package/dist/superdoc/src/components/CommentsLayer/floating-comment-positioning.d.ts +1 -2
- 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/stores/comments-store.d.ts +8 -2
- package/dist/superdoc/src/stores/helpers/tracked-change-thread-index.d.ts +14 -0
- package/dist/superdoc/src/stores/superdoc-store.d.ts +24 -6
- package/dist/superdoc.cjs +422 -134
- package/dist/superdoc.es.js +422 -134
- 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,6 +50,7 @@ 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[];
|
|
@@ -65,6 +66,7 @@ export const useCommentsStore: import('pinia').StoreDefinition<"comments", Pick<
|
|
|
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,6 +275,7 @@ 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[];
|
|
@@ -288,6 +291,7 @@ export const useCommentsStore: import('pinia').StoreDefinition<"comments", Pick<
|
|
|
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,6 +500,7 @@ 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[];
|
|
@@ -511,6 +516,7 @@ export const useCommentsStore: import('pinia').StoreDefinition<"comments", Pick<
|
|
|
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">>;
|
|
@@ -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,6 +51,7 @@ 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[];
|
|
@@ -66,6 +67,7 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
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,6 +276,7 @@ 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[];
|
|
@@ -289,6 +292,7 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
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,6 +501,7 @@ 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[];
|
|
@@ -512,6 +517,7 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
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,6 +778,7 @@ 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[];
|
|
@@ -787,6 +794,7 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
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,6 +1003,7 @@ 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[];
|
|
@@ -1010,6 +1019,7 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
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,6 +1228,7 @@ 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[];
|
|
@@ -1233,6 +1244,7 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
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,6 +1505,7 @@ 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[];
|
|
@@ -1508,6 +1521,7 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
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,6 +1730,7 @@ 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[];
|
|
@@ -1731,6 +1746,7 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
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,6 +1955,7 @@ 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[];
|
|
@@ -1954,6 +1971,7 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
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: {};
|