@pokash/n8n-nodes-ksef 0.2.16 → 0.2.18

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 +10 -11
  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,2218 +0,0 @@
1
- import { FixedSizeSet } from "@oozcitak/util";
2
- import { URLRecord } from "@oozcitak/url/lib/interfaces";
3
- /**
4
- * Defines DOM features supported by algorithms.
5
- */
6
- export declare type DOMFeatures = {
7
- /**
8
- * Enables or disables mutation observer algorithms.
9
- */
10
- mutationObservers: boolean;
11
- /**
12
- * Enables or disables custom element algorithms.
13
- */
14
- customElements: boolean;
15
- /**
16
- * Enables or disables slot algorithms.
17
- */
18
- slots: boolean;
19
- /**
20
- * Enables or disables various run steps defined in algorithms.
21
- */
22
- steps: boolean;
23
- [key: string]: boolean;
24
- };
25
- /**
26
- * Represents a window containing a DOM document.
27
- */
28
- export interface Window extends EventTarget {
29
- /**
30
- * Returns the Event which is currently being handled.
31
- *
32
- * _Note:_ Note: This property can be fragile, in that there may be situations
33
- * in which the returned Event is not the expected value. In addition,
34
- * Window.event is not accurate for events dispatched within shadow trees.
35
- */
36
- readonly event?: Event;
37
- /**
38
- * Returns the associated Document.
39
- */
40
- readonly document: Document;
41
- _currentEvent?: Event;
42
- _signalSlots: Set<Slot>;
43
- _mutationObserverMicrotaskQueued: boolean;
44
- _mutationObservers: Set<MutationObserver>;
45
- _associatedDocument: Document;
46
- _iteratorList: FixedSizeSet<NodeIterator>;
47
- }
48
- /**
49
- * Represents a DOM event.
50
- */
51
- export interface Event {
52
- NONE: number;
53
- CAPTURING_PHASE: number;
54
- AT_TARGET: number;
55
- BUBBLING_PHASE: number;
56
- /**
57
- * Returns the type of event.
58
- */
59
- readonly type: string;
60
- /**
61
- * Returns the object to which event is dispatched (its target).
62
- */
63
- readonly target: EventTarget | null;
64
- /**
65
- * Historical alias of target.
66
- */
67
- readonly srcElement: EventTarget | null;
68
- /**
69
- * Returns the object whose event listener's callback is currently
70
- * being invoked.
71
- */
72
- readonly currentTarget: EventTarget | null;
73
- /**
74
- * Returns the event's path (objects on which listeners will be
75
- * invoked). This does not include nodes in shadow trees if the
76
- * shadow root was created with its `mode` `"closed"`.
77
- */
78
- composedPath(): EventTarget[];
79
- /**
80
- * Returns the event's phase.
81
- */
82
- readonly eventPhase: EventPhase;
83
- /**
84
- * Prevents event from reaching any objects other than the current
85
- * object.
86
- */
87
- stopPropagation(): void;
88
- /**
89
- * Historical alias of `stopPropagation()`.
90
- */
91
- cancelBubble: boolean;
92
- /**
93
- * Prevents event from reaching any registered event listeners after
94
- * the current one finishes running.
95
- */
96
- stopImmediatePropagation(): void;
97
- /**
98
- * Returns `true` if the event goes through its target's ancestors in
99
- * reverse tree order, and `false` otherwise.
100
- */
101
- readonly bubbles: boolean;
102
- /**
103
- * A historical alias of `stopPropagation()`.
104
- */
105
- readonly cancelable: boolean;
106
- /**
107
- * Historical property.
108
- */
109
- returnValue: boolean;
110
- /**
111
- * Cancels the event (if it is cancelable).
112
- */
113
- preventDefault(): void;
114
- /**
115
- * Indicates whether the event was cancelled with `preventDefault()`.
116
- */
117
- readonly defaultPrevented: boolean;
118
- /**
119
- * Determines whether the event can bubble to the shadow DOM.
120
- */
121
- readonly composed: boolean;
122
- /**
123
- * Returns `true` if event was dispatched by the user agent, and
124
- * `false` otherwise.
125
- */
126
- readonly isTrusted: boolean;
127
- /**
128
- * Returns the the number of milliseconds measured relative to the
129
- * time origin.
130
- */
131
- readonly timeStamp: number;
132
- /**
133
- * Historical method to initializes the value of an event.
134
- *
135
- * @param type - the type of event.
136
- * @param bubbles - whether the event propagates in reverse.
137
- * @param cancelable - whether the event can be cancelled.
138
- */
139
- initEvent(type: string, bubbles?: boolean, cancelable?: boolean): void;
140
- _target: PotentialEventTarget;
141
- _relatedTarget: PotentialEventTarget;
142
- _touchTargetList: PotentialEventTarget[];
143
- _path: EventPathItem[];
144
- _stopPropagationFlag: boolean;
145
- _stopImmediatePropagationFlag: boolean;
146
- _canceledFlag: boolean;
147
- _inPassiveListenerFlag: boolean;
148
- _composedFlag: boolean;
149
- _initializedFlag: boolean;
150
- _dispatchFlag: boolean;
151
- _isTrusted: boolean;
152
- _currentTarget: PotentialEventTarget;
153
- _eventPhase: EventPhase;
154
- _type: string;
155
- _bubbles: boolean;
156
- _cancelable: boolean;
157
- _timeStamp: number;
158
- }
159
- /**
160
- * Represents and event that carries custom data.
161
- */
162
- export interface CustomEvent extends Event {
163
- /**
164
- * Gets custom event data.
165
- */
166
- readonly detail: any;
167
- /**
168
- * Initializes the value of an event.
169
- *
170
- * @param type - the type of event.
171
- * @param bubbles - whether the event propagates in reverse.
172
- * @param cancelable - whether the event can be cancelled.
173
- * @param detail - custom event data
174
- */
175
- initCustomEvent(type: string, bubbles?: boolean, cancelable?: boolean, detail?: any): void;
176
- }
177
- /**
178
- * Represents an object that is used to observe mutations to the node tree.
179
- */
180
- export interface MutationObserver {
181
- /**
182
- * Observes a given target and reports any mutations based on options.
183
- *
184
- * @param target - the node to observe
185
- * @param options - mutation criteria to observe
186
- */
187
- observe(target: Node, options?: MutationObserverInit): void;
188
- /**
189
- * Stops observing mutations.
190
- */
191
- disconnect(): void;
192
- /**
193
- * Returns the list of mutations.
194
- */
195
- takeRecords(): MutationRecord[];
196
- _callback: MutationCallback;
197
- _nodeList: Node[];
198
- _recordQueue: MutationRecord[];
199
- }
200
- /**
201
- * Represents a mutation record.
202
- */
203
- export interface MutationRecord {
204
- /**
205
- * Returns `"attributes"` if it was an attribute mutation,
206
- * `"characterData"` if it was a mutation to a CharacterData node,
207
- * and `"childList"` if it was a mutation to the tree of nodes.
208
- */
209
- readonly type: "attributes" | "characterData" | "childList";
210
- /**
211
- * Returns the node the mutation affected.
212
- */
213
- readonly target: Node;
214
- /**
215
- * Returns a list of added nodes.
216
- */
217
- readonly addedNodes: NodeList;
218
- /**
219
- * Returns a list of removed nodes.
220
- */
221
- readonly removedNodes: NodeList;
222
- /**
223
- * Returns the previous sibling of added or removed nodes.
224
- */
225
- readonly previousSibling: Node | null;
226
- /**
227
- * Returns the next sibling of added or removed nodes.
228
- */
229
- readonly nextSibling: Node | null;
230
- /**
231
- * Returns the local name of the changed attribute, and `null` otherwise.
232
- */
233
- readonly attributeName: string | null;
234
- /**
235
- * Returns the namespace of the changed attribute, and `null` otherwise.
236
- */
237
- readonly attributeNamespace: string | null;
238
- /**
239
- * Returns a value depending on `type`:
240
- * * For `"attributes"` the attribute value before the change,
241
- * * For `"characterData"` node `data` before the change,
242
- * * For `"childList"` `null`.
243
- */
244
- readonly oldValue: string | null;
245
- }
246
- /**
247
- * Represents an object that receive event notifications.
248
- */
249
- export interface EventListener {
250
- /**
251
- * A callback function that is called when an event occurs.
252
- *
253
- * @param event - the event to handle.
254
- */
255
- handleEvent: (event: Event) => void;
256
- }
257
- /**
258
- * Represents an object that can receive events.
259
- */
260
- export interface EventTarget {
261
- /**
262
- * Registers an event handler.
263
- *
264
- * @param type - event type to listen for.
265
- * @param callback - object to receive a notification when an event occurs.
266
- * @param options - object that specifies event characteristics.
267
- */
268
- addEventListener(type: string, callback: EventListener | null | ((event: Event) => void), options?: {
269
- passive: boolean;
270
- once: boolean;
271
- capture: boolean;
272
- } | boolean): void;
273
- /**
274
- * Removes an event listener.
275
- *
276
- * @param type - event type to listen for.
277
- * @param callback - object to receive a notification when an event occurs.
278
- * @param options - object that specifies event characteristics.
279
- */
280
- removeEventListener(type: string, callback: EventListener | null | ((event: Event) => void), options?: {
281
- capture: boolean;
282
- } | boolean): void;
283
- /**
284
- * Dispatches an event to this event target.
285
- *
286
- * @param event - the event to dispatch.
287
- */
288
- dispatchEvent(event: Event): boolean;
289
- _eventListenerList: EventListenerEntry[];
290
- _eventHandlerMap: {
291
- [key: string]: EventHandlerEntry;
292
- };
293
- /**
294
- * Gets the parent event target for the given event.
295
- *
296
- * @param event - an event
297
- */
298
- _getTheParent(event: Event): EventTarget | null;
299
- /**
300
- * Defines optional activation behavior for the given event.
301
- *
302
- * _Note:_ This exists because user agents perform certain actions for certain
303
- * EventTarget objects, e.g., the area element, in response to synthetic
304
- * MouseEvent events whose type attribute is click. Web compatibility
305
- * prevented it from being removed and it is now the enshrined way of
306
- * defining an activation of something.
307
- *
308
- * @param event - an event
309
- */
310
- _activationBehavior?(event: Event): void;
311
- /**
312
- * Defines optional legacy pre-activation behavior for the given event.
313
- *
314
- * _Note:_ These algorithms only exist for checkbox and radio input elements
315
- * and are not to be used for anything else.
316
- *
317
- * @param event - an event
318
- */
319
- _legacyPreActivationBehavior?(event: Event): void;
320
- /**
321
- * Defines optional legacy canceled activation behavior for the given event.
322
- *
323
- * _Note:_ These algorithms only exist for checkbox and radio input elements
324
- * and are not to be used for anything else.
325
- *
326
- * @param event - an event
327
- */
328
- _legacyCanceledActivationBehavior?(event: Event): void;
329
- }
330
- /**
331
- * Represents a controller that allows to abort DOM requests.
332
- */
333
- export interface AbortController {
334
- /**
335
- * Returns the AbortSignal object associated with this object.
336
- */
337
- readonly signal: AbortSignal;
338
- /**
339
- * Sets the aborted flag and signals any observers that the associated
340
- * activity is to be aborted.
341
- */
342
- abort(): void;
343
- _signal: AbortSignal;
344
- }
345
- /**
346
- * Represents a signal object that communicates with a DOM request and abort
347
- * it through an AbortController.
348
- */
349
- export interface AbortSignal extends EventTarget {
350
- /**
351
- * Returns `true` if the controller is to abort, and `false` otherwise.
352
- */
353
- readonly aborted: boolean;
354
- /**
355
- * Raises an event when the controller has aborted.
356
- */
357
- onabort: EventHandler;
358
- _abortedFlag: boolean;
359
- _abortAlgorithms: Set<(...args: any[]) => any>;
360
- }
361
- /**
362
- * Represents a generic XML node.
363
- */
364
- export interface Node extends EventTarget {
365
- ELEMENT_NODE: number;
366
- ATTRIBUTE_NODE: number;
367
- TEXT_NODE: number;
368
- CDATA_SECTION_NODE: number;
369
- ENTITY_REFERENCE_NODE: number;
370
- ENTITY_NODE: number;
371
- PROCESSING_INSTRUCTION_NODE: number;
372
- COMMENT_NODE: number;
373
- DOCUMENT_NODE: number;
374
- DOCUMENT_TYPE_NODE: number;
375
- DOCUMENT_FRAGMENT_NODE: number;
376
- NOTATION_NODE: number;
377
- DOCUMENT_POSITION_DISCONNECTED: number;
378
- DOCUMENT_POSITION_PRECEDING: number;
379
- DOCUMENT_POSITION_FOLLOWING: number;
380
- DOCUMENT_POSITION_CONTAINS: number;
381
- DOCUMENT_POSITION_CONTAINED_BY: number;
382
- DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;
383
- /**
384
- * Returns the type of node.
385
- */
386
- readonly nodeType: NodeType;
387
- /**
388
- * Returns a string appropriate for the type of node.
389
- */
390
- readonly nodeName: string;
391
- /**
392
- * Gets the absolute base URL of the node.
393
- */
394
- readonly baseURI: string;
395
- /**
396
- * Returns whether the node is rooted to a document node.
397
- */
398
- readonly isConnected: boolean;
399
- /**
400
- * Returns the parent document.
401
- */
402
- readonly ownerDocument: Document | null;
403
- /**
404
- * Returns the root node.
405
- *
406
- * @param options - if options has `composed = true` this function
407
- * returns the node's shadow-including root, otherwise it returns
408
- * the node's root node.
409
- */
410
- getRootNode(options?: GetRootNodeOptions): Node;
411
- /**
412
- * Returns the parent node.
413
- */
414
- readonly parentNode: Node | null;
415
- /**
416
- * Returns the parent element.
417
- */
418
- readonly parentElement: Element | null;
419
- /**
420
- * Determines whether a node has any children.
421
- */
422
- hasChildNodes(): boolean;
423
- /**
424
- * Returns a {@link NodeList} of child nodes.
425
- */
426
- readonly childNodes: NodeList;
427
- /**
428
- * Returns the first child node.
429
- */
430
- readonly firstChild: Node | null;
431
- /**
432
- * Returns the last child node.
433
- */
434
- readonly lastChild: Node | null;
435
- /**
436
- * Returns the previous sibling node.
437
- */
438
- readonly previousSibling: Node | null;
439
- /**
440
- * Returns the next sibling node.
441
- */
442
- readonly nextSibling: Node | null;
443
- /**
444
- * Gets or sets the data associated with a {@link CharacterData} node.
445
- * For other node types returns `null`.
446
- */
447
- nodeValue: string | null;
448
- /**
449
- * Returns the concatenation of data of all the {@link CharacterData}
450
- * node descendants in tree order. When set, replaces the text
451
- * contents of the node with the given value.
452
- */
453
- textContent: string | null;
454
- /**
455
- * Puts all {@link Text} nodes in the full depth of the sub-tree
456
- * underneath this node into a "normal" form where only markup
457
- * (e.g., tags, comments, processing instructions, CDATA sections,
458
- * and entity references) separates {@link Text} nodes, i.e., there
459
- * are no adjacent text nodes.
460
- */
461
- normalize(): void;
462
- /**
463
- * Returns a duplicate of this node, i.e., serves as a generic copy
464
- * constructor for nodes. The duplicate node has no parent
465
- * ({@link parentNode} returns `null`).
466
- *
467
- * @param deep - if `true`, recursively clone the subtree under the
468
- * specified node if `false`, clone only the node itself (and its
469
- * attributes, if it is an {@link Element}).
470
- */
471
- cloneNode(deep?: boolean): Node;
472
- /**
473
- * Determines if the given node is equal to this one.
474
- *
475
- * @param node - the node to compare with
476
- */
477
- isEqualNode(node?: Node | null): boolean;
478
- /**
479
- * Determines if the given node is reference equal to this one.
480
- *
481
- * @param node - the node to compare with
482
- */
483
- isSameNode(node?: Node | null): boolean;
484
- /**
485
- * Returns a bitmask indicating the position of the given `node`
486
- * relative to this node.
487
- */
488
- compareDocumentPosition(node: Node): Position;
489
- /**
490
- * Returns `true` if given node is an inclusive descendant of this
491
- * node, and `false` otherwise (including when other node is `null`).
492
- *
493
- * @param node - the node to check
494
- */
495
- contains(node: Node | null): boolean;
496
- /**
497
- * Returns the prefix for a given namespace URI, if present, and
498
- * `null` if not.
499
- *
500
- * @param namespace - the namespace to search
501
- */
502
- lookupPrefix(namespace: string | null): string | null;
503
- /**
504
- * Returns the namespace URI for a given prefix if present, and `null`
505
- * if not.
506
- *
507
- * @param prefix - the prefix to search
508
- */
509
- lookupNamespaceURI(prefix: string | null): string | null;
510
- /**
511
- * Returns `true` if the namespace is the default namespace on this
512
- * node or `false` if not.
513
- *
514
- * @param namespace - the namespace to check
515
- */
516
- isDefaultNamespace(namespace: string | null): boolean;
517
- /**
518
- * Inserts the node `newChild` before the existing child node
519
- * `refChild`. If `refChild` is `null`, inserts `newChild` at the end
520
- * of the list of children.
521
- *
522
- * If `newChild` is a {@link DocumentFragment} object, all of its
523
- * children are inserted, in the same order, before `refChild`.
524
- *
525
- * If `newChild` is already in the tree, it is first removed.
526
- *
527
- * @param newChild - the node to insert
528
- * @param refChild - the node before which the new node must be
529
- * inserted
530
- *
531
- * @returns the newly inserted child node
532
- */
533
- insertBefore(newChild: Node, refChild: Node | null): Node;
534
- /**
535
- * Adds the node `newChild` to the end of the list of children of this
536
- * node, and returns it. If `newChild` is already in the tree, it is
537
- * first removed.
538
- *
539
- * If `newChild` is a {@link DocumentFragment} object, the entire
540
- * contents of the document fragment are moved into the child list of
541
- * this node.
542
- *
543
- * @param newChild - the node to add
544
- *
545
- * @returns the newly inserted child node
546
- */
547
- appendChild(newChild: Node): Node;
548
- /**
549
- * Replaces the child node `oldChild` with `newChild` in the list of
550
- * children, and returns the `oldChild` node. If `newChild` is already
551
- * in the tree, it is first removed.
552
- *
553
- * @param newChild - the new node to put in the child list
554
- * @param oldChild - the node being replaced in the list
555
- *
556
- * @returns the removed child node
557
- */
558
- replaceChild(newChild: Node, oldChild: Node): Node;
559
- /**
560
- * Removes the child node indicated by `oldChild` from the list of
561
- * children, and returns it.
562
- *
563
- * @param oldChild - the node being removed from the list
564
- *
565
- * @returns the removed child node
566
- */
567
- removeChild(oldChild: Node): Node;
568
- _nodeDocument: Document;
569
- _registeredObserverList: Array<RegisteredObserver | TransientRegisteredObserver>;
570
- /**
571
- * Used to keep track of parent-child relations in the tree. These are
572
- * non-standard properties.
573
- */
574
- _nodeType: NodeType;
575
- _parent: Node | null;
576
- _children: Set<Node>;
577
- _firstChild: Node | null;
578
- _lastChild: Node | null;
579
- _previousSibling: Node | null;
580
- _nextSibling: Node | null;
581
- }
582
- /**
583
- * Represents a generic text node.
584
- */
585
- export interface CharacterData extends Node, NonDocumentTypeChildNode, ChildNode {
586
- /**
587
- * Gets or sets the text data of the node.
588
- */
589
- data: string;
590
- /**
591
- * Returns the number of code units in {@link data}.
592
- */
593
- readonly length: number;
594
- /**
595
- * Returns `count` number of characters from node data starting at
596
- * the given `offset`.
597
- *
598
- * @param offset - the offset at which retrieval starts
599
- * @param count - the number of characters to return
600
- */
601
- substringData(offset: number, count: number): string;
602
- /**
603
- * Appends the given string to text data of the node.
604
- *
605
- * @param data - the string of text to add to node data
606
- */
607
- appendData(data: string): void;
608
- /**
609
- * Inserts the given string into the text data of the node starting at
610
- * the given `offset`.
611
- *
612
- * @param offset - the offset at which insertion starts
613
- * @param data - the string of text to add to node data
614
- */
615
- insertData(offset: number, data: string): void;
616
- /**
617
- * Deletes `count` number of characters from node data starting at
618
- * the given `offset`.
619
- *
620
- * @param offset - the offset at which removal starts
621
- * @param count - the number of characters to delete
622
- */
623
- deleteData(offset: number, count: number): void;
624
- /**
625
- * Deletes `count` number of characters from node data starting at
626
- * the given `offset` and replaces it with the given `data`.
627
- *
628
- * @param offset - the offset at which removal starts
629
- * @param count - the number of characters to delete
630
- * @param data - the string of text to add to node data
631
- */
632
- replaceData(offset: number, count: number, data: string): void;
633
- _data: string;
634
- }
635
- /**
636
- * Represents a text node.
637
- */
638
- export interface Text extends CharacterData, Slotable {
639
- /**
640
- * Splits data at the given offset and returns the remainder as a text
641
- * node.
642
- *
643
- * @param offset - the offset at which to split nodes.
644
- */
645
- splitText(offset: number): Text;
646
- /**
647
- * Returns the combined data of all direct text node siblings.
648
- */
649
- readonly wholeText: string;
650
- }
651
- /**
652
- * Represents a collection of elements.
653
- */
654
- export interface HTMLCollection extends Collection, Iterable<Element> {
655
- /**
656
- * Returns the number of elements in the collection.
657
- */
658
- readonly length: number;
659
- /**
660
- * Returns the element with index `index` from the collection.
661
- *
662
- * @param index - the zero-based index of the element to return
663
- */
664
- item(index: number): Element | null;
665
- /**
666
- * Returns the first element with ID or name `name` from the
667
- * collection.
668
- *
669
- * @param name - the name of the element to return
670
- */
671
- namedItem(name: string): Element | null;
672
- /**
673
- * Returns the element with index index from the collection. The
674
- * elements are sorted in tree order.
675
- */
676
- [index: number]: Element | undefined;
677
- [key: string]: any;
678
- }
679
- /**
680
- * Represents a document node.
681
- */
682
- export interface Document extends Node, NonElementParentNode, DocumentOrShadowRoot, ParentNode {
683
- /**
684
- * Returns the {@link DOMImplementation} object that is associated
685
- * with the document.
686
- */
687
- readonly implementation: DOMImplementation;
688
- /**
689
- * Returns the document's URL.
690
- */
691
- readonly URL: string;
692
- /**
693
- * Gets or sets the document's URL.
694
- */
695
- readonly documentURI: string;
696
- /**
697
- * Returns the document's origin.
698
- */
699
- readonly origin: string;
700
- /**
701
- * Returns whether the document is rendered in Quirks mode or
702
- * Standards mode.
703
- */
704
- readonly compatMode: string;
705
- /**
706
- * Returns the character set.
707
- */
708
- readonly characterSet: string;
709
- /**
710
- * Gets or sets the character set.
711
- */
712
- readonly charset: string;
713
- /**
714
- * Returns the character set.
715
- */
716
- readonly inputEncoding: string;
717
- /**
718
- * Returns the MIME type of the document.
719
- */
720
- readonly contentType: string;
721
- /**
722
- * Returns the {@link DocType} or `null` if there is none.
723
- */
724
- readonly doctype: DocumentType | null;
725
- /**
726
- * Returns the document element or `null` if there is none.
727
- */
728
- readonly documentElement: Element | null;
729
- /**
730
- * Returns a {@link HTMLCollection} of all descendant elements
731
- * whose qualified name is `qualifiedName`.
732
- *
733
- * @param qualifiedName - the qualified name to match or `*` to match all
734
- * descendant elements.
735
- *
736
- * @returns an {@link HTMLCollection} of matching descendant
737
- * elements
738
- */
739
- getElementsByTagName(qualifiedName: string): HTMLCollection;
740
- /**
741
- * Returns a {@link HTMLCollection} of all descendant elements
742
- * whose namespace is `namespace` and local name is `localName`.
743
- *
744
- * @param namespace - the namespace to match or `*` to match any
745
- * namespace.
746
- * @param localName - the local name to match or `*` to match any
747
- * local name.
748
- *
749
- * @returns an {@link HTMLCollection} of matching descendant
750
- * elements
751
- */
752
- getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollection;
753
- /**
754
- * Returns a {@link HTMLCollection} of all descendant elements
755
- * whose classes are contained in the list of classes given in
756
- * `classNames`.
757
- *
758
- * @param classNames - a space-separated list of classes
759
- *
760
- * @returns an {@link HTMLCollection} of matching descendant
761
- * elements
762
- */
763
- getElementsByClassName(classNames: string): HTMLCollection;
764
- /**
765
- * Returns a new {@link Element} with the given `localName`.
766
- *
767
- * @param localName - local name
768
- * @param options - element options
769
- *
770
- * @returns the new {@link Element}
771
- */
772
- createElement(localName: string, options?: string | {
773
- is: string;
774
- }): Element;
775
- /**
776
- * Returns a new {@link Element} with the given `namespace` and
777
- * `qualifiedName`.
778
- *
779
- * @param namespace - namespace URL
780
- * @param qualifiedName - qualified name
781
- * @param options - element options
782
- *
783
- * @returns the new {@link Element}
784
- */
785
- createElementNS(namespace: string | null, qualifiedName: string, options?: string | {
786
- is: string;
787
- }): Element;
788
- /**
789
- * Returns a new {@link DocumentFragment}.
790
- *
791
- * @returns the new {@link DocumentFragment}
792
- */
793
- createDocumentFragment(): DocumentFragment;
794
- /**
795
- * Returns a new {@link Text} with the given `data`.
796
- *
797
- * @param data - text content
798
- *
799
- * @returns the new {@link Text}
800
- */
801
- createTextNode(data: string): Text;
802
- /**
803
- * Returns a new {@link CDATASection} with the given `data`.
804
- *
805
- * @param data - text content
806
- *
807
- * @returns the new {@link CDATASection}
808
- */
809
- createCDATASection(data: string): CDATASection;
810
- /**
811
- * Returns a new {@link Comment} with the given `data`.
812
- *
813
- * @param data - text content
814
- *
815
- * @returns the new {@link Comment}
816
- */
817
- createComment(data: string): Comment;
818
- /**
819
- * Returns a new {@link ProcessingInstruction} with the given `target`
820
- * and `data`.
821
- *
822
- * @param target - instruction target
823
- * @param data - text content
824
- *
825
- * @returns the new {@link ProcessingInstruction}
826
- */
827
- createProcessingInstruction(target: string, data: string): ProcessingInstruction;
828
- /**
829
- * Returns a copy of `node`.
830
- *
831
- * @param deep - true to include descendant nodes.
832
- *
833
- * @returns clone of node
834
- */
835
- importNode(node: Node, deep?: boolean): Node;
836
- /**
837
- * Moves `node` from another document into this document and returns
838
- * it.
839
- *
840
- * @param node - node to move.
841
- *
842
- * @returns the adopted node
843
- */
844
- adoptNode(node: Node): Node;
845
- /**
846
- * Returns a new {@link Attr} with the given `localName`.
847
- *
848
- * @param localName - local name
849
- *
850
- * @returns the new {@link Attr}
851
- */
852
- createAttribute(localName: string): Attr;
853
- /**
854
- * Returns a new {@link Attr} with the given `namespace` and
855
- * `qualifiedName`.
856
- *
857
- * @param namespace - namespace URL
858
- * @param qualifiedName - qualified name
859
- *
860
- * @returns the new {@link Attr}
861
- */
862
- createAttributeNS(namespace: string | null, qualifiedName: string): Attr;
863
- /**
864
- * Creates an event of the type specified.
865
- *
866
- * @param eventInterface - a string representing the type of event
867
- * to be created
868
- */
869
- createEvent(eventInterface: string): Event;
870
- /**
871
- * Creates a new Range object.
872
- */
873
- createRange(): Range;
874
- /**
875
- * Creates a new `NodeIterator` object.
876
- * @param root - the node to which the iterator is attached.
877
- * @param whatToShow - a filter on node type.
878
- * @param filter - a user defined filter.
879
- */
880
- createNodeIterator(root: Node, whatToShow?: WhatToShow, filter?: NodeFilter | ((node: Node) => FilterResult) | null): NodeIterator;
881
- /**
882
- * Creates a new `TreeWalker` object.
883
- * @param root - the node to which the iterator is attached.
884
- * @param whatToShow - a filter on node type.
885
- * @param filter - a user defined filter.
886
- */
887
- createTreeWalker(root: Node, whatToShow?: WhatToShow, filter?: NodeFilter | ((node: Node) => FilterResult) | null): TreeWalker;
888
- _encoding: {
889
- name: string;
890
- labels: string[];
891
- };
892
- _contentType: string;
893
- _URL: URLRecord;
894
- _origin: Origin;
895
- _type: "xml" | "html";
896
- _mode: "no-quirks" | "quirks" | "limited-quirks";
897
- _documentElement: Element | null;
898
- _hasNamespaces: boolean;
899
- }
900
- /**
901
- * Represents an XML document.
902
- */
903
- export interface XMLDocument extends Document {
904
- }
905
- /**
906
- * Represents a document fragment in the XML tree.
907
- */
908
- export interface DocumentFragment extends Node, NonElementParentNode, ParentNode {
909
- _host: Element | null;
910
- }
911
- /**
912
- * Represents a shadow root.
913
- */
914
- export interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot {
915
- /**
916
- * Gets the shadow root's mode.
917
- */
918
- readonly mode: ShadowRootMode;
919
- /**
920
- * Gets the shadow root's host.
921
- */
922
- readonly host: Element;
923
- _host: Element;
924
- _mode: ShadowRootMode;
925
- }
926
- /**
927
- * Represents an element node.
928
- */
929
- export interface Element extends Node, ParentNode, NonDocumentTypeChildNode, ChildNode, Slotable {
930
- /**
931
- * Gets the namespace URI.
932
- */
933
- readonly namespaceURI: string | null;
934
- /**
935
- * Gets the namespace prefix.
936
- */
937
- readonly prefix: string | null;
938
- /**
939
- * Gets the local name.
940
- */
941
- readonly localName: string;
942
- /**
943
- * If namespace prefix is not `null`, returns the concatenation of
944
- * namespace prefix, `":"`, and local name. Otherwise it returns the
945
- * local name.
946
- */
947
- readonly tagName: string;
948
- /**
949
- * Gets or sets the identifier of this element.
950
- */
951
- id: string;
952
- /**
953
- * Gets or sets the class name of this element.
954
- */
955
- className: string;
956
- /**
957
- * Returns a {@link DOMTokenList} with tokens from the class
958
- * attribute.
959
- */
960
- readonly classList: DOMTokenList;
961
- /**
962
- * Gets or sets the slot attribute of this element.
963
- */
964
- slot: string;
965
- /**
966
- * Determines if the element node contains any attributes.
967
- */
968
- hasAttributes(): boolean;
969
- /**
970
- * Returns a {@link NamedNodeMap} of attributes.
971
- */
972
- readonly attributes: NamedNodeMap;
973
- /**
974
- * Returns the list of all attribute's qualified names.
975
- */
976
- getAttributeNames(): string[];
977
- /**
978
- * Returns the value of the attribute with the given `name`.
979
- *
980
- * @param qualifiedName - attribute name
981
- */
982
- getAttribute(qualifiedName: string): string | null;
983
- /**
984
- * Returns the value of the attribute with the given `namespace` and
985
- * `localName`.
986
- *
987
- * @param namespace - namespace to search for
988
- * @param localName - local name to search for
989
- */
990
- getAttributeNS(namespace: string | null, localName: string): string | null;
991
- /**
992
- * Sets the value of the attribute with the given `name`.
993
- *
994
- * @param qualifiedName - attribute name
995
- * @param value - attribute value to set
996
- */
997
- setAttribute(qualifiedName: string, value: string): void;
998
- /**
999
- * Sets the value of the attribute with the given `namespace` and
1000
- * `qualifiedName`.
1001
- *
1002
- * @param namespace - namespace to search for
1003
- * @param qualifiedName - qualified name to search for
1004
- * @param value - attribute value to set
1005
- */
1006
- setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
1007
- /**
1008
- * Removes the attribute with the given `name`.
1009
- *
1010
- * @param qualifiedName - attribute name
1011
- */
1012
- removeAttribute(qualifiedName: string): void;
1013
- /**
1014
- * Removes the attribute with the given `namespace` and `localName`.
1015
- *
1016
- * @param namespace - namespace to search for
1017
- * @param localName - local name to search for
1018
- */
1019
- removeAttributeNS(namespace: string | null, localName: string): void;
1020
- /**
1021
- * Determines whether the attribute with the given `name` exists.
1022
- *
1023
- * @param qualifiedName - attribute name
1024
- */
1025
- hasAttribute(qualifiedName: string): boolean;
1026
- /**
1027
- * Toggles a boolean attribute (removing it if it is present and adding it
1028
- * if it is not present).
1029
- *
1030
- * @param qualifiedName - attribute name
1031
- * @param force - whether the attribute should be added or removed,
1032
- * no matter whether the attribute is present or not
1033
- */
1034
- toggleAttribute(qualifiedName: string, force?: boolean): boolean;
1035
- /**
1036
- * Determines whether the attribute with the given `namespace` and
1037
- * `localName` exists.
1038
- *
1039
- * @param namespace - namespace to search for
1040
- * @param localName - local name to search for
1041
- */
1042
- hasAttributeNS(namespace: string | null, localName: string): boolean;
1043
- /**
1044
- * Returns the attribute with the given `name`.
1045
- *
1046
- * @param qualifiedName - attribute name
1047
- */
1048
- getAttributeNode(qualifiedName: string): Attr | null;
1049
- /**
1050
- * Returns the attribute with the given `namespace` and
1051
- * `localName`.
1052
- *
1053
- * @param namespace - namespace to search for
1054
- * @param localName - local name to search for
1055
- */
1056
- getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
1057
- /**
1058
- * Sets the attribute given with `attr`.
1059
- *
1060
- * @param attr - attribute to set
1061
- */
1062
- setAttributeNode(attr: Attr): Attr | null;
1063
- /**
1064
- * Sets the attribute given with `attr`.
1065
- *
1066
- * @param attr - attribute to set
1067
- */
1068
- setAttributeNodeNS(attr: Attr): Attr | null;
1069
- /**
1070
- * Removes the given attribute.
1071
- *
1072
- * @param attr - attribute to remove
1073
- */
1074
- removeAttributeNode(attr: Attr): Attr;
1075
- /**
1076
- * Creates a shadow root for element and returns it.
1077
- *
1078
- * @param init - A ShadowRootInit dictionary.
1079
- */
1080
- attachShadow(init: {
1081
- mode: ShadowRootMode;
1082
- }): ShadowRoot;
1083
- /**
1084
- * Returns element's shadow root, if any, and if shadow root's mode
1085
- * is `"open"`, and null otherwise.
1086
- */
1087
- readonly shadowRoot: ShadowRoot | null;
1088
- /**
1089
- * Returns the first (starting at element) inclusive ancestor that
1090
- * matches selectors, and `null` otherwise.
1091
- *
1092
- * @param selectors
1093
- */
1094
- closest(selectors: string): Element | null;
1095
- /**
1096
- * Returns `true` if matching selectors against element's root yields
1097
- * element, and `false` otherwise.
1098
- *
1099
- * @param selectors
1100
- */
1101
- matches(selectors: string): boolean;
1102
- /**
1103
- * Historical alias of `matches`.
1104
- */
1105
- webkitMatchesSelector(selectors: string): boolean;
1106
- /**
1107
- * Returns a {@link HTMLCollection} of all descendant elements
1108
- * whose qualified name is `qualifiedName`.
1109
- *
1110
- * @param qualifiedName - the qualified name to match or `*` to match
1111
- * all descendant elements.
1112
- *
1113
- * @returns an {@link HTMLCollection} of matching descendant
1114
- * elements
1115
- */
1116
- getElementsByTagName(qualifiedName: string): HTMLCollection;
1117
- /**
1118
- * Returns a {@link HTMLCollection} of all descendant elements
1119
- * whose namespace is `namespace` and local name is `localName`.
1120
- *
1121
- * @param namespace - the namespace to match or `*` to match any
1122
- * namespace.
1123
- * @param localName - the local name to match or `*` to match any
1124
- * local name.
1125
- *
1126
- * @returns an {@link HTMLCollection} of matching descendant
1127
- * elements
1128
- */
1129
- getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollection;
1130
- /**
1131
- * Returns a {@link HTMLCollection} of all descendant elements
1132
- * whose classes are contained in the list of classes given in
1133
- * `classNames`.
1134
- *
1135
- * @param classNames - a space-separated list of classes
1136
- *
1137
- * @returns an {@link HTMLCollection} of matching descendant
1138
- * elements
1139
- */
1140
- getElementsByClassName(classNames: string): HTMLCollection;
1141
- /**
1142
- * Inserts a given element node at a given position relative to this
1143
- * node.
1144
- *
1145
- * @param where - a string defining where to insert the element node.
1146
- * - `beforebegin` before this element itself.
1147
- * - `afterbegin` before the first child.
1148
- * - `beforeend` after the last child.
1149
- * - `afterend` after this element itself.
1150
- * @param element - the element to insert
1151
- *
1152
- * @returns the inserted element
1153
- */
1154
- insertAdjacentElement(where: "beforebegin" | "afterbegin" | "beforeend" | "afterend", element: Element): Element | null;
1155
- /**
1156
- * Inserts a given text node at a given position relative to this
1157
- * node.
1158
- *
1159
- * @param where - a string defining where to insert the element node.
1160
- * - `beforebegin` before this element itself.
1161
- * - `afterbegin` before the first child.
1162
- * - `beforeend` after the last child.
1163
- * - `afterend` after this element itself.
1164
- * @param data - text node data
1165
- *
1166
- * @returns the inserted element
1167
- */
1168
- insertAdjacentText(where: "beforebegin" | "afterbegin" | "beforeend" | "afterend", data: string): void;
1169
- _namespace: string | null;
1170
- _namespacePrefix: string | null;
1171
- _localName: string;
1172
- _customElementState: "undefined" | "failed" | "uncustomized" | "custom";
1173
- _customElementDefinition: CustomElementDefinition | null;
1174
- _is: string | null;
1175
- _shadowRoot: ShadowRoot | null;
1176
- readonly _qualifiedName: string;
1177
- readonly _htmlUppercasedQualifiedName: string;
1178
- _attributeList: NamedNodeMap;
1179
- _attributeChangeSteps: AttributeChangeStep[];
1180
- _uniqueIdentifier?: string;
1181
- }
1182
- /**
1183
- * Represents an object providing methods which are not dependent on
1184
- * any particular document
1185
- */
1186
- export interface DocumentType extends Node, ChildNode {
1187
- /**
1188
- * Returns the name of the node.
1189
- */
1190
- readonly name: string;
1191
- /**
1192
- * Returns the `PUBLIC` identifier of the node.
1193
- */
1194
- readonly publicId: string;
1195
- /**
1196
- * Returns the `SYSTEM` identifier of the node.
1197
- */
1198
- readonly systemId: string;
1199
- _name: string;
1200
- _publicId: string;
1201
- _systemId: string;
1202
- }
1203
- /**
1204
- * Represents a mixin that extends non-element parent nodes. This mixin
1205
- * is implemented by {@link Document} and {@link DocumentFragment}.
1206
- */
1207
- export interface NonElementParentNode {
1208
- /**
1209
- * Returns an {@link Element} who has an id attribute `elementId`.
1210
- *
1211
- * @param id - the value of the `id` attribute to match
1212
- */
1213
- getElementById(id: string): Element | null;
1214
- }
1215
- /**
1216
- * Represents a mixin for an interface to be used to share APIs between
1217
- * documents and shadow roots. This mixin is implemented by
1218
- * {@link Document} and {@link ShadowRoot}.
1219
- */
1220
- export interface DocumentOrShadowRoot {
1221
- }
1222
- /**
1223
- * Represents a mixin that extends parent nodes that can have children.
1224
- * This mixin is implemented by {@link Element}, {@link Document} and
1225
- * {@link DocumentFragment}.
1226
- */
1227
- export interface ParentNode {
1228
- /**
1229
- * Returns the child elements.
1230
- */
1231
- readonly children: HTMLCollection;
1232
- /**
1233
- * Returns the first child that is an element, and `null` otherwise.
1234
- */
1235
- readonly firstElementChild: Element | null;
1236
- /**
1237
- * Returns the last child that is an element, and `null` otherwise.
1238
- */
1239
- readonly lastElementChild: Element | null;
1240
- /**
1241
- * Returns the number of children that are elements.
1242
- */
1243
- readonly childElementCount: number;
1244
- /**
1245
- * Prepends the list of nodes or strings before the first child node.
1246
- * Strings are converted into {@link Text} nodes.
1247
- *
1248
- * @param nodes - the array of nodes or strings
1249
- */
1250
- prepend(...nodes: (Node | string)[]): void;
1251
- /**
1252
- * Appends the list of nodes or strings after the last child node.
1253
- * Strings are converted into {@link Text} nodes.
1254
- *
1255
- * @param nodes - the array of nodes or strings
1256
- */
1257
- append(...nodes: (Node | string)[]): void;
1258
- /**
1259
- * Returns the first element that is a descendant of node that
1260
- * matches selectors.
1261
- *
1262
- * @param selectors - a selectors string
1263
- */
1264
- querySelector(selectors: string): Element | null;
1265
- /**
1266
- * Returns all element descendants of node that match selectors.
1267
- *
1268
- * @param selectors - a selectors string
1269
- */
1270
- querySelectorAll(selectors: string): NodeList;
1271
- }
1272
- /**
1273
- * Represents a mixin that extends child nodes that can have siblings
1274
- * including doctypes. This mixin is implemented by {@link Element},
1275
- * {@link CharacterData} and {@link DocumentType}.
1276
- */
1277
- export interface ChildNode {
1278
- /**
1279
- * Inserts nodes just before this node, while replacing strings in
1280
- * nodes with equivalent text nodes.
1281
- */
1282
- before(...nodes: (Node | string)[]): void;
1283
- /**
1284
- * Inserts nodes just after this node, while replacing strings in
1285
- * nodes with equivalent text nodes.
1286
- */
1287
- after(...nodes: (Node | string)[]): void;
1288
- /**
1289
- * Replaces nodes with this node, while replacing strings in
1290
- * nodes with equivalent text nodes.
1291
- */
1292
- replaceWith(...nodes: (Node | string)[]): void;
1293
- /**
1294
- * Removes this node form its tree.
1295
- */
1296
- remove(): void;
1297
- }
1298
- /**
1299
- * Represents a slot element of a shadow tree.
1300
- */
1301
- export interface Slot extends Element {
1302
- _name: string;
1303
- _assignedNodes: Slotable[];
1304
- }
1305
- /**
1306
- * Represents a mixin that allows nodes to become the contents of
1307
- * a <slot> element. This mixin is implemented by {@link Element} and
1308
- * {@link Text}.
1309
- */
1310
- export interface Slotable {
1311
- /**
1312
- * Returns the <slot> element which this node is inserted in.
1313
- */
1314
- readonly assignedSlot: HTMLSlotElement | null;
1315
- _name: string;
1316
- _assignedSlot: Slot | null;
1317
- }
1318
- /**
1319
- * Represents an attribute of an element node.
1320
- */
1321
- export interface Attr extends Node {
1322
- /**
1323
- * Gets the namespace URI.
1324
- */
1325
- readonly namespaceURI: string | null;
1326
- /**
1327
- * Gets the namespace prefix.
1328
- */
1329
- readonly prefix: string | null;
1330
- /**
1331
- * Gets the local name.
1332
- */
1333
- readonly localName: string;
1334
- /**
1335
- * If namespace prefix is not `null`, returns the concatenation of
1336
- * namespace prefix, `":"`, and local name. Otherwise it returns the
1337
- * local name.
1338
- */
1339
- readonly name: string;
1340
- /**
1341
- * Gets or sets the attribute value.
1342
- */
1343
- value: string;
1344
- /**
1345
- * Gets the owner element node.
1346
- */
1347
- readonly ownerElement: Element | null;
1348
- /**
1349
- * Useless always returns true
1350
- */
1351
- readonly specified: boolean;
1352
- _namespace: string | null;
1353
- _namespacePrefix: string | null;
1354
- _localName: string;
1355
- _value: string;
1356
- _element: Element | null;
1357
- readonly _qualifiedName: string;
1358
- }
1359
- /**
1360
- * Represents a CDATA node.
1361
- */
1362
- export interface CDATASection extends Text {
1363
- }
1364
- /**
1365
- * Represents a comment node.
1366
- */
1367
- export interface Comment extends CharacterData {
1368
- }
1369
- /**
1370
- * Represents an object providing methods which are not dependent on
1371
- * any particular document
1372
- */
1373
- export interface DOMImplementation {
1374
- createDocumentType(qualifiedName: string, publicId: string, systemId: string): DocumentType;
1375
- /**
1376
- * Creates and returns an {@link XMLDocument}.
1377
- *
1378
- * @param namespace - the namespace of the document element
1379
- * @param qualifiedName - the qualified name of the document element
1380
- * @param doctype - a {@link DocType} to assign to this document
1381
- */
1382
- createDocument(namespace: string | null, qualifiedName: string, doctype?: DocumentType | null): XMLDocument;
1383
- /**
1384
- * Creates and returns a HTML document.
1385
- *
1386
- * @param title - document title
1387
- */
1388
- createHTMLDocument(title?: string): Document;
1389
- /**
1390
- * Obsolete, always returns true.
1391
- */
1392
- hasFeature(): boolean;
1393
- _ID: string;
1394
- _associatedDocument: Document;
1395
- }
1396
- /**
1397
- * Represents a token set.
1398
- */
1399
- export interface DOMTokenList extends Iterable<string> {
1400
- /**
1401
- * Returns the number of tokens.
1402
- */
1403
- readonly length: number;
1404
- /**
1405
- * Returns the token at the given index.
1406
- *
1407
- * @param index - the index to of the token
1408
- */
1409
- item(index: number): string | null;
1410
- /**
1411
- * Returns true if the set contains the given token.
1412
- *
1413
- * @param tokens - the token to check
1414
- */
1415
- contains(token: string): boolean;
1416
- /**
1417
- * Adds the given tokens to the set.
1418
- *
1419
- * @param tokens - the list of tokens to add
1420
- */
1421
- add(...tokens: string[]): void;
1422
- /**
1423
- * Removes the given tokens from the set.
1424
- *
1425
- * @param tokens - the list of tokens to remove
1426
- */
1427
- remove(...tokens: string[]): void;
1428
- /**
1429
- * Removes a given token from the set and returns `false` if it exists,
1430
- * otherwise adds the token and returns `true`.
1431
- *
1432
- * @param token - the token to toggle
1433
- * @param force - if `false` the token will only be removed but not
1434
- * added again otherwise if `true` the token will only be added but
1435
- * not removed again.
1436
- *
1437
- * @returns `false` if the token is not in the list after the call,
1438
- * or `true` if the token is in the list after the call.
1439
- */
1440
- toggle(token: string, force?: boolean | undefined): boolean;
1441
- /**
1442
- * Replaces the given token with a new token.
1443
- *
1444
- * @param token - the token to replace
1445
- * @param newToken - the new token
1446
- *
1447
- * @returns `true` if `token` was replaced with `newToken`,
1448
- * and `false` otherwise.
1449
- */
1450
- replace(token: string, newToken: string): boolean;
1451
- /**
1452
- * Determines if a given token is in the associated attribute's
1453
- * supported tokens
1454
- *
1455
- * @param token - the token to check
1456
- */
1457
- supports(token: string): boolean;
1458
- /**
1459
- * Gets the value of the token list as a string, or sets the token
1460
- * list to the given value.
1461
- */
1462
- value: string;
1463
- _tokenSet: Set<string>;
1464
- _element: Element;
1465
- _attribute: Attr;
1466
- }
1467
- /**
1468
- * Represents a collection of attributes.
1469
- */
1470
- export interface NamedNodeMap {
1471
- /**
1472
- * Returns the number of attribute in the collection.
1473
- */
1474
- readonly length: number;
1475
- /**
1476
- * Returns the attribute with index `index` from the collection.
1477
- *
1478
- * @param index - the zero-based index of the attribute to return
1479
- */
1480
- item(index: number): Attr | null;
1481
- /**
1482
- * Returns the attribute with the given `qualifiedName`.
1483
- *
1484
- * @param qualifiedName - qualified name to search for
1485
- */
1486
- getNamedItem(qualifiedName: string): Attr | null;
1487
- /**
1488
- * Returns the attribute with the given `namespace` and
1489
- * `qualifiedName`.
1490
- *
1491
- * @param namespace - namespace to search for
1492
- * @param localName - local name to search for
1493
- */
1494
- getNamedItemNS(namespace: string | null, localName: string): Attr | null;
1495
- /**
1496
- * Sets the attribute given with `attr`.
1497
- *
1498
- * @param attr - attribute to set
1499
- */
1500
- setNamedItem(attr: Attr): Attr | null;
1501
- /**
1502
- * Sets the attribute given with `attr`.
1503
- *
1504
- * @param attr - attribute to set
1505
- */
1506
- setNamedItemNS(attr: Attr): Attr | null;
1507
- /**
1508
- * Removes the attribute with the given `qualifiedName`.
1509
- *
1510
- * @param qualifiedName - qualified name to search for
1511
- */
1512
- removeNamedItem(qualifiedName: string): Attr;
1513
- /**
1514
- * Removes the attribute with the given `namespace` and
1515
- * `qualifiedName`.
1516
- *
1517
- * @param namespace - namespace to search for
1518
- * @param localName - local name to search for
1519
- */
1520
- removeNamedItemNS(namespace: string | null, localName: string): Attr;
1521
- /**
1522
- * Returns the attribute with index `index` from the collection. Returns
1523
- * `undefined` is index is out of bounds.
1524
- */
1525
- [index: number]: Attr;
1526
- /**
1527
- * Iterates over all attribute in the collection.
1528
- */
1529
- [Symbol.iterator](): IterableIterator<Attr>;
1530
- _element: Element;
1531
- _asArray(): Array<Attr>;
1532
- }
1533
- /**
1534
- * Represents a node filter.
1535
- */
1536
- export interface NodeFilter {
1537
- FILTER_ACCEPT: number;
1538
- FILTER_REJECT: number;
1539
- FILTER_SKIP: number;
1540
- SHOW_ALL: number;
1541
- SHOW_ELEMENT: number;
1542
- SHOW_ATTRIBUTE: number;
1543
- SHOW_TEXT: number;
1544
- SHOW_CDATA_SECTION: number;
1545
- SHOW_ENTITY_REFERENCE: number;
1546
- SHOW_ENTITY: number;
1547
- SHOW_PROCESSING_INSTRUCTION: number;
1548
- SHOW_COMMENT: number;
1549
- SHOW_DOCUMENT: number;
1550
- SHOW_DOCUMENT_TYPE: number;
1551
- SHOW_DOCUMENT_FRAGMENT: number;
1552
- SHOW_NOTATION: number;
1553
- /**
1554
- * Callback function.
1555
- */
1556
- acceptNode(node: Node): FilterResult;
1557
- }
1558
- /**
1559
- * Represents a collection of nodes.
1560
- */
1561
- export interface Collection {
1562
- _live: boolean;
1563
- _root: Node;
1564
- _filter: ((element: Element) => any) | null;
1565
- }
1566
- /**
1567
- * Represents an ordered list of nodes.
1568
- */
1569
- export interface NodeList extends Collection, Iterable<Node> {
1570
- /**
1571
- * Returns the number of nodes in the list.
1572
- */
1573
- readonly length: number;
1574
- /**
1575
- * Returns an iterator for node indices.
1576
- */
1577
- keys(): Iterable<number>;
1578
- /**
1579
- * Returns an iterator for nodes.
1580
- */
1581
- values(): Iterable<Node>;
1582
- /**
1583
- * Returns an iterator for indices and nodes.
1584
- */
1585
- entries(): Iterable<[number, Node]>;
1586
- /**
1587
- * Returns the node with index `index` from the collection.
1588
- *
1589
- * @param index - the zero-based index of the node to return
1590
- */
1591
- item(index: number): Node | null;
1592
- /**
1593
- * Returns the node at the given index from the collection. Returns `undefined`
1594
- * if the index is out-of-bounds.
1595
- */
1596
- [index: number]: Node | undefined;
1597
- /**
1598
- * Returns an iterator for the node list.
1599
- */
1600
- [Symbol.iterator](): Iterator<Node>;
1601
- /**
1602
- * Calls the callback function for each node in the list. The callback
1603
- * receives arguments as follows:
1604
- * - the current node
1605
- * - index of the current node
1606
- * - the node list object
1607
- *
1608
- * @param callback - function to execute for each node
1609
- * @param thisArg - value to use as `this` when executing callback
1610
- */
1611
- forEach(callback: (node: Node, index: number, list: NodeList) => any, thisArg?: any): void;
1612
- /**
1613
- * Used to keep track of child node count. This is a non-standard property.
1614
- */
1615
- _length: number;
1616
- }
1617
- /**
1618
- * Represents a mixin that extends child nodes that can have siblings
1619
- * other than doctypes. This mixin is implemented by {@link Element} and
1620
- * {@link CharacterData}.
1621
- */
1622
- export interface NonDocumentTypeChildNode {
1623
- /**
1624
- * Returns the previous sibling that is an element node.
1625
- */
1626
- readonly previousElementSibling: Element | null;
1627
- /**
1628
- * Returns the next sibling that is an element node.
1629
- */
1630
- readonly nextElementSibling: Element | null;
1631
- }
1632
- /**
1633
- * Represents a processing instruction node.
1634
- */
1635
- export interface ProcessingInstruction extends CharacterData {
1636
- /**
1637
- * Gets the target of the node.
1638
- */
1639
- readonly target: string;
1640
- _target: string;
1641
- }
1642
- /**
1643
- * Represents an object which can be used to traverse through the nodes
1644
- * of a subtree.
1645
- */
1646
- export interface Traverser {
1647
- /**
1648
- * Gets the root node of the subtree.
1649
- */
1650
- readonly root: Node;
1651
- /**
1652
- * Gets the node types to match.
1653
- */
1654
- readonly whatToShow: WhatToShow;
1655
- /**
1656
- * Gets the filter used to selected the nodes.
1657
- */
1658
- readonly filter: NodeFilter | null;
1659
- _activeFlag: boolean;
1660
- _root: Node;
1661
- _whatToShow: WhatToShow;
1662
- _filter: NodeFilter | null;
1663
- }
1664
- /**
1665
- * Represents an object which can be used to iterate through the nodes
1666
- * of a subtree.
1667
- */
1668
- export interface NodeIterator extends Traverser {
1669
- /**
1670
- * Gets the node current node of the.
1671
- */
1672
- readonly referenceNode: Node;
1673
- /**
1674
- * Gets a flag that indicates whether the iterator is anchored before
1675
- * or after the reference node. If is `true`, the iterator is anchored
1676
- * before the node, otherwise it is anchored after the node.
1677
- */
1678
- readonly pointerBeforeReferenceNode: boolean;
1679
- /**
1680
- * Returns the next node in the subtree, or `null` if there are none.
1681
- */
1682
- nextNode(): Node | null;
1683
- /**
1684
- * Returns the previous node in the subtree, or `null` if there
1685
- * are none.
1686
- */
1687
- previousNode(): Node | null;
1688
- /**
1689
- * Removes a range object from its owner document.
1690
- *
1691
- * _Note:_ According to the specification, this method is a no-op.
1692
- * However, since JavaScript lacks weak references, there is no reliable
1693
- * method of detecting out-of-scope variables. So, it is recommended to
1694
- * manually `detach` range objects after using them.
1695
- */
1696
- detach(): void;
1697
- _iteratorCollection: Collection;
1698
- _reference: Node;
1699
- _pointerBeforeReference: boolean;
1700
- }
1701
- /**
1702
- * Represents the nodes of a subtree and a position within them.
1703
- */
1704
- export interface TreeWalker extends Traverser {
1705
- /**
1706
- * Gets or sets the node to which the iterator is pointing at.
1707
- */
1708
- currentNode: Node;
1709
- /**
1710
- * Moves the iterator to the first parent node of current node, and
1711
- * returns it. Returns `null` if no such node exists.
1712
- */
1713
- parentNode(): Node | null;
1714
- /**
1715
- * Moves the iterator to the first child node of current node, and
1716
- * returns it. Returns `null` if no such node exists.
1717
- */
1718
- firstChild(): Node | null;
1719
- /**
1720
- * Moves the iterator to the last child node of current node, and
1721
- * returns it. Returns `null` if no such node exists.
1722
- */
1723
- lastChild(): Node | null;
1724
- /**
1725
- * Moves the iterator to the next sibling of current node, and
1726
- * returns it. Returns `null` if no such node exists.
1727
- */
1728
- nextSibling(): Node | null;
1729
- /**
1730
- * Moves the iterator to the previous sibling of current node, and
1731
- * returns it. Returns `null` if no such node exists.
1732
- */
1733
- previousSibling(): Node | null;
1734
- /**
1735
- * Returns the next node in the subtree, or `null` if there are none.
1736
- */
1737
- nextNode(): Node | null;
1738
- /**
1739
- * Returns the previous node in the subtree, or `null` if there
1740
- * are none.
1741
- */
1742
- previousNode(): Node | null;
1743
- _current: Node;
1744
- }
1745
- /**
1746
- * Represents an abstract range with a start and end boundary point.
1747
- */
1748
- export interface AbstractRange {
1749
- /**
1750
- * Returns the start node of the range.
1751
- */
1752
- readonly startContainer: Node;
1753
- /**
1754
- * Returns the start offset of the range.
1755
- */
1756
- readonly startOffset: number;
1757
- /**
1758
- * Returns the end node of the range.
1759
- */
1760
- readonly endContainer: Node;
1761
- /**
1762
- * Returns the end offest of the range.
1763
- */
1764
- readonly endOffset: number;
1765
- /**
1766
- * Returns `true` if the range starts and ends at the same point.
1767
- */
1768
- readonly collapsed: boolean;
1769
- _start: BoundaryPoint;
1770
- _end: BoundaryPoint;
1771
- readonly _startNode: Node;
1772
- readonly _startOffset: number;
1773
- readonly _endNode: Node;
1774
- readonly _endOffset: number;
1775
- readonly _collapsed: boolean;
1776
- }
1777
- /**
1778
- * Represents a static range.
1779
- */
1780
- export interface StaticRange extends AbstractRange {
1781
- }
1782
- /**
1783
- * Represents a live range.
1784
- */
1785
- export interface Range extends AbstractRange {
1786
- START_TO_START: number;
1787
- START_TO_END: number;
1788
- END_TO_END: number;
1789
- END_TO_START: number;
1790
- /**
1791
- * Returns the node, furthest away from the document, that is an
1792
- * ancestor of both range's start node and end node.
1793
- */
1794
- readonly commonAncestorContainer: Node;
1795
- /**
1796
- * Sets the start of the range to the given boundary point.
1797
- *
1798
- * @param node - node of the boundary point
1799
- * @param offset - offset of the boundary point along node's content
1800
- */
1801
- setStart(node: Node, offset: number): void;
1802
- /**
1803
- * Sets the end of the range to the given boundary point.
1804
- *
1805
- * @param node - node of the boundary point
1806
- * @param offset - offset of the boundary point along node's content
1807
- */
1808
- setEnd(node: Node, offset: number): void;
1809
- /**
1810
- * Sets the start of the range to just before the given node.
1811
- *
1812
- * @param node - node of the boundary point
1813
- */
1814
- setStartBefore(node: Node): void;
1815
- /**
1816
- * Sets the start of the range to just after the given node.
1817
- *
1818
- * @param node - node of the boundary point
1819
- */
1820
- setStartAfter(node: Node): void;
1821
- /**
1822
- * Sets the end of the range to just before the given node.
1823
- *
1824
- * @param node - node of the boundary point
1825
- */
1826
- setEndBefore(node: Node): void;
1827
- /**
1828
- * Sets the end of the range to just after the given node.
1829
- *
1830
- * @param node - node of the boundary point
1831
- */
1832
- setEndAfter(node: Node): void;
1833
- /**
1834
- * Collapses the range.
1835
- *
1836
- * @param toStart - `true` to collapse to start node, otherwise
1837
- * `false` to collapse to the end node.
1838
- */
1839
- collapse(toStart?: boolean): void;
1840
- /**
1841
- * Sets the range to contain the given node.
1842
- *
1843
- * @param node - the range to select
1844
- */
1845
- selectNode(node: Node): void;
1846
- /**
1847
- * Sets the range to contain the given node's contens.
1848
- *
1849
- * @param node - the range to select
1850
- */
1851
- selectNodeContents(node: Node): void;
1852
- /**
1853
- * Compares the boundary points of this range with another one.
1854
- *
1855
- * @param how - comparison method:
1856
- * * `EndToEnd` - compares the end boundary-point of `sourceRange` to the end
1857
- * boundary-point of this range.
1858
- * * `EndToStart` - compares the end boundary-point of `sourceRange` to the
1859
- * start boundary-point of this range.
1860
- * * `StartToEnd` - compares the start boundary-point of `sourceRange` to the
1861
- * end boundary-point of this range.
1862
- * * `StartToStart` - compares the start boundary-point of `sourceRange` to
1863
- * the start boundary-point of this range.
1864
- * @param sourceRange - the range to compare to
1865
- *
1866
- * @returns a number depending on boundaries of ranges relative to each other:
1867
- * * `-1` if the corresponding boundary point of this is range comes before
1868
- * that of `sourceRange`
1869
- * * `1` if the corresponding boundary point of this is range comes after
1870
- * that of `sourceRange`
1871
- * * `0` if corresponding boundary points of both ranges are equal
1872
- */
1873
- compareBoundaryPoints(how: HowToCompare, sourceRange: Range): number;
1874
- /**
1875
- * Removes the contents of the range from the tree.
1876
- */
1877
- deleteContents(): void;
1878
- /**
1879
- * Moves the contents of the range to a document fragment.
1880
- */
1881
- extractContents(): DocumentFragment;
1882
- /**
1883
- * Copies the contents of the range to a document fragment.
1884
- */
1885
- cloneContents(): DocumentFragment;
1886
- /**
1887
- * Inserts a node at the start boundary point.
1888
- *
1889
- * @param node - the node to insert
1890
- */
1891
- insertNode(node: Node): void;
1892
- /**
1893
- * Moves content of the Range into a new node, placing the new node
1894
- * at the start of the range.
1895
- *
1896
- * @param newParent - a node to receive range's content
1897
- */
1898
- surroundContents(newParent: Node): void;
1899
- /**
1900
- * Creates a new range with identical boundary points.
1901
- */
1902
- cloneRange(): Range;
1903
- /**
1904
- * Unused method. Kept for compatibility.
1905
- */
1906
- detach(): void;
1907
- /**
1908
- * Determines whether the range contains the given boundary point.
1909
- *
1910
- * @param node - the node of the boundary point
1911
- * @param offset - the offset of the boundary point
1912
- */
1913
- isPointInRange(node: Node, offset: number): boolean;
1914
- /**
1915
- * Returns `-1`, `0`, or `1` depending on whether `node` is
1916
- * before, the same as, or after the range.
1917
- *
1918
- * @param node - the node to compare
1919
- * @param offset - an offset within node
1920
- */
1921
- comparePoint(node: Node, offset: number): number;
1922
- /**
1923
- * Determines whether the given node intersects the range.
1924
- *
1925
- * @param node - the node to check
1926
- */
1927
- intersectsNode(node: Node): boolean;
1928
- }
1929
- /**
1930
- * Represents a html element node.
1931
- */
1932
- export interface HTMLElement extends Element {
1933
- }
1934
- /**
1935
- * Represents a `<slot>` element.
1936
- */
1937
- export interface HTMLSlotElement extends HTMLElement {
1938
- }
1939
- /**
1940
- * Defines the position of a boundary point relative to another.
1941
- */
1942
- export declare enum BoundaryPosition {
1943
- Before = 0,
1944
- Equal = 1,
1945
- After = 2
1946
- }
1947
- /**
1948
- * Defines the event phase.
1949
- */
1950
- export declare enum EventPhase {
1951
- None = 0,
1952
- Capturing = 1,
1953
- AtTarget = 2,
1954
- Bubbling = 3
1955
- }
1956
- /**
1957
- * Defines the type of a node object.
1958
- */
1959
- export declare enum NodeType {
1960
- Element = 1,
1961
- Attribute = 2,
1962
- Text = 3,
1963
- CData = 4,
1964
- EntityReference = 5,
1965
- Entity = 6,
1966
- ProcessingInstruction = 7,
1967
- Comment = 8,
1968
- Document = 9,
1969
- DocumentType = 10,
1970
- DocumentFragment = 11,
1971
- Notation = 12
1972
- }
1973
- /**
1974
- * Defines the position of a node in the document relative to another
1975
- * node.
1976
- */
1977
- export declare enum Position {
1978
- Disconnected = 1,
1979
- Preceding = 2,
1980
- Following = 4,
1981
- Contains = 8,
1982
- ContainedBy = 16,
1983
- ImplementationSpecific = 32
1984
- }
1985
- /**
1986
- * Defines the return value of a filter callback.
1987
- */
1988
- export declare enum FilterResult {
1989
- Accept = 1,
1990
- Reject = 2,
1991
- Skip = 3
1992
- }
1993
- /**
1994
- * Defines what to show in node filter.
1995
- */
1996
- export declare enum WhatToShow {
1997
- All = 4294967295,
1998
- Element = 1,
1999
- Attribute = 2,
2000
- Text = 4,
2001
- CDataSection = 8,
2002
- EntityReference = 16,
2003
- Entity = 32,
2004
- ProcessingInstruction = 64,
2005
- Comment = 128,
2006
- Document = 256,
2007
- DocumentType = 512,
2008
- DocumentFragment = 1024,
2009
- Notation = 2048
2010
- }
2011
- /**
2012
- * Defines how boundary points are compared.
2013
- */
2014
- export declare enum HowToCompare {
2015
- StartToStart = 0,
2016
- StartToEnd = 1,
2017
- EndToEnd = 2,
2018
- EndToStart = 3
2019
- }
2020
- /**
2021
- * Represents settings for the getRootNode() function.
2022
- */
2023
- export interface GetRootNodeOptions {
2024
- composed?: boolean;
2025
- }
2026
- /**
2027
- * Represents event initialization options.
2028
- */
2029
- export interface EventInit {
2030
- bubbles?: boolean;
2031
- cancelable?: boolean;
2032
- composed?: boolean;
2033
- }
2034
- /**
2035
- * Represents custom event initialization options.
2036
- */
2037
- export interface CustomEventInit extends EventInit {
2038
- detail?: any;
2039
- }
2040
- /**
2041
- * Defines event listener options.
2042
- */
2043
- export interface EventListenerOptions {
2044
- capture?: boolean;
2045
- }
2046
- /**
2047
- * Defines options for the `addEventListener` function.
2048
- */
2049
- export interface AddEventListenerOptions extends EventListenerOptions {
2050
- passive?: boolean;
2051
- once?: boolean;
2052
- }
2053
- /**
2054
- * Defines the criteria for the mutations to observe.
2055
- */
2056
- export interface MutationObserverInit {
2057
- childList?: boolean;
2058
- attributes?: boolean;
2059
- characterData?: boolean;
2060
- subtree?: boolean;
2061
- attributeOldValue?: boolean;
2062
- characterDataOldValue?: boolean;
2063
- attributeFilter?: string[];
2064
- }
2065
- /**
2066
- * Defines an entry in the event listeners list.
2067
- */
2068
- export declare type EventListenerEntry = {
2069
- type: string;
2070
- callback: EventListener;
2071
- capture: boolean;
2072
- passive: boolean;
2073
- once: boolean;
2074
- removed: boolean;
2075
- };
2076
- /**
2077
- * Defines a non-null event handler.
2078
- */
2079
- export declare type EventHandlerNonNull = ((event: Event) => any);
2080
- /**
2081
- * Defines an event handler.
2082
- */
2083
- export declare type EventHandler = EventHandlerNonNull | null;
2084
- /**
2085
- * Defines a struct containing an event handler.
2086
- */
2087
- export declare type EventHandlerEntry = {
2088
- value: EventHandler;
2089
- listener: EventListenerEntry | null;
2090
- };
2091
- /**
2092
- * Defines static range constructor parameters.
2093
- */
2094
- export declare type StaticRangeInit = {
2095
- startContainer: Node;
2096
- startOffset: number;
2097
- endContainer: Node;
2098
- endOffset: number;
2099
- };
2100
- /**
2101
- * Defines a boundary point which is a tuple consisting of a node and an offset
2102
- * into the node's contents.
2103
- */
2104
- export declare type BoundaryPoint = [Node, number];
2105
- /**
2106
- * Defines a callback function which is invoked after nodes registered with the
2107
- * observe() method, are mutated.
2108
- *
2109
- * @param mutations - a list of `MutationRecord` objects
2110
- * @param observer - the constructed `MutationObserver` object
2111
- */
2112
- export declare type MutationCallback = (mutations: MutationRecord[], observer: MutationObserver) => void;
2113
- /**
2114
- * Represents a registered observer associated with a node.
2115
- */
2116
- export declare type RegisteredObserver = {
2117
- observer: MutationObserver;
2118
- options: MutationObserverInit;
2119
- };
2120
- /**
2121
- * Represents a transient registered observer associated with a node.
2122
- * Transient registered observers are used to track mutations within a given
2123
- * node's descendants after node has been removed so they do not get lost when
2124
- * subtree is set to true on node's parent.
2125
- */
2126
- export declare type TransientRegisteredObserver = RegisteredObserver & {
2127
- source: RegisteredObserver;
2128
- };
2129
- /**
2130
- * Defines the mode of a shadow root.
2131
- */
2132
- export declare type ShadowRootMode = 'open' | 'closed';
2133
- /**
2134
- * Represents a potential event target.
2135
- */
2136
- export declare type PotentialEventTarget = EventTarget | null;
2137
- /**
2138
- * Represents an object on the event path.
2139
- */
2140
- export declare type EventPathItem = {
2141
- invocationTarget: EventTarget;
2142
- invocationTargetInShadowTree: boolean;
2143
- shadowAdjustedTarget: PotentialEventTarget;
2144
- relatedTarget: PotentialEventTarget;
2145
- touchTargetList: PotentialEventTarget[];
2146
- rootOfClosedTree: boolean;
2147
- slotInClosedTree: boolean;
2148
- };
2149
- /**
2150
- * Represents a document origin.
2151
- * `null` represents an opaque origin.
2152
- */
2153
- export declare type Origin = null | [string, // scheme
2154
- // scheme
2155
- string | number | number[], // host
2156
- // host
2157
- null | number, // port
2158
- // port
2159
- null | string];
2160
- /**
2161
- * Represents a `<slot>` element.
2162
- */
2163
- export interface HTMLSlotElement {
2164
- name: string;
2165
- assignedNodes(options?: any): Node[];
2166
- assignedElements(options?: any): Element[];
2167
- }
2168
- /**
2169
- * Represents a `UIEvent`.
2170
- */
2171
- export interface UIEvent extends Event {
2172
- readonly view?: Window;
2173
- readonly detail: number;
2174
- }
2175
- /**
2176
- * Represents a `MouseEvent`.
2177
- */
2178
- export interface MouseEvent extends UIEvent {
2179
- readonly screenX: number;
2180
- readonly screenY: number;
2181
- readonly clientX: number;
2182
- readonly clientY: number;
2183
- readonly ctrlKey: boolean;
2184
- readonly shiftKey: boolean;
2185
- readonly altKey: boolean;
2186
- readonly metaKey: boolean;
2187
- readonly button: number;
2188
- readonly buttons: number;
2189
- readonly relatedTarget?: EventTarget;
2190
- getModifierState(keyArg: string): boolean;
2191
- }
2192
- /**
2193
- * Represents a custom element definition.
2194
- */
2195
- export declare type CustomElementDefinition = {
2196
- name: string;
2197
- localName: string;
2198
- constructor: (new (...args: any[]) => Element);
2199
- observedAttributes: string[];
2200
- lifecycleCallbacks: {
2201
- "connectedCallback": ((args: any[]) => any) | null;
2202
- "disconnectedCallback": ((args: any[]) => any) | null;
2203
- "adoptedCallback": ((args: any) => any[]) | null;
2204
- "attributeChangedCallback": ((args: any[]) => any) | null;
2205
- "formAssociatedCallback": ((args: any[]) => any) | null;
2206
- "formDisabledCallback": ((args: any[]) => any) | null;
2207
- "formResetCallback": ((args: any[]) => any) | null;
2208
- "formStateRestoreCallback": ((args: any[]) => any) | null;
2209
- };
2210
- constructionStack: (Element | boolean)[];
2211
- formAssociated: boolean;
2212
- disableInternals: boolean;
2213
- disableShadow: boolean;
2214
- };
2215
- /**
2216
- * Defines an attribute change step.
2217
- */
2218
- export declare type AttributeChangeStep = ((element: Element, localName: string, oldValue: string | null, value: string | null, namespace: string | null) => any);