@veltdev/lexical-velt-comments 4.5.2-beta.1 → 4.5.2-beta.3

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 (69) hide show
  1. package/cjs/index.js +1 -1
  2. package/cjs/index.js.map +1 -1
  3. package/cjs/types/src/adapters/host/doc.d.ts +97 -0
  4. package/cjs/types/src/adapters/host/marks.d.ts +89 -0
  5. package/cjs/types/src/adapters/host/storage.d.ts +37 -0
  6. package/cjs/types/src/adapters/velt.d.ts +55 -0
  7. package/cjs/types/src/constants/common.d.ts +67 -0
  8. package/cjs/types/src/core/extension.d.ts +40 -0
  9. package/cjs/types/src/core/registry.d.ts +71 -0
  10. package/cjs/types/src/core/state.d.ts +86 -0
  11. package/cjs/types/src/features/addComment.d.ts +63 -0
  12. package/cjs/types/src/features/commentRenderer.d.ts +46 -0
  13. package/cjs/types/src/features/renderComments.d.ts +73 -0
  14. package/cjs/types/src/features/updateContent.d.ts +32 -0
  15. package/cjs/types/src/index.d.ts +26 -0
  16. package/cjs/types/src/types/common.d.ts +72 -0
  17. package/cjs/types/src/types/host.d.ts +65 -0
  18. package/cjs/types/src/types/state.d.ts +28 -0
  19. package/cjs/types/src/types/velt.d.ts +6 -0
  20. package/cjs/types/src/utils/common.d.ts +56 -0
  21. package/cjs/types/src/utils/console.d.ts +37 -0
  22. package/cjs/types/src/utils/host.d.ts +44 -0
  23. package/cjs/types/src/utils/serializer.d.ts +19 -0
  24. package/esm/index.js +1 -1
  25. package/esm/index.js.map +1 -1
  26. package/esm/types/src/adapters/host/doc.d.ts +97 -0
  27. package/esm/types/src/adapters/host/marks.d.ts +89 -0
  28. package/esm/types/src/adapters/host/storage.d.ts +37 -0
  29. package/esm/types/src/adapters/velt.d.ts +55 -0
  30. package/esm/types/src/constants/common.d.ts +67 -0
  31. package/esm/types/src/core/extension.d.ts +40 -0
  32. package/esm/types/src/core/registry.d.ts +71 -0
  33. package/esm/types/src/core/state.d.ts +86 -0
  34. package/esm/types/src/features/addComment.d.ts +63 -0
  35. package/esm/types/src/features/commentRenderer.d.ts +46 -0
  36. package/esm/types/src/features/renderComments.d.ts +73 -0
  37. package/esm/types/src/features/updateContent.d.ts +32 -0
  38. package/esm/types/src/index.d.ts +26 -0
  39. package/esm/types/src/types/common.d.ts +72 -0
  40. package/esm/types/src/types/host.d.ts +65 -0
  41. package/esm/types/src/types/state.d.ts +28 -0
  42. package/esm/types/src/types/velt.d.ts +6 -0
  43. package/esm/types/src/utils/common.d.ts +56 -0
  44. package/esm/types/src/utils/console.d.ts +37 -0
  45. package/esm/types/src/utils/host.d.ts +44 -0
  46. package/esm/types/src/utils/serializer.d.ts +19 -0
  47. package/index.d.ts +275 -30
  48. package/package.json +1 -1
  49. package/tsconfig.tsbuildinfo +1 -0
  50. package/cjs/types/comment-node.d.ts +0 -23
  51. package/cjs/types/constants.d.ts +0 -6
  52. package/cjs/types/editor.d.ts +0 -166
  53. package/cjs/types/index.d.ts +0 -24
  54. package/cjs/types/plugin.d.ts +0 -14
  55. package/cjs/types/serializer.d.ts +0 -9
  56. package/cjs/types/store.d.ts +0 -39
  57. package/cjs/types/types.d.ts +0 -40
  58. package/cjs/types/utility.d.ts +0 -122
  59. package/cjs/types/velt.d.ts +0 -21
  60. package/esm/types/comment-node.d.ts +0 -23
  61. package/esm/types/constants.d.ts +0 -6
  62. package/esm/types/editor.d.ts +0 -166
  63. package/esm/types/index.d.ts +0 -24
  64. package/esm/types/plugin.d.ts +0 -14
  65. package/esm/types/serializer.d.ts +0 -9
  66. package/esm/types/store.d.ts +0 -39
  67. package/esm/types/types.d.ts +0 -40
  68. package/esm/types/utility.d.ts +0 -122
  69. package/esm/types/velt.d.ts +0 -21
package/index.d.ts CHANGED
@@ -1,14 +1,270 @@
1
1
  import { CommentAnnotation } from '@veltdev/types';
2
- import { ElementNode, NodeKey, EditorConfig, LexicalNode, Spread, SerializedElementNode, LexicalEditor } from 'lexical';
2
+ import { ElementNode, NodeKey, EditorConfig, Spread, SerializedElementNode, LexicalEditor, SerializedEditorState, SerializedLexicalNode } from 'lexical';
3
3
 
4
+ /**
5
+ * Common type definitions shared across the entire codebase.
6
+ * These types are SDK-agnostic and represent domain concepts.
7
+ */
8
+
9
+ /**
10
+ * Context object for comment annotations.
11
+ * Contains text editor configuration and any additional context data.
12
+ */
13
+ interface CommentAnnotationContext {
14
+ textEditorConfig?: {
15
+ text: string;
16
+ occurrence: number;
17
+ editorId?: string;
18
+ targetTextNodeId?: string;
19
+ };
20
+ [key: string]: unknown;
21
+ }
22
+ /**
23
+ * Configuration options for Lexical Velt Comments extension.
24
+ * Matches Tiptap's TiptapVeltCommentConfig structure.
25
+ */
4
26
  interface LexicalVeltCommentConfig {
5
- context?: any;
27
+ editorId?: string;
28
+ context?: CommentAnnotationContext;
6
29
  }
30
+ /**
31
+ * Request interface for addComment function.
32
+ * Matches legacy AddCommentRequest interface.
33
+ */
34
+ interface AddCommentRequest {
35
+ editorId?: string;
36
+ editor: unknown;
37
+ context?: CommentAnnotationContext;
38
+ }
39
+ /**
40
+ * Request interface for renderComments function.
41
+ * Matches legacy RenderCommentsRequest interface.
42
+ */
43
+ interface RenderCommentsRequest {
44
+ editor: unknown;
45
+ editorId?: string;
46
+ commentAnnotations?: CommentAnnotation[];
47
+ }
48
+
49
+ /**
50
+ * Add comment feature module.
51
+ *
52
+ * Purpose: End-to-end add comment orchestration.
53
+ * Orchestrates adapters and core to implement the add comment flow.
54
+ *
55
+ * Key responsibilities:
56
+ * - Get Velt comment element
57
+ * - Extract selection context from editor
58
+ * - Create comment via Velt SDK
59
+ * - Apply mark to editor document
60
+ * - Update state with annotation data
61
+ *
62
+ * Dependencies:
63
+ * - adapters/velt.ts (for Velt SDK calls)
64
+ * - adapters/host/doc.ts (for selection extraction, editor setup, and selection reset)
65
+ * - adapters/host/marks.ts (for mark application)
66
+ * - adapters/host/storage.ts (for mark application configuration)
67
+ * - core/state.ts (for state updates)
68
+ * - types/common.ts (for CommentAnnotationContext)
69
+ *
70
+ * IMPORTANT: This module MUST NOT import editor or Velt types directly.
71
+ * All SDK access goes through adapters.
72
+ */
7
73
 
74
+ /**
75
+ * Adds a comment to the currently selected text in the editor.
76
+ *
77
+ * This is the main entry point for adding comments. It handles:
78
+ * - Extracting selection context from the editor
79
+ * - Creating the comment via Velt SDK
80
+ * - Applying marks to the editor if configured
81
+ * - Updating state with annotation data
82
+ *
83
+ * @param request - Object containing editorId (optional), editor, and context (optional)
84
+ * @returns Promise that resolves when the comment is added (or fails silently)
85
+ *
86
+ * @example
87
+ * ```typescript
88
+ * // Simple usage
89
+ * await addComment({ editor });
90
+ *
91
+ * // With editor ID
92
+ * await addComment({ editorId: 'my-editor', editor });
93
+ *
94
+ * // With custom context
95
+ * await addComment({
96
+ * editorId: 'my-editor',
97
+ * editor,
98
+ * context: {
99
+ * userId: 'user123',
100
+ * metadata: { source: 'web-app' }
101
+ * }
102
+ * });
103
+ * ```
104
+ *
105
+ * @remarks
106
+ * - Requires text to be selected in the editor
107
+ * - Requires Velt SDK to be available (window.Velt)
108
+ * - Marks are only applied if persistVeltMarks is FALSE in extension config (matching legacy behavior)
109
+ * - Fails silently if Velt SDK is unavailable or selection is invalid
110
+ */
111
+ declare function addComment({ editorId, editor, context: clientContext, }: AddCommentRequest): Promise<void>;
112
+
113
+ /**
114
+ * Render comments feature module.
115
+ *
116
+ * Purpose: Public API entry point for rendering comment annotations.
117
+ * Orchestrates state updates, subscriptions, and delegates to commentRenderer.
118
+ *
119
+ * Key responsibilities:
120
+ * - Update state with new annotations
121
+ * - Subscribe to selected annotations from Velt
122
+ * - Delegate rendering logic to commentRenderer
123
+ *
124
+ * Dependencies:
125
+ * - adapters/velt.ts (for Velt SDK subscription)
126
+ * - adapters/host/doc.ts (for editor setup)
127
+ * - core/state.ts (for state management)
128
+ * - core/registry.ts (for editor ID extraction)
129
+ * - features/commentRenderer.ts (for rendering logic)
130
+ * - types/velt.ts (for CommentAnnotation)
131
+ *
132
+ * IMPORTANT: This module MUST NOT import editor or Velt types directly.
133
+ * All SDK access goes through adapters.
134
+ */
135
+
136
+ /**
137
+ * Renders comment annotations as marks in the editor.
138
+ *
139
+ * This function renders comment annotations as visual marks in the editor.
140
+ * It filters annotations for the specific editor and applies marks accordingly.
141
+ *
142
+ * @param request - Object containing editor, editorId (optional), and commentAnnotations (optional)
143
+ *
144
+ * @example
145
+ * ```typescript
146
+ * // Simple usage
147
+ * renderComments({ editor });
148
+ *
149
+ * // With editor ID
150
+ * renderComments({ editorId: 'my-editor', editor });
151
+ *
152
+ * // With annotations
153
+ * renderComments({
154
+ * editorId: 'my-editor',
155
+ * editor,
156
+ * commentAnnotations: [
157
+ * {
158
+ * annotationId: 'ann-123',
159
+ * context: {
160
+ * textEditorConfig: {
161
+ * text: 'Hello world',
162
+ * occurrence: 1,
163
+ * editorId: 'my-editor'
164
+ * }
165
+ * }
166
+ * }
167
+ * ]
168
+ * });
169
+ * ```
170
+ *
171
+ * @remarks
172
+ * - Only annotations with matching editorId are rendered
173
+ * - Automatically subscribes to selected annotations changes
174
+ * - Filters out terminal/resolved comments unless they're selected
175
+ * - Removes marks when comments become resolved
176
+ * - Re-applies marks when resolved comments are selected
177
+ */
178
+ declare const renderComments: ({ editor, editorId, commentAnnotations, }: RenderCommentsRequest) => void;
179
+
180
+ /**
181
+ * Shared constants for Lexical-Velt Comments integration
182
+ *
183
+ * This module contains all magic strings and configuration constants
184
+ * used across the application. Migrated from src/constants.ts
185
+ */
186
+ declare const Constants: {
187
+ /**
188
+ * DOM attribute names used for editor identification and location tracking.
189
+ */
190
+ readonly ATTRIBUTES: {
191
+ readonly EDITOR_ID: "data-editor-id";
192
+ readonly LOCATION_ID: "data-velt-location-id";
193
+ readonly ANNOTATION_ID: "annotation-id";
194
+ readonly MULTI_THREAD_ANNOTATION_ID: "multi-thread-annotation-id";
195
+ };
196
+ /**
197
+ * Mark/extension name constant.
198
+ * Generic constant name, value is Lexical-specific for this package.
199
+ */
200
+ readonly MARK_NAME: "lexicalVeltComments";
201
+ /**
202
+ * Storage key constant.
203
+ * Generic constant name, value is Lexical-specific for this package.
204
+ */
205
+ readonly STORAGE_KEY: "lexicalVeltComments";
206
+ /**
207
+ * Custom element tag name for comment nodes.
208
+ * CRITICAL: Must be 'velt-comment-text' to match Tiptap/Lexical/Slate implementations.
209
+ */
210
+ readonly TAG_NAME: "velt-comment-text";
211
+ /**
212
+ * Default extension name for error messages.
213
+ */
214
+ readonly DEFAULT_EXTENSION_NAME: "VeltComments";
215
+ /**
216
+ * Lexical node type name for comment nodes.
217
+ * Lexical-specific constant for CommentNode type.
218
+ */
219
+ readonly NODE_TYPE: "comment";
220
+ /**
221
+ * Default editor ID used when no editor ID is provided.
222
+ * Uses '__default__' to avoid collision with user-provided values.
223
+ */
224
+ readonly DEFAULT_EDITOR_ID: "__default__";
225
+ /**
226
+ * Terminal status type for resolved/closed comments.
227
+ */
228
+ readonly STATUS_TERMINAL: "terminal";
229
+ /**
230
+ * Log prefix for console messages.
231
+ */
232
+ readonly LOG_PREFIX: "LexicalVeltComments: ";
233
+ /**
234
+ * Session storage key for debug mode.
235
+ */
236
+ readonly DEBUG_MODE_KEY: "debugMode";
237
+ /**
238
+ * Session storage key for forced debug mode.
239
+ */
240
+ readonly FORCE_DEBUG_MODE_KEY: "forceDebugMode";
241
+ /**
242
+ * Block-level node types in Lexical that should have newline breaks after them.
243
+ * Used for text content collection and block boundary detection.
244
+ */
245
+ readonly BLOCK_TYPES: readonly ["paragraph", "heading", "listitem", "quote", "code"];
246
+ };
247
+
248
+ /**
249
+ * Lexical comment marks adapter
250
+ *
251
+ * This module manages visual representation of annotations in the editor.
252
+ * It handles creating, updating, and removing CommentNodes (Lexical's equivalent of marks).
253
+ *
254
+ * CRITICAL: This is ONE of ONLY TWO places where Lexical types may be imported.
255
+ * The other is types/host.ts.
256
+ *
257
+ * Migrated from src/editor.ts EditorService comment node operations.
258
+ */
259
+
260
+ /**
261
+ * CommentNode - Lexical node for representing comment annotations
262
+ * Migrated from src/comment-node.ts
263
+ */
8
264
  type SerializedCommentNode = Spread<{
9
265
  annotationId?: string;
10
266
  multiThreadAnnotationId?: string;
11
- type: 'comment';
267
+ type: typeof Constants.NODE_TYPE;
12
268
  version: 1;
13
269
  }, SerializedElementNode>;
14
270
  declare class CommentNode extends ElementNode {
@@ -18,41 +274,30 @@ declare class CommentNode extends ElementNode {
18
274
  static clone(node: CommentNode): CommentNode;
19
275
  constructor(annotationId?: string, multiThreadAnnotationId?: string, key?: NodeKey);
20
276
  createDOM(config: EditorConfig): HTMLElement;
21
- updateDOM(prevNode: CommentNode, dom: HTMLElement, config: EditorConfig): boolean;
277
+ updateDOM(_prevNode: CommentNode, _dom: HTMLElement, _config: EditorConfig): boolean;
22
278
  static importJSON(serializedNode: SerializedCommentNode): CommentNode;
23
279
  exportJSON(): SerializedCommentNode;
24
280
  isInline(): boolean;
25
281
  }
26
- declare function $createCommentNode(annotationId?: string, multiThreadAnnotationId?: string): CommentNode;
27
- declare function $isCommentNode(node: LexicalNode | null | undefined): node is CommentNode;
28
282
 
29
283
  /**
30
- * Enhanced export function with multiple strategies
284
+ * Serializer utilities for Lexical editor state
285
+ *
286
+ * This module provides utilities for serializing Lexical editor state,
287
+ * particularly for removing comment nodes from serialized JSON.
288
+ *
289
+ * Migrated from src/serializer.ts
31
290
  */
32
- declare const exportCleanEditorContent: (editor: LexicalEditor) => string;
33
- /**
34
- * Deserializes editor state from clean JSON
35
- */
36
- declare function deserializeCleanState(editor: LexicalEditor, jsonString: string): void;
37
291
 
38
- declare const triggerAddComment: (editor: LexicalEditor, config?: LexicalVeltCommentConfig) => Promise<void>;
39
- interface AddCommentRequest {
40
- editorId?: string;
41
- editor: LexicalEditor;
42
- context?: unknown;
43
- }
44
292
  /**
45
- * Creates a comment annotation for the currently selected text in the editor
46
- * This function handles the entire flow from getting the selected text to creating
47
- * the actual comment through the Velt service
293
+ * Export JSON without comment nodes.
294
+ *
295
+ * This function serializes the editor state and removes all comment nodes,
296
+ * unwrapping their children and normalizing adjacent text nodes.
297
+ *
298
+ * @param editor - Lexical editor instance
299
+ * @returns Serialized editor state without comment nodes
48
300
  */
49
- declare const addComment: ({ editorId, editor, context: clientContext, }: AddCommentRequest) => Promise<void>;
50
- declare function highlightComments(editor: LexicalEditor, commentAnnotations: CommentAnnotation[], editorId?: string): void;
51
- interface RenderCommentsRequest {
52
- editor: LexicalEditor;
53
- editorId?: string;
54
- commentAnnotations?: CommentAnnotation[];
55
- }
56
- declare const renderComments: ({ editor, editorId, commentAnnotations }: RenderCommentsRequest) => void;
301
+ declare const exportJSONWithoutComments: (editor: LexicalEditor) => SerializedEditorState<SerializedLexicalNode>;
57
302
 
58
- export { $createCommentNode, $isCommentNode, AddCommentRequest, CommentNode, RenderCommentsRequest, addComment, deserializeCleanState, exportCleanEditorContent, highlightComments, renderComments, triggerAddComment };
303
+ export { AddCommentRequest, CommentAnnotationContext, CommentNode, LexicalVeltCommentConfig, RenderCommentsRequest, addComment, exportJSONWithoutComments, renderComments };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/lexical-velt-comments",
3
- "version": "4.5.2-beta.1",
3
+ "version": "4.5.2-beta.3",
4
4
  "description": "Lexical Extension to add Google Docs-style overlay comments to your Lexical editor. Works with the Velt Collaboration SDK.",
5
5
  "homepage": "https://velt.dev",
6
6
  "keywords": [
@@ -0,0 +1 @@
1
+ {"program":{"fileNames":["../node_modules/typescript/lib/lib.es5.d.ts","../node_modules/typescript/lib/lib.es2015.d.ts","../node_modules/typescript/lib/lib.es2016.d.ts","../node_modules/typescript/lib/lib.es2017.d.ts","../node_modules/typescript/lib/lib.es2018.d.ts","../node_modules/typescript/lib/lib.es2019.d.ts","../node_modules/typescript/lib/lib.es2020.d.ts","../node_modules/typescript/lib/lib.dom.d.ts","../node_modules/typescript/lib/lib.dom.iterable.d.ts","../node_modules/typescript/lib/lib.es2015.core.d.ts","../node_modules/typescript/lib/lib.es2015.collection.d.ts","../node_modules/typescript/lib/lib.es2015.generator.d.ts","../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../node_modules/typescript/lib/lib.es2015.promise.d.ts","../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../node_modules/typescript/lib/lib.es2017.object.d.ts","../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2017.string.d.ts","../node_modules/typescript/lib/lib.es2017.intl.d.ts","../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../node_modules/typescript/lib/lib.es2018.intl.d.ts","../node_modules/typescript/lib/lib.es2018.promise.d.ts","../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../node_modules/typescript/lib/lib.es2019.array.d.ts","../node_modules/typescript/lib/lib.es2019.object.d.ts","../node_modules/typescript/lib/lib.es2019.string.d.ts","../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../node_modules/typescript/lib/lib.es2019.intl.d.ts","../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../node_modules/typescript/lib/lib.es2020.date.d.ts","../node_modules/typescript/lib/lib.es2020.promise.d.ts","../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2020.string.d.ts","../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2020.intl.d.ts","../node_modules/typescript/lib/lib.es2020.number.d.ts","../node_modules/tslib/tslib.d.ts","../node_modules/lexical/nodes/LexicalElementNode.d.ts","../node_modules/lexical/nodes/LexicalTextNode.d.ts","../node_modules/lexical/LexicalSelection.d.ts","../node_modules/lexical/nodes/LexicalRootNode.d.ts","../node_modules/lexical/LexicalEditorState.d.ts","../node_modules/lexical/LexicalConstants.d.ts","../node_modules/lexical/LexicalNodeState.d.ts","../node_modules/lexical/LexicalUpdateTags.d.ts","../node_modules/lexical/LexicalEditor.d.ts","../node_modules/lexical/LexicalNode.d.ts","../node_modules/lexical/caret/LexicalCaret.d.ts","../node_modules/lexical/caret/LexicalCaretUtils.d.ts","../node_modules/lexical/LexicalCommands.d.ts","../node_modules/lexical/LexicalEvents.d.ts","../node_modules/lexical/LexicalNormalization.d.ts","../node_modules/lexical/LexicalUpdates.d.ts","../node_modules/lexical/LexicalUtils.d.ts","../node_modules/lexical/nodes/ArtificialNode.d.ts","../node_modules/lexical/nodes/LexicalDecoratorNode.d.ts","../node_modules/lexical/nodes/LexicalLineBreakNode.d.ts","../node_modules/lexical/nodes/LexicalParagraphNode.d.ts","../node_modules/lexical/nodes/LexicalTabNode.d.ts","../node_modules/lexical/index.d.ts","../src/constants/common.ts","../node_modules/@veltdev/types/app/utils/enums.d.ts","../node_modules/@veltdev/types/app/models/data/config.data.model.d.ts","../node_modules/@veltdev/types/app/models/data/user-contact.data.model.d.ts","../node_modules/@veltdev/types/app/models/data/permission.data.model.d.ts","../node_modules/@veltdev/types/app/models/data/user-role.data.model.d.ts","../node_modules/@veltdev/types/app/models/data/resolver.data.model.d.ts","../node_modules/@veltdev/types/app/models/data/user-resolver.data.model.d.ts","../node_modules/@veltdev/types/app/models/data/user.data.model.d.ts","../node_modules/@veltdev/types/app/models/data/document-user.data.model.d.ts","../node_modules/@veltdev/types/app/models/data/location.model.d.ts","../node_modules/@veltdev/types/app/models/data/custom-css.data.model.d.ts","../node_modules/@veltdev/types/app/models/element/area-element.model.d.ts","../node_modules/@veltdev/types/app/models/element/arrow-element.model.d.ts","../node_modules/@veltdev/types/app/models/data/base-metadata.data.model.d.ts","../node_modules/@veltdev/types/app/models/data/attachment.model.d.ts","../node_modules/@veltdev/types/app/models/data/organization-groups.data.model.d.ts","../node_modules/@veltdev/types/app/models/data/autocomplete.data.model.d.ts","../node_modules/@veltdev/types/app/models/data/cursor-position.data.model.d.ts","../node_modules/@veltdev/types/app/models/data/device-info.model.d.ts","../node_modules/@veltdev/types/app/models/data/page-info.model.d.ts","../node_modules/@veltdev/types/app/models/data/reaction.data.model.d.ts","../node_modules/@veltdev/types/app/models/data/anchor-record.data.model.d.ts","../node_modules/@veltdev/types/app/models/data/target-element.data.model.d.ts","../node_modules/@veltdev/types/app/models/data/reaction-annotation.data.model.d.ts","../node_modules/@veltdev/types/app/models/data/recorder.model.d.ts","../node_modules/@veltdev/types/app/models/data/comment.data.model.d.ts","../node_modules/@veltdev/types/app/models/data/custom-chip-dropdown.data.model.d.ts","../node_modules/@veltdev/types/app/models/data/custom-filter.data.model.d.ts","../node_modules/@veltdev/types/app/models/data/target-text-range.data.model.d.ts","../node_modules/@veltdev/types/app/models/data/views.data.model.d.ts","../node_modules/@veltdev/types/app/models/data/comment-annotation.data.model.d.ts","../node_modules/@veltdev/types/app/models/data/comment-utils.data.model.d.ts","../node_modules/@veltdev/types/app/models/data/location-metadata.model.d.ts","../node_modules/@veltdev/types/app/models/data/document-metadata.model.d.ts","../node_modules/@veltdev/types/app/models/data/folder-metadata.model.d.ts","../node_modules/@veltdev/types/app/models/data/organization-metadata.model.d.ts","../node_modules/@veltdev/types/app/models/data/event-metadata.data.model.d.ts","../node_modules/@veltdev/types/app/models/data/user-request.data.model.d.ts","../node_modules/@veltdev/types/app/models/data/user-contact-us.data.model.d.ts","../node_modules/@veltdev/types/app/models/data/user-feedback.data.model.d.ts","../node_modules/@veltdev/types/app/models/data/user-report-bug.data.model.d.ts","../node_modules/@veltdev/types/app/models/data/notification.model.d.ts","../node_modules/@veltdev/types/app/models/data/button.data.model.d.ts","../node_modules/@veltdev/types/app/models/data/comment-actions.data.model.d.ts","../node_modules/@veltdev/types/app/models/data/comment-events.data.model.d.ts","../node_modules/@veltdev/types/app/models/data/comment-sidebar-config.model.d.ts","../node_modules/@veltdev/types/app/models/element/comment-element.model.d.ts","../node_modules/@veltdev/types/app/models/data/contact-utils.data.model.d.ts","../node_modules/@veltdev/types/app/models/element/contact-element.model.d.ts","../node_modules/@veltdev/types/app/models/data/cursor-user.data.model.d.ts","../node_modules/@veltdev/types/app/models/element/cursor-element.model.d.ts","../node_modules/@veltdev/types/app/models/data/core-events.data.model.d.ts","../node_modules/@veltdev/types/app/models/data/live-state-data.data.model.d.ts","../node_modules/@veltdev/types/app/models/data/live-state-events.data.model.d.ts","../node_modules/@veltdev/types/app/models/element/live-state-sync-element.model.d.ts","../node_modules/@veltdev/types/app/models/data/presence-user.data.model.d.ts","../node_modules/@veltdev/types/app/models/data/presence-events.data.model.d.ts","../node_modules/@veltdev/types/app/models/data/presence-actions.data.model.d.ts","../node_modules/@veltdev/types/app/models/element/presence-element.model.d.ts","../node_modules/@veltdev/types/app/models/data/transcription.data.model.d.ts","../node_modules/@veltdev/types/app/models/data/recorder-annotation.data.model.d.ts","../node_modules/@veltdev/types/app/models/data/recorder-events.data.model.d.ts","../node_modules/@veltdev/types/app/models/element/recorder-element.model.d.ts","../node_modules/@veltdev/types/app/models/element/rewriter-element.model.d.ts","../node_modules/@veltdev/types/app/models/element/huddle-element.model.d.ts","../node_modules/@veltdev/types/app/models/data/selection.model.d.ts","../node_modules/@veltdev/types/app/models/element/selection-element.model.d.ts","../node_modules/@veltdev/types/app/models/element/views-element.model.d.ts","../node_modules/@veltdev/types/app/models/element/notification-element.model.d.ts","../node_modules/@veltdev/types/app/models/element/autocomplete-element.model.d.ts","../node_modules/@veltdev/types/app/models/data/tag-annotation.data.model.d.ts","../node_modules/@veltdev/types/app/models/element/tag-element.model.d.ts","../node_modules/@veltdev/types/app/models/element/reaction-element.model.d.ts","../node_modules/@veltdev/types/app/models/data/crdt.data.model.d.ts","../node_modules/@veltdev/types/app/models/element/crdt-element.model.d.ts","../node_modules/@veltdev/types/app/models/data/document.data.model.d.ts","../node_modules/@veltdev/types/app/models/data/document-events.data.model.d.ts","../node_modules/@veltdev/types/app/models/data/attachment-resolver.data.model.d.ts","../node_modules/@veltdev/types/app/models/data/comment-resolver.data.model.d.ts","../node_modules/@veltdev/types/app/models/data/reaction-resolver.data.model.d.ts","../node_modules/@veltdev/types/app/models/data/provider.data.model.d.ts","../node_modules/@veltdev/types/app/models/data/encryption-provider.data.model.d.ts","../node_modules/@veltdev/types/app/models/data/heartbeat.data.model.d.ts","../node_modules/@veltdev/types/app/client/snippyly.model.d.ts","../node_modules/@veltdev/types/app/client/velt.model.d.ts","../node_modules/@veltdev/types/app/models/data/annotation-property.data.model.d.ts","../node_modules/@veltdev/types/app/models/data/area-annotation.data.model.d.ts","../node_modules/@veltdev/types/app/models/data/arrow-annotation.data.model.d.ts","../node_modules/@veltdev/types/app/models/data/chatgpt.data.model.d.ts","../node_modules/@veltdev/types/app/models/data/user-iam.data.model.d.ts","../node_modules/@veltdev/types/app/models/data/document-iam.data.model.d.ts","../node_modules/@veltdev/types/app/models/data/document-paths.data.model.d.ts","../node_modules/@veltdev/types/app/models/data/huddle.model.d.ts","../node_modules/@veltdev/types/app/models/data/live-state-data-map.data.model.d.ts","../node_modules/@veltdev/types/app/models/data/localstorage.data.model.d.ts","../node_modules/@veltdev/types/app/models/data/media-preview-config.data.model.d.ts","../node_modules/@veltdev/types/app/models/data/multi-thread.data.model.d.ts","../node_modules/@veltdev/types/app/models/data/notifications-events.data.model.d.ts","../node_modules/@veltdev/types/app/models/data/rewriter-annotation.data.model.d.ts","../node_modules/@veltdev/types/app/models/data/screen-size.data.model.d.ts","../node_modules/@veltdev/types/app/models/data/screenshot.data.model.d.ts","../node_modules/@veltdev/types/app/models/data/sync-video-player.data.model.d.ts","../node_modules/@veltdev/types/app/models/data/toast.data.model.d.ts","../node_modules/@veltdev/types/app/models/data/workspace-iam.data.model.d.ts","../node_modules/@veltdev/types/app/models/data/flock-options.model.d.ts","../node_modules/@veltdev/types/app/models/data/customer-metadata.data.model.d.ts","../node_modules/@veltdev/types/app/models/data/user-organization.data.model.d.ts","../node_modules/@veltdev/types/models.d.ts","../node_modules/@veltdev/types/types.d.ts","../node_modules/@veltdev/types/velt.d.ts","../src/types/velt.ts","../src/types/common.ts","../src/types/state.ts","../src/types/host.ts","../src/utils/console.ts","../src/utils/common.ts","../src/utils/host.ts","../src/adapters/host/marks.ts","../src/adapters/host/doc.ts","../src/adapters/host/storage.ts","../src/adapters/velt.ts","../src/core/state.ts","../src/core/registry.ts","../src/features/updateContent.ts","../src/core/extension.ts","../src/features/addComment.ts","../src/features/commentRenderer.ts","../src/features/renderComments.ts","../src/utils/serializer.ts","../src/index.ts","../node_modules/@types/estree/index.d.ts","../node_modules/@types/resolve/index.d.ts"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9",{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"f3d4da15233e593eacb3965cde7960f3fddf5878528d882bcedd5cbaba0193c7","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},"a6a5253138c5432c68a1510c70fe78a644fe2e632111ba778e1978010d6edfec","b1cf065c496e22fd2ef96dfcb45de67df3b2731bef5b3140d3e010243a0376c7","a439f95392e76f70dc45a1b628ae45a19e0b65a3be2a689a0195dce805ecb379","ef783fa8760c66a585666ee47571f1b5beb6ee39c65feac3c6d11b9419b23a73","e66b54d888e7c4aa706f68cb4f423c9a7e4466c116140b3b751f94b9f6cdefd0","713f2c35d90d976f5ca7c9d21468b15fde52992338874314214583f45bae6e54","e184c188c53f56fb830a9baac037236bfe181e9e56034686eeabe17af4ce47fe","5d4c9f32b105168199982cd52d2c43ca599d0cec52d1c71a40026bc60d107d5a","f4650df2112907767abea7225a0a3a2a0b7f9dc0cb3beb3a3edca4d8d87f81a6","3fd7dfdc74a84cde956fbdfe010693c3ed26497508d4eb12a5471fd7dfd90455","f712d1e8e986490c5fff850ca01ac68e3a5579c3d4221b03b3a4f4ad29ca223b","8fe3fb65780135475b332d6a212c3660f5715662e1bd8c5d61f6a2eecff8fa8a","db601fe7c45a06c96e835d24f63f720b52a490c9169a215a809bbdd19318b333","15b1038362ebae88ba108b48bf041e5129e6ac8c8e562119ddbb0c4d59b4df35","6e959d87b914dafc5ef176d5157f0e83ef78eb88043680611cee3b0e0afba4e3","56bbd1661909b6600753fc71ed0243f6e8adcae647ef67fc0b62b60e2675a5b5","0f99e68df1ea45629adae539a99c2905fe434028fe6704f167271f4ff4f05264","626801591dae7a2c337cc2914d5e72a7b06adc33b9155d660a5b3bbbabaddfb0","8d43955c94d917e00cd23a36e35d82d2eba6b6fed2191a2f1d297d1b0795180d","eb8d61ce7e98f8023e60c9f45710a54a05a3efe6d46043fdd3cb92c5bf2e8acc","c322f27d3efe960092e77ed8b8dce71c50c1157078d8f10ff895a808f52c829c","0304cf0856f4b1cf03ba95e30e483f5e2d2d4d58bba30f9a639358fa518c6bb9","3f6da7b72f49f175c8697f0b595c61b9c6379ccbd5bb52c188af80e97755d91d","7fe669be5d9945664a78fa55d40d72c59e46da50c79c81b4eeb96af73681542a","5a1d42c1f138187b26f166d2f7e5b87fee8fbb4d081b0232762b3c0c54227723","e8a08e21ffef29a041fad7e3b1555dc32b8c65cb23fed438c4be8860d01ed8a4","658bba65be19cfe1c3b01a232cfd4571046975a73e627d9237c628c26e75687d","5e9cadd41281e55af45b113d83bdec91411f13150726b288685f1f736cf26283","0f132d2e5badf404c1216068c98d03a8d5bf53a3f595a82405aafea71ee070a2","5428591aa21fc445c1bd9311b8a7c2a4d3135ffb12ab2509f0e9c278ea07718d","1752d9c5f22f98af3a10d7b8cadaacb8b32fc0a0d925844fba8e527be4cb9224","74ff2d57ba4609eb4fb27dbc4c49f1cc583069b67b926598aa60678566706212","d613983a335da3a09b01aefe87bfb514ae58fd5dcde03f522ffd17b6a289f6e1","1b5c26c825df5a36f2674cd951297329732029b814ab2149241d0669ccbf629b","ff934232c1600b8027d9dda713c23529e0f0139cddee25df252d59f7f48e27d8","87059c4a45f9c021ba5280a85f83989b269f125a9c56981a18584a9afe56f8c1","f51b60a9d49dbe37802ca809bd15a09bdc38a8734b4863e7a9586bebc516f20a","e642f02b5e85fe30e1ea51132d1125ac0ffd0e0795c6190c0c39c6f997ea4357","a69b379c1a3a4e74c35f50310a917cfb28e1ca166c1477ee1877d848ea6d26d3","94f7c4808deaab6a693f65484b3da00989454f5ecb7a3e44cdac6445a9548bfc","e5ea31a15eb51a2f15e033309810c1c8bc7cada60aad336426b6ed044b5399f3","12270278e750b65be770973e16c7cdee5cafcc31bc7fc67239144c44d96d3e81","4ea460538c388a884503fd78d3d03a6b1bc6dd95ba87dbedfc8c88a93e031054","eee60d7b51ef9ad2c4c65404d7b8f8436627994afcd6cc5dd9c54e4c0b40e9c5","4f0180deb060df1c8404ae0fc200290eb30c4ca25340265b97b8e45aef259a1d","543bdacb4346d112b0b34780662a95f0582cf7a2013d7d83453ec554a86faf79","9422cd747e4d1c26421e047aba2475202aef98bd799116aca73b9fdd39c4e2fb","2b08fed74c187dd4d861d48adbd7566247561568818b4eda2af20ee77030e52b","ff84014f7c753a7c9276879a52a4a00bca95a8a389fef3165a0d4cf667898368","a82599db003f1ca57ee52a940d5ef85454374adc96d2d73dfb1cdd2aa571172b","b34cbc07354ad004fe339854c71cad0a0fc5d282a54618bf8a25b4686b7b6063","ebeac8fa48a5f7b4f8a62400830b93a192b33740a1166cd0b48fc7040dc666f7","e74beb5f732b2d56c3a87bc2d5ccba0d031084f5874de43b502d937d197e8d97","89940100818e1206dc1545f350d45e5f0ea040d5d9550e91c40d57ca44384384","8f1e7f6d27544db7b065cdb4b4cc70fde9d564986a98e6e34d7d5f0c77880c0a","a0b1465bbac82c9308642f2a50f13fb3cc006817f81f04eb048a1a09796320b7","dc567c2a551e3d4845b769ed9f5d9c0fdd2c4569b24bf1d3358f4d628dd7d145","a0c7ec2a752c0bb24000c2612a1af8896ba702d0b1eaa769f0acc30befdca38e","606550e149fb0242378032f42d850d05969f0f7d0775015ad8424b41974975c9","5995a25d144558b1d170fefbbe25b60a46aa26905edf60ebb48ceac806b5b690","1121eb48e70ec3537d3de29d55f200c4e26c69a5b57ff82876fc459d51b85bb1","e1f955a9fdc8f567c28d1b44c7e22a88536f82e5865ffe821858c11e25b854c2","93697598dbe3d233d05356ccd14c6299c000808a0106a9e8e59c41c76bd0c17c","85388c96ef3baaf0a10315b8f09de65d547dd872f3db50d9ea6f5af9df2a13c2","fda61b6235b7d8d3351b93e127ee47a54088248f6d14c9ca382b301666b46f70","282ec3c1d5765cb455ca37fdfea342662014dafc6d241a1dbcd941e92f3fcefb","1bf5267864d469ac596c35ff8c5d77b2b5860739ef439ade673f2ef37636b274","e8c567373547c9f187f319231accfffa7580a1120b0586dab5fb97ae275c5c71","81cdd99a10efe09e60f2091df212d9578155c6b0fc16b5fd4dcead878cc28c88","58f0b79b28144390cbbcfebcaf01f4ce1a8f04e7f6707c3f6c955983ca267402","b9bfed72e1545833f3928b813e4ec907186249e545848150a210d57b0f19a7cc","6a718e776c8ad5f46af21b328814302c7bd0d792e51f31c0f8ac479ea45f85b5","93dd66523b0c3d8c2658404e07d11d78bf10857d31109997781000b9140bde89","545daa316cbe16f25ee06dd617031fdfc8f9d0c176e47279ffe6607d3ddc3fe1","dba7833cc01d1098d18c4cdb971449ade5295c3d7896786c8696e146d50d0a38","b63f9261c3bb5bbdbc9044e8783ff9ee5185757ae8a360aef7f7877a9c4490bd","5a285ee9a2df495dad3ba463c09b24b7dcbad3c719a5ddcf8a8791588745cee3","8842c0ea9dd3b035e70350e29b490b475b6b18fe96ddac9e570fcc63db11dd21","73a09371ada468aa010c8502404fb434c29f21dd05fc6f835c4172ed9f9e9aae","50f941f94f4f9dd6e76ad087af9dd7dab8277281fc0dc8ee472c1a6dd83d85f7","14a8086798040725d1b475cb0b869491039a043ec018bd8829a3c821b04e3651","b0b84edff7f99669133218e5b094162590627f34c1a1150ccce6725d039e3f8f","2a8e81a756a8dad0755c83952a587f0e16ec462700236e6235878f358b353b23","b917f42c6f12a6bef255ba95f01d6e2639bf90a7b661fed9b1838f6214aec966","ee9a8579899f643e710f35e519e095f83f9f57d55f4e56867bdd40af45bbfafe","ceb95eee0ed5b77ccb0ec79816c6052b5ddcbaa72946dba474d4e375e213bb3a","9735e64cae84827f4dd54f56d0278cde9a2483aef5fc1cc4a4bae2df00d6da03","1128d125b12e86aa318319741a54714441ac86083eb22a65996baa21ccec8b57","64fe54d5956ba5d595e7ce4f09a588689740f4b5fcd338f6a6f2cca291eaee34","a674b005e5b989677dd59ae201e8aa51474ee2e53cc102ff4198a8a1681e33f8","e7585ec7713d83974ca3d73e473548ddd797d05a843709608d70260acf23874a","496a86e0a28e45c7f08098b0bd1882304c021302ba4275ecf0158a7ba6b34d5f","4f7a9c32abbb9d747aeb8ef74d0235fa5799f4aecd164de8e8b57e33f794bff3","eb50705f3a8288b37f1764c38f797e7215ab306e70c54df056c8e097ac6d6910","87409e01b6a5794735a400fa5cb0f6e6041de48b01983f95316435b83c80ec98","872a8e1e360b9c6402d6f075d71f28509437c1f80d207b90991ab415f9c07f67","1b2fbd8452ae9155ee9f0f0fab8659dfb60b147c22beee9659a5687a63ef0135","1a02f28312cbb14e26ef06cefe68736a8a22dcc80fbd911fa784c5ee85c9400e","ff1e49079533cd6ca58ae274b1159c55a94fdbf141dabd26e8b5d3d7992bfa72","917649456ee64eda99b9280e3de6ccc4de13feee7a57c743d587880dfd8b1a8f","b4d48d367ec041f78566772ec32f504699543db7b56a17d36730abedb537c1e5","3940d01bfdd898bd13864ae8529ebc3840f94a3dfa5df1e0509ea4cd699bd998","4c1120036d38a60dad105a380af56db3a51dd854f64bcfdd7b1f0c42a641f505","031cc75751067b96245a7ed7f9aaef27aecf616aa11cdf5130a0d099aeb4b94f","91f32e7ae4ff3fc84a297335b0fa8cc3bb4d8fc79d93070ed88303aad7096ee8","7003434b851b43aff414133f76009d9ecd70f59472d01e771c7872d7e25bb27a","8af01d889819dccaf6256c105b27a7769678e3632916b11f775aaf44b0ce67ff","d30a754c86aa9b598ba6b56f035aa851edcae3337e0afdcfb2c7f118f27ca657","b0e9e6928971370fc5f74581be2943078e86275840a47a79782da2617e1f125e","113a6fcf33dfe125c9c14a887b750ff6a16e3a908f64a61a49b627155f45267c","6980b4f125e279993a1fef4d8af1c3813555201bb8c35f512aceaf59387d4c48","1a9e989e61976b12d306627606d5132e348c8be340ade3ad830ed6ffd6e14b4a","1e66c2ee1bce649af10b2d7f15c8edf982a94a25e5270be25cc3115d035d2562","24d17757047193cf147aee82065fa5ff51cdae99d576c989aa56c769c1932f17","a8e4b8b2ea8e340fdcb0daebe52edfcf2d3e79344cd7b8000abe52dacb1c5a3b","f4d3dcd757a6214c8563424b5a3f70132a81c916799686dadcc483c0a5c01b36","037e5a4a77176b8af9250856458078f2f61e1212f4bd6aa6f76f3589af0d0cfd","9be0d9af16c82daa1499f50843a901628957f4a6c78eb347c5570f7f7862bc26","e6f21d1bbcd01e467cfc6381ac7ec3b72e6ca3291d3f7edad5207acb2edd0e5e","cf51c9ffad2a864c619c6e5671c1ae905b234e060c48cdea5fd5bcfcd8685274","5449292a7b186c6bbe9638ad5be9245d6738e5a2982c899d0bcf0ab2862d7926","0b2bdbcec21403dfd25aba689b610c1dbb3bb0498c88e186c2c3ea92f30ad3a8","2a3b2d6bbf7c943217a53bdf7fcda2986505e0f5a67e3286787ea6298a6f9561","5d7e6b231366cd2d88f9c67e19a5d6f383cecfbda76e2c3af5716677a4cb9dee","f9d05dbd1fed39793a1d31b82fc9f1610d24c0b64f1acd78e6b944e5d667058e","4d9e0dfbb4255e01f7e026c84914e6ab27d97fc10ab9aa7f6d0ea7e2ff22a67a","89d9eefae53fb61255c6be18e0b9797b817383686edf025effc467c0ff2166d8","61e028ecf212f7c1fdb2e3c23e1b6a04d50943bfd33efa179a34d728234fbfc8","71b6d9bd986161c273a9a9f168eb4f0bf27fe8a33f3956e010c0bbb6a53ac59e","c09d4000b9340289ee6fe7b2f928cf63ece1b604adcbbcea82c9ee3453840789","5318f266c15d0a2a416fb62882f76bcfbf7a10f43b838069529fa6fe8f8843af","e2105b9b16e83772b9d2498d0bc074e74e81c9548de9895b036c3e1f27f1b117","97e5d401f8bfccbd2d7cc89b6e6ed49ef12cafed320cced17dcb86648da2c35e","c5af9f4ebdba691815d78ab0edd143851da0fce529d0fa93e1397fe16e748676",{"version":"d87b023b90ad4b0c027c6301dd310990a2fbf14e250ffab658f2f44a96a50128","affectsGlobalScope":true},"1452915e215dc0af645346f8a9785297d78a387835d60cafc9ca8c9f9a305139","eadc62d7b7762624fc24bf7e2c650f22b69bce6e67ab047e3642b9336954f276","7e265de0b59092d2432984b0f4875b66ec1eedef8e2c7c7996b8c79864b6b183","8427cbf02e2e29a8d6eb3b85d87af374e72da6a6c29b7be7c4ef4b56f8e663e7","add0a160a31097a6e4b9b3beecc4b11c355b003d8075548b6c20db1ff8073be6","3a49f5fe971de158e567634f4425a5a3ea038e52a553af512357ad3af4ea2959","5c61c51954b6f2b82c74831ba65f99d7d1addb770998d329e42447368b94ffd3","ae64d1e772c7ac132ef89170acc863f2793a9cc22922a60f9267da8efd0bdc13","956c5ab5b65e2d0058e1bcb4fee57b667ac87e0473b7d59c3cd11edc546cde72","ec5214b80eabb7465c7918113a9257a3178b86e77320e88ad5f9063306746f6a","9f26709dcbdd9cb2080da293916ab99bafc74a7fcc3a589eb1589bb1296c4aa3","f06d8c88b6c30d9e4f696fd77485274c52a70996e5a8c29af8499f2ff2ac5d09","caf005afc6d88fc495b0d61664c918d6d5169e555a8dc7b0c289c5f98d2a716f","3eac581264a6d9e8b587c693e08f0fdcc14fc7011f451c2c9956d859e530b1ff","13dfc3f39c3921d21cb622c6b642bd7dec1088c7449fea07c789d38da826c2cd","4dfd56f02bb4db808f65092047cae549a4c370cb1d3e32ee2657e68abde8d57e","f69885b1e58d3e7c00242dc86dcc0995051dee60ac83aeb965273c739f26afcf","5c21661c8be10437cfbdc76f2b0e68518c4e0558c5d594cb1e3337ed3bea30c8","59b33c62d54db8de18bd43fc4e82133946828287610adae28966f213ae8e7a01","225503840fc68c75904e4d6058947bc6cede180b849ed4240f2fdd01e850108f","151ff381ef9ff8da2da9b9663ebf657eac35c4c9a19183420c05728f31a6761d","8baa5d0febc68db886c40bf341e5c90dc215a90cd64552e47e8184be6b7e3358"],"options":{"allowSyntheticDefaultImports":true,"composite":true,"declaration":true,"declarationDir":"../types","emitDeclarationOnly":false,"esModuleInterop":true,"importHelpers":true,"module":99,"noEmitHelpers":true,"outDir":"./","skipLibCheck":true,"sourceMap":false,"strict":true,"target":7},"fileIdsList":[[68,69,70,74,75,76,77,78,79,80,101,104,110,114,116,118,119,122,126,130,131,132,134,135,136,137,139,140,142,143,144,148,149,150],[151],[75,77,81,85,87,90,153],[75,77,85,87,90,153],[68,73],[68],[70,83],[93,95,98,99,104,109],[68,70,75,82,91,93,95,98],[68,75,77,81,85,87,90,93,94,95,96,97],[68,70,75,77,82,91,92,93,95,98,104,110,111],[68,73,81,98,145],[77,95,98,99],[75,82,84,91,92],[75,83],[68,75,110],[77,85,87,90],[101,102],[68,157],[75,87,100],[70,72,75],[101],[75,77,101,102,103],[87],[81],[68,75],[120],[68,75,119],[75],[77,81,87],[75,77,81,85,90,96,98],[68,70,75,76,77,101,106,107,108],[68,109],[75,87,101],[86],[68,123],[77,87],[74,145,146,147],[75,77,81,85,87,88,90],[68,73,81,91,146],[68,75,77,81,82,85,87,90,127],[68,128],[75,77,87,96],[98,154],[75,87,96],[75,77,85,87,90,96],[89],[105],[70,72,75,81],[83,103],[73,75],[71],[70,74],[77,81],[72,157],[84],[68,82,84,91,94,95,98,99,111,112,113],[68,70,115],[141],[117],[68,75,120,121],[109],[123,124,125],[91],[92,128,129],[133],[138],[97],[68,69,70,71,72,73,74,75,76,77,78,81,82,83,84,85,86,87,88,89,90,91,92,93,94,96,97,98,99,100,101,103,104,106,107,108,109,110,111,112,113,115,117,119,120,121,123,124,125,127,128,129,133,138,141,143,144,145,146,147,148,149,150,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174],[79,80,114,116,118,122,126,130,131,132,134,135,136,137,139,140,142,151,152,175],[176],[44,45,46,52,53],[44,45],[48,50,51,53],[46,47,52,53],[52,53],[46,49,50,52,66],[49,66],[66],[44,45,48,52,53,66],[48,52,53],[45,46,47,48,52,53,66],[44,45,53],[44,45,46,53,54],[44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65],[44,66],[44,52,53,66],[46,53,66],[44,46,52,53],[44,53],[45,52,53],[43,66,67,180,181,182,183,184,185],[43,66,67,180,181,182,183,184],[43,66,182],[43,177,179,182],[43],[43,66,67,182,186,190,191],[43,67,179,182,186,189],[43,178,180,182],[43,67,178,179,182,185,186,187,188,189,192],[43,67,178,180,182,185,189],[43,67,178,179,182,188,189,192,194],[43,180,182,185,186,188,189],[43,179,185,193,195,196],[43,178],[43,180],[43,178,179],[43,177],[43,67],[43,66,67,182],[43,66,67]],"referencedMap":[[151,1],[152,2],[154,3],[155,4],[145,5],[82,6],[84,7],[110,8],[111,9],[98,10],[112,11],[146,12],[113,13],[93,14],[69,6],[115,15],[119,16],[117,17],[144,18],[158,19],[101,20],[76,21],[143,22],[104,23],[172,24],[150,25],[160,26],[161,27],[120,28],[121,26],[162,29],[100,30],[164,31],[109,32],[165,33],[83,29],[103,34],[87,35],[124,36],[123,37],[148,38],[91,39],[147,40],[88,29],[128,41],[129,42],[92,6],[166,43],[168,44],[133,45],[169,29],[138,46],[90,47],[96,47],[127,29],[106,48],[107,48],[157,49],[174,50],[108,48],[105,34],[74,51],[72,52],[75,53],[97,54],[171,55],[137,56],[114,57],[116,58],[142,59],[118,60],[122,61],[136,62],[126,63],[140,64],[130,65],[134,66],[139,67],[135,68],[175,69],[176,70],[177,71],[56,72],[49,73],[52,74],[48,75],[57,76],[53,77],[50,78],[58,79],[46,80],[59,81],[60,82],[54,83],[55,84],[66,85],[61,86],[62,87],[44,88],[63,76],[64,89],[47,90],[65,91],[45,89],[186,92],[185,93],[187,94],[188,95],[67,96],[192,97],[190,98],[189,99],[193,100],[194,101],[195,102],[191,103],[197,104],[179,105],[181,106],[180,107],[178,108],[183,96],[182,109],[184,110],[196,111]],"exportedModulesMap":[[151,1],[152,2],[154,3],[155,4],[145,5],[82,6],[84,7],[110,8],[111,9],[98,10],[112,11],[146,12],[113,13],[93,14],[69,6],[115,15],[119,16],[117,17],[144,18],[158,19],[101,20],[76,21],[143,22],[104,23],[172,24],[150,25],[160,26],[161,27],[120,28],[121,26],[162,29],[100,30],[164,31],[109,32],[165,33],[83,29],[103,34],[87,35],[124,36],[123,37],[148,38],[91,39],[147,40],[88,29],[128,41],[129,42],[92,6],[166,43],[168,44],[133,45],[169,29],[138,46],[90,47],[96,47],[127,29],[106,48],[107,48],[157,49],[174,50],[108,48],[105,34],[74,51],[72,52],[75,53],[97,54],[171,55],[137,56],[114,57],[116,58],[142,59],[118,60],[122,61],[136,62],[126,63],[140,64],[130,65],[134,66],[139,67],[135,68],[175,69],[176,70],[177,71],[56,72],[49,73],[52,74],[48,75],[57,76],[53,77],[50,78],[58,79],[46,80],[59,81],[60,82],[54,83],[55,84],[66,85],[61,86],[62,87],[44,88],[63,76],[64,89],[47,90],[65,91],[45,89],[186,92],[185,93],[187,94],[188,95],[67,96],[192,97],[190,98],[189,99],[193,100],[194,101],[195,102],[191,103],[197,104],[179,105],[181,106],[180,107],[178,108],[183,96],[182,109],[184,110],[196,111]],"semanticDiagnosticsPerFile":[198,199,151,152,89,153,154,155,145,82,84,81,110,156,111,98,112,146,113,99,93,69,115,119,141,85,117,94,78,95,173,86,144,158,101,159,76,143,149,104,172,102,150,160,161,120,121,162,100,77,163,164,109,165,83,103,87,71,125,124,123,148,91,147,88,128,129,92,73,166,167,168,133,169,138,90,96,170,127,106,70,107,157,174,108,105,74,72,75,97,171,79,80,137,114,116,142,118,132,122,136,126,140,130,131,134,139,135,68,175,176,177,56,49,52,48,57,53,50,58,46,51,59,60,54,55,66,61,62,44,63,64,47,65,45,43,8,9,11,10,2,12,13,14,15,16,17,18,19,3,4,23,20,21,22,24,25,26,5,27,28,29,30,6,34,31,32,33,35,7,36,41,42,37,38,39,40,1,186,185,187,188,67,192,190,189,193,194,195,191,197,179,181,180,178,183,182,184,196],"emitSignatures":[[67,"54d591b75a2b5702f79486adea3d47477397c43ae843253712d123ddce7bcbe1"],[178,"099c859c61ec74314abe1887795ebb98f700ff5138dc569498371bd4ca4e843f"],[179,"09fc3833303a4ba356504b8651860fc7008ea6d92d1d1c0a2c68ad8e6f8b2f5c"],[180,"0c04c96d9d1eeee60b511f3c55eaac2bcc0646c539b19832517a5b6a8fd3b4f8"],[181,"f7bbe60797144e5c350e942e038e7f1b7316d2c53607b91d4994aefd6c4286d7"],[182,"c3590c755d052426a2149172c91c279917c3bfd884ae76d6ab2b2306071d1141"],[183,"0e0c8dae93ec53bb11adc04ddf374f8cb3b82f66d8a5b37b0937961d79c7e1b8"],[184,"cab32c780df0ea4b630cc104d6fa92762b0d54b6e26e03441f5f061a7ad37bc2"],[185,"ccc37c3e937f3e6a4069bc0d6e9bbd6ce88330115fe7b439cba65d5b97367dae"],[186,"29fda539e232b6afb2a3389abc947d9c87f934376baff320eb6f6c06f6d9d418"],[187,"72c8bfd673355bd5ef0244c900a182a8b3f8f5137d8c1ddb5d61e850e43f841c"],[188,"d8eb85911da1c5f694be34bf8f203ff0f45d351cfe483ee66374463a4b6ceaf7"],[189,"fe8f335bcde67bf3460fdb2ff50d9674bc0cfbb090104097dfb0735a906849dd"],[190,"f5774bc999e7720c7963e950d68a4fab13193b40e8bf4da1d3fb1ca93e0e1110"],[191,"cb64d18a0d212cc8d2512d369254a0290cf18f7eaca95f03afeba4fda9551fb0"],[192,"9544a89ee01618d180ba3f1891811e214502819e54899f5539f9df41070c7ce5"],[193,"9cb03f9c606edb8bb3601cc307847e4509dadfd46f6f1a54290cd5fedaca91b2"],[194,"cfa481713ebf49c59d96ff6c6b32e3b0a497e57a525c57e9a92af5181e1d3cc4"],[195,"bb54af5c7f20f14cce5ae8cb50d97ba3f702e7938d7facd1fdcb87cd9f25053a"],[196,"6173d86b500aa04748d5b80c08bbcaf940a378be5c653ba8b0bd45bc3aad9ee8"],[197,"9c0987962b169a5a999ca4af73cc12db4c8d51e170cb9ff55e299fe7d8882270"]],"latestChangedDtsFile":"../types/src/index.d.ts"},"version":"4.9.5"}
@@ -1,23 +0,0 @@
1
- import type { EditorConfig, LexicalNode, NodeKey, SerializedElementNode, Spread } from 'lexical';
2
- import { ElementNode } from 'lexical';
3
- type SerializedCommentNode = Spread<{
4
- annotationId?: string;
5
- multiThreadAnnotationId?: string;
6
- type: 'comment';
7
- version: 1;
8
- }, SerializedElementNode>;
9
- export declare class CommentNode extends ElementNode {
10
- __annotationId?: string;
11
- __multiThreadAnnotationId?: string;
12
- static getType(): string;
13
- static clone(node: CommentNode): CommentNode;
14
- constructor(annotationId?: string, multiThreadAnnotationId?: string, key?: NodeKey);
15
- createDOM(config: EditorConfig): HTMLElement;
16
- updateDOM(prevNode: CommentNode, dom: HTMLElement, config: EditorConfig): boolean;
17
- static importJSON(serializedNode: SerializedCommentNode): CommentNode;
18
- exportJSON(): SerializedCommentNode;
19
- isInline(): boolean;
20
- }
21
- export declare function $createCommentNode(annotationId?: string, multiThreadAnnotationId?: string): CommentNode;
22
- export declare function $isCommentNode(node: LexicalNode | null | undefined): node is CommentNode;
23
- export {};
@@ -1,6 +0,0 @@
1
- export declare const Constants: {
2
- ATTRIBUTES: {
3
- EDITOR_ID: string;
4
- LOCATION_ID: string;
5
- };
6
- };
@@ -1,166 +0,0 @@
1
- import { LexicalEditor } from 'lexical';
2
- import type { Plugin } from './plugin';
3
- export declare class EditorService {
4
- plugin: Plugin;
5
- private editorUpdateListenerRemover?;
6
- constructor(plugin: Plugin);
7
- static getEditorId: (editor: LexicalEditor) => string | null;
8
- /**
9
- * Initialize the transaction listener (equivalent to TipTap's onTransaction)
10
- * Call this method when setting up the plugin
11
- */
12
- initializeTransactionListener(editor: LexicalEditor): void;
13
- /**
14
- * Clean up the transaction listener
15
- */
16
- destroyTransactionListener(): void;
17
- /**
18
- * Check if the document content has actually changed
19
- */
20
- private hasDocumentChanged;
21
- /**
22
- * Process editor changes
23
- */
24
- private onTransaction;
25
- /**
26
- * Extract text from a CommentNode while preserving paragraph structure.
27
- * This method ensures that text extracted from existing comment nodes maintains
28
- * the same newline characters that were present during initial selection.
29
- *
30
- * @param commentNode - The CommentNode to extract text from
31
- * @returns Text content with preserved paragraph breaks (newlines)
32
- */
33
- private getCommentNodeTextWithStructure;
34
- /**
35
- * Collect all annotations present in the document for processing
36
- */
37
- private collectDocumentAnnotations;
38
- /**
39
- * Process annotation changes
40
- */
41
- private processAnnotationChanges;
42
- /**
43
- * Detect content changes while preserving paragraph structure.
44
- * When multiple CommentNodes represent different paragraphs of the same annotation,
45
- * we need to join them with newlines to match the original text format.
46
- */
47
- private detectContentChanges;
48
- /**
49
- * Detect container changes
50
- */
51
- private detectContainerChanges;
52
- /**
53
- * Process container changes
54
- */
55
- private processContainerChanges;
56
- /**
57
- * Find new container for moved content
58
- */
59
- private findNewContainer;
60
- /**
61
- * Calculate new occurrence
62
- */
63
- private calculateNewOccurrence;
64
- /**
65
- * Create annotation change object
66
- */
67
- private createAnnotationChange;
68
- /**
69
- * Update Velt comments
70
- */
71
- private updateVeltComments;
72
- getSelectedText(editor: LexicalEditor): string;
73
- /**
74
- * Find occurrence index of selected text in Lexical editor.
75
- * This method determines which occurrence of a text pattern the current selection represents,
76
- * which is crucial for multi-paragraph text selections that span across different paragraphs.
77
- *
78
- * @param editor - The Lexical editor instance
79
- * @param selectedText - The text that is currently selected (may include newlines for multi-paragraph selections)
80
- * @param targetContainer - Optional container element to limit search scope
81
- * @returns The 1-indexed occurrence number of the selected text
82
- */
83
- findOccurrenceIndex(editor: LexicalEditor, selectedText: string, targetContainer: HTMLElement | null): number;
84
- /**
85
- * Find all text occurrences in the entire Lexical editor.
86
- * This method supports multi-paragraph text search by using the combined text
87
- * representation that includes newline characters between paragraphs.
88
- *
89
- * @param editor - The Lexical editor instance
90
- * @param searchText - The text to search for (may include newlines for multi-paragraph searches)
91
- * @returns Array of TextMatch objects with start and end positions
92
- */
93
- private findTextInEditor;
94
- /**
95
- * Find text occurrences within a specific DOM container (Updated to handle paragraph breaks)
96
- */
97
- private findTextInContainer;
98
- /**
99
- * Find parent DOM element with ID that contains the entire selection.
100
- * This method is used for container-level comment scoping and ensures that
101
- * the returned container actually encompasses the full selected text range.
102
- *
103
- * @param editor - The Lexical editor instance
104
- * @returns HTMLElement with ID that contains entire selection, or null if not found
105
- */
106
- findParentNodeWithId(editor: LexicalEditor): HTMLElement | null;
107
- /**
108
- * Highlights text in the editor with a Velt comment annotation.
109
- * This method supports multi-paragraph text highlighting by preserving paragraph structure
110
- * and creating separate comment nodes for each paragraph when necessary.
111
- *
112
- * @param editor - The Lexical editor instance
113
- * @param textToFind - The text to highlight (may include newlines for multi-paragraph selections)
114
- * @param commentOptions - Configuration options for the comment annotation
115
- */
116
- highlightTextWithVeltComment(editor: LexicalEditor, textToFind: string, commentOptions: {
117
- annotationId?: string;
118
- multiThreadAnnotationId?: string;
119
- occurrence?: number;
120
- targetTextNodeId?: string;
121
- originalAnnotation?: any;
122
- }): void;
123
- /**
124
- * Find text within a specific DOM element by ID.
125
- * This method is equivalent to TipTap's findTextInDomElement and supports
126
- * container-level text searching for scoped comment occurrence calculation.
127
- *
128
- * @param editor - The Lexical editor instance
129
- * @param text - The text to search for
130
- * @param domElementId - The ID of the DOM container element
131
- * @param desiredOccurrence - Optional limit on number of matches to find
132
- * @returns Array of TextMatch objects with start/end positions
133
- */
134
- private findTextInDomElement;
135
- /**
136
- * Find text in the entire document with support for multi-paragraph searches.
137
- * This method is used by the highlighting system to locate text that needs to be wrapped
138
- * with comment annotations, including text that spans across multiple paragraphs.
139
- *
140
- * @param editor - The Lexical editor instance
141
- * @param text - The text to search for (may include newlines for multi-paragraph searches)
142
- * @param desiredOccurrence - Optional limit on the number of occurrences to find
143
- * @returns Array of TextMatch objects with start and end positions
144
- */
145
- private findTextInDocument;
146
- /**
147
- * Creates a Velt comment highlight at the specified range.
148
- * This method intelligently handles different scenarios including single text nodes,
149
- * partial text nodes, and multi-paragraph selections while preserving document structure.
150
- *
151
- * @param editor - The Lexical editor instance
152
- * @param annotationId - The annotation ID for the comment
153
- * @param multiThreadAnnotationId - Optional multi-thread annotation ID
154
- * @param fromPos - Start position in the combined text representation
155
- * @param toPos - End position in the combined text representation
156
- */
157
- private setVeltComment;
158
- /**
159
- * Removes a Velt comment from the Lexical document
160
- * @param editor - The Lexical editor instance
161
- * @param annotationId - The ID of the annotation to remove
162
- * @returns boolean - True if the annotation was successfully removed, false otherwise
163
- * @throws Error if the stored data is invalid
164
- */
165
- removeVeltCommentFromEditor(editor: LexicalEditor, annotationId: string): boolean;
166
- }
@@ -1,24 +0,0 @@
1
- import { CommentAnnotation } from '@veltdev/types';
2
- import { LexicalEditor } from 'lexical';
3
- import { LexicalVeltCommentConfig } from "./types";
4
- export * from './comment-node';
5
- export * from './serializer';
6
- export declare const triggerAddComment: (editor: LexicalEditor, config?: LexicalVeltCommentConfig) => Promise<void>;
7
- export interface AddCommentRequest {
8
- editorId?: string;
9
- editor: LexicalEditor;
10
- context?: unknown;
11
- }
12
- /**
13
- * Creates a comment annotation for the currently selected text in the editor
14
- * This function handles the entire flow from getting the selected text to creating
15
- * the actual comment through the Velt service
16
- */
17
- export declare const addComment: ({ editorId, editor, context: clientContext, }: AddCommentRequest) => Promise<void>;
18
- export declare function highlightComments(editor: LexicalEditor, commentAnnotations: CommentAnnotation[], editorId?: string): void;
19
- export interface RenderCommentsRequest {
20
- editor: LexicalEditor;
21
- editorId?: string;
22
- commentAnnotations?: CommentAnnotation[];
23
- }
24
- export declare const renderComments: ({ editor, editorId, commentAnnotations }: RenderCommentsRequest) => void;