@harbour-enterprises/superdoc 0.10.69 → 0.10.71

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 (118) hide show
  1. package/dist/chunks/{eventemitter3-Bj3oXrh_.es.js → eventemitter3-DmT5PYHc.es.js} +1 -1
  2. package/dist/chunks/{index-C3fK1Y-u.es.js → index-BN5TDoeo.es.js} +2 -2
  3. package/dist/chunks/{index-B_4G-Rse.es.js → index-BavEbpBI.es.js} +4 -4
  4. package/dist/chunks/{index-CqRwYOdx.cjs → index-DHS2ANjv.cjs} +1 -1
  5. package/dist/chunks/{index-BXKGjuVW.cjs → index-YqE5-6V1.cjs} +1 -1
  6. package/dist/chunks/{jszip-ChtTJmXO.es.js → jszip-Clbt_EEu.es.js} +1 -1
  7. package/dist/chunks/super-editor.es-BeujGZGI.cjs +462 -0
  8. package/dist/chunks/{super-editor.es-DEXTmW_B.es.js → super-editor.es-C-h-154n.es.js} +10121 -9508
  9. package/dist/chunks/{url-D6ObD5O4.es.js → url-BhdilvzC.es.js} +2 -2
  10. package/dist/chunks/{url-6Xu7gR4T.cjs → url-Cqg7fbSS.cjs} +1 -1
  11. package/dist/chunks/{vue-D254cI7X.es.js → vue-B11Xj7yz.es.js} +22 -22
  12. package/dist/chunks/{xml-js-BYiAO46K.es.js → xml-js-DxzxwFYn.es.js} +744 -762
  13. package/dist/chunks/xml-js-Zwb1wsIy.cjs +10 -0
  14. package/dist/style.css +1 -3466
  15. package/dist/super-editor/ai-writer.es.js +1 -1
  16. package/dist/super-editor/chunks/{converter-Dx2Mo3kq.js → converter-DKAFrp3H.js} +1446 -1353
  17. package/dist/super-editor/chunks/{docx-zipper-CfJm-q9M.js → docx-zipper-DpRWSvIy.js} +1 -1
  18. package/dist/super-editor/chunks/{editor-1oKGLBU7.js → editor-Bv24RlYz.js} +6532 -6079
  19. package/dist/super-editor/chunks/{toolbar-DD-s00-5.js → toolbar-DwveODMd.js} +964 -956
  20. package/dist/super-editor/components/toolbar/defaultItems.d.ts.map +1 -1
  21. package/dist/super-editor/components/toolbar/super-toolbar.d.ts +2 -0
  22. package/dist/super-editor/components/toolbar/super-toolbar.d.ts.map +1 -1
  23. package/dist/super-editor/components/toolbar/toolbarIcons.d.ts +1 -0
  24. package/dist/super-editor/components/toolbar/use-toolbar-item.d.ts +1 -0
  25. package/dist/super-editor/components/toolbar/use-toolbar-item.d.ts.map +1 -1
  26. package/dist/super-editor/converter.es.js +1 -1
  27. package/dist/super-editor/core/super-converter/exporter.d.ts.map +1 -1
  28. package/dist/super-editor/core/super-converter/v2/importer/imageImporter.d.ts.map +1 -1
  29. package/dist/super-editor/docx-zipper.es.js +2 -2
  30. package/dist/super-editor/editor.es.js +3 -3
  31. package/dist/super-editor/extensions/field-annotation/field-annotation.d.ts.map +1 -1
  32. package/dist/super-editor/extensions/image/image.d.ts.map +1 -1
  33. package/dist/super-editor/extensions/image/imageHelpers/imagePositionPlugin.d.ts +6 -0
  34. package/dist/super-editor/extensions/image/imageHelpers/imagePositionPlugin.d.ts.map +1 -0
  35. package/dist/super-editor/extensions/index.d.ts +2 -1
  36. package/dist/super-editor/extensions/index.d.ts.map +1 -1
  37. package/dist/super-editor/extensions/search/index.d.ts +2 -0
  38. package/dist/{core → super-editor/extensions/search}/index.d.ts.map +1 -1
  39. package/dist/super-editor/extensions/search/search.d.ts +2 -0
  40. package/dist/super-editor/extensions/search/search.d.ts.map +1 -0
  41. package/dist/super-editor/extensions/table/table.d.ts.map +1 -1
  42. package/dist/super-editor/file-zipper.es.js +1 -1
  43. package/dist/super-editor/style.css +1 -1
  44. package/dist/super-editor/super-editor.es.js +779 -721
  45. package/dist/super-editor/tests/e2e/test-app/dist/assets/index-BTMvkUyI.d.ts +3 -0
  46. package/dist/super-editor/tests/e2e/test-app/dist/assets/index-BTMvkUyI.d.ts.map +1 -0
  47. package/dist/super-editor/tests/e2e/test-app/vite.config.d.ts +1 -1
  48. package/dist/super-editor/toolbar.es.js +2 -2
  49. package/dist/super-editor.cjs +1 -1
  50. package/dist/super-editor.es.js +11 -11
  51. package/dist/superdoc.cjs +58 -58
  52. package/dist/superdoc.es.js +1108 -1075
  53. package/package.json +1 -1
  54. package/dist/chunks/super-editor.es-C1HqQ42x.cjs +0 -459
  55. package/dist/chunks/xml-js-zhwNEV5e.cjs +0 -10
  56. package/dist/components/CommentsLayer/comment-schemas.d.ts +0 -17
  57. package/dist/components/CommentsLayer/comment-schemas.d.ts.map +0 -1
  58. package/dist/components/CommentsLayer/commentsList/super-comments-list.d.ts +0 -22
  59. package/dist/components/CommentsLayer/commentsList/super-comments-list.d.ts.map +0 -1
  60. package/dist/components/CommentsLayer/helpers.d.ts +0 -8
  61. package/dist/components/CommentsLayer/helpers.d.ts.map +0 -1
  62. package/dist/components/CommentsLayer/use-comment.d.ts +0 -8
  63. package/dist/components/CommentsLayer/use-comment.d.ts.map +0 -1
  64. package/dist/components/CommentsLayer/use-conversation.d.ts +0 -23
  65. package/dist/components/CommentsLayer/use-conversation.d.ts.map +0 -1
  66. package/dist/components/CommentsLayer/use-floating-comment.d.ts +0 -12
  67. package/dist/components/CommentsLayer/use-floating-comment.d.ts.map +0 -1
  68. package/dist/components/CommentsLayer/use-tracked-change.d.ts +0 -1
  69. package/dist/components/CommentsLayer/use-tracked-change.d.ts.map +0 -1
  70. package/dist/components/PdfViewer/helpers/pdfjs-worker.d.ts +0 -3
  71. package/dist/components/PdfViewer/helpers/pdfjs-worker.d.ts.map +0 -1
  72. package/dist/components/PdfViewer/helpers/range.d.ts +0 -2
  73. package/dist/components/PdfViewer/helpers/range.d.ts.map +0 -1
  74. package/dist/components/PdfViewer/pdfjs.d.ts +0 -3
  75. package/dist/components/PdfViewer/pdfjs.d.ts.map +0 -1
  76. package/dist/components/PdfViewer/worker.d.ts +0 -3
  77. package/dist/components/PdfViewer/worker.d.ts.map +0 -1
  78. package/dist/composables/use-ai.d.ts +0 -13
  79. package/dist/composables/use-ai.d.ts.map +0 -1
  80. package/dist/composables/use-document.d.ts +0 -28
  81. package/dist/composables/use-document.d.ts.map +0 -1
  82. package/dist/composables/use-field.d.ts +0 -34
  83. package/dist/composables/use-field.d.ts.map +0 -1
  84. package/dist/composables/use-selected-text.d.ts +0 -8
  85. package/dist/composables/use-selected-text.d.ts.map +0 -1
  86. package/dist/core/SuperDoc.d.ts +0 -373
  87. package/dist/core/SuperDoc.d.ts.map +0 -1
  88. package/dist/core/collaboration/collaboration-comments.d.ts +0 -5
  89. package/dist/core/collaboration/collaboration-comments.d.ts.map +0 -1
  90. package/dist/core/collaboration/collaboration.d.ts +0 -27
  91. package/dist/core/collaboration/collaboration.d.ts.map +0 -1
  92. package/dist/core/collaboration/helpers.d.ts +0 -5
  93. package/dist/core/collaboration/helpers.d.ts.map +0 -1
  94. package/dist/core/collaboration/permissions.d.ts +0 -14
  95. package/dist/core/collaboration/permissions.d.ts.map +0 -1
  96. package/dist/core/create-app.d.ts +0 -2
  97. package/dist/core/create-app.d.ts.map +0 -1
  98. package/dist/core/helpers/export.d.ts +0 -3
  99. package/dist/core/helpers/export.d.ts.map +0 -1
  100. package/dist/core/index.d.ts +0 -2
  101. package/dist/helpers/use-selection.d.ts +0 -18
  102. package/dist/helpers/use-selection.d.ts.map +0 -1
  103. package/dist/icons.d.ts +0 -11
  104. package/dist/icons.d.ts.map +0 -1
  105. package/dist/index.d.ts +0 -15
  106. package/dist/index.d.ts.map +0 -1
  107. package/dist/main.d.ts +0 -2
  108. package/dist/main.d.ts.map +0 -1
  109. package/dist/stores/comments-store.d.ts +0 -248
  110. package/dist/stores/comments-store.d.ts.map +0 -1
  111. package/dist/stores/hrbr-fields-store.d.ts +0 -44
  112. package/dist/stores/hrbr-fields-store.d.ts.map +0 -1
  113. package/dist/stores/superdoc-store.d.ts +0 -881
  114. package/dist/stores/superdoc-store.d.ts.map +0 -1
  115. package/dist/super-editor.d.ts +0 -2
  116. package/dist/super-editor.d.ts.map +0 -1
  117. package/dist/superdoc.umd.js +0 -70442
  118. package/dist/superdoc.umd.js.map +0 -1
@@ -1,881 +0,0 @@
1
- export const useSuperdocStore: import("pinia").StoreDefinition<"superdoc", Pick<{
2
- commentsStore: import("pinia").Store<"comments", Pick<{
3
- COMMENT_EVENTS: Readonly<{
4
- RESOLVED: "resolved";
5
- NEW: "new";
6
- ADD: "add";
7
- UPDATE: "update";
8
- DELETED: "deleted";
9
- PENDING: "pending";
10
- SELECTED: "selected";
11
- COMMENTS_LIST: "comments-list";
12
- CHANGE_ACCEPTED: "change-accepted";
13
- CHANGE_REJECTED: "change-rejected";
14
- }>;
15
- isDebugging: boolean;
16
- hasInitializedComments: import("vue").Ref<boolean, boolean>;
17
- hasSyncedCollaborationComments: import("vue").Ref<boolean, boolean>;
18
- editingCommentId: import("vue").Ref<any, any>;
19
- activeComment: import("vue").Ref<any, any>;
20
- commentDialogs: import("vue").Ref<any[], any[]>;
21
- overlappingComments: import("vue").Ref<any[], any[]>;
22
- overlappedIds: Set<any>;
23
- suppressInternalExternal: import("vue").Ref<boolean, boolean>;
24
- pendingComment: import("vue").Ref<any, any>;
25
- currentCommentText: import("vue").Ref<string, string>;
26
- commentsList: import("vue").Ref<any[], any[]>;
27
- isCommentsListVisible: import("vue").Ref<boolean, boolean>;
28
- generalCommentIds: import("vue").Ref<any[], any[]>;
29
- editorCommentIds: import("vue").Ref<any[], any[]>;
30
- commentsParentElement: import("vue").Ref<any, any>;
31
- editorCommentPositions: import("vue").Ref<{}, {}>;
32
- hasInitializedLocations: import("vue").Ref<boolean, boolean>;
33
- floatingCommentsOffset: import("vue").Ref<number, number>;
34
- sortedConversations: import("vue").Ref<any[], any[]>;
35
- visibleConversations: import("vue").Ref<any[], any[]>;
36
- skipSelectionUpdate: import("vue").Ref<boolean, boolean>;
37
- isFloatingCommentsReady: import("vue").Ref<boolean, boolean>;
38
- getConfig: import("vue").ComputedRef<{
39
- name: string;
40
- readOnly: boolean;
41
- allowResolve: boolean;
42
- showResolved: boolean;
43
- }>;
44
- documentsWithConverations: import("vue").ComputedRef<any>;
45
- getGroupedComments: import("vue").ComputedRef<{
46
- parentComments: any[];
47
- resolvedComments: any[];
48
- }>;
49
- getFloatingComments: import("vue").ComputedRef<any[]>;
50
- init: (config?: any) => void;
51
- getComment: (id: string) => any;
52
- setActiveComment: (id: string | undefined | null) => void;
53
- getCommentLocation: (selection: any, parent: any) => {
54
- top: any;
55
- left: any;
56
- };
57
- hasOverlapId: (id: any) => any;
58
- checkOverlaps: (currentElement: any, dialog: any, doc: any) => void;
59
- getPendingComment: ({ selection, documentId, parentCommentId, ...options }: {
60
- selection: any;
61
- documentId: string;
62
- parentCommentId: string;
63
- }) => any;
64
- showAddComment: (superdoc: any) => void;
65
- addComment: ({ superdoc, comment }: {
66
- superdoc: any;
67
- }) => void;
68
- cancelComment: (superdoc: any) => void;
69
- deleteComment: ({ commentId: commentIdToDelete, superdoc }: {
70
- commentId: any;
71
- superdoc: any;
72
- }) => void;
73
- removePendingComment: (superdoc: any) => void;
74
- processLoadedDocxComments: ({ superdoc, editor, comments, documentId }: {
75
- comments: any[];
76
- documentId: string;
77
- }) => void;
78
- translateCommentsForExport: () => any[];
79
- handleEditorLocationsUpdate: (allCommentPositions: any, activeThreadId: any) => void;
80
- handleTrackedChangeUpdate: ({ superdoc, params }: {
81
- superdoc: any;
82
- params: any;
83
- }) => void;
84
- }, "COMMENT_EVENTS" | "isDebugging" | "hasInitializedComments" | "hasSyncedCollaborationComments" | "editingCommentId" | "activeComment" | "commentDialogs" | "overlappingComments" | "overlappedIds" | "suppressInternalExternal" | "pendingComment" | "currentCommentText" | "commentsList" | "isCommentsListVisible" | "generalCommentIds" | "editorCommentIds" | "commentsParentElement" | "editorCommentPositions" | "hasInitializedLocations" | "floatingCommentsOffset" | "sortedConversations" | "visibleConversations" | "skipSelectionUpdate" | "isFloatingCommentsReady">, Pick<{
85
- COMMENT_EVENTS: Readonly<{
86
- RESOLVED: "resolved";
87
- NEW: "new";
88
- ADD: "add";
89
- UPDATE: "update";
90
- DELETED: "deleted";
91
- PENDING: "pending";
92
- SELECTED: "selected";
93
- COMMENTS_LIST: "comments-list";
94
- CHANGE_ACCEPTED: "change-accepted";
95
- CHANGE_REJECTED: "change-rejected";
96
- }>;
97
- isDebugging: boolean;
98
- hasInitializedComments: import("vue").Ref<boolean, boolean>;
99
- hasSyncedCollaborationComments: import("vue").Ref<boolean, boolean>;
100
- editingCommentId: import("vue").Ref<any, any>;
101
- activeComment: import("vue").Ref<any, any>;
102
- commentDialogs: import("vue").Ref<any[], any[]>;
103
- overlappingComments: import("vue").Ref<any[], any[]>;
104
- overlappedIds: Set<any>;
105
- suppressInternalExternal: import("vue").Ref<boolean, boolean>;
106
- pendingComment: import("vue").Ref<any, any>;
107
- currentCommentText: import("vue").Ref<string, string>;
108
- commentsList: import("vue").Ref<any[], any[]>;
109
- isCommentsListVisible: import("vue").Ref<boolean, boolean>;
110
- generalCommentIds: import("vue").Ref<any[], any[]>;
111
- editorCommentIds: import("vue").Ref<any[], any[]>;
112
- commentsParentElement: import("vue").Ref<any, any>;
113
- editorCommentPositions: import("vue").Ref<{}, {}>;
114
- hasInitializedLocations: import("vue").Ref<boolean, boolean>;
115
- floatingCommentsOffset: import("vue").Ref<number, number>;
116
- sortedConversations: import("vue").Ref<any[], any[]>;
117
- visibleConversations: import("vue").Ref<any[], any[]>;
118
- skipSelectionUpdate: import("vue").Ref<boolean, boolean>;
119
- isFloatingCommentsReady: import("vue").Ref<boolean, boolean>;
120
- getConfig: import("vue").ComputedRef<{
121
- name: string;
122
- readOnly: boolean;
123
- allowResolve: boolean;
124
- showResolved: boolean;
125
- }>;
126
- documentsWithConverations: import("vue").ComputedRef<any>;
127
- getGroupedComments: import("vue").ComputedRef<{
128
- parentComments: any[];
129
- resolvedComments: any[];
130
- }>;
131
- getFloatingComments: import("vue").ComputedRef<any[]>;
132
- init: (config?: any) => void;
133
- getComment: (id: string) => any;
134
- setActiveComment: (id: string | undefined | null) => void;
135
- getCommentLocation: (selection: any, parent: any) => {
136
- top: any;
137
- left: any;
138
- };
139
- hasOverlapId: (id: any) => any;
140
- checkOverlaps: (currentElement: any, dialog: any, doc: any) => void;
141
- getPendingComment: ({ selection, documentId, parentCommentId, ...options }: {
142
- selection: any;
143
- documentId: string;
144
- parentCommentId: string;
145
- }) => any;
146
- showAddComment: (superdoc: any) => void;
147
- addComment: ({ superdoc, comment }: {
148
- superdoc: any;
149
- }) => void;
150
- cancelComment: (superdoc: any) => void;
151
- deleteComment: ({ commentId: commentIdToDelete, superdoc }: {
152
- commentId: any;
153
- superdoc: any;
154
- }) => void;
155
- removePendingComment: (superdoc: any) => void;
156
- processLoadedDocxComments: ({ superdoc, editor, comments, documentId }: {
157
- comments: any[];
158
- documentId: string;
159
- }) => void;
160
- translateCommentsForExport: () => any[];
161
- handleEditorLocationsUpdate: (allCommentPositions: any, activeThreadId: any) => void;
162
- handleTrackedChangeUpdate: ({ superdoc, params }: {
163
- superdoc: any;
164
- params: any;
165
- }) => void;
166
- }, "getConfig" | "documentsWithConverations" | "getGroupedComments" | "getFloatingComments">, Pick<{
167
- COMMENT_EVENTS: Readonly<{
168
- RESOLVED: "resolved";
169
- NEW: "new";
170
- ADD: "add";
171
- UPDATE: "update";
172
- DELETED: "deleted";
173
- PENDING: "pending";
174
- SELECTED: "selected";
175
- COMMENTS_LIST: "comments-list";
176
- CHANGE_ACCEPTED: "change-accepted";
177
- CHANGE_REJECTED: "change-rejected";
178
- }>;
179
- isDebugging: boolean;
180
- hasInitializedComments: import("vue").Ref<boolean, boolean>;
181
- hasSyncedCollaborationComments: import("vue").Ref<boolean, boolean>;
182
- editingCommentId: import("vue").Ref<any, any>;
183
- activeComment: import("vue").Ref<any, any>;
184
- commentDialogs: import("vue").Ref<any[], any[]>;
185
- overlappingComments: import("vue").Ref<any[], any[]>;
186
- overlappedIds: Set<any>;
187
- suppressInternalExternal: import("vue").Ref<boolean, boolean>;
188
- pendingComment: import("vue").Ref<any, any>;
189
- currentCommentText: import("vue").Ref<string, string>;
190
- commentsList: import("vue").Ref<any[], any[]>;
191
- isCommentsListVisible: import("vue").Ref<boolean, boolean>;
192
- generalCommentIds: import("vue").Ref<any[], any[]>;
193
- editorCommentIds: import("vue").Ref<any[], any[]>;
194
- commentsParentElement: import("vue").Ref<any, any>;
195
- editorCommentPositions: import("vue").Ref<{}, {}>;
196
- hasInitializedLocations: import("vue").Ref<boolean, boolean>;
197
- floatingCommentsOffset: import("vue").Ref<number, number>;
198
- sortedConversations: import("vue").Ref<any[], any[]>;
199
- visibleConversations: import("vue").Ref<any[], any[]>;
200
- skipSelectionUpdate: import("vue").Ref<boolean, boolean>;
201
- isFloatingCommentsReady: import("vue").Ref<boolean, boolean>;
202
- getConfig: import("vue").ComputedRef<{
203
- name: string;
204
- readOnly: boolean;
205
- allowResolve: boolean;
206
- showResolved: boolean;
207
- }>;
208
- documentsWithConverations: import("vue").ComputedRef<any>;
209
- getGroupedComments: import("vue").ComputedRef<{
210
- parentComments: any[];
211
- resolvedComments: any[];
212
- }>;
213
- getFloatingComments: import("vue").ComputedRef<any[]>;
214
- init: (config?: any) => void;
215
- getComment: (id: string) => any;
216
- setActiveComment: (id: string | undefined | null) => void;
217
- getCommentLocation: (selection: any, parent: any) => {
218
- top: any;
219
- left: any;
220
- };
221
- hasOverlapId: (id: any) => any;
222
- checkOverlaps: (currentElement: any, dialog: any, doc: any) => void;
223
- getPendingComment: ({ selection, documentId, parentCommentId, ...options }: {
224
- selection: any;
225
- documentId: string;
226
- parentCommentId: string;
227
- }) => any;
228
- showAddComment: (superdoc: any) => void;
229
- addComment: ({ superdoc, comment }: {
230
- superdoc: any;
231
- }) => void;
232
- cancelComment: (superdoc: any) => void;
233
- deleteComment: ({ commentId: commentIdToDelete, superdoc }: {
234
- commentId: any;
235
- superdoc: any;
236
- }) => void;
237
- removePendingComment: (superdoc: any) => void;
238
- processLoadedDocxComments: ({ superdoc, editor, comments, documentId }: {
239
- comments: any[];
240
- documentId: string;
241
- }) => void;
242
- translateCommentsForExport: () => any[];
243
- handleEditorLocationsUpdate: (allCommentPositions: any, activeThreadId: any) => void;
244
- handleTrackedChangeUpdate: ({ superdoc, params }: {
245
- superdoc: any;
246
- params: any;
247
- }) => void;
248
- }, "setActiveComment" | "init" | "getComment" | "getCommentLocation" | "hasOverlapId" | "checkOverlaps" | "getPendingComment" | "showAddComment" | "addComment" | "cancelComment" | "deleteComment" | "removePendingComment" | "processLoadedDocxComments" | "translateCommentsForExport" | "handleEditorLocationsUpdate" | "handleTrackedChangeUpdate">>;
249
- documents: import("vue").Ref<any[], any[]>;
250
- documentBounds: import("vue").Ref<any[], any[]>;
251
- pages: {};
252
- documentUsers: import("vue").Ref<any[], any[]>;
253
- users: import("vue").Ref<any[], any[]>;
254
- activeZoom: import("vue").Ref<number, number>;
255
- documentScroll: {
256
- scrollTop: number;
257
- scrollLeft: number;
258
- };
259
- isInternal: import("vue").Ref<boolean, boolean>;
260
- selectionPosition: import("vue").Ref<{
261
- left: number;
262
- top: number;
263
- width: number;
264
- height: number;
265
- source: any;
266
- }, {
267
- left: number;
268
- top: number;
269
- width: number;
270
- height: number;
271
- source: any;
272
- } | {
273
- left: number;
274
- top: number;
275
- width: number;
276
- height: number;
277
- source: any;
278
- }>;
279
- activeSelection: import("vue").Ref<any, any>;
280
- isReady: import("vue").Ref<boolean, boolean>;
281
- user: {
282
- name: any;
283
- email: any;
284
- };
285
- modules: {};
286
- areDocumentsReady: import("vue").ComputedRef<boolean>;
287
- init: (config: any) => Promise<void>;
288
- reset: () => void;
289
- handlePageReady: (documentId: any, index: any, containerBounds: any) => void;
290
- getDocument: (documentId: any) => any;
291
- getPageBounds: (documentId: any, page: any) => {
292
- top: number;
293
- };
294
- }, "user" | "isInternal" | "commentsStore" | "documents" | "documentBounds" | "pages" | "documentUsers" | "users" | "activeZoom" | "documentScroll" | "selectionPosition" | "activeSelection" | "isReady" | "modules">, Pick<{
295
- commentsStore: import("pinia").Store<"comments", Pick<{
296
- COMMENT_EVENTS: Readonly<{
297
- RESOLVED: "resolved";
298
- NEW: "new";
299
- ADD: "add";
300
- UPDATE: "update";
301
- DELETED: "deleted";
302
- PENDING: "pending";
303
- SELECTED: "selected";
304
- COMMENTS_LIST: "comments-list";
305
- CHANGE_ACCEPTED: "change-accepted";
306
- CHANGE_REJECTED: "change-rejected";
307
- }>;
308
- isDebugging: boolean;
309
- hasInitializedComments: import("vue").Ref<boolean, boolean>;
310
- hasSyncedCollaborationComments: import("vue").Ref<boolean, boolean>;
311
- editingCommentId: import("vue").Ref<any, any>;
312
- activeComment: import("vue").Ref<any, any>;
313
- commentDialogs: import("vue").Ref<any[], any[]>;
314
- overlappingComments: import("vue").Ref<any[], any[]>;
315
- overlappedIds: Set<any>;
316
- suppressInternalExternal: import("vue").Ref<boolean, boolean>;
317
- pendingComment: import("vue").Ref<any, any>;
318
- currentCommentText: import("vue").Ref<string, string>;
319
- commentsList: import("vue").Ref<any[], any[]>;
320
- isCommentsListVisible: import("vue").Ref<boolean, boolean>;
321
- generalCommentIds: import("vue").Ref<any[], any[]>;
322
- editorCommentIds: import("vue").Ref<any[], any[]>;
323
- commentsParentElement: import("vue").Ref<any, any>;
324
- editorCommentPositions: import("vue").Ref<{}, {}>;
325
- hasInitializedLocations: import("vue").Ref<boolean, boolean>;
326
- floatingCommentsOffset: import("vue").Ref<number, number>;
327
- sortedConversations: import("vue").Ref<any[], any[]>;
328
- visibleConversations: import("vue").Ref<any[], any[]>;
329
- skipSelectionUpdate: import("vue").Ref<boolean, boolean>;
330
- isFloatingCommentsReady: import("vue").Ref<boolean, boolean>;
331
- getConfig: import("vue").ComputedRef<{
332
- name: string;
333
- readOnly: boolean;
334
- allowResolve: boolean;
335
- showResolved: boolean;
336
- }>;
337
- documentsWithConverations: import("vue").ComputedRef<any>;
338
- getGroupedComments: import("vue").ComputedRef<{
339
- parentComments: any[];
340
- resolvedComments: any[];
341
- }>;
342
- getFloatingComments: import("vue").ComputedRef<any[]>;
343
- init: (config?: any) => void;
344
- getComment: (id: string) => any;
345
- setActiveComment: (id: string | undefined | null) => void;
346
- getCommentLocation: (selection: any, parent: any) => {
347
- top: any;
348
- left: any;
349
- };
350
- hasOverlapId: (id: any) => any;
351
- checkOverlaps: (currentElement: any, dialog: any, doc: any) => void;
352
- getPendingComment: ({ selection, documentId, parentCommentId, ...options }: {
353
- selection: any;
354
- documentId: string;
355
- parentCommentId: string;
356
- }) => any;
357
- showAddComment: (superdoc: any) => void;
358
- addComment: ({ superdoc, comment }: {
359
- superdoc: any;
360
- }) => void;
361
- cancelComment: (superdoc: any) => void;
362
- deleteComment: ({ commentId: commentIdToDelete, superdoc }: {
363
- commentId: any;
364
- superdoc: any;
365
- }) => void;
366
- removePendingComment: (superdoc: any) => void;
367
- processLoadedDocxComments: ({ superdoc, editor, comments, documentId }: {
368
- comments: any[];
369
- documentId: string;
370
- }) => void;
371
- translateCommentsForExport: () => any[];
372
- handleEditorLocationsUpdate: (allCommentPositions: any, activeThreadId: any) => void;
373
- handleTrackedChangeUpdate: ({ superdoc, params }: {
374
- superdoc: any;
375
- params: any;
376
- }) => void;
377
- }, "COMMENT_EVENTS" | "isDebugging" | "hasInitializedComments" | "hasSyncedCollaborationComments" | "editingCommentId" | "activeComment" | "commentDialogs" | "overlappingComments" | "overlappedIds" | "suppressInternalExternal" | "pendingComment" | "currentCommentText" | "commentsList" | "isCommentsListVisible" | "generalCommentIds" | "editorCommentIds" | "commentsParentElement" | "editorCommentPositions" | "hasInitializedLocations" | "floatingCommentsOffset" | "sortedConversations" | "visibleConversations" | "skipSelectionUpdate" | "isFloatingCommentsReady">, Pick<{
378
- COMMENT_EVENTS: Readonly<{
379
- RESOLVED: "resolved";
380
- NEW: "new";
381
- ADD: "add";
382
- UPDATE: "update";
383
- DELETED: "deleted";
384
- PENDING: "pending";
385
- SELECTED: "selected";
386
- COMMENTS_LIST: "comments-list";
387
- CHANGE_ACCEPTED: "change-accepted";
388
- CHANGE_REJECTED: "change-rejected";
389
- }>;
390
- isDebugging: boolean;
391
- hasInitializedComments: import("vue").Ref<boolean, boolean>;
392
- hasSyncedCollaborationComments: import("vue").Ref<boolean, boolean>;
393
- editingCommentId: import("vue").Ref<any, any>;
394
- activeComment: import("vue").Ref<any, any>;
395
- commentDialogs: import("vue").Ref<any[], any[]>;
396
- overlappingComments: import("vue").Ref<any[], any[]>;
397
- overlappedIds: Set<any>;
398
- suppressInternalExternal: import("vue").Ref<boolean, boolean>;
399
- pendingComment: import("vue").Ref<any, any>;
400
- currentCommentText: import("vue").Ref<string, string>;
401
- commentsList: import("vue").Ref<any[], any[]>;
402
- isCommentsListVisible: import("vue").Ref<boolean, boolean>;
403
- generalCommentIds: import("vue").Ref<any[], any[]>;
404
- editorCommentIds: import("vue").Ref<any[], any[]>;
405
- commentsParentElement: import("vue").Ref<any, any>;
406
- editorCommentPositions: import("vue").Ref<{}, {}>;
407
- hasInitializedLocations: import("vue").Ref<boolean, boolean>;
408
- floatingCommentsOffset: import("vue").Ref<number, number>;
409
- sortedConversations: import("vue").Ref<any[], any[]>;
410
- visibleConversations: import("vue").Ref<any[], any[]>;
411
- skipSelectionUpdate: import("vue").Ref<boolean, boolean>;
412
- isFloatingCommentsReady: import("vue").Ref<boolean, boolean>;
413
- getConfig: import("vue").ComputedRef<{
414
- name: string;
415
- readOnly: boolean;
416
- allowResolve: boolean;
417
- showResolved: boolean;
418
- }>;
419
- documentsWithConverations: import("vue").ComputedRef<any>;
420
- getGroupedComments: import("vue").ComputedRef<{
421
- parentComments: any[];
422
- resolvedComments: any[];
423
- }>;
424
- getFloatingComments: import("vue").ComputedRef<any[]>;
425
- init: (config?: any) => void;
426
- getComment: (id: string) => any;
427
- setActiveComment: (id: string | undefined | null) => void;
428
- getCommentLocation: (selection: any, parent: any) => {
429
- top: any;
430
- left: any;
431
- };
432
- hasOverlapId: (id: any) => any;
433
- checkOverlaps: (currentElement: any, dialog: any, doc: any) => void;
434
- getPendingComment: ({ selection, documentId, parentCommentId, ...options }: {
435
- selection: any;
436
- documentId: string;
437
- parentCommentId: string;
438
- }) => any;
439
- showAddComment: (superdoc: any) => void;
440
- addComment: ({ superdoc, comment }: {
441
- superdoc: any;
442
- }) => void;
443
- cancelComment: (superdoc: any) => void;
444
- deleteComment: ({ commentId: commentIdToDelete, superdoc }: {
445
- commentId: any;
446
- superdoc: any;
447
- }) => void;
448
- removePendingComment: (superdoc: any) => void;
449
- processLoadedDocxComments: ({ superdoc, editor, comments, documentId }: {
450
- comments: any[];
451
- documentId: string;
452
- }) => void;
453
- translateCommentsForExport: () => any[];
454
- handleEditorLocationsUpdate: (allCommentPositions: any, activeThreadId: any) => void;
455
- handleTrackedChangeUpdate: ({ superdoc, params }: {
456
- superdoc: any;
457
- params: any;
458
- }) => void;
459
- }, "getConfig" | "documentsWithConverations" | "getGroupedComments" | "getFloatingComments">, Pick<{
460
- COMMENT_EVENTS: Readonly<{
461
- RESOLVED: "resolved";
462
- NEW: "new";
463
- ADD: "add";
464
- UPDATE: "update";
465
- DELETED: "deleted";
466
- PENDING: "pending";
467
- SELECTED: "selected";
468
- COMMENTS_LIST: "comments-list";
469
- CHANGE_ACCEPTED: "change-accepted";
470
- CHANGE_REJECTED: "change-rejected";
471
- }>;
472
- isDebugging: boolean;
473
- hasInitializedComments: import("vue").Ref<boolean, boolean>;
474
- hasSyncedCollaborationComments: import("vue").Ref<boolean, boolean>;
475
- editingCommentId: import("vue").Ref<any, any>;
476
- activeComment: import("vue").Ref<any, any>;
477
- commentDialogs: import("vue").Ref<any[], any[]>;
478
- overlappingComments: import("vue").Ref<any[], any[]>;
479
- overlappedIds: Set<any>;
480
- suppressInternalExternal: import("vue").Ref<boolean, boolean>;
481
- pendingComment: import("vue").Ref<any, any>;
482
- currentCommentText: import("vue").Ref<string, string>;
483
- commentsList: import("vue").Ref<any[], any[]>;
484
- isCommentsListVisible: import("vue").Ref<boolean, boolean>;
485
- generalCommentIds: import("vue").Ref<any[], any[]>;
486
- editorCommentIds: import("vue").Ref<any[], any[]>;
487
- commentsParentElement: import("vue").Ref<any, any>;
488
- editorCommentPositions: import("vue").Ref<{}, {}>;
489
- hasInitializedLocations: import("vue").Ref<boolean, boolean>;
490
- floatingCommentsOffset: import("vue").Ref<number, number>;
491
- sortedConversations: import("vue").Ref<any[], any[]>;
492
- visibleConversations: import("vue").Ref<any[], any[]>;
493
- skipSelectionUpdate: import("vue").Ref<boolean, boolean>;
494
- isFloatingCommentsReady: import("vue").Ref<boolean, boolean>;
495
- getConfig: import("vue").ComputedRef<{
496
- name: string;
497
- readOnly: boolean;
498
- allowResolve: boolean;
499
- showResolved: boolean;
500
- }>;
501
- documentsWithConverations: import("vue").ComputedRef<any>;
502
- getGroupedComments: import("vue").ComputedRef<{
503
- parentComments: any[];
504
- resolvedComments: any[];
505
- }>;
506
- getFloatingComments: import("vue").ComputedRef<any[]>;
507
- init: (config?: any) => void;
508
- getComment: (id: string) => any;
509
- setActiveComment: (id: string | undefined | null) => void;
510
- getCommentLocation: (selection: any, parent: any) => {
511
- top: any;
512
- left: any;
513
- };
514
- hasOverlapId: (id: any) => any;
515
- checkOverlaps: (currentElement: any, dialog: any, doc: any) => void;
516
- getPendingComment: ({ selection, documentId, parentCommentId, ...options }: {
517
- selection: any;
518
- documentId: string;
519
- parentCommentId: string;
520
- }) => any;
521
- showAddComment: (superdoc: any) => void;
522
- addComment: ({ superdoc, comment }: {
523
- superdoc: any;
524
- }) => void;
525
- cancelComment: (superdoc: any) => void;
526
- deleteComment: ({ commentId: commentIdToDelete, superdoc }: {
527
- commentId: any;
528
- superdoc: any;
529
- }) => void;
530
- removePendingComment: (superdoc: any) => void;
531
- processLoadedDocxComments: ({ superdoc, editor, comments, documentId }: {
532
- comments: any[];
533
- documentId: string;
534
- }) => void;
535
- translateCommentsForExport: () => any[];
536
- handleEditorLocationsUpdate: (allCommentPositions: any, activeThreadId: any) => void;
537
- handleTrackedChangeUpdate: ({ superdoc, params }: {
538
- superdoc: any;
539
- params: any;
540
- }) => void;
541
- }, "setActiveComment" | "init" | "getComment" | "getCommentLocation" | "hasOverlapId" | "checkOverlaps" | "getPendingComment" | "showAddComment" | "addComment" | "cancelComment" | "deleteComment" | "removePendingComment" | "processLoadedDocxComments" | "translateCommentsForExport" | "handleEditorLocationsUpdate" | "handleTrackedChangeUpdate">>;
542
- documents: import("vue").Ref<any[], any[]>;
543
- documentBounds: import("vue").Ref<any[], any[]>;
544
- pages: {};
545
- documentUsers: import("vue").Ref<any[], any[]>;
546
- users: import("vue").Ref<any[], any[]>;
547
- activeZoom: import("vue").Ref<number, number>;
548
- documentScroll: {
549
- scrollTop: number;
550
- scrollLeft: number;
551
- };
552
- isInternal: import("vue").Ref<boolean, boolean>;
553
- selectionPosition: import("vue").Ref<{
554
- left: number;
555
- top: number;
556
- width: number;
557
- height: number;
558
- source: any;
559
- }, {
560
- left: number;
561
- top: number;
562
- width: number;
563
- height: number;
564
- source: any;
565
- } | {
566
- left: number;
567
- top: number;
568
- width: number;
569
- height: number;
570
- source: any;
571
- }>;
572
- activeSelection: import("vue").Ref<any, any>;
573
- isReady: import("vue").Ref<boolean, boolean>;
574
- user: {
575
- name: any;
576
- email: any;
577
- };
578
- modules: {};
579
- areDocumentsReady: import("vue").ComputedRef<boolean>;
580
- init: (config: any) => Promise<void>;
581
- reset: () => void;
582
- handlePageReady: (documentId: any, index: any, containerBounds: any) => void;
583
- getDocument: (documentId: any) => any;
584
- getPageBounds: (documentId: any, page: any) => {
585
- top: number;
586
- };
587
- }, "areDocumentsReady">, Pick<{
588
- commentsStore: import("pinia").Store<"comments", Pick<{
589
- COMMENT_EVENTS: Readonly<{
590
- RESOLVED: "resolved";
591
- NEW: "new";
592
- ADD: "add";
593
- UPDATE: "update";
594
- DELETED: "deleted";
595
- PENDING: "pending";
596
- SELECTED: "selected";
597
- COMMENTS_LIST: "comments-list";
598
- CHANGE_ACCEPTED: "change-accepted";
599
- CHANGE_REJECTED: "change-rejected";
600
- }>;
601
- isDebugging: boolean;
602
- hasInitializedComments: import("vue").Ref<boolean, boolean>;
603
- hasSyncedCollaborationComments: import("vue").Ref<boolean, boolean>;
604
- editingCommentId: import("vue").Ref<any, any>;
605
- activeComment: import("vue").Ref<any, any>;
606
- commentDialogs: import("vue").Ref<any[], any[]>;
607
- overlappingComments: import("vue").Ref<any[], any[]>;
608
- overlappedIds: Set<any>;
609
- suppressInternalExternal: import("vue").Ref<boolean, boolean>;
610
- pendingComment: import("vue").Ref<any, any>;
611
- currentCommentText: import("vue").Ref<string, string>;
612
- commentsList: import("vue").Ref<any[], any[]>;
613
- isCommentsListVisible: import("vue").Ref<boolean, boolean>;
614
- generalCommentIds: import("vue").Ref<any[], any[]>;
615
- editorCommentIds: import("vue").Ref<any[], any[]>;
616
- commentsParentElement: import("vue").Ref<any, any>;
617
- editorCommentPositions: import("vue").Ref<{}, {}>;
618
- hasInitializedLocations: import("vue").Ref<boolean, boolean>;
619
- floatingCommentsOffset: import("vue").Ref<number, number>;
620
- sortedConversations: import("vue").Ref<any[], any[]>;
621
- visibleConversations: import("vue").Ref<any[], any[]>;
622
- skipSelectionUpdate: import("vue").Ref<boolean, boolean>;
623
- isFloatingCommentsReady: import("vue").Ref<boolean, boolean>;
624
- getConfig: import("vue").ComputedRef<{
625
- name: string;
626
- readOnly: boolean;
627
- allowResolve: boolean;
628
- showResolved: boolean;
629
- }>;
630
- documentsWithConverations: import("vue").ComputedRef<any>;
631
- getGroupedComments: import("vue").ComputedRef<{
632
- parentComments: any[];
633
- resolvedComments: any[];
634
- }>;
635
- getFloatingComments: import("vue").ComputedRef<any[]>;
636
- init: (config?: any) => void;
637
- getComment: (id: string) => any;
638
- setActiveComment: (id: string | undefined | null) => void;
639
- getCommentLocation: (selection: any, parent: any) => {
640
- top: any;
641
- left: any;
642
- };
643
- hasOverlapId: (id: any) => any;
644
- checkOverlaps: (currentElement: any, dialog: any, doc: any) => void;
645
- getPendingComment: ({ selection, documentId, parentCommentId, ...options }: {
646
- selection: any;
647
- documentId: string;
648
- parentCommentId: string;
649
- }) => any;
650
- showAddComment: (superdoc: any) => void;
651
- addComment: ({ superdoc, comment }: {
652
- superdoc: any;
653
- }) => void;
654
- cancelComment: (superdoc: any) => void;
655
- deleteComment: ({ commentId: commentIdToDelete, superdoc }: {
656
- commentId: any;
657
- superdoc: any;
658
- }) => void;
659
- removePendingComment: (superdoc: any) => void;
660
- processLoadedDocxComments: ({ superdoc, editor, comments, documentId }: {
661
- comments: any[];
662
- documentId: string;
663
- }) => void;
664
- translateCommentsForExport: () => any[];
665
- handleEditorLocationsUpdate: (allCommentPositions: any, activeThreadId: any) => void;
666
- handleTrackedChangeUpdate: ({ superdoc, params }: {
667
- superdoc: any;
668
- params: any;
669
- }) => void;
670
- }, "COMMENT_EVENTS" | "isDebugging" | "hasInitializedComments" | "hasSyncedCollaborationComments" | "editingCommentId" | "activeComment" | "commentDialogs" | "overlappingComments" | "overlappedIds" | "suppressInternalExternal" | "pendingComment" | "currentCommentText" | "commentsList" | "isCommentsListVisible" | "generalCommentIds" | "editorCommentIds" | "commentsParentElement" | "editorCommentPositions" | "hasInitializedLocations" | "floatingCommentsOffset" | "sortedConversations" | "visibleConversations" | "skipSelectionUpdate" | "isFloatingCommentsReady">, Pick<{
671
- COMMENT_EVENTS: Readonly<{
672
- RESOLVED: "resolved";
673
- NEW: "new";
674
- ADD: "add";
675
- UPDATE: "update";
676
- DELETED: "deleted";
677
- PENDING: "pending";
678
- SELECTED: "selected";
679
- COMMENTS_LIST: "comments-list";
680
- CHANGE_ACCEPTED: "change-accepted";
681
- CHANGE_REJECTED: "change-rejected";
682
- }>;
683
- isDebugging: boolean;
684
- hasInitializedComments: import("vue").Ref<boolean, boolean>;
685
- hasSyncedCollaborationComments: import("vue").Ref<boolean, boolean>;
686
- editingCommentId: import("vue").Ref<any, any>;
687
- activeComment: import("vue").Ref<any, any>;
688
- commentDialogs: import("vue").Ref<any[], any[]>;
689
- overlappingComments: import("vue").Ref<any[], any[]>;
690
- overlappedIds: Set<any>;
691
- suppressInternalExternal: import("vue").Ref<boolean, boolean>;
692
- pendingComment: import("vue").Ref<any, any>;
693
- currentCommentText: import("vue").Ref<string, string>;
694
- commentsList: import("vue").Ref<any[], any[]>;
695
- isCommentsListVisible: import("vue").Ref<boolean, boolean>;
696
- generalCommentIds: import("vue").Ref<any[], any[]>;
697
- editorCommentIds: import("vue").Ref<any[], any[]>;
698
- commentsParentElement: import("vue").Ref<any, any>;
699
- editorCommentPositions: import("vue").Ref<{}, {}>;
700
- hasInitializedLocations: import("vue").Ref<boolean, boolean>;
701
- floatingCommentsOffset: import("vue").Ref<number, number>;
702
- sortedConversations: import("vue").Ref<any[], any[]>;
703
- visibleConversations: import("vue").Ref<any[], any[]>;
704
- skipSelectionUpdate: import("vue").Ref<boolean, boolean>;
705
- isFloatingCommentsReady: import("vue").Ref<boolean, boolean>;
706
- getConfig: import("vue").ComputedRef<{
707
- name: string;
708
- readOnly: boolean;
709
- allowResolve: boolean;
710
- showResolved: boolean;
711
- }>;
712
- documentsWithConverations: import("vue").ComputedRef<any>;
713
- getGroupedComments: import("vue").ComputedRef<{
714
- parentComments: any[];
715
- resolvedComments: any[];
716
- }>;
717
- getFloatingComments: import("vue").ComputedRef<any[]>;
718
- init: (config?: any) => void;
719
- getComment: (id: string) => any;
720
- setActiveComment: (id: string | undefined | null) => void;
721
- getCommentLocation: (selection: any, parent: any) => {
722
- top: any;
723
- left: any;
724
- };
725
- hasOverlapId: (id: any) => any;
726
- checkOverlaps: (currentElement: any, dialog: any, doc: any) => void;
727
- getPendingComment: ({ selection, documentId, parentCommentId, ...options }: {
728
- selection: any;
729
- documentId: string;
730
- parentCommentId: string;
731
- }) => any;
732
- showAddComment: (superdoc: any) => void;
733
- addComment: ({ superdoc, comment }: {
734
- superdoc: any;
735
- }) => void;
736
- cancelComment: (superdoc: any) => void;
737
- deleteComment: ({ commentId: commentIdToDelete, superdoc }: {
738
- commentId: any;
739
- superdoc: any;
740
- }) => void;
741
- removePendingComment: (superdoc: any) => void;
742
- processLoadedDocxComments: ({ superdoc, editor, comments, documentId }: {
743
- comments: any[];
744
- documentId: string;
745
- }) => void;
746
- translateCommentsForExport: () => any[];
747
- handleEditorLocationsUpdate: (allCommentPositions: any, activeThreadId: any) => void;
748
- handleTrackedChangeUpdate: ({ superdoc, params }: {
749
- superdoc: any;
750
- params: any;
751
- }) => void;
752
- }, "getConfig" | "documentsWithConverations" | "getGroupedComments" | "getFloatingComments">, Pick<{
753
- COMMENT_EVENTS: Readonly<{
754
- RESOLVED: "resolved";
755
- NEW: "new";
756
- ADD: "add";
757
- UPDATE: "update";
758
- DELETED: "deleted";
759
- PENDING: "pending";
760
- SELECTED: "selected";
761
- COMMENTS_LIST: "comments-list";
762
- CHANGE_ACCEPTED: "change-accepted";
763
- CHANGE_REJECTED: "change-rejected";
764
- }>;
765
- isDebugging: boolean;
766
- hasInitializedComments: import("vue").Ref<boolean, boolean>;
767
- hasSyncedCollaborationComments: import("vue").Ref<boolean, boolean>;
768
- editingCommentId: import("vue").Ref<any, any>;
769
- activeComment: import("vue").Ref<any, any>;
770
- commentDialogs: import("vue").Ref<any[], any[]>;
771
- overlappingComments: import("vue").Ref<any[], any[]>;
772
- overlappedIds: Set<any>;
773
- suppressInternalExternal: import("vue").Ref<boolean, boolean>;
774
- pendingComment: import("vue").Ref<any, any>;
775
- currentCommentText: import("vue").Ref<string, string>;
776
- commentsList: import("vue").Ref<any[], any[]>;
777
- isCommentsListVisible: import("vue").Ref<boolean, boolean>;
778
- generalCommentIds: import("vue").Ref<any[], any[]>;
779
- editorCommentIds: import("vue").Ref<any[], any[]>;
780
- commentsParentElement: import("vue").Ref<any, any>;
781
- editorCommentPositions: import("vue").Ref<{}, {}>;
782
- hasInitializedLocations: import("vue").Ref<boolean, boolean>;
783
- floatingCommentsOffset: import("vue").Ref<number, number>;
784
- sortedConversations: import("vue").Ref<any[], any[]>;
785
- visibleConversations: import("vue").Ref<any[], any[]>;
786
- skipSelectionUpdate: import("vue").Ref<boolean, boolean>;
787
- isFloatingCommentsReady: import("vue").Ref<boolean, boolean>;
788
- getConfig: import("vue").ComputedRef<{
789
- name: string;
790
- readOnly: boolean;
791
- allowResolve: boolean;
792
- showResolved: boolean;
793
- }>;
794
- documentsWithConverations: import("vue").ComputedRef<any>;
795
- getGroupedComments: import("vue").ComputedRef<{
796
- parentComments: any[];
797
- resolvedComments: any[];
798
- }>;
799
- getFloatingComments: import("vue").ComputedRef<any[]>;
800
- init: (config?: any) => void;
801
- getComment: (id: string) => any;
802
- setActiveComment: (id: string | undefined | null) => void;
803
- getCommentLocation: (selection: any, parent: any) => {
804
- top: any;
805
- left: any;
806
- };
807
- hasOverlapId: (id: any) => any;
808
- checkOverlaps: (currentElement: any, dialog: any, doc: any) => void;
809
- getPendingComment: ({ selection, documentId, parentCommentId, ...options }: {
810
- selection: any;
811
- documentId: string;
812
- parentCommentId: string;
813
- }) => any;
814
- showAddComment: (superdoc: any) => void;
815
- addComment: ({ superdoc, comment }: {
816
- superdoc: any;
817
- }) => void;
818
- cancelComment: (superdoc: any) => void;
819
- deleteComment: ({ commentId: commentIdToDelete, superdoc }: {
820
- commentId: any;
821
- superdoc: any;
822
- }) => void;
823
- removePendingComment: (superdoc: any) => void;
824
- processLoadedDocxComments: ({ superdoc, editor, comments, documentId }: {
825
- comments: any[];
826
- documentId: string;
827
- }) => void;
828
- translateCommentsForExport: () => any[];
829
- handleEditorLocationsUpdate: (allCommentPositions: any, activeThreadId: any) => void;
830
- handleTrackedChangeUpdate: ({ superdoc, params }: {
831
- superdoc: any;
832
- params: any;
833
- }) => void;
834
- }, "setActiveComment" | "init" | "getComment" | "getCommentLocation" | "hasOverlapId" | "checkOverlaps" | "getPendingComment" | "showAddComment" | "addComment" | "cancelComment" | "deleteComment" | "removePendingComment" | "processLoadedDocxComments" | "translateCommentsForExport" | "handleEditorLocationsUpdate" | "handleTrackedChangeUpdate">>;
835
- documents: import("vue").Ref<any[], any[]>;
836
- documentBounds: import("vue").Ref<any[], any[]>;
837
- pages: {};
838
- documentUsers: import("vue").Ref<any[], any[]>;
839
- users: import("vue").Ref<any[], any[]>;
840
- activeZoom: import("vue").Ref<number, number>;
841
- documentScroll: {
842
- scrollTop: number;
843
- scrollLeft: number;
844
- };
845
- isInternal: import("vue").Ref<boolean, boolean>;
846
- selectionPosition: import("vue").Ref<{
847
- left: number;
848
- top: number;
849
- width: number;
850
- height: number;
851
- source: any;
852
- }, {
853
- left: number;
854
- top: number;
855
- width: number;
856
- height: number;
857
- source: any;
858
- } | {
859
- left: number;
860
- top: number;
861
- width: number;
862
- height: number;
863
- source: any;
864
- }>;
865
- activeSelection: import("vue").Ref<any, any>;
866
- isReady: import("vue").Ref<boolean, boolean>;
867
- user: {
868
- name: any;
869
- email: any;
870
- };
871
- modules: {};
872
- areDocumentsReady: import("vue").ComputedRef<boolean>;
873
- init: (config: any) => Promise<void>;
874
- reset: () => void;
875
- handlePageReady: (documentId: any, index: any, containerBounds: any) => void;
876
- getDocument: (documentId: any) => any;
877
- getPageBounds: (documentId: any, page: any) => {
878
- top: number;
879
- };
880
- }, "reset" | "init" | "handlePageReady" | "getDocument" | "getPageBounds">>;
881
- //# sourceMappingURL=superdoc-store.d.ts.map