superdoc 2.4.0-next.2 → 2.4.0-next.21
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/{FindReplaceSurface-Dx0llWqP.cjs → FindReplaceSurface-0p7EtMZh.cjs} +4 -4
- package/dist/chunks/{FindReplaceSurface-BEW-1NhM.es.js → FindReplaceSurface-40AnrqWk.es.js} +5 -4
- package/dist/chunks/{PasswordPromptSurface-BUUVC2ee.cjs → PasswordPromptSurface-31lYPcCK.cjs} +4 -3
- package/dist/chunks/{PasswordPromptSurface-BA6HHqEa.es.js → PasswordPromptSurface-CwYeO3iQ.es.js} +4 -2
- package/dist/chunks/{PdfViewer-CNOtyS-I.es.js → PdfViewer-D8h7LRZy.es.js} +103 -19
- package/dist/chunks/{PdfViewer-qpvzwYMz.cjs → PdfViewer-Dug6yDRC.cjs} +105 -20
- package/dist/chunks/_plugin-vue_export-helper-BOaGB7Aw.es.js +8 -0
- package/dist/chunks/_plugin-vue_export-helper-SDR04tiH.cjs +13 -0
- package/dist/chunks/{blank-docx-DP8RUPW-.cjs → blank-docx-BuFAbRjs.cjs} +2 -0
- package/dist/chunks/{blank-docx-XRX6Ker2.es.js → blank-docx-DzQccOlW.es.js} +2 -0
- package/dist/chunks/constants-B6VBlmKp.es.js +4 -0
- package/dist/chunks/constants-DpXuDx_g.cjs +9 -0
- package/dist/chunks/{create-super-doc-ui-D4kk9AjM.es.js → create-super-doc-ui-CFsY0uxw.es.js} +2177 -581
- package/dist/chunks/{create-super-doc-ui-DXdWuTzm.cjs → create-super-doc-ui-jSJQis_0.cjs} +1987 -619
- package/dist/chunks/{eventemitter3-DqY4aSMf.cjs → eventemitter3-C_TAnXOl.cjs} +125 -16
- package/dist/chunks/{eventemitter3-Bt2s0X0a.es.js → eventemitter3-DEIiXiH2.es.js} +124 -16
- package/dist/chunks/jszip-BzJ3CyxR.es.js +4717 -0
- package/dist/chunks/jszip-D8mAFF-r.cjs +4758 -0
- package/dist/chunks/{rolldown-runtime-D7PMmH3s.es.js → rolldown-runtime-0pSA04fp.es.js} +12 -3
- package/dist/chunks/{rolldown-runtime-1Y-nnZJ3.cjs → rolldown-runtime-74VwNCz7.cjs} +11 -2
- package/dist/chunks/{uuid-CFp0WGVU.cjs → uuid-BhG0ngwk.cjs} +10 -6
- package/dist/chunks/{uuid-B2Sqk-3p.es.js → uuid-H0Xcmmhy.es.js} +8 -3
- package/dist/collaboration-upgrade-engine.cjs +34 -9
- package/dist/collaboration-upgrade-engine.es.js +30 -5
- package/dist/document-api/src/comments/comments.types.d.ts +7 -0
- package/dist/document-api/src/types/track-changes.types.d.ts +1 -3
- package/dist/layout-engine/contracts/src/incremental-dependency.d.ts +22 -2
- package/dist/layout-engine/contracts/src/index.d.ts +1 -1
- package/dist/layout-engine/layout-bridge/src/incrementalLayout.d.ts +2 -1
- package/dist/layout-engine/layout-bridge/src/index.d.ts +1 -0
- package/dist/public/ui-react.cjs +66 -2
- package/dist/public/ui-react.es.js +66 -1
- package/dist/public/ui.cjs +1 -1
- package/dist/public/ui.es.js +1 -1
- package/dist/style.css +104 -69
- package/dist/style.layered.css +104 -69
- package/dist/superdoc/src/core/SuperDoc.d.ts +4 -0
- package/dist/superdoc/src/core/types/index.d.ts +505 -42
- package/dist/superdoc/src/helpers/comment-small-screen.d.ts +10 -0
- package/dist/superdoc/src/helpers/v2-review-mutation-impact.d.ts +1 -0
- package/dist/superdoc/src/helpers/v2-review-mutation-reconciler.d.ts +1 -1
- package/dist/superdoc/src/helpers/v2-typing-review-hydration.d.ts +16 -0
- package/dist/superdoc/src/internal/toolbar/built-in/ToolbarButton.vue.d.ts +4 -4
- package/dist/superdoc/src/internal/toolbar/built-in-toolbar.d.ts +11 -0
- package/dist/superdoc/src/internal/toolbar/compatibility-catalog.d.ts +1 -1
- package/dist/superdoc/src/public/index.d.cts +22 -0
- package/dist/superdoc/src/public/index.d.ts +11 -0
- package/dist/superdoc/src/public/ui/types.d.ts +25 -1
- package/dist/superdoc/src/stores/comments-store.d.ts +100 -22
- package/dist/superdoc/src/stores/superdoc-store.d.ts +300 -66
- package/dist/superdoc.cjs +6678 -1391
- package/dist/superdoc.es.js +6556 -1268
- 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 +14 -14
- package/dist/chunks/_plugin-vue_export-helper-BTwbGDKw.cjs +0 -11
- package/dist/chunks/_plugin-vue_export-helper-CInC0bKI.es.js +0 -6
- package/dist/chunks/constants-CY3R3_kF.es.js +0 -3
- package/dist/chunks/constants-sbCZ2O_A.cjs +0 -14
- package/dist/chunks/jszip-C8srOKAO.es.js +0 -4650
- package/dist/chunks/jszip-Cs9JBLlJ.cjs +0 -4691
|
@@ -158,7 +158,7 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
158
158
|
retainedTrackedChangeIds?: Iterable<string>;
|
|
159
159
|
}) => void;
|
|
160
160
|
clearEditorCommentPositions: () => void;
|
|
161
|
-
handleTrackedChangeUpdate: ({ superdoc, params, broadcastChanges, documentState }: {
|
|
161
|
+
handleTrackedChangeUpdate: ({ superdoc, params, broadcastChanges, documentState, trackedChangeIdentityIndex, }: {
|
|
162
162
|
superdoc: Object;
|
|
163
163
|
params: Object;
|
|
164
164
|
}) => void;
|
|
@@ -186,10 +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 }?: {
|
|
190
|
-
|
|
191
|
-
|
|
189
|
+
hydrateCommentsFromV2: ({ superdoc, adapter, documentId, trackedChangesListMode, commentIds, isCurrent, signal, hydrationGeneration, }?: {
|
|
190
|
+
trackedChangesListMode?: string | undefined;
|
|
191
|
+
}) => Promise<any>;
|
|
192
|
+
applyReviewSnapshotFromV2: ({ superdoc, commentsAdapter, trackedChangesAdapter, documentId, commentItems, trackedChangeItems, trackedList, sourceCoverageRevision, evaluatedRevision, patch, }?: {}) => any;
|
|
193
|
+
supersedeV2ReviewHydration: ({ commentsAdapter, trackedChangesAdapter }?: {}) => {
|
|
194
|
+
commentsGeneration: any;
|
|
195
|
+
trackedChangesGeneration: any;
|
|
196
|
+
};
|
|
197
|
+
reconcileCommentsFromV2: ({ superdoc, adapter, documentId, items, preparedInputs, pruneStale, hydrationGeneration, }?: {
|
|
192
198
|
preparedInputs?: null | undefined;
|
|
199
|
+
pruneStale?: boolean | undefined;
|
|
193
200
|
}) => any;
|
|
194
201
|
isV2EditorActive: (superdoc: any) => boolean;
|
|
195
202
|
replyCommentV2: ({ superdoc, parentCommentId, text }?: {}) => Promise<any>;
|
|
@@ -199,10 +206,12 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
199
206
|
v2TrackedChangesAdapter: import('vue').ShallowRef<null, null>;
|
|
200
207
|
setV2TrackedChangesAdapter: (adapter: any) => void;
|
|
201
208
|
getV2TrackedChangesAdapter: (superdoc: any) => any;
|
|
202
|
-
|
|
209
|
+
getV2TrackedChangeRowCount: (documentId?: null) => number;
|
|
210
|
+
hydrateTrackedChangesFromV2: ({ superdoc, adapter, documentId, trackedChangesListMode, refreshReason, blocking, isCurrent, targetIds, reconciliationBatchSize, signal, hydrationGeneration, }?: {
|
|
203
211
|
trackedChangesListMode?: string | undefined;
|
|
212
|
+
reconciliationBatchSize?: number | undefined;
|
|
204
213
|
}) => Promise<any>;
|
|
205
|
-
reconcileTrackedChangeMutationFromV2: ({ superdoc, adapter, documentId, upsertIds, removedIds, }?: {
|
|
214
|
+
reconcileTrackedChangeMutationFromV2: ({ superdoc, adapter, documentId, upsertIds, removedIds, allResolved, }?: {
|
|
206
215
|
upsertIds?: never[] | undefined;
|
|
207
216
|
removedIds?: never[] | undefined;
|
|
208
217
|
}) => Promise<{
|
|
@@ -211,14 +220,27 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
211
220
|
items?: undefined;
|
|
212
221
|
resolvedIds?: undefined;
|
|
213
222
|
unresolvedIds?: undefined;
|
|
223
|
+
allResolved?: undefined;
|
|
224
|
+
removedRows?: undefined;
|
|
214
225
|
failures?: undefined;
|
|
215
226
|
} | {
|
|
216
227
|
ok: boolean;
|
|
217
228
|
items: never[];
|
|
218
229
|
resolvedIds: never[];
|
|
219
230
|
unresolvedIds: never[];
|
|
231
|
+
allResolved: boolean;
|
|
232
|
+
removedRows: any;
|
|
220
233
|
reason?: undefined;
|
|
221
234
|
failures?: undefined;
|
|
235
|
+
} | {
|
|
236
|
+
ok: boolean;
|
|
237
|
+
items: never[];
|
|
238
|
+
resolvedIds: never[];
|
|
239
|
+
unresolvedIds: never[];
|
|
240
|
+
reason?: undefined;
|
|
241
|
+
allResolved?: undefined;
|
|
242
|
+
removedRows?: undefined;
|
|
243
|
+
failures?: undefined;
|
|
222
244
|
} | {
|
|
223
245
|
ok: boolean;
|
|
224
246
|
items: any[];
|
|
@@ -226,10 +248,14 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
226
248
|
unresolvedIds: (string | null)[];
|
|
227
249
|
failures: any[];
|
|
228
250
|
reason?: undefined;
|
|
251
|
+
allResolved?: undefined;
|
|
252
|
+
removedRows?: undefined;
|
|
229
253
|
}>;
|
|
230
|
-
reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale, preparedParams, }?: {
|
|
254
|
+
reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale, preparedParams, liveIds: suppliedLiveIds, liveAnchorKeys: suppliedLiveAnchorKeys, hydrationGeneration, }?: {
|
|
231
255
|
pruneStale?: boolean | undefined;
|
|
232
256
|
preparedParams?: null | undefined;
|
|
257
|
+
liveIds?: null | undefined;
|
|
258
|
+
liveAnchorKeys?: null | undefined;
|
|
233
259
|
}) => any;
|
|
234
260
|
remapTrackedChangeIdentities: (pairs?: any[], { documentId }?: {}) => void;
|
|
235
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<{
|
|
@@ -391,7 +417,7 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
391
417
|
retainedTrackedChangeIds?: Iterable<string>;
|
|
392
418
|
}) => void;
|
|
393
419
|
clearEditorCommentPositions: () => void;
|
|
394
|
-
handleTrackedChangeUpdate: ({ superdoc, params, broadcastChanges, documentState }: {
|
|
420
|
+
handleTrackedChangeUpdate: ({ superdoc, params, broadcastChanges, documentState, trackedChangeIdentityIndex, }: {
|
|
395
421
|
superdoc: Object;
|
|
396
422
|
params: Object;
|
|
397
423
|
}) => void;
|
|
@@ -419,10 +445,17 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
419
445
|
v2CommentsAdapter: import('vue').ShallowRef<null, null>;
|
|
420
446
|
setV2CommentsAdapter: (adapter: any) => void;
|
|
421
447
|
getV2CommentsAdapter: (superdoc: any) => any;
|
|
422
|
-
hydrateCommentsFromV2: ({ superdoc, adapter, documentId }?: {
|
|
423
|
-
|
|
424
|
-
|
|
448
|
+
hydrateCommentsFromV2: ({ superdoc, adapter, documentId, trackedChangesListMode, commentIds, isCurrent, signal, hydrationGeneration, }?: {
|
|
449
|
+
trackedChangesListMode?: string | undefined;
|
|
450
|
+
}) => Promise<any>;
|
|
451
|
+
applyReviewSnapshotFromV2: ({ superdoc, commentsAdapter, trackedChangesAdapter, documentId, commentItems, trackedChangeItems, trackedList, sourceCoverageRevision, evaluatedRevision, patch, }?: {}) => any;
|
|
452
|
+
supersedeV2ReviewHydration: ({ commentsAdapter, trackedChangesAdapter }?: {}) => {
|
|
453
|
+
commentsGeneration: any;
|
|
454
|
+
trackedChangesGeneration: any;
|
|
455
|
+
};
|
|
456
|
+
reconcileCommentsFromV2: ({ superdoc, adapter, documentId, items, preparedInputs, pruneStale, hydrationGeneration, }?: {
|
|
425
457
|
preparedInputs?: null | undefined;
|
|
458
|
+
pruneStale?: boolean | undefined;
|
|
426
459
|
}) => any;
|
|
427
460
|
isV2EditorActive: (superdoc: any) => boolean;
|
|
428
461
|
replyCommentV2: ({ superdoc, parentCommentId, text }?: {}) => Promise<any>;
|
|
@@ -432,10 +465,12 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
432
465
|
v2TrackedChangesAdapter: import('vue').ShallowRef<null, null>;
|
|
433
466
|
setV2TrackedChangesAdapter: (adapter: any) => void;
|
|
434
467
|
getV2TrackedChangesAdapter: (superdoc: any) => any;
|
|
435
|
-
|
|
468
|
+
getV2TrackedChangeRowCount: (documentId?: null) => number;
|
|
469
|
+
hydrateTrackedChangesFromV2: ({ superdoc, adapter, documentId, trackedChangesListMode, refreshReason, blocking, isCurrent, targetIds, reconciliationBatchSize, signal, hydrationGeneration, }?: {
|
|
436
470
|
trackedChangesListMode?: string | undefined;
|
|
471
|
+
reconciliationBatchSize?: number | undefined;
|
|
437
472
|
}) => Promise<any>;
|
|
438
|
-
reconcileTrackedChangeMutationFromV2: ({ superdoc, adapter, documentId, upsertIds, removedIds, }?: {
|
|
473
|
+
reconcileTrackedChangeMutationFromV2: ({ superdoc, adapter, documentId, upsertIds, removedIds, allResolved, }?: {
|
|
439
474
|
upsertIds?: never[] | undefined;
|
|
440
475
|
removedIds?: never[] | undefined;
|
|
441
476
|
}) => Promise<{
|
|
@@ -444,6 +479,17 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
444
479
|
items?: undefined;
|
|
445
480
|
resolvedIds?: undefined;
|
|
446
481
|
unresolvedIds?: undefined;
|
|
482
|
+
allResolved?: undefined;
|
|
483
|
+
removedRows?: undefined;
|
|
484
|
+
failures?: undefined;
|
|
485
|
+
} | {
|
|
486
|
+
ok: boolean;
|
|
487
|
+
items: never[];
|
|
488
|
+
resolvedIds: never[];
|
|
489
|
+
unresolvedIds: never[];
|
|
490
|
+
allResolved: boolean;
|
|
491
|
+
removedRows: any;
|
|
492
|
+
reason?: undefined;
|
|
447
493
|
failures?: undefined;
|
|
448
494
|
} | {
|
|
449
495
|
ok: boolean;
|
|
@@ -451,6 +497,8 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
451
497
|
resolvedIds: never[];
|
|
452
498
|
unresolvedIds: never[];
|
|
453
499
|
reason?: undefined;
|
|
500
|
+
allResolved?: undefined;
|
|
501
|
+
removedRows?: undefined;
|
|
454
502
|
failures?: undefined;
|
|
455
503
|
} | {
|
|
456
504
|
ok: boolean;
|
|
@@ -459,10 +507,14 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
459
507
|
unresolvedIds: (string | null)[];
|
|
460
508
|
failures: any[];
|
|
461
509
|
reason?: undefined;
|
|
510
|
+
allResolved?: undefined;
|
|
511
|
+
removedRows?: undefined;
|
|
462
512
|
}>;
|
|
463
|
-
reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale, preparedParams, }?: {
|
|
513
|
+
reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale, preparedParams, liveIds: suppliedLiveIds, liveAnchorKeys: suppliedLiveAnchorKeys, hydrationGeneration, }?: {
|
|
464
514
|
pruneStale?: boolean | undefined;
|
|
465
515
|
preparedParams?: null | undefined;
|
|
516
|
+
liveIds?: null | undefined;
|
|
517
|
+
liveAnchorKeys?: null | undefined;
|
|
466
518
|
}) => any;
|
|
467
519
|
remapTrackedChangeIdentities: (pairs?: any[], { documentId }?: {}) => void;
|
|
468
520
|
}, "getConfig" | "documentsWithConverations" | "getGroupedComments" | "hasOpenTrackedChanges" | "getCommentsByPosition" | "getFloatingComments" | "getFloatingCommentInstances" | "isViewingMode" | "shouldRenderReviewInViewing">, Pick<{
|
|
@@ -624,7 +676,7 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
624
676
|
retainedTrackedChangeIds?: Iterable<string>;
|
|
625
677
|
}) => void;
|
|
626
678
|
clearEditorCommentPositions: () => void;
|
|
627
|
-
handleTrackedChangeUpdate: ({ superdoc, params, broadcastChanges, documentState }: {
|
|
679
|
+
handleTrackedChangeUpdate: ({ superdoc, params, broadcastChanges, documentState, trackedChangeIdentityIndex, }: {
|
|
628
680
|
superdoc: Object;
|
|
629
681
|
params: Object;
|
|
630
682
|
}) => void;
|
|
@@ -652,10 +704,17 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
652
704
|
v2CommentsAdapter: import('vue').ShallowRef<null, null>;
|
|
653
705
|
setV2CommentsAdapter: (adapter: any) => void;
|
|
654
706
|
getV2CommentsAdapter: (superdoc: any) => any;
|
|
655
|
-
hydrateCommentsFromV2: ({ superdoc, adapter, documentId }?: {
|
|
656
|
-
|
|
657
|
-
|
|
707
|
+
hydrateCommentsFromV2: ({ superdoc, adapter, documentId, trackedChangesListMode, commentIds, isCurrent, signal, hydrationGeneration, }?: {
|
|
708
|
+
trackedChangesListMode?: string | undefined;
|
|
709
|
+
}) => Promise<any>;
|
|
710
|
+
applyReviewSnapshotFromV2: ({ superdoc, commentsAdapter, trackedChangesAdapter, documentId, commentItems, trackedChangeItems, trackedList, sourceCoverageRevision, evaluatedRevision, patch, }?: {}) => any;
|
|
711
|
+
supersedeV2ReviewHydration: ({ commentsAdapter, trackedChangesAdapter }?: {}) => {
|
|
712
|
+
commentsGeneration: any;
|
|
713
|
+
trackedChangesGeneration: any;
|
|
714
|
+
};
|
|
715
|
+
reconcileCommentsFromV2: ({ superdoc, adapter, documentId, items, preparedInputs, pruneStale, hydrationGeneration, }?: {
|
|
658
716
|
preparedInputs?: null | undefined;
|
|
717
|
+
pruneStale?: boolean | undefined;
|
|
659
718
|
}) => any;
|
|
660
719
|
isV2EditorActive: (superdoc: any) => boolean;
|
|
661
720
|
replyCommentV2: ({ superdoc, parentCommentId, text }?: {}) => Promise<any>;
|
|
@@ -665,10 +724,12 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
665
724
|
v2TrackedChangesAdapter: import('vue').ShallowRef<null, null>;
|
|
666
725
|
setV2TrackedChangesAdapter: (adapter: any) => void;
|
|
667
726
|
getV2TrackedChangesAdapter: (superdoc: any) => any;
|
|
668
|
-
|
|
727
|
+
getV2TrackedChangeRowCount: (documentId?: null) => number;
|
|
728
|
+
hydrateTrackedChangesFromV2: ({ superdoc, adapter, documentId, trackedChangesListMode, refreshReason, blocking, isCurrent, targetIds, reconciliationBatchSize, signal, hydrationGeneration, }?: {
|
|
669
729
|
trackedChangesListMode?: string | undefined;
|
|
730
|
+
reconciliationBatchSize?: number | undefined;
|
|
670
731
|
}) => Promise<any>;
|
|
671
|
-
reconcileTrackedChangeMutationFromV2: ({ superdoc, adapter, documentId, upsertIds, removedIds, }?: {
|
|
732
|
+
reconcileTrackedChangeMutationFromV2: ({ superdoc, adapter, documentId, upsertIds, removedIds, allResolved, }?: {
|
|
672
733
|
upsertIds?: never[] | undefined;
|
|
673
734
|
removedIds?: never[] | undefined;
|
|
674
735
|
}) => Promise<{
|
|
@@ -677,14 +738,27 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
677
738
|
items?: undefined;
|
|
678
739
|
resolvedIds?: undefined;
|
|
679
740
|
unresolvedIds?: undefined;
|
|
741
|
+
allResolved?: undefined;
|
|
742
|
+
removedRows?: undefined;
|
|
680
743
|
failures?: undefined;
|
|
681
744
|
} | {
|
|
682
745
|
ok: boolean;
|
|
683
746
|
items: never[];
|
|
684
747
|
resolvedIds: never[];
|
|
685
748
|
unresolvedIds: never[];
|
|
749
|
+
allResolved: boolean;
|
|
750
|
+
removedRows: any;
|
|
686
751
|
reason?: undefined;
|
|
687
752
|
failures?: undefined;
|
|
753
|
+
} | {
|
|
754
|
+
ok: boolean;
|
|
755
|
+
items: never[];
|
|
756
|
+
resolvedIds: never[];
|
|
757
|
+
unresolvedIds: never[];
|
|
758
|
+
reason?: undefined;
|
|
759
|
+
allResolved?: undefined;
|
|
760
|
+
removedRows?: undefined;
|
|
761
|
+
failures?: undefined;
|
|
688
762
|
} | {
|
|
689
763
|
ok: boolean;
|
|
690
764
|
items: any[];
|
|
@@ -692,13 +766,17 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
692
766
|
unresolvedIds: (string | null)[];
|
|
693
767
|
failures: any[];
|
|
694
768
|
reason?: undefined;
|
|
769
|
+
allResolved?: undefined;
|
|
770
|
+
removedRows?: undefined;
|
|
695
771
|
}>;
|
|
696
|
-
reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale, preparedParams, }?: {
|
|
772
|
+
reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale, preparedParams, liveIds: suppliedLiveIds, liveAnchorKeys: suppliedLiveAnchorKeys, hydrationGeneration, }?: {
|
|
697
773
|
pruneStale?: boolean | undefined;
|
|
698
774
|
preparedParams?: null | undefined;
|
|
775
|
+
liveIds?: null | undefined;
|
|
776
|
+
liveAnchorKeys?: null | undefined;
|
|
699
777
|
}) => any;
|
|
700
778
|
remapTrackedChangeIdentities: (pairs?: any[], { documentId }?: {}) => void;
|
|
701
|
-
}, "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" | "reconcileCommentsFromV2" | "isV2EditorActive" | "replyCommentV2" | "editCommentV2" | "resolveCommentV2" | "reopenCommentV2" | "setV2TrackedChangesAdapter" | "getV2TrackedChangesAdapter" | "hydrateTrackedChangesFromV2" | "reconcileTrackedChangeMutationFromV2" | "reconcileTrackedChangesFromV2" | "remapTrackedChangeIdentities">>;
|
|
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">>;
|
|
702
780
|
documents: import('vue').Ref<any[], any[]>;
|
|
703
781
|
documentBounds: import('vue').Ref<never[], never[]>;
|
|
704
782
|
pages: {};
|
|
@@ -909,7 +987,7 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
909
987
|
retainedTrackedChangeIds?: Iterable<string>;
|
|
910
988
|
}) => void;
|
|
911
989
|
clearEditorCommentPositions: () => void;
|
|
912
|
-
handleTrackedChangeUpdate: ({ superdoc, params, broadcastChanges, documentState }: {
|
|
990
|
+
handleTrackedChangeUpdate: ({ superdoc, params, broadcastChanges, documentState, trackedChangeIdentityIndex, }: {
|
|
913
991
|
superdoc: Object;
|
|
914
992
|
params: Object;
|
|
915
993
|
}) => void;
|
|
@@ -937,10 +1015,17 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
937
1015
|
v2CommentsAdapter: import('vue').ShallowRef<null, null>;
|
|
938
1016
|
setV2CommentsAdapter: (adapter: any) => void;
|
|
939
1017
|
getV2CommentsAdapter: (superdoc: any) => any;
|
|
940
|
-
hydrateCommentsFromV2: ({ superdoc, adapter, documentId }?: {
|
|
941
|
-
|
|
942
|
-
|
|
1018
|
+
hydrateCommentsFromV2: ({ superdoc, adapter, documentId, trackedChangesListMode, commentIds, isCurrent, signal, hydrationGeneration, }?: {
|
|
1019
|
+
trackedChangesListMode?: string | undefined;
|
|
1020
|
+
}) => Promise<any>;
|
|
1021
|
+
applyReviewSnapshotFromV2: ({ superdoc, commentsAdapter, trackedChangesAdapter, documentId, commentItems, trackedChangeItems, trackedList, sourceCoverageRevision, evaluatedRevision, patch, }?: {}) => any;
|
|
1022
|
+
supersedeV2ReviewHydration: ({ commentsAdapter, trackedChangesAdapter }?: {}) => {
|
|
1023
|
+
commentsGeneration: any;
|
|
1024
|
+
trackedChangesGeneration: any;
|
|
1025
|
+
};
|
|
1026
|
+
reconcileCommentsFromV2: ({ superdoc, adapter, documentId, items, preparedInputs, pruneStale, hydrationGeneration, }?: {
|
|
943
1027
|
preparedInputs?: null | undefined;
|
|
1028
|
+
pruneStale?: boolean | undefined;
|
|
944
1029
|
}) => any;
|
|
945
1030
|
isV2EditorActive: (superdoc: any) => boolean;
|
|
946
1031
|
replyCommentV2: ({ superdoc, parentCommentId, text }?: {}) => Promise<any>;
|
|
@@ -950,10 +1035,12 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
950
1035
|
v2TrackedChangesAdapter: import('vue').ShallowRef<null, null>;
|
|
951
1036
|
setV2TrackedChangesAdapter: (adapter: any) => void;
|
|
952
1037
|
getV2TrackedChangesAdapter: (superdoc: any) => any;
|
|
953
|
-
|
|
1038
|
+
getV2TrackedChangeRowCount: (documentId?: null) => number;
|
|
1039
|
+
hydrateTrackedChangesFromV2: ({ superdoc, adapter, documentId, trackedChangesListMode, refreshReason, blocking, isCurrent, targetIds, reconciliationBatchSize, signal, hydrationGeneration, }?: {
|
|
954
1040
|
trackedChangesListMode?: string | undefined;
|
|
1041
|
+
reconciliationBatchSize?: number | undefined;
|
|
955
1042
|
}) => Promise<any>;
|
|
956
|
-
reconcileTrackedChangeMutationFromV2: ({ superdoc, adapter, documentId, upsertIds, removedIds, }?: {
|
|
1043
|
+
reconcileTrackedChangeMutationFromV2: ({ superdoc, adapter, documentId, upsertIds, removedIds, allResolved, }?: {
|
|
957
1044
|
upsertIds?: never[] | undefined;
|
|
958
1045
|
removedIds?: never[] | undefined;
|
|
959
1046
|
}) => Promise<{
|
|
@@ -962,14 +1049,27 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
962
1049
|
items?: undefined;
|
|
963
1050
|
resolvedIds?: undefined;
|
|
964
1051
|
unresolvedIds?: undefined;
|
|
1052
|
+
allResolved?: undefined;
|
|
1053
|
+
removedRows?: undefined;
|
|
965
1054
|
failures?: undefined;
|
|
966
1055
|
} | {
|
|
967
1056
|
ok: boolean;
|
|
968
1057
|
items: never[];
|
|
969
1058
|
resolvedIds: never[];
|
|
970
1059
|
unresolvedIds: never[];
|
|
1060
|
+
allResolved: boolean;
|
|
1061
|
+
removedRows: any;
|
|
971
1062
|
reason?: undefined;
|
|
972
1063
|
failures?: undefined;
|
|
1064
|
+
} | {
|
|
1065
|
+
ok: boolean;
|
|
1066
|
+
items: never[];
|
|
1067
|
+
resolvedIds: never[];
|
|
1068
|
+
unresolvedIds: never[];
|
|
1069
|
+
reason?: undefined;
|
|
1070
|
+
allResolved?: undefined;
|
|
1071
|
+
removedRows?: undefined;
|
|
1072
|
+
failures?: undefined;
|
|
973
1073
|
} | {
|
|
974
1074
|
ok: boolean;
|
|
975
1075
|
items: any[];
|
|
@@ -977,10 +1077,14 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
977
1077
|
unresolvedIds: (string | null)[];
|
|
978
1078
|
failures: any[];
|
|
979
1079
|
reason?: undefined;
|
|
1080
|
+
allResolved?: undefined;
|
|
1081
|
+
removedRows?: undefined;
|
|
980
1082
|
}>;
|
|
981
|
-
reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale, preparedParams, }?: {
|
|
1083
|
+
reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale, preparedParams, liveIds: suppliedLiveIds, liveAnchorKeys: suppliedLiveAnchorKeys, hydrationGeneration, }?: {
|
|
982
1084
|
pruneStale?: boolean | undefined;
|
|
983
1085
|
preparedParams?: null | undefined;
|
|
1086
|
+
liveIds?: null | undefined;
|
|
1087
|
+
liveAnchorKeys?: null | undefined;
|
|
984
1088
|
}) => any;
|
|
985
1089
|
remapTrackedChangeIdentities: (pairs?: any[], { documentId }?: {}) => void;
|
|
986
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<{
|
|
@@ -1142,7 +1246,7 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
1142
1246
|
retainedTrackedChangeIds?: Iterable<string>;
|
|
1143
1247
|
}) => void;
|
|
1144
1248
|
clearEditorCommentPositions: () => void;
|
|
1145
|
-
handleTrackedChangeUpdate: ({ superdoc, params, broadcastChanges, documentState }: {
|
|
1249
|
+
handleTrackedChangeUpdate: ({ superdoc, params, broadcastChanges, documentState, trackedChangeIdentityIndex, }: {
|
|
1146
1250
|
superdoc: Object;
|
|
1147
1251
|
params: Object;
|
|
1148
1252
|
}) => void;
|
|
@@ -1170,10 +1274,17 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
1170
1274
|
v2CommentsAdapter: import('vue').ShallowRef<null, null>;
|
|
1171
1275
|
setV2CommentsAdapter: (adapter: any) => void;
|
|
1172
1276
|
getV2CommentsAdapter: (superdoc: any) => any;
|
|
1173
|
-
hydrateCommentsFromV2: ({ superdoc, adapter, documentId }?: {
|
|
1174
|
-
|
|
1175
|
-
|
|
1277
|
+
hydrateCommentsFromV2: ({ superdoc, adapter, documentId, trackedChangesListMode, commentIds, isCurrent, signal, hydrationGeneration, }?: {
|
|
1278
|
+
trackedChangesListMode?: string | undefined;
|
|
1279
|
+
}) => Promise<any>;
|
|
1280
|
+
applyReviewSnapshotFromV2: ({ superdoc, commentsAdapter, trackedChangesAdapter, documentId, commentItems, trackedChangeItems, trackedList, sourceCoverageRevision, evaluatedRevision, patch, }?: {}) => any;
|
|
1281
|
+
supersedeV2ReviewHydration: ({ commentsAdapter, trackedChangesAdapter }?: {}) => {
|
|
1282
|
+
commentsGeneration: any;
|
|
1283
|
+
trackedChangesGeneration: any;
|
|
1284
|
+
};
|
|
1285
|
+
reconcileCommentsFromV2: ({ superdoc, adapter, documentId, items, preparedInputs, pruneStale, hydrationGeneration, }?: {
|
|
1176
1286
|
preparedInputs?: null | undefined;
|
|
1287
|
+
pruneStale?: boolean | undefined;
|
|
1177
1288
|
}) => any;
|
|
1178
1289
|
isV2EditorActive: (superdoc: any) => boolean;
|
|
1179
1290
|
replyCommentV2: ({ superdoc, parentCommentId, text }?: {}) => Promise<any>;
|
|
@@ -1183,10 +1294,12 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
1183
1294
|
v2TrackedChangesAdapter: import('vue').ShallowRef<null, null>;
|
|
1184
1295
|
setV2TrackedChangesAdapter: (adapter: any) => void;
|
|
1185
1296
|
getV2TrackedChangesAdapter: (superdoc: any) => any;
|
|
1186
|
-
|
|
1297
|
+
getV2TrackedChangeRowCount: (documentId?: null) => number;
|
|
1298
|
+
hydrateTrackedChangesFromV2: ({ superdoc, adapter, documentId, trackedChangesListMode, refreshReason, blocking, isCurrent, targetIds, reconciliationBatchSize, signal, hydrationGeneration, }?: {
|
|
1187
1299
|
trackedChangesListMode?: string | undefined;
|
|
1300
|
+
reconciliationBatchSize?: number | undefined;
|
|
1188
1301
|
}) => Promise<any>;
|
|
1189
|
-
reconcileTrackedChangeMutationFromV2: ({ superdoc, adapter, documentId, upsertIds, removedIds, }?: {
|
|
1302
|
+
reconcileTrackedChangeMutationFromV2: ({ superdoc, adapter, documentId, upsertIds, removedIds, allResolved, }?: {
|
|
1190
1303
|
upsertIds?: never[] | undefined;
|
|
1191
1304
|
removedIds?: never[] | undefined;
|
|
1192
1305
|
}) => Promise<{
|
|
@@ -1195,14 +1308,27 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
1195
1308
|
items?: undefined;
|
|
1196
1309
|
resolvedIds?: undefined;
|
|
1197
1310
|
unresolvedIds?: undefined;
|
|
1311
|
+
allResolved?: undefined;
|
|
1312
|
+
removedRows?: undefined;
|
|
1198
1313
|
failures?: undefined;
|
|
1199
1314
|
} | {
|
|
1200
1315
|
ok: boolean;
|
|
1201
1316
|
items: never[];
|
|
1202
1317
|
resolvedIds: never[];
|
|
1203
1318
|
unresolvedIds: never[];
|
|
1319
|
+
allResolved: boolean;
|
|
1320
|
+
removedRows: any;
|
|
1204
1321
|
reason?: undefined;
|
|
1205
1322
|
failures?: undefined;
|
|
1323
|
+
} | {
|
|
1324
|
+
ok: boolean;
|
|
1325
|
+
items: never[];
|
|
1326
|
+
resolvedIds: never[];
|
|
1327
|
+
unresolvedIds: never[];
|
|
1328
|
+
reason?: undefined;
|
|
1329
|
+
allResolved?: undefined;
|
|
1330
|
+
removedRows?: undefined;
|
|
1331
|
+
failures?: undefined;
|
|
1206
1332
|
} | {
|
|
1207
1333
|
ok: boolean;
|
|
1208
1334
|
items: any[];
|
|
@@ -1210,10 +1336,14 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
1210
1336
|
unresolvedIds: (string | null)[];
|
|
1211
1337
|
failures: any[];
|
|
1212
1338
|
reason?: undefined;
|
|
1339
|
+
allResolved?: undefined;
|
|
1340
|
+
removedRows?: undefined;
|
|
1213
1341
|
}>;
|
|
1214
|
-
reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale, preparedParams, }?: {
|
|
1342
|
+
reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale, preparedParams, liveIds: suppliedLiveIds, liveAnchorKeys: suppliedLiveAnchorKeys, hydrationGeneration, }?: {
|
|
1215
1343
|
pruneStale?: boolean | undefined;
|
|
1216
1344
|
preparedParams?: null | undefined;
|
|
1345
|
+
liveIds?: null | undefined;
|
|
1346
|
+
liveAnchorKeys?: null | undefined;
|
|
1217
1347
|
}) => any;
|
|
1218
1348
|
remapTrackedChangeIdentities: (pairs?: any[], { documentId }?: {}) => void;
|
|
1219
1349
|
}, "getConfig" | "documentsWithConverations" | "getGroupedComments" | "hasOpenTrackedChanges" | "getCommentsByPosition" | "getFloatingComments" | "getFloatingCommentInstances" | "isViewingMode" | "shouldRenderReviewInViewing">, Pick<{
|
|
@@ -1375,7 +1505,7 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
1375
1505
|
retainedTrackedChangeIds?: Iterable<string>;
|
|
1376
1506
|
}) => void;
|
|
1377
1507
|
clearEditorCommentPositions: () => void;
|
|
1378
|
-
handleTrackedChangeUpdate: ({ superdoc, params, broadcastChanges, documentState }: {
|
|
1508
|
+
handleTrackedChangeUpdate: ({ superdoc, params, broadcastChanges, documentState, trackedChangeIdentityIndex, }: {
|
|
1379
1509
|
superdoc: Object;
|
|
1380
1510
|
params: Object;
|
|
1381
1511
|
}) => void;
|
|
@@ -1403,10 +1533,17 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
1403
1533
|
v2CommentsAdapter: import('vue').ShallowRef<null, null>;
|
|
1404
1534
|
setV2CommentsAdapter: (adapter: any) => void;
|
|
1405
1535
|
getV2CommentsAdapter: (superdoc: any) => any;
|
|
1406
|
-
hydrateCommentsFromV2: ({ superdoc, adapter, documentId }?: {
|
|
1407
|
-
|
|
1408
|
-
|
|
1536
|
+
hydrateCommentsFromV2: ({ superdoc, adapter, documentId, trackedChangesListMode, commentIds, isCurrent, signal, hydrationGeneration, }?: {
|
|
1537
|
+
trackedChangesListMode?: string | undefined;
|
|
1538
|
+
}) => Promise<any>;
|
|
1539
|
+
applyReviewSnapshotFromV2: ({ superdoc, commentsAdapter, trackedChangesAdapter, documentId, commentItems, trackedChangeItems, trackedList, sourceCoverageRevision, evaluatedRevision, patch, }?: {}) => any;
|
|
1540
|
+
supersedeV2ReviewHydration: ({ commentsAdapter, trackedChangesAdapter }?: {}) => {
|
|
1541
|
+
commentsGeneration: any;
|
|
1542
|
+
trackedChangesGeneration: any;
|
|
1543
|
+
};
|
|
1544
|
+
reconcileCommentsFromV2: ({ superdoc, adapter, documentId, items, preparedInputs, pruneStale, hydrationGeneration, }?: {
|
|
1409
1545
|
preparedInputs?: null | undefined;
|
|
1546
|
+
pruneStale?: boolean | undefined;
|
|
1410
1547
|
}) => any;
|
|
1411
1548
|
isV2EditorActive: (superdoc: any) => boolean;
|
|
1412
1549
|
replyCommentV2: ({ superdoc, parentCommentId, text }?: {}) => Promise<any>;
|
|
@@ -1416,10 +1553,12 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
1416
1553
|
v2TrackedChangesAdapter: import('vue').ShallowRef<null, null>;
|
|
1417
1554
|
setV2TrackedChangesAdapter: (adapter: any) => void;
|
|
1418
1555
|
getV2TrackedChangesAdapter: (superdoc: any) => any;
|
|
1419
|
-
|
|
1556
|
+
getV2TrackedChangeRowCount: (documentId?: null) => number;
|
|
1557
|
+
hydrateTrackedChangesFromV2: ({ superdoc, adapter, documentId, trackedChangesListMode, refreshReason, blocking, isCurrent, targetIds, reconciliationBatchSize, signal, hydrationGeneration, }?: {
|
|
1420
1558
|
trackedChangesListMode?: string | undefined;
|
|
1559
|
+
reconciliationBatchSize?: number | undefined;
|
|
1421
1560
|
}) => Promise<any>;
|
|
1422
|
-
reconcileTrackedChangeMutationFromV2: ({ superdoc, adapter, documentId, upsertIds, removedIds, }?: {
|
|
1561
|
+
reconcileTrackedChangeMutationFromV2: ({ superdoc, adapter, documentId, upsertIds, removedIds, allResolved, }?: {
|
|
1423
1562
|
upsertIds?: never[] | undefined;
|
|
1424
1563
|
removedIds?: never[] | undefined;
|
|
1425
1564
|
}) => Promise<{
|
|
@@ -1428,14 +1567,27 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
1428
1567
|
items?: undefined;
|
|
1429
1568
|
resolvedIds?: undefined;
|
|
1430
1569
|
unresolvedIds?: undefined;
|
|
1570
|
+
allResolved?: undefined;
|
|
1571
|
+
removedRows?: undefined;
|
|
1431
1572
|
failures?: undefined;
|
|
1432
1573
|
} | {
|
|
1433
1574
|
ok: boolean;
|
|
1434
1575
|
items: never[];
|
|
1435
1576
|
resolvedIds: never[];
|
|
1436
1577
|
unresolvedIds: never[];
|
|
1578
|
+
allResolved: boolean;
|
|
1579
|
+
removedRows: any;
|
|
1437
1580
|
reason?: undefined;
|
|
1438
1581
|
failures?: undefined;
|
|
1582
|
+
} | {
|
|
1583
|
+
ok: boolean;
|
|
1584
|
+
items: never[];
|
|
1585
|
+
resolvedIds: never[];
|
|
1586
|
+
unresolvedIds: never[];
|
|
1587
|
+
reason?: undefined;
|
|
1588
|
+
allResolved?: undefined;
|
|
1589
|
+
removedRows?: undefined;
|
|
1590
|
+
failures?: undefined;
|
|
1439
1591
|
} | {
|
|
1440
1592
|
ok: boolean;
|
|
1441
1593
|
items: any[];
|
|
@@ -1443,13 +1595,17 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
1443
1595
|
unresolvedIds: (string | null)[];
|
|
1444
1596
|
failures: any[];
|
|
1445
1597
|
reason?: undefined;
|
|
1598
|
+
allResolved?: undefined;
|
|
1599
|
+
removedRows?: undefined;
|
|
1446
1600
|
}>;
|
|
1447
|
-
reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale, preparedParams, }?: {
|
|
1601
|
+
reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale, preparedParams, liveIds: suppliedLiveIds, liveAnchorKeys: suppliedLiveAnchorKeys, hydrationGeneration, }?: {
|
|
1448
1602
|
pruneStale?: boolean | undefined;
|
|
1449
1603
|
preparedParams?: null | undefined;
|
|
1604
|
+
liveIds?: null | undefined;
|
|
1605
|
+
liveAnchorKeys?: null | undefined;
|
|
1450
1606
|
}) => any;
|
|
1451
1607
|
remapTrackedChangeIdentities: (pairs?: any[], { documentId }?: {}) => void;
|
|
1452
|
-
}, "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" | "reconcileCommentsFromV2" | "isV2EditorActive" | "replyCommentV2" | "editCommentV2" | "resolveCommentV2" | "reopenCommentV2" | "setV2TrackedChangesAdapter" | "getV2TrackedChangesAdapter" | "hydrateTrackedChangesFromV2" | "reconcileTrackedChangeMutationFromV2" | "reconcileTrackedChangesFromV2" | "remapTrackedChangeIdentities">>;
|
|
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">>;
|
|
1453
1609
|
documents: import('vue').Ref<any[], any[]>;
|
|
1454
1610
|
documentBounds: import('vue').Ref<never[], never[]>;
|
|
1455
1611
|
pages: {};
|
|
@@ -1660,7 +1816,7 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
1660
1816
|
retainedTrackedChangeIds?: Iterable<string>;
|
|
1661
1817
|
}) => void;
|
|
1662
1818
|
clearEditorCommentPositions: () => void;
|
|
1663
|
-
handleTrackedChangeUpdate: ({ superdoc, params, broadcastChanges, documentState }: {
|
|
1819
|
+
handleTrackedChangeUpdate: ({ superdoc, params, broadcastChanges, documentState, trackedChangeIdentityIndex, }: {
|
|
1664
1820
|
superdoc: Object;
|
|
1665
1821
|
params: Object;
|
|
1666
1822
|
}) => void;
|
|
@@ -1688,10 +1844,17 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
1688
1844
|
v2CommentsAdapter: import('vue').ShallowRef<null, null>;
|
|
1689
1845
|
setV2CommentsAdapter: (adapter: any) => void;
|
|
1690
1846
|
getV2CommentsAdapter: (superdoc: any) => any;
|
|
1691
|
-
hydrateCommentsFromV2: ({ superdoc, adapter, documentId }?: {
|
|
1692
|
-
|
|
1693
|
-
|
|
1847
|
+
hydrateCommentsFromV2: ({ superdoc, adapter, documentId, trackedChangesListMode, commentIds, isCurrent, signal, hydrationGeneration, }?: {
|
|
1848
|
+
trackedChangesListMode?: string | undefined;
|
|
1849
|
+
}) => Promise<any>;
|
|
1850
|
+
applyReviewSnapshotFromV2: ({ superdoc, commentsAdapter, trackedChangesAdapter, documentId, commentItems, trackedChangeItems, trackedList, sourceCoverageRevision, evaluatedRevision, patch, }?: {}) => any;
|
|
1851
|
+
supersedeV2ReviewHydration: ({ commentsAdapter, trackedChangesAdapter }?: {}) => {
|
|
1852
|
+
commentsGeneration: any;
|
|
1853
|
+
trackedChangesGeneration: any;
|
|
1854
|
+
};
|
|
1855
|
+
reconcileCommentsFromV2: ({ superdoc, adapter, documentId, items, preparedInputs, pruneStale, hydrationGeneration, }?: {
|
|
1694
1856
|
preparedInputs?: null | undefined;
|
|
1857
|
+
pruneStale?: boolean | undefined;
|
|
1695
1858
|
}) => any;
|
|
1696
1859
|
isV2EditorActive: (superdoc: any) => boolean;
|
|
1697
1860
|
replyCommentV2: ({ superdoc, parentCommentId, text }?: {}) => Promise<any>;
|
|
@@ -1701,10 +1864,12 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
1701
1864
|
v2TrackedChangesAdapter: import('vue').ShallowRef<null, null>;
|
|
1702
1865
|
setV2TrackedChangesAdapter: (adapter: any) => void;
|
|
1703
1866
|
getV2TrackedChangesAdapter: (superdoc: any) => any;
|
|
1704
|
-
|
|
1867
|
+
getV2TrackedChangeRowCount: (documentId?: null) => number;
|
|
1868
|
+
hydrateTrackedChangesFromV2: ({ superdoc, adapter, documentId, trackedChangesListMode, refreshReason, blocking, isCurrent, targetIds, reconciliationBatchSize, signal, hydrationGeneration, }?: {
|
|
1705
1869
|
trackedChangesListMode?: string | undefined;
|
|
1870
|
+
reconciliationBatchSize?: number | undefined;
|
|
1706
1871
|
}) => Promise<any>;
|
|
1707
|
-
reconcileTrackedChangeMutationFromV2: ({ superdoc, adapter, documentId, upsertIds, removedIds, }?: {
|
|
1872
|
+
reconcileTrackedChangeMutationFromV2: ({ superdoc, adapter, documentId, upsertIds, removedIds, allResolved, }?: {
|
|
1708
1873
|
upsertIds?: never[] | undefined;
|
|
1709
1874
|
removedIds?: never[] | undefined;
|
|
1710
1875
|
}) => Promise<{
|
|
@@ -1713,14 +1878,27 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
1713
1878
|
items?: undefined;
|
|
1714
1879
|
resolvedIds?: undefined;
|
|
1715
1880
|
unresolvedIds?: undefined;
|
|
1881
|
+
allResolved?: undefined;
|
|
1882
|
+
removedRows?: undefined;
|
|
1716
1883
|
failures?: undefined;
|
|
1717
1884
|
} | {
|
|
1718
1885
|
ok: boolean;
|
|
1719
1886
|
items: never[];
|
|
1720
1887
|
resolvedIds: never[];
|
|
1721
1888
|
unresolvedIds: never[];
|
|
1889
|
+
allResolved: boolean;
|
|
1890
|
+
removedRows: any;
|
|
1722
1891
|
reason?: undefined;
|
|
1723
1892
|
failures?: undefined;
|
|
1893
|
+
} | {
|
|
1894
|
+
ok: boolean;
|
|
1895
|
+
items: never[];
|
|
1896
|
+
resolvedIds: never[];
|
|
1897
|
+
unresolvedIds: never[];
|
|
1898
|
+
reason?: undefined;
|
|
1899
|
+
allResolved?: undefined;
|
|
1900
|
+
removedRows?: undefined;
|
|
1901
|
+
failures?: undefined;
|
|
1724
1902
|
} | {
|
|
1725
1903
|
ok: boolean;
|
|
1726
1904
|
items: any[];
|
|
@@ -1728,10 +1906,14 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
1728
1906
|
unresolvedIds: (string | null)[];
|
|
1729
1907
|
failures: any[];
|
|
1730
1908
|
reason?: undefined;
|
|
1909
|
+
allResolved?: undefined;
|
|
1910
|
+
removedRows?: undefined;
|
|
1731
1911
|
}>;
|
|
1732
|
-
reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale, preparedParams, }?: {
|
|
1912
|
+
reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale, preparedParams, liveIds: suppliedLiveIds, liveAnchorKeys: suppliedLiveAnchorKeys, hydrationGeneration, }?: {
|
|
1733
1913
|
pruneStale?: boolean | undefined;
|
|
1734
1914
|
preparedParams?: null | undefined;
|
|
1915
|
+
liveIds?: null | undefined;
|
|
1916
|
+
liveAnchorKeys?: null | undefined;
|
|
1735
1917
|
}) => any;
|
|
1736
1918
|
remapTrackedChangeIdentities: (pairs?: any[], { documentId }?: {}) => void;
|
|
1737
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<{
|
|
@@ -1893,7 +2075,7 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
1893
2075
|
retainedTrackedChangeIds?: Iterable<string>;
|
|
1894
2076
|
}) => void;
|
|
1895
2077
|
clearEditorCommentPositions: () => void;
|
|
1896
|
-
handleTrackedChangeUpdate: ({ superdoc, params, broadcastChanges, documentState }: {
|
|
2078
|
+
handleTrackedChangeUpdate: ({ superdoc, params, broadcastChanges, documentState, trackedChangeIdentityIndex, }: {
|
|
1897
2079
|
superdoc: Object;
|
|
1898
2080
|
params: Object;
|
|
1899
2081
|
}) => void;
|
|
@@ -1921,10 +2103,17 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
1921
2103
|
v2CommentsAdapter: import('vue').ShallowRef<null, null>;
|
|
1922
2104
|
setV2CommentsAdapter: (adapter: any) => void;
|
|
1923
2105
|
getV2CommentsAdapter: (superdoc: any) => any;
|
|
1924
|
-
hydrateCommentsFromV2: ({ superdoc, adapter, documentId }?: {
|
|
1925
|
-
|
|
1926
|
-
|
|
2106
|
+
hydrateCommentsFromV2: ({ superdoc, adapter, documentId, trackedChangesListMode, commentIds, isCurrent, signal, hydrationGeneration, }?: {
|
|
2107
|
+
trackedChangesListMode?: string | undefined;
|
|
2108
|
+
}) => Promise<any>;
|
|
2109
|
+
applyReviewSnapshotFromV2: ({ superdoc, commentsAdapter, trackedChangesAdapter, documentId, commentItems, trackedChangeItems, trackedList, sourceCoverageRevision, evaluatedRevision, patch, }?: {}) => any;
|
|
2110
|
+
supersedeV2ReviewHydration: ({ commentsAdapter, trackedChangesAdapter }?: {}) => {
|
|
2111
|
+
commentsGeneration: any;
|
|
2112
|
+
trackedChangesGeneration: any;
|
|
2113
|
+
};
|
|
2114
|
+
reconcileCommentsFromV2: ({ superdoc, adapter, documentId, items, preparedInputs, pruneStale, hydrationGeneration, }?: {
|
|
1927
2115
|
preparedInputs?: null | undefined;
|
|
2116
|
+
pruneStale?: boolean | undefined;
|
|
1928
2117
|
}) => any;
|
|
1929
2118
|
isV2EditorActive: (superdoc: any) => boolean;
|
|
1930
2119
|
replyCommentV2: ({ superdoc, parentCommentId, text }?: {}) => Promise<any>;
|
|
@@ -1934,10 +2123,12 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
1934
2123
|
v2TrackedChangesAdapter: import('vue').ShallowRef<null, null>;
|
|
1935
2124
|
setV2TrackedChangesAdapter: (adapter: any) => void;
|
|
1936
2125
|
getV2TrackedChangesAdapter: (superdoc: any) => any;
|
|
1937
|
-
|
|
2126
|
+
getV2TrackedChangeRowCount: (documentId?: null) => number;
|
|
2127
|
+
hydrateTrackedChangesFromV2: ({ superdoc, adapter, documentId, trackedChangesListMode, refreshReason, blocking, isCurrent, targetIds, reconciliationBatchSize, signal, hydrationGeneration, }?: {
|
|
1938
2128
|
trackedChangesListMode?: string | undefined;
|
|
2129
|
+
reconciliationBatchSize?: number | undefined;
|
|
1939
2130
|
}) => Promise<any>;
|
|
1940
|
-
reconcileTrackedChangeMutationFromV2: ({ superdoc, adapter, documentId, upsertIds, removedIds, }?: {
|
|
2131
|
+
reconcileTrackedChangeMutationFromV2: ({ superdoc, adapter, documentId, upsertIds, removedIds, allResolved, }?: {
|
|
1941
2132
|
upsertIds?: never[] | undefined;
|
|
1942
2133
|
removedIds?: never[] | undefined;
|
|
1943
2134
|
}) => Promise<{
|
|
@@ -1946,6 +2137,17 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
1946
2137
|
items?: undefined;
|
|
1947
2138
|
resolvedIds?: undefined;
|
|
1948
2139
|
unresolvedIds?: undefined;
|
|
2140
|
+
allResolved?: undefined;
|
|
2141
|
+
removedRows?: undefined;
|
|
2142
|
+
failures?: undefined;
|
|
2143
|
+
} | {
|
|
2144
|
+
ok: boolean;
|
|
2145
|
+
items: never[];
|
|
2146
|
+
resolvedIds: never[];
|
|
2147
|
+
unresolvedIds: never[];
|
|
2148
|
+
allResolved: boolean;
|
|
2149
|
+
removedRows: any;
|
|
2150
|
+
reason?: undefined;
|
|
1949
2151
|
failures?: undefined;
|
|
1950
2152
|
} | {
|
|
1951
2153
|
ok: boolean;
|
|
@@ -1953,6 +2155,8 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
1953
2155
|
resolvedIds: never[];
|
|
1954
2156
|
unresolvedIds: never[];
|
|
1955
2157
|
reason?: undefined;
|
|
2158
|
+
allResolved?: undefined;
|
|
2159
|
+
removedRows?: undefined;
|
|
1956
2160
|
failures?: undefined;
|
|
1957
2161
|
} | {
|
|
1958
2162
|
ok: boolean;
|
|
@@ -1961,10 +2165,14 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
1961
2165
|
unresolvedIds: (string | null)[];
|
|
1962
2166
|
failures: any[];
|
|
1963
2167
|
reason?: undefined;
|
|
2168
|
+
allResolved?: undefined;
|
|
2169
|
+
removedRows?: undefined;
|
|
1964
2170
|
}>;
|
|
1965
|
-
reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale, preparedParams, }?: {
|
|
2171
|
+
reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale, preparedParams, liveIds: suppliedLiveIds, liveAnchorKeys: suppliedLiveAnchorKeys, hydrationGeneration, }?: {
|
|
1966
2172
|
pruneStale?: boolean | undefined;
|
|
1967
2173
|
preparedParams?: null | undefined;
|
|
2174
|
+
liveIds?: null | undefined;
|
|
2175
|
+
liveAnchorKeys?: null | undefined;
|
|
1968
2176
|
}) => any;
|
|
1969
2177
|
remapTrackedChangeIdentities: (pairs?: any[], { documentId }?: {}) => void;
|
|
1970
2178
|
}, "getConfig" | "documentsWithConverations" | "getGroupedComments" | "hasOpenTrackedChanges" | "getCommentsByPosition" | "getFloatingComments" | "getFloatingCommentInstances" | "isViewingMode" | "shouldRenderReviewInViewing">, Pick<{
|
|
@@ -2126,7 +2334,7 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
2126
2334
|
retainedTrackedChangeIds?: Iterable<string>;
|
|
2127
2335
|
}) => void;
|
|
2128
2336
|
clearEditorCommentPositions: () => void;
|
|
2129
|
-
handleTrackedChangeUpdate: ({ superdoc, params, broadcastChanges, documentState }: {
|
|
2337
|
+
handleTrackedChangeUpdate: ({ superdoc, params, broadcastChanges, documentState, trackedChangeIdentityIndex, }: {
|
|
2130
2338
|
superdoc: Object;
|
|
2131
2339
|
params: Object;
|
|
2132
2340
|
}) => void;
|
|
@@ -2154,10 +2362,17 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
2154
2362
|
v2CommentsAdapter: import('vue').ShallowRef<null, null>;
|
|
2155
2363
|
setV2CommentsAdapter: (adapter: any) => void;
|
|
2156
2364
|
getV2CommentsAdapter: (superdoc: any) => any;
|
|
2157
|
-
hydrateCommentsFromV2: ({ superdoc, adapter, documentId }?: {
|
|
2158
|
-
|
|
2159
|
-
|
|
2365
|
+
hydrateCommentsFromV2: ({ superdoc, adapter, documentId, trackedChangesListMode, commentIds, isCurrent, signal, hydrationGeneration, }?: {
|
|
2366
|
+
trackedChangesListMode?: string | undefined;
|
|
2367
|
+
}) => Promise<any>;
|
|
2368
|
+
applyReviewSnapshotFromV2: ({ superdoc, commentsAdapter, trackedChangesAdapter, documentId, commentItems, trackedChangeItems, trackedList, sourceCoverageRevision, evaluatedRevision, patch, }?: {}) => any;
|
|
2369
|
+
supersedeV2ReviewHydration: ({ commentsAdapter, trackedChangesAdapter }?: {}) => {
|
|
2370
|
+
commentsGeneration: any;
|
|
2371
|
+
trackedChangesGeneration: any;
|
|
2372
|
+
};
|
|
2373
|
+
reconcileCommentsFromV2: ({ superdoc, adapter, documentId, items, preparedInputs, pruneStale, hydrationGeneration, }?: {
|
|
2160
2374
|
preparedInputs?: null | undefined;
|
|
2375
|
+
pruneStale?: boolean | undefined;
|
|
2161
2376
|
}) => any;
|
|
2162
2377
|
isV2EditorActive: (superdoc: any) => boolean;
|
|
2163
2378
|
replyCommentV2: ({ superdoc, parentCommentId, text }?: {}) => Promise<any>;
|
|
@@ -2167,10 +2382,12 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
2167
2382
|
v2TrackedChangesAdapter: import('vue').ShallowRef<null, null>;
|
|
2168
2383
|
setV2TrackedChangesAdapter: (adapter: any) => void;
|
|
2169
2384
|
getV2TrackedChangesAdapter: (superdoc: any) => any;
|
|
2170
|
-
|
|
2385
|
+
getV2TrackedChangeRowCount: (documentId?: null) => number;
|
|
2386
|
+
hydrateTrackedChangesFromV2: ({ superdoc, adapter, documentId, trackedChangesListMode, refreshReason, blocking, isCurrent, targetIds, reconciliationBatchSize, signal, hydrationGeneration, }?: {
|
|
2171
2387
|
trackedChangesListMode?: string | undefined;
|
|
2388
|
+
reconciliationBatchSize?: number | undefined;
|
|
2172
2389
|
}) => Promise<any>;
|
|
2173
|
-
reconcileTrackedChangeMutationFromV2: ({ superdoc, adapter, documentId, upsertIds, removedIds, }?: {
|
|
2390
|
+
reconcileTrackedChangeMutationFromV2: ({ superdoc, adapter, documentId, upsertIds, removedIds, allResolved, }?: {
|
|
2174
2391
|
upsertIds?: never[] | undefined;
|
|
2175
2392
|
removedIds?: never[] | undefined;
|
|
2176
2393
|
}) => Promise<{
|
|
@@ -2179,6 +2396,17 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
2179
2396
|
items?: undefined;
|
|
2180
2397
|
resolvedIds?: undefined;
|
|
2181
2398
|
unresolvedIds?: undefined;
|
|
2399
|
+
allResolved?: undefined;
|
|
2400
|
+
removedRows?: undefined;
|
|
2401
|
+
failures?: undefined;
|
|
2402
|
+
} | {
|
|
2403
|
+
ok: boolean;
|
|
2404
|
+
items: never[];
|
|
2405
|
+
resolvedIds: never[];
|
|
2406
|
+
unresolvedIds: never[];
|
|
2407
|
+
allResolved: boolean;
|
|
2408
|
+
removedRows: any;
|
|
2409
|
+
reason?: undefined;
|
|
2182
2410
|
failures?: undefined;
|
|
2183
2411
|
} | {
|
|
2184
2412
|
ok: boolean;
|
|
@@ -2186,6 +2414,8 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
2186
2414
|
resolvedIds: never[];
|
|
2187
2415
|
unresolvedIds: never[];
|
|
2188
2416
|
reason?: undefined;
|
|
2417
|
+
allResolved?: undefined;
|
|
2418
|
+
removedRows?: undefined;
|
|
2189
2419
|
failures?: undefined;
|
|
2190
2420
|
} | {
|
|
2191
2421
|
ok: boolean;
|
|
@@ -2194,13 +2424,17 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
2194
2424
|
unresolvedIds: (string | null)[];
|
|
2195
2425
|
failures: any[];
|
|
2196
2426
|
reason?: undefined;
|
|
2427
|
+
allResolved?: undefined;
|
|
2428
|
+
removedRows?: undefined;
|
|
2197
2429
|
}>;
|
|
2198
|
-
reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale, preparedParams, }?: {
|
|
2430
|
+
reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale, preparedParams, liveIds: suppliedLiveIds, liveAnchorKeys: suppliedLiveAnchorKeys, hydrationGeneration, }?: {
|
|
2199
2431
|
pruneStale?: boolean | undefined;
|
|
2200
2432
|
preparedParams?: null | undefined;
|
|
2433
|
+
liveIds?: null | undefined;
|
|
2434
|
+
liveAnchorKeys?: null | undefined;
|
|
2201
2435
|
}) => any;
|
|
2202
2436
|
remapTrackedChangeIdentities: (pairs?: any[], { documentId }?: {}) => void;
|
|
2203
|
-
}, "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" | "reconcileCommentsFromV2" | "isV2EditorActive" | "replyCommentV2" | "editCommentV2" | "resolveCommentV2" | "reopenCommentV2" | "setV2TrackedChangesAdapter" | "getV2TrackedChangesAdapter" | "hydrateTrackedChangesFromV2" | "reconcileTrackedChangeMutationFromV2" | "reconcileTrackedChangesFromV2" | "remapTrackedChangeIdentities">>;
|
|
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">>;
|
|
2204
2438
|
documents: import('vue').Ref<any[], any[]>;
|
|
2205
2439
|
documentBounds: import('vue').Ref<never[], never[]>;
|
|
2206
2440
|
pages: {};
|