superdoc 0.32.0-beta.1 → 0.32.0

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 (676) hide show
  1. package/dist/chunks/{PdfViewer-DDCKVOWx.es.js → PdfViewer-CpQ_OWRv.es.js} +2 -2
  2. package/dist/chunks/{PdfViewer--8MSSwM3.cjs → PdfViewer-QzQEYHdX.cjs} +2 -2
  3. package/dist/chunks/{eventemitter3-CFCpOk3d.cjs → eventemitter3-DmHNHvFX.cjs} +1 -1
  4. package/dist/chunks/{eventemitter3-BZXKb7j7.es.js → eventemitter3-hYlnBzSA.es.js} +1 -1
  5. package/dist/chunks/{index-Dn6V09b9.es.js → index-CJx0k29h.es.js} +9 -10
  6. package/dist/chunks/{index-BgFyS1or-BMypHAzL.es.js → index-CU6UYFpC-4xQrsffR.es.js} +1 -1
  7. package/dist/chunks/{index-BgFyS1or-CON4RVV6.cjs → index-CU6UYFpC-BM1JiiBo.cjs} +1 -1
  8. package/dist/chunks/{index-CABhc08d.cjs → index-CwNFCyOW.cjs} +9 -10
  9. package/dist/chunks/{jszip-B99MTu59.cjs → jszip-BP2FTbpi.cjs} +1 -1
  10. package/dist/chunks/{jszip-Duxs2YMV.es.js → jszip-jKrsZoMS.es.js} +1 -1
  11. package/dist/chunks/{super-editor.es-CmOxHBFk.cjs → super-editor.es-1Ou0U_Rs.cjs} +19628 -18023
  12. package/dist/chunks/{super-editor.es-Bqyg3_Z4.es.js → super-editor.es-CQkIaDkE.es.js} +19581 -17976
  13. package/dist/chunks/{vue-B5QAf5pA.es.js → vue-CKmzTNVs.es.js} +1379 -1420
  14. package/dist/chunks/{vue-ARQSyfaw.cjs → vue-Cwv-wUpm.cjs} +1379 -1420
  15. package/dist/chunks/xml-js-BSDu25I7.cjs +3 -0
  16. package/dist/chunks/xml-js-CBrRls0f.es.js +2 -0
  17. package/dist/packages/superdoc/src/core/SuperDoc.d.ts +52 -140
  18. package/dist/packages/superdoc/src/core/SuperDoc.d.ts.map +1 -1
  19. package/dist/packages/superdoc/src/core/types/index.d.ts +52 -140
  20. package/dist/packages/superdoc/src/core/types/index.d.ts.map +1 -1
  21. package/dist/packages/superdoc/src/stores/comments-store.d.ts.map +1 -1
  22. package/dist/shared/common/Telemetry.d.ts +237 -0
  23. package/dist/shared/common/Telemetry.d.ts.map +1 -0
  24. package/dist/shared/common/collaboration/awareness.d.ts +39 -0
  25. package/dist/shared/common/collaboration/awareness.d.ts.map +1 -0
  26. package/dist/shared/common/document-types.d.ts +10 -0
  27. package/dist/shared/common/document-types.d.ts.map +1 -0
  28. package/dist/shared/common/event-types.d.ts +14 -0
  29. package/dist/shared/common/event-types.d.ts.map +1 -0
  30. package/dist/shared/common/helpers/compare-superdoc-versions.d.ts +8 -0
  31. package/dist/shared/common/helpers/compare-superdoc-versions.d.ts.map +1 -0
  32. package/dist/shared/common/helpers/get-file-object.d.ts +50 -0
  33. package/dist/shared/common/helpers/get-file-object.d.ts.map +1 -0
  34. package/dist/shared/common/helpers/v-click-outside.d.ts +11 -0
  35. package/dist/shared/common/helpers/v-click-outside.d.ts.map +1 -0
  36. package/dist/shared/common/index.d.ts +10 -0
  37. package/dist/shared/common/index.d.ts.map +1 -0
  38. package/dist/shared/common/key-transform.d.ts +44 -0
  39. package/dist/shared/common/key-transform.d.ts.map +1 -0
  40. package/dist/style.css +40 -21
  41. package/dist/super-editor/ai-writer.es.js +2 -2
  42. package/dist/super-editor/chunks/{converter-GmnA1V24.js → converter-vn3e6hdV.js} +13468 -13192
  43. package/dist/super-editor/chunks/{docx-zipper-JqSwrxHZ.js → docx-zipper-qlZdemqw.js} +1 -1
  44. package/dist/super-editor/chunks/{editor-U5Zs1FK0.js → editor-kiYjcll8.js} +6071 -4714
  45. package/dist/super-editor/chunks/{index-BgFyS1or.js → index-CU6UYFpC.js} +1 -1
  46. package/dist/super-editor/chunks/{toolbar-BPr_n6-M.js → toolbar-Bvg7Oblw.js} +2 -2
  47. package/dist/super-editor/converter.es.js +2 -2
  48. package/dist/super-editor/docx-zipper.es.js +2 -2
  49. package/dist/super-editor/editor.es.js +3 -3
  50. package/dist/super-editor/file-zipper.es.js +1 -1
  51. package/dist/super-editor/style.css +40 -21
  52. package/dist/super-editor/super-editor/src/components/slash-menu/utils.d.ts.map +1 -1
  53. package/dist/super-editor/super-editor/src/components/toolbar/defaultItems.d.ts.map +1 -1
  54. package/dist/super-editor/super-editor/src/components/toolbar/super-toolbar.d.ts.map +1 -1
  55. package/dist/super-editor/super-editor/src/core/Attribute.d.ts +29 -75
  56. package/dist/super-editor/super-editor/src/core/Attribute.d.ts.map +1 -1
  57. package/dist/super-editor/super-editor/src/core/CommandService.d.ts +1 -1
  58. package/dist/super-editor/super-editor/src/core/CommandService.d.ts.map +1 -1
  59. package/dist/super-editor/super-editor/src/core/Editor.d.ts +673 -145
  60. package/dist/super-editor/super-editor/src/core/Editor.d.ts.map +1 -1
  61. package/dist/super-editor/super-editor/src/core/EventEmitter.d.ts +14 -23
  62. package/dist/super-editor/super-editor/src/core/EventEmitter.d.ts.map +1 -1
  63. package/dist/super-editor/super-editor/src/core/Extension.d.ts +11 -25
  64. package/dist/super-editor/super-editor/src/core/Extension.d.ts.map +1 -1
  65. package/dist/super-editor/super-editor/src/core/ExtensionService.d.ts +1 -1
  66. package/dist/super-editor/super-editor/src/core/ExtensionService.d.ts.map +1 -1
  67. package/dist/super-editor/super-editor/src/core/InputRule.d.ts.map +1 -1
  68. package/dist/super-editor/super-editor/src/core/Mark.d.ts +12 -28
  69. package/dist/super-editor/super-editor/src/core/Mark.d.ts.map +1 -1
  70. package/dist/super-editor/super-editor/src/core/Node.d.ts +25 -87
  71. package/dist/super-editor/super-editor/src/core/Node.d.ts.map +1 -1
  72. package/dist/super-editor/super-editor/src/core/OxmlNode.d.ts +13 -20
  73. package/dist/super-editor/super-editor/src/core/OxmlNode.d.ts.map +1 -1
  74. package/dist/super-editor/super-editor/src/core/Schema.d.ts.map +1 -1
  75. package/dist/super-editor/super-editor/src/core/commands/__tests__/schemaWithLists.d.ts +1 -1
  76. package/dist/super-editor/super-editor/src/core/commands/backspaceNextToList.d.ts +6 -0
  77. package/dist/super-editor/super-editor/src/core/commands/backspaceNextToList.d.ts.map +1 -0
  78. package/dist/super-editor/super-editor/src/core/commands/decreaseListIndent.d.ts +1 -1
  79. package/dist/super-editor/super-editor/src/core/commands/decreaseListIndent.d.ts.map +1 -1
  80. package/dist/super-editor/super-editor/src/core/commands/deleteListItem.d.ts +2 -0
  81. package/dist/super-editor/super-editor/src/core/commands/deleteListItem.d.ts.map +1 -0
  82. package/dist/super-editor/super-editor/src/core/commands/deleteNextToList.d.ts +15 -0
  83. package/dist/super-editor/super-editor/src/core/commands/deleteNextToList.d.ts.map +1 -0
  84. package/dist/super-editor/super-editor/src/core/commands/increaseListIndent.d.ts +1 -2
  85. package/dist/super-editor/super-editor/src/core/commands/increaseListIndent.d.ts.map +1 -1
  86. package/dist/super-editor/super-editor/src/core/commands/index.d.ts +7 -4
  87. package/dist/super-editor/super-editor/src/core/commands/liftListItem.d.ts +5 -0
  88. package/dist/super-editor/super-editor/src/core/commands/liftListItem.d.ts.map +1 -0
  89. package/dist/super-editor/super-editor/src/core/commands/list-helpers/is-list.d.ts +1 -1
  90. package/dist/super-editor/super-editor/src/core/commands/list-helpers/is-list.d.ts.map +1 -1
  91. package/dist/super-editor/super-editor/src/core/commands/list-helpers/list-indent-helpers.d.ts +1 -0
  92. package/dist/super-editor/super-editor/src/core/commands/list-helpers/list-indent-helpers.d.ts.map +1 -1
  93. package/dist/super-editor/super-editor/src/core/commands/resetAttributes.d.ts.map +1 -1
  94. package/dist/super-editor/super-editor/src/core/commands/sinkListItem.d.ts +5 -0
  95. package/dist/super-editor/super-editor/src/core/commands/sinkListItem.d.ts.map +1 -0
  96. package/dist/super-editor/super-editor/src/core/commands/splitBlock.d.ts +1 -2
  97. package/dist/super-editor/super-editor/src/core/commands/splitBlock.d.ts.map +1 -1
  98. package/dist/super-editor/super-editor/src/core/commands/splitListItem.d.ts +2 -0
  99. package/dist/super-editor/super-editor/src/core/commands/splitListItem.d.ts.map +1 -0
  100. package/dist/super-editor/super-editor/src/core/commands/tests/test-schema.d.ts +1 -1
  101. package/dist/super-editor/super-editor/src/core/commands/toggleList.d.ts +56 -6
  102. package/dist/super-editor/super-editor/src/core/commands/toggleList.d.ts.map +1 -1
  103. package/dist/super-editor/super-editor/src/core/commands/types/index.d.ts +89 -11
  104. package/dist/super-editor/super-editor/src/core/commands/types/index.d.ts.map +1 -1
  105. package/dist/super-editor/super-editor/src/core/commands/updateAttributes.d.ts +4 -4
  106. package/dist/super-editor/super-editor/src/core/commands/updateAttributes.d.ts.map +1 -1
  107. package/dist/super-editor/super-editor/src/core/commands/wrapInList.d.ts +5 -0
  108. package/dist/super-editor/super-editor/src/core/commands/wrapInList.d.ts.map +1 -0
  109. package/dist/super-editor/super-editor/src/core/extensions/commands.d.ts +1 -1
  110. package/dist/super-editor/super-editor/src/core/extensions/commands.d.ts.map +1 -1
  111. package/dist/super-editor/super-editor/src/core/extensions/editable.d.ts +1 -1
  112. package/dist/super-editor/super-editor/src/core/extensions/editable.d.ts.map +1 -1
  113. package/dist/super-editor/super-editor/src/core/extensions/editorFocus.d.ts +1 -1
  114. package/dist/super-editor/super-editor/src/core/extensions/editorFocus.d.ts.map +1 -1
  115. package/dist/super-editor/super-editor/src/core/extensions/keymap.d.ts +1 -1
  116. package/dist/super-editor/super-editor/src/core/extensions/keymap.d.ts.map +1 -1
  117. package/dist/super-editor/super-editor/src/core/helpers/annotator.d.ts +2 -3
  118. package/dist/super-editor/super-editor/src/core/helpers/annotator.d.ts.map +1 -1
  119. package/dist/super-editor/super-editor/src/core/helpers/contentProcessor.d.ts +3 -3
  120. package/dist/super-editor/super-editor/src/core/helpers/createNodeFromContent.d.ts +2 -2
  121. package/dist/super-editor/super-editor/src/core/helpers/createNodeFromContent.d.ts.map +1 -1
  122. package/dist/super-editor/super-editor/src/core/helpers/getExtensionConfigField.d.ts +5 -12
  123. package/dist/super-editor/super-editor/src/core/helpers/getExtensionConfigField.d.ts.map +1 -1
  124. package/dist/super-editor/super-editor/src/core/helpers/importHtml.d.ts +2 -2
  125. package/dist/super-editor/super-editor/src/core/helpers/importHtml.d.ts.map +1 -1
  126. package/dist/super-editor/super-editor/src/core/helpers/importMarkdown.d.ts +2 -2
  127. package/dist/super-editor/super-editor/src/core/helpers/isList.d.ts +1 -1
  128. package/dist/super-editor/super-editor/src/core/helpers/isList.d.ts.map +1 -1
  129. package/dist/super-editor/super-editor/src/core/helpers/list-numbering-helpers.d.ts +42 -15
  130. package/dist/super-editor/super-editor/src/core/helpers/list-numbering-helpers.d.ts.map +1 -1
  131. package/dist/super-editor/super-editor/src/core/helpers/orderedListUtils.d.ts.map +1 -1
  132. package/dist/super-editor/super-editor/src/core/helpers/pasteListHelpers.d.ts +0 -2
  133. package/dist/super-editor/super-editor/src/core/helpers/pasteListHelpers.d.ts.map +1 -1
  134. package/dist/super-editor/super-editor/src/core/index.d.ts +13 -18
  135. package/dist/super-editor/super-editor/src/core/index.d.ts.map +1 -1
  136. package/dist/super-editor/super-editor/src/core/inputRules/docx-paste/docx-paste.d.ts.map +1 -1
  137. package/dist/super-editor/super-editor/src/core/inputRules/html/html-helpers.d.ts +5 -2
  138. package/dist/super-editor/super-editor/src/core/inputRules/html/html-helpers.d.ts.map +1 -1
  139. package/dist/super-editor/super-editor/src/core/super-converter/SuperConverter.d.ts.map +1 -1
  140. package/dist/super-editor/super-editor/src/core/super-converter/exporter.d.ts +48 -0
  141. package/dist/super-editor/super-editor/src/core/super-converter/exporter.d.ts.map +1 -1
  142. package/dist/super-editor/super-editor/src/core/super-converter/helpers.d.ts +0 -9
  143. package/dist/super-editor/super-editor/src/core/super-converter/helpers.d.ts.map +1 -1
  144. package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/autoPageNumberImporter.d.ts.map +1 -1
  145. package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/docxImporter.d.ts +1 -3
  146. package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/docxImporter.d.ts.map +1 -1
  147. package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/listImporter.d.ts +97 -0
  148. package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/listImporter.d.ts.map +1 -1
  149. package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/markImporter.d.ts +1 -12
  150. package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/markImporter.d.ts.map +1 -1
  151. package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/trackChangesImporter.d.ts.map +1 -1
  152. package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/types/index.d.ts +0 -4
  153. package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/types/index.d.ts.map +1 -1
  154. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/index.d.ts.map +1 -1
  155. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/utils.d.ts +4 -30
  156. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/utils.d.ts.map +1 -1
  157. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/b/attributes/index.d.ts +4 -0
  158. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/b/attributes/index.d.ts.map +1 -0
  159. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/b/attributes/w-val.d.ts +5 -0
  160. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/b/attributes/w-val.d.ts.map +1 -0
  161. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/b/b-translator.d.ts +2 -1
  162. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/b/b-translator.d.ts.map +1 -1
  163. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/caps/caps-translator.d.ts +2 -1
  164. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/caps/caps-translator.d.ts.map +1 -1
  165. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/index.d.ts +3 -0
  166. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/index.d.ts.map +1 -0
  167. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/w-theme-color.d.ts +5 -0
  168. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/w-theme-color.d.ts.map +1 -0
  169. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/w-theme-shade.d.ts +5 -0
  170. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/w-theme-shade.d.ts.map +1 -0
  171. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/w-theme-tint.d.ts +5 -0
  172. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/w-theme-tint.d.ts.map +1 -0
  173. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/w-val.d.ts +5 -0
  174. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/attributes/w-val.d.ts.map +1 -0
  175. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/color-translator.d.ts +2 -1
  176. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/color/color-translator.d.ts.map +1 -1
  177. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/del/del-translator.d.ts.map +1 -1
  178. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/headers/headers-translator.d.ts +2 -0
  179. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/headers/headers-translator.d.ts.map +1 -1
  180. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/i/attributes/index.d.ts +3 -0
  181. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/i/attributes/index.d.ts.map +1 -0
  182. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/i/attributes/w-val.d.ts +5 -0
  183. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/i/attributes/w-val.d.ts.map +1 -0
  184. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/i/i-translator.d.ts +2 -1
  185. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/i/i-translator.d.ts.map +1 -1
  186. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/ins/ins-translator.d.ts.map +1 -1
  187. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/index.d.ts +1 -0
  188. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/legacy-handle-paragraph-node.d.ts.map +1 -1
  189. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/w-p-helpers.d.ts +5 -0
  190. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/w-p-helpers.d.ts.map +1 -0
  191. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pict/helpers/handle-v-rect-import.d.ts +1 -1
  192. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pict/helpers/handle-v-rect-import.d.ts.map +1 -1
  193. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/r/helpers/helpers.d.ts +37 -1
  194. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/r/helpers/helpers.d.ts.map +1 -1
  195. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/r/helpers/index.d.ts +1 -0
  196. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/r/helpers/split-run-properties.d.ts +10 -0
  197. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/r/helpers/split-run-properties.d.ts.map +1 -0
  198. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/r/r-translator.d.ts.map +1 -1
  199. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/index.d.ts +3 -0
  200. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/index.d.ts.map +1 -0
  201. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-ascii.d.ts +5 -0
  202. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-ascii.d.ts.map +1 -0
  203. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-cs.d.ts +5 -0
  204. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-cs.d.ts.map +1 -0
  205. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-east-asia.d.ts +5 -0
  206. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-east-asia.d.ts.map +1 -0
  207. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-hansi.d.ts +5 -0
  208. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-hansi.d.ts.map +1 -0
  209. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-val.d.ts +5 -0
  210. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/attributes/w-val.d.ts.map +1 -0
  211. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/rFonts-translator.d.ts +0 -1
  212. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rFonts/rFonts-translator.d.ts.map +1 -1
  213. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rStyle/attributes/index.d.ts +3 -0
  214. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rStyle/attributes/index.d.ts.map +1 -0
  215. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rStyle/attributes/w-val.d.ts +5 -0
  216. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rStyle/attributes/w-val.d.ts.map +1 -0
  217. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rStyle/rstyle-translator.d.ts +2 -1
  218. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rStyle/rstyle-translator.d.ts.map +1 -1
  219. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rpr/rpr-translator.d.ts +0 -2
  220. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rpr/rpr-translator.d.ts.map +1 -1
  221. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rpr/run-property-translators.d.ts +12 -0
  222. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/rpr/run-property-translators.d.ts.map +1 -0
  223. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sdt/helpers/translate-field-annotation.d.ts.map +1 -1
  224. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/strike/attributes/index.d.ts +3 -0
  225. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/strike/attributes/index.d.ts.map +1 -0
  226. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/strike/attributes/w-val.d.ts +5 -0
  227. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/strike/attributes/w-val.d.ts.map +1 -0
  228. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/strike/strike-translator.d.ts +2 -1
  229. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/strike/strike-translator.d.ts.map +1 -1
  230. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sz/attributes/index.d.ts +3 -0
  231. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sz/attributes/index.d.ts.map +1 -0
  232. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sz/attributes/w-val.d.ts +5 -0
  233. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sz/attributes/w-val.d.ts.map +1 -0
  234. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sz/sz-translator.d.ts +3 -5
  235. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sz/sz-translator.d.ts.map +1 -1
  236. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/szcs/szcs-translator.d.ts +3 -5
  237. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/szcs/szcs-translator.d.ts.map +1 -1
  238. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tab/attributes/w-tab-pos.d.ts +1 -1
  239. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tab/attributes/w-tab-pos.d.ts.map +1 -1
  240. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tab/attributes/{w-tab-type.d.ts → w-tab-size.d.ts} +1 -1
  241. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tab/attributes/w-tab-size.d.ts.map +1 -0
  242. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tab/tab-translator.d.ts.map +1 -1
  243. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tbl/tbl-translator.d.ts +10 -14
  244. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tbl/tbl-translator.d.ts.map +1 -1
  245. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tblGrid/tblGrid-translator.d.ts.map +1 -1
  246. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tr/tr-translator.d.ts.map +1 -1
  247. package/dist/super-editor/super-editor/src/core/utilities/callOrGet.d.ts +2 -6
  248. package/dist/super-editor/super-editor/src/core/utilities/callOrGet.d.ts.map +1 -1
  249. package/dist/super-editor/super-editor/src/core/utilities/deleteProps.d.ts.map +1 -1
  250. package/dist/super-editor/super-editor/src/core/utilities/isIOS.d.ts.map +1 -1
  251. package/dist/super-editor/super-editor/src/extensions/ai/ai-marks.d.ts +2 -8
  252. package/dist/super-editor/super-editor/src/extensions/ai/ai-marks.d.ts.map +1 -1
  253. package/dist/super-editor/super-editor/src/extensions/ai/ai-nodes.d.ts +1 -7
  254. package/dist/super-editor/super-editor/src/extensions/ai/ai-nodes.d.ts.map +1 -1
  255. package/dist/super-editor/super-editor/src/extensions/ai/ai-plugin.d.ts +1 -1
  256. package/dist/super-editor/super-editor/src/extensions/ai/ai-plugin.d.ts.map +1 -1
  257. package/dist/super-editor/super-editor/src/extensions/block-node/block-node.d.ts +1 -1
  258. package/dist/super-editor/super-editor/src/extensions/block-node/block-node.d.ts.map +1 -1
  259. package/dist/super-editor/super-editor/src/extensions/bold/bold.d.ts +1 -3
  260. package/dist/super-editor/super-editor/src/extensions/bold/bold.d.ts.map +1 -1
  261. package/dist/super-editor/super-editor/src/extensions/bookmarks/bookmark-end.d.ts +1 -1
  262. package/dist/super-editor/super-editor/src/extensions/bookmarks/bookmark-end.d.ts.map +1 -1
  263. package/dist/super-editor/super-editor/src/extensions/bookmarks/bookmark-start.d.ts +1 -1
  264. package/dist/super-editor/super-editor/src/extensions/bookmarks/bookmark-start.d.ts.map +1 -1
  265. package/dist/super-editor/super-editor/src/extensions/bullet-list/bullet-list.d.ts +15 -0
  266. package/dist/super-editor/super-editor/src/extensions/bullet-list/bullet-list.d.ts.map +1 -0
  267. package/dist/super-editor/super-editor/src/extensions/bullet-list/index.d.ts +2 -0
  268. package/dist/super-editor/super-editor/src/extensions/bullet-list/index.d.ts.map +1 -0
  269. package/dist/super-editor/super-editor/src/extensions/collaboration/collaboration-helpers.d.ts.map +1 -1
  270. package/dist/super-editor/super-editor/src/extensions/collaboration/collaboration.d.ts +1 -6
  271. package/dist/super-editor/super-editor/src/extensions/collaboration/collaboration.d.ts.map +1 -1
  272. package/dist/super-editor/super-editor/src/extensions/collaboration-cursor/collaboration-cursor.d.ts +1 -9
  273. package/dist/super-editor/super-editor/src/extensions/collaboration-cursor/collaboration-cursor.d.ts.map +1 -1
  274. package/dist/super-editor/super-editor/src/extensions/color/color.d.ts +1 -3
  275. package/dist/super-editor/super-editor/src/extensions/color/color.d.ts.map +1 -1
  276. package/dist/super-editor/super-editor/src/extensions/comment/comment.d.ts +3 -18
  277. package/dist/super-editor/super-editor/src/extensions/comment/comment.d.ts.map +1 -1
  278. package/dist/super-editor/super-editor/src/extensions/comment/comments-marks.d.ts +1 -5
  279. package/dist/super-editor/super-editor/src/extensions/comment/comments-marks.d.ts.map +1 -1
  280. package/dist/super-editor/super-editor/src/extensions/comment/comments-plugin.d.ts +1 -1
  281. package/dist/super-editor/super-editor/src/extensions/comment/comments-plugin.d.ts.map +1 -1
  282. package/dist/super-editor/super-editor/src/extensions/content-block/content-block.d.ts +1 -1
  283. package/dist/super-editor/super-editor/src/extensions/content-block/content-block.d.ts.map +1 -1
  284. package/dist/super-editor/super-editor/src/extensions/custom-selection/custom-selection.d.ts +1 -1
  285. package/dist/super-editor/super-editor/src/extensions/custom-selection/custom-selection.d.ts.map +1 -1
  286. package/dist/super-editor/super-editor/src/extensions/document/document.d.ts +1 -1
  287. package/dist/super-editor/super-editor/src/extensions/document/document.d.ts.map +1 -1
  288. package/dist/super-editor/super-editor/src/extensions/dropcursor/dropcursor.d.ts +1 -5
  289. package/dist/super-editor/super-editor/src/extensions/dropcursor/dropcursor.d.ts.map +1 -1
  290. package/dist/super-editor/super-editor/src/extensions/field-annotation/cleanup-commands/cleanUpListsWithAnnotations.d.ts.map +1 -1
  291. package/dist/super-editor/super-editor/src/extensions/field-annotation/cleanup-commands/index.d.ts.map +1 -1
  292. package/dist/super-editor/super-editor/src/extensions/field-annotation/field-annotation.d.ts +1 -1
  293. package/dist/super-editor/super-editor/src/extensions/field-annotation/field-annotation.d.ts.map +1 -1
  294. package/dist/super-editor/super-editor/src/extensions/font-family/font-family.d.ts +1 -3
  295. package/dist/super-editor/super-editor/src/extensions/font-family/font-family.d.ts.map +1 -1
  296. package/dist/super-editor/super-editor/src/extensions/font-size/font-size.d.ts +1 -9
  297. package/dist/super-editor/super-editor/src/extensions/font-size/font-size.d.ts.map +1 -1
  298. package/dist/super-editor/super-editor/src/extensions/format-commands/format-commands.d.ts +1 -7
  299. package/dist/super-editor/super-editor/src/extensions/format-commands/format-commands.d.ts.map +1 -1
  300. package/dist/super-editor/super-editor/src/extensions/gapcursor/gapcursor.d.ts +1 -1
  301. package/dist/super-editor/super-editor/src/extensions/gapcursor/gapcursor.d.ts.map +1 -1
  302. package/dist/super-editor/super-editor/src/extensions/heading/heading.d.ts +1 -3
  303. package/dist/super-editor/super-editor/src/extensions/heading/heading.d.ts.map +1 -1
  304. package/dist/super-editor/super-editor/src/extensions/highlight/highlight.d.ts +1 -3
  305. package/dist/super-editor/super-editor/src/extensions/highlight/highlight.d.ts.map +1 -1
  306. package/dist/super-editor/super-editor/src/extensions/history/history.d.ts +1 -4
  307. package/dist/super-editor/super-editor/src/extensions/history/history.d.ts.map +1 -1
  308. package/dist/super-editor/super-editor/src/extensions/image/image.d.ts +1 -1
  309. package/dist/super-editor/super-editor/src/extensions/image/image.d.ts.map +1 -1
  310. package/dist/super-editor/super-editor/src/extensions/index.d.ts +8 -23
  311. package/dist/super-editor/super-editor/src/extensions/index.d.ts.map +1 -1
  312. package/dist/super-editor/super-editor/src/extensions/italic/italic.d.ts +1 -3
  313. package/dist/super-editor/super-editor/src/extensions/italic/italic.d.ts.map +1 -1
  314. package/dist/super-editor/super-editor/src/extensions/line-break/line-break.d.ts +2 -2
  315. package/dist/super-editor/super-editor/src/extensions/line-break/line-break.d.ts.map +1 -1
  316. package/dist/super-editor/super-editor/src/extensions/line-height/index.d.ts +2 -0
  317. package/dist/super-editor/super-editor/src/extensions/line-height/index.d.ts.map +1 -0
  318. package/dist/super-editor/super-editor/src/extensions/line-height/line-height.d.ts +39 -0
  319. package/dist/super-editor/super-editor/src/extensions/line-height/line-height.d.ts.map +1 -0
  320. package/dist/super-editor/super-editor/src/extensions/link/link.d.ts +1 -9
  321. package/dist/super-editor/super-editor/src/extensions/link/link.d.ts.map +1 -1
  322. package/dist/super-editor/super-editor/src/extensions/linked-styles/helpers.d.ts +1 -2
  323. package/dist/super-editor/super-editor/src/extensions/linked-styles/helpers.d.ts.map +1 -1
  324. package/dist/super-editor/super-editor/src/extensions/linked-styles/linked-styles.d.ts +1 -1
  325. package/dist/super-editor/super-editor/src/extensions/linked-styles/linked-styles.d.ts.map +1 -1
  326. package/dist/super-editor/super-editor/src/extensions/linked-styles/plugin.d.ts.map +1 -1
  327. package/dist/super-editor/super-editor/src/extensions/list-item/ListItemNodeView.d.ts +43 -0
  328. package/dist/super-editor/super-editor/src/extensions/list-item/ListItemNodeView.d.ts.map +1 -0
  329. package/dist/super-editor/super-editor/src/extensions/list-item/helpers/listItemTypography.d.ts +68 -0
  330. package/dist/super-editor/super-editor/src/extensions/list-item/helpers/listItemTypography.d.ts.map +1 -0
  331. package/dist/super-editor/super-editor/src/extensions/list-item/helpers/styledListMarkerPlugin.d.ts +13 -0
  332. package/dist/super-editor/super-editor/src/extensions/list-item/helpers/styledListMarkerPlugin.d.ts.map +1 -0
  333. package/dist/super-editor/super-editor/src/extensions/list-item/index.d.ts +2 -0
  334. package/dist/super-editor/super-editor/src/extensions/list-item/index.d.ts.map +1 -0
  335. package/dist/super-editor/super-editor/src/extensions/list-item/list-item.d.ts +51 -0
  336. package/dist/super-editor/super-editor/src/extensions/list-item/list-item.d.ts.map +1 -0
  337. package/dist/super-editor/super-editor/src/extensions/mention/mention.d.ts +1 -6
  338. package/dist/super-editor/super-editor/src/extensions/mention/mention.d.ts.map +1 -1
  339. package/dist/super-editor/super-editor/src/extensions/noderesizer/noderesizer.d.ts +1 -1
  340. package/dist/super-editor/super-editor/src/extensions/noderesizer/noderesizer.d.ts.map +1 -1
  341. package/dist/super-editor/super-editor/src/extensions/ordered-list/helpers/orderedListMarkerPlugin.d.ts +3 -0
  342. package/dist/super-editor/super-editor/src/extensions/ordered-list/helpers/orderedListMarkerPlugin.d.ts.map +1 -0
  343. package/dist/super-editor/super-editor/src/extensions/ordered-list/helpers/orderedListSyncPlugin.d.ts +6 -0
  344. package/dist/super-editor/super-editor/src/extensions/ordered-list/helpers/orderedListSyncPlugin.d.ts.map +1 -0
  345. package/dist/super-editor/super-editor/src/extensions/ordered-list/index.d.ts +2 -0
  346. package/dist/super-editor/super-editor/src/extensions/ordered-list/index.d.ts.map +1 -0
  347. package/dist/super-editor/super-editor/src/extensions/ordered-list/ordered-list.d.ts +38 -0
  348. package/dist/super-editor/super-editor/src/extensions/ordered-list/ordered-list.d.ts.map +1 -0
  349. package/dist/super-editor/super-editor/src/extensions/page-number/page-number.d.ts +2 -2
  350. package/dist/super-editor/super-editor/src/extensions/page-number/page-number.d.ts.map +1 -1
  351. package/dist/super-editor/super-editor/src/extensions/page-reference/page-reference.d.ts +1 -8
  352. package/dist/super-editor/super-editor/src/extensions/page-reference/page-reference.d.ts.map +1 -1
  353. package/dist/super-editor/super-editor/src/extensions/pagination/pagination.d.ts +1 -5
  354. package/dist/super-editor/super-editor/src/extensions/pagination/pagination.d.ts.map +1 -1
  355. package/dist/super-editor/super-editor/src/extensions/paragraph/helpers/getDefaultSpacing.d.ts +4 -4
  356. package/dist/super-editor/super-editor/src/extensions/paragraph/paragraph.d.ts +10 -1
  357. package/dist/super-editor/super-editor/src/extensions/paragraph/paragraph.d.ts.map +1 -1
  358. package/dist/super-editor/super-editor/src/extensions/placeholder/placeholder.d.ts +1 -3
  359. package/dist/super-editor/super-editor/src/extensions/placeholder/placeholder.d.ts.map +1 -1
  360. package/dist/super-editor/super-editor/src/extensions/popover-plugin/popover-plugin.d.ts +1 -1
  361. package/dist/super-editor/super-editor/src/extensions/popover-plugin/popover-plugin.d.ts.map +1 -1
  362. package/dist/super-editor/super-editor/src/extensions/run/commands/split-run.d.ts +0 -1
  363. package/dist/super-editor/super-editor/src/extensions/run/commands/split-run.d.ts.map +1 -1
  364. package/dist/super-editor/super-editor/src/extensions/run/run.d.ts +1 -1
  365. package/dist/super-editor/super-editor/src/extensions/run/run.d.ts.map +1 -1
  366. package/dist/super-editor/super-editor/src/extensions/search/prosemirror-search-patched.d.ts +56 -8
  367. package/dist/super-editor/super-editor/src/extensions/search/prosemirror-search-patched.d.ts.map +1 -1
  368. package/dist/super-editor/super-editor/src/extensions/search/search.d.ts +19 -1
  369. package/dist/super-editor/super-editor/src/extensions/search/search.d.ts.map +1 -1
  370. package/dist/super-editor/super-editor/src/extensions/shape-container/shape-container.d.ts +1 -6
  371. package/dist/super-editor/super-editor/src/extensions/shape-container/shape-container.d.ts.map +1 -1
  372. package/dist/super-editor/super-editor/src/extensions/shape-group/shape-group.d.ts +1 -1
  373. package/dist/super-editor/super-editor/src/extensions/shape-group/shape-group.d.ts.map +1 -1
  374. package/dist/super-editor/super-editor/src/extensions/shape-textbox/shape-textbox.d.ts +1 -6
  375. package/dist/super-editor/super-editor/src/extensions/shape-textbox/shape-textbox.d.ts.map +1 -1
  376. package/dist/super-editor/super-editor/src/extensions/slash-menu/slash-menu.d.ts +1 -1
  377. package/dist/super-editor/super-editor/src/extensions/slash-menu/slash-menu.d.ts.map +1 -1
  378. package/dist/super-editor/super-editor/src/extensions/strike/strike.d.ts +1 -3
  379. package/dist/super-editor/super-editor/src/extensions/strike/strike.d.ts.map +1 -1
  380. package/dist/super-editor/super-editor/src/extensions/structured-content/document-part-object.d.ts +1 -6
  381. package/dist/super-editor/super-editor/src/extensions/structured-content/document-part-object.d.ts.map +1 -1
  382. package/dist/super-editor/super-editor/src/extensions/structured-content/document-section.d.ts +1 -1
  383. package/dist/super-editor/super-editor/src/extensions/structured-content/document-section.d.ts.map +1 -1
  384. package/dist/super-editor/super-editor/src/extensions/structured-content/structured-content-block.d.ts +1 -6
  385. package/dist/super-editor/super-editor/src/extensions/structured-content/structured-content-block.d.ts.map +1 -1
  386. package/dist/super-editor/super-editor/src/extensions/structured-content/structured-content-commands.d.ts +1 -1
  387. package/dist/super-editor/super-editor/src/extensions/structured-content/structured-content-commands.d.ts.map +1 -1
  388. package/dist/super-editor/super-editor/src/extensions/structured-content/structured-content.d.ts +1 -6
  389. package/dist/super-editor/super-editor/src/extensions/structured-content/structured-content.d.ts.map +1 -1
  390. package/dist/super-editor/super-editor/src/extensions/tab/helpers/tabDecorations.d.ts +2 -14
  391. package/dist/super-editor/super-editor/src/extensions/tab/helpers/tabDecorations.d.ts.map +1 -1
  392. package/dist/super-editor/super-editor/src/extensions/tab/tab.d.ts +1 -6
  393. package/dist/super-editor/super-editor/src/extensions/tab/tab.d.ts.map +1 -1
  394. package/dist/super-editor/super-editor/src/extensions/table/TableView.d.ts +1 -7
  395. package/dist/super-editor/super-editor/src/extensions/table/TableView.d.ts.map +1 -1
  396. package/dist/super-editor/super-editor/src/extensions/table/table.d.ts +1 -19
  397. package/dist/super-editor/super-editor/src/extensions/table/table.d.ts.map +1 -1
  398. package/dist/super-editor/super-editor/src/extensions/table-cell/table-cell.d.ts +1 -5
  399. package/dist/super-editor/super-editor/src/extensions/table-cell/table-cell.d.ts.map +1 -1
  400. package/dist/super-editor/super-editor/src/extensions/table-header/table-header.d.ts +1 -5
  401. package/dist/super-editor/super-editor/src/extensions/table-header/table-header.d.ts.map +1 -1
  402. package/dist/super-editor/super-editor/src/extensions/table-of-contents/table-of-contents.d.ts +1 -6
  403. package/dist/super-editor/super-editor/src/extensions/table-of-contents/table-of-contents.d.ts.map +1 -1
  404. package/dist/super-editor/super-editor/src/extensions/table-row/table-row.d.ts +1 -5
  405. package/dist/super-editor/super-editor/src/extensions/table-row/table-row.d.ts.map +1 -1
  406. package/dist/super-editor/super-editor/src/extensions/text/text.d.ts +1 -1
  407. package/dist/super-editor/super-editor/src/extensions/text/text.d.ts.map +1 -1
  408. package/dist/super-editor/super-editor/src/extensions/text-align/text-align.d.ts +12 -3
  409. package/dist/super-editor/super-editor/src/extensions/text-align/text-align.d.ts.map +1 -1
  410. package/dist/super-editor/super-editor/src/extensions/text-indent/index.d.ts +2 -0
  411. package/dist/super-editor/super-editor/src/extensions/text-indent/index.d.ts.map +1 -0
  412. package/dist/super-editor/super-editor/src/extensions/text-indent/text-indent.d.ts +31 -0
  413. package/dist/super-editor/super-editor/src/extensions/text-indent/text-indent.d.ts.map +1 -0
  414. package/dist/super-editor/super-editor/src/extensions/text-style/text-style.d.ts +1 -3
  415. package/dist/super-editor/super-editor/src/extensions/text-style/text-style.d.ts.map +1 -1
  416. package/dist/super-editor/super-editor/src/extensions/text-transform/text-transform.d.ts +1 -3
  417. package/dist/super-editor/super-editor/src/extensions/text-transform/text-transform.d.ts.map +1 -1
  418. package/dist/super-editor/super-editor/src/extensions/track-changes/permission-helpers.d.ts +52 -140
  419. package/dist/super-editor/super-editor/src/extensions/track-changes/permission-helpers.d.ts.map +1 -1
  420. package/dist/super-editor/super-editor/src/extensions/track-changes/track-changes.d.ts +1 -1
  421. package/dist/super-editor/super-editor/src/extensions/track-changes/track-changes.d.ts.map +1 -1
  422. package/dist/super-editor/super-editor/src/extensions/track-changes/track-delete.d.ts +1 -5
  423. package/dist/super-editor/super-editor/src/extensions/track-changes/track-delete.d.ts.map +1 -1
  424. package/dist/super-editor/super-editor/src/extensions/track-changes/track-format.d.ts +1 -5
  425. package/dist/super-editor/super-editor/src/extensions/track-changes/track-format.d.ts.map +1 -1
  426. package/dist/super-editor/super-editor/src/extensions/track-changes/track-insert.d.ts +1 -5
  427. package/dist/super-editor/super-editor/src/extensions/track-changes/track-insert.d.ts.map +1 -1
  428. package/dist/super-editor/super-editor/src/extensions/track-changes/trackChangesHelpers/trackedTransaction.d.ts +1 -5
  429. package/dist/super-editor/super-editor/src/extensions/track-changes/trackChangesHelpers/trackedTransaction.d.ts.map +1 -1
  430. package/dist/super-editor/super-editor/src/extensions/underline/underline.d.ts +1 -3
  431. package/dist/super-editor/super-editor/src/extensions/underline/underline.d.ts.map +1 -1
  432. package/dist/super-editor/super-editor/src/extensions/vector-shape/vector-shape.d.ts +1 -1
  433. package/dist/super-editor/super-editor/src/extensions/vector-shape/vector-shape.d.ts.map +1 -1
  434. package/dist/super-editor/super-editor/src/tests/data/annotations_doc_content.d.ts +61 -113
  435. package/dist/super-editor/super-editor/src/tests/export/export-helpers/export-helpers.d.ts +1 -1
  436. package/dist/super-editor/super-editor/src/tests/export/export-helpers/export-helpers.d.ts.map +1 -1
  437. package/dist/super-editor/super-editor.es.js +110 -127
  438. package/dist/super-editor/toolbar.es.js +2 -2
  439. package/dist/super-editor.cjs +2 -2
  440. package/dist/super-editor.es.js +2 -2
  441. package/dist/superdoc.cjs +2 -2
  442. package/dist/superdoc.es.js +2 -2
  443. package/dist/superdoc.umd.js +23885 -22321
  444. package/dist/superdoc.umd.js.map +1 -1
  445. package/package.json +1 -1
  446. package/dist/chunks/xml-js-CVyfrKaV.es.js +0 -2
  447. package/dist/chunks/xml-js-DQa4Ye5C.cjs +0 -3
  448. package/dist/images/altText_add.svg +0 -3
  449. package/dist/images/altText_disclaimer.svg +0 -3
  450. package/dist/images/altText_done.svg +0 -3
  451. package/dist/images/altText_spinner.svg +0 -30
  452. package/dist/images/altText_warning.svg +0 -3
  453. package/dist/images/annotation-check.svg +0 -11
  454. package/dist/images/annotation-comment.svg +0 -16
  455. package/dist/images/annotation-help.svg +0 -26
  456. package/dist/images/annotation-insert.svg +0 -10
  457. package/dist/images/annotation-key.svg +0 -11
  458. package/dist/images/annotation-newparagraph.svg +0 -11
  459. package/dist/images/annotation-noicon.svg +0 -7
  460. package/dist/images/annotation-note.svg +0 -42
  461. package/dist/images/annotation-paperclip.svg +0 -6
  462. package/dist/images/annotation-paragraph.svg +0 -16
  463. package/dist/images/annotation-pushpin.svg +0 -7
  464. package/dist/images/cursor-editorFreeHighlight.svg +0 -6
  465. package/dist/images/cursor-editorFreeText.svg +0 -3
  466. package/dist/images/cursor-editorInk.svg +0 -4
  467. package/dist/images/cursor-editorTextHighlight.svg +0 -8
  468. package/dist/images/editor-toolbar-delete.svg +0 -5
  469. package/dist/images/loading-icon.gif +0 -0
  470. package/dist/images/messageBar_closingButton.svg +0 -3
  471. package/dist/images/messageBar_warning.svg +0 -3
  472. package/dist/images/toolbarButton-editorHighlight.svg +0 -6
  473. package/dist/images/toolbarButton-menuArrow.svg +0 -3
  474. package/dist/super-editor/super-editor/src/core/commands/changeListLevel.d.ts +0 -15
  475. package/dist/super-editor/super-editor/src/core/commands/changeListLevel.d.ts.map +0 -1
  476. package/dist/super-editor/super-editor/src/core/commands/lineHeight.d.ts +0 -7
  477. package/dist/super-editor/super-editor/src/core/commands/lineHeight.d.ts.map +0 -1
  478. package/dist/super-editor/super-editor/src/core/commands/removeNumberingProperties.d.ts +0 -4
  479. package/dist/super-editor/super-editor/src/core/commands/removeNumberingProperties.d.ts.map +0 -1
  480. package/dist/super-editor/super-editor/src/core/commands/restartNumbering.d.ts +0 -7
  481. package/dist/super-editor/super-editor/src/core/commands/restartNumbering.d.ts.map +0 -1
  482. package/dist/super-editor/super-editor/src/core/commands/textIndent.d.ts +0 -5
  483. package/dist/super-editor/super-editor/src/core/commands/textIndent.d.ts.map +0 -1
  484. package/dist/super-editor/super-editor/src/core/schema-summary.d.ts +0 -4
  485. package/dist/super-editor/super-editor/src/core/schema-summary.d.ts.map +0 -1
  486. package/dist/super-editor/super-editor/src/core/super-converter/styles.d.ts +0 -72
  487. package/dist/super-editor/super-editor/src/core/super-converter/styles.d.ts.map +0 -1
  488. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/sd/autoPageNumber/autoPageNumber-translator.d.ts +0 -8
  489. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/sd/autoPageNumber/autoPageNumber-translator.d.ts.map +0 -1
  490. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/sd/autoPageNumber/index.d.ts +0 -2
  491. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/sd/autoPageNumber/index.d.ts.map +0 -1
  492. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/sd/totalPageNumber/index.d.ts +0 -2
  493. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/sd/totalPageNumber/index.d.ts.map +0 -1
  494. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/sd/totalPageNumber/totalPageNumber-translator.d.ts +0 -8
  495. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/sd/totalPageNumber/totalPageNumber-translator.d.ts.map +0 -1
  496. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/adjustRightInd/adjustRightInd-translator.d.ts +0 -7
  497. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/adjustRightInd/adjustRightInd-translator.d.ts.map +0 -1
  498. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/adjustRightInd/index.d.ts +0 -2
  499. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/adjustRightInd/index.d.ts.map +0 -1
  500. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/autoSpaceDE/autoSpaceDE-translator.d.ts +0 -7
  501. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/autoSpaceDE/autoSpaceDE-translator.d.ts.map +0 -1
  502. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/autoSpaceDE/index.d.ts +0 -2
  503. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/autoSpaceDE/index.d.ts.map +0 -1
  504. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/autoSpaceDN/autoSpaceDN-translator.d.ts +0 -7
  505. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/autoSpaceDN/autoSpaceDN-translator.d.ts.map +0 -1
  506. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/autoSpaceDN/index.d.ts +0 -2
  507. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/autoSpaceDN/index.d.ts.map +0 -1
  508. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bCs/bCs-translator.d.ts +0 -7
  509. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bCs/bCs-translator.d.ts.map +0 -1
  510. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bCs/index.d.ts +0 -2
  511. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bCs/index.d.ts.map +0 -1
  512. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bar/bar-translator.d.ts +0 -7
  513. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bar/bar-translator.d.ts.map +0 -1
  514. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bar/index.d.ts +0 -2
  515. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bar/index.d.ts.map +0 -1
  516. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/between/between-translator.d.ts +0 -7
  517. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/between/between-translator.d.ts.map +0 -1
  518. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/between/index.d.ts +0 -2
  519. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/between/index.d.ts.map +0 -1
  520. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bidi/bidi-translator.d.ts +0 -7
  521. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bidi/bidi-translator.d.ts.map +0 -1
  522. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bidi/index.d.ts +0 -2
  523. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/bidi/index.d.ts.map +0 -1
  524. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/contextualSpacing/contextualSpacing-translator.d.ts +0 -7
  525. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/contextualSpacing/contextualSpacing-translator.d.ts.map +0 -1
  526. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/contextualSpacing/index.d.ts +0 -2
  527. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/contextualSpacing/index.d.ts.map +0 -1
  528. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/dstrike/dstrike-translator.d.ts +0 -7
  529. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/dstrike/dstrike-translator.d.ts.map +0 -1
  530. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/framePr/framePr-translator.d.ts +0 -7
  531. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/framePr/framePr-translator.d.ts.map +0 -1
  532. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/framePr/index.d.ts +0 -2
  533. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/framePr/index.d.ts.map +0 -1
  534. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/ilvl/ilvl-translator.d.ts +0 -7
  535. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/ilvl/ilvl-translator.d.ts.map +0 -1
  536. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/ilvl/index.d.ts +0 -2
  537. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/ilvl/index.d.ts.map +0 -1
  538. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/ind/ind-translator.d.ts +0 -7
  539. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/ind/ind-translator.d.ts.map +0 -1
  540. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/ind/index.d.ts +0 -2
  541. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/ind/index.d.ts.map +0 -1
  542. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/keepLines/index.d.ts +0 -2
  543. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/keepLines/index.d.ts.map +0 -1
  544. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/keepLines/keepLines-translator.d.ts +0 -7
  545. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/keepLines/keepLines-translator.d.ts.map +0 -1
  546. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/keepNext/index.d.ts +0 -2
  547. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/keepNext/index.d.ts.map +0 -1
  548. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/keepNext/keepNext-translator.d.ts +0 -7
  549. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/keepNext/keepNext-translator.d.ts.map +0 -1
  550. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/kinsoku/index.d.ts +0 -2
  551. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/kinsoku/index.d.ts.map +0 -1
  552. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/kinsoku/kinsoku-translator.d.ts +0 -7
  553. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/kinsoku/kinsoku-translator.d.ts.map +0 -1
  554. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/lang/index.d.ts +0 -2
  555. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/lang/index.d.ts.map +0 -1
  556. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/lang/lang-translator.d.ts +0 -7
  557. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/lang/lang-translator.d.ts.map +0 -1
  558. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/mirrorIndents/index.d.ts +0 -2
  559. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/mirrorIndents/index.d.ts.map +0 -1
  560. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/mirrorIndents/mirrorIndents-translator.d.ts +0 -7
  561. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/mirrorIndents/mirrorIndents-translator.d.ts.map +0 -1
  562. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/numId/index.d.ts +0 -2
  563. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/numId/index.d.ts.map +0 -1
  564. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/numId/numId-translator.d.ts +0 -7
  565. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/numId/numId-translator.d.ts.map +0 -1
  566. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/numPr/index.d.ts +0 -2
  567. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/numPr/index.d.ts.map +0 -1
  568. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/numPr/numPr-translator.d.ts +0 -6
  569. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/numPr/numPr-translator.d.ts.map +0 -1
  570. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/outlineLvl/index.d.ts +0 -2
  571. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/outlineLvl/index.d.ts.map +0 -1
  572. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/outlineLvl/outlineLvl-translator.d.ts +0 -7
  573. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/outlineLvl/outlineLvl-translator.d.ts.map +0 -1
  574. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/overflowPunct/index.d.ts +0 -2
  575. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/overflowPunct/index.d.ts.map +0 -1
  576. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/overflowPunct/overflowPunct-translator.d.ts +0 -7
  577. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/overflowPunct/overflowPunct-translator.d.ts.map +0 -1
  578. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/generate-paragraph-properties.d.ts +0 -8
  579. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/generate-paragraph-properties.d.ts.map +0 -1
  580. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/translate-paragraph-node.d.ts +0 -8
  581. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/translate-paragraph-node.d.ts.map +0 -1
  582. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pBdr/index.d.ts +0 -2
  583. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pBdr/index.d.ts.map +0 -1
  584. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pBdr/pBdr-translator.d.ts +0 -6
  585. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pBdr/pBdr-translator.d.ts.map +0 -1
  586. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pPr/index.d.ts +0 -2
  587. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pPr/index.d.ts.map +0 -1
  588. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pPr/pPr-translator.d.ts +0 -6
  589. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pPr/pPr-translator.d.ts.map +0 -1
  590. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pStyle/index.d.ts +0 -2
  591. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pStyle/index.d.ts.map +0 -1
  592. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pStyle/pStyle-translator.d.ts +0 -7
  593. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pStyle/pStyle-translator.d.ts.map +0 -1
  594. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pageBreakBefore/index.d.ts +0 -2
  595. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pageBreakBefore/index.d.ts.map +0 -1
  596. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pageBreakBefore/pageBreakBefore-translator.d.ts +0 -7
  597. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/pageBreakBefore/pageBreakBefore-translator.d.ts.map +0 -1
  598. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sdt/helpers/convert-sdt-content-to-runs.d.ts +0 -7
  599. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sdt/helpers/convert-sdt-content-to-runs.d.ts.map +0 -1
  600. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/snapToGrid/index.d.ts +0 -2
  601. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/snapToGrid/index.d.ts.map +0 -1
  602. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/snapToGrid/snapToGrid-translator.d.ts +0 -7
  603. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/snapToGrid/snapToGrid-translator.d.ts.map +0 -1
  604. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/spacing/index.d.ts +0 -2
  605. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/spacing/index.d.ts.map +0 -1
  606. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/spacing/letter-spacing-translator.d.ts +0 -7
  607. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/spacing/letter-spacing-translator.d.ts.map +0 -1
  608. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/spacing/spacing-translator.d.ts +0 -7
  609. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/spacing/spacing-translator.d.ts.map +0 -1
  610. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressAutoHyphens/index.d.ts +0 -2
  611. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressAutoHyphens/index.d.ts.map +0 -1
  612. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressAutoHyphens/suppressAutoHyphens-translator.d.ts +0 -7
  613. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressAutoHyphens/suppressAutoHyphens-translator.d.ts.map +0 -1
  614. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressLineNumbers/index.d.ts +0 -2
  615. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressLineNumbers/index.d.ts.map +0 -1
  616. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressLineNumbers/suppressLineNumbers-translator.d.ts +0 -7
  617. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressLineNumbers/suppressLineNumbers-translator.d.ts.map +0 -1
  618. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressOverlap/index.d.ts +0 -2
  619. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressOverlap/index.d.ts.map +0 -1
  620. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressOverlap/suppressOverlap-translator.d.ts +0 -7
  621. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/suppressOverlap/suppressOverlap-translator.d.ts.map +0 -1
  622. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/t/helpers/translate-text-node.d.ts +0 -5
  623. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/t/helpers/translate-text-node.d.ts.map +0 -1
  624. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tab/attributes/w-tab-type.d.ts.map +0 -1
  625. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tabs/index.d.ts +0 -2
  626. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tabs/index.d.ts.map +0 -1
  627. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tabs/tabs-translator.d.ts +0 -6
  628. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tabs/tabs-translator.d.ts.map +0 -1
  629. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/textAlignment/index.d.ts +0 -2
  630. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/textAlignment/index.d.ts.map +0 -1
  631. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/textAlignment/textAlignment-translator.d.ts +0 -7
  632. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/textAlignment/textAlignment-translator.d.ts.map +0 -1
  633. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/textboxTightWrap/index.d.ts +0 -2
  634. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/textboxTightWrap/index.d.ts.map +0 -1
  635. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/textboxTightWrap/textboxTightWrap-translator.d.ts +0 -7
  636. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/textboxTightWrap/textboxTightWrap-translator.d.ts.map +0 -1
  637. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/topLinePunct/index.d.ts +0 -2
  638. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/topLinePunct/index.d.ts.map +0 -1
  639. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/topLinePunct/topLinePunct-translator.d.ts +0 -7
  640. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/topLinePunct/topLinePunct-translator.d.ts.map +0 -1
  641. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/widowControl/index.d.ts +0 -2
  642. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/widowControl/index.d.ts.map +0 -1
  643. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/widowControl/widowControl-translator.d.ts +0 -7
  644. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/widowControl/widowControl-translator.d.ts.map +0 -1
  645. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/wordWrap/index.d.ts +0 -2
  646. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/wordWrap/index.d.ts.map +0 -1
  647. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/wordWrap/wordWrap-translator.d.ts +0 -7
  648. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/wordWrap/wordWrap-translator.d.ts.map +0 -1
  649. package/dist/super-editor/super-editor/src/core/types/ChainedCommands.d.ts +0 -118
  650. package/dist/super-editor/super-editor/src/core/types/ChainedCommands.d.ts.map +0 -1
  651. package/dist/super-editor/super-editor/src/core/types/EditorConfig.d.ts +0 -265
  652. package/dist/super-editor/super-editor/src/core/types/EditorConfig.d.ts.map +0 -1
  653. package/dist/super-editor/super-editor/src/core/types/EditorEvents.d.ts +0 -144
  654. package/dist/super-editor/super-editor/src/core/types/EditorEvents.d.ts.map +0 -1
  655. package/dist/super-editor/super-editor/src/core/types/EditorSchema.d.ts +0 -35
  656. package/dist/super-editor/super-editor/src/core/types/EditorSchema.d.ts.map +0 -1
  657. package/dist/super-editor/super-editor/src/core/types/EditorTypes.d.ts +0 -73
  658. package/dist/super-editor/super-editor/src/core/types/EditorTypes.d.ts.map +0 -1
  659. package/dist/super-editor/super-editor/src/core/types/__tests__/command-types.d.ts +0 -2
  660. package/dist/super-editor/super-editor/src/core/types/__tests__/command-types.d.ts.map +0 -1
  661. package/dist/super-editor/super-editor/src/extensions/paragraph/NumberingManager.d.ts +0 -30
  662. package/dist/super-editor/super-editor/src/extensions/paragraph/NumberingManager.d.ts.map +0 -1
  663. package/dist/super-editor/super-editor/src/extensions/paragraph/ParagraphNodeView.d.ts +0 -37
  664. package/dist/super-editor/super-editor/src/extensions/paragraph/ParagraphNodeView.d.ts.map +0 -1
  665. package/dist/super-editor/super-editor/src/extensions/paragraph/dropcapPlugin.d.ts +0 -4
  666. package/dist/super-editor/super-editor/src/extensions/paragraph/dropcapPlugin.d.ts.map +0 -1
  667. package/dist/super-editor/super-editor/src/extensions/paragraph/numberingPlugin.d.ts +0 -9
  668. package/dist/super-editor/super-editor/src/extensions/paragraph/numberingPlugin.d.ts.map +0 -1
  669. package/dist/super-editor/super-editor/src/extensions/paragraph/resolvedPropertiesCache.d.ts +0 -3
  670. package/dist/super-editor/super-editor/src/extensions/paragraph/resolvedPropertiesCache.d.ts.map +0 -1
  671. package/dist/super-editor/super-editor/src/extensions/types/formatting-commands.d.ts +0 -40
  672. package/dist/super-editor/super-editor/src/extensions/types/formatting-commands.d.ts.map +0 -1
  673. package/dist/super-editor/super-editor/src/extensions/types/history-link-table-commands.d.ts +0 -57
  674. package/dist/super-editor/super-editor/src/extensions/types/history-link-table-commands.d.ts.map +0 -1
  675. package/dist/super-editor/super-editor/src/extensions/types/specialized-commands.d.ts +0 -83
  676. package/dist/super-editor/super-editor/src/extensions/types/specialized-commands.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 { 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-GmnA1V24.js";
13
- import { aa, i, a7 } from "./chunks/converter-GmnA1V24.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-U5Zs1FK0.js";
15
- import { v, C, w, T, q, x, t } from "./chunks/editor-U5Zs1FK0.js";
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-vn3e6hdV.js";
13
+ import { a5, i, a2 } from "./chunks/converter-vn3e6hdV.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-kiYjcll8.js";
15
+ import { w, C, x, T, t, z, v } from "./chunks/editor-kiYjcll8.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-BPr_n6-M.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-Bvg7Oblw.js";
18
18
  import AIWriter from "./ai-writer.es.js";
19
- import { D } from "./chunks/docx-zipper-JqSwrxHZ.js";
19
+ import { D } from "./chunks/docx-zipper-qlZdemqw.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, a2, a3, a4, a5) {
83
+ EventEmitter2.prototype.emit = function emit(event, a1, a22, a3, a4, a52) {
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, a2), true;
95
+ return listeners.fn.call(listeners.context, a1, a22), true;
96
96
  case 4:
97
- return listeners.fn.call(listeners.context, a1, a2, a3), true;
97
+ return listeners.fn.call(listeners.context, a1, a22, a3), true;
98
98
  case 5:
99
- return listeners.fn.call(listeners.context, a1, a2, a3, a4), true;
99
+ return listeners.fn.call(listeners.context, a1, a22, a3, a4), true;
100
100
  case 6:
101
- return listeners.fn.call(listeners.context, a1, a2, a3, a4, a5), true;
101
+ return listeners.fn.call(listeners.context, a1, a22, a3, a4, a52), 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, a2);
119
+ listeners[i2].fn.call(listeners[i2].context, a1, a22);
120
120
  break;
121
121
  case 4:
122
- listeners[i2].fn.call(listeners[i2].context, a1, a2, a3);
122
+ listeners[i2].fn.call(listeners[i2].context, a1, a22, a3);
123
123
  break;
124
124
  default:
125
125
  if (!args) for (j = 1, args = new Array(len - 1); j < len; j++) {
@@ -540,7 +540,6 @@ const _sfc_main$c = {
540
540
  moveToPreviousStyle(index);
541
541
  break;
542
542
  case "Enter":
543
- event.preventDefault();
544
543
  select(style);
545
544
  break;
546
545
  }
@@ -572,7 +571,7 @@ const _sfc_main$c = {
572
571
  };
573
572
  }
574
573
  };
575
- const LinkedStyle = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-b53508a8"]]);
574
+ const LinkedStyle = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-9c96d4a1"]]);
576
575
  const _hoisted_1$a = {
577
576
  key: 0,
578
577
  class: "link-title"
@@ -1457,7 +1456,6 @@ const makeDefaultItems = ({
1457
1456
  options: fontOptions,
1458
1457
  onActivate: ({ fontFamily }) => {
1459
1458
  if (!fontFamily) return;
1460
- fontFamily = fontFamily.split(",")[0];
1461
1459
  fontButton.label.value = fontFamily;
1462
1460
  const defaultFont = fontOptions.find((i2) => i2.label === fontButton.defaultLabel.value);
1463
1461
  const foundFont = fontOptions.find((i2) => i2.label === fontFamily);
@@ -2053,6 +2051,9 @@ const makeDefaultItems = ({
2053
2051
  group: "left",
2054
2052
  attributes: {
2055
2053
  ariaLabel: "Undo"
2054
+ },
2055
+ onDeactivate: () => {
2056
+ undo.disabled.value = !superToolbar.undoDepth;
2056
2057
  }
2057
2058
  });
2058
2059
  const redo = useToolbarItem({
@@ -2065,6 +2066,9 @@ const makeDefaultItems = ({
2065
2066
  group: "left",
2066
2067
  attributes: {
2067
2068
  ariaLabel: "Redo"
2069
+ },
2070
+ onDeactivate: () => {
2071
+ redo.disabled.value = !superToolbar.redoDepth;
2068
2072
  }
2069
2073
  });
2070
2074
  const toggleTrackChanges = useToolbarItem({
@@ -2287,10 +2291,10 @@ const makeDefaultItems = ({
2287
2291
  }
2288
2292
  }
2289
2293
  ],
2290
- onActivate: ({ styleId }) => {
2294
+ onActivate: ({ linkedStyleMark }) => {
2291
2295
  const styles = getQuickFormatList(superToolbar.activeEditor);
2292
- const selectedStyle = styles?.find((style) => style.id === styleId);
2293
- linkedStyles.label.value = selectedStyle && selectedStyle.id !== "Normal" ? selectedStyle.definition.attrs.name : toolbarTexts2.formatText;
2296
+ const selectedStyle = styles?.find((style) => style.id === linkedStyleMark?.attrs?.styleId);
2297
+ linkedStyles.label.value = selectedStyle ? selectedStyle.definition.attrs.name : toolbarTexts2.formatText;
2294
2298
  linkedStyles.disabled.value = false;
2295
2299
  },
2296
2300
  onDeactivate: () => {
@@ -2299,7 +2303,7 @@ const makeDefaultItems = ({
2299
2303
  }
2300
2304
  });
2301
2305
  const renderIcon = (value, selectedValue) => {
2302
- if (selectedValue.value != value) return;
2306
+ if (selectedValue.value.toString() !== value) return;
2303
2307
  return h("div", { innerHTML: checkIconSvg, class: "dropdown-select-icon" });
2304
2308
  };
2305
2309
  const lineHeight = useToolbarItem({
@@ -2318,14 +2322,44 @@ const makeDefaultItems = ({
2318
2322
  attributes: {
2319
2323
  ariaLabel: "Line height"
2320
2324
  },
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),
2325
+ options: [
2326
+ {
2327
+ label: "1.0",
2328
+ key: "1",
2329
+ icon: () => renderIcon("1", lineHeight.selectedValue),
2326
2330
  props: { "data-item": "btn-lineHeight-option" }
2327
- };
2328
- })
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),
2360
+ props: { "data-item": "btn-lineHeight-option" }
2361
+ }
2362
+ ]
2329
2363
  });
2330
2364
  const breakpoints = {
2331
2365
  sm: 768,
@@ -2696,9 +2730,11 @@ class SuperToolbar extends EventEmitter {
2696
2730
  * @returns {void}
2697
2731
  */
2698
2732
  increaseTextIndent: ({ item, argument }) => {
2699
- let command = item.command;
2700
- if (this.activeEditor.commands.increaseListIndent?.()) {
2701
- return true;
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);
2702
2738
  }
2703
2739
  if (command in this.activeEditor.commands) {
2704
2740
  this.activeEditor.commands[command](argument);
@@ -2713,8 +2749,10 @@ class SuperToolbar extends EventEmitter {
2713
2749
  */
2714
2750
  decreaseTextIndent: ({ item, argument }) => {
2715
2751
  let command = item.command;
2716
- if (this.activeEditor.commands.decreaseListIndent?.()) {
2717
- return true;
2752
+ let { state } = this.activeEditor;
2753
+ const listItemsInSelection = collectTargetListItemPositions(state);
2754
+ if (listItemsInSelection.length) {
2755
+ return this.activeEditor.commands.decreaseListIndent(listItemsInSelection);
2718
2756
  }
2719
2757
  if (command in this.activeEditor.commands) {
2720
2758
  this.activeEditor.commands[command](argument);
@@ -2836,7 +2874,6 @@ class SuperToolbar extends EventEmitter {
2836
2874
  if (this.role === "viewer") {
2837
2875
  __privateMethod(this, _SuperToolbar_instances, deactivateAll_fn).call(this);
2838
2876
  }
2839
- this.updateToolbarState();
2840
2877
  });
2841
2878
  this.config = { ...this.config, ...config };
2842
2879
  this.toolbarItems = [];
@@ -2971,20 +3008,8 @@ class SuperToolbar extends EventEmitter {
2971
3008
  });
2972
3009
  const marks = getActiveFormatting(this.activeEditor);
2973
3010
  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;
2980
3011
  this.toolbarItems.forEach((item) => {
2981
3012
  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
- }
2988
3013
  if (item.name.value === "acceptTrackedChangeBySelection") {
2989
3014
  item.setDisabled(!canAcceptTrackedChanges);
2990
3015
  }
@@ -2992,10 +3017,11 @@ class SuperToolbar extends EventEmitter {
2992
3017
  item.setDisabled(!canRejectTrackedChanges);
2993
3018
  }
2994
3019
  if (item.name.value === "linkedStyles") {
3020
+ const linkedStyleMark = marks.find((mark) => mark.name === "styleId");
2995
3021
  if (this.activeEditor && !getQuickFormatList(this.activeEditor).length) {
2996
3022
  return item.deactivate();
2997
3023
  } else {
2998
- return item.activate({ styleId: paragraphProps?.styleId || null });
3024
+ return item.activate({ linkedStyleMark });
2999
3025
  }
3000
3026
  }
3001
3027
  const rawActiveMark = marks.find((mark) => mark.name === item.name.value);
@@ -3012,14 +3038,16 @@ class SuperToolbar extends EventEmitter {
3012
3038
  } else {
3013
3039
  item.deactivate();
3014
3040
  }
3015
- if (!activeMark && !markNegated && paragraphParent && paragraphProps?.styleId) {
3041
+ const styleIdMark = marks.find((mark) => mark.name === "styleId");
3042
+ if (!activeMark && !markNegated && styleIdMark?.attrs.styleId) {
3016
3043
  const markToStyleMap = {
3017
3044
  fontSize: "font-size",
3018
3045
  fontFamily: "font-family",
3019
- bold: "bold"
3046
+ bold: "bold",
3047
+ textAlign: "textAlign"
3020
3048
  };
3021
3049
  const linkedStyles = this.activeEditor.converter?.linkedStyles.find(
3022
- (style) => style.id === paragraphProps.styleId
3050
+ (style) => style.id === styleIdMark.attrs.styleId
3023
3051
  );
3024
3052
  if (linkedStyles && linkedStyles.definition && linkedStyles.definition.styles && markToStyleMap[item.name.value] in linkedStyles.definition.styles) {
3025
3053
  const linkedStylesItem = linkedStyles.definition.styles[markToStyleMap[item.name.value]];
@@ -3029,27 +3057,18 @@ class SuperToolbar extends EventEmitter {
3029
3057
  item.activate(value);
3030
3058
  }
3031
3059
  }
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
- }
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 || "";
3041
3063
  }
3042
3064
  if (item.name.value === "tableActions") {
3043
3065
  item.disabled.value = !inTable;
3044
3066
  }
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
- }
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();
3053
3072
  }
3054
3073
  });
3055
3074
  }
@@ -3605,7 +3624,7 @@ async function getEditorContext(editor, event) {
3605
3624
  const clipboardContent = normalizeClipboardContent(rawClipboardContent);
3606
3625
  const structureFromResolvedPos = pos !== null ? getStructureFromResolvedPos(state, pos) : null;
3607
3626
  const isInTable2 = structureFromResolvedPos?.isInTable ?? selectionHasNodeOrMark(state, "table", { requireEnds: true });
3608
- const isInList = structureFromResolvedPos?.isInList ?? selectionIncludesListParagraph(state);
3627
+ const isInList = structureFromResolvedPos?.isInList ?? (selectionHasNodeOrMark(state, "bulletList", { requireEnds: false }) || selectionHasNodeOrMark(state, "orderedList", { requireEnds: false }));
3609
3628
  const isInSectionNode = structureFromResolvedPos?.isInSectionNode ?? selectionHasNodeOrMark(state, "documentSection", { requireEnds: true });
3610
3629
  const currentNodeType = node?.type?.name || null;
3611
3630
  const activeMarks = [];
@@ -3733,51 +3752,16 @@ function computeCanRedo(editor, state) {
3733
3752
  function isCollaborationEnabled(editor) {
3734
3753
  return Boolean(editor?.options?.collaborationProvider && editor?.options?.ydoc);
3735
3754
  }
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
- }
3759
3755
  function getStructureFromResolvedPos(state, pos) {
3760
3756
  try {
3761
3757
  const $pos = state.doc.resolve(pos);
3762
- let isInList = false;
3763
- let isInTable2 = false;
3764
- let isInSectionNode = false;
3758
+ const ancestors = /* @__PURE__ */ new Set();
3765
3759
  for (let depth = $pos.depth; depth > 0; depth--) {
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
- }
3760
+ ancestors.add($pos.node(depth).type.name);
3780
3761
  }
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");
3781
3765
  return {
3782
3766
  isInTable: isInTable2,
3783
3767
  isInList,
@@ -5041,7 +5025,7 @@ const _sfc_main$1 = {
5041
5025
  };
5042
5026
  }
5043
5027
  };
5044
- const SuperEditor = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-4615ea7d"]]);
5028
+ const SuperEditor = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-cd3558fe"]]);
5045
5029
  const _hoisted_1 = ["innerHTML"];
5046
5030
  const _sfc_main = {
5047
5031
  __name: "SuperInput",
@@ -5134,18 +5118,16 @@ const _sfc_main = {
5134
5118
  };
5135
5119
  const SuperInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-4d5cff52"]]);
5136
5120
  const additionalHandlers = Object.freeze({
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,
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,
5149
5131
  "w:cnfStyle": translator$17,
5150
5132
  "w:color": translator$16,
5151
5133
  "w:divId": translator$15,
@@ -5222,6 +5204,7 @@ const additionalHandlers = Object.freeze({
5222
5204
  "w:tcPr": translator
5223
5205
  });
5224
5206
  const baseHandlers = {
5207
+ ...runPropertyTranslators,
5225
5208
  ...additionalHandlers
5226
5209
  };
5227
5210
  const registeredHandlers = Object.freeze(baseHandlers);
@@ -5238,28 +5221,28 @@ const Extensions = {
5238
5221
  };
5239
5222
  export {
5240
5223
  AIWriter,
5241
- v as AnnotatorHelpers,
5224
+ w as AnnotatorHelpers,
5242
5225
  _sfc_main$4 as BasicUpload,
5243
5226
  C as CommentsPluginKey,
5244
5227
  D as DocxZipper,
5245
5228
  Editor,
5246
5229
  Extensions,
5247
- w as SectionHelpers,
5230
+ x as SectionHelpers,
5248
5231
  _sfc_main$5 as SlashMenu,
5249
- aa as SuperConverter,
5232
+ a5 as SuperConverter,
5250
5233
  SuperEditor,
5251
5234
  SuperInput,
5252
5235
  SuperToolbar,
5253
5236
  Toolbar,
5254
5237
  T as TrackChangesBasePluginKey,
5255
5238
  createZip,
5256
- q as fieldAnnotationHelpers,
5239
+ t as fieldAnnotationHelpers,
5257
5240
  getActiveFormatting,
5258
- x as getAllowedImageDimensions,
5241
+ z as getAllowedImageDimensions,
5259
5242
  i as getMarksFromSelection,
5260
5243
  getRichTextExtensions,
5261
5244
  getStarterExtensions,
5262
- a7 as helpers,
5245
+ a2 as helpers,
5263
5246
  registeredHandlers,
5264
- t as trackChangesHelpers
5247
+ v as trackChangesHelpers
5265
5248
  };
@@ -1,6 +1,6 @@
1
1
  import "vue";
2
- import { T } from "./chunks/toolbar-BPr_n6-M.js";
3
- import "./chunks/editor-U5Zs1FK0.js";
2
+ import { T } from "./chunks/toolbar-Bvg7Oblw.js";
3
+ import "./chunks/editor-kiYjcll8.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-CmOxHBFk.cjs");
4
- require("./chunks/vue-ARQSyfaw.cjs");
3
+ const superEditor_es = require("./chunks/super-editor.es-1Ou0U_Rs.cjs");
4
+ require("./chunks/vue-Cwv-wUpm.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-Bqyg3_Z4.es.js";
2
- import "./chunks/vue-B5QAf5pA.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-CQkIaDkE.es.js";
2
+ import "./chunks/vue-CKmzTNVs.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-CmOxHBFk.cjs");
4
- const superdoc = require("./chunks/index-CABhc08d.cjs");
3
+ const superEditor_es = require("./chunks/super-editor.es-1Ou0U_Rs.cjs");
4
+ const superdoc = require("./chunks/index-CwNFCyOW.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-Bqyg3_Z4.es.js";
2
- import { D, H, P, S as S2, m, l } from "./chunks/index-Dn6V09b9.es.js";
1
+ import { a, E, b, S, d, i, j, n, r, p, q } from "./chunks/super-editor.es-CQkIaDkE.es.js";
2
+ import { D, H, P, S as S2, m, l } from "./chunks/index-CJx0k29h.es.js";
3
3
  import { B } from "./chunks/blank-docx-ABm6XYAA.es.js";
4
4
  export {
5
5
  a as AnnotatorHelpers,