superdoc 0.31.0-next.1 → 0.31.0-next.11

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 (345) hide show
  1. package/dist/chunks/{PdfViewer-CSZtzevK.cjs → PdfViewer-D9P6oSyP.cjs} +2 -2
  2. package/dist/chunks/{PdfViewer-DYfpBL2P.es.js → PdfViewer-DrGdcxMi.es.js} +2 -2
  3. package/dist/chunks/{eventemitter3-hYlnBzSA.es.js → eventemitter3-BZXKb7j7.es.js} +1 -1
  4. package/dist/chunks/{eventemitter3-DmHNHvFX.cjs → eventemitter3-CFCpOk3d.cjs} +1 -1
  5. package/dist/chunks/{index-BiYSI2c3.es.js → index-8TkBu9O_.es.js} +6 -6
  6. package/dist/chunks/{index-9j37gBmK.cjs → index-ZC9yiay1.cjs} +6 -6
  7. package/dist/chunks/{index-0zP7LFOd-CQ5IRTwG.es.js → index-hUtaGvC8-Vf8Tdemp.es.js} +1 -1
  8. package/dist/chunks/{index-0zP7LFOd-PDPveafF.cjs → index-hUtaGvC8-aunRWvRG.cjs} +1 -1
  9. package/dist/chunks/{jszip-BP2FTbpi.cjs → jszip-B99MTu59.cjs} +1 -1
  10. package/dist/chunks/{jszip-jKrsZoMS.es.js → jszip-Duxs2YMV.es.js} +1 -1
  11. package/dist/chunks/{super-editor.es-D8j9E-4h.cjs → super-editor.es-4uI_8knu.cjs} +4590 -4487
  12. package/dist/chunks/{super-editor.es-BzhuUuJx.es.js → super-editor.es-DS6vzo6Y.es.js} +4543 -4440
  13. package/dist/chunks/{vue-Cwv-wUpm.cjs → vue-ARQSyfaw.cjs} +2401 -2360
  14. package/dist/chunks/{vue-CKmzTNVs.es.js → vue-B5QAf5pA.es.js} +2401 -2360
  15. package/dist/chunks/xml-js-CVyfrKaV.es.js +2 -0
  16. package/dist/chunks/xml-js-DQa4Ye5C.cjs +3 -0
  17. package/dist/images/altText_add.svg +3 -0
  18. package/dist/images/altText_disclaimer.svg +3 -0
  19. package/dist/images/altText_done.svg +3 -0
  20. package/dist/images/altText_spinner.svg +30 -0
  21. package/dist/images/altText_warning.svg +3 -0
  22. package/dist/images/annotation-check.svg +11 -0
  23. package/dist/images/annotation-comment.svg +16 -0
  24. package/dist/images/annotation-help.svg +26 -0
  25. package/dist/images/annotation-insert.svg +10 -0
  26. package/dist/images/annotation-key.svg +11 -0
  27. package/dist/images/annotation-newparagraph.svg +11 -0
  28. package/dist/images/annotation-noicon.svg +7 -0
  29. package/dist/images/annotation-note.svg +42 -0
  30. package/dist/images/annotation-paperclip.svg +6 -0
  31. package/dist/images/annotation-paragraph.svg +16 -0
  32. package/dist/images/annotation-pushpin.svg +7 -0
  33. package/dist/images/cursor-editorFreeHighlight.svg +6 -0
  34. package/dist/images/cursor-editorFreeText.svg +3 -0
  35. package/dist/images/cursor-editorInk.svg +4 -0
  36. package/dist/images/cursor-editorTextHighlight.svg +8 -0
  37. package/dist/images/editor-toolbar-delete.svg +5 -0
  38. package/dist/images/loading-icon.gif +0 -0
  39. package/dist/images/messageBar_closingButton.svg +3 -0
  40. package/dist/images/messageBar_warning.svg +3 -0
  41. package/dist/images/toolbarButton-editorHighlight.svg +6 -0
  42. package/dist/images/toolbarButton-menuArrow.svg +3 -0
  43. package/dist/packages/superdoc/src/core/SuperDoc.d.ts +140 -52
  44. package/dist/packages/superdoc/src/core/SuperDoc.d.ts.map +1 -1
  45. package/dist/packages/superdoc/src/core/types/index.d.ts +140 -52
  46. package/dist/packages/superdoc/src/core/types/index.d.ts.map +1 -1
  47. package/dist/style.css +12 -9
  48. package/dist/super-editor/ai-writer.es.js +2 -2
  49. package/dist/super-editor/chunks/{converter-B3mE6WPB.js → converter-DNZlAyEp.js} +1658 -1447
  50. package/dist/super-editor/chunks/{docx-zipper-FgUekv4g.js → docx-zipper-CGXr6ESB.js} +1 -1
  51. package/dist/super-editor/chunks/{editor-B0PiO07g.js → editor-BG6XbVA7.js} +2381 -2531
  52. package/dist/super-editor/chunks/{index-0zP7LFOd.js → index-hUtaGvC8.js} +1 -1
  53. package/dist/super-editor/chunks/{toolbar-Bj9E8rmT.js → toolbar-8Nf_jruN.js} +2 -2
  54. package/dist/super-editor/converter.es.js +2 -2
  55. package/dist/super-editor/docx-zipper.es.js +2 -2
  56. package/dist/super-editor/editor.es.js +3 -3
  57. package/dist/super-editor/file-zipper.es.js +1 -1
  58. package/dist/super-editor/style.css +12 -9
  59. package/dist/super-editor/super-editor/src/components/toolbar/defaultItems.d.ts.map +1 -1
  60. package/dist/super-editor/super-editor/src/components/toolbar/super-toolbar.d.ts.map +1 -1
  61. package/dist/super-editor/super-editor/src/core/Attribute.d.ts +75 -29
  62. package/dist/super-editor/super-editor/src/core/Attribute.d.ts.map +1 -1
  63. package/dist/super-editor/super-editor/src/core/CommandService.d.ts +1 -1
  64. package/dist/super-editor/super-editor/src/core/CommandService.d.ts.map +1 -1
  65. package/dist/super-editor/super-editor/src/core/Editor.d.ts +145 -673
  66. package/dist/super-editor/super-editor/src/core/Editor.d.ts.map +1 -1
  67. package/dist/super-editor/super-editor/src/core/EventEmitter.d.ts +23 -14
  68. package/dist/super-editor/super-editor/src/core/EventEmitter.d.ts.map +1 -1
  69. package/dist/super-editor/super-editor/src/core/Extension.d.ts +25 -11
  70. package/dist/super-editor/super-editor/src/core/Extension.d.ts.map +1 -1
  71. package/dist/super-editor/super-editor/src/core/ExtensionService.d.ts +1 -1
  72. package/dist/super-editor/super-editor/src/core/ExtensionService.d.ts.map +1 -1
  73. package/dist/super-editor/super-editor/src/core/Mark.d.ts +28 -12
  74. package/dist/super-editor/super-editor/src/core/Mark.d.ts.map +1 -1
  75. package/dist/super-editor/super-editor/src/core/Node.d.ts +87 -25
  76. package/dist/super-editor/super-editor/src/core/Node.d.ts.map +1 -1
  77. package/dist/super-editor/super-editor/src/core/OxmlNode.d.ts +20 -13
  78. package/dist/super-editor/super-editor/src/core/OxmlNode.d.ts.map +1 -1
  79. package/dist/super-editor/super-editor/src/core/Schema.d.ts.map +1 -1
  80. package/dist/super-editor/super-editor/src/core/commands/changeListLevel.d.ts.map +1 -1
  81. package/dist/super-editor/super-editor/src/core/commands/index.d.ts +2 -0
  82. package/dist/super-editor/super-editor/src/core/commands/lineHeight.d.ts +7 -0
  83. package/dist/super-editor/super-editor/src/core/commands/lineHeight.d.ts.map +1 -0
  84. package/dist/super-editor/super-editor/src/core/commands/list-helpers/is-list.d.ts.map +1 -1
  85. package/dist/super-editor/super-editor/src/core/commands/removeNumberingProperties.d.ts.map +1 -1
  86. package/dist/super-editor/super-editor/src/core/commands/resetAttributes.d.ts.map +1 -1
  87. package/dist/super-editor/super-editor/src/core/commands/restartNumbering.d.ts.map +1 -1
  88. package/dist/super-editor/super-editor/src/core/commands/textIndent.d.ts +5 -0
  89. package/dist/super-editor/super-editor/src/core/commands/textIndent.d.ts.map +1 -0
  90. package/dist/super-editor/super-editor/src/core/commands/toggleList.d.ts.map +1 -1
  91. package/dist/super-editor/super-editor/src/core/commands/types/index.d.ts +11 -89
  92. package/dist/super-editor/super-editor/src/core/commands/types/index.d.ts.map +1 -1
  93. package/dist/super-editor/super-editor/src/core/commands/updateAttributes.d.ts +4 -4
  94. package/dist/super-editor/super-editor/src/core/commands/updateAttributes.d.ts.map +1 -1
  95. package/dist/super-editor/super-editor/src/core/extensions/commands.d.ts +1 -1
  96. package/dist/super-editor/super-editor/src/core/extensions/commands.d.ts.map +1 -1
  97. package/dist/super-editor/super-editor/src/core/extensions/editable.d.ts +1 -1
  98. package/dist/super-editor/super-editor/src/core/extensions/editable.d.ts.map +1 -1
  99. package/dist/super-editor/super-editor/src/core/extensions/editorFocus.d.ts +1 -1
  100. package/dist/super-editor/super-editor/src/core/extensions/editorFocus.d.ts.map +1 -1
  101. package/dist/super-editor/super-editor/src/core/extensions/keymap.d.ts +1 -1
  102. package/dist/super-editor/super-editor/src/core/extensions/keymap.d.ts.map +1 -1
  103. package/dist/super-editor/super-editor/src/core/helpers/annotator.d.ts +3 -2
  104. package/dist/super-editor/super-editor/src/core/helpers/annotator.d.ts.map +1 -1
  105. package/dist/super-editor/super-editor/src/core/helpers/getExtensionConfigField.d.ts +12 -5
  106. package/dist/super-editor/super-editor/src/core/helpers/getExtensionConfigField.d.ts.map +1 -1
  107. package/dist/super-editor/super-editor/src/core/helpers/isList.d.ts +1 -1
  108. package/dist/super-editor/super-editor/src/core/helpers/isList.d.ts.map +1 -1
  109. package/dist/super-editor/super-editor/src/core/helpers/list-numbering-helpers.d.ts.map +1 -1
  110. package/dist/super-editor/super-editor/src/core/index.d.ts +18 -13
  111. package/dist/super-editor/super-editor/src/core/index.d.ts.map +1 -1
  112. package/dist/super-editor/super-editor/src/core/schema-summary.d.ts +4 -0
  113. package/dist/super-editor/super-editor/src/core/schema-summary.d.ts.map +1 -0
  114. package/dist/super-editor/super-editor/src/core/super-converter/exporter.d.ts +0 -48
  115. package/dist/super-editor/super-editor/src/core/super-converter/exporter.d.ts.map +1 -1
  116. package/dist/super-editor/super-editor/src/core/super-converter/helpers.d.ts +7 -0
  117. package/dist/super-editor/super-editor/src/core/super-converter/helpers.d.ts.map +1 -1
  118. package/dist/super-editor/super-editor/src/core/super-converter/styles.d.ts +59 -13
  119. package/dist/super-editor/super-editor/src/core/super-converter/styles.d.ts.map +1 -1
  120. package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/autoPageNumberImporter.d.ts.map +1 -1
  121. package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/markImporter.d.ts +1 -1
  122. package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/types/index.d.ts +4 -0
  123. package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/types/index.d.ts.map +1 -1
  124. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/sd/autoPageNumber/autoPageNumber-translator.d.ts +8 -0
  125. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/sd/autoPageNumber/autoPageNumber-translator.d.ts.map +1 -0
  126. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/sd/autoPageNumber/index.d.ts +2 -0
  127. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/sd/autoPageNumber/index.d.ts.map +1 -0
  128. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/sd/totalPageNumber/index.d.ts +2 -0
  129. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/sd/totalPageNumber/index.d.ts.map +1 -0
  130. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/sd/totalPageNumber/totalPageNumber-translator.d.ts +8 -0
  131. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/sd/totalPageNumber/totalPageNumber-translator.d.ts.map +1 -0
  132. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/generate-paragraph-properties.d.ts +8 -0
  133. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/generate-paragraph-properties.d.ts.map +1 -0
  134. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/legacy-handle-paragraph-node.d.ts.map +1 -1
  135. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/translate-paragraph-node.d.ts +8 -0
  136. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/translate-paragraph-node.d.ts.map +1 -0
  137. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sdt/helpers/convert-sdt-content-to-runs.d.ts +7 -0
  138. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sdt/helpers/convert-sdt-content-to-runs.d.ts.map +1 -0
  139. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sdt/helpers/translate-field-annotation.d.ts.map +1 -1
  140. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/t/helpers/translate-text-node.d.ts +5 -0
  141. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/t/helpers/translate-text-node.d.ts.map +1 -0
  142. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tbl/tbl-translator.d.ts +14 -10
  143. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tbl/tbl-translator.d.ts.map +1 -1
  144. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tblGrid/tblGrid-translator.d.ts.map +1 -1
  145. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tr/tr-translator.d.ts.map +1 -1
  146. package/dist/super-editor/super-editor/src/core/types/ChainedCommands.d.ts +118 -0
  147. package/dist/super-editor/super-editor/src/core/types/ChainedCommands.d.ts.map +1 -0
  148. package/dist/super-editor/super-editor/src/core/types/EditorConfig.d.ts +265 -0
  149. package/dist/super-editor/super-editor/src/core/types/EditorConfig.d.ts.map +1 -0
  150. package/dist/super-editor/super-editor/src/core/types/EditorEvents.d.ts +144 -0
  151. package/dist/super-editor/super-editor/src/core/types/EditorEvents.d.ts.map +1 -0
  152. package/dist/super-editor/super-editor/src/core/types/EditorSchema.d.ts +35 -0
  153. package/dist/super-editor/super-editor/src/core/types/EditorSchema.d.ts.map +1 -0
  154. package/dist/super-editor/super-editor/src/core/types/EditorTypes.d.ts +73 -0
  155. package/dist/super-editor/super-editor/src/core/types/EditorTypes.d.ts.map +1 -0
  156. package/dist/super-editor/super-editor/src/core/types/__tests__/command-types.d.ts +2 -0
  157. package/dist/super-editor/super-editor/src/core/types/__tests__/command-types.d.ts.map +1 -0
  158. package/dist/super-editor/super-editor/src/core/utilities/callOrGet.d.ts +6 -2
  159. package/dist/super-editor/super-editor/src/core/utilities/callOrGet.d.ts.map +1 -1
  160. package/dist/super-editor/super-editor/src/core/utilities/deleteProps.d.ts.map +1 -1
  161. package/dist/super-editor/super-editor/src/core/utilities/isIOS.d.ts.map +1 -1
  162. package/dist/super-editor/super-editor/src/extensions/ai/ai-marks.d.ts +8 -2
  163. package/dist/super-editor/super-editor/src/extensions/ai/ai-marks.d.ts.map +1 -1
  164. package/dist/super-editor/super-editor/src/extensions/ai/ai-nodes.d.ts +7 -1
  165. package/dist/super-editor/super-editor/src/extensions/ai/ai-nodes.d.ts.map +1 -1
  166. package/dist/super-editor/super-editor/src/extensions/ai/ai-plugin.d.ts +1 -1
  167. package/dist/super-editor/super-editor/src/extensions/ai/ai-plugin.d.ts.map +1 -1
  168. package/dist/super-editor/super-editor/src/extensions/block-node/block-node.d.ts +1 -1
  169. package/dist/super-editor/super-editor/src/extensions/block-node/block-node.d.ts.map +1 -1
  170. package/dist/super-editor/super-editor/src/extensions/bold/bold.d.ts +3 -1
  171. package/dist/super-editor/super-editor/src/extensions/bold/bold.d.ts.map +1 -1
  172. package/dist/super-editor/super-editor/src/extensions/bookmarks/bookmark-end.d.ts +1 -1
  173. package/dist/super-editor/super-editor/src/extensions/bookmarks/bookmark-end.d.ts.map +1 -1
  174. package/dist/super-editor/super-editor/src/extensions/bookmarks/bookmark-start.d.ts +1 -1
  175. package/dist/super-editor/super-editor/src/extensions/bookmarks/bookmark-start.d.ts.map +1 -1
  176. package/dist/super-editor/super-editor/src/extensions/collaboration/collaboration-helpers.d.ts.map +1 -1
  177. package/dist/super-editor/super-editor/src/extensions/collaboration/collaboration.d.ts +6 -1
  178. package/dist/super-editor/super-editor/src/extensions/collaboration/collaboration.d.ts.map +1 -1
  179. package/dist/super-editor/super-editor/src/extensions/collaboration-cursor/collaboration-cursor.d.ts +9 -1
  180. package/dist/super-editor/super-editor/src/extensions/collaboration-cursor/collaboration-cursor.d.ts.map +1 -1
  181. package/dist/super-editor/super-editor/src/extensions/color/color.d.ts +3 -1
  182. package/dist/super-editor/super-editor/src/extensions/color/color.d.ts.map +1 -1
  183. package/dist/super-editor/super-editor/src/extensions/comment/comment.d.ts +18 -3
  184. package/dist/super-editor/super-editor/src/extensions/comment/comment.d.ts.map +1 -1
  185. package/dist/super-editor/super-editor/src/extensions/comment/comments-marks.d.ts +5 -1
  186. package/dist/super-editor/super-editor/src/extensions/comment/comments-marks.d.ts.map +1 -1
  187. package/dist/super-editor/super-editor/src/extensions/comment/comments-plugin.d.ts +1 -1
  188. package/dist/super-editor/super-editor/src/extensions/comment/comments-plugin.d.ts.map +1 -1
  189. package/dist/super-editor/super-editor/src/extensions/content-block/content-block.d.ts +1 -1
  190. package/dist/super-editor/super-editor/src/extensions/content-block/content-block.d.ts.map +1 -1
  191. package/dist/super-editor/super-editor/src/extensions/custom-selection/custom-selection.d.ts +1 -1
  192. package/dist/super-editor/super-editor/src/extensions/custom-selection/custom-selection.d.ts.map +1 -1
  193. package/dist/super-editor/super-editor/src/extensions/document/document.d.ts +1 -1
  194. package/dist/super-editor/super-editor/src/extensions/document/document.d.ts.map +1 -1
  195. package/dist/super-editor/super-editor/src/extensions/dropcursor/dropcursor.d.ts +5 -1
  196. package/dist/super-editor/super-editor/src/extensions/dropcursor/dropcursor.d.ts.map +1 -1
  197. package/dist/super-editor/super-editor/src/extensions/field-annotation/field-annotation.d.ts +1 -1
  198. package/dist/super-editor/super-editor/src/extensions/field-annotation/field-annotation.d.ts.map +1 -1
  199. package/dist/super-editor/super-editor/src/extensions/font-family/font-family.d.ts +3 -1
  200. package/dist/super-editor/super-editor/src/extensions/font-family/font-family.d.ts.map +1 -1
  201. package/dist/super-editor/super-editor/src/extensions/font-size/font-size.d.ts +9 -1
  202. package/dist/super-editor/super-editor/src/extensions/font-size/font-size.d.ts.map +1 -1
  203. package/dist/super-editor/super-editor/src/extensions/format-commands/format-commands.d.ts +7 -1
  204. package/dist/super-editor/super-editor/src/extensions/format-commands/format-commands.d.ts.map +1 -1
  205. package/dist/super-editor/super-editor/src/extensions/gapcursor/gapcursor.d.ts +1 -1
  206. package/dist/super-editor/super-editor/src/extensions/gapcursor/gapcursor.d.ts.map +1 -1
  207. package/dist/super-editor/super-editor/src/extensions/heading/heading.d.ts +3 -1
  208. package/dist/super-editor/super-editor/src/extensions/heading/heading.d.ts.map +1 -1
  209. package/dist/super-editor/super-editor/src/extensions/highlight/highlight.d.ts +3 -1
  210. package/dist/super-editor/super-editor/src/extensions/highlight/highlight.d.ts.map +1 -1
  211. package/dist/super-editor/super-editor/src/extensions/history/history.d.ts +4 -1
  212. package/dist/super-editor/super-editor/src/extensions/history/history.d.ts.map +1 -1
  213. package/dist/super-editor/super-editor/src/extensions/image/image.d.ts +1 -1
  214. package/dist/super-editor/super-editor/src/extensions/image/image.d.ts.map +1 -1
  215. package/dist/super-editor/super-editor/src/extensions/index.d.ts +23 -5
  216. package/dist/super-editor/super-editor/src/extensions/index.d.ts.map +1 -1
  217. package/dist/super-editor/super-editor/src/extensions/italic/italic.d.ts +3 -1
  218. package/dist/super-editor/super-editor/src/extensions/italic/italic.d.ts.map +1 -1
  219. package/dist/super-editor/super-editor/src/extensions/line-break/line-break.d.ts +2 -2
  220. package/dist/super-editor/super-editor/src/extensions/line-break/line-break.d.ts.map +1 -1
  221. package/dist/super-editor/super-editor/src/extensions/link/link.d.ts +9 -1
  222. package/dist/super-editor/super-editor/src/extensions/link/link.d.ts.map +1 -1
  223. package/dist/super-editor/super-editor/src/extensions/linked-styles/helpers.d.ts +1 -0
  224. package/dist/super-editor/super-editor/src/extensions/linked-styles/helpers.d.ts.map +1 -1
  225. package/dist/super-editor/super-editor/src/extensions/linked-styles/linked-styles.d.ts +1 -1
  226. package/dist/super-editor/super-editor/src/extensions/linked-styles/linked-styles.d.ts.map +1 -1
  227. package/dist/super-editor/super-editor/src/extensions/linked-styles/plugin.d.ts.map +1 -1
  228. package/dist/super-editor/super-editor/src/extensions/mention/mention.d.ts +6 -1
  229. package/dist/super-editor/super-editor/src/extensions/mention/mention.d.ts.map +1 -1
  230. package/dist/super-editor/super-editor/src/extensions/noderesizer/noderesizer.d.ts +1 -1
  231. package/dist/super-editor/super-editor/src/extensions/noderesizer/noderesizer.d.ts.map +1 -1
  232. package/dist/super-editor/super-editor/src/extensions/page-number/page-number.d.ts +2 -2
  233. package/dist/super-editor/super-editor/src/extensions/page-number/page-number.d.ts.map +1 -1
  234. package/dist/super-editor/super-editor/src/extensions/page-reference/page-reference.d.ts +8 -1
  235. package/dist/super-editor/super-editor/src/extensions/page-reference/page-reference.d.ts.map +1 -1
  236. package/dist/super-editor/super-editor/src/extensions/pagination/pagination.d.ts +5 -1
  237. package/dist/super-editor/super-editor/src/extensions/pagination/pagination.d.ts.map +1 -1
  238. package/dist/super-editor/super-editor/src/extensions/paragraph/ParagraphNodeView.d.ts.map +1 -1
  239. package/dist/super-editor/super-editor/src/extensions/paragraph/dropcapPlugin.d.ts +4 -0
  240. package/dist/super-editor/super-editor/src/extensions/paragraph/dropcapPlugin.d.ts.map +1 -0
  241. package/dist/super-editor/super-editor/src/extensions/paragraph/numberingPlugin.d.ts.map +1 -1
  242. package/dist/super-editor/super-editor/src/extensions/paragraph/paragraph.d.ts +1 -10
  243. package/dist/super-editor/super-editor/src/extensions/paragraph/paragraph.d.ts.map +1 -1
  244. package/dist/super-editor/super-editor/src/extensions/paragraph/resolvedPropertiesCache.d.ts +3 -0
  245. package/dist/super-editor/super-editor/src/extensions/paragraph/resolvedPropertiesCache.d.ts.map +1 -0
  246. package/dist/super-editor/super-editor/src/extensions/placeholder/placeholder.d.ts +3 -1
  247. package/dist/super-editor/super-editor/src/extensions/placeholder/placeholder.d.ts.map +1 -1
  248. package/dist/super-editor/super-editor/src/extensions/popover-plugin/popover-plugin.d.ts +1 -1
  249. package/dist/super-editor/super-editor/src/extensions/popover-plugin/popover-plugin.d.ts.map +1 -1
  250. package/dist/super-editor/super-editor/src/extensions/run/run.d.ts +1 -1
  251. package/dist/super-editor/super-editor/src/extensions/run/run.d.ts.map +1 -1
  252. package/dist/super-editor/super-editor/src/extensions/search/search.d.ts +1 -1
  253. package/dist/super-editor/super-editor/src/extensions/search/search.d.ts.map +1 -1
  254. package/dist/super-editor/super-editor/src/extensions/shape-container/shape-container.d.ts +6 -1
  255. package/dist/super-editor/super-editor/src/extensions/shape-container/shape-container.d.ts.map +1 -1
  256. package/dist/super-editor/super-editor/src/extensions/shape-group/shape-group.d.ts +1 -1
  257. package/dist/super-editor/super-editor/src/extensions/shape-group/shape-group.d.ts.map +1 -1
  258. package/dist/super-editor/super-editor/src/extensions/shape-textbox/shape-textbox.d.ts +6 -1
  259. package/dist/super-editor/super-editor/src/extensions/shape-textbox/shape-textbox.d.ts.map +1 -1
  260. package/dist/super-editor/super-editor/src/extensions/slash-menu/slash-menu.d.ts +1 -1
  261. package/dist/super-editor/super-editor/src/extensions/slash-menu/slash-menu.d.ts.map +1 -1
  262. package/dist/super-editor/super-editor/src/extensions/strike/strike.d.ts +3 -1
  263. package/dist/super-editor/super-editor/src/extensions/strike/strike.d.ts.map +1 -1
  264. package/dist/super-editor/super-editor/src/extensions/structured-content/document-part-object.d.ts +6 -1
  265. package/dist/super-editor/super-editor/src/extensions/structured-content/document-part-object.d.ts.map +1 -1
  266. package/dist/super-editor/super-editor/src/extensions/structured-content/document-section.d.ts +1 -1
  267. package/dist/super-editor/super-editor/src/extensions/structured-content/document-section.d.ts.map +1 -1
  268. package/dist/super-editor/super-editor/src/extensions/structured-content/structured-content-block.d.ts +6 -1
  269. package/dist/super-editor/super-editor/src/extensions/structured-content/structured-content-block.d.ts.map +1 -1
  270. package/dist/super-editor/super-editor/src/extensions/structured-content/structured-content-commands.d.ts +9 -3
  271. package/dist/super-editor/super-editor/src/extensions/structured-content/structured-content-commands.d.ts.map +1 -1
  272. package/dist/super-editor/super-editor/src/extensions/structured-content/structured-content.d.ts +6 -1
  273. package/dist/super-editor/super-editor/src/extensions/structured-content/structured-content.d.ts.map +1 -1
  274. package/dist/super-editor/super-editor/src/extensions/structured-content/structuredContentHelpers/getStructuredContentByGroup.d.ts +19 -0
  275. package/dist/super-editor/super-editor/src/extensions/structured-content/structuredContentHelpers/getStructuredContentByGroup.d.ts.map +1 -0
  276. package/dist/super-editor/super-editor/src/extensions/structured-content/structuredContentHelpers/index.d.ts +2 -0
  277. package/dist/super-editor/super-editor/src/extensions/structured-content/structuredContentHelpers/tagUtils.d.ts +53 -0
  278. package/dist/super-editor/super-editor/src/extensions/structured-content/structuredContentHelpers/tagUtils.d.ts.map +1 -0
  279. package/dist/super-editor/super-editor/src/extensions/tab/helpers/tabDecorations.d.ts.map +1 -1
  280. package/dist/super-editor/super-editor/src/extensions/tab/tab.d.ts +6 -1
  281. package/dist/super-editor/super-editor/src/extensions/tab/tab.d.ts.map +1 -1
  282. package/dist/super-editor/super-editor/src/extensions/table/TableView.d.ts +7 -1
  283. package/dist/super-editor/super-editor/src/extensions/table/TableView.d.ts.map +1 -1
  284. package/dist/super-editor/super-editor/src/extensions/table/table.d.ts +19 -1
  285. package/dist/super-editor/super-editor/src/extensions/table/table.d.ts.map +1 -1
  286. package/dist/super-editor/super-editor/src/extensions/table-cell/table-cell.d.ts +5 -1
  287. package/dist/super-editor/super-editor/src/extensions/table-cell/table-cell.d.ts.map +1 -1
  288. package/dist/super-editor/super-editor/src/extensions/table-header/table-header.d.ts +5 -1
  289. package/dist/super-editor/super-editor/src/extensions/table-header/table-header.d.ts.map +1 -1
  290. package/dist/super-editor/super-editor/src/extensions/table-of-contents/table-of-contents.d.ts +6 -1
  291. package/dist/super-editor/super-editor/src/extensions/table-of-contents/table-of-contents.d.ts.map +1 -1
  292. package/dist/super-editor/super-editor/src/extensions/table-row/table-row.d.ts +5 -1
  293. package/dist/super-editor/super-editor/src/extensions/table-row/table-row.d.ts.map +1 -1
  294. package/dist/super-editor/super-editor/src/extensions/text/text.d.ts +1 -1
  295. package/dist/super-editor/super-editor/src/extensions/text/text.d.ts.map +1 -1
  296. package/dist/super-editor/super-editor/src/extensions/text-align/text-align.d.ts +3 -12
  297. package/dist/super-editor/super-editor/src/extensions/text-align/text-align.d.ts.map +1 -1
  298. package/dist/super-editor/super-editor/src/extensions/text-style/text-style.d.ts +3 -1
  299. package/dist/super-editor/super-editor/src/extensions/text-style/text-style.d.ts.map +1 -1
  300. package/dist/super-editor/super-editor/src/extensions/text-transform/text-transform.d.ts +3 -1
  301. package/dist/super-editor/super-editor/src/extensions/text-transform/text-transform.d.ts.map +1 -1
  302. package/dist/super-editor/super-editor/src/extensions/track-changes/permission-helpers.d.ts +140 -52
  303. package/dist/super-editor/super-editor/src/extensions/track-changes/permission-helpers.d.ts.map +1 -1
  304. package/dist/super-editor/super-editor/src/extensions/track-changes/track-changes.d.ts +1 -1
  305. package/dist/super-editor/super-editor/src/extensions/track-changes/track-changes.d.ts.map +1 -1
  306. package/dist/super-editor/super-editor/src/extensions/track-changes/track-delete.d.ts +5 -1
  307. package/dist/super-editor/super-editor/src/extensions/track-changes/track-delete.d.ts.map +1 -1
  308. package/dist/super-editor/super-editor/src/extensions/track-changes/track-format.d.ts +5 -1
  309. package/dist/super-editor/super-editor/src/extensions/track-changes/track-format.d.ts.map +1 -1
  310. package/dist/super-editor/super-editor/src/extensions/track-changes/track-insert.d.ts +5 -1
  311. package/dist/super-editor/super-editor/src/extensions/track-changes/track-insert.d.ts.map +1 -1
  312. package/dist/super-editor/super-editor/src/extensions/track-changes/trackChangesHelpers/trackedTransaction.d.ts +5 -1
  313. package/dist/super-editor/super-editor/src/extensions/track-changes/trackChangesHelpers/trackedTransaction.d.ts.map +1 -1
  314. package/dist/super-editor/super-editor/src/extensions/types/formatting-commands.d.ts +40 -0
  315. package/dist/super-editor/super-editor/src/extensions/types/formatting-commands.d.ts.map +1 -0
  316. package/dist/super-editor/super-editor/src/extensions/types/history-link-table-commands.d.ts +57 -0
  317. package/dist/super-editor/super-editor/src/extensions/types/history-link-table-commands.d.ts.map +1 -0
  318. package/dist/super-editor/super-editor/src/extensions/types/specialized-commands.d.ts +83 -0
  319. package/dist/super-editor/super-editor/src/extensions/types/specialized-commands.d.ts.map +1 -0
  320. package/dist/super-editor/super-editor/src/extensions/underline/underline.d.ts +3 -1
  321. package/dist/super-editor/super-editor/src/extensions/underline/underline.d.ts.map +1 -1
  322. package/dist/super-editor/super-editor/src/extensions/vector-shape/vector-shape.d.ts +1 -1
  323. package/dist/super-editor/super-editor/src/extensions/vector-shape/vector-shape.d.ts.map +1 -1
  324. package/dist/super-editor/super-editor/src/tests/data/annotations_doc_content.d.ts +113 -61
  325. package/dist/super-editor/super-editor/src/tests/export/export-helpers/export-helpers.d.ts +1 -1
  326. package/dist/super-editor/super-editor/src/tests/export/export-helpers/export-helpers.d.ts.map +1 -1
  327. package/dist/super-editor/super-editor.es.js +42 -64
  328. package/dist/super-editor/toolbar.es.js +2 -2
  329. package/dist/super-editor.cjs +2 -2
  330. package/dist/super-editor.es.js +2 -2
  331. package/dist/superdoc.cjs +2 -2
  332. package/dist/superdoc.es.js +2 -2
  333. package/dist/superdoc.umd.js +4935 -4792
  334. package/dist/superdoc.umd.js.map +1 -1
  335. package/package.json +1 -1
  336. package/dist/chunks/xml-js-BSDu25I7.cjs +0 -3
  337. package/dist/chunks/xml-js-CBrRls0f.es.js +0 -2
  338. package/dist/super-editor/super-editor/src/extensions/line-height/index.d.ts +0 -2
  339. package/dist/super-editor/super-editor/src/extensions/line-height/index.d.ts.map +0 -1
  340. package/dist/super-editor/super-editor/src/extensions/line-height/line-height.d.ts +0 -39
  341. package/dist/super-editor/super-editor/src/extensions/line-height/line-height.d.ts.map +0 -1
  342. package/dist/super-editor/super-editor/src/extensions/text-indent/index.d.ts +0 -2
  343. package/dist/super-editor/super-editor/src/extensions/text-indent/index.d.ts.map +0 -1
  344. package/dist/super-editor/super-editor/src/extensions/text-indent/text-indent.d.ts +0 -31
  345. package/dist/super-editor/super-editor/src/extensions/text-indent/text-indent.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"updateAttributes.d.ts","sourceRoot":"","sources":["../../../../../src/core/commands/updateAttributes.js"],"names":[],"mappings":"AAUO,gEAAsD;;;;CAAuB,aA2CnF"}
1
+ {"version":3,"file":"updateAttributes.d.ts","sourceRoot":"","sources":["../../../../../src/core/commands/updateAttributes.js"],"names":[],"mappings":"AAWO,6CALI,GAA+B,GAAG,GAA+B,GAAG,MAAM,UAC1E,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GACjB,CAAC,MAAM,EAAE;IAAE,EAAE,EAAE,OAAO,mBAAmB,EAAE,WAAW,CAAC;IAAC,KAAK,EAAE,OAAO,mBAAmB,EAAE,WAAW,CAAC;IAAC,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,OAAO,mBAAmB,EAAE,WAAW,KAAK,IAAI,CAAA;CAAE,KAAK,OAAO,CAiDlM"}
@@ -1,3 +1,3 @@
1
- export const Commands: Extension;
1
+ export const Commands: Extension<Record<string, never>, Record<string, never>>;
2
2
  import { Extension } from '../Extension.js';
3
3
  //# sourceMappingURL=commands.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"commands.d.ts","sourceRoot":"","sources":["../../../../../src/core/extensions/commands.js"],"names":[],"mappings":"AAGA,iCAMG;0BATuB,iBAAiB"}
1
+ {"version":3,"file":"commands.d.ts","sourceRoot":"","sources":["../../../../../src/core/extensions/commands.js"],"names":[],"mappings":"AAGA,+EAMG;0BATuB,iBAAiB"}
@@ -1,3 +1,3 @@
1
- export const Editable: Extension;
1
+ export const Editable: Extension<Record<string, never>, Record<string, never>>;
2
2
  import { Extension } from '../Extension.js';
3
3
  //# sourceMappingURL=editable.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"editable.d.ts","sourceRoot":"","sources":["../../../../../src/core/extensions/editable.js"],"names":[],"mappings":"AAGA,iCAeG;0BAjBuB,iBAAiB"}
1
+ {"version":3,"file":"editable.d.ts","sourceRoot":"","sources":["../../../../../src/core/extensions/editable.js"],"names":[],"mappings":"AAGA,+EAeG;0BAjBuB,iBAAiB"}
@@ -2,6 +2,6 @@
2
2
  * For reference.
3
3
  * https://prosemirror.net/docs/ref/#history.history
4
4
  */
5
- export const EditorFocus: Extension;
5
+ export const EditorFocus: Extension<Record<string, never>, Record<string, never>>;
6
6
  import { Extension } from '../Extension.js';
7
7
  //# sourceMappingURL=editorFocus.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"editorFocus.d.ts","sourceRoot":"","sources":["../../../../../src/core/extensions/editorFocus.js"],"names":[],"mappings":"AAGA;;;GAGG;AACH,oCAgCG;0BAtCuB,iBAAiB"}
1
+ {"version":3,"file":"editorFocus.d.ts","sourceRoot":"","sources":["../../../../../src/core/extensions/editorFocus.js"],"names":[],"mappings":"AAGA;;;GAGG;AACH,kFAgCG;0BAtCuB,iBAAiB"}
@@ -5,6 +5,6 @@ export function handleDelete(editor: any): any;
5
5
  * For reference.
6
6
  * https://github.com/ProseMirror/prosemirror-commands/blob/master/src/commands.ts
7
7
  */
8
- export const Keymap: Extension;
8
+ export const Keymap: Extension<Record<string, never>, Record<string, never>>;
9
9
  import { Extension } from '../Extension.js';
10
10
  //# sourceMappingURL=keymap.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"keymap.d.ts","sourceRoot":"","sources":["../../../../../src/core/extensions/keymap.js"],"names":[],"mappings":"AAIO,8CAQN;AAEM,kDAYN;AAEM,+CAMN;AAED;;;GAGG;AACH,+BAwCG;0BAhFuB,iBAAiB"}
1
+ {"version":3,"file":"keymap.d.ts","sourceRoot":"","sources":["../../../../../src/core/extensions/keymap.js"],"names":[],"mappings":"AAIO,8CAQN;AAEM,kDAYN;AAEM,+CAMN;AAED;;;GAGG;AACH,6EAwCG;0BAhFuB,iBAAiB"}
@@ -1,8 +1,9 @@
1
1
  export function getFieldAttrs(field: any, value: any, input: any): any;
2
2
  export function processTables({ state, tr, annotationValues }: {
3
- editor: any;
3
+ state: import("prosemirror-state").EditorState;
4
+ tr: import("prosemirror-state").Transaction;
4
5
  annotationValues: any[];
5
- }): any;
6
+ }): import("prosemirror-state").Transaction;
6
7
  export function getAllHeaderFooterEditors(editor: Editor): any[];
7
8
  export function annotateDocument({ annotationValues, hiddenFieldIds, removeEmptyFields, schema, tr, editor, }: {
8
9
  annotationValues?: any[];
@@ -1 +1 @@
1
- {"version":3,"file":"annotator.d.ts","sourceRoot":"","sources":["../../../../../src/core/helpers/annotator.js"],"names":[],"mappings":"AAUO,uEAiBN;AAiCM,+DAHJ;IAAuB,MAAM;IACP,gBAAgB;CACxC,OAwBA;AA0MM,kDAHI,MAAM,GACJ,KAAQ,CAsCpB;AAwBM;;;;;;;QAoFN;;;;;;;;;;;AA1GD;;;;;;;;GAQG;AACH,6GALG;IAAuB,MAAM;IACP,gBAAgB;IAChB,cAAc;CACpC,GAAU,IAAI,CAahB;AAkHD;;;;SAUC;AAED;;;SAUC;AAED;;SAUC"}
1
+ {"version":3,"file":"annotator.d.ts","sourceRoot":"","sources":["../../../../../src/core/helpers/annotator.js"],"names":[],"mappings":"AAUO,uEAiBN;AAkCM,+DAJJ;IAAwD,KAAK,EAArD,OAAO,mBAAmB,EAAE,WAAW;IACS,EAAE,EAAlD,OAAO,mBAAmB,EAAE,WAAW;IACzB,gBAAgB;CACxC,2CAwBA;AA0MM,kDAHI,MAAM,GACJ,KAAQ,CAsCpB;AAwBM;;;;;;;QAoFN;;;;;;;;;;;AA1GD;;;;;;;;GAQG;AACH,6GALG;IAAuB,MAAM;IACP,gBAAgB;IAChB,cAAc;CACpC,GAAU,IAAI,CAahB;AAkHD;;;;SAUC;AAED;;;SAUC;AAED;;SAUC"}
@@ -1,9 +1,16 @@
1
+ /**
2
+ * Base interface for extensions with a config object.
3
+ */
4
+ export interface ExtensionLike {
5
+ config: Record<string, any>;
6
+ }
1
7
  /**
2
8
  * Get extension config field.
3
- * @param {*} extension The Editor extension.
4
- * @param {*} field The config field.
5
- * @param {*} context The context object to bind to function.
6
- * @returns The config field value.
9
+ * If the field is a function, it will be bound to the provided context.
10
+ * @param extension The Editor extension.
11
+ * @param field The config field name.
12
+ * @param context The context object to bind to function.
13
+ * @returns The config field value or bound function.
7
14
  */
8
- export function getExtensionConfigField(extension: any, field: any, context?: any): any;
15
+ export declare function getExtensionConfigField<T = any>(extension: ExtensionLike, field: string, context?: Record<string, any>): T;
9
16
  //# sourceMappingURL=getExtensionConfigField.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getExtensionConfigField.d.ts","sourceRoot":"","sources":["../../../../../src/core/helpers/getExtensionConfigField.js"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,mDALW,GAAC,SACD,GAAC,YACD,GAAC,OAUX"}
1
+ {"version":3,"file":"getExtensionConfigField.d.ts","sourceRoot":"","sources":["../../../../../src/core/helpers/getExtensionConfigField.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAC7B;AAED;;;;;;;GAOG;AACH,wBAAgB,uBAAuB,CAAC,CAAC,GAAG,GAAG,EAC7C,SAAS,EAAE,aAAa,EACxB,KAAK,EAAE,MAAM,EACb,OAAO,GAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAM,GAChC,CAAC,CASH"}
@@ -1,2 +1,2 @@
1
- export function isList(name: any, extensions: any): boolean;
1
+ export function isList(name: any, extensions: any): any;
2
2
  //# sourceMappingURL=isList.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"isList.d.ts","sourceRoot":"","sources":["../../../../../src/core/helpers/isList.js"],"names":[],"mappings":"AAQO,4DAcN"}
1
+ {"version":3,"file":"isList.d.ts","sourceRoot":"","sources":["../../../../../src/core/helpers/isList.js"],"names":[],"mappings":"AAQO,wDAcN"}
@@ -1 +1 @@
1
- {"version":3,"file":"list-numbering-helpers.d.ts","sourceRoot":"","sources":["../../../../../src/core/helpers/list-numbering-helpers.js"],"names":[],"mappings":"AAoBO,gGATJ;IAAuB,KAAK,EAApB,MAAM;IACS,QAAQ;IACP,KAAK,GAArB,MAAM;IACU,KAAK,GAArB,MAAM;IACU,IAAI,GAApB,MAAM;IACU,GAAG,GAAnB,MAAM;IAC6B,MAAM,EAAzC,OAAO,WAAW,EAAE,MAAM;CAClC,OA+EF;AAEM,+EAYN;AAUM,+CANI,MAAM,SACN,MAAM,YACN,OAAO,mBAAmB,EAAE,QAAQ,UACpC,OAAO,WAAW,EAAE,MAAM,GACxB,MAAM,CA+BlB;AAQM,wCAJI,MAAM,cACN,MAAM,OAYhB;AASM,qCAHI,OAAO,WAAW,EAAE,MAAM,sBACxB,MAAM,CASlB;AAeM,oFAPJ;IAAuB,KAAK,EAApB,MAAM;IACS,KAAK,EAApB,MAAM;IACwC,QAAQ,GAAtD,OAAO,mBAAmB,EAAE,QAAQ;IACrB,MAAM;IACL,KAAK,GAArB,MAAM;CACd,OA6GF;AAOM,8CAHI,OAAO,WAAW,EAAE,MAAM,GACxB,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE;IAAC,KAAK,EAAE,MAAM,GAAC,IAAI,CAAC;IAAC,MAAM,EAAE,MAAM,GAAC,IAAI,CAAC;IAAC,OAAO,EAAE,MAAM,GAAC,IAAI,CAAC;IAAC,MAAM,EAAE,MAAM,GAAC,IAAI,CAAC;IAAC,iBAAiB,EAAE,MAAM,GAAC,IAAI,CAAC;IAAC,YAAY,EAAE,MAAM,GAAC,IAAI,CAAC;IAAC,QAAQ,EAAE,MAAO,IAAI,CAAC;IAAC,UAAU,EAAE,MAAM,GAAC,SAAS,CAAA;CAAC,CAAC,CAAC,CA+ChP;AAUM,8CAJI,MAAM,UACN,OAAO,WAAW,EAAE,MAAM,GACxB,IAAI,CAehB;AAYM,sEALJ;IAAuB,KAAK,EAApB,MAAM;IACS,KAAK,EAApB,MAAM;IACS,WAAW;CAClC,OAsBF;AAaM,mFANJ;IAAuB,KAAK,EAApB,MAAM;IACS,KAAK,EAApB,MAAM;IAC6B,MAAM,EAAzC,OAAO,WAAW,EAAE,MAAM;IACX,WAAW;CAClC,OAQF;AAUM,wDALJ;IAA8B,QAAQ,EAA9B,MAAM,MAAO;IACsB,MAAM,EAAzC,OAAO,WAAW,EAAE,MAAM;IACsB,EAAE,EAAlD,OAAO,mBAAmB,EAAE,WAAW;CAC/C,WAyBF;AAWM,+DANJ;IAAuB,EAAE;IACF,IAAI,EAAnB,MAAM;IACS,EAAE,EAAjB,MAAM;IACO,OAAO,EAApB,IAAI;CACZ,GAAU,IAAI,CAIhB;;;;;;;;;;;;;;;;;mCA3dkD,uBAAuB;+BAAvB,uBAAuB"}
1
+ {"version":3,"file":"list-numbering-helpers.d.ts","sourceRoot":"","sources":["../../../../../src/core/helpers/list-numbering-helpers.js"],"names":[],"mappings":"AAoBO,gGATJ;IAAuB,KAAK,EAApB,MAAM;IACS,QAAQ;IACP,KAAK,GAArB,MAAM;IACU,KAAK,GAArB,MAAM;IACU,IAAI,GAApB,MAAM;IACU,GAAG,GAAnB,MAAM;IAC6B,MAAM,EAAzC,OAAO,WAAW,EAAE,MAAM;CAClC,OAmFF;AAEM,+EAYN;AAUM,+CANI,MAAM,SACN,MAAM,YACN,OAAO,mBAAmB,EAAE,QAAQ,UACpC,OAAO,WAAW,EAAE,MAAM,GACxB,MAAM,CAiClB;AAQM,wCAJI,MAAM,cACN,MAAM,OAYhB;AASM,qCAHI,OAAO,WAAW,EAAE,MAAM,sBACxB,MAAM,CASlB;AAeM,oFAPJ;IAAuB,KAAK,EAApB,MAAM;IACS,KAAK,EAApB,MAAM;IACwC,QAAQ,GAAtD,OAAO,mBAAmB,EAAE,QAAQ;IACrB,MAAM;IACL,KAAK,GAArB,MAAM;CACd,OA6GF;AAOM,8CAHI,OAAO,WAAW,EAAE,MAAM,GACxB,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE;IAAC,KAAK,EAAE,MAAM,GAAC,IAAI,CAAC;IAAC,MAAM,EAAE,MAAM,GAAC,IAAI,CAAC;IAAC,OAAO,EAAE,MAAM,GAAC,IAAI,CAAC;IAAC,MAAM,EAAE,MAAM,GAAC,IAAI,CAAC;IAAC,iBAAiB,EAAE,MAAM,GAAC,IAAI,CAAC;IAAC,YAAY,EAAE,MAAM,GAAC,IAAI,CAAC;IAAC,QAAQ,EAAE,MAAO,IAAI,CAAC;IAAC,UAAU,EAAE,MAAM,GAAC,SAAS,CAAA;CAAC,CAAC,CAAC,CA+ChP;AAUM,8CAJI,MAAM,UACN,OAAO,WAAW,EAAE,MAAM,GACxB,IAAI,CAehB;AAYM,sEALJ;IAAuB,KAAK,EAApB,MAAM;IACS,KAAK,EAApB,MAAM;IACS,WAAW;CAClC,OAsBF;AAaM,mFANJ;IAAuB,KAAK,EAApB,MAAM;IACS,KAAK,EAApB,MAAM;IAC6B,MAAM,EAAzC,OAAO,WAAW,EAAE,MAAM;IACX,WAAW;CAClC,OAQF;AAUM,wDALJ;IAA8B,QAAQ,EAA9B,MAAM,MAAO;IACsB,MAAM,EAAzC,OAAO,WAAW,EAAE,MAAM;IACsB,EAAE,EAAlD,OAAO,mBAAmB,EAAE,WAAW;CAC/C,WAyBF;AAWM,+DANJ;IAAuB,EAAE;IACF,IAAI,EAAnB,MAAM;IACS,EAAE,EAAjB,MAAM;IACO,OAAO,EAApB,IAAI;CACZ,GAAU,IAAI,CAIhB;;;;;;;;;;;;;;;;;mCAjekD,uBAAuB;+BAAvB,uBAAuB"}
@@ -1,14 +1,19 @@
1
- export * from "./Node.js";
2
- export * from "./Mark.js";
3
- export * from "./Schema.js";
4
- export * from "./Attribute.js";
5
- export * from "./CommandService.js";
6
- export * from "./Extension.js";
7
- export * from "./super-converter/SuperConverter.js";
8
- export * from "./OxmlNode.js";
9
- export * from "./Editor.js";
10
- export * as coreExtensions from "./extensions/index.js";
11
- export * as helpers from "./helpers/index.js";
12
- export * as utilities from "./utilities/index.js";
13
- export { default as DocxZipper } from "./DocxZipper.js";
1
+ export * from './Node.js';
2
+ export * from './Mark.js';
3
+ export * from './Schema.js';
4
+ export * from './Attribute.js';
5
+ export * from './CommandService.js';
6
+ export * from './Extension.js';
7
+ export * from './super-converter/SuperConverter.js';
8
+ export * from './OxmlNode.js';
9
+ export * as coreExtensions from './extensions/index.js';
10
+ export * as helpers from './helpers/index.js';
11
+ export * as utilities from './utilities/index.js';
12
+ export * from './Editor.js';
13
+ export { default as DocxZipper } from './DocxZipper.js';
14
+ export type * from './types/EditorConfig.js';
15
+ export type * from './types/EditorTypes.js';
16
+ export type * from './types/EditorEvents.js';
17
+ export type * from './EventEmitter.js';
18
+ export type { ChainedCommand, ChainableCommandObject, CanCommand, CanCommands, CanObject, CoreCommands, ExtensionCommands, EditorCommands, CommandProps, Command, CommandServiceOptions, } from './types/ChainedCommands.js';
14
19
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/core/index.js"],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/core/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qCAAqC,CAAC;AACpD,cAAc,eAAe,CAAC;AAE9B,OAAO,KAAK,cAAc,MAAM,uBAAuB,CAAC;AACxD,OAAO,KAAK,OAAO,MAAM,oBAAoB,CAAC;AAC9C,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAC;AAGlD,cAAc,aAAa,CAAC;AAE5B,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAGxD,mBAAmB,yBAAyB,CAAC;AAC7C,mBAAmB,wBAAwB,CAAC;AAC5C,mBAAmB,yBAAyB,CAAC;AAC7C,mBAAmB,mBAAmB,CAAC;AAGvC,YAAY,EACV,cAAc,EACd,sBAAsB,EACtB,UAAU,EACV,WAAW,EACX,SAAS,EACT,YAAY,EACZ,iBAAiB,EACjB,cAAc,EACd,YAAY,EACZ,OAAO,EACP,qBAAqB,GACtB,MAAM,4BAA4B,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { Schema } from 'prosemirror-model';
2
+ import type { SchemaSummaryJSON } from './types/EditorSchema.js';
3
+ export declare function buildSchemaSummary(schema: Schema, schemaVersion?: string): SchemaSummaryJSON;
4
+ //# sourceMappingURL=schema-summary.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema-summary.d.ts","sourceRoot":"","sources":["../../../../src/core/schema-summary.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,EAAE,iBAAiB,EAA0B,MAAM,yBAAyB,CAAC;AAkDzF,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,MAAM,EAAE,aAAa,CAAC,EAAE,MAAM,GAAG,iBAAiB,CAgC5F"}
@@ -1,9 +1,3 @@
1
- /**
2
- * Convert SDT child elements into Word run elements.
3
- * @param {Array<Object>|Object} elements
4
- * @returns {Array<Object>}
5
- */
6
- export function convertSdtContentToRuns(elements: Array<any> | any): Array<any>;
7
1
  /**
8
2
  * @typedef {Object} ExportParams
9
3
  * @property {Object} node JSON node to translate (from PM schema)
@@ -44,29 +38,6 @@ export function convertSdtContentToRuns(elements: Array<any> | any): Array<any>;
44
38
  * @returns {XmlReadyNode} The complete document node in XML-ready format
45
39
  */
46
40
  export function exportSchemaToJson(params: ExportParams): XmlReadyNode;
47
- /**
48
- * Translate a paragraph node
49
- *
50
- * @param {ExportParams} node A prose mirror paragraph node
51
- * @returns {XmlReadyNode} JSON of the XML-ready paragraph node
52
- */
53
- export function translateParagraphNode(params: any): XmlReadyNode;
54
- /**
55
- * Generate the w:pPr props for a paragraph node
56
- *
57
- * @param {SchemaNode} node
58
- * @returns {XmlReadyNode} The paragraph properties node
59
- */
60
- export function generateParagraphProperties(params: any): XmlReadyNode;
61
- /**
62
- * Helper function to be used for text node translation
63
- * Also used for transforming text annotations for the final submit
64
- *
65
- * @param {String} text Text node's content
66
- * @param {Object[]} marks The marks to add to the run properties
67
- * @returns {XmlReadyNode} The translated text node
68
- */
69
- export function getTextNodeForExport(text: string, marks: any[], params: any): XmlReadyNode;
70
41
  /**
71
42
  * Wrap a text node in a run
72
43
  *
@@ -91,25 +62,6 @@ export function generateRunProps(marks?: any[]): {
91
62
  * @returns
92
63
  */
93
64
  export function processOutputMarks(marks?: MarkType[]): any[];
94
- export function processLinkContentNode(node: any): any;
95
- /**
96
- * Create a new link relationship and add it to the relationships array
97
- *
98
- * @param {ExportParams} params
99
- * @param {string} link The URL of this link
100
- * @returns {string} The new relationship ID
101
- */
102
- export function addNewLinkRelationship(params: ExportParams, link: string): string;
103
- export function translateHardBreak(params: any): {
104
- name: string;
105
- elements: {
106
- name: string;
107
- type: string;
108
- attributes: {
109
- 'w:type': string;
110
- };
111
- }[];
112
- };
113
65
  export function ensureSectionLayoutDefaults(sectPr: any, converter: any): any;
114
66
  export function isLineBreakOnlyRun(node: any): any;
115
67
  export class DocxExporter {
@@ -1 +1 @@
1
- {"version":3,"file":"exporter.d.ts","sourceRoot":"","sources":["../../../../../src/core/super-converter/exporter.js"],"names":[],"mappings":"AA2GA;;;;GAIG;AACH,kDAHW,KAAK,KAAQ,MAAO,GAClB,KAAK,KAAQ,CAgDzB;AAED;;;;;;GAMG;AAEH;;;;;;;;;;;;GAYG;AAEH;;;GAGG;AAEH;;;GAGG;AAEH;;;;GAIG;AAEH;;;;;GAKG;AACH,2CAHW,YAAY,GACV,YAAY,CAuDxB;AAyFD;;;;;GAKG;AACH,qDAFa,YAAY,CA2BxB;AAED;;;;;GAKG;AACH,0DAFa,YAAY,CAuCxB;AAwBD;;;;;;;GAOG;AAEH,0DAJW,KAAQ,gBACN,YAAY,CAiExB;AAED;;;;;GAKG;AACH,6DAFa,YAAY,CAYxB;AAED;;;;;GAKG;AACH,yCAHW,KAAQ;;;EAQlB;AAED;;;;;GAKG;AACH,2CAHW,QAAQ,EAAE,SAgBpB;AAED,uDA2CC;AAED;;;;;;GAMG;AACH,+CAJW,YAAY,QACZ,MAAM,GACJ,MAAM,CAqBlB;AAgID;;;;;;;;;EAgBC;AAnuBM,8EAiDN;AAEM,mDAON;AA2qBD;IACE,4BAEC;IADC,eAA0B;IAG5B,gDAGC;;CAoFF;;;;;;;;;;;;;oBA5sBa,KAAQ;;;;;;;;;;UAMR,MAAM;;;;aACN,KAAK,CAAC,UAAU,CAAC;;;;;;;;;;;;;UAMjB,MAAM;;;;cACN,KAAK,CAAC,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;UAgBnB,MAAM"}
1
+ {"version":3,"file":"exporter.d.ts","sourceRoot":"","sources":["../../../../../src/core/super-converter/exporter.js"],"names":[],"mappings":"AAsGA;;;;;;GAMG;AAEH;;;;;;;;;;;;GAYG;AAEH;;;GAGG;AAEH;;;GAGG;AAEH;;;;GAIG;AAEH;;;;;GAKG;AACH,2CAHW,YAAY,GACV,YAAY,CAuDxB;AA+GD;;;;;GAKG;AACH,6DAFa,YAAY,CAYxB;AAED;;;;;GAKG;AACH,yCAHW,KAAQ;;;EAQlB;AAED;;;;;GAKG;AACH,2CAHW,QAAQ,EAAE,SAgBpB;AA9TM,8EAiDN;AAEM,mDAON;AAoYD;IACE,4BAEC;IADC,eAA0B;IAG5B,gDAGC;;CAoFF;;;;;;;;;;;;;oBA1da,KAAQ;;;;;;;;;;UAMR,MAAM;;;;aACN,KAAK,CAAC,UAAU,CAAC;;;;;;;;;;;;;UAMjB,MAAM;;;;cACN,KAAK,CAAC,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;UAgBnB,MAAM"}
@@ -60,4 +60,11 @@ export function hasSomeParentWithClass(element: any, classname: any): any;
60
60
  export function getTextIndentExportValue(indent: string | number): number;
61
61
  export function polygonUnitsToPixels(pu: any): number;
62
62
  export function pixelsToPolygonUnits(pixels: any): number;
63
+ /**
64
+ * @param {number | string} value Value (e.g. 5000 or "100%")
65
+ * @param {"dxa" | "pct" | "nil" | "auto" | null} type Units: either "dxa" (or null/undefined) for absolute measurements in twips, "pct" for relative measurements (either as 1/50 of a percent, or as a percentage with a trailing "%"), "nil" (zero width, see 17.18.90 of ECMA-376-1:2016), or "auto" (
66
+ *
67
+ * @returns {string | null} CSS specification for size (e.g. `100%`, `25px`) or `null` if the type is `"auto"`
68
+ */
69
+ export function convertSizeToCSS(value: number | string, type: "dxa" | "pct" | "nil" | "auto" | null): string | null;
63
70
  //# sourceMappingURL=helpers.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/core/super-converter/helpers.js"],"names":[],"mappings":"AAGA,8BAAwB,EAAE,CAAC;AAE3B,mDAIC;AAED,kDAKC;AAED,kDAIC;AAED,mDAGC;AAQD,oDAIC;AAoDD,mDAGC;AAjED,oDAIC;AAQD,iDAGC;AAED,iDAGC;AAED,2DAGC;AAOD,8CAKC;AAED,6CAIC;AAED,wDAGC;AArBD,2DAGC;AAoBD,gEAKC;AAYD,yDAGC;AAbD,mDAGC;AAsBD,+CAGC;AAED,mDAGC;AAgDD;;;;;;;GAOG;AACH,qCAHW,KAAK,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GACrB,MAAO,IAAI,CAyCvB;AA7ED;;;;;;;GAOG;AACH,gDAFa,KAAK,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GAAC,IAAI,CAsBxC;AAsED,4FAyDC;AAED,uEAKC;AAmCD,kEAGC;AAED,mEASC;AA5BD,iDAYC;AAkBD,qDAaC;AAOD,2CAEC;AA1QD,2CAGC;AARD,8CAGC;AA8QD;;;;EAUC;AAED,qEAuBC;AAED,0EAGC;AAtMD;;;;GAIG;AACH,iDAHW,MAAM,GAAC,MAAM,GACX,MAAM,CAWlB;AApGD,sDAKC;AAdD,0DAOC"}
1
+ {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/core/super-converter/helpers.js"],"names":[],"mappings":"AAGA,8BAAwB,EAAE,CAAC;AAE3B,mDAIC;AAED,kDAKC;AAED,kDAIC;AAED,mDAGC;AAQD,oDAIC;AAoDD,mDAGC;AAjED,oDAIC;AAQD,iDAGC;AAED,iDAGC;AAED,2DAGC;AAOD,8CAKC;AAED,6CAIC;AAED,wDAGC;AArBD,2DAGC;AAoBD,gEAKC;AAYD,yDAGC;AAbD,mDAGC;AAsBD,+CAGC;AAED,mDAGC;AAgDD;;;;;;;GAOG;AACH,qCAHW,KAAK,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GACrB,MAAO,IAAI,CAyCvB;AA7ED;;;;;;;GAOG;AACH,gDAFa,KAAK,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GAAC,IAAI,CAsBxC;AAsED,4FAyDC;AAED,uEAKC;AAmCD,kEAGC;AAED,mEASC;AA5BD,iDAYC;AAkBD,qDAaC;AAOD,2CAEC;AA1QD,2CAGC;AARD,8CAGC;AA8QD;;;;EAUC;AAED,qEAuBC;AAED,0EAGC;AAtMD;;;;GAIG;AACH,iDAHW,MAAM,GAAC,MAAM,GACX,MAAM,CAWlB;AApGD,sDAKC;AAdD,0DAOC;AAgSD;;;;;GAKG;AACH,wCALW,MAAM,GAAG,MAAM,QACf,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,MAAM,GAAG,IAAI,GAEnC,MAAM,GAAG,IAAI,CAoDzB"}
@@ -4,23 +4,69 @@
4
4
  * @param {Object} inlineProps - The inline paragraph properties.
5
5
  * @param {boolean} [insideTable=false] - Whether the paragraph is inside a table.
6
6
  * @param {boolean} [overrideInlineStyleId=false] - Whether to override the inline style ID with the one from numbering.
7
+ * @param {string | null} [tableStyleId=null] - styleId for the current table, if any
7
8
  * @returns {Object} The resolved paragraph properties.
8
9
  */
9
- export function resolveParagraphProperties(params: import("@translator").SCEncoderConfig, inlineProps: any, insideTable?: boolean, overrideInlineStyleId?: boolean): any;
10
- export function getDefaultProperties(params: any, translator: any): any;
11
- export function getStyleProperties(params: any, styleId: any, translator: any): {
10
+ export function resolveParagraphProperties(params: import("@translator").SCEncoderConfig, inlineProps: any, insideTable?: boolean, overrideInlineStyleId?: boolean, tableStyleId?: string | null): any;
11
+ /**
12
+ * Reads document default properties for a given element type (paragraph/run).
13
+ * @param {import('@translator').SCEncoderConfig} params - Converter context with parsed docx.
14
+ * @param {Object} translator - Translator responsible for encoding element properties.
15
+ * @returns {Object} Default property map for the requested element.
16
+ */
17
+ export function getDefaultProperties(params: import("@translator").SCEncoderConfig, translator: any): any;
18
+ /**
19
+ * Retrieves the properties for a specific style ID.
20
+ * @param {import('@translator').SCEncoderConfig} params - Converter context with parsed docx.
21
+ * @param {string} styleId - The style identifier to look up.
22
+ * @param {Object} translator - Translator used to encode style properties.
23
+ * @returns {{properties: Object, isDefault: boolean, basedOn: string|null}} Style metadata and properties.
24
+ */
25
+ export function getStyleProperties(params: import("@translator").SCEncoderConfig, styleId: string, translator: any): {
12
26
  properties: any;
13
27
  isDefault: boolean;
14
- basedOn: any;
28
+ basedOn: string | null;
15
29
  };
16
- export function getNumberingProperties(params: any, ilvl: any, numId: any, translator: any, tries?: number): any;
17
- export function encodeMarksFromRPr(runProperties: any, docx: any): {
18
- type: string;
19
- attrs: {};
20
- }[];
21
- export function encodeCSSFromRPr(runProperties: any, docx: any): {};
22
- export function decodeRPrFromMarks(marks: any): {};
30
+ /**
31
+ * Resolves numbering properties for a given level and numbering definition.
32
+ * @param {import('@translator').SCEncoderConfig} params - Converter context with numbering data.
33
+ * @param {number} ilvl - Indent level within the numbering definition.
34
+ * @param {number|string} numId - Numbering definition identifier.
35
+ * @param {Object} translator - Translator used to encode numbering properties.
36
+ * @param {number} [tries=0] - Internal guard to avoid infinite recursion when following numStyleLink.
37
+ * @returns {Object} Combined numbering property object for the level.
38
+ */
39
+ export function getNumberingProperties(params: import("@translator").SCEncoderConfig, ilvl: number, numId: number | string, translator: any, tries?: number): any;
40
+ /**
41
+ * Encodes run property objects into mark definitions for the editor schema.
42
+ * @param {Object} runProperties - Run properties extracted from DOCX.
43
+ * @param {Object} docx - Parsed DOCX structure used for theme lookups.
44
+ * @returns {Array<Object>} Mark definitions representing the run styling.
45
+ */
46
+ export function encodeMarksFromRPr(runProperties: any, docx: any): Array<any>;
47
+ /**
48
+ * Converts paragraph properties into a CSS declaration map.
49
+ * @param {Object} paragraphProperties - Paragraph properties after resolution.
50
+ * @returns {Object} CSS properties keyed by CSS property name.
51
+ */
52
+ export function encodeCSSFromPPr(paragraphProperties: any): any;
53
+ /**
54
+ * Converts run properties into a CSS declaration map.
55
+ * @param {Object} runProperties - Run properties after resolution.
56
+ * @param {Object} docx - Parsed DOCX content used for theme lookups.
57
+ * @returns {Object} CSS properties keyed by CSS property name.
58
+ */
59
+ export function encodeCSSFromRPr(runProperties: any, docx: any): any;
60
+ /**
61
+ * Decodes mark definitions back into run property objects.
62
+ * @param {Array<Object>} marks - Mark array from the editor schema.
63
+ * @returns {Object} Run property object.
64
+ */
65
+ export function decodeRPrFromMarks(marks: Array<any>): any;
23
66
  export function resolveRunProperties(params: import("@translator").SCEncoderConfig, inlineRpr: any, resolvedPpr: any, isListNumber?: boolean, numberingDefinedInline?: boolean): any;
24
- export function combineProperties(propertiesArray: any, fullOverrideProps?: any[], specialHandling?: {}): any;
25
- export function combineRunProperties(propertiesArray: any): any;
67
+ export function combineProperties(propertiesArray: Array<any>, fullOverrideProps?: Array<string>, specialHandling?: {
68
+ [x: string]: Function;
69
+ }): any;
70
+ export function combineRunProperties(propertiesArray: Array<any>): any;
71
+ export function getSpacingStyle(spacing: any, isListItem?: boolean): any;
26
72
  //# sourceMappingURL=styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/core/super-converter/styles.js"],"names":[],"mappings":"AA0EA;;;;;;;GAOG;AACH,mDANW,OAAO,aAAa,EAAE,eAAe,kCAErC,OAAO,0BACP,OAAO,OAuFjB;AA8BD,wEAgBC;AAED;;;;EAsBC;AAED,iHA8DC;AA2CD;;;IAqGC;AAED,oEAyKC;AAED,mDAoFC;AA9qBM,6CALI,OAAO,aAAa,EAAE,eAAe,mGA8D/C;AAsOM,8GAmCN;AAEM,gEAEN"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/core/super-converter/styles.js"],"names":[],"mappings":"AAkFA;;;;;;;;GAQG;AACH,mDAPW,OAAO,aAAa,EAAE,eAAe,kCAErC,OAAO,0BACP,OAAO,iBACP,MAAM,GAAG,IAAI,OAgGvB;AAsCD;;;;;GAKG;AACH,6CAJW,OAAO,aAAa,EAAE,eAAe,wBAoB/C;AAED;;;;;;GAMG;AACH,2CALW,OAAO,aAAa,EAAE,eAAe,WACrC,MAAM,oBAEJ;IAAC,UAAU,MAAS;IAAC,SAAS,EAAE,OAAO,CAAC;IAAC,OAAO,EAAE,MAAM,GAAC,IAAI,CAAA;CAAC,CAwB1E;AAED;;;;;;;;GAQG;AACH,+CAPW,OAAO,aAAa,EAAE,eAAe,QACrC,MAAM,SACN,MAAM,GAAC,MAAM,2BAEb,MAAM,OAiEhB;AAkED;;;;;GAKG;AACH,mEAFa,KAAK,KAAQ,CAuGzB;AAED;;;;GAIG;AACH,gEA+EC;AAED;;;;;GAKG;AACH,qEAyKC;AAED;;;;GAIG;AACH,0CAHW,KAAK,KAAQ,OAuFvB;AAp1BM,6CALI,OAAO,aAAa,EAAE,eAAe,mGA8D/C;AAqRM,mDALI,KAAK,KAAQ,sBACb,KAAK,CAAC,MAAM,CAAC;;QAkDvB;AAOM,sDAHI,KAAK,KAAQ,OAKvB;AA8jBM,2DAHI,OAAO,OA4CjB"}
@@ -1 +1 @@
1
- {"version":3,"file":"autoPageNumberImporter.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/super-converter/v2/importer/autoPageNumberImporter.js"],"names":[],"mappings":"AAsBA;;GAEG;AACH,wCAGE;AAsBF;;GAEG;AACH,2CAGE"}
1
+ {"version":3,"file":"autoPageNumberImporter.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/super-converter/v2/importer/autoPageNumberImporter.js"],"names":[],"mappings":"AAIA;;GAEG;AACH,wCAAgH;AAEhH;;GAEG;AACH,2CAAuH"}
@@ -39,5 +39,5 @@ export function getFontFamilyValue(attributes: any, docx: any): any;
39
39
  export function getIndentValue(attributes: any): string;
40
40
  export function getLineHeightValue(attributes: any): string;
41
41
  export function getHighLightValue(attributes: any): string;
42
- export function getStrikeValue(attributes: any): "1" | "0";
42
+ export function getStrikeValue(attributes: any): "0" | "1";
43
43
  //# sourceMappingURL=markImporter.d.ts.map
@@ -19,6 +19,10 @@ export type NodeHandlerParams = {
19
19
  * - The converter object.
20
20
  */
21
21
  converter: any;
22
+ /**
23
+ * - The numbering object containing numbering definitions.
24
+ */
25
+ numbering: any;
22
26
  /**
23
27
  * - The editor object.
24
28
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/core/super-converter/v2/importer/types/index.js"],"names":[],"mappings":";;;;;;;;;;;;uBAIc,OAAO;;;;qBACP,eAAe;;;;;;;;YAEf,OAAO,oBAAoB,EAAE,MAAM;;;;eACnC,MAAM;;;;oBACN,MAAM;;;;;;;;0BAEN,MAAM,EAAE;;;;;;;;kBAER,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;;;yBAKpB;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,GAAC,CAAC;IAAC,IAAI,EAAE,GAAC,CAAC;IAAC,KAAK,EAAE,EAAE,CAAC;IAAC,KAAK,EAAE,GAAC,CAAC;IAAC,eAAe,EAAE,MAAM,CAAA;CAAC;yBACjF;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,EAAE,CAAA;CAAC;;8BAIzB;IAAC,OAAO,EAAE,iBAAiB,CAAC;IAAC,eAAe,EAAE,gBAAgB,EAAE,CAAA;CAAC;gCACjE,CAAC,MAAM,EAAE,iBAAiB,KAAK,UAAU,EAAE;0BAE3C,CAAC,MAAM,EAAE,iBAAiB,KAAK;IAAC,KAAK,EAAE,UAAU,EAAE,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAC;+BACtE;IAAC,WAAW,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,WAAW,CAAA;CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/core/super-converter/v2/importer/types/index.js"],"names":[],"mappings":";;;;;;;;;;;;uBAIc,OAAO;;;;qBACP,eAAe;;;;;;;;;;;;YAGf,OAAO,oBAAoB,EAAE,MAAM;;;;eACnC,MAAM;;;;oBACN,MAAM;;;;;;;;0BAEN,MAAM,EAAE;;;;;;;;kBAER,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;;;yBAKpB;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,GAAC,CAAC;IAAC,IAAI,EAAE,GAAC,CAAC;IAAC,KAAK,EAAE,EAAE,CAAC;IAAC,KAAK,EAAE,GAAC,CAAC;IAAC,eAAe,EAAE,MAAM,CAAA;CAAC;yBACjF;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,EAAE,CAAA;CAAC;;8BAIzB;IAAC,OAAO,EAAE,iBAAiB,CAAC;IAAC,eAAe,EAAE,gBAAgB,EAAE,CAAA;CAAC;gCACjE,CAAC,MAAM,EAAE,iBAAiB,KAAK,UAAU,EAAE;0BAE3C,CAAC,MAAM,EAAE,iBAAiB,KAAK;IAAC,KAAK,EAAE,UAAU,EAAE,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAC;+BACtE;IAAC,WAAW,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,WAAW,CAAA;CAAC"}
@@ -0,0 +1,8 @@
1
+ /** @type {import('@translator').NodeTranslatorConfig} */
2
+ export const config: import("@translator").NodeTranslatorConfig;
3
+ /**
4
+ * The NodeTranslator instance.
5
+ * @type {import('@translator').NodeTranslator}
6
+ */
7
+ export const translator: import("@translator").NodeTranslator;
8
+ //# sourceMappingURL=autoPageNumber-translator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"autoPageNumber-translator.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/core/super-converter/v3/handlers/sd/autoPageNumber/autoPageNumber-translator.js"],"names":[],"mappings":"AA+GA,yDAAyD;AACzD,qBADW,OAAO,aAAa,EAAE,oBAAoB,CAOnD;AAEF;;;GAGG;AACH,yBAFU,OAAO,aAAa,EAAE,cAAc,CAEQ"}
@@ -0,0 +1,2 @@
1
+ export * from "./autoPageNumber-translator.js";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/core/super-converter/v3/handlers/sd/autoPageNumber/index.js"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export * from "./totalPageNumber-translator.js";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/core/super-converter/v3/handlers/sd/totalPageNumber/index.js"],"names":[],"mappings":""}
@@ -0,0 +1,8 @@
1
+ /** @type {import('@translator').NodeTranslatorConfig} */
2
+ export const config: import("@translator").NodeTranslatorConfig;
3
+ /**
4
+ * The NodeTranslator instance.
5
+ * @type {import('@translator').NodeTranslator}
6
+ */
7
+ export const translator: import("@translator").NodeTranslator;
8
+ //# sourceMappingURL=totalPageNumber-translator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"totalPageNumber-translator.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/core/super-converter/v3/handlers/sd/totalPageNumber/totalPageNumber-translator.js"],"names":[],"mappings":"AA+GA,yDAAyD;AACzD,qBADW,OAAO,aAAa,EAAE,oBAAoB,CAOnD;AAEF;;;GAGG;AACH,yBAFU,OAAO,aAAa,EAAE,cAAc,CAEQ"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Generate the w:pPr props for a paragraph node
3
+ *
4
+ * @param {SchemaNode} node
5
+ * @returns {XmlReadyNode} The paragraph properties node
6
+ */
7
+ export function generateParagraphProperties(params: any): XmlReadyNode;
8
+ //# sourceMappingURL=generate-paragraph-properties.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generate-paragraph-properties.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/core/super-converter/v3/handlers/w/p/helpers/generate-paragraph-properties.js"],"names":[],"mappings":"AAGA;;;;;GAKG;AACH,0DAFa,YAAY,CAoBxB"}
@@ -1 +1 @@
1
- {"version":3,"file":"legacy-handle-paragraph-node.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/core/super-converter/v3/handlers/w/p/helpers/legacy-handle-paragraph-node.js"],"names":[],"mappings":"AAUO,4CAHI,OAAO,aAAa,EAAE,eAAe,OA8E/C"}
1
+ {"version":3,"file":"legacy-handle-paragraph-node.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/core/super-converter/v3/handlers/w/p/helpers/legacy-handle-paragraph-node.js"],"names":[],"mappings":"AA0BO,4CAHI,OAAO,aAAa,EAAE,eAAe,OAkE/C"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Translate a paragraph node
3
+ *
4
+ * @param {ExportParams} node A prose mirror paragraph node
5
+ * @returns {XmlReadyNode} JSON of the XML-ready paragraph node
6
+ */
7
+ export function translateParagraphNode(params: any): XmlReadyNode;
8
+ //# sourceMappingURL=translate-paragraph-node.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"translate-paragraph-node.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/core/super-converter/v3/handlers/w/p/helpers/translate-paragraph-node.js"],"names":[],"mappings":"AAGA;;;;;GAKG;AACH,qDAFa,YAAY,CA2BxB"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Convert SDT child elements into Word run elements.
3
+ * @param {Array<Object>|Object} elements
4
+ * @returns {Array<Object>}
5
+ */
6
+ export function convertSdtContentToRuns(elements: Array<any> | any): Array<any>;
7
+ //# sourceMappingURL=convert-sdt-content-to-runs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"convert-sdt-content-to-runs.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/core/super-converter/v3/handlers/w/sdt/helpers/convert-sdt-content-to-runs.js"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,kDAHW,KAAK,KAAQ,MAAO,GAClB,KAAK,KAAQ,CAgDzB"}
@@ -1 +1 @@
1
- {"version":3,"file":"translate-field-annotation.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/core/super-converter/v3/handlers/w/sdt/helpers/translate-field-annotation.js"],"names":[],"mappings":"AAUA;;;;GAIG;AACH,2DAyEC;AAED;;;;;GAKG;AACH,2GA0BC;AAED;;;;GAIG;AACH,wDAOC;AAED;;;;;GAKG;AACH,yEAKC;AAED;;;;GAIG;AACH,4DAMC;AAED;;;;GAIG;AACH,wDAgDC;AAED;;;;GAIG;AACH,uDAqBC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAYC;AAED,wEAgEC;AAED;;;;GAIG;AACH,4DAHW,MAAM,OAmChB"}
1
+ {"version":3,"file":"translate-field-annotation.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/core/super-converter/v3/handlers/w/sdt/helpers/translate-field-annotation.js"],"names":[],"mappings":"AAWA;;;;GAIG;AACH,2DAyEC;AAED;;;;;GAKG;AACH,2GA0BC;AAED;;;;GAIG;AACH,wDAOC;AAED;;;;;GAKG;AACH,yEAKC;AAED;;;;GAIG;AACH,4DAMC;AAED;;;;GAIG;AACH,wDAgDC;AAED;;;;GAIG;AACH,uDAiCC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAYC;AAED,wEAgEC;AAED;;;;GAIG;AACH,4DAHW,MAAM,OAmChB"}
@@ -0,0 +1,5 @@
1
+ export function getTextNodeForExport(text: any, marks: any, params: any): {
2
+ name: string;
3
+ elements: any[];
4
+ };
5
+ //# sourceMappingURL=translate-text-node.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"translate-text-node.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/core/super-converter/v3/handlers/w/t/helpers/translate-text-node.js"],"names":[],"mappings":"AAWA;;;EA8DC"}
@@ -1,18 +1,13 @@
1
+ /**
2
+ * @typedef {{borders?: {}, name?: *, justification?: *, fonts?: {}, fontSize?: *, rowBorders?: {}, cellMargins?: {}}} TableStyles
3
+ */
1
4
  /**
2
5
  *
3
6
  * @param {string|null} tableStyleReference
4
7
  * @param {import('@translator').SCEncoderConfig} [params]
5
- * @returns {{borders: {}, name: *, justification: *, fonts: {}, fontSize: *, rowBorders: {}, cellMargins: {}}|null}
8
+ * @returns {TableStyles|null}
6
9
  */
7
- export function _getReferencedTableStyles(tableStyleReference: string | null, params?: import("@translator").SCEncoderConfig): {
8
- borders: {};
9
- name: any;
10
- justification: any;
11
- fonts: {};
12
- fontSize: any;
13
- rowBorders: {};
14
- cellMargins: {};
15
- } | null;
10
+ export function _getReferencedTableStyles(tableStyleReference: string | null, params?: import("@translator").SCEncoderConfig): TableStyles | null;
16
11
  /**
17
12
  * Restore vertically merged cells from a table
18
13
  * @param {Object} table The table node
@@ -26,4 +21,13 @@ export const config: import("@translator").NodeTranslatorConfig;
26
21
  * @type {import('@translator').NodeTranslator}
27
22
  */
28
23
  export const translator: import("@translator").NodeTranslator;
24
+ export type TableStyles = {
25
+ borders?: {};
26
+ name?: any;
27
+ justification?: any;
28
+ fonts?: {};
29
+ fontSize?: any;
30
+ rowBorders?: {};
31
+ cellMargins?: {};
32
+ };
29
33
  //# sourceMappingURL=tbl-translator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tbl-translator.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/core/super-converter/v3/handlers/w/tbl/tbl-translator.js"],"names":[],"mappings":"AA8PA;;;;;GAKG;AACH,+DAJW,MAAM,GAAC,IAAI,WACX,OAAO,aAAa,EAAE,eAAe,GACnC;IAAC,OAAO,EAAE,EAAE,CAAC;IAAC,IAAI,EAAE,GAAC,CAAC;IAAC,aAAa,EAAE,GAAC,CAAC;IAAC,KAAK,EAAE,EAAE,CAAC;IAAC,QAAQ,EAAE,GAAC,CAAC;IAAC,UAAU,EAAE,EAAE,CAAC;IAAC,WAAW,EAAE,EAAE,CAAA;CAAC,GAAC,IAAI,CAwElH;AAED;;;;;GAKG;AACH,yDAAyD;AACzD,qBADW,OAAO,aAAa,EAAE,oBAAoB,CAQnD;AAEF;;;GAGG;AACH,yBAFU,OAAO,aAAa,EAAE,cAAc,CAEQ"}
1
+ {"version":3,"file":"tbl-translator.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/core/super-converter/v3/handlers/w/tbl/tbl-translator.js"],"names":[],"mappings":"AAgQA;;GAEG;AAEH;;;;;GAKG;AACH,+DAJW,MAAM,GAAC,IAAI,WACX,OAAO,aAAa,EAAE,eAAe,GACnC,WAAW,GAAC,IAAI,CAwE5B;AAED;;;;;GAKG;AACH,yDAAyD;AACzD,qBADW,OAAO,aAAa,EAAE,oBAAoB,CAQnD;AAEF;;;GAGG;AACH,yBAFU,OAAO,aAAa,EAAE,cAAc,CAEQ;0BArGzC;IAAC,OAAO,CAAC,EAAE,EAAE,CAAC;IAAC,IAAI,CAAC,EAAE,GAAC,CAAC;IAAC,aAAa,CAAC,EAAE,GAAC,CAAC;IAAC,KAAK,CAAC,EAAE,EAAE,CAAC;IAAC,QAAQ,CAAC,EAAE,GAAC,CAAC;IAAC,UAAU,CAAC,EAAE,EAAE,CAAC;IAAC,WAAW,CAAC,EAAE,EAAE,CAAA;CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"tblGrid-translator.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/core/super-converter/v3/handlers/w/tblGrid/tblGrid-translator.js"],"names":[],"mappings":"AAiJA;;;GAGG;AACH,yBAFU,OAAO,aAAa,EAAE,cAAc,CAEQ"}
1
+ {"version":3,"file":"tblGrid-translator.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/core/super-converter/v3/handlers/w/tblGrid/tblGrid-translator.js"],"names":[],"mappings":"AAoIA;;;GAGG;AACH,yBAFU,OAAO,aAAa,EAAE,cAAc,CAEQ"}
@@ -1 +1 @@
1
- {"version":3,"file":"tr-translator.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/core/super-converter/v3/handlers/w/tr/tr-translator.js"],"names":[],"mappings":"AAqMA,yDAAyD;AACzD,qBADW,OAAO,aAAa,EAAE,oBAAoB,CAQnD;AAEF;;;GAGG;AACH,yBAFU,OAAO,aAAa,EAAE,cAAc,CAEQ"}
1
+ {"version":3,"file":"tr-translator.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/core/super-converter/v3/handlers/w/tr/tr-translator.js"],"names":[],"mappings":"AAsMA,yDAAyD;AACzD,qBADW,OAAO,aAAa,EAAE,oBAAoB,CAQnD;AAEF;;;GAGG;AACH,yBAFU,OAAO,aAAa,EAAE,cAAc,CAEQ"}