@harbour-enterprises/superdoc 0.21.0-RC1 → 0.21.0-RC2

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 (209) hide show
  1. package/dist/chunks/{PdfViewer-DK1etjvu.es.js → PdfViewer-CbGuPQY8.es.js} +1 -1
  2. package/dist/chunks/{PdfViewer-BdrjIRpr.cjs → PdfViewer-DGbJ8_qc.cjs} +1 -1
  3. package/dist/chunks/{index-C_zTr1ZR.cjs → index-ecl0ZFNw.cjs} +3 -3
  4. package/dist/chunks/{index-ucP9WQ5I.es.js → index-qjntJEk0.es.js} +3 -3
  5. package/dist/chunks/{super-editor.es-KKA9G1l1.es.js → super-editor.es-BF_Xaucb.es.js} +8807 -7196
  6. package/dist/chunks/{super-editor.es-XC168Mlw.cjs → super-editor.es-CS5l-cVZ.cjs} +8807 -7196
  7. package/dist/core/SuperDoc.d.ts.map +1 -1
  8. package/dist/style.css +38 -0
  9. package/dist/super-editor/ai-writer.es.js +2 -2
  10. package/dist/super-editor/chunks/{converter-B61ZUb-V.js → converter-DUqGq6qj.js} +6317 -5380
  11. package/dist/super-editor/chunks/{docx-zipper-B8nhsVFW.js → docx-zipper-CQsQR8Zs.js} +2 -2
  12. package/dist/super-editor/chunks/{editor-CQ0o4v54.js → editor-gMF6aWiz.js} +2064 -1439
  13. package/dist/super-editor/chunks/{toolbar-DWzoslZk.js → toolbar-BxsT1ZgG.js} +2 -2
  14. package/dist/super-editor/converter.es.js +1 -1
  15. package/dist/super-editor/docx-zipper.es.js +2 -2
  16. package/dist/super-editor/editor.es.js +3 -3
  17. package/dist/super-editor/file-zipper.es.js +1 -1
  18. package/dist/super-editor/src/components/toolbar/format-negation.d.ts +5 -0
  19. package/dist/super-editor/src/core/commands/toggleMarkCascade.d.ts +1 -0
  20. package/dist/super-editor/src/core/commands/types/index.d.ts +29 -1
  21. package/dist/super-editor/src/core/helpers/index.d.ts +1 -0
  22. package/dist/super-editor/src/core/helpers/updateDOMAttributes.d.ts +1 -0
  23. package/dist/super-editor/src/core/super-converter/export-helpers/pre-process-vertical-merge-cells.d.ts +6 -0
  24. package/dist/super-editor/src/core/super-converter/exporter.d.ts +15 -1
  25. package/dist/super-editor/src/core/super-converter/helpers/mediaHelpers.d.ts +2 -0
  26. package/dist/super-editor/src/core/super-converter/helpers.d.ts +2 -0
  27. package/dist/super-editor/src/core/super-converter/v2/importer/bookmarkEndImporter.d.ts +6 -0
  28. package/dist/super-editor/src/core/super-converter/v2/importer/bookmarkNodeImporter.d.ts +5 -0
  29. package/dist/super-editor/src/core/super-converter/v2/importer/bookmarkStartImporter.d.ts +6 -0
  30. package/dist/super-editor/src/core/super-converter/v2/importer/imageImporter.d.ts +1 -1
  31. package/dist/super-editor/src/core/super-converter/v2/importer/tableImporter.d.ts +0 -22
  32. package/dist/super-editor/src/core/super-converter/v3/handlers/constants/east-asian-regex.d.ts +1 -0
  33. package/dist/super-editor/src/core/super-converter/v3/handlers/constants/index.d.ts +1 -0
  34. package/dist/super-editor/src/core/super-converter/v3/handlers/index.d.ts +2 -24
  35. package/dist/super-editor/src/core/super-converter/v3/handlers/utils.d.ts +10 -3
  36. package/dist/super-editor/src/core/super-converter/v3/handlers/w/bidiVisual/bidiVisual-translator.d.ts +6 -0
  37. package/dist/super-editor/src/core/super-converter/v3/handlers/w/bidiVisual/index.d.ts +1 -0
  38. package/dist/super-editor/src/core/super-converter/v3/handlers/w/bookmark-end/attributes/index.d.ts +2 -0
  39. package/dist/super-editor/src/core/super-converter/v3/handlers/w/bookmark-end/attributes/w-displaced-by-custom-xml.d.ts +4 -0
  40. package/dist/super-editor/src/core/super-converter/v3/handlers/w/bookmark-end/attributes/w-id.d.ts +4 -0
  41. package/dist/super-editor/src/core/super-converter/v3/handlers/w/bookmark-end/bookmark-end-translator.d.ts +7 -0
  42. package/dist/super-editor/src/core/super-converter/v3/handlers/w/bookmark-end/index.d.ts +1 -0
  43. package/dist/super-editor/src/core/super-converter/v3/handlers/w/bookmark-start/attributes/index.d.ts +2 -0
  44. package/dist/super-editor/src/core/super-converter/v3/handlers/w/bookmark-start/attributes/w-col-first.d.ts +4 -0
  45. package/dist/super-editor/src/core/super-converter/v3/handlers/w/bookmark-start/attributes/w-col-last.d.ts +4 -0
  46. package/dist/super-editor/src/core/super-converter/v3/handlers/w/bookmark-start/attributes/w-displaced-by-custom-xml.d.ts +4 -0
  47. package/dist/super-editor/src/core/super-converter/v3/handlers/w/bookmark-start/attributes/w-id.d.ts +4 -0
  48. package/dist/super-editor/src/core/super-converter/v3/handlers/w/bookmark-start/attributes/w-name.d.ts +4 -0
  49. package/dist/super-editor/src/core/super-converter/v3/handlers/w/bookmark-start/bookmark-start-translator.d.ts +7 -0
  50. package/dist/super-editor/src/core/super-converter/v3/handlers/w/bookmark-start/index.d.ts +1 -0
  51. package/dist/super-editor/src/core/super-converter/v3/handlers/w/bottom/bottom-translator.d.ts +6 -0
  52. package/dist/super-editor/src/core/super-converter/v3/handlers/w/bottom/index.d.ts +2 -0
  53. package/dist/super-editor/src/core/super-converter/v3/handlers/w/bottom/marginBottom-translator.d.ts +6 -0
  54. package/dist/super-editor/src/core/super-converter/v3/handlers/w/drawing/drawing-translator.d.ts +6 -0
  55. package/dist/super-editor/src/core/super-converter/v3/handlers/w/drawing/index.d.ts +1 -0
  56. package/dist/super-editor/src/core/super-converter/v3/handlers/w/end/end-translator.d.ts +6 -0
  57. package/dist/super-editor/src/core/super-converter/v3/handlers/w/end/index.d.ts +2 -0
  58. package/dist/super-editor/src/core/super-converter/v3/handlers/w/end/marginEnd-translator.d.ts +6 -0
  59. package/dist/super-editor/src/core/super-converter/v3/handlers/w/gridCol/gridCol-translator.d.ts +6 -0
  60. package/dist/super-editor/src/core/super-converter/v3/handlers/w/gridCol/index.d.ts +1 -0
  61. package/dist/super-editor/src/core/super-converter/v3/handlers/w/insideH/index.d.ts +1 -0
  62. package/dist/super-editor/src/core/super-converter/v3/handlers/w/insideH/insideH-translator.d.ts +6 -0
  63. package/dist/super-editor/src/core/super-converter/v3/handlers/w/insideV/index.d.ts +1 -0
  64. package/dist/super-editor/src/core/super-converter/v3/handlers/w/insideV/insideV-translator.d.ts +6 -0
  65. package/dist/super-editor/src/core/super-converter/v3/handlers/w/left/index.d.ts +2 -0
  66. package/dist/super-editor/src/core/super-converter/v3/handlers/w/left/left-translator.d.ts +6 -0
  67. package/dist/super-editor/src/core/super-converter/v3/handlers/w/left/marginLeft-translator.d.ts +6 -0
  68. package/dist/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/w-p-helpers.d.ts +1 -1
  69. package/dist/super-editor/src/core/super-converter/v3/handlers/w/r/helpers/helpers.d.ts +11 -11
  70. package/dist/super-editor/src/core/super-converter/v3/handlers/w/r/helpers/index.d.ts +1 -0
  71. package/dist/super-editor/src/core/super-converter/v3/handlers/w/r/helpers/track-change-helpers.d.ts +5 -0
  72. package/dist/super-editor/src/core/super-converter/v3/handlers/w/right/index.d.ts +2 -0
  73. package/dist/super-editor/src/core/super-converter/v3/handlers/w/right/marginRight-translator.d.ts +6 -0
  74. package/dist/super-editor/src/core/super-converter/v3/handlers/w/right/right-translator.d.ts +6 -0
  75. package/dist/super-editor/src/core/super-converter/v3/handlers/w/shd/index.d.ts +1 -0
  76. package/dist/super-editor/src/core/super-converter/v3/handlers/w/shd/shd-translator.d.ts +6 -0
  77. package/dist/super-editor/src/core/super-converter/v3/handlers/w/start/index.d.ts +2 -0
  78. package/dist/super-editor/src/core/super-converter/v3/handlers/w/start/marginStart-translator.d.ts +6 -0
  79. package/dist/super-editor/src/core/super-converter/v3/handlers/w/start/start-translator.d.ts +6 -0
  80. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tbl/index.d.ts +1 -0
  81. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tbl/tbl-translator.d.ts +28 -0
  82. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblBorders/index.d.ts +1 -0
  83. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblBorders/tblBorders-translator.d.ts +6 -0
  84. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblCaption/index.d.ts +1 -0
  85. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblCaption/tblCaption-translator.d.ts +6 -0
  86. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblCellMar/index.d.ts +1 -0
  87. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblCellMar/tblCellMar-translator.d.ts +2 -0
  88. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblDescription/index.d.ts +1 -0
  89. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblDescription/tblDescription-translator.d.ts +6 -0
  90. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblGrid/index.d.ts +1 -0
  91. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblGrid/tblGrid-helpers.d.ts +5 -0
  92. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblGrid/tblGrid-translator.d.ts +5 -0
  93. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblInd/index.d.ts +1 -0
  94. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblInd/tblInd-translator.d.ts +6 -0
  95. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblLayout/index.d.ts +1 -0
  96. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblLayout/tblLayout-translator.d.ts +6 -0
  97. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblLook/index.d.ts +1 -0
  98. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblLook/tblLook-translator.d.ts +6 -0
  99. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblOverlap/index.d.ts +1 -0
  100. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblOverlap/tblOverlap-translator.d.ts +6 -0
  101. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblPr/index.d.ts +1 -0
  102. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblPr/tblPr-translator.d.ts +5 -0
  103. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblStyle/index.d.ts +1 -0
  104. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblStyle/tblStyle-translator.d.ts +6 -0
  105. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblStyleColBandSize/index.d.ts +1 -0
  106. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblStyleColBandSize/tblStyleColBandSize-translator.d.ts +6 -0
  107. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblStyleRowBandSize/index.d.ts +1 -0
  108. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblStyleRowBandSize/tblStyleRowBandSize-translator.d.ts +6 -0
  109. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblW/index.d.ts +1 -0
  110. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblW/tblW-translator.d.ts +6 -0
  111. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblpPr/index.d.ts +1 -0
  112. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblpPr/tblpPr-translator.d.ts +6 -0
  113. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tc/helpers/legacy-handle-table-cell-node.d.ts +1 -1
  114. package/dist/super-editor/src/core/super-converter/v3/handlers/w/top/index.d.ts +2 -0
  115. package/dist/super-editor/src/core/super-converter/v3/handlers/w/top/marginTop-translator.d.ts +6 -0
  116. package/dist/super-editor/src/core/super-converter/v3/handlers/w/top/top-translator.d.ts +6 -0
  117. package/dist/super-editor/src/core/super-converter/v3/handlers/wp/anchor/anchor-translator.d.ts +6 -0
  118. package/dist/super-editor/src/core/super-converter/v3/handlers/wp/anchor/helpers/handle-anchor-node.d.ts +6 -0
  119. package/dist/super-editor/src/core/super-converter/v3/handlers/wp/anchor/helpers/translate-anchor-node.d.ts +6 -0
  120. package/dist/super-editor/src/core/super-converter/v3/handlers/wp/anchor/index.d.ts +1 -0
  121. package/dist/super-editor/src/core/super-converter/v3/handlers/wp/helpers/decode-image-node-helpers.d.ts +18 -0
  122. package/dist/super-editor/src/core/super-converter/v3/handlers/wp/helpers/encode-image-node-helpers.d.ts +6 -0
  123. package/dist/super-editor/src/core/super-converter/v3/handlers/wp/inline/helpers/handle-inline-node.d.ts +6 -0
  124. package/dist/super-editor/src/core/super-converter/v3/handlers/wp/inline/helpers/translate-inline-node.d.ts +6 -0
  125. package/dist/super-editor/src/core/super-converter/v3/handlers/wp/inline/index.d.ts +1 -0
  126. package/dist/super-editor/src/core/super-converter/v3/handlers/wp/inline/inline-translator.d.ts +6 -0
  127. package/dist/super-editor/src/core/super-converter/v3/node-translator/node-translator.d.ts +11 -1
  128. package/dist/super-editor/src/extensions/block-node/block-node.d.ts +30 -5
  129. package/dist/super-editor/src/extensions/bold/bold.d.ts +20 -0
  130. package/dist/super-editor/src/extensions/bookmarks/bookmark-end.d.ts +6 -0
  131. package/dist/super-editor/src/extensions/bookmarks/index.d.ts +2 -1
  132. package/dist/super-editor/src/extensions/bullet-list/bullet-list.d.ts +12 -0
  133. package/dist/super-editor/src/extensions/color/color.d.ts +26 -0
  134. package/dist/super-editor/src/extensions/content-block/content-block.d.ts +30 -0
  135. package/dist/super-editor/src/extensions/custom-selection/custom-selection.d.ts +16 -0
  136. package/dist/super-editor/src/extensions/document/document.d.ts +26 -0
  137. package/dist/super-editor/src/extensions/dropcursor/dropcursor.d.ts +26 -0
  138. package/dist/super-editor/src/extensions/font-family/font-family.d.ts +29 -0
  139. package/dist/super-editor/src/extensions/font-size/font-size.d.ts +21 -0
  140. package/dist/super-editor/src/extensions/format-commands/format-commands.d.ts +9 -0
  141. package/dist/super-editor/src/extensions/gapcursor/gapcursor.d.ts +9 -0
  142. package/dist/super-editor/src/extensions/heading/heading.d.ts +12 -6
  143. package/dist/super-editor/src/extensions/highlight/highlight.d.ts +20 -0
  144. package/dist/super-editor/src/extensions/history/history.d.ts +7 -15
  145. package/dist/super-editor/src/extensions/image/image.d.ts +78 -0
  146. package/dist/super-editor/src/extensions/image/imageHelpers/fileNameUtils.d.ts +3 -0
  147. package/dist/super-editor/src/extensions/image/imageHelpers/handleBase64.d.ts +1 -0
  148. package/dist/super-editor/src/extensions/image/imageHelpers/handleUrl.d.ts +2 -0
  149. package/dist/super-editor/src/extensions/image/imageHelpers/imageRegistrationPlugin.d.ts +11 -0
  150. package/dist/super-editor/src/extensions/image/imageHelpers/index.d.ts +3 -1
  151. package/dist/super-editor/src/extensions/image/imageHelpers/processUploadedImage.d.ts +2 -2
  152. package/dist/super-editor/src/extensions/image/imageHelpers/rotation.d.ts +4 -0
  153. package/dist/super-editor/src/extensions/image/imageHelpers/startImageUpload.d.ts +18 -23
  154. package/dist/super-editor/src/extensions/index.d.ts +2 -1
  155. package/dist/super-editor/src/extensions/italic/italic.d.ts +10 -0
  156. package/dist/super-editor/src/extensions/line-break/line-break.d.ts +43 -0
  157. package/dist/super-editor/src/extensions/line-height/line-height.d.ts +22 -0
  158. package/dist/super-editor/src/extensions/link/link.d.ts +53 -25
  159. package/dist/super-editor/src/extensions/linked-styles/linked-styles.d.ts +9 -0
  160. package/dist/super-editor/src/extensions/list-item/helpers/listItemTypography.d.ts +62 -0
  161. package/dist/super-editor/src/extensions/list-item/list-item.d.ts +48 -0
  162. package/dist/super-editor/src/extensions/mention/mention.d.ts +26 -0
  163. package/dist/super-editor/src/extensions/noderesizer/noderesizer.d.ts +14 -0
  164. package/dist/super-editor/src/extensions/ordered-list/ordered-list.d.ts +35 -0
  165. package/dist/super-editor/src/extensions/page-number/page-number.d.ts +52 -0
  166. package/dist/super-editor/src/extensions/paragraph/paragraph.d.ts +49 -0
  167. package/dist/super-editor/src/extensions/placeholder/placeholder.d.ts +15 -0
  168. package/dist/super-editor/src/extensions/popover-plugin/popover-plugin.d.ts +9 -0
  169. package/dist/super-editor/src/extensions/run/commands/index.d.ts +1 -0
  170. package/dist/super-editor/src/extensions/run/commands/split-run.d.ts +1 -0
  171. package/dist/super-editor/src/extensions/run/run.d.ts +4 -4
  172. package/dist/super-editor/src/extensions/run-item/run-item.d.ts +24 -0
  173. package/dist/super-editor/src/extensions/search/search.d.ts +11 -2
  174. package/dist/super-editor/src/extensions/shape-container/shape-container.d.ts +29 -0
  175. package/dist/super-editor/src/extensions/shape-textbox/shape-textbox.d.ts +26 -0
  176. package/dist/super-editor/src/extensions/slash-menu/slash-menu.d.ts +9 -0
  177. package/dist/super-editor/src/extensions/strike/strike.d.ts +10 -0
  178. package/dist/super-editor/src/extensions/structured-content/StructuredContentBlockView.d.ts +9 -0
  179. package/dist/super-editor/src/extensions/structured-content/StructuredContentInlineView.d.ts +9 -0
  180. package/dist/super-editor/src/extensions/structured-content/StructuredContentViewBase.d.ts +24 -0
  181. package/dist/super-editor/src/extensions/structured-content/document-section.d.ts +46 -27
  182. package/dist/super-editor/src/extensions/structured-content/structured-content-block.d.ts +29 -1
  183. package/dist/super-editor/src/extensions/structured-content/structured-content.d.ts +29 -1
  184. package/dist/super-editor/src/extensions/tab/helpers/tabDecorations.d.ts +12 -0
  185. package/dist/super-editor/src/extensions/tab/tab.d.ts +29 -0
  186. package/dist/super-editor/src/extensions/table/table.d.ts +376 -55
  187. package/dist/super-editor/src/extensions/table-cell/table-cell.d.ts +41 -0
  188. package/dist/super-editor/src/extensions/table-header/table-header.d.ts +22 -0
  189. package/dist/super-editor/src/extensions/table-row/table-row.d.ts +28 -0
  190. package/dist/super-editor/src/extensions/text/text.d.ts +14 -0
  191. package/dist/super-editor/src/extensions/text-align/text-align.d.ts +22 -0
  192. package/dist/super-editor/src/extensions/text-indent/text-indent.d.ts +19 -10
  193. package/dist/super-editor/src/extensions/text-style/text-style.d.ts +20 -0
  194. package/dist/super-editor/src/extensions/text-transform/text-transform.d.ts +20 -0
  195. package/dist/super-editor/src/extensions/underline/underline.d.ts +25 -0
  196. package/dist/super-editor/src/tests/helpers/editor-test-utils.d.ts +14 -0
  197. package/dist/super-editor/src/tests/helpers/getParagraphText.d.ts +2 -0
  198. package/dist/super-editor/style.css +38 -0
  199. package/dist/super-editor/super-editor.es.js +126 -73
  200. package/dist/super-editor/toolbar.es.js +2 -2
  201. package/dist/super-editor.cjs +1 -1
  202. package/dist/super-editor.es.js +1 -1
  203. package/dist/superdoc.cjs +2 -2
  204. package/dist/superdoc.es.js +2 -2
  205. package/dist/superdoc.umd.js +9435 -7824
  206. package/dist/superdoc.umd.js.map +1 -1
  207. package/package.json +1 -1
  208. package/dist/super-editor/src/extensions/image/imageHelpers/imagePlaceholderPlugin.d.ts +0 -5
  209. /package/dist/super-editor/src/extensions/bookmarks/{bookmarks.d.ts → bookmark-start.d.ts} +0 -0
@@ -1,6 +1,6 @@
1
1
  import { computed, createElementBlock, openBlock, createElementVNode, createCommentVNode, normalizeClass, normalizeStyle, ref, withKeys, unref, withModifiers, createBlock, toDisplayString, withDirectives, vModelText, nextTick, getCurrentInstance, createVNode, readonly, watch, onMounted, onBeforeUnmount, reactive, onBeforeMount, inject, onActivated, onDeactivated, createTextVNode, Fragment, Comment, defineComponent, provide, h, Teleport, toRef, renderSlot, isVNode, shallowRef, watchEffect, mergeProps, Transition, vShow, cloneVNode, Text, renderList, withCtx } from "vue";
2
- import { p as process$1 } from "./converter-B61ZUb-V.js";
3
- import { _ as _export_sfc, u as useHighContrastMode, g as global$1 } from "./editor-CQ0o4v54.js";
2
+ import { p as process$1 } from "./converter-DUqGq6qj.js";
3
+ import { _ as _export_sfc, u as useHighContrastMode, g as global$1 } from "./editor-gMF6aWiz.js";
4
4
  const sanitizeNumber = (value, defaultNumber) => {
5
5
  let sanitized = value.replace(/[^0-9.]/g, "");
6
6
  sanitized = parseFloat(sanitized);
@@ -1,4 +1,4 @@
1
- import { a5 } from "./chunks/converter-B61ZUb-V.js";
1
+ import { a5 } from "./chunks/converter-DUqGq6qj.js";
2
2
  import "vue";
3
3
  export {
4
4
  a5 as SuperConverter
@@ -1,5 +1,5 @@
1
- import "./chunks/converter-B61ZUb-V.js";
2
- import { D } from "./chunks/docx-zipper-B8nhsVFW.js";
1
+ import "./chunks/converter-DUqGq6qj.js";
2
+ import { D } from "./chunks/docx-zipper-CQsQR8Zs.js";
3
3
  export {
4
4
  D as default
5
5
  };
@@ -1,6 +1,6 @@
1
- import { E } from "./chunks/editor-CQ0o4v54.js";
2
- import "./chunks/converter-B61ZUb-V.js";
3
- import "./chunks/docx-zipper-B8nhsVFW.js";
1
+ import { E } from "./chunks/editor-gMF6aWiz.js";
2
+ import "./chunks/converter-DUqGq6qj.js";
3
+ import "./chunks/docx-zipper-CQsQR8Zs.js";
4
4
  export {
5
5
  E as Editor
6
6
  };
@@ -1,4 +1,4 @@
1
- import { J as JSZip } from "./chunks/docx-zipper-B8nhsVFW.js";
1
+ import { J as JSZip } from "./chunks/docx-zipper-CQsQR8Zs.js";
2
2
  async function createZip(blobs, fileNames) {
3
3
  const zip = new JSZip();
4
4
  blobs.forEach((blob, index) => {
@@ -0,0 +1,5 @@
1
+ export function isOffValue(value: unknown): boolean;
2
+ /** @type {Record<string, (attrs?: Record<string, unknown>) => boolean>} */
3
+ export const negationChecks: Record<string, (attrs?: Record<string, unknown>) => boolean>;
4
+ export function isNegatedMark(name: string, attrs?: Record<string, unknown>): boolean;
5
+ export default isNegatedMark;
@@ -34,6 +34,7 @@ export function getStyleIdFromMarks(marks: import("prosemirror-model").Mark[]):
34
34
  * @returns {string} The corresponding style key
35
35
  */
36
36
  export function mapMarkToStyleKey(markName: string): string;
37
+ export function isStyleTokenEnabled(val: any): boolean;
37
38
  export function toggleMarkCascade(markName: string, options?: {}): ({ state, chain, editor }: {
38
39
  state: any;
39
40
  chain: any;
@@ -47,7 +47,7 @@ export type CanObject = Record<string, CanCommand> & {
47
47
  chain: () => ChainableCommandObject;
48
48
  };
49
49
  /**
50
- * Command props
50
+ * Command props made available to every command handler.
51
51
  */
52
52
  export type CommandProps = {
53
53
  /**
@@ -58,4 +58,32 @@ export type CommandProps = {
58
58
  * - The ProseMirror transaction
59
59
  */
60
60
  tr: import("prosemirror-state").Transaction;
61
+ /**
62
+ * - The current editor state
63
+ */
64
+ state: import("prosemirror-state").EditorState;
65
+ /**
66
+ * - The active editor view
67
+ */
68
+ view: import("prosemirror-view").EditorView;
69
+ /**
70
+ * - Optional dispatcher
71
+ */
72
+ dispatch?: (tr: import("prosemirror-state").Transaction) => void;
73
+ /**
74
+ * - Helper to build command chains
75
+ */
76
+ chain: () => ChainableCommandObject;
77
+ /**
78
+ * - Helper to check command availability
79
+ */
80
+ can: () => CanObject;
81
+ /**
82
+ * - Lazy command map bound to current props
83
+ */
84
+ commands: EditorCommands;
61
85
  };
86
+ /**
87
+ * A command handler invoked by the command service.
88
+ */
89
+ export type Command = (props: CommandProps) => boolean;
@@ -27,3 +27,4 @@ export * from "./isInTable.js";
27
27
  export * from "./importHtml.js";
28
28
  export * from "./importMarkdown.js";
29
29
  export * from "./contentProcessor.js";
30
+ export * from "./updateDOMAttributes.js";
@@ -0,0 +1 @@
1
+ export function updateDOMAttributes(dom: any, attrs?: {}, options?: {}): void;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Prepare table rows for vertical merge export by inserting merge placeholders.
3
+ * @param {import('prosemirror-model').Node} table
4
+ * @param {object} options
5
+ */
6
+ export function preProcessVerticalMergeCells(table: import("prosemirror-model").Node, { editorSchema }: object): import("prosemirror-model").Node;
@@ -44,6 +44,13 @@ export function exportSchemaToJson(params: ExportParams): XmlReadyNode;
44
44
  * @returns {XmlReadyNode} JSON of the XML-ready paragraph node
45
45
  */
46
46
  export function translateParagraphNode(params: any): XmlReadyNode;
47
+ /**
48
+ * Generate the w:pPr props for a paragraph node
49
+ *
50
+ * @param {SchemaNode} node
51
+ * @returns {XmlReadyNode} The paragraph properties node
52
+ */
53
+ export function generateParagraphProperties(node: SchemaNode): XmlReadyNode;
47
54
  /**
48
55
  * Helper function to be used for text node translation
49
56
  * Also used for transforming text annotations for the final submit
@@ -53,6 +60,13 @@ export function translateParagraphNode(params: any): XmlReadyNode;
53
60
  * @returns {XmlReadyNode} The translated text node
54
61
  */
55
62
  export function getTextNodeForExport(text: string, marks: any[], params: any): XmlReadyNode;
63
+ /**
64
+ * Wrap a text node in a run
65
+ *
66
+ * @param {XmlReadyNode} node
67
+ * @returns {XmlReadyNode} The wrapped run node
68
+ */
69
+ export function wrapTextInRun(nodeOrNodes: any, marks: any): XmlReadyNode;
56
70
  /**
57
71
  * Generate a w:rPr node (run properties) from marks
58
72
  *
@@ -79,7 +93,6 @@ export function processLinkContentNode(node: any): any;
79
93
  * @returns {string} The new relationship ID
80
94
  */
81
95
  export function addNewLinkRelationship(params: ExportParams, link: string): string;
82
- export function translateImageNode(params: any, imageSize: any): any;
83
96
  export function translateHardBreak(params: any): {
84
97
  name: string;
85
98
  elements: {
@@ -90,6 +103,7 @@ export function translateHardBreak(params: any): {
90
103
  };
91
104
  }[];
92
105
  };
106
+ export function isLineBreakOnlyRun(node: any): any;
93
107
  export class DocxExporter {
94
108
  constructor(converter: any);
95
109
  converter: any;
@@ -0,0 +1,2 @@
1
+ export function sanitizeDocxMediaName(value: any, fallback?: string): any;
2
+ export function getFallbackImageNameFromDataUri(src?: string, fallback?: string): string;
@@ -11,6 +11,8 @@ export function pixelsToHalfPoints(pixels: any): number;
11
11
  export function halfPointToPoints(halfPoints: any): number;
12
12
  export function eigthPointsToPixels(eigthPoints: any): number;
13
13
  export function pixelsToEightPoints(pixels: any): number;
14
+ export function rotToDegrees(rot: any): number;
15
+ export function degreesToRot(degrees: any): number;
14
16
  export function getArrayBufferFromUrl(input: any, isHeadless: any): Promise<ArrayBuffer>;
15
17
  export function getContentTypesFromXml(contentTypesXml: any): string[];
16
18
  export function getHexColorFromDocxSystem(docxColor: any): string;
@@ -0,0 +1,6 @@
1
+ export function handleBookmarkEndNode(params: import("../../v3/node-translator").SCEncoderConfig): any;
2
+ /**
3
+ * Bookmark end node handler entity
4
+ * @type {Object} Handler entity
5
+ */
6
+ export const bookmarkEndNodeHandlerEntity: any;
@@ -1,3 +1,8 @@
1
+ /**
2
+ * @deprecated This handler is deprecated in favor of v3 bookmark translators.
3
+ * Kept for reference for custom mark logic that needs migration.
4
+ * TODO: Migrate custom mark logic to a proper system
5
+ */
1
6
  /**
2
7
  * @type {import("docxImporter").NodeHandler}
3
8
  */
@@ -0,0 +1,6 @@
1
+ export function handleBookmarkStartNode(params: import("../../v3/node-translator").SCEncoderConfig): any;
2
+ /**
3
+ * Bookmark start node handler entity
4
+ * @type {Object} Handler entity
5
+ */
6
+ export const bookmarkStartNodeHandlerEntity: any;
@@ -1,8 +1,8 @@
1
- export function handleImageImport(node: any, currentFileName: any, params: any): any;
2
1
  /**
3
2
  * @type {import("docxImporter").NodeHandler}
4
3
  */
5
4
  export const handleDrawingNode: any;
5
+ export function handleImageImport(node: any, filename: string | null, params?: any): any | null;
6
6
  /**
7
7
  * @type {import("docxImporter").NodeHandlerEntry}
8
8
  */
@@ -1,20 +1,3 @@
1
- /**
2
- *
3
- * @param {XmlNode} node
4
- * @param {ParsedDocx} docx
5
- * @param {NodeListHandler} nodeListHandler
6
- * @param {boolean} insideTrackChange
7
- * @returns {{type: string, content: *, attrs: {borders: *, tableWidth: *, tableWidthType: *}}}
8
- */
9
- export function handleTableNode(node: XmlNode, params: any): {
10
- type: string;
11
- content: any;
12
- attrs: {
13
- borders: any;
14
- tableWidth: any;
15
- tableWidthType: any;
16
- };
17
- };
18
1
  /**
19
2
  *
20
3
  * @param tblStyleTag
@@ -29,12 +12,7 @@ export function getReferencedTableStyles(tblStyleTag: any, docx: ParsedDocx): {
29
12
  rowBorders: {};
30
13
  basedOn: any;
31
14
  } | null;
32
- /**
33
- * @type {import("docxImporter").NodeHandler}
34
- */
35
- export const handleAllTableNodes: any;
36
15
  /**
37
16
  * @type {import("docxImporter").NodeHandlerEntry}
38
17
  */
39
18
  export const tableNodeHandlerEntity: any;
40
- export function getGridColumnWidths(tableNode: any): any;
@@ -0,0 +1 @@
1
+ export const EAST_ASIAN_CHARACTER_REGEX: RegExp;
@@ -0,0 +1 @@
1
+ export * from "./east-asian-regex.js";
@@ -1,25 +1,3 @@
1
- export const registeredHandlers: Readonly<{
2
- 'w:br': import("../node-translator/node-translator.js").NodeTranslator;
3
- 'w:cantSplit': import("../node-translator/node-translator.js").NodeTranslator;
4
- 'w:cnfStyle': import("../node-translator/node-translator.js").NodeTranslator;
5
- 'w:divId': import("../node-translator/node-translator.js").NodeTranslator;
6
- 'w:gridAfter': import("../node-translator/node-translator.js").NodeTranslator;
7
- 'w:gridBefore': import("../node-translator/node-translator.js").NodeTranslator;
8
- 'w:hidden': import("../node-translator/node-translator.js").NodeTranslator;
9
- 'w:hyperlink': import("../node-translator/node-translator.js").NodeTranslator;
10
- 'w:jc': import("../node-translator/node-translator.js").NodeTranslator;
11
- 'w:p': import("../node-translator/node-translator.js").NodeTranslator;
12
- 'w:r': import("../node-translator/node-translator.js").NodeTranslator;
13
- 'w:rPr': import("../node-translator/node-translator.js").NodeTranslator;
14
- 'w:sdt': import("../node-translator/node-translator.js").NodeTranslator;
15
- 'w:tab': import("../node-translator/node-translator.js").NodeTranslator;
16
- 'w:tblCellSpacing': import("../node-translator/node-translator.js").NodeTranslator;
17
- 'w:tblHeader': import("../node-translator/node-translator.js").NodeTranslator;
18
- 'w:tc': import("../node-translator/node-translator.js").NodeTranslator;
19
- 'w:tr': import("../node-translator/node-translator.js").NodeTranslator;
20
- 'w:trHeight': import("../node-translator/node-translator.js").NodeTranslator;
21
- 'w:trPr': import("../node-translator/node-translator.js").NodeTranslator;
22
- 'w:wAfter': import("../node-translator/node-translator.js").NodeTranslator;
23
- 'w:wBefore': import("../node-translator/node-translator.js").NodeTranslator;
24
- }>;
1
+ /** @type {RegisteredHandlers} */
2
+ export const registeredHandlers: RegisteredHandlers;
25
3
  export type RegisteredHandlers = any;
@@ -9,12 +9,19 @@
9
9
  */
10
10
  export function createSingleAttrPropertyHandler(xmlName: string, sdName?: string | null, attrName?: string, transformEncode?: Function, transformDecode?: Function): import("@translator").NodeTranslatorConfig;
11
11
  /**
12
- * Helper to create property handlers for measurement attributes (w:w and w:type)
12
+ * Helper to create property handlers for measurement attributes (CT_TblWidth => w:w and w:type)
13
13
  * @param {string} xmlName The XML attribute name (with namespace).
14
14
  * @param {string|null} sdName The SuperDoc attribute name (without namespace). If null, it will be derived from xmlName.
15
15
  * @returns {import('@translator').NodeTranslatorConfig} The attribute handler config with xmlName, sdName, encode, and decode functions.
16
16
  */
17
17
  export function createMeasurementPropertyHandler(xmlName: string, sdName?: string | null): import("@translator").NodeTranslatorConfig;
18
+ /**
19
+ * Helper to create property handlers for border attributes (CT_Border xml type)
20
+ * @param {string} [xmlName] The XML element name (with namespace).
21
+ * @param {string|null} [sdName] The SuperDoc attribute name (without namespace). If null, it will be derived from xmlName.
22
+ * @returns {import('@translator').NodeTranslatorConfig} The border property handler config with xmlName, sdName, encode, and decode functions.
23
+ */
24
+ export function createBorderPropertyHandler(xmlName?: string, sdName?: string | null): import("@translator").NodeTranslatorConfig;
18
25
  /**
19
26
  * Encodes properties of a node using provided translators and adds them to the attributes object.
20
27
  * @param {object} [node] The node containing elements to be encoded.
@@ -32,7 +39,7 @@ export function encodeProperties(node?: object, translatorsByXmlName?: object, a
32
39
  export function decodeProperties(translatorsBySdName?: object, properties?: object): any[];
33
40
  export function generateV2HandlerEntity(handlerName: string, translator: import("../node-translator/").NodeTranslator): import("../../v2/importer/docxImporter").NodeHandlerEntry;
34
41
  export function createAttributeHandler(xmlName?: string, sdName?: string | null, transformEncode?: any, transformDecode?: any): import("@translator").AttrConfig;
35
- export function parseBoolean(value: string): boolean;
36
- export function booleanToString(value: boolean): string;
42
+ export function parseBoolean(value: string): boolean | undefined;
43
+ export function booleanToString(value: boolean): string | undefined;
37
44
  export function parseInteger(value: any): number | undefined;
38
45
  export function integerToString(value: any): string | undefined;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * The NodeTranslator instance for the bidiVisual element.
3
+ * @type {import('@translator').NodeTranslator}
4
+ * @see {@link https://ecma-international.org/publications-and-standards/standards/ecma-376/} "Fundamentals And Markup Language Reference", page 373
5
+ */
6
+ export const translator: import("@translator").NodeTranslator;
@@ -0,0 +1 @@
1
+ export * from "./bidiVisual-translator.js";
@@ -0,0 +1,2 @@
1
+ declare const _default: import("@translator").AttrConfig[];
2
+ export default _default;
@@ -0,0 +1,4 @@
1
+ export function encode(attributes: any): string | undefined;
2
+ export function decode(attrs: any): string | undefined;
3
+ /** @type {import('@translator').AttrConfig} */
4
+ export const attrConfig: import("@translator").AttrConfig;
@@ -0,0 +1,4 @@
1
+ export function encode(attributes: any): string | undefined;
2
+ export function decode(attrs: any): string | undefined;
3
+ /** @type {import('@translator').AttrConfig} */
4
+ export const attrConfig: import("@translator").AttrConfig;
@@ -0,0 +1,7 @@
1
+ /** @type {import('@translator').NodeTranslatorConfig} */
2
+ export const config: import("@translator").NodeTranslatorConfig;
3
+ /**
4
+ * The NodeTranslator instance for the <w:bookmarkEnd> element.
5
+ * @type {import('@translator').NodeTranslator}
6
+ */
7
+ export const translator: import("@translator").NodeTranslator;
@@ -0,0 +1 @@
1
+ export * from "./bookmark-end-translator.js";
@@ -0,0 +1,2 @@
1
+ declare const _default: import("@translator").AttrConfig[];
2
+ export default _default;
@@ -0,0 +1,4 @@
1
+ export function encode(attributes: any): string | undefined;
2
+ export function decode(attrs: any): string | undefined;
3
+ /** @type {import('@translator').AttrConfig} */
4
+ export const attrConfig: import("@translator").AttrConfig;
@@ -0,0 +1,4 @@
1
+ export function encode(attributes: any): string | undefined;
2
+ export function decode(attrs: any): string | undefined;
3
+ /** @type {import('@translator').AttrConfig} */
4
+ export const attrConfig: import("@translator").AttrConfig;
@@ -0,0 +1,4 @@
1
+ export function encode(attributes: any): string | undefined;
2
+ export function decode(attrs: any): string | undefined;
3
+ /** @type {import('@translator').AttrConfig} */
4
+ export const attrConfig: import("@translator").AttrConfig;
@@ -0,0 +1,4 @@
1
+ export function encode(attributes: any): string | undefined;
2
+ export function decode(attrs: any): string | undefined;
3
+ /** @type {import('@translator').AttrConfig} */
4
+ export const attrConfig: import("@translator").AttrConfig;
@@ -0,0 +1,4 @@
1
+ export function encode(attributes: any): string | undefined;
2
+ export function decode(attrs: any): string | undefined;
3
+ /** @type {import('@translator').AttrConfig} */
4
+ export const attrConfig: import("@translator").AttrConfig;
@@ -0,0 +1,7 @@
1
+ /** @type {import('@translator').NodeTranslatorConfig} */
2
+ export const config: import("@translator").NodeTranslatorConfig;
3
+ /**
4
+ * The NodeTranslator instance for the <w:bookmarkStart> element.
5
+ * @type {import('@translator').NodeTranslator}
6
+ */
7
+ export const translator: import("@translator").NodeTranslator;
@@ -0,0 +1 @@
1
+ export * from "./bookmark-start-translator.js";
@@ -0,0 +1,6 @@
1
+ /**
2
+ * The NodeTranslator instance for the bottom element.
3
+ * @type {import('@translator').NodeTranslator}
4
+ * @see {@link https://ecma-international.org/publications-and-standards/standards/ecma-376/} "Fundamentals And Markup Language Reference", page 375
5
+ */
6
+ export const translator: import("@translator").NodeTranslator;
@@ -0,0 +1,2 @@
1
+ export * from "./bottom-translator.js";
2
+ export { translator as marginBottomTranslator } from "./marginBottom-translator.js";
@@ -0,0 +1,6 @@
1
+ /**
2
+ * The NodeTranslator instance for the bottom element.
3
+ * @type {import('@translator').NodeTranslator}
4
+ * @see {@link https://ecma-international.org/publications-and-standards/standards/ecma-376/} "Fundamentals And Markup Language Reference", page 374
5
+ */
6
+ export const translator: import("@translator").NodeTranslator;
@@ -0,0 +1,6 @@
1
+ /** @type {import('@translator').NodeTranslatorConfig} */
2
+ export const config: import("@translator").NodeTranslatorConfig;
3
+ /**
4
+ * @type {import('@translator').NodeTranslator}
5
+ */
6
+ export const translator: import("@translator").NodeTranslator;
@@ -0,0 +1 @@
1
+ export * from "./drawing-translator.js";
@@ -0,0 +1,6 @@
1
+ /**
2
+ * The NodeTranslator instance for the end element.
3
+ * @type {import('@translator').NodeTranslator}
4
+ * @see {@link https://ecma-international.org/publications-and-standards/standards/ecma-376/} "Fundamentals And Markup Language Reference", page 394
5
+ */
6
+ export const translator: import("@translator").NodeTranslator;
@@ -0,0 +1,2 @@
1
+ export * from "./end-translator.js";
2
+ export { translator as marginEndTranslator } from "./marginEnd-translator.js";
@@ -0,0 +1,6 @@
1
+ /**
2
+ * The NodeTranslator instance for the end element.
3
+ * @type {import('@translator').NodeTranslator}
4
+ * @see {@link https://ecma-international.org/publications-and-standards/standards/ecma-376/} "Fundamentals And Markup Language Reference", page 393
5
+ */
6
+ export const translator: import("@translator").NodeTranslator;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * The NodeTranslator instance for the gridCol element.
3
+ * @type {import('@translator').NodeTranslator}
4
+ * @see {@link https://ecma-international.org/publications-and-standards/standards/ecma-376/} "Fundamentals And Markup Language Reference", page 398
5
+ */
6
+ export const translator: import("@translator").NodeTranslator;
@@ -0,0 +1 @@
1
+ export * from "./gridCol-translator.js";
@@ -0,0 +1 @@
1
+ export * from "./insideH-translator.js";
@@ -0,0 +1,6 @@
1
+ /**
2
+ * The NodeTranslator instance for the insideH element.
3
+ * @type {import('@translator').NodeTranslator}
4
+ * @see {@link https://ecma-international.org/publications-and-standards/standards/ecma-376/} "Fundamentals And Markup Language Reference", page 407
5
+ */
6
+ export const translator: import("@translator").NodeTranslator;
@@ -0,0 +1 @@
1
+ export * from "./insideV-translator.js";
@@ -0,0 +1,6 @@
1
+ /**
2
+ * The NodeTranslator instance for the insideV element.
3
+ * @type {import('@translator').NodeTranslator}
4
+ * @see {@link https://ecma-international.org/publications-and-standards/standards/ecma-376/} "Fundamentals And Markup Language Reference", page 409
5
+ */
6
+ export const translator: import("@translator").NodeTranslator;
@@ -0,0 +1,2 @@
1
+ export * from "./left-translator.js";
2
+ export { translator as marginLeftTranslator } from "./marginLeft-translator.js";
@@ -0,0 +1,6 @@
1
+ /**
2
+ * The NodeTranslator instance for the left element.
3
+ * @type {import('@translator').NodeTranslator}
4
+ * @see {@link https://ecma-international.org/publications-and-standards/standards/ecma-376/} "Fundamentals And Markup Language Reference", page 423
5
+ */
6
+ export const translator: import("@translator").NodeTranslator;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * The NodeTranslator instance for the left element.
3
+ * @type {import('@translator').NodeTranslator}
4
+ * @see {@link https://ecma-international.org/publications-and-standards/standards/ecma-376/} "Fundamentals And Markup Language Reference", page 426
5
+ */
6
+ export const translator: import("@translator").NodeTranslator;
@@ -1,6 +1,6 @@
1
1
  export function parseParagraphBorders(pBdr: any): {};
2
2
  export function getParagraphIndent(node: any, docx: any, styleId?: string): any;
3
- export function getParagraphSpacing(node: any, docx: any, styleId?: string, marks?: any[]): any;
3
+ export function getParagraphSpacing(node: any, docx: any, styleId?: string, marks?: any[], options?: {}): any;
4
4
  export function getDefaultParagraphStyle(docx: any, styleId?: string): any;
5
5
  export function preProcessNodesForFldChar(nodes?: any[]): any[];
6
6
  export function processCombinedNodesForFldChar(nodesToCombine?: any[]): any[];
@@ -4,14 +4,8 @@ export function collectRunProperties(params: any, rPrNode: any, translator?: imp
4
4
  styleChangeMarks: PmMarkJson[];
5
5
  };
6
6
  export function buildRunAttrs(encodedAttrs: {}, hadRPr: any, runProps: any): Record<string, any>;
7
- export function applyRunMarks(node: any, runAttrs: any, inlineMarks: any, textStyleAttrs: any): any;
8
- export function createRunMark(attrs?: {}): {
9
- type: string;
10
- attrs: any;
11
- } | {
12
- type: string;
13
- attrs?: undefined;
14
- };
7
+ export function normalizeTextStyleAttrsForNode(textStyleAttrs: any, node: any): any;
8
+ export function applyRunMarks(node: any, inlineMarks: any, textStyleAttrs: any): any;
15
9
  export function deriveStyleMarks({ docx, paragraphStyleId, runStyleId }: {
16
10
  docx: any;
17
11
  paragraphStyleId: any;
@@ -34,7 +28,13 @@ export function mergeInlineMarkSets(...markSets: any[]): any[];
34
28
  export function mergeTextStyleAttrs(...attrsList: any[]): any;
35
29
  export function cloneRunAttrs(attrs: any): any;
36
30
  export function cloneMark(mark: any): any;
37
- export function mergeRunAttrs(existing?: {}, incoming?: {}): any;
38
31
  export function normalizeBool(value: any): boolean;
39
- export function resolveRunElement(node: any): any;
40
- export function ensureRunPropertiesContainer(runElement: any): any;
32
+ export function createRunPropertiesElement(entries?: any[]): {
33
+ name: string;
34
+ elements: {
35
+ name: any;
36
+ attributes: any;
37
+ }[];
38
+ };
39
+ export function cloneXmlNode(nodeLike: any): any;
40
+ export function applyRunPropertiesTemplate(runNode: any, runPropertiesTemplate: any): void;
@@ -1,2 +1,3 @@
1
1
  export * from "./helpers.js";
2
2
  export * from "./split-run-properties.js";
3
+ export * from "./track-change-helpers.js";
@@ -0,0 +1,5 @@
1
+ export function prepareRunTrackingContext(node?: {}): {
2
+ runNode: any;
3
+ trackingMarksByType: Map<any, any>;
4
+ };
5
+ export function ensureTrackedWrapper(runs: any, trackingMarksByType?: Map<any, any>): any;
@@ -0,0 +1,2 @@
1
+ export * from "./right-translator.js";
2
+ export { translator as marginRightTranslator } from "./marginRight-translator.js";
@@ -0,0 +1,6 @@
1
+ /**
2
+ * The NodeTranslator instance for the right element.
3
+ * @type {import('@translator').NodeTranslator}
4
+ * @see {@link https://ecma-international.org/publications-and-standards/standards/ecma-376/} "Fundamentals And Markup Language Reference", page 426
5
+ */
6
+ export const translator: import("@translator").NodeTranslator;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * The NodeTranslator instance for the right element.
3
+ * @type {import('@translator').NodeTranslator}
4
+ * @see {@link https://ecma-international.org/publications-and-standards/standards/ecma-376/} "Fundamentals And Markup Language Reference", page 423
5
+ */
6
+ export const translator: import("@translator").NodeTranslator;
@@ -0,0 +1 @@
1
+ export * from "./shd-translator.js";
@@ -0,0 +1,6 @@
1
+ /**
2
+ * The NodeTranslator instance for the gridBefore element.
3
+ * @type {import('@translator').NodeTranslator}
4
+ * @see {@link https://ecma-international.org/publications-and-standards/standards/ecma-376/} "Fundamentals And Markup Language Reference", page 416
5
+ */
6
+ export const translator: import("@translator").NodeTranslator;
@@ -0,0 +1,2 @@
1
+ export * from "./start-translator.js";
2
+ export { translator as marginStartTranslator } from "./marginStart-translator.js";
@@ -0,0 +1,6 @@
1
+ /**
2
+ * The NodeTranslator instance for the start element.
3
+ * @type {import('@translator').NodeTranslator}
4
+ * @see {@link https://ecma-international.org/publications-and-standards/standards/ecma-376/} "Fundamentals And Markup Language Reference", page 418
5
+ */
6
+ export const translator: import("@translator").NodeTranslator;