@harbour-enterprises/superdoc 0.23.0-next.2 → 0.23.0-next.21

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 (748) hide show
  1. package/dist/chunks/{PdfViewer-BItyloFT.cjs → PdfViewer-C1OeVT5x.cjs} +2 -2
  2. package/dist/chunks/{PdfViewer-MPmm-SUD.es.js → PdfViewer-DN7WcPFE.es.js} +2 -2
  3. package/dist/chunks/{eventemitter3-CZv6vEhA.es.js → eventemitter3-BWEnUdTY.es.js} +1 -1
  4. package/dist/chunks/{eventemitter3-B_kO1Pxm.cjs → eventemitter3-DkXkH2rT.cjs} +1 -1
  5. package/dist/chunks/{index-OVF3JhUR.es.js → index-C4jqec_K.es.js} +98 -356
  6. package/dist/chunks/{index-CdJOxoqt.cjs → index-CzDXj8Kn.cjs} +231 -489
  7. package/dist/chunks/{jszip-B8KIZSNe.es.js → jszip-BDk3JBqp.es.js} +4 -4
  8. package/dist/chunks/{jszip-b7l8QkfH.cjs → jszip-u4dvXAKa.cjs} +4 -4
  9. package/dist/chunks/{super-editor.es-C7stybby.cjs → super-editor.es-BAutf_un.cjs} +1465 -735
  10. package/dist/chunks/{super-editor.es-DQnqUJZs.es.js → super-editor.es-C_TNO7vs.es.js} +1465 -735
  11. package/dist/chunks/{vue-DWle4Cai.cjs → vue-DKMj1I9B.cjs} +39 -42
  12. package/dist/chunks/{vue-CXxsqYcP.es.js → vue-ZWZLQtoU.es.js} +39 -42
  13. package/dist/chunks/xml-js-D_ZIzxu0.cjs +3 -0
  14. package/dist/chunks/xml-js-Dx4FIjnp.es.js +2 -0
  15. package/dist/components/CommentsLayer/types.d.ts +158 -0
  16. package/dist/components/CommentsLayer/types.d.ts.map +1 -0
  17. package/dist/core/SuperDoc.d.ts +5 -18
  18. package/dist/core/SuperDoc.d.ts.map +1 -1
  19. package/dist/core/types/index.d.ts +48 -2
  20. package/dist/core/types/index.d.ts.map +1 -1
  21. package/dist/stores/comments-store.d.ts +3 -3
  22. package/dist/stores/comments-store.d.ts.map +1 -1
  23. package/dist/stores/superdoc-store.d.ts.map +1 -1
  24. package/dist/style.css +73 -54
  25. package/dist/super-editor/ai-writer.es.js +2 -2
  26. package/dist/super-editor/chunks/{converter-BVirrB35.js → converter-DRfV_TdS.js} +1311 -847
  27. package/dist/super-editor/chunks/{docx-zipper-Cpb9d2an.js → docx-zipper-BGbNO5Td.js} +1 -1
  28. package/dist/super-editor/chunks/{editor-DIINh50j.js → editor-CkWePiIz.js} +345 -92
  29. package/dist/super-editor/chunks/{toolbar-CmDmkPHL.js → toolbar-Ba-s6umZ.js} +4 -4
  30. package/dist/super-editor/converter.es.js +1 -1
  31. package/dist/super-editor/docx-zipper.es.js +2 -2
  32. package/dist/super-editor/editor.es.js +3 -3
  33. package/dist/super-editor/file-zipper.es.js +1 -1
  34. package/dist/super-editor/style.css +46 -27
  35. package/dist/super-editor/{src → super-editor/src}/components/toolbar/toolbarTexts.d.ts +1 -0
  36. package/dist/super-editor/{src → super-editor/src}/core/Attribute.d.ts +2 -2
  37. package/dist/super-editor/{src → super-editor/src}/core/Editor.d.ts +57 -3
  38. package/dist/super-editor/{src → super-editor/src}/core/Schema.d.ts +2 -2
  39. package/dist/super-editor/{src → super-editor/src}/core/helpers/htmlSanitizer.d.ts +1 -1
  40. package/dist/super-editor/{src → super-editor/src}/core/super-converter/SuperConverter.d.ts +58 -2
  41. package/dist/super-editor/{src → super-editor/src}/core/super-converter/exporter-docx-defs.d.ts +28 -39
  42. package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/exporter/commentsExporter.d.ts +0 -7
  43. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/commentRange/attributes/index.d.ts +1 -0
  44. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/commentRange/attributes/w-id.d.ts +3 -0
  45. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/commentRange/comment-range-translator.d.ts +3 -0
  46. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/commentRange/index.d.ts +1 -0
  47. package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/node-translator/node-translator.d.ts +6 -0
  48. package/dist/super-editor/super-editor/src/extensions/comment/comments-plugin.d.ts +64 -0
  49. package/dist/super-editor/super-editor/src/extensions/comment/helpers/index.d.ts +2 -0
  50. package/dist/super-editor/super-editor/src/extensions/comment/helpers/normalize-comment-event-payload.d.ts +1 -0
  51. package/dist/super-editor/super-editor/src/extensions/comment/helpers/update-position.d.ts +7 -0
  52. package/dist/super-editor/super-editor/src/extensions/image/imageHelpers/handleBase64.d.ts +5 -0
  53. package/dist/super-editor/{src → super-editor/src}/extensions/image/imageHelpers/imageRegistrationPlugin.d.ts +1 -0
  54. package/dist/super-editor/{src → super-editor/src}/extensions/image/imageHelpers/startImageUpload.d.ts +5 -0
  55. package/dist/super-editor/super-editor.es.js +26 -11
  56. package/dist/super-editor/superdoc/src/components/CommentsLayer/types.d.ts +157 -0
  57. package/dist/super-editor/toolbar.es.js +2 -2
  58. package/dist/super-editor.cjs +2 -2
  59. package/dist/super-editor.es.js +2 -2
  60. package/dist/superdoc.cjs +3 -4
  61. package/dist/superdoc.es.js +3 -4
  62. package/dist/superdoc.umd.js +1606 -1134
  63. package/dist/superdoc.umd.js.map +1 -1
  64. package/package.json +1 -1
  65. package/dist/chunks/xml-js-CX8FH0He.cjs +0 -3
  66. package/dist/chunks/xml-js-D0tLGmKu.es.js +0 -2
  67. package/dist/super-editor/src/extensions/comment/comments-plugin.d.ts +0 -4
  68. package/dist/super-editor/src/extensions/image/imageHelpers/handleBase64.d.ts +0 -1
  69. /package/dist/super-editor/{postcss.config.d.cts → super-editor/postcss.config.d.cts} +0 -0
  70. /package/dist/super-editor/{src → super-editor/src}/components/cursor-helpers.d.ts +0 -0
  71. /package/dist/super-editor/{src → super-editor/src}/components/pagination-helpers.d.ts +0 -0
  72. /package/dist/super-editor/{src → super-editor/src}/components/slash-menu/constants.d.ts +0 -0
  73. /package/dist/super-editor/{src → super-editor/src}/components/slash-menu/menuItems.d.ts +0 -0
  74. /package/dist/super-editor/{src → super-editor/src}/components/slash-menu/tests/testHelpers.d.ts +0 -0
  75. /package/dist/super-editor/{src → super-editor/src}/components/slash-menu/utils.d.ts +0 -0
  76. /package/dist/super-editor/{src → super-editor/src}/components/toolbar/ai-helpers.d.ts +0 -0
  77. /package/dist/super-editor/{src → super-editor/src}/components/toolbar/color-dropdown-helpers.d.ts +0 -0
  78. /package/dist/super-editor/{src → super-editor/src}/components/toolbar/constants.d.ts +0 -0
  79. /package/dist/super-editor/{src → super-editor/src}/components/toolbar/defaultItems.d.ts +0 -0
  80. /package/dist/super-editor/{src → super-editor/src}/components/toolbar/format-negation.d.ts +0 -0
  81. /package/dist/super-editor/{src → super-editor/src}/components/toolbar/helpers.d.ts +0 -0
  82. /package/dist/super-editor/{src → super-editor/src}/components/toolbar/scroll-helpers.d.ts +0 -0
  83. /package/dist/super-editor/{src → super-editor/src}/components/toolbar/super-toolbar.d.ts +0 -0
  84. /package/dist/super-editor/{src → super-editor/src}/components/toolbar/toolbarIcons.d.ts +0 -0
  85. /package/dist/super-editor/{src → super-editor/src}/components/toolbar/use-toolbar-item.d.ts +0 -0
  86. /package/dist/super-editor/{src → super-editor/src}/composables/use-high-contrast-mode.d.ts +0 -0
  87. /package/dist/super-editor/{src → super-editor/src}/core/CommandService.d.ts +0 -0
  88. /package/dist/super-editor/{src → super-editor/src}/core/DocxZipper.d.ts +0 -0
  89. /package/dist/super-editor/{src → super-editor/src}/core/EventEmitter.d.ts +0 -0
  90. /package/dist/super-editor/{src → super-editor/src}/core/Extension.d.ts +0 -0
  91. /package/dist/super-editor/{src → super-editor/src}/core/ExtensionService.d.ts +0 -0
  92. /package/dist/super-editor/{src → super-editor/src}/core/InputRule.d.ts +0 -0
  93. /package/dist/super-editor/{src → super-editor/src}/core/Mark.d.ts +0 -0
  94. /package/dist/super-editor/{src → super-editor/src}/core/Node.d.ts +0 -0
  95. /package/dist/super-editor/{src → super-editor/src}/core/OxmlNode.d.ts +0 -0
  96. /package/dist/super-editor/{src → super-editor/src}/core/child-editor/child-editor.d.ts +0 -0
  97. /package/dist/super-editor/{src → super-editor/src}/core/child-editor/index.d.ts +0 -0
  98. /package/dist/super-editor/{src → super-editor/src}/core/commands/__tests__/schemaWithLists.d.ts +0 -0
  99. /package/dist/super-editor/{src → super-editor/src}/core/commands/__tests__/testHelpers.d.ts +0 -0
  100. /package/dist/super-editor/{src → super-editor/src}/core/commands/__tests__/testSchema.d.ts +0 -0
  101. /package/dist/super-editor/{src → super-editor/src}/core/commands/backspaceNextToList.d.ts +0 -0
  102. /package/dist/super-editor/{src → super-editor/src}/core/commands/clearNodes.d.ts +0 -0
  103. /package/dist/super-editor/{src → super-editor/src}/core/commands/command.d.ts +0 -0
  104. /package/dist/super-editor/{src → super-editor/src}/core/commands/createParagraphNear.d.ts +0 -0
  105. /package/dist/super-editor/{src → super-editor/src}/core/commands/decreaseListIndent.d.ts +0 -0
  106. /package/dist/super-editor/{src → super-editor/src}/core/commands/deleteListItem.d.ts +0 -0
  107. /package/dist/super-editor/{src → super-editor/src}/core/commands/deleteNextToList.d.ts +0 -0
  108. /package/dist/super-editor/{src → super-editor/src}/core/commands/deleteSelection.d.ts +0 -0
  109. /package/dist/super-editor/{src → super-editor/src}/core/commands/exitCode.d.ts +0 -0
  110. /package/dist/super-editor/{src → super-editor/src}/core/commands/first.d.ts +0 -0
  111. /package/dist/super-editor/{src → super-editor/src}/core/commands/increaseListIndent.d.ts +0 -0
  112. /package/dist/super-editor/{src → super-editor/src}/core/commands/index.d.ts +0 -0
  113. /package/dist/super-editor/{src → super-editor/src}/core/commands/insertContent.d.ts +0 -0
  114. /package/dist/super-editor/{src → super-editor/src}/core/commands/insertContentAt.d.ts +0 -0
  115. /package/dist/super-editor/{src → super-editor/src}/core/commands/insertTabChar.d.ts +0 -0
  116. /package/dist/super-editor/{src → super-editor/src}/core/commands/insertTabNode.d.ts +0 -0
  117. /package/dist/super-editor/{src → super-editor/src}/core/commands/joinBackward.d.ts +0 -0
  118. /package/dist/super-editor/{src → super-editor/src}/core/commands/joinDown.d.ts +0 -0
  119. /package/dist/super-editor/{src → super-editor/src}/core/commands/joinForward.d.ts +0 -0
  120. /package/dist/super-editor/{src → super-editor/src}/core/commands/joinUp.d.ts +0 -0
  121. /package/dist/super-editor/{src → super-editor/src}/core/commands/liftEmptyBlock.d.ts +0 -0
  122. /package/dist/super-editor/{src → super-editor/src}/core/commands/liftListItem.d.ts +0 -0
  123. /package/dist/super-editor/{src → super-editor/src}/core/commands/list-helpers/find-node-position.d.ts +0 -0
  124. /package/dist/super-editor/{src → super-editor/src}/core/commands/list-helpers/index.d.ts +0 -0
  125. /package/dist/super-editor/{src → super-editor/src}/core/commands/list-helpers/is-list.d.ts +0 -0
  126. /package/dist/super-editor/{src → super-editor/src}/core/commands/list-helpers/test-helpers.d.ts +0 -0
  127. /package/dist/super-editor/{src → super-editor/src}/core/commands/newlineInCode.d.ts +0 -0
  128. /package/dist/super-editor/{src → super-editor/src}/core/commands/resetAttributes.d.ts +0 -0
  129. /package/dist/super-editor/{src → super-editor/src}/core/commands/restoreSelection.d.ts +0 -0
  130. /package/dist/super-editor/{src → super-editor/src}/core/commands/selectAll.d.ts +0 -0
  131. /package/dist/super-editor/{src → super-editor/src}/core/commands/selectNodeBackward.d.ts +0 -0
  132. /package/dist/super-editor/{src → super-editor/src}/core/commands/selectNodeForward.d.ts +0 -0
  133. /package/dist/super-editor/{src → super-editor/src}/core/commands/selectTextblockEnd.d.ts +0 -0
  134. /package/dist/super-editor/{src → super-editor/src}/core/commands/selectTextblockStart.d.ts +0 -0
  135. /package/dist/super-editor/{src → super-editor/src}/core/commands/setMark.d.ts +0 -0
  136. /package/dist/super-editor/{src → super-editor/src}/core/commands/setMeta.d.ts +0 -0
  137. /package/dist/super-editor/{src → super-editor/src}/core/commands/setNode.d.ts +0 -0
  138. /package/dist/super-editor/{src → super-editor/src}/core/commands/sinkListItem.d.ts +0 -0
  139. /package/dist/super-editor/{src → super-editor/src}/core/commands/splitBlock.d.ts +0 -0
  140. /package/dist/super-editor/{src → super-editor/src}/core/commands/splitListItem.d.ts +0 -0
  141. /package/dist/super-editor/{src → super-editor/src}/core/commands/tests/commandTestUtils.d.ts +0 -0
  142. /package/dist/super-editor/{src → super-editor/src}/core/commands/tests/test-schema.d.ts +0 -0
  143. /package/dist/super-editor/{src → super-editor/src}/core/commands/toggleList.d.ts +0 -0
  144. /package/dist/super-editor/{src → super-editor/src}/core/commands/toggleMark.d.ts +0 -0
  145. /package/dist/super-editor/{src → super-editor/src}/core/commands/toggleMarkCascade.d.ts +0 -0
  146. /package/dist/super-editor/{src → super-editor/src}/core/commands/toggleNode.d.ts +0 -0
  147. /package/dist/super-editor/{src → super-editor/src}/core/commands/types/index.d.ts +0 -0
  148. /package/dist/super-editor/{src → super-editor/src}/core/commands/undoInputRule.d.ts +0 -0
  149. /package/dist/super-editor/{src → super-editor/src}/core/commands/unsetAllMarks.d.ts +0 -0
  150. /package/dist/super-editor/{src → super-editor/src}/core/commands/unsetMark.d.ts +0 -0
  151. /package/dist/super-editor/{src → super-editor/src}/core/commands/updateAttributes.d.ts +0 -0
  152. /package/dist/super-editor/{src → super-editor/src}/core/commands/wrapInList.d.ts +0 -0
  153. /package/dist/super-editor/{src → super-editor/src}/core/encoding-helpers.d.ts +0 -0
  154. /package/dist/super-editor/{src → super-editor/src}/core/extensions/commands.d.ts +0 -0
  155. /package/dist/super-editor/{src → super-editor/src}/core/extensions/editable.d.ts +0 -0
  156. /package/dist/super-editor/{src → super-editor/src}/core/extensions/editorFocus.d.ts +0 -0
  157. /package/dist/super-editor/{src → super-editor/src}/core/extensions/index.d.ts +0 -0
  158. /package/dist/super-editor/{src → super-editor/src}/core/extensions/keymap.d.ts +0 -0
  159. /package/dist/super-editor/{src → super-editor/src}/core/helpers/ErrorWithDetails.d.ts +0 -0
  160. /package/dist/super-editor/{src → super-editor/src}/core/helpers/annotator.d.ts +0 -0
  161. /package/dist/super-editor/{src → super-editor/src}/core/helpers/baseListDefinitions.d.ts +0 -0
  162. /package/dist/super-editor/{src → super-editor/src}/core/helpers/chainableEditorState.d.ts +0 -0
  163. /package/dist/super-editor/{src → super-editor/src}/core/helpers/cleanSchemaItem.d.ts +0 -0
  164. /package/dist/super-editor/{src → super-editor/src}/core/helpers/contentProcessor.d.ts +0 -0
  165. /package/dist/super-editor/{src → super-editor/src}/core/helpers/createDocument.d.ts +0 -0
  166. /package/dist/super-editor/{src → super-editor/src}/core/helpers/createNodeFromContent.d.ts +0 -0
  167. /package/dist/super-editor/{src → super-editor/src}/core/helpers/defaultBlockAt.d.ts +0 -0
  168. /package/dist/super-editor/{src → super-editor/src}/core/helpers/findChildren.d.ts +0 -0
  169. /package/dist/super-editor/{src → super-editor/src}/core/helpers/findMark.d.ts +0 -0
  170. /package/dist/super-editor/{src → super-editor/src}/core/helpers/findParentNode.d.ts +0 -0
  171. /package/dist/super-editor/{src → super-editor/src}/core/helpers/findParentNodeClosestToPos.d.ts +0 -0
  172. /package/dist/super-editor/{src → super-editor/src}/core/helpers/findWordBounds.d.ts +0 -0
  173. /package/dist/super-editor/{src → super-editor/src}/core/helpers/generateDocxListAttributes.d.ts +0 -0
  174. /package/dist/super-editor/{src → super-editor/src}/core/helpers/generateDocxRandomId.d.ts +0 -0
  175. /package/dist/super-editor/{src → super-editor/src}/core/helpers/getActiveFormatting.d.ts +0 -0
  176. /package/dist/super-editor/{src → super-editor/src}/core/helpers/getExtensionConfigField.d.ts +0 -0
  177. /package/dist/super-editor/{src → super-editor/src}/core/helpers/getHTMLFromFragment.d.ts +0 -0
  178. /package/dist/super-editor/{src → super-editor/src}/core/helpers/getMarkRange.d.ts +0 -0
  179. /package/dist/super-editor/{src → super-editor/src}/core/helpers/getMarkType.d.ts +0 -0
  180. /package/dist/super-editor/{src → super-editor/src}/core/helpers/getMarksBetween.d.ts +0 -0
  181. /package/dist/super-editor/{src → super-editor/src}/core/helpers/getMarksFromSelection.d.ts +0 -0
  182. /package/dist/super-editor/{src → super-editor/src}/core/helpers/getNodeType.d.ts +0 -0
  183. /package/dist/super-editor/{src → super-editor/src}/core/helpers/getSchemaTypeByName.d.ts +0 -0
  184. /package/dist/super-editor/{src → super-editor/src}/core/helpers/getSchemaTypeNameByName.d.ts +0 -0
  185. /package/dist/super-editor/{src → super-editor/src}/core/helpers/getTextContentFromNodes.d.ts +0 -0
  186. /package/dist/super-editor/{src → super-editor/src}/core/helpers/importHtml.d.ts +0 -0
  187. /package/dist/super-editor/{src → super-editor/src}/core/helpers/importMarkdown.d.ts +0 -0
  188. /package/dist/super-editor/{src → super-editor/src}/core/helpers/index.d.ts +0 -0
  189. /package/dist/super-editor/{src → super-editor/src}/core/helpers/isActive.d.ts +0 -0
  190. /package/dist/super-editor/{src → super-editor/src}/core/helpers/isExtentionRulesEnabled.d.ts +0 -0
  191. /package/dist/super-editor/{src → super-editor/src}/core/helpers/isInTable.d.ts +0 -0
  192. /package/dist/super-editor/{src → super-editor/src}/core/helpers/isList.d.ts +0 -0
  193. /package/dist/super-editor/{src → super-editor/src}/core/helpers/isMarkActive.d.ts +0 -0
  194. /package/dist/super-editor/{src → super-editor/src}/core/helpers/isNodeActive.d.ts +0 -0
  195. /package/dist/super-editor/{src → super-editor/src}/core/helpers/isTextSelection.d.ts +0 -0
  196. /package/dist/super-editor/{src → super-editor/src}/core/helpers/list-numbering-helpers.d.ts +0 -0
  197. /package/dist/super-editor/{src → super-editor/src}/core/helpers/orderedListUtils.d.ts +0 -0
  198. /package/dist/super-editor/{src → super-editor/src}/core/helpers/pasteListHelpers.d.ts +0 -0
  199. /package/dist/super-editor/{src → super-editor/src}/core/helpers/posToDOMRect.d.ts +0 -0
  200. /package/dist/super-editor/{src → super-editor/src}/core/helpers/selectionToInsertionEnd.d.ts +0 -0
  201. /package/dist/super-editor/{src → super-editor/src}/core/helpers/setImageNodeSelection.d.ts +0 -0
  202. /package/dist/super-editor/{src → super-editor/src}/core/helpers/setWordSelection.d.ts +0 -0
  203. /package/dist/super-editor/{src → super-editor/src}/core/helpers/updateDOMAttributes.d.ts +0 -0
  204. /package/dist/super-editor/{src → super-editor/src}/core/index.d.ts +0 -0
  205. /package/dist/super-editor/{src → super-editor/src}/core/inputRules/docx-paste/docx-paste.d.ts +0 -0
  206. /package/dist/super-editor/{src → super-editor/src}/core/inputRules/google-docs-paste/google-docs-paste.d.ts +0 -0
  207. /package/dist/super-editor/{src → super-editor/src}/core/inputRules/html/html-helpers.d.ts +0 -0
  208. /package/dist/super-editor/{src → super-editor/src}/core/inputRules/html/transform-copied-lists.d.ts +0 -0
  209. /package/dist/super-editor/{src → super-editor/src}/core/inputRules/wrappingInputRule.d.ts +0 -0
  210. /package/dist/super-editor/{src → super-editor/src}/core/migrations/0.14-listsv2/listsv2migration.d.ts +0 -0
  211. /package/dist/super-editor/{src → super-editor/src}/core/migrations/index.d.ts +0 -0
  212. /package/dist/super-editor/{src → super-editor/src}/core/migrations/migration_after_0_4_14.d.ts +0 -0
  213. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/constants.d.ts +0 -0
  214. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/docx-helpers/document-rels.d.ts +0 -0
  215. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/docx-helpers/docx-constants.d.ts +0 -0
  216. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/docx-helpers/docx-helpers.d.ts +0 -0
  217. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/docx-helpers/get-default-style-definition.d.ts +0 -0
  218. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/docx-helpers/index.d.ts +0 -0
  219. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/export-helpers/pre-process-vertical-merge-cells.d.ts +0 -0
  220. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/exporter.d.ts +0 -0
  221. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/field-references/fld-preprocessors/hyperlink-preprocessor.d.ts +0 -0
  222. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/field-references/fld-preprocessors/index.d.ts +0 -0
  223. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/field-references/fld-preprocessors/num-pages-preprocessor.d.ts +0 -0
  224. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/field-references/fld-preprocessors/page-preprocessor.d.ts +0 -0
  225. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/field-references/fld-preprocessors/page-ref-preprocessor.d.ts +0 -0
  226. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/field-references/fld-preprocessors/toc-preprocessor.d.ts +0 -0
  227. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/field-references/index.d.ts +0 -0
  228. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/field-references/preProcessNodesForFldChar.d.ts +0 -0
  229. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/helpers/mediaHelpers.d.ts +0 -0
  230. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/helpers/tableFallbackHelpers.d.ts +0 -0
  231. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/helpers.d.ts +0 -0
  232. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/types.d.ts +0 -0
  233. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/docxHelper.d.ts +0 -0
  234. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/exporter/helpers/base-list.definitions.d.ts +0 -0
  235. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/exporter/helpers/index.d.ts +0 -0
  236. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/exporter/helpers/translateChildNodes.d.ts +0 -0
  237. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/exporter/index.d.ts +0 -0
  238. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/importer/alternateChoiceImporter.d.ts +0 -0
  239. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/importer/autoPageNumberImporter.d.ts +0 -0
  240. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/importer/bookmarkEndImporter.d.ts +0 -0
  241. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/importer/bookmarkNodeImporter.d.ts +0 -0
  242. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/importer/bookmarkStartImporter.d.ts +0 -0
  243. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/importer/documentCommentsImporter.d.ts +0 -0
  244. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/importer/docxImporter.d.ts +0 -0
  245. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/importer/hyperlinkImporter.d.ts +0 -0
  246. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/importer/ignoredNodes.d.ts +0 -0
  247. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/importer/imageImporter.d.ts +0 -0
  248. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/importer/importerHelpers.d.ts +0 -0
  249. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/importer/index.d.ts +0 -0
  250. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/importer/lineBreakImporter.d.ts +0 -0
  251. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/importer/listImporter.d.ts +0 -0
  252. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/importer/markImporter.d.ts +0 -0
  253. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/importer/mergeTextNodes.d.ts +0 -0
  254. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/importer/pageReferenceImporter.d.ts +0 -0
  255. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/importer/paragraphNodeImporter.d.ts +0 -0
  256. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/importer/pictNodeImporter.d.ts +0 -0
  257. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/importer/runNodeImporter.d.ts +0 -0
  258. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/importer/sdtNodeImporter.d.ts +0 -0
  259. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/importer/standardNodeImporter.d.ts +0 -0
  260. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/importer/tabImporter.d.ts +0 -0
  261. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/importer/tableImporter.d.ts +0 -0
  262. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/importer/tableOfContentsImporter.d.ts +0 -0
  263. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/importer/textNodeImporter.d.ts +0 -0
  264. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/importer/trackChangesImporter.d.ts +0 -0
  265. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/importer/types/index.d.ts +0 -0
  266. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v2/types/index.d.ts +0 -0
  267. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/constants/east-asian-regex.d.ts +0 -0
  268. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/constants/index.d.ts +0 -0
  269. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/index.d.ts +0 -0
  270. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/mc/altermateContent/alternate-content-translator.d.ts +0 -0
  271. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/mc/altermateContent/index.d.ts +0 -0
  272. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/sd/pageReference/index.d.ts +0 -0
  273. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/sd/pageReference/pageReference-translator.d.ts +0 -0
  274. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/sd/tableOfContents/index.d.ts +0 -0
  275. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/sd/tableOfContents/tableOfContents-translator.d.ts +0 -0
  276. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/types/index.d.ts +0 -0
  277. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/utils.d.ts +0 -0
  278. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/b/attributes/index.d.ts +0 -0
  279. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/b/attributes/w-val.d.ts +0 -0
  280. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/b/b-translator.d.ts +0 -0
  281. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/b/index.d.ts +0 -0
  282. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/bidiVisual/bidiVisual-translator.d.ts +0 -0
  283. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/bidiVisual/index.d.ts +0 -0
  284. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/bookmark-end/attributes/index.d.ts +0 -0
  285. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/bookmark-end/attributes/w-displaced-by-custom-xml.d.ts +0 -0
  286. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/bookmark-end/attributes/w-id.d.ts +0 -0
  287. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/bookmark-end/bookmark-end-translator.d.ts +0 -0
  288. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/bookmark-end/index.d.ts +0 -0
  289. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/bookmark-start/attributes/index.d.ts +0 -0
  290. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/bookmark-start/attributes/w-col-first.d.ts +0 -0
  291. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/bookmark-start/attributes/w-col-last.d.ts +0 -0
  292. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/bookmark-start/attributes/w-displaced-by-custom-xml.d.ts +0 -0
  293. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/bookmark-start/attributes/w-id.d.ts +0 -0
  294. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/bookmark-start/attributes/w-name.d.ts +0 -0
  295. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/bookmark-start/bookmark-start-translator.d.ts +0 -0
  296. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/bookmark-start/index.d.ts +0 -0
  297. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/bottom/bottom-translator.d.ts +0 -0
  298. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/bottom/index.d.ts +0 -0
  299. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/bottom/marginBottom-translator.d.ts +0 -0
  300. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/br/attributes/index.d.ts +0 -0
  301. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/br/attributes/w-clear.d.ts +0 -0
  302. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/br/attributes/w-line-break-type.d.ts +0 -0
  303. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/br/br-translator.d.ts +0 -0
  304. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/br/index.d.ts +0 -0
  305. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/cantSplit/cantSplit-translator.d.ts +0 -0
  306. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/cantSplit/index.d.ts +0 -0
  307. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/caps/caps-translator.d.ts +0 -0
  308. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/cnfStyle/cnfStyle-translator.d.ts +0 -0
  309. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/cnfStyle/index.d.ts +0 -0
  310. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/color/attributes/index.d.ts +0 -0
  311. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/color/attributes/w-theme-color.d.ts +0 -0
  312. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/color/attributes/w-theme-shade.d.ts +0 -0
  313. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/color/attributes/w-theme-tint.d.ts +0 -0
  314. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/color/attributes/w-val.d.ts +0 -0
  315. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/color/color-translator.d.ts +0 -0
  316. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/divId/divId-translator.d.ts +0 -0
  317. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/divId/index.d.ts +0 -0
  318. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/drawing/drawing-translator.d.ts +0 -0
  319. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/drawing/index.d.ts +0 -0
  320. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/end/end-translator.d.ts +0 -0
  321. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/end/index.d.ts +0 -0
  322. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/end/marginEnd-translator.d.ts +0 -0
  323. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/gridAfter/gridAfter-translator.d.ts +0 -0
  324. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/gridAfter/index.d.ts +0 -0
  325. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/gridBefore/gridBefore-translator.d.ts +0 -0
  326. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/gridBefore/index.d.ts +0 -0
  327. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/gridCol/gridCol-translator.d.ts +0 -0
  328. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/gridCol/index.d.ts +0 -0
  329. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/hidden/hidden-translator.d.ts +0 -0
  330. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/hidden/index.d.ts +0 -0
  331. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/highlight/attributes/index.d.ts +0 -0
  332. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/highlight/attributes/w-val.d.ts +0 -0
  333. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/highlight/highlight-translator.d.ts +0 -0
  334. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/hyperlink/hyperlink-translator.d.ts +0 -0
  335. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/hyperlink/index.d.ts +0 -0
  336. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/i/attributes/index.d.ts +0 -0
  337. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/i/attributes/w-val.d.ts +0 -0
  338. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/i/i-translator.d.ts +0 -0
  339. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/insideH/index.d.ts +0 -0
  340. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/insideH/insideH-translator.d.ts +0 -0
  341. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/insideV/index.d.ts +0 -0
  342. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/insideV/insideV-translator.d.ts +0 -0
  343. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/jc/index.d.ts +0 -0
  344. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/jc/jc-translator.d.ts +0 -0
  345. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/left/index.d.ts +0 -0
  346. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/left/left-translator.d.ts +0 -0
  347. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/left/marginLeft-translator.d.ts +0 -0
  348. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/p/attributes/index.d.ts +0 -0
  349. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/p/attributes/w-rsid-del.d.ts +0 -0
  350. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/p/attributes/w-rsid-p.d.ts +0 -0
  351. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/p/attributes/w-rsid-r-default.d.ts +0 -0
  352. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/p/attributes/w-rsid-r-pr.d.ts +0 -0
  353. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/p/attributes/w-rsid-r.d.ts +0 -0
  354. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/p/attributes/w14-para-id.d.ts +0 -0
  355. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/p/attributes/w14-text-id.d.ts +0 -0
  356. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/p/helpers/index.d.ts +0 -0
  357. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/p/helpers/legacy-handle-paragraph-node.d.ts +0 -0
  358. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/p/helpers/w-p-helpers.d.ts +0 -0
  359. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/p/index.d.ts +0 -0
  360. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/p/p-translator.d.ts +0 -0
  361. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/r/attributes/index.d.ts +0 -0
  362. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/r/attributes/w-rsid-del.d.ts +0 -0
  363. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/r/attributes/w-rsid-r-pr.d.ts +0 -0
  364. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/r/attributes/w-rsid-r.d.ts +0 -0
  365. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/r/helpers/helpers.d.ts +0 -0
  366. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/r/helpers/index.d.ts +0 -0
  367. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/r/helpers/split-run-properties.d.ts +0 -0
  368. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/r/helpers/track-change-helpers.d.ts +0 -0
  369. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/r/index.d.ts +0 -0
  370. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/r/r-translator.d.ts +0 -0
  371. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/rFonts/attributes/index.d.ts +0 -0
  372. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/rFonts/attributes/w-ascii.d.ts +0 -0
  373. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/rFonts/attributes/w-cs.d.ts +0 -0
  374. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/rFonts/attributes/w-east-asia.d.ts +0 -0
  375. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/rFonts/attributes/w-hansi.d.ts +0 -0
  376. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/rFonts/attributes/w-val.d.ts +0 -0
  377. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/rFonts/index.d.ts +0 -0
  378. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/rFonts/rFonts-translator.d.ts +0 -0
  379. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/rStyle/attributes/index.d.ts +0 -0
  380. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/rStyle/attributes/w-val.d.ts +0 -0
  381. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/rStyle/index.d.ts +0 -0
  382. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/rStyle/rstyle-translator.d.ts +0 -0
  383. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/right/index.d.ts +0 -0
  384. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/right/marginRight-translator.d.ts +0 -0
  385. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/right/right-translator.d.ts +0 -0
  386. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/rpr/index.d.ts +0 -0
  387. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/rpr/rpr-translator.d.ts +0 -0
  388. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/rpr/run-property-translators.d.ts +0 -0
  389. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/sdt/helpers/handle-annotation-node.d.ts +0 -0
  390. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/sdt/helpers/handle-doc-part-obj.d.ts +0 -0
  391. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/sdt/helpers/handle-document-section-node.d.ts +0 -0
  392. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/sdt/helpers/handle-structured-content-node.d.ts +0 -0
  393. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/sdt/helpers/parse-tag-value-json.d.ts +0 -0
  394. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/sdt/helpers/sdt-node-type-strategy.d.ts +0 -0
  395. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/sdt/helpers/translate-document-part-obj.d.ts +0 -0
  396. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/sdt/helpers/translate-document-section.d.ts +0 -0
  397. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/sdt/helpers/translate-field-annotation.d.ts +0 -0
  398. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/sdt/helpers/translate-structured-content.d.ts +0 -0
  399. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/sdt/index.d.ts +0 -0
  400. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/sdt/sdt-translator.d.ts +0 -0
  401. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/shd/index.d.ts +0 -0
  402. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/shd/shd-translator.d.ts +0 -0
  403. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/start/index.d.ts +0 -0
  404. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/start/marginStart-translator.d.ts +0 -0
  405. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/start/start-translator.d.ts +0 -0
  406. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/strike/attributes/index.d.ts +0 -0
  407. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/strike/attributes/w-val.d.ts +0 -0
  408. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/strike/strike-translator.d.ts +0 -0
  409. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/sz/attributes/index.d.ts +0 -0
  410. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/sz/attributes/w-val.d.ts +0 -0
  411. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/sz/sz-translator.d.ts +0 -0
  412. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/szcs/attributes/index.d.ts +0 -0
  413. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/szcs/attributes/w-val.d.ts +0 -0
  414. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/szcs/szcs-translator.d.ts +0 -0
  415. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tab/attributes/index.d.ts +0 -0
  416. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tab/attributes/w-tab-leader.d.ts +0 -0
  417. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tab/attributes/w-tab-pos.d.ts +0 -0
  418. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tab/attributes/w-tab-size.d.ts +0 -0
  419. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tab/index.d.ts +0 -0
  420. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tab/tab-translator.d.ts +0 -0
  421. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tbl/index.d.ts +0 -0
  422. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tbl/tbl-translator.d.ts +0 -0
  423. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblBorders/index.d.ts +0 -0
  424. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblBorders/tblBorders-translator.d.ts +0 -0
  425. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblCaption/index.d.ts +0 -0
  426. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblCaption/tblCaption-translator.d.ts +0 -0
  427. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblCellMar/index.d.ts +0 -0
  428. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblCellMar/tblCellMar-translator.d.ts +0 -0
  429. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblCellSpacing/index.d.ts +0 -0
  430. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblCellSpacing/tblCellSpacing-translator.d.ts +0 -0
  431. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblDescription/index.d.ts +0 -0
  432. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblDescription/tblDescription-translator.d.ts +0 -0
  433. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblGrid/index.d.ts +0 -0
  434. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblGrid/tblGrid-helpers.d.ts +0 -0
  435. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblGrid/tblGrid-translator.d.ts +0 -0
  436. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblHeader/index.d.ts +0 -0
  437. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblHeader/tblHeader-translator.d.ts +0 -0
  438. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblInd/index.d.ts +0 -0
  439. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblInd/tblInd-translator.d.ts +0 -0
  440. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblLayout/index.d.ts +0 -0
  441. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblLayout/tblLayout-translator.d.ts +0 -0
  442. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblLook/index.d.ts +0 -0
  443. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblLook/tblLook-translator.d.ts +0 -0
  444. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblOverlap/index.d.ts +0 -0
  445. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblOverlap/tblOverlap-translator.d.ts +0 -0
  446. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblPr/index.d.ts +0 -0
  447. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblPr/tblPr-translator.d.ts +0 -0
  448. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblStyle/index.d.ts +0 -0
  449. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblStyle/tblStyle-translator.d.ts +0 -0
  450. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblStyleColBandSize/index.d.ts +0 -0
  451. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblStyleColBandSize/tblStyleColBandSize-translator.d.ts +0 -0
  452. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblStyleRowBandSize/index.d.ts +0 -0
  453. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblStyleRowBandSize/tblStyleRowBandSize-translator.d.ts +0 -0
  454. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblW/index.d.ts +0 -0
  455. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblW/tblW-translator.d.ts +0 -0
  456. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblpPr/index.d.ts +0 -0
  457. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tblpPr/tblpPr-translator.d.ts +0 -0
  458. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tc/helpers/legacy-handle-table-cell-node.d.ts +0 -0
  459. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tc/helpers/translate-table-cell.d.ts +0 -0
  460. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tc/index.d.ts +0 -0
  461. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tc/tc-translator.d.ts +0 -0
  462. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/top/index.d.ts +0 -0
  463. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/top/marginTop-translator.d.ts +0 -0
  464. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/top/top-translator.d.ts +0 -0
  465. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tr/index.d.ts +0 -0
  466. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/tr/tr-translator.d.ts +0 -0
  467. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/trHeight/index.d.ts +0 -0
  468. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/trHeight/trHeight-translator.d.ts +0 -0
  469. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/trPr/index.d.ts +0 -0
  470. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/trPr/trPr-translator.d.ts +0 -0
  471. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/u/attributes/index.d.ts +0 -0
  472. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/u/attributes/w-color.d.ts +0 -0
  473. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/u/attributes/w-theme-color.d.ts +0 -0
  474. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/u/attributes/w-theme-shade.d.ts +0 -0
  475. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/u/attributes/w-theme-tint.d.ts +0 -0
  476. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/u/attributes/w-val.d.ts +0 -0
  477. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/u/u-translator.d.ts +0 -0
  478. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/wAfter/index.d.ts +0 -0
  479. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/wAfter/wAfter-translator.d.ts +0 -0
  480. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/wBefore/index.d.ts +0 -0
  481. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/w/wBefore/wBefore-translator.d.ts +0 -0
  482. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/wp/anchor/anchor-translator.d.ts +0 -0
  483. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/wp/anchor/helpers/handle-anchor-node.d.ts +0 -0
  484. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/wp/anchor/helpers/translate-anchor-node.d.ts +0 -0
  485. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/wp/anchor/index.d.ts +0 -0
  486. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/wp/helpers/decode-image-node-helpers.d.ts +0 -0
  487. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/wp/helpers/encode-image-node-helpers.d.ts +0 -0
  488. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/wp/inline/helpers/handle-inline-node.d.ts +0 -0
  489. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/wp/inline/helpers/translate-inline-node.d.ts +0 -0
  490. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/wp/inline/index.d.ts +0 -0
  491. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/handlers/wp/inline/inline-translator.d.ts +0 -0
  492. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/v3/node-translator/index.d.ts +0 -0
  493. /package/dist/super-editor/{src → super-editor/src}/core/super-converter/zipper.d.ts +0 -0
  494. /package/dist/super-editor/{src → super-editor/src}/core/super-validator/index.d.ts +0 -0
  495. /package/dist/super-editor/{src → super-editor/src}/core/super-validator/logger/index.d.ts +0 -0
  496. /package/dist/super-editor/{src → super-editor/src}/core/super-validator/logger/logger.d.ts +0 -0
  497. /package/dist/super-editor/{src → super-editor/src}/core/super-validator/super-validator.d.ts +0 -0
  498. /package/dist/super-editor/{src → super-editor/src}/core/super-validator/types.d.ts +0 -0
  499. /package/dist/super-editor/{src → super-editor/src}/core/super-validator/validators/state/index.d.ts +0 -0
  500. /package/dist/super-editor/{src → super-editor/src}/core/super-validator/validators/state/nodes/image/image-validator.d.ts +0 -0
  501. /package/dist/super-editor/{src → super-editor/src}/core/super-validator/validators/state/nodes/image/index.d.ts +0 -0
  502. /package/dist/super-editor/{src → super-editor/src}/core/super-validator/validators/state/nodes/image/rules/image-rid.d.ts +0 -0
  503. /package/dist/super-editor/{src → super-editor/src}/core/super-validator/validators/state/nodes/image/rules/index.d.ts +0 -0
  504. /package/dist/super-editor/{src → super-editor/src}/core/super-validator/validators/state/nodes/link/index.d.ts +0 -0
  505. /package/dist/super-editor/{src → super-editor/src}/core/super-validator/validators/state/nodes/link/link-validator.d.ts +0 -0
  506. /package/dist/super-editor/{src → super-editor/src}/core/super-validator/validators/state/nodes/link/rules/index.d.ts +0 -0
  507. /package/dist/super-editor/{src → super-editor/src}/core/super-validator/validators/state/nodes/link/rules/link-rid.d.ts +0 -0
  508. /package/dist/super-editor/{src → super-editor/src}/core/super-validator/validators/xml/index.d.ts +0 -0
  509. /package/dist/super-editor/{src → super-editor/src}/core/super-validator/validators/xml/numbering/numbering-validator.d.ts +0 -0
  510. /package/dist/super-editor/{src → super-editor/src}/core/super-validator/validators/xml/relationships/relationships-validator.d.ts +0 -0
  511. /package/dist/super-editor/{src → super-editor/src}/core/types/index.d.ts +0 -0
  512. /package/dist/super-editor/{src → super-editor/src}/core/utilities/callOrGet.d.ts +0 -0
  513. /package/dist/super-editor/{src → super-editor/src}/core/utilities/carbonCopy.d.ts +0 -0
  514. /package/dist/super-editor/{src → super-editor/src}/core/utilities/clipboardUtils.d.ts +0 -0
  515. /package/dist/super-editor/{src → super-editor/src}/core/utilities/createStyleTag.d.ts +0 -0
  516. /package/dist/super-editor/{src → super-editor/src}/core/utilities/deleteProps.d.ts +0 -0
  517. /package/dist/super-editor/{src → super-editor/src}/core/utilities/imageBlobs.d.ts +0 -0
  518. /package/dist/super-editor/{src → super-editor/src}/core/utilities/index.d.ts +0 -0
  519. /package/dist/super-editor/{src → super-editor/src}/core/utilities/isEmptyObject.d.ts +0 -0
  520. /package/dist/super-editor/{src → super-editor/src}/core/utilities/isIOS.d.ts +0 -0
  521. /package/dist/super-editor/{src → super-editor/src}/core/utilities/isMacOS.d.ts +0 -0
  522. /package/dist/super-editor/{src → super-editor/src}/core/utilities/isRegExp.d.ts +0 -0
  523. /package/dist/super-editor/{src → super-editor/src}/core/utilities/minMax.d.ts +0 -0
  524. /package/dist/super-editor/{src → super-editor/src}/core/utilities/objectIncludes.d.ts +0 -0
  525. /package/dist/super-editor/{src → super-editor/src}/core/utilities/parseSizeUnit.d.ts +0 -0
  526. /package/dist/super-editor/{src → super-editor/src}/extensions/ai/ai-constants.d.ts +0 -0
  527. /package/dist/super-editor/{src → super-editor/src}/extensions/ai/ai-marks.d.ts +0 -0
  528. /package/dist/super-editor/{src → super-editor/src}/extensions/ai/ai-nodes.d.ts +0 -0
  529. /package/dist/super-editor/{src → super-editor/src}/extensions/ai/ai-plugin.d.ts +0 -0
  530. /package/dist/super-editor/{src → super-editor/src}/extensions/ai/index.d.ts +0 -0
  531. /package/dist/super-editor/{src → super-editor/src}/extensions/block-node/block-node.d.ts +0 -0
  532. /package/dist/super-editor/{src → super-editor/src}/extensions/block-node/index.d.ts +0 -0
  533. /package/dist/super-editor/{src → super-editor/src}/extensions/bold/bold.d.ts +0 -0
  534. /package/dist/super-editor/{src → super-editor/src}/extensions/bold/index.d.ts +0 -0
  535. /package/dist/super-editor/{src → super-editor/src}/extensions/bookmarks/bookmark-end.d.ts +0 -0
  536. /package/dist/super-editor/{src → super-editor/src}/extensions/bookmarks/bookmark-start.d.ts +0 -0
  537. /package/dist/super-editor/{src → super-editor/src}/extensions/bookmarks/index.d.ts +0 -0
  538. /package/dist/super-editor/{src → super-editor/src}/extensions/bullet-list/bullet-list.d.ts +0 -0
  539. /package/dist/super-editor/{src → super-editor/src}/extensions/bullet-list/index.d.ts +0 -0
  540. /package/dist/super-editor/{src → super-editor/src}/extensions/collaboration/collaboration-helpers.d.ts +0 -0
  541. /package/dist/super-editor/{src → super-editor/src}/extensions/collaboration/collaboration.d.ts +0 -0
  542. /package/dist/super-editor/{src → super-editor/src}/extensions/collaboration/index.d.ts +0 -0
  543. /package/dist/super-editor/{src → super-editor/src}/extensions/collaboration-cursor/collaboration-cursor.d.ts +0 -0
  544. /package/dist/super-editor/{src → super-editor/src}/extensions/collaboration-cursor/index.d.ts +0 -0
  545. /package/dist/super-editor/{src → super-editor/src}/extensions/color/color.d.ts +0 -0
  546. /package/dist/super-editor/{src → super-editor/src}/extensions/color/index.d.ts +0 -0
  547. /package/dist/super-editor/{src → super-editor/src}/extensions/comment/comment-import-helpers.d.ts +0 -0
  548. /package/dist/super-editor/{src → super-editor/src}/extensions/comment/comment.d.ts +0 -0
  549. /package/dist/super-editor/{src → super-editor/src}/extensions/comment/comments-constants.d.ts +0 -0
  550. /package/dist/super-editor/{src → super-editor/src}/extensions/comment/comments-helpers.d.ts +0 -0
  551. /package/dist/super-editor/{src → super-editor/src}/extensions/comment/comments-marks.d.ts +0 -0
  552. /package/dist/super-editor/{src → super-editor/src}/extensions/comment/index.d.ts +0 -0
  553. /package/dist/super-editor/{src → super-editor/src}/extensions/content-block/content-block.d.ts +0 -0
  554. /package/dist/super-editor/{src → super-editor/src}/extensions/content-block/index.d.ts +0 -0
  555. /package/dist/super-editor/{src → super-editor/src}/extensions/custom-selection/custom-selection.d.ts +0 -0
  556. /package/dist/super-editor/{src → super-editor/src}/extensions/custom-selection/index.d.ts +0 -0
  557. /package/dist/super-editor/{src → super-editor/src}/extensions/document/document.d.ts +0 -0
  558. /package/dist/super-editor/{src → super-editor/src}/extensions/document/index.d.ts +0 -0
  559. /package/dist/super-editor/{src → super-editor/src}/extensions/dropcursor/dropcursor.d.ts +0 -0
  560. /package/dist/super-editor/{src → super-editor/src}/extensions/dropcursor/index.d.ts +0 -0
  561. /package/dist/super-editor/{src → super-editor/src}/extensions/field-annotation/FieldAnnotationPlugin.d.ts +0 -0
  562. /package/dist/super-editor/{src → super-editor/src}/extensions/field-annotation/FieldAnnotationView.d.ts +0 -0
  563. /package/dist/super-editor/{src → super-editor/src}/extensions/field-annotation/cleanup-commands/cleanUpListsWithAnnotations.d.ts +0 -0
  564. /package/dist/super-editor/{src → super-editor/src}/extensions/field-annotation/cleanup-commands/cleanUpParagraphWithAnnotations.d.ts +0 -0
  565. /package/dist/super-editor/{src → super-editor/src}/extensions/field-annotation/cleanup-commands/index.d.ts +0 -0
  566. /package/dist/super-editor/{src → super-editor/src}/extensions/field-annotation/field-annotation.d.ts +0 -0
  567. /package/dist/super-editor/{src → super-editor/src}/extensions/field-annotation/fieldAnnotationHelpers/findFieldAnnotations.d.ts +0 -0
  568. /package/dist/super-editor/{src → super-editor/src}/extensions/field-annotation/fieldAnnotationHelpers/findFieldAnnotationsBetween.d.ts +0 -0
  569. /package/dist/super-editor/{src → super-editor/src}/extensions/field-annotation/fieldAnnotationHelpers/findFieldAnnotationsByFieldId.d.ts +0 -0
  570. /package/dist/super-editor/{src → super-editor/src}/extensions/field-annotation/fieldAnnotationHelpers/findFirstFieldAnnotationByFieldId.d.ts +0 -0
  571. /package/dist/super-editor/{src → super-editor/src}/extensions/field-annotation/fieldAnnotationHelpers/findHeaderFooterAnnotationsByFieldId.d.ts +0 -0
  572. /package/dist/super-editor/{src → super-editor/src}/extensions/field-annotation/fieldAnnotationHelpers/findRemovedFieldAnnotations.d.ts +0 -0
  573. /package/dist/super-editor/{src → super-editor/src}/extensions/field-annotation/fieldAnnotationHelpers/getAllFieldAnnotations.d.ts +0 -0
  574. /package/dist/super-editor/{src → super-editor/src}/extensions/field-annotation/fieldAnnotationHelpers/getAllFieldAnnotationsWithRect.d.ts +0 -0
  575. /package/dist/super-editor/{src → super-editor/src}/extensions/field-annotation/fieldAnnotationHelpers/getHeaderFooterAnnotations.d.ts +0 -0
  576. /package/dist/super-editor/{src → super-editor/src}/extensions/field-annotation/fieldAnnotationHelpers/index.d.ts +0 -0
  577. /package/dist/super-editor/{src → super-editor/src}/extensions/field-annotation/fieldAnnotationHelpers/trackFieldAnnotationsDeletion.d.ts +0 -0
  578. /package/dist/super-editor/{src → super-editor/src}/extensions/field-annotation/index.d.ts +0 -0
  579. /package/dist/super-editor/{src → super-editor/src}/extensions/font-family/font-family.d.ts +0 -0
  580. /package/dist/super-editor/{src → super-editor/src}/extensions/font-family/index.d.ts +0 -0
  581. /package/dist/super-editor/{src → super-editor/src}/extensions/font-size/font-size.d.ts +0 -0
  582. /package/dist/super-editor/{src → super-editor/src}/extensions/font-size/index.d.ts +0 -0
  583. /package/dist/super-editor/{src → super-editor/src}/extensions/format-commands/format-commands.d.ts +0 -0
  584. /package/dist/super-editor/{src → super-editor/src}/extensions/format-commands/index.d.ts +0 -0
  585. /package/dist/super-editor/{src → super-editor/src}/extensions/gapcursor/gapcursor.d.ts +0 -0
  586. /package/dist/super-editor/{src → super-editor/src}/extensions/gapcursor/index.d.ts +0 -0
  587. /package/dist/super-editor/{src → super-editor/src}/extensions/heading/heading.d.ts +0 -0
  588. /package/dist/super-editor/{src → super-editor/src}/extensions/heading/index.d.ts +0 -0
  589. /package/dist/super-editor/{src → super-editor/src}/extensions/highlight/highlight.d.ts +0 -0
  590. /package/dist/super-editor/{src → super-editor/src}/extensions/highlight/index.d.ts +0 -0
  591. /package/dist/super-editor/{src → super-editor/src}/extensions/history/history.d.ts +0 -0
  592. /package/dist/super-editor/{src → super-editor/src}/extensions/history/index.d.ts +0 -0
  593. /package/dist/super-editor/{src → super-editor/src}/extensions/image/image.d.ts +0 -0
  594. /package/dist/super-editor/{src → super-editor/src}/extensions/image/imageHelpers/fileNameUtils.d.ts +0 -0
  595. /package/dist/super-editor/{src → super-editor/src}/extensions/image/imageHelpers/getFileOpener.d.ts +0 -0
  596. /package/dist/super-editor/{src → super-editor/src}/extensions/image/imageHelpers/handleImageUpload.d.ts +0 -0
  597. /package/dist/super-editor/{src → super-editor/src}/extensions/image/imageHelpers/handleUrl.d.ts +0 -0
  598. /package/dist/super-editor/{src → super-editor/src}/extensions/image/imageHelpers/imagePositionPlugin.d.ts +0 -0
  599. /package/dist/super-editor/{src → super-editor/src}/extensions/image/imageHelpers/index.d.ts +0 -0
  600. /package/dist/super-editor/{src → super-editor/src}/extensions/image/imageHelpers/processUploadedImage.d.ts +0 -0
  601. /package/dist/super-editor/{src → super-editor/src}/extensions/image/imageHelpers/rotation.d.ts +0 -0
  602. /package/dist/super-editor/{src → super-editor/src}/extensions/image/index.d.ts +0 -0
  603. /package/dist/super-editor/{src → super-editor/src}/extensions/index.d.ts +0 -0
  604. /package/dist/super-editor/{src → super-editor/src}/extensions/italic/index.d.ts +0 -0
  605. /package/dist/super-editor/{src → super-editor/src}/extensions/italic/italic.d.ts +0 -0
  606. /package/dist/super-editor/{src → super-editor/src}/extensions/line-break/index.d.ts +0 -0
  607. /package/dist/super-editor/{src → super-editor/src}/extensions/line-break/line-break.d.ts +0 -0
  608. /package/dist/super-editor/{src → super-editor/src}/extensions/line-height/index.d.ts +0 -0
  609. /package/dist/super-editor/{src → super-editor/src}/extensions/line-height/line-height.d.ts +0 -0
  610. /package/dist/super-editor/{src → super-editor/src}/extensions/link/index.d.ts +0 -0
  611. /package/dist/super-editor/{src → super-editor/src}/extensions/link/link.d.ts +0 -0
  612. /package/dist/super-editor/{src → super-editor/src}/extensions/linked-styles/helpers.d.ts +0 -0
  613. /package/dist/super-editor/{src → super-editor/src}/extensions/linked-styles/index.d.ts +0 -0
  614. /package/dist/super-editor/{src → super-editor/src}/extensions/linked-styles/linked-styles.d.ts +0 -0
  615. /package/dist/super-editor/{src → super-editor/src}/extensions/linked-styles/plugin.d.ts +0 -0
  616. /package/dist/super-editor/{src → super-editor/src}/extensions/linked-styles/underline-css.d.ts +0 -0
  617. /package/dist/super-editor/{src → super-editor/src}/extensions/list-item/ListItemNodeView.d.ts +0 -0
  618. /package/dist/super-editor/{src → super-editor/src}/extensions/list-item/helpers/listItemTypography.d.ts +0 -0
  619. /package/dist/super-editor/{src → super-editor/src}/extensions/list-item/helpers/styledListMarkerPlugin.d.ts +0 -0
  620. /package/dist/super-editor/{src → super-editor/src}/extensions/list-item/index.d.ts +0 -0
  621. /package/dist/super-editor/{src → super-editor/src}/extensions/list-item/list-item.d.ts +0 -0
  622. /package/dist/super-editor/{src → super-editor/src}/extensions/mention/index.d.ts +0 -0
  623. /package/dist/super-editor/{src → super-editor/src}/extensions/mention/mention.d.ts +0 -0
  624. /package/dist/super-editor/{src → super-editor/src}/extensions/noderesizer/index.d.ts +0 -0
  625. /package/dist/super-editor/{src → super-editor/src}/extensions/noderesizer/noderesizer.d.ts +0 -0
  626. /package/dist/super-editor/{src → super-editor/src}/extensions/ordered-list/helpers/orderedListMarkerPlugin.d.ts +0 -0
  627. /package/dist/super-editor/{src → super-editor/src}/extensions/ordered-list/helpers/orderedListSyncPlugin.d.ts +0 -0
  628. /package/dist/super-editor/{src → super-editor/src}/extensions/ordered-list/index.d.ts +0 -0
  629. /package/dist/super-editor/{src → super-editor/src}/extensions/ordered-list/ordered-list.d.ts +0 -0
  630. /package/dist/super-editor/{src → super-editor/src}/extensions/page-number/index.d.ts +0 -0
  631. /package/dist/super-editor/{src → super-editor/src}/extensions/page-number/page-number.d.ts +0 -0
  632. /package/dist/super-editor/{src → super-editor/src}/extensions/page-reference/index.d.ts +0 -0
  633. /package/dist/super-editor/{src → super-editor/src}/extensions/page-reference/page-reference.d.ts +0 -0
  634. /package/dist/super-editor/{src → super-editor/src}/extensions/pagination/index.d.ts +0 -0
  635. /package/dist/super-editor/{src → super-editor/src}/extensions/pagination/pagination-helpers.d.ts +0 -0
  636. /package/dist/super-editor/{src → super-editor/src}/extensions/pagination/pagination.d.ts +0 -0
  637. /package/dist/super-editor/{src → super-editor/src}/extensions/paragraph/helpers/getDefaultSpacing.d.ts +0 -0
  638. /package/dist/super-editor/{src → super-editor/src}/extensions/paragraph/index.d.ts +0 -0
  639. /package/dist/super-editor/{src → super-editor/src}/extensions/paragraph/paragraph.d.ts +0 -0
  640. /package/dist/super-editor/{src → super-editor/src}/extensions/placeholder/index.d.ts +0 -0
  641. /package/dist/super-editor/{src → super-editor/src}/extensions/placeholder/placeholder.d.ts +0 -0
  642. /package/dist/super-editor/{src → super-editor/src}/extensions/popover-plugin/index.d.ts +0 -0
  643. /package/dist/super-editor/{src → super-editor/src}/extensions/popover-plugin/popover-plugin.d.ts +0 -0
  644. /package/dist/super-editor/{src → super-editor/src}/extensions/run/commands/index.d.ts +0 -0
  645. /package/dist/super-editor/{src → super-editor/src}/extensions/run/commands/split-run.d.ts +0 -0
  646. /package/dist/super-editor/{src → super-editor/src}/extensions/run/index.d.ts +0 -0
  647. /package/dist/super-editor/{src → super-editor/src}/extensions/run/run.d.ts +0 -0
  648. /package/dist/super-editor/{src → super-editor/src}/extensions/search/index.d.ts +0 -0
  649. /package/dist/super-editor/{src → super-editor/src}/extensions/search/prosemirror-search-patched.d.ts +0 -0
  650. /package/dist/super-editor/{src → super-editor/src}/extensions/search/search.d.ts +0 -0
  651. /package/dist/super-editor/{src → super-editor/src}/extensions/shape-container/index.d.ts +0 -0
  652. /package/dist/super-editor/{src → super-editor/src}/extensions/shape-container/shape-container.d.ts +0 -0
  653. /package/dist/super-editor/{src → super-editor/src}/extensions/shape-textbox/index.d.ts +0 -0
  654. /package/dist/super-editor/{src → super-editor/src}/extensions/shape-textbox/shape-textbox.d.ts +0 -0
  655. /package/dist/super-editor/{src → super-editor/src}/extensions/shared/cascade-toggle.d.ts +0 -0
  656. /package/dist/super-editor/{src → super-editor/src}/extensions/slash-menu/index.d.ts +0 -0
  657. /package/dist/super-editor/{src → super-editor/src}/extensions/slash-menu/slash-menu.d.ts +0 -0
  658. /package/dist/super-editor/{src → super-editor/src}/extensions/strike/index.d.ts +0 -0
  659. /package/dist/super-editor/{src → super-editor/src}/extensions/strike/strike.d.ts +0 -0
  660. /package/dist/super-editor/{src → super-editor/src}/extensions/structured-content/StructuredContentBlockView.d.ts +0 -0
  661. /package/dist/super-editor/{src → super-editor/src}/extensions/structured-content/StructuredContentInlineView.d.ts +0 -0
  662. /package/dist/super-editor/{src → super-editor/src}/extensions/structured-content/StructuredContentViewBase.d.ts +0 -0
  663. /package/dist/super-editor/{src → super-editor/src}/extensions/structured-content/document-part-object.d.ts +0 -0
  664. /package/dist/super-editor/{src → super-editor/src}/extensions/structured-content/document-section/DocumentSectionView.d.ts +0 -0
  665. /package/dist/super-editor/{src → super-editor/src}/extensions/structured-content/document-section/helpers.d.ts +0 -0
  666. /package/dist/super-editor/{src → super-editor/src}/extensions/structured-content/document-section/index.d.ts +0 -0
  667. /package/dist/super-editor/{src → super-editor/src}/extensions/structured-content/document-section.d.ts +0 -0
  668. /package/dist/super-editor/{src → super-editor/src}/extensions/structured-content/index.d.ts +0 -0
  669. /package/dist/super-editor/{src → super-editor/src}/extensions/structured-content/structured-content-block.d.ts +0 -0
  670. /package/dist/super-editor/{src → super-editor/src}/extensions/structured-content/structured-content-commands.d.ts +0 -0
  671. /package/dist/super-editor/{src → super-editor/src}/extensions/structured-content/structured-content.d.ts +0 -0
  672. /package/dist/super-editor/{src → super-editor/src}/extensions/structured-content/structuredContentHelpers/getStructuredContentBlockTags.d.ts +0 -0
  673. /package/dist/super-editor/{src → super-editor/src}/extensions/structured-content/structuredContentHelpers/getStructuredContentInlineTags.d.ts +0 -0
  674. /package/dist/super-editor/{src → super-editor/src}/extensions/structured-content/structuredContentHelpers/getStructuredContentTags.d.ts +0 -0
  675. /package/dist/super-editor/{src → super-editor/src}/extensions/structured-content/structuredContentHelpers/getStructuredContentTagsById.d.ts +0 -0
  676. /package/dist/super-editor/{src → super-editor/src}/extensions/structured-content/structuredContentHelpers/index.d.ts +0 -0
  677. /package/dist/super-editor/{src → super-editor/src}/extensions/tab/helpers/tabDecorations.d.ts +0 -0
  678. /package/dist/super-editor/{src → super-editor/src}/extensions/tab/index.d.ts +0 -0
  679. /package/dist/super-editor/{src → super-editor/src}/extensions/tab/tab.d.ts +0 -0
  680. /package/dist/super-editor/{src → super-editor/src}/extensions/table/TableView.d.ts +0 -0
  681. /package/dist/super-editor/{src → super-editor/src}/extensions/table/index.d.ts +0 -0
  682. /package/dist/super-editor/{src → super-editor/src}/extensions/table/table.d.ts +0 -0
  683. /package/dist/super-editor/{src → super-editor/src}/extensions/table/tableHelpers/cellAround.d.ts +0 -0
  684. /package/dist/super-editor/{src → super-editor/src}/extensions/table/tableHelpers/cellWrapping.d.ts +0 -0
  685. /package/dist/super-editor/{src → super-editor/src}/extensions/table/tableHelpers/createCell.d.ts +0 -0
  686. /package/dist/super-editor/{src → super-editor/src}/extensions/table/tableHelpers/createColGroup.d.ts +0 -0
  687. /package/dist/super-editor/{src → super-editor/src}/extensions/table/tableHelpers/createTable.d.ts +0 -0
  688. /package/dist/super-editor/{src → super-editor/src}/extensions/table/tableHelpers/createTableBorders.d.ts +0 -0
  689. /package/dist/super-editor/{src → super-editor/src}/extensions/table/tableHelpers/deleteTableWhenSelected.d.ts +0 -0
  690. /package/dist/super-editor/{src → super-editor/src}/extensions/table/tableHelpers/getColStyleDeclaration.d.ts +0 -0
  691. /package/dist/super-editor/{src → super-editor/src}/extensions/table/tableHelpers/index.d.ts +0 -0
  692. /package/dist/super-editor/{src → super-editor/src}/extensions/table/tableHelpers/isCellSelection.d.ts +0 -0
  693. /package/dist/super-editor/{src → super-editor/src}/extensions/table-cell/helpers/createCellBorders.d.ts +0 -0
  694. /package/dist/super-editor/{src → super-editor/src}/extensions/table-cell/index.d.ts +0 -0
  695. /package/dist/super-editor/{src → super-editor/src}/extensions/table-cell/table-cell.d.ts +0 -0
  696. /package/dist/super-editor/{src → super-editor/src}/extensions/table-header/index.d.ts +0 -0
  697. /package/dist/super-editor/{src → super-editor/src}/extensions/table-header/table-header.d.ts +0 -0
  698. /package/dist/super-editor/{src → super-editor/src}/extensions/table-of-contents/index.d.ts +0 -0
  699. /package/dist/super-editor/{src → super-editor/src}/extensions/table-of-contents/table-of-contents.d.ts +0 -0
  700. /package/dist/super-editor/{src → super-editor/src}/extensions/table-row/index.d.ts +0 -0
  701. /package/dist/super-editor/{src → super-editor/src}/extensions/table-row/table-row.d.ts +0 -0
  702. /package/dist/super-editor/{src → super-editor/src}/extensions/text/index.d.ts +0 -0
  703. /package/dist/super-editor/{src → super-editor/src}/extensions/text/text.d.ts +0 -0
  704. /package/dist/super-editor/{src → super-editor/src}/extensions/text-align/index.d.ts +0 -0
  705. /package/dist/super-editor/{src → super-editor/src}/extensions/text-align/text-align.d.ts +0 -0
  706. /package/dist/super-editor/{src → super-editor/src}/extensions/text-indent/index.d.ts +0 -0
  707. /package/dist/super-editor/{src → super-editor/src}/extensions/text-indent/text-indent.d.ts +0 -0
  708. /package/dist/super-editor/{src → super-editor/src}/extensions/text-style/index.d.ts +0 -0
  709. /package/dist/super-editor/{src → super-editor/src}/extensions/text-style/text-style.d.ts +0 -0
  710. /package/dist/super-editor/{src → super-editor/src}/extensions/text-transform/index.d.ts +0 -0
  711. /package/dist/super-editor/{src → super-editor/src}/extensions/text-transform/text-transform.d.ts +0 -0
  712. /package/dist/super-editor/{src → super-editor/src}/extensions/track-changes/constants.d.ts +0 -0
  713. /package/dist/super-editor/{src → super-editor/src}/extensions/track-changes/index.d.ts +0 -0
  714. /package/dist/super-editor/{src → super-editor/src}/extensions/track-changes/plugins/index.d.ts +0 -0
  715. /package/dist/super-editor/{src → super-editor/src}/extensions/track-changes/plugins/trackChangesBasePlugin.d.ts +0 -0
  716. /package/dist/super-editor/{src → super-editor/src}/extensions/track-changes/track-changes.d.ts +0 -0
  717. /package/dist/super-editor/{src → super-editor/src}/extensions/track-changes/track-delete.d.ts +0 -0
  718. /package/dist/super-editor/{src → super-editor/src}/extensions/track-changes/track-format.d.ts +0 -0
  719. /package/dist/super-editor/{src → super-editor/src}/extensions/track-changes/track-insert.d.ts +0 -0
  720. /package/dist/super-editor/{src → super-editor/src}/extensions/track-changes/trackChangesHelpers/addMarkStep.d.ts +0 -0
  721. /package/dist/super-editor/{src → super-editor/src}/extensions/track-changes/trackChangesHelpers/documentHelpers.d.ts +0 -0
  722. /package/dist/super-editor/{src → super-editor/src}/extensions/track-changes/trackChangesHelpers/findTrackedMarkBetween.d.ts +0 -0
  723. /package/dist/super-editor/{src → super-editor/src}/extensions/track-changes/trackChangesHelpers/getTrackChanges.d.ts +0 -0
  724. /package/dist/super-editor/{src → super-editor/src}/extensions/track-changes/trackChangesHelpers/index.d.ts +0 -0
  725. /package/dist/super-editor/{src → super-editor/src}/extensions/track-changes/trackChangesHelpers/markDeletion.d.ts +0 -0
  726. /package/dist/super-editor/{src → super-editor/src}/extensions/track-changes/trackChangesHelpers/markInsertion.d.ts +0 -0
  727. /package/dist/super-editor/{src → super-editor/src}/extensions/track-changes/trackChangesHelpers/markWrapping.d.ts +0 -0
  728. /package/dist/super-editor/{src → super-editor/src}/extensions/track-changes/trackChangesHelpers/parseFormatList.d.ts +0 -0
  729. /package/dist/super-editor/{src → super-editor/src}/extensions/track-changes/trackChangesHelpers/removeMarkStep.d.ts +0 -0
  730. /package/dist/super-editor/{src → super-editor/src}/extensions/track-changes/trackChangesHelpers/replaceAroundStep.d.ts +0 -0
  731. /package/dist/super-editor/{src → super-editor/src}/extensions/track-changes/trackChangesHelpers/replaceStep.d.ts +0 -0
  732. /package/dist/super-editor/{src → super-editor/src}/extensions/track-changes/trackChangesHelpers/trackedTransaction.d.ts +0 -0
  733. /package/dist/super-editor/{src → super-editor/src}/extensions/underline/index.d.ts +0 -0
  734. /package/dist/super-editor/{src → super-editor/src}/extensions/underline/underline.d.ts +0 -0
  735. /package/dist/super-editor/{src → super-editor/src}/index.d.ts +0 -0
  736. /package/dist/super-editor/{src → super-editor/src}/main.d.ts +0 -0
  737. /package/dist/super-editor/{src → super-editor/src}/tests/data/annotations_doc_content.d.ts +0 -0
  738. /package/dist/super-editor/{src → super-editor/src}/tests/editor/data/imageBase64.d.ts +0 -0
  739. /package/dist/super-editor/{src → super-editor/src}/tests/export/data/comments/basic-resolved-comment.d.ts +0 -0
  740. /package/dist/super-editor/{src → super-editor/src}/tests/export/export-helpers/export-helpers.d.ts +0 -0
  741. /package/dist/super-editor/{src → super-editor/src}/tests/export/export-helpers/index.d.ts +0 -0
  742. /package/dist/super-editor/{src → super-editor/src}/tests/export/export-helpers/list-export-helpers.d.ts +0 -0
  743. /package/dist/super-editor/{src → super-editor/src}/tests/helpers/editor-test-utils.d.ts +0 -0
  744. /package/dist/super-editor/{src → super-editor/src}/tests/helpers/getParagraphText.d.ts +0 -0
  745. /package/dist/super-editor/{src → super-editor/src}/tests/helpers/helpers.d.ts +0 -0
  746. /package/dist/super-editor/{src → super-editor/src}/tests/import/testUtils.d.ts +0 -0
  747. /package/dist/super-editor/{src → super-editor/src}/utils/contextmenu-helpers.d.ts +0 -0
  748. /package/dist/super-editor/{vite.config.d.ts → super-editor/vite.config.d.ts} +0 -0
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
- const superEditor_es = require("./super-editor.es-C7stybby.cjs");
3
- const vue = require("./vue-DWle4Cai.cjs");
4
- const jszip = require("./jszip-b7l8QkfH.cjs");
2
+ const superEditor_es = require("./super-editor.es-BAutf_un.cjs");
3
+ const vue = require("./vue-DKMj1I9B.cjs");
5
4
  const blankDocx = require("./blank-docx-CPqX9RF5.cjs");
6
- const eventemitter3 = require("./eventemitter3-B_kO1Pxm.cjs");
5
+ const eventemitter3 = require("./eventemitter3-DkXkH2rT.cjs");
7
6
  const provider = require("@hocuspocus/provider");
8
7
  const Y = require("yjs");
8
+ const jszip = require("./jszip-u4dvXAKa.cjs");
9
9
  const uuid = require("./uuid-CQzaMNgL.cjs");
10
10
  function _interopNamespaceDefault(e) {
11
11
  const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
@@ -77,306 +77,6 @@ const vClickOutside = {
77
77
  delete el.__clickOutsideHandler;
78
78
  }
79
79
  };
80
- function getDefaultExportFromCjs(x) {
81
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
82
- }
83
- const CRC_TABLE = new Int32Array([
84
- 0,
85
- 1996959894,
86
- 3993919788,
87
- 2567524794,
88
- 124634137,
89
- 1886057615,
90
- 3915621685,
91
- 2657392035,
92
- 249268274,
93
- 2044508324,
94
- 3772115230,
95
- 2547177864,
96
- 162941995,
97
- 2125561021,
98
- 3887607047,
99
- 2428444049,
100
- 498536548,
101
- 1789927666,
102
- 4089016648,
103
- 2227061214,
104
- 450548861,
105
- 1843258603,
106
- 4107580753,
107
- 2211677639,
108
- 325883990,
109
- 1684777152,
110
- 4251122042,
111
- 2321926636,
112
- 335633487,
113
- 1661365465,
114
- 4195302755,
115
- 2366115317,
116
- 997073096,
117
- 1281953886,
118
- 3579855332,
119
- 2724688242,
120
- 1006888145,
121
- 1258607687,
122
- 3524101629,
123
- 2768942443,
124
- 901097722,
125
- 1119000684,
126
- 3686517206,
127
- 2898065728,
128
- 853044451,
129
- 1172266101,
130
- 3705015759,
131
- 2882616665,
132
- 651767980,
133
- 1373503546,
134
- 3369554304,
135
- 3218104598,
136
- 565507253,
137
- 1454621731,
138
- 3485111705,
139
- 3099436303,
140
- 671266974,
141
- 1594198024,
142
- 3322730930,
143
- 2970347812,
144
- 795835527,
145
- 1483230225,
146
- 3244367275,
147
- 3060149565,
148
- 1994146192,
149
- 31158534,
150
- 2563907772,
151
- 4023717930,
152
- 1907459465,
153
- 112637215,
154
- 2680153253,
155
- 3904427059,
156
- 2013776290,
157
- 251722036,
158
- 2517215374,
159
- 3775830040,
160
- 2137656763,
161
- 141376813,
162
- 2439277719,
163
- 3865271297,
164
- 1802195444,
165
- 476864866,
166
- 2238001368,
167
- 4066508878,
168
- 1812370925,
169
- 453092731,
170
- 2181625025,
171
- 4111451223,
172
- 1706088902,
173
- 314042704,
174
- 2344532202,
175
- 4240017532,
176
- 1658658271,
177
- 366619977,
178
- 2362670323,
179
- 4224994405,
180
- 1303535960,
181
- 984961486,
182
- 2747007092,
183
- 3569037538,
184
- 1256170817,
185
- 1037604311,
186
- 2765210733,
187
- 3554079995,
188
- 1131014506,
189
- 879679996,
190
- 2909243462,
191
- 3663771856,
192
- 1141124467,
193
- 855842277,
194
- 2852801631,
195
- 3708648649,
196
- 1342533948,
197
- 654459306,
198
- 3188396048,
199
- 3373015174,
200
- 1466479909,
201
- 544179635,
202
- 3110523913,
203
- 3462522015,
204
- 1591671054,
205
- 702138776,
206
- 2966460450,
207
- 3352799412,
208
- 1504918807,
209
- 783551873,
210
- 3082640443,
211
- 3233442989,
212
- 3988292384,
213
- 2596254646,
214
- 62317068,
215
- 1957810842,
216
- 3939845945,
217
- 2647816111,
218
- 81470997,
219
- 1943803523,
220
- 3814918930,
221
- 2489596804,
222
- 225274430,
223
- 2053790376,
224
- 3826175755,
225
- 2466906013,
226
- 167816743,
227
- 2097651377,
228
- 4027552580,
229
- 2265490386,
230
- 503444072,
231
- 1762050814,
232
- 4150417245,
233
- 2154129355,
234
- 426522225,
235
- 1852507879,
236
- 4275313526,
237
- 2312317920,
238
- 282753626,
239
- 1742555852,
240
- 4189708143,
241
- 2394877945,
242
- 397917763,
243
- 1622183637,
244
- 3604390888,
245
- 2714866558,
246
- 953729732,
247
- 1340076626,
248
- 3518719985,
249
- 2797360999,
250
- 1068828381,
251
- 1219638859,
252
- 3624741850,
253
- 2936675148,
254
- 906185462,
255
- 1090812512,
256
- 3747672003,
257
- 2825379669,
258
- 829329135,
259
- 1181335161,
260
- 3412177804,
261
- 3160834842,
262
- 628085408,
263
- 1382605366,
264
- 3423369109,
265
- 3138078467,
266
- 570562233,
267
- 1426400815,
268
- 3317316542,
269
- 2998733608,
270
- 733239954,
271
- 1555261956,
272
- 3268935591,
273
- 3050360625,
274
- 752459403,
275
- 1541320221,
276
- 2607071920,
277
- 3965973030,
278
- 1969922972,
279
- 40735498,
280
- 2617837225,
281
- 3943577151,
282
- 1913087877,
283
- 83908371,
284
- 2512341634,
285
- 3803740692,
286
- 2075208622,
287
- 213261112,
288
- 2463272603,
289
- 3855990285,
290
- 2094854071,
291
- 198958881,
292
- 2262029012,
293
- 4057260610,
294
- 1759359992,
295
- 534414190,
296
- 2176718541,
297
- 4139329115,
298
- 1873836001,
299
- 414664567,
300
- 2282248934,
301
- 4279200368,
302
- 1711684554,
303
- 285281116,
304
- 2405801727,
305
- 4167216745,
306
- 1634467795,
307
- 376229701,
308
- 2685067896,
309
- 3608007406,
310
- 1308918612,
311
- 956543938,
312
- 2808555105,
313
- 3495958263,
314
- 1231636301,
315
- 1047427035,
316
- 2932959818,
317
- 3654703836,
318
- 1088359270,
319
- 936918e3,
320
- 2847714899,
321
- 3736837829,
322
- 1202900863,
323
- 817233897,
324
- 3183342108,
325
- 3401237130,
326
- 1404277552,
327
- 615818150,
328
- 3134207493,
329
- 3453421203,
330
- 1423857449,
331
- 601450431,
332
- 3009837614,
333
- 3294710456,
334
- 1567103746,
335
- 711928724,
336
- 3020668471,
337
- 3272380065,
338
- 1510334235,
339
- 755167117
340
- ]);
341
- function ensureBuffer(input) {
342
- if (jszip.Buffer.isBuffer(input)) {
343
- return input;
344
- }
345
- if (typeof input === "number") {
346
- return jszip.Buffer.alloc(input);
347
- } else if (typeof input === "string") {
348
- return jszip.Buffer.from(input);
349
- } else {
350
- throw new Error("input must be buffer, number, or string, received " + typeof input);
351
- }
352
- }
353
- function bufferizeInt(num) {
354
- const tmp = ensureBuffer(4);
355
- tmp.writeInt32BE(num, 0);
356
- return tmp;
357
- }
358
- function _crc32(buf, previous) {
359
- buf = ensureBuffer(buf);
360
- if (jszip.Buffer.isBuffer(previous)) {
361
- previous = previous.readUInt32BE(0);
362
- }
363
- let crc = ~~previous ^ -1;
364
- for (var n = 0; n < buf.length; n++) {
365
- crc = CRC_TABLE[(crc ^ buf[n]) & 255] ^ crc >>> 8;
366
- }
367
- return crc ^ -1;
368
- }
369
- function crc32() {
370
- return bufferizeInt(_crc32.apply(null, arguments));
371
- }
372
- crc32.signed = function() {
373
- return _crc32.apply(null, arguments);
374
- };
375
- crc32.unsigned = function() {
376
- return _crc32.apply(null, arguments) >>> 0;
377
- };
378
- var bufferCrc32 = crc32;
379
- const index = /* @__PURE__ */ getDefaultExportFromCjs(bufferCrc32);
380
80
  function randomBytes(length2) {
381
81
  const array = new Uint8Array(length2);
382
82
  for (let i = 0; i < length2; i++) {
@@ -388,7 +88,9 @@ class Telemetry {
388
88
  /** @type {boolean} */
389
89
  enabled;
390
90
  /** @type {string} */
391
- superdocId;
91
+ documentGuid;
92
+ /** @type {string} */
93
+ documentIdentifier;
392
94
  /** @type {string} */
393
95
  superdocVersion;
394
96
  /** @type {string} */
@@ -429,7 +131,8 @@ class Telemetry {
429
131
  this.enabled = config.enabled ?? true;
430
132
  this.licenseKey = config.licenseKey ?? Telemetry.COMMUNITY_LICENSE_KEY;
431
133
  this.endpoint = config.endpoint ?? Telemetry.DEFAULT_ENDPOINT;
432
- this.superdocId = config.superdocId;
134
+ this.documentGuid = config.documentGuid;
135
+ this.documentIdentifier = config.documentIdentifier;
433
136
  this.superdocVersion = config.superdocVersion;
434
137
  this.sessionId = this.generateId();
435
138
  }
@@ -461,7 +164,10 @@ class Telemetry {
461
164
  type: "usage",
462
165
  timestamp: (/* @__PURE__ */ new Date()).toISOString(),
463
166
  sessionId: this.sessionId,
464
- superdocId: this.superdocId,
167
+ documentGuid: this.documentGuid,
168
+ // Updated field name
169
+ documentIdentifier: this.documentIdentifier,
170
+ // Include both
465
171
  superdocVersion: this.superdocVersion,
466
172
  file: this.documentInfo,
467
173
  browser: this.getBrowserInfo(),
@@ -528,13 +234,17 @@ class Telemetry {
528
234
  * Track file structure
529
235
  * @param {Object} structure - File structure information
530
236
  * @param {File} fileSource - original file
531
- * @param {String} documentId - document ID
532
- * @param {string} internalId - document ID form settings.xml
237
+ * @param {String} documentId - document GUID
238
+ * @param {string} documentIdentifier - document identifier (GUID or hash)
239
+ * @param {string} internalId - document ID from settings.xml
533
240
  */
534
- async trackFileStructure(structure, fileSource, documentId, internalId) {
241
+ async trackFileStructure(structure, fileSource, documentId, documentIdentifier, internalId) {
535
242
  this.fileStructure = structure;
536
243
  this.documentInfo = await this.processDocument(fileSource, {
537
- id: documentId,
244
+ guid: documentId,
245
+ // Updated parameter name
246
+ identifier: documentIdentifier,
247
+ // New parameter
538
248
  internalId
539
249
  });
540
250
  }
@@ -549,34 +259,19 @@ class Telemetry {
549
259
  console.warn("Telemetry: missing file source");
550
260
  return {};
551
261
  }
552
- let hash = "";
553
- try {
554
- hash = await this.generateCrc32Hash(file);
555
- } catch (error) {
556
- console.error("Failed to generate file hash:", error);
557
- }
558
262
  return {
559
- id: options.id,
263
+ guid: options.guid,
264
+ // Updated from 'id'
265
+ identifier: options.identifier,
266
+ // New field
560
267
  name: file.name,
561
268
  size: file.size,
562
- crc32: hash,
563
269
  lastModified: file.lastModified ? new Date(file.lastModified).toISOString() : null,
564
270
  type: file.type || "docx",
565
271
  internalId: options.internalId
272
+ // Microsoft's GUID if present
566
273
  };
567
274
  }
568
- /**
569
- * Generate CRC32 hash for a file
570
- * @param {File} file - File to hash
571
- * @returns {Promise<string>} CRC32 hash
572
- * @private
573
- */
574
- async generateCrc32Hash(file) {
575
- const arrayBuffer = await file.arrayBuffer();
576
- const buffer = jszip.Buffer.from(arrayBuffer);
577
- const hashBuffer = index(buffer);
578
- return hashBuffer.toString("hex");
579
- }
580
275
  isTelemetryDataChanged() {
581
276
  const initialStatistics = {};
582
277
  const initialFileStructure = {};
@@ -3939,8 +3634,8 @@ function useDocument(params2, superdocConfig) {
3939
3634
  }
3940
3635
  const core = vue.ref(null);
3941
3636
  const removeConversation = (conversationId) => {
3942
- const index2 = conversations.value.findIndex((c2) => c2.conversationId === conversationId);
3943
- if (index2 > -1) conversations.value.splice(index2, 1);
3637
+ const index = conversations.value.findIndex((c2) => c2.conversationId === conversationId);
3638
+ if (index > -1) conversations.value.splice(index, 1);
3944
3639
  };
3945
3640
  return {
3946
3641
  id,
@@ -4025,6 +3720,9 @@ const useSuperdocStore = /* @__PURE__ */ defineStore("superdoc", () => {
4025
3720
  documentUsers.value = configUsers || [];
4026
3721
  Object.assign(user, configUser);
4027
3722
  Object.assign(modules, configModules);
3723
+ if (!Object.prototype.hasOwnProperty.call(modules, "comments")) {
3724
+ modules.comments = {};
3725
+ }
4028
3726
  if (!configDocs?.length && !config.modules.collaboration) {
4029
3727
  const newDoc = await getFileObject(blankDocx.BlankDOCX, "blank.docx", DOCX);
4030
3728
  const newDocConfig = {
@@ -4131,13 +3829,13 @@ const useSuperdocStore = /* @__PURE__ */ defineStore("superdoc", () => {
4131
3829
  top: totalHeight
4132
3830
  };
4133
3831
  };
4134
- const handlePageReady = (documentId, index2, containerBounds) => {
3832
+ const handlePageReady = (documentId, index, containerBounds) => {
4135
3833
  if (!pages[documentId]) pages[documentId] = [];
4136
- pages[documentId].push({ page: index2, containerBounds });
3834
+ pages[documentId].push({ page: index, containerBounds });
4137
3835
  const doc = getDocument(documentId);
4138
3836
  if (!doc) return;
4139
3837
  doc.pageContainers.push({
4140
- page: index2,
3838
+ page: index,
4141
3839
  containerBounds
4142
3840
  });
4143
3841
  };
@@ -4326,7 +4024,11 @@ const useCommentsStore = /* @__PURE__ */ defineStore("comments", () => {
4326
4024
  pendingComment.value = getPendingComment({ selection, documentId: selection.documentId, parentCommentId: null });
4327
4025
  if (!superdoc2.config.isInternal) pendingComment.value.isInternal = false;
4328
4026
  if (superdoc2.activeEditor?.commands) {
4329
- superdoc2.activeEditor.commands.insertComment({ ...pendingComment.value.getValues(), commentId: "pending" });
4027
+ superdoc2.activeEditor.commands.insertComment({
4028
+ ...pendingComment.value.getValues(),
4029
+ commentId: "pending",
4030
+ skipEmit: true
4031
+ });
4330
4032
  }
4331
4033
  if (pendingComment.value.selection.source === "super-editor" && superdocStore.selectionPosition) {
4332
4034
  superdocStore.selectionPosition.source = "super-editor";
@@ -4398,7 +4100,7 @@ const useCommentsStore = /* @__PURE__ */ defineStore("comments", () => {
4398
4100
  superdocStore.selectionPosition = null;
4399
4101
  superdoc2.activeEditor?.commands.removeComment({ commentId: "pending" });
4400
4102
  };
4401
- const addComment = ({ superdoc: superdoc2, comment }) => {
4103
+ const addComment = ({ superdoc: superdoc2, comment, skipEditorUpdate = false }) => {
4402
4104
  let parentComment = commentsList.value.find((c2) => c2.commentId === activeComment.value);
4403
4105
  if (!parentComment) parentComment = comment;
4404
4106
  const newComment = useComment(comment.getValues());
@@ -4412,8 +4114,8 @@ const useCommentsStore = /* @__PURE__ */ defineStore("comments", () => {
4412
4114
  if (!superdoc2.config.isInternal) newComment.isInternal = false;
4413
4115
  commentsList.value.push(newComment);
4414
4116
  removePendingComment(superdoc2);
4415
- if (!comment.trackedChange && superdoc2.activeEditor?.commands && !comment.parentCommentId) {
4416
- superdoc2.activeEditor.commands.insertComment(newComment.getValues());
4117
+ if (!skipEditorUpdate && !comment.trackedChange && superdoc2.activeEditor?.commands && !comment.parentCommentId) {
4118
+ superdoc2.activeEditor.commands.insertComment({ ...newComment.getValues(), skipEmit: true });
4417
4119
  }
4418
4120
  const event = { type: COMMENT_EVENTS.ADD, comment: newComment.getValues() };
4419
4121
  syncCommentsToClients(superdoc2, event);
@@ -4480,12 +4182,12 @@ const useCommentsStore = /* @__PURE__ */ defineStore("comments", () => {
4480
4182
  const groupedChanges = groupChanges(trackedChanges);
4481
4183
  const { tr } = editor.view.state;
4482
4184
  const { dispatch } = editor.view;
4483
- groupedChanges.forEach(({ insertedMark, deletionMark, formatMark }, index2) => {
4484
- console.debug(`Create comment for track change: ${index2}`);
4185
+ groupedChanges.forEach(({ insertedMark, deletionMark, formatMark }, index) => {
4186
+ console.debug(`Create comment for track change: ${index}`);
4485
4187
  const foundComment = commentsList.value.find(
4486
4188
  (i) => i.commentId === insertedMark?.mark.attrs.id || i.commentId === deletionMark?.mark.attrs.id || i.commentId === formatMark?.mark.attrs.id
4487
4189
  );
4488
- const isLastIteration = trackedChanges.length === index2 + 1;
4190
+ const isLastIteration = trackedChanges.length === index + 1;
4489
4191
  if (foundComment) {
4490
4192
  if (isLastIteration) {
4491
4193
  tr.setMeta(superEditor_es.CommentsPluginKey, { type: "force" });
@@ -7691,11 +7393,11 @@ var ResizeObserverController = (function() {
7691
7393
  };
7692
7394
  ResizeObserverController2.unobserve = function(resizeObserver, target) {
7693
7395
  var detail = observerMap.get(resizeObserver);
7694
- var index2 = getObservationIndex(detail.observationTargets, target);
7396
+ var index = getObservationIndex(detail.observationTargets, target);
7695
7397
  var lastObservation = detail.observationTargets.length === 1;
7696
- if (index2 >= 0) {
7398
+ if (index >= 0) {
7697
7399
  lastObservation && resizeObservers.splice(resizeObservers.indexOf(detail), 1);
7698
- detail.observationTargets.splice(index2, 1);
7400
+ detail.observationTargets.splice(index, 1);
7699
7401
  updateCount(-1);
7700
7402
  }
7701
7403
  };
@@ -8425,9 +8127,9 @@ function isSymbol(value) {
8425
8127
  return typeof value == "symbol" || isObjectLike(value) && baseGetTag(value) == symbolTag$1;
8426
8128
  }
8427
8129
  function arrayMap(array, iteratee) {
8428
- var index2 = -1, length2 = array == null ? 0 : array.length, result = Array(length2);
8429
- while (++index2 < length2) {
8430
- result[index2] = iteratee(array[index2], index2, array);
8130
+ var index = -1, length2 = array == null ? 0 : array.length, result = Array(length2);
8131
+ while (++index < length2) {
8132
+ result[index] = iteratee(array[index], index, array);
8431
8133
  }
8432
8134
  return result;
8433
8135
  }
@@ -8538,10 +8240,10 @@ function apply(func, thisArg, args) {
8538
8240
  return func.apply(thisArg, args);
8539
8241
  }
8540
8242
  function copyArray(source, array) {
8541
- var index2 = -1, length2 = source.length;
8243
+ var index = -1, length2 = source.length;
8542
8244
  array || (array = Array(length2));
8543
- while (++index2 < length2) {
8544
- array[index2] = source[index2];
8245
+ while (++index < length2) {
8246
+ array[index] = source[index];
8545
8247
  }
8546
8248
  return array;
8547
8249
  }
@@ -8617,9 +8319,9 @@ function assignValue(object, key, value) {
8617
8319
  function copyObject(source, props, object, customizer) {
8618
8320
  var isNew = !object;
8619
8321
  object || (object = {});
8620
- var index2 = -1, length2 = props.length;
8621
- while (++index2 < length2) {
8622
- var key = props[index2];
8322
+ var index = -1, length2 = props.length;
8323
+ while (++index < length2) {
8324
+ var key = props[index];
8623
8325
  var newValue = void 0;
8624
8326
  if (newValue === void 0) {
8625
8327
  newValue = source[key];
@@ -8636,14 +8338,14 @@ var nativeMax = Math.max;
8636
8338
  function overRest(func, start, transform) {
8637
8339
  start = nativeMax(start === void 0 ? func.length - 1 : start, 0);
8638
8340
  return function() {
8639
- var args = arguments, index2 = -1, length2 = nativeMax(args.length - start, 0), array = Array(length2);
8640
- while (++index2 < length2) {
8641
- array[index2] = args[start + index2];
8341
+ var args = arguments, index = -1, length2 = nativeMax(args.length - start, 0), array = Array(length2);
8342
+ while (++index < length2) {
8343
+ array[index] = args[start + index];
8642
8344
  }
8643
- index2 = -1;
8345
+ index = -1;
8644
8346
  var otherArgs = Array(start + 1);
8645
- while (++index2 < start) {
8646
- otherArgs[index2] = args[index2];
8347
+ while (++index < start) {
8348
+ otherArgs[index] = args[index];
8647
8349
  }
8648
8350
  otherArgs[start] = transform(array);
8649
8351
  return apply(func, this, otherArgs);
@@ -8659,29 +8361,29 @@ function isLength(value) {
8659
8361
  function isArrayLike(value) {
8660
8362
  return value != null && isLength(value.length) && !isFunction(value);
8661
8363
  }
8662
- function isIterateeCall(value, index2, object) {
8364
+ function isIterateeCall(value, index, object) {
8663
8365
  if (!isObject(object)) {
8664
8366
  return false;
8665
8367
  }
8666
- var type = typeof index2;
8667
- if (type == "number" ? isArrayLike(object) && isIndex(index2, object.length) : type == "string" && index2 in object) {
8668
- return eq(object[index2], value);
8368
+ var type = typeof index;
8369
+ if (type == "number" ? isArrayLike(object) && isIndex(index, object.length) : type == "string" && index in object) {
8370
+ return eq(object[index], value);
8669
8371
  }
8670
8372
  return false;
8671
8373
  }
8672
8374
  function createAssigner(assigner) {
8673
8375
  return baseRest(function(object, sources) {
8674
- var index2 = -1, length2 = sources.length, customizer = length2 > 1 ? sources[length2 - 1] : void 0, guard = length2 > 2 ? sources[2] : void 0;
8376
+ var index = -1, length2 = sources.length, customizer = length2 > 1 ? sources[length2 - 1] : void 0, guard = length2 > 2 ? sources[2] : void 0;
8675
8377
  customizer = assigner.length > 3 && typeof customizer == "function" ? (length2--, customizer) : void 0;
8676
8378
  if (guard && isIterateeCall(sources[0], sources[1], guard)) {
8677
8379
  customizer = length2 < 3 ? void 0 : customizer;
8678
8380
  length2 = 1;
8679
8381
  }
8680
8382
  object = Object(object);
8681
- while (++index2 < length2) {
8682
- var source = sources[index2];
8383
+ while (++index < length2) {
8384
+ var source = sources[index];
8683
8385
  if (source) {
8684
- assigner(object, source, index2, customizer);
8386
+ assigner(object, source, index, customizer);
8685
8387
  }
8686
8388
  }
8687
8389
  return object;
@@ -8693,9 +8395,9 @@ function isPrototype(value) {
8693
8395
  return value === proto;
8694
8396
  }
8695
8397
  function baseTimes(n, iteratee) {
8696
- var index2 = -1, result = Array(n);
8697
- while (++index2 < n) {
8698
- result[index2] = iteratee(index2);
8398
+ var index = -1, result = Array(n);
8399
+ while (++index < n) {
8400
+ result[index] = iteratee(index);
8699
8401
  }
8700
8402
  return result;
8701
8403
  }
@@ -8859,10 +8561,10 @@ function hashSet(key, value) {
8859
8561
  return this;
8860
8562
  }
8861
8563
  function Hash(entries) {
8862
- var index2 = -1, length2 = entries == null ? 0 : entries.length;
8564
+ var index = -1, length2 = entries == null ? 0 : entries.length;
8863
8565
  this.clear();
8864
- while (++index2 < length2) {
8865
- var entry = entries[index2];
8566
+ while (++index < length2) {
8567
+ var entry = entries[index];
8866
8568
  this.set(entry[0], entry[1]);
8867
8569
  }
8868
8570
  }
@@ -8887,41 +8589,41 @@ function assocIndexOf(array, key) {
8887
8589
  var arrayProto = Array.prototype;
8888
8590
  var splice = arrayProto.splice;
8889
8591
  function listCacheDelete(key) {
8890
- var data = this.__data__, index2 = assocIndexOf(data, key);
8891
- if (index2 < 0) {
8592
+ var data = this.__data__, index = assocIndexOf(data, key);
8593
+ if (index < 0) {
8892
8594
  return false;
8893
8595
  }
8894
8596
  var lastIndex = data.length - 1;
8895
- if (index2 == lastIndex) {
8597
+ if (index == lastIndex) {
8896
8598
  data.pop();
8897
8599
  } else {
8898
- splice.call(data, index2, 1);
8600
+ splice.call(data, index, 1);
8899
8601
  }
8900
8602
  --this.size;
8901
8603
  return true;
8902
8604
  }
8903
8605
  function listCacheGet(key) {
8904
- var data = this.__data__, index2 = assocIndexOf(data, key);
8905
- return index2 < 0 ? void 0 : data[index2][1];
8606
+ var data = this.__data__, index = assocIndexOf(data, key);
8607
+ return index < 0 ? void 0 : data[index][1];
8906
8608
  }
8907
8609
  function listCacheHas(key) {
8908
8610
  return assocIndexOf(this.__data__, key) > -1;
8909
8611
  }
8910
8612
  function listCacheSet(key, value) {
8911
- var data = this.__data__, index2 = assocIndexOf(data, key);
8912
- if (index2 < 0) {
8613
+ var data = this.__data__, index = assocIndexOf(data, key);
8614
+ if (index < 0) {
8913
8615
  ++this.size;
8914
8616
  data.push([key, value]);
8915
8617
  } else {
8916
- data[index2][1] = value;
8618
+ data[index][1] = value;
8917
8619
  }
8918
8620
  return this;
8919
8621
  }
8920
8622
  function ListCache(entries) {
8921
- var index2 = -1, length2 = entries == null ? 0 : entries.length;
8623
+ var index = -1, length2 = entries == null ? 0 : entries.length;
8922
8624
  this.clear();
8923
- while (++index2 < length2) {
8924
- var entry = entries[index2];
8625
+ while (++index < length2) {
8626
+ var entry = entries[index];
8925
8627
  this.set(entry[0], entry[1]);
8926
8628
  }
8927
8629
  }
@@ -8965,10 +8667,10 @@ function mapCacheSet(key, value) {
8965
8667
  return this;
8966
8668
  }
8967
8669
  function MapCache(entries) {
8968
- var index2 = -1, length2 = entries == null ? 0 : entries.length;
8670
+ var index = -1, length2 = entries == null ? 0 : entries.length;
8969
8671
  this.clear();
8970
- while (++index2 < length2) {
8971
- var entry = entries[index2];
8672
+ while (++index < length2) {
8673
+ var entry = entries[index];
8972
8674
  this.set(entry[0], entry[1]);
8973
8675
  }
8974
8676
  }
@@ -9036,20 +8738,20 @@ function toKey(value) {
9036
8738
  }
9037
8739
  function baseGet(object, path) {
9038
8740
  path = castPath(path, object);
9039
- var index2 = 0, length2 = path.length;
9040
- while (object != null && index2 < length2) {
9041
- object = object[toKey(path[index2++])];
8741
+ var index = 0, length2 = path.length;
8742
+ while (object != null && index < length2) {
8743
+ object = object[toKey(path[index++])];
9042
8744
  }
9043
- return index2 && index2 == length2 ? object : void 0;
8745
+ return index && index == length2 ? object : void 0;
9044
8746
  }
9045
8747
  function get(object, path, defaultValue) {
9046
8748
  var result = object == null ? void 0 : baseGet(object, path);
9047
8749
  return result === void 0 ? defaultValue : result;
9048
8750
  }
9049
8751
  function arrayPush(array, values) {
9050
- var index2 = -1, length2 = values.length, offset = array.length;
9051
- while (++index2 < length2) {
9052
- array[offset + index2] = values[index2];
8752
+ var index = -1, length2 = values.length, offset = array.length;
8753
+ while (++index < length2) {
8754
+ array[offset + index] = values[index];
9053
8755
  }
9054
8756
  return array;
9055
8757
  }
@@ -9071,7 +8773,7 @@ function isPlainObject(value) {
9071
8773
  return typeof Ctor == "function" && Ctor instanceof Ctor && funcToString.call(Ctor) == objectCtorString;
9072
8774
  }
9073
8775
  function baseSlice(array, start, end) {
9074
- var index2 = -1, length2 = array.length;
8776
+ var index = -1, length2 = array.length;
9075
8777
  if (start < 0) {
9076
8778
  start = -start > length2 ? 0 : length2 + start;
9077
8779
  }
@@ -9082,8 +8784,8 @@ function baseSlice(array, start, end) {
9082
8784
  length2 = start > end ? 0 : end - start >>> 0;
9083
8785
  start >>>= 0;
9084
8786
  var result = Array(length2);
9085
- while (++index2 < length2) {
9086
- result[index2] = array[index2 + start];
8787
+ while (++index < length2) {
8788
+ result[index] = array[index + start];
9087
8789
  }
9088
8790
  return result;
9089
8791
  }
@@ -9172,10 +8874,10 @@ function cloneBuffer(buffer, isDeep) {
9172
8874
  }
9173
8875
  }
9174
8876
  function arrayFilter(array, predicate) {
9175
- var index2 = -1, length2 = array == null ? 0 : array.length, resIndex = 0, result = [];
9176
- while (++index2 < length2) {
9177
- var value = array[index2];
9178
- if (predicate(value, index2, array)) {
8877
+ var index = -1, length2 = array == null ? 0 : array.length, resIndex = 0, result = [];
8878
+ while (++index < length2) {
8879
+ var value = array[index];
8880
+ if (predicate(value, index, array)) {
9179
8881
  result[resIndex++] = value;
9180
8882
  }
9181
8883
  }
@@ -9252,18 +8954,18 @@ function setCacheHas(value) {
9252
8954
  return this.__data__.has(value);
9253
8955
  }
9254
8956
  function SetCache(values) {
9255
- var index2 = -1, length2 = values == null ? 0 : values.length;
8957
+ var index = -1, length2 = values == null ? 0 : values.length;
9256
8958
  this.__data__ = new MapCache();
9257
- while (++index2 < length2) {
9258
- this.add(values[index2]);
8959
+ while (++index < length2) {
8960
+ this.add(values[index]);
9259
8961
  }
9260
8962
  }
9261
8963
  SetCache.prototype.add = SetCache.prototype.push = setCacheAdd;
9262
8964
  SetCache.prototype.has = setCacheHas;
9263
8965
  function arraySome(array, predicate) {
9264
- var index2 = -1, length2 = array == null ? 0 : array.length;
9265
- while (++index2 < length2) {
9266
- if (predicate(array[index2], index2, array)) {
8966
+ var index = -1, length2 = array == null ? 0 : array.length;
8967
+ while (++index < length2) {
8968
+ if (predicate(array[index], index, array)) {
9267
8969
  return true;
9268
8970
  }
9269
8971
  }
@@ -9283,13 +8985,13 @@ function equalArrays(array, other, bitmask, customizer, equalFunc, stack2) {
9283
8985
  if (arrStacked && othStacked) {
9284
8986
  return arrStacked == other && othStacked == array;
9285
8987
  }
9286
- var index2 = -1, result = true, seen = bitmask & COMPARE_UNORDERED_FLAG$3 ? new SetCache() : void 0;
8988
+ var index = -1, result = true, seen = bitmask & COMPARE_UNORDERED_FLAG$3 ? new SetCache() : void 0;
9287
8989
  stack2.set(array, other);
9288
8990
  stack2.set(other, array);
9289
- while (++index2 < arrLength) {
9290
- var arrValue = array[index2], othValue = other[index2];
8991
+ while (++index < arrLength) {
8992
+ var arrValue = array[index], othValue = other[index];
9291
8993
  if (customizer) {
9292
- var compared = isPartial ? customizer(othValue, arrValue, index2, other, array, stack2) : customizer(arrValue, othValue, index2, array, other, stack2);
8994
+ var compared = isPartial ? customizer(othValue, arrValue, index, other, array, stack2) : customizer(arrValue, othValue, index, array, other, stack2);
9293
8995
  }
9294
8996
  if (compared !== void 0) {
9295
8997
  if (compared) {
@@ -9317,16 +9019,16 @@ function equalArrays(array, other, bitmask, customizer, equalFunc, stack2) {
9317
9019
  return result;
9318
9020
  }
9319
9021
  function mapToArray(map2) {
9320
- var index2 = -1, result = Array(map2.size);
9022
+ var index = -1, result = Array(map2.size);
9321
9023
  map2.forEach(function(value, key) {
9322
- result[++index2] = [key, value];
9024
+ result[++index] = [key, value];
9323
9025
  });
9324
9026
  return result;
9325
9027
  }
9326
9028
  function setToArray(set2) {
9327
- var index2 = -1, result = Array(set2.size);
9029
+ var index = -1, result = Array(set2.size);
9328
9030
  set2.forEach(function(value) {
9329
- result[++index2] = value;
9031
+ result[++index] = value;
9330
9032
  });
9331
9033
  return result;
9332
9034
  }
@@ -9388,9 +9090,9 @@ function equalObjects(object, other, bitmask, customizer, equalFunc, stack2) {
9388
9090
  if (objLength != othLength && !isPartial) {
9389
9091
  return false;
9390
9092
  }
9391
- var index2 = objLength;
9392
- while (index2--) {
9393
- var key = objProps[index2];
9093
+ var index = objLength;
9094
+ while (index--) {
9095
+ var key = objProps[index];
9394
9096
  if (!(isPartial ? key in other : hasOwnProperty$1.call(other, key))) {
9395
9097
  return false;
9396
9098
  }
@@ -9404,8 +9106,8 @@ function equalObjects(object, other, bitmask, customizer, equalFunc, stack2) {
9404
9106
  stack2.set(object, other);
9405
9107
  stack2.set(other, object);
9406
9108
  var skipCtor = isPartial;
9407
- while (++index2 < objLength) {
9408
- key = objProps[index2];
9109
+ while (++index < objLength) {
9110
+ key = objProps[index];
9409
9111
  var objValue = object[key], othValue = other[key];
9410
9112
  if (customizer) {
9411
9113
  var compared = isPartial ? customizer(othValue, objValue, key, other, object, stack2) : customizer(objValue, othValue, key, object, other, stack2);
@@ -9471,19 +9173,19 @@ function baseIsEqual(value, other, bitmask, customizer, stack2) {
9471
9173
  }
9472
9174
  var COMPARE_PARTIAL_FLAG$1 = 1, COMPARE_UNORDERED_FLAG$1 = 2;
9473
9175
  function baseIsMatch(object, source, matchData, customizer) {
9474
- var index2 = matchData.length, length2 = index2;
9176
+ var index = matchData.length, length2 = index;
9475
9177
  if (object == null) {
9476
9178
  return !length2;
9477
9179
  }
9478
9180
  object = Object(object);
9479
- while (index2--) {
9480
- var data = matchData[index2];
9181
+ while (index--) {
9182
+ var data = matchData[index];
9481
9183
  if (data[2] ? data[1] !== object[data[0]] : !(data[0] in object)) {
9482
9184
  return false;
9483
9185
  }
9484
9186
  }
9485
- while (++index2 < length2) {
9486
- data = matchData[index2];
9187
+ while (++index < length2) {
9188
+ data = matchData[index];
9487
9189
  var key = data[0], objValue = object[key], srcValue = data[1];
9488
9190
  if (data[2]) {
9489
9191
  if (objValue === void 0 && !(key in object)) {
@@ -9532,15 +9234,15 @@ function baseHasIn(object, key) {
9532
9234
  }
9533
9235
  function hasPath(object, path, hasFunc) {
9534
9236
  path = castPath(path, object);
9535
- var index2 = -1, length2 = path.length, result = false;
9536
- while (++index2 < length2) {
9537
- var key = toKey(path[index2]);
9237
+ var index = -1, length2 = path.length, result = false;
9238
+ while (++index < length2) {
9239
+ var key = toKey(path[index]);
9538
9240
  if (!(result = object != null && hasFunc(object, key))) {
9539
9241
  break;
9540
9242
  }
9541
9243
  object = object[key];
9542
9244
  }
9543
- if (result || ++index2 != length2) {
9245
+ if (result || ++index != length2) {
9544
9246
  return result;
9545
9247
  }
9546
9248
  length2 = object == null ? 0 : object.length;
@@ -9586,9 +9288,9 @@ function baseIteratee(value) {
9586
9288
  }
9587
9289
  function createBaseFor(fromRight) {
9588
9290
  return function(object, iteratee, keysFunc) {
9589
- var index2 = -1, iterable = Object(object), props = keysFunc(object), length2 = props.length;
9291
+ var index = -1, iterable = Object(object), props = keysFunc(object), length2 = props.length;
9590
9292
  while (length2--) {
9591
- var key = props[++index2];
9293
+ var key = props[++index];
9592
9294
  if (iteratee(iterable[key], key, iterable) === false) {
9593
9295
  break;
9594
9296
  }
@@ -9608,9 +9310,9 @@ function createBaseEach(eachFunc, fromRight) {
9608
9310
  if (!isArrayLike(collection)) {
9609
9311
  return eachFunc(collection, iteratee);
9610
9312
  }
9611
- var length2 = collection.length, index2 = -1, iterable = Object(collection);
9612
- while (++index2 < length2) {
9613
- if (iteratee(iterable[index2], index2, iterable) === false) {
9313
+ var length2 = collection.length, index = -1, iterable = Object(collection);
9314
+ while (++index < length2) {
9315
+ if (iteratee(iterable[index], index, iterable) === false) {
9614
9316
  break;
9615
9317
  }
9616
9318
  }
@@ -9699,9 +9401,9 @@ function baseMerge(object, source, srcIndex, customizer, stack2) {
9699
9401
  }, keysIn);
9700
9402
  }
9701
9403
  function baseMap(collection, iteratee) {
9702
- var index2 = -1, result = isArrayLike(collection) ? Array(collection.length) : [];
9404
+ var index = -1, result = isArrayLike(collection) ? Array(collection.length) : [];
9703
9405
  baseEach(collection, function(value, key, collection2) {
9704
- result[++index2] = iteratee(value, key, collection2);
9406
+ result[++index] = iteratee(value, key, collection2);
9705
9407
  });
9706
9408
  return result;
9707
9409
  }
@@ -10948,7 +10650,7 @@ const Scrollbar = vue.defineComponent({
10948
10650
  const {
10949
10651
  left,
10950
10652
  top,
10951
- index: index2,
10653
+ index,
10952
10654
  elSize,
10953
10655
  position,
10954
10656
  behavior,
@@ -10960,8 +10662,8 @@ const Scrollbar = vue.defineComponent({
10960
10662
  }
10961
10663
  if (el !== void 0) {
10962
10664
  scrollToPosition(0, el.offsetTop, el.offsetHeight, debounce, behavior);
10963
- } else if (index2 !== void 0 && elSize !== void 0) {
10964
- scrollToPosition(0, index2 * elSize, elSize, debounce, behavior);
10665
+ } else if (index !== void 0 && elSize !== void 0) {
10666
+ scrollToPosition(0, index * elSize, elSize, debounce, behavior);
10965
10667
  } else if (position === "bottom") {
10966
10668
  scrollToPosition(0, Number.MAX_SAFE_INTEGER, 0, false, behavior);
10967
10669
  } else if (position === "top") {
@@ -11811,13 +11513,13 @@ function getFirstAvailableNode(nodes) {
11811
11513
  function rawGetNext(node, loop) {
11812
11514
  const sibs = node.siblings;
11813
11515
  const l = sibs.length;
11814
- const { index: index2 } = node;
11516
+ const { index } = node;
11815
11517
  if (loop) {
11816
- return sibs[(index2 + 1) % l];
11518
+ return sibs[(index + 1) % l];
11817
11519
  } else {
11818
- if (index2 === sibs.length - 1)
11520
+ if (index === sibs.length - 1)
11819
11521
  return null;
11820
- return sibs[index2 + 1];
11522
+ return sibs[index + 1];
11821
11523
  }
11822
11524
  }
11823
11525
  function move(fromNode, dir, { loop = false, includeDisabled = false } = {}) {
@@ -11870,13 +11572,13 @@ function move(fromNode, dir, { loop = false, includeDisabled = false } = {}) {
11870
11572
  function rawGetPrev(node, loop) {
11871
11573
  const sibs = node.siblings;
11872
11574
  const l = sibs.length;
11873
- const { index: index2 } = node;
11575
+ const { index } = node;
11874
11576
  if (loop) {
11875
- return sibs[(index2 - 1 + l) % l];
11577
+ return sibs[(index - 1 + l) % l];
11876
11578
  } else {
11877
- if (index2 === 0)
11579
+ if (index === 0)
11878
11580
  return null;
11879
- return sibs[index2 - 1];
11581
+ return sibs[index - 1];
11880
11582
  }
11881
11583
  }
11882
11584
  function rawGetParent(node) {
@@ -11957,7 +11659,7 @@ function contains(parent, child) {
11957
11659
  }
11958
11660
  function createTreeNodes(rawNodes, treeNodeMap, levelTreeNodeMap, nodeProto, getChildren, parent = null, level = 0) {
11959
11661
  const treeNodes = [];
11960
- rawNodes.forEach((rawNode, index2) => {
11662
+ rawNodes.forEach((rawNode, index) => {
11961
11663
  var _a;
11962
11664
  if (vue.process$1.env.NODE_ENV !== "production" && isNodeInvalid(rawNode, getChildren)) {
11963
11665
  console.error("[treemate]: node", rawNode, "is invalid");
@@ -11966,9 +11668,9 @@ function createTreeNodes(rawNodes, treeNodeMap, levelTreeNodeMap, nodeProto, get
11966
11668
  treeNode.rawNode = rawNode;
11967
11669
  treeNode.siblings = treeNodes;
11968
11670
  treeNode.level = level;
11969
- treeNode.index = index2;
11970
- treeNode.isFirstChild = index2 === 0;
11971
- treeNode.isLastChild = index2 + 1 === rawNodes.length;
11671
+ treeNode.index = index;
11672
+ treeNode.isFirstChild = index === 0;
11673
+ treeNode.isLastChild = index + 1 === rawNodes.length;
11972
11674
  treeNode.parent = parent;
11973
11675
  if (!treeNode.ignored) {
11974
11676
  const rawChildren = getChildren(rawNode);
@@ -14231,9 +13933,9 @@ const NDropdownOption = vue.defineComponent({
14231
13933
  const {
14232
13934
  key
14233
13935
  } = props.tmNode;
14234
- const index2 = activeKeyPath.findIndex((k) => key === k);
14235
- if (index2 === -1) return false;
14236
- return index2 < activeKeyPath.length - 1;
13936
+ const index = activeKeyPath.findIndex((k) => key === k);
13937
+ if (index === -1) return false;
13938
+ return index < activeKeyPath.length - 1;
14237
13939
  }),
14238
13940
  active: useMemo(() => {
14239
13941
  const {
@@ -14242,9 +13944,9 @@ const NDropdownOption = vue.defineComponent({
14242
13944
  const {
14243
13945
  key
14244
13946
  } = props.tmNode;
14245
- const index2 = activeKeyPath.findIndex((k) => key === k);
14246
- if (index2 === -1) return false;
14247
- return index2 === activeKeyPath.length - 1;
13947
+ const index = activeKeyPath.findIndex((k) => key === k);
13948
+ if (index === -1) return false;
13949
+ return index === activeKeyPath.length - 1;
14248
13950
  }),
14249
13951
  mergedDisabled: mergedDisabledRef,
14250
13952
  renderOption: renderOptionRef,
@@ -16146,9 +15848,9 @@ const _sfc_main$c = {
16146
15848
  const showButtons = vue.computed(() => {
16147
15849
  return !getConfig.readOnly && isActiveComment.value && !props.comment.resolvedTime && editingCommentId.value !== props.comment.commentId;
16148
15850
  });
16149
- const showSeparator = vue.computed(() => (index2) => {
16150
- if (showInputSection.value && index2 === comments.value.length - 1) return true;
16151
- return comments.value.length > 1 && index2 !== comments.value.length - 1;
15851
+ const showSeparator = vue.computed(() => (index) => {
15852
+ if (showInputSection.value && index === comments.value.length - 1) return true;
15853
+ return comments.value.length > 1 && index !== comments.value.length - 1;
16152
15854
  });
16153
15855
  const showInputSection = vue.computed(() => {
16154
15856
  return !getConfig.readOnly && isActiveComment.value && !props.comment.resolvedTime && editingCommentId.value !== props.comment.commentId;
@@ -16333,9 +16035,9 @@ const _sfc_main$c = {
16333
16035
  onSelect: handleInternalExternalSelect
16334
16036
  }, null, 8, ["is-disabled", "state"])
16335
16037
  ])) : vue.createCommentVNode("", true),
16336
- (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(comments.value, (comment, index2) => {
16038
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(comments.value, (comment, index) => {
16337
16039
  return vue.openBlock(), vue.createElementBlock("div", {
16338
- key: index2,
16040
+ key: index,
16339
16041
  class: "conversation-item"
16340
16042
  }, [
16341
16043
  vue.createVNode(CommentHeader, {
@@ -16388,7 +16090,7 @@ const _sfc_main$c = {
16388
16090
  ])
16389
16091
  ]))
16390
16092
  ])) : vue.createCommentVNode("", true),
16391
- showSeparator.value(index2) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_18)) : vue.createCommentVNode("", true)
16093
+ showSeparator.value(index) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_18)) : vue.createCommentVNode("", true)
16392
16094
  ]);
16393
16095
  }), 128)),
16394
16096
  showInputSection.value && !vue.unref(getConfig).readOnly ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_19, [
@@ -17414,7 +17116,7 @@ const _sfc_main = {
17414
17116
  __name: "SuperDoc",
17415
17117
  emits: ["selection-update"],
17416
17118
  setup(__props, { emit: __emit }) {
17417
- const PdfViewer = vue.defineAsyncComponent(() => Promise.resolve().then(() => require("./PdfViewer-BItyloFT.cjs")));
17119
+ const PdfViewer = vue.defineAsyncComponent(() => Promise.resolve().then(() => require("./PdfViewer-C1OeVT5x.cjs")));
17418
17120
  const superdocStore = useSuperdocStore();
17419
17121
  const commentsStore = useCommentsStore();
17420
17122
  const {
@@ -17443,10 +17145,22 @@ const _sfc_main = {
17443
17145
  hasInitializedLocations,
17444
17146
  isCommentHighlighted
17445
17147
  } = storeToRefs(commentsStore);
17446
- const { showAddComment, handleEditorLocationsUpdate, handleTrackedChangeUpdate } = commentsStore;
17148
+ const {
17149
+ showAddComment,
17150
+ handleEditorLocationsUpdate,
17151
+ handleTrackedChangeUpdate,
17152
+ addComment,
17153
+ getComment,
17154
+ COMMENT_EVENTS
17155
+ } = commentsStore;
17447
17156
  const { proxy } = vue.getCurrentInstance();
17448
17157
  commentsStore.proxy = proxy;
17449
17158
  const { isHighContrastMode: isHighContrastMode2 } = useHighContrastMode();
17159
+ const commentsModuleConfig = vue.computed(() => {
17160
+ const config = modules.comments;
17161
+ if (config === false || config == null) return null;
17162
+ return config;
17163
+ });
17450
17164
  const layers = vue.ref(null);
17451
17165
  const commentsLayer = vue.ref(null);
17452
17166
  const toolsMenuPosition = vue.reactive({ top: null, right: "-25px", zIndex: 101 });
@@ -17594,7 +17308,7 @@ const _sfc_main = {
17594
17308
  rulers: doc.rulers,
17595
17309
  isInternal: proxy.$superdoc.config.isInternal,
17596
17310
  annotations: proxy.$superdoc.config.annotations,
17597
- isCommentsEnabled: proxy.$superdoc.config.modules?.comments,
17311
+ isCommentsEnabled: Boolean(commentsModuleConfig.value),
17598
17312
  isAiEnabled: proxy.$superdoc.config.modules?.ai,
17599
17313
  slashMenuConfig: proxy.$superdoc.config.modules?.slashMenu,
17600
17314
  onBeforeCreate: onEditorBeforeCreate,
@@ -17625,11 +17339,38 @@ const _sfc_main = {
17625
17339
  return options;
17626
17340
  };
17627
17341
  const onEditorCommentLocationsUpdate = ({ allCommentIds: activeThreadId, allCommentPositions }) => {
17628
- if (!proxy.$superdoc.config.modules?.comments) return;
17342
+ const commentsConfig = proxy.$superdoc.config.modules?.comments;
17343
+ if (!commentsConfig || commentsConfig === false) return;
17629
17344
  handleEditorLocationsUpdate(allCommentPositions, activeThreadId);
17630
17345
  };
17631
17346
  const onEditorCommentsUpdate = (params2 = {}) => {
17632
- const { activeCommentId, type } = params2;
17347
+ let { activeCommentId, type, comment: commentPayload } = params2;
17348
+ if (COMMENT_EVENTS?.ADD && type === COMMENT_EVENTS.ADD && commentPayload) {
17349
+ if (!commentPayload.commentText && commentPayload.text) {
17350
+ commentPayload.commentText = commentPayload.text;
17351
+ }
17352
+ const currentUser = proxy.$superdoc?.user;
17353
+ if (currentUser) {
17354
+ if (!commentPayload.creatorName) commentPayload.creatorName = currentUser.name;
17355
+ if (!commentPayload.creatorEmail) commentPayload.creatorEmail = currentUser.email;
17356
+ }
17357
+ if (!commentPayload.createdTime) commentPayload.createdTime = Date.now();
17358
+ const primaryDocumentId = commentPayload.documentId || documents.value?.[0]?.id;
17359
+ if (!commentPayload.documentId && primaryDocumentId) {
17360
+ commentPayload.documentId = primaryDocumentId;
17361
+ }
17362
+ if (!commentPayload.fileId && primaryDocumentId) {
17363
+ commentPayload.fileId = primaryDocumentId;
17364
+ }
17365
+ const id = commentPayload.commentId || commentPayload.importedId;
17366
+ if (id && !getComment(id)) {
17367
+ const commentModel = useComment(commentPayload);
17368
+ addComment({ superdoc: proxy.$superdoc, comment: commentModel, skipEditorUpdate: true });
17369
+ }
17370
+ if (!activeCommentId && id) {
17371
+ activeCommentId = id;
17372
+ }
17373
+ }
17633
17374
  if (type === "trackedChange") {
17634
17375
  handleTrackedChangeUpdate({ superdoc: proxy.$superdoc, params: params2 });
17635
17376
  }
@@ -17647,7 +17388,7 @@ const _sfc_main = {
17647
17388
  proxy.$superdoc.config.onTransaction({ editor, transaction, duration: duration2 });
17648
17389
  }
17649
17390
  };
17650
- const isCommentsEnabled = vue.computed(() => "comments" in modules);
17391
+ const isCommentsEnabled = vue.computed(() => Boolean(commentsModuleConfig.value));
17651
17392
  const showCommentsSidebar = vue.computed(() => {
17652
17393
  return pendingComment.value || getFloatingComments.value?.length > 0 && isReady.value && layers.value && isCommentsEnabled.value && !isCommentsListVisible.value;
17653
17394
  });
@@ -17657,13 +17398,14 @@ const _sfc_main = {
17657
17398
  });
17658
17399
  vue.computed(() => {
17659
17400
  if (!isCommentsEnabled.value) return false;
17660
- !getConfig?.readOnly && selectionPosition.value;
17401
+ return !getConfig.value?.readOnly && selectionPosition.value;
17661
17402
  });
17662
17403
  vue.watch(showCommentsSidebar, (value) => {
17663
17404
  proxy.$superdoc.broadcastSidebarToggle(value);
17664
17405
  });
17665
17406
  const scrollToComment = (commentId) => {
17666
- if (!proxy.$superdoc.config?.modules?.comments) return;
17407
+ const commentsConfig = proxy.$superdoc.config?.modules?.comments;
17408
+ if (!commentsConfig || commentsConfig === false) return;
17667
17409
  const element = document.querySelector(`[data-thread-id=${commentId}]`);
17668
17410
  if (element) {
17669
17411
  element.scrollIntoView({ behavior: "smooth", block: "start" });
@@ -17671,7 +17413,8 @@ const _sfc_main = {
17671
17413
  }
17672
17414
  };
17673
17415
  vue.onMounted(() => {
17674
- if (isCommentsEnabled.value && !modules.comments.readOnly) {
17416
+ const config = commentsModuleConfig.value;
17417
+ if (config && !config.readOnly) {
17675
17418
  document.addEventListener("mousedown", handleDocumentMouseDown);
17676
17419
  }
17677
17420
  });
@@ -17793,6 +17536,7 @@ const _sfc_main = {
17793
17536
  };
17794
17537
  const shouldShowSelection = vue.computed(() => {
17795
17538
  const config = proxy.$superdoc.config.modules?.comments;
17539
+ if (!config || config === false) return false;
17796
17540
  return !config.readOnly;
17797
17541
  });
17798
17542
  const handleSuperEditorPageMarginsChange = (doc, params2) => {
@@ -17959,7 +17703,7 @@ const _sfc_main = {
17959
17703
  };
17960
17704
  }
17961
17705
  };
17962
- const App = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3f71b1bf"]]);
17706
+ const App = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-96983cf9"]]);
17963
17707
  const createSuperdocVueApp = () => {
17964
17708
  const app = vue.createApp(App);
17965
17709
  const pinia = createPinia();
@@ -18058,6 +17802,10 @@ class SuperDoc extends eventemitter3.EventEmitter {
18058
17802
  ...this.config,
18059
17803
  ...config
18060
17804
  };
17805
+ this.config.modules = this.config.modules || {};
17806
+ if (!Object.prototype.hasOwnProperty.call(this.config.modules, "comments")) {
17807
+ this.config.modules.comments = {};
17808
+ }
18061
17809
  this.config.colors = shuffleArray(this.config.colors);
18062
17810
  this.userColorMap = /* @__PURE__ */ new Map();
18063
17811
  this.colorIndex = 0;
@@ -18192,7 +17940,8 @@ class SuperDoc extends eventemitter3.EventEmitter {
18192
17940
  this.superdocStore.setExceptionHandler((payload) => this.emit("exception", payload));
18193
17941
  }
18194
17942
  this.superdocStore.init(this.config);
18195
- this.commentsStore.init(this.config.modules.comments);
17943
+ const commentsModuleConfig = this.config.modules.comments;
17944
+ this.commentsStore.init(commentsModuleConfig && commentsModuleConfig !== false ? commentsModuleConfig : {});
18196
17945
  }
18197
17946
  #initListeners() {
18198
17947
  this.on("editorBeforeCreate", this.config.onEditorBeforeCreate);
@@ -18542,15 +18291,8 @@ class SuperDoc extends eventemitter3.EventEmitter {
18542
18291
  }
18543
18292
  /**
18544
18293
  * Export the superdoc to a file
18545
- * @param {Object} params
18546
- * @param {string[]} [params.exportType]
18547
- * @param {string} [params.commentsType]
18548
- * @param {string} [params.exportedName]
18549
- * @param {Array} [params.additionalFiles]
18550
- * @param {Array} [params.additionalFileNames]
18551
- * @param {boolean} [params.isFinalDoc]
18552
- * @param {boolean} [params.triggerDownload] Whether to trigger the download of the exported file
18553
- * @returns {Promise<void | Blob>} Returns void if triggerDownload is false, otherwise returns the exported file
18294
+ * @param {ExportParams} params - Export configuration
18295
+ * @returns {Promise<void | Blob>}
18554
18296
  */
18555
18297
  async export({
18556
18298
  exportType = ["docx"],
@@ -18612,12 +18354,12 @@ class SuperDoc extends eventemitter3.EventEmitter {
18612
18354
  async #triggerCollaborationSaves() {
18613
18355
  this.#log("🦋 [superdoc] Triggering collaboration saves");
18614
18356
  return new Promise((resolve) => {
18615
- this.superdocStore.documents.forEach((doc, index2) => {
18616
- this.#log(`Before reset - Doc ${index2}: pending = ${this.pendingCollaborationSaves}`);
18357
+ this.superdocStore.documents.forEach((doc, index) => {
18358
+ this.#log(`Before reset - Doc ${index}: pending = ${this.pendingCollaborationSaves}`);
18617
18359
  this.pendingCollaborationSaves = 0;
18618
18360
  if (doc.ydoc) {
18619
18361
  this.pendingCollaborationSaves++;
18620
- this.#log(`After increment - Doc ${index2}: pending = ${this.pendingCollaborationSaves}`);
18362
+ this.#log(`After increment - Doc ${index}: pending = ${this.pendingCollaborationSaves}`);
18621
18363
  const metaMap = doc.ydoc.getMap("meta");
18622
18364
  metaMap.observe((event) => {
18623
18365
  if (event.changes.keys.has("immediate-save-finished")) {