docx 9.6.0 → 9.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (586) hide show
  1. package/dist/export/formatter.d.ts +4 -0
  2. package/dist/export/formatter.spec.d.ts +1 -0
  3. package/dist/export/index.d.ts +1 -0
  4. package/dist/export/packer/image-replacer.d.ts +5 -0
  5. package/dist/export/packer/image-replacer.spec.d.ts +1 -0
  6. package/dist/export/packer/next-compiler.d.ts +15 -0
  7. package/dist/export/packer/next-compiler.spec.d.ts +1 -0
  8. package/dist/export/packer/numbering-replacer.d.ts +4 -0
  9. package/dist/export/packer/packer.d.ts +20 -0
  10. package/dist/export/packer/packer.spec.d.ts +1 -0
  11. package/dist/file/app-properties/app-properties-attributes.d.ts +10 -0
  12. package/dist/file/app-properties/app-properties.d.ts +4 -0
  13. package/dist/file/border/border.d.ts +37 -0
  14. package/dist/file/border/border.spec.d.ts +1 -0
  15. package/dist/file/border/index.d.ts +1 -0
  16. package/dist/file/checkbox/checkbox-symbol.d.ts +4 -0
  17. package/dist/file/checkbox/checkbox-util.d.ts +17 -0
  18. package/dist/file/checkbox/checkbox-util.spec.d.ts +1 -0
  19. package/dist/file/checkbox/checkbox.d.ts +8 -0
  20. package/dist/file/checkbox/checkbox.spec.d.ts +1 -0
  21. package/dist/file/checkbox/index.d.ts +3 -0
  22. package/dist/file/content-types/content-types-attributes.d.ts +8 -0
  23. package/dist/file/content-types/content-types.d.ts +7 -0
  24. package/dist/file/content-types/content-types.spec.d.ts +1 -0
  25. package/dist/file/content-types/default/default.d.ts +2 -0
  26. package/dist/file/content-types/override/override.d.ts +2 -0
  27. package/dist/file/core-properties/index.d.ts +1 -0
  28. package/dist/file/core-properties/properties.d.ts +46 -0
  29. package/dist/file/core-properties/properties.spec.d.ts +1 -0
  30. package/dist/file/custom-properties/custom-properties-attributes.d.ts +10 -0
  31. package/dist/file/custom-properties/custom-properties.d.ts +9 -0
  32. package/dist/file/custom-properties/custom-properties.spec.d.ts +1 -0
  33. package/dist/file/custom-properties/custom-property-attributes.d.ts +12 -0
  34. package/dist/file/custom-properties/custom-property.d.ts +11 -0
  35. package/dist/file/custom-properties/index.d.ts +2 -0
  36. package/dist/file/document/body/body.d.ts +10 -0
  37. package/dist/file/document/body/body.spec.d.ts +1 -0
  38. package/dist/file/document/body/index.d.ts +2 -0
  39. package/dist/file/document/body/section-properties/index.d.ts +2 -0
  40. package/dist/file/document/body/section-properties/properties/column.d.ts +9 -0
  41. package/dist/file/document/body/section-properties/properties/columns.d.ts +11 -0
  42. package/dist/file/document/body/section-properties/properties/columns.spec.d.ts +1 -0
  43. package/dist/file/document/body/section-properties/properties/doc-grid.d.ts +13 -0
  44. package/dist/file/document/body/section-properties/properties/doc-grid.spec.d.ts +1 -0
  45. package/dist/file/document/body/section-properties/properties/header-footer-reference.d.ts +15 -0
  46. package/dist/file/document/body/section-properties/properties/header-footer-reference.spec.d.ts +1 -0
  47. package/dist/file/document/body/section-properties/properties/index.d.ts +12 -0
  48. package/dist/file/document/body/section-properties/properties/line-number.d.ts +14 -0
  49. package/dist/file/document/body/section-properties/properties/line-number.spec.d.ts +1 -0
  50. package/dist/file/document/body/section-properties/properties/page-borders.d.ts +30 -0
  51. package/dist/file/document/body/section-properties/properties/page-borders.spec.d.ts +1 -0
  52. package/dist/file/document/body/section-properties/properties/page-margin.d.ts +12 -0
  53. package/dist/file/document/body/section-properties/properties/page-number.d.ts +15 -0
  54. package/dist/file/document/body/section-properties/properties/page-size.d.ts +13 -0
  55. package/dist/file/document/body/section-properties/properties/page-size.spec.d.ts +1 -0
  56. package/dist/file/document/body/section-properties/properties/page-text-direction.d.ts +8 -0
  57. package/dist/file/document/body/section-properties/properties/page-text-direction.spec.d.ts +1 -0
  58. package/dist/file/document/body/section-properties/properties/section-type.d.ts +9 -0
  59. package/dist/file/document/body/section-properties/properties/section-type.spec.d.ts +1 -0
  60. package/dist/file/document/body/section-properties/section-properties.d.ts +61 -0
  61. package/dist/file/document/body/section-properties/section-properties.spec.d.ts +1 -0
  62. package/dist/file/document/document-attributes.d.ts +48 -0
  63. package/dist/file/document/document-background/document-background.d.ts +23 -0
  64. package/dist/file/document/document-background/document-background.spec.d.ts +1 -0
  65. package/dist/file/document/document-background/index.d.ts +1 -0
  66. package/dist/file/document/document.d.ts +15 -0
  67. package/dist/file/document/document.spec.d.ts +1 -0
  68. package/dist/file/document/index.d.ts +4 -0
  69. package/dist/file/document-wrapper.d.ts +18 -0
  70. package/dist/file/document-wrapper.spec.d.ts +1 -0
  71. package/dist/file/drawing/anchor/anchor-attributes.d.ts +24 -0
  72. package/dist/file/drawing/anchor/anchor.d.ts +10 -0
  73. package/dist/file/drawing/anchor/anchor.spec.d.ts +1 -0
  74. package/dist/file/drawing/anchor/index.d.ts +2 -0
  75. package/dist/file/drawing/doc-properties/doc-properties-children.d.ts +3 -0
  76. package/dist/file/drawing/doc-properties/doc-properties-children.spec.d.ts +1 -0
  77. package/dist/file/drawing/doc-properties/doc-properties.d.ts +12 -0
  78. package/dist/file/drawing/doc-properties/doc-properties.spec.d.ts +1 -0
  79. package/dist/file/drawing/drawing.d.ts +21 -0
  80. package/dist/file/drawing/drawing.spec.d.ts +1 -0
  81. package/dist/file/drawing/effect-extent/effect-extent.d.ts +8 -0
  82. package/dist/file/drawing/extent/extent.d.ts +7 -0
  83. package/dist/file/drawing/floating/align.d.ts +3 -0
  84. package/dist/file/drawing/floating/align.spec.d.ts +1 -0
  85. package/dist/file/drawing/floating/floating-position.d.ts +49 -0
  86. package/dist/file/drawing/floating/horizontal-position.d.ts +3 -0
  87. package/dist/file/drawing/floating/horizontal-position.spec.d.ts +1 -0
  88. package/dist/file/drawing/floating/index.d.ts +4 -0
  89. package/dist/file/drawing/floating/position-offset.d.ts +2 -0
  90. package/dist/file/drawing/floating/position-offset.spec.d.ts +1 -0
  91. package/dist/file/drawing/floating/simple-pos.d.ts +2 -0
  92. package/dist/file/drawing/floating/simple-pos.spec.d.ts +1 -0
  93. package/dist/file/drawing/floating/vertical-position.d.ts +3 -0
  94. package/dist/file/drawing/floating/vertical-position.spec.d.ts +1 -0
  95. package/dist/file/drawing/graphic-frame/graphic-frame-locks/graphic-frame-lock-attributes.d.ts +10 -0
  96. package/dist/file/drawing/graphic-frame/graphic-frame-locks/graphic-frame-locks.d.ts +4 -0
  97. package/dist/file/drawing/graphic-frame/graphic-frame-properties.d.ts +2 -0
  98. package/dist/file/drawing/index.d.ts +3 -0
  99. package/dist/file/drawing/inline/graphic/graphic-data/graphic-data-attribute.d.ts +8 -0
  100. package/dist/file/drawing/inline/graphic/graphic-data/graphic-data.d.ts +12 -0
  101. package/dist/file/drawing/inline/graphic/graphic-data/index.d.ts +1 -0
  102. package/dist/file/drawing/inline/graphic/graphic-data/pic/blip/blip-extentions.d.ts +3 -0
  103. package/dist/file/drawing/inline/graphic/graphic-data/pic/blip/blip-fill.d.ts +5 -0
  104. package/dist/file/drawing/inline/graphic/graphic-data/pic/blip/blip.d.ts +3 -0
  105. package/dist/file/drawing/inline/graphic/graphic-data/pic/blip/source-rectangle.d.ts +4 -0
  106. package/dist/file/drawing/inline/graphic/graphic-data/pic/blip/stretch.d.ts +4 -0
  107. package/dist/file/drawing/inline/graphic/graphic-data/pic/index.d.ts +1 -0
  108. package/dist/file/drawing/inline/graphic/graphic-data/pic/non-visual-pic-properties/child-non-visual-pic-properties/child-non-visual-pic-properties.d.ts +4 -0
  109. package/dist/file/drawing/inline/graphic/graphic-data/pic/non-visual-pic-properties/child-non-visual-pic-properties/pic-locks/pic-locks-attributes.d.ts +10 -0
  110. package/dist/file/drawing/inline/graphic/graphic-data/pic/non-visual-pic-properties/child-non-visual-pic-properties/pic-locks/pic-locks.d.ts +4 -0
  111. package/dist/file/drawing/inline/graphic/graphic-data/pic/non-visual-pic-properties/non-visual-pic-properties.d.ts +4 -0
  112. package/dist/file/drawing/inline/graphic/graphic-data/pic/non-visual-pic-properties/non-visual-properties/non-visual-properties-attributes.d.ts +12 -0
  113. package/dist/file/drawing/inline/graphic/graphic-data/pic/non-visual-pic-properties/non-visual-properties/non-visual-properties.d.ts +5 -0
  114. package/dist/file/drawing/inline/graphic/graphic-data/pic/pic-attributes.d.ts +8 -0
  115. package/dist/file/drawing/inline/graphic/graphic-data/pic/pic.d.ts +10 -0
  116. package/dist/file/drawing/inline/graphic/graphic-data/pic/shape-properties/form/extents/extents-attributes.d.ts +10 -0
  117. package/dist/file/drawing/inline/graphic/graphic-data/pic/shape-properties/form/extents/extents.d.ts +5 -0
  118. package/dist/file/drawing/inline/graphic/graphic-data/pic/shape-properties/form/form.d.ts +18 -0
  119. package/dist/file/drawing/inline/graphic/graphic-data/pic/shape-properties/form/index.d.ts +1 -0
  120. package/dist/file/drawing/inline/graphic/graphic-data/pic/shape-properties/form/offset/off-attributes.d.ts +10 -0
  121. package/dist/file/drawing/inline/graphic/graphic-data/pic/shape-properties/form/offset/off.d.ts +4 -0
  122. package/dist/file/drawing/inline/graphic/graphic-data/pic/shape-properties/form.spec.d.ts +1 -0
  123. package/dist/file/drawing/inline/graphic/graphic-data/pic/shape-properties/outline/no-fill.d.ts +2 -0
  124. package/dist/file/drawing/inline/graphic/graphic-data/pic/shape-properties/outline/no-fill.spec.d.ts +1 -0
  125. package/dist/file/drawing/inline/graphic/graphic-data/pic/shape-properties/outline/outline.d.ts +42 -0
  126. package/dist/file/drawing/inline/graphic/graphic-data/pic/shape-properties/outline/outline.spec.d.ts +1 -0
  127. package/dist/file/drawing/inline/graphic/graphic-data/pic/shape-properties/outline/rgb-color.d.ts +6 -0
  128. package/dist/file/drawing/inline/graphic/graphic-data/pic/shape-properties/outline/scheme-color.d.ts +25 -0
  129. package/dist/file/drawing/inline/graphic/graphic-data/pic/shape-properties/outline/solid-fill.d.ts +12 -0
  130. package/dist/file/drawing/inline/graphic/graphic-data/pic/shape-properties/outline/solid-fill.spec.d.ts +1 -0
  131. package/dist/file/drawing/inline/graphic/graphic-data/pic/shape-properties/preset-geometry/adjustment-values/adjustment-values.d.ts +4 -0
  132. package/dist/file/drawing/inline/graphic/graphic-data/pic/shape-properties/preset-geometry/preset-geometry-attributes.d.ts +8 -0
  133. package/dist/file/drawing/inline/graphic/graphic-data/pic/shape-properties/preset-geometry/preset-geometry.d.ts +4 -0
  134. package/dist/file/drawing/inline/graphic/graphic-data/pic/shape-properties/shape-properties-attributes.d.ts +8 -0
  135. package/dist/file/drawing/inline/graphic/graphic-data/pic/shape-properties/shape-properties.d.ts +13 -0
  136. package/dist/file/drawing/inline/graphic/graphic-data/wpg/wpg-group.d.ts +10 -0
  137. package/dist/file/drawing/inline/graphic/graphic-data/wps/body-properties.d.ts +19 -0
  138. package/dist/file/drawing/inline/graphic/graphic-data/wps/body-properties.spec.d.ts +1 -0
  139. package/dist/file/drawing/inline/graphic/graphic-data/wps/index.d.ts +2 -0
  140. package/dist/file/drawing/inline/graphic/graphic-data/wps/non-visual-shape-properties.d.ts +5 -0
  141. package/dist/file/drawing/inline/graphic/graphic-data/wps/text-box-content.d.ts +3 -0
  142. package/dist/file/drawing/inline/graphic/graphic-data/wps/wps-shape.d.ts +18 -0
  143. package/dist/file/drawing/inline/graphic/graphic-data/wps/wps-text-box.d.ts +3 -0
  144. package/dist/file/drawing/inline/graphic/graphic.d.ts +13 -0
  145. package/dist/file/drawing/inline/graphic/index.d.ts +1 -0
  146. package/dist/file/drawing/inline/index.d.ts +1 -0
  147. package/dist/file/drawing/inline/inline.d.ts +14 -0
  148. package/dist/file/drawing/inline/inline.spec.d.ts +1 -0
  149. package/dist/file/drawing/text-wrap/index.d.ts +5 -0
  150. package/dist/file/drawing/text-wrap/text-wrapping.d.ts +18 -0
  151. package/dist/file/drawing/text-wrap/wrap-none.d.ts +2 -0
  152. package/dist/file/drawing/text-wrap/wrap-square.d.ts +4 -0
  153. package/dist/file/drawing/text-wrap/wrap-tight.d.ts +3 -0
  154. package/dist/file/drawing/text-wrap/wrap-top-and-bottom.d.ts +3 -0
  155. package/dist/file/endnotes/endnote/endnote-attributes.d.ts +10 -0
  156. package/dist/file/endnotes/endnote/endnote.d.ts +14 -0
  157. package/dist/file/endnotes/endnote/endnote.spec.d.ts +1 -0
  158. package/dist/file/endnotes/endnote/index.d.ts +1 -0
  159. package/dist/file/endnotes/endnote/run/endnote-ref-run.d.ts +4 -0
  160. package/dist/file/endnotes/endnote/run/index.d.ts +1 -0
  161. package/dist/file/endnotes/endnote/run/reference-run.d.ts +15 -0
  162. package/dist/file/endnotes/endnote/run/reference-run.spec.d.ts +1 -0
  163. package/dist/file/endnotes/endnotes-attributes.d.ts +40 -0
  164. package/dist/file/endnotes/endnotes.d.ts +6 -0
  165. package/dist/file/endnotes/endnotes.spec.d.ts +1 -0
  166. package/dist/file/endnotes/index.d.ts +2 -0
  167. package/dist/file/endnotes-wrapper.d.ts +10 -0
  168. package/dist/file/file-child.d.ts +4 -0
  169. package/dist/file/file.d.ts +78 -0
  170. package/dist/file/file.spec.d.ts +1 -0
  171. package/dist/file/fonts/create-regular-font.d.ts +8 -0
  172. package/dist/file/fonts/font-table.d.ts +9 -0
  173. package/dist/file/fonts/font-wrapper.d.ts +16 -0
  174. package/dist/file/fonts/font-wrapper.spec.d.ts +1 -0
  175. package/dist/file/fonts/font.d.ts +49 -0
  176. package/dist/file/fonts/font.spec.d.ts +1 -0
  177. package/dist/file/fonts/index.d.ts +1 -0
  178. package/dist/file/fonts/obfuscate-ttf-to-odttf.d.ts +1 -0
  179. package/dist/file/fonts/obsfuscate-ttf-to-odttf.spec.d.ts +1 -0
  180. package/dist/file/footer/footer-attributes.d.ts +51 -0
  181. package/dist/file/footer/footer.d.ts +9 -0
  182. package/dist/file/footer/footer.spec.d.ts +1 -0
  183. package/dist/file/footer/index.d.ts +1 -0
  184. package/dist/file/footer-wrapper.d.ts +23 -0
  185. package/dist/file/footer-wrapper.spec.d.ts +1 -0
  186. package/dist/file/footnotes/footnote/footnote-attributes.d.ts +10 -0
  187. package/dist/file/footnotes/footnote/footnote.d.ts +14 -0
  188. package/dist/file/footnotes/footnote/footnote.spec.d.ts +1 -0
  189. package/dist/file/footnotes/footnote/index.d.ts +1 -0
  190. package/dist/file/footnotes/footnote/run/continuation-seperator-run.d.ts +4 -0
  191. package/dist/file/footnotes/footnote/run/continuation-seperator.d.ts +4 -0
  192. package/dist/file/footnotes/footnote/run/footnote-ref-run.d.ts +4 -0
  193. package/dist/file/footnotes/footnote/run/footnote-ref.d.ts +4 -0
  194. package/dist/file/footnotes/footnote/run/index.d.ts +1 -0
  195. package/dist/file/footnotes/footnote/run/reference-run.d.ts +15 -0
  196. package/dist/file/footnotes/footnote/run/seperator-run.d.ts +4 -0
  197. package/dist/file/footnotes/footnote/run/seperator.d.ts +4 -0
  198. package/dist/file/footnotes/footnotes-attributes.d.ts +40 -0
  199. package/dist/file/footnotes/footnotes.d.ts +6 -0
  200. package/dist/file/footnotes/index.d.ts +2 -0
  201. package/dist/file/footnotes-wrapper.d.ts +10 -0
  202. package/dist/file/footnotes-wrapper.spec.d.ts +1 -0
  203. package/dist/file/header/header-attributes.d.ts +73 -0
  204. package/dist/file/header/header.d.ts +9 -0
  205. package/dist/file/header/header.spec.d.ts +1 -0
  206. package/dist/file/header/index.d.ts +1 -0
  207. package/dist/file/header-wrapper.d.ts +23 -0
  208. package/dist/file/header-wrapper.spec.d.ts +1 -0
  209. package/dist/file/header.d.ts +13 -0
  210. package/dist/file/index.d.ts +25 -0
  211. package/dist/file/media/data.d.ts +59 -0
  212. package/dist/file/media/index.d.ts +2 -0
  213. package/dist/file/media/media.d.ts +20 -0
  214. package/dist/file/media/media.spec.d.ts +1 -0
  215. package/dist/file/numbering/abstract-numbering.d.ts +6 -0
  216. package/dist/file/numbering/abstract-numbering.spec.d.ts +1 -0
  217. package/dist/file/numbering/concrete-numbering.spec.d.ts +1 -0
  218. package/dist/file/numbering/index.d.ts +4 -0
  219. package/dist/file/numbering/level.d.ts +97 -0
  220. package/dist/file/numbering/level.spec.d.ts +1 -0
  221. package/dist/file/numbering/multi-level-type.d.ts +4 -0
  222. package/dist/file/numbering/num.d.ts +22 -0
  223. package/dist/file/numbering/numbering.d.ts +21 -0
  224. package/dist/file/numbering/numbering.spec.d.ts +1 -0
  225. package/dist/file/paragraph/formatting/alignment.d.ts +17 -0
  226. package/dist/file/paragraph/formatting/alignment.spec.d.ts +1 -0
  227. package/dist/file/paragraph/formatting/border.d.ts +15 -0
  228. package/dist/file/paragraph/formatting/border.spec.d.ts +1 -0
  229. package/dist/file/paragraph/formatting/break.d.ts +11 -0
  230. package/dist/file/paragraph/formatting/break.spec.d.ts +1 -0
  231. package/dist/file/paragraph/formatting/indent.d.ts +12 -0
  232. package/dist/file/paragraph/formatting/indent.spec.d.ts +1 -0
  233. package/dist/file/paragraph/formatting/index.d.ts +8 -0
  234. package/dist/file/paragraph/formatting/spacing.d.ts +16 -0
  235. package/dist/file/paragraph/formatting/spacing.spec.d.ts +1 -0
  236. package/dist/file/paragraph/formatting/style.d.ts +11 -0
  237. package/dist/file/paragraph/formatting/style.spec.d.ts +1 -0
  238. package/dist/file/paragraph/formatting/tab-stop.d.ts +29 -0
  239. package/dist/file/paragraph/formatting/tab-stop.spec.d.ts +1 -0
  240. package/dist/file/paragraph/formatting/unordered-list.d.ts +4 -0
  241. package/dist/file/paragraph/formatting/unordered-list.spec.d.ts +1 -0
  242. package/dist/file/paragraph/formatting/word-wrap.d.ts +2 -0
  243. package/dist/file/paragraph/formatting/word-wrap.spec.d.ts +1 -0
  244. package/dist/file/paragraph/frame/frame-properties.d.ts +55 -0
  245. package/dist/file/paragraph/frame/frame-properties.spec.d.ts +1 -0
  246. package/dist/file/paragraph/frame/index.d.ts +1 -0
  247. package/dist/file/paragraph/index.d.ts +7 -0
  248. package/dist/file/paragraph/links/bookmark-attributes.d.ts +17 -0
  249. package/dist/file/paragraph/links/bookmark.d.ts +19 -0
  250. package/dist/file/paragraph/links/bookmark.spec.d.ts +1 -0
  251. package/dist/file/paragraph/links/hyperlink-attributes.d.ts +13 -0
  252. package/dist/file/paragraph/links/hyperlink.d.ts +25 -0
  253. package/dist/file/paragraph/links/hyperlink.spec.d.ts +1 -0
  254. package/dist/file/paragraph/links/index.d.ts +5 -0
  255. package/dist/file/paragraph/links/numbered-item-ref.d.ts +14 -0
  256. package/dist/file/paragraph/links/numbered-item-ref.spec.d.ts +1 -0
  257. package/dist/file/paragraph/links/outline-level.d.ts +2 -0
  258. package/dist/file/paragraph/links/outline-level.spec.d.ts +1 -0
  259. package/dist/file/paragraph/links/pageref-field-instruction.d.ts +5 -0
  260. package/dist/file/paragraph/links/pageref-field-instruction.spec.d.ts +1 -0
  261. package/dist/file/paragraph/links/pageref.d.ts +8 -0
  262. package/dist/file/paragraph/links/pageref.spec.d.ts +1 -0
  263. package/dist/file/paragraph/math/bar/index.d.ts +2 -0
  264. package/dist/file/paragraph/math/bar/math-bar-pos.d.ts +6 -0
  265. package/dist/file/paragraph/math/bar/math-bar-properties.d.ts +4 -0
  266. package/dist/file/paragraph/math/bar/math-bar-properties.spec.d.ts +1 -0
  267. package/dist/file/paragraph/math/bar/math-bar.d.ts +8 -0
  268. package/dist/file/paragraph/math/bar/math-bar.spec.d.ts +1 -0
  269. package/dist/file/paragraph/math/brackets/index.d.ts +4 -0
  270. package/dist/file/paragraph/math/brackets/math-angled-brackets.d.ts +9 -0
  271. package/dist/file/paragraph/math/brackets/math-angled-brackets.spec.d.ts +1 -0
  272. package/dist/file/paragraph/math/brackets/math-beginning-character.d.ts +6 -0
  273. package/dist/file/paragraph/math/brackets/math-beginning-character.spec.d.ts +1 -0
  274. package/dist/file/paragraph/math/brackets/math-bracket-properties.d.ts +9 -0
  275. package/dist/file/paragraph/math/brackets/math-bracket-properties.spec.d.ts +1 -0
  276. package/dist/file/paragraph/math/brackets/math-curly-brackets.d.ts +7 -0
  277. package/dist/file/paragraph/math/brackets/math-curly-brackets.spec.d.ts +1 -0
  278. package/dist/file/paragraph/math/brackets/math-ending-char.d.ts +6 -0
  279. package/dist/file/paragraph/math/brackets/math-ending-character.spec.d.ts +1 -0
  280. package/dist/file/paragraph/math/brackets/math-round-brackets.d.ts +7 -0
  281. package/dist/file/paragraph/math/brackets/math-round-brackets.spec.d.ts +1 -0
  282. package/dist/file/paragraph/math/brackets/math-square-brackets.d.ts +7 -0
  283. package/dist/file/paragraph/math/brackets/math-square-brackets.spec.d.ts +1 -0
  284. package/dist/file/paragraph/math/fraction/index.d.ts +3 -0
  285. package/dist/file/paragraph/math/fraction/math-denominator.d.ts +5 -0
  286. package/dist/file/paragraph/math/fraction/math-denominator.spec.d.ts +1 -0
  287. package/dist/file/paragraph/math/fraction/math-fraction.d.ts +9 -0
  288. package/dist/file/paragraph/math/fraction/math-fraction.spec.d.ts +1 -0
  289. package/dist/file/paragraph/math/fraction/math-numerator.d.ts +5 -0
  290. package/dist/file/paragraph/math/fraction/math-numerator.spec.d.ts +1 -0
  291. package/dist/file/paragraph/math/function/index.d.ts +3 -0
  292. package/dist/file/paragraph/math/function/math-function-name.d.ts +5 -0
  293. package/dist/file/paragraph/math/function/math-function-name.spec.d.ts +1 -0
  294. package/dist/file/paragraph/math/function/math-function-properties.d.ts +4 -0
  295. package/dist/file/paragraph/math/function/math-function-properties.spec.d.ts +1 -0
  296. package/dist/file/paragraph/math/function/math-function.d.ts +9 -0
  297. package/dist/file/paragraph/math/function/math-function.spec.d.ts +1 -0
  298. package/dist/file/paragraph/math/index.d.ts +9 -0
  299. package/dist/file/paragraph/math/math-component.d.ts +9 -0
  300. package/dist/file/paragraph/math/math-run.d.ts +4 -0
  301. package/dist/file/paragraph/math/math-run.spec.d.ts +1 -0
  302. package/dist/file/paragraph/math/math-text.d.ts +4 -0
  303. package/dist/file/paragraph/math/math-text.spec.d.ts +1 -0
  304. package/dist/file/paragraph/math/math.d.ts +8 -0
  305. package/dist/file/paragraph/math/math.spec.d.ts +1 -0
  306. package/dist/file/paragraph/math/n-ary/index.d.ts +11 -0
  307. package/dist/file/paragraph/math/n-ary/math-accent-character.d.ts +6 -0
  308. package/dist/file/paragraph/math/n-ary/math-accent-character.spec.d.ts +1 -0
  309. package/dist/file/paragraph/math/n-ary/math-base.d.ts +7 -0
  310. package/dist/file/paragraph/math/n-ary/math-base.spec.d.ts +1 -0
  311. package/dist/file/paragraph/math/n-ary/math-integral.d.ts +10 -0
  312. package/dist/file/paragraph/math/n-ary/math-integral.spec.d.ts +1 -0
  313. package/dist/file/paragraph/math/n-ary/math-limit-location.d.ts +6 -0
  314. package/dist/file/paragraph/math/n-ary/math-limit-location.spec.d.ts +1 -0
  315. package/dist/file/paragraph/math/n-ary/math-limit-lower.d.ts +9 -0
  316. package/dist/file/paragraph/math/n-ary/math-limit-lower.spec.d.ts +1 -0
  317. package/dist/file/paragraph/math/n-ary/math-limit-upper.d.ts +9 -0
  318. package/dist/file/paragraph/math/n-ary/math-limit-upper.spec.d.ts +1 -0
  319. package/dist/file/paragraph/math/n-ary/math-limit.d.ts +5 -0
  320. package/dist/file/paragraph/math/n-ary/math-limit.spec.d.ts +1 -0
  321. package/dist/file/paragraph/math/n-ary/math-n-ary-properties.d.ts +9 -0
  322. package/dist/file/paragraph/math/n-ary/math-n-ary-properties.spec.d.ts +1 -0
  323. package/dist/file/paragraph/math/n-ary/math-sub-script-hide.d.ts +2 -0
  324. package/dist/file/paragraph/math/n-ary/math-sub-script-hide.spec.d.ts +1 -0
  325. package/dist/file/paragraph/math/n-ary/math-sub-script.d.ts +7 -0
  326. package/dist/file/paragraph/math/n-ary/math-sub-script.spec.d.ts +1 -0
  327. package/dist/file/paragraph/math/n-ary/math-sum.d.ts +10 -0
  328. package/dist/file/paragraph/math/n-ary/math-sum.spec.d.ts +1 -0
  329. package/dist/file/paragraph/math/n-ary/math-super-script-hide.d.ts +2 -0
  330. package/dist/file/paragraph/math/n-ary/math-super-script-hide.spec.d.ts +1 -0
  331. package/dist/file/paragraph/math/n-ary/math-super-script.d.ts +7 -0
  332. package/dist/file/paragraph/math/n-ary/math-super-script.spec.d.ts +1 -0
  333. package/dist/file/paragraph/math/radical/index.d.ts +3 -0
  334. package/dist/file/paragraph/math/radical/math-degree-hide.d.ts +4 -0
  335. package/dist/file/paragraph/math/radical/math-degree-hide.spec.d.ts +1 -0
  336. package/dist/file/paragraph/math/radical/math-degree.d.ts +5 -0
  337. package/dist/file/paragraph/math/radical/math-degree.spec.d.ts +1 -0
  338. package/dist/file/paragraph/math/radical/math-radical-properties.d.ts +4 -0
  339. package/dist/file/paragraph/math/radical/math-radical-properties.spec.d.ts +1 -0
  340. package/dist/file/paragraph/math/radical/math-radical.d.ts +9 -0
  341. package/dist/file/paragraph/math/radical/math-radical.spec.d.ts +1 -0
  342. package/dist/file/paragraph/math/script/index.d.ts +4 -0
  343. package/dist/file/paragraph/math/script/pre-sub-super-script/index.d.ts +2 -0
  344. package/dist/file/paragraph/math/script/pre-sub-super-script/math-pre-sub-super-script-function-properties.d.ts +2 -0
  345. package/dist/file/paragraph/math/script/pre-sub-super-script/math-pre-sub-super-script-function-properties.spec.d.ts +1 -0
  346. package/dist/file/paragraph/math/script/pre-sub-super-script/math-pre-sub-super-script-function.d.ts +10 -0
  347. package/dist/file/paragraph/math/script/pre-sub-super-script/math-pre-sub-super-script-function.spec.d.ts +1 -0
  348. package/dist/file/paragraph/math/script/sub-script/index.d.ts +2 -0
  349. package/dist/file/paragraph/math/script/sub-script/math-sub-script-function-properties.d.ts +2 -0
  350. package/dist/file/paragraph/math/script/sub-script/math-sub-script-function-properties.spec.d.ts +1 -0
  351. package/dist/file/paragraph/math/script/sub-script/math-sub-script-function.d.ts +9 -0
  352. package/dist/file/paragraph/math/script/sub-script/math-sub-script-function.spec.d.ts +1 -0
  353. package/dist/file/paragraph/math/script/sub-super-script/index.d.ts +2 -0
  354. package/dist/file/paragraph/math/script/sub-super-script/math-sub-super-script-function-properties.d.ts +2 -0
  355. package/dist/file/paragraph/math/script/sub-super-script/math-sub-super-script-function-properties.spec.d.ts +1 -0
  356. package/dist/file/paragraph/math/script/sub-super-script/math-sub-super-script-function.d.ts +10 -0
  357. package/dist/file/paragraph/math/script/sub-super-script/math-sub-super-script-function.spec.d.ts +1 -0
  358. package/dist/file/paragraph/math/script/super-script/index.d.ts +2 -0
  359. package/dist/file/paragraph/math/script/super-script/math-super-script-function-properties.d.ts +2 -0
  360. package/dist/file/paragraph/math/script/super-script/math-super-script-function-properties.spec.d.ts +1 -0
  361. package/dist/file/paragraph/math/script/super-script/math-super-script-function.d.ts +9 -0
  362. package/dist/file/paragraph/math/script/super-script/math-super-script-function.spec.d.ts +1 -0
  363. package/dist/file/paragraph/paragraph.d.ts +22 -0
  364. package/dist/file/paragraph/paragraph.spec.d.ts +1 -0
  365. package/dist/file/paragraph/properties.d.ts +65 -0
  366. package/dist/file/paragraph/properties.spec.d.ts +1 -0
  367. package/dist/file/paragraph/run/break.d.ts +2 -0
  368. package/dist/file/paragraph/run/break.spec.d.ts +1 -0
  369. package/dist/file/paragraph/run/comment-run.d.ts +42 -0
  370. package/dist/file/paragraph/run/comment-run.spec.d.ts +1 -0
  371. package/dist/file/paragraph/run/comments-extended.d.ts +5 -0
  372. package/dist/file/paragraph/run/comments-extended.spec.d.ts +1 -0
  373. package/dist/file/paragraph/run/emphasis-mark.d.ts +6 -0
  374. package/dist/file/paragraph/run/emphasis-mark.spec.d.ts +1 -0
  375. package/dist/file/paragraph/run/empty-children.d.ts +52 -0
  376. package/dist/file/paragraph/run/empty-children.spec.d.ts +1 -0
  377. package/dist/file/paragraph/run/field.d.ts +4 -0
  378. package/dist/file/paragraph/run/formatting.d.ts +14 -0
  379. package/dist/file/paragraph/run/formatting.spec.d.ts +1 -0
  380. package/dist/file/paragraph/run/image-run.d.ts +33 -0
  381. package/dist/file/paragraph/run/image-run.spec.d.ts +1 -0
  382. package/dist/file/paragraph/run/index.d.ts +16 -0
  383. package/dist/file/paragraph/run/language.d.ts +7 -0
  384. package/dist/file/paragraph/run/language.spec.d.ts +1 -0
  385. package/dist/file/paragraph/run/page-number.d.ts +13 -0
  386. package/dist/file/paragraph/run/page-number.spec.d.ts +1 -0
  387. package/dist/file/paragraph/run/positional-tab.d.ts +25 -0
  388. package/dist/file/paragraph/run/positional-tab.spec.d.ts +1 -0
  389. package/dist/file/paragraph/run/properties.d.ts +102 -0
  390. package/dist/file/paragraph/run/run-components/symbol.d.ts +4 -0
  391. package/dist/file/paragraph/run/run-components/symbol.spec.d.ts +1 -0
  392. package/dist/file/paragraph/run/run-components/text.d.ts +10 -0
  393. package/dist/file/paragraph/run/run-components/text.spec.d.ts +1 -0
  394. package/dist/file/paragraph/run/run-fonts.d.ts +9 -0
  395. package/dist/file/paragraph/run/run-fonts.spec.d.ts +1 -0
  396. package/dist/file/paragraph/run/run.d.ts +23 -0
  397. package/dist/file/paragraph/run/run.spec.d.ts +1 -0
  398. package/dist/file/paragraph/run/script.d.ts +3 -0
  399. package/dist/file/paragraph/run/script.spec.d.ts +1 -0
  400. package/dist/file/paragraph/run/sequential-identifier-instruction.d.ts +4 -0
  401. package/dist/file/paragraph/run/sequential-identifier.d.ts +4 -0
  402. package/dist/file/paragraph/run/sequential-identifier.spec.d.ts +1 -0
  403. package/dist/file/paragraph/run/simple-field.d.ts +7 -0
  404. package/dist/file/paragraph/run/simple-field.spec.d.ts +1 -0
  405. package/dist/file/paragraph/run/symbol-run.d.ts +8 -0
  406. package/dist/file/paragraph/run/symbol-run.spec.d.ts +1 -0
  407. package/dist/file/paragraph/run/text-attributes.d.ts +9 -0
  408. package/dist/file/paragraph/run/text-run.d.ts +4 -0
  409. package/dist/file/paragraph/run/text-run.spec.d.ts +1 -0
  410. package/dist/file/paragraph/run/underline.d.ts +22 -0
  411. package/dist/file/paragraph/run/underline.spec.d.ts +1 -0
  412. package/dist/file/paragraph/run/wpg-group-run.d.ts +21 -0
  413. package/dist/file/paragraph/run/wpg-group-run.spec.d.ts +1 -0
  414. package/dist/file/paragraph/run/wps-shape-run.d.ts +23 -0
  415. package/dist/file/paragraph/run/wps-shape-run.spec.d.ts +1 -0
  416. package/dist/file/relationships/attributes.d.ts +8 -0
  417. package/dist/file/relationships/index.d.ts +1 -0
  418. package/dist/file/relationships/relationship/relationship.d.ts +6 -0
  419. package/dist/file/relationships/relationships.d.ts +7 -0
  420. package/dist/file/relationships/relationships.spec.d.ts +1 -0
  421. package/dist/file/settings/compatibility-setting/compatibility-setting.d.ts +2 -0
  422. package/dist/file/settings/compatibility-setting/compatibility-setting.spec.d.ts +1 -0
  423. package/dist/file/settings/compatibility.d.ts +72 -0
  424. package/dist/file/settings/compatibility.spec.d.ts +1 -0
  425. package/dist/file/settings/index.d.ts +1 -0
  426. package/dist/file/settings/settings.d.ts +59 -0
  427. package/dist/file/settings/settings.spec.d.ts +1 -0
  428. package/dist/file/shading/index.d.ts +1 -0
  429. package/dist/file/shading/shading.d.ts +46 -0
  430. package/dist/file/shading/shading.spec.d.ts +1 -0
  431. package/dist/file/shared/alignment.d.ts +14 -0
  432. package/dist/file/shared/index.d.ts +3 -0
  433. package/dist/file/shared/number-format.d.ts +64 -0
  434. package/dist/file/shared/space-type.d.ts +4 -0
  435. package/dist/file/styles/defaults/document-defaults.d.ts +12 -0
  436. package/dist/file/styles/defaults/document-defaults.spec.d.ts +1 -0
  437. package/dist/file/styles/defaults/index.d.ts +3 -0
  438. package/dist/file/styles/defaults/paragraph-properties.d.ts +5 -0
  439. package/dist/file/styles/defaults/run-properties.d.ts +5 -0
  440. package/dist/file/styles/external-styles-factory.d.ts +4 -0
  441. package/dist/file/styles/external-styles-factory.spec.d.ts +1 -0
  442. package/dist/file/styles/factory.d.ts +25 -0
  443. package/dist/file/styles/index.d.ts +4 -0
  444. package/dist/file/styles/latent-styles/exceptions.d.ts +20 -0
  445. package/dist/file/styles/latent-styles/exceptions.spec.d.ts +1 -0
  446. package/dist/file/styles/latent-styles/index.d.ts +1 -0
  447. package/dist/file/styles/latent-styles/latent-styles.d.ts +5 -0
  448. package/dist/file/styles/latent-styles/latent-styles.spec.d.ts +1 -0
  449. package/dist/file/styles/sample/default-style.d.ts +1 -0
  450. package/dist/file/styles/sample/default-style.spec.d.ts +1 -0
  451. package/dist/file/styles/sample/index.d.ts +1 -0
  452. package/dist/file/styles/style/character-style.d.ts +12 -0
  453. package/dist/file/styles/style/character-style.spec.d.ts +1 -0
  454. package/dist/file/styles/style/components.d.ts +11 -0
  455. package/dist/file/styles/style/components.spec.d.ts +1 -0
  456. package/dist/file/styles/style/default-styles.d.ts +53 -0
  457. package/dist/file/styles/style/default-styles.spec.d.ts +1 -0
  458. package/dist/file/styles/style/index.d.ts +4 -0
  459. package/dist/file/styles/style/paragraph-style.d.ts +14 -0
  460. package/dist/file/styles/style/paragraph-style.spec.d.ts +1 -0
  461. package/dist/file/styles/style/style.d.ts +20 -0
  462. package/dist/file/styles/style/style.spec.d.ts +1 -0
  463. package/dist/file/styles/styles.d.ts +15 -0
  464. package/dist/file/styles/styles.spec.d.ts +1 -0
  465. package/dist/file/table/grid.d.ts +13 -0
  466. package/dist/file/table/grid.spec.d.ts +1 -0
  467. package/dist/file/table/index.d.ts +5 -0
  468. package/dist/file/table/table-cell/index.d.ts +2 -0
  469. package/dist/file/table/table-cell/table-cell-components.d.ts +31 -0
  470. package/dist/file/table/table-cell/table-cell-properties.d.ts +33 -0
  471. package/dist/file/table/table-cell/table-cell-properties.spec.d.ts +1 -0
  472. package/dist/file/table/table-cell/table-cell.d.ts +12 -0
  473. package/dist/file/table/table-cell/table-cell.spec.d.ts +1 -0
  474. package/dist/file/table/table-cell-spacing.d.ts +11 -0
  475. package/dist/file/table/table-properties/index.d.ts +5 -0
  476. package/dist/file/table/table-properties/table-borders.d.ts +14 -0
  477. package/dist/file/table/table-properties/table-borders.spec.d.ts +1 -0
  478. package/dist/file/table/table-properties/table-cell-margin.d.ts +11 -0
  479. package/dist/file/table/table-properties/table-cell-margin.spec.d.ts +1 -0
  480. package/dist/file/table/table-properties/table-float-properties.d.ts +40 -0
  481. package/dist/file/table/table-properties/table-float-properties.spec.d.ts +1 -0
  482. package/dist/file/table/table-properties/table-layout.d.ts +6 -0
  483. package/dist/file/table/table-properties/table-look.d.ts +10 -0
  484. package/dist/file/table/table-properties/table-look.spec.d.ts +1 -0
  485. package/dist/file/table/table-properties/table-properties.d.ts +33 -0
  486. package/dist/file/table/table-properties/table-properties.spec.d.ts +1 -0
  487. package/dist/file/table/table-row/index.d.ts +3 -0
  488. package/dist/file/table/table-row/table-row-height.d.ts +8 -0
  489. package/dist/file/table/table-row/table-row-properties.d.ts +27 -0
  490. package/dist/file/table/table-row/table-row-properties.spec.d.ts +1 -0
  491. package/dist/file/table/table-row/table-row.d.ts +16 -0
  492. package/dist/file/table/table-row/table-row.spec.d.ts +1 -0
  493. package/dist/file/table/table-width.d.ts +13 -0
  494. package/dist/file/table/table.d.ts +30 -0
  495. package/dist/file/table/table.spec.d.ts +1 -0
  496. package/dist/file/table-of-contents/field-instruction.d.ts +6 -0
  497. package/dist/file/table-of-contents/index.d.ts +2 -0
  498. package/dist/file/table-of-contents/sdt-content.d.ts +4 -0
  499. package/dist/file/table-of-contents/sdt-properties.d.ts +4 -0
  500. package/dist/file/table-of-contents/table-of-contents-properties.d.ts +23 -0
  501. package/dist/file/table-of-contents/table-of-contents.d.ts +20 -0
  502. package/dist/file/table-of-contents/table-of-contents.spec.d.ts +1 -0
  503. package/dist/file/textbox/index.d.ts +1 -0
  504. package/dist/file/textbox/pict-element/pict-element.d.ts +5 -0
  505. package/dist/file/textbox/shape/shape.d.ts +36 -0
  506. package/dist/file/textbox/shape/shape.spec.d.ts +1 -0
  507. package/dist/file/textbox/texbox-content/textbox-content.d.ts +5 -0
  508. package/dist/file/textbox/textbox.d.ts +10 -0
  509. package/dist/file/textbox/textbox.spec.d.ts +1 -0
  510. package/dist/file/textbox/types.d.ts +2 -0
  511. package/dist/file/textbox/vml-textbox/vml-texbox.d.ts +14 -0
  512. package/dist/file/textbox/vml-textbox/vml-textbox.spec.d.ts +1 -0
  513. package/dist/file/track-revision/index.d.ts +7 -0
  514. package/dist/file/track-revision/track-revision-components/cell-merge.d.ts +22 -0
  515. package/dist/file/track-revision/track-revision-components/cell-merge.spec.d.ts +1 -0
  516. package/dist/file/track-revision/track-revision-components/deleted-page-number.d.ts +10 -0
  517. package/dist/file/track-revision/track-revision-components/deleted-page-number.spec.d.ts +1 -0
  518. package/dist/file/track-revision/track-revision-components/deleted-table-cell.d.ts +5 -0
  519. package/dist/file/track-revision/track-revision-components/deleted-table-cell.spec.d.ts +1 -0
  520. package/dist/file/track-revision/track-revision-components/deleted-table-row.d.ts +5 -0
  521. package/dist/file/track-revision/track-revision-components/deleted-table-row.spec.d.ts +1 -0
  522. package/dist/file/track-revision/track-revision-components/deleted-text-run.d.ts +12 -0
  523. package/dist/file/track-revision/track-revision-components/deleted-text-run.spec.d.ts +1 -0
  524. package/dist/file/track-revision/track-revision-components/deleted-text.d.ts +4 -0
  525. package/dist/file/track-revision/track-revision-components/deleted-text.spec.d.ts +1 -0
  526. package/dist/file/track-revision/track-revision-components/deletion-track-change.d.ts +5 -0
  527. package/dist/file/track-revision/track-revision-components/inserted-table-cell.d.ts +5 -0
  528. package/dist/file/track-revision/track-revision-components/inserted-table-cell.spec.d.ts +1 -0
  529. package/dist/file/track-revision/track-revision-components/inserted-table-row.d.ts +5 -0
  530. package/dist/file/track-revision/track-revision-components/inserted-table-row.spec.d.ts +1 -0
  531. package/dist/file/track-revision/track-revision-components/inserted-text-run.d.ts +8 -0
  532. package/dist/file/track-revision/track-revision-components/inserted-text-run.spec.d.ts +1 -0
  533. package/dist/file/track-revision/track-revision-components/insertion-track-change.d.ts +5 -0
  534. package/dist/file/track-revision/track-revision.d.ts +13 -0
  535. package/dist/file/vertical-align/index.d.ts +1 -0
  536. package/dist/file/vertical-align/vertical-align.d.ts +21 -0
  537. package/dist/file/xml-components/attribute.spec.d.ts +1 -0
  538. package/dist/file/xml-components/attributes.d.ts +46 -0
  539. package/dist/file/xml-components/base.d.ts +13 -0
  540. package/dist/file/xml-components/default-attributes.d.ts +21 -0
  541. package/dist/file/xml-components/imported-xml-component.d.ts +14 -0
  542. package/dist/file/xml-components/imported-xml-component.spec.d.ts +1 -0
  543. package/dist/file/xml-components/index.d.ts +8 -0
  544. package/dist/file/xml-components/initializable-xml-component.d.ts +4 -0
  545. package/dist/file/xml-components/simple-elements.d.ts +30 -0
  546. package/dist/file/xml-components/simple-elements.spec.d.ts +1 -0
  547. package/dist/file/xml-components/xml-component.d.ts +14 -0
  548. package/dist/file/xml-components/xml-component.spec.d.ts +1 -0
  549. package/dist/file/xml-components/xmlable-object.d.ts +5 -0
  550. package/dist/index.cjs +32330 -22664
  551. package/dist/index.d.cts +5 -3189
  552. package/dist/index.d.ts +5 -3189
  553. package/dist/index.iife.js +32738 -23072
  554. package/dist/index.mjs +32330 -22966
  555. package/dist/index.spec.d.ts +1 -0
  556. package/dist/index.umd.cjs +32741 -23075
  557. package/dist/patcher/content-types-manager.d.ts +2 -0
  558. package/dist/patcher/content-types-manager.spec.d.ts +1 -0
  559. package/dist/patcher/from-docx.d.ts +32 -0
  560. package/dist/patcher/from-docx.spec.d.ts +1 -0
  561. package/dist/patcher/index.d.ts +2 -0
  562. package/dist/patcher/paragraph-split-inject.d.ts +9 -0
  563. package/dist/patcher/paragraph-split-inject.spec.d.ts +1 -0
  564. package/dist/patcher/paragraph-token-replacer.d.ts +8 -0
  565. package/dist/patcher/paragraph-token-replacer.spec.d.ts +1 -0
  566. package/dist/patcher/patch-detector.d.ts +6 -0
  567. package/dist/patcher/patch-detector.spec.d.ts +1 -0
  568. package/dist/patcher/relationship-manager.d.ts +4 -0
  569. package/dist/patcher/relationship-manager.spec.d.ts +1 -0
  570. package/dist/patcher/replacer.d.ts +15 -0
  571. package/dist/patcher/replacer.spec.d.ts +84 -0
  572. package/dist/patcher/run-renderer.d.ts +22 -0
  573. package/dist/patcher/run-renderer.spec.d.ts +1 -0
  574. package/dist/patcher/traverser.d.ts +9 -0
  575. package/dist/patcher/traverser.spec.d.ts +1 -0
  576. package/dist/patcher/util.d.ts +5 -0
  577. package/dist/patcher/util.spec.d.ts +1 -0
  578. package/dist/tests/utility.d.ts +3 -0
  579. package/dist/util/convenience-functions.d.ts +12 -0
  580. package/dist/util/convenience-functions.spec.d.ts +1 -0
  581. package/dist/util/index.d.ts +3 -0
  582. package/dist/util/output-type.d.ts +12 -0
  583. package/dist/util/types.d.ts +1 -0
  584. package/dist/util/values.d.ts +22 -0
  585. package/dist/util/values.spec.d.ts +1 -0
  586. package/package.json +8 -9
@@ -0,0 +1,33 @@
1
+ import { IChangedAttributesProperties } from '../../track-revision/track-revision';
2
+ import { IgnoreIfEmptyXmlComponent } from '../../xml-components';
3
+ import { AlignmentType } from '../../paragraph';
4
+ import { IShadingAttributesProperties } from '../../shading';
5
+ import { ITableWidthProperties } from '../table-width';
6
+ import { ITableBordersOptions } from './table-borders';
7
+ import { ITableCellMarginOptions } from './table-cell-margin';
8
+ import { ITableFloatOptions } from './table-float-properties';
9
+ import { TableLayoutType } from './table-layout';
10
+ import { ITableCellSpacingProperties } from '../table-cell-spacing';
11
+ import { ITableLookOptions } from './table-look';
12
+ export type ITablePropertiesOptionsBase = {
13
+ readonly width?: ITableWidthProperties;
14
+ readonly indent?: ITableWidthProperties;
15
+ readonly layout?: (typeof TableLayoutType)[keyof typeof TableLayoutType];
16
+ readonly borders?: ITableBordersOptions;
17
+ readonly float?: ITableFloatOptions;
18
+ readonly shading?: IShadingAttributesProperties;
19
+ readonly style?: string;
20
+ readonly alignment?: (typeof AlignmentType)[keyof typeof AlignmentType];
21
+ readonly cellMargin?: ITableCellMarginOptions;
22
+ readonly visuallyRightToLeft?: boolean;
23
+ readonly tableLook?: ITableLookOptions;
24
+ readonly cellSpacing?: ITableCellSpacingProperties;
25
+ };
26
+ export type ITablePropertiesChangeOptions = ITablePropertiesOptions & IChangedAttributesProperties;
27
+ export type ITablePropertiesOptions = {
28
+ readonly revision?: ITablePropertiesChangeOptions;
29
+ readonly includeIfEmpty?: boolean;
30
+ } & ITablePropertiesOptionsBase;
31
+ export declare class TableProperties extends IgnoreIfEmptyXmlComponent {
32
+ constructor(options: ITablePropertiesOptions);
33
+ }
@@ -0,0 +1,3 @@
1
+ export * from './table-row';
2
+ export * from './table-row-properties';
3
+ export * from './table-row-height';
@@ -0,0 +1,8 @@
1
+ import { XmlComponent } from '../../xml-components';
2
+ import { PositiveUniversalMeasure } from '../../../util/values';
3
+ export declare const HeightRule: {
4
+ readonly AUTO: "auto";
5
+ readonly ATLEAST: "atLeast";
6
+ readonly EXACT: "exact";
7
+ };
8
+ export declare const createTableRowHeight: (value: number | PositiveUniversalMeasure, rule: (typeof HeightRule)[keyof typeof HeightRule]) => XmlComponent;
@@ -0,0 +1,27 @@
1
+ import { IChangedAttributesProperties } from '../../track-revision/track-revision';
2
+ import { IgnoreIfEmptyXmlComponent, XmlComponent } from '../../xml-components';
3
+ import { PositiveUniversalMeasure } from '../../../util/values';
4
+ import { HeightRule } from './table-row-height';
5
+ import { ITableCellSpacingProperties } from '../table-cell-spacing';
6
+ export type ITableRowPropertiesOptionsBase = {
7
+ readonly cantSplit?: boolean;
8
+ readonly tableHeader?: boolean;
9
+ readonly height?: {
10
+ readonly value: number | PositiveUniversalMeasure;
11
+ readonly rule: (typeof HeightRule)[keyof typeof HeightRule];
12
+ };
13
+ readonly cellSpacing?: ITableCellSpacingProperties;
14
+ };
15
+ export type ITableRowPropertiesOptions = ITableRowPropertiesOptionsBase & {
16
+ readonly insertion?: IChangedAttributesProperties;
17
+ readonly deletion?: IChangedAttributesProperties;
18
+ readonly revision?: ITableRowPropertiesChangeOptions;
19
+ readonly includeIfEmpty?: boolean;
20
+ };
21
+ export type ITableRowPropertiesChangeOptions = ITableRowPropertiesOptionsBase & IChangedAttributesProperties;
22
+ export declare class TableRowProperties extends IgnoreIfEmptyXmlComponent {
23
+ constructor(options: ITableRowPropertiesOptions);
24
+ }
25
+ export declare class TableRowPropertiesChange extends XmlComponent {
26
+ constructor(options: ITableRowPropertiesChangeOptions);
27
+ }
@@ -0,0 +1,16 @@
1
+ import { XmlComponent } from '../../xml-components';
2
+ import { TableCell } from '../table-cell';
3
+ import { ITableRowPropertiesOptions } from './table-row-properties';
4
+ export type ITableRowOptions = {
5
+ readonly children: readonly TableCell[];
6
+ } & ITableRowPropertiesOptions;
7
+ export declare class TableRow extends XmlComponent {
8
+ private readonly options;
9
+ constructor(options: ITableRowOptions);
10
+ get CellCount(): number;
11
+ get cells(): readonly TableCell[];
12
+ addCellToIndex(cell: TableCell, index: number): void;
13
+ addCellToColumnIndex(cell: TableCell, columnIndex: number): void;
14
+ rootIndexToColumnIndex(rootIndex: number): number;
15
+ columnIndexToRootIndex(columnIndex: number, allowEndNewCell?: boolean): number;
16
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,13 @@
1
+ import { XmlComponent } from '../xml-components';
2
+ import { Percentage, UniversalMeasure } from '../../util/values';
3
+ export declare const WidthType: {
4
+ readonly AUTO: "auto";
5
+ readonly DXA: "dxa";
6
+ readonly NIL: "nil";
7
+ readonly PERCENTAGE: "pct";
8
+ };
9
+ export type ITableWidthProperties = {
10
+ readonly size: number | Percentage | UniversalMeasure;
11
+ readonly type?: (typeof WidthType)[keyof typeof WidthType];
12
+ };
13
+ export declare const createTableWidthElement: (name: string, { type, size }: ITableWidthProperties) => XmlComponent;
@@ -0,0 +1,30 @@
1
+ import { FileChild } from '../file-child';
2
+ import { AlignmentType } from '../paragraph';
3
+ import { ITableGridChangeOptions } from './grid';
4
+ import { ITableCellSpacingProperties } from './table-cell-spacing';
5
+ import { ITableBordersOptions, ITableFloatOptions, ITablePropertiesChangeOptions } from './table-properties';
6
+ import { ITableCellMarginOptions } from './table-properties/table-cell-margin';
7
+ import { TableLayoutType } from './table-properties/table-layout';
8
+ import { ITableLookOptions } from './table-properties/table-look';
9
+ import { TableRow } from './table-row';
10
+ import { ITableWidthProperties } from './table-width';
11
+ export type ITableOptions = {
12
+ readonly rows: readonly TableRow[];
13
+ readonly width?: ITableWidthProperties;
14
+ readonly columnWidths?: readonly number[];
15
+ readonly columnWidthsRevision?: ITableGridChangeOptions;
16
+ readonly margins?: ITableCellMarginOptions;
17
+ readonly indent?: ITableWidthProperties;
18
+ readonly float?: ITableFloatOptions;
19
+ readonly layout?: (typeof TableLayoutType)[keyof typeof TableLayoutType];
20
+ readonly style?: string;
21
+ readonly borders?: ITableBordersOptions;
22
+ readonly alignment?: (typeof AlignmentType)[keyof typeof AlignmentType];
23
+ readonly visuallyRightToLeft?: boolean;
24
+ readonly tableLook?: ITableLookOptions;
25
+ readonly cellSpacing?: ITableCellSpacingProperties;
26
+ readonly revision?: ITablePropertiesChangeOptions;
27
+ };
28
+ export declare class Table extends FileChild {
29
+ constructor({ rows, width, columnWidths, columnWidthsRevision, margins, indent, float, layout, style, borders, alignment, visuallyRightToLeft, tableLook, cellSpacing, revision, }: ITableOptions);
30
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,6 @@
1
+ import { XmlComponent } from '../xml-components';
2
+ import { ITableOfContentsOptions } from './table-of-contents-properties';
3
+ export declare class FieldInstruction extends XmlComponent {
4
+ private readonly properties;
5
+ constructor(properties?: ITableOfContentsOptions);
6
+ }
@@ -0,0 +1,2 @@
1
+ export * from './table-of-contents';
2
+ export * from './table-of-contents-properties';
@@ -0,0 +1,4 @@
1
+ import { XmlComponent } from '../xml-components';
2
+ export declare class StructuredDocumentTagContent extends XmlComponent {
3
+ constructor();
4
+ }
@@ -0,0 +1,4 @@
1
+ import { XmlComponent } from '../xml-components';
2
+ export declare class StructuredDocumentTagProperties extends XmlComponent {
3
+ constructor(alias?: string);
4
+ }
@@ -0,0 +1,23 @@
1
+ export declare class StyleLevel {
2
+ readonly styleName: string;
3
+ readonly level: number;
4
+ constructor(styleName: string, level: number);
5
+ }
6
+ export type ITableOfContentsOptions = {
7
+ readonly captionLabel?: string;
8
+ readonly entriesFromBookmark?: string;
9
+ readonly captionLabelIncludingNumbers?: string;
10
+ readonly sequenceAndPageNumbersSeparator?: string;
11
+ readonly tcFieldIdentifier?: string;
12
+ readonly hyperlink?: boolean;
13
+ readonly tcFieldLevelRange?: string;
14
+ readonly pageNumbersEntryLevelsRange?: string;
15
+ readonly headingStyleRange?: string;
16
+ readonly entryAndPageNumberSeparator?: string;
17
+ readonly seqFieldIdentifierForPrefix?: string;
18
+ readonly stylesWithLevels?: readonly StyleLevel[];
19
+ readonly useAppliedParagraphOutlineLevel?: boolean;
20
+ readonly preserveTabInEntries?: boolean;
21
+ readonly preserveNewLineInEntries?: boolean;
22
+ readonly hideTabAndPageNumbersInWebView?: boolean;
23
+ };
@@ -0,0 +1,20 @@
1
+ import { FileChild } from '../file-child';
2
+ import { XmlComponent } from '../xml-components';
3
+ import { ITableOfContentsOptions } from './table-of-contents-properties';
4
+ type ToCEntry = {
5
+ readonly title: string;
6
+ readonly level: number;
7
+ readonly page?: number;
8
+ readonly href?: string;
9
+ };
10
+ export declare class TableOfContents extends FileChild {
11
+ constructor(alias?: string, { contentChildren, cachedEntries, beginDirty, ...properties }?: ITableOfContentsOptions & {
12
+ readonly contentChildren?: readonly (XmlComponent | string)[];
13
+ readonly cachedEntries?: readonly ToCEntry[];
14
+ readonly beginDirty?: boolean;
15
+ });
16
+ private getTabStopsForLevel;
17
+ private buildCachedContentRun;
18
+ private buildCachedContentParagraphChild;
19
+ }
20
+ export {};
@@ -0,0 +1 @@
1
+ export * from './textbox';
@@ -0,0 +1,5 @@
1
+ import { XmlComponent } from '../../xml-components';
2
+ export type IPictElement = {
3
+ readonly shape: XmlComponent;
4
+ };
5
+ export declare const createPictElement: ({ shape }: IPictElement) => XmlComponent;
@@ -0,0 +1,36 @@
1
+ import { ParagraphChild } from '../../paragraph';
2
+ import { XmlComponent } from '../../xml-components';
3
+ import { LengthUnit } from '../types';
4
+ export type VmlShapeStyle = {
5
+ readonly flip?: "x" | "y" | "xy" | "yx";
6
+ readonly height?: LengthUnit;
7
+ readonly left?: LengthUnit;
8
+ readonly marginBottom?: LengthUnit;
9
+ readonly marginLeft?: LengthUnit;
10
+ readonly marginRight?: LengthUnit;
11
+ readonly marginTop?: LengthUnit;
12
+ readonly positionHorizontal?: "absolute" | "left" | "center" | "right" | "inside" | "outside";
13
+ readonly positionHorizontalRelative?: "margin" | "page" | "text" | "char";
14
+ readonly positionVertical?: "absolute" | "left" | "center" | "right" | "inside" | "outside";
15
+ readonly positionVerticalRelative?: "margin" | "page" | "text" | "char";
16
+ readonly wrapDistanceBottom?: number;
17
+ readonly wrapDistanceLeft?: number;
18
+ readonly wrapDistanceRight?: number;
19
+ readonly wrapDistanceTop?: number;
20
+ readonly wrapEdited?: boolean;
21
+ readonly wrapStyle?: "square" | "none";
22
+ readonly position?: "static" | "absolute" | "relative";
23
+ readonly rotation?: number;
24
+ readonly top?: LengthUnit;
25
+ readonly visibility?: "hidden" | "inherit";
26
+ readonly width: LengthUnit;
27
+ readonly zIndex?: "auto" | number;
28
+ };
29
+ type ShapeOptions = {
30
+ readonly id: string;
31
+ readonly children?: readonly ParagraphChild[];
32
+ readonly type?: string;
33
+ readonly style?: VmlShapeStyle;
34
+ };
35
+ export declare const createShape: ({ id, children, type, style }: ShapeOptions) => XmlComponent;
36
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,5 @@
1
+ import { ParagraphChild } from '../../paragraph';
2
+ import { XmlComponent } from '../../xml-components';
3
+ export declare const createTextboxContent: ({ children }: {
4
+ readonly children?: readonly ParagraphChild[];
5
+ }) => XmlComponent;
@@ -0,0 +1,10 @@
1
+ import { FileChild } from '../file-child';
2
+ import { IParagraphOptions } from '../paragraph';
3
+ import { VmlShapeStyle } from './shape/shape';
4
+ type ITextboxOptions = Omit<IParagraphOptions, "style"> & {
5
+ readonly style?: VmlShapeStyle;
6
+ };
7
+ export declare class Textbox extends FileChild {
8
+ constructor({ style, children, ...rest }: ITextboxOptions);
9
+ }
10
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,2 @@
1
+ import { Percentage, RelativeMeasure, UniversalMeasure } from '../../util/values';
2
+ export type LengthUnit = "auto" | number | Percentage | UniversalMeasure | RelativeMeasure;
@@ -0,0 +1,14 @@
1
+ import { ParagraphChild } from '../../paragraph';
2
+ import { XmlComponent } from '../../xml-components';
3
+ import { LengthUnit } from '../types';
4
+ export type IVTextboxOptions = {
5
+ readonly style?: string;
6
+ readonly children?: readonly ParagraphChild[];
7
+ readonly inset?: {
8
+ readonly top: LengthUnit;
9
+ readonly left: LengthUnit;
10
+ readonly bottom: LengthUnit;
11
+ readonly right: LengthUnit;
12
+ };
13
+ };
14
+ export declare const createVmlTextbox: ({ style, children, inset }: IVTextboxOptions) => XmlComponent;
@@ -0,0 +1,7 @@
1
+ export * from './track-revision-components/inserted-text-run';
2
+ export * from './track-revision-components/deleted-text-run';
3
+ export * from './track-revision-components/inserted-table-row';
4
+ export * from './track-revision-components/deleted-table-row';
5
+ export * from './track-revision-components/inserted-table-cell';
6
+ export * from './track-revision-components/deleted-table-cell';
7
+ export * from './track-revision-components/cell-merge';
@@ -0,0 +1,22 @@
1
+ import { XmlAttributeComponent, XmlComponent } from '../../xml-components';
2
+ import { IChangedAttributesProperties } from '../track-revision';
3
+ export declare const VerticalMergeRevisionType: {
4
+ readonly CONTINUE: "cont";
5
+ readonly RESTART: "rest";
6
+ };
7
+ export type ICellMergeAttributes = IChangedAttributesProperties & {
8
+ readonly verticalMerge?: (typeof VerticalMergeRevisionType)[keyof typeof VerticalMergeRevisionType];
9
+ readonly verticalMergeOriginal?: (typeof VerticalMergeRevisionType)[keyof typeof VerticalMergeRevisionType];
10
+ };
11
+ export declare class CellMergeAttributes extends XmlAttributeComponent<ICellMergeAttributes> {
12
+ protected readonly xmlKeys: {
13
+ id: string;
14
+ author: string;
15
+ date: string;
16
+ verticalMerge: string;
17
+ verticalMergeOriginal: string;
18
+ };
19
+ }
20
+ export declare class CellMerge extends XmlComponent {
21
+ constructor(options: ICellMergeAttributes);
22
+ }
@@ -0,0 +1,10 @@
1
+ import { XmlComponent } from '../../xml-components';
2
+ export declare class DeletedPage extends XmlComponent {
3
+ constructor();
4
+ }
5
+ export declare class DeletedNumberOfPages extends XmlComponent {
6
+ constructor();
7
+ }
8
+ export declare class DeletedNumberOfPagesSection extends XmlComponent {
9
+ constructor();
10
+ }
@@ -0,0 +1,5 @@
1
+ import { XmlComponent } from '../../xml-components';
2
+ import { IChangedAttributesProperties } from '../track-revision';
3
+ export declare class DeletedTableCell extends XmlComponent {
4
+ constructor(options: IChangedAttributesProperties);
5
+ }
@@ -0,0 +1,5 @@
1
+ import { XmlComponent } from '../../xml-components';
2
+ import { IChangedAttributesProperties } from '../track-revision';
3
+ export declare class DeletedTableRow extends XmlComponent {
4
+ constructor(options: IChangedAttributesProperties);
5
+ }
@@ -0,0 +1,12 @@
1
+ import { XmlComponent } from '../../xml-components';
2
+ import { IRunOptions } from '../../paragraph/run/run';
3
+ import { IChangedAttributesProperties } from '../track-revision';
4
+ type IDeletedRunOptions = IRunOptions & IChangedAttributesProperties;
5
+ export declare class DeletedTextRun extends XmlComponent {
6
+ protected readonly deletedTextRunWrapper: DeletedTextRunWrapper;
7
+ constructor(options: IDeletedRunOptions);
8
+ }
9
+ declare class DeletedTextRunWrapper extends XmlComponent {
10
+ constructor(options: IRunOptions);
11
+ }
12
+ export {};
@@ -0,0 +1,4 @@
1
+ import { XmlComponent } from '../../xml-components';
2
+ export declare class DeletedText extends XmlComponent {
3
+ constructor(text: string);
4
+ }
@@ -0,0 +1,5 @@
1
+ import { XmlComponent } from '../../xml-components';
2
+ import { IChangedAttributesProperties } from '../track-revision';
3
+ export declare class DeletionTrackChange extends XmlComponent {
4
+ constructor(options: IChangedAttributesProperties);
5
+ }
@@ -0,0 +1,5 @@
1
+ import { XmlComponent } from '../../xml-components';
2
+ import { IChangedAttributesProperties } from '../track-revision';
3
+ export declare class InsertedTableCell extends XmlComponent {
4
+ constructor(options: IChangedAttributesProperties);
5
+ }
@@ -0,0 +1,5 @@
1
+ import { XmlComponent } from '../../xml-components';
2
+ import { IChangedAttributesProperties } from '../track-revision';
3
+ export declare class InsertedTableRow extends XmlComponent {
4
+ constructor(options: IChangedAttributesProperties);
5
+ }
@@ -0,0 +1,8 @@
1
+ import { XmlComponent } from '../../xml-components';
2
+ import { IRunOptions } from '../../index';
3
+ import { IChangedAttributesProperties } from '../track-revision';
4
+ type IInsertedRunOptions = IChangedAttributesProperties & IRunOptions;
5
+ export declare class InsertedTextRun extends XmlComponent {
6
+ constructor(options: IInsertedRunOptions);
7
+ }
8
+ export {};
@@ -0,0 +1,5 @@
1
+ import { XmlComponent } from '../../xml-components';
2
+ import { IChangedAttributesProperties } from '../track-revision';
3
+ export declare class InsertionTrackChange extends XmlComponent {
4
+ constructor(options: IChangedAttributesProperties);
5
+ }
@@ -0,0 +1,13 @@
1
+ import { XmlAttributeComponent } from '../xml-components';
2
+ export type IChangedAttributesProperties = {
3
+ readonly id: number;
4
+ readonly author: string;
5
+ readonly date: string;
6
+ };
7
+ export declare class ChangeAttributes extends XmlAttributeComponent<IChangedAttributesProperties> {
8
+ protected readonly xmlKeys: {
9
+ id: string;
10
+ author: string;
11
+ date: string;
12
+ };
13
+ }
@@ -0,0 +1 @@
1
+ export * from './vertical-align';
@@ -0,0 +1,21 @@
1
+ import { XmlComponent } from '../xml-components';
2
+ export declare const VerticalAlignTable: {
3
+ readonly TOP: "top";
4
+ readonly CENTER: "center";
5
+ readonly BOTTOM: "bottom";
6
+ };
7
+ export declare const VerticalAlignSection: {
8
+ readonly BOTH: "both";
9
+ readonly TOP: "top";
10
+ readonly CENTER: "center";
11
+ readonly BOTTOM: "bottom";
12
+ };
13
+ export declare const VerticalAlign: {
14
+ readonly BOTH: "both";
15
+ readonly TOP: "top";
16
+ readonly CENTER: "center";
17
+ readonly BOTTOM: "bottom";
18
+ };
19
+ export type TableVerticalAlign = (typeof VerticalAlignTable)[keyof typeof VerticalAlignTable];
20
+ export type SectionVerticalAlign = (typeof VerticalAlignSection)[keyof typeof VerticalAlignSection];
21
+ export declare const createVerticalAlign: (value: (typeof VerticalAlign)[keyof typeof VerticalAlign]) => XmlComponent;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,46 @@
1
+ import { XmlAttributeComponent } from './default-attributes';
2
+ export declare class Attributes extends XmlAttributeComponent<{
3
+ readonly val?: string | number | boolean;
4
+ readonly color?: string;
5
+ readonly fill?: string;
6
+ readonly space?: string;
7
+ readonly sz?: string;
8
+ readonly type?: string;
9
+ readonly rsidR?: string;
10
+ readonly rsidRPr?: string;
11
+ readonly rsidSect?: string;
12
+ readonly w?: string;
13
+ readonly h?: string;
14
+ readonly top?: string;
15
+ readonly right?: string;
16
+ readonly bottom?: string;
17
+ readonly left?: string;
18
+ readonly header?: string;
19
+ readonly footer?: string;
20
+ readonly gutter?: string;
21
+ readonly linePitch?: string;
22
+ readonly pos?: string | number;
23
+ }> {
24
+ protected readonly xmlKeys: {
25
+ val: string;
26
+ color: string;
27
+ fill: string;
28
+ space: string;
29
+ sz: string;
30
+ type: string;
31
+ rsidR: string;
32
+ rsidRPr: string;
33
+ rsidSect: string;
34
+ w: string;
35
+ h: string;
36
+ top: string;
37
+ right: string;
38
+ bottom: string;
39
+ left: string;
40
+ header: string;
41
+ footer: string;
42
+ gutter: string;
43
+ linePitch: string;
44
+ pos: string;
45
+ };
46
+ }
@@ -0,0 +1,13 @@
1
+ import { IViewWrapper } from '../document-wrapper';
2
+ import { File } from '../file';
3
+ import { IXmlableObject } from './xmlable-object';
4
+ export type IContext = {
5
+ readonly file: File;
6
+ readonly viewWrapper: IViewWrapper;
7
+ readonly stack: IXmlableObject[];
8
+ };
9
+ export declare abstract class BaseXmlComponent {
10
+ protected readonly rootKey: string;
11
+ constructor(rootKey: string);
12
+ abstract prepForXml(context: IContext): IXmlableObject | undefined;
13
+ }
@@ -0,0 +1,21 @@
1
+ import { BaseXmlComponent, IContext } from './base';
2
+ import { IXmlableObject } from './xmlable-object';
3
+ export type AttributeMap<T> = Record<keyof T, string>;
4
+ export type AttributeData = Record<string, boolean | number | string>;
5
+ export type AttributePayload<T> = {
6
+ readonly [P in keyof T]: {
7
+ readonly key: string;
8
+ readonly value: T[P];
9
+ };
10
+ };
11
+ export declare abstract class XmlAttributeComponent<T extends Record<string, any>> extends BaseXmlComponent {
12
+ private readonly root;
13
+ protected readonly xmlKeys?: AttributeMap<T>;
14
+ constructor(root: T);
15
+ prepForXml(_: IContext): IXmlableObject;
16
+ }
17
+ export declare class NextAttributeComponent<T extends AttributeData> extends BaseXmlComponent {
18
+ private readonly root;
19
+ constructor(root: AttributePayload<T>);
20
+ prepForXml(_: IContext): IXmlableObject;
21
+ }
@@ -0,0 +1,14 @@
1
+ import { Element as XmlElement } from 'xml-js';
2
+ import { IXmlableObject, XmlComponent } from '.';
3
+ import { IContext } from './base';
4
+ export declare const convertToXmlComponent: (element: XmlElement) => ImportedXmlComponent | string | undefined;
5
+ export declare class ImportedXmlComponent extends XmlComponent {
6
+ static fromXmlString(importedContent: string): ImportedXmlComponent;
7
+ constructor(rootKey: string, _attr?: any);
8
+ push(xmlComponent: XmlComponent | string): void;
9
+ }
10
+ export declare class ImportedRootElementAttributes extends XmlComponent {
11
+ private readonly _attr;
12
+ constructor(_attr: any);
13
+ prepForXml(_: IContext): IXmlableObject;
14
+ }
@@ -0,0 +1,8 @@
1
+ export * from './xml-component';
2
+ export * from './attributes';
3
+ export * from './default-attributes';
4
+ export * from './imported-xml-component';
5
+ export * from './xmlable-object';
6
+ export * from './initializable-xml-component';
7
+ export * from './simple-elements';
8
+ export * from './base';
@@ -0,0 +1,4 @@
1
+ import { XmlComponent } from '.';
2
+ export declare abstract class InitializableXmlComponent extends XmlComponent {
3
+ constructor(rootKey: string, initComponent?: InitializableXmlComponent);
4
+ }