superdoc 2.4.0-next.3 → 2.4.0-next.30
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/AGENTS.md +13 -13
- package/README.md +19 -22
- 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-Dli6Wq70.es.js → create-super-doc-ui-CmOSA_lN.es.js} +2115 -1146
- package/dist/chunks/{create-super-doc-ui-BHMQEL2y.cjs → create-super-doc-ui-CqGmoMMA.cjs} +1925 -1190
- package/dist/chunks/{eventemitter3-Bt2s0X0a.es.js → eventemitter3-CMOjDs74.es.js} +124 -16
- package/dist/chunks/{eventemitter3-DqY4aSMf.cjs → eventemitter3-D38u8ta_.cjs} +125 -16
- package/dist/chunks/jszip-RC64TPzL.cjs +4758 -0
- package/dist/chunks/jszip-VxCFV9YS.es.js +4717 -0
- package/dist/chunks/{rolldown-runtime-D7PMmH3s.es.js → rolldown-runtime-B5TtN50X.es.js} +13 -4
- package/dist/chunks/{rolldown-runtime-1Y-nnZJ3.cjs → rolldown-runtime-DtsSbkrh.cjs} +12 -3
- 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/citations/citations.types.d.ts +9 -0
- package/dist/document-api/src/comments/comments.types.d.ts +7 -0
- package/dist/document-api/src/types/receipt.d.ts +9 -5
- 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 +83 -2
- package/dist/layout-engine/contracts/src/inline-box.d.ts +19 -0
- package/dist/layout-engine/contracts/src/paragraph-visible-text.d.ts +19 -0
- package/dist/layout-engine/layout-bridge/src/hydrateTableTextboxMeasures.d.ts +9 -0
- package/dist/layout-engine/layout-bridge/src/incrementalLayout.d.ts +10 -10
- package/dist/layout-engine/layout-bridge/src/index.d.ts +4 -2
- package/dist/layout-engine/layout-bridge/src/inline-box-key.d.ts +3 -0
- package/dist/layout-engine/layout-bridge/src/layoutHeaderFooter.d.ts +8 -3
- package/dist/layout-engine/layout-bridge/src/run-visual-marks.d.ts +2 -0
- package/dist/layout-engine/layout-bridge/src/text-measurement.d.ts +0 -12
- package/dist/layout-engine/layout-engine/src/anchors.d.ts +4 -0
- package/dist/layout-engine/layout-engine/src/execution.d.ts +21 -0
- package/dist/layout-engine/layout-engine/src/floating-table-anchor.d.ts +2 -0
- package/dist/layout-engine/layout-engine/src/index.d.ts +10 -7
- package/dist/layout-engine/layout-engine/src/pageNumbering.d.ts +3 -41
- package/dist/layout-engine/layout-engine/src/resolvePageTokens.d.ts +2 -0
- package/dist/layout-engine/layout-engine/src/section-props.d.ts +5 -0
- package/dist/layout-engine/painters/dom/src/runs/inline-box.d.ts +8 -0
- package/dist/layout-engine/painters/dom/src/runs/text-run.d.ts +6 -4
- package/dist/layout-engine/style-engine/src/ooxml/word-style-model/parse-theme.d.ts +6 -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 +174 -138
- package/dist/style.layered.css +174 -138
- package/dist/superdoc/src/components/CommentsLayer/CommentDialog.vue.d.ts +2 -0
- package/dist/superdoc/src/components/CommentsLayer/commentsList/ReviewDirectoryListItem.vue.d.ts +16 -0
- package/dist/superdoc/src/components/CommentsLayer/commentsList/commentsList.vue.d.ts +3 -1
- package/dist/superdoc/src/components/CommentsLayer/commentsList/super-comments-list.d.ts +12 -0
- package/dist/superdoc/src/core/SuperDoc.d.ts +10 -7
- package/dist/superdoc/src/core/extensions/index.d.ts +1 -1
- package/dist/superdoc/src/core/extensions/types.d.ts +63 -5
- package/dist/superdoc/src/core/types/index.d.ts +535 -42
- package/dist/superdoc/src/core/v2-integration/v2-integration.d.ts +3 -3
- package/dist/superdoc/src/helpers/comment-small-screen.d.ts +10 -0
- package/dist/superdoc/src/helpers/v2-review-mutation-impact.d.ts +3 -5
- 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 +28 -0
- package/dist/superdoc/src/public/index.d.ts +14 -0
- package/dist/superdoc/src/public/ui/types.d.ts +30 -6
- package/dist/superdoc/src/stores/comments-store.d.ts +96 -75
- package/dist/superdoc/src/stores/superdoc-store.d.ts +288 -225
- package/dist/superdoc.cjs +6800 -1989
- package/dist/superdoc.es.js +6673 -1862
- 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
- package/dist/superdoc/src/helpers/v2-remote-review-hydration.d.ts +0 -12
- package/dist/superdoc/src/helpers/v2-review-mutation-reconciler.d.ts +0 -19
|
@@ -25,7 +25,10 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
25
25
|
pendingComment: import('vue').Ref<null, null>;
|
|
26
26
|
currentCommentText: import('vue').Ref<string, string>;
|
|
27
27
|
commentsList: import('vue').Ref<never[], never[]>;
|
|
28
|
+
reviewDirectoryList: import('vue').ShallowRef<never[], never[]>;
|
|
28
29
|
isCommentsListVisible: import('vue').Ref<boolean, boolean>;
|
|
30
|
+
isReviewDirectoryActive: import('vue').Ref<boolean, boolean>;
|
|
31
|
+
isReviewDirectoryLoading: import('vue').Ref<boolean, boolean>;
|
|
29
32
|
generalCommentIds: import('vue').Ref<never[], never[]>;
|
|
30
33
|
editorCommentIds: import('vue').Ref<never[], never[]>;
|
|
31
34
|
commentsParentElement: import('vue').Ref<null, null>;
|
|
@@ -51,6 +54,10 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
51
54
|
parentComments: any[];
|
|
52
55
|
resolvedComments: any[];
|
|
53
56
|
}>;
|
|
57
|
+
getGroupedReviewDirectory: import('vue').ComputedRef<{
|
|
58
|
+
parentComments: any[];
|
|
59
|
+
resolvedComments: any[];
|
|
60
|
+
}>;
|
|
54
61
|
hasOpenTrackedChanges: import('vue').ComputedRef<boolean>;
|
|
55
62
|
getCommentsByPosition: import('vue').ComputedRef<{
|
|
56
63
|
parentComments: any[];
|
|
@@ -147,6 +154,19 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
147
154
|
removePendingComment: (superdoc: any) => void;
|
|
148
155
|
cancelImportedTrackedChangeBootstrap: (documentId: string | null | undefined) => number;
|
|
149
156
|
removeCommentsForDocument: (documentId: string | null | undefined) => void;
|
|
157
|
+
setReviewDirectoryFromV2: ({ superdoc, commentItems, trackedChangeItems }?: {
|
|
158
|
+
commentItems?: never[] | undefined;
|
|
159
|
+
trackedChangeItems?: never[] | undefined;
|
|
160
|
+
}) => {
|
|
161
|
+
ok: boolean;
|
|
162
|
+
reason: string;
|
|
163
|
+
count?: undefined;
|
|
164
|
+
} | {
|
|
165
|
+
ok: boolean;
|
|
166
|
+
count: number;
|
|
167
|
+
reason?: undefined;
|
|
168
|
+
};
|
|
169
|
+
clearReviewDirectory: () => void;
|
|
150
170
|
processLoadedDocxComments: ({ superdoc, editor, comments, documentId, replacedFile }: {
|
|
151
171
|
comments: any[];
|
|
152
172
|
documentId: string;
|
|
@@ -186,14 +206,10 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
186
206
|
v2CommentsAdapter: import('vue').ShallowRef<null, null>;
|
|
187
207
|
setV2CommentsAdapter: (adapter: any) => void;
|
|
188
208
|
getV2CommentsAdapter: (superdoc: any) => any;
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
supersedeV2ReviewHydration: ({ commentsAdapter, trackedChangesAdapter }?: {}) => {
|
|
192
|
-
commentsGeneration: any;
|
|
193
|
-
trackedChangesGeneration: any;
|
|
194
|
-
};
|
|
195
|
-
reconcileCommentsFromV2: ({ superdoc, adapter, documentId, items, preparedInputs, hydrationGeneration, }?: {
|
|
209
|
+
applyReviewWindowFromV2: ({ superdoc, commentsAdapter, trackedChangesAdapter, documentId, commentItems, trackedChangeItems, requestedCommentIds, requestedTrackedChangeIds, unresolvedCommentIds, trackedList, sourceCoverageRevision, evaluatedRevision, patch, }?: {}) => any;
|
|
210
|
+
reconcileCommentsFromV2: ({ superdoc, adapter, documentId, items, preparedInputs, pruneStale, hydrationGeneration, }?: {
|
|
196
211
|
preparedInputs?: null | undefined;
|
|
212
|
+
pruneStale?: boolean | undefined;
|
|
197
213
|
}) => any;
|
|
198
214
|
isV2EditorActive: (superdoc: any) => boolean;
|
|
199
215
|
replyCommentV2: ({ superdoc, parentCommentId, text }?: {}) => Promise<any>;
|
|
@@ -204,12 +220,10 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
204
220
|
setV2TrackedChangesAdapter: (adapter: any) => void;
|
|
205
221
|
getV2TrackedChangesAdapter: (superdoc: any) => any;
|
|
206
222
|
getV2TrackedChangeRowCount: (documentId?: null) => number;
|
|
207
|
-
|
|
208
|
-
trackedChangesListMode?: string | undefined;
|
|
209
|
-
}) => Promise<any>;
|
|
210
|
-
reconcileTrackedChangeMutationFromV2: ({ superdoc, adapter, documentId, upsertIds, removedIds, allResolved, }?: {
|
|
223
|
+
reconcileTrackedChangeMutationFromV2: ({ superdoc, adapter, documentId, upsertIds, removedIds, remappedPairs, allResolved, }?: {
|
|
211
224
|
upsertIds?: never[] | undefined;
|
|
212
225
|
removedIds?: never[] | undefined;
|
|
226
|
+
remappedPairs?: never[] | undefined;
|
|
213
227
|
}) => Promise<{
|
|
214
228
|
ok: boolean;
|
|
215
229
|
reason: string;
|
|
@@ -218,7 +232,7 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
218
232
|
unresolvedIds?: undefined;
|
|
219
233
|
allResolved?: undefined;
|
|
220
234
|
removedRows?: undefined;
|
|
221
|
-
|
|
235
|
+
removedIds?: undefined;
|
|
222
236
|
} | {
|
|
223
237
|
ok: boolean;
|
|
224
238
|
items: never[];
|
|
@@ -227,32 +241,25 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
227
241
|
allResolved: boolean;
|
|
228
242
|
removedRows: any;
|
|
229
243
|
reason?: undefined;
|
|
230
|
-
|
|
244
|
+
removedIds?: undefined;
|
|
231
245
|
} | {
|
|
232
246
|
ok: boolean;
|
|
233
247
|
items: never[];
|
|
234
248
|
resolvedIds: never[];
|
|
235
|
-
unresolvedIds: never[];
|
|
236
|
-
reason?: undefined;
|
|
237
|
-
allResolved?: undefined;
|
|
238
|
-
removedRows?: undefined;
|
|
239
|
-
failures?: undefined;
|
|
240
|
-
} | {
|
|
241
|
-
ok: boolean;
|
|
242
|
-
items: any[];
|
|
243
|
-
resolvedIds: (string | null)[];
|
|
244
249
|
unresolvedIds: (string | null)[];
|
|
245
|
-
|
|
250
|
+
removedIds: (string | null)[];
|
|
246
251
|
reason?: undefined;
|
|
247
252
|
allResolved?: undefined;
|
|
248
253
|
removedRows?: undefined;
|
|
249
254
|
}>;
|
|
250
|
-
reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale, preparedParams, hydrationGeneration, }?: {
|
|
255
|
+
reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale, preparedParams, liveIds: suppliedLiveIds, liveAnchorKeys: suppliedLiveAnchorKeys, hydrationGeneration, }?: {
|
|
251
256
|
pruneStale?: boolean | undefined;
|
|
252
257
|
preparedParams?: null | undefined;
|
|
258
|
+
liveIds?: null | undefined;
|
|
259
|
+
liveAnchorKeys?: null | undefined;
|
|
253
260
|
}) => any;
|
|
254
261
|
remapTrackedChangeIdentities: (pairs?: any[], { documentId }?: {}) => void;
|
|
255
|
-
}, "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<{
|
|
262
|
+
}, "suppressInternalExternal" | "activeComment" | "activeFloatingCommentInstanceId" | "floatingCommentsOffset" | "pendingComment" | "currentCommentText" | "isDebugging" | "editingCommentId" | "editorCommentPositions" | "isCommentHighlighted" | "v2CommentsAdapter" | "COMMENT_EVENTS" | "hasInitializedComments" | "hasSyncedCollaborationComments" | "commentDialogs" | "overlappingComments" | "overlappedIds" | "commentsList" | "reviewDirectoryList" | "isCommentsListVisible" | "isReviewDirectoryActive" | "isReviewDirectoryLoading" | "generalCommentIds" | "editorCommentIds" | "commentsParentElement" | "hasInitializedLocations" | "sortedConversations" | "visibleConversations" | "skipSelectionUpdate" | "isFloatingCommentsReady" | "instantSidebarAlignmentTargetY" | "instantSidebarAlignmentThreadId" | "instantSidebarAlignmentInstanceId" | "viewingVisibility" | "v2TrackedChangesAdapter">, Pick<{
|
|
256
263
|
COMMENT_EVENTS: {
|
|
257
264
|
readonly RESOLVED: "resolved";
|
|
258
265
|
readonly NEW: "new";
|
|
@@ -278,7 +285,10 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
278
285
|
pendingComment: import('vue').Ref<null, null>;
|
|
279
286
|
currentCommentText: import('vue').Ref<string, string>;
|
|
280
287
|
commentsList: import('vue').Ref<never[], never[]>;
|
|
288
|
+
reviewDirectoryList: import('vue').ShallowRef<never[], never[]>;
|
|
281
289
|
isCommentsListVisible: import('vue').Ref<boolean, boolean>;
|
|
290
|
+
isReviewDirectoryActive: import('vue').Ref<boolean, boolean>;
|
|
291
|
+
isReviewDirectoryLoading: import('vue').Ref<boolean, boolean>;
|
|
282
292
|
generalCommentIds: import('vue').Ref<never[], never[]>;
|
|
283
293
|
editorCommentIds: import('vue').Ref<never[], never[]>;
|
|
284
294
|
commentsParentElement: import('vue').Ref<null, null>;
|
|
@@ -304,6 +314,10 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
304
314
|
parentComments: any[];
|
|
305
315
|
resolvedComments: any[];
|
|
306
316
|
}>;
|
|
317
|
+
getGroupedReviewDirectory: import('vue').ComputedRef<{
|
|
318
|
+
parentComments: any[];
|
|
319
|
+
resolvedComments: any[];
|
|
320
|
+
}>;
|
|
307
321
|
hasOpenTrackedChanges: import('vue').ComputedRef<boolean>;
|
|
308
322
|
getCommentsByPosition: import('vue').ComputedRef<{
|
|
309
323
|
parentComments: any[];
|
|
@@ -400,6 +414,19 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
400
414
|
removePendingComment: (superdoc: any) => void;
|
|
401
415
|
cancelImportedTrackedChangeBootstrap: (documentId: string | null | undefined) => number;
|
|
402
416
|
removeCommentsForDocument: (documentId: string | null | undefined) => void;
|
|
417
|
+
setReviewDirectoryFromV2: ({ superdoc, commentItems, trackedChangeItems }?: {
|
|
418
|
+
commentItems?: never[] | undefined;
|
|
419
|
+
trackedChangeItems?: never[] | undefined;
|
|
420
|
+
}) => {
|
|
421
|
+
ok: boolean;
|
|
422
|
+
reason: string;
|
|
423
|
+
count?: undefined;
|
|
424
|
+
} | {
|
|
425
|
+
ok: boolean;
|
|
426
|
+
count: number;
|
|
427
|
+
reason?: undefined;
|
|
428
|
+
};
|
|
429
|
+
clearReviewDirectory: () => void;
|
|
403
430
|
processLoadedDocxComments: ({ superdoc, editor, comments, documentId, replacedFile }: {
|
|
404
431
|
comments: any[];
|
|
405
432
|
documentId: string;
|
|
@@ -439,14 +466,10 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
439
466
|
v2CommentsAdapter: import('vue').ShallowRef<null, null>;
|
|
440
467
|
setV2CommentsAdapter: (adapter: any) => void;
|
|
441
468
|
getV2CommentsAdapter: (superdoc: any) => any;
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
supersedeV2ReviewHydration: ({ commentsAdapter, trackedChangesAdapter }?: {}) => {
|
|
445
|
-
commentsGeneration: any;
|
|
446
|
-
trackedChangesGeneration: any;
|
|
447
|
-
};
|
|
448
|
-
reconcileCommentsFromV2: ({ superdoc, adapter, documentId, items, preparedInputs, hydrationGeneration, }?: {
|
|
469
|
+
applyReviewWindowFromV2: ({ superdoc, commentsAdapter, trackedChangesAdapter, documentId, commentItems, trackedChangeItems, requestedCommentIds, requestedTrackedChangeIds, unresolvedCommentIds, trackedList, sourceCoverageRevision, evaluatedRevision, patch, }?: {}) => any;
|
|
470
|
+
reconcileCommentsFromV2: ({ superdoc, adapter, documentId, items, preparedInputs, pruneStale, hydrationGeneration, }?: {
|
|
449
471
|
preparedInputs?: null | undefined;
|
|
472
|
+
pruneStale?: boolean | undefined;
|
|
450
473
|
}) => any;
|
|
451
474
|
isV2EditorActive: (superdoc: any) => boolean;
|
|
452
475
|
replyCommentV2: ({ superdoc, parentCommentId, text }?: {}) => Promise<any>;
|
|
@@ -457,12 +480,10 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
457
480
|
setV2TrackedChangesAdapter: (adapter: any) => void;
|
|
458
481
|
getV2TrackedChangesAdapter: (superdoc: any) => any;
|
|
459
482
|
getV2TrackedChangeRowCount: (documentId?: null) => number;
|
|
460
|
-
|
|
461
|
-
trackedChangesListMode?: string | undefined;
|
|
462
|
-
}) => Promise<any>;
|
|
463
|
-
reconcileTrackedChangeMutationFromV2: ({ superdoc, adapter, documentId, upsertIds, removedIds, allResolved, }?: {
|
|
483
|
+
reconcileTrackedChangeMutationFromV2: ({ superdoc, adapter, documentId, upsertIds, removedIds, remappedPairs, allResolved, }?: {
|
|
464
484
|
upsertIds?: never[] | undefined;
|
|
465
485
|
removedIds?: never[] | undefined;
|
|
486
|
+
remappedPairs?: never[] | undefined;
|
|
466
487
|
}) => Promise<{
|
|
467
488
|
ok: boolean;
|
|
468
489
|
reason: string;
|
|
@@ -471,7 +492,7 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
471
492
|
unresolvedIds?: undefined;
|
|
472
493
|
allResolved?: undefined;
|
|
473
494
|
removedRows?: undefined;
|
|
474
|
-
|
|
495
|
+
removedIds?: undefined;
|
|
475
496
|
} | {
|
|
476
497
|
ok: boolean;
|
|
477
498
|
items: never[];
|
|
@@ -480,32 +501,25 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
480
501
|
allResolved: boolean;
|
|
481
502
|
removedRows: any;
|
|
482
503
|
reason?: undefined;
|
|
483
|
-
|
|
504
|
+
removedIds?: undefined;
|
|
484
505
|
} | {
|
|
485
506
|
ok: boolean;
|
|
486
507
|
items: never[];
|
|
487
508
|
resolvedIds: never[];
|
|
488
|
-
unresolvedIds: never[];
|
|
489
|
-
reason?: undefined;
|
|
490
|
-
allResolved?: undefined;
|
|
491
|
-
removedRows?: undefined;
|
|
492
|
-
failures?: undefined;
|
|
493
|
-
} | {
|
|
494
|
-
ok: boolean;
|
|
495
|
-
items: any[];
|
|
496
|
-
resolvedIds: (string | null)[];
|
|
497
509
|
unresolvedIds: (string | null)[];
|
|
498
|
-
|
|
510
|
+
removedIds: (string | null)[];
|
|
499
511
|
reason?: undefined;
|
|
500
512
|
allResolved?: undefined;
|
|
501
513
|
removedRows?: undefined;
|
|
502
514
|
}>;
|
|
503
|
-
reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale, preparedParams, hydrationGeneration, }?: {
|
|
515
|
+
reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale, preparedParams, liveIds: suppliedLiveIds, liveAnchorKeys: suppliedLiveAnchorKeys, hydrationGeneration, }?: {
|
|
504
516
|
pruneStale?: boolean | undefined;
|
|
505
517
|
preparedParams?: null | undefined;
|
|
518
|
+
liveIds?: null | undefined;
|
|
519
|
+
liveAnchorKeys?: null | undefined;
|
|
506
520
|
}) => any;
|
|
507
521
|
remapTrackedChangeIdentities: (pairs?: any[], { documentId }?: {}) => void;
|
|
508
|
-
}, "getConfig" | "documentsWithConverations" | "getGroupedComments" | "hasOpenTrackedChanges" | "getCommentsByPosition" | "getFloatingComments" | "getFloatingCommentInstances" | "isViewingMode" | "shouldRenderReviewInViewing">, Pick<{
|
|
522
|
+
}, "getConfig" | "documentsWithConverations" | "getGroupedComments" | "getGroupedReviewDirectory" | "hasOpenTrackedChanges" | "getCommentsByPosition" | "getFloatingComments" | "getFloatingCommentInstances" | "isViewingMode" | "shouldRenderReviewInViewing">, Pick<{
|
|
509
523
|
COMMENT_EVENTS: {
|
|
510
524
|
readonly RESOLVED: "resolved";
|
|
511
525
|
readonly NEW: "new";
|
|
@@ -531,7 +545,10 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
531
545
|
pendingComment: import('vue').Ref<null, null>;
|
|
532
546
|
currentCommentText: import('vue').Ref<string, string>;
|
|
533
547
|
commentsList: import('vue').Ref<never[], never[]>;
|
|
548
|
+
reviewDirectoryList: import('vue').ShallowRef<never[], never[]>;
|
|
534
549
|
isCommentsListVisible: import('vue').Ref<boolean, boolean>;
|
|
550
|
+
isReviewDirectoryActive: import('vue').Ref<boolean, boolean>;
|
|
551
|
+
isReviewDirectoryLoading: import('vue').Ref<boolean, boolean>;
|
|
535
552
|
generalCommentIds: import('vue').Ref<never[], never[]>;
|
|
536
553
|
editorCommentIds: import('vue').Ref<never[], never[]>;
|
|
537
554
|
commentsParentElement: import('vue').Ref<null, null>;
|
|
@@ -557,6 +574,10 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
557
574
|
parentComments: any[];
|
|
558
575
|
resolvedComments: any[];
|
|
559
576
|
}>;
|
|
577
|
+
getGroupedReviewDirectory: import('vue').ComputedRef<{
|
|
578
|
+
parentComments: any[];
|
|
579
|
+
resolvedComments: any[];
|
|
580
|
+
}>;
|
|
560
581
|
hasOpenTrackedChanges: import('vue').ComputedRef<boolean>;
|
|
561
582
|
getCommentsByPosition: import('vue').ComputedRef<{
|
|
562
583
|
parentComments: any[];
|
|
@@ -653,6 +674,19 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
653
674
|
removePendingComment: (superdoc: any) => void;
|
|
654
675
|
cancelImportedTrackedChangeBootstrap: (documentId: string | null | undefined) => number;
|
|
655
676
|
removeCommentsForDocument: (documentId: string | null | undefined) => void;
|
|
677
|
+
setReviewDirectoryFromV2: ({ superdoc, commentItems, trackedChangeItems }?: {
|
|
678
|
+
commentItems?: never[] | undefined;
|
|
679
|
+
trackedChangeItems?: never[] | undefined;
|
|
680
|
+
}) => {
|
|
681
|
+
ok: boolean;
|
|
682
|
+
reason: string;
|
|
683
|
+
count?: undefined;
|
|
684
|
+
} | {
|
|
685
|
+
ok: boolean;
|
|
686
|
+
count: number;
|
|
687
|
+
reason?: undefined;
|
|
688
|
+
};
|
|
689
|
+
clearReviewDirectory: () => void;
|
|
656
690
|
processLoadedDocxComments: ({ superdoc, editor, comments, documentId, replacedFile }: {
|
|
657
691
|
comments: any[];
|
|
658
692
|
documentId: string;
|
|
@@ -692,14 +726,10 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
692
726
|
v2CommentsAdapter: import('vue').ShallowRef<null, null>;
|
|
693
727
|
setV2CommentsAdapter: (adapter: any) => void;
|
|
694
728
|
getV2CommentsAdapter: (superdoc: any) => any;
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
supersedeV2ReviewHydration: ({ commentsAdapter, trackedChangesAdapter }?: {}) => {
|
|
698
|
-
commentsGeneration: any;
|
|
699
|
-
trackedChangesGeneration: any;
|
|
700
|
-
};
|
|
701
|
-
reconcileCommentsFromV2: ({ superdoc, adapter, documentId, items, preparedInputs, hydrationGeneration, }?: {
|
|
729
|
+
applyReviewWindowFromV2: ({ superdoc, commentsAdapter, trackedChangesAdapter, documentId, commentItems, trackedChangeItems, requestedCommentIds, requestedTrackedChangeIds, unresolvedCommentIds, trackedList, sourceCoverageRevision, evaluatedRevision, patch, }?: {}) => any;
|
|
730
|
+
reconcileCommentsFromV2: ({ superdoc, adapter, documentId, items, preparedInputs, pruneStale, hydrationGeneration, }?: {
|
|
702
731
|
preparedInputs?: null | undefined;
|
|
732
|
+
pruneStale?: boolean | undefined;
|
|
703
733
|
}) => any;
|
|
704
734
|
isV2EditorActive: (superdoc: any) => boolean;
|
|
705
735
|
replyCommentV2: ({ superdoc, parentCommentId, text }?: {}) => Promise<any>;
|
|
@@ -710,12 +740,10 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
710
740
|
setV2TrackedChangesAdapter: (adapter: any) => void;
|
|
711
741
|
getV2TrackedChangesAdapter: (superdoc: any) => any;
|
|
712
742
|
getV2TrackedChangeRowCount: (documentId?: null) => number;
|
|
713
|
-
|
|
714
|
-
trackedChangesListMode?: string | undefined;
|
|
715
|
-
}) => Promise<any>;
|
|
716
|
-
reconcileTrackedChangeMutationFromV2: ({ superdoc, adapter, documentId, upsertIds, removedIds, allResolved, }?: {
|
|
743
|
+
reconcileTrackedChangeMutationFromV2: ({ superdoc, adapter, documentId, upsertIds, removedIds, remappedPairs, allResolved, }?: {
|
|
717
744
|
upsertIds?: never[] | undefined;
|
|
718
745
|
removedIds?: never[] | undefined;
|
|
746
|
+
remappedPairs?: never[] | undefined;
|
|
719
747
|
}) => Promise<{
|
|
720
748
|
ok: boolean;
|
|
721
749
|
reason: string;
|
|
@@ -724,7 +752,7 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
724
752
|
unresolvedIds?: undefined;
|
|
725
753
|
allResolved?: undefined;
|
|
726
754
|
removedRows?: undefined;
|
|
727
|
-
|
|
755
|
+
removedIds?: undefined;
|
|
728
756
|
} | {
|
|
729
757
|
ok: boolean;
|
|
730
758
|
items: never[];
|
|
@@ -733,32 +761,25 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
733
761
|
allResolved: boolean;
|
|
734
762
|
removedRows: any;
|
|
735
763
|
reason?: undefined;
|
|
736
|
-
|
|
764
|
+
removedIds?: undefined;
|
|
737
765
|
} | {
|
|
738
766
|
ok: boolean;
|
|
739
767
|
items: never[];
|
|
740
768
|
resolvedIds: never[];
|
|
741
|
-
unresolvedIds: never[];
|
|
742
|
-
reason?: undefined;
|
|
743
|
-
allResolved?: undefined;
|
|
744
|
-
removedRows?: undefined;
|
|
745
|
-
failures?: undefined;
|
|
746
|
-
} | {
|
|
747
|
-
ok: boolean;
|
|
748
|
-
items: any[];
|
|
749
|
-
resolvedIds: (string | null)[];
|
|
750
769
|
unresolvedIds: (string | null)[];
|
|
751
|
-
|
|
770
|
+
removedIds: (string | null)[];
|
|
752
771
|
reason?: undefined;
|
|
753
772
|
allResolved?: undefined;
|
|
754
773
|
removedRows?: undefined;
|
|
755
774
|
}>;
|
|
756
|
-
reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale, preparedParams, hydrationGeneration, }?: {
|
|
775
|
+
reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale, preparedParams, liveIds: suppliedLiveIds, liveAnchorKeys: suppliedLiveAnchorKeys, hydrationGeneration, }?: {
|
|
757
776
|
pruneStale?: boolean | undefined;
|
|
758
777
|
preparedParams?: null | undefined;
|
|
778
|
+
liveIds?: null | undefined;
|
|
779
|
+
liveAnchorKeys?: null | undefined;
|
|
759
780
|
}) => any;
|
|
760
781
|
remapTrackedChangeIdentities: (pairs?: any[], { documentId }?: {}) => void;
|
|
761
|
-
}, "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" | "
|
|
782
|
+
}, "getCommentAliasIds" | "getTrackedChangeThread" | "getCommentPositionKey" | "getCommentPosition" | "getCommentAnchoredText" | "getCommentAnchorData" | "resolveCommentPositionEntry" | "getCommentDocumentId" | "belongsToDocument" | "init" | "setViewingVisibility" | "getComment" | "setActiveComment" | "getCommentLocation" | "hasOverlapId" | "getPendingComment" | "showAddComment" | "addComment" | "addHydratedComment" | "cancelComment" | "deleteComment" | "removePendingComment" | "cancelImportedTrackedChangeBootstrap" | "removeCommentsForDocument" | "setReviewDirectoryFromV2" | "clearReviewDirectory" | "processLoadedDocxComments" | "translateCommentsForExport" | "handleEditorLocationsUpdate" | "clearEditorCommentPositions" | "handleTrackedChangeUpdate" | "refreshTrackedChangeCommentsByIds" | "syncResolvedCommentsWithDocument" | "syncTrackedChangePositionsWithDocument" | "setActiveFloatingCommentInstance" | "requestInstantSidebarAlignment" | "peekInstantSidebarAlignment" | "clearInstantSidebarAlignment" | "syncTrackedChangeComments" | "decideTrackedChangeFromSidebar" | "setV2CommentsAdapter" | "getV2CommentsAdapter" | "applyReviewWindowFromV2" | "reconcileCommentsFromV2" | "isV2EditorActive" | "replyCommentV2" | "editCommentV2" | "resolveCommentV2" | "reopenCommentV2" | "setV2TrackedChangesAdapter" | "getV2TrackedChangesAdapter" | "getV2TrackedChangeRowCount" | "reconcileTrackedChangeMutationFromV2" | "reconcileTrackedChangesFromV2" | "remapTrackedChangeIdentities">>;
|
|
762
783
|
documents: import('vue').Ref<any[], any[]>;
|
|
763
784
|
documentBounds: import('vue').Ref<never[], never[]>;
|
|
764
785
|
pages: {};
|
|
@@ -836,7 +857,10 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
836
857
|
pendingComment: import('vue').Ref<null, null>;
|
|
837
858
|
currentCommentText: import('vue').Ref<string, string>;
|
|
838
859
|
commentsList: import('vue').Ref<never[], never[]>;
|
|
860
|
+
reviewDirectoryList: import('vue').ShallowRef<never[], never[]>;
|
|
839
861
|
isCommentsListVisible: import('vue').Ref<boolean, boolean>;
|
|
862
|
+
isReviewDirectoryActive: import('vue').Ref<boolean, boolean>;
|
|
863
|
+
isReviewDirectoryLoading: import('vue').Ref<boolean, boolean>;
|
|
840
864
|
generalCommentIds: import('vue').Ref<never[], never[]>;
|
|
841
865
|
editorCommentIds: import('vue').Ref<never[], never[]>;
|
|
842
866
|
commentsParentElement: import('vue').Ref<null, null>;
|
|
@@ -862,6 +886,10 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
862
886
|
parentComments: any[];
|
|
863
887
|
resolvedComments: any[];
|
|
864
888
|
}>;
|
|
889
|
+
getGroupedReviewDirectory: import('vue').ComputedRef<{
|
|
890
|
+
parentComments: any[];
|
|
891
|
+
resolvedComments: any[];
|
|
892
|
+
}>;
|
|
865
893
|
hasOpenTrackedChanges: import('vue').ComputedRef<boolean>;
|
|
866
894
|
getCommentsByPosition: import('vue').ComputedRef<{
|
|
867
895
|
parentComments: any[];
|
|
@@ -958,6 +986,19 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
958
986
|
removePendingComment: (superdoc: any) => void;
|
|
959
987
|
cancelImportedTrackedChangeBootstrap: (documentId: string | null | undefined) => number;
|
|
960
988
|
removeCommentsForDocument: (documentId: string | null | undefined) => void;
|
|
989
|
+
setReviewDirectoryFromV2: ({ superdoc, commentItems, trackedChangeItems }?: {
|
|
990
|
+
commentItems?: never[] | undefined;
|
|
991
|
+
trackedChangeItems?: never[] | undefined;
|
|
992
|
+
}) => {
|
|
993
|
+
ok: boolean;
|
|
994
|
+
reason: string;
|
|
995
|
+
count?: undefined;
|
|
996
|
+
} | {
|
|
997
|
+
ok: boolean;
|
|
998
|
+
count: number;
|
|
999
|
+
reason?: undefined;
|
|
1000
|
+
};
|
|
1001
|
+
clearReviewDirectory: () => void;
|
|
961
1002
|
processLoadedDocxComments: ({ superdoc, editor, comments, documentId, replacedFile }: {
|
|
962
1003
|
comments: any[];
|
|
963
1004
|
documentId: string;
|
|
@@ -997,14 +1038,10 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
997
1038
|
v2CommentsAdapter: import('vue').ShallowRef<null, null>;
|
|
998
1039
|
setV2CommentsAdapter: (adapter: any) => void;
|
|
999
1040
|
getV2CommentsAdapter: (superdoc: any) => any;
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
supersedeV2ReviewHydration: ({ commentsAdapter, trackedChangesAdapter }?: {}) => {
|
|
1003
|
-
commentsGeneration: any;
|
|
1004
|
-
trackedChangesGeneration: any;
|
|
1005
|
-
};
|
|
1006
|
-
reconcileCommentsFromV2: ({ superdoc, adapter, documentId, items, preparedInputs, hydrationGeneration, }?: {
|
|
1041
|
+
applyReviewWindowFromV2: ({ superdoc, commentsAdapter, trackedChangesAdapter, documentId, commentItems, trackedChangeItems, requestedCommentIds, requestedTrackedChangeIds, unresolvedCommentIds, trackedList, sourceCoverageRevision, evaluatedRevision, patch, }?: {}) => any;
|
|
1042
|
+
reconcileCommentsFromV2: ({ superdoc, adapter, documentId, items, preparedInputs, pruneStale, hydrationGeneration, }?: {
|
|
1007
1043
|
preparedInputs?: null | undefined;
|
|
1044
|
+
pruneStale?: boolean | undefined;
|
|
1008
1045
|
}) => any;
|
|
1009
1046
|
isV2EditorActive: (superdoc: any) => boolean;
|
|
1010
1047
|
replyCommentV2: ({ superdoc, parentCommentId, text }?: {}) => Promise<any>;
|
|
@@ -1015,12 +1052,10 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
1015
1052
|
setV2TrackedChangesAdapter: (adapter: any) => void;
|
|
1016
1053
|
getV2TrackedChangesAdapter: (superdoc: any) => any;
|
|
1017
1054
|
getV2TrackedChangeRowCount: (documentId?: null) => number;
|
|
1018
|
-
|
|
1019
|
-
trackedChangesListMode?: string | undefined;
|
|
1020
|
-
}) => Promise<any>;
|
|
1021
|
-
reconcileTrackedChangeMutationFromV2: ({ superdoc, adapter, documentId, upsertIds, removedIds, allResolved, }?: {
|
|
1055
|
+
reconcileTrackedChangeMutationFromV2: ({ superdoc, adapter, documentId, upsertIds, removedIds, remappedPairs, allResolved, }?: {
|
|
1022
1056
|
upsertIds?: never[] | undefined;
|
|
1023
1057
|
removedIds?: never[] | undefined;
|
|
1058
|
+
remappedPairs?: never[] | undefined;
|
|
1024
1059
|
}) => Promise<{
|
|
1025
1060
|
ok: boolean;
|
|
1026
1061
|
reason: string;
|
|
@@ -1029,7 +1064,7 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
1029
1064
|
unresolvedIds?: undefined;
|
|
1030
1065
|
allResolved?: undefined;
|
|
1031
1066
|
removedRows?: undefined;
|
|
1032
|
-
|
|
1067
|
+
removedIds?: undefined;
|
|
1033
1068
|
} | {
|
|
1034
1069
|
ok: boolean;
|
|
1035
1070
|
items: never[];
|
|
@@ -1038,32 +1073,25 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
1038
1073
|
allResolved: boolean;
|
|
1039
1074
|
removedRows: any;
|
|
1040
1075
|
reason?: undefined;
|
|
1041
|
-
|
|
1076
|
+
removedIds?: undefined;
|
|
1042
1077
|
} | {
|
|
1043
1078
|
ok: boolean;
|
|
1044
1079
|
items: never[];
|
|
1045
1080
|
resolvedIds: never[];
|
|
1046
|
-
unresolvedIds: never[];
|
|
1047
|
-
reason?: undefined;
|
|
1048
|
-
allResolved?: undefined;
|
|
1049
|
-
removedRows?: undefined;
|
|
1050
|
-
failures?: undefined;
|
|
1051
|
-
} | {
|
|
1052
|
-
ok: boolean;
|
|
1053
|
-
items: any[];
|
|
1054
|
-
resolvedIds: (string | null)[];
|
|
1055
1081
|
unresolvedIds: (string | null)[];
|
|
1056
|
-
|
|
1082
|
+
removedIds: (string | null)[];
|
|
1057
1083
|
reason?: undefined;
|
|
1058
1084
|
allResolved?: undefined;
|
|
1059
1085
|
removedRows?: undefined;
|
|
1060
1086
|
}>;
|
|
1061
|
-
reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale, preparedParams, hydrationGeneration, }?: {
|
|
1087
|
+
reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale, preparedParams, liveIds: suppliedLiveIds, liveAnchorKeys: suppliedLiveAnchorKeys, hydrationGeneration, }?: {
|
|
1062
1088
|
pruneStale?: boolean | undefined;
|
|
1063
1089
|
preparedParams?: null | undefined;
|
|
1090
|
+
liveIds?: null | undefined;
|
|
1091
|
+
liveAnchorKeys?: null | undefined;
|
|
1064
1092
|
}) => any;
|
|
1065
1093
|
remapTrackedChangeIdentities: (pairs?: any[], { documentId }?: {}) => void;
|
|
1066
|
-
}, "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<{
|
|
1094
|
+
}, "suppressInternalExternal" | "activeComment" | "activeFloatingCommentInstanceId" | "floatingCommentsOffset" | "pendingComment" | "currentCommentText" | "isDebugging" | "editingCommentId" | "editorCommentPositions" | "isCommentHighlighted" | "v2CommentsAdapter" | "COMMENT_EVENTS" | "hasInitializedComments" | "hasSyncedCollaborationComments" | "commentDialogs" | "overlappingComments" | "overlappedIds" | "commentsList" | "reviewDirectoryList" | "isCommentsListVisible" | "isReviewDirectoryActive" | "isReviewDirectoryLoading" | "generalCommentIds" | "editorCommentIds" | "commentsParentElement" | "hasInitializedLocations" | "sortedConversations" | "visibleConversations" | "skipSelectionUpdate" | "isFloatingCommentsReady" | "instantSidebarAlignmentTargetY" | "instantSidebarAlignmentThreadId" | "instantSidebarAlignmentInstanceId" | "viewingVisibility" | "v2TrackedChangesAdapter">, Pick<{
|
|
1067
1095
|
COMMENT_EVENTS: {
|
|
1068
1096
|
readonly RESOLVED: "resolved";
|
|
1069
1097
|
readonly NEW: "new";
|
|
@@ -1089,7 +1117,10 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
1089
1117
|
pendingComment: import('vue').Ref<null, null>;
|
|
1090
1118
|
currentCommentText: import('vue').Ref<string, string>;
|
|
1091
1119
|
commentsList: import('vue').Ref<never[], never[]>;
|
|
1120
|
+
reviewDirectoryList: import('vue').ShallowRef<never[], never[]>;
|
|
1092
1121
|
isCommentsListVisible: import('vue').Ref<boolean, boolean>;
|
|
1122
|
+
isReviewDirectoryActive: import('vue').Ref<boolean, boolean>;
|
|
1123
|
+
isReviewDirectoryLoading: import('vue').Ref<boolean, boolean>;
|
|
1093
1124
|
generalCommentIds: import('vue').Ref<never[], never[]>;
|
|
1094
1125
|
editorCommentIds: import('vue').Ref<never[], never[]>;
|
|
1095
1126
|
commentsParentElement: import('vue').Ref<null, null>;
|
|
@@ -1115,6 +1146,10 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
1115
1146
|
parentComments: any[];
|
|
1116
1147
|
resolvedComments: any[];
|
|
1117
1148
|
}>;
|
|
1149
|
+
getGroupedReviewDirectory: import('vue').ComputedRef<{
|
|
1150
|
+
parentComments: any[];
|
|
1151
|
+
resolvedComments: any[];
|
|
1152
|
+
}>;
|
|
1118
1153
|
hasOpenTrackedChanges: import('vue').ComputedRef<boolean>;
|
|
1119
1154
|
getCommentsByPosition: import('vue').ComputedRef<{
|
|
1120
1155
|
parentComments: any[];
|
|
@@ -1211,6 +1246,19 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
1211
1246
|
removePendingComment: (superdoc: any) => void;
|
|
1212
1247
|
cancelImportedTrackedChangeBootstrap: (documentId: string | null | undefined) => number;
|
|
1213
1248
|
removeCommentsForDocument: (documentId: string | null | undefined) => void;
|
|
1249
|
+
setReviewDirectoryFromV2: ({ superdoc, commentItems, trackedChangeItems }?: {
|
|
1250
|
+
commentItems?: never[] | undefined;
|
|
1251
|
+
trackedChangeItems?: never[] | undefined;
|
|
1252
|
+
}) => {
|
|
1253
|
+
ok: boolean;
|
|
1254
|
+
reason: string;
|
|
1255
|
+
count?: undefined;
|
|
1256
|
+
} | {
|
|
1257
|
+
ok: boolean;
|
|
1258
|
+
count: number;
|
|
1259
|
+
reason?: undefined;
|
|
1260
|
+
};
|
|
1261
|
+
clearReviewDirectory: () => void;
|
|
1214
1262
|
processLoadedDocxComments: ({ superdoc, editor, comments, documentId, replacedFile }: {
|
|
1215
1263
|
comments: any[];
|
|
1216
1264
|
documentId: string;
|
|
@@ -1250,14 +1298,10 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
1250
1298
|
v2CommentsAdapter: import('vue').ShallowRef<null, null>;
|
|
1251
1299
|
setV2CommentsAdapter: (adapter: any) => void;
|
|
1252
1300
|
getV2CommentsAdapter: (superdoc: any) => any;
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
supersedeV2ReviewHydration: ({ commentsAdapter, trackedChangesAdapter }?: {}) => {
|
|
1256
|
-
commentsGeneration: any;
|
|
1257
|
-
trackedChangesGeneration: any;
|
|
1258
|
-
};
|
|
1259
|
-
reconcileCommentsFromV2: ({ superdoc, adapter, documentId, items, preparedInputs, hydrationGeneration, }?: {
|
|
1301
|
+
applyReviewWindowFromV2: ({ superdoc, commentsAdapter, trackedChangesAdapter, documentId, commentItems, trackedChangeItems, requestedCommentIds, requestedTrackedChangeIds, unresolvedCommentIds, trackedList, sourceCoverageRevision, evaluatedRevision, patch, }?: {}) => any;
|
|
1302
|
+
reconcileCommentsFromV2: ({ superdoc, adapter, documentId, items, preparedInputs, pruneStale, hydrationGeneration, }?: {
|
|
1260
1303
|
preparedInputs?: null | undefined;
|
|
1304
|
+
pruneStale?: boolean | undefined;
|
|
1261
1305
|
}) => any;
|
|
1262
1306
|
isV2EditorActive: (superdoc: any) => boolean;
|
|
1263
1307
|
replyCommentV2: ({ superdoc, parentCommentId, text }?: {}) => Promise<any>;
|
|
@@ -1268,12 +1312,10 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
1268
1312
|
setV2TrackedChangesAdapter: (adapter: any) => void;
|
|
1269
1313
|
getV2TrackedChangesAdapter: (superdoc: any) => any;
|
|
1270
1314
|
getV2TrackedChangeRowCount: (documentId?: null) => number;
|
|
1271
|
-
|
|
1272
|
-
trackedChangesListMode?: string | undefined;
|
|
1273
|
-
}) => Promise<any>;
|
|
1274
|
-
reconcileTrackedChangeMutationFromV2: ({ superdoc, adapter, documentId, upsertIds, removedIds, allResolved, }?: {
|
|
1315
|
+
reconcileTrackedChangeMutationFromV2: ({ superdoc, adapter, documentId, upsertIds, removedIds, remappedPairs, allResolved, }?: {
|
|
1275
1316
|
upsertIds?: never[] | undefined;
|
|
1276
1317
|
removedIds?: never[] | undefined;
|
|
1318
|
+
remappedPairs?: never[] | undefined;
|
|
1277
1319
|
}) => Promise<{
|
|
1278
1320
|
ok: boolean;
|
|
1279
1321
|
reason: string;
|
|
@@ -1282,7 +1324,7 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
1282
1324
|
unresolvedIds?: undefined;
|
|
1283
1325
|
allResolved?: undefined;
|
|
1284
1326
|
removedRows?: undefined;
|
|
1285
|
-
|
|
1327
|
+
removedIds?: undefined;
|
|
1286
1328
|
} | {
|
|
1287
1329
|
ok: boolean;
|
|
1288
1330
|
items: never[];
|
|
@@ -1291,32 +1333,25 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
1291
1333
|
allResolved: boolean;
|
|
1292
1334
|
removedRows: any;
|
|
1293
1335
|
reason?: undefined;
|
|
1294
|
-
|
|
1336
|
+
removedIds?: undefined;
|
|
1295
1337
|
} | {
|
|
1296
1338
|
ok: boolean;
|
|
1297
1339
|
items: never[];
|
|
1298
1340
|
resolvedIds: never[];
|
|
1299
|
-
unresolvedIds: never[];
|
|
1300
|
-
reason?: undefined;
|
|
1301
|
-
allResolved?: undefined;
|
|
1302
|
-
removedRows?: undefined;
|
|
1303
|
-
failures?: undefined;
|
|
1304
|
-
} | {
|
|
1305
|
-
ok: boolean;
|
|
1306
|
-
items: any[];
|
|
1307
|
-
resolvedIds: (string | null)[];
|
|
1308
1341
|
unresolvedIds: (string | null)[];
|
|
1309
|
-
|
|
1342
|
+
removedIds: (string | null)[];
|
|
1310
1343
|
reason?: undefined;
|
|
1311
1344
|
allResolved?: undefined;
|
|
1312
1345
|
removedRows?: undefined;
|
|
1313
1346
|
}>;
|
|
1314
|
-
reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale, preparedParams, hydrationGeneration, }?: {
|
|
1347
|
+
reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale, preparedParams, liveIds: suppliedLiveIds, liveAnchorKeys: suppliedLiveAnchorKeys, hydrationGeneration, }?: {
|
|
1315
1348
|
pruneStale?: boolean | undefined;
|
|
1316
1349
|
preparedParams?: null | undefined;
|
|
1350
|
+
liveIds?: null | undefined;
|
|
1351
|
+
liveAnchorKeys?: null | undefined;
|
|
1317
1352
|
}) => any;
|
|
1318
1353
|
remapTrackedChangeIdentities: (pairs?: any[], { documentId }?: {}) => void;
|
|
1319
|
-
}, "getConfig" | "documentsWithConverations" | "getGroupedComments" | "hasOpenTrackedChanges" | "getCommentsByPosition" | "getFloatingComments" | "getFloatingCommentInstances" | "isViewingMode" | "shouldRenderReviewInViewing">, Pick<{
|
|
1354
|
+
}, "getConfig" | "documentsWithConverations" | "getGroupedComments" | "getGroupedReviewDirectory" | "hasOpenTrackedChanges" | "getCommentsByPosition" | "getFloatingComments" | "getFloatingCommentInstances" | "isViewingMode" | "shouldRenderReviewInViewing">, Pick<{
|
|
1320
1355
|
COMMENT_EVENTS: {
|
|
1321
1356
|
readonly RESOLVED: "resolved";
|
|
1322
1357
|
readonly NEW: "new";
|
|
@@ -1342,7 +1377,10 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
1342
1377
|
pendingComment: import('vue').Ref<null, null>;
|
|
1343
1378
|
currentCommentText: import('vue').Ref<string, string>;
|
|
1344
1379
|
commentsList: import('vue').Ref<never[], never[]>;
|
|
1380
|
+
reviewDirectoryList: import('vue').ShallowRef<never[], never[]>;
|
|
1345
1381
|
isCommentsListVisible: import('vue').Ref<boolean, boolean>;
|
|
1382
|
+
isReviewDirectoryActive: import('vue').Ref<boolean, boolean>;
|
|
1383
|
+
isReviewDirectoryLoading: import('vue').Ref<boolean, boolean>;
|
|
1346
1384
|
generalCommentIds: import('vue').Ref<never[], never[]>;
|
|
1347
1385
|
editorCommentIds: import('vue').Ref<never[], never[]>;
|
|
1348
1386
|
commentsParentElement: import('vue').Ref<null, null>;
|
|
@@ -1368,6 +1406,10 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
1368
1406
|
parentComments: any[];
|
|
1369
1407
|
resolvedComments: any[];
|
|
1370
1408
|
}>;
|
|
1409
|
+
getGroupedReviewDirectory: import('vue').ComputedRef<{
|
|
1410
|
+
parentComments: any[];
|
|
1411
|
+
resolvedComments: any[];
|
|
1412
|
+
}>;
|
|
1371
1413
|
hasOpenTrackedChanges: import('vue').ComputedRef<boolean>;
|
|
1372
1414
|
getCommentsByPosition: import('vue').ComputedRef<{
|
|
1373
1415
|
parentComments: any[];
|
|
@@ -1464,6 +1506,19 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
1464
1506
|
removePendingComment: (superdoc: any) => void;
|
|
1465
1507
|
cancelImportedTrackedChangeBootstrap: (documentId: string | null | undefined) => number;
|
|
1466
1508
|
removeCommentsForDocument: (documentId: string | null | undefined) => void;
|
|
1509
|
+
setReviewDirectoryFromV2: ({ superdoc, commentItems, trackedChangeItems }?: {
|
|
1510
|
+
commentItems?: never[] | undefined;
|
|
1511
|
+
trackedChangeItems?: never[] | undefined;
|
|
1512
|
+
}) => {
|
|
1513
|
+
ok: boolean;
|
|
1514
|
+
reason: string;
|
|
1515
|
+
count?: undefined;
|
|
1516
|
+
} | {
|
|
1517
|
+
ok: boolean;
|
|
1518
|
+
count: number;
|
|
1519
|
+
reason?: undefined;
|
|
1520
|
+
};
|
|
1521
|
+
clearReviewDirectory: () => void;
|
|
1467
1522
|
processLoadedDocxComments: ({ superdoc, editor, comments, documentId, replacedFile }: {
|
|
1468
1523
|
comments: any[];
|
|
1469
1524
|
documentId: string;
|
|
@@ -1503,14 +1558,10 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
1503
1558
|
v2CommentsAdapter: import('vue').ShallowRef<null, null>;
|
|
1504
1559
|
setV2CommentsAdapter: (adapter: any) => void;
|
|
1505
1560
|
getV2CommentsAdapter: (superdoc: any) => any;
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
supersedeV2ReviewHydration: ({ commentsAdapter, trackedChangesAdapter }?: {}) => {
|
|
1509
|
-
commentsGeneration: any;
|
|
1510
|
-
trackedChangesGeneration: any;
|
|
1511
|
-
};
|
|
1512
|
-
reconcileCommentsFromV2: ({ superdoc, adapter, documentId, items, preparedInputs, hydrationGeneration, }?: {
|
|
1561
|
+
applyReviewWindowFromV2: ({ superdoc, commentsAdapter, trackedChangesAdapter, documentId, commentItems, trackedChangeItems, requestedCommentIds, requestedTrackedChangeIds, unresolvedCommentIds, trackedList, sourceCoverageRevision, evaluatedRevision, patch, }?: {}) => any;
|
|
1562
|
+
reconcileCommentsFromV2: ({ superdoc, adapter, documentId, items, preparedInputs, pruneStale, hydrationGeneration, }?: {
|
|
1513
1563
|
preparedInputs?: null | undefined;
|
|
1564
|
+
pruneStale?: boolean | undefined;
|
|
1514
1565
|
}) => any;
|
|
1515
1566
|
isV2EditorActive: (superdoc: any) => boolean;
|
|
1516
1567
|
replyCommentV2: ({ superdoc, parentCommentId, text }?: {}) => Promise<any>;
|
|
@@ -1521,12 +1572,10 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
1521
1572
|
setV2TrackedChangesAdapter: (adapter: any) => void;
|
|
1522
1573
|
getV2TrackedChangesAdapter: (superdoc: any) => any;
|
|
1523
1574
|
getV2TrackedChangeRowCount: (documentId?: null) => number;
|
|
1524
|
-
|
|
1525
|
-
trackedChangesListMode?: string | undefined;
|
|
1526
|
-
}) => Promise<any>;
|
|
1527
|
-
reconcileTrackedChangeMutationFromV2: ({ superdoc, adapter, documentId, upsertIds, removedIds, allResolved, }?: {
|
|
1575
|
+
reconcileTrackedChangeMutationFromV2: ({ superdoc, adapter, documentId, upsertIds, removedIds, remappedPairs, allResolved, }?: {
|
|
1528
1576
|
upsertIds?: never[] | undefined;
|
|
1529
1577
|
removedIds?: never[] | undefined;
|
|
1578
|
+
remappedPairs?: never[] | undefined;
|
|
1530
1579
|
}) => Promise<{
|
|
1531
1580
|
ok: boolean;
|
|
1532
1581
|
reason: string;
|
|
@@ -1535,7 +1584,7 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
1535
1584
|
unresolvedIds?: undefined;
|
|
1536
1585
|
allResolved?: undefined;
|
|
1537
1586
|
removedRows?: undefined;
|
|
1538
|
-
|
|
1587
|
+
removedIds?: undefined;
|
|
1539
1588
|
} | {
|
|
1540
1589
|
ok: boolean;
|
|
1541
1590
|
items: never[];
|
|
@@ -1544,32 +1593,25 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
1544
1593
|
allResolved: boolean;
|
|
1545
1594
|
removedRows: any;
|
|
1546
1595
|
reason?: undefined;
|
|
1547
|
-
|
|
1596
|
+
removedIds?: undefined;
|
|
1548
1597
|
} | {
|
|
1549
1598
|
ok: boolean;
|
|
1550
1599
|
items: never[];
|
|
1551
1600
|
resolvedIds: never[];
|
|
1552
|
-
unresolvedIds: never[];
|
|
1553
|
-
reason?: undefined;
|
|
1554
|
-
allResolved?: undefined;
|
|
1555
|
-
removedRows?: undefined;
|
|
1556
|
-
failures?: undefined;
|
|
1557
|
-
} | {
|
|
1558
|
-
ok: boolean;
|
|
1559
|
-
items: any[];
|
|
1560
|
-
resolvedIds: (string | null)[];
|
|
1561
1601
|
unresolvedIds: (string | null)[];
|
|
1562
|
-
|
|
1602
|
+
removedIds: (string | null)[];
|
|
1563
1603
|
reason?: undefined;
|
|
1564
1604
|
allResolved?: undefined;
|
|
1565
1605
|
removedRows?: undefined;
|
|
1566
1606
|
}>;
|
|
1567
|
-
reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale, preparedParams, hydrationGeneration, }?: {
|
|
1607
|
+
reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale, preparedParams, liveIds: suppliedLiveIds, liveAnchorKeys: suppliedLiveAnchorKeys, hydrationGeneration, }?: {
|
|
1568
1608
|
pruneStale?: boolean | undefined;
|
|
1569
1609
|
preparedParams?: null | undefined;
|
|
1610
|
+
liveIds?: null | undefined;
|
|
1611
|
+
liveAnchorKeys?: null | undefined;
|
|
1570
1612
|
}) => any;
|
|
1571
1613
|
remapTrackedChangeIdentities: (pairs?: any[], { documentId }?: {}) => void;
|
|
1572
|
-
}, "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" | "
|
|
1614
|
+
}, "getCommentAliasIds" | "getTrackedChangeThread" | "getCommentPositionKey" | "getCommentPosition" | "getCommentAnchoredText" | "getCommentAnchorData" | "resolveCommentPositionEntry" | "getCommentDocumentId" | "belongsToDocument" | "init" | "setViewingVisibility" | "getComment" | "setActiveComment" | "getCommentLocation" | "hasOverlapId" | "getPendingComment" | "showAddComment" | "addComment" | "addHydratedComment" | "cancelComment" | "deleteComment" | "removePendingComment" | "cancelImportedTrackedChangeBootstrap" | "removeCommentsForDocument" | "setReviewDirectoryFromV2" | "clearReviewDirectory" | "processLoadedDocxComments" | "translateCommentsForExport" | "handleEditorLocationsUpdate" | "clearEditorCommentPositions" | "handleTrackedChangeUpdate" | "refreshTrackedChangeCommentsByIds" | "syncResolvedCommentsWithDocument" | "syncTrackedChangePositionsWithDocument" | "setActiveFloatingCommentInstance" | "requestInstantSidebarAlignment" | "peekInstantSidebarAlignment" | "clearInstantSidebarAlignment" | "syncTrackedChangeComments" | "decideTrackedChangeFromSidebar" | "setV2CommentsAdapter" | "getV2CommentsAdapter" | "applyReviewWindowFromV2" | "reconcileCommentsFromV2" | "isV2EditorActive" | "replyCommentV2" | "editCommentV2" | "resolveCommentV2" | "reopenCommentV2" | "setV2TrackedChangesAdapter" | "getV2TrackedChangesAdapter" | "getV2TrackedChangeRowCount" | "reconcileTrackedChangeMutationFromV2" | "reconcileTrackedChangesFromV2" | "remapTrackedChangeIdentities">>;
|
|
1573
1615
|
documents: import('vue').Ref<any[], any[]>;
|
|
1574
1616
|
documentBounds: import('vue').Ref<never[], never[]>;
|
|
1575
1617
|
pages: {};
|
|
@@ -1647,7 +1689,10 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
1647
1689
|
pendingComment: import('vue').Ref<null, null>;
|
|
1648
1690
|
currentCommentText: import('vue').Ref<string, string>;
|
|
1649
1691
|
commentsList: import('vue').Ref<never[], never[]>;
|
|
1692
|
+
reviewDirectoryList: import('vue').ShallowRef<never[], never[]>;
|
|
1650
1693
|
isCommentsListVisible: import('vue').Ref<boolean, boolean>;
|
|
1694
|
+
isReviewDirectoryActive: import('vue').Ref<boolean, boolean>;
|
|
1695
|
+
isReviewDirectoryLoading: import('vue').Ref<boolean, boolean>;
|
|
1651
1696
|
generalCommentIds: import('vue').Ref<never[], never[]>;
|
|
1652
1697
|
editorCommentIds: import('vue').Ref<never[], never[]>;
|
|
1653
1698
|
commentsParentElement: import('vue').Ref<null, null>;
|
|
@@ -1673,6 +1718,10 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
1673
1718
|
parentComments: any[];
|
|
1674
1719
|
resolvedComments: any[];
|
|
1675
1720
|
}>;
|
|
1721
|
+
getGroupedReviewDirectory: import('vue').ComputedRef<{
|
|
1722
|
+
parentComments: any[];
|
|
1723
|
+
resolvedComments: any[];
|
|
1724
|
+
}>;
|
|
1676
1725
|
hasOpenTrackedChanges: import('vue').ComputedRef<boolean>;
|
|
1677
1726
|
getCommentsByPosition: import('vue').ComputedRef<{
|
|
1678
1727
|
parentComments: any[];
|
|
@@ -1769,6 +1818,19 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
1769
1818
|
removePendingComment: (superdoc: any) => void;
|
|
1770
1819
|
cancelImportedTrackedChangeBootstrap: (documentId: string | null | undefined) => number;
|
|
1771
1820
|
removeCommentsForDocument: (documentId: string | null | undefined) => void;
|
|
1821
|
+
setReviewDirectoryFromV2: ({ superdoc, commentItems, trackedChangeItems }?: {
|
|
1822
|
+
commentItems?: never[] | undefined;
|
|
1823
|
+
trackedChangeItems?: never[] | undefined;
|
|
1824
|
+
}) => {
|
|
1825
|
+
ok: boolean;
|
|
1826
|
+
reason: string;
|
|
1827
|
+
count?: undefined;
|
|
1828
|
+
} | {
|
|
1829
|
+
ok: boolean;
|
|
1830
|
+
count: number;
|
|
1831
|
+
reason?: undefined;
|
|
1832
|
+
};
|
|
1833
|
+
clearReviewDirectory: () => void;
|
|
1772
1834
|
processLoadedDocxComments: ({ superdoc, editor, comments, documentId, replacedFile }: {
|
|
1773
1835
|
comments: any[];
|
|
1774
1836
|
documentId: string;
|
|
@@ -1808,14 +1870,10 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
1808
1870
|
v2CommentsAdapter: import('vue').ShallowRef<null, null>;
|
|
1809
1871
|
setV2CommentsAdapter: (adapter: any) => void;
|
|
1810
1872
|
getV2CommentsAdapter: (superdoc: any) => any;
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
supersedeV2ReviewHydration: ({ commentsAdapter, trackedChangesAdapter }?: {}) => {
|
|
1814
|
-
commentsGeneration: any;
|
|
1815
|
-
trackedChangesGeneration: any;
|
|
1816
|
-
};
|
|
1817
|
-
reconcileCommentsFromV2: ({ superdoc, adapter, documentId, items, preparedInputs, hydrationGeneration, }?: {
|
|
1873
|
+
applyReviewWindowFromV2: ({ superdoc, commentsAdapter, trackedChangesAdapter, documentId, commentItems, trackedChangeItems, requestedCommentIds, requestedTrackedChangeIds, unresolvedCommentIds, trackedList, sourceCoverageRevision, evaluatedRevision, patch, }?: {}) => any;
|
|
1874
|
+
reconcileCommentsFromV2: ({ superdoc, adapter, documentId, items, preparedInputs, pruneStale, hydrationGeneration, }?: {
|
|
1818
1875
|
preparedInputs?: null | undefined;
|
|
1876
|
+
pruneStale?: boolean | undefined;
|
|
1819
1877
|
}) => any;
|
|
1820
1878
|
isV2EditorActive: (superdoc: any) => boolean;
|
|
1821
1879
|
replyCommentV2: ({ superdoc, parentCommentId, text }?: {}) => Promise<any>;
|
|
@@ -1826,12 +1884,10 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
1826
1884
|
setV2TrackedChangesAdapter: (adapter: any) => void;
|
|
1827
1885
|
getV2TrackedChangesAdapter: (superdoc: any) => any;
|
|
1828
1886
|
getV2TrackedChangeRowCount: (documentId?: null) => number;
|
|
1829
|
-
|
|
1830
|
-
trackedChangesListMode?: string | undefined;
|
|
1831
|
-
}) => Promise<any>;
|
|
1832
|
-
reconcileTrackedChangeMutationFromV2: ({ superdoc, adapter, documentId, upsertIds, removedIds, allResolved, }?: {
|
|
1887
|
+
reconcileTrackedChangeMutationFromV2: ({ superdoc, adapter, documentId, upsertIds, removedIds, remappedPairs, allResolved, }?: {
|
|
1833
1888
|
upsertIds?: never[] | undefined;
|
|
1834
1889
|
removedIds?: never[] | undefined;
|
|
1890
|
+
remappedPairs?: never[] | undefined;
|
|
1835
1891
|
}) => Promise<{
|
|
1836
1892
|
ok: boolean;
|
|
1837
1893
|
reason: string;
|
|
@@ -1840,7 +1896,7 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
1840
1896
|
unresolvedIds?: undefined;
|
|
1841
1897
|
allResolved?: undefined;
|
|
1842
1898
|
removedRows?: undefined;
|
|
1843
|
-
|
|
1899
|
+
removedIds?: undefined;
|
|
1844
1900
|
} | {
|
|
1845
1901
|
ok: boolean;
|
|
1846
1902
|
items: never[];
|
|
@@ -1849,32 +1905,25 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
1849
1905
|
allResolved: boolean;
|
|
1850
1906
|
removedRows: any;
|
|
1851
1907
|
reason?: undefined;
|
|
1852
|
-
|
|
1908
|
+
removedIds?: undefined;
|
|
1853
1909
|
} | {
|
|
1854
1910
|
ok: boolean;
|
|
1855
1911
|
items: never[];
|
|
1856
1912
|
resolvedIds: never[];
|
|
1857
|
-
unresolvedIds: never[];
|
|
1858
|
-
reason?: undefined;
|
|
1859
|
-
allResolved?: undefined;
|
|
1860
|
-
removedRows?: undefined;
|
|
1861
|
-
failures?: undefined;
|
|
1862
|
-
} | {
|
|
1863
|
-
ok: boolean;
|
|
1864
|
-
items: any[];
|
|
1865
|
-
resolvedIds: (string | null)[];
|
|
1866
1913
|
unresolvedIds: (string | null)[];
|
|
1867
|
-
|
|
1914
|
+
removedIds: (string | null)[];
|
|
1868
1915
|
reason?: undefined;
|
|
1869
1916
|
allResolved?: undefined;
|
|
1870
1917
|
removedRows?: undefined;
|
|
1871
1918
|
}>;
|
|
1872
|
-
reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale, preparedParams, hydrationGeneration, }?: {
|
|
1919
|
+
reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale, preparedParams, liveIds: suppliedLiveIds, liveAnchorKeys: suppliedLiveAnchorKeys, hydrationGeneration, }?: {
|
|
1873
1920
|
pruneStale?: boolean | undefined;
|
|
1874
1921
|
preparedParams?: null | undefined;
|
|
1922
|
+
liveIds?: null | undefined;
|
|
1923
|
+
liveAnchorKeys?: null | undefined;
|
|
1875
1924
|
}) => any;
|
|
1876
1925
|
remapTrackedChangeIdentities: (pairs?: any[], { documentId }?: {}) => void;
|
|
1877
|
-
}, "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<{
|
|
1926
|
+
}, "suppressInternalExternal" | "activeComment" | "activeFloatingCommentInstanceId" | "floatingCommentsOffset" | "pendingComment" | "currentCommentText" | "isDebugging" | "editingCommentId" | "editorCommentPositions" | "isCommentHighlighted" | "v2CommentsAdapter" | "COMMENT_EVENTS" | "hasInitializedComments" | "hasSyncedCollaborationComments" | "commentDialogs" | "overlappingComments" | "overlappedIds" | "commentsList" | "reviewDirectoryList" | "isCommentsListVisible" | "isReviewDirectoryActive" | "isReviewDirectoryLoading" | "generalCommentIds" | "editorCommentIds" | "commentsParentElement" | "hasInitializedLocations" | "sortedConversations" | "visibleConversations" | "skipSelectionUpdate" | "isFloatingCommentsReady" | "instantSidebarAlignmentTargetY" | "instantSidebarAlignmentThreadId" | "instantSidebarAlignmentInstanceId" | "viewingVisibility" | "v2TrackedChangesAdapter">, Pick<{
|
|
1878
1927
|
COMMENT_EVENTS: {
|
|
1879
1928
|
readonly RESOLVED: "resolved";
|
|
1880
1929
|
readonly NEW: "new";
|
|
@@ -1900,7 +1949,10 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
1900
1949
|
pendingComment: import('vue').Ref<null, null>;
|
|
1901
1950
|
currentCommentText: import('vue').Ref<string, string>;
|
|
1902
1951
|
commentsList: import('vue').Ref<never[], never[]>;
|
|
1952
|
+
reviewDirectoryList: import('vue').ShallowRef<never[], never[]>;
|
|
1903
1953
|
isCommentsListVisible: import('vue').Ref<boolean, boolean>;
|
|
1954
|
+
isReviewDirectoryActive: import('vue').Ref<boolean, boolean>;
|
|
1955
|
+
isReviewDirectoryLoading: import('vue').Ref<boolean, boolean>;
|
|
1904
1956
|
generalCommentIds: import('vue').Ref<never[], never[]>;
|
|
1905
1957
|
editorCommentIds: import('vue').Ref<never[], never[]>;
|
|
1906
1958
|
commentsParentElement: import('vue').Ref<null, null>;
|
|
@@ -1926,6 +1978,10 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
1926
1978
|
parentComments: any[];
|
|
1927
1979
|
resolvedComments: any[];
|
|
1928
1980
|
}>;
|
|
1981
|
+
getGroupedReviewDirectory: import('vue').ComputedRef<{
|
|
1982
|
+
parentComments: any[];
|
|
1983
|
+
resolvedComments: any[];
|
|
1984
|
+
}>;
|
|
1929
1985
|
hasOpenTrackedChanges: import('vue').ComputedRef<boolean>;
|
|
1930
1986
|
getCommentsByPosition: import('vue').ComputedRef<{
|
|
1931
1987
|
parentComments: any[];
|
|
@@ -2022,6 +2078,19 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
2022
2078
|
removePendingComment: (superdoc: any) => void;
|
|
2023
2079
|
cancelImportedTrackedChangeBootstrap: (documentId: string | null | undefined) => number;
|
|
2024
2080
|
removeCommentsForDocument: (documentId: string | null | undefined) => void;
|
|
2081
|
+
setReviewDirectoryFromV2: ({ superdoc, commentItems, trackedChangeItems }?: {
|
|
2082
|
+
commentItems?: never[] | undefined;
|
|
2083
|
+
trackedChangeItems?: never[] | undefined;
|
|
2084
|
+
}) => {
|
|
2085
|
+
ok: boolean;
|
|
2086
|
+
reason: string;
|
|
2087
|
+
count?: undefined;
|
|
2088
|
+
} | {
|
|
2089
|
+
ok: boolean;
|
|
2090
|
+
count: number;
|
|
2091
|
+
reason?: undefined;
|
|
2092
|
+
};
|
|
2093
|
+
clearReviewDirectory: () => void;
|
|
2025
2094
|
processLoadedDocxComments: ({ superdoc, editor, comments, documentId, replacedFile }: {
|
|
2026
2095
|
comments: any[];
|
|
2027
2096
|
documentId: string;
|
|
@@ -2061,14 +2130,10 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
2061
2130
|
v2CommentsAdapter: import('vue').ShallowRef<null, null>;
|
|
2062
2131
|
setV2CommentsAdapter: (adapter: any) => void;
|
|
2063
2132
|
getV2CommentsAdapter: (superdoc: any) => any;
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
supersedeV2ReviewHydration: ({ commentsAdapter, trackedChangesAdapter }?: {}) => {
|
|
2067
|
-
commentsGeneration: any;
|
|
2068
|
-
trackedChangesGeneration: any;
|
|
2069
|
-
};
|
|
2070
|
-
reconcileCommentsFromV2: ({ superdoc, adapter, documentId, items, preparedInputs, hydrationGeneration, }?: {
|
|
2133
|
+
applyReviewWindowFromV2: ({ superdoc, commentsAdapter, trackedChangesAdapter, documentId, commentItems, trackedChangeItems, requestedCommentIds, requestedTrackedChangeIds, unresolvedCommentIds, trackedList, sourceCoverageRevision, evaluatedRevision, patch, }?: {}) => any;
|
|
2134
|
+
reconcileCommentsFromV2: ({ superdoc, adapter, documentId, items, preparedInputs, pruneStale, hydrationGeneration, }?: {
|
|
2071
2135
|
preparedInputs?: null | undefined;
|
|
2136
|
+
pruneStale?: boolean | undefined;
|
|
2072
2137
|
}) => any;
|
|
2073
2138
|
isV2EditorActive: (superdoc: any) => boolean;
|
|
2074
2139
|
replyCommentV2: ({ superdoc, parentCommentId, text }?: {}) => Promise<any>;
|
|
@@ -2079,12 +2144,10 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
2079
2144
|
setV2TrackedChangesAdapter: (adapter: any) => void;
|
|
2080
2145
|
getV2TrackedChangesAdapter: (superdoc: any) => any;
|
|
2081
2146
|
getV2TrackedChangeRowCount: (documentId?: null) => number;
|
|
2082
|
-
|
|
2083
|
-
trackedChangesListMode?: string | undefined;
|
|
2084
|
-
}) => Promise<any>;
|
|
2085
|
-
reconcileTrackedChangeMutationFromV2: ({ superdoc, adapter, documentId, upsertIds, removedIds, allResolved, }?: {
|
|
2147
|
+
reconcileTrackedChangeMutationFromV2: ({ superdoc, adapter, documentId, upsertIds, removedIds, remappedPairs, allResolved, }?: {
|
|
2086
2148
|
upsertIds?: never[] | undefined;
|
|
2087
2149
|
removedIds?: never[] | undefined;
|
|
2150
|
+
remappedPairs?: never[] | undefined;
|
|
2088
2151
|
}) => Promise<{
|
|
2089
2152
|
ok: boolean;
|
|
2090
2153
|
reason: string;
|
|
@@ -2093,7 +2156,7 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
2093
2156
|
unresolvedIds?: undefined;
|
|
2094
2157
|
allResolved?: undefined;
|
|
2095
2158
|
removedRows?: undefined;
|
|
2096
|
-
|
|
2159
|
+
removedIds?: undefined;
|
|
2097
2160
|
} | {
|
|
2098
2161
|
ok: boolean;
|
|
2099
2162
|
items: never[];
|
|
@@ -2102,32 +2165,25 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
2102
2165
|
allResolved: boolean;
|
|
2103
2166
|
removedRows: any;
|
|
2104
2167
|
reason?: undefined;
|
|
2105
|
-
|
|
2168
|
+
removedIds?: undefined;
|
|
2106
2169
|
} | {
|
|
2107
2170
|
ok: boolean;
|
|
2108
2171
|
items: never[];
|
|
2109
2172
|
resolvedIds: never[];
|
|
2110
|
-
unresolvedIds: never[];
|
|
2111
|
-
reason?: undefined;
|
|
2112
|
-
allResolved?: undefined;
|
|
2113
|
-
removedRows?: undefined;
|
|
2114
|
-
failures?: undefined;
|
|
2115
|
-
} | {
|
|
2116
|
-
ok: boolean;
|
|
2117
|
-
items: any[];
|
|
2118
|
-
resolvedIds: (string | null)[];
|
|
2119
2173
|
unresolvedIds: (string | null)[];
|
|
2120
|
-
|
|
2174
|
+
removedIds: (string | null)[];
|
|
2121
2175
|
reason?: undefined;
|
|
2122
2176
|
allResolved?: undefined;
|
|
2123
2177
|
removedRows?: undefined;
|
|
2124
2178
|
}>;
|
|
2125
|
-
reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale, preparedParams, hydrationGeneration, }?: {
|
|
2179
|
+
reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale, preparedParams, liveIds: suppliedLiveIds, liveAnchorKeys: suppliedLiveAnchorKeys, hydrationGeneration, }?: {
|
|
2126
2180
|
pruneStale?: boolean | undefined;
|
|
2127
2181
|
preparedParams?: null | undefined;
|
|
2182
|
+
liveIds?: null | undefined;
|
|
2183
|
+
liveAnchorKeys?: null | undefined;
|
|
2128
2184
|
}) => any;
|
|
2129
2185
|
remapTrackedChangeIdentities: (pairs?: any[], { documentId }?: {}) => void;
|
|
2130
|
-
}, "getConfig" | "documentsWithConverations" | "getGroupedComments" | "hasOpenTrackedChanges" | "getCommentsByPosition" | "getFloatingComments" | "getFloatingCommentInstances" | "isViewingMode" | "shouldRenderReviewInViewing">, Pick<{
|
|
2186
|
+
}, "getConfig" | "documentsWithConverations" | "getGroupedComments" | "getGroupedReviewDirectory" | "hasOpenTrackedChanges" | "getCommentsByPosition" | "getFloatingComments" | "getFloatingCommentInstances" | "isViewingMode" | "shouldRenderReviewInViewing">, Pick<{
|
|
2131
2187
|
COMMENT_EVENTS: {
|
|
2132
2188
|
readonly RESOLVED: "resolved";
|
|
2133
2189
|
readonly NEW: "new";
|
|
@@ -2153,7 +2209,10 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
2153
2209
|
pendingComment: import('vue').Ref<null, null>;
|
|
2154
2210
|
currentCommentText: import('vue').Ref<string, string>;
|
|
2155
2211
|
commentsList: import('vue').Ref<never[], never[]>;
|
|
2212
|
+
reviewDirectoryList: import('vue').ShallowRef<never[], never[]>;
|
|
2156
2213
|
isCommentsListVisible: import('vue').Ref<boolean, boolean>;
|
|
2214
|
+
isReviewDirectoryActive: import('vue').Ref<boolean, boolean>;
|
|
2215
|
+
isReviewDirectoryLoading: import('vue').Ref<boolean, boolean>;
|
|
2157
2216
|
generalCommentIds: import('vue').Ref<never[], never[]>;
|
|
2158
2217
|
editorCommentIds: import('vue').Ref<never[], never[]>;
|
|
2159
2218
|
commentsParentElement: import('vue').Ref<null, null>;
|
|
@@ -2179,6 +2238,10 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
2179
2238
|
parentComments: any[];
|
|
2180
2239
|
resolvedComments: any[];
|
|
2181
2240
|
}>;
|
|
2241
|
+
getGroupedReviewDirectory: import('vue').ComputedRef<{
|
|
2242
|
+
parentComments: any[];
|
|
2243
|
+
resolvedComments: any[];
|
|
2244
|
+
}>;
|
|
2182
2245
|
hasOpenTrackedChanges: import('vue').ComputedRef<boolean>;
|
|
2183
2246
|
getCommentsByPosition: import('vue').ComputedRef<{
|
|
2184
2247
|
parentComments: any[];
|
|
@@ -2275,6 +2338,19 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
2275
2338
|
removePendingComment: (superdoc: any) => void;
|
|
2276
2339
|
cancelImportedTrackedChangeBootstrap: (documentId: string | null | undefined) => number;
|
|
2277
2340
|
removeCommentsForDocument: (documentId: string | null | undefined) => void;
|
|
2341
|
+
setReviewDirectoryFromV2: ({ superdoc, commentItems, trackedChangeItems }?: {
|
|
2342
|
+
commentItems?: never[] | undefined;
|
|
2343
|
+
trackedChangeItems?: never[] | undefined;
|
|
2344
|
+
}) => {
|
|
2345
|
+
ok: boolean;
|
|
2346
|
+
reason: string;
|
|
2347
|
+
count?: undefined;
|
|
2348
|
+
} | {
|
|
2349
|
+
ok: boolean;
|
|
2350
|
+
count: number;
|
|
2351
|
+
reason?: undefined;
|
|
2352
|
+
};
|
|
2353
|
+
clearReviewDirectory: () => void;
|
|
2278
2354
|
processLoadedDocxComments: ({ superdoc, editor, comments, documentId, replacedFile }: {
|
|
2279
2355
|
comments: any[];
|
|
2280
2356
|
documentId: string;
|
|
@@ -2314,14 +2390,10 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
2314
2390
|
v2CommentsAdapter: import('vue').ShallowRef<null, null>;
|
|
2315
2391
|
setV2CommentsAdapter: (adapter: any) => void;
|
|
2316
2392
|
getV2CommentsAdapter: (superdoc: any) => any;
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
supersedeV2ReviewHydration: ({ commentsAdapter, trackedChangesAdapter }?: {}) => {
|
|
2320
|
-
commentsGeneration: any;
|
|
2321
|
-
trackedChangesGeneration: any;
|
|
2322
|
-
};
|
|
2323
|
-
reconcileCommentsFromV2: ({ superdoc, adapter, documentId, items, preparedInputs, hydrationGeneration, }?: {
|
|
2393
|
+
applyReviewWindowFromV2: ({ superdoc, commentsAdapter, trackedChangesAdapter, documentId, commentItems, trackedChangeItems, requestedCommentIds, requestedTrackedChangeIds, unresolvedCommentIds, trackedList, sourceCoverageRevision, evaluatedRevision, patch, }?: {}) => any;
|
|
2394
|
+
reconcileCommentsFromV2: ({ superdoc, adapter, documentId, items, preparedInputs, pruneStale, hydrationGeneration, }?: {
|
|
2324
2395
|
preparedInputs?: null | undefined;
|
|
2396
|
+
pruneStale?: boolean | undefined;
|
|
2325
2397
|
}) => any;
|
|
2326
2398
|
isV2EditorActive: (superdoc: any) => boolean;
|
|
2327
2399
|
replyCommentV2: ({ superdoc, parentCommentId, text }?: {}) => Promise<any>;
|
|
@@ -2332,12 +2404,10 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
2332
2404
|
setV2TrackedChangesAdapter: (adapter: any) => void;
|
|
2333
2405
|
getV2TrackedChangesAdapter: (superdoc: any) => any;
|
|
2334
2406
|
getV2TrackedChangeRowCount: (documentId?: null) => number;
|
|
2335
|
-
|
|
2336
|
-
trackedChangesListMode?: string | undefined;
|
|
2337
|
-
}) => Promise<any>;
|
|
2338
|
-
reconcileTrackedChangeMutationFromV2: ({ superdoc, adapter, documentId, upsertIds, removedIds, allResolved, }?: {
|
|
2407
|
+
reconcileTrackedChangeMutationFromV2: ({ superdoc, adapter, documentId, upsertIds, removedIds, remappedPairs, allResolved, }?: {
|
|
2339
2408
|
upsertIds?: never[] | undefined;
|
|
2340
2409
|
removedIds?: never[] | undefined;
|
|
2410
|
+
remappedPairs?: never[] | undefined;
|
|
2341
2411
|
}) => Promise<{
|
|
2342
2412
|
ok: boolean;
|
|
2343
2413
|
reason: string;
|
|
@@ -2346,7 +2416,7 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
2346
2416
|
unresolvedIds?: undefined;
|
|
2347
2417
|
allResolved?: undefined;
|
|
2348
2418
|
removedRows?: undefined;
|
|
2349
|
-
|
|
2419
|
+
removedIds?: undefined;
|
|
2350
2420
|
} | {
|
|
2351
2421
|
ok: boolean;
|
|
2352
2422
|
items: never[];
|
|
@@ -2355,32 +2425,25 @@ export const useSuperdocStore: import('pinia').StoreDefinition<"superdoc", Pick<
|
|
|
2355
2425
|
allResolved: boolean;
|
|
2356
2426
|
removedRows: any;
|
|
2357
2427
|
reason?: undefined;
|
|
2358
|
-
|
|
2428
|
+
removedIds?: undefined;
|
|
2359
2429
|
} | {
|
|
2360
2430
|
ok: boolean;
|
|
2361
2431
|
items: never[];
|
|
2362
2432
|
resolvedIds: never[];
|
|
2363
|
-
unresolvedIds: never[];
|
|
2364
|
-
reason?: undefined;
|
|
2365
|
-
allResolved?: undefined;
|
|
2366
|
-
removedRows?: undefined;
|
|
2367
|
-
failures?: undefined;
|
|
2368
|
-
} | {
|
|
2369
|
-
ok: boolean;
|
|
2370
|
-
items: any[];
|
|
2371
|
-
resolvedIds: (string | null)[];
|
|
2372
2433
|
unresolvedIds: (string | null)[];
|
|
2373
|
-
|
|
2434
|
+
removedIds: (string | null)[];
|
|
2374
2435
|
reason?: undefined;
|
|
2375
2436
|
allResolved?: undefined;
|
|
2376
2437
|
removedRows?: undefined;
|
|
2377
2438
|
}>;
|
|
2378
|
-
reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale, preparedParams, hydrationGeneration, }?: {
|
|
2439
|
+
reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale, preparedParams, liveIds: suppliedLiveIds, liveAnchorKeys: suppliedLiveAnchorKeys, hydrationGeneration, }?: {
|
|
2379
2440
|
pruneStale?: boolean | undefined;
|
|
2380
2441
|
preparedParams?: null | undefined;
|
|
2442
|
+
liveIds?: null | undefined;
|
|
2443
|
+
liveAnchorKeys?: null | undefined;
|
|
2381
2444
|
}) => any;
|
|
2382
2445
|
remapTrackedChangeIdentities: (pairs?: any[], { documentId }?: {}) => void;
|
|
2383
|
-
}, "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" | "
|
|
2446
|
+
}, "getCommentAliasIds" | "getTrackedChangeThread" | "getCommentPositionKey" | "getCommentPosition" | "getCommentAnchoredText" | "getCommentAnchorData" | "resolveCommentPositionEntry" | "getCommentDocumentId" | "belongsToDocument" | "init" | "setViewingVisibility" | "getComment" | "setActiveComment" | "getCommentLocation" | "hasOverlapId" | "getPendingComment" | "showAddComment" | "addComment" | "addHydratedComment" | "cancelComment" | "deleteComment" | "removePendingComment" | "cancelImportedTrackedChangeBootstrap" | "removeCommentsForDocument" | "setReviewDirectoryFromV2" | "clearReviewDirectory" | "processLoadedDocxComments" | "translateCommentsForExport" | "handleEditorLocationsUpdate" | "clearEditorCommentPositions" | "handleTrackedChangeUpdate" | "refreshTrackedChangeCommentsByIds" | "syncResolvedCommentsWithDocument" | "syncTrackedChangePositionsWithDocument" | "setActiveFloatingCommentInstance" | "requestInstantSidebarAlignment" | "peekInstantSidebarAlignment" | "clearInstantSidebarAlignment" | "syncTrackedChangeComments" | "decideTrackedChangeFromSidebar" | "setV2CommentsAdapter" | "getV2CommentsAdapter" | "applyReviewWindowFromV2" | "reconcileCommentsFromV2" | "isV2EditorActive" | "replyCommentV2" | "editCommentV2" | "resolveCommentV2" | "reopenCommentV2" | "setV2TrackedChangesAdapter" | "getV2TrackedChangesAdapter" | "getV2TrackedChangeRowCount" | "reconcileTrackedChangeMutationFromV2" | "reconcileTrackedChangesFromV2" | "remapTrackedChangeIdentities">>;
|
|
2384
2447
|
documents: import('vue').Ref<any[], any[]>;
|
|
2385
2448
|
documentBounds: import('vue').Ref<never[], never[]>;
|
|
2386
2449
|
pages: {};
|