superdoc 2.4.0-next.3 → 2.4.0-next.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -186,14 +186,17 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
186
186
  v2CommentsAdapter: import('vue').ShallowRef<null, null>;
187
187
  setV2CommentsAdapter: (adapter: any) => void;
188
188
  getV2CommentsAdapter: (superdoc: any) => any;
189
- hydrateCommentsFromV2: ({ superdoc, adapter, documentId, signal, hydrationGeneration }?: {}) => Promise<any>;
190
- applyReviewSnapshotFromV2: ({ superdoc, commentsAdapter, trackedChangesAdapter, documentId, commentItems, trackedChangeItems, trackedList, patch, }?: {}) => any;
189
+ hydrateCommentsFromV2: ({ superdoc, adapter, documentId, trackedChangesListMode, isCurrent, signal, hydrationGeneration, }?: {
190
+ trackedChangesListMode?: string | undefined;
191
+ }) => Promise<any>;
192
+ applyReviewSnapshotFromV2: ({ superdoc, commentsAdapter, trackedChangesAdapter, documentId, commentItems, trackedChangeItems, trackedList, sourceCoverageRevision, evaluatedRevision, patch, }?: {}) => any;
191
193
  supersedeV2ReviewHydration: ({ commentsAdapter, trackedChangesAdapter }?: {}) => {
192
194
  commentsGeneration: any;
193
195
  trackedChangesGeneration: any;
194
196
  };
195
- reconcileCommentsFromV2: ({ superdoc, adapter, documentId, items, preparedInputs, hydrationGeneration, }?: {
197
+ reconcileCommentsFromV2: ({ superdoc, adapter, documentId, items, preparedInputs, pruneStale, hydrationGeneration, }?: {
196
198
  preparedInputs?: null | undefined;
199
+ pruneStale?: boolean | undefined;
197
200
  }) => any;
198
201
  isV2EditorActive: (superdoc: any) => boolean;
199
202
  replyCommentV2: ({ superdoc, parentCommentId, text }?: {}) => Promise<any>;
@@ -204,8 +207,9 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
204
207
  setV2TrackedChangesAdapter: (adapter: any) => void;
205
208
  getV2TrackedChangesAdapter: (superdoc: any) => any;
206
209
  getV2TrackedChangeRowCount: (documentId?: null) => number;
207
- hydrateTrackedChangesFromV2: ({ superdoc, adapter, documentId, trackedChangesListMode, refreshReason, blocking, signal, hydrationGeneration, }?: {
210
+ hydrateTrackedChangesFromV2: ({ superdoc, adapter, documentId, trackedChangesListMode, refreshReason, blocking, isCurrent, targetIds, reconciliationBatchSize, signal, hydrationGeneration, }?: {
208
211
  trackedChangesListMode?: string | undefined;
212
+ reconciliationBatchSize?: number | undefined;
209
213
  }) => Promise<any>;
210
214
  reconcileTrackedChangeMutationFromV2: ({ superdoc, adapter, documentId, upsertIds, removedIds, allResolved, }?: {
211
215
  upsertIds?: never[] | undefined;
@@ -247,9 +251,11 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
247
251
  allResolved?: undefined;
248
252
  removedRows?: undefined;
249
253
  }>;
250
- reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale, preparedParams, hydrationGeneration, }?: {
254
+ reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale, preparedParams, liveIds: suppliedLiveIds, liveAnchorKeys: suppliedLiveAnchorKeys, hydrationGeneration, }?: {
251
255
  pruneStale?: boolean | undefined;
252
256
  preparedParams?: null | undefined;
257
+ liveIds?: null | undefined;
258
+ liveAnchorKeys?: null | undefined;
253
259
  }) => any;
254
260
  remapTrackedChangeIdentities: (pairs?: any[], { documentId }?: {}) => void;
255
261
  }, "suppressInternalExternal" | "activeComment" | "activeFloatingCommentInstanceId" | "floatingCommentsOffset" | "pendingComment" | "currentCommentText" | "isDebugging" | "editingCommentId" | "editorCommentPositions" | "isCommentHighlighted" | "v2CommentsAdapter" | "COMMENT_EVENTS" | "hasInitializedComments" | "hasSyncedCollaborationComments" | "commentDialogs" | "overlappingComments" | "overlappedIds" | "commentsList" | "isCommentsListVisible" | "generalCommentIds" | "editorCommentIds" | "commentsParentElement" | "hasInitializedLocations" | "sortedConversations" | "visibleConversations" | "skipSelectionUpdate" | "isFloatingCommentsReady" | "instantSidebarAlignmentTargetY" | "instantSidebarAlignmentThreadId" | "instantSidebarAlignmentInstanceId" | "viewingVisibility" | "v2TrackedChangesAdapter">, Pick<{
@@ -439,14 +445,17 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
439
445
  v2CommentsAdapter: import('vue').ShallowRef<null, null>;
440
446
  setV2CommentsAdapter: (adapter: any) => void;
441
447
  getV2CommentsAdapter: (superdoc: any) => any;
442
- hydrateCommentsFromV2: ({ superdoc, adapter, documentId, signal, hydrationGeneration }?: {}) => Promise<any>;
443
- applyReviewSnapshotFromV2: ({ superdoc, commentsAdapter, trackedChangesAdapter, documentId, commentItems, trackedChangeItems, trackedList, patch, }?: {}) => any;
448
+ hydrateCommentsFromV2: ({ superdoc, adapter, documentId, trackedChangesListMode, isCurrent, signal, hydrationGeneration, }?: {
449
+ trackedChangesListMode?: string | undefined;
450
+ }) => Promise<any>;
451
+ applyReviewSnapshotFromV2: ({ superdoc, commentsAdapter, trackedChangesAdapter, documentId, commentItems, trackedChangeItems, trackedList, sourceCoverageRevision, evaluatedRevision, patch, }?: {}) => any;
444
452
  supersedeV2ReviewHydration: ({ commentsAdapter, trackedChangesAdapter }?: {}) => {
445
453
  commentsGeneration: any;
446
454
  trackedChangesGeneration: any;
447
455
  };
448
- reconcileCommentsFromV2: ({ superdoc, adapter, documentId, items, preparedInputs, hydrationGeneration, }?: {
456
+ reconcileCommentsFromV2: ({ superdoc, adapter, documentId, items, preparedInputs, pruneStale, hydrationGeneration, }?: {
449
457
  preparedInputs?: null | undefined;
458
+ pruneStale?: boolean | undefined;
450
459
  }) => any;
451
460
  isV2EditorActive: (superdoc: any) => boolean;
452
461
  replyCommentV2: ({ superdoc, parentCommentId, text }?: {}) => Promise<any>;
@@ -457,8 +466,9 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
457
466
  setV2TrackedChangesAdapter: (adapter: any) => void;
458
467
  getV2TrackedChangesAdapter: (superdoc: any) => any;
459
468
  getV2TrackedChangeRowCount: (documentId?: null) => number;
460
- hydrateTrackedChangesFromV2: ({ superdoc, adapter, documentId, trackedChangesListMode, refreshReason, blocking, signal, hydrationGeneration, }?: {
469
+ hydrateTrackedChangesFromV2: ({ superdoc, adapter, documentId, trackedChangesListMode, refreshReason, blocking, isCurrent, targetIds, reconciliationBatchSize, signal, hydrationGeneration, }?: {
461
470
  trackedChangesListMode?: string | undefined;
471
+ reconciliationBatchSize?: number | undefined;
462
472
  }) => Promise<any>;
463
473
  reconcileTrackedChangeMutationFromV2: ({ superdoc, adapter, documentId, upsertIds, removedIds, allResolved, }?: {
464
474
  upsertIds?: never[] | undefined;
@@ -500,9 +510,11 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
500
510
  allResolved?: undefined;
501
511
  removedRows?: undefined;
502
512
  }>;
503
- reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale, preparedParams, hydrationGeneration, }?: {
513
+ reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale, preparedParams, liveIds: suppliedLiveIds, liveAnchorKeys: suppliedLiveAnchorKeys, hydrationGeneration, }?: {
504
514
  pruneStale?: boolean | undefined;
505
515
  preparedParams?: null | undefined;
516
+ liveIds?: null | undefined;
517
+ liveAnchorKeys?: null | undefined;
506
518
  }) => any;
507
519
  remapTrackedChangeIdentities: (pairs?: any[], { documentId }?: {}) => void;
508
520
  }, "getConfig" | "documentsWithConverations" | "getGroupedComments" | "hasOpenTrackedChanges" | "getCommentsByPosition" | "getFloatingComments" | "getFloatingCommentInstances" | "isViewingMode" | "shouldRenderReviewInViewing">, Pick<{
@@ -692,14 +704,17 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
692
704
  v2CommentsAdapter: import('vue').ShallowRef<null, null>;
693
705
  setV2CommentsAdapter: (adapter: any) => void;
694
706
  getV2CommentsAdapter: (superdoc: any) => any;
695
- hydrateCommentsFromV2: ({ superdoc, adapter, documentId, signal, hydrationGeneration }?: {}) => Promise<any>;
696
- applyReviewSnapshotFromV2: ({ superdoc, commentsAdapter, trackedChangesAdapter, documentId, commentItems, trackedChangeItems, trackedList, patch, }?: {}) => any;
707
+ hydrateCommentsFromV2: ({ superdoc, adapter, documentId, trackedChangesListMode, isCurrent, signal, hydrationGeneration, }?: {
708
+ trackedChangesListMode?: string | undefined;
709
+ }) => Promise<any>;
710
+ applyReviewSnapshotFromV2: ({ superdoc, commentsAdapter, trackedChangesAdapter, documentId, commentItems, trackedChangeItems, trackedList, sourceCoverageRevision, evaluatedRevision, patch, }?: {}) => any;
697
711
  supersedeV2ReviewHydration: ({ commentsAdapter, trackedChangesAdapter }?: {}) => {
698
712
  commentsGeneration: any;
699
713
  trackedChangesGeneration: any;
700
714
  };
701
- reconcileCommentsFromV2: ({ superdoc, adapter, documentId, items, preparedInputs, hydrationGeneration, }?: {
715
+ reconcileCommentsFromV2: ({ superdoc, adapter, documentId, items, preparedInputs, pruneStale, hydrationGeneration, }?: {
702
716
  preparedInputs?: null | undefined;
717
+ pruneStale?: boolean | undefined;
703
718
  }) => any;
704
719
  isV2EditorActive: (superdoc: any) => boolean;
705
720
  replyCommentV2: ({ superdoc, parentCommentId, text }?: {}) => Promise<any>;
@@ -710,8 +725,9 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
710
725
  setV2TrackedChangesAdapter: (adapter: any) => void;
711
726
  getV2TrackedChangesAdapter: (superdoc: any) => any;
712
727
  getV2TrackedChangeRowCount: (documentId?: null) => number;
713
- hydrateTrackedChangesFromV2: ({ superdoc, adapter, documentId, trackedChangesListMode, refreshReason, blocking, signal, hydrationGeneration, }?: {
728
+ hydrateTrackedChangesFromV2: ({ superdoc, adapter, documentId, trackedChangesListMode, refreshReason, blocking, isCurrent, targetIds, reconciliationBatchSize, signal, hydrationGeneration, }?: {
714
729
  trackedChangesListMode?: string | undefined;
730
+ reconciliationBatchSize?: number | undefined;
715
731
  }) => Promise<any>;
716
732
  reconcileTrackedChangeMutationFromV2: ({ superdoc, adapter, documentId, upsertIds, removedIds, allResolved, }?: {
717
733
  upsertIds?: never[] | undefined;
@@ -753,9 +769,11 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
753
769
  allResolved?: undefined;
754
770
  removedRows?: undefined;
755
771
  }>;
756
- reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale, preparedParams, hydrationGeneration, }?: {
772
+ reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale, preparedParams, liveIds: suppliedLiveIds, liveAnchorKeys: suppliedLiveAnchorKeys, hydrationGeneration, }?: {
757
773
  pruneStale?: boolean | undefined;
758
774
  preparedParams?: null | undefined;
775
+ liveIds?: null | undefined;
776
+ liveAnchorKeys?: null | undefined;
759
777
  }) => any;
760
778
  remapTrackedChangeIdentities: (pairs?: any[], { documentId }?: {}) => void;
761
779
  }, "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" | "applyReviewSnapshotFromV2" | "supersedeV2ReviewHydration" | "reconcileCommentsFromV2" | "isV2EditorActive" | "replyCommentV2" | "editCommentV2" | "resolveCommentV2" | "reopenCommentV2" | "setV2TrackedChangesAdapter" | "getV2TrackedChangesAdapter" | "getV2TrackedChangeRowCount" | "hydrateTrackedChangesFromV2" | "reconcileTrackedChangeMutationFromV2" | "reconcileTrackedChangesFromV2" | "remapTrackedChangeIdentities">>;
@@ -997,14 +1015,17 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
997
1015
  v2CommentsAdapter: import('vue').ShallowRef<null, null>;
998
1016
  setV2CommentsAdapter: (adapter: any) => void;
999
1017
  getV2CommentsAdapter: (superdoc: any) => any;
1000
- hydrateCommentsFromV2: ({ superdoc, adapter, documentId, signal, hydrationGeneration }?: {}) => Promise<any>;
1001
- applyReviewSnapshotFromV2: ({ superdoc, commentsAdapter, trackedChangesAdapter, documentId, commentItems, trackedChangeItems, trackedList, patch, }?: {}) => any;
1018
+ hydrateCommentsFromV2: ({ superdoc, adapter, documentId, trackedChangesListMode, isCurrent, signal, hydrationGeneration, }?: {
1019
+ trackedChangesListMode?: string | undefined;
1020
+ }) => Promise<any>;
1021
+ applyReviewSnapshotFromV2: ({ superdoc, commentsAdapter, trackedChangesAdapter, documentId, commentItems, trackedChangeItems, trackedList, sourceCoverageRevision, evaluatedRevision, patch, }?: {}) => any;
1002
1022
  supersedeV2ReviewHydration: ({ commentsAdapter, trackedChangesAdapter }?: {}) => {
1003
1023
  commentsGeneration: any;
1004
1024
  trackedChangesGeneration: any;
1005
1025
  };
1006
- reconcileCommentsFromV2: ({ superdoc, adapter, documentId, items, preparedInputs, hydrationGeneration, }?: {
1026
+ reconcileCommentsFromV2: ({ superdoc, adapter, documentId, items, preparedInputs, pruneStale, hydrationGeneration, }?: {
1007
1027
  preparedInputs?: null | undefined;
1028
+ pruneStale?: boolean | undefined;
1008
1029
  }) => any;
1009
1030
  isV2EditorActive: (superdoc: any) => boolean;
1010
1031
  replyCommentV2: ({ superdoc, parentCommentId, text }?: {}) => Promise<any>;
@@ -1015,8 +1036,9 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
1015
1036
  setV2TrackedChangesAdapter: (adapter: any) => void;
1016
1037
  getV2TrackedChangesAdapter: (superdoc: any) => any;
1017
1038
  getV2TrackedChangeRowCount: (documentId?: null) => number;
1018
- hydrateTrackedChangesFromV2: ({ superdoc, adapter, documentId, trackedChangesListMode, refreshReason, blocking, signal, hydrationGeneration, }?: {
1039
+ hydrateTrackedChangesFromV2: ({ superdoc, adapter, documentId, trackedChangesListMode, refreshReason, blocking, isCurrent, targetIds, reconciliationBatchSize, signal, hydrationGeneration, }?: {
1019
1040
  trackedChangesListMode?: string | undefined;
1041
+ reconciliationBatchSize?: number | undefined;
1020
1042
  }) => Promise<any>;
1021
1043
  reconcileTrackedChangeMutationFromV2: ({ superdoc, adapter, documentId, upsertIds, removedIds, allResolved, }?: {
1022
1044
  upsertIds?: never[] | undefined;
@@ -1058,9 +1080,11 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
1058
1080
  allResolved?: undefined;
1059
1081
  removedRows?: undefined;
1060
1082
  }>;
1061
- reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale, preparedParams, hydrationGeneration, }?: {
1083
+ reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale, preparedParams, liveIds: suppliedLiveIds, liveAnchorKeys: suppliedLiveAnchorKeys, hydrationGeneration, }?: {
1062
1084
  pruneStale?: boolean | undefined;
1063
1085
  preparedParams?: null | undefined;
1086
+ liveIds?: null | undefined;
1087
+ liveAnchorKeys?: null | undefined;
1064
1088
  }) => any;
1065
1089
  remapTrackedChangeIdentities: (pairs?: any[], { documentId }?: {}) => void;
1066
1090
  }, "suppressInternalExternal" | "activeComment" | "activeFloatingCommentInstanceId" | "floatingCommentsOffset" | "pendingComment" | "currentCommentText" | "isDebugging" | "editingCommentId" | "editorCommentPositions" | "isCommentHighlighted" | "v2CommentsAdapter" | "COMMENT_EVENTS" | "hasInitializedComments" | "hasSyncedCollaborationComments" | "commentDialogs" | "overlappingComments" | "overlappedIds" | "commentsList" | "isCommentsListVisible" | "generalCommentIds" | "editorCommentIds" | "commentsParentElement" | "hasInitializedLocations" | "sortedConversations" | "visibleConversations" | "skipSelectionUpdate" | "isFloatingCommentsReady" | "instantSidebarAlignmentTargetY" | "instantSidebarAlignmentThreadId" | "instantSidebarAlignmentInstanceId" | "viewingVisibility" | "v2TrackedChangesAdapter">, Pick<{
@@ -1250,14 +1274,17 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
1250
1274
  v2CommentsAdapter: import('vue').ShallowRef<null, null>;
1251
1275
  setV2CommentsAdapter: (adapter: any) => void;
1252
1276
  getV2CommentsAdapter: (superdoc: any) => any;
1253
- hydrateCommentsFromV2: ({ superdoc, adapter, documentId, signal, hydrationGeneration }?: {}) => Promise<any>;
1254
- applyReviewSnapshotFromV2: ({ superdoc, commentsAdapter, trackedChangesAdapter, documentId, commentItems, trackedChangeItems, trackedList, patch, }?: {}) => any;
1277
+ hydrateCommentsFromV2: ({ superdoc, adapter, documentId, trackedChangesListMode, isCurrent, signal, hydrationGeneration, }?: {
1278
+ trackedChangesListMode?: string | undefined;
1279
+ }) => Promise<any>;
1280
+ applyReviewSnapshotFromV2: ({ superdoc, commentsAdapter, trackedChangesAdapter, documentId, commentItems, trackedChangeItems, trackedList, sourceCoverageRevision, evaluatedRevision, patch, }?: {}) => any;
1255
1281
  supersedeV2ReviewHydration: ({ commentsAdapter, trackedChangesAdapter }?: {}) => {
1256
1282
  commentsGeneration: any;
1257
1283
  trackedChangesGeneration: any;
1258
1284
  };
1259
- reconcileCommentsFromV2: ({ superdoc, adapter, documentId, items, preparedInputs, hydrationGeneration, }?: {
1285
+ reconcileCommentsFromV2: ({ superdoc, adapter, documentId, items, preparedInputs, pruneStale, hydrationGeneration, }?: {
1260
1286
  preparedInputs?: null | undefined;
1287
+ pruneStale?: boolean | undefined;
1261
1288
  }) => any;
1262
1289
  isV2EditorActive: (superdoc: any) => boolean;
1263
1290
  replyCommentV2: ({ superdoc, parentCommentId, text }?: {}) => Promise<any>;
@@ -1268,8 +1295,9 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
1268
1295
  setV2TrackedChangesAdapter: (adapter: any) => void;
1269
1296
  getV2TrackedChangesAdapter: (superdoc: any) => any;
1270
1297
  getV2TrackedChangeRowCount: (documentId?: null) => number;
1271
- hydrateTrackedChangesFromV2: ({ superdoc, adapter, documentId, trackedChangesListMode, refreshReason, blocking, signal, hydrationGeneration, }?: {
1298
+ hydrateTrackedChangesFromV2: ({ superdoc, adapter, documentId, trackedChangesListMode, refreshReason, blocking, isCurrent, targetIds, reconciliationBatchSize, signal, hydrationGeneration, }?: {
1272
1299
  trackedChangesListMode?: string | undefined;
1300
+ reconciliationBatchSize?: number | undefined;
1273
1301
  }) => Promise<any>;
1274
1302
  reconcileTrackedChangeMutationFromV2: ({ superdoc, adapter, documentId, upsertIds, removedIds, allResolved, }?: {
1275
1303
  upsertIds?: never[] | undefined;
@@ -1311,9 +1339,11 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
1311
1339
  allResolved?: undefined;
1312
1340
  removedRows?: undefined;
1313
1341
  }>;
1314
- reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale, preparedParams, hydrationGeneration, }?: {
1342
+ reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale, preparedParams, liveIds: suppliedLiveIds, liveAnchorKeys: suppliedLiveAnchorKeys, hydrationGeneration, }?: {
1315
1343
  pruneStale?: boolean | undefined;
1316
1344
  preparedParams?: null | undefined;
1345
+ liveIds?: null | undefined;
1346
+ liveAnchorKeys?: null | undefined;
1317
1347
  }) => any;
1318
1348
  remapTrackedChangeIdentities: (pairs?: any[], { documentId }?: {}) => void;
1319
1349
  }, "getConfig" | "documentsWithConverations" | "getGroupedComments" | "hasOpenTrackedChanges" | "getCommentsByPosition" | "getFloatingComments" | "getFloatingCommentInstances" | "isViewingMode" | "shouldRenderReviewInViewing">, Pick<{
@@ -1503,14 +1533,17 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
1503
1533
  v2CommentsAdapter: import('vue').ShallowRef<null, null>;
1504
1534
  setV2CommentsAdapter: (adapter: any) => void;
1505
1535
  getV2CommentsAdapter: (superdoc: any) => any;
1506
- hydrateCommentsFromV2: ({ superdoc, adapter, documentId, signal, hydrationGeneration }?: {}) => Promise<any>;
1507
- applyReviewSnapshotFromV2: ({ superdoc, commentsAdapter, trackedChangesAdapter, documentId, commentItems, trackedChangeItems, trackedList, patch, }?: {}) => any;
1536
+ hydrateCommentsFromV2: ({ superdoc, adapter, documentId, trackedChangesListMode, isCurrent, signal, hydrationGeneration, }?: {
1537
+ trackedChangesListMode?: string | undefined;
1538
+ }) => Promise<any>;
1539
+ applyReviewSnapshotFromV2: ({ superdoc, commentsAdapter, trackedChangesAdapter, documentId, commentItems, trackedChangeItems, trackedList, sourceCoverageRevision, evaluatedRevision, patch, }?: {}) => any;
1508
1540
  supersedeV2ReviewHydration: ({ commentsAdapter, trackedChangesAdapter }?: {}) => {
1509
1541
  commentsGeneration: any;
1510
1542
  trackedChangesGeneration: any;
1511
1543
  };
1512
- reconcileCommentsFromV2: ({ superdoc, adapter, documentId, items, preparedInputs, hydrationGeneration, }?: {
1544
+ reconcileCommentsFromV2: ({ superdoc, adapter, documentId, items, preparedInputs, pruneStale, hydrationGeneration, }?: {
1513
1545
  preparedInputs?: null | undefined;
1546
+ pruneStale?: boolean | undefined;
1514
1547
  }) => any;
1515
1548
  isV2EditorActive: (superdoc: any) => boolean;
1516
1549
  replyCommentV2: ({ superdoc, parentCommentId, text }?: {}) => Promise<any>;
@@ -1521,8 +1554,9 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
1521
1554
  setV2TrackedChangesAdapter: (adapter: any) => void;
1522
1555
  getV2TrackedChangesAdapter: (superdoc: any) => any;
1523
1556
  getV2TrackedChangeRowCount: (documentId?: null) => number;
1524
- hydrateTrackedChangesFromV2: ({ superdoc, adapter, documentId, trackedChangesListMode, refreshReason, blocking, signal, hydrationGeneration, }?: {
1557
+ hydrateTrackedChangesFromV2: ({ superdoc, adapter, documentId, trackedChangesListMode, refreshReason, blocking, isCurrent, targetIds, reconciliationBatchSize, signal, hydrationGeneration, }?: {
1525
1558
  trackedChangesListMode?: string | undefined;
1559
+ reconciliationBatchSize?: number | undefined;
1526
1560
  }) => Promise<any>;
1527
1561
  reconcileTrackedChangeMutationFromV2: ({ superdoc, adapter, documentId, upsertIds, removedIds, allResolved, }?: {
1528
1562
  upsertIds?: never[] | undefined;
@@ -1564,9 +1598,11 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
1564
1598
  allResolved?: undefined;
1565
1599
  removedRows?: undefined;
1566
1600
  }>;
1567
- reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale, preparedParams, hydrationGeneration, }?: {
1601
+ reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale, preparedParams, liveIds: suppliedLiveIds, liveAnchorKeys: suppliedLiveAnchorKeys, hydrationGeneration, }?: {
1568
1602
  pruneStale?: boolean | undefined;
1569
1603
  preparedParams?: null | undefined;
1604
+ liveIds?: null | undefined;
1605
+ liveAnchorKeys?: null | undefined;
1570
1606
  }) => any;
1571
1607
  remapTrackedChangeIdentities: (pairs?: any[], { documentId }?: {}) => void;
1572
1608
  }, "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" | "applyReviewSnapshotFromV2" | "supersedeV2ReviewHydration" | "reconcileCommentsFromV2" | "isV2EditorActive" | "replyCommentV2" | "editCommentV2" | "resolveCommentV2" | "reopenCommentV2" | "setV2TrackedChangesAdapter" | "getV2TrackedChangesAdapter" | "getV2TrackedChangeRowCount" | "hydrateTrackedChangesFromV2" | "reconcileTrackedChangeMutationFromV2" | "reconcileTrackedChangesFromV2" | "remapTrackedChangeIdentities">>;
@@ -1808,14 +1844,17 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
1808
1844
  v2CommentsAdapter: import('vue').ShallowRef<null, null>;
1809
1845
  setV2CommentsAdapter: (adapter: any) => void;
1810
1846
  getV2CommentsAdapter: (superdoc: any) => any;
1811
- hydrateCommentsFromV2: ({ superdoc, adapter, documentId, signal, hydrationGeneration }?: {}) => Promise<any>;
1812
- applyReviewSnapshotFromV2: ({ superdoc, commentsAdapter, trackedChangesAdapter, documentId, commentItems, trackedChangeItems, trackedList, patch, }?: {}) => any;
1847
+ hydrateCommentsFromV2: ({ superdoc, adapter, documentId, trackedChangesListMode, isCurrent, signal, hydrationGeneration, }?: {
1848
+ trackedChangesListMode?: string | undefined;
1849
+ }) => Promise<any>;
1850
+ applyReviewSnapshotFromV2: ({ superdoc, commentsAdapter, trackedChangesAdapter, documentId, commentItems, trackedChangeItems, trackedList, sourceCoverageRevision, evaluatedRevision, patch, }?: {}) => any;
1813
1851
  supersedeV2ReviewHydration: ({ commentsAdapter, trackedChangesAdapter }?: {}) => {
1814
1852
  commentsGeneration: any;
1815
1853
  trackedChangesGeneration: any;
1816
1854
  };
1817
- reconcileCommentsFromV2: ({ superdoc, adapter, documentId, items, preparedInputs, hydrationGeneration, }?: {
1855
+ reconcileCommentsFromV2: ({ superdoc, adapter, documentId, items, preparedInputs, pruneStale, hydrationGeneration, }?: {
1818
1856
  preparedInputs?: null | undefined;
1857
+ pruneStale?: boolean | undefined;
1819
1858
  }) => any;
1820
1859
  isV2EditorActive: (superdoc: any) => boolean;
1821
1860
  replyCommentV2: ({ superdoc, parentCommentId, text }?: {}) => Promise<any>;
@@ -1826,8 +1865,9 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
1826
1865
  setV2TrackedChangesAdapter: (adapter: any) => void;
1827
1866
  getV2TrackedChangesAdapter: (superdoc: any) => any;
1828
1867
  getV2TrackedChangeRowCount: (documentId?: null) => number;
1829
- hydrateTrackedChangesFromV2: ({ superdoc, adapter, documentId, trackedChangesListMode, refreshReason, blocking, signal, hydrationGeneration, }?: {
1868
+ hydrateTrackedChangesFromV2: ({ superdoc, adapter, documentId, trackedChangesListMode, refreshReason, blocking, isCurrent, targetIds, reconciliationBatchSize, signal, hydrationGeneration, }?: {
1830
1869
  trackedChangesListMode?: string | undefined;
1870
+ reconciliationBatchSize?: number | undefined;
1831
1871
  }) => Promise<any>;
1832
1872
  reconcileTrackedChangeMutationFromV2: ({ superdoc, adapter, documentId, upsertIds, removedIds, allResolved, }?: {
1833
1873
  upsertIds?: never[] | undefined;
@@ -1869,9 +1909,11 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
1869
1909
  allResolved?: undefined;
1870
1910
  removedRows?: undefined;
1871
1911
  }>;
1872
- reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale, preparedParams, hydrationGeneration, }?: {
1912
+ reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale, preparedParams, liveIds: suppliedLiveIds, liveAnchorKeys: suppliedLiveAnchorKeys, hydrationGeneration, }?: {
1873
1913
  pruneStale?: boolean | undefined;
1874
1914
  preparedParams?: null | undefined;
1915
+ liveIds?: null | undefined;
1916
+ liveAnchorKeys?: null | undefined;
1875
1917
  }) => any;
1876
1918
  remapTrackedChangeIdentities: (pairs?: any[], { documentId }?: {}) => void;
1877
1919
  }, "suppressInternalExternal" | "activeComment" | "activeFloatingCommentInstanceId" | "floatingCommentsOffset" | "pendingComment" | "currentCommentText" | "isDebugging" | "editingCommentId" | "editorCommentPositions" | "isCommentHighlighted" | "v2CommentsAdapter" | "COMMENT_EVENTS" | "hasInitializedComments" | "hasSyncedCollaborationComments" | "commentDialogs" | "overlappingComments" | "overlappedIds" | "commentsList" | "isCommentsListVisible" | "generalCommentIds" | "editorCommentIds" | "commentsParentElement" | "hasInitializedLocations" | "sortedConversations" | "visibleConversations" | "skipSelectionUpdate" | "isFloatingCommentsReady" | "instantSidebarAlignmentTargetY" | "instantSidebarAlignmentThreadId" | "instantSidebarAlignmentInstanceId" | "viewingVisibility" | "v2TrackedChangesAdapter">, Pick<{
@@ -2061,14 +2103,17 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
2061
2103
  v2CommentsAdapter: import('vue').ShallowRef<null, null>;
2062
2104
  setV2CommentsAdapter: (adapter: any) => void;
2063
2105
  getV2CommentsAdapter: (superdoc: any) => any;
2064
- hydrateCommentsFromV2: ({ superdoc, adapter, documentId, signal, hydrationGeneration }?: {}) => Promise<any>;
2065
- applyReviewSnapshotFromV2: ({ superdoc, commentsAdapter, trackedChangesAdapter, documentId, commentItems, trackedChangeItems, trackedList, patch, }?: {}) => any;
2106
+ hydrateCommentsFromV2: ({ superdoc, adapter, documentId, trackedChangesListMode, isCurrent, signal, hydrationGeneration, }?: {
2107
+ trackedChangesListMode?: string | undefined;
2108
+ }) => Promise<any>;
2109
+ applyReviewSnapshotFromV2: ({ superdoc, commentsAdapter, trackedChangesAdapter, documentId, commentItems, trackedChangeItems, trackedList, sourceCoverageRevision, evaluatedRevision, patch, }?: {}) => any;
2066
2110
  supersedeV2ReviewHydration: ({ commentsAdapter, trackedChangesAdapter }?: {}) => {
2067
2111
  commentsGeneration: any;
2068
2112
  trackedChangesGeneration: any;
2069
2113
  };
2070
- reconcileCommentsFromV2: ({ superdoc, adapter, documentId, items, preparedInputs, hydrationGeneration, }?: {
2114
+ reconcileCommentsFromV2: ({ superdoc, adapter, documentId, items, preparedInputs, pruneStale, hydrationGeneration, }?: {
2071
2115
  preparedInputs?: null | undefined;
2116
+ pruneStale?: boolean | undefined;
2072
2117
  }) => any;
2073
2118
  isV2EditorActive: (superdoc: any) => boolean;
2074
2119
  replyCommentV2: ({ superdoc, parentCommentId, text }?: {}) => Promise<any>;
@@ -2079,8 +2124,9 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
2079
2124
  setV2TrackedChangesAdapter: (adapter: any) => void;
2080
2125
  getV2TrackedChangesAdapter: (superdoc: any) => any;
2081
2126
  getV2TrackedChangeRowCount: (documentId?: null) => number;
2082
- hydrateTrackedChangesFromV2: ({ superdoc, adapter, documentId, trackedChangesListMode, refreshReason, blocking, signal, hydrationGeneration, }?: {
2127
+ hydrateTrackedChangesFromV2: ({ superdoc, adapter, documentId, trackedChangesListMode, refreshReason, blocking, isCurrent, targetIds, reconciliationBatchSize, signal, hydrationGeneration, }?: {
2083
2128
  trackedChangesListMode?: string | undefined;
2129
+ reconciliationBatchSize?: number | undefined;
2084
2130
  }) => Promise<any>;
2085
2131
  reconcileTrackedChangeMutationFromV2: ({ superdoc, adapter, documentId, upsertIds, removedIds, allResolved, }?: {
2086
2132
  upsertIds?: never[] | undefined;
@@ -2122,9 +2168,11 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
2122
2168
  allResolved?: undefined;
2123
2169
  removedRows?: undefined;
2124
2170
  }>;
2125
- reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale, preparedParams, hydrationGeneration, }?: {
2171
+ reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale, preparedParams, liveIds: suppliedLiveIds, liveAnchorKeys: suppliedLiveAnchorKeys, hydrationGeneration, }?: {
2126
2172
  pruneStale?: boolean | undefined;
2127
2173
  preparedParams?: null | undefined;
2174
+ liveIds?: null | undefined;
2175
+ liveAnchorKeys?: null | undefined;
2128
2176
  }) => any;
2129
2177
  remapTrackedChangeIdentities: (pairs?: any[], { documentId }?: {}) => void;
2130
2178
  }, "getConfig" | "documentsWithConverations" | "getGroupedComments" | "hasOpenTrackedChanges" | "getCommentsByPosition" | "getFloatingComments" | "getFloatingCommentInstances" | "isViewingMode" | "shouldRenderReviewInViewing">, Pick<{
@@ -2314,14 +2362,17 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
2314
2362
  v2CommentsAdapter: import('vue').ShallowRef<null, null>;
2315
2363
  setV2CommentsAdapter: (adapter: any) => void;
2316
2364
  getV2CommentsAdapter: (superdoc: any) => any;
2317
- hydrateCommentsFromV2: ({ superdoc, adapter, documentId, signal, hydrationGeneration }?: {}) => Promise<any>;
2318
- applyReviewSnapshotFromV2: ({ superdoc, commentsAdapter, trackedChangesAdapter, documentId, commentItems, trackedChangeItems, trackedList, patch, }?: {}) => any;
2365
+ hydrateCommentsFromV2: ({ superdoc, adapter, documentId, trackedChangesListMode, isCurrent, signal, hydrationGeneration, }?: {
2366
+ trackedChangesListMode?: string | undefined;
2367
+ }) => Promise<any>;
2368
+ applyReviewSnapshotFromV2: ({ superdoc, commentsAdapter, trackedChangesAdapter, documentId, commentItems, trackedChangeItems, trackedList, sourceCoverageRevision, evaluatedRevision, patch, }?: {}) => any;
2319
2369
  supersedeV2ReviewHydration: ({ commentsAdapter, trackedChangesAdapter }?: {}) => {
2320
2370
  commentsGeneration: any;
2321
2371
  trackedChangesGeneration: any;
2322
2372
  };
2323
- reconcileCommentsFromV2: ({ superdoc, adapter, documentId, items, preparedInputs, hydrationGeneration, }?: {
2373
+ reconcileCommentsFromV2: ({ superdoc, adapter, documentId, items, preparedInputs, pruneStale, hydrationGeneration, }?: {
2324
2374
  preparedInputs?: null | undefined;
2375
+ pruneStale?: boolean | undefined;
2325
2376
  }) => any;
2326
2377
  isV2EditorActive: (superdoc: any) => boolean;
2327
2378
  replyCommentV2: ({ superdoc, parentCommentId, text }?: {}) => Promise<any>;
@@ -2332,8 +2383,9 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
2332
2383
  setV2TrackedChangesAdapter: (adapter: any) => void;
2333
2384
  getV2TrackedChangesAdapter: (superdoc: any) => any;
2334
2385
  getV2TrackedChangeRowCount: (documentId?: null) => number;
2335
- hydrateTrackedChangesFromV2: ({ superdoc, adapter, documentId, trackedChangesListMode, refreshReason, blocking, signal, hydrationGeneration, }?: {
2386
+ hydrateTrackedChangesFromV2: ({ superdoc, adapter, documentId, trackedChangesListMode, refreshReason, blocking, isCurrent, targetIds, reconciliationBatchSize, signal, hydrationGeneration, }?: {
2336
2387
  trackedChangesListMode?: string | undefined;
2388
+ reconciliationBatchSize?: number | undefined;
2337
2389
  }) => Promise<any>;
2338
2390
  reconcileTrackedChangeMutationFromV2: ({ superdoc, adapter, documentId, upsertIds, removedIds, allResolved, }?: {
2339
2391
  upsertIds?: never[] | undefined;
@@ -2375,9 +2427,11 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
2375
2427
  allResolved?: undefined;
2376
2428
  removedRows?: undefined;
2377
2429
  }>;
2378
- reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale, preparedParams, hydrationGeneration, }?: {
2430
+ reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale, preparedParams, liveIds: suppliedLiveIds, liveAnchorKeys: suppliedLiveAnchorKeys, hydrationGeneration, }?: {
2379
2431
  pruneStale?: boolean | undefined;
2380
2432
  preparedParams?: null | undefined;
2433
+ liveIds?: null | undefined;
2434
+ liveAnchorKeys?: null | undefined;
2381
2435
  }) => any;
2382
2436
  remapTrackedChangeIdentities: (pairs?: any[], { documentId }?: {}) => void;
2383
2437
  }, "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" | "applyReviewSnapshotFromV2" | "supersedeV2ReviewHydration" | "reconcileCommentsFromV2" | "isV2EditorActive" | "replyCommentV2" | "editCommentV2" | "resolveCommentV2" | "reopenCommentV2" | "setV2TrackedChangesAdapter" | "getV2TrackedChangesAdapter" | "getV2TrackedChangeRowCount" | "hydrateTrackedChangesFromV2" | "reconcileTrackedChangeMutationFromV2" | "reconcileTrackedChangesFromV2" | "remapTrackedChangeIdentities">>;