superdoc 2.28.0-next.12 → 2.28.0-next.14
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-B6Va_J_0.es.js → create-super-doc-ui-BRahDsch.es.js} +70 -0
- package/dist/chunks/{create-super-doc-ui-8dttPeGi.cjs → create-super-doc-ui-CFlvn2wr.cjs} +70 -0
- package/dist/collaboration-upgrade-engine.cjs +1 -1
- package/dist/collaboration-upgrade-engine.es.js +1 -1
- 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/style.css +1 -1
- package/dist/style.layered.css +1 -1
- package/dist/superdoc/src/public/ui/types.d.ts +19 -1
- package/dist/superdoc/src/public/ui.d.cts +4 -0
- package/dist/superdoc/src/public/ui.d.ts +1 -1
- package/dist/superdoc/src/stores/comments-store.d.ts +4 -61
- package/dist/superdoc/src/stores/superdoc-store.d.ts +12 -183
- package/dist/superdoc.cjs +12 -1177
- package/dist/superdoc.es.js +12 -1177
- package/dist-cdn/style.layered.css +1 -1
- package/dist-cdn/superdoc.min.css +1 -1
- package/dist-cdn/superdoc.min.js +42 -42
- package/package.json +2 -2
- package/dist/superdoc/src/helpers/group-changes.d.ts +0 -1
|
@@ -135,7 +135,6 @@ export const useCommentsStore: import('pinia').StoreDefinition<"comments", Pick<
|
|
|
135
135
|
superdoc: any;
|
|
136
136
|
}) => Promise<any>;
|
|
137
137
|
removePendingComment: (superdoc: any) => void;
|
|
138
|
-
cancelImportedTrackedChangeBootstrap: (documentId: string | null | undefined) => number;
|
|
139
138
|
removeCommentsForDocument: (documentId: string | null | undefined) => void;
|
|
140
139
|
setReviewDirectoryFromV2: ({ superdoc, commentItems, trackedChangeItems }?: {
|
|
141
140
|
commentItems?: never[] | undefined;
|
|
@@ -150,38 +149,20 @@ export const useCommentsStore: import('pinia').StoreDefinition<"comments", Pick<
|
|
|
150
149
|
reason?: undefined;
|
|
151
150
|
};
|
|
152
151
|
clearReviewDirectory: () => void;
|
|
153
|
-
processLoadedDocxComments: ({ superdoc, editor, comments, documentId, replacedFile }: {
|
|
154
|
-
comments: any[];
|
|
155
|
-
documentId: string;
|
|
156
|
-
replacedFile?: boolean | undefined;
|
|
157
|
-
}) => void;
|
|
158
|
-
translateCommentsForExport: () => any[];
|
|
159
152
|
handleEditorLocationsUpdate: (allCommentPositions: Object, options?: {
|
|
160
153
|
retainMissingTrackedChangeGeometry?: boolean;
|
|
161
154
|
retainedTrackedChangeIds?: Iterable<string>;
|
|
162
155
|
}) => void;
|
|
163
156
|
clearEditorCommentPositions: () => void;
|
|
164
|
-
handleTrackedChangeUpdate: ({ superdoc, params, broadcastChanges,
|
|
157
|
+
handleTrackedChangeUpdate: ({ superdoc, params, broadcastChanges, trackedChangeIdentityIndex, }: {
|
|
165
158
|
superdoc: Object;
|
|
166
159
|
params: Object;
|
|
167
160
|
}) => void;
|
|
168
|
-
refreshTrackedChangeCommentsByIds: ({ superdoc, editor, changeIds, broadcastChanges }: {
|
|
169
|
-
superdoc: any;
|
|
170
|
-
editor: any;
|
|
171
|
-
changeIds: any;
|
|
172
|
-
broadcastChanges?: boolean | undefined;
|
|
173
|
-
}) => void;
|
|
174
161
|
syncResolvedCommentsWithDocument: ({ editor }?: {}) => number;
|
|
175
|
-
syncTrackedChangePositionsWithDocument: ({ documentId, editor }?: {}) => number;
|
|
176
162
|
setActiveFloatingCommentInstance: (instanceId?: null) => void;
|
|
177
163
|
requestInstantSidebarAlignment: (targetY?: null, threadId?: null, instanceId?: null) => void;
|
|
178
164
|
peekInstantSidebarAlignment: () => null;
|
|
179
165
|
clearInstantSidebarAlignment: () => void;
|
|
180
|
-
syncTrackedChangeComments: ({ superdoc, editor, broadcastChanges }: {
|
|
181
|
-
superdoc: any;
|
|
182
|
-
editor: any;
|
|
183
|
-
broadcastChanges?: boolean | undefined;
|
|
184
|
-
}) => void;
|
|
185
166
|
decideTrackedChangeFromSidebar: ({ superdoc, comment, decision }: {
|
|
186
167
|
superdoc: Object;
|
|
187
168
|
editor: Object;
|
|
@@ -403,7 +384,6 @@ export const useCommentsStore: import('pinia').StoreDefinition<"comments", Pick<
|
|
|
403
384
|
superdoc: any;
|
|
404
385
|
}) => Promise<any>;
|
|
405
386
|
removePendingComment: (superdoc: any) => void;
|
|
406
|
-
cancelImportedTrackedChangeBootstrap: (documentId: string | null | undefined) => number;
|
|
407
387
|
removeCommentsForDocument: (documentId: string | null | undefined) => void;
|
|
408
388
|
setReviewDirectoryFromV2: ({ superdoc, commentItems, trackedChangeItems }?: {
|
|
409
389
|
commentItems?: never[] | undefined;
|
|
@@ -418,38 +398,20 @@ export const useCommentsStore: import('pinia').StoreDefinition<"comments", Pick<
|
|
|
418
398
|
reason?: undefined;
|
|
419
399
|
};
|
|
420
400
|
clearReviewDirectory: () => void;
|
|
421
|
-
processLoadedDocxComments: ({ superdoc, editor, comments, documentId, replacedFile }: {
|
|
422
|
-
comments: any[];
|
|
423
|
-
documentId: string;
|
|
424
|
-
replacedFile?: boolean | undefined;
|
|
425
|
-
}) => void;
|
|
426
|
-
translateCommentsForExport: () => any[];
|
|
427
401
|
handleEditorLocationsUpdate: (allCommentPositions: Object, options?: {
|
|
428
402
|
retainMissingTrackedChangeGeometry?: boolean;
|
|
429
403
|
retainedTrackedChangeIds?: Iterable<string>;
|
|
430
404
|
}) => void;
|
|
431
405
|
clearEditorCommentPositions: () => void;
|
|
432
|
-
handleTrackedChangeUpdate: ({ superdoc, params, broadcastChanges,
|
|
406
|
+
handleTrackedChangeUpdate: ({ superdoc, params, broadcastChanges, trackedChangeIdentityIndex, }: {
|
|
433
407
|
superdoc: Object;
|
|
434
408
|
params: Object;
|
|
435
409
|
}) => void;
|
|
436
|
-
refreshTrackedChangeCommentsByIds: ({ superdoc, editor, changeIds, broadcastChanges }: {
|
|
437
|
-
superdoc: any;
|
|
438
|
-
editor: any;
|
|
439
|
-
changeIds: any;
|
|
440
|
-
broadcastChanges?: boolean | undefined;
|
|
441
|
-
}) => void;
|
|
442
410
|
syncResolvedCommentsWithDocument: ({ editor }?: {}) => number;
|
|
443
|
-
syncTrackedChangePositionsWithDocument: ({ documentId, editor }?: {}) => number;
|
|
444
411
|
setActiveFloatingCommentInstance: (instanceId?: null) => void;
|
|
445
412
|
requestInstantSidebarAlignment: (targetY?: null, threadId?: null, instanceId?: null) => void;
|
|
446
413
|
peekInstantSidebarAlignment: () => null;
|
|
447
414
|
clearInstantSidebarAlignment: () => void;
|
|
448
|
-
syncTrackedChangeComments: ({ superdoc, editor, broadcastChanges }: {
|
|
449
|
-
superdoc: any;
|
|
450
|
-
editor: any;
|
|
451
|
-
broadcastChanges?: boolean | undefined;
|
|
452
|
-
}) => void;
|
|
453
415
|
decideTrackedChangeFromSidebar: ({ superdoc, comment, decision }: {
|
|
454
416
|
superdoc: Object;
|
|
455
417
|
editor: Object;
|
|
@@ -671,7 +633,6 @@ export const useCommentsStore: import('pinia').StoreDefinition<"comments", Pick<
|
|
|
671
633
|
superdoc: any;
|
|
672
634
|
}) => Promise<any>;
|
|
673
635
|
removePendingComment: (superdoc: any) => void;
|
|
674
|
-
cancelImportedTrackedChangeBootstrap: (documentId: string | null | undefined) => number;
|
|
675
636
|
removeCommentsForDocument: (documentId: string | null | undefined) => void;
|
|
676
637
|
setReviewDirectoryFromV2: ({ superdoc, commentItems, trackedChangeItems }?: {
|
|
677
638
|
commentItems?: never[] | undefined;
|
|
@@ -686,38 +647,20 @@ export const useCommentsStore: import('pinia').StoreDefinition<"comments", Pick<
|
|
|
686
647
|
reason?: undefined;
|
|
687
648
|
};
|
|
688
649
|
clearReviewDirectory: () => void;
|
|
689
|
-
processLoadedDocxComments: ({ superdoc, editor, comments, documentId, replacedFile }: {
|
|
690
|
-
comments: any[];
|
|
691
|
-
documentId: string;
|
|
692
|
-
replacedFile?: boolean | undefined;
|
|
693
|
-
}) => void;
|
|
694
|
-
translateCommentsForExport: () => any[];
|
|
695
650
|
handleEditorLocationsUpdate: (allCommentPositions: Object, options?: {
|
|
696
651
|
retainMissingTrackedChangeGeometry?: boolean;
|
|
697
652
|
retainedTrackedChangeIds?: Iterable<string>;
|
|
698
653
|
}) => void;
|
|
699
654
|
clearEditorCommentPositions: () => void;
|
|
700
|
-
handleTrackedChangeUpdate: ({ superdoc, params, broadcastChanges,
|
|
655
|
+
handleTrackedChangeUpdate: ({ superdoc, params, broadcastChanges, trackedChangeIdentityIndex, }: {
|
|
701
656
|
superdoc: Object;
|
|
702
657
|
params: Object;
|
|
703
658
|
}) => void;
|
|
704
|
-
refreshTrackedChangeCommentsByIds: ({ superdoc, editor, changeIds, broadcastChanges }: {
|
|
705
|
-
superdoc: any;
|
|
706
|
-
editor: any;
|
|
707
|
-
changeIds: any;
|
|
708
|
-
broadcastChanges?: boolean | undefined;
|
|
709
|
-
}) => void;
|
|
710
659
|
syncResolvedCommentsWithDocument: ({ editor }?: {}) => number;
|
|
711
|
-
syncTrackedChangePositionsWithDocument: ({ documentId, editor }?: {}) => number;
|
|
712
660
|
setActiveFloatingCommentInstance: (instanceId?: null) => void;
|
|
713
661
|
requestInstantSidebarAlignment: (targetY?: null, threadId?: null, instanceId?: null) => void;
|
|
714
662
|
peekInstantSidebarAlignment: () => null;
|
|
715
663
|
clearInstantSidebarAlignment: () => void;
|
|
716
|
-
syncTrackedChangeComments: ({ superdoc, editor, broadcastChanges }: {
|
|
717
|
-
superdoc: any;
|
|
718
|
-
editor: any;
|
|
719
|
-
broadcastChanges?: boolean | undefined;
|
|
720
|
-
}) => void;
|
|
721
664
|
decideTrackedChangeFromSidebar: ({ superdoc, comment, decision }: {
|
|
722
665
|
superdoc: Object;
|
|
723
666
|
editor: Object;
|
|
@@ -802,4 +745,4 @@ export const useCommentsStore: import('pinia').StoreDefinition<"comments", Pick<
|
|
|
802
745
|
liveAnchorKeys?: null | undefined;
|
|
803
746
|
}) => any;
|
|
804
747
|
remapTrackedChangeIdentities: (pairs?: any[], { documentId }?: {}) => void;
|
|
805
|
-
}, "getCommentAliasIds" | "getTrackedChangeThread" | "getCommentPositionKey" | "getCommentPosition" | "getCommentAnchoredText" | "getCommentAnchorData" | "resolveCommentPositionEntry" | "getCommentDocumentId" | "belongsToDocument" | "init" | "setViewingVisibility" | "getComment" | "setActiveComment" | "getCommentLocation" | "hasOverlapId" | "getPendingComment" | "showAddComment" | "addComment" | "addHydratedComment" | "cancelComment" | "deleteComment" | "removePendingComment" | "
|
|
748
|
+
}, "getCommentAliasIds" | "getTrackedChangeThread" | "getCommentPositionKey" | "getCommentPosition" | "getCommentAnchoredText" | "getCommentAnchorData" | "resolveCommentPositionEntry" | "getCommentDocumentId" | "belongsToDocument" | "init" | "setViewingVisibility" | "getComment" | "setActiveComment" | "getCommentLocation" | "hasOverlapId" | "getPendingComment" | "showAddComment" | "addComment" | "addHydratedComment" | "cancelComment" | "deleteComment" | "removePendingComment" | "removeCommentsForDocument" | "setReviewDirectoryFromV2" | "clearReviewDirectory" | "handleEditorLocationsUpdate" | "clearEditorCommentPositions" | "handleTrackedChangeUpdate" | "syncResolvedCommentsWithDocument" | "setActiveFloatingCommentInstance" | "requestInstantSidebarAlignment" | "peekInstantSidebarAlignment" | "clearInstantSidebarAlignment" | "decideTrackedChangeFromSidebar" | "setV2CommentsAdapter" | "getV2CommentsAdapter" | "applyReviewWindowFromV2" | "reconcileCommentsFromV2" | "announceV2CommentCreated" | "dropCommentsFromMutationImpact" | "isV2EditorActive" | "replyCommentV2" | "editCommentV2" | "resolveCommentV2" | "reopenCommentV2" | "setV2TrackedChangesAdapter" | "getV2TrackedChangesAdapter" | "getV2TrackedChangeRowCount" | "reconcileTrackedChangeMutationFromV2" | "reconcileTrackedChangesFromV2" | "remapTrackedChangeIdentities">>;
|
|
@@ -164,7 +164,6 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
|
|
|
164
164
|
superdoc: any;
|
|
165
165
|
}) => Promise<any>;
|
|
166
166
|
removePendingComment: (superdoc: any) => void;
|
|
167
|
-
cancelImportedTrackedChangeBootstrap: (documentId: string | null | undefined) => number;
|
|
168
167
|
removeCommentsForDocument: (documentId: string | null | undefined) => void;
|
|
169
168
|
setReviewDirectoryFromV2: ({ superdoc, commentItems, trackedChangeItems }?: {
|
|
170
169
|
commentItems?: never[] | undefined;
|
|
@@ -179,38 +178,20 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
|
|
|
179
178
|
reason?: undefined;
|
|
180
179
|
};
|
|
181
180
|
clearReviewDirectory: () => void;
|
|
182
|
-
processLoadedDocxComments: ({ superdoc, editor, comments, documentId, replacedFile }: {
|
|
183
|
-
comments: any[];
|
|
184
|
-
documentId: string;
|
|
185
|
-
replacedFile?: boolean | undefined;
|
|
186
|
-
}) => void;
|
|
187
|
-
translateCommentsForExport: () => any[];
|
|
188
181
|
handleEditorLocationsUpdate: (allCommentPositions: Object, options?: {
|
|
189
182
|
retainMissingTrackedChangeGeometry?: boolean;
|
|
190
183
|
retainedTrackedChangeIds?: Iterable<string>;
|
|
191
184
|
}) => void;
|
|
192
185
|
clearEditorCommentPositions: () => void;
|
|
193
|
-
handleTrackedChangeUpdate: ({ superdoc, params, broadcastChanges,
|
|
186
|
+
handleTrackedChangeUpdate: ({ superdoc, params, broadcastChanges, trackedChangeIdentityIndex, }: {
|
|
194
187
|
superdoc: Object;
|
|
195
188
|
params: Object;
|
|
196
189
|
}) => void;
|
|
197
|
-
refreshTrackedChangeCommentsByIds: ({ superdoc, editor, changeIds, broadcastChanges }: {
|
|
198
|
-
superdoc: any;
|
|
199
|
-
editor: any;
|
|
200
|
-
changeIds: any;
|
|
201
|
-
broadcastChanges?: boolean | undefined;
|
|
202
|
-
}) => void;
|
|
203
190
|
syncResolvedCommentsWithDocument: ({ editor }?: {}) => number;
|
|
204
|
-
syncTrackedChangePositionsWithDocument: ({ documentId, editor }?: {}) => number;
|
|
205
191
|
setActiveFloatingCommentInstance: (instanceId?: null) => void;
|
|
206
192
|
requestInstantSidebarAlignment: (targetY?: null, threadId?: null, instanceId?: null) => void;
|
|
207
193
|
peekInstantSidebarAlignment: () => null;
|
|
208
194
|
clearInstantSidebarAlignment: () => void;
|
|
209
|
-
syncTrackedChangeComments: ({ superdoc, editor, broadcastChanges }: {
|
|
210
|
-
superdoc: any;
|
|
211
|
-
editor: any;
|
|
212
|
-
broadcastChanges?: boolean | undefined;
|
|
213
|
-
}) => void;
|
|
214
195
|
decideTrackedChangeFromSidebar: ({ superdoc, comment, decision }: {
|
|
215
196
|
superdoc: Object;
|
|
216
197
|
editor: Object;
|
|
@@ -432,7 +413,6 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
|
|
|
432
413
|
superdoc: any;
|
|
433
414
|
}) => Promise<any>;
|
|
434
415
|
removePendingComment: (superdoc: any) => void;
|
|
435
|
-
cancelImportedTrackedChangeBootstrap: (documentId: string | null | undefined) => number;
|
|
436
416
|
removeCommentsForDocument: (documentId: string | null | undefined) => void;
|
|
437
417
|
setReviewDirectoryFromV2: ({ superdoc, commentItems, trackedChangeItems }?: {
|
|
438
418
|
commentItems?: never[] | undefined;
|
|
@@ -447,38 +427,20 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
|
|
|
447
427
|
reason?: undefined;
|
|
448
428
|
};
|
|
449
429
|
clearReviewDirectory: () => void;
|
|
450
|
-
processLoadedDocxComments: ({ superdoc, editor, comments, documentId, replacedFile }: {
|
|
451
|
-
comments: any[];
|
|
452
|
-
documentId: string;
|
|
453
|
-
replacedFile?: boolean | undefined;
|
|
454
|
-
}) => void;
|
|
455
|
-
translateCommentsForExport: () => any[];
|
|
456
430
|
handleEditorLocationsUpdate: (allCommentPositions: Object, options?: {
|
|
457
431
|
retainMissingTrackedChangeGeometry?: boolean;
|
|
458
432
|
retainedTrackedChangeIds?: Iterable<string>;
|
|
459
433
|
}) => void;
|
|
460
434
|
clearEditorCommentPositions: () => void;
|
|
461
|
-
handleTrackedChangeUpdate: ({ superdoc, params, broadcastChanges,
|
|
435
|
+
handleTrackedChangeUpdate: ({ superdoc, params, broadcastChanges, trackedChangeIdentityIndex, }: {
|
|
462
436
|
superdoc: Object;
|
|
463
437
|
params: Object;
|
|
464
438
|
}) => void;
|
|
465
|
-
refreshTrackedChangeCommentsByIds: ({ superdoc, editor, changeIds, broadcastChanges }: {
|
|
466
|
-
superdoc: any;
|
|
467
|
-
editor: any;
|
|
468
|
-
changeIds: any;
|
|
469
|
-
broadcastChanges?: boolean | undefined;
|
|
470
|
-
}) => void;
|
|
471
439
|
syncResolvedCommentsWithDocument: ({ editor }?: {}) => number;
|
|
472
|
-
syncTrackedChangePositionsWithDocument: ({ documentId, editor }?: {}) => number;
|
|
473
440
|
setActiveFloatingCommentInstance: (instanceId?: null) => void;
|
|
474
441
|
requestInstantSidebarAlignment: (targetY?: null, threadId?: null, instanceId?: null) => void;
|
|
475
442
|
peekInstantSidebarAlignment: () => null;
|
|
476
443
|
clearInstantSidebarAlignment: () => void;
|
|
477
|
-
syncTrackedChangeComments: ({ superdoc, editor, broadcastChanges }: {
|
|
478
|
-
superdoc: any;
|
|
479
|
-
editor: any;
|
|
480
|
-
broadcastChanges?: boolean | undefined;
|
|
481
|
-
}) => void;
|
|
482
444
|
decideTrackedChangeFromSidebar: ({ superdoc, comment, decision }: {
|
|
483
445
|
superdoc: Object;
|
|
484
446
|
editor: Object;
|
|
@@ -700,7 +662,6 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
|
|
|
700
662
|
superdoc: any;
|
|
701
663
|
}) => Promise<any>;
|
|
702
664
|
removePendingComment: (superdoc: any) => void;
|
|
703
|
-
cancelImportedTrackedChangeBootstrap: (documentId: string | null | undefined) => number;
|
|
704
665
|
removeCommentsForDocument: (documentId: string | null | undefined) => void;
|
|
705
666
|
setReviewDirectoryFromV2: ({ superdoc, commentItems, trackedChangeItems }?: {
|
|
706
667
|
commentItems?: never[] | undefined;
|
|
@@ -715,38 +676,20 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
|
|
|
715
676
|
reason?: undefined;
|
|
716
677
|
};
|
|
717
678
|
clearReviewDirectory: () => void;
|
|
718
|
-
processLoadedDocxComments: ({ superdoc, editor, comments, documentId, replacedFile }: {
|
|
719
|
-
comments: any[];
|
|
720
|
-
documentId: string;
|
|
721
|
-
replacedFile?: boolean | undefined;
|
|
722
|
-
}) => void;
|
|
723
|
-
translateCommentsForExport: () => any[];
|
|
724
679
|
handleEditorLocationsUpdate: (allCommentPositions: Object, options?: {
|
|
725
680
|
retainMissingTrackedChangeGeometry?: boolean;
|
|
726
681
|
retainedTrackedChangeIds?: Iterable<string>;
|
|
727
682
|
}) => void;
|
|
728
683
|
clearEditorCommentPositions: () => void;
|
|
729
|
-
handleTrackedChangeUpdate: ({ superdoc, params, broadcastChanges,
|
|
684
|
+
handleTrackedChangeUpdate: ({ superdoc, params, broadcastChanges, trackedChangeIdentityIndex, }: {
|
|
730
685
|
superdoc: Object;
|
|
731
686
|
params: Object;
|
|
732
687
|
}) => void;
|
|
733
|
-
refreshTrackedChangeCommentsByIds: ({ superdoc, editor, changeIds, broadcastChanges }: {
|
|
734
|
-
superdoc: any;
|
|
735
|
-
editor: any;
|
|
736
|
-
changeIds: any;
|
|
737
|
-
broadcastChanges?: boolean | undefined;
|
|
738
|
-
}) => void;
|
|
739
688
|
syncResolvedCommentsWithDocument: ({ editor }?: {}) => number;
|
|
740
|
-
syncTrackedChangePositionsWithDocument: ({ documentId, editor }?: {}) => number;
|
|
741
689
|
setActiveFloatingCommentInstance: (instanceId?: null) => void;
|
|
742
690
|
requestInstantSidebarAlignment: (targetY?: null, threadId?: null, instanceId?: null) => void;
|
|
743
691
|
peekInstantSidebarAlignment: () => null;
|
|
744
692
|
clearInstantSidebarAlignment: () => void;
|
|
745
|
-
syncTrackedChangeComments: ({ superdoc, editor, broadcastChanges }: {
|
|
746
|
-
superdoc: any;
|
|
747
|
-
editor: any;
|
|
748
|
-
broadcastChanges?: boolean | undefined;
|
|
749
|
-
}) => void;
|
|
750
693
|
decideTrackedChangeFromSidebar: ({ superdoc, comment, decision }: {
|
|
751
694
|
superdoc: Object;
|
|
752
695
|
editor: Object;
|
|
@@ -831,7 +774,7 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
|
|
|
831
774
|
liveAnchorKeys?: null | undefined;
|
|
832
775
|
}) => any;
|
|
833
776
|
remapTrackedChangeIdentities: (pairs?: any[], { documentId }?: {}) => void;
|
|
834
|
-
}, "getCommentAliasIds" | "getTrackedChangeThread" | "getCommentPositionKey" | "getCommentPosition" | "getCommentAnchoredText" | "getCommentAnchorData" | "resolveCommentPositionEntry" | "getCommentDocumentId" | "belongsToDocument" | "init" | "setViewingVisibility" | "getComment" | "setActiveComment" | "getCommentLocation" | "hasOverlapId" | "getPendingComment" | "showAddComment" | "addComment" | "addHydratedComment" | "cancelComment" | "deleteComment" | "removePendingComment" | "
|
|
777
|
+
}, "getCommentAliasIds" | "getTrackedChangeThread" | "getCommentPositionKey" | "getCommentPosition" | "getCommentAnchoredText" | "getCommentAnchorData" | "resolveCommentPositionEntry" | "getCommentDocumentId" | "belongsToDocument" | "init" | "setViewingVisibility" | "getComment" | "setActiveComment" | "getCommentLocation" | "hasOverlapId" | "getPendingComment" | "showAddComment" | "addComment" | "addHydratedComment" | "cancelComment" | "deleteComment" | "removePendingComment" | "removeCommentsForDocument" | "setReviewDirectoryFromV2" | "clearReviewDirectory" | "handleEditorLocationsUpdate" | "clearEditorCommentPositions" | "handleTrackedChangeUpdate" | "syncResolvedCommentsWithDocument" | "setActiveFloatingCommentInstance" | "requestInstantSidebarAlignment" | "peekInstantSidebarAlignment" | "clearInstantSidebarAlignment" | "decideTrackedChangeFromSidebar" | "setV2CommentsAdapter" | "getV2CommentsAdapter" | "applyReviewWindowFromV2" | "reconcileCommentsFromV2" | "announceV2CommentCreated" | "dropCommentsFromMutationImpact" | "isV2EditorActive" | "replyCommentV2" | "editCommentV2" | "resolveCommentV2" | "reopenCommentV2" | "setV2TrackedChangesAdapter" | "getV2TrackedChangesAdapter" | "getV2TrackedChangeRowCount" | "reconcileTrackedChangeMutationFromV2" | "reconcileTrackedChangesFromV2" | "remapTrackedChangeIdentities">>;
|
|
835
778
|
documents: Ref<StoreDocument[], StoreDocument[]>;
|
|
836
779
|
documentBounds: Ref<unknown[], unknown[]>;
|
|
837
780
|
pages: Record<string, PageEntry[]>;
|
|
@@ -999,7 +942,6 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
|
|
|
999
942
|
superdoc: any;
|
|
1000
943
|
}) => Promise<any>;
|
|
1001
944
|
removePendingComment: (superdoc: any) => void;
|
|
1002
|
-
cancelImportedTrackedChangeBootstrap: (documentId: string | null | undefined) => number;
|
|
1003
945
|
removeCommentsForDocument: (documentId: string | null | undefined) => void;
|
|
1004
946
|
setReviewDirectoryFromV2: ({ superdoc, commentItems, trackedChangeItems }?: {
|
|
1005
947
|
commentItems?: never[] | undefined;
|
|
@@ -1014,38 +956,20 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
|
|
|
1014
956
|
reason?: undefined;
|
|
1015
957
|
};
|
|
1016
958
|
clearReviewDirectory: () => void;
|
|
1017
|
-
processLoadedDocxComments: ({ superdoc, editor, comments, documentId, replacedFile }: {
|
|
1018
|
-
comments: any[];
|
|
1019
|
-
documentId: string;
|
|
1020
|
-
replacedFile?: boolean | undefined;
|
|
1021
|
-
}) => void;
|
|
1022
|
-
translateCommentsForExport: () => any[];
|
|
1023
959
|
handleEditorLocationsUpdate: (allCommentPositions: Object, options?: {
|
|
1024
960
|
retainMissingTrackedChangeGeometry?: boolean;
|
|
1025
961
|
retainedTrackedChangeIds?: Iterable<string>;
|
|
1026
962
|
}) => void;
|
|
1027
963
|
clearEditorCommentPositions: () => void;
|
|
1028
|
-
handleTrackedChangeUpdate: ({ superdoc, params, broadcastChanges,
|
|
964
|
+
handleTrackedChangeUpdate: ({ superdoc, params, broadcastChanges, trackedChangeIdentityIndex, }: {
|
|
1029
965
|
superdoc: Object;
|
|
1030
966
|
params: Object;
|
|
1031
967
|
}) => void;
|
|
1032
|
-
refreshTrackedChangeCommentsByIds: ({ superdoc, editor, changeIds, broadcastChanges }: {
|
|
1033
|
-
superdoc: any;
|
|
1034
|
-
editor: any;
|
|
1035
|
-
changeIds: any;
|
|
1036
|
-
broadcastChanges?: boolean | undefined;
|
|
1037
|
-
}) => void;
|
|
1038
968
|
syncResolvedCommentsWithDocument: ({ editor }?: {}) => number;
|
|
1039
|
-
syncTrackedChangePositionsWithDocument: ({ documentId, editor }?: {}) => number;
|
|
1040
969
|
setActiveFloatingCommentInstance: (instanceId?: null) => void;
|
|
1041
970
|
requestInstantSidebarAlignment: (targetY?: null, threadId?: null, instanceId?: null) => void;
|
|
1042
971
|
peekInstantSidebarAlignment: () => null;
|
|
1043
972
|
clearInstantSidebarAlignment: () => void;
|
|
1044
|
-
syncTrackedChangeComments: ({ superdoc, editor, broadcastChanges }: {
|
|
1045
|
-
superdoc: any;
|
|
1046
|
-
editor: any;
|
|
1047
|
-
broadcastChanges?: boolean | undefined;
|
|
1048
|
-
}) => void;
|
|
1049
973
|
decideTrackedChangeFromSidebar: ({ superdoc, comment, decision }: {
|
|
1050
974
|
superdoc: Object;
|
|
1051
975
|
editor: Object;
|
|
@@ -1267,7 +1191,6 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
|
|
|
1267
1191
|
superdoc: any;
|
|
1268
1192
|
}) => Promise<any>;
|
|
1269
1193
|
removePendingComment: (superdoc: any) => void;
|
|
1270
|
-
cancelImportedTrackedChangeBootstrap: (documentId: string | null | undefined) => number;
|
|
1271
1194
|
removeCommentsForDocument: (documentId: string | null | undefined) => void;
|
|
1272
1195
|
setReviewDirectoryFromV2: ({ superdoc, commentItems, trackedChangeItems }?: {
|
|
1273
1196
|
commentItems?: never[] | undefined;
|
|
@@ -1282,38 +1205,20 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
|
|
|
1282
1205
|
reason?: undefined;
|
|
1283
1206
|
};
|
|
1284
1207
|
clearReviewDirectory: () => void;
|
|
1285
|
-
processLoadedDocxComments: ({ superdoc, editor, comments, documentId, replacedFile }: {
|
|
1286
|
-
comments: any[];
|
|
1287
|
-
documentId: string;
|
|
1288
|
-
replacedFile?: boolean | undefined;
|
|
1289
|
-
}) => void;
|
|
1290
|
-
translateCommentsForExport: () => any[];
|
|
1291
1208
|
handleEditorLocationsUpdate: (allCommentPositions: Object, options?: {
|
|
1292
1209
|
retainMissingTrackedChangeGeometry?: boolean;
|
|
1293
1210
|
retainedTrackedChangeIds?: Iterable<string>;
|
|
1294
1211
|
}) => void;
|
|
1295
1212
|
clearEditorCommentPositions: () => void;
|
|
1296
|
-
handleTrackedChangeUpdate: ({ superdoc, params, broadcastChanges,
|
|
1213
|
+
handleTrackedChangeUpdate: ({ superdoc, params, broadcastChanges, trackedChangeIdentityIndex, }: {
|
|
1297
1214
|
superdoc: Object;
|
|
1298
1215
|
params: Object;
|
|
1299
1216
|
}) => void;
|
|
1300
|
-
refreshTrackedChangeCommentsByIds: ({ superdoc, editor, changeIds, broadcastChanges }: {
|
|
1301
|
-
superdoc: any;
|
|
1302
|
-
editor: any;
|
|
1303
|
-
changeIds: any;
|
|
1304
|
-
broadcastChanges?: boolean | undefined;
|
|
1305
|
-
}) => void;
|
|
1306
1217
|
syncResolvedCommentsWithDocument: ({ editor }?: {}) => number;
|
|
1307
|
-
syncTrackedChangePositionsWithDocument: ({ documentId, editor }?: {}) => number;
|
|
1308
1218
|
setActiveFloatingCommentInstance: (instanceId?: null) => void;
|
|
1309
1219
|
requestInstantSidebarAlignment: (targetY?: null, threadId?: null, instanceId?: null) => void;
|
|
1310
1220
|
peekInstantSidebarAlignment: () => null;
|
|
1311
1221
|
clearInstantSidebarAlignment: () => void;
|
|
1312
|
-
syncTrackedChangeComments: ({ superdoc, editor, broadcastChanges }: {
|
|
1313
|
-
superdoc: any;
|
|
1314
|
-
editor: any;
|
|
1315
|
-
broadcastChanges?: boolean | undefined;
|
|
1316
|
-
}) => void;
|
|
1317
1222
|
decideTrackedChangeFromSidebar: ({ superdoc, comment, decision }: {
|
|
1318
1223
|
superdoc: Object;
|
|
1319
1224
|
editor: Object;
|
|
@@ -1535,7 +1440,6 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
|
|
|
1535
1440
|
superdoc: any;
|
|
1536
1441
|
}) => Promise<any>;
|
|
1537
1442
|
removePendingComment: (superdoc: any) => void;
|
|
1538
|
-
cancelImportedTrackedChangeBootstrap: (documentId: string | null | undefined) => number;
|
|
1539
1443
|
removeCommentsForDocument: (documentId: string | null | undefined) => void;
|
|
1540
1444
|
setReviewDirectoryFromV2: ({ superdoc, commentItems, trackedChangeItems }?: {
|
|
1541
1445
|
commentItems?: never[] | undefined;
|
|
@@ -1550,38 +1454,20 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
|
|
|
1550
1454
|
reason?: undefined;
|
|
1551
1455
|
};
|
|
1552
1456
|
clearReviewDirectory: () => void;
|
|
1553
|
-
processLoadedDocxComments: ({ superdoc, editor, comments, documentId, replacedFile }: {
|
|
1554
|
-
comments: any[];
|
|
1555
|
-
documentId: string;
|
|
1556
|
-
replacedFile?: boolean | undefined;
|
|
1557
|
-
}) => void;
|
|
1558
|
-
translateCommentsForExport: () => any[];
|
|
1559
1457
|
handleEditorLocationsUpdate: (allCommentPositions: Object, options?: {
|
|
1560
1458
|
retainMissingTrackedChangeGeometry?: boolean;
|
|
1561
1459
|
retainedTrackedChangeIds?: Iterable<string>;
|
|
1562
1460
|
}) => void;
|
|
1563
1461
|
clearEditorCommentPositions: () => void;
|
|
1564
|
-
handleTrackedChangeUpdate: ({ superdoc, params, broadcastChanges,
|
|
1462
|
+
handleTrackedChangeUpdate: ({ superdoc, params, broadcastChanges, trackedChangeIdentityIndex, }: {
|
|
1565
1463
|
superdoc: Object;
|
|
1566
1464
|
params: Object;
|
|
1567
1465
|
}) => void;
|
|
1568
|
-
refreshTrackedChangeCommentsByIds: ({ superdoc, editor, changeIds, broadcastChanges }: {
|
|
1569
|
-
superdoc: any;
|
|
1570
|
-
editor: any;
|
|
1571
|
-
changeIds: any;
|
|
1572
|
-
broadcastChanges?: boolean | undefined;
|
|
1573
|
-
}) => void;
|
|
1574
1466
|
syncResolvedCommentsWithDocument: ({ editor }?: {}) => number;
|
|
1575
|
-
syncTrackedChangePositionsWithDocument: ({ documentId, editor }?: {}) => number;
|
|
1576
1467
|
setActiveFloatingCommentInstance: (instanceId?: null) => void;
|
|
1577
1468
|
requestInstantSidebarAlignment: (targetY?: null, threadId?: null, instanceId?: null) => void;
|
|
1578
1469
|
peekInstantSidebarAlignment: () => null;
|
|
1579
1470
|
clearInstantSidebarAlignment: () => void;
|
|
1580
|
-
syncTrackedChangeComments: ({ superdoc, editor, broadcastChanges }: {
|
|
1581
|
-
superdoc: any;
|
|
1582
|
-
editor: any;
|
|
1583
|
-
broadcastChanges?: boolean | undefined;
|
|
1584
|
-
}) => void;
|
|
1585
1471
|
decideTrackedChangeFromSidebar: ({ superdoc, comment, decision }: {
|
|
1586
1472
|
superdoc: Object;
|
|
1587
1473
|
editor: Object;
|
|
@@ -1666,7 +1552,7 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
|
|
|
1666
1552
|
liveAnchorKeys?: null | undefined;
|
|
1667
1553
|
}) => any;
|
|
1668
1554
|
remapTrackedChangeIdentities: (pairs?: any[], { documentId }?: {}) => void;
|
|
1669
|
-
}, "getCommentAliasIds" | "getTrackedChangeThread" | "getCommentPositionKey" | "getCommentPosition" | "getCommentAnchoredText" | "getCommentAnchorData" | "resolveCommentPositionEntry" | "getCommentDocumentId" | "belongsToDocument" | "init" | "setViewingVisibility" | "getComment" | "setActiveComment" | "getCommentLocation" | "hasOverlapId" | "getPendingComment" | "showAddComment" | "addComment" | "addHydratedComment" | "cancelComment" | "deleteComment" | "removePendingComment" | "
|
|
1555
|
+
}, "getCommentAliasIds" | "getTrackedChangeThread" | "getCommentPositionKey" | "getCommentPosition" | "getCommentAnchoredText" | "getCommentAnchorData" | "resolveCommentPositionEntry" | "getCommentDocumentId" | "belongsToDocument" | "init" | "setViewingVisibility" | "getComment" | "setActiveComment" | "getCommentLocation" | "hasOverlapId" | "getPendingComment" | "showAddComment" | "addComment" | "addHydratedComment" | "cancelComment" | "deleteComment" | "removePendingComment" | "removeCommentsForDocument" | "setReviewDirectoryFromV2" | "clearReviewDirectory" | "handleEditorLocationsUpdate" | "clearEditorCommentPositions" | "handleTrackedChangeUpdate" | "syncResolvedCommentsWithDocument" | "setActiveFloatingCommentInstance" | "requestInstantSidebarAlignment" | "peekInstantSidebarAlignment" | "clearInstantSidebarAlignment" | "decideTrackedChangeFromSidebar" | "setV2CommentsAdapter" | "getV2CommentsAdapter" | "applyReviewWindowFromV2" | "reconcileCommentsFromV2" | "announceV2CommentCreated" | "dropCommentsFromMutationImpact" | "isV2EditorActive" | "replyCommentV2" | "editCommentV2" | "resolveCommentV2" | "reopenCommentV2" | "setV2TrackedChangesAdapter" | "getV2TrackedChangesAdapter" | "getV2TrackedChangeRowCount" | "reconcileTrackedChangeMutationFromV2" | "reconcileTrackedChangesFromV2" | "remapTrackedChangeIdentities">>;
|
|
1670
1556
|
documents: Ref<StoreDocument[], StoreDocument[]>;
|
|
1671
1557
|
documentBounds: Ref<unknown[], unknown[]>;
|
|
1672
1558
|
pages: Record<string, PageEntry[]>;
|
|
@@ -1834,7 +1720,6 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
|
|
|
1834
1720
|
superdoc: any;
|
|
1835
1721
|
}) => Promise<any>;
|
|
1836
1722
|
removePendingComment: (superdoc: any) => void;
|
|
1837
|
-
cancelImportedTrackedChangeBootstrap: (documentId: string | null | undefined) => number;
|
|
1838
1723
|
removeCommentsForDocument: (documentId: string | null | undefined) => void;
|
|
1839
1724
|
setReviewDirectoryFromV2: ({ superdoc, commentItems, trackedChangeItems }?: {
|
|
1840
1725
|
commentItems?: never[] | undefined;
|
|
@@ -1849,38 +1734,20 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
|
|
|
1849
1734
|
reason?: undefined;
|
|
1850
1735
|
};
|
|
1851
1736
|
clearReviewDirectory: () => void;
|
|
1852
|
-
processLoadedDocxComments: ({ superdoc, editor, comments, documentId, replacedFile }: {
|
|
1853
|
-
comments: any[];
|
|
1854
|
-
documentId: string;
|
|
1855
|
-
replacedFile?: boolean | undefined;
|
|
1856
|
-
}) => void;
|
|
1857
|
-
translateCommentsForExport: () => any[];
|
|
1858
1737
|
handleEditorLocationsUpdate: (allCommentPositions: Object, options?: {
|
|
1859
1738
|
retainMissingTrackedChangeGeometry?: boolean;
|
|
1860
1739
|
retainedTrackedChangeIds?: Iterable<string>;
|
|
1861
1740
|
}) => void;
|
|
1862
1741
|
clearEditorCommentPositions: () => void;
|
|
1863
|
-
handleTrackedChangeUpdate: ({ superdoc, params, broadcastChanges,
|
|
1742
|
+
handleTrackedChangeUpdate: ({ superdoc, params, broadcastChanges, trackedChangeIdentityIndex, }: {
|
|
1864
1743
|
superdoc: Object;
|
|
1865
1744
|
params: Object;
|
|
1866
1745
|
}) => void;
|
|
1867
|
-
refreshTrackedChangeCommentsByIds: ({ superdoc, editor, changeIds, broadcastChanges }: {
|
|
1868
|
-
superdoc: any;
|
|
1869
|
-
editor: any;
|
|
1870
|
-
changeIds: any;
|
|
1871
|
-
broadcastChanges?: boolean | undefined;
|
|
1872
|
-
}) => void;
|
|
1873
1746
|
syncResolvedCommentsWithDocument: ({ editor }?: {}) => number;
|
|
1874
|
-
syncTrackedChangePositionsWithDocument: ({ documentId, editor }?: {}) => number;
|
|
1875
1747
|
setActiveFloatingCommentInstance: (instanceId?: null) => void;
|
|
1876
1748
|
requestInstantSidebarAlignment: (targetY?: null, threadId?: null, instanceId?: null) => void;
|
|
1877
1749
|
peekInstantSidebarAlignment: () => null;
|
|
1878
1750
|
clearInstantSidebarAlignment: () => void;
|
|
1879
|
-
syncTrackedChangeComments: ({ superdoc, editor, broadcastChanges }: {
|
|
1880
|
-
superdoc: any;
|
|
1881
|
-
editor: any;
|
|
1882
|
-
broadcastChanges?: boolean | undefined;
|
|
1883
|
-
}) => void;
|
|
1884
1751
|
decideTrackedChangeFromSidebar: ({ superdoc, comment, decision }: {
|
|
1885
1752
|
superdoc: Object;
|
|
1886
1753
|
editor: Object;
|
|
@@ -2102,7 +1969,6 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
|
|
|
2102
1969
|
superdoc: any;
|
|
2103
1970
|
}) => Promise<any>;
|
|
2104
1971
|
removePendingComment: (superdoc: any) => void;
|
|
2105
|
-
cancelImportedTrackedChangeBootstrap: (documentId: string | null | undefined) => number;
|
|
2106
1972
|
removeCommentsForDocument: (documentId: string | null | undefined) => void;
|
|
2107
1973
|
setReviewDirectoryFromV2: ({ superdoc, commentItems, trackedChangeItems }?: {
|
|
2108
1974
|
commentItems?: never[] | undefined;
|
|
@@ -2117,38 +1983,20 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
|
|
|
2117
1983
|
reason?: undefined;
|
|
2118
1984
|
};
|
|
2119
1985
|
clearReviewDirectory: () => void;
|
|
2120
|
-
processLoadedDocxComments: ({ superdoc, editor, comments, documentId, replacedFile }: {
|
|
2121
|
-
comments: any[];
|
|
2122
|
-
documentId: string;
|
|
2123
|
-
replacedFile?: boolean | undefined;
|
|
2124
|
-
}) => void;
|
|
2125
|
-
translateCommentsForExport: () => any[];
|
|
2126
1986
|
handleEditorLocationsUpdate: (allCommentPositions: Object, options?: {
|
|
2127
1987
|
retainMissingTrackedChangeGeometry?: boolean;
|
|
2128
1988
|
retainedTrackedChangeIds?: Iterable<string>;
|
|
2129
1989
|
}) => void;
|
|
2130
1990
|
clearEditorCommentPositions: () => void;
|
|
2131
|
-
handleTrackedChangeUpdate: ({ superdoc, params, broadcastChanges,
|
|
1991
|
+
handleTrackedChangeUpdate: ({ superdoc, params, broadcastChanges, trackedChangeIdentityIndex, }: {
|
|
2132
1992
|
superdoc: Object;
|
|
2133
1993
|
params: Object;
|
|
2134
1994
|
}) => void;
|
|
2135
|
-
refreshTrackedChangeCommentsByIds: ({ superdoc, editor, changeIds, broadcastChanges }: {
|
|
2136
|
-
superdoc: any;
|
|
2137
|
-
editor: any;
|
|
2138
|
-
changeIds: any;
|
|
2139
|
-
broadcastChanges?: boolean | undefined;
|
|
2140
|
-
}) => void;
|
|
2141
1995
|
syncResolvedCommentsWithDocument: ({ editor }?: {}) => number;
|
|
2142
|
-
syncTrackedChangePositionsWithDocument: ({ documentId, editor }?: {}) => number;
|
|
2143
1996
|
setActiveFloatingCommentInstance: (instanceId?: null) => void;
|
|
2144
1997
|
requestInstantSidebarAlignment: (targetY?: null, threadId?: null, instanceId?: null) => void;
|
|
2145
1998
|
peekInstantSidebarAlignment: () => null;
|
|
2146
1999
|
clearInstantSidebarAlignment: () => void;
|
|
2147
|
-
syncTrackedChangeComments: ({ superdoc, editor, broadcastChanges }: {
|
|
2148
|
-
superdoc: any;
|
|
2149
|
-
editor: any;
|
|
2150
|
-
broadcastChanges?: boolean | undefined;
|
|
2151
|
-
}) => void;
|
|
2152
2000
|
decideTrackedChangeFromSidebar: ({ superdoc, comment, decision }: {
|
|
2153
2001
|
superdoc: Object;
|
|
2154
2002
|
editor: Object;
|
|
@@ -2370,7 +2218,6 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
|
|
|
2370
2218
|
superdoc: any;
|
|
2371
2219
|
}) => Promise<any>;
|
|
2372
2220
|
removePendingComment: (superdoc: any) => void;
|
|
2373
|
-
cancelImportedTrackedChangeBootstrap: (documentId: string | null | undefined) => number;
|
|
2374
2221
|
removeCommentsForDocument: (documentId: string | null | undefined) => void;
|
|
2375
2222
|
setReviewDirectoryFromV2: ({ superdoc, commentItems, trackedChangeItems }?: {
|
|
2376
2223
|
commentItems?: never[] | undefined;
|
|
@@ -2385,38 +2232,20 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
|
|
|
2385
2232
|
reason?: undefined;
|
|
2386
2233
|
};
|
|
2387
2234
|
clearReviewDirectory: () => void;
|
|
2388
|
-
processLoadedDocxComments: ({ superdoc, editor, comments, documentId, replacedFile }: {
|
|
2389
|
-
comments: any[];
|
|
2390
|
-
documentId: string;
|
|
2391
|
-
replacedFile?: boolean | undefined;
|
|
2392
|
-
}) => void;
|
|
2393
|
-
translateCommentsForExport: () => any[];
|
|
2394
2235
|
handleEditorLocationsUpdate: (allCommentPositions: Object, options?: {
|
|
2395
2236
|
retainMissingTrackedChangeGeometry?: boolean;
|
|
2396
2237
|
retainedTrackedChangeIds?: Iterable<string>;
|
|
2397
2238
|
}) => void;
|
|
2398
2239
|
clearEditorCommentPositions: () => void;
|
|
2399
|
-
handleTrackedChangeUpdate: ({ superdoc, params, broadcastChanges,
|
|
2240
|
+
handleTrackedChangeUpdate: ({ superdoc, params, broadcastChanges, trackedChangeIdentityIndex, }: {
|
|
2400
2241
|
superdoc: Object;
|
|
2401
2242
|
params: Object;
|
|
2402
2243
|
}) => void;
|
|
2403
|
-
refreshTrackedChangeCommentsByIds: ({ superdoc, editor, changeIds, broadcastChanges }: {
|
|
2404
|
-
superdoc: any;
|
|
2405
|
-
editor: any;
|
|
2406
|
-
changeIds: any;
|
|
2407
|
-
broadcastChanges?: boolean | undefined;
|
|
2408
|
-
}) => void;
|
|
2409
2244
|
syncResolvedCommentsWithDocument: ({ editor }?: {}) => number;
|
|
2410
|
-
syncTrackedChangePositionsWithDocument: ({ documentId, editor }?: {}) => number;
|
|
2411
2245
|
setActiveFloatingCommentInstance: (instanceId?: null) => void;
|
|
2412
2246
|
requestInstantSidebarAlignment: (targetY?: null, threadId?: null, instanceId?: null) => void;
|
|
2413
2247
|
peekInstantSidebarAlignment: () => null;
|
|
2414
2248
|
clearInstantSidebarAlignment: () => void;
|
|
2415
|
-
syncTrackedChangeComments: ({ superdoc, editor, broadcastChanges }: {
|
|
2416
|
-
superdoc: any;
|
|
2417
|
-
editor: any;
|
|
2418
|
-
broadcastChanges?: boolean | undefined;
|
|
2419
|
-
}) => void;
|
|
2420
2249
|
decideTrackedChangeFromSidebar: ({ superdoc, comment, decision }: {
|
|
2421
2250
|
superdoc: Object;
|
|
2422
2251
|
editor: Object;
|
|
@@ -2501,7 +2330,7 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
|
|
|
2501
2330
|
liveAnchorKeys?: null | undefined;
|
|
2502
2331
|
}) => any;
|
|
2503
2332
|
remapTrackedChangeIdentities: (pairs?: any[], { documentId }?: {}) => void;
|
|
2504
|
-
}, "getCommentAliasIds" | "getTrackedChangeThread" | "getCommentPositionKey" | "getCommentPosition" | "getCommentAnchoredText" | "getCommentAnchorData" | "resolveCommentPositionEntry" | "getCommentDocumentId" | "belongsToDocument" | "init" | "setViewingVisibility" | "getComment" | "setActiveComment" | "getCommentLocation" | "hasOverlapId" | "getPendingComment" | "showAddComment" | "addComment" | "addHydratedComment" | "cancelComment" | "deleteComment" | "removePendingComment" | "
|
|
2333
|
+
}, "getCommentAliasIds" | "getTrackedChangeThread" | "getCommentPositionKey" | "getCommentPosition" | "getCommentAnchoredText" | "getCommentAnchorData" | "resolveCommentPositionEntry" | "getCommentDocumentId" | "belongsToDocument" | "init" | "setViewingVisibility" | "getComment" | "setActiveComment" | "getCommentLocation" | "hasOverlapId" | "getPendingComment" | "showAddComment" | "addComment" | "addHydratedComment" | "cancelComment" | "deleteComment" | "removePendingComment" | "removeCommentsForDocument" | "setReviewDirectoryFromV2" | "clearReviewDirectory" | "handleEditorLocationsUpdate" | "clearEditorCommentPositions" | "handleTrackedChangeUpdate" | "syncResolvedCommentsWithDocument" | "setActiveFloatingCommentInstance" | "requestInstantSidebarAlignment" | "peekInstantSidebarAlignment" | "clearInstantSidebarAlignment" | "decideTrackedChangeFromSidebar" | "setV2CommentsAdapter" | "getV2CommentsAdapter" | "applyReviewWindowFromV2" | "reconcileCommentsFromV2" | "announceV2CommentCreated" | "dropCommentsFromMutationImpact" | "isV2EditorActive" | "replyCommentV2" | "editCommentV2" | "resolveCommentV2" | "reopenCommentV2" | "setV2TrackedChangesAdapter" | "getV2TrackedChangesAdapter" | "getV2TrackedChangeRowCount" | "reconcileTrackedChangeMutationFromV2" | "reconcileTrackedChangesFromV2" | "remapTrackedChangeIdentities">>;
|
|
2505
2334
|
documents: Ref<StoreDocument[], StoreDocument[]>;
|
|
2506
2335
|
documentBounds: Ref<unknown[], unknown[]>;
|
|
2507
2336
|
pages: Record<string, PageEntry[]>;
|