@pokash/n8n-nodes-ksef 0.2.16 → 0.2.17

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 (645) hide show
  1. package/package.json +5 -12
  2. package/node_modules/@oozcitak/dom/LICENSE +0 -21
  3. package/node_modules/@oozcitak/dom/README.md +0 -32
  4. package/node_modules/@oozcitak/dom/lib/algorithm/AbortAlgorithm.d.ts +0 -21
  5. package/node_modules/@oozcitak/dom/lib/algorithm/AbortAlgorithm.js +0 -79
  6. package/node_modules/@oozcitak/dom/lib/algorithm/AbortAlgorithm.js.map +0 -1
  7. package/node_modules/@oozcitak/dom/lib/algorithm/AttrAlgorithm.d.ts +0 -8
  8. package/node_modules/@oozcitak/dom/lib/algorithm/AttrAlgorithm.js +0 -23
  9. package/node_modules/@oozcitak/dom/lib/algorithm/AttrAlgorithm.js.map +0 -1
  10. package/node_modules/@oozcitak/dom/lib/algorithm/BoundaryPointAlgorithm.d.ts +0 -8
  11. package/node_modules/@oozcitak/dom/lib/algorithm/BoundaryPointAlgorithm.js +0 -76
  12. package/node_modules/@oozcitak/dom/lib/algorithm/BoundaryPointAlgorithm.js.map +0 -1
  13. package/node_modules/@oozcitak/dom/lib/algorithm/CharacterDataAlgorithm.d.ts +0 -19
  14. package/node_modules/@oozcitak/dom/lib/algorithm/CharacterDataAlgorithm.js +0 -140
  15. package/node_modules/@oozcitak/dom/lib/algorithm/CharacterDataAlgorithm.js.map +0 -1
  16. package/node_modules/@oozcitak/dom/lib/algorithm/CreateAlgorithm.d.ts +0 -192
  17. package/node_modules/@oozcitak/dom/lib/algorithm/CreateAlgorithm.js +0 -303
  18. package/node_modules/@oozcitak/dom/lib/algorithm/CreateAlgorithm.js.map +0 -1
  19. package/node_modules/@oozcitak/dom/lib/algorithm/CustomElementAlgorithm.d.ts +0 -61
  20. package/node_modules/@oozcitak/dom/lib/algorithm/CustomElementAlgorithm.js +0 -108
  21. package/node_modules/@oozcitak/dom/lib/algorithm/CustomElementAlgorithm.js.map +0 -1
  22. package/node_modules/@oozcitak/dom/lib/algorithm/DOMAlgorithm.d.ts +0 -72
  23. package/node_modules/@oozcitak/dom/lib/algorithm/DOMAlgorithm.js +0 -288
  24. package/node_modules/@oozcitak/dom/lib/algorithm/DOMAlgorithm.js.map +0 -1
  25. package/node_modules/@oozcitak/dom/lib/algorithm/DOMTokenListAlgorithm.d.ts +0 -21
  26. package/node_modules/@oozcitak/dom/lib/algorithm/DOMTokenListAlgorithm.js +0 -61
  27. package/node_modules/@oozcitak/dom/lib/algorithm/DOMTokenListAlgorithm.js.map +0 -1
  28. package/node_modules/@oozcitak/dom/lib/algorithm/DocumentAlgorithm.d.ts +0 -29
  29. package/node_modules/@oozcitak/dom/lib/algorithm/DocumentAlgorithm.js +0 -161
  30. package/node_modules/@oozcitak/dom/lib/algorithm/DocumentAlgorithm.js.map +0 -1
  31. package/node_modules/@oozcitak/dom/lib/algorithm/ElementAlgorithm.d.ts +0 -121
  32. package/node_modules/@oozcitak/dom/lib/algorithm/ElementAlgorithm.js +0 -608
  33. package/node_modules/@oozcitak/dom/lib/algorithm/ElementAlgorithm.js.map +0 -1
  34. package/node_modules/@oozcitak/dom/lib/algorithm/EventAlgorithm.d.ts +0 -146
  35. package/node_modules/@oozcitak/dom/lib/algorithm/EventAlgorithm.js +0 -995
  36. package/node_modules/@oozcitak/dom/lib/algorithm/EventAlgorithm.js.map +0 -1
  37. package/node_modules/@oozcitak/dom/lib/algorithm/EventTargetAlgorithm.d.ts +0 -33
  38. package/node_modules/@oozcitak/dom/lib/algorithm/EventTargetAlgorithm.js +0 -142
  39. package/node_modules/@oozcitak/dom/lib/algorithm/EventTargetAlgorithm.js.map +0 -1
  40. package/node_modules/@oozcitak/dom/lib/algorithm/MutationAlgorithm.d.ts +0 -66
  41. package/node_modules/@oozcitak/dom/lib/algorithm/MutationAlgorithm.js +0 -1173
  42. package/node_modules/@oozcitak/dom/lib/algorithm/MutationAlgorithm.js.map +0 -1
  43. package/node_modules/@oozcitak/dom/lib/algorithm/MutationObserverAlgorithm.d.ts +0 -43
  44. package/node_modules/@oozcitak/dom/lib/algorithm/MutationObserverAlgorithm.js +0 -276
  45. package/node_modules/@oozcitak/dom/lib/algorithm/MutationObserverAlgorithm.js.map +0 -1
  46. package/node_modules/@oozcitak/dom/lib/algorithm/NamespaceAlgorithm.d.ts +0 -25
  47. package/node_modules/@oozcitak/dom/lib/algorithm/NamespaceAlgorithm.js +0 -85
  48. package/node_modules/@oozcitak/dom/lib/algorithm/NamespaceAlgorithm.js.map +0 -1
  49. package/node_modules/@oozcitak/dom/lib/algorithm/NodeAlgorithm.d.ts +0 -68
  50. package/node_modules/@oozcitak/dom/lib/algorithm/NodeAlgorithm.js +0 -543
  51. package/node_modules/@oozcitak/dom/lib/algorithm/NodeAlgorithm.js.map +0 -1
  52. package/node_modules/@oozcitak/dom/lib/algorithm/NodeIteratorAlgorithm.d.ts +0 -15
  53. package/node_modules/@oozcitak/dom/lib/algorithm/NodeIteratorAlgorithm.js +0 -105
  54. package/node_modules/@oozcitak/dom/lib/algorithm/NodeIteratorAlgorithm.js.map +0 -1
  55. package/node_modules/@oozcitak/dom/lib/algorithm/OrderedSetAlgorithm.d.ts +0 -27
  56. package/node_modules/@oozcitak/dom/lib/algorithm/OrderedSetAlgorithm.js +0 -125
  57. package/node_modules/@oozcitak/dom/lib/algorithm/OrderedSetAlgorithm.js.map +0 -1
  58. package/node_modules/@oozcitak/dom/lib/algorithm/ParentNodeAlgorithm.d.ts +0 -9
  59. package/node_modules/@oozcitak/dom/lib/algorithm/ParentNodeAlgorithm.js +0 -69
  60. package/node_modules/@oozcitak/dom/lib/algorithm/ParentNodeAlgorithm.js.map +0 -1
  61. package/node_modules/@oozcitak/dom/lib/algorithm/RangeAlgorithm.d.ts +0 -82
  62. package/node_modules/@oozcitak/dom/lib/algorithm/RangeAlgorithm.js +0 -829
  63. package/node_modules/@oozcitak/dom/lib/algorithm/RangeAlgorithm.js.map +0 -1
  64. package/node_modules/@oozcitak/dom/lib/algorithm/SelectorsAlgorithm.d.ts +0 -8
  65. package/node_modules/@oozcitak/dom/lib/algorithm/SelectorsAlgorithm.js +0 -21
  66. package/node_modules/@oozcitak/dom/lib/algorithm/SelectorsAlgorithm.js.map +0 -1
  67. package/node_modules/@oozcitak/dom/lib/algorithm/ShadowTreeAlgorithm.d.ts +0 -57
  68. package/node_modules/@oozcitak/dom/lib/algorithm/ShadowTreeAlgorithm.js +0 -316
  69. package/node_modules/@oozcitak/dom/lib/algorithm/ShadowTreeAlgorithm.js.map +0 -1
  70. package/node_modules/@oozcitak/dom/lib/algorithm/TextAlgorithm.d.ts +0 -30
  71. package/node_modules/@oozcitak/dom/lib/algorithm/TextAlgorithm.js +0 -226
  72. package/node_modules/@oozcitak/dom/lib/algorithm/TextAlgorithm.js.map +0 -1
  73. package/node_modules/@oozcitak/dom/lib/algorithm/TraversalAlgorithm.d.ts +0 -8
  74. package/node_modules/@oozcitak/dom/lib/algorithm/TraversalAlgorithm.js +0 -62
  75. package/node_modules/@oozcitak/dom/lib/algorithm/TraversalAlgorithm.js.map +0 -1
  76. package/node_modules/@oozcitak/dom/lib/algorithm/TreeAlgorithm.d.ts +0 -268
  77. package/node_modules/@oozcitak/dom/lib/algorithm/TreeAlgorithm.js +0 -853
  78. package/node_modules/@oozcitak/dom/lib/algorithm/TreeAlgorithm.js.map +0 -1
  79. package/node_modules/@oozcitak/dom/lib/algorithm/TreeWalkerAlgorithm.d.ts +0 -17
  80. package/node_modules/@oozcitak/dom/lib/algorithm/TreeWalkerAlgorithm.js +0 -147
  81. package/node_modules/@oozcitak/dom/lib/algorithm/TreeWalkerAlgorithm.js.map +0 -1
  82. package/node_modules/@oozcitak/dom/lib/algorithm/WebIDLAlgorithm.d.ts +0 -8
  83. package/node_modules/@oozcitak/dom/lib/algorithm/WebIDLAlgorithm.js +0 -14
  84. package/node_modules/@oozcitak/dom/lib/algorithm/WebIDLAlgorithm.js.map +0 -1
  85. package/node_modules/@oozcitak/dom/lib/algorithm/XMLAlgorithm.d.ts +0 -25
  86. package/node_modules/@oozcitak/dom/lib/algorithm/XMLAlgorithm.js +0 -164
  87. package/node_modules/@oozcitak/dom/lib/algorithm/XMLAlgorithm.js.map +0 -1
  88. package/node_modules/@oozcitak/dom/lib/algorithm/index.d.ts +0 -28
  89. package/node_modules/@oozcitak/dom/lib/algorithm/index.js +0 -34
  90. package/node_modules/@oozcitak/dom/lib/algorithm/index.js.map +0 -1
  91. package/node_modules/@oozcitak/dom/lib/dom/AbortControllerImpl.d.ts +0 -15
  92. package/node_modules/@oozcitak/dom/lib/dom/AbortControllerImpl.js +0 -32
  93. package/node_modules/@oozcitak/dom/lib/dom/AbortControllerImpl.js.map +0 -1
  94. package/node_modules/@oozcitak/dom/lib/dom/AbortSignalImpl.d.ts +0 -23
  95. package/node_modules/@oozcitak/dom/lib/dom/AbortSignalImpl.js +0 -59
  96. package/node_modules/@oozcitak/dom/lib/dom/AbortSignalImpl.js.map +0 -1
  97. package/node_modules/@oozcitak/dom/lib/dom/AbstractRangeImpl.d.ts +0 -23
  98. package/node_modules/@oozcitak/dom/lib/dom/AbstractRangeImpl.js +0 -70
  99. package/node_modules/@oozcitak/dom/lib/dom/AbstractRangeImpl.js.map +0 -1
  100. package/node_modules/@oozcitak/dom/lib/dom/AttrImpl.d.ts +0 -45
  101. package/node_modules/@oozcitak/dom/lib/dom/AttrImpl.js +0 -118
  102. package/node_modules/@oozcitak/dom/lib/dom/AttrImpl.js.map +0 -1
  103. package/node_modules/@oozcitak/dom/lib/dom/CDATASectionImpl.d.ts +0 -21
  104. package/node_modules/@oozcitak/dom/lib/dom/CDATASectionImpl.js +0 -51
  105. package/node_modules/@oozcitak/dom/lib/dom/CDATASectionImpl.js.map +0 -1
  106. package/node_modules/@oozcitak/dom/lib/dom/CharacterDataImpl.d.ts +0 -35
  107. package/node_modules/@oozcitak/dom/lib/dom/CharacterDataImpl.js +0 -132
  108. package/node_modules/@oozcitak/dom/lib/dom/CharacterDataImpl.js.map +0 -1
  109. package/node_modules/@oozcitak/dom/lib/dom/ChildNodeImpl.d.ts +0 -16
  110. package/node_modules/@oozcitak/dom/lib/dom/ChildNodeImpl.js +0 -165
  111. package/node_modules/@oozcitak/dom/lib/dom/ChildNodeImpl.js.map +0 -1
  112. package/node_modules/@oozcitak/dom/lib/dom/CommentImpl.d.ts +0 -21
  113. package/node_modules/@oozcitak/dom/lib/dom/CommentImpl.js +0 -52
  114. package/node_modules/@oozcitak/dom/lib/dom/CommentImpl.js.map +0 -1
  115. package/node_modules/@oozcitak/dom/lib/dom/CustomEventImpl.d.ts +0 -16
  116. package/node_modules/@oozcitak/dom/lib/dom/CustomEventImpl.js +0 -60
  117. package/node_modules/@oozcitak/dom/lib/dom/CustomEventImpl.js.map +0 -1
  118. package/node_modules/@oozcitak/dom/lib/dom/DOMException.d.ts +0 -171
  119. package/node_modules/@oozcitak/dom/lib/dom/DOMException.js +0 -347
  120. package/node_modules/@oozcitak/dom/lib/dom/DOMException.js.map +0 -1
  121. package/node_modules/@oozcitak/dom/lib/dom/DOMImpl.d.ts +0 -48
  122. package/node_modules/@oozcitak/dom/lib/dom/DOMImpl.js +0 -100
  123. package/node_modules/@oozcitak/dom/lib/dom/DOMImpl.js.map +0 -1
  124. package/node_modules/@oozcitak/dom/lib/dom/DOMImplementationImpl.d.ts +0 -29
  125. package/node_modules/@oozcitak/dom/lib/dom/DOMImplementationImpl.js +0 -149
  126. package/node_modules/@oozcitak/dom/lib/dom/DOMImplementationImpl.js.map +0 -1
  127. package/node_modules/@oozcitak/dom/lib/dom/DOMTokenListImpl.d.ts +0 -46
  128. package/node_modules/@oozcitak/dom/lib/dom/DOMTokenListImpl.js +0 -312
  129. package/node_modules/@oozcitak/dom/lib/dom/DOMTokenListImpl.js.map +0 -1
  130. package/node_modules/@oozcitak/dom/lib/dom/DocumentFragmentImpl.d.ts +0 -32
  131. package/node_modules/@oozcitak/dom/lib/dom/DocumentFragmentImpl.js +0 -103
  132. package/node_modules/@oozcitak/dom/lib/dom/DocumentFragmentImpl.js.map +0 -1
  133. package/node_modules/@oozcitak/dom/lib/dom/DocumentImpl.d.ts +0 -116
  134. package/node_modules/@oozcitak/dom/lib/dom/DocumentImpl.js +0 -545
  135. package/node_modules/@oozcitak/dom/lib/dom/DocumentImpl.js.map +0 -1
  136. package/node_modules/@oozcitak/dom/lib/dom/DocumentOrShadowRootImpl.d.ts +0 -11
  137. package/node_modules/@oozcitak/dom/lib/dom/DocumentOrShadowRootImpl.js +0 -17
  138. package/node_modules/@oozcitak/dom/lib/dom/DocumentOrShadowRootImpl.js.map +0 -1
  139. package/node_modules/@oozcitak/dom/lib/dom/DocumentTypeImpl.d.ts +0 -39
  140. package/node_modules/@oozcitak/dom/lib/dom/DocumentTypeImpl.js +0 -109
  141. package/node_modules/@oozcitak/dom/lib/dom/DocumentTypeImpl.js.map +0 -1
  142. package/node_modules/@oozcitak/dom/lib/dom/ElementImpl.d.ts +0 -132
  143. package/node_modules/@oozcitak/dom/lib/dom/ElementImpl.js +0 -714
  144. package/node_modules/@oozcitak/dom/lib/dom/ElementImpl.js.map +0 -1
  145. package/node_modules/@oozcitak/dom/lib/dom/EventImpl.d.ts +0 -74
  146. package/node_modules/@oozcitak/dom/lib/dom/EventImpl.js +0 -313
  147. package/node_modules/@oozcitak/dom/lib/dom/EventImpl.js.map +0 -1
  148. package/node_modules/@oozcitak/dom/lib/dom/EventTargetImpl.d.ts +0 -30
  149. package/node_modules/@oozcitak/dom/lib/dom/EventTargetImpl.js +0 -133
  150. package/node_modules/@oozcitak/dom/lib/dom/EventTargetImpl.js.map +0 -1
  151. package/node_modules/@oozcitak/dom/lib/dom/HTMLCollectionImpl.d.ts +0 -44
  152. package/node_modules/@oozcitak/dom/lib/dom/HTMLCollectionImpl.js +0 -157
  153. package/node_modules/@oozcitak/dom/lib/dom/HTMLCollectionImpl.js.map +0 -1
  154. package/node_modules/@oozcitak/dom/lib/dom/MutationObserverImpl.d.ts +0 -22
  155. package/node_modules/@oozcitak/dom/lib/dom/MutationObserverImpl.js +0 -184
  156. package/node_modules/@oozcitak/dom/lib/dom/MutationObserverImpl.js.map +0 -1
  157. package/node_modules/@oozcitak/dom/lib/dom/MutationRecordImpl.d.ts +0 -73
  158. package/node_modules/@oozcitak/dom/lib/dom/MutationRecordImpl.js +0 -116
  159. package/node_modules/@oozcitak/dom/lib/dom/MutationRecordImpl.js.map +0 -1
  160. package/node_modules/@oozcitak/dom/lib/dom/NamedNodeMapImpl.d.ts +0 -34
  161. package/node_modules/@oozcitak/dom/lib/dom/NamedNodeMapImpl.js +0 -112
  162. package/node_modules/@oozcitak/dom/lib/dom/NamedNodeMapImpl.js.map +0 -1
  163. package/node_modules/@oozcitak/dom/lib/dom/NodeFilterImpl.d.ts +0 -50
  164. package/node_modules/@oozcitak/dom/lib/dom/NodeFilterImpl.js +0 -64
  165. package/node_modules/@oozcitak/dom/lib/dom/NodeFilterImpl.js.map +0 -1
  166. package/node_modules/@oozcitak/dom/lib/dom/NodeImpl.d.ts +0 -252
  167. package/node_modules/@oozcitak/dom/lib/dom/NodeImpl.js +0 -891
  168. package/node_modules/@oozcitak/dom/lib/dom/NodeImpl.js.map +0 -1
  169. package/node_modules/@oozcitak/dom/lib/dom/NodeIteratorImpl.d.ts +0 -34
  170. package/node_modules/@oozcitak/dom/lib/dom/NodeIteratorImpl.js +0 -86
  171. package/node_modules/@oozcitak/dom/lib/dom/NodeIteratorImpl.js.map +0 -1
  172. package/node_modules/@oozcitak/dom/lib/dom/NodeListImpl.d.ts +0 -46
  173. package/node_modules/@oozcitak/dom/lib/dom/NodeListImpl.js +0 -198
  174. package/node_modules/@oozcitak/dom/lib/dom/NodeListImpl.js.map +0 -1
  175. package/node_modules/@oozcitak/dom/lib/dom/NodeListStaticImpl.d.ts +0 -49
  176. package/node_modules/@oozcitak/dom/lib/dom/NodeListStaticImpl.js +0 -188
  177. package/node_modules/@oozcitak/dom/lib/dom/NodeListStaticImpl.js.map +0 -1
  178. package/node_modules/@oozcitak/dom/lib/dom/NonDocumentTypeChildNodeImpl.d.ts +0 -12
  179. package/node_modules/@oozcitak/dom/lib/dom/NonDocumentTypeChildNodeImpl.js +0 -53
  180. package/node_modules/@oozcitak/dom/lib/dom/NonDocumentTypeChildNodeImpl.js.map +0 -1
  181. package/node_modules/@oozcitak/dom/lib/dom/NonElementParentNodeImpl.d.ts +0 -9
  182. package/node_modules/@oozcitak/dom/lib/dom/NonElementParentNodeImpl.js +0 -31
  183. package/node_modules/@oozcitak/dom/lib/dom/NonElementParentNodeImpl.js.map +0 -1
  184. package/node_modules/@oozcitak/dom/lib/dom/ParentNodeImpl.d.ts +0 -24
  185. package/node_modules/@oozcitak/dom/lib/dom/ParentNodeImpl.js +0 -158
  186. package/node_modules/@oozcitak/dom/lib/dom/ParentNodeImpl.js.map +0 -1
  187. package/node_modules/@oozcitak/dom/lib/dom/ProcessingInstructionImpl.d.ts +0 -25
  188. package/node_modules/@oozcitak/dom/lib/dom/ProcessingInstructionImpl.js +0 -59
  189. package/node_modules/@oozcitak/dom/lib/dom/ProcessingInstructionImpl.js.map +0 -1
  190. package/node_modules/@oozcitak/dom/lib/dom/RangeImpl.d.ts +0 -71
  191. package/node_modules/@oozcitak/dom/lib/dom/RangeImpl.js +0 -649
  192. package/node_modules/@oozcitak/dom/lib/dom/RangeImpl.js.map +0 -1
  193. package/node_modules/@oozcitak/dom/lib/dom/ShadowRootImpl.d.ts +0 -33
  194. package/node_modules/@oozcitak/dom/lib/dom/ShadowRootImpl.js +0 -82
  195. package/node_modules/@oozcitak/dom/lib/dom/ShadowRootImpl.js.map +0 -1
  196. package/node_modules/@oozcitak/dom/lib/dom/SlotableImpl.d.ts +0 -16
  197. package/node_modules/@oozcitak/dom/lib/dom/SlotableImpl.js +0 -35
  198. package/node_modules/@oozcitak/dom/lib/dom/SlotableImpl.js.map +0 -1
  199. package/node_modules/@oozcitak/dom/lib/dom/StaticRangeImpl.d.ts +0 -13
  200. package/node_modules/@oozcitak/dom/lib/dom/StaticRangeImpl.js +0 -48
  201. package/node_modules/@oozcitak/dom/lib/dom/StaticRangeImpl.js.map +0 -1
  202. package/node_modules/@oozcitak/dom/lib/dom/TextImpl.d.ts +0 -28
  203. package/node_modules/@oozcitak/dom/lib/dom/TextImpl.js +0 -109
  204. package/node_modules/@oozcitak/dom/lib/dom/TextImpl.js.map +0 -1
  205. package/node_modules/@oozcitak/dom/lib/dom/TraverserImpl.d.ts +0 -23
  206. package/node_modules/@oozcitak/dom/lib/dom/TraverserImpl.js +0 -41
  207. package/node_modules/@oozcitak/dom/lib/dom/TraverserImpl.js.map +0 -1
  208. package/node_modules/@oozcitak/dom/lib/dom/TreeWalkerImpl.d.ts +0 -36
  209. package/node_modules/@oozcitak/dom/lib/dom/TreeWalkerImpl.js +0 -249
  210. package/node_modules/@oozcitak/dom/lib/dom/TreeWalkerImpl.js.map +0 -1
  211. package/node_modules/@oozcitak/dom/lib/dom/WindowImpl.d.ts +0 -26
  212. package/node_modules/@oozcitak/dom/lib/dom/WindowImpl.js +0 -57
  213. package/node_modules/@oozcitak/dom/lib/dom/WindowImpl.js.map +0 -1
  214. package/node_modules/@oozcitak/dom/lib/dom/XMLDocumentImpl.d.ts +0 -11
  215. package/node_modules/@oozcitak/dom/lib/dom/XMLDocumentImpl.js +0 -31
  216. package/node_modules/@oozcitak/dom/lib/dom/XMLDocumentImpl.js.map +0 -1
  217. package/node_modules/@oozcitak/dom/lib/dom/index.d.ts +0 -36
  218. package/node_modules/@oozcitak/dom/lib/dom/index.js +0 -102
  219. package/node_modules/@oozcitak/dom/lib/dom/index.js.map +0 -1
  220. package/node_modules/@oozcitak/dom/lib/dom/interfaces.d.ts +0 -2218
  221. package/node_modules/@oozcitak/dom/lib/dom/interfaces.js +0 -91
  222. package/node_modules/@oozcitak/dom/lib/dom/interfaces.js.map +0 -1
  223. package/node_modules/@oozcitak/dom/lib/index.d.ts +0 -3
  224. package/node_modules/@oozcitak/dom/lib/index.js +0 -11
  225. package/node_modules/@oozcitak/dom/lib/index.js.map +0 -1
  226. package/node_modules/@oozcitak/dom/lib/parser/DOMParserImpl.d.ts +0 -11
  227. package/node_modules/@oozcitak/dom/lib/parser/DOMParserImpl.js +0 -37
  228. package/node_modules/@oozcitak/dom/lib/parser/DOMParserImpl.js.map +0 -1
  229. package/node_modules/@oozcitak/dom/lib/parser/XMLParserImpl.d.ts +0 -26
  230. package/node_modules/@oozcitak/dom/lib/parser/XMLParserImpl.js +0 -240
  231. package/node_modules/@oozcitak/dom/lib/parser/XMLParserImpl.js.map +0 -1
  232. package/node_modules/@oozcitak/dom/lib/parser/XMLStringLexer.d.ts +0 -159
  233. package/node_modules/@oozcitak/dom/lib/parser/XMLStringLexer.js +0 -512
  234. package/node_modules/@oozcitak/dom/lib/parser/XMLStringLexer.js.map +0 -1
  235. package/node_modules/@oozcitak/dom/lib/parser/index.d.ts +0 -1
  236. package/node_modules/@oozcitak/dom/lib/parser/index.js +0 -6
  237. package/node_modules/@oozcitak/dom/lib/parser/index.js.map +0 -1
  238. package/node_modules/@oozcitak/dom/lib/parser/interfaces.d.ts +0 -131
  239. package/node_modules/@oozcitak/dom/lib/parser/interfaces.js +0 -18
  240. package/node_modules/@oozcitak/dom/lib/parser/interfaces.js.map +0 -1
  241. package/node_modules/@oozcitak/dom/lib/serializer/LocalNameSet.d.ts +0 -27
  242. package/node_modules/@oozcitak/dom/lib/serializer/LocalNameSet.js +0 -56
  243. package/node_modules/@oozcitak/dom/lib/serializer/LocalNameSet.js.map +0 -1
  244. package/node_modules/@oozcitak/dom/lib/serializer/NamespacePrefixMap.d.ts +0 -52
  245. package/node_modules/@oozcitak/dom/lib/serializer/NamespacePrefixMap.js +0 -151
  246. package/node_modules/@oozcitak/dom/lib/serializer/NamespacePrefixMap.js.map +0 -1
  247. package/node_modules/@oozcitak/dom/lib/serializer/XMLSerializerImpl.d.ts +0 -166
  248. package/node_modules/@oozcitak/dom/lib/serializer/XMLSerializerImpl.js +0 -1479
  249. package/node_modules/@oozcitak/dom/lib/serializer/XMLSerializerImpl.js.map +0 -1
  250. package/node_modules/@oozcitak/dom/lib/serializer/index.d.ts +0 -1
  251. package/node_modules/@oozcitak/dom/lib/serializer/index.js +0 -6
  252. package/node_modules/@oozcitak/dom/lib/serializer/index.js.map +0 -1
  253. package/node_modules/@oozcitak/dom/lib/serializer/interfaces.d.ts +0 -15
  254. package/node_modules/@oozcitak/dom/lib/serializer/interfaces.js +0 -3
  255. package/node_modules/@oozcitak/dom/lib/serializer/interfaces.js.map +0 -1
  256. package/node_modules/@oozcitak/dom/lib/util/Cast.d.ts +0 -12
  257. package/node_modules/@oozcitak/dom/lib/util/Cast.js +0 -26
  258. package/node_modules/@oozcitak/dom/lib/util/Cast.js.map +0 -1
  259. package/node_modules/@oozcitak/dom/lib/util/EmptySet.d.ts +0 -13
  260. package/node_modules/@oozcitak/dom/lib/util/EmptySet.js +0 -61
  261. package/node_modules/@oozcitak/dom/lib/util/EmptySet.js.map +0 -1
  262. package/node_modules/@oozcitak/dom/lib/util/Guard.d.ts +0 -135
  263. package/node_modules/@oozcitak/dom/lib/util/Guard.js +0 -192
  264. package/node_modules/@oozcitak/dom/lib/util/Guard.js.map +0 -1
  265. package/node_modules/@oozcitak/dom/lib/util/index.d.ts +0 -3
  266. package/node_modules/@oozcitak/dom/lib/util/index.js +0 -9
  267. package/node_modules/@oozcitak/dom/lib/util/index.js.map +0 -1
  268. package/node_modules/@oozcitak/dom/package.json +0 -72
  269. package/node_modules/@oozcitak/infra/LICENSE +0 -21
  270. package/node_modules/@oozcitak/infra/README.md +0 -13
  271. package/node_modules/@oozcitak/infra/lib/Base64.d.ts +0 -12
  272. package/node_modules/@oozcitak/infra/lib/Base64.js +0 -82
  273. package/node_modules/@oozcitak/infra/lib/Base64.js.map +0 -1
  274. package/node_modules/@oozcitak/infra/lib/Byte.d.ts +0 -6
  275. package/node_modules/@oozcitak/infra/lib/Byte.js +0 -15
  276. package/node_modules/@oozcitak/infra/lib/Byte.js.map +0 -1
  277. package/node_modules/@oozcitak/infra/lib/ByteSequence.d.ts +0 -45
  278. package/node_modules/@oozcitak/infra/lib/ByteSequence.js +0 -171
  279. package/node_modules/@oozcitak/infra/lib/ByteSequence.js.map +0 -1
  280. package/node_modules/@oozcitak/infra/lib/CodePoints.d.ts +0 -82
  281. package/node_modules/@oozcitak/infra/lib/CodePoints.js +0 -85
  282. package/node_modules/@oozcitak/infra/lib/CodePoints.js.map +0 -1
  283. package/node_modules/@oozcitak/infra/lib/JSON.d.ts +0 -24
  284. package/node_modules/@oozcitak/infra/lib/JSON.js +0 -123
  285. package/node_modules/@oozcitak/infra/lib/JSON.js.map +0 -1
  286. package/node_modules/@oozcitak/infra/lib/List.d.ts +0 -101
  287. package/node_modules/@oozcitak/infra/lib/List.js +0 -325
  288. package/node_modules/@oozcitak/infra/lib/List.js.map +0 -1
  289. package/node_modules/@oozcitak/infra/lib/Map.d.ts +0 -87
  290. package/node_modules/@oozcitak/infra/lib/Map.js +0 -308
  291. package/node_modules/@oozcitak/infra/lib/Map.js.map +0 -1
  292. package/node_modules/@oozcitak/infra/lib/Namespace.d.ts +0 -6
  293. package/node_modules/@oozcitak/infra/lib/Namespace.js +0 -9
  294. package/node_modules/@oozcitak/infra/lib/Namespace.js.map +0 -1
  295. package/node_modules/@oozcitak/infra/lib/Queue.d.ts +0 -13
  296. package/node_modules/@oozcitak/infra/lib/Queue.js +0 -22
  297. package/node_modules/@oozcitak/infra/lib/Queue.js.map +0 -1
  298. package/node_modules/@oozcitak/infra/lib/Set.d.ts +0 -136
  299. package/node_modules/@oozcitak/infra/lib/Set.js +0 -467
  300. package/node_modules/@oozcitak/infra/lib/Set.js.map +0 -1
  301. package/node_modules/@oozcitak/infra/lib/Stack.d.ts +0 -13
  302. package/node_modules/@oozcitak/infra/lib/Stack.js +0 -22
  303. package/node_modules/@oozcitak/infra/lib/Stack.js.map +0 -1
  304. package/node_modules/@oozcitak/infra/lib/String.d.ts +0 -129
  305. package/node_modules/@oozcitak/infra/lib/String.js +0 -472
  306. package/node_modules/@oozcitak/infra/lib/String.js.map +0 -1
  307. package/node_modules/@oozcitak/infra/lib/index.d.ts +0 -13
  308. package/node_modules/@oozcitak/infra/lib/index.js +0 -34
  309. package/node_modules/@oozcitak/infra/lib/index.js.map +0 -1
  310. package/node_modules/@oozcitak/infra/package.json +0 -54
  311. package/node_modules/@oozcitak/url/LICENSE +0 -21
  312. package/node_modules/@oozcitak/url/README.md +0 -27
  313. package/node_modules/@oozcitak/url/lib/URLAlgorithm.d.ts +0 -267
  314. package/node_modules/@oozcitak/url/lib/URLAlgorithm.js +0 -2758
  315. package/node_modules/@oozcitak/url/lib/URLAlgorithm.js.map +0 -1
  316. package/node_modules/@oozcitak/url/lib/URLImpl.d.ts +0 -53
  317. package/node_modules/@oozcitak/url/lib/URLImpl.js +0 -377
  318. package/node_modules/@oozcitak/url/lib/URLImpl.js.map +0 -1
  319. package/node_modules/@oozcitak/url/lib/URLSearchParamsImpl.d.ts +0 -38
  320. package/node_modules/@oozcitak/url/lib/URLSearchParamsImpl.js +0 -303
  321. package/node_modules/@oozcitak/url/lib/URLSearchParamsImpl.js.map +0 -1
  322. package/node_modules/@oozcitak/url/lib/index.d.ts +0 -2
  323. package/node_modules/@oozcitak/url/lib/index.js +0 -7
  324. package/node_modules/@oozcitak/url/lib/index.js.map +0 -1
  325. package/node_modules/@oozcitak/url/lib/interfaces.d.ts +0 -195
  326. package/node_modules/@oozcitak/url/lib/interfaces.js +0 -31
  327. package/node_modules/@oozcitak/url/lib/interfaces.js.map +0 -1
  328. package/node_modules/@oozcitak/url/package.json +0 -55
  329. package/node_modules/@oozcitak/util/LICENSE +0 -21
  330. package/node_modules/@oozcitak/util/README.md +0 -10
  331. package/node_modules/@oozcitak/util/lib/CompareCache.d.ts +0 -32
  332. package/node_modules/@oozcitak/util/lib/CompareCache.js +0 -59
  333. package/node_modules/@oozcitak/util/lib/CompareCache.js.map +0 -1
  334. package/node_modules/@oozcitak/util/lib/FixedSizeSet.d.ts +0 -64
  335. package/node_modules/@oozcitak/util/lib/FixedSizeSet.js +0 -174
  336. package/node_modules/@oozcitak/util/lib/FixedSizeSet.js.map +0 -1
  337. package/node_modules/@oozcitak/util/lib/Lazy.d.ts +0 -18
  338. package/node_modules/@oozcitak/util/lib/Lazy.js +0 -34
  339. package/node_modules/@oozcitak/util/lib/Lazy.js.map +0 -1
  340. package/node_modules/@oozcitak/util/lib/ObjectCache.d.ts +0 -71
  341. package/node_modules/@oozcitak/util/lib/ObjectCache.js +0 -181
  342. package/node_modules/@oozcitak/util/lib/ObjectCache.js.map +0 -1
  343. package/node_modules/@oozcitak/util/lib/StringWalker.d.ts +0 -49
  344. package/node_modules/@oozcitak/util/lib/StringWalker.js +0 -105
  345. package/node_modules/@oozcitak/util/lib/StringWalker.js.map +0 -1
  346. package/node_modules/@oozcitak/util/lib/index.d.ts +0 -178
  347. package/node_modules/@oozcitak/util/lib/index.js +0 -439
  348. package/node_modules/@oozcitak/util/lib/index.js.map +0 -1
  349. package/node_modules/@oozcitak/util/package.json +0 -50
  350. package/node_modules/@xmldom/is-dom-node/LICENSE.md +0 -21
  351. package/node_modules/@xmldom/is-dom-node/README.md +0 -91
  352. package/node_modules/@xmldom/is-dom-node/dist/index.d.ts +0 -33
  353. package/node_modules/@xmldom/is-dom-node/dist/index.js +0 -91
  354. package/node_modules/@xmldom/is-dom-node/dist/index.js.map +0 -1
  355. package/node_modules/@xmldom/is-dom-node/package.json +0 -69
  356. package/node_modules/@xmldom/xmldom/CHANGELOG.md +0 -468
  357. package/node_modules/@xmldom/xmldom/LICENSE +0 -8
  358. package/node_modules/@xmldom/xmldom/SECURITY.md +0 -50
  359. package/node_modules/@xmldom/xmldom/index.d.ts +0 -43
  360. package/node_modules/@xmldom/xmldom/lib/.eslintrc.yml +0 -2
  361. package/node_modules/@xmldom/xmldom/lib/conventions.js +0 -203
  362. package/node_modules/@xmldom/xmldom/lib/dom-parser.js +0 -322
  363. package/node_modules/@xmldom/xmldom/lib/dom.js +0 -1879
  364. package/node_modules/@xmldom/xmldom/lib/entities.js +0 -2166
  365. package/node_modules/@xmldom/xmldom/lib/index.js +0 -4
  366. package/node_modules/@xmldom/xmldom/lib/sax.js +0 -662
  367. package/node_modules/@xmldom/xmldom/package.json +0 -71
  368. package/node_modules/@xmldom/xmldom/readme.md +0 -356
  369. package/node_modules/esprima/ChangeLog +0 -235
  370. package/node_modules/esprima/LICENSE.BSD +0 -21
  371. package/node_modules/esprima/README.md +0 -46
  372. package/node_modules/esprima/bin/esparse.js +0 -139
  373. package/node_modules/esprima/bin/esvalidate.js +0 -236
  374. package/node_modules/esprima/dist/esprima.js +0 -6709
  375. package/node_modules/esprima/package.json +0 -112
  376. package/node_modules/node-forge/LICENSE +0 -331
  377. package/node_modules/node-forge/README.md +0 -2071
  378. package/node_modules/node-forge/dist/forge.all.min.js +0 -2
  379. package/node_modules/node-forge/dist/forge.all.min.js.map +0 -1
  380. package/node_modules/node-forge/dist/forge.min.js +0 -2
  381. package/node_modules/node-forge/dist/forge.min.js.map +0 -1
  382. package/node_modules/node-forge/dist/prime.worker.min.js +0 -2
  383. package/node_modules/node-forge/dist/prime.worker.min.js.map +0 -1
  384. package/node_modules/node-forge/flash/swf/SocketPool.swf +0 -0
  385. package/node_modules/node-forge/lib/aes.js +0 -1091
  386. package/node_modules/node-forge/lib/aesCipherSuites.js +0 -282
  387. package/node_modules/node-forge/lib/asn1-validator.js +0 -91
  388. package/node_modules/node-forge/lib/asn1.js +0 -1503
  389. package/node_modules/node-forge/lib/baseN.js +0 -186
  390. package/node_modules/node-forge/lib/cipher.js +0 -230
  391. package/node_modules/node-forge/lib/cipherModes.js +0 -999
  392. package/node_modules/node-forge/lib/des.js +0 -496
  393. package/node_modules/node-forge/lib/ed25519.js +0 -1072
  394. package/node_modules/node-forge/lib/forge.js +0 -13
  395. package/node_modules/node-forge/lib/form.js +0 -149
  396. package/node_modules/node-forge/lib/hmac.js +0 -146
  397. package/node_modules/node-forge/lib/http.js +0 -1346
  398. package/node_modules/node-forge/lib/index.all.js +0 -16
  399. package/node_modules/node-forge/lib/index.js +0 -33
  400. package/node_modules/node-forge/lib/jsbn.js +0 -1264
  401. package/node_modules/node-forge/lib/kem.js +0 -168
  402. package/node_modules/node-forge/lib/log.js +0 -319
  403. package/node_modules/node-forge/lib/md.all.js +0 -13
  404. package/node_modules/node-forge/lib/md.js +0 -11
  405. package/node_modules/node-forge/lib/md5.js +0 -289
  406. package/node_modules/node-forge/lib/mgf.js +0 -12
  407. package/node_modules/node-forge/lib/mgf1.js +0 -57
  408. package/node_modules/node-forge/lib/oids.js +0 -179
  409. package/node_modules/node-forge/lib/pbe.js +0 -1023
  410. package/node_modules/node-forge/lib/pbkdf2.js +0 -211
  411. package/node_modules/node-forge/lib/pem.js +0 -237
  412. package/node_modules/node-forge/lib/pkcs1.js +0 -276
  413. package/node_modules/node-forge/lib/pkcs12.js +0 -1078
  414. package/node_modules/node-forge/lib/pkcs7.js +0 -1260
  415. package/node_modules/node-forge/lib/pkcs7asn1.js +0 -410
  416. package/node_modules/node-forge/lib/pki.js +0 -102
  417. package/node_modules/node-forge/lib/prime.js +0 -297
  418. package/node_modules/node-forge/lib/prime.worker.js +0 -168
  419. package/node_modules/node-forge/lib/prng.js +0 -419
  420. package/node_modules/node-forge/lib/pss.js +0 -241
  421. package/node_modules/node-forge/lib/random.js +0 -191
  422. package/node_modules/node-forge/lib/rc2.js +0 -410
  423. package/node_modules/node-forge/lib/rsa.js +0 -1949
  424. package/node_modules/node-forge/lib/sha1.js +0 -319
  425. package/node_modules/node-forge/lib/sha256.js +0 -327
  426. package/node_modules/node-forge/lib/sha512.js +0 -561
  427. package/node_modules/node-forge/lib/socket.js +0 -287
  428. package/node_modules/node-forge/lib/ssh.js +0 -236
  429. package/node_modules/node-forge/lib/tls.js +0 -4282
  430. package/node_modules/node-forge/lib/tlssocket.js +0 -249
  431. package/node_modules/node-forge/lib/util.js +0 -2652
  432. package/node_modules/node-forge/lib/x509.js +0 -3242
  433. package/node_modules/node-forge/lib/xhr.js +0 -738
  434. package/node_modules/node-forge/package.json +0 -123
  435. package/node_modules/sprintf-js/.npmignore +0 -1
  436. package/node_modules/sprintf-js/LICENSE +0 -24
  437. package/node_modules/sprintf-js/README.md +0 -88
  438. package/node_modules/sprintf-js/bower.json +0 -14
  439. package/node_modules/sprintf-js/demo/angular.html +0 -20
  440. package/node_modules/sprintf-js/dist/angular-sprintf.min.js +0 -4
  441. package/node_modules/sprintf-js/dist/angular-sprintf.min.js.map +0 -1
  442. package/node_modules/sprintf-js/dist/angular-sprintf.min.map +0 -1
  443. package/node_modules/sprintf-js/dist/sprintf.min.js +0 -4
  444. package/node_modules/sprintf-js/dist/sprintf.min.js.map +0 -1
  445. package/node_modules/sprintf-js/dist/sprintf.min.map +0 -1
  446. package/node_modules/sprintf-js/gruntfile.js +0 -36
  447. package/node_modules/sprintf-js/package.json +0 -22
  448. package/node_modules/sprintf-js/src/angular-sprintf.js +0 -18
  449. package/node_modules/sprintf-js/src/sprintf.js +0 -208
  450. package/node_modules/sprintf-js/test/test.js +0 -82
  451. package/node_modules/xml-crypto/LICENSE +0 -22
  452. package/node_modules/xml-crypto/README.md +0 -557
  453. package/node_modules/xml-crypto/lib/c14n-canonicalization.d.ts +0 -39
  454. package/node_modules/xml-crypto/lib/c14n-canonicalization.js +0 -230
  455. package/node_modules/xml-crypto/lib/c14n-canonicalization.js.map +0 -1
  456. package/node_modules/xml-crypto/lib/enveloped-signature.d.ts +0 -7
  457. package/node_modules/xml-crypto/lib/enveloped-signature.js +0 -43
  458. package/node_modules/xml-crypto/lib/enveloped-signature.js.map +0 -1
  459. package/node_modules/xml-crypto/lib/exclusive-canonicalization.d.ts +0 -38
  460. package/node_modules/xml-crypto/lib/exclusive-canonicalization.js +0 -246
  461. package/node_modules/xml-crypto/lib/exclusive-canonicalization.js.map +0 -1
  462. package/node_modules/xml-crypto/lib/hash-algorithms.d.ts +0 -13
  463. package/node_modules/xml-crypto/lib/hash-algorithms.js +0 -47
  464. package/node_modules/xml-crypto/lib/hash-algorithms.js.map +0 -1
  465. package/node_modules/xml-crypto/lib/index.d.ts +0 -5
  466. package/node_modules/xml-crypto/lib/index.js +0 -28
  467. package/node_modules/xml-crypto/lib/index.js.map +0 -1
  468. package/node_modules/xml-crypto/lib/signature-algorithms.d.ts +0 -47
  469. package/node_modules/xml-crypto/lib/signature-algorithms.js +0 -86
  470. package/node_modules/xml-crypto/lib/signature-algorithms.js.map +0 -1
  471. package/node_modules/xml-crypto/lib/signed-xml.d.ts +0 -225
  472. package/node_modules/xml-crypto/lib/signed-xml.js +0 -960
  473. package/node_modules/xml-crypto/lib/signed-xml.js.map +0 -1
  474. package/node_modules/xml-crypto/lib/types.d.ts +0 -125
  475. package/node_modules/xml-crypto/lib/types.js +0 -57
  476. package/node_modules/xml-crypto/lib/types.js.map +0 -1
  477. package/node_modules/xml-crypto/lib/utils.d.ts +0 -65
  478. package/node_modules/xml-crypto/lib/utils.js +0 -256
  479. package/node_modules/xml-crypto/lib/utils.js.map +0 -1
  480. package/node_modules/xml-crypto/node_modules/xpath/LICENSE +0 -22
  481. package/node_modules/xml-crypto/node_modules/xpath/README.md +0 -133
  482. package/node_modules/xml-crypto/node_modules/xpath/docs/XPathEvaluator.md +0 -62
  483. package/node_modules/xml-crypto/node_modules/xpath/docs/XPathResult.md +0 -47
  484. package/node_modules/xml-crypto/node_modules/xpath/docs/function resolvers.md +0 -88
  485. package/node_modules/xml-crypto/node_modules/xpath/docs/namespace resolvers.md +0 -69
  486. package/node_modules/xml-crypto/node_modules/xpath/docs/parsed expressions.md +0 -21
  487. package/node_modules/xml-crypto/node_modules/xpath/docs/variable resolvers.md +0 -89
  488. package/node_modules/xml-crypto/node_modules/xpath/docs/xpath methods.md +0 -39
  489. package/node_modules/xml-crypto/node_modules/xpath/package.json +0 -39
  490. package/node_modules/xml-crypto/node_modules/xpath/test.js +0 -1186
  491. package/node_modules/xml-crypto/node_modules/xpath/xpath.d.ts +0 -51
  492. package/node_modules/xml-crypto/node_modules/xpath/xpath.js +0 -4938
  493. package/node_modules/xml-crypto/package.json +0 -73
  494. package/node_modules/xmlbuilder2/CHANGELOG.md +0 -309
  495. package/node_modules/xmlbuilder2/LICENSE +0 -21
  496. package/node_modules/xmlbuilder2/README.md +0 -183
  497. package/node_modules/xmlbuilder2/lib/builder/BuilderFunctions.d.ts +0 -236
  498. package/node_modules/xmlbuilder2/lib/builder/BuilderFunctions.js +0 -108
  499. package/node_modules/xmlbuilder2/lib/builder/BuilderFunctions.js.map +0 -1
  500. package/node_modules/xmlbuilder2/lib/builder/BuilderFunctionsCB.d.ts +0 -17
  501. package/node_modules/xmlbuilder2/lib/builder/BuilderFunctionsCB.js +0 -26
  502. package/node_modules/xmlbuilder2/lib/builder/BuilderFunctionsCB.js.map +0 -1
  503. package/node_modules/xmlbuilder2/lib/builder/XMLBuilderCBImpl.d.ts +0 -124
  504. package/node_modules/xmlbuilder2/lib/builder/XMLBuilderCBImpl.js +0 -782
  505. package/node_modules/xmlbuilder2/lib/builder/XMLBuilderCBImpl.js.map +0 -1
  506. package/node_modules/xmlbuilder2/lib/builder/XMLBuilderImpl.d.ts +0 -143
  507. package/node_modules/xmlbuilder2/lib/builder/XMLBuilderImpl.js +0 -841
  508. package/node_modules/xmlbuilder2/lib/builder/XMLBuilderImpl.js.map +0 -1
  509. package/node_modules/xmlbuilder2/lib/builder/dom.d.ts +0 -8
  510. package/node_modules/xmlbuilder2/lib/builder/dom.js +0 -67
  511. package/node_modules/xmlbuilder2/lib/builder/dom.js.map +0 -1
  512. package/node_modules/xmlbuilder2/lib/builder/index.d.ts +0 -4
  513. package/node_modules/xmlbuilder2/lib/builder/index.js +0 -15
  514. package/node_modules/xmlbuilder2/lib/builder/index.js.map +0 -1
  515. package/node_modules/xmlbuilder2/lib/constants.d.ts +0 -1
  516. package/node_modules/xmlbuilder2/lib/constants.js +0 -4
  517. package/node_modules/xmlbuilder2/lib/constants.js.map +0 -1
  518. package/node_modules/xmlbuilder2/lib/index.d.ts +0 -1
  519. package/node_modules/xmlbuilder2/lib/index.js +0 -10
  520. package/node_modules/xmlbuilder2/lib/index.js.map +0 -1
  521. package/node_modules/xmlbuilder2/lib/interfaces.d.ts +0 -1355
  522. package/node_modules/xmlbuilder2/lib/interfaces.js +0 -76
  523. package/node_modules/xmlbuilder2/lib/interfaces.js.map +0 -1
  524. package/node_modules/xmlbuilder2/lib/readers/BaseReader.d.ts +0 -109
  525. package/node_modules/xmlbuilder2/lib/readers/BaseReader.js +0 -167
  526. package/node_modules/xmlbuilder2/lib/readers/BaseReader.js.map +0 -1
  527. package/node_modules/xmlbuilder2/lib/readers/JSONReader.d.ts +0 -14
  528. package/node_modules/xmlbuilder2/lib/readers/JSONReader.js +0 -38
  529. package/node_modules/xmlbuilder2/lib/readers/JSONReader.js.map +0 -1
  530. package/node_modules/xmlbuilder2/lib/readers/ObjectReader.d.ts +0 -15
  531. package/node_modules/xmlbuilder2/lib/readers/ObjectReader.js +0 -168
  532. package/node_modules/xmlbuilder2/lib/readers/ObjectReader.js.map +0 -1
  533. package/node_modules/xmlbuilder2/lib/readers/XMLReader.d.ts +0 -14
  534. package/node_modules/xmlbuilder2/lib/readers/XMLReader.js +0 -206
  535. package/node_modules/xmlbuilder2/lib/readers/XMLReader.js.map +0 -1
  536. package/node_modules/xmlbuilder2/lib/readers/YAMLReader.d.ts +0 -14
  537. package/node_modules/xmlbuilder2/lib/readers/YAMLReader.js +0 -44
  538. package/node_modules/xmlbuilder2/lib/readers/YAMLReader.js.map +0 -1
  539. package/node_modules/xmlbuilder2/lib/readers/index.d.ts +0 -4
  540. package/node_modules/xmlbuilder2/lib/readers/index.js +0 -11
  541. package/node_modules/xmlbuilder2/lib/readers/index.js.map +0 -1
  542. package/node_modules/xmlbuilder2/lib/writers/BaseCBWriter.d.ts +0 -110
  543. package/node_modules/xmlbuilder2/lib/writers/BaseCBWriter.js +0 -23
  544. package/node_modules/xmlbuilder2/lib/writers/BaseCBWriter.js.map +0 -1
  545. package/node_modules/xmlbuilder2/lib/writers/BaseWriter.d.ts +0 -276
  546. package/node_modules/xmlbuilder2/lib/writers/BaseWriter.js +0 -1603
  547. package/node_modules/xmlbuilder2/lib/writers/BaseWriter.js.map +0 -1
  548. package/node_modules/xmlbuilder2/lib/writers/JSONCBWriter.d.ts +0 -68
  549. package/node_modules/xmlbuilder2/lib/writers/JSONCBWriter.js +0 -172
  550. package/node_modules/xmlbuilder2/lib/writers/JSONCBWriter.js.map +0 -1
  551. package/node_modules/xmlbuilder2/lib/writers/JSONWriter.d.ts +0 -67
  552. package/node_modules/xmlbuilder2/lib/writers/JSONWriter.js +0 -222
  553. package/node_modules/xmlbuilder2/lib/writers/JSONWriter.js.map +0 -1
  554. package/node_modules/xmlbuilder2/lib/writers/MapWriter.d.ts +0 -27
  555. package/node_modules/xmlbuilder2/lib/writers/MapWriter.js +0 -84
  556. package/node_modules/xmlbuilder2/lib/writers/MapWriter.js.map +0 -1
  557. package/node_modules/xmlbuilder2/lib/writers/ObjectWriter.d.ts +0 -56
  558. package/node_modules/xmlbuilder2/lib/writers/ObjectWriter.js +0 -483
  559. package/node_modules/xmlbuilder2/lib/writers/ObjectWriter.js.map +0 -1
  560. package/node_modules/xmlbuilder2/lib/writers/XMLCBWriter.d.ts +0 -51
  561. package/node_modules/xmlbuilder2/lib/writers/XMLCBWriter.js +0 -165
  562. package/node_modules/xmlbuilder2/lib/writers/XMLCBWriter.js.map +0 -1
  563. package/node_modules/xmlbuilder2/lib/writers/XMLWriter.d.ts +0 -60
  564. package/node_modules/xmlbuilder2/lib/writers/XMLWriter.js +0 -236
  565. package/node_modules/xmlbuilder2/lib/writers/XMLWriter.js.map +0 -1
  566. package/node_modules/xmlbuilder2/lib/writers/YAMLCBWriter.d.ts +0 -61
  567. package/node_modules/xmlbuilder2/lib/writers/YAMLCBWriter.js +0 -161
  568. package/node_modules/xmlbuilder2/lib/writers/YAMLCBWriter.js.map +0 -1
  569. package/node_modules/xmlbuilder2/lib/writers/YAMLWriter.d.ts +0 -55
  570. package/node_modules/xmlbuilder2/lib/writers/YAMLWriter.js +0 -186
  571. package/node_modules/xmlbuilder2/lib/writers/YAMLWriter.js.map +0 -1
  572. package/node_modules/xmlbuilder2/lib/writers/index.d.ts +0 -5
  573. package/node_modules/xmlbuilder2/lib/writers/index.js +0 -13
  574. package/node_modules/xmlbuilder2/lib/writers/index.js.map +0 -1
  575. package/node_modules/xmlbuilder2/lib/xmlbuilder2.min.js +0 -8
  576. package/node_modules/xmlbuilder2/node_modules/argparse/CHANGELOG.md +0 -185
  577. package/node_modules/xmlbuilder2/node_modules/argparse/LICENSE +0 -21
  578. package/node_modules/xmlbuilder2/node_modules/argparse/README.md +0 -257
  579. package/node_modules/xmlbuilder2/node_modules/argparse/index.js +0 -3
  580. package/node_modules/xmlbuilder2/node_modules/argparse/lib/action/append/constant.js +0 -47
  581. package/node_modules/xmlbuilder2/node_modules/argparse/lib/action/append.js +0 -53
  582. package/node_modules/xmlbuilder2/node_modules/argparse/lib/action/count.js +0 -40
  583. package/node_modules/xmlbuilder2/node_modules/argparse/lib/action/help.js +0 -47
  584. package/node_modules/xmlbuilder2/node_modules/argparse/lib/action/store/constant.js +0 -43
  585. package/node_modules/xmlbuilder2/node_modules/argparse/lib/action/store/false.js +0 -27
  586. package/node_modules/xmlbuilder2/node_modules/argparse/lib/action/store/true.js +0 -26
  587. package/node_modules/xmlbuilder2/node_modules/argparse/lib/action/store.js +0 -50
  588. package/node_modules/xmlbuilder2/node_modules/argparse/lib/action/subparsers.js +0 -149
  589. package/node_modules/xmlbuilder2/node_modules/argparse/lib/action/version.js +0 -47
  590. package/node_modules/xmlbuilder2/node_modules/argparse/lib/action.js +0 -146
  591. package/node_modules/xmlbuilder2/node_modules/argparse/lib/action_container.js +0 -482
  592. package/node_modules/xmlbuilder2/node_modules/argparse/lib/argparse.js +0 -14
  593. package/node_modules/xmlbuilder2/node_modules/argparse/lib/argument/error.js +0 -50
  594. package/node_modules/xmlbuilder2/node_modules/argparse/lib/argument/exclusive.js +0 -54
  595. package/node_modules/xmlbuilder2/node_modules/argparse/lib/argument/group.js +0 -75
  596. package/node_modules/xmlbuilder2/node_modules/argparse/lib/argument_parser.js +0 -1161
  597. package/node_modules/xmlbuilder2/node_modules/argparse/lib/const.js +0 -21
  598. package/node_modules/xmlbuilder2/node_modules/argparse/lib/help/added_formatters.js +0 -87
  599. package/node_modules/xmlbuilder2/node_modules/argparse/lib/help/formatter.js +0 -795
  600. package/node_modules/xmlbuilder2/node_modules/argparse/lib/namespace.js +0 -76
  601. package/node_modules/xmlbuilder2/node_modules/argparse/lib/utils.js +0 -57
  602. package/node_modules/xmlbuilder2/node_modules/argparse/package.json +0 -34
  603. package/node_modules/xmlbuilder2/node_modules/js-yaml/CHANGELOG.md +0 -557
  604. package/node_modules/xmlbuilder2/node_modules/js-yaml/LICENSE +0 -21
  605. package/node_modules/xmlbuilder2/node_modules/js-yaml/README.md +0 -299
  606. package/node_modules/xmlbuilder2/node_modules/js-yaml/bin/js-yaml.js +0 -132
  607. package/node_modules/xmlbuilder2/node_modules/js-yaml/dist/js-yaml.js +0 -3989
  608. package/node_modules/xmlbuilder2/node_modules/js-yaml/dist/js-yaml.min.js +0 -1
  609. package/node_modules/xmlbuilder2/node_modules/js-yaml/index.js +0 -7
  610. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/common.js +0 -59
  611. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/dumper.js +0 -850
  612. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/exception.js +0 -43
  613. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/loader.js +0 -1644
  614. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/mark.js +0 -76
  615. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/schema/core.js +0 -18
  616. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/schema/default_full.js +0 -25
  617. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/schema/default_safe.js +0 -28
  618. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/schema/failsafe.js +0 -17
  619. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/schema/json.js +0 -25
  620. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/schema.js +0 -108
  621. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/binary.js +0 -138
  622. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/bool.js +0 -35
  623. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/float.js +0 -116
  624. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/int.js +0 -173
  625. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/js/function.js +0 -93
  626. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/js/regexp.js +0 -60
  627. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/js/undefined.js +0 -28
  628. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/map.js +0 -8
  629. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/merge.js +0 -12
  630. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/null.js +0 -34
  631. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/omap.js +0 -44
  632. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/pairs.js +0 -53
  633. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/seq.js +0 -8
  634. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/set.js +0 -29
  635. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/str.js +0 -8
  636. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/timestamp.js +0 -88
  637. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type.js +0 -61
  638. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml.js +0 -39
  639. package/node_modules/xmlbuilder2/node_modules/js-yaml/package.json +0 -49
  640. package/node_modules/xmlbuilder2/package.json +0 -82
  641. package/node_modules/xpath/LICENSE +0 -22
  642. package/node_modules/xpath/README.md +0 -133
  643. package/node_modules/xpath/package.json +0 -43
  644. package/node_modules/xpath/xpath.d.ts +0 -51
  645. package/node_modules/xpath/xpath.js +0 -5041
@@ -1,1355 +0,0 @@
1
- import { Node, Document } from "@oozcitak/dom/lib/dom/interfaces";
2
- /**
3
- * Represents a document with XML builder settings applied.
4
- */
5
- export interface DocumentWithSettings extends Document {
6
- _xmlBuilderOptions: XMLBuilderOptions;
7
- _isFragment?: boolean;
8
- }
9
- /**
10
- * Defines the options used while creating an XML document.
11
- */
12
- export interface XMLBuilderOptions {
13
- /**
14
- * A version number string, e.g. `"1.0"`
15
- */
16
- version: "1.0";
17
- /**
18
- * Encoding declaration, e.g. `"UTF-8"`
19
- */
20
- encoding: string | undefined;
21
- /**
22
- * Standalone document declaration: `true` or `false`
23
- */
24
- standalone: boolean | undefined;
25
- /**
26
- * Whether nodes with `null` values will be kept or ignored
27
- */
28
- keepNullNodes: boolean;
29
- /**
30
- * Whether attributes with `null` values will be kept or ignored
31
- */
32
- keepNullAttributes: boolean;
33
- /**
34
- * Whether converter strings will be ignored when converting JS
35
- * objects to nodes
36
- */
37
- ignoreConverters: boolean;
38
- /**
39
- * Whether whitespace-only text nodes are skipped or not.
40
- */
41
- skipWhitespaceOnlyText: boolean;
42
- /**
43
- * Defines string keys used while converting JS objects to nodes.
44
- */
45
- convert: ConvertOptions;
46
- /**
47
- * Defines default namespaces to apply to all elements and attributes.
48
- */
49
- defaultNamespace: {
50
- ele: undefined | null | string;
51
- att: undefined | null | string;
52
- };
53
- /**
54
- * Defines namespace aliases.
55
- */
56
- namespaceAlias: {
57
- /**
58
- * HTML namespace
59
- */
60
- html: "http://www.w3.org/1999/xhtml";
61
- /**
62
- * XML namespace
63
- */
64
- xml: "http://www.w3.org/XML/1998/namespace";
65
- /**
66
- * XMLNS namespace
67
- */
68
- xmlns: "http://www.w3.org/2000/xmlns/";
69
- /**
70
- * MathML namespace
71
- */
72
- mathml: "http://www.w3.org/1998/Math/MathML";
73
- /**
74
- * SVG namespace
75
- */
76
- svg: "http://www.w3.org/2000/svg";
77
- /**
78
- * XLink namespace
79
- */
80
- xlink: "http://www.w3.org/1999/xlink";
81
- /**
82
- * User supplied namespace alias
83
- */
84
- [key: string]: string | null;
85
- };
86
- /**
87
- * Defines a replacement for invalid characters in input strings.
88
- *
89
- * If `invalidCharReplacement` is a string, each invalid character in an input
90
- * string will be replaced with it; otherwise if `invalidCharReplacement`
91
- * is a function it will be passed each invalid character and should return
92
- * a replacement character.
93
- *
94
- * The arguments to the replacement function are:
95
- * - char - the invalid character to be replaced
96
- * - offset - the offset of the invalid character
97
- * - str - the input string
98
- */
99
- invalidCharReplacement: string | ((char: string, offset: number, str: string) => string) | undefined;
100
- /**
101
- * Defines custom parser functions.
102
- */
103
- parser: ParserOptions | undefined;
104
- }
105
- /**
106
- * Defines the options used while creating an XML document.
107
- */
108
- export interface XMLBuilderCreateOptions extends RecursivePartial<XMLBuilderOptions> {
109
- }
110
- /**
111
- * Defines default values for builder options.
112
- */
113
- export declare const DefaultBuilderOptions: XMLBuilderOptions;
114
- /**
115
- * Contains keys of `XMLBuilderOptions`.
116
- */
117
- export declare const XMLBuilderOptionKeys: Set<string>;
118
- /**
119
- * Defines the identifier strings of the DocType node.
120
- */
121
- export interface DTDOptions {
122
- /**
123
- * Name of the DTD. If name is omitted, it will be taken from the document
124
- * element node.
125
- */
126
- name?: string;
127
- /**
128
- * Public identifier of the DTD
129
- */
130
- pubID?: string;
131
- /**
132
- * System identifier of the DTD
133
- */
134
- sysID?: string;
135
- }
136
- /**
137
- * Defines string keys used while converting JS objects to nodes.
138
- */
139
- export interface ConvertOptions {
140
- /**
141
- * When prepended to a JS object key, converts its key-value pair
142
- * to an attribute. Defaults to `"@"`. Multiple attributes can also be grouped
143
- * under the attribute key. For example:
144
- * ```js
145
- * obj1 = { pilot: { '@callsign': 'Maverick', '@rank': 'Lieutenant' } }
146
- * obj2 = { pilot: { '@': { 'callsign': 'Maverick', 'rank': 'Lieutenant' } } }
147
- * ```
148
- * both become:
149
- * ```xml
150
- * <pilot callsign="Maverick" rank="Lieutenant"/>
151
- * ````
152
- */
153
- att: string;
154
- /**
155
- * When prepended to a JS object key, converts its value to a processing
156
- * instruction node. Defaults to `"?"`. Instruction target and value should
157
- * be separated with a single space character. For example:
158
- * ```js
159
- * obj = {
160
- * '?': 'background classified ref="NAM#123456"',
161
- * pilot: 'Pete Mitchell'
162
- * }
163
- * ```
164
- * becomes:
165
- * ```xml
166
- * <?background classified ref="NAM#123456"?>
167
- * <pilot>Pete Mitchell</pilot>
168
- * ````
169
- */
170
- ins: string;
171
- /**
172
- * When prepended to a JS object key, converts its value to a text node.
173
- * Defaults to `"#"`. For example:
174
- * ```js
175
- * obj = { monologue: {
176
- * '#': 'Talk to me Goose!',
177
- * } }
178
- * ```
179
- * becomes:
180
- * ```xml
181
- * <monologue>Talk to me Goose!</monologue>
182
- * ````
183
- *
184
- * _Note:_ Since JS objects cannot contain duplicate keys, multiple text
185
- * nodes can be created by adding some unique text after each object
186
- * key. For example:
187
- * ```js
188
- * obj = { monologue: {
189
- * '#1': 'Talk to me Goose!',
190
- * '#2': 'Talk to me...'
191
- * } }
192
- * ```
193
- * becomes:
194
- * ```xml
195
- * <monologue>Talk to me Goose!Talk to me...</monologue>
196
- * ````
197
- *
198
- * _Note:_ `"#"` also allows mixed content. Example:
199
- * ```js
200
- * obj = { monologue: {
201
- * '#1': 'Talk to me Goose!',
202
- * 'cut': 'dog tag shot',
203
- * '#2': 'Talk to me...'
204
- * } }
205
- * ```
206
- * becomes:
207
- * ```xml
208
- * <monologue>
209
- * Talk to me Goose!
210
- * <cut>dog tag shot</cut>
211
- * Talk to me...
212
- * </monologue>
213
- * ````
214
- */
215
- text: string;
216
- /**
217
- * When prepended to a JS object key, converts its value to a CDATA
218
- * node. Defaults to `"$"`. For example:
219
- * ```js
220
- * obj = {
221
- * '$': '<a href="https://topgun.fandom.com/wiki/MiG-28"/>',
222
- * aircraft: 'MiG-28'
223
- * }
224
- * ```
225
- * becomes:
226
- * ```xml
227
- * <![CDATA[<a href="https://topgun.fandom.com/wiki/MiG-28"/>]]>
228
- * <aircraft>MiG-28</aircraft>
229
- * ````
230
- */
231
- cdata: string;
232
- /**
233
- * When prepended to a JS object key, converts its value to a
234
- * comment node. Defaults to `"!"`. For example:
235
- * ```js
236
- * obj = {
237
- * '!': 'Fictional; MiGs use odd numbers for fighters.',
238
- * aircraft: 'MiG-28'
239
- * }
240
- * ```
241
- * becomes:
242
- * ```xml
243
- * <!--Fictional; MiGs use odd numbers for fighters.-->
244
- * <aircraft>MiG-28</aircraft>
245
- * ````
246
- */
247
- comment: string;
248
- }
249
- /**
250
- * Defines custom parser functions.
251
- */
252
- export declare type ParserOptions = {
253
- /**
254
- * Main parser function which parses the given object and returns an `XMLBuilder`.
255
- *
256
- * @param node - node to recieve parsed content
257
- * @param obj - object to parse
258
- *
259
- * @returns the last top level element node created
260
- */
261
- parse?: (parent: XMLBuilder, obj: string | ExpandObject) => XMLBuilder;
262
- /**
263
- * Creates a DocType node.
264
- * The node will be skipped if the function returns `undefined`.
265
- *
266
- * @param parent - parent node
267
- * @param name - node name
268
- * @param publicId - public identifier
269
- * @param systemId - system identifier
270
- *
271
- * @returns the parent document node
272
- */
273
- docType?: (parent: XMLBuilder, name: string, publicId: string, systemId: string) => XMLBuilder | undefined;
274
- /**
275
- * Creates a comment node.
276
- * The node will be skipped if the function returns `undefined`.
277
- *
278
- * @param parent - parent node
279
- * @param data - node data
280
- *
281
- * @returns the parent element node
282
- */
283
- comment?: (parent: XMLBuilder, data: string) => XMLBuilder | undefined;
284
- /**
285
- * Creates a text node.
286
- * The node will be skipped if the function returns `undefined`.
287
- *
288
- * @param parent - parent node
289
- * @param data - node data
290
- *
291
- * @returns the parent element node
292
- */
293
- text?: (parent: XMLBuilder, data: string) => XMLBuilder | undefined;
294
- /**
295
- * Creates a processing instruction node.
296
- * The node will be skipped if the function returns `undefined`.
297
- *
298
- * @param parent - parent node
299
- * @param target - instruction target
300
- * @param data - node data
301
- *
302
- * @returns the parent element node
303
- */
304
- instruction?: (parent: XMLBuilder, target: string, data: string) => XMLBuilder | undefined;
305
- /**
306
- * Creates a CData section node.
307
- * The node will be skipped if the function returns `undefined`.
308
- *
309
- * @param parent - parent node
310
- * @param data - node data
311
- *
312
- * @returns the parent element node
313
- */
314
- cdata?: (parent: XMLBuilder, data: string) => XMLBuilder | undefined;
315
- /**
316
- * Creates an element node.
317
- * The node will be skipped if the function returns `undefined`.
318
- *
319
- * @param parent - parent node
320
- * @param namespace - element namespace
321
- * @param name - node name
322
- *
323
- * @returns the new element node
324
- */
325
- element?: (parent: XMLBuilder, namespace: string | null | undefined, name: string) => XMLBuilder | undefined;
326
- /**
327
- * Creates an attribute or namespace declaration.
328
- * The node will be skipped if the function returns `undefined`.
329
- *
330
- * @param parent - parent node
331
- * @param namespace - attribute namespace
332
- * @param name - attribute name
333
- * @param value - attribute value
334
- *
335
- * @returns the parent element node
336
- */
337
- attribute?: (parent: XMLBuilder, namespace: string | null | undefined, name: string, value: string) => XMLBuilder | undefined;
338
- /**
339
- * Sanitizes input strings.
340
- *
341
- * @param str - input string
342
- */
343
- sanitize?(str: string): string;
344
- };
345
- /**
346
- * Defines the options passed to the writer.
347
- */
348
- export declare type BaseWriterOptions = {
349
- /**
350
- * Output format. Defaults to `"xml"`.
351
- * - `"xml"` - Serializes the document as a string in XML format.
352
- * - `"map"` - Serializes the document as an object using `Map`s and
353
- * `Array`s.
354
- * - `"object"` - Serializes the document as an object using `Object`s and
355
- * `Array`s.
356
- * - `"json"` - Serializes the document as a JSON string.
357
- * - `"yaml"` - Serilizes the document as a YAML string
358
- */
359
- format?: "xml" | "map" | "object" | "json" | "yaml";
360
- /**
361
- * Ensures that the document adheres to the syntax rules specified by the
362
- * XML specification. If this flag is set and the document is not well-formed
363
- * errors will be thrown. Defaults to `false`.
364
- */
365
- wellFormed?: boolean;
366
- };
367
- /**
368
- * Defines the options passed to the map writer.
369
- */
370
- export declare type MapWriterOptions = BaseWriterOptions & {
371
- /** @inheritdoc */
372
- format?: "map";
373
- /**
374
- * Groups consecutive nodes of same type under a single object. Defaults to
375
- * `false`.
376
- */
377
- group?: boolean;
378
- /**
379
- * Outputs child nodes as an array, even if the parent node has zero or one
380
- * child nodes.
381
- */
382
- verbose?: boolean;
383
- };
384
- /**
385
- * Defines the options passed to the object writer.
386
- */
387
- export declare type ObjectWriterOptions = BaseWriterOptions & {
388
- /** @inheritdoc */
389
- format?: "object";
390
- /**
391
- * Groups consecutive nodes of same type under a single object. Defaults to
392
- * `false`.
393
- */
394
- group?: boolean;
395
- /**
396
- * Outputs child nodes as an array, even if the parent node has zero or one
397
- * child nodes.
398
- */
399
- verbose?: boolean;
400
- };
401
- /**
402
- * Defines the options passed to the XML writer.
403
- */
404
- export declare type XMLWriterOptions = BaseWriterOptions & {
405
- /** @inheritdoc */
406
- format?: "xml";
407
- /**
408
- * Suppresses the XML declaration from the output. Defaults to `false`.
409
- */
410
- headless?: boolean;
411
- /**
412
- * Pretty-prints the XML tree. Defaults to `false`.
413
- */
414
- prettyPrint?: boolean;
415
- /**
416
- * Determines the indentation string for pretty printing. Defaults to two
417
- * space characters.
418
- */
419
- indent?: string;
420
- /**
421
- * Determines the newline string for pretty printing. Defaults to `"\n"`.
422
- */
423
- newline?: string;
424
- /**
425
- * Defines a fixed number of indentations to add to every line. Defaults to
426
- * `0`.
427
- */
428
- offset?: number;
429
- /**
430
- * Wraps attributes to the next line if the column width exceeds the given
431
- * value. Defaults to `0` which disables attribute wrapping.
432
- */
433
- width?: number;
434
- /**
435
- * Produces closing tags for empty element nodes. Defaults to `false`. With
436
- * this option set to `true`, closing tags will be produced for element nodes
437
- * without child nodes, e.g.
438
- * ```xml
439
- * <node></node>
440
- * ```
441
- * Otherwise, empty element nodes will be self-closed, e.g.
442
- * ```xml
443
- * <node/>
444
- * ```
445
- */
446
- allowEmptyTags?: boolean;
447
- /**
448
- * Indents contents of text-only element nodes. Defaults to `false` which
449
- * keeps a text node on the same line with its containing element node, e.g.
450
- * ```xml
451
- * <node>some text</node>
452
- * ```
453
- * Otherwise, it will be printed on a new line. e.g.
454
- * ```xml
455
- * <node>
456
- * some text
457
- * </node>
458
- * ```
459
- * _Note:_ Element nodes with mixed content are always indented regardless
460
- * of this setting.
461
- */
462
- indentTextOnlyNodes?: boolean;
463
- /**
464
- * Inserts a space character before the slash character of self-closing tags.
465
- * Defaults to `false`. With this options set to `true`, a space character
466
- * will be inserted before the slash character of self-closing tags, e.g.
467
- * ```xml
468
- * <node />
469
- * ```
470
- */
471
- spaceBeforeSlash?: boolean;
472
- };
473
- /**
474
- * Defines the options passed to the JSON writer.
475
- */
476
- export declare type JSONWriterOptions = BaseWriterOptions & {
477
- /** @inheritdoc */
478
- format?: "json";
479
- /**
480
- * Pretty-prints the XML tree. Defaults to `false`.
481
- */
482
- prettyPrint?: boolean;
483
- /**
484
- * Determines the indentation string for pretty printing. Defaults to two
485
- * space characters.
486
- */
487
- indent?: string;
488
- /**
489
- * Determines the newline string for pretty printing. Defaults to `"\n"`.
490
- */
491
- newline?: string;
492
- /**
493
- * Defines a fixed number of indentations to add to every line. Defaults to
494
- * `0`.
495
- */
496
- offset?: number;
497
- /**
498
- * Groups consecutive nodes of same type under a single object. Defaults to
499
- * `false`.
500
- */
501
- group?: boolean;
502
- /**
503
- * Outputs child nodes as an array, even if the parent node has zero or one
504
- * child nodes.
505
- */
506
- verbose?: boolean;
507
- };
508
- /**
509
- * Defines the options passed to the YAML writer.
510
- */
511
- export declare type YAMLWriterOptions = BaseWriterOptions & {
512
- /** @inheritdoc */
513
- format?: "yaml";
514
- /**
515
- * Determines the indentation string. Defaults to two space characters.
516
- */
517
- indent?: string;
518
- /**
519
- * Determines the newline string. Defaults to `"\n"`.
520
- */
521
- newline?: string;
522
- /**
523
- * Defines a fixed number of indentations to add to every line. Defaults to
524
- * `0`.
525
- */
526
- offset?: number;
527
- /**
528
- * Groups consecutive nodes of same type under a single object. Defaults to
529
- * `false`.
530
- */
531
- group?: boolean;
532
- /**
533
- * Outputs child nodes as an array, even if the parent node has only one
534
- * child node.
535
- */
536
- verbose?: boolean;
537
- };
538
- /**
539
- * Defines the options passed to the writer.
540
- */
541
- export declare type WriterOptions = XMLWriterOptions | ObjectWriterOptions | JSONWriterOptions | MapWriterOptions | YAMLWriterOptions;
542
- /**
543
- * Defines recursive types that can represent objects, arrays and maps of
544
- * serialized nodes.
545
- */
546
- export declare type XMLSerializedValue = string | XMLSerializedAsObject | XMLSerializedAsObjectArray | XMLSerializedAsMap | XMLSerializedAsMapArray;
547
- export declare type XMLSerializedAsObject = {
548
- [key: string]: string | XMLSerializedAsObject | XMLSerializedAsObjectArray;
549
- };
550
- export declare type XMLSerializedAsObjectArray = Array<string | XMLSerializedAsObject>;
551
- export declare type XMLSerializedAsMap = Map<string, string | XMLSerializedAsMap | XMLSerializedAsMapArray>;
552
- export declare type XMLSerializedAsMapArray = Array<string | XMLSerializedAsMap>;
553
- /**
554
- * Represents the type of a variable that can be expanded by the `ele` function
555
- * into nodes.
556
- */
557
- export declare type ExpandObject = {
558
- [key: string]: any;
559
- } | Map<string, any> | any[] | Set<any> | ((...args: any) => any);
560
- /**
561
- * Represents the type of a variable that is a JS object defining
562
- * attributes.
563
- */
564
- export declare type AttributesObject = Map<string, any> | {
565
- /**
566
- * Attribute key/value pairs
567
- */
568
- [key: string]: any;
569
- };
570
- /**
571
- * Represents the type of a variable that is a JS object defining
572
- * processing instructions.
573
- */
574
- export declare type PIObject = Map<string, string> | string[] | {
575
- /**
576
- * Processing instruction target/data pairs
577
- */
578
- [key: string]: string;
579
- };
580
- /**
581
- * Represents a wrapper around XML nodes to implement easy to use and
582
- * chainable document builder methods.
583
- */
584
- export interface XMLBuilder {
585
- /**
586
- * Returns the underlying DOM node.
587
- */
588
- readonly node: Node;
589
- /**
590
- * Gets the options used while creating an XML document.
591
- */
592
- readonly options: XMLBuilderOptions;
593
- /**
594
- * Sets builder options.
595
- *
596
- * @param - builder options
597
- *
598
- * @returns current element node
599
- */
600
- set(builderOptions: Partial<XMLBuilderOptions>): XMLBuilder;
601
- /**
602
- * Creates a new element node and appends it to the list of child nodes.
603
- *
604
- * @param namespace - element namespace
605
- * @param name - element name
606
- * @param attributes - a JS object with element attributes
607
- *
608
- * @returns the new element node
609
- */
610
- ele(namespace: string | null, name: string, attributes?: AttributesObject): XMLBuilder;
611
- /**
612
- * Creates a new element node and appends it to the list of child nodes.
613
- *
614
- * @param name - element name
615
- * @param attributes - a JS object with element attributes
616
- *
617
- * @returns the new element node
618
- */
619
- ele(name: string, attributes?: AttributesObject): XMLBuilder;
620
- /**
621
- * Creates new element nodes from the given JS object and appends it to the
622
- * list of child nodes.
623
- *
624
- * @param obj - a JS object representing nodes to insert
625
- *
626
- * @returns the last top level element node created
627
- */
628
- ele(obj: ExpandObject): XMLBuilder;
629
- /**
630
- * Creates new element nodes from the given XML document string appends it to the
631
- * list of child nodes.
632
- *
633
- * @param content - an XML document string representing nodes to insert
634
- *
635
- * @returns the last top level element node created
636
- */
637
- ele(content: string): XMLBuilder;
638
- /**
639
- * Removes this node from the XML document.
640
- *
641
- * @returns parent element node
642
- */
643
- remove(): XMLBuilder;
644
- /**
645
- * Creates or updates an element attribute.
646
- *
647
- * @param namespace - namespace of the attribute
648
- * @param name - attribute name
649
- * @param value - attribute value
650
- *
651
- * @returns current element node
652
- */
653
- att(namespace: string | null, name: string, value: string): XMLBuilder;
654
- /**
655
- * Creates or updates an element attribute.
656
- *
657
- * @param name - attribute name
658
- * @param value - attribute value
659
- *
660
- * @returns current element node
661
- */
662
- att(name: string, value: string): XMLBuilder;
663
- /**
664
- * Creates or updates an element attribute.
665
- *
666
- * @param obj - a JS object containing element attributes and values
667
- *
668
- * @returns current element node
669
- */
670
- att(obj: AttributesObject): XMLBuilder;
671
- /**
672
- * Removes an attribute.
673
- *
674
- * @param name - attribute name
675
- *
676
- * @returns current element node
677
- */
678
- removeAtt(name: string): XMLBuilder;
679
- /**
680
- * Removes a list of attributes.
681
- *
682
- * @param names - an array with attribute names
683
- *
684
- * @returns current element node
685
- */
686
- removeAtt(names: string[]): XMLBuilder;
687
- /**
688
- * Removes an attribute.
689
- *
690
- * @param namespace - namespace of the attribute to remove
691
- * @param name - attribute name
692
- *
693
- * @returns current element node
694
- */
695
- removeAtt(namespace: string | null, name: string): XMLBuilder;
696
- /**
697
- * Removes a list of attributes.
698
- *
699
- * @param namespace - namespace of the attributes to remove
700
- * @param names - an array with attribute names
701
- *
702
- * @returns current element node
703
- */
704
- removeAtt(namespace: string | null, names: string[]): XMLBuilder;
705
- /**
706
- * Creates a new text node and appends it to the list of child nodes.
707
- *
708
- * @param content - node content
709
- *
710
- * @returns current element node
711
- */
712
- txt(content: string): XMLBuilder;
713
- /**
714
- * Creates a new comment node and appends it to the list of child nodes.
715
- *
716
- * @param content - node content
717
- *
718
- * @returns current element node
719
- */
720
- com(content: string): XMLBuilder;
721
- /**
722
- * Creates a new CDATA node and appends it to the list of child nodes.
723
- *
724
- * @param content - node content
725
- *
726
- * @returns current element node
727
- */
728
- dat(content: string): XMLBuilder;
729
- /**
730
- * Creates a new processing instruction node and appends it to the list of
731
- * child nodes.
732
- *
733
- * @param target - instruction target
734
- * @param content - node content
735
- *
736
- * @returns current element node
737
- */
738
- ins(target: string, content?: string): XMLBuilder;
739
- /**
740
- * Creates new processing instruction nodes by expanding the given object and
741
- * appends them to the list of child nodes.
742
- *
743
- * @param contents - a JS object containing processing instruction targets
744
- * and values or an array of strings
745
- *
746
- * @returns current element node
747
- */
748
- ins(target: PIObject): XMLBuilder;
749
- /**
750
- * Updates XML declaration.
751
- *
752
- * @param options - declaration options
753
- *
754
- * @returns current element node
755
- */
756
- dec(options: {
757
- version?: "1.0";
758
- encoding?: string;
759
- standalone?: boolean;
760
- }): XMLBuilder;
761
- /**
762
- * Creates a new DocType node and inserts it into the document. If the
763
- * document already contains a DocType node it will be replaced by the new
764
- * node. Otherwise it will be inserted before the document element node.
765
- *
766
- * @param options - DocType identifiers
767
- *
768
- * @returns current element node
769
- */
770
- dtd(options?: DTDOptions): XMLBuilder;
771
- /**
772
- * Imports a node as a child node of this node. The nodes' descendants and
773
- * attributes will also be imported.
774
- *
775
- * @param node - the node to import
776
- *
777
- * _Note:_ The node will be cloned before being imported and this clone will
778
- * be inserted into the document; not the original node.
779
- *
780
- * _Note:_ If the imported node is a document, its document element node will
781
- * be imported. If the imported node is a document fragment its child nodes
782
- * will be imported.
783
- *
784
- * @returns current element node
785
- */
786
- import(node: XMLBuilder): XMLBuilder;
787
- /**
788
- * Returns the document node.
789
- */
790
- doc(): XMLBuilder;
791
- /**
792
- * Returns the root element node.
793
- */
794
- root(): XMLBuilder;
795
- /**
796
- * Returns the parent node.
797
- */
798
- up(): XMLBuilder;
799
- /**
800
- * Returns the previous sibling node.
801
- */
802
- prev(): XMLBuilder;
803
- /**
804
- * Returns the next sibling node.
805
- */
806
- next(): XMLBuilder;
807
- /**
808
- * Returns the first child node.
809
- */
810
- first(): XMLBuilder;
811
- /**
812
- * Returns the last child node.
813
- */
814
- last(): XMLBuilder;
815
- /**
816
- * Traverses through the child nodes of a node. `callback` is called with three
817
- * arguments: `(node, index, level)`.
818
- *
819
- * @param callback - a callback function to apply to each child node
820
- * @param self - whether to visit the current node along with child nodes
821
- * @param recursive - whether to visit all descendant nodes in tree-order or
822
- * only the immediate child nodes
823
- * @param thisArg - value to use as this when executing callback
824
- */
825
- each(callback: ((node: XMLBuilder, index: number, level: number) => void), self?: boolean, recursive?: boolean, thisArg?: any): XMLBuilder;
826
- /**
827
- * Produces an array of values by transforming each child node with the given
828
- * callback function. `callback` is called with three arguments:
829
- * `(node, index, level)`.
830
- *
831
- * @param callback - a callback function to apply to each child node
832
- * @param self - whether to visit the current node along with child nodes
833
- * @param recursive - whether to visit all descendant nodes in tree-order or
834
- * only the immediate child nodes
835
- * @param thisArg - value to use as this when executing callback
836
- */
837
- map<T>(callback: ((node: XMLBuilder, index: number, level: number) => T), self?: boolean, recursive?: boolean, thisArg?: any): T[];
838
- /**
839
- * Reduces child nodes into a single value by applying the given callback
840
- * function. `callback` is called with four arguments:
841
- * `(value, node, index, level)`.
842
- *
843
- * @param callback - a callback function to apply to each child node
844
- * @param initialValue - initial value of the iteration
845
- * @param self - whether to visit the current node along with child nodes
846
- * @param recursive - whether to visit all descendant nodes in tree-order or
847
- * only the immediate child nodes
848
- * @param thisArg - value to use as this when executing callback
849
- */
850
- reduce<T>(callback: ((value: T, node: XMLBuilder, index: number, level: number) => T), initialValue: T, self?: boolean, recursive?: boolean, thisArg?: any): T;
851
- /**
852
- * Returns the first child node satisfying the given predicate. `predicate` is
853
- * called with three arguments: `(node, index, level)`.
854
- *
855
- * @param predicate - a callback function to apply to each child node
856
- * @param self - whether to visit the current node along with child nodes
857
- * @param recursive - whether to visit all descendant nodes in tree-order or
858
- * only the immediate child nodes
859
- * @param thisArg - value to use as this when executing predicate
860
- */
861
- find(predicate: ((node: XMLBuilder, index: number, level: number) => boolean), self?: boolean, recursive?: boolean, thisArg?: any): XMLBuilder | undefined;
862
- /**
863
- * Produces an array of child nodes which pass the given predicate test.
864
- * `predicate` is called with three arguments: `(node, index, level)`.
865
- *
866
- * @param predicate - a callback function to apply to each child node
867
- * @param self - whether to visit the current node along with child nodes
868
- * @param recursive - whether to visit all descendant nodes in tree-order or
869
- * only the immediate child nodes
870
- * @param thisArg - value to use as this when executing predicate
871
- */
872
- filter(predicate: ((node: XMLBuilder, index: number, level: number) => boolean), self?: boolean, recursive?: boolean, thisArg?: any): XMLBuilder[];
873
- /**
874
- * Returns `true` if all child nodes pass the given predicate test.
875
- * `predicate` is called with three arguments: `(node, index, level)`.
876
- *
877
- * @param predicate - a callback function to apply to each child node
878
- * @param self - whether to visit the current node along with child nodes
879
- * @param recursive - whether to visit all descendant nodes in tree-order or
880
- * only the immediate child nodes
881
- * @param thisArg - value to use as this when executing predicate
882
- */
883
- every(predicate: ((node: XMLBuilder, index: number, level: number) => boolean), self?: boolean, recursive?: boolean, thisArg?: any): boolean;
884
- /**
885
- * Returns `true` if any of the child nodes pass the given predicate test.
886
- * `predicate` is called with three arguments: `(node, index, level)`.
887
- *
888
- * @param predicate - a callback function to apply to each child node
889
- * @param self - whether to visit the current node along with child nodes
890
- * @param recursive - whether to visit all descendant nodes in tree-order or
891
- * only the immediate child nodes
892
- * @param thisArg - value to use as this when executing predicate
893
- */
894
- some(predicate: ((node: XMLBuilder, index: number, level: number) => boolean), self?: boolean, recursive?: boolean, thisArg?: any): boolean;
895
- /**
896
- * Produces an array of child nodes.
897
- *
898
- * @param self - whether to visit the current node along with child nodes
899
- * @param recursive - whether to visit all descendant nodes in tree-order or
900
- * only the immediate child nodes
901
- */
902
- toArray(self?: boolean, recursive?: boolean): XMLBuilder[];
903
- /**
904
- * Converts the node into an XML string.
905
- *
906
- * @param options - serialization options
907
- */
908
- toString(writerOptions?: XMLWriterOptions): string;
909
- /**
910
- * Converts the node into a JSON string.
911
- *
912
- * @param options - serialization options
913
- */
914
- toString(writerOptions: JSONWriterOptions): string;
915
- /**
916
- * Converts the node into a YAML string.
917
- *
918
- * @param options - serialization options
919
- */
920
- toString(writerOptions: YAMLWriterOptions): string;
921
- /**
922
- * Converts the node into its object representation.
923
- *
924
- * @param options - serialization options
925
- */
926
- toObject(writerOptions?: ObjectWriterOptions): XMLSerializedAsObject | XMLSerializedAsObjectArray;
927
- /**
928
- * Converts the node into its object representation using ES6 maps.
929
- *
930
- * @param options - serialization options
931
- */
932
- toObject(writerOptions: MapWriterOptions): XMLSerializedAsMap | XMLSerializedAsMapArray;
933
- /**
934
- * Converts the entire XML document into an XML document string with the
935
- * default writer options.
936
- */
937
- end(): string;
938
- /**
939
- * Converts the entire XML document into an XML document string.
940
- *
941
- * @param options - serialization options
942
- */
943
- end(writerOptions: XMLWriterOptions): string;
944
- /**
945
- * Converts the entire XML document into a JSON string.
946
- *
947
- * @param options - serialization options
948
- */
949
- end(writerOptions: JSONWriterOptions): string;
950
- /**
951
- * Converts the entire XML document into a YAML string.
952
- *
953
- * @param options - serialization options
954
- */
955
- end(writerOptions: YAMLWriterOptions): string;
956
- /**
957
- * Converts the entire XML document into its object representation.
958
- *
959
- * @param options - serialization options
960
- */
961
- end(writerOptions: ObjectWriterOptions): XMLSerializedAsObject | XMLSerializedAsObjectArray;
962
- /**
963
- * Converts the entire XML document into its object representation using ES6 maps.
964
- *
965
- * @param options - serialization options
966
- */
967
- end(writerOptions: MapWriterOptions): XMLSerializedAsMap | XMLSerializedAsMapArray;
968
- }
969
- /**
970
- * Builds and serializes an XML document in chunks.
971
- */
972
- export interface XMLBuilderCB {
973
- /**
974
- * Adds a listener for the data event which is emitted when a chunk of data
975
- * is produced.
976
- *
977
- * @param event - event name
978
- * @param listener - an event listener callback
979
- */
980
- on(event: "data", listener: (chunk: string, level: number) => void): this;
981
- /**
982
- * Adds a listener for the end event which is emitted when the XML document is
983
- * completed.
984
- *
985
- * @param event - event name
986
- * @param listener - an event listener callback
987
- */
988
- on(event: "end", listener: () => void): this;
989
- /**
990
- * Adds a listener for the error event which is emitted when an error occurs.
991
- *
992
- * @param event - event name
993
- * @param listener - an event listener callback
994
- */
995
- on(event: "error", listener: (err: Error) => void): this;
996
- /**
997
- * Removes a listener for the data event which is emitted when a chunk of data
998
- * is produced.
999
- *
1000
- * @param event - event name
1001
- * @param listener - an event listener callback
1002
- */
1003
- off(event: "data", listener: (chunk: string, level: number) => void): this;
1004
- /**
1005
- * Removes a listener for the end event which is emitted when the XML document
1006
- * is completed.
1007
- *
1008
- * @param event - event name
1009
- * @param listener - an event listener callback
1010
- */
1011
- off(event: "end", listener: () => void): this;
1012
- /**
1013
- * Removes a listener for the error event which is emitted when an error
1014
- * occurs.
1015
- *
1016
- * @param event - event name
1017
- * @param listener - an event listener callback
1018
- */
1019
- off(event: "error", listener: (err: Error) => void): this;
1020
- /**
1021
- * Creates a new element node and appends it to the list of child nodes.
1022
- *
1023
- * @param namespace - element namespace
1024
- * @param name - element name
1025
- * @param attributes - a JS object with element attributes
1026
- *
1027
- * @returns the builder
1028
- */
1029
- ele(namespace: string | null, name: string, attributes?: AttributesObject): this;
1030
- /**
1031
- * Creates a new element node and appends it to the list of child nodes.
1032
- *
1033
- * @param name - element name
1034
- * @param attributes - a JS object with element attributes
1035
- *
1036
- * @returns callback builder
1037
- */
1038
- ele(name: string, attributes?: AttributesObject): this;
1039
- /**
1040
- * Creates new element nodes from the given JS object and appends it to the
1041
- * list of child nodes.
1042
- *
1043
- * @param obj - a JS object representing nodes to insert
1044
- *
1045
- * @returns the last top level element node created
1046
- */
1047
- ele(obj: ExpandObject): this;
1048
- /**
1049
- * Creates or updates an element attribute.
1050
- *
1051
- * @param namespace - namespace of the attribute
1052
- * @param name - attribute name
1053
- * @param value - attribute value
1054
- *
1055
- * @returns callback builder
1056
- */
1057
- att(namespace: string | null, name: string, value: string): this;
1058
- /**
1059
- * Creates or updates an element attribute.
1060
- *
1061
- * @param name - attribute name
1062
- * @param value - attribute value
1063
- *
1064
- * @returns callback builder
1065
- */
1066
- att(name: string, value: string): this;
1067
- /**
1068
- * Creates or updates an element attribute.
1069
- *
1070
- * @param obj - a JS object containing element attributes and values
1071
- *
1072
- * @returns callback builder
1073
- */
1074
- att(obj: AttributesObject): this;
1075
- /**
1076
- * Creates a new text node and appends it to the list of child nodes.
1077
- *
1078
- * @param content - node content
1079
- *
1080
- * @returns callback builder
1081
- */
1082
- txt(content: string): this;
1083
- /**
1084
- * Creates a new comment node and appends it to the list of child nodes.
1085
- *
1086
- * @param content - node content
1087
- *
1088
- * @returns callback builder
1089
- */
1090
- com(content: string): this;
1091
- /**
1092
- * Creates a new CDATA node and appends it to the list of child nodes.
1093
- *
1094
- * @param content - node content
1095
- *
1096
- * @returns callback builder
1097
- */
1098
- dat(content: string): this;
1099
- /**
1100
- * Creates a new processing instruction node and appends it to the list of
1101
- * child nodes.
1102
- *
1103
- * @param target - instruction target
1104
- * @param content - node content
1105
- *
1106
- * @returns callback builder
1107
- */
1108
- ins(target: string, content?: string): this;
1109
- /**
1110
- * Creates new processing instruction nodes by expanding the given object and
1111
- * appends them to the list of child nodes.
1112
- *
1113
- * @param contents - a JS object containing processing instruction targets
1114
- * and values or an array of strings
1115
- *
1116
- * @returns callback builder
1117
- */
1118
- ins(target: PIObject): this;
1119
- /**
1120
- * Creates the XML declaration.
1121
- *
1122
- * @param options - declaration options
1123
- *
1124
- * @returns callback builder
1125
- */
1126
- dec(options?: {
1127
- version?: "1.0";
1128
- encoding?: string;
1129
- standalone?: boolean;
1130
- }): this;
1131
- /**
1132
- * Creates a new DocType node and inserts it into the document.
1133
- *
1134
- * @param options - DocType identifiers
1135
- *
1136
- * @returns callback builder
1137
- */
1138
- dtd(options: DTDOptions & {
1139
- name: string;
1140
- }): this;
1141
- /**
1142
- * Imports a node as a child node of this node. The nodes' descendants and
1143
- * attributes will also be imported.
1144
- *
1145
- * @param node - the node to import
1146
- *
1147
- * _Note:_ The node will be cloned before being imported and this clone will
1148
- * be inserted into the document; not the original node.
1149
- *
1150
- * _Note:_ If the imported node is a document, its document element node will
1151
- * be imported. If the imported node is a document fragment its child nodes
1152
- * will be imported.
1153
- *
1154
- * @returns callback builder
1155
- */
1156
- import(node: XMLBuilder): this;
1157
- /**
1158
- * Closes the current element node.
1159
- *
1160
- * @returns callback builder
1161
- */
1162
- up(): this;
1163
- /**
1164
- * Completes serializing the XML document.
1165
- *
1166
- * @returns callback builder
1167
- */
1168
- end(): this;
1169
- }
1170
- /**
1171
- * Defines the options passed to the callback builder.
1172
- */
1173
- export declare type XMLBuilderCBOptions = CBWriterOptions & {
1174
- /**
1175
- * A callback function which is called when a chunk of XML is serialized.
1176
- */
1177
- data: ((chunk: string, level: number) => void);
1178
- /**
1179
- * A callback function which is called when XML serialization is completed.
1180
- */
1181
- end: (() => void);
1182
- /**
1183
- * A callback function which is called when an error occurs.
1184
- */
1185
- error: ((err: Error) => void);
1186
- /**
1187
- * Whether nodes with `null` values will be kept or ignored
1188
- */
1189
- keepNullNodes: boolean;
1190
- /**
1191
- * Whether attributes with `null` values will be kept or ignored
1192
- */
1193
- keepNullAttributes: boolean;
1194
- /**
1195
- * Whether converter strings will be ignored when converting JS
1196
- * objects to nodes
1197
- */
1198
- ignoreConverters: boolean;
1199
- /**
1200
- * Defines string keys used while converting JS objects to nodes.
1201
- */
1202
- convert: ConvertOptions;
1203
- /**
1204
- * Defines default namespaces to apply to all elements and attributes.
1205
- */
1206
- defaultNamespace: {
1207
- ele?: null | string;
1208
- att?: null | string;
1209
- };
1210
- /**
1211
- * Defines namespace aliases.
1212
- */
1213
- namespaceAlias: {
1214
- [key: string]: string | null;
1215
- };
1216
- /**
1217
- * Replacement for invalid characters in input strings.
1218
- * If `invalidCharReplacement` is a string, each invalid character in an input
1219
- * string will be replaced with it; otherwise if `invalidCharReplacement`
1220
- * is a function it will be passed each invalid character and should return
1221
- * a replacement character.
1222
- */
1223
- invalidCharReplacement: string | ((substring: string, ...args: any[]) => string) | undefined;
1224
- };
1225
- /**
1226
- * Defines the base options passed to the callback builder's serializer.
1227
- */
1228
- export declare type BaseCBWriterOptions = {
1229
- /**
1230
- * Output format. Defaults to `"xml"`.
1231
- * - `"xml"` - Serializes the document as a string in XML format.
1232
- * - `"json"` - Serializes the document as a JSON string.
1233
- * - `"yaml"` - Serializes the document as a YAML string.
1234
- */
1235
- format?: "xml" | "json" | "yaml";
1236
- /**
1237
- * Ensures that the document adheres to the syntax rules specified by the
1238
- * XML specification. If this flag is set and the document is not well-formed
1239
- * errors will be thrown. Defaults to `false`.
1240
- */
1241
- wellFormed: boolean;
1242
- };
1243
- /**
1244
- * Defines the options passed to the callback builder's XML writer.
1245
- */
1246
- export declare type XMLCBWriterOptions = BaseCBWriterOptions & {
1247
- /** @inheritdoc */
1248
- format?: "xml";
1249
- /**
1250
- * Pretty-prints the XML tree. Defaults to `false`.
1251
- */
1252
- prettyPrint: boolean;
1253
- /**
1254
- * Determines the indentation string for pretty printing. Defaults to two
1255
- * space characters.
1256
- */
1257
- indent: string;
1258
- /**
1259
- * Determines the newline string for pretty printing. Defaults to `"\n"`.
1260
- */
1261
- newline: string;
1262
- /**
1263
- * Defines a fixed number of indentations to add to every line. Defaults to
1264
- * `0`.
1265
- */
1266
- offset: number;
1267
- /**
1268
- * Wraps attributes to the next line if the column width exceeds the given
1269
- * value. Defaults to `0` which disables attribute wrapping.
1270
- */
1271
- width: number;
1272
- /**
1273
- * Produces closing tags for empty element nodes. Defaults to `false`. With
1274
- * this option set to `true`, closing tags will be produced for element nodes
1275
- * without child nodes, e.g.
1276
- * ```xml
1277
- * <node></node>
1278
- * ```
1279
- * Otherwise, empty element nodes will be self-closed, e.g.
1280
- * ```xml
1281
- * <node/>
1282
- * ```
1283
- */
1284
- allowEmptyTags: boolean;
1285
- /**
1286
- * Inserts a space character before the slash character of self-closing tags.
1287
- * Defaults to `false`. With this options set to `true`, a space character
1288
- * will be inserted before the slash character of self-closing tags, e.g.
1289
- * ```xml
1290
- * <node />
1291
- * ```
1292
- */
1293
- spaceBeforeSlash: boolean;
1294
- };
1295
- /**
1296
- * Defines the options passed to the callback builder's JSON writer.
1297
- */
1298
- export declare type JSONCBWriterOptions = BaseCBWriterOptions & {
1299
- /** @inheritdoc */
1300
- format?: "json";
1301
- /**
1302
- * Pretty-prints the XML tree. Defaults to `false`.
1303
- */
1304
- prettyPrint: boolean;
1305
- /**
1306
- * Determines the indentation string for pretty printing. Defaults to two
1307
- * space characters.
1308
- */
1309
- indent: string;
1310
- /**
1311
- * Determines the newline string for pretty printing. Defaults to `"\n"`.
1312
- */
1313
- newline: string;
1314
- /**
1315
- * Defines a fixed number of indentations to add to every line. Defaults to
1316
- * `0`.
1317
- */
1318
- offset: number;
1319
- };
1320
- /**
1321
- * Defines the options passed to the the callback builder's YAML writer.
1322
- */
1323
- export declare type YAMLCBWriterOptions = BaseCBWriterOptions & {
1324
- /** @inheritdoc */
1325
- format?: "yaml";
1326
- /**
1327
- * Determines the indentation string. Defaults to two space characters.
1328
- */
1329
- indent: string;
1330
- /**
1331
- * Determines the newline string. Defaults to `"\n"`.
1332
- */
1333
- newline: string;
1334
- /**
1335
- * Defines a fixed number of indentations to add to every line. Defaults to
1336
- * `0`.
1337
- */
1338
- offset: number;
1339
- };
1340
- /**
1341
- * Defines the options passed to the callback builder's writer.
1342
- */
1343
- export declare type CBWriterOptions = XMLCBWriterOptions | JSONCBWriterOptions | YAMLCBWriterOptions;
1344
- /**
1345
- * Defines the options passed to the callback builder.
1346
- */
1347
- export declare type XMLBuilderCBCreateOptions = RecursivePartial<XMLBuilderCBOptions>;
1348
- /**
1349
- * Defines default values for builder options.
1350
- */
1351
- export declare const DefaultXMLBuilderCBOptions: Partial<XMLBuilderCBOptions>;
1352
- declare type RecursivePartial<T> = {
1353
- [P in keyof T]?: T[P] extends (infer U)[] ? RecursivePartial<U>[] : T[P] extends object ? RecursivePartial<T[P]> : T[P];
1354
- };
1355
- export {};