superdoc 0.31.3 → 0.32.0-next.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 (672) hide show
  1. package/dist/chunks/{PdfViewer-Cfv24RAO.es.js → PdfViewer-CLLkJ_LT.es.js} +2 -2
  2. package/dist/chunks/{PdfViewer-DxZEZ0kC.cjs → PdfViewer-n7Vmdxs7.cjs} +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-0lYca18m.cjs → index-BmkYkJ5B-SorNc_4w.cjs} +1 -1
  6. package/dist/chunks/{index-BkSlSgV3-Bs1x4Ydh.es.js → index-BmkYkJ5B-nlqyhm34.es.js} +1 -1
  7. package/dist/chunks/{index-DzCRau8t.es.js → index-CT38NQEE.es.js} +10 -9
  8. package/dist/chunks/{index-DyWNiAwo.cjs → index-oP5zcbE3.cjs} +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-DEg3G86J.cjs → super-editor.es-Bw2oizFn.cjs} +40579 -42159
  12. package/dist/chunks/{super-editor.es-DOLpHa0H.es.js → super-editor.es-Czw1Kou3.es.js} +39278 -40858
  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-BP5xR7bY.js} +13027 -13318
  51. package/dist/super-editor/chunks/{docx-zipper-DY9haip7.js → docx-zipper-7aLQ6ggk.js} +1 -1
  52. package/dist/super-editor/chunks/{editor-gAS774Lu.js → editor-gwZbOsYI.js} +3956 -5273
  53. package/dist/super-editor/chunks/{index-BkSlSgV3.js → index-BmkYkJ5B.js} +1 -1
  54. package/dist/super-editor/chunks/{toolbar-B_JCu51N.js → toolbar-BaP8H6Xj.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/dstrike/dstrike-translator.d.ts +7 -0
  212. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/dstrike/dstrike-translator.d.ts.map +1 -0
  213. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/framePr/framePr-translator.d.ts +7 -0
  214. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/framePr/framePr-translator.d.ts.map +1 -0
  215. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/framePr/index.d.ts +2 -0
  216. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/framePr/index.d.ts.map +1 -0
  217. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/headers/headers-translator.d.ts +0 -2
  218. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/headers/headers-translator.d.ts.map +1 -1
  219. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/i/i-translator.d.ts +1 -2
  220. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/i/i-translator.d.ts.map +1 -1
  221. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/ilvl/ilvl-translator.d.ts +7 -0
  222. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/ilvl/ilvl-translator.d.ts.map +1 -0
  223. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/ilvl/index.d.ts +2 -0
  224. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/ilvl/index.d.ts.map +1 -0
  225. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/ind/ind-translator.d.ts +7 -0
  226. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/ind/ind-translator.d.ts.map +1 -0
  227. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/ind/index.d.ts +2 -0
  228. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/ind/index.d.ts.map +1 -0
  229. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/keepLines/index.d.ts +2 -0
  230. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/keepLines/index.d.ts.map +1 -0
  231. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/keepLines/keepLines-translator.d.ts +7 -0
  232. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/keepLines/keepLines-translator.d.ts.map +1 -0
  233. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/keepNext/index.d.ts +2 -0
  234. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/keepNext/index.d.ts.map +1 -0
  235. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/keepNext/keepNext-translator.d.ts +7 -0
  236. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/keepNext/keepNext-translator.d.ts.map +1 -0
  237. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/kinsoku/index.d.ts +2 -0
  238. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/kinsoku/index.d.ts.map +1 -0
  239. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/kinsoku/kinsoku-translator.d.ts +7 -0
  240. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/kinsoku/kinsoku-translator.d.ts.map +1 -0
  241. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/lang/index.d.ts +2 -0
  242. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/lang/index.d.ts.map +1 -0
  243. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/lang/lang-translator.d.ts +7 -0
  244. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/lang/lang-translator.d.ts.map +1 -0
  245. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/mirrorIndents/index.d.ts +2 -0
  246. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/mirrorIndents/index.d.ts.map +1 -0
  247. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/mirrorIndents/mirrorIndents-translator.d.ts +7 -0
  248. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/mirrorIndents/mirrorIndents-translator.d.ts.map +1 -0
  249. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/numId/index.d.ts +2 -0
  250. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/numId/index.d.ts.map +1 -0
  251. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/numId/numId-translator.d.ts +7 -0
  252. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/numId/numId-translator.d.ts.map +1 -0
  253. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/numPr/index.d.ts +2 -0
  254. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/numPr/index.d.ts.map +1 -0
  255. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/numPr/numPr-translator.d.ts +6 -0
  256. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/numPr/numPr-translator.d.ts.map +1 -0
  257. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/outlineLvl/index.d.ts +2 -0
  258. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/outlineLvl/index.d.ts.map +1 -0
  259. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/outlineLvl/outlineLvl-translator.d.ts +7 -0
  260. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/outlineLvl/outlineLvl-translator.d.ts.map +1 -0
  261. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/overflowPunct/index.d.ts +2 -0
  262. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/overflowPunct/index.d.ts.map +1 -0
  263. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/overflowPunct/overflowPunct-translator.d.ts +7 -0
  264. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/overflowPunct/overflowPunct-translator.d.ts.map +1 -0
  265. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/generate-paragraph-properties.d.ts +8 -0
  266. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/generate-paragraph-properties.d.ts.map +1 -0
  267. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/index.d.ts +0 -1
  268. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/legacy-handle-paragraph-node.d.ts.map +1 -1
  269. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/translate-paragraph-node.d.ts +8 -0
  270. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/translate-paragraph-node.d.ts.map +1 -0
  271. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pBdr/index.d.ts +2 -0
  272. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pBdr/index.d.ts.map +1 -0
  273. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pBdr/pBdr-translator.d.ts +6 -0
  274. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pBdr/pBdr-translator.d.ts.map +1 -0
  275. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pPr/index.d.ts +2 -0
  276. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pPr/index.d.ts.map +1 -0
  277. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pPr/pPr-translator.d.ts +6 -0
  278. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pPr/pPr-translator.d.ts.map +1 -0
  279. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pStyle/index.d.ts +2 -0
  280. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pStyle/index.d.ts.map +1 -0
  281. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pStyle/pStyle-translator.d.ts +7 -0
  282. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pStyle/pStyle-translator.d.ts.map +1 -0
  283. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pageBreakBefore/index.d.ts +2 -0
  284. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pageBreakBefore/index.d.ts.map +1 -0
  285. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pageBreakBefore/pageBreakBefore-translator.d.ts +7 -0
  286. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pageBreakBefore/pageBreakBefore-translator.d.ts.map +1 -0
  287. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pict/helpers/handle-v-rect-import.d.ts +1 -1
  288. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pict/helpers/handle-v-rect-import.d.ts.map +1 -1
  289. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/r/helpers/helpers.d.ts +1 -37
  290. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/r/helpers/helpers.d.ts.map +1 -1
  291. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/r/helpers/index.d.ts +0 -1
  292. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/r/r-translator.d.ts.map +1 -1
  293. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/rFonts-translator.d.ts +1 -0
  294. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/rFonts-translator.d.ts.map +1 -1
  295. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rStyle/rstyle-translator.d.ts +1 -2
  296. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rStyle/rstyle-translator.d.ts.map +1 -1
  297. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rpr/rpr-translator.d.ts +2 -0
  298. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rpr/rpr-translator.d.ts.map +1 -1
  299. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sdt/helpers/convert-sdt-content-to-runs.d.ts +7 -0
  300. 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
  301. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sdt/helpers/translate-field-annotation.d.ts.map +1 -1
  302. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/snapToGrid/index.d.ts +2 -0
  303. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/snapToGrid/index.d.ts.map +1 -0
  304. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/snapToGrid/snapToGrid-translator.d.ts +7 -0
  305. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/snapToGrid/snapToGrid-translator.d.ts.map +1 -0
  306. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/spacing/index.d.ts +2 -0
  307. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/spacing/index.d.ts.map +1 -0
  308. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/spacing/letter-spacing-translator.d.ts +7 -0
  309. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/spacing/letter-spacing-translator.d.ts.map +1 -0
  310. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/spacing/spacing-translator.d.ts +7 -0
  311. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/spacing/spacing-translator.d.ts.map +1 -0
  312. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/strike/strike-translator.d.ts +1 -2
  313. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/strike/strike-translator.d.ts.map +1 -1
  314. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressAutoHyphens/index.d.ts +2 -0
  315. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressAutoHyphens/index.d.ts.map +1 -0
  316. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressAutoHyphens/suppressAutoHyphens-translator.d.ts +7 -0
  317. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressAutoHyphens/suppressAutoHyphens-translator.d.ts.map +1 -0
  318. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressLineNumbers/index.d.ts +2 -0
  319. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressLineNumbers/index.d.ts.map +1 -0
  320. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressLineNumbers/suppressLineNumbers-translator.d.ts +7 -0
  321. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressLineNumbers/suppressLineNumbers-translator.d.ts.map +1 -0
  322. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressOverlap/index.d.ts +2 -0
  323. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressOverlap/index.d.ts.map +1 -0
  324. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressOverlap/suppressOverlap-translator.d.ts +7 -0
  325. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressOverlap/suppressOverlap-translator.d.ts.map +1 -0
  326. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sz/sz-translator.d.ts +5 -3
  327. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sz/sz-translator.d.ts.map +1 -1
  328. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/szcs/szcs-translator.d.ts +5 -3
  329. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/szcs/szcs-translator.d.ts.map +1 -1
  330. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/t/helpers/translate-text-node.d.ts +5 -0
  331. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/t/helpers/translate-text-node.d.ts.map +1 -0
  332. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tab/attributes/w-tab-pos.d.ts +1 -1
  333. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tab/attributes/w-tab-pos.d.ts.map +1 -1
  334. 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
  335. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tab/attributes/w-tab-type.d.ts.map +1 -0
  336. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tab/tab-translator.d.ts.map +1 -1
  337. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tabs/index.d.ts +2 -0
  338. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tabs/index.d.ts.map +1 -0
  339. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tabs/tabs-translator.d.ts +6 -0
  340. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tabs/tabs-translator.d.ts.map +1 -0
  341. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tbl/tbl-translator.d.ts +14 -10
  342. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tbl/tbl-translator.d.ts.map +1 -1
  343. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tblGrid/tblGrid-translator.d.ts.map +1 -1
  344. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/textAlignment/index.d.ts +2 -0
  345. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/textAlignment/index.d.ts.map +1 -0
  346. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/textAlignment/textAlignment-translator.d.ts +7 -0
  347. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/textAlignment/textAlignment-translator.d.ts.map +1 -0
  348. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/textboxTightWrap/index.d.ts +2 -0
  349. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/textboxTightWrap/index.d.ts.map +1 -0
  350. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/textboxTightWrap/textboxTightWrap-translator.d.ts +7 -0
  351. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/textboxTightWrap/textboxTightWrap-translator.d.ts.map +1 -0
  352. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/topLinePunct/index.d.ts +2 -0
  353. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/topLinePunct/index.d.ts.map +1 -0
  354. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/topLinePunct/topLinePunct-translator.d.ts +7 -0
  355. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/topLinePunct/topLinePunct-translator.d.ts.map +1 -0
  356. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tr/tr-translator.d.ts.map +1 -1
  357. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/widowControl/index.d.ts +2 -0
  358. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/widowControl/index.d.ts.map +1 -0
  359. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/widowControl/widowControl-translator.d.ts +7 -0
  360. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/widowControl/widowControl-translator.d.ts.map +1 -0
  361. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/wordWrap/index.d.ts +2 -0
  362. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/wordWrap/index.d.ts.map +1 -0
  363. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/wordWrap/wordWrap-translator.d.ts +7 -0
  364. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/wordWrap/wordWrap-translator.d.ts.map +1 -0
  365. package/dist/super-editor/super-editor/src/core/types/ChainedCommands.d.ts +118 -0
  366. package/dist/super-editor/super-editor/src/core/types/ChainedCommands.d.ts.map +1 -0
  367. package/dist/super-editor/super-editor/src/core/types/EditorConfig.d.ts +265 -0
  368. package/dist/super-editor/super-editor/src/core/types/EditorConfig.d.ts.map +1 -0
  369. package/dist/super-editor/super-editor/src/core/types/EditorEvents.d.ts +144 -0
  370. package/dist/super-editor/super-editor/src/core/types/EditorEvents.d.ts.map +1 -0
  371. package/dist/super-editor/super-editor/src/core/types/EditorSchema.d.ts +35 -0
  372. package/dist/super-editor/super-editor/src/core/types/EditorSchema.d.ts.map +1 -0
  373. package/dist/super-editor/super-editor/src/core/types/EditorTypes.d.ts +73 -0
  374. package/dist/super-editor/super-editor/src/core/types/EditorTypes.d.ts.map +1 -0
  375. package/dist/super-editor/super-editor/src/core/types/__tests__/command-types.d.ts +2 -0
  376. package/dist/super-editor/super-editor/src/core/types/__tests__/command-types.d.ts.map +1 -0
  377. package/dist/super-editor/super-editor/src/core/utilities/callOrGet.d.ts +6 -2
  378. package/dist/super-editor/super-editor/src/core/utilities/callOrGet.d.ts.map +1 -1
  379. package/dist/super-editor/super-editor/src/core/utilities/deleteProps.d.ts.map +1 -1
  380. package/dist/super-editor/super-editor/src/core/utilities/isIOS.d.ts.map +1 -1
  381. package/dist/super-editor/super-editor/src/extensions/ai/ai-marks.d.ts +8 -2
  382. package/dist/super-editor/super-editor/src/extensions/ai/ai-marks.d.ts.map +1 -1
  383. package/dist/super-editor/super-editor/src/extensions/ai/ai-nodes.d.ts +7 -1
  384. package/dist/super-editor/super-editor/src/extensions/ai/ai-nodes.d.ts.map +1 -1
  385. package/dist/super-editor/super-editor/src/extensions/ai/ai-plugin.d.ts +1 -1
  386. package/dist/super-editor/super-editor/src/extensions/ai/ai-plugin.d.ts.map +1 -1
  387. package/dist/super-editor/super-editor/src/extensions/block-node/block-node.d.ts +1 -1
  388. package/dist/super-editor/super-editor/src/extensions/block-node/block-node.d.ts.map +1 -1
  389. package/dist/super-editor/super-editor/src/extensions/bold/bold.d.ts +3 -1
  390. package/dist/super-editor/super-editor/src/extensions/bold/bold.d.ts.map +1 -1
  391. package/dist/super-editor/super-editor/src/extensions/bookmarks/bookmark-end.d.ts +1 -1
  392. package/dist/super-editor/super-editor/src/extensions/bookmarks/bookmark-end.d.ts.map +1 -1
  393. package/dist/super-editor/super-editor/src/extensions/bookmarks/bookmark-start.d.ts +1 -1
  394. package/dist/super-editor/super-editor/src/extensions/bookmarks/bookmark-start.d.ts.map +1 -1
  395. package/dist/super-editor/super-editor/src/extensions/collaboration/collaboration-helpers.d.ts.map +1 -1
  396. package/dist/super-editor/super-editor/src/extensions/collaboration/collaboration.d.ts +6 -1
  397. package/dist/super-editor/super-editor/src/extensions/collaboration/collaboration.d.ts.map +1 -1
  398. package/dist/super-editor/super-editor/src/extensions/collaboration-cursor/collaboration-cursor.d.ts +9 -1
  399. package/dist/super-editor/super-editor/src/extensions/collaboration-cursor/collaboration-cursor.d.ts.map +1 -1
  400. package/dist/super-editor/super-editor/src/extensions/color/color.d.ts +3 -1
  401. package/dist/super-editor/super-editor/src/extensions/color/color.d.ts.map +1 -1
  402. package/dist/super-editor/super-editor/src/extensions/comment/comment.d.ts +18 -3
  403. package/dist/super-editor/super-editor/src/extensions/comment/comment.d.ts.map +1 -1
  404. package/dist/super-editor/super-editor/src/extensions/comment/comments-marks.d.ts +5 -1
  405. package/dist/super-editor/super-editor/src/extensions/comment/comments-marks.d.ts.map +1 -1
  406. package/dist/super-editor/super-editor/src/extensions/comment/comments-plugin.d.ts +1 -1
  407. package/dist/super-editor/super-editor/src/extensions/comment/comments-plugin.d.ts.map +1 -1
  408. package/dist/super-editor/super-editor/src/extensions/content-block/content-block.d.ts +1 -1
  409. package/dist/super-editor/super-editor/src/extensions/content-block/content-block.d.ts.map +1 -1
  410. package/dist/super-editor/super-editor/src/extensions/custom-selection/custom-selection.d.ts +1 -1
  411. package/dist/super-editor/super-editor/src/extensions/custom-selection/custom-selection.d.ts.map +1 -1
  412. package/dist/super-editor/super-editor/src/extensions/document/document.d.ts +1 -1
  413. package/dist/super-editor/super-editor/src/extensions/document/document.d.ts.map +1 -1
  414. package/dist/super-editor/super-editor/src/extensions/dropcursor/dropcursor.d.ts +5 -1
  415. package/dist/super-editor/super-editor/src/extensions/dropcursor/dropcursor.d.ts.map +1 -1
  416. package/dist/super-editor/super-editor/src/extensions/field-annotation/cleanup-commands/cleanUpListsWithAnnotations.d.ts.map +1 -1
  417. package/dist/super-editor/super-editor/src/extensions/field-annotation/cleanup-commands/index.d.ts.map +1 -1
  418. package/dist/super-editor/super-editor/src/extensions/field-annotation/field-annotation.d.ts +1 -1
  419. package/dist/super-editor/super-editor/src/extensions/field-annotation/field-annotation.d.ts.map +1 -1
  420. package/dist/super-editor/super-editor/src/extensions/font-family/font-family.d.ts +3 -1
  421. package/dist/super-editor/super-editor/src/extensions/font-family/font-family.d.ts.map +1 -1
  422. package/dist/super-editor/super-editor/src/extensions/font-size/font-size.d.ts +9 -1
  423. package/dist/super-editor/super-editor/src/extensions/font-size/font-size.d.ts.map +1 -1
  424. package/dist/super-editor/super-editor/src/extensions/format-commands/format-commands.d.ts +7 -1
  425. package/dist/super-editor/super-editor/src/extensions/format-commands/format-commands.d.ts.map +1 -1
  426. package/dist/super-editor/super-editor/src/extensions/gapcursor/gapcursor.d.ts +1 -1
  427. package/dist/super-editor/super-editor/src/extensions/gapcursor/gapcursor.d.ts.map +1 -1
  428. package/dist/super-editor/super-editor/src/extensions/heading/heading.d.ts +3 -1
  429. package/dist/super-editor/super-editor/src/extensions/heading/heading.d.ts.map +1 -1
  430. package/dist/super-editor/super-editor/src/extensions/highlight/highlight.d.ts +3 -1
  431. package/dist/super-editor/super-editor/src/extensions/highlight/highlight.d.ts.map +1 -1
  432. package/dist/super-editor/super-editor/src/extensions/history/history.d.ts +4 -1
  433. package/dist/super-editor/super-editor/src/extensions/history/history.d.ts.map +1 -1
  434. package/dist/super-editor/super-editor/src/extensions/image/image.d.ts +1 -1
  435. package/dist/super-editor/super-editor/src/extensions/image/image.d.ts.map +1 -1
  436. package/dist/super-editor/super-editor/src/extensions/index.d.ts +23 -8
  437. package/dist/super-editor/super-editor/src/extensions/index.d.ts.map +1 -1
  438. package/dist/super-editor/super-editor/src/extensions/italic/italic.d.ts +3 -1
  439. package/dist/super-editor/super-editor/src/extensions/italic/italic.d.ts.map +1 -1
  440. package/dist/super-editor/super-editor/src/extensions/line-break/line-break.d.ts +2 -2
  441. package/dist/super-editor/super-editor/src/extensions/line-break/line-break.d.ts.map +1 -1
  442. package/dist/super-editor/super-editor/src/extensions/link/link.d.ts +9 -1
  443. package/dist/super-editor/super-editor/src/extensions/link/link.d.ts.map +1 -1
  444. package/dist/super-editor/super-editor/src/extensions/linked-styles/helpers.d.ts +2 -1
  445. package/dist/super-editor/super-editor/src/extensions/linked-styles/helpers.d.ts.map +1 -1
  446. package/dist/super-editor/super-editor/src/extensions/linked-styles/linked-styles.d.ts +1 -1
  447. package/dist/super-editor/super-editor/src/extensions/linked-styles/linked-styles.d.ts.map +1 -1
  448. package/dist/super-editor/super-editor/src/extensions/linked-styles/plugin.d.ts.map +1 -1
  449. package/dist/super-editor/super-editor/src/extensions/mention/mention.d.ts +6 -1
  450. package/dist/super-editor/super-editor/src/extensions/mention/mention.d.ts.map +1 -1
  451. package/dist/super-editor/super-editor/src/extensions/noderesizer/noderesizer.d.ts +1 -1
  452. package/dist/super-editor/super-editor/src/extensions/noderesizer/noderesizer.d.ts.map +1 -1
  453. package/dist/super-editor/super-editor/src/extensions/page-number/page-number.d.ts +2 -2
  454. package/dist/super-editor/super-editor/src/extensions/page-number/page-number.d.ts.map +1 -1
  455. package/dist/super-editor/super-editor/src/extensions/page-reference/page-reference.d.ts +8 -1
  456. package/dist/super-editor/super-editor/src/extensions/page-reference/page-reference.d.ts.map +1 -1
  457. package/dist/super-editor/super-editor/src/extensions/pagination/pagination.d.ts +5 -1
  458. package/dist/super-editor/super-editor/src/extensions/pagination/pagination.d.ts.map +1 -1
  459. package/dist/super-editor/super-editor/src/extensions/paragraph/NumberingManager.d.ts +30 -0
  460. package/dist/super-editor/super-editor/src/extensions/paragraph/NumberingManager.d.ts.map +1 -0
  461. package/dist/super-editor/super-editor/src/extensions/paragraph/ParagraphNodeView.d.ts +37 -0
  462. package/dist/super-editor/super-editor/src/extensions/paragraph/ParagraphNodeView.d.ts.map +1 -0
  463. package/dist/super-editor/super-editor/src/extensions/paragraph/dropcapPlugin.d.ts +4 -0
  464. package/dist/super-editor/super-editor/src/extensions/paragraph/dropcapPlugin.d.ts.map +1 -0
  465. package/dist/super-editor/super-editor/src/extensions/paragraph/helpers/getDefaultSpacing.d.ts +4 -4
  466. package/dist/super-editor/super-editor/src/extensions/paragraph/numberingPlugin.d.ts +9 -0
  467. package/dist/super-editor/super-editor/src/extensions/paragraph/numberingPlugin.d.ts.map +1 -0
  468. package/dist/super-editor/super-editor/src/extensions/paragraph/paragraph.d.ts +1 -10
  469. package/dist/super-editor/super-editor/src/extensions/paragraph/paragraph.d.ts.map +1 -1
  470. package/dist/super-editor/super-editor/src/extensions/paragraph/resolvedPropertiesCache.d.ts +3 -0
  471. package/dist/super-editor/super-editor/src/extensions/paragraph/resolvedPropertiesCache.d.ts.map +1 -0
  472. package/dist/super-editor/super-editor/src/extensions/placeholder/placeholder.d.ts +3 -1
  473. package/dist/super-editor/super-editor/src/extensions/placeholder/placeholder.d.ts.map +1 -1
  474. package/dist/super-editor/super-editor/src/extensions/popover-plugin/popover-plugin.d.ts +1 -1
  475. package/dist/super-editor/super-editor/src/extensions/popover-plugin/popover-plugin.d.ts.map +1 -1
  476. package/dist/super-editor/super-editor/src/extensions/run/commands/split-run.d.ts +1 -0
  477. package/dist/super-editor/super-editor/src/extensions/run/commands/split-run.d.ts.map +1 -1
  478. package/dist/super-editor/super-editor/src/extensions/run/run.d.ts +1 -1
  479. package/dist/super-editor/super-editor/src/extensions/run/run.d.ts.map +1 -1
  480. package/dist/super-editor/super-editor/src/extensions/search/search.d.ts +1 -1
  481. package/dist/super-editor/super-editor/src/extensions/search/search.d.ts.map +1 -1
  482. package/dist/super-editor/super-editor/src/extensions/shape-container/shape-container.d.ts +6 -1
  483. package/dist/super-editor/super-editor/src/extensions/shape-container/shape-container.d.ts.map +1 -1
  484. package/dist/super-editor/super-editor/src/extensions/shape-group/shape-group.d.ts +1 -1
  485. package/dist/super-editor/super-editor/src/extensions/shape-group/shape-group.d.ts.map +1 -1
  486. package/dist/super-editor/super-editor/src/extensions/shape-textbox/shape-textbox.d.ts +6 -1
  487. package/dist/super-editor/super-editor/src/extensions/shape-textbox/shape-textbox.d.ts.map +1 -1
  488. package/dist/super-editor/super-editor/src/extensions/slash-menu/slash-menu.d.ts +1 -1
  489. package/dist/super-editor/super-editor/src/extensions/slash-menu/slash-menu.d.ts.map +1 -1
  490. package/dist/super-editor/super-editor/src/extensions/strike/strike.d.ts +3 -1
  491. package/dist/super-editor/super-editor/src/extensions/strike/strike.d.ts.map +1 -1
  492. package/dist/super-editor/super-editor/src/extensions/structured-content/document-part-object.d.ts +6 -1
  493. package/dist/super-editor/super-editor/src/extensions/structured-content/document-part-object.d.ts.map +1 -1
  494. package/dist/super-editor/super-editor/src/extensions/structured-content/document-section.d.ts +1 -1
  495. package/dist/super-editor/super-editor/src/extensions/structured-content/document-section.d.ts.map +1 -1
  496. package/dist/super-editor/super-editor/src/extensions/structured-content/structured-content-block.d.ts +6 -1
  497. package/dist/super-editor/super-editor/src/extensions/structured-content/structured-content-block.d.ts.map +1 -1
  498. package/dist/super-editor/super-editor/src/extensions/structured-content/structured-content-commands.d.ts +1 -1
  499. package/dist/super-editor/super-editor/src/extensions/structured-content/structured-content-commands.d.ts.map +1 -1
  500. package/dist/super-editor/super-editor/src/extensions/structured-content/structured-content.d.ts +6 -1
  501. package/dist/super-editor/super-editor/src/extensions/structured-content/structured-content.d.ts.map +1 -1
  502. package/dist/super-editor/super-editor/src/extensions/tab/helpers/tabDecorations.d.ts +14 -2
  503. package/dist/super-editor/super-editor/src/extensions/tab/helpers/tabDecorations.d.ts.map +1 -1
  504. package/dist/super-editor/super-editor/src/extensions/tab/tab.d.ts +6 -1
  505. package/dist/super-editor/super-editor/src/extensions/tab/tab.d.ts.map +1 -1
  506. package/dist/super-editor/super-editor/src/extensions/table/TableView.d.ts +7 -1
  507. package/dist/super-editor/super-editor/src/extensions/table/TableView.d.ts.map +1 -1
  508. package/dist/super-editor/super-editor/src/extensions/table/table.d.ts +19 -1
  509. package/dist/super-editor/super-editor/src/extensions/table/table.d.ts.map +1 -1
  510. package/dist/super-editor/super-editor/src/extensions/table-cell/table-cell.d.ts +5 -1
  511. package/dist/super-editor/super-editor/src/extensions/table-cell/table-cell.d.ts.map +1 -1
  512. package/dist/super-editor/super-editor/src/extensions/table-header/table-header.d.ts +5 -1
  513. package/dist/super-editor/super-editor/src/extensions/table-header/table-header.d.ts.map +1 -1
  514. package/dist/super-editor/super-editor/src/extensions/table-of-contents/table-of-contents.d.ts +6 -1
  515. package/dist/super-editor/super-editor/src/extensions/table-of-contents/table-of-contents.d.ts.map +1 -1
  516. package/dist/super-editor/super-editor/src/extensions/table-row/table-row.d.ts +5 -1
  517. package/dist/super-editor/super-editor/src/extensions/table-row/table-row.d.ts.map +1 -1
  518. package/dist/super-editor/super-editor/src/extensions/text/text.d.ts +1 -1
  519. package/dist/super-editor/super-editor/src/extensions/text/text.d.ts.map +1 -1
  520. package/dist/super-editor/super-editor/src/extensions/text-align/text-align.d.ts +3 -12
  521. package/dist/super-editor/super-editor/src/extensions/text-align/text-align.d.ts.map +1 -1
  522. package/dist/super-editor/super-editor/src/extensions/text-style/text-style.d.ts +3 -1
  523. package/dist/super-editor/super-editor/src/extensions/text-style/text-style.d.ts.map +1 -1
  524. package/dist/super-editor/super-editor/src/extensions/text-transform/text-transform.d.ts +3 -1
  525. package/dist/super-editor/super-editor/src/extensions/text-transform/text-transform.d.ts.map +1 -1
  526. package/dist/super-editor/super-editor/src/extensions/track-changes/permission-helpers.d.ts +140 -52
  527. package/dist/super-editor/super-editor/src/extensions/track-changes/permission-helpers.d.ts.map +1 -1
  528. package/dist/super-editor/super-editor/src/extensions/track-changes/track-changes.d.ts +1 -1
  529. package/dist/super-editor/super-editor/src/extensions/track-changes/track-changes.d.ts.map +1 -1
  530. package/dist/super-editor/super-editor/src/extensions/track-changes/track-delete.d.ts +5 -1
  531. package/dist/super-editor/super-editor/src/extensions/track-changes/track-delete.d.ts.map +1 -1
  532. package/dist/super-editor/super-editor/src/extensions/track-changes/track-format.d.ts +5 -1
  533. package/dist/super-editor/super-editor/src/extensions/track-changes/track-format.d.ts.map +1 -1
  534. package/dist/super-editor/super-editor/src/extensions/track-changes/track-insert.d.ts +5 -1
  535. package/dist/super-editor/super-editor/src/extensions/track-changes/track-insert.d.ts.map +1 -1
  536. package/dist/super-editor/super-editor/src/extensions/track-changes/trackChangesHelpers/trackedTransaction.d.ts +5 -1
  537. package/dist/super-editor/super-editor/src/extensions/track-changes/trackChangesHelpers/trackedTransaction.d.ts.map +1 -1
  538. package/dist/super-editor/super-editor/src/extensions/types/formatting-commands.d.ts +40 -0
  539. package/dist/super-editor/super-editor/src/extensions/types/formatting-commands.d.ts.map +1 -0
  540. package/dist/super-editor/super-editor/src/extensions/types/history-link-table-commands.d.ts +57 -0
  541. package/dist/super-editor/super-editor/src/extensions/types/history-link-table-commands.d.ts.map +1 -0
  542. package/dist/super-editor/super-editor/src/extensions/types/specialized-commands.d.ts +83 -0
  543. package/dist/super-editor/super-editor/src/extensions/types/specialized-commands.d.ts.map +1 -0
  544. package/dist/super-editor/super-editor/src/extensions/underline/underline.d.ts +3 -1
  545. package/dist/super-editor/super-editor/src/extensions/underline/underline.d.ts.map +1 -1
  546. package/dist/super-editor/super-editor/src/extensions/vector-shape/vector-shape.d.ts +1 -1
  547. package/dist/super-editor/super-editor/src/extensions/vector-shape/vector-shape.d.ts.map +1 -1
  548. package/dist/super-editor/super-editor/src/tests/data/annotations_doc_content.d.ts +113 -61
  549. package/dist/super-editor/super-editor/src/tests/export/export-helpers/export-helpers.d.ts +1 -1
  550. package/dist/super-editor/super-editor/src/tests/export/export-helpers/export-helpers.d.ts.map +1 -1
  551. package/dist/super-editor/super-editor.es.js +127 -110
  552. package/dist/super-editor/toolbar.es.js +2 -2
  553. package/dist/super-editor.cjs +2 -2
  554. package/dist/super-editor.es.js +2 -2
  555. package/dist/superdoc.cjs +2 -2
  556. package/dist/superdoc.es.js +2 -2
  557. package/dist/superdoc.umd.js +47946 -49485
  558. package/dist/superdoc.umd.js.map +1 -1
  559. package/package.json +1 -1
  560. package/dist/chunks/xml-js-BSDu25I7.cjs +0 -3
  561. package/dist/chunks/xml-js-CBrRls0f.es.js +0 -2
  562. package/dist/shared/common/Telemetry.d.ts +0 -237
  563. package/dist/shared/common/Telemetry.d.ts.map +0 -1
  564. package/dist/shared/common/collaboration/awareness.d.ts +0 -39
  565. package/dist/shared/common/collaboration/awareness.d.ts.map +0 -1
  566. package/dist/shared/common/document-types.d.ts +0 -10
  567. package/dist/shared/common/document-types.d.ts.map +0 -1
  568. package/dist/shared/common/event-types.d.ts +0 -14
  569. package/dist/shared/common/event-types.d.ts.map +0 -1
  570. package/dist/shared/common/helpers/compare-superdoc-versions.d.ts +0 -8
  571. package/dist/shared/common/helpers/compare-superdoc-versions.d.ts.map +0 -1
  572. package/dist/shared/common/helpers/get-file-object.d.ts +0 -50
  573. package/dist/shared/common/helpers/get-file-object.d.ts.map +0 -1
  574. package/dist/shared/common/helpers/v-click-outside.d.ts +0 -11
  575. package/dist/shared/common/helpers/v-click-outside.d.ts.map +0 -1
  576. package/dist/shared/common/index.d.ts +0 -10
  577. package/dist/shared/common/index.d.ts.map +0 -1
  578. package/dist/shared/common/key-transform.d.ts +0 -44
  579. package/dist/shared/common/key-transform.d.ts.map +0 -1
  580. package/dist/super-editor/super-editor/src/core/commands/backspaceNextToList.d.ts +0 -6
  581. package/dist/super-editor/super-editor/src/core/commands/backspaceNextToList.d.ts.map +0 -1
  582. package/dist/super-editor/super-editor/src/core/commands/deleteListItem.d.ts +0 -2
  583. package/dist/super-editor/super-editor/src/core/commands/deleteListItem.d.ts.map +0 -1
  584. package/dist/super-editor/super-editor/src/core/commands/deleteNextToList.d.ts +0 -15
  585. package/dist/super-editor/super-editor/src/core/commands/deleteNextToList.d.ts.map +0 -1
  586. package/dist/super-editor/super-editor/src/core/commands/liftListItem.d.ts +0 -5
  587. package/dist/super-editor/super-editor/src/core/commands/liftListItem.d.ts.map +0 -1
  588. package/dist/super-editor/super-editor/src/core/commands/sinkListItem.d.ts +0 -5
  589. package/dist/super-editor/super-editor/src/core/commands/sinkListItem.d.ts.map +0 -1
  590. package/dist/super-editor/super-editor/src/core/commands/splitListItem.d.ts +0 -2
  591. package/dist/super-editor/super-editor/src/core/commands/splitListItem.d.ts.map +0 -1
  592. package/dist/super-editor/super-editor/src/core/commands/wrapInList.d.ts +0 -5
  593. package/dist/super-editor/super-editor/src/core/commands/wrapInList.d.ts.map +0 -1
  594. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/b/attributes/index.d.ts +0 -4
  595. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/b/attributes/index.d.ts.map +0 -1
  596. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/b/attributes/w-val.d.ts +0 -5
  597. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/b/attributes/w-val.d.ts.map +0 -1
  598. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/index.d.ts +0 -3
  599. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/index.d.ts.map +0 -1
  600. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/w-theme-color.d.ts +0 -5
  601. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/w-theme-color.d.ts.map +0 -1
  602. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/w-theme-shade.d.ts +0 -5
  603. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/w-theme-shade.d.ts.map +0 -1
  604. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/w-theme-tint.d.ts +0 -5
  605. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/w-theme-tint.d.ts.map +0 -1
  606. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/w-val.d.ts +0 -5
  607. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/w-val.d.ts.map +0 -1
  608. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/i/attributes/index.d.ts +0 -3
  609. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/i/attributes/index.d.ts.map +0 -1
  610. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/i/attributes/w-val.d.ts +0 -5
  611. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/i/attributes/w-val.d.ts.map +0 -1
  612. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/w-p-helpers.d.ts +0 -5
  613. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/w-p-helpers.d.ts.map +0 -1
  614. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/r/helpers/split-run-properties.d.ts +0 -10
  615. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/r/helpers/split-run-properties.d.ts.map +0 -1
  616. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/index.d.ts +0 -3
  617. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/index.d.ts.map +0 -1
  618. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-ascii.d.ts +0 -5
  619. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-ascii.d.ts.map +0 -1
  620. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-cs.d.ts +0 -5
  621. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-cs.d.ts.map +0 -1
  622. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-east-asia.d.ts +0 -5
  623. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-east-asia.d.ts.map +0 -1
  624. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-hansi.d.ts +0 -5
  625. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-hansi.d.ts.map +0 -1
  626. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-val.d.ts +0 -5
  627. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-val.d.ts.map +0 -1
  628. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rStyle/attributes/index.d.ts +0 -3
  629. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rStyle/attributes/index.d.ts.map +0 -1
  630. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rStyle/attributes/w-val.d.ts +0 -5
  631. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rStyle/attributes/w-val.d.ts.map +0 -1
  632. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rpr/run-property-translators.d.ts +0 -12
  633. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rpr/run-property-translators.d.ts.map +0 -1
  634. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/strike/attributes/index.d.ts +0 -3
  635. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/strike/attributes/index.d.ts.map +0 -1
  636. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/strike/attributes/w-val.d.ts +0 -5
  637. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/strike/attributes/w-val.d.ts.map +0 -1
  638. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sz/attributes/index.d.ts +0 -3
  639. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sz/attributes/index.d.ts.map +0 -1
  640. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sz/attributes/w-val.d.ts +0 -5
  641. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sz/attributes/w-val.d.ts.map +0 -1
  642. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tab/attributes/w-tab-size.d.ts.map +0 -1
  643. package/dist/super-editor/super-editor/src/extensions/bullet-list/bullet-list.d.ts +0 -15
  644. package/dist/super-editor/super-editor/src/extensions/bullet-list/bullet-list.d.ts.map +0 -1
  645. package/dist/super-editor/super-editor/src/extensions/bullet-list/index.d.ts +0 -2
  646. package/dist/super-editor/super-editor/src/extensions/bullet-list/index.d.ts.map +0 -1
  647. package/dist/super-editor/super-editor/src/extensions/line-height/index.d.ts +0 -2
  648. package/dist/super-editor/super-editor/src/extensions/line-height/index.d.ts.map +0 -1
  649. package/dist/super-editor/super-editor/src/extensions/line-height/line-height.d.ts +0 -39
  650. package/dist/super-editor/super-editor/src/extensions/line-height/line-height.d.ts.map +0 -1
  651. package/dist/super-editor/super-editor/src/extensions/list-item/ListItemNodeView.d.ts +0 -43
  652. package/dist/super-editor/super-editor/src/extensions/list-item/ListItemNodeView.d.ts.map +0 -1
  653. package/dist/super-editor/super-editor/src/extensions/list-item/helpers/listItemTypography.d.ts +0 -68
  654. package/dist/super-editor/super-editor/src/extensions/list-item/helpers/listItemTypography.d.ts.map +0 -1
  655. package/dist/super-editor/super-editor/src/extensions/list-item/helpers/styledListMarkerPlugin.d.ts +0 -13
  656. package/dist/super-editor/super-editor/src/extensions/list-item/helpers/styledListMarkerPlugin.d.ts.map +0 -1
  657. package/dist/super-editor/super-editor/src/extensions/list-item/index.d.ts +0 -2
  658. package/dist/super-editor/super-editor/src/extensions/list-item/index.d.ts.map +0 -1
  659. package/dist/super-editor/super-editor/src/extensions/list-item/list-item.d.ts +0 -51
  660. package/dist/super-editor/super-editor/src/extensions/list-item/list-item.d.ts.map +0 -1
  661. package/dist/super-editor/super-editor/src/extensions/ordered-list/helpers/orderedListMarkerPlugin.d.ts +0 -3
  662. package/dist/super-editor/super-editor/src/extensions/ordered-list/helpers/orderedListMarkerPlugin.d.ts.map +0 -1
  663. package/dist/super-editor/super-editor/src/extensions/ordered-list/helpers/orderedListSyncPlugin.d.ts +0 -6
  664. package/dist/super-editor/super-editor/src/extensions/ordered-list/helpers/orderedListSyncPlugin.d.ts.map +0 -1
  665. package/dist/super-editor/super-editor/src/extensions/ordered-list/index.d.ts +0 -2
  666. package/dist/super-editor/super-editor/src/extensions/ordered-list/index.d.ts.map +0 -1
  667. package/dist/super-editor/super-editor/src/extensions/ordered-list/ordered-list.d.ts +0 -38
  668. package/dist/super-editor/super-editor/src/extensions/ordered-list/ordered-list.d.ts.map +0 -1
  669. package/dist/super-editor/super-editor/src/extensions/text-indent/index.d.ts +0 -2
  670. package/dist/super-editor/super-editor/src/extensions/text-indent/index.d.ts.map +0 -1
  671. package/dist/super-editor/super-editor/src/extensions/text-indent/text-indent.d.ts +0 -31
  672. package/dist/super-editor/super-editor/src/extensions/text-indent/text-indent.d.ts.map +0 -1
@@ -9,14 +9,14 @@ var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read fr
9
9
  var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
10
10
  var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "access private method"), method);
11
11
  var _SuperToolbar_instances, initToolbarGroups_fn, _interceptedCommands, makeToolbarItems_fn, initDefaultFonts_fn, updateHighlightColors_fn, deactivateAll_fn, updateToolbarHistory_fn, enrichTrackedChanges_fn, runCommandWithArgumentOnly_fn;
12
- import { aA as getDefaultExportFromCjs, V as v4, T as TextSelection$1, v as getMarkRange, aD as vClickOutside, aE as getActiveFormatting, av as isInTable, aF as readFromClipboard, aG as handleClipboardPaste, aH as getFileObject, aI as runPropertyTranslators, aJ as translator, aK as translator$1, aL as translator$2, aM as translator$3, aN as translator$4, aO as translator$5, aP as translator$6, aQ as translator$7, aR as translator$8, aS as translator$9, aT as translator$a, aU as translator$b, aV as translator$c, aW as translator$d, aX as translator$e, aY as commentRangeEndTranslator, aZ as commentRangeStartTranslator, a_ as translator$f, a$ as translator$g, b0 as translator$h, b1 as translator$i, b2 as translator$j, b3 as translator$k, b4 as translator$l, b5 as translator$m, b6 as translator$n, b7 as translator$o, b8 as translator$p, b9 as translator$q, ba as translator$r, bb as translator$s, bc as translator$t, bd as translator$u, be as translator$v, bf as translator$w, bg as translator$x, bh as translator$y, bi as translator$z, bj as translator$A, bk as translator$B, bl as translator$C, bm as translator$D, bn as translator$E, bo as translator$F, bp as translator$G, bq as translator$H, br as translator$I, bs as translator$J, bt as translator$K, bu as translator$L, bv as translator$M, bw as translator$N, bx as translator$O, by as translator$P, bz as translator$Q, bA as translator$R, bB as translator$S, bC as translator$T, bD as translator$U, bE as translator$V, bF as translator$W, bG as translator$X, bH as translator$Y, bI as translator$Z, bJ as translator$_, bK as translator$$, bL as translator$10, bM as translator$11, bN as translator$12, bO as translator$13, bP as translator$14, bQ as translator$15, bR as translator$16, bS as translator$17, bT as translator$18, bU as translator$19, bV as translator$1a, bW as translator$1b, bX as translator$1c, bY as translator$1d, bZ as translator$1e, b_ as translator$1f, b$ as translator$1g, c0 as translator$1h, P as PluginKey, a as Plugin } from "./chunks/converter-DsvQGrFy.js";
13
- import { a5, i, a2 } from "./chunks/converter-DsvQGrFy.js";
14
- import { _ as _export_sfc, u as useHighContrastMode, a as getQuickFormatList, b as generateLinkedStyleString, c as collectTargetListItemPositions, d as getFileOpener, e as checkAndProcessImage, r as replaceSelectionWithImagePlaceholder, f as uploadAndInsertImage, h as collectTrackedChanges, i as isTrackedChangeActionAllowed, y as yUndoPluginKey, j as undoDepth, k as redoDepth, l as collectTrackedChangesForContext, s as shouldBypassContextMenu, S as SlashMenuPluginKey, m as isHeadless, E as Editor, n as getStarterExtensions, P as Placeholder, o as getRichTextExtensions, D as DecorationSet, p as Decoration, M as Mark, q as Extension, A as Attribute, N as Node } from "./chunks/editor-gAS774Lu.js";
15
- import { w, C, x, T, t, z, v } from "./chunks/editor-gAS774Lu.js";
12
+ import { aF as getDefaultExportFromCjs, _ as v4, T as TextSelection$1, v as getMarkRange, aI as vClickOutside, aJ as getActiveFormatting, ay as isInTable, O as findParentNode, ao as calculateResolvedParagraphProperties, a5 as twipsToLines, Q as isList, aK as readFromClipboard, aL as handleClipboardPaste, aM as getFileObject, aN as translator, aO as translator$1, aP as translator$2, aQ as translator$3, aR as translator$4, aS as translator$5, aT as translator$6, aU as translator$7, aV as translator$8, aW as translator$9, aX as translator$a, aY as translator$b, aZ as translator$c, a_ as translator$d, a$ as translator$e, b0 as commentRangeEndTranslator, b1 as commentRangeStartTranslator, b2 as translator$f, b3 as translator$g, b4 as translator$h, b5 as translator$i, b6 as translator$j, b7 as translator$k, b8 as translator$l, b9 as translator$m, ba as translator$n, bb as translator$o, bc as translator$p, bd as translator$q, be as translator$r, bf as translator$s, bg as translator$t, bh as translator$u, bi as translator$v, bj as translator$w, bk as translator$x, bl as translator$y, bm as translator$z, bn as translator$A, bo as translator$B, bp as translator$C, bq as translator$D, br as translator$E, bs as translator$F, bt as translator$G, bu as translator$H, bv as translator$I, bw as translator$J, bx as translator$K, by as translator$L, bz as translator$M, bA as translator$N, bB as translator$O, bC as translator$P, bD as translator$Q, bE as translator$R, bF as translator$S, bG as translator$T, bH as translator$U, bI as translator$V, bJ as translator$W, bK as translator$X, bL as translator$Y, bM as translator$Z, bN as translator$_, bO as translator$$, bP as translator$10, bQ as translator$11, bR as translator$12, bS as translator$13, bT as translator$14, bU as translator$15, bV as translator$16, bW as translator$17, bX as translator$18, bY as translator$19, bZ as translator$1a, b_ as translator$1b, b$ as translator$1c, c0 as translator$1d, c1 as translator$1e, c2 as translator$1f, c3 as translator$1g, c4 as translator$1h, c5 as translator$1i, c6 as translator$1j, P as PluginKey, a as Plugin } from "./chunks/converter-BP5xR7bY.js";
13
+ import { aa, i, a7 } from "./chunks/converter-BP5xR7bY.js";
14
+ import { _ as _export_sfc, u as useHighContrastMode, a as getQuickFormatList, b as generateLinkedStyleString, c as getFileOpener, d as checkAndProcessImage, r as replaceSelectionWithImagePlaceholder, e as uploadAndInsertImage, f as collectTrackedChanges, i as isTrackedChangeActionAllowed, y as yUndoPluginKey, h as undoDepth, j as redoDepth, k as collectTrackedChangesForContext, s as shouldBypassContextMenu, S as SlashMenuPluginKey, l as isHeadless, E as Editor, m as getStarterExtensions, P as Placeholder, n as getRichTextExtensions, D as DecorationSet, o as Decoration, M as Mark, p as Extension, A as Attribute, N as Node } from "./chunks/editor-gwZbOsYI.js";
15
+ import { v, C, w, T, q, x, t } from "./chunks/editor-gwZbOsYI.js";
16
16
  import { ref, onMounted, createElementBlock, openBlock, normalizeClass, unref, Fragment, renderList, createElementVNode, withModifiers, toDisplayString, createCommentVNode, normalizeStyle, computed, watch, withDirectives, withKeys, vModelText, createTextVNode, createVNode, h, createApp, markRaw, nextTick, onBeforeUnmount, defineComponent, reactive, onUnmounted, renderSlot, shallowRef, createBlock, withCtx, resolveDynamicComponent, normalizeProps, guardReactiveProps } from "vue";
17
- import { t as toolbarIcons, s as sanitizeNumber, T as Toolbar, p as plusIconSvg, a as trashIconSvg, b as borderNoneIconSvg, c as arrowsToDotIconSvg, d as arrowsLeftRightIconSvg, w as wrenchIconSvg, m as magicWandIcon, e as checkIconSvg$1, x as xMarkIconSvg, l as linkIconSvg, f as tableIconSvg, g as scissorsIconSvg, h as copyIconSvg, i as pasteIconSvg, u as useMessage, N as NSkeleton } from "./chunks/toolbar-B_JCu51N.js";
17
+ import { t as toolbarIcons, s as sanitizeNumber, T as Toolbar, p as plusIconSvg, a as trashIconSvg, b as borderNoneIconSvg, c as arrowsToDotIconSvg, d as arrowsLeftRightIconSvg, w as wrenchIconSvg, m as magicWandIcon, e as checkIconSvg$1, x as xMarkIconSvg, l as linkIconSvg, f as tableIconSvg, g as scissorsIconSvg, h as copyIconSvg, i as pasteIconSvg, u as useMessage, N as NSkeleton } from "./chunks/toolbar-BaP8H6Xj.js";
18
18
  import AIWriter from "./ai-writer.es.js";
19
- import { D } from "./chunks/docx-zipper-DY9haip7.js";
19
+ import { D } from "./chunks/docx-zipper-7aLQ6ggk.js";
20
20
  import { createZip } from "./file-zipper.es.js";
21
21
  var eventemitter3 = { exports: {} };
22
22
  var hasRequiredEventemitter3;
@@ -80,7 +80,7 @@ function requireEventemitter3() {
80
80
  if (listeners.fn) return 1;
81
81
  return listeners.length;
82
82
  };
83
- EventEmitter2.prototype.emit = function emit(event, a1, a22, a3, a4, a52) {
83
+ EventEmitter2.prototype.emit = function emit(event, a1, a2, a3, a4, a5) {
84
84
  var evt = prefix ? prefix + event : event;
85
85
  if (!this._events[evt]) return false;
86
86
  var listeners = this._events[evt], len = arguments.length, args, i2;
@@ -92,13 +92,13 @@ function requireEventemitter3() {
92
92
  case 2:
93
93
  return listeners.fn.call(listeners.context, a1), true;
94
94
  case 3:
95
- return listeners.fn.call(listeners.context, a1, a22), true;
95
+ return listeners.fn.call(listeners.context, a1, a2), true;
96
96
  case 4:
97
- return listeners.fn.call(listeners.context, a1, a22, a3), true;
97
+ return listeners.fn.call(listeners.context, a1, a2, a3), true;
98
98
  case 5:
99
- return listeners.fn.call(listeners.context, a1, a22, a3, a4), true;
99
+ return listeners.fn.call(listeners.context, a1, a2, a3, a4), true;
100
100
  case 6:
101
- return listeners.fn.call(listeners.context, a1, a22, a3, a4, a52), true;
101
+ return listeners.fn.call(listeners.context, a1, a2, a3, a4, a5), true;
102
102
  }
103
103
  for (i2 = 1, args = new Array(len - 1); i2 < len; i2++) {
104
104
  args[i2 - 1] = arguments[i2];
@@ -116,10 +116,10 @@ function requireEventemitter3() {
116
116
  listeners[i2].fn.call(listeners[i2].context, a1);
117
117
  break;
118
118
  case 3:
119
- listeners[i2].fn.call(listeners[i2].context, a1, a22);
119
+ listeners[i2].fn.call(listeners[i2].context, a1, a2);
120
120
  break;
121
121
  case 4:
122
- listeners[i2].fn.call(listeners[i2].context, a1, a22, a3);
122
+ listeners[i2].fn.call(listeners[i2].context, a1, a2, a3);
123
123
  break;
124
124
  default:
125
125
  if (!args) for (j = 1, args = new Array(len - 1); j < len; j++) {
@@ -540,6 +540,7 @@ const _sfc_main$c = {
540
540
  moveToPreviousStyle(index);
541
541
  break;
542
542
  case "Enter":
543
+ event.preventDefault();
543
544
  select(style);
544
545
  break;
545
546
  }
@@ -571,7 +572,7 @@ const _sfc_main$c = {
571
572
  };
572
573
  }
573
574
  };
574
- const LinkedStyle = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-9c96d4a1"]]);
575
+ const LinkedStyle = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-b53508a8"]]);
575
576
  const _hoisted_1$a = {
576
577
  key: 0,
577
578
  class: "link-title"
@@ -1456,6 +1457,7 @@ const makeDefaultItems = ({
1456
1457
  options: fontOptions,
1457
1458
  onActivate: ({ fontFamily }) => {
1458
1459
  if (!fontFamily) return;
1460
+ fontFamily = fontFamily.split(",")[0];
1459
1461
  fontButton.label.value = fontFamily;
1460
1462
  const defaultFont = fontOptions.find((i2) => i2.label === fontButton.defaultLabel.value);
1461
1463
  const foundFont = fontOptions.find((i2) => i2.label === fontFamily);
@@ -2051,9 +2053,6 @@ const makeDefaultItems = ({
2051
2053
  group: "left",
2052
2054
  attributes: {
2053
2055
  ariaLabel: "Undo"
2054
- },
2055
- onDeactivate: () => {
2056
- undo.disabled.value = !superToolbar.undoDepth;
2057
2056
  }
2058
2057
  });
2059
2058
  const redo = useToolbarItem({
@@ -2066,9 +2065,6 @@ const makeDefaultItems = ({
2066
2065
  group: "left",
2067
2066
  attributes: {
2068
2067
  ariaLabel: "Redo"
2069
- },
2070
- onDeactivate: () => {
2071
- redo.disabled.value = !superToolbar.redoDepth;
2072
2068
  }
2073
2069
  });
2074
2070
  const toggleTrackChanges = useToolbarItem({
@@ -2291,10 +2287,10 @@ const makeDefaultItems = ({
2291
2287
  }
2292
2288
  }
2293
2289
  ],
2294
- onActivate: ({ linkedStyleMark }) => {
2290
+ onActivate: ({ styleId }) => {
2295
2291
  const styles = getQuickFormatList(superToolbar.activeEditor);
2296
- const selectedStyle = styles?.find((style) => style.id === linkedStyleMark?.attrs?.styleId);
2297
- linkedStyles.label.value = selectedStyle ? selectedStyle.definition.attrs.name : toolbarTexts2.formatText;
2292
+ const selectedStyle = styles?.find((style) => style.id === styleId);
2293
+ linkedStyles.label.value = selectedStyle && selectedStyle.id !== "Normal" ? selectedStyle.definition.attrs.name : toolbarTexts2.formatText;
2298
2294
  linkedStyles.disabled.value = false;
2299
2295
  },
2300
2296
  onDeactivate: () => {
@@ -2303,7 +2299,7 @@ const makeDefaultItems = ({
2303
2299
  }
2304
2300
  });
2305
2301
  const renderIcon = (value, selectedValue) => {
2306
- if (selectedValue.value.toString() !== value) return;
2302
+ if (selectedValue.value != value) return;
2307
2303
  return h("div", { innerHTML: checkIconSvg, class: "dropdown-select-icon" });
2308
2304
  };
2309
2305
  const lineHeight = useToolbarItem({
@@ -2322,44 +2318,14 @@ const makeDefaultItems = ({
2322
2318
  attributes: {
2323
2319
  ariaLabel: "Line height"
2324
2320
  },
2325
- options: [
2326
- {
2327
- label: "1.0",
2328
- key: "1",
2329
- icon: () => renderIcon("1", lineHeight.selectedValue),
2330
- props: { "data-item": "btn-lineHeight-option" }
2331
- },
2332
- {
2333
- label: "1.15",
2334
- key: "1.15",
2335
- icon: () => renderIcon("1.15", lineHeight.selectedValue),
2336
- props: { "data-item": "btn-lineHeight-option" }
2337
- },
2338
- {
2339
- label: "1.5",
2340
- key: "1.5",
2341
- icon: () => renderIcon("1.5", lineHeight.selectedValue),
2342
- props: { "data-item": "btn-lineHeight-option" }
2343
- },
2344
- {
2345
- label: "2.0",
2346
- key: "2",
2347
- icon: () => renderIcon("2", lineHeight.selectedValue),
2348
- props: { "data-item": "btn-lineHeight-option" }
2349
- },
2350
- {
2351
- label: "2.5",
2352
- key: "2.5",
2353
- icon: () => renderIcon("2.5", lineHeight.selectedValue),
2354
- props: { "data-item": "btn-lineHeight-option" }
2355
- },
2356
- {
2357
- label: "3.0",
2358
- key: "3",
2359
- icon: () => renderIcon("3", lineHeight.selectedValue),
2321
+ options: [1, 1.15, 1.5, 2, 2.5, 3].map((lineHeightValue) => {
2322
+ return {
2323
+ label: lineHeightValue.toFixed(2),
2324
+ key: lineHeightValue,
2325
+ icon: () => renderIcon(lineHeightValue, lineHeight.selectedValue),
2360
2326
  props: { "data-item": "btn-lineHeight-option" }
2361
- }
2362
- ]
2327
+ };
2328
+ })
2363
2329
  });
2364
2330
  const breakpoints = {
2365
2331
  sm: 768,
@@ -2730,11 +2696,9 @@ class SuperToolbar extends EventEmitter {
2730
2696
  * @returns {void}
2731
2697
  */
2732
2698
  increaseTextIndent: ({ item, argument }) => {
2733
- const command = item.command;
2734
- const { state } = this.activeEditor;
2735
- const listItemsInSelection = collectTargetListItemPositions(state);
2736
- if (listItemsInSelection.length) {
2737
- return this.activeEditor.commands.increaseListIndent(listItemsInSelection);
2699
+ let command = item.command;
2700
+ if (this.activeEditor.commands.increaseListIndent?.()) {
2701
+ return true;
2738
2702
  }
2739
2703
  if (command in this.activeEditor.commands) {
2740
2704
  this.activeEditor.commands[command](argument);
@@ -2749,10 +2713,8 @@ class SuperToolbar extends EventEmitter {
2749
2713
  */
2750
2714
  decreaseTextIndent: ({ item, argument }) => {
2751
2715
  let command = item.command;
2752
- let { state } = this.activeEditor;
2753
- const listItemsInSelection = collectTargetListItemPositions(state);
2754
- if (listItemsInSelection.length) {
2755
- return this.activeEditor.commands.decreaseListIndent(listItemsInSelection);
2716
+ if (this.activeEditor.commands.decreaseListIndent?.()) {
2717
+ return true;
2756
2718
  }
2757
2719
  if (command in this.activeEditor.commands) {
2758
2720
  this.activeEditor.commands[command](argument);
@@ -2874,6 +2836,7 @@ class SuperToolbar extends EventEmitter {
2874
2836
  if (this.role === "viewer") {
2875
2837
  __privateMethod(this, _SuperToolbar_instances, deactivateAll_fn).call(this);
2876
2838
  }
2839
+ this.updateToolbarState();
2877
2840
  });
2878
2841
  this.config = { ...this.config, ...config };
2879
2842
  this.toolbarItems = [];
@@ -3008,8 +2971,20 @@ class SuperToolbar extends EventEmitter {
3008
2971
  });
3009
2972
  const marks = getActiveFormatting(this.activeEditor);
3010
2973
  const inTable = isInTable(this.activeEditor.state);
2974
+ const paragraphParent = findParentNode((n) => n.type.name === "paragraph")(selection);
2975
+ const paragraphProps = paragraphParent ? calculateResolvedParagraphProperties(
2976
+ this.activeEditor,
2977
+ paragraphParent.node,
2978
+ state.doc.resolve(paragraphParent.pos)
2979
+ ) : null;
3011
2980
  this.toolbarItems.forEach((item) => {
3012
2981
  item.resetDisabled();
2982
+ if (item.name.value === "undo") {
2983
+ item.setDisabled(this.undoDepth === 0);
2984
+ }
2985
+ if (item.name.value === "redo") {
2986
+ item.setDisabled(this.redoDepth === 0);
2987
+ }
3013
2988
  if (item.name.value === "acceptTrackedChangeBySelection") {
3014
2989
  item.setDisabled(!canAcceptTrackedChanges);
3015
2990
  }
@@ -3017,11 +2992,10 @@ class SuperToolbar extends EventEmitter {
3017
2992
  item.setDisabled(!canRejectTrackedChanges);
3018
2993
  }
3019
2994
  if (item.name.value === "linkedStyles") {
3020
- const linkedStyleMark = marks.find((mark) => mark.name === "styleId");
3021
2995
  if (this.activeEditor && !getQuickFormatList(this.activeEditor).length) {
3022
2996
  return item.deactivate();
3023
2997
  } else {
3024
- return item.activate({ linkedStyleMark });
2998
+ return item.activate({ styleId: paragraphProps?.styleId || null });
3025
2999
  }
3026
3000
  }
3027
3001
  const rawActiveMark = marks.find((mark) => mark.name === item.name.value);
@@ -3038,16 +3012,14 @@ class SuperToolbar extends EventEmitter {
3038
3012
  } else {
3039
3013
  item.deactivate();
3040
3014
  }
3041
- const styleIdMark = marks.find((mark) => mark.name === "styleId");
3042
- if (!activeMark && !markNegated && styleIdMark?.attrs.styleId) {
3015
+ if (!activeMark && !markNegated && paragraphParent && paragraphProps?.styleId) {
3043
3016
  const markToStyleMap = {
3044
3017
  fontSize: "font-size",
3045
3018
  fontFamily: "font-family",
3046
- bold: "bold",
3047
- textAlign: "textAlign"
3019
+ bold: "bold"
3048
3020
  };
3049
3021
  const linkedStyles = this.activeEditor.converter?.linkedStyles.find(
3050
- (style) => style.id === styleIdMark.attrs.styleId
3022
+ (style) => style.id === paragraphProps.styleId
3051
3023
  );
3052
3024
  if (linkedStyles && linkedStyles.definition && linkedStyles.definition.styles && markToStyleMap[item.name.value] in linkedStyles.definition.styles) {
3053
3025
  const linkedStylesItem = linkedStyles.definition.styles[markToStyleMap[item.name.value]];
@@ -3057,18 +3029,27 @@ class SuperToolbar extends EventEmitter {
3057
3029
  item.activate(value);
3058
3030
  }
3059
3031
  }
3060
- const spacingAttr = marks.find((mark) => mark.name === "spacing");
3061
- if (item.name.value === "lineHeight" && (activeMark?.attrs?.lineHeight || spacingAttr)) {
3062
- item.selectedValue.value = activeMark?.attrs?.lineHeight || spacingAttr.attrs?.spacing?.line || "";
3032
+ if (item.name.value === "textAlign" && paragraphProps?.justification) {
3033
+ item.activate({ textAlign: paragraphProps.justification });
3034
+ }
3035
+ if (item.name.value === "lineHeight") {
3036
+ if (paragraphProps?.spacing) {
3037
+ item.selectedValue.value = twipsToLines(paragraphProps.spacing.line);
3038
+ } else {
3039
+ item.selectedValue.value = "";
3040
+ }
3063
3041
  }
3064
3042
  if (item.name.value === "tableActions") {
3065
3043
  item.disabled.value = !inTable;
3066
3044
  }
3067
- const listNumberingType = marks.find((mark) => mark.name === "listNumberingType")?.attrs?.listNumberingType;
3068
- if (item.name.value === "list" && listNumberingType === "bullet") {
3069
- item.activate();
3070
- } else if (item.name.value === "numberedlist" && listNumberingType && listNumberingType !== "bullet") {
3071
- item.activate();
3045
+ const listParent = isList(paragraphParent?.node) ? paragraphParent.node : null;
3046
+ if (listParent) {
3047
+ const numberingType = listParent.attrs.listRendering.numberingType;
3048
+ if (item.name.value === "list" && numberingType === "bullet") {
3049
+ item.activate();
3050
+ } else if (item.name.value === "numberedlist" && numberingType !== "bullet") {
3051
+ item.activate();
3052
+ }
3072
3053
  }
3073
3054
  });
3074
3055
  }
@@ -3624,7 +3605,7 @@ async function getEditorContext(editor, event) {
3624
3605
  const clipboardContent = normalizeClipboardContent(rawClipboardContent);
3625
3606
  const structureFromResolvedPos = pos !== null ? getStructureFromResolvedPos(state, pos) : null;
3626
3607
  const isInTable2 = structureFromResolvedPos?.isInTable ?? selectionHasNodeOrMark(state, "table", { requireEnds: true });
3627
- const isInList = structureFromResolvedPos?.isInList ?? (selectionHasNodeOrMark(state, "bulletList", { requireEnds: false }) || selectionHasNodeOrMark(state, "orderedList", { requireEnds: false }));
3608
+ const isInList = structureFromResolvedPos?.isInList ?? selectionIncludesListParagraph(state);
3628
3609
  const isInSectionNode = structureFromResolvedPos?.isInSectionNode ?? selectionHasNodeOrMark(state, "documentSection", { requireEnds: true });
3629
3610
  const currentNodeType = node?.type?.name || null;
3630
3611
  const activeMarks = [];
@@ -3752,16 +3733,51 @@ function computeCanRedo(editor, state) {
3752
3733
  function isCollaborationEnabled(editor) {
3753
3734
  return Boolean(editor?.options?.collaborationProvider && editor?.options?.ydoc);
3754
3735
  }
3736
+ function selectionIncludesListParagraph(state) {
3737
+ const { $from, $to, from, to } = state.selection;
3738
+ const hasListInResolvedPos = ($pos) => {
3739
+ for (let depth = $pos.depth; depth > 0; depth--) {
3740
+ if (isList($pos.node(depth))) {
3741
+ return true;
3742
+ }
3743
+ }
3744
+ return false;
3745
+ };
3746
+ if (hasListInResolvedPos($from) || hasListInResolvedPos($to)) {
3747
+ return true;
3748
+ }
3749
+ let found = false;
3750
+ state.doc.nodesBetween(from, to, (node) => {
3751
+ if (isList(node)) {
3752
+ found = true;
3753
+ return false;
3754
+ }
3755
+ return true;
3756
+ });
3757
+ return found;
3758
+ }
3755
3759
  function getStructureFromResolvedPos(state, pos) {
3756
3760
  try {
3757
3761
  const $pos = state.doc.resolve(pos);
3758
- const ancestors = /* @__PURE__ */ new Set();
3762
+ let isInList = false;
3763
+ let isInTable2 = false;
3764
+ let isInSectionNode = false;
3759
3765
  for (let depth = $pos.depth; depth > 0; depth--) {
3760
- ancestors.add($pos.node(depth).type.name);
3766
+ const node = $pos.node(depth);
3767
+ const name = node.type.name;
3768
+ if (!isInList && isList(node)) {
3769
+ isInList = true;
3770
+ }
3771
+ if (!isInTable2 && (name === "table" || name === "tableRow" || name === "tableCell" || name === "tableHeader")) {
3772
+ isInTable2 = true;
3773
+ }
3774
+ if (!isInSectionNode && name === "documentSection") {
3775
+ isInSectionNode = true;
3776
+ }
3777
+ if (isInList && isInTable2 && isInSectionNode) {
3778
+ break;
3779
+ }
3761
3780
  }
3762
- const isInList = ancestors.has("bulletList") || ancestors.has("orderedList");
3763
- const isInTable2 = ancestors.has("table") || ancestors.has("tableRow") || ancestors.has("tableCell") || ancestors.has("tableHeader");
3764
- const isInSectionNode = ancestors.has("documentSection");
3765
3781
  return {
3766
3782
  isInTable: isInTable2,
3767
3783
  isInList,
@@ -5025,7 +5041,7 @@ const _sfc_main$1 = {
5025
5041
  };
5026
5042
  }
5027
5043
  };
5028
- const SuperEditor = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-cd3558fe"]]);
5044
+ const SuperEditor = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-4615ea7d"]]);
5029
5045
  const _hoisted_1 = ["innerHTML"];
5030
5046
  const _sfc_main = {
5031
5047
  __name: "SuperInput",
@@ -5118,16 +5134,18 @@ const _sfc_main = {
5118
5134
  };
5119
5135
  const SuperInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-4d5cff52"]]);
5120
5136
  const additionalHandlers = Object.freeze({
5121
- "mc:AlternateContent": translator$1h,
5122
- "sd:pageReference": translator$1g,
5123
- "sd:tableOfContents": translator$1f,
5124
- "w:b": translator$1e,
5125
- "w:bidiVisual": translator$1d,
5126
- "w:bookmarkEnd": translator$1c,
5127
- "w:bookmarkStart": translator$1b,
5128
- "w:bottom": translator$1a,
5129
- "w:br": translator$19,
5130
- "w:cantSplit": translator$18,
5137
+ "mc:AlternateContent": translator$1j,
5138
+ "sd:pageReference": translator$1i,
5139
+ "sd:tableOfContents": translator$1h,
5140
+ "w:b": translator$1g,
5141
+ "w:bCs": translator$1f,
5142
+ "w:bidiVisual": translator$1e,
5143
+ "w:bookmarkEnd": translator$1d,
5144
+ "w:bookmarkStart": translator$1c,
5145
+ "w:bottom": translator$1b,
5146
+ "w:br": translator$1a,
5147
+ "w:cantSplit": translator$19,
5148
+ "w:caps": translator$18,
5131
5149
  "w:cnfStyle": translator$17,
5132
5150
  "w:color": translator$16,
5133
5151
  "w:divId": translator$15,
@@ -5204,7 +5222,6 @@ const additionalHandlers = Object.freeze({
5204
5222
  "w:tcPr": translator
5205
5223
  });
5206
5224
  const baseHandlers = {
5207
- ...runPropertyTranslators,
5208
5225
  ...additionalHandlers
5209
5226
  };
5210
5227
  const registeredHandlers = Object.freeze(baseHandlers);
@@ -5221,28 +5238,28 @@ const Extensions = {
5221
5238
  };
5222
5239
  export {
5223
5240
  AIWriter,
5224
- w as AnnotatorHelpers,
5241
+ v as AnnotatorHelpers,
5225
5242
  _sfc_main$4 as BasicUpload,
5226
5243
  C as CommentsPluginKey,
5227
5244
  D as DocxZipper,
5228
5245
  Editor,
5229
5246
  Extensions,
5230
- x as SectionHelpers,
5247
+ w as SectionHelpers,
5231
5248
  _sfc_main$5 as SlashMenu,
5232
- a5 as SuperConverter,
5249
+ aa as SuperConverter,
5233
5250
  SuperEditor,
5234
5251
  SuperInput,
5235
5252
  SuperToolbar,
5236
5253
  Toolbar,
5237
5254
  T as TrackChangesBasePluginKey,
5238
5255
  createZip,
5239
- t as fieldAnnotationHelpers,
5256
+ q as fieldAnnotationHelpers,
5240
5257
  getActiveFormatting,
5241
- z as getAllowedImageDimensions,
5258
+ x as getAllowedImageDimensions,
5242
5259
  i as getMarksFromSelection,
5243
5260
  getRichTextExtensions,
5244
5261
  getStarterExtensions,
5245
- a2 as helpers,
5262
+ a7 as helpers,
5246
5263
  registeredHandlers,
5247
- v as trackChangesHelpers
5264
+ t as trackChangesHelpers
5248
5265
  };
@@ -1,6 +1,6 @@
1
1
  import "vue";
2
- import { T } from "./chunks/toolbar-B_JCu51N.js";
3
- import "./chunks/editor-gAS774Lu.js";
2
+ import { T } from "./chunks/toolbar-BaP8H6Xj.js";
3
+ import "./chunks/editor-gwZbOsYI.js";
4
4
  export {
5
5
  T as default
6
6
  };
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const superEditor_es = require("./chunks/super-editor.es-DEg3G86J.cjs");
4
- require("./chunks/vue-Cwv-wUpm.cjs");
3
+ const superEditor_es = require("./chunks/super-editor.es-Bw2oizFn.cjs");
4
+ require("./chunks/vue-ARQSyfaw.cjs");
5
5
  exports.AIWriter = superEditor_es.AIWriter;
6
6
  exports.AnnotatorHelpers = superEditor_es.AnnotatorHelpers;
7
7
  exports.BasicUpload = superEditor_es._sfc_main$4;
@@ -1,5 +1,5 @@
1
- import { A, a, _, C, D, E, b, S, c, d, e, f, g, T, h, i, j, k, l, m, n, o, p, r, q } from "./chunks/super-editor.es-DOLpHa0H.es.js";
2
- import "./chunks/vue-CKmzTNVs.es.js";
1
+ import { A, a, _, C, D, E, b, S, c, d, e, f, g, T, h, i, j, k, l, m, n, o, p, r, q } from "./chunks/super-editor.es-Czw1Kou3.es.js";
2
+ import "./chunks/vue-B5QAf5pA.es.js";
3
3
  export {
4
4
  A as AIWriter,
5
5
  a as AnnotatorHelpers,
package/dist/superdoc.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const superEditor_es = require("./chunks/super-editor.es-DEg3G86J.cjs");
4
- const superdoc = require("./chunks/index-DyWNiAwo.cjs");
3
+ const superEditor_es = require("./chunks/super-editor.es-Bw2oizFn.cjs");
4
+ const superdoc = require("./chunks/index-oP5zcbE3.cjs");
5
5
  const blankDocx = require("./chunks/blank-docx-DfW3Eeh2.cjs");
6
6
  exports.AnnotatorHelpers = superEditor_es.AnnotatorHelpers;
7
7
  exports.Editor = superEditor_es.Editor;
@@ -1,5 +1,5 @@
1
- import { a, E, b, S, d, i, j, n, r, p, q } from "./chunks/super-editor.es-DOLpHa0H.es.js";
2
- import { D, H, P, S as S2, m, l } from "./chunks/index-DzCRau8t.es.js";
1
+ import { a, E, b, S, d, i, j, n, r, p, q } from "./chunks/super-editor.es-Czw1Kou3.es.js";
2
+ import { D, H, P, S as S2, m, l } from "./chunks/index-CT38NQEE.es.js";
3
3
  import { B } from "./chunks/blank-docx-ABm6XYAA.es.js";
4
4
  export {
5
5
  a as AnnotatorHelpers,