superdoc 2.28.0-next.17 → 2.28.0-next.19

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.
Files changed (37) hide show
  1. package/dist/chunks/{create-super-doc-ui-CAfcpwSS.es.js → create-super-doc-ui-BEB7RtD6.es.js} +63 -3
  2. package/dist/chunks/{create-super-doc-ui-CXdsObDZ.cjs → create-super-doc-ui-DNe9BmHD.cjs} +68 -2
  3. package/dist/collaboration-upgrade-engine.cjs +1 -1
  4. package/dist/collaboration-upgrade-engine.es.js +1 -1
  5. package/dist/document-api/src/contract/operation-definitions.d.ts +1 -1
  6. package/dist/document-api/src/lists/lists.types.d.ts +1 -0
  7. package/dist/document-api/src/sections/sections.types.d.ts +5 -1
  8. package/dist/document-api/src/types/receipt.d.ts +1 -0
  9. package/dist/layout-engine/contracts/src/index.d.ts +2 -0
  10. package/dist/layout-engine/layout-bridge/src/index.d.ts +1 -0
  11. package/dist/layout-engine/layout-bridge/src/place-inline-drawings.d.ts +9 -0
  12. package/dist/layout-engine/layout-engine/src/layout-drawing.d.ts +2 -1
  13. package/dist/public/ui-react.cjs +1 -1
  14. package/dist/public/ui-react.es.js +1 -1
  15. package/dist/public/ui-vue.cjs +1 -1
  16. package/dist/public/ui-vue.es.js +1 -1
  17. package/dist/public/ui.cjs +1 -1
  18. package/dist/public/ui.es.js +1 -1
  19. package/dist/style.css +1 -1
  20. package/dist/style.layered.css +1 -1
  21. package/dist/superdoc/src/components/CommentsLayer/FloatingComments.vue.d.ts +11 -0
  22. package/dist/superdoc/src/components/CommentsLayer/PdfCommentsLayer.vue.d.ts +4 -0
  23. package/dist/superdoc/src/composables/use-superdoc-instance.d.ts +7 -0
  24. package/dist/superdoc/src/internal/toolbar/built-in/constants.d.ts +0 -48
  25. package/dist/superdoc/src/internal/toolbar/built-in-toolbar.d.ts +1 -0
  26. package/dist/superdoc/src/internal/toolbar/compatibility-catalog.d.ts +16 -0
  27. package/dist/superdoc/src/public/ui/types.d.ts +20 -0
  28. package/dist/superdoc/src/public/ui.d.cts +8 -0
  29. package/dist/superdoc/src/public/ui.d.ts +1 -1
  30. package/dist/superdoc/src/stores/comments-store.d.ts +4 -37
  31. package/dist/superdoc/src/stores/superdoc-store.d.ts +12 -111
  32. package/dist/superdoc.cjs +110 -206
  33. package/dist/superdoc.es.js +277 -11468
  34. package/dist-cdn/style.layered.css +1 -1
  35. package/dist-cdn/superdoc.min.css +1 -1
  36. package/dist-cdn/superdoc.min.js +40 -40
  37. package/package.json +4 -3
@@ -31,6 +31,21 @@ export interface BuiltInToolbarItemEntry {
31
31
  */
32
32
  readonly note?: string;
33
33
  }
34
+ export declare const TABLE_ACTION_COMMAND_IDS_BY_OPTION: {
35
+ readonly addRowBefore: "table-add-row-before";
36
+ readonly addRowAfter: "table-add-row-after";
37
+ readonly deleteRow: "table-delete-row";
38
+ readonly addColumnBefore: "table-add-column-before";
39
+ readonly addColumnAfter: "table-add-column-after";
40
+ readonly deleteColumn: "table-delete-column";
41
+ readonly deleteTable: "table-delete";
42
+ readonly deleteCellAndTableBorders: "table-remove-borders";
43
+ readonly mergeCells: "table-merge-cells";
44
+ readonly splitCell: "table-split-cell";
45
+ readonly fixTables: "table-fix";
46
+ };
47
+ export declare const TABLE_ACTION_COMMAND_IDS: readonly string[];
48
+ export declare function tableActionCommandId(option: string): string | undefined;
34
49
  /**
35
50
  * The built-in toolbar compatibility catalog. Order groups items the way the
36
51
  * docs present them; it is documentation-only.
@@ -51,6 +66,7 @@ export declare function listBuiltInToolbarItemsByGroup(group: ToolbarGroup): Bui
51
66
  * id, or `null` when the item is not controller-routed.
52
67
  */
53
68
  export declare function resolveToolbarCommandId(name: string): string | null;
69
+ export declare function resolveBuiltInItemCommandId(name: string): string | null;
54
70
  /**
55
71
  * Cross-check the catalog against the V2 command controller catalog so the two
56
72
  * cannot drift. Throws on the first inconsistency. Exercised by the unit tests;
@@ -671,6 +671,12 @@ export interface ZoomSlice {
671
671
  /** @deprecated Fit-width upper bound alias. Use `fitWidth.max`; this does not limit manual zoom. */
672
672
  max: number;
673
673
  }
674
+ export interface HistorySlice {
675
+ canUndo: boolean;
676
+ canRedo: boolean;
677
+ undoDepth: number;
678
+ redoDepth: number;
679
+ }
674
680
  export interface SuperDocDocumentChange {
675
681
  documentEpoch: string;
676
682
  seq: number;
@@ -1230,6 +1236,7 @@ export interface ToolbarHandle extends SnapshotSubscribable<ToolbarSnapshotSlice
1230
1236
  /** Execute a toolbar command by id and await its settled result. */
1231
1237
  executeAsync(id: ToolbarCommandId, payload?: unknown): Promise<CommandExecutionResult>;
1232
1238
  }
1239
+ export type HistoryHandle = SnapshotSubscribable<HistorySlice>;
1233
1240
  /** Zoom handle. */
1234
1241
  export interface ZoomHandle extends SnapshotSubscribable<ZoomSlice> {
1235
1242
  /** Set an absolute zoom percentage (100 = 100%). */
@@ -1252,7 +1259,18 @@ export interface DocumentHandle extends SnapshotSubscribable<DocumentSlice> {
1252
1259
  /** Replace mounted content. Operational errors reject; an unavailable host returns `ok: false`. */
1253
1260
  replaceDocument(file: File | Blob | ArrayBuffer | Uint8Array): Promise<DocumentReplacementResult>;
1254
1261
  onChange(listener: (change: SuperDocDocumentChange) => void): () => void;
1262
+ getVersion(): DocumentVersion | null;
1263
+ markClean(version?: DocumentVersion): DocumentMarkCleanResult;
1255
1264
  }
1265
+ export type DocumentVersion = string & {
1266
+ readonly __documentVersion: unique symbol;
1267
+ };
1268
+ export type DocumentMarkCleanResult = {
1269
+ ok: true;
1270
+ } | {
1271
+ ok: false;
1272
+ reason: 'document-changed' | 'unavailable';
1273
+ };
1256
1274
  export interface ScopedDocumentHandle {
1257
1275
  onChange(listener: (change: SuperDocDocumentChange) => void): () => void;
1258
1276
  }
@@ -1606,6 +1624,7 @@ export interface SuperDocUIState {
1606
1624
  contentControls: ContentControlsSlice;
1607
1625
  /** Zoom slice. */
1608
1626
  zoom: ZoomSlice;
1627
+ history: HistorySlice;
1609
1628
  /** Fonts slice. */
1610
1629
  fonts: FontsSlice;
1611
1630
  /** Styles slice (read-only catalogue + active paragraph style). */
@@ -1668,6 +1687,7 @@ export interface SuperDocUI {
1668
1687
  readonly fonts: FontsHandle;
1669
1688
  /** Zoom surface. */
1670
1689
  readonly zoom: ZoomHandle;
1690
+ readonly history: HistoryHandle;
1671
1691
  /** Document surface. */
1672
1692
  readonly document: DocumentHandle;
1673
1693
  /** Viewport / geometry surface. */
@@ -39,15 +39,19 @@ import type { DocumentApi as __Cjs_DocumentApi } from './ui.js' with { "resoluti
39
39
  import type { DocumentApiRejectionDetails as __Cjs_DocumentApiRejectionDetails } from './ui.js' with { "resolution-mode": "import" };
40
40
  import type { DocumentApiRejectionReason as __Cjs_DocumentApiRejectionReason } from './ui.js' with { "resolution-mode": "import" };
41
41
  import type { DocumentHandle as __Cjs_DocumentHandle } from './ui.js' with { "resolution-mode": "import" };
42
+ import type { DocumentMarkCleanResult as __Cjs_DocumentMarkCleanResult } from './ui.js' with { "resolution-mode": "import" };
42
43
  import type { DocumentReplacementResult as __Cjs_DocumentReplacementResult } from './ui.js' with { "resolution-mode": "import" };
43
44
  import type { DocumentSlice as __Cjs_DocumentSlice } from './ui.js' with { "resolution-mode": "import" };
44
45
  import type { DocumentStoryLocator as __Cjs_DocumentStoryLocator } from './ui.js' with { "resolution-mode": "import" };
46
+ import type { DocumentVersion as __Cjs_DocumentVersion } from './ui.js' with { "resolution-mode": "import" };
45
47
  import type { EntityAddress as __Cjs_EntityAddress } from './ui.js' with { "resolution-mode": "import" };
46
48
  import type { EqualityFn as __Cjs_EqualityFn } from './ui.js' with { "resolution-mode": "import" };
47
49
  import type { FontFamilyOption as __Cjs_FontFamilyOption } from './ui.js' with { "resolution-mode": "import" };
48
50
  import type { FontsHandle as __Cjs_FontsHandle } from './ui.js' with { "resolution-mode": "import" };
49
51
  import type { FontSizeOption as __Cjs_FontSizeOption } from './ui.js' with { "resolution-mode": "import" };
50
52
  import type { FontsSlice as __Cjs_FontsSlice } from './ui.js' with { "resolution-mode": "import" };
53
+ import type { HistoryHandle as __Cjs_HistoryHandle } from './ui.js' with { "resolution-mode": "import" };
54
+ import type { HistorySlice as __Cjs_HistorySlice } from './ui.js' with { "resolution-mode": "import" };
51
55
  import type { MetadataHandle as __Cjs_MetadataHandle } from './ui.js' with { "resolution-mode": "import" };
52
56
  import type { OperationCall as __Cjs_OperationCall } from './ui.js' with { "resolution-mode": "import" };
53
57
  import type { OperationCapabilityResolveResult as __Cjs_OperationCapabilityResolveResult } from './ui.js' with { "resolution-mode": "import" };
@@ -194,9 +198,11 @@ export type { __Cjs_DocumentApi as DocumentApi };
194
198
  export type { __Cjs_DocumentApiRejectionDetails as DocumentApiRejectionDetails };
195
199
  export type { __Cjs_DocumentApiRejectionReason as DocumentApiRejectionReason };
196
200
  export type { __Cjs_DocumentHandle as DocumentHandle };
201
+ export type { __Cjs_DocumentMarkCleanResult as DocumentMarkCleanResult };
197
202
  export type { __Cjs_DocumentReplacementResult as DocumentReplacementResult };
198
203
  export type { __Cjs_DocumentSlice as DocumentSlice };
199
204
  export type { __Cjs_DocumentStoryLocator as DocumentStoryLocator };
205
+ export type { __Cjs_DocumentVersion as DocumentVersion };
200
206
  export type { __Cjs_EntityAddress as EntityAddress };
201
207
  export type { __Cjs_EqualityFn as EqualityFn };
202
208
  export type { __Cjs_FontFamilyOption as FontFamilyOption };
@@ -204,6 +210,8 @@ export type { __Cjs_FontsHandle as FontsHandle };
204
210
  export type { __Cjs_FontSizeOption as FontSizeOption };
205
211
  export type { __Cjs_FontsSlice as FontsSlice };
206
212
  export declare const getDocumentApiRejectionReason: typeof import('./ui.js', { with: { "resolution-mode": "import" } }).getDocumentApiRejectionReason;
213
+ export type { __Cjs_HistoryHandle as HistoryHandle };
214
+ export type { __Cjs_HistorySlice as HistorySlice };
207
215
  export type { __Cjs_MetadataHandle as MetadataHandle };
208
216
  export type { __Cjs_OperationCall as OperationCall };
209
217
  export type { __Cjs_OperationCapabilityResolveResult as OperationCapabilityResolveResult };
@@ -18,5 +18,5 @@ export { createSuperDocUI } from './ui/create-super-doc-ui.js';
18
18
  export { getDocumentApiRejectionReason } from './ui/rejection-reasons.js';
19
19
  export { shallowEqual } from './ui/equality.js';
20
20
  export { BUILT_IN_COMMAND_IDS } from './ui/commands.js';
21
- export type { EqualityFn, SelectorFn, Subscribable, SuperDocUI, BorrowedSuperDocUI, SuperDocUIOptions, SuperDocUIState, SuperDocUIScope, SuperDocLike, SuperDocEditorLike, CommandHandle, CommandState, CommandExecutionResult, WorkflowReceipt, WorkflowActionResult, WorkflowScrollResult, SelectionRestoreResult, SuperDocUIReason, CommandId, CommandsHandle, ContextMenuItem, ContextMenuHandle, WatermarkHandle, SearchController, SearchHandle, SearchQueryOptions, CustomCommandContext, CustomCommandHandle, CustomCommandHandleState, CustomCommandRegistration, CustomCommandRegistrationResult, MetadataHandle, SelectionHandle, TablesHandle, TableContextInfo, ToolbarHandle, BuiltInCommandId, ToolbarCommandId, CommentsHandle, TrackChangesHandle, ContentControlsHandle, BookmarksHandle, BookmarkAddress, ContentControlFocusResult, ContentControlHighlightResult, FontsHandle, ZoomHandle, DocumentHandle, DocumentReplacementResult, SuperDocDocumentChange, ScopedDocumentHandle, ViewportHandle, DecorationsHandle, DecorationPointerEvent, StylesHandle, StylesUpdateToMatchSelectionInput, ActiveParagraphStyle, SliceStatus, SelectionSlice, SelectionCapture, CommentAnchorCapture, ToolbarSnapshotSlice, CommentsSlice, TrackChangesSlice, ContentControlsSlice, FontsSlice, ZoomSlice, DocumentSlice, StylesSlice, SearchSnapshot, SearchSlice, StyleCatalogView, StyleCatalogItemType, StyleCatalogFilterType, StyleProvenance, StyleCatalogItemVisibility, StyleCatalogItemUsage, StyleCatalogItemPreview, StyleCatalogItem, StyleCatalogDefaults, StyleCatalogDiagnostic, StyleCatalogSourceStatus, StylesGetCatalogInput, StylesGetCatalogResult, CommentInfo, CommentsListQuery, TrackChangeInfo, TrackChangePointHit, TrackChangesItem, FontFamilyOption, FontSizeOption, CommentAddress, TrackedChangeAddress, ContentControlViewportAddress, ViewportEntityAddress, ViewportEntityHit, ViewportContext, ViewportRect, ViewportGetRectInput, ViewportGetRectTarget, ViewportGetRectsInput, ViewportGetRectsResult, ViewportRectResult, BrowserDocumentApi, PartialBrowserDocumentApi, DocumentApi, Receipt, DocumentApiRejectionReason, DocumentApiRejectionDetails, TextRangeRejectionReason, ContentControlCreationRejectionReason, SelectionInfo, SelectionTarget, SelectionPoint, TextTarget, TextAddress, ScrollIntoViewInput, ScrollIntoViewOutput, EntityAddress, CommentsListResult, TrackChangesListResult, ContentControlsListResult, ContentControlInfo, ContentControlTarget, RichContentInsertInput, OperationCapabilityResolveResult, SDHtmlMarkdownSupportCheckResult, PictureWatermarkInput, RetainedPictureWatermarkInput, TextWatermark, WatermarkInfo, WatermarkTarget, WatermarksApplyInput, WatermarksApplyResult, WatermarksApplySuccess, WatermarksApplyTarget, TemporaryMutationOperation, TemporaryOperationResultTarget, TemporaryOperationEffects, TemporaryMutationInput, TemporaryMutationReplaceInput, TemporaryMutationHandleInput, TemporaryMutationReceipt, DocumentStoryLocator, OperationId, OperationCall, OperationInput, OperationOptions, OperationOutput, } from './ui/types.js';
21
+ export type { EqualityFn, SelectorFn, Subscribable, SuperDocUI, BorrowedSuperDocUI, SuperDocUIOptions, SuperDocUIState, SuperDocUIScope, SuperDocLike, SuperDocEditorLike, CommandHandle, CommandState, CommandExecutionResult, WorkflowReceipt, WorkflowActionResult, WorkflowScrollResult, SelectionRestoreResult, SuperDocUIReason, CommandId, CommandsHandle, ContextMenuItem, ContextMenuHandle, WatermarkHandle, SearchController, SearchHandle, SearchQueryOptions, CustomCommandContext, CustomCommandHandle, CustomCommandHandleState, CustomCommandRegistration, CustomCommandRegistrationResult, MetadataHandle, SelectionHandle, TablesHandle, TableContextInfo, ToolbarHandle, BuiltInCommandId, ToolbarCommandId, CommentsHandle, TrackChangesHandle, ContentControlsHandle, BookmarksHandle, BookmarkAddress, ContentControlFocusResult, ContentControlHighlightResult, FontsHandle, ZoomHandle, HistoryHandle, DocumentHandle, DocumentReplacementResult, SuperDocDocumentChange, DocumentVersion, DocumentMarkCleanResult, ScopedDocumentHandle, ViewportHandle, DecorationsHandle, DecorationPointerEvent, StylesHandle, StylesUpdateToMatchSelectionInput, ActiveParagraphStyle, SliceStatus, SelectionSlice, SelectionCapture, CommentAnchorCapture, ToolbarSnapshotSlice, CommentsSlice, TrackChangesSlice, ContentControlsSlice, FontsSlice, ZoomSlice, HistorySlice, DocumentSlice, StylesSlice, SearchSnapshot, SearchSlice, StyleCatalogView, StyleCatalogItemType, StyleCatalogFilterType, StyleProvenance, StyleCatalogItemVisibility, StyleCatalogItemUsage, StyleCatalogItemPreview, StyleCatalogItem, StyleCatalogDefaults, StyleCatalogDiagnostic, StyleCatalogSourceStatus, StylesGetCatalogInput, StylesGetCatalogResult, CommentInfo, CommentsListQuery, TrackChangeInfo, TrackChangePointHit, TrackChangesItem, FontFamilyOption, FontSizeOption, CommentAddress, TrackedChangeAddress, ContentControlViewportAddress, ViewportEntityAddress, ViewportEntityHit, ViewportContext, ViewportRect, ViewportGetRectInput, ViewportGetRectTarget, ViewportGetRectsInput, ViewportGetRectsResult, ViewportRectResult, BrowserDocumentApi, PartialBrowserDocumentApi, DocumentApi, Receipt, DocumentApiRejectionReason, DocumentApiRejectionDetails, TextRangeRejectionReason, ContentControlCreationRejectionReason, SelectionInfo, SelectionTarget, SelectionPoint, TextTarget, TextAddress, ScrollIntoViewInput, ScrollIntoViewOutput, EntityAddress, CommentsListResult, TrackChangesListResult, ContentControlsListResult, ContentControlInfo, ContentControlTarget, RichContentInsertInput, OperationCapabilityResolveResult, SDHtmlMarkdownSupportCheckResult, PictureWatermarkInput, RetainedPictureWatermarkInput, TextWatermark, WatermarkInfo, WatermarkTarget, WatermarksApplyInput, WatermarksApplyResult, WatermarksApplySuccess, WatermarksApplyTarget, TemporaryMutationOperation, TemporaryOperationResultTarget, TemporaryOperationEffects, TemporaryMutationInput, TemporaryMutationReplaceInput, TemporaryMutationHandleInput, TemporaryMutationReceipt, DocumentStoryLocator, OperationId, OperationCall, OperationInput, OperationOptions, OperationOutput, } from './ui/types.js';
22
22
  export type { PageMetricsHandle, PageMetricsSnapshot, PageMetricsPage, PageBodyTarget } from './ui/page-metrics.js';
@@ -78,17 +78,6 @@ export const useCommentsStore: import('pinia').StoreDefinition<"comments", Pick<
78
78
  getTrackedChangeThread: (parentComment: any) => any[] | readonly never[];
79
79
  getCommentPositionKey: (commentOrId: Object | string | null | undefined) => string | null;
80
80
  getCommentPosition: (commentOrId: Object | string) => Object | null;
81
- getCommentAnchoredText: (commentOrId: Object | string, options?: {
82
- separator?: string | undefined;
83
- trim?: boolean | undefined;
84
- }) => string | null;
85
- getCommentAnchorData: (commentOrId: Object | string, options?: {
86
- separator?: string | undefined;
87
- trim?: boolean | undefined;
88
- }) => {
89
- position: Object;
90
- anchoredText: string | null;
91
- } | null;
92
81
  resolveCommentPositionEntry: (commentOrId: any, preferredId: any) => {
93
82
  key: string | null;
94
83
  entry: any;
@@ -158,7 +147,7 @@ export const useCommentsStore: import('pinia').StoreDefinition<"comments", Pick<
158
147
  superdoc: Object;
159
148
  params: Object;
160
149
  }) => void;
161
- syncResolvedCommentsWithDocument: ({ editor }?: {}) => number;
150
+ syncResolvedCommentsWithDocument: () => number;
162
151
  setActiveFloatingCommentInstance: (instanceId?: null) => void;
163
152
  requestInstantSidebarAlignment: (targetY?: null, threadId?: null, instanceId?: null) => void;
164
153
  peekInstantSidebarAlignment: () => null;
@@ -327,17 +316,6 @@ export const useCommentsStore: import('pinia').StoreDefinition<"comments", Pick<
327
316
  getTrackedChangeThread: (parentComment: any) => any[] | readonly never[];
328
317
  getCommentPositionKey: (commentOrId: Object | string | null | undefined) => string | null;
329
318
  getCommentPosition: (commentOrId: Object | string) => Object | null;
330
- getCommentAnchoredText: (commentOrId: Object | string, options?: {
331
- separator?: string | undefined;
332
- trim?: boolean | undefined;
333
- }) => string | null;
334
- getCommentAnchorData: (commentOrId: Object | string, options?: {
335
- separator?: string | undefined;
336
- trim?: boolean | undefined;
337
- }) => {
338
- position: Object;
339
- anchoredText: string | null;
340
- } | null;
341
319
  resolveCommentPositionEntry: (commentOrId: any, preferredId: any) => {
342
320
  key: string | null;
343
321
  entry: any;
@@ -407,7 +385,7 @@ export const useCommentsStore: import('pinia').StoreDefinition<"comments", Pick<
407
385
  superdoc: Object;
408
386
  params: Object;
409
387
  }) => void;
410
- syncResolvedCommentsWithDocument: ({ editor }?: {}) => number;
388
+ syncResolvedCommentsWithDocument: () => number;
411
389
  setActiveFloatingCommentInstance: (instanceId?: null) => void;
412
390
  requestInstantSidebarAlignment: (targetY?: null, threadId?: null, instanceId?: null) => void;
413
391
  peekInstantSidebarAlignment: () => null;
@@ -576,17 +554,6 @@ export const useCommentsStore: import('pinia').StoreDefinition<"comments", Pick<
576
554
  getTrackedChangeThread: (parentComment: any) => any[] | readonly never[];
577
555
  getCommentPositionKey: (commentOrId: Object | string | null | undefined) => string | null;
578
556
  getCommentPosition: (commentOrId: Object | string) => Object | null;
579
- getCommentAnchoredText: (commentOrId: Object | string, options?: {
580
- separator?: string | undefined;
581
- trim?: boolean | undefined;
582
- }) => string | null;
583
- getCommentAnchorData: (commentOrId: Object | string, options?: {
584
- separator?: string | undefined;
585
- trim?: boolean | undefined;
586
- }) => {
587
- position: Object;
588
- anchoredText: string | null;
589
- } | null;
590
557
  resolveCommentPositionEntry: (commentOrId: any, preferredId: any) => {
591
558
  key: string | null;
592
559
  entry: any;
@@ -656,7 +623,7 @@ export const useCommentsStore: import('pinia').StoreDefinition<"comments", Pick<
656
623
  superdoc: Object;
657
624
  params: Object;
658
625
  }) => void;
659
- syncResolvedCommentsWithDocument: ({ editor }?: {}) => number;
626
+ syncResolvedCommentsWithDocument: () => number;
660
627
  setActiveFloatingCommentInstance: (instanceId?: null) => void;
661
628
  requestInstantSidebarAlignment: (targetY?: null, threadId?: null, instanceId?: null) => void;
662
629
  peekInstantSidebarAlignment: () => null;
@@ -745,4 +712,4 @@ export const useCommentsStore: import('pinia').StoreDefinition<"comments", Pick<
745
712
  liveAnchorKeys?: null | undefined;
746
713
  }) => any;
747
714
  remapTrackedChangeIdentities: (pairs?: any[], { documentId }?: {}) => void;
748
- }, "getCommentAliasIds" | "getTrackedChangeThread" | "getCommentPositionKey" | "getCommentPosition" | "getCommentAnchoredText" | "getCommentAnchorData" | "resolveCommentPositionEntry" | "getCommentDocumentId" | "belongsToDocument" | "init" | "setViewingVisibility" | "getComment" | "setActiveComment" | "getCommentLocation" | "hasOverlapId" | "getPendingComment" | "showAddComment" | "addComment" | "addHydratedComment" | "cancelComment" | "deleteComment" | "removePendingComment" | "removeCommentsForDocument" | "setReviewDirectoryFromV2" | "clearReviewDirectory" | "handleEditorLocationsUpdate" | "clearEditorCommentPositions" | "handleTrackedChangeUpdate" | "syncResolvedCommentsWithDocument" | "setActiveFloatingCommentInstance" | "requestInstantSidebarAlignment" | "peekInstantSidebarAlignment" | "clearInstantSidebarAlignment" | "decideTrackedChangeFromSidebar" | "setV2CommentsAdapter" | "getV2CommentsAdapter" | "applyReviewWindowFromV2" | "reconcileCommentsFromV2" | "announceV2CommentCreated" | "dropCommentsFromMutationImpact" | "isV2EditorActive" | "replyCommentV2" | "editCommentV2" | "resolveCommentV2" | "reopenCommentV2" | "setV2TrackedChangesAdapter" | "getV2TrackedChangesAdapter" | "getV2TrackedChangeRowCount" | "reconcileTrackedChangeMutationFromV2" | "reconcileTrackedChangesFromV2" | "remapTrackedChangeIdentities">>;
715
+ }, "getCommentAliasIds" | "getTrackedChangeThread" | "getCommentPositionKey" | "getCommentPosition" | "resolveCommentPositionEntry" | "getCommentDocumentId" | "belongsToDocument" | "init" | "setViewingVisibility" | "getComment" | "setActiveComment" | "getCommentLocation" | "hasOverlapId" | "getPendingComment" | "showAddComment" | "addComment" | "addHydratedComment" | "cancelComment" | "deleteComment" | "removePendingComment" | "removeCommentsForDocument" | "setReviewDirectoryFromV2" | "clearReviewDirectory" | "handleEditorLocationsUpdate" | "clearEditorCommentPositions" | "handleTrackedChangeUpdate" | "syncResolvedCommentsWithDocument" | "setActiveFloatingCommentInstance" | "requestInstantSidebarAlignment" | "peekInstantSidebarAlignment" | "clearInstantSidebarAlignment" | "decideTrackedChangeFromSidebar" | "setV2CommentsAdapter" | "getV2CommentsAdapter" | "applyReviewWindowFromV2" | "reconcileCommentsFromV2" | "announceV2CommentCreated" | "dropCommentsFromMutationImpact" | "isV2EditorActive" | "replyCommentV2" | "editCommentV2" | "resolveCommentV2" | "reopenCommentV2" | "setV2TrackedChangesAdapter" | "getV2TrackedChangesAdapter" | "getV2TrackedChangeRowCount" | "reconcileTrackedChangeMutationFromV2" | "reconcileTrackedChangesFromV2" | "remapTrackedChangeIdentities">>;
@@ -107,17 +107,6 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
107
107
  getTrackedChangeThread: (parentComment: any) => any[] | readonly never[];
108
108
  getCommentPositionKey: (commentOrId: Object | string | null | undefined) => string | null;
109
109
  getCommentPosition: (commentOrId: Object | string) => Object | null;
110
- getCommentAnchoredText: (commentOrId: Object | string, options?: {
111
- separator?: string | undefined;
112
- trim?: boolean | undefined;
113
- }) => string | null;
114
- getCommentAnchorData: (commentOrId: Object | string, options?: {
115
- separator?: string | undefined;
116
- trim?: boolean | undefined;
117
- }) => {
118
- position: Object;
119
- anchoredText: string | null;
120
- } | null;
121
110
  resolveCommentPositionEntry: (commentOrId: any, preferredId: any) => {
122
111
  key: string | null;
123
112
  entry: any;
@@ -187,7 +176,7 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
187
176
  superdoc: Object;
188
177
  params: Object;
189
178
  }) => void;
190
- syncResolvedCommentsWithDocument: ({ editor }?: {}) => number;
179
+ syncResolvedCommentsWithDocument: () => number;
191
180
  setActiveFloatingCommentInstance: (instanceId?: null) => void;
192
181
  requestInstantSidebarAlignment: (targetY?: null, threadId?: null, instanceId?: null) => void;
193
182
  peekInstantSidebarAlignment: () => null;
@@ -356,17 +345,6 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
356
345
  getTrackedChangeThread: (parentComment: any) => any[] | readonly never[];
357
346
  getCommentPositionKey: (commentOrId: Object | string | null | undefined) => string | null;
358
347
  getCommentPosition: (commentOrId: Object | string) => Object | null;
359
- getCommentAnchoredText: (commentOrId: Object | string, options?: {
360
- separator?: string | undefined;
361
- trim?: boolean | undefined;
362
- }) => string | null;
363
- getCommentAnchorData: (commentOrId: Object | string, options?: {
364
- separator?: string | undefined;
365
- trim?: boolean | undefined;
366
- }) => {
367
- position: Object;
368
- anchoredText: string | null;
369
- } | null;
370
348
  resolveCommentPositionEntry: (commentOrId: any, preferredId: any) => {
371
349
  key: string | null;
372
350
  entry: any;
@@ -436,7 +414,7 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
436
414
  superdoc: Object;
437
415
  params: Object;
438
416
  }) => void;
439
- syncResolvedCommentsWithDocument: ({ editor }?: {}) => number;
417
+ syncResolvedCommentsWithDocument: () => number;
440
418
  setActiveFloatingCommentInstance: (instanceId?: null) => void;
441
419
  requestInstantSidebarAlignment: (targetY?: null, threadId?: null, instanceId?: null) => void;
442
420
  peekInstantSidebarAlignment: () => null;
@@ -605,17 +583,6 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
605
583
  getTrackedChangeThread: (parentComment: any) => any[] | readonly never[];
606
584
  getCommentPositionKey: (commentOrId: Object | string | null | undefined) => string | null;
607
585
  getCommentPosition: (commentOrId: Object | string) => Object | null;
608
- getCommentAnchoredText: (commentOrId: Object | string, options?: {
609
- separator?: string | undefined;
610
- trim?: boolean | undefined;
611
- }) => string | null;
612
- getCommentAnchorData: (commentOrId: Object | string, options?: {
613
- separator?: string | undefined;
614
- trim?: boolean | undefined;
615
- }) => {
616
- position: Object;
617
- anchoredText: string | null;
618
- } | null;
619
586
  resolveCommentPositionEntry: (commentOrId: any, preferredId: any) => {
620
587
  key: string | null;
621
588
  entry: any;
@@ -685,7 +652,7 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
685
652
  superdoc: Object;
686
653
  params: Object;
687
654
  }) => void;
688
- syncResolvedCommentsWithDocument: ({ editor }?: {}) => number;
655
+ syncResolvedCommentsWithDocument: () => number;
689
656
  setActiveFloatingCommentInstance: (instanceId?: null) => void;
690
657
  requestInstantSidebarAlignment: (targetY?: null, threadId?: null, instanceId?: null) => void;
691
658
  peekInstantSidebarAlignment: () => null;
@@ -774,7 +741,7 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
774
741
  liveAnchorKeys?: null | undefined;
775
742
  }) => any;
776
743
  remapTrackedChangeIdentities: (pairs?: any[], { documentId }?: {}) => void;
777
- }, "getCommentAliasIds" | "getTrackedChangeThread" | "getCommentPositionKey" | "getCommentPosition" | "getCommentAnchoredText" | "getCommentAnchorData" | "resolveCommentPositionEntry" | "getCommentDocumentId" | "belongsToDocument" | "init" | "setViewingVisibility" | "getComment" | "setActiveComment" | "getCommentLocation" | "hasOverlapId" | "getPendingComment" | "showAddComment" | "addComment" | "addHydratedComment" | "cancelComment" | "deleteComment" | "removePendingComment" | "removeCommentsForDocument" | "setReviewDirectoryFromV2" | "clearReviewDirectory" | "handleEditorLocationsUpdate" | "clearEditorCommentPositions" | "handleTrackedChangeUpdate" | "syncResolvedCommentsWithDocument" | "setActiveFloatingCommentInstance" | "requestInstantSidebarAlignment" | "peekInstantSidebarAlignment" | "clearInstantSidebarAlignment" | "decideTrackedChangeFromSidebar" | "setV2CommentsAdapter" | "getV2CommentsAdapter" | "applyReviewWindowFromV2" | "reconcileCommentsFromV2" | "announceV2CommentCreated" | "dropCommentsFromMutationImpact" | "isV2EditorActive" | "replyCommentV2" | "editCommentV2" | "resolveCommentV2" | "reopenCommentV2" | "setV2TrackedChangesAdapter" | "getV2TrackedChangesAdapter" | "getV2TrackedChangeRowCount" | "reconcileTrackedChangeMutationFromV2" | "reconcileTrackedChangesFromV2" | "remapTrackedChangeIdentities">>;
744
+ }, "getCommentAliasIds" | "getTrackedChangeThread" | "getCommentPositionKey" | "getCommentPosition" | "resolveCommentPositionEntry" | "getCommentDocumentId" | "belongsToDocument" | "init" | "setViewingVisibility" | "getComment" | "setActiveComment" | "getCommentLocation" | "hasOverlapId" | "getPendingComment" | "showAddComment" | "addComment" | "addHydratedComment" | "cancelComment" | "deleteComment" | "removePendingComment" | "removeCommentsForDocument" | "setReviewDirectoryFromV2" | "clearReviewDirectory" | "handleEditorLocationsUpdate" | "clearEditorCommentPositions" | "handleTrackedChangeUpdate" | "syncResolvedCommentsWithDocument" | "setActiveFloatingCommentInstance" | "requestInstantSidebarAlignment" | "peekInstantSidebarAlignment" | "clearInstantSidebarAlignment" | "decideTrackedChangeFromSidebar" | "setV2CommentsAdapter" | "getV2CommentsAdapter" | "applyReviewWindowFromV2" | "reconcileCommentsFromV2" | "announceV2CommentCreated" | "dropCommentsFromMutationImpact" | "isV2EditorActive" | "replyCommentV2" | "editCommentV2" | "resolveCommentV2" | "reopenCommentV2" | "setV2TrackedChangesAdapter" | "getV2TrackedChangesAdapter" | "getV2TrackedChangeRowCount" | "reconcileTrackedChangeMutationFromV2" | "reconcileTrackedChangesFromV2" | "remapTrackedChangeIdentities">>;
778
745
  documents: Ref<StoreDocument[], StoreDocument[]>;
779
746
  documentBounds: Ref<unknown[], unknown[]>;
780
747
  pages: Record<string, PageEntry[]>;
@@ -885,17 +852,6 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
885
852
  getTrackedChangeThread: (parentComment: any) => any[] | readonly never[];
886
853
  getCommentPositionKey: (commentOrId: Object | string | null | undefined) => string | null;
887
854
  getCommentPosition: (commentOrId: Object | string) => Object | null;
888
- getCommentAnchoredText: (commentOrId: Object | string, options?: {
889
- separator?: string | undefined;
890
- trim?: boolean | undefined;
891
- }) => string | null;
892
- getCommentAnchorData: (commentOrId: Object | string, options?: {
893
- separator?: string | undefined;
894
- trim?: boolean | undefined;
895
- }) => {
896
- position: Object;
897
- anchoredText: string | null;
898
- } | null;
899
855
  resolveCommentPositionEntry: (commentOrId: any, preferredId: any) => {
900
856
  key: string | null;
901
857
  entry: any;
@@ -965,7 +921,7 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
965
921
  superdoc: Object;
966
922
  params: Object;
967
923
  }) => void;
968
- syncResolvedCommentsWithDocument: ({ editor }?: {}) => number;
924
+ syncResolvedCommentsWithDocument: () => number;
969
925
  setActiveFloatingCommentInstance: (instanceId?: null) => void;
970
926
  requestInstantSidebarAlignment: (targetY?: null, threadId?: null, instanceId?: null) => void;
971
927
  peekInstantSidebarAlignment: () => null;
@@ -1134,17 +1090,6 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
1134
1090
  getTrackedChangeThread: (parentComment: any) => any[] | readonly never[];
1135
1091
  getCommentPositionKey: (commentOrId: Object | string | null | undefined) => string | null;
1136
1092
  getCommentPosition: (commentOrId: Object | string) => Object | null;
1137
- getCommentAnchoredText: (commentOrId: Object | string, options?: {
1138
- separator?: string | undefined;
1139
- trim?: boolean | undefined;
1140
- }) => string | null;
1141
- getCommentAnchorData: (commentOrId: Object | string, options?: {
1142
- separator?: string | undefined;
1143
- trim?: boolean | undefined;
1144
- }) => {
1145
- position: Object;
1146
- anchoredText: string | null;
1147
- } | null;
1148
1093
  resolveCommentPositionEntry: (commentOrId: any, preferredId: any) => {
1149
1094
  key: string | null;
1150
1095
  entry: any;
@@ -1214,7 +1159,7 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
1214
1159
  superdoc: Object;
1215
1160
  params: Object;
1216
1161
  }) => void;
1217
- syncResolvedCommentsWithDocument: ({ editor }?: {}) => number;
1162
+ syncResolvedCommentsWithDocument: () => number;
1218
1163
  setActiveFloatingCommentInstance: (instanceId?: null) => void;
1219
1164
  requestInstantSidebarAlignment: (targetY?: null, threadId?: null, instanceId?: null) => void;
1220
1165
  peekInstantSidebarAlignment: () => null;
@@ -1383,17 +1328,6 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
1383
1328
  getTrackedChangeThread: (parentComment: any) => any[] | readonly never[];
1384
1329
  getCommentPositionKey: (commentOrId: Object | string | null | undefined) => string | null;
1385
1330
  getCommentPosition: (commentOrId: Object | string) => Object | null;
1386
- getCommentAnchoredText: (commentOrId: Object | string, options?: {
1387
- separator?: string | undefined;
1388
- trim?: boolean | undefined;
1389
- }) => string | null;
1390
- getCommentAnchorData: (commentOrId: Object | string, options?: {
1391
- separator?: string | undefined;
1392
- trim?: boolean | undefined;
1393
- }) => {
1394
- position: Object;
1395
- anchoredText: string | null;
1396
- } | null;
1397
1331
  resolveCommentPositionEntry: (commentOrId: any, preferredId: any) => {
1398
1332
  key: string | null;
1399
1333
  entry: any;
@@ -1463,7 +1397,7 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
1463
1397
  superdoc: Object;
1464
1398
  params: Object;
1465
1399
  }) => void;
1466
- syncResolvedCommentsWithDocument: ({ editor }?: {}) => number;
1400
+ syncResolvedCommentsWithDocument: () => number;
1467
1401
  setActiveFloatingCommentInstance: (instanceId?: null) => void;
1468
1402
  requestInstantSidebarAlignment: (targetY?: null, threadId?: null, instanceId?: null) => void;
1469
1403
  peekInstantSidebarAlignment: () => null;
@@ -1552,7 +1486,7 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
1552
1486
  liveAnchorKeys?: null | undefined;
1553
1487
  }) => any;
1554
1488
  remapTrackedChangeIdentities: (pairs?: any[], { documentId }?: {}) => void;
1555
- }, "getCommentAliasIds" | "getTrackedChangeThread" | "getCommentPositionKey" | "getCommentPosition" | "getCommentAnchoredText" | "getCommentAnchorData" | "resolveCommentPositionEntry" | "getCommentDocumentId" | "belongsToDocument" | "init" | "setViewingVisibility" | "getComment" | "setActiveComment" | "getCommentLocation" | "hasOverlapId" | "getPendingComment" | "showAddComment" | "addComment" | "addHydratedComment" | "cancelComment" | "deleteComment" | "removePendingComment" | "removeCommentsForDocument" | "setReviewDirectoryFromV2" | "clearReviewDirectory" | "handleEditorLocationsUpdate" | "clearEditorCommentPositions" | "handleTrackedChangeUpdate" | "syncResolvedCommentsWithDocument" | "setActiveFloatingCommentInstance" | "requestInstantSidebarAlignment" | "peekInstantSidebarAlignment" | "clearInstantSidebarAlignment" | "decideTrackedChangeFromSidebar" | "setV2CommentsAdapter" | "getV2CommentsAdapter" | "applyReviewWindowFromV2" | "reconcileCommentsFromV2" | "announceV2CommentCreated" | "dropCommentsFromMutationImpact" | "isV2EditorActive" | "replyCommentV2" | "editCommentV2" | "resolveCommentV2" | "reopenCommentV2" | "setV2TrackedChangesAdapter" | "getV2TrackedChangesAdapter" | "getV2TrackedChangeRowCount" | "reconcileTrackedChangeMutationFromV2" | "reconcileTrackedChangesFromV2" | "remapTrackedChangeIdentities">>;
1489
+ }, "getCommentAliasIds" | "getTrackedChangeThread" | "getCommentPositionKey" | "getCommentPosition" | "resolveCommentPositionEntry" | "getCommentDocumentId" | "belongsToDocument" | "init" | "setViewingVisibility" | "getComment" | "setActiveComment" | "getCommentLocation" | "hasOverlapId" | "getPendingComment" | "showAddComment" | "addComment" | "addHydratedComment" | "cancelComment" | "deleteComment" | "removePendingComment" | "removeCommentsForDocument" | "setReviewDirectoryFromV2" | "clearReviewDirectory" | "handleEditorLocationsUpdate" | "clearEditorCommentPositions" | "handleTrackedChangeUpdate" | "syncResolvedCommentsWithDocument" | "setActiveFloatingCommentInstance" | "requestInstantSidebarAlignment" | "peekInstantSidebarAlignment" | "clearInstantSidebarAlignment" | "decideTrackedChangeFromSidebar" | "setV2CommentsAdapter" | "getV2CommentsAdapter" | "applyReviewWindowFromV2" | "reconcileCommentsFromV2" | "announceV2CommentCreated" | "dropCommentsFromMutationImpact" | "isV2EditorActive" | "replyCommentV2" | "editCommentV2" | "resolveCommentV2" | "reopenCommentV2" | "setV2TrackedChangesAdapter" | "getV2TrackedChangesAdapter" | "getV2TrackedChangeRowCount" | "reconcileTrackedChangeMutationFromV2" | "reconcileTrackedChangesFromV2" | "remapTrackedChangeIdentities">>;
1556
1490
  documents: Ref<StoreDocument[], StoreDocument[]>;
1557
1491
  documentBounds: Ref<unknown[], unknown[]>;
1558
1492
  pages: Record<string, PageEntry[]>;
@@ -1663,17 +1597,6 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
1663
1597
  getTrackedChangeThread: (parentComment: any) => any[] | readonly never[];
1664
1598
  getCommentPositionKey: (commentOrId: Object | string | null | undefined) => string | null;
1665
1599
  getCommentPosition: (commentOrId: Object | string) => Object | null;
1666
- getCommentAnchoredText: (commentOrId: Object | string, options?: {
1667
- separator?: string | undefined;
1668
- trim?: boolean | undefined;
1669
- }) => string | null;
1670
- getCommentAnchorData: (commentOrId: Object | string, options?: {
1671
- separator?: string | undefined;
1672
- trim?: boolean | undefined;
1673
- }) => {
1674
- position: Object;
1675
- anchoredText: string | null;
1676
- } | null;
1677
1600
  resolveCommentPositionEntry: (commentOrId: any, preferredId: any) => {
1678
1601
  key: string | null;
1679
1602
  entry: any;
@@ -1743,7 +1666,7 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
1743
1666
  superdoc: Object;
1744
1667
  params: Object;
1745
1668
  }) => void;
1746
- syncResolvedCommentsWithDocument: ({ editor }?: {}) => number;
1669
+ syncResolvedCommentsWithDocument: () => number;
1747
1670
  setActiveFloatingCommentInstance: (instanceId?: null) => void;
1748
1671
  requestInstantSidebarAlignment: (targetY?: null, threadId?: null, instanceId?: null) => void;
1749
1672
  peekInstantSidebarAlignment: () => null;
@@ -1912,17 +1835,6 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
1912
1835
  getTrackedChangeThread: (parentComment: any) => any[] | readonly never[];
1913
1836
  getCommentPositionKey: (commentOrId: Object | string | null | undefined) => string | null;
1914
1837
  getCommentPosition: (commentOrId: Object | string) => Object | null;
1915
- getCommentAnchoredText: (commentOrId: Object | string, options?: {
1916
- separator?: string | undefined;
1917
- trim?: boolean | undefined;
1918
- }) => string | null;
1919
- getCommentAnchorData: (commentOrId: Object | string, options?: {
1920
- separator?: string | undefined;
1921
- trim?: boolean | undefined;
1922
- }) => {
1923
- position: Object;
1924
- anchoredText: string | null;
1925
- } | null;
1926
1838
  resolveCommentPositionEntry: (commentOrId: any, preferredId: any) => {
1927
1839
  key: string | null;
1928
1840
  entry: any;
@@ -1992,7 +1904,7 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
1992
1904
  superdoc: Object;
1993
1905
  params: Object;
1994
1906
  }) => void;
1995
- syncResolvedCommentsWithDocument: ({ editor }?: {}) => number;
1907
+ syncResolvedCommentsWithDocument: () => number;
1996
1908
  setActiveFloatingCommentInstance: (instanceId?: null) => void;
1997
1909
  requestInstantSidebarAlignment: (targetY?: null, threadId?: null, instanceId?: null) => void;
1998
1910
  peekInstantSidebarAlignment: () => null;
@@ -2161,17 +2073,6 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
2161
2073
  getTrackedChangeThread: (parentComment: any) => any[] | readonly never[];
2162
2074
  getCommentPositionKey: (commentOrId: Object | string | null | undefined) => string | null;
2163
2075
  getCommentPosition: (commentOrId: Object | string) => Object | null;
2164
- getCommentAnchoredText: (commentOrId: Object | string, options?: {
2165
- separator?: string | undefined;
2166
- trim?: boolean | undefined;
2167
- }) => string | null;
2168
- getCommentAnchorData: (commentOrId: Object | string, options?: {
2169
- separator?: string | undefined;
2170
- trim?: boolean | undefined;
2171
- }) => {
2172
- position: Object;
2173
- anchoredText: string | null;
2174
- } | null;
2175
2076
  resolveCommentPositionEntry: (commentOrId: any, preferredId: any) => {
2176
2077
  key: string | null;
2177
2078
  entry: any;
@@ -2241,7 +2142,7 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
2241
2142
  superdoc: Object;
2242
2143
  params: Object;
2243
2144
  }) => void;
2244
- syncResolvedCommentsWithDocument: ({ editor }?: {}) => number;
2145
+ syncResolvedCommentsWithDocument: () => number;
2245
2146
  setActiveFloatingCommentInstance: (instanceId?: null) => void;
2246
2147
  requestInstantSidebarAlignment: (targetY?: null, threadId?: null, instanceId?: null) => void;
2247
2148
  peekInstantSidebarAlignment: () => null;
@@ -2330,7 +2231,7 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
2330
2231
  liveAnchorKeys?: null | undefined;
2331
2232
  }) => any;
2332
2233
  remapTrackedChangeIdentities: (pairs?: any[], { documentId }?: {}) => void;
2333
- }, "getCommentAliasIds" | "getTrackedChangeThread" | "getCommentPositionKey" | "getCommentPosition" | "getCommentAnchoredText" | "getCommentAnchorData" | "resolveCommentPositionEntry" | "getCommentDocumentId" | "belongsToDocument" | "init" | "setViewingVisibility" | "getComment" | "setActiveComment" | "getCommentLocation" | "hasOverlapId" | "getPendingComment" | "showAddComment" | "addComment" | "addHydratedComment" | "cancelComment" | "deleteComment" | "removePendingComment" | "removeCommentsForDocument" | "setReviewDirectoryFromV2" | "clearReviewDirectory" | "handleEditorLocationsUpdate" | "clearEditorCommentPositions" | "handleTrackedChangeUpdate" | "syncResolvedCommentsWithDocument" | "setActiveFloatingCommentInstance" | "requestInstantSidebarAlignment" | "peekInstantSidebarAlignment" | "clearInstantSidebarAlignment" | "decideTrackedChangeFromSidebar" | "setV2CommentsAdapter" | "getV2CommentsAdapter" | "applyReviewWindowFromV2" | "reconcileCommentsFromV2" | "announceV2CommentCreated" | "dropCommentsFromMutationImpact" | "isV2EditorActive" | "replyCommentV2" | "editCommentV2" | "resolveCommentV2" | "reopenCommentV2" | "setV2TrackedChangesAdapter" | "getV2TrackedChangesAdapter" | "getV2TrackedChangeRowCount" | "reconcileTrackedChangeMutationFromV2" | "reconcileTrackedChangesFromV2" | "remapTrackedChangeIdentities">>;
2234
+ }, "getCommentAliasIds" | "getTrackedChangeThread" | "getCommentPositionKey" | "getCommentPosition" | "resolveCommentPositionEntry" | "getCommentDocumentId" | "belongsToDocument" | "init" | "setViewingVisibility" | "getComment" | "setActiveComment" | "getCommentLocation" | "hasOverlapId" | "getPendingComment" | "showAddComment" | "addComment" | "addHydratedComment" | "cancelComment" | "deleteComment" | "removePendingComment" | "removeCommentsForDocument" | "setReviewDirectoryFromV2" | "clearReviewDirectory" | "handleEditorLocationsUpdate" | "clearEditorCommentPositions" | "handleTrackedChangeUpdate" | "syncResolvedCommentsWithDocument" | "setActiveFloatingCommentInstance" | "requestInstantSidebarAlignment" | "peekInstantSidebarAlignment" | "clearInstantSidebarAlignment" | "decideTrackedChangeFromSidebar" | "setV2CommentsAdapter" | "getV2CommentsAdapter" | "applyReviewWindowFromV2" | "reconcileCommentsFromV2" | "announceV2CommentCreated" | "dropCommentsFromMutationImpact" | "isV2EditorActive" | "replyCommentV2" | "editCommentV2" | "resolveCommentV2" | "reopenCommentV2" | "setV2TrackedChangesAdapter" | "getV2TrackedChangesAdapter" | "getV2TrackedChangeRowCount" | "reconcileTrackedChangeMutationFromV2" | "reconcileTrackedChangesFromV2" | "remapTrackedChangeIdentities">>;
2334
2235
  documents: Ref<StoreDocument[], StoreDocument[]>;
2335
2236
  documentBounds: Ref<unknown[], unknown[]>;
2336
2237
  pages: Record<string, PageEntry[]>;