superdoc 2.29.0-next.9 → 2.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/{FindReplaceSurface-BKVHzhQ4.es.js → FindReplaceSurface-B_5ggdWg.es.js} +1 -1
- package/dist/chunks/{FindReplaceSurface-BNDrJ6VS.cjs → FindReplaceSurface-fVHxPXtn.cjs} +1 -1
- package/dist/chunks/{PasswordPromptSurface-6mF6Azda.es.js → PasswordPromptSurface-CZqhDQQ1.es.js} +1 -1
- package/dist/chunks/{PasswordPromptSurface-BNkaztaP.cjs → PasswordPromptSurface-x8GNmMJT.cjs} +1 -1
- package/dist/chunks/{PdfViewer-aOWhUVI7.es.js → PdfViewer-CW09MNrB.es.js} +4 -10
- package/dist/chunks/{PdfViewer-DmSkZehl.cjs → PdfViewer-CkrAHpC-.cjs} +4 -10
- package/dist/chunks/{_plugin-vue_export-helper-6MBoygIY.cjs → _plugin-vue_export-helper-BkbCxNeT.cjs} +31 -7
- package/dist/chunks/{_plugin-vue_export-helper-CsJQtMvr.es.js → _plugin-vue_export-helper-DRPRMkeA.es.js} +20 -8
- package/dist/chunks/{create-super-doc-ui-Bm5kmx0W.es.js → create-super-doc-ui-Dc8dQAMc.es.js} +83 -114
- package/dist/chunks/{create-super-doc-ui-DN70aatf.cjs → create-super-doc-ui-L60GhVAX.cjs} +199 -236
- package/dist/collaboration-upgrade-engine.cjs +1 -1
- package/dist/collaboration-upgrade-engine.es.js +1 -1
- package/dist/document-api/src/contract/command-catalog.d.ts +1 -1
- package/dist/public/ui-react.cjs +1 -1
- package/dist/public/ui-react.es.js +1 -1
- package/dist/public/ui-vue.cjs +1 -1
- package/dist/public/ui-vue.es.js +1 -1
- package/dist/public/ui.cjs +1 -1
- package/dist/public/ui.es.js +1 -1
- package/dist/style.css +1 -1
- package/dist/style.layered.css +1 -1
- package/dist/superdoc/src/components/CommentsLayer/collect-removed-comment-ids.d.ts +11 -1
- package/dist/superdoc/src/components/CommentsLayer/collect-tracked-change-thread.d.ts +19 -2
- package/dist/superdoc/src/components/CommentsLayer/comment-urls.d.ts +1 -1
- package/dist/superdoc/src/components/CommentsLayer/commentsList/super-comments-list.d.ts +23 -20
- package/dist/superdoc/src/components/CommentsLayer/helpers.d.ts +1 -4
- package/dist/superdoc/src/components/CommentsLayer/tracked-change-threading.d.ts +16 -1
- package/dist/superdoc/src/components/Whiteboard/WhiteboardLayer.vue.d.ts +4 -5
- package/dist/superdoc/src/components/Whiteboard/WhiteboardPage.vue.d.ts +3 -4
- package/dist/superdoc/src/components/Whiteboard/whiteboard-types.d.ts +2 -0
- package/dist/superdoc/src/components/surfaces/watermark-surface-runtime.d.ts +7 -7
- package/dist/superdoc/src/composables/use-comment-small-screen.d.ts +11 -7
- package/dist/superdoc/src/composables/use-compact-comment-popover.d.ts +44 -18
- package/dist/superdoc/src/composables/use-find-replace.d.ts +13 -3
- package/dist/superdoc/src/composables/use-password-prompt.d.ts +1 -1
- package/dist/superdoc/src/composables/use-viewport-fit.d.ts +62 -26
- package/dist/superdoc/src/core/SuperDoc.d.ts +3 -3
- package/dist/superdoc/src/core/pdf/pdf-adapter.d.ts +6 -2
- package/dist/superdoc/src/core/types/index.d.ts +37 -4
- package/dist/superdoc/src/core/v2-integration/browser-peer-runtime.d.ts +5 -3
- package/dist/superdoc/src/core/v2-integration/cdn-engine-loader.d.ts +3 -13
- package/dist/superdoc/src/core/v2-integration/internal-vue-runtime.d.ts +64 -59
- package/dist/superdoc/src/helpers/object-guards.d.ts +1 -0
- package/dist/superdoc/src/helpers/v2-author-required-rejection.d.ts +8 -11
- package/dist/superdoc/src/helpers/v2-bulk-decision-event.d.ts +9 -7
- package/dist/superdoc/src/helpers/v2-keyboard-edit-rejection.d.ts +8 -7
- package/dist/superdoc/src/helpers/v2-mutation-exception.d.ts +12 -8
- package/dist/superdoc/src/helpers/v2-review-target.d.ts +11 -1
- package/dist/superdoc/src/helpers/v2-selection-sync.d.ts +40 -14
- package/dist/superdoc/src/helpers/v2-typing-mutation-event.d.ts +14 -5
- package/dist/superdoc/src/icons.d.ts +11 -19
- package/dist/superdoc/src/internal/diagnostics/translate-diagnostic.d.ts +6 -4
- package/dist/superdoc/src/internal/toolbar/built-in/PageNumberMenu.vue.d.ts +25 -15
- package/dist/superdoc/src/internal/toolbar/built-in/constants.d.ts +3 -1
- package/dist/superdoc/src/internal/toolbar/built-in/font-options.d.ts +15 -1
- package/dist/superdoc/src/internal/toolbar/built-in/font-typeahead.d.ts +37 -7
- package/dist/superdoc/src/internal/toolbar/built-in/format-negation.d.ts +10 -4
- package/dist/superdoc/src/internal/toolbar/built-in/general.d.ts +12 -1
- package/dist/superdoc/src/internal/toolbar/built-in/helpers.d.ts +9 -4
- package/dist/superdoc/src/internal/toolbar/built-in/list-style-buttons.d.ts +2 -2
- package/dist/superdoc/src/internal/toolbar/built-in/page-number-feedback.d.ts +4 -5
- package/dist/superdoc/src/internal/toolbar/built-in/scroll-helpers.d.ts +3 -4
- package/dist/superdoc/src/internal/toolbar/built-in/toolbarIcons.d.ts +78 -145
- package/dist/superdoc/src/internal/toolbar/built-in/url-safety.d.ts +11 -3
- package/dist/superdoc/src/internal/toolbar/built-in-toolbar.d.ts +4 -3
- package/dist/superdoc/src/internal/toolbar/image-upload.d.ts +29 -39
- package/dist/superdoc/src/public/ui/format-painter-helpers.d.ts +2 -8
- package/dist/superdoc/src/stores/comments-store.d.ts +7 -7
- package/dist/superdoc/src/stores/helpers/comment-document-scope.d.ts +22 -0
- package/dist/superdoc/src/stores/helpers/pending-selection-snapshot.d.ts +17 -0
- package/dist/superdoc/src/stores/helpers/tracked-change-compaction.d.ts +16 -0
- package/dist/superdoc/src/stores/helpers/tracked-change-decision.d.ts +45 -0
- package/dist/superdoc/src/stores/superdoc-store.d.ts +21 -21
- package/dist/superdoc.cjs +423 -464
- package/dist/superdoc.es.js +335 -376
- package/dist-cdn/style.layered.css +1 -1
- package/dist-cdn/superdoc.min.css +1 -1
- package/dist-cdn/superdoc.min.js +41 -41
- package/package.json +3 -2
- package/dist/superdoc/src/main.d.ts +0 -1
|
@@ -120,8 +120,8 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
|
|
|
120
120
|
key: null;
|
|
121
121
|
entry: null;
|
|
122
122
|
};
|
|
123
|
-
getCommentDocumentId: (comment:
|
|
124
|
-
belongsToDocument: (comment:
|
|
123
|
+
getCommentDocumentId: (comment: import('./helpers/comment-document-scope.js').DocumentScopedComment) => string | null;
|
|
124
|
+
belongsToDocument: (comment: import('./helpers/comment-document-scope.js').DocumentScopedComment, activeDocumentId: string | null | undefined, options?: import('./helpers/comment-document-scope.js').BelongsToDocumentOptions) => boolean;
|
|
125
125
|
viewingVisibility: {
|
|
126
126
|
documentMode: string;
|
|
127
127
|
commentsVisible: boolean;
|
|
@@ -441,8 +441,8 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
|
|
|
441
441
|
key: null;
|
|
442
442
|
entry: null;
|
|
443
443
|
};
|
|
444
|
-
getCommentDocumentId: (comment:
|
|
445
|
-
belongsToDocument: (comment:
|
|
444
|
+
getCommentDocumentId: (comment: import('./helpers/comment-document-scope.js').DocumentScopedComment) => string | null;
|
|
445
|
+
belongsToDocument: (comment: import('./helpers/comment-document-scope.js').DocumentScopedComment, activeDocumentId: string | null | undefined, options?: import('./helpers/comment-document-scope.js').BelongsToDocumentOptions) => boolean;
|
|
446
446
|
viewingVisibility: {
|
|
447
447
|
documentMode: string;
|
|
448
448
|
commentsVisible: boolean;
|
|
@@ -762,8 +762,8 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
|
|
|
762
762
|
key: null;
|
|
763
763
|
entry: null;
|
|
764
764
|
};
|
|
765
|
-
getCommentDocumentId: (comment:
|
|
766
|
-
belongsToDocument: (comment:
|
|
765
|
+
getCommentDocumentId: (comment: import('./helpers/comment-document-scope.js').DocumentScopedComment) => string | null;
|
|
766
|
+
belongsToDocument: (comment: import('./helpers/comment-document-scope.js').DocumentScopedComment, activeDocumentId: string | null | undefined, options?: import('./helpers/comment-document-scope.js').BelongsToDocumentOptions) => boolean;
|
|
767
767
|
viewingVisibility: {
|
|
768
768
|
documentMode: string;
|
|
769
769
|
commentsVisible: boolean;
|
|
@@ -990,7 +990,7 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
|
|
|
990
990
|
appliedCount: number;
|
|
991
991
|
} | undefined;
|
|
992
992
|
remapTrackedChangeIdentities: (pairs?: any[], { documentId }?: {}) => void;
|
|
993
|
-
}, "resolveCommentPositionEntry" | "getCommentAliasIds" | "getCommentPositionKey" | "
|
|
993
|
+
}, "resolveCommentPositionEntry" | "getCommentAliasIds" | "getCommentPositionKey" | "belongsToDocument" | "getComment" | "getTrackedChangeThread" | "getCommentPosition" | "getCommentDocumentId" | "init" | "setViewingVisibility" | "setActiveComment" | "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">>;
|
|
994
994
|
documents: Ref<StoreDocument[], StoreDocument[]>;
|
|
995
995
|
documentBounds: Ref<unknown[], unknown[]>;
|
|
996
996
|
pages: Record<string, PageEntry[]>;
|
|
@@ -1114,8 +1114,8 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
|
|
|
1114
1114
|
key: null;
|
|
1115
1115
|
entry: null;
|
|
1116
1116
|
};
|
|
1117
|
-
getCommentDocumentId: (comment:
|
|
1118
|
-
belongsToDocument: (comment:
|
|
1117
|
+
getCommentDocumentId: (comment: import('./helpers/comment-document-scope.js').DocumentScopedComment) => string | null;
|
|
1118
|
+
belongsToDocument: (comment: import('./helpers/comment-document-scope.js').DocumentScopedComment, activeDocumentId: string | null | undefined, options?: import('./helpers/comment-document-scope.js').BelongsToDocumentOptions) => boolean;
|
|
1119
1119
|
viewingVisibility: {
|
|
1120
1120
|
documentMode: string;
|
|
1121
1121
|
commentsVisible: boolean;
|
|
@@ -1435,8 +1435,8 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
|
|
|
1435
1435
|
key: null;
|
|
1436
1436
|
entry: null;
|
|
1437
1437
|
};
|
|
1438
|
-
getCommentDocumentId: (comment:
|
|
1439
|
-
belongsToDocument: (comment:
|
|
1438
|
+
getCommentDocumentId: (comment: import('./helpers/comment-document-scope.js').DocumentScopedComment) => string | null;
|
|
1439
|
+
belongsToDocument: (comment: import('./helpers/comment-document-scope.js').DocumentScopedComment, activeDocumentId: string | null | undefined, options?: import('./helpers/comment-document-scope.js').BelongsToDocumentOptions) => boolean;
|
|
1440
1440
|
viewingVisibility: {
|
|
1441
1441
|
documentMode: string;
|
|
1442
1442
|
commentsVisible: boolean;
|
|
@@ -1756,8 +1756,8 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
|
|
|
1756
1756
|
key: null;
|
|
1757
1757
|
entry: null;
|
|
1758
1758
|
};
|
|
1759
|
-
getCommentDocumentId: (comment:
|
|
1760
|
-
belongsToDocument: (comment:
|
|
1759
|
+
getCommentDocumentId: (comment: import('./helpers/comment-document-scope.js').DocumentScopedComment) => string | null;
|
|
1760
|
+
belongsToDocument: (comment: import('./helpers/comment-document-scope.js').DocumentScopedComment, activeDocumentId: string | null | undefined, options?: import('./helpers/comment-document-scope.js').BelongsToDocumentOptions) => boolean;
|
|
1761
1761
|
viewingVisibility: {
|
|
1762
1762
|
documentMode: string;
|
|
1763
1763
|
commentsVisible: boolean;
|
|
@@ -1984,7 +1984,7 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
|
|
|
1984
1984
|
appliedCount: number;
|
|
1985
1985
|
} | undefined;
|
|
1986
1986
|
remapTrackedChangeIdentities: (pairs?: any[], { documentId }?: {}) => void;
|
|
1987
|
-
}, "resolveCommentPositionEntry" | "getCommentAliasIds" | "getCommentPositionKey" | "
|
|
1987
|
+
}, "resolveCommentPositionEntry" | "getCommentAliasIds" | "getCommentPositionKey" | "belongsToDocument" | "getComment" | "getTrackedChangeThread" | "getCommentPosition" | "getCommentDocumentId" | "init" | "setViewingVisibility" | "setActiveComment" | "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">>;
|
|
1988
1988
|
documents: Ref<StoreDocument[], StoreDocument[]>;
|
|
1989
1989
|
documentBounds: Ref<unknown[], unknown[]>;
|
|
1990
1990
|
pages: Record<string, PageEntry[]>;
|
|
@@ -2108,8 +2108,8 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
|
|
|
2108
2108
|
key: null;
|
|
2109
2109
|
entry: null;
|
|
2110
2110
|
};
|
|
2111
|
-
getCommentDocumentId: (comment:
|
|
2112
|
-
belongsToDocument: (comment:
|
|
2111
|
+
getCommentDocumentId: (comment: import('./helpers/comment-document-scope.js').DocumentScopedComment) => string | null;
|
|
2112
|
+
belongsToDocument: (comment: import('./helpers/comment-document-scope.js').DocumentScopedComment, activeDocumentId: string | null | undefined, options?: import('./helpers/comment-document-scope.js').BelongsToDocumentOptions) => boolean;
|
|
2113
2113
|
viewingVisibility: {
|
|
2114
2114
|
documentMode: string;
|
|
2115
2115
|
commentsVisible: boolean;
|
|
@@ -2429,8 +2429,8 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
|
|
|
2429
2429
|
key: null;
|
|
2430
2430
|
entry: null;
|
|
2431
2431
|
};
|
|
2432
|
-
getCommentDocumentId: (comment:
|
|
2433
|
-
belongsToDocument: (comment:
|
|
2432
|
+
getCommentDocumentId: (comment: import('./helpers/comment-document-scope.js').DocumentScopedComment) => string | null;
|
|
2433
|
+
belongsToDocument: (comment: import('./helpers/comment-document-scope.js').DocumentScopedComment, activeDocumentId: string | null | undefined, options?: import('./helpers/comment-document-scope.js').BelongsToDocumentOptions) => boolean;
|
|
2434
2434
|
viewingVisibility: {
|
|
2435
2435
|
documentMode: string;
|
|
2436
2436
|
commentsVisible: boolean;
|
|
@@ -2750,8 +2750,8 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
|
|
|
2750
2750
|
key: null;
|
|
2751
2751
|
entry: null;
|
|
2752
2752
|
};
|
|
2753
|
-
getCommentDocumentId: (comment:
|
|
2754
|
-
belongsToDocument: (comment:
|
|
2753
|
+
getCommentDocumentId: (comment: import('./helpers/comment-document-scope.js').DocumentScopedComment) => string | null;
|
|
2754
|
+
belongsToDocument: (comment: import('./helpers/comment-document-scope.js').DocumentScopedComment, activeDocumentId: string | null | undefined, options?: import('./helpers/comment-document-scope.js').BelongsToDocumentOptions) => boolean;
|
|
2755
2755
|
viewingVisibility: {
|
|
2756
2756
|
documentMode: string;
|
|
2757
2757
|
commentsVisible: boolean;
|
|
@@ -2978,7 +2978,7 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
|
|
|
2978
2978
|
appliedCount: number;
|
|
2979
2979
|
} | undefined;
|
|
2980
2980
|
remapTrackedChangeIdentities: (pairs?: any[], { documentId }?: {}) => void;
|
|
2981
|
-
}, "resolveCommentPositionEntry" | "getCommentAliasIds" | "getCommentPositionKey" | "
|
|
2981
|
+
}, "resolveCommentPositionEntry" | "getCommentAliasIds" | "getCommentPositionKey" | "belongsToDocument" | "getComment" | "getTrackedChangeThread" | "getCommentPosition" | "getCommentDocumentId" | "init" | "setViewingVisibility" | "setActiveComment" | "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">>;
|
|
2982
2982
|
documents: Ref<StoreDocument[], StoreDocument[]>;
|
|
2983
2983
|
documentBounds: Ref<unknown[], unknown[]>;
|
|
2984
2984
|
pages: Record<string, PageEntry[]>;
|