@harbour-enterprises/superdoc 0.21.0-RC1 → 0.21.0-next.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (212) hide show
  1. package/README.md +4 -4
  2. package/dist/chunks/{PdfViewer-DK1etjvu.es.js → PdfViewer-0jdn-cVx.es.js} +1 -1
  3. package/dist/chunks/{PdfViewer-BdrjIRpr.cjs → PdfViewer-Bn3Lvd0m.cjs} +1 -1
  4. package/dist/chunks/{index-ucP9WQ5I.es.js → index-BiZcP3bK.es.js} +57 -15
  5. package/dist/chunks/{index-C_zTr1ZR.cjs → index-C0XOj4vH.cjs} +57 -15
  6. package/dist/chunks/{super-editor.es-XC168Mlw.cjs → super-editor.es-BWdUsCXq.cjs} +8876 -7238
  7. package/dist/chunks/{super-editor.es-KKA9G1l1.es.js → super-editor.es-DQx0kzCl.es.js} +8876 -7238
  8. package/dist/core/SuperDoc.d.ts.map +1 -1
  9. package/dist/stores/comments-store.d.ts.map +1 -1
  10. package/dist/style.css +38 -0
  11. package/dist/super-editor/ai-writer.es.js +2 -2
  12. package/dist/super-editor/chunks/{converter-B61ZUb-V.js → converter-DMpIH4c0.js} +6338 -5385
  13. package/dist/super-editor/chunks/{docx-zipper-B8nhsVFW.js → docx-zipper-CDrFfcVc.js} +2 -2
  14. package/dist/super-editor/chunks/{editor-CQ0o4v54.js → editor-DrzPfOIy.js} +2070 -1444
  15. package/dist/super-editor/chunks/{toolbar-DWzoslZk.js → toolbar-NxB-WhNb.js} +21 -11
  16. package/dist/super-editor/converter.es.js +1 -1
  17. package/dist/super-editor/docx-zipper.es.js +2 -2
  18. package/dist/super-editor/editor.es.js +3 -3
  19. package/dist/super-editor/file-zipper.es.js +1 -1
  20. package/dist/super-editor/src/components/toolbar/format-negation.d.ts +5 -0
  21. package/dist/super-editor/src/core/commands/toggleMarkCascade.d.ts +1 -0
  22. package/dist/super-editor/src/core/commands/types/index.d.ts +29 -1
  23. package/dist/super-editor/src/core/helpers/index.d.ts +1 -0
  24. package/dist/super-editor/src/core/helpers/updateDOMAttributes.d.ts +1 -0
  25. package/dist/super-editor/src/core/super-converter/export-helpers/pre-process-vertical-merge-cells.d.ts +6 -0
  26. package/dist/super-editor/src/core/super-converter/exporter.d.ts +15 -1
  27. package/dist/super-editor/src/core/super-converter/helpers/mediaHelpers.d.ts +2 -0
  28. package/dist/super-editor/src/core/super-converter/helpers.d.ts +2 -0
  29. package/dist/super-editor/src/core/super-converter/v2/importer/bookmarkEndImporter.d.ts +6 -0
  30. package/dist/super-editor/src/core/super-converter/v2/importer/bookmarkNodeImporter.d.ts +5 -0
  31. package/dist/super-editor/src/core/super-converter/v2/importer/bookmarkStartImporter.d.ts +6 -0
  32. package/dist/super-editor/src/core/super-converter/v2/importer/imageImporter.d.ts +1 -1
  33. package/dist/super-editor/src/core/super-converter/v2/importer/tableImporter.d.ts +0 -22
  34. package/dist/super-editor/src/core/super-converter/v3/handlers/constants/east-asian-regex.d.ts +1 -0
  35. package/dist/super-editor/src/core/super-converter/v3/handlers/constants/index.d.ts +1 -0
  36. package/dist/super-editor/src/core/super-converter/v3/handlers/index.d.ts +2 -24
  37. package/dist/super-editor/src/core/super-converter/v3/handlers/utils.d.ts +10 -3
  38. package/dist/super-editor/src/core/super-converter/v3/handlers/w/bidiVisual/bidiVisual-translator.d.ts +6 -0
  39. package/dist/super-editor/src/core/super-converter/v3/handlers/w/bidiVisual/index.d.ts +1 -0
  40. package/dist/super-editor/src/core/super-converter/v3/handlers/w/bookmark-end/attributes/index.d.ts +2 -0
  41. package/dist/super-editor/src/core/super-converter/v3/handlers/w/bookmark-end/attributes/w-displaced-by-custom-xml.d.ts +4 -0
  42. package/dist/super-editor/src/core/super-converter/v3/handlers/w/bookmark-end/attributes/w-id.d.ts +4 -0
  43. package/dist/super-editor/src/core/super-converter/v3/handlers/w/bookmark-end/bookmark-end-translator.d.ts +7 -0
  44. package/dist/super-editor/src/core/super-converter/v3/handlers/w/bookmark-end/index.d.ts +1 -0
  45. package/dist/super-editor/src/core/super-converter/v3/handlers/w/bookmark-start/attributes/index.d.ts +2 -0
  46. package/dist/super-editor/src/core/super-converter/v3/handlers/w/bookmark-start/attributes/w-col-first.d.ts +4 -0
  47. package/dist/super-editor/src/core/super-converter/v3/handlers/w/bookmark-start/attributes/w-col-last.d.ts +4 -0
  48. package/dist/super-editor/src/core/super-converter/v3/handlers/w/bookmark-start/attributes/w-displaced-by-custom-xml.d.ts +4 -0
  49. package/dist/super-editor/src/core/super-converter/v3/handlers/w/bookmark-start/attributes/w-id.d.ts +4 -0
  50. package/dist/super-editor/src/core/super-converter/v3/handlers/w/bookmark-start/attributes/w-name.d.ts +4 -0
  51. package/dist/super-editor/src/core/super-converter/v3/handlers/w/bookmark-start/bookmark-start-translator.d.ts +7 -0
  52. package/dist/super-editor/src/core/super-converter/v3/handlers/w/bookmark-start/index.d.ts +1 -0
  53. package/dist/super-editor/src/core/super-converter/v3/handlers/w/bottom/bottom-translator.d.ts +6 -0
  54. package/dist/super-editor/src/core/super-converter/v3/handlers/w/bottom/index.d.ts +2 -0
  55. package/dist/super-editor/src/core/super-converter/v3/handlers/w/bottom/marginBottom-translator.d.ts +6 -0
  56. package/dist/super-editor/src/core/super-converter/v3/handlers/w/drawing/drawing-translator.d.ts +6 -0
  57. package/dist/super-editor/src/core/super-converter/v3/handlers/w/drawing/index.d.ts +1 -0
  58. package/dist/super-editor/src/core/super-converter/v3/handlers/w/end/end-translator.d.ts +6 -0
  59. package/dist/super-editor/src/core/super-converter/v3/handlers/w/end/index.d.ts +2 -0
  60. package/dist/super-editor/src/core/super-converter/v3/handlers/w/end/marginEnd-translator.d.ts +6 -0
  61. package/dist/super-editor/src/core/super-converter/v3/handlers/w/gridCol/gridCol-translator.d.ts +6 -0
  62. package/dist/super-editor/src/core/super-converter/v3/handlers/w/gridCol/index.d.ts +1 -0
  63. package/dist/super-editor/src/core/super-converter/v3/handlers/w/insideH/index.d.ts +1 -0
  64. package/dist/super-editor/src/core/super-converter/v3/handlers/w/insideH/insideH-translator.d.ts +6 -0
  65. package/dist/super-editor/src/core/super-converter/v3/handlers/w/insideV/index.d.ts +1 -0
  66. package/dist/super-editor/src/core/super-converter/v3/handlers/w/insideV/insideV-translator.d.ts +6 -0
  67. package/dist/super-editor/src/core/super-converter/v3/handlers/w/left/index.d.ts +2 -0
  68. package/dist/super-editor/src/core/super-converter/v3/handlers/w/left/left-translator.d.ts +6 -0
  69. package/dist/super-editor/src/core/super-converter/v3/handlers/w/left/marginLeft-translator.d.ts +6 -0
  70. package/dist/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/w-p-helpers.d.ts +1 -1
  71. package/dist/super-editor/src/core/super-converter/v3/handlers/w/r/helpers/helpers.d.ts +11 -11
  72. package/dist/super-editor/src/core/super-converter/v3/handlers/w/r/helpers/index.d.ts +1 -0
  73. package/dist/super-editor/src/core/super-converter/v3/handlers/w/r/helpers/track-change-helpers.d.ts +5 -0
  74. package/dist/super-editor/src/core/super-converter/v3/handlers/w/right/index.d.ts +2 -0
  75. package/dist/super-editor/src/core/super-converter/v3/handlers/w/right/marginRight-translator.d.ts +6 -0
  76. package/dist/super-editor/src/core/super-converter/v3/handlers/w/right/right-translator.d.ts +6 -0
  77. package/dist/super-editor/src/core/super-converter/v3/handlers/w/shd/index.d.ts +1 -0
  78. package/dist/super-editor/src/core/super-converter/v3/handlers/w/shd/shd-translator.d.ts +6 -0
  79. package/dist/super-editor/src/core/super-converter/v3/handlers/w/start/index.d.ts +2 -0
  80. package/dist/super-editor/src/core/super-converter/v3/handlers/w/start/marginStart-translator.d.ts +6 -0
  81. package/dist/super-editor/src/core/super-converter/v3/handlers/w/start/start-translator.d.ts +6 -0
  82. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tbl/index.d.ts +1 -0
  83. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tbl/tbl-translator.d.ts +28 -0
  84. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblBorders/index.d.ts +1 -0
  85. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblBorders/tblBorders-translator.d.ts +6 -0
  86. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblCaption/index.d.ts +1 -0
  87. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblCaption/tblCaption-translator.d.ts +6 -0
  88. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblCellMar/index.d.ts +1 -0
  89. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblCellMar/tblCellMar-translator.d.ts +2 -0
  90. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblDescription/index.d.ts +1 -0
  91. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblDescription/tblDescription-translator.d.ts +6 -0
  92. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblGrid/index.d.ts +1 -0
  93. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblGrid/tblGrid-helpers.d.ts +5 -0
  94. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblGrid/tblGrid-translator.d.ts +5 -0
  95. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblInd/index.d.ts +1 -0
  96. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblInd/tblInd-translator.d.ts +6 -0
  97. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblLayout/index.d.ts +1 -0
  98. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblLayout/tblLayout-translator.d.ts +6 -0
  99. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblLook/index.d.ts +1 -0
  100. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblLook/tblLook-translator.d.ts +6 -0
  101. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblOverlap/index.d.ts +1 -0
  102. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblOverlap/tblOverlap-translator.d.ts +6 -0
  103. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblPr/index.d.ts +1 -0
  104. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblPr/tblPr-translator.d.ts +5 -0
  105. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblStyle/index.d.ts +1 -0
  106. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblStyle/tblStyle-translator.d.ts +6 -0
  107. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblStyleColBandSize/index.d.ts +1 -0
  108. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblStyleColBandSize/tblStyleColBandSize-translator.d.ts +6 -0
  109. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblStyleRowBandSize/index.d.ts +1 -0
  110. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblStyleRowBandSize/tblStyleRowBandSize-translator.d.ts +6 -0
  111. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblW/index.d.ts +1 -0
  112. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblW/tblW-translator.d.ts +6 -0
  113. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblpPr/index.d.ts +1 -0
  114. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblpPr/tblpPr-translator.d.ts +6 -0
  115. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tc/helpers/legacy-handle-table-cell-node.d.ts +1 -1
  116. package/dist/super-editor/src/core/super-converter/v3/handlers/w/top/index.d.ts +2 -0
  117. package/dist/super-editor/src/core/super-converter/v3/handlers/w/top/marginTop-translator.d.ts +6 -0
  118. package/dist/super-editor/src/core/super-converter/v3/handlers/w/top/top-translator.d.ts +6 -0
  119. package/dist/super-editor/src/core/super-converter/v3/handlers/wp/anchor/anchor-translator.d.ts +6 -0
  120. package/dist/super-editor/src/core/super-converter/v3/handlers/wp/anchor/helpers/handle-anchor-node.d.ts +6 -0
  121. package/dist/super-editor/src/core/super-converter/v3/handlers/wp/anchor/helpers/translate-anchor-node.d.ts +6 -0
  122. package/dist/super-editor/src/core/super-converter/v3/handlers/wp/anchor/index.d.ts +1 -0
  123. package/dist/super-editor/src/core/super-converter/v3/handlers/wp/helpers/decode-image-node-helpers.d.ts +18 -0
  124. package/dist/super-editor/src/core/super-converter/v3/handlers/wp/helpers/encode-image-node-helpers.d.ts +6 -0
  125. package/dist/super-editor/src/core/super-converter/v3/handlers/wp/inline/helpers/handle-inline-node.d.ts +6 -0
  126. package/dist/super-editor/src/core/super-converter/v3/handlers/wp/inline/helpers/translate-inline-node.d.ts +6 -0
  127. package/dist/super-editor/src/core/super-converter/v3/handlers/wp/inline/index.d.ts +1 -0
  128. package/dist/super-editor/src/core/super-converter/v3/handlers/wp/inline/inline-translator.d.ts +6 -0
  129. package/dist/super-editor/src/core/super-converter/v3/node-translator/node-translator.d.ts +11 -1
  130. package/dist/super-editor/src/extensions/block-node/block-node.d.ts +30 -5
  131. package/dist/super-editor/src/extensions/bold/bold.d.ts +20 -0
  132. package/dist/super-editor/src/extensions/bookmarks/bookmark-end.d.ts +6 -0
  133. package/dist/super-editor/src/extensions/bookmarks/index.d.ts +2 -1
  134. package/dist/super-editor/src/extensions/bullet-list/bullet-list.d.ts +12 -0
  135. package/dist/super-editor/src/extensions/color/color.d.ts +26 -0
  136. package/dist/super-editor/src/extensions/content-block/content-block.d.ts +30 -0
  137. package/dist/super-editor/src/extensions/custom-selection/custom-selection.d.ts +16 -0
  138. package/dist/super-editor/src/extensions/document/document.d.ts +26 -0
  139. package/dist/super-editor/src/extensions/dropcursor/dropcursor.d.ts +26 -0
  140. package/dist/super-editor/src/extensions/font-family/font-family.d.ts +29 -0
  141. package/dist/super-editor/src/extensions/font-size/font-size.d.ts +21 -0
  142. package/dist/super-editor/src/extensions/format-commands/format-commands.d.ts +9 -0
  143. package/dist/super-editor/src/extensions/gapcursor/gapcursor.d.ts +9 -0
  144. package/dist/super-editor/src/extensions/heading/heading.d.ts +12 -6
  145. package/dist/super-editor/src/extensions/highlight/highlight.d.ts +20 -0
  146. package/dist/super-editor/src/extensions/history/history.d.ts +7 -15
  147. package/dist/super-editor/src/extensions/image/image.d.ts +78 -0
  148. package/dist/super-editor/src/extensions/image/imageHelpers/fileNameUtils.d.ts +3 -0
  149. package/dist/super-editor/src/extensions/image/imageHelpers/handleBase64.d.ts +1 -0
  150. package/dist/super-editor/src/extensions/image/imageHelpers/handleUrl.d.ts +2 -0
  151. package/dist/super-editor/src/extensions/image/imageHelpers/imageRegistrationPlugin.d.ts +11 -0
  152. package/dist/super-editor/src/extensions/image/imageHelpers/index.d.ts +3 -1
  153. package/dist/super-editor/src/extensions/image/imageHelpers/processUploadedImage.d.ts +2 -2
  154. package/dist/super-editor/src/extensions/image/imageHelpers/rotation.d.ts +4 -0
  155. package/dist/super-editor/src/extensions/image/imageHelpers/startImageUpload.d.ts +18 -23
  156. package/dist/super-editor/src/extensions/index.d.ts +2 -1
  157. package/dist/super-editor/src/extensions/italic/italic.d.ts +10 -0
  158. package/dist/super-editor/src/extensions/line-break/line-break.d.ts +43 -0
  159. package/dist/super-editor/src/extensions/line-height/line-height.d.ts +22 -0
  160. package/dist/super-editor/src/extensions/link/link.d.ts +53 -25
  161. package/dist/super-editor/src/extensions/linked-styles/linked-styles.d.ts +9 -0
  162. package/dist/super-editor/src/extensions/list-item/helpers/listItemTypography.d.ts +62 -0
  163. package/dist/super-editor/src/extensions/list-item/list-item.d.ts +48 -0
  164. package/dist/super-editor/src/extensions/mention/mention.d.ts +26 -0
  165. package/dist/super-editor/src/extensions/noderesizer/noderesizer.d.ts +14 -0
  166. package/dist/super-editor/src/extensions/ordered-list/ordered-list.d.ts +35 -0
  167. package/dist/super-editor/src/extensions/page-number/page-number.d.ts +52 -0
  168. package/dist/super-editor/src/extensions/paragraph/paragraph.d.ts +49 -0
  169. package/dist/super-editor/src/extensions/placeholder/placeholder.d.ts +15 -0
  170. package/dist/super-editor/src/extensions/popover-plugin/popover-plugin.d.ts +9 -0
  171. package/dist/super-editor/src/extensions/run/commands/index.d.ts +1 -0
  172. package/dist/super-editor/src/extensions/run/commands/split-run.d.ts +1 -0
  173. package/dist/super-editor/src/extensions/run/run.d.ts +4 -4
  174. package/dist/super-editor/src/extensions/run-item/run-item.d.ts +24 -0
  175. package/dist/super-editor/src/extensions/search/search.d.ts +11 -2
  176. package/dist/super-editor/src/extensions/shape-container/shape-container.d.ts +29 -0
  177. package/dist/super-editor/src/extensions/shape-textbox/shape-textbox.d.ts +26 -0
  178. package/dist/super-editor/src/extensions/slash-menu/slash-menu.d.ts +9 -0
  179. package/dist/super-editor/src/extensions/strike/strike.d.ts +10 -0
  180. package/dist/super-editor/src/extensions/structured-content/StructuredContentBlockView.d.ts +9 -0
  181. package/dist/super-editor/src/extensions/structured-content/StructuredContentInlineView.d.ts +9 -0
  182. package/dist/super-editor/src/extensions/structured-content/StructuredContentViewBase.d.ts +24 -0
  183. package/dist/super-editor/src/extensions/structured-content/document-section.d.ts +46 -27
  184. package/dist/super-editor/src/extensions/structured-content/structured-content-block.d.ts +29 -1
  185. package/dist/super-editor/src/extensions/structured-content/structured-content.d.ts +29 -1
  186. package/dist/super-editor/src/extensions/tab/helpers/tabDecorations.d.ts +12 -0
  187. package/dist/super-editor/src/extensions/tab/tab.d.ts +29 -0
  188. package/dist/super-editor/src/extensions/table/table.d.ts +376 -55
  189. package/dist/super-editor/src/extensions/table-cell/table-cell.d.ts +41 -0
  190. package/dist/super-editor/src/extensions/table-header/table-header.d.ts +22 -0
  191. package/dist/super-editor/src/extensions/table-row/table-row.d.ts +28 -0
  192. package/dist/super-editor/src/extensions/text/text.d.ts +14 -0
  193. package/dist/super-editor/src/extensions/text-align/text-align.d.ts +22 -0
  194. package/dist/super-editor/src/extensions/text-indent/text-indent.d.ts +19 -10
  195. package/dist/super-editor/src/extensions/text-style/text-style.d.ts +20 -0
  196. package/dist/super-editor/src/extensions/text-transform/text-transform.d.ts +20 -0
  197. package/dist/super-editor/src/extensions/underline/underline.d.ts +25 -0
  198. package/dist/super-editor/src/tests/helpers/editor-test-utils.d.ts +14 -0
  199. package/dist/super-editor/src/tests/helpers/getParagraphText.d.ts +2 -0
  200. package/dist/super-editor/style.css +38 -0
  201. package/dist/super-editor/super-editor.es.js +126 -73
  202. package/dist/super-editor/toolbar.es.js +2 -2
  203. package/dist/super-editor.cjs +1 -1
  204. package/dist/super-editor.es.js +1 -1
  205. package/dist/superdoc.cjs +2 -2
  206. package/dist/superdoc.es.js +2 -2
  207. package/dist/superdoc.umd.js +9533 -7853
  208. package/dist/superdoc.umd.js.map +1 -1
  209. package/npm-deprecation-notice.cjs +10 -0
  210. package/package.json +11 -6
  211. package/dist/super-editor/src/extensions/image/imageHelpers/imagePlaceholderPlugin.d.ts +0 -5
  212. /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-DMpIH4c0.js";
3
+ import { _ as _export_sfc, u as useHighContrastMode, g as global$1 } from "./editor-DrzPfOIy.js";
4
4
  const sanitizeNumber = (value, defaultNumber) => {
5
5
  let sanitized = value.replace(/[^0-9.]/g, "");
6
6
  sanitized = parseFloat(sanitized);
@@ -2483,7 +2483,7 @@ function resolveTo(selector) {
2483
2483
  if (typeof selector === "string") {
2484
2484
  return document.querySelector(selector);
2485
2485
  }
2486
- return selector();
2486
+ return selector() || null;
2487
2487
  }
2488
2488
  const LazyTeleport = defineComponent({
2489
2489
  name: "LazyTeleport",
@@ -2571,8 +2571,11 @@ const oppositeAlignCssPositionProps = {
2571
2571
  };
2572
2572
  const keepOffsetDirection = {
2573
2573
  top: true,
2574
+ // top++
2574
2575
  bottom: false,
2576
+ // top--
2575
2577
  left: true,
2578
+ // left++
2576
2579
  right: false
2577
2580
  // left--
2578
2581
  };
@@ -3689,7 +3692,6 @@ function isFocusable(element) {
3689
3692
  return !!element.href && element.rel !== "ignore";
3690
3693
  case "INPUT":
3691
3694
  return element.type !== "hidden" && element.type !== "file";
3692
- case "BUTTON":
3693
3695
  case "SELECT":
3694
3696
  case "TEXTAREA":
3695
3697
  return true;
@@ -3708,8 +3710,8 @@ const FocusTrap = defineComponent({
3708
3710
  default: true
3709
3711
  },
3710
3712
  onEsc: Function,
3711
- initialFocusTo: String,
3712
- finalFocusTo: String,
3713
+ initialFocusTo: [String, Function],
3714
+ finalFocusTo: [String, Function],
3713
3715
  returnFocusOnDeactivated: {
3714
3716
  type: Boolean,
3715
3717
  default: true
@@ -5807,6 +5809,7 @@ function self$6(vars) {
5807
5809
  });
5808
5810
  }
5809
5811
  const scrollbarLight = {
5812
+ name: "Scrollbar",
5810
5813
  common: derived,
5811
5814
  self: self$6
5812
5815
  };
@@ -7322,11 +7325,14 @@ function self$5(vars) {
7322
7325
  boxShadow: boxShadow2
7323
7326
  });
7324
7327
  }
7325
- const popoverLight = {
7328
+ const popoverLight = createTheme({
7326
7329
  name: "Popover",
7327
7330
  common: derived,
7331
+ peers: {
7332
+ Scrollbar: scrollbarLight
7333
+ },
7328
7334
  self: self$5
7329
- };
7335
+ });
7330
7336
  const oppositePlacement = {
7331
7337
  top: "bottom",
7332
7338
  bottom: "top",
@@ -7546,9 +7552,11 @@ const NPopoverBody = defineComponent({
7546
7552
  const {
7547
7553
  namespaceRef,
7548
7554
  mergedClsPrefixRef,
7549
- inlineThemeDisabled
7555
+ inlineThemeDisabled,
7556
+ mergedRtlRef
7550
7557
  } = useConfig(props);
7551
7558
  const themeRef = useTheme("Popover", "-popover", style$3, popoverLight, props, mergedClsPrefixRef);
7559
+ const rtlEnabledRef = useRtl("Popover", mergedRtlRef, mergedClsPrefixRef);
7552
7560
  const followerRef = ref(null);
7553
7561
  const NPopover2 = inject("NPopover");
7554
7562
  const bodyRef = ref(null);
@@ -7746,6 +7754,8 @@ const NPopoverBody = defineComponent({
7746
7754
  style: props.contentStyle
7747
7755
  }, slots);
7748
7756
  const maybeScrollableBody = props.scrollable ? h(XScrollbar, {
7757
+ themeOverrides: themeRef.value.peerOverrides.Scrollbar,
7758
+ theme: themeRef.value.peers.Scrollbar,
7749
7759
  contentClass: hasHeaderOrFooter ? void 0 : `${mergedClsPrefix}-popover__content ${(_b = props.contentClass) !== null && _b !== void 0 ? _b : ""}`,
7750
7760
  contentStyle: hasHeaderOrFooter ? void 0 : props.contentStyle
7751
7761
  }, {
@@ -7761,7 +7771,7 @@ const NPopoverBody = defineComponent({
7761
7771
  return [maybeScrollableBody, arrow];
7762
7772
  };
7763
7773
  contentNode = h("div", mergeProps({
7764
- class: [`${mergedClsPrefix}-popover`, `${mergedClsPrefix}-popover-shared`, themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.themeClass.value, extraClass.map((v) => `${mergedClsPrefix}-${v}`), {
7774
+ class: [`${mergedClsPrefix}-popover`, `${mergedClsPrefix}-popover-shared`, (rtlEnabledRef === null || rtlEnabledRef === void 0 ? void 0 : rtlEnabledRef.value) && `${mergedClsPrefix}-popover--rtl`, themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.themeClass.value, extraClass.map((v) => `${mergedClsPrefix}-${v}`), {
7765
7775
  [`${mergedClsPrefix}-popover--scrollable`]: props.scrollable,
7766
7776
  [`${mergedClsPrefix}-popover--show-header-or-footer`]: hasHeaderOrFooter,
7767
7777
  [`${mergedClsPrefix}-popover--raw`]: props.raw,
@@ -7785,7 +7795,7 @@ const NPopoverBody = defineComponent({
7785
7795
  // The popover class and overlap class must exists, they will be used
7786
7796
  // to place the body & transition animation.
7787
7797
  // Shadow class exists for reuse box-shadow.
7788
- [`${mergedClsPrefix}-popover-shared`, themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.themeClass.value, props.overlap && `${mergedClsPrefix}-popover-shared--overlap`, props.showArrow && `${mergedClsPrefix}-popover-shared--show-arrow`, props.arrowPointToCenter && `${mergedClsPrefix}-popover-shared--center-arrow`],
7798
+ [`${mergedClsPrefix}-popover-shared`, (rtlEnabledRef === null || rtlEnabledRef === void 0 ? void 0 : rtlEnabledRef.value) && `${mergedClsPrefix}-popover--rtl`, themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.themeClass.value, props.overlap && `${mergedClsPrefix}-popover-shared--overlap`, props.showArrow && `${mergedClsPrefix}-popover-shared--show-arrow`, props.arrowPointToCenter && `${mergedClsPrefix}-popover-shared--center-arrow`],
7789
7799
  bodyRef,
7790
7800
  styleRef.value,
7791
7801
  handleMouseEnter,
@@ -1,4 +1,4 @@
1
- import { a5 } from "./chunks/converter-B61ZUb-V.js";
1
+ import { a5 } from "./chunks/converter-DMpIH4c0.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-DMpIH4c0.js";
2
+ import { D } from "./chunks/docx-zipper-CDrFfcVc.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-DrzPfOIy.js";
2
+ import "./chunks/converter-DMpIH4c0.js";
3
+ import "./chunks/docx-zipper-CDrFfcVc.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-CDrFfcVc.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[];