superdoc 0.31.3 → 0.32.0-beta.1

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 (674) hide show
  1. package/dist/chunks/{PdfViewer-DxZEZ0kC.cjs → PdfViewer--8MSSwM3.cjs} +2 -2
  2. package/dist/chunks/{PdfViewer-Cfv24RAO.es.js → PdfViewer-DDCKVOWx.es.js} +2 -2
  3. package/dist/chunks/{eventemitter3-hYlnBzSA.es.js → eventemitter3-BZXKb7j7.es.js} +1 -1
  4. package/dist/chunks/{eventemitter3-DmHNHvFX.cjs → eventemitter3-CFCpOk3d.cjs} +1 -1
  5. package/dist/chunks/{index-BkSlSgV3-Bs1x4Ydh.es.js → index-BgFyS1or-BMypHAzL.es.js} +1 -1
  6. package/dist/chunks/{index-BkSlSgV3-0lYca18m.cjs → index-BgFyS1or-CON4RVV6.cjs} +1 -1
  7. package/dist/chunks/{index-DyWNiAwo.cjs → index-CABhc08d.cjs} +10 -9
  8. package/dist/chunks/{index-DzCRau8t.es.js → index-Dn6V09b9.es.js} +10 -9
  9. package/dist/chunks/{jszip-BP2FTbpi.cjs → jszip-B99MTu59.cjs} +1 -1
  10. package/dist/chunks/{jszip-jKrsZoMS.es.js → jszip-Duxs2YMV.es.js} +1 -1
  11. package/dist/chunks/{super-editor.es-DOLpHa0H.es.js → super-editor.es-Bqyg3_Z4.es.js} +39368 -40933
  12. package/dist/chunks/{super-editor.es-DEg3G86J.cjs → super-editor.es-CmOxHBFk.cjs} +40595 -42160
  13. package/dist/chunks/{vue-Cwv-wUpm.cjs → vue-ARQSyfaw.cjs} +2401 -2360
  14. package/dist/chunks/{vue-CKmzTNVs.es.js → vue-B5QAf5pA.es.js} +2401 -2360
  15. package/dist/chunks/xml-js-CVyfrKaV.es.js +2 -0
  16. package/dist/chunks/xml-js-DQa4Ye5C.cjs +3 -0
  17. package/dist/images/altText_add.svg +3 -0
  18. package/dist/images/altText_disclaimer.svg +3 -0
  19. package/dist/images/altText_done.svg +3 -0
  20. package/dist/images/altText_spinner.svg +30 -0
  21. package/dist/images/altText_warning.svg +3 -0
  22. package/dist/images/annotation-check.svg +11 -0
  23. package/dist/images/annotation-comment.svg +16 -0
  24. package/dist/images/annotation-help.svg +26 -0
  25. package/dist/images/annotation-insert.svg +10 -0
  26. package/dist/images/annotation-key.svg +11 -0
  27. package/dist/images/annotation-newparagraph.svg +11 -0
  28. package/dist/images/annotation-noicon.svg +7 -0
  29. package/dist/images/annotation-note.svg +42 -0
  30. package/dist/images/annotation-paperclip.svg +6 -0
  31. package/dist/images/annotation-paragraph.svg +16 -0
  32. package/dist/images/annotation-pushpin.svg +7 -0
  33. package/dist/images/cursor-editorFreeHighlight.svg +6 -0
  34. package/dist/images/cursor-editorFreeText.svg +3 -0
  35. package/dist/images/cursor-editorInk.svg +4 -0
  36. package/dist/images/cursor-editorTextHighlight.svg +8 -0
  37. package/dist/images/editor-toolbar-delete.svg +5 -0
  38. package/dist/images/loading-icon.gif +0 -0
  39. package/dist/images/messageBar_closingButton.svg +3 -0
  40. package/dist/images/messageBar_warning.svg +3 -0
  41. package/dist/images/toolbarButton-editorHighlight.svg +6 -0
  42. package/dist/images/toolbarButton-menuArrow.svg +3 -0
  43. package/dist/packages/superdoc/src/core/SuperDoc.d.ts +140 -52
  44. package/dist/packages/superdoc/src/core/SuperDoc.d.ts.map +1 -1
  45. package/dist/packages/superdoc/src/core/types/index.d.ts +140 -52
  46. package/dist/packages/superdoc/src/core/types/index.d.ts.map +1 -1
  47. package/dist/packages/superdoc/src/stores/comments-store.d.ts.map +1 -1
  48. package/dist/style.css +21 -40
  49. package/dist/super-editor/ai-writer.es.js +2 -2
  50. package/dist/super-editor/chunks/{converter-DsvQGrFy.js → converter-GmnA1V24.js} +13044 -13320
  51. package/dist/super-editor/chunks/{docx-zipper-DY9haip7.js → docx-zipper-JqSwrxHZ.js} +1 -1
  52. package/dist/super-editor/chunks/{editor-gAS774Lu.js → editor-U5Zs1FK0.js} +3956 -5273
  53. package/dist/super-editor/chunks/{index-BkSlSgV3.js → index-BgFyS1or.js} +1 -1
  54. package/dist/super-editor/chunks/{toolbar-B_JCu51N.js → toolbar-BPr_n6-M.js} +2 -2
  55. package/dist/super-editor/converter.es.js +2 -2
  56. package/dist/super-editor/docx-zipper.es.js +2 -2
  57. package/dist/super-editor/editor.es.js +3 -3
  58. package/dist/super-editor/file-zipper.es.js +1 -1
  59. package/dist/super-editor/style.css +21 -40
  60. package/dist/super-editor/super-editor/src/components/slash-menu/utils.d.ts.map +1 -1
  61. package/dist/super-editor/super-editor/src/components/toolbar/defaultItems.d.ts.map +1 -1
  62. package/dist/super-editor/super-editor/src/components/toolbar/super-toolbar.d.ts.map +1 -1
  63. package/dist/super-editor/super-editor/src/core/Attribute.d.ts +75 -29
  64. package/dist/super-editor/super-editor/src/core/Attribute.d.ts.map +1 -1
  65. package/dist/super-editor/super-editor/src/core/CommandService.d.ts +1 -1
  66. package/dist/super-editor/super-editor/src/core/CommandService.d.ts.map +1 -1
  67. package/dist/super-editor/super-editor/src/core/Editor.d.ts +145 -673
  68. package/dist/super-editor/super-editor/src/core/Editor.d.ts.map +1 -1
  69. package/dist/super-editor/super-editor/src/core/EventEmitter.d.ts +23 -14
  70. package/dist/super-editor/super-editor/src/core/EventEmitter.d.ts.map +1 -1
  71. package/dist/super-editor/super-editor/src/core/Extension.d.ts +25 -11
  72. package/dist/super-editor/super-editor/src/core/Extension.d.ts.map +1 -1
  73. package/dist/super-editor/super-editor/src/core/ExtensionService.d.ts +1 -1
  74. package/dist/super-editor/super-editor/src/core/ExtensionService.d.ts.map +1 -1
  75. package/dist/super-editor/super-editor/src/core/InputRule.d.ts.map +1 -1
  76. package/dist/super-editor/super-editor/src/core/Mark.d.ts +28 -12
  77. package/dist/super-editor/super-editor/src/core/Mark.d.ts.map +1 -1
  78. package/dist/super-editor/super-editor/src/core/Node.d.ts +87 -25
  79. package/dist/super-editor/super-editor/src/core/Node.d.ts.map +1 -1
  80. package/dist/super-editor/super-editor/src/core/OxmlNode.d.ts +20 -13
  81. package/dist/super-editor/super-editor/src/core/OxmlNode.d.ts.map +1 -1
  82. package/dist/super-editor/super-editor/src/core/Schema.d.ts.map +1 -1
  83. package/dist/super-editor/super-editor/src/core/commands/__tests__/schemaWithLists.d.ts +1 -1
  84. package/dist/super-editor/super-editor/src/core/commands/changeListLevel.d.ts +15 -0
  85. package/dist/super-editor/super-editor/src/core/commands/changeListLevel.d.ts.map +1 -0
  86. package/dist/super-editor/super-editor/src/core/commands/decreaseListIndent.d.ts +1 -1
  87. package/dist/super-editor/super-editor/src/core/commands/decreaseListIndent.d.ts.map +1 -1
  88. package/dist/super-editor/super-editor/src/core/commands/increaseListIndent.d.ts +2 -1
  89. package/dist/super-editor/super-editor/src/core/commands/increaseListIndent.d.ts.map +1 -1
  90. package/dist/super-editor/super-editor/src/core/commands/index.d.ts +4 -7
  91. package/dist/super-editor/super-editor/src/core/commands/lineHeight.d.ts +7 -0
  92. package/dist/super-editor/super-editor/src/core/commands/lineHeight.d.ts.map +1 -0
  93. package/dist/super-editor/super-editor/src/core/commands/list-helpers/is-list.d.ts +1 -1
  94. package/dist/super-editor/super-editor/src/core/commands/list-helpers/is-list.d.ts.map +1 -1
  95. package/dist/super-editor/super-editor/src/core/commands/list-helpers/list-indent-helpers.d.ts +0 -1
  96. package/dist/super-editor/super-editor/src/core/commands/list-helpers/list-indent-helpers.d.ts.map +1 -1
  97. package/dist/super-editor/super-editor/src/core/commands/removeNumberingProperties.d.ts +4 -0
  98. package/dist/super-editor/super-editor/src/core/commands/removeNumberingProperties.d.ts.map +1 -0
  99. package/dist/super-editor/super-editor/src/core/commands/resetAttributes.d.ts.map +1 -1
  100. package/dist/super-editor/super-editor/src/core/commands/restartNumbering.d.ts +7 -0
  101. package/dist/super-editor/super-editor/src/core/commands/restartNumbering.d.ts.map +1 -0
  102. package/dist/super-editor/super-editor/src/core/commands/splitBlock.d.ts +2 -1
  103. package/dist/super-editor/super-editor/src/core/commands/splitBlock.d.ts.map +1 -1
  104. package/dist/super-editor/super-editor/src/core/commands/tests/test-schema.d.ts +1 -1
  105. package/dist/super-editor/super-editor/src/core/commands/textIndent.d.ts +5 -0
  106. package/dist/super-editor/super-editor/src/core/commands/textIndent.d.ts.map +1 -0
  107. package/dist/super-editor/super-editor/src/core/commands/toggleList.d.ts +6 -56
  108. package/dist/super-editor/super-editor/src/core/commands/toggleList.d.ts.map +1 -1
  109. package/dist/super-editor/super-editor/src/core/commands/types/index.d.ts +11 -89
  110. package/dist/super-editor/super-editor/src/core/commands/types/index.d.ts.map +1 -1
  111. package/dist/super-editor/super-editor/src/core/commands/updateAttributes.d.ts +4 -4
  112. package/dist/super-editor/super-editor/src/core/commands/updateAttributes.d.ts.map +1 -1
  113. package/dist/super-editor/super-editor/src/core/extensions/commands.d.ts +1 -1
  114. package/dist/super-editor/super-editor/src/core/extensions/commands.d.ts.map +1 -1
  115. package/dist/super-editor/super-editor/src/core/extensions/editable.d.ts +1 -1
  116. package/dist/super-editor/super-editor/src/core/extensions/editable.d.ts.map +1 -1
  117. package/dist/super-editor/super-editor/src/core/extensions/editorFocus.d.ts +1 -1
  118. package/dist/super-editor/super-editor/src/core/extensions/editorFocus.d.ts.map +1 -1
  119. package/dist/super-editor/super-editor/src/core/extensions/keymap.d.ts +1 -1
  120. package/dist/super-editor/super-editor/src/core/extensions/keymap.d.ts.map +1 -1
  121. package/dist/super-editor/super-editor/src/core/helpers/annotator.d.ts +3 -2
  122. package/dist/super-editor/super-editor/src/core/helpers/annotator.d.ts.map +1 -1
  123. package/dist/super-editor/super-editor/src/core/helpers/contentProcessor.d.ts +3 -3
  124. package/dist/super-editor/super-editor/src/core/helpers/createNodeFromContent.d.ts +2 -2
  125. package/dist/super-editor/super-editor/src/core/helpers/createNodeFromContent.d.ts.map +1 -1
  126. package/dist/super-editor/super-editor/src/core/helpers/getExtensionConfigField.d.ts +12 -5
  127. package/dist/super-editor/super-editor/src/core/helpers/getExtensionConfigField.d.ts.map +1 -1
  128. package/dist/super-editor/super-editor/src/core/helpers/importHtml.d.ts +2 -2
  129. package/dist/super-editor/super-editor/src/core/helpers/importHtml.d.ts.map +1 -1
  130. package/dist/super-editor/super-editor/src/core/helpers/importMarkdown.d.ts +2 -2
  131. package/dist/super-editor/super-editor/src/core/helpers/isList.d.ts +1 -1
  132. package/dist/super-editor/super-editor/src/core/helpers/isList.d.ts.map +1 -1
  133. package/dist/super-editor/super-editor/src/core/helpers/list-numbering-helpers.d.ts +15 -42
  134. package/dist/super-editor/super-editor/src/core/helpers/list-numbering-helpers.d.ts.map +1 -1
  135. package/dist/super-editor/super-editor/src/core/helpers/orderedListUtils.d.ts.map +1 -1
  136. package/dist/super-editor/super-editor/src/core/helpers/pasteListHelpers.d.ts +2 -0
  137. package/dist/super-editor/super-editor/src/core/helpers/pasteListHelpers.d.ts.map +1 -1
  138. package/dist/super-editor/super-editor/src/core/index.d.ts +18 -13
  139. package/dist/super-editor/super-editor/src/core/index.d.ts.map +1 -1
  140. package/dist/super-editor/super-editor/src/core/inputRules/docx-paste/docx-paste.d.ts.map +1 -1
  141. package/dist/super-editor/super-editor/src/core/inputRules/html/html-helpers.d.ts +2 -5
  142. package/dist/super-editor/super-editor/src/core/inputRules/html/html-helpers.d.ts.map +1 -1
  143. package/dist/super-editor/super-editor/src/core/schema-summary.d.ts +4 -0
  144. package/dist/super-editor/super-editor/src/core/schema-summary.d.ts.map +1 -0
  145. package/dist/super-editor/super-editor/src/core/super-converter/SuperConverter.d.ts.map +1 -1
  146. package/dist/super-editor/super-editor/src/core/super-converter/exporter.d.ts +0 -48
  147. package/dist/super-editor/super-editor/src/core/super-converter/exporter.d.ts.map +1 -1
  148. package/dist/super-editor/super-editor/src/core/super-converter/helpers.d.ts +9 -0
  149. package/dist/super-editor/super-editor/src/core/super-converter/helpers.d.ts.map +1 -1
  150. package/dist/super-editor/super-editor/src/core/super-converter/styles.d.ts +72 -0
  151. package/dist/super-editor/super-editor/src/core/super-converter/styles.d.ts.map +1 -0
  152. package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/autoPageNumberImporter.d.ts.map +1 -1
  153. package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/docxImporter.d.ts +3 -1
  154. package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/docxImporter.d.ts.map +1 -1
  155. package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/listImporter.d.ts +0 -97
  156. package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/listImporter.d.ts.map +1 -1
  157. package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/markImporter.d.ts +12 -1
  158. package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/markImporter.d.ts.map +1 -1
  159. package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/trackChangesImporter.d.ts.map +1 -1
  160. package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/types/index.d.ts +4 -0
  161. package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/types/index.d.ts.map +1 -1
  162. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/index.d.ts.map +1 -1
  163. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/sd/autoPageNumber/autoPageNumber-translator.d.ts +8 -0
  164. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/sd/autoPageNumber/autoPageNumber-translator.d.ts.map +1 -0
  165. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/sd/autoPageNumber/index.d.ts +2 -0
  166. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/sd/autoPageNumber/index.d.ts.map +1 -0
  167. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/sd/totalPageNumber/index.d.ts +2 -0
  168. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/sd/totalPageNumber/index.d.ts.map +1 -0
  169. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/sd/totalPageNumber/totalPageNumber-translator.d.ts +8 -0
  170. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/sd/totalPageNumber/totalPageNumber-translator.d.ts.map +1 -0
  171. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/utils.d.ts +30 -4
  172. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/utils.d.ts.map +1 -1
  173. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/adjustRightInd/adjustRightInd-translator.d.ts +7 -0
  174. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/adjustRightInd/adjustRightInd-translator.d.ts.map +1 -0
  175. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/adjustRightInd/index.d.ts +2 -0
  176. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/adjustRightInd/index.d.ts.map +1 -0
  177. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/autoSpaceDE/autoSpaceDE-translator.d.ts +7 -0
  178. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/autoSpaceDE/autoSpaceDE-translator.d.ts.map +1 -0
  179. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/autoSpaceDE/index.d.ts +2 -0
  180. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/autoSpaceDE/index.d.ts.map +1 -0
  181. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/autoSpaceDN/autoSpaceDN-translator.d.ts +7 -0
  182. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/autoSpaceDN/autoSpaceDN-translator.d.ts.map +1 -0
  183. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/autoSpaceDN/index.d.ts +2 -0
  184. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/autoSpaceDN/index.d.ts.map +1 -0
  185. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/b/b-translator.d.ts +1 -2
  186. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/b/b-translator.d.ts.map +1 -1
  187. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bCs/bCs-translator.d.ts +7 -0
  188. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bCs/bCs-translator.d.ts.map +1 -0
  189. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bCs/index.d.ts +2 -0
  190. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bCs/index.d.ts.map +1 -0
  191. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bar/bar-translator.d.ts +7 -0
  192. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bar/bar-translator.d.ts.map +1 -0
  193. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bar/index.d.ts +2 -0
  194. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bar/index.d.ts.map +1 -0
  195. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/between/between-translator.d.ts +7 -0
  196. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/between/between-translator.d.ts.map +1 -0
  197. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/between/index.d.ts +2 -0
  198. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/between/index.d.ts.map +1 -0
  199. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bidi/bidi-translator.d.ts +7 -0
  200. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bidi/bidi-translator.d.ts.map +1 -0
  201. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bidi/index.d.ts +2 -0
  202. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bidi/index.d.ts.map +1 -0
  203. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/caps/caps-translator.d.ts +1 -2
  204. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/caps/caps-translator.d.ts.map +1 -1
  205. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/color-translator.d.ts +1 -2
  206. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/color-translator.d.ts.map +1 -1
  207. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/contextualSpacing/contextualSpacing-translator.d.ts +7 -0
  208. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/contextualSpacing/contextualSpacing-translator.d.ts.map +1 -0
  209. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/contextualSpacing/index.d.ts +2 -0
  210. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/contextualSpacing/index.d.ts.map +1 -0
  211. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/del/del-translator.d.ts.map +1 -1
  212. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/dstrike/dstrike-translator.d.ts +7 -0
  213. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/dstrike/dstrike-translator.d.ts.map +1 -0
  214. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/framePr/framePr-translator.d.ts +7 -0
  215. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/framePr/framePr-translator.d.ts.map +1 -0
  216. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/framePr/index.d.ts +2 -0
  217. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/framePr/index.d.ts.map +1 -0
  218. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/headers/headers-translator.d.ts +0 -2
  219. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/headers/headers-translator.d.ts.map +1 -1
  220. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/i/i-translator.d.ts +1 -2
  221. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/i/i-translator.d.ts.map +1 -1
  222. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/ilvl/ilvl-translator.d.ts +7 -0
  223. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/ilvl/ilvl-translator.d.ts.map +1 -0
  224. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/ilvl/index.d.ts +2 -0
  225. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/ilvl/index.d.ts.map +1 -0
  226. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/ind/ind-translator.d.ts +7 -0
  227. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/ind/ind-translator.d.ts.map +1 -0
  228. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/ind/index.d.ts +2 -0
  229. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/ind/index.d.ts.map +1 -0
  230. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/ins/ins-translator.d.ts.map +1 -1
  231. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/keepLines/index.d.ts +2 -0
  232. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/keepLines/index.d.ts.map +1 -0
  233. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/keepLines/keepLines-translator.d.ts +7 -0
  234. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/keepLines/keepLines-translator.d.ts.map +1 -0
  235. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/keepNext/index.d.ts +2 -0
  236. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/keepNext/index.d.ts.map +1 -0
  237. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/keepNext/keepNext-translator.d.ts +7 -0
  238. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/keepNext/keepNext-translator.d.ts.map +1 -0
  239. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/kinsoku/index.d.ts +2 -0
  240. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/kinsoku/index.d.ts.map +1 -0
  241. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/kinsoku/kinsoku-translator.d.ts +7 -0
  242. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/kinsoku/kinsoku-translator.d.ts.map +1 -0
  243. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/lang/index.d.ts +2 -0
  244. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/lang/index.d.ts.map +1 -0
  245. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/lang/lang-translator.d.ts +7 -0
  246. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/lang/lang-translator.d.ts.map +1 -0
  247. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/mirrorIndents/index.d.ts +2 -0
  248. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/mirrorIndents/index.d.ts.map +1 -0
  249. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/mirrorIndents/mirrorIndents-translator.d.ts +7 -0
  250. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/mirrorIndents/mirrorIndents-translator.d.ts.map +1 -0
  251. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/numId/index.d.ts +2 -0
  252. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/numId/index.d.ts.map +1 -0
  253. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/numId/numId-translator.d.ts +7 -0
  254. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/numId/numId-translator.d.ts.map +1 -0
  255. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/numPr/index.d.ts +2 -0
  256. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/numPr/index.d.ts.map +1 -0
  257. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/numPr/numPr-translator.d.ts +6 -0
  258. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/numPr/numPr-translator.d.ts.map +1 -0
  259. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/outlineLvl/index.d.ts +2 -0
  260. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/outlineLvl/index.d.ts.map +1 -0
  261. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/outlineLvl/outlineLvl-translator.d.ts +7 -0
  262. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/outlineLvl/outlineLvl-translator.d.ts.map +1 -0
  263. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/overflowPunct/index.d.ts +2 -0
  264. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/overflowPunct/index.d.ts.map +1 -0
  265. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/overflowPunct/overflowPunct-translator.d.ts +7 -0
  266. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/overflowPunct/overflowPunct-translator.d.ts.map +1 -0
  267. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/generate-paragraph-properties.d.ts +8 -0
  268. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/generate-paragraph-properties.d.ts.map +1 -0
  269. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/index.d.ts +0 -1
  270. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/legacy-handle-paragraph-node.d.ts.map +1 -1
  271. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/translate-paragraph-node.d.ts +8 -0
  272. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/translate-paragraph-node.d.ts.map +1 -0
  273. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pBdr/index.d.ts +2 -0
  274. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pBdr/index.d.ts.map +1 -0
  275. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pBdr/pBdr-translator.d.ts +6 -0
  276. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pBdr/pBdr-translator.d.ts.map +1 -0
  277. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pPr/index.d.ts +2 -0
  278. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pPr/index.d.ts.map +1 -0
  279. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pPr/pPr-translator.d.ts +6 -0
  280. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pPr/pPr-translator.d.ts.map +1 -0
  281. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pStyle/index.d.ts +2 -0
  282. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pStyle/index.d.ts.map +1 -0
  283. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pStyle/pStyle-translator.d.ts +7 -0
  284. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pStyle/pStyle-translator.d.ts.map +1 -0
  285. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pageBreakBefore/index.d.ts +2 -0
  286. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pageBreakBefore/index.d.ts.map +1 -0
  287. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pageBreakBefore/pageBreakBefore-translator.d.ts +7 -0
  288. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pageBreakBefore/pageBreakBefore-translator.d.ts.map +1 -0
  289. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pict/helpers/handle-v-rect-import.d.ts +1 -1
  290. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pict/helpers/handle-v-rect-import.d.ts.map +1 -1
  291. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/r/helpers/helpers.d.ts +1 -37
  292. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/r/helpers/helpers.d.ts.map +1 -1
  293. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/r/helpers/index.d.ts +0 -1
  294. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/r/r-translator.d.ts.map +1 -1
  295. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/rFonts-translator.d.ts +1 -0
  296. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/rFonts-translator.d.ts.map +1 -1
  297. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rStyle/rstyle-translator.d.ts +1 -2
  298. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rStyle/rstyle-translator.d.ts.map +1 -1
  299. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rpr/rpr-translator.d.ts +2 -0
  300. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rpr/rpr-translator.d.ts.map +1 -1
  301. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sdt/helpers/convert-sdt-content-to-runs.d.ts +7 -0
  302. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sdt/helpers/convert-sdt-content-to-runs.d.ts.map +1 -0
  303. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sdt/helpers/translate-field-annotation.d.ts.map +1 -1
  304. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/snapToGrid/index.d.ts +2 -0
  305. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/snapToGrid/index.d.ts.map +1 -0
  306. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/snapToGrid/snapToGrid-translator.d.ts +7 -0
  307. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/snapToGrid/snapToGrid-translator.d.ts.map +1 -0
  308. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/spacing/index.d.ts +2 -0
  309. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/spacing/index.d.ts.map +1 -0
  310. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/spacing/letter-spacing-translator.d.ts +7 -0
  311. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/spacing/letter-spacing-translator.d.ts.map +1 -0
  312. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/spacing/spacing-translator.d.ts +7 -0
  313. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/spacing/spacing-translator.d.ts.map +1 -0
  314. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/strike/strike-translator.d.ts +1 -2
  315. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/strike/strike-translator.d.ts.map +1 -1
  316. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressAutoHyphens/index.d.ts +2 -0
  317. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressAutoHyphens/index.d.ts.map +1 -0
  318. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressAutoHyphens/suppressAutoHyphens-translator.d.ts +7 -0
  319. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressAutoHyphens/suppressAutoHyphens-translator.d.ts.map +1 -0
  320. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressLineNumbers/index.d.ts +2 -0
  321. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressLineNumbers/index.d.ts.map +1 -0
  322. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressLineNumbers/suppressLineNumbers-translator.d.ts +7 -0
  323. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressLineNumbers/suppressLineNumbers-translator.d.ts.map +1 -0
  324. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressOverlap/index.d.ts +2 -0
  325. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressOverlap/index.d.ts.map +1 -0
  326. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressOverlap/suppressOverlap-translator.d.ts +7 -0
  327. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressOverlap/suppressOverlap-translator.d.ts.map +1 -0
  328. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sz/sz-translator.d.ts +5 -3
  329. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sz/sz-translator.d.ts.map +1 -1
  330. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/szcs/szcs-translator.d.ts +5 -3
  331. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/szcs/szcs-translator.d.ts.map +1 -1
  332. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/t/helpers/translate-text-node.d.ts +5 -0
  333. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/t/helpers/translate-text-node.d.ts.map +1 -0
  334. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tab/attributes/w-tab-pos.d.ts +1 -1
  335. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tab/attributes/w-tab-pos.d.ts.map +1 -1
  336. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tab/attributes/{w-tab-size.d.ts → w-tab-type.d.ts} +1 -1
  337. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tab/attributes/w-tab-type.d.ts.map +1 -0
  338. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tab/tab-translator.d.ts.map +1 -1
  339. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tabs/index.d.ts +2 -0
  340. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tabs/index.d.ts.map +1 -0
  341. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tabs/tabs-translator.d.ts +6 -0
  342. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tabs/tabs-translator.d.ts.map +1 -0
  343. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tbl/tbl-translator.d.ts +14 -10
  344. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tbl/tbl-translator.d.ts.map +1 -1
  345. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tblGrid/tblGrid-translator.d.ts.map +1 -1
  346. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/textAlignment/index.d.ts +2 -0
  347. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/textAlignment/index.d.ts.map +1 -0
  348. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/textAlignment/textAlignment-translator.d.ts +7 -0
  349. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/textAlignment/textAlignment-translator.d.ts.map +1 -0
  350. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/textboxTightWrap/index.d.ts +2 -0
  351. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/textboxTightWrap/index.d.ts.map +1 -0
  352. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/textboxTightWrap/textboxTightWrap-translator.d.ts +7 -0
  353. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/textboxTightWrap/textboxTightWrap-translator.d.ts.map +1 -0
  354. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/topLinePunct/index.d.ts +2 -0
  355. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/topLinePunct/index.d.ts.map +1 -0
  356. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/topLinePunct/topLinePunct-translator.d.ts +7 -0
  357. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/topLinePunct/topLinePunct-translator.d.ts.map +1 -0
  358. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tr/tr-translator.d.ts.map +1 -1
  359. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/widowControl/index.d.ts +2 -0
  360. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/widowControl/index.d.ts.map +1 -0
  361. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/widowControl/widowControl-translator.d.ts +7 -0
  362. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/widowControl/widowControl-translator.d.ts.map +1 -0
  363. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/wordWrap/index.d.ts +2 -0
  364. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/wordWrap/index.d.ts.map +1 -0
  365. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/wordWrap/wordWrap-translator.d.ts +7 -0
  366. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/wordWrap/wordWrap-translator.d.ts.map +1 -0
  367. package/dist/super-editor/super-editor/src/core/types/ChainedCommands.d.ts +118 -0
  368. package/dist/super-editor/super-editor/src/core/types/ChainedCommands.d.ts.map +1 -0
  369. package/dist/super-editor/super-editor/src/core/types/EditorConfig.d.ts +265 -0
  370. package/dist/super-editor/super-editor/src/core/types/EditorConfig.d.ts.map +1 -0
  371. package/dist/super-editor/super-editor/src/core/types/EditorEvents.d.ts +144 -0
  372. package/dist/super-editor/super-editor/src/core/types/EditorEvents.d.ts.map +1 -0
  373. package/dist/super-editor/super-editor/src/core/types/EditorSchema.d.ts +35 -0
  374. package/dist/super-editor/super-editor/src/core/types/EditorSchema.d.ts.map +1 -0
  375. package/dist/super-editor/super-editor/src/core/types/EditorTypes.d.ts +73 -0
  376. package/dist/super-editor/super-editor/src/core/types/EditorTypes.d.ts.map +1 -0
  377. package/dist/super-editor/super-editor/src/core/types/__tests__/command-types.d.ts +2 -0
  378. package/dist/super-editor/super-editor/src/core/types/__tests__/command-types.d.ts.map +1 -0
  379. package/dist/super-editor/super-editor/src/core/utilities/callOrGet.d.ts +6 -2
  380. package/dist/super-editor/super-editor/src/core/utilities/callOrGet.d.ts.map +1 -1
  381. package/dist/super-editor/super-editor/src/core/utilities/deleteProps.d.ts.map +1 -1
  382. package/dist/super-editor/super-editor/src/core/utilities/isIOS.d.ts.map +1 -1
  383. package/dist/super-editor/super-editor/src/extensions/ai/ai-marks.d.ts +8 -2
  384. package/dist/super-editor/super-editor/src/extensions/ai/ai-marks.d.ts.map +1 -1
  385. package/dist/super-editor/super-editor/src/extensions/ai/ai-nodes.d.ts +7 -1
  386. package/dist/super-editor/super-editor/src/extensions/ai/ai-nodes.d.ts.map +1 -1
  387. package/dist/super-editor/super-editor/src/extensions/ai/ai-plugin.d.ts +1 -1
  388. package/dist/super-editor/super-editor/src/extensions/ai/ai-plugin.d.ts.map +1 -1
  389. package/dist/super-editor/super-editor/src/extensions/block-node/block-node.d.ts +1 -1
  390. package/dist/super-editor/super-editor/src/extensions/block-node/block-node.d.ts.map +1 -1
  391. package/dist/super-editor/super-editor/src/extensions/bold/bold.d.ts +3 -1
  392. package/dist/super-editor/super-editor/src/extensions/bold/bold.d.ts.map +1 -1
  393. package/dist/super-editor/super-editor/src/extensions/bookmarks/bookmark-end.d.ts +1 -1
  394. package/dist/super-editor/super-editor/src/extensions/bookmarks/bookmark-end.d.ts.map +1 -1
  395. package/dist/super-editor/super-editor/src/extensions/bookmarks/bookmark-start.d.ts +1 -1
  396. package/dist/super-editor/super-editor/src/extensions/bookmarks/bookmark-start.d.ts.map +1 -1
  397. package/dist/super-editor/super-editor/src/extensions/collaboration/collaboration-helpers.d.ts.map +1 -1
  398. package/dist/super-editor/super-editor/src/extensions/collaboration/collaboration.d.ts +6 -1
  399. package/dist/super-editor/super-editor/src/extensions/collaboration/collaboration.d.ts.map +1 -1
  400. package/dist/super-editor/super-editor/src/extensions/collaboration-cursor/collaboration-cursor.d.ts +9 -1
  401. package/dist/super-editor/super-editor/src/extensions/collaboration-cursor/collaboration-cursor.d.ts.map +1 -1
  402. package/dist/super-editor/super-editor/src/extensions/color/color.d.ts +3 -1
  403. package/dist/super-editor/super-editor/src/extensions/color/color.d.ts.map +1 -1
  404. package/dist/super-editor/super-editor/src/extensions/comment/comment.d.ts +18 -3
  405. package/dist/super-editor/super-editor/src/extensions/comment/comment.d.ts.map +1 -1
  406. package/dist/super-editor/super-editor/src/extensions/comment/comments-marks.d.ts +5 -1
  407. package/dist/super-editor/super-editor/src/extensions/comment/comments-marks.d.ts.map +1 -1
  408. package/dist/super-editor/super-editor/src/extensions/comment/comments-plugin.d.ts +1 -1
  409. package/dist/super-editor/super-editor/src/extensions/comment/comments-plugin.d.ts.map +1 -1
  410. package/dist/super-editor/super-editor/src/extensions/content-block/content-block.d.ts +1 -1
  411. package/dist/super-editor/super-editor/src/extensions/content-block/content-block.d.ts.map +1 -1
  412. package/dist/super-editor/super-editor/src/extensions/custom-selection/custom-selection.d.ts +1 -1
  413. package/dist/super-editor/super-editor/src/extensions/custom-selection/custom-selection.d.ts.map +1 -1
  414. package/dist/super-editor/super-editor/src/extensions/document/document.d.ts +1 -1
  415. package/dist/super-editor/super-editor/src/extensions/document/document.d.ts.map +1 -1
  416. package/dist/super-editor/super-editor/src/extensions/dropcursor/dropcursor.d.ts +5 -1
  417. package/dist/super-editor/super-editor/src/extensions/dropcursor/dropcursor.d.ts.map +1 -1
  418. package/dist/super-editor/super-editor/src/extensions/field-annotation/cleanup-commands/cleanUpListsWithAnnotations.d.ts.map +1 -1
  419. package/dist/super-editor/super-editor/src/extensions/field-annotation/cleanup-commands/index.d.ts.map +1 -1
  420. package/dist/super-editor/super-editor/src/extensions/field-annotation/field-annotation.d.ts +1 -1
  421. package/dist/super-editor/super-editor/src/extensions/field-annotation/field-annotation.d.ts.map +1 -1
  422. package/dist/super-editor/super-editor/src/extensions/font-family/font-family.d.ts +3 -1
  423. package/dist/super-editor/super-editor/src/extensions/font-family/font-family.d.ts.map +1 -1
  424. package/dist/super-editor/super-editor/src/extensions/font-size/font-size.d.ts +9 -1
  425. package/dist/super-editor/super-editor/src/extensions/font-size/font-size.d.ts.map +1 -1
  426. package/dist/super-editor/super-editor/src/extensions/format-commands/format-commands.d.ts +7 -1
  427. package/dist/super-editor/super-editor/src/extensions/format-commands/format-commands.d.ts.map +1 -1
  428. package/dist/super-editor/super-editor/src/extensions/gapcursor/gapcursor.d.ts +1 -1
  429. package/dist/super-editor/super-editor/src/extensions/gapcursor/gapcursor.d.ts.map +1 -1
  430. package/dist/super-editor/super-editor/src/extensions/heading/heading.d.ts +3 -1
  431. package/dist/super-editor/super-editor/src/extensions/heading/heading.d.ts.map +1 -1
  432. package/dist/super-editor/super-editor/src/extensions/highlight/highlight.d.ts +3 -1
  433. package/dist/super-editor/super-editor/src/extensions/highlight/highlight.d.ts.map +1 -1
  434. package/dist/super-editor/super-editor/src/extensions/history/history.d.ts +4 -1
  435. package/dist/super-editor/super-editor/src/extensions/history/history.d.ts.map +1 -1
  436. package/dist/super-editor/super-editor/src/extensions/image/image.d.ts +1 -1
  437. package/dist/super-editor/super-editor/src/extensions/image/image.d.ts.map +1 -1
  438. package/dist/super-editor/super-editor/src/extensions/index.d.ts +23 -8
  439. package/dist/super-editor/super-editor/src/extensions/index.d.ts.map +1 -1
  440. package/dist/super-editor/super-editor/src/extensions/italic/italic.d.ts +3 -1
  441. package/dist/super-editor/super-editor/src/extensions/italic/italic.d.ts.map +1 -1
  442. package/dist/super-editor/super-editor/src/extensions/line-break/line-break.d.ts +2 -2
  443. package/dist/super-editor/super-editor/src/extensions/line-break/line-break.d.ts.map +1 -1
  444. package/dist/super-editor/super-editor/src/extensions/link/link.d.ts +9 -1
  445. package/dist/super-editor/super-editor/src/extensions/link/link.d.ts.map +1 -1
  446. package/dist/super-editor/super-editor/src/extensions/linked-styles/helpers.d.ts +2 -1
  447. package/dist/super-editor/super-editor/src/extensions/linked-styles/helpers.d.ts.map +1 -1
  448. package/dist/super-editor/super-editor/src/extensions/linked-styles/linked-styles.d.ts +1 -1
  449. package/dist/super-editor/super-editor/src/extensions/linked-styles/linked-styles.d.ts.map +1 -1
  450. package/dist/super-editor/super-editor/src/extensions/linked-styles/plugin.d.ts.map +1 -1
  451. package/dist/super-editor/super-editor/src/extensions/mention/mention.d.ts +6 -1
  452. package/dist/super-editor/super-editor/src/extensions/mention/mention.d.ts.map +1 -1
  453. package/dist/super-editor/super-editor/src/extensions/noderesizer/noderesizer.d.ts +1 -1
  454. package/dist/super-editor/super-editor/src/extensions/noderesizer/noderesizer.d.ts.map +1 -1
  455. package/dist/super-editor/super-editor/src/extensions/page-number/page-number.d.ts +2 -2
  456. package/dist/super-editor/super-editor/src/extensions/page-number/page-number.d.ts.map +1 -1
  457. package/dist/super-editor/super-editor/src/extensions/page-reference/page-reference.d.ts +8 -1
  458. package/dist/super-editor/super-editor/src/extensions/page-reference/page-reference.d.ts.map +1 -1
  459. package/dist/super-editor/super-editor/src/extensions/pagination/pagination.d.ts +5 -1
  460. package/dist/super-editor/super-editor/src/extensions/pagination/pagination.d.ts.map +1 -1
  461. package/dist/super-editor/super-editor/src/extensions/paragraph/NumberingManager.d.ts +30 -0
  462. package/dist/super-editor/super-editor/src/extensions/paragraph/NumberingManager.d.ts.map +1 -0
  463. package/dist/super-editor/super-editor/src/extensions/paragraph/ParagraphNodeView.d.ts +37 -0
  464. package/dist/super-editor/super-editor/src/extensions/paragraph/ParagraphNodeView.d.ts.map +1 -0
  465. package/dist/super-editor/super-editor/src/extensions/paragraph/dropcapPlugin.d.ts +4 -0
  466. package/dist/super-editor/super-editor/src/extensions/paragraph/dropcapPlugin.d.ts.map +1 -0
  467. package/dist/super-editor/super-editor/src/extensions/paragraph/helpers/getDefaultSpacing.d.ts +4 -4
  468. package/dist/super-editor/super-editor/src/extensions/paragraph/numberingPlugin.d.ts +9 -0
  469. package/dist/super-editor/super-editor/src/extensions/paragraph/numberingPlugin.d.ts.map +1 -0
  470. package/dist/super-editor/super-editor/src/extensions/paragraph/paragraph.d.ts +1 -10
  471. package/dist/super-editor/super-editor/src/extensions/paragraph/paragraph.d.ts.map +1 -1
  472. package/dist/super-editor/super-editor/src/extensions/paragraph/resolvedPropertiesCache.d.ts +3 -0
  473. package/dist/super-editor/super-editor/src/extensions/paragraph/resolvedPropertiesCache.d.ts.map +1 -0
  474. package/dist/super-editor/super-editor/src/extensions/placeholder/placeholder.d.ts +3 -1
  475. package/dist/super-editor/super-editor/src/extensions/placeholder/placeholder.d.ts.map +1 -1
  476. package/dist/super-editor/super-editor/src/extensions/popover-plugin/popover-plugin.d.ts +1 -1
  477. package/dist/super-editor/super-editor/src/extensions/popover-plugin/popover-plugin.d.ts.map +1 -1
  478. package/dist/super-editor/super-editor/src/extensions/run/commands/split-run.d.ts +1 -0
  479. package/dist/super-editor/super-editor/src/extensions/run/commands/split-run.d.ts.map +1 -1
  480. package/dist/super-editor/super-editor/src/extensions/run/run.d.ts +1 -1
  481. package/dist/super-editor/super-editor/src/extensions/run/run.d.ts.map +1 -1
  482. package/dist/super-editor/super-editor/src/extensions/search/search.d.ts +1 -1
  483. package/dist/super-editor/super-editor/src/extensions/search/search.d.ts.map +1 -1
  484. package/dist/super-editor/super-editor/src/extensions/shape-container/shape-container.d.ts +6 -1
  485. package/dist/super-editor/super-editor/src/extensions/shape-container/shape-container.d.ts.map +1 -1
  486. package/dist/super-editor/super-editor/src/extensions/shape-group/shape-group.d.ts +1 -1
  487. package/dist/super-editor/super-editor/src/extensions/shape-group/shape-group.d.ts.map +1 -1
  488. package/dist/super-editor/super-editor/src/extensions/shape-textbox/shape-textbox.d.ts +6 -1
  489. package/dist/super-editor/super-editor/src/extensions/shape-textbox/shape-textbox.d.ts.map +1 -1
  490. package/dist/super-editor/super-editor/src/extensions/slash-menu/slash-menu.d.ts +1 -1
  491. package/dist/super-editor/super-editor/src/extensions/slash-menu/slash-menu.d.ts.map +1 -1
  492. package/dist/super-editor/super-editor/src/extensions/strike/strike.d.ts +3 -1
  493. package/dist/super-editor/super-editor/src/extensions/strike/strike.d.ts.map +1 -1
  494. package/dist/super-editor/super-editor/src/extensions/structured-content/document-part-object.d.ts +6 -1
  495. package/dist/super-editor/super-editor/src/extensions/structured-content/document-part-object.d.ts.map +1 -1
  496. package/dist/super-editor/super-editor/src/extensions/structured-content/document-section.d.ts +1 -1
  497. package/dist/super-editor/super-editor/src/extensions/structured-content/document-section.d.ts.map +1 -1
  498. package/dist/super-editor/super-editor/src/extensions/structured-content/structured-content-block.d.ts +6 -1
  499. package/dist/super-editor/super-editor/src/extensions/structured-content/structured-content-block.d.ts.map +1 -1
  500. package/dist/super-editor/super-editor/src/extensions/structured-content/structured-content-commands.d.ts +1 -1
  501. package/dist/super-editor/super-editor/src/extensions/structured-content/structured-content-commands.d.ts.map +1 -1
  502. package/dist/super-editor/super-editor/src/extensions/structured-content/structured-content.d.ts +6 -1
  503. package/dist/super-editor/super-editor/src/extensions/structured-content/structured-content.d.ts.map +1 -1
  504. package/dist/super-editor/super-editor/src/extensions/tab/helpers/tabDecorations.d.ts +14 -2
  505. package/dist/super-editor/super-editor/src/extensions/tab/helpers/tabDecorations.d.ts.map +1 -1
  506. package/dist/super-editor/super-editor/src/extensions/tab/tab.d.ts +6 -1
  507. package/dist/super-editor/super-editor/src/extensions/tab/tab.d.ts.map +1 -1
  508. package/dist/super-editor/super-editor/src/extensions/table/TableView.d.ts +7 -1
  509. package/dist/super-editor/super-editor/src/extensions/table/TableView.d.ts.map +1 -1
  510. package/dist/super-editor/super-editor/src/extensions/table/table.d.ts +19 -1
  511. package/dist/super-editor/super-editor/src/extensions/table/table.d.ts.map +1 -1
  512. package/dist/super-editor/super-editor/src/extensions/table-cell/table-cell.d.ts +5 -1
  513. package/dist/super-editor/super-editor/src/extensions/table-cell/table-cell.d.ts.map +1 -1
  514. package/dist/super-editor/super-editor/src/extensions/table-header/table-header.d.ts +5 -1
  515. package/dist/super-editor/super-editor/src/extensions/table-header/table-header.d.ts.map +1 -1
  516. package/dist/super-editor/super-editor/src/extensions/table-of-contents/table-of-contents.d.ts +6 -1
  517. package/dist/super-editor/super-editor/src/extensions/table-of-contents/table-of-contents.d.ts.map +1 -1
  518. package/dist/super-editor/super-editor/src/extensions/table-row/table-row.d.ts +5 -1
  519. package/dist/super-editor/super-editor/src/extensions/table-row/table-row.d.ts.map +1 -1
  520. package/dist/super-editor/super-editor/src/extensions/text/text.d.ts +1 -1
  521. package/dist/super-editor/super-editor/src/extensions/text/text.d.ts.map +1 -1
  522. package/dist/super-editor/super-editor/src/extensions/text-align/text-align.d.ts +3 -12
  523. package/dist/super-editor/super-editor/src/extensions/text-align/text-align.d.ts.map +1 -1
  524. package/dist/super-editor/super-editor/src/extensions/text-style/text-style.d.ts +3 -1
  525. package/dist/super-editor/super-editor/src/extensions/text-style/text-style.d.ts.map +1 -1
  526. package/dist/super-editor/super-editor/src/extensions/text-transform/text-transform.d.ts +3 -1
  527. package/dist/super-editor/super-editor/src/extensions/text-transform/text-transform.d.ts.map +1 -1
  528. package/dist/super-editor/super-editor/src/extensions/track-changes/permission-helpers.d.ts +140 -52
  529. package/dist/super-editor/super-editor/src/extensions/track-changes/permission-helpers.d.ts.map +1 -1
  530. package/dist/super-editor/super-editor/src/extensions/track-changes/track-changes.d.ts +1 -1
  531. package/dist/super-editor/super-editor/src/extensions/track-changes/track-changes.d.ts.map +1 -1
  532. package/dist/super-editor/super-editor/src/extensions/track-changes/track-delete.d.ts +5 -1
  533. package/dist/super-editor/super-editor/src/extensions/track-changes/track-delete.d.ts.map +1 -1
  534. package/dist/super-editor/super-editor/src/extensions/track-changes/track-format.d.ts +5 -1
  535. package/dist/super-editor/super-editor/src/extensions/track-changes/track-format.d.ts.map +1 -1
  536. package/dist/super-editor/super-editor/src/extensions/track-changes/track-insert.d.ts +5 -1
  537. package/dist/super-editor/super-editor/src/extensions/track-changes/track-insert.d.ts.map +1 -1
  538. package/dist/super-editor/super-editor/src/extensions/track-changes/trackChangesHelpers/trackedTransaction.d.ts +5 -1
  539. package/dist/super-editor/super-editor/src/extensions/track-changes/trackChangesHelpers/trackedTransaction.d.ts.map +1 -1
  540. package/dist/super-editor/super-editor/src/extensions/types/formatting-commands.d.ts +40 -0
  541. package/dist/super-editor/super-editor/src/extensions/types/formatting-commands.d.ts.map +1 -0
  542. package/dist/super-editor/super-editor/src/extensions/types/history-link-table-commands.d.ts +57 -0
  543. package/dist/super-editor/super-editor/src/extensions/types/history-link-table-commands.d.ts.map +1 -0
  544. package/dist/super-editor/super-editor/src/extensions/types/specialized-commands.d.ts +83 -0
  545. package/dist/super-editor/super-editor/src/extensions/types/specialized-commands.d.ts.map +1 -0
  546. package/dist/super-editor/super-editor/src/extensions/underline/underline.d.ts +3 -1
  547. package/dist/super-editor/super-editor/src/extensions/underline/underline.d.ts.map +1 -1
  548. package/dist/super-editor/super-editor/src/extensions/vector-shape/vector-shape.d.ts +1 -1
  549. package/dist/super-editor/super-editor/src/extensions/vector-shape/vector-shape.d.ts.map +1 -1
  550. package/dist/super-editor/super-editor/src/tests/data/annotations_doc_content.d.ts +113 -61
  551. package/dist/super-editor/super-editor/src/tests/export/export-helpers/export-helpers.d.ts +1 -1
  552. package/dist/super-editor/super-editor/src/tests/export/export-helpers/export-helpers.d.ts.map +1 -1
  553. package/dist/super-editor/super-editor.es.js +127 -110
  554. package/dist/super-editor/toolbar.es.js +2 -2
  555. package/dist/super-editor.cjs +2 -2
  556. package/dist/super-editor.es.js +2 -2
  557. package/dist/superdoc.cjs +2 -2
  558. package/dist/superdoc.es.js +2 -2
  559. package/dist/superdoc.umd.js +46482 -48006
  560. package/dist/superdoc.umd.js.map +1 -1
  561. package/package.json +1 -1
  562. package/dist/chunks/xml-js-BSDu25I7.cjs +0 -3
  563. package/dist/chunks/xml-js-CBrRls0f.es.js +0 -2
  564. package/dist/shared/common/Telemetry.d.ts +0 -237
  565. package/dist/shared/common/Telemetry.d.ts.map +0 -1
  566. package/dist/shared/common/collaboration/awareness.d.ts +0 -39
  567. package/dist/shared/common/collaboration/awareness.d.ts.map +0 -1
  568. package/dist/shared/common/document-types.d.ts +0 -10
  569. package/dist/shared/common/document-types.d.ts.map +0 -1
  570. package/dist/shared/common/event-types.d.ts +0 -14
  571. package/dist/shared/common/event-types.d.ts.map +0 -1
  572. package/dist/shared/common/helpers/compare-superdoc-versions.d.ts +0 -8
  573. package/dist/shared/common/helpers/compare-superdoc-versions.d.ts.map +0 -1
  574. package/dist/shared/common/helpers/get-file-object.d.ts +0 -50
  575. package/dist/shared/common/helpers/get-file-object.d.ts.map +0 -1
  576. package/dist/shared/common/helpers/v-click-outside.d.ts +0 -11
  577. package/dist/shared/common/helpers/v-click-outside.d.ts.map +0 -1
  578. package/dist/shared/common/index.d.ts +0 -10
  579. package/dist/shared/common/index.d.ts.map +0 -1
  580. package/dist/shared/common/key-transform.d.ts +0 -44
  581. package/dist/shared/common/key-transform.d.ts.map +0 -1
  582. package/dist/super-editor/super-editor/src/core/commands/backspaceNextToList.d.ts +0 -6
  583. package/dist/super-editor/super-editor/src/core/commands/backspaceNextToList.d.ts.map +0 -1
  584. package/dist/super-editor/super-editor/src/core/commands/deleteListItem.d.ts +0 -2
  585. package/dist/super-editor/super-editor/src/core/commands/deleteListItem.d.ts.map +0 -1
  586. package/dist/super-editor/super-editor/src/core/commands/deleteNextToList.d.ts +0 -15
  587. package/dist/super-editor/super-editor/src/core/commands/deleteNextToList.d.ts.map +0 -1
  588. package/dist/super-editor/super-editor/src/core/commands/liftListItem.d.ts +0 -5
  589. package/dist/super-editor/super-editor/src/core/commands/liftListItem.d.ts.map +0 -1
  590. package/dist/super-editor/super-editor/src/core/commands/sinkListItem.d.ts +0 -5
  591. package/dist/super-editor/super-editor/src/core/commands/sinkListItem.d.ts.map +0 -1
  592. package/dist/super-editor/super-editor/src/core/commands/splitListItem.d.ts +0 -2
  593. package/dist/super-editor/super-editor/src/core/commands/splitListItem.d.ts.map +0 -1
  594. package/dist/super-editor/super-editor/src/core/commands/wrapInList.d.ts +0 -5
  595. package/dist/super-editor/super-editor/src/core/commands/wrapInList.d.ts.map +0 -1
  596. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/b/attributes/index.d.ts +0 -4
  597. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/b/attributes/index.d.ts.map +0 -1
  598. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/b/attributes/w-val.d.ts +0 -5
  599. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/b/attributes/w-val.d.ts.map +0 -1
  600. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/index.d.ts +0 -3
  601. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/index.d.ts.map +0 -1
  602. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/w-theme-color.d.ts +0 -5
  603. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/w-theme-color.d.ts.map +0 -1
  604. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/w-theme-shade.d.ts +0 -5
  605. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/w-theme-shade.d.ts.map +0 -1
  606. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/w-theme-tint.d.ts +0 -5
  607. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/w-theme-tint.d.ts.map +0 -1
  608. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/w-val.d.ts +0 -5
  609. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/w-val.d.ts.map +0 -1
  610. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/i/attributes/index.d.ts +0 -3
  611. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/i/attributes/index.d.ts.map +0 -1
  612. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/i/attributes/w-val.d.ts +0 -5
  613. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/i/attributes/w-val.d.ts.map +0 -1
  614. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/w-p-helpers.d.ts +0 -5
  615. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/w-p-helpers.d.ts.map +0 -1
  616. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/r/helpers/split-run-properties.d.ts +0 -10
  617. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/r/helpers/split-run-properties.d.ts.map +0 -1
  618. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/index.d.ts +0 -3
  619. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/index.d.ts.map +0 -1
  620. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-ascii.d.ts +0 -5
  621. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-ascii.d.ts.map +0 -1
  622. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-cs.d.ts +0 -5
  623. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-cs.d.ts.map +0 -1
  624. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-east-asia.d.ts +0 -5
  625. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-east-asia.d.ts.map +0 -1
  626. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-hansi.d.ts +0 -5
  627. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-hansi.d.ts.map +0 -1
  628. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-val.d.ts +0 -5
  629. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-val.d.ts.map +0 -1
  630. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rStyle/attributes/index.d.ts +0 -3
  631. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rStyle/attributes/index.d.ts.map +0 -1
  632. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rStyle/attributes/w-val.d.ts +0 -5
  633. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rStyle/attributes/w-val.d.ts.map +0 -1
  634. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rpr/run-property-translators.d.ts +0 -12
  635. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rpr/run-property-translators.d.ts.map +0 -1
  636. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/strike/attributes/index.d.ts +0 -3
  637. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/strike/attributes/index.d.ts.map +0 -1
  638. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/strike/attributes/w-val.d.ts +0 -5
  639. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/strike/attributes/w-val.d.ts.map +0 -1
  640. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sz/attributes/index.d.ts +0 -3
  641. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sz/attributes/index.d.ts.map +0 -1
  642. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sz/attributes/w-val.d.ts +0 -5
  643. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sz/attributes/w-val.d.ts.map +0 -1
  644. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tab/attributes/w-tab-size.d.ts.map +0 -1
  645. package/dist/super-editor/super-editor/src/extensions/bullet-list/bullet-list.d.ts +0 -15
  646. package/dist/super-editor/super-editor/src/extensions/bullet-list/bullet-list.d.ts.map +0 -1
  647. package/dist/super-editor/super-editor/src/extensions/bullet-list/index.d.ts +0 -2
  648. package/dist/super-editor/super-editor/src/extensions/bullet-list/index.d.ts.map +0 -1
  649. package/dist/super-editor/super-editor/src/extensions/line-height/index.d.ts +0 -2
  650. package/dist/super-editor/super-editor/src/extensions/line-height/index.d.ts.map +0 -1
  651. package/dist/super-editor/super-editor/src/extensions/line-height/line-height.d.ts +0 -39
  652. package/dist/super-editor/super-editor/src/extensions/line-height/line-height.d.ts.map +0 -1
  653. package/dist/super-editor/super-editor/src/extensions/list-item/ListItemNodeView.d.ts +0 -43
  654. package/dist/super-editor/super-editor/src/extensions/list-item/ListItemNodeView.d.ts.map +0 -1
  655. package/dist/super-editor/super-editor/src/extensions/list-item/helpers/listItemTypography.d.ts +0 -68
  656. package/dist/super-editor/super-editor/src/extensions/list-item/helpers/listItemTypography.d.ts.map +0 -1
  657. package/dist/super-editor/super-editor/src/extensions/list-item/helpers/styledListMarkerPlugin.d.ts +0 -13
  658. package/dist/super-editor/super-editor/src/extensions/list-item/helpers/styledListMarkerPlugin.d.ts.map +0 -1
  659. package/dist/super-editor/super-editor/src/extensions/list-item/index.d.ts +0 -2
  660. package/dist/super-editor/super-editor/src/extensions/list-item/index.d.ts.map +0 -1
  661. package/dist/super-editor/super-editor/src/extensions/list-item/list-item.d.ts +0 -51
  662. package/dist/super-editor/super-editor/src/extensions/list-item/list-item.d.ts.map +0 -1
  663. package/dist/super-editor/super-editor/src/extensions/ordered-list/helpers/orderedListMarkerPlugin.d.ts +0 -3
  664. package/dist/super-editor/super-editor/src/extensions/ordered-list/helpers/orderedListMarkerPlugin.d.ts.map +0 -1
  665. package/dist/super-editor/super-editor/src/extensions/ordered-list/helpers/orderedListSyncPlugin.d.ts +0 -6
  666. package/dist/super-editor/super-editor/src/extensions/ordered-list/helpers/orderedListSyncPlugin.d.ts.map +0 -1
  667. package/dist/super-editor/super-editor/src/extensions/ordered-list/index.d.ts +0 -2
  668. package/dist/super-editor/super-editor/src/extensions/ordered-list/index.d.ts.map +0 -1
  669. package/dist/super-editor/super-editor/src/extensions/ordered-list/ordered-list.d.ts +0 -38
  670. package/dist/super-editor/super-editor/src/extensions/ordered-list/ordered-list.d.ts.map +0 -1
  671. package/dist/super-editor/super-editor/src/extensions/text-indent/index.d.ts +0 -2
  672. package/dist/super-editor/super-editor/src/extensions/text-indent/index.d.ts.map +0 -1
  673. package/dist/super-editor/super-editor/src/extensions/text-indent/text-indent.d.ts +0 -31
  674. package/dist/super-editor/super-editor/src/extensions/text-indent/text-indent.d.ts.map +0 -1
@@ -0,0 +1,118 @@
1
+ import type { Transaction, EditorState } from 'prosemirror-state';
2
+ import type { EditorView } from 'prosemirror-view';
3
+ import type { Editor } from '../Editor.js';
4
+ /**
5
+ * Map of built-in command names to their parameter signatures.
6
+ * Extensions can augment this interface to add more precise types.
7
+ * Currently empty because built-in focus/blur are exposed directly on Editor,
8
+ * not via `editor.commands`. Populate here when core commands are added.
9
+ */
10
+ export interface CoreCommandMap {
11
+ }
12
+ /**
13
+ * Map of extension command names to their parameter signatures.
14
+ * Each extension should augment this interface when adding typed commands.
15
+ */
16
+ /**
17
+ * Map of extension command names to their parameter signatures.
18
+ * Extensions should augment this interface via module augmentation, e.g.:
19
+ *
20
+ * ```ts
21
+ * declare module '@core/types/ChainedCommands.js' {
22
+ * interface ExtensionCommandMap {
23
+ * setFontSize: (fontSize: string | number) => boolean;
24
+ * }
25
+ * }
26
+ * ```
27
+ */
28
+ export interface ExtensionCommandMap {
29
+ }
30
+ type AnyCommand = (...args: unknown[]) => unknown;
31
+ type RegisteredCommands = CoreCommandMap & ExtensionCommandMap;
32
+ type KnownCommandKey = keyof RegisteredCommands;
33
+ type UntypedCommandFallback<K extends PropertyKey> = (...args: unknown[]) => boolean;
34
+ type ExtractCommand<K extends PropertyKey> = K extends KnownCommandKey ? RegisteredCommands[K] : UntypedCommandFallback<K>;
35
+ type NormalizeCommand<F> = F extends (...args: infer A) => (props: CommandProps) => infer R ? (...args: A) => R : F;
36
+ type CommandForKey<K extends PropertyKey> = NormalizeCommand<ExtractCommand<K>>;
37
+ type CommandArgs<K extends PropertyKey> = Parameters<CommandForKey<K>>;
38
+ type CommandResult<K extends PropertyKey> = ReturnType<CommandForKey<K>>;
39
+ type KnownCommandRecord = {
40
+ [K in keyof RegisteredCommands]: CommandForKey<K>;
41
+ };
42
+ /**
43
+ * A chainable version of an editor command keyed by command name.
44
+ */
45
+ export type ChainedCommand<K extends string = string> = (...args: CommandArgs<K>) => ChainableCommandObject;
46
+ type KnownChainedCommands = {
47
+ [K in keyof RegisteredCommands]: (...args: CommandArgs<K>) => ChainableCommandObject;
48
+ };
49
+ /**
50
+ * Chainable command object returned by `createChain`.
51
+ * Has dynamic keys (one per command) and a `run()` method.
52
+ */
53
+ export type ChainableCommandObject = {
54
+ run: () => boolean;
55
+ } & KnownChainedCommands & Record<string, (...args: unknown[]) => ChainableCommandObject>;
56
+ /**
57
+ * A command that can be checked for availability.
58
+ */
59
+ export type CanCommand<K extends string = string> = (...args: CommandArgs<K>) => CommandResult<K>;
60
+ type KnownCanCommands = {
61
+ [K in keyof RegisteredCommands]: (...args: CommandArgs<K>) => CommandResult<K>;
62
+ };
63
+ /**
64
+ * Map of commands that can be checked.
65
+ */
66
+ export type CanCommands = Record<string, CanCommand>;
67
+ /**
68
+ * Object returned by `createCan`: dynamic boolean commands + a `chain()` helper.
69
+ */
70
+ export type CanObject = KnownCanCommands & Record<string, CanCommand> & {
71
+ chain: () => ChainableCommandObject;
72
+ };
73
+ /**
74
+ * Core editor commands available on all instances.
75
+ */
76
+ export type CoreCommands = Pick<KnownCommandRecord, keyof CoreCommandMap>;
77
+ /**
78
+ * Commands added by extensions - populated via module augmentation.
79
+ */
80
+ export type ExtensionCommands = Pick<KnownCommandRecord, keyof ExtensionCommandMap>;
81
+ /**
82
+ * All available editor commands
83
+ */
84
+ export type EditorCommands = CoreCommands & ExtensionCommands & Record<string, AnyCommand>;
85
+ /**
86
+ * Command props made available to every command handler.
87
+ */
88
+ export interface CommandProps {
89
+ /** The editor instance */
90
+ editor: Editor;
91
+ /** The ProseMirror transaction */
92
+ tr: Transaction;
93
+ /** The current editor state */
94
+ state: EditorState;
95
+ /** The active editor view */
96
+ view: EditorView;
97
+ /** Optional dispatcher */
98
+ dispatch?: (tr: Transaction) => void;
99
+ /** Helper to build command chains */
100
+ chain: () => ChainableCommandObject;
101
+ /** Helper to check command availability */
102
+ can: () => CanObject;
103
+ /** Lazy command map bound to current props */
104
+ commands: EditorCommands;
105
+ }
106
+ /**
107
+ * A command handler invoked by the command service.
108
+ */
109
+ export type Command = (props: CommandProps) => boolean;
110
+ /**
111
+ * Command service options
112
+ */
113
+ export interface CommandServiceOptions {
114
+ /** The editor instance */
115
+ editor: Editor;
116
+ }
117
+ export {};
118
+ //# sourceMappingURL=ChainedCommands.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChainedCommands.d.ts","sourceRoot":"","sources":["../../../../../src/core/types/ChainedCommands.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAClE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAE3C;;;;;GAKG;AACH,MAAM,WAAW,cAAc;CAAG;AAElC;;;GAGG;AACH;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,mBAAmB;CAAG;AAEvC,KAAK,UAAU,GAAG,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,OAAO,CAAC;AAClD,KAAK,kBAAkB,GAAG,cAAc,GAAG,mBAAmB,CAAC;AAC/D,KAAK,eAAe,GAAG,MAAM,kBAAkB,CAAC;AAEhD,KAAK,sBAAsB,CAAC,CAAC,SAAS,WAAW,IAAuF,CACtI,GAAG,IAAI,EAAE,OAAO,EAAE,KACf,OAAO,CAAC;AAEb,KAAK,cAAc,CAAC,CAAC,SAAS,WAAW,IAAI,CAAC,SAAS,eAAe,GAAG,kBAAkB,CAAC,CAAC,CAAC,GAAG,sBAAsB,CAAC,CAAC,CAAC,CAAC;AAC3H,KAAK,gBAAgB,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,KAAK,EAAE,YAAY,KAAK,MAAM,CAAC,GACvF,CAAC,GAAG,IAAI,EAAE,CAAC,KAAK,CAAC,GACjB,CAAC,CAAC;AACN,KAAK,aAAa,CAAC,CAAC,SAAS,WAAW,IAAI,gBAAgB,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;AAChF,KAAK,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CAAC,MAAM,EAAE,UAAU,CAAC,GAAG;IAC3B,KAAK,EAAE,MAAM,sBAAsB,CAAC;CACrC,CAAC;AAEJ;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,IAAI,CAAC,kBAAkB,EAAE,MAAM,cAAc,CAAC,CAAC;AAE1E;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,kBAAkB,EAAE,MAAM,mBAAmB,CAAC,CAAC;AAEpF;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,YAAY,GAAG,iBAAiB,GAAG,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;AAE3F;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,0BAA0B;IAC1B,MAAM,EAAE,MAAM,CAAC;IAEf,kCAAkC;IAClC,EAAE,EAAE,WAAW,CAAC;IAEhB,+BAA+B;IAC/B,KAAK,EAAE,WAAW,CAAC;IAEnB,6BAA6B;IAC7B,IAAI,EAAE,UAAU,CAAC;IAEjB,0BAA0B;IAC1B,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,WAAW,KAAK,IAAI,CAAC;IAErC,qCAAqC;IACrC,KAAK,EAAE,MAAM,sBAAsB,CAAC;IAEpC,2CAA2C;IAC3C,GAAG,EAAE,MAAM,SAAS,CAAC;IAErB,8CAA8C;IAC9C,QAAQ,EAAE,cAAc,CAAC;CAC1B;AAED;;GAEG;AACH,MAAM,MAAM,OAAO,GAAG,CAAC,KAAK,EAAE,YAAY,KAAK,OAAO,CAAC;AAEvD;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,0BAA0B;IAC1B,MAAM,EAAE,MAAM,CAAC;CAChB"}
@@ -0,0 +1,265 @@
1
+ import type { EditorState, Transaction } from 'prosemirror-state';
2
+ import type { Doc as YDoc, XmlFragment as YXmlFragment } from 'yjs';
3
+ import type { Editor } from '../Editor.js';
4
+ import type { Extension } from '../Extension.js';
5
+ import type { Node as EditorNode } from '../Node.js';
6
+ import type { Mark as EditorMark } from '../Mark.js';
7
+ import type { FontsResolvedPayload, Comment, CommentsPayload, CommentLocationsPayload, PaginationPayload, ListDefinitionsPayload } from './EditorEvents.js';
8
+ import type { ProseMirrorJSON, TelemetryData } from './EditorTypes.js';
9
+ /**
10
+ * User information for collaboration
11
+ */
12
+ export interface User {
13
+ /** The user's name */
14
+ name: string;
15
+ /** The user's email */
16
+ email: string;
17
+ /** The user's photo URL */
18
+ image: string | null;
19
+ }
20
+ /**
21
+ * Field value for document fields
22
+ */
23
+ export interface FieldValue {
24
+ /** The id of the input field */
25
+ input_id: string;
26
+ /** The value to insert into the field */
27
+ input_value: string;
28
+ }
29
+ /**
30
+ * A JSON representation of a docx node
31
+ */
32
+ export interface DocxNode {
33
+ [key: string]: unknown;
34
+ }
35
+ /**
36
+ * Single docx file entry extracted from the archive
37
+ */
38
+ export interface DocxFileEntry {
39
+ name: string;
40
+ content: string;
41
+ }
42
+ /**
43
+ * Collaboration provider interface
44
+ */
45
+ export interface CollaborationProvider {
46
+ on(event: string, handler: (...args: unknown[]) => void): void;
47
+ off(event: string, handler: (...args: unknown[]) => void): void;
48
+ connect?: () => void;
49
+ disconnect?: () => void;
50
+ destroy?: () => void;
51
+ synced?: boolean;
52
+ }
53
+ /**
54
+ * Any extension supported by the editor (node, mark, or extension)
55
+ */
56
+ export type EditorExtension = Extension<any, any> | EditorNode<any, any> | EditorMark<any, any>;
57
+ /**
58
+ * Permission resolver parameters
59
+ */
60
+ export interface PermissionParams {
61
+ permission: string;
62
+ role?: string;
63
+ isInternal?: boolean;
64
+ comment?: Comment | null;
65
+ trackedChange?: unknown | null;
66
+ }
67
+ /**
68
+ * Editor configuration options
69
+ */
70
+ export interface EditorOptions {
71
+ /** The container element for the editor */
72
+ element?: HTMLElement | null;
73
+ /** CSS selector for the editor container */
74
+ selector?: string | null;
75
+ /** Whether the editor is running in headless mode */
76
+ isHeadless?: boolean;
77
+ /** Mock document for testing */
78
+ mockDocument?: Document | null;
79
+ /** Mock window for testing */
80
+ mockWindow?: Window | null;
81
+ /** XML/JSON/HTML content */
82
+ content?: string | DocxFileEntry[] | Record<string, unknown> | null;
83
+ /** Current user information */
84
+ user?: User | null;
85
+ /** List of users for collaboration */
86
+ users?: User[];
87
+ /** Media configuration */
88
+ media?: Record<string, unknown>;
89
+ /** Media files */
90
+ mediaFiles?: Record<string, unknown>;
91
+ /** Font configuration */
92
+ fonts?: Record<string, unknown>;
93
+ /** Document mode ('editing', 'viewing', 'suggesting') */
94
+ documentMode?: string;
95
+ /** Editor mode ('docx', 'text', 'html') */
96
+ mode?: 'docx' | 'text' | 'html';
97
+ /** User role ('editor', 'viewer', 'suggester') */
98
+ role?: string;
99
+ /** Available colors */
100
+ colors?: string[];
101
+ /** Document converter */
102
+ converter?: unknown | null;
103
+ /** Source of the file (File/Blob in browser, Buffer in Node.js) */
104
+ fileSource?: File | Blob | Buffer | null;
105
+ /** Initial editor state */
106
+ initialState?: EditorState | null;
107
+ /** Unique document identifier */
108
+ documentId?: string | null;
109
+ /** Editor extensions */
110
+ extensions?: EditorExtension[];
111
+ /** Whether the editor is editable */
112
+ editable?: boolean;
113
+ /** Editor properties */
114
+ editorProps?: Record<string, unknown>;
115
+ /** Parsing options */
116
+ parseOptions?: Record<string, unknown>;
117
+ /** Core extension options */
118
+ coreExtensionOptions?: Record<string, unknown>;
119
+ /** Whether to enable input rules */
120
+ enableInputRules?: boolean;
121
+ /** Whether comments are enabled */
122
+ isCommentsEnabled?: boolean;
123
+ /** Whether this is a new file */
124
+ isNewFile?: boolean;
125
+ /** Editor scale/zoom */
126
+ scale?: number;
127
+ /** Whether annotations are enabled */
128
+ annotations?: boolean;
129
+ /** Whether this is an internal editor */
130
+ isInternal?: boolean;
131
+ /** External extensions */
132
+ externalExtensions?: EditorExtension[];
133
+ /** Whether this editor runs as a linked child editor */
134
+ isChildEditor?: boolean;
135
+ /** Whether the document content was generated from schema */
136
+ loadFromSchema?: boolean;
137
+ /** Numbering configuration */
138
+ numbering?: Record<string, unknown>;
139
+ /** Whether this is a header or footer editor */
140
+ isHeaderOrFooter?: boolean;
141
+ /** Optional pagination metadata */
142
+ pagination?: Record<string, unknown> | null;
143
+ /** Last selection state */
144
+ lastSelection?: unknown | null;
145
+ /** Prevent default styles from being applied in docx mode */
146
+ suppressDefaultDocxStyles?: boolean;
147
+ /** Provided JSON to override content with */
148
+ jsonOverride?: ProseMirrorJSON | null;
149
+ /** HTML content to initialize the editor with */
150
+ html?: string;
151
+ /** Markdown content to initialize the editor with */
152
+ markdown?: string;
153
+ /** Whether to enable debug mode */
154
+ isDebug?: boolean;
155
+ /** Docx xml updated by User */
156
+ customUpdatedFiles?: Record<string, string>;
157
+ /** Whether header/footer has changed */
158
+ isHeaderFooterChanged?: boolean;
159
+ /** Whether custom XML has changed */
160
+ isCustomXmlChanged?: boolean;
161
+ /** Focus target element */
162
+ focusTarget?: HTMLElement | null;
163
+ /** Parent editor (for header/footer editors) */
164
+ parentEditor?: Editor | null;
165
+ /** Collaborative document reference */
166
+ ydoc?: YDoc | null;
167
+ /** Y.js XML fragment for collaborative editing */
168
+ fragment?: YXmlFragment | null;
169
+ /** Collaboration provider */
170
+ collaborationProvider?: CollaborationProvider | null;
171
+ /** Whether the collaboration provider finished syncing */
172
+ collaborationIsReady?: boolean;
173
+ /** Whether comments should be loaded after collaboration replace */
174
+ shouldLoadComments?: boolean;
175
+ /** Whether the current file was replaced */
176
+ replacedFile?: boolean;
177
+ /** Called before editor creation */
178
+ onBeforeCreate?: (params: {
179
+ editor: Editor;
180
+ }) => void;
181
+ /** Called after editor creation */
182
+ onCreate?: (params: {
183
+ editor: Editor;
184
+ }) => void;
185
+ /** Called when editor content updates */
186
+ onUpdate?: (params: {
187
+ editor: Editor;
188
+ transaction: Transaction;
189
+ }) => void;
190
+ /** Called when selection updates */
191
+ onSelectionUpdate?: (params: {
192
+ editor: Editor;
193
+ }) => void;
194
+ /** Called when a transaction is processed */
195
+ onTransaction?: (params: {
196
+ editor: Editor;
197
+ transaction: Transaction;
198
+ }) => void;
199
+ /** Called when editor gets focus */
200
+ onFocus?: (params: {
201
+ editor: Editor;
202
+ event: FocusEvent;
203
+ }) => void;
204
+ /** Called when editor loses focus */
205
+ onBlur?: (params: {
206
+ editor: Editor;
207
+ event: FocusEvent;
208
+ }) => void;
209
+ /** Called when editor is destroyed */
210
+ onDestroy?: () => void;
211
+ /** Called when there's a content error */
212
+ onContentError?: (params: {
213
+ editor: Editor;
214
+ error: Error;
215
+ }) => void;
216
+ /** Called when tracked changes update */
217
+ onTrackedChangesUpdate?: (params: {
218
+ changes: unknown;
219
+ }) => void;
220
+ /** Called when comments update */
221
+ onCommentsUpdate?: (params: CommentsPayload) => void;
222
+ /** Called when comments are loaded */
223
+ onCommentsLoaded?: (params: {
224
+ editor: Editor;
225
+ replacedFile?: boolean;
226
+ comments: Comment[];
227
+ }) => void;
228
+ /** Called when a comment is clicked */
229
+ onCommentClicked?: (params: {
230
+ commentId: string;
231
+ event?: MouseEvent;
232
+ }) => void;
233
+ /** Called when comment locations update */
234
+ onCommentLocationsUpdate?: (params: CommentLocationsPayload) => void;
235
+ /** Called when document is locked */
236
+ onDocumentLocked?: (params: {
237
+ locked: boolean;
238
+ lockedBy?: string;
239
+ }) => void;
240
+ /** Called on first render */
241
+ onFirstRender?: () => void;
242
+ /** Called when collaboration is ready */
243
+ onCollaborationReady?: (params: {
244
+ editor: Editor;
245
+ ydoc: unknown;
246
+ }) => void;
247
+ /** Called when pagination updates */
248
+ onPaginationUpdate?: (params: PaginationPayload) => void;
249
+ /** Called when an exception occurs */
250
+ onException?: (params: {
251
+ error: Error;
252
+ editor: Editor;
253
+ }) => void;
254
+ /** Called when list definitions change */
255
+ onListDefinitionsChange?: (params: ListDefinitionsPayload) => void;
256
+ /** Called when all fonts used in the document are determined */
257
+ onFontsResolved?: ((payload: FontsResolvedPayload) => void) | null;
258
+ /** Handler for image uploads - async (file) => url */
259
+ handleImageUpload?: ((file: File) => Promise<string>) | null;
260
+ /** Telemetry configuration */
261
+ telemetry?: TelemetryData | null;
262
+ /** Host-provided permission hook */
263
+ permissionResolver?: ((params: PermissionParams) => boolean | undefined) | null;
264
+ }
265
+ //# sourceMappingURL=EditorConfig.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EditorConfig.d.ts","sourceRoot":"","sources":["../../../../../src/core/types/EditorConfig.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAU,MAAM,mBAAmB,CAAC;AAE1E,OAAO,KAAK,EAAE,GAAG,IAAI,IAAI,EAAE,WAAW,IAAI,YAAY,EAAE,MAAM,KAAK,CAAC;AACpE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,EAAE,IAAI,IAAI,UAAU,EAAE,MAAM,YAAY,CAAC;AACrD,OAAO,KAAK,EAAE,IAAI,IAAI,UAAU,EAAE,MAAM,YAAY,CAAC;AACrD,OAAO,KAAK,EACV,oBAAoB,EACpB,OAAO,EACP,eAAe,EACf,uBAAuB,EACvB,iBAAiB,EACjB,sBAAsB,EACvB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEvE;;GAEG;AACH,MAAM,WAAW,IAAI;IACnB,sBAAsB;IACtB,IAAI,EAAE,MAAM,CAAC;IAEb,uBAAuB;IACvB,KAAK,EAAE,MAAM,CAAC;IAEd,2BAA2B;IAC3B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,gCAAgC;IAChC,QAAQ,EAAE,MAAM,CAAC;IAEjB,yCAAyC;IACzC,WAAW,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,QAAQ;IACvB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO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;IACrC,gBAAgB,CAAC,EAAE,CAAC,MAAM,EAAE;QAAE,MAAM,EAAE,OAAO,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;IAE5E,6BAA6B;IAC7B,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAE3B,yCAAyC;IACzC,oBAAoB,CAAC,EAAE,CAAC,MAAM,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,OAAO,CAAA;KAAE,KAAK,IAAI,CAAC;IAE3E,qCAAqC;IACrC,kBAAkB,CAAC,EAAE,CAAC,MAAM,EAAE,iBAAiB,KAAK,IAAI,CAAC;IAEzD,sCAAsC;IACtC,WAAW,CAAC,EAAE,CAAC,MAAM,EAAE;QAAE,KAAK,EAAE,KAAK,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;IAEjE,0CAA0C;IAC1C,uBAAuB,CAAC,EAAE,CAAC,MAAM,EAAE,sBAAsB,KAAK,IAAI,CAAC;IAEnE,gEAAgE;IAChE,eAAe,CAAC,EAAE,CAAC,CAAC,OAAO,EAAE,oBAAoB,KAAK,IAAI,CAAC,GAAG,IAAI,CAAC;IAEnE,sDAAsD;IACtD,iBAAiB,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE,IAAI,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC,GAAG,IAAI,CAAC;IAE7D,8BAA8B;IAC9B,SAAS,CAAC,EAAE,aAAa,GAAG,IAAI,CAAC;IAEjC,oCAAoC;IACpC,kBAAkB,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE,gBAAgB,KAAK,OAAO,GAAG,SAAS,CAAC,GAAG,IAAI,CAAC;CACjF"}
@@ -0,0 +1,144 @@
1
+ import type { Transaction } from 'prosemirror-state';
2
+ import type { Editor } from '../Editor.js';
3
+ import type { DefaultEventMap } from '../EventEmitter.js';
4
+ /**
5
+ * Payload for fonts-resolved events
6
+ */
7
+ export interface FontsResolvedPayload {
8
+ documentFonts: string[];
9
+ unsupportedFonts: string[];
10
+ }
11
+ /**
12
+ * Comment data structure
13
+ */
14
+ export interface Comment {
15
+ id: string;
16
+ [key: string]: unknown;
17
+ }
18
+ /**
19
+ * Payload for comment-related events
20
+ */
21
+ export interface CommentsPayload {
22
+ comments?: Comment[];
23
+ [key: string]: unknown;
24
+ }
25
+ /**
26
+ * Payload for comment locations/positions
27
+ */
28
+ export interface CommentLocationsPayload {
29
+ locations: Array<{
30
+ commentId: string;
31
+ position: {
32
+ top: number;
33
+ left: number;
34
+ height: number;
35
+ width: number;
36
+ };
37
+ [key: string]: unknown;
38
+ }>;
39
+ }
40
+ /**
41
+ * Payload for pagination events
42
+ */
43
+ export interface PaginationPayload {
44
+ pages?: number;
45
+ currentPage?: number;
46
+ [key: string]: unknown;
47
+ }
48
+ /**
49
+ * Payload for list definitions change
50
+ */
51
+ export interface ListDefinitionsPayload {
52
+ change: unknown;
53
+ numbering?: unknown;
54
+ editor?: unknown;
55
+ }
56
+ /**
57
+ * Event map for the Editor class
58
+ */
59
+ export interface EditorEventMap extends DefaultEventMap {
60
+ /** Called before editor creation */
61
+ beforeCreate: [{
62
+ editor: Editor;
63
+ }];
64
+ /** Called after editor creation */
65
+ create: [{
66
+ editor: Editor;
67
+ }];
68
+ /** Called when editor content updates */
69
+ update: [{
70
+ editor: Editor;
71
+ transaction: Transaction;
72
+ }];
73
+ /** Called when selection updates */
74
+ selectionUpdate: [{
75
+ editor: Editor;
76
+ transaction: Transaction;
77
+ }];
78
+ /** Called when a transaction is processed */
79
+ transaction: [{
80
+ editor: Editor;
81
+ transaction: Transaction;
82
+ duration?: number;
83
+ }];
84
+ /** Called when editor gets focus */
85
+ focus: [{
86
+ editor: Editor;
87
+ event: FocusEvent;
88
+ transaction: Transaction;
89
+ }];
90
+ /** Called when editor loses focus */
91
+ blur: [{
92
+ editor: Editor;
93
+ event: FocusEvent;
94
+ transaction: Transaction;
95
+ }];
96
+ /** Called when editor is destroyed */
97
+ destroy: [];
98
+ /** Called when there's a content error */
99
+ contentError: [{
100
+ editor: Editor;
101
+ error: Error;
102
+ }];
103
+ /** Called when tracked changes update */
104
+ trackedChangesUpdate: [{
105
+ changes: unknown;
106
+ }];
107
+ /** Called when comments update */
108
+ commentsUpdate: [CommentsPayload];
109
+ /** Called when comments are loaded */
110
+ commentsLoaded: [{
111
+ editor: Editor;
112
+ replacedFile?: boolean;
113
+ comments: Comment[];
114
+ }];
115
+ /** Called when a comment is clicked */
116
+ commentClick: [{
117
+ commentId: string;
118
+ event?: MouseEvent;
119
+ }];
120
+ /** Called when comment locations update */
121
+ 'comment-positions': [CommentLocationsPayload];
122
+ /** Called when document is locked */
123
+ locked: [{
124
+ locked: boolean;
125
+ lockedBy?: string;
126
+ }];
127
+ /** Called when collaboration is ready */
128
+ collaborationReady: [{
129
+ editor: Editor;
130
+ ydoc: unknown;
131
+ }];
132
+ /** Called when pagination updates */
133
+ paginationUpdate: [PaginationPayload];
134
+ /** Called when an exception occurs */
135
+ exception: [{
136
+ error: Error;
137
+ editor: Editor;
138
+ }];
139
+ /** Called when list definitions change */
140
+ 'list-definitions-change': [ListDefinitionsPayload];
141
+ /** Called when all fonts used in the document are determined */
142
+ 'fonts-resolved': [FontsResolvedPayload];
143
+ }
144
+ //# sourceMappingURL=EditorEvents.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EditorEvents.d.ts","sourceRoot":"","sources":["../../../../../src/core/types/EditorEvents.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAE1D;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,gBAAgB,EAAE,MAAM,EAAE,CAAC;CA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AqC;IACrC,MAAM,EAAE,CAAC;QAAE,MAAM,EAAE,OAAO,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAEjD,yCAAyC;IACzC,kBAAkB,EAAE,CAAC;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,OAAO,CAAA;KAAE,CAAC,CAAC;IAExD,qCAAqC;IACrC,gBAAgB,EAAE,CAAC,iBAAiB,CAAC,CAAC;IAEtC,sCAAsC;IACtC,SAAS,EAAE,CAAC;QAAE,KAAK,EAAE,KAAK,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAE9C,0CAA0C;IAC1C,yBAAyB,EAAE,CAAC,sBAAsB,CAAC,CAAC;IAEpD,gEAAgE;IAChE,gBAAgB,EAAE,CAAC,oBAAoB,CAAC,CAAC;CAC1C"}
@@ -0,0 +1,35 @@
1
+ import type { AttributeValue } from '../Attribute.js';
2
+ export type SchemaSummaryAttribute = {
3
+ default: AttributeValue;
4
+ required: boolean;
5
+ };
6
+ export type SchemaSummaryNode = {
7
+ name: string;
8
+ attrs: Record<string, SchemaSummaryAttribute>;
9
+ group?: string;
10
+ content?: string;
11
+ marks?: string;
12
+ inline?: boolean;
13
+ atom?: boolean;
14
+ defining?: boolean;
15
+ code?: boolean;
16
+ tableRole?: string;
17
+ summary?: string;
18
+ };
19
+ export type SchemaSummaryMark = {
20
+ name: string;
21
+ attrs: Record<string, SchemaSummaryAttribute>;
22
+ group?: string;
23
+ inclusive?: boolean;
24
+ excludes?: string;
25
+ spanning?: boolean;
26
+ code?: boolean;
27
+ };
28
+ export type SchemaSummaryJSON = {
29
+ version: string;
30
+ schemaVersion: string;
31
+ topNode?: string;
32
+ nodes: SchemaSummaryNode[];
33
+ marks: SchemaSummaryMark[];
34
+ };
35
+ //# sourceMappingURL=EditorSchema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EditorSchema.d.ts","sourceRoot":"","s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+ /**
2
+ * A map of plugin names to their helper API objects.
3
+ * Each plugin defines its own helper methods.
4
+ *
5
+ * Example:
6
+ * editor.helpers.linkedStyles.getStyles()
7
+ */
8
+ export type EditorHelpers = Record<string, Record<string, (...args: unknown[]) => unknown>>;
9
+ /**
10
+ * Export format options
11
+ */
12
+ export type ExportFormat = 'docx' | 'json' | 'html' | 'markdown';
13
+ /**
14
+ * Editor node options
15
+ */
16
+ export interface EditorNodeOptions {
17
+ [key: string]: unknown;
18
+ }
19
+ /**
20
+ * Editor node storage
21
+ */
22
+ export interface EditorNodeStorage {
23
+ [key: string]: unknown;
24
+ }
25
+ /**
26
+ * Extension storage - stores data for each extension by extension name
27
+ */
28
+ export type ExtensionStorage = Record<string, unknown>;
29
+ /**
30
+ * ProseMirror JSON document structure
31
+ */
32
+ export interface ProseMirrorJSON {
33
+ type: string;
34
+ content?: ProseMirrorJSON[];
35
+ attrs?: Record<string, unknown>;
36
+ marks?: Array<{
37
+ type: string;
38
+ attrs?: Record<string, unknown>;
39
+ }>;
40
+ text?: string;
41
+ }
42
+ /**
43
+ * Page styles configuration
44
+ */
45
+ export interface PageStyles {
46
+ width?: string | number;
47
+ height?: string | number;
48
+ marginTop?: string | number;
49
+ marginBottom?: string | number;
50
+ marginLeft?: string | number;
51
+ marginRight?: string | number;
52
+ [key: string]: unknown;
53
+ }
54
+ /**
55
+ * Telemetry data configuration
56
+ */
57
+ export interface TelemetryData {
58
+ trackUsage?: (event: string, data?: Record<string, unknown>) => void;
59
+ [key: string]: unknown;
60
+ }
61
+ /**
62
+ * Toolbar configuration
63
+ */
64
+ export interface Toolbar {
65
+ setActiveEditor?: (editor: any) => void;
66
+ [key: string]: unknown;
67
+ }
68
+ /**
69
+ * Re-export commonly used types
70
+ */
71
+ export type { OxmlNodeConfig, OxmlNode, } from '../OxmlNode.js';
72
+ export type { User, FieldValue, DocxNode, DocxFileEntry, EditorOptions, PermissionParams, EditorExtension, CollaborationProvider, } from './EditorConfig.js';
73
+ //# sourceMappingURL=EditorTypes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EditorTypes.d.ts","sourceRoot":"","sources":["../../../../../src/core/types/EditorTypes.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,OAAO,CAAC,CAAC,CAAC;AAE5F;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,UAAU,CAAC;AAEjE;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAEvD;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,eAAe,EAAE,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAChC,KAAK,CAAC,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;KAAE,CAAC,CAAC;IACjE,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC5B,YAAY,CAAC,EAAE,MAAM,G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