@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.
- package/package.json +10 -11
- package/node_modules/@oozcitak/dom/LICENSE +0 -21
- package/node_modules/@oozcitak/dom/README.md +0 -32
- package/node_modules/@oozcitak/dom/lib/algorithm/AbortAlgorithm.d.ts +0 -21
- package/node_modules/@oozcitak/dom/lib/algorithm/AbortAlgorithm.js +0 -79
- package/node_modules/@oozcitak/dom/lib/algorithm/AbortAlgorithm.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/algorithm/AttrAlgorithm.d.ts +0 -8
- package/node_modules/@oozcitak/dom/lib/algorithm/AttrAlgorithm.js +0 -23
- package/node_modules/@oozcitak/dom/lib/algorithm/AttrAlgorithm.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/algorithm/BoundaryPointAlgorithm.d.ts +0 -8
- package/node_modules/@oozcitak/dom/lib/algorithm/BoundaryPointAlgorithm.js +0 -76
- package/node_modules/@oozcitak/dom/lib/algorithm/BoundaryPointAlgorithm.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/algorithm/CharacterDataAlgorithm.d.ts +0 -19
- package/node_modules/@oozcitak/dom/lib/algorithm/CharacterDataAlgorithm.js +0 -140
- package/node_modules/@oozcitak/dom/lib/algorithm/CharacterDataAlgorithm.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/algorithm/CreateAlgorithm.d.ts +0 -192
- package/node_modules/@oozcitak/dom/lib/algorithm/CreateAlgorithm.js +0 -303
- package/node_modules/@oozcitak/dom/lib/algorithm/CreateAlgorithm.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/algorithm/CustomElementAlgorithm.d.ts +0 -61
- package/node_modules/@oozcitak/dom/lib/algorithm/CustomElementAlgorithm.js +0 -108
- package/node_modules/@oozcitak/dom/lib/algorithm/CustomElementAlgorithm.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/algorithm/DOMAlgorithm.d.ts +0 -72
- package/node_modules/@oozcitak/dom/lib/algorithm/DOMAlgorithm.js +0 -288
- package/node_modules/@oozcitak/dom/lib/algorithm/DOMAlgorithm.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/algorithm/DOMTokenListAlgorithm.d.ts +0 -21
- package/node_modules/@oozcitak/dom/lib/algorithm/DOMTokenListAlgorithm.js +0 -61
- package/node_modules/@oozcitak/dom/lib/algorithm/DOMTokenListAlgorithm.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/algorithm/DocumentAlgorithm.d.ts +0 -29
- package/node_modules/@oozcitak/dom/lib/algorithm/DocumentAlgorithm.js +0 -161
- package/node_modules/@oozcitak/dom/lib/algorithm/DocumentAlgorithm.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/algorithm/ElementAlgorithm.d.ts +0 -121
- package/node_modules/@oozcitak/dom/lib/algorithm/ElementAlgorithm.js +0 -608
- package/node_modules/@oozcitak/dom/lib/algorithm/ElementAlgorithm.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/algorithm/EventAlgorithm.d.ts +0 -146
- package/node_modules/@oozcitak/dom/lib/algorithm/EventAlgorithm.js +0 -995
- package/node_modules/@oozcitak/dom/lib/algorithm/EventAlgorithm.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/algorithm/EventTargetAlgorithm.d.ts +0 -33
- package/node_modules/@oozcitak/dom/lib/algorithm/EventTargetAlgorithm.js +0 -142
- package/node_modules/@oozcitak/dom/lib/algorithm/EventTargetAlgorithm.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/algorithm/MutationAlgorithm.d.ts +0 -66
- package/node_modules/@oozcitak/dom/lib/algorithm/MutationAlgorithm.js +0 -1173
- package/node_modules/@oozcitak/dom/lib/algorithm/MutationAlgorithm.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/algorithm/MutationObserverAlgorithm.d.ts +0 -43
- package/node_modules/@oozcitak/dom/lib/algorithm/MutationObserverAlgorithm.js +0 -276
- package/node_modules/@oozcitak/dom/lib/algorithm/MutationObserverAlgorithm.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/algorithm/NamespaceAlgorithm.d.ts +0 -25
- package/node_modules/@oozcitak/dom/lib/algorithm/NamespaceAlgorithm.js +0 -85
- package/node_modules/@oozcitak/dom/lib/algorithm/NamespaceAlgorithm.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/algorithm/NodeAlgorithm.d.ts +0 -68
- package/node_modules/@oozcitak/dom/lib/algorithm/NodeAlgorithm.js +0 -543
- package/node_modules/@oozcitak/dom/lib/algorithm/NodeAlgorithm.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/algorithm/NodeIteratorAlgorithm.d.ts +0 -15
- package/node_modules/@oozcitak/dom/lib/algorithm/NodeIteratorAlgorithm.js +0 -105
- package/node_modules/@oozcitak/dom/lib/algorithm/NodeIteratorAlgorithm.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/algorithm/OrderedSetAlgorithm.d.ts +0 -27
- package/node_modules/@oozcitak/dom/lib/algorithm/OrderedSetAlgorithm.js +0 -125
- package/node_modules/@oozcitak/dom/lib/algorithm/OrderedSetAlgorithm.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/algorithm/ParentNodeAlgorithm.d.ts +0 -9
- package/node_modules/@oozcitak/dom/lib/algorithm/ParentNodeAlgorithm.js +0 -69
- package/node_modules/@oozcitak/dom/lib/algorithm/ParentNodeAlgorithm.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/algorithm/RangeAlgorithm.d.ts +0 -82
- package/node_modules/@oozcitak/dom/lib/algorithm/RangeAlgorithm.js +0 -829
- package/node_modules/@oozcitak/dom/lib/algorithm/RangeAlgorithm.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/algorithm/SelectorsAlgorithm.d.ts +0 -8
- package/node_modules/@oozcitak/dom/lib/algorithm/SelectorsAlgorithm.js +0 -21
- package/node_modules/@oozcitak/dom/lib/algorithm/SelectorsAlgorithm.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/algorithm/ShadowTreeAlgorithm.d.ts +0 -57
- package/node_modules/@oozcitak/dom/lib/algorithm/ShadowTreeAlgorithm.js +0 -316
- package/node_modules/@oozcitak/dom/lib/algorithm/ShadowTreeAlgorithm.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/algorithm/TextAlgorithm.d.ts +0 -30
- package/node_modules/@oozcitak/dom/lib/algorithm/TextAlgorithm.js +0 -226
- package/node_modules/@oozcitak/dom/lib/algorithm/TextAlgorithm.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/algorithm/TraversalAlgorithm.d.ts +0 -8
- package/node_modules/@oozcitak/dom/lib/algorithm/TraversalAlgorithm.js +0 -62
- package/node_modules/@oozcitak/dom/lib/algorithm/TraversalAlgorithm.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/algorithm/TreeAlgorithm.d.ts +0 -268
- package/node_modules/@oozcitak/dom/lib/algorithm/TreeAlgorithm.js +0 -853
- package/node_modules/@oozcitak/dom/lib/algorithm/TreeAlgorithm.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/algorithm/TreeWalkerAlgorithm.d.ts +0 -17
- package/node_modules/@oozcitak/dom/lib/algorithm/TreeWalkerAlgorithm.js +0 -147
- package/node_modules/@oozcitak/dom/lib/algorithm/TreeWalkerAlgorithm.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/algorithm/WebIDLAlgorithm.d.ts +0 -8
- package/node_modules/@oozcitak/dom/lib/algorithm/WebIDLAlgorithm.js +0 -14
- package/node_modules/@oozcitak/dom/lib/algorithm/WebIDLAlgorithm.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/algorithm/XMLAlgorithm.d.ts +0 -25
- package/node_modules/@oozcitak/dom/lib/algorithm/XMLAlgorithm.js +0 -164
- package/node_modules/@oozcitak/dom/lib/algorithm/XMLAlgorithm.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/algorithm/index.d.ts +0 -28
- package/node_modules/@oozcitak/dom/lib/algorithm/index.js +0 -34
- package/node_modules/@oozcitak/dom/lib/algorithm/index.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/dom/AbortControllerImpl.d.ts +0 -15
- package/node_modules/@oozcitak/dom/lib/dom/AbortControllerImpl.js +0 -32
- package/node_modules/@oozcitak/dom/lib/dom/AbortControllerImpl.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/dom/AbortSignalImpl.d.ts +0 -23
- package/node_modules/@oozcitak/dom/lib/dom/AbortSignalImpl.js +0 -59
- package/node_modules/@oozcitak/dom/lib/dom/AbortSignalImpl.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/dom/AbstractRangeImpl.d.ts +0 -23
- package/node_modules/@oozcitak/dom/lib/dom/AbstractRangeImpl.js +0 -70
- package/node_modules/@oozcitak/dom/lib/dom/AbstractRangeImpl.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/dom/AttrImpl.d.ts +0 -45
- package/node_modules/@oozcitak/dom/lib/dom/AttrImpl.js +0 -118
- package/node_modules/@oozcitak/dom/lib/dom/AttrImpl.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/dom/CDATASectionImpl.d.ts +0 -21
- package/node_modules/@oozcitak/dom/lib/dom/CDATASectionImpl.js +0 -51
- package/node_modules/@oozcitak/dom/lib/dom/CDATASectionImpl.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/dom/CharacterDataImpl.d.ts +0 -35
- package/node_modules/@oozcitak/dom/lib/dom/CharacterDataImpl.js +0 -132
- package/node_modules/@oozcitak/dom/lib/dom/CharacterDataImpl.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/dom/ChildNodeImpl.d.ts +0 -16
- package/node_modules/@oozcitak/dom/lib/dom/ChildNodeImpl.js +0 -165
- package/node_modules/@oozcitak/dom/lib/dom/ChildNodeImpl.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/dom/CommentImpl.d.ts +0 -21
- package/node_modules/@oozcitak/dom/lib/dom/CommentImpl.js +0 -52
- package/node_modules/@oozcitak/dom/lib/dom/CommentImpl.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/dom/CustomEventImpl.d.ts +0 -16
- package/node_modules/@oozcitak/dom/lib/dom/CustomEventImpl.js +0 -60
- package/node_modules/@oozcitak/dom/lib/dom/CustomEventImpl.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/dom/DOMException.d.ts +0 -171
- package/node_modules/@oozcitak/dom/lib/dom/DOMException.js +0 -347
- package/node_modules/@oozcitak/dom/lib/dom/DOMException.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/dom/DOMImpl.d.ts +0 -48
- package/node_modules/@oozcitak/dom/lib/dom/DOMImpl.js +0 -100
- package/node_modules/@oozcitak/dom/lib/dom/DOMImpl.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/dom/DOMImplementationImpl.d.ts +0 -29
- package/node_modules/@oozcitak/dom/lib/dom/DOMImplementationImpl.js +0 -149
- package/node_modules/@oozcitak/dom/lib/dom/DOMImplementationImpl.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/dom/DOMTokenListImpl.d.ts +0 -46
- package/node_modules/@oozcitak/dom/lib/dom/DOMTokenListImpl.js +0 -312
- package/node_modules/@oozcitak/dom/lib/dom/DOMTokenListImpl.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/dom/DocumentFragmentImpl.d.ts +0 -32
- package/node_modules/@oozcitak/dom/lib/dom/DocumentFragmentImpl.js +0 -103
- package/node_modules/@oozcitak/dom/lib/dom/DocumentFragmentImpl.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/dom/DocumentImpl.d.ts +0 -116
- package/node_modules/@oozcitak/dom/lib/dom/DocumentImpl.js +0 -545
- package/node_modules/@oozcitak/dom/lib/dom/DocumentImpl.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/dom/DocumentOrShadowRootImpl.d.ts +0 -11
- package/node_modules/@oozcitak/dom/lib/dom/DocumentOrShadowRootImpl.js +0 -17
- package/node_modules/@oozcitak/dom/lib/dom/DocumentOrShadowRootImpl.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/dom/DocumentTypeImpl.d.ts +0 -39
- package/node_modules/@oozcitak/dom/lib/dom/DocumentTypeImpl.js +0 -109
- package/node_modules/@oozcitak/dom/lib/dom/DocumentTypeImpl.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/dom/ElementImpl.d.ts +0 -132
- package/node_modules/@oozcitak/dom/lib/dom/ElementImpl.js +0 -714
- package/node_modules/@oozcitak/dom/lib/dom/ElementImpl.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/dom/EventImpl.d.ts +0 -74
- package/node_modules/@oozcitak/dom/lib/dom/EventImpl.js +0 -313
- package/node_modules/@oozcitak/dom/lib/dom/EventImpl.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/dom/EventTargetImpl.d.ts +0 -30
- package/node_modules/@oozcitak/dom/lib/dom/EventTargetImpl.js +0 -133
- package/node_modules/@oozcitak/dom/lib/dom/EventTargetImpl.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/dom/HTMLCollectionImpl.d.ts +0 -44
- package/node_modules/@oozcitak/dom/lib/dom/HTMLCollectionImpl.js +0 -157
- package/node_modules/@oozcitak/dom/lib/dom/HTMLCollectionImpl.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/dom/MutationObserverImpl.d.ts +0 -22
- package/node_modules/@oozcitak/dom/lib/dom/MutationObserverImpl.js +0 -184
- package/node_modules/@oozcitak/dom/lib/dom/MutationObserverImpl.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/dom/MutationRecordImpl.d.ts +0 -73
- package/node_modules/@oozcitak/dom/lib/dom/MutationRecordImpl.js +0 -116
- package/node_modules/@oozcitak/dom/lib/dom/MutationRecordImpl.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/dom/NamedNodeMapImpl.d.ts +0 -34
- package/node_modules/@oozcitak/dom/lib/dom/NamedNodeMapImpl.js +0 -112
- package/node_modules/@oozcitak/dom/lib/dom/NamedNodeMapImpl.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/dom/NodeFilterImpl.d.ts +0 -50
- package/node_modules/@oozcitak/dom/lib/dom/NodeFilterImpl.js +0 -64
- package/node_modules/@oozcitak/dom/lib/dom/NodeFilterImpl.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/dom/NodeImpl.d.ts +0 -252
- package/node_modules/@oozcitak/dom/lib/dom/NodeImpl.js +0 -891
- package/node_modules/@oozcitak/dom/lib/dom/NodeImpl.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/dom/NodeIteratorImpl.d.ts +0 -34
- package/node_modules/@oozcitak/dom/lib/dom/NodeIteratorImpl.js +0 -86
- package/node_modules/@oozcitak/dom/lib/dom/NodeIteratorImpl.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/dom/NodeListImpl.d.ts +0 -46
- package/node_modules/@oozcitak/dom/lib/dom/NodeListImpl.js +0 -198
- package/node_modules/@oozcitak/dom/lib/dom/NodeListImpl.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/dom/NodeListStaticImpl.d.ts +0 -49
- package/node_modules/@oozcitak/dom/lib/dom/NodeListStaticImpl.js +0 -188
- package/node_modules/@oozcitak/dom/lib/dom/NodeListStaticImpl.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/dom/NonDocumentTypeChildNodeImpl.d.ts +0 -12
- package/node_modules/@oozcitak/dom/lib/dom/NonDocumentTypeChildNodeImpl.js +0 -53
- package/node_modules/@oozcitak/dom/lib/dom/NonDocumentTypeChildNodeImpl.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/dom/NonElementParentNodeImpl.d.ts +0 -9
- package/node_modules/@oozcitak/dom/lib/dom/NonElementParentNodeImpl.js +0 -31
- package/node_modules/@oozcitak/dom/lib/dom/NonElementParentNodeImpl.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/dom/ParentNodeImpl.d.ts +0 -24
- package/node_modules/@oozcitak/dom/lib/dom/ParentNodeImpl.js +0 -158
- package/node_modules/@oozcitak/dom/lib/dom/ParentNodeImpl.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/dom/ProcessingInstructionImpl.d.ts +0 -25
- package/node_modules/@oozcitak/dom/lib/dom/ProcessingInstructionImpl.js +0 -59
- package/node_modules/@oozcitak/dom/lib/dom/ProcessingInstructionImpl.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/dom/RangeImpl.d.ts +0 -71
- package/node_modules/@oozcitak/dom/lib/dom/RangeImpl.js +0 -649
- package/node_modules/@oozcitak/dom/lib/dom/RangeImpl.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/dom/ShadowRootImpl.d.ts +0 -33
- package/node_modules/@oozcitak/dom/lib/dom/ShadowRootImpl.js +0 -82
- package/node_modules/@oozcitak/dom/lib/dom/ShadowRootImpl.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/dom/SlotableImpl.d.ts +0 -16
- package/node_modules/@oozcitak/dom/lib/dom/SlotableImpl.js +0 -35
- package/node_modules/@oozcitak/dom/lib/dom/SlotableImpl.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/dom/StaticRangeImpl.d.ts +0 -13
- package/node_modules/@oozcitak/dom/lib/dom/StaticRangeImpl.js +0 -48
- package/node_modules/@oozcitak/dom/lib/dom/StaticRangeImpl.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/dom/TextImpl.d.ts +0 -28
- package/node_modules/@oozcitak/dom/lib/dom/TextImpl.js +0 -109
- package/node_modules/@oozcitak/dom/lib/dom/TextImpl.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/dom/TraverserImpl.d.ts +0 -23
- package/node_modules/@oozcitak/dom/lib/dom/TraverserImpl.js +0 -41
- package/node_modules/@oozcitak/dom/lib/dom/TraverserImpl.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/dom/TreeWalkerImpl.d.ts +0 -36
- package/node_modules/@oozcitak/dom/lib/dom/TreeWalkerImpl.js +0 -249
- package/node_modules/@oozcitak/dom/lib/dom/TreeWalkerImpl.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/dom/WindowImpl.d.ts +0 -26
- package/node_modules/@oozcitak/dom/lib/dom/WindowImpl.js +0 -57
- package/node_modules/@oozcitak/dom/lib/dom/WindowImpl.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/dom/XMLDocumentImpl.d.ts +0 -11
- package/node_modules/@oozcitak/dom/lib/dom/XMLDocumentImpl.js +0 -31
- package/node_modules/@oozcitak/dom/lib/dom/XMLDocumentImpl.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/dom/index.d.ts +0 -36
- package/node_modules/@oozcitak/dom/lib/dom/index.js +0 -102
- package/node_modules/@oozcitak/dom/lib/dom/index.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/dom/interfaces.d.ts +0 -2218
- package/node_modules/@oozcitak/dom/lib/dom/interfaces.js +0 -91
- package/node_modules/@oozcitak/dom/lib/dom/interfaces.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/index.d.ts +0 -3
- package/node_modules/@oozcitak/dom/lib/index.js +0 -11
- package/node_modules/@oozcitak/dom/lib/index.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/parser/DOMParserImpl.d.ts +0 -11
- package/node_modules/@oozcitak/dom/lib/parser/DOMParserImpl.js +0 -37
- package/node_modules/@oozcitak/dom/lib/parser/DOMParserImpl.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/parser/XMLParserImpl.d.ts +0 -26
- package/node_modules/@oozcitak/dom/lib/parser/XMLParserImpl.js +0 -240
- package/node_modules/@oozcitak/dom/lib/parser/XMLParserImpl.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/parser/XMLStringLexer.d.ts +0 -159
- package/node_modules/@oozcitak/dom/lib/parser/XMLStringLexer.js +0 -512
- package/node_modules/@oozcitak/dom/lib/parser/XMLStringLexer.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/parser/index.d.ts +0 -1
- package/node_modules/@oozcitak/dom/lib/parser/index.js +0 -6
- package/node_modules/@oozcitak/dom/lib/parser/index.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/parser/interfaces.d.ts +0 -131
- package/node_modules/@oozcitak/dom/lib/parser/interfaces.js +0 -18
- package/node_modules/@oozcitak/dom/lib/parser/interfaces.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/serializer/LocalNameSet.d.ts +0 -27
- package/node_modules/@oozcitak/dom/lib/serializer/LocalNameSet.js +0 -56
- package/node_modules/@oozcitak/dom/lib/serializer/LocalNameSet.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/serializer/NamespacePrefixMap.d.ts +0 -52
- package/node_modules/@oozcitak/dom/lib/serializer/NamespacePrefixMap.js +0 -151
- package/node_modules/@oozcitak/dom/lib/serializer/NamespacePrefixMap.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/serializer/XMLSerializerImpl.d.ts +0 -166
- package/node_modules/@oozcitak/dom/lib/serializer/XMLSerializerImpl.js +0 -1479
- package/node_modules/@oozcitak/dom/lib/serializer/XMLSerializerImpl.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/serializer/index.d.ts +0 -1
- package/node_modules/@oozcitak/dom/lib/serializer/index.js +0 -6
- package/node_modules/@oozcitak/dom/lib/serializer/index.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/serializer/interfaces.d.ts +0 -15
- package/node_modules/@oozcitak/dom/lib/serializer/interfaces.js +0 -3
- package/node_modules/@oozcitak/dom/lib/serializer/interfaces.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/util/Cast.d.ts +0 -12
- package/node_modules/@oozcitak/dom/lib/util/Cast.js +0 -26
- package/node_modules/@oozcitak/dom/lib/util/Cast.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/util/EmptySet.d.ts +0 -13
- package/node_modules/@oozcitak/dom/lib/util/EmptySet.js +0 -61
- package/node_modules/@oozcitak/dom/lib/util/EmptySet.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/util/Guard.d.ts +0 -135
- package/node_modules/@oozcitak/dom/lib/util/Guard.js +0 -192
- package/node_modules/@oozcitak/dom/lib/util/Guard.js.map +0 -1
- package/node_modules/@oozcitak/dom/lib/util/index.d.ts +0 -3
- package/node_modules/@oozcitak/dom/lib/util/index.js +0 -9
- package/node_modules/@oozcitak/dom/lib/util/index.js.map +0 -1
- package/node_modules/@oozcitak/dom/package.json +0 -72
- package/node_modules/@oozcitak/infra/LICENSE +0 -21
- package/node_modules/@oozcitak/infra/README.md +0 -13
- package/node_modules/@oozcitak/infra/lib/Base64.d.ts +0 -12
- package/node_modules/@oozcitak/infra/lib/Base64.js +0 -82
- package/node_modules/@oozcitak/infra/lib/Base64.js.map +0 -1
- package/node_modules/@oozcitak/infra/lib/Byte.d.ts +0 -6
- package/node_modules/@oozcitak/infra/lib/Byte.js +0 -15
- package/node_modules/@oozcitak/infra/lib/Byte.js.map +0 -1
- package/node_modules/@oozcitak/infra/lib/ByteSequence.d.ts +0 -45
- package/node_modules/@oozcitak/infra/lib/ByteSequence.js +0 -171
- package/node_modules/@oozcitak/infra/lib/ByteSequence.js.map +0 -1
- package/node_modules/@oozcitak/infra/lib/CodePoints.d.ts +0 -82
- package/node_modules/@oozcitak/infra/lib/CodePoints.js +0 -85
- package/node_modules/@oozcitak/infra/lib/CodePoints.js.map +0 -1
- package/node_modules/@oozcitak/infra/lib/JSON.d.ts +0 -24
- package/node_modules/@oozcitak/infra/lib/JSON.js +0 -123
- package/node_modules/@oozcitak/infra/lib/JSON.js.map +0 -1
- package/node_modules/@oozcitak/infra/lib/List.d.ts +0 -101
- package/node_modules/@oozcitak/infra/lib/List.js +0 -325
- package/node_modules/@oozcitak/infra/lib/List.js.map +0 -1
- package/node_modules/@oozcitak/infra/lib/Map.d.ts +0 -87
- package/node_modules/@oozcitak/infra/lib/Map.js +0 -308
- package/node_modules/@oozcitak/infra/lib/Map.js.map +0 -1
- package/node_modules/@oozcitak/infra/lib/Namespace.d.ts +0 -6
- package/node_modules/@oozcitak/infra/lib/Namespace.js +0 -9
- package/node_modules/@oozcitak/infra/lib/Namespace.js.map +0 -1
- package/node_modules/@oozcitak/infra/lib/Queue.d.ts +0 -13
- package/node_modules/@oozcitak/infra/lib/Queue.js +0 -22
- package/node_modules/@oozcitak/infra/lib/Queue.js.map +0 -1
- package/node_modules/@oozcitak/infra/lib/Set.d.ts +0 -136
- package/node_modules/@oozcitak/infra/lib/Set.js +0 -467
- package/node_modules/@oozcitak/infra/lib/Set.js.map +0 -1
- package/node_modules/@oozcitak/infra/lib/Stack.d.ts +0 -13
- package/node_modules/@oozcitak/infra/lib/Stack.js +0 -22
- package/node_modules/@oozcitak/infra/lib/Stack.js.map +0 -1
- package/node_modules/@oozcitak/infra/lib/String.d.ts +0 -129
- package/node_modules/@oozcitak/infra/lib/String.js +0 -472
- package/node_modules/@oozcitak/infra/lib/String.js.map +0 -1
- package/node_modules/@oozcitak/infra/lib/index.d.ts +0 -13
- package/node_modules/@oozcitak/infra/lib/index.js +0 -34
- package/node_modules/@oozcitak/infra/lib/index.js.map +0 -1
- package/node_modules/@oozcitak/infra/package.json +0 -54
- package/node_modules/@oozcitak/url/LICENSE +0 -21
- package/node_modules/@oozcitak/url/README.md +0 -27
- package/node_modules/@oozcitak/url/lib/URLAlgorithm.d.ts +0 -267
- package/node_modules/@oozcitak/url/lib/URLAlgorithm.js +0 -2758
- package/node_modules/@oozcitak/url/lib/URLAlgorithm.js.map +0 -1
- package/node_modules/@oozcitak/url/lib/URLImpl.d.ts +0 -53
- package/node_modules/@oozcitak/url/lib/URLImpl.js +0 -377
- package/node_modules/@oozcitak/url/lib/URLImpl.js.map +0 -1
- package/node_modules/@oozcitak/url/lib/URLSearchParamsImpl.d.ts +0 -38
- package/node_modules/@oozcitak/url/lib/URLSearchParamsImpl.js +0 -303
- package/node_modules/@oozcitak/url/lib/URLSearchParamsImpl.js.map +0 -1
- package/node_modules/@oozcitak/url/lib/index.d.ts +0 -2
- package/node_modules/@oozcitak/url/lib/index.js +0 -7
- package/node_modules/@oozcitak/url/lib/index.js.map +0 -1
- package/node_modules/@oozcitak/url/lib/interfaces.d.ts +0 -195
- package/node_modules/@oozcitak/url/lib/interfaces.js +0 -31
- package/node_modules/@oozcitak/url/lib/interfaces.js.map +0 -1
- package/node_modules/@oozcitak/url/package.json +0 -55
- package/node_modules/@oozcitak/util/LICENSE +0 -21
- package/node_modules/@oozcitak/util/README.md +0 -10
- package/node_modules/@oozcitak/util/lib/CompareCache.d.ts +0 -32
- package/node_modules/@oozcitak/util/lib/CompareCache.js +0 -59
- package/node_modules/@oozcitak/util/lib/CompareCache.js.map +0 -1
- package/node_modules/@oozcitak/util/lib/FixedSizeSet.d.ts +0 -64
- package/node_modules/@oozcitak/util/lib/FixedSizeSet.js +0 -174
- package/node_modules/@oozcitak/util/lib/FixedSizeSet.js.map +0 -1
- package/node_modules/@oozcitak/util/lib/Lazy.d.ts +0 -18
- package/node_modules/@oozcitak/util/lib/Lazy.js +0 -34
- package/node_modules/@oozcitak/util/lib/Lazy.js.map +0 -1
- package/node_modules/@oozcitak/util/lib/ObjectCache.d.ts +0 -71
- package/node_modules/@oozcitak/util/lib/ObjectCache.js +0 -181
- package/node_modules/@oozcitak/util/lib/ObjectCache.js.map +0 -1
- package/node_modules/@oozcitak/util/lib/StringWalker.d.ts +0 -49
- package/node_modules/@oozcitak/util/lib/StringWalker.js +0 -105
- package/node_modules/@oozcitak/util/lib/StringWalker.js.map +0 -1
- package/node_modules/@oozcitak/util/lib/index.d.ts +0 -178
- package/node_modules/@oozcitak/util/lib/index.js +0 -439
- package/node_modules/@oozcitak/util/lib/index.js.map +0 -1
- package/node_modules/@oozcitak/util/package.json +0 -50
- package/node_modules/@xmldom/is-dom-node/LICENSE.md +0 -21
- package/node_modules/@xmldom/is-dom-node/README.md +0 -91
- package/node_modules/@xmldom/is-dom-node/dist/index.d.ts +0 -33
- package/node_modules/@xmldom/is-dom-node/dist/index.js +0 -91
- package/node_modules/@xmldom/is-dom-node/dist/index.js.map +0 -1
- package/node_modules/@xmldom/is-dom-node/package.json +0 -69
- package/node_modules/@xmldom/xmldom/CHANGELOG.md +0 -468
- package/node_modules/@xmldom/xmldom/LICENSE +0 -8
- package/node_modules/@xmldom/xmldom/SECURITY.md +0 -50
- package/node_modules/@xmldom/xmldom/index.d.ts +0 -43
- package/node_modules/@xmldom/xmldom/lib/.eslintrc.yml +0 -2
- package/node_modules/@xmldom/xmldom/lib/conventions.js +0 -203
- package/node_modules/@xmldom/xmldom/lib/dom-parser.js +0 -322
- package/node_modules/@xmldom/xmldom/lib/dom.js +0 -1879
- package/node_modules/@xmldom/xmldom/lib/entities.js +0 -2166
- package/node_modules/@xmldom/xmldom/lib/index.js +0 -4
- package/node_modules/@xmldom/xmldom/lib/sax.js +0 -662
- package/node_modules/@xmldom/xmldom/package.json +0 -71
- package/node_modules/@xmldom/xmldom/readme.md +0 -356
- package/node_modules/esprima/ChangeLog +0 -235
- package/node_modules/esprima/LICENSE.BSD +0 -21
- package/node_modules/esprima/README.md +0 -46
- package/node_modules/esprima/bin/esparse.js +0 -139
- package/node_modules/esprima/bin/esvalidate.js +0 -236
- package/node_modules/esprima/dist/esprima.js +0 -6709
- package/node_modules/esprima/package.json +0 -112
- package/node_modules/node-forge/LICENSE +0 -331
- package/node_modules/node-forge/README.md +0 -2071
- package/node_modules/node-forge/dist/forge.all.min.js +0 -2
- package/node_modules/node-forge/dist/forge.all.min.js.map +0 -1
- package/node_modules/node-forge/dist/forge.min.js +0 -2
- package/node_modules/node-forge/dist/forge.min.js.map +0 -1
- package/node_modules/node-forge/dist/prime.worker.min.js +0 -2
- package/node_modules/node-forge/dist/prime.worker.min.js.map +0 -1
- package/node_modules/node-forge/flash/swf/SocketPool.swf +0 -0
- package/node_modules/node-forge/lib/aes.js +0 -1091
- package/node_modules/node-forge/lib/aesCipherSuites.js +0 -282
- package/node_modules/node-forge/lib/asn1-validator.js +0 -91
- package/node_modules/node-forge/lib/asn1.js +0 -1503
- package/node_modules/node-forge/lib/baseN.js +0 -186
- package/node_modules/node-forge/lib/cipher.js +0 -230
- package/node_modules/node-forge/lib/cipherModes.js +0 -999
- package/node_modules/node-forge/lib/des.js +0 -496
- package/node_modules/node-forge/lib/ed25519.js +0 -1072
- package/node_modules/node-forge/lib/forge.js +0 -13
- package/node_modules/node-forge/lib/form.js +0 -149
- package/node_modules/node-forge/lib/hmac.js +0 -146
- package/node_modules/node-forge/lib/http.js +0 -1346
- package/node_modules/node-forge/lib/index.all.js +0 -16
- package/node_modules/node-forge/lib/index.js +0 -33
- package/node_modules/node-forge/lib/jsbn.js +0 -1264
- package/node_modules/node-forge/lib/kem.js +0 -168
- package/node_modules/node-forge/lib/log.js +0 -319
- package/node_modules/node-forge/lib/md.all.js +0 -13
- package/node_modules/node-forge/lib/md.js +0 -11
- package/node_modules/node-forge/lib/md5.js +0 -289
- package/node_modules/node-forge/lib/mgf.js +0 -12
- package/node_modules/node-forge/lib/mgf1.js +0 -57
- package/node_modules/node-forge/lib/oids.js +0 -179
- package/node_modules/node-forge/lib/pbe.js +0 -1023
- package/node_modules/node-forge/lib/pbkdf2.js +0 -211
- package/node_modules/node-forge/lib/pem.js +0 -237
- package/node_modules/node-forge/lib/pkcs1.js +0 -276
- package/node_modules/node-forge/lib/pkcs12.js +0 -1078
- package/node_modules/node-forge/lib/pkcs7.js +0 -1260
- package/node_modules/node-forge/lib/pkcs7asn1.js +0 -410
- package/node_modules/node-forge/lib/pki.js +0 -102
- package/node_modules/node-forge/lib/prime.js +0 -297
- package/node_modules/node-forge/lib/prime.worker.js +0 -168
- package/node_modules/node-forge/lib/prng.js +0 -419
- package/node_modules/node-forge/lib/pss.js +0 -241
- package/node_modules/node-forge/lib/random.js +0 -191
- package/node_modules/node-forge/lib/rc2.js +0 -410
- package/node_modules/node-forge/lib/rsa.js +0 -1949
- package/node_modules/node-forge/lib/sha1.js +0 -319
- package/node_modules/node-forge/lib/sha256.js +0 -327
- package/node_modules/node-forge/lib/sha512.js +0 -561
- package/node_modules/node-forge/lib/socket.js +0 -287
- package/node_modules/node-forge/lib/ssh.js +0 -236
- package/node_modules/node-forge/lib/tls.js +0 -4282
- package/node_modules/node-forge/lib/tlssocket.js +0 -249
- package/node_modules/node-forge/lib/util.js +0 -2652
- package/node_modules/node-forge/lib/x509.js +0 -3242
- package/node_modules/node-forge/lib/xhr.js +0 -738
- package/node_modules/node-forge/package.json +0 -123
- package/node_modules/sprintf-js/.npmignore +0 -1
- package/node_modules/sprintf-js/LICENSE +0 -24
- package/node_modules/sprintf-js/README.md +0 -88
- package/node_modules/sprintf-js/bower.json +0 -14
- package/node_modules/sprintf-js/demo/angular.html +0 -20
- package/node_modules/sprintf-js/dist/angular-sprintf.min.js +0 -4
- package/node_modules/sprintf-js/dist/angular-sprintf.min.js.map +0 -1
- package/node_modules/sprintf-js/dist/angular-sprintf.min.map +0 -1
- package/node_modules/sprintf-js/dist/sprintf.min.js +0 -4
- package/node_modules/sprintf-js/dist/sprintf.min.js.map +0 -1
- package/node_modules/sprintf-js/dist/sprintf.min.map +0 -1
- package/node_modules/sprintf-js/gruntfile.js +0 -36
- package/node_modules/sprintf-js/package.json +0 -22
- package/node_modules/sprintf-js/src/angular-sprintf.js +0 -18
- package/node_modules/sprintf-js/src/sprintf.js +0 -208
- package/node_modules/sprintf-js/test/test.js +0 -82
- package/node_modules/xml-crypto/LICENSE +0 -22
- package/node_modules/xml-crypto/README.md +0 -557
- package/node_modules/xml-crypto/lib/c14n-canonicalization.d.ts +0 -39
- package/node_modules/xml-crypto/lib/c14n-canonicalization.js +0 -230
- package/node_modules/xml-crypto/lib/c14n-canonicalization.js.map +0 -1
- package/node_modules/xml-crypto/lib/enveloped-signature.d.ts +0 -7
- package/node_modules/xml-crypto/lib/enveloped-signature.js +0 -43
- package/node_modules/xml-crypto/lib/enveloped-signature.js.map +0 -1
- package/node_modules/xml-crypto/lib/exclusive-canonicalization.d.ts +0 -38
- package/node_modules/xml-crypto/lib/exclusive-canonicalization.js +0 -246
- package/node_modules/xml-crypto/lib/exclusive-canonicalization.js.map +0 -1
- package/node_modules/xml-crypto/lib/hash-algorithms.d.ts +0 -13
- package/node_modules/xml-crypto/lib/hash-algorithms.js +0 -47
- package/node_modules/xml-crypto/lib/hash-algorithms.js.map +0 -1
- package/node_modules/xml-crypto/lib/index.d.ts +0 -5
- package/node_modules/xml-crypto/lib/index.js +0 -28
- package/node_modules/xml-crypto/lib/index.js.map +0 -1
- package/node_modules/xml-crypto/lib/signature-algorithms.d.ts +0 -47
- package/node_modules/xml-crypto/lib/signature-algorithms.js +0 -86
- package/node_modules/xml-crypto/lib/signature-algorithms.js.map +0 -1
- package/node_modules/xml-crypto/lib/signed-xml.d.ts +0 -225
- package/node_modules/xml-crypto/lib/signed-xml.js +0 -960
- package/node_modules/xml-crypto/lib/signed-xml.js.map +0 -1
- package/node_modules/xml-crypto/lib/types.d.ts +0 -125
- package/node_modules/xml-crypto/lib/types.js +0 -57
- package/node_modules/xml-crypto/lib/types.js.map +0 -1
- package/node_modules/xml-crypto/lib/utils.d.ts +0 -65
- package/node_modules/xml-crypto/lib/utils.js +0 -256
- package/node_modules/xml-crypto/lib/utils.js.map +0 -1
- package/node_modules/xml-crypto/node_modules/xpath/LICENSE +0 -22
- package/node_modules/xml-crypto/node_modules/xpath/README.md +0 -133
- package/node_modules/xml-crypto/node_modules/xpath/docs/XPathEvaluator.md +0 -62
- package/node_modules/xml-crypto/node_modules/xpath/docs/XPathResult.md +0 -47
- package/node_modules/xml-crypto/node_modules/xpath/docs/function resolvers.md +0 -88
- package/node_modules/xml-crypto/node_modules/xpath/docs/namespace resolvers.md +0 -69
- package/node_modules/xml-crypto/node_modules/xpath/docs/parsed expressions.md +0 -21
- package/node_modules/xml-crypto/node_modules/xpath/docs/variable resolvers.md +0 -89
- package/node_modules/xml-crypto/node_modules/xpath/docs/xpath methods.md +0 -39
- package/node_modules/xml-crypto/node_modules/xpath/package.json +0 -39
- package/node_modules/xml-crypto/node_modules/xpath/test.js +0 -1186
- package/node_modules/xml-crypto/node_modules/xpath/xpath.d.ts +0 -51
- package/node_modules/xml-crypto/node_modules/xpath/xpath.js +0 -4938
- package/node_modules/xml-crypto/package.json +0 -73
- package/node_modules/xmlbuilder2/CHANGELOG.md +0 -309
- package/node_modules/xmlbuilder2/LICENSE +0 -21
- package/node_modules/xmlbuilder2/README.md +0 -183
- package/node_modules/xmlbuilder2/lib/builder/BuilderFunctions.d.ts +0 -236
- package/node_modules/xmlbuilder2/lib/builder/BuilderFunctions.js +0 -108
- package/node_modules/xmlbuilder2/lib/builder/BuilderFunctions.js.map +0 -1
- package/node_modules/xmlbuilder2/lib/builder/BuilderFunctionsCB.d.ts +0 -17
- package/node_modules/xmlbuilder2/lib/builder/BuilderFunctionsCB.js +0 -26
- package/node_modules/xmlbuilder2/lib/builder/BuilderFunctionsCB.js.map +0 -1
- package/node_modules/xmlbuilder2/lib/builder/XMLBuilderCBImpl.d.ts +0 -124
- package/node_modules/xmlbuilder2/lib/builder/XMLBuilderCBImpl.js +0 -782
- package/node_modules/xmlbuilder2/lib/builder/XMLBuilderCBImpl.js.map +0 -1
- package/node_modules/xmlbuilder2/lib/builder/XMLBuilderImpl.d.ts +0 -143
- package/node_modules/xmlbuilder2/lib/builder/XMLBuilderImpl.js +0 -841
- package/node_modules/xmlbuilder2/lib/builder/XMLBuilderImpl.js.map +0 -1
- package/node_modules/xmlbuilder2/lib/builder/dom.d.ts +0 -8
- package/node_modules/xmlbuilder2/lib/builder/dom.js +0 -67
- package/node_modules/xmlbuilder2/lib/builder/dom.js.map +0 -1
- package/node_modules/xmlbuilder2/lib/builder/index.d.ts +0 -4
- package/node_modules/xmlbuilder2/lib/builder/index.js +0 -15
- package/node_modules/xmlbuilder2/lib/builder/index.js.map +0 -1
- package/node_modules/xmlbuilder2/lib/constants.d.ts +0 -1
- package/node_modules/xmlbuilder2/lib/constants.js +0 -4
- package/node_modules/xmlbuilder2/lib/constants.js.map +0 -1
- package/node_modules/xmlbuilder2/lib/index.d.ts +0 -1
- package/node_modules/xmlbuilder2/lib/index.js +0 -10
- package/node_modules/xmlbuilder2/lib/index.js.map +0 -1
- package/node_modules/xmlbuilder2/lib/interfaces.d.ts +0 -1355
- package/node_modules/xmlbuilder2/lib/interfaces.js +0 -76
- package/node_modules/xmlbuilder2/lib/interfaces.js.map +0 -1
- package/node_modules/xmlbuilder2/lib/readers/BaseReader.d.ts +0 -109
- package/node_modules/xmlbuilder2/lib/readers/BaseReader.js +0 -167
- package/node_modules/xmlbuilder2/lib/readers/BaseReader.js.map +0 -1
- package/node_modules/xmlbuilder2/lib/readers/JSONReader.d.ts +0 -14
- package/node_modules/xmlbuilder2/lib/readers/JSONReader.js +0 -38
- package/node_modules/xmlbuilder2/lib/readers/JSONReader.js.map +0 -1
- package/node_modules/xmlbuilder2/lib/readers/ObjectReader.d.ts +0 -15
- package/node_modules/xmlbuilder2/lib/readers/ObjectReader.js +0 -168
- package/node_modules/xmlbuilder2/lib/readers/ObjectReader.js.map +0 -1
- package/node_modules/xmlbuilder2/lib/readers/XMLReader.d.ts +0 -14
- package/node_modules/xmlbuilder2/lib/readers/XMLReader.js +0 -206
- package/node_modules/xmlbuilder2/lib/readers/XMLReader.js.map +0 -1
- package/node_modules/xmlbuilder2/lib/readers/YAMLReader.d.ts +0 -14
- package/node_modules/xmlbuilder2/lib/readers/YAMLReader.js +0 -44
- package/node_modules/xmlbuilder2/lib/readers/YAMLReader.js.map +0 -1
- package/node_modules/xmlbuilder2/lib/readers/index.d.ts +0 -4
- package/node_modules/xmlbuilder2/lib/readers/index.js +0 -11
- package/node_modules/xmlbuilder2/lib/readers/index.js.map +0 -1
- package/node_modules/xmlbuilder2/lib/writers/BaseCBWriter.d.ts +0 -110
- package/node_modules/xmlbuilder2/lib/writers/BaseCBWriter.js +0 -23
- package/node_modules/xmlbuilder2/lib/writers/BaseCBWriter.js.map +0 -1
- package/node_modules/xmlbuilder2/lib/writers/BaseWriter.d.ts +0 -276
- package/node_modules/xmlbuilder2/lib/writers/BaseWriter.js +0 -1603
- package/node_modules/xmlbuilder2/lib/writers/BaseWriter.js.map +0 -1
- package/node_modules/xmlbuilder2/lib/writers/JSONCBWriter.d.ts +0 -68
- package/node_modules/xmlbuilder2/lib/writers/JSONCBWriter.js +0 -172
- package/node_modules/xmlbuilder2/lib/writers/JSONCBWriter.js.map +0 -1
- package/node_modules/xmlbuilder2/lib/writers/JSONWriter.d.ts +0 -67
- package/node_modules/xmlbuilder2/lib/writers/JSONWriter.js +0 -222
- package/node_modules/xmlbuilder2/lib/writers/JSONWriter.js.map +0 -1
- package/node_modules/xmlbuilder2/lib/writers/MapWriter.d.ts +0 -27
- package/node_modules/xmlbuilder2/lib/writers/MapWriter.js +0 -84
- package/node_modules/xmlbuilder2/lib/writers/MapWriter.js.map +0 -1
- package/node_modules/xmlbuilder2/lib/writers/ObjectWriter.d.ts +0 -56
- package/node_modules/xmlbuilder2/lib/writers/ObjectWriter.js +0 -483
- package/node_modules/xmlbuilder2/lib/writers/ObjectWriter.js.map +0 -1
- package/node_modules/xmlbuilder2/lib/writers/XMLCBWriter.d.ts +0 -51
- package/node_modules/xmlbuilder2/lib/writers/XMLCBWriter.js +0 -165
- package/node_modules/xmlbuilder2/lib/writers/XMLCBWriter.js.map +0 -1
- package/node_modules/xmlbuilder2/lib/writers/XMLWriter.d.ts +0 -60
- package/node_modules/xmlbuilder2/lib/writers/XMLWriter.js +0 -236
- package/node_modules/xmlbuilder2/lib/writers/XMLWriter.js.map +0 -1
- package/node_modules/xmlbuilder2/lib/writers/YAMLCBWriter.d.ts +0 -61
- package/node_modules/xmlbuilder2/lib/writers/YAMLCBWriter.js +0 -161
- package/node_modules/xmlbuilder2/lib/writers/YAMLCBWriter.js.map +0 -1
- package/node_modules/xmlbuilder2/lib/writers/YAMLWriter.d.ts +0 -55
- package/node_modules/xmlbuilder2/lib/writers/YAMLWriter.js +0 -186
- package/node_modules/xmlbuilder2/lib/writers/YAMLWriter.js.map +0 -1
- package/node_modules/xmlbuilder2/lib/writers/index.d.ts +0 -5
- package/node_modules/xmlbuilder2/lib/writers/index.js +0 -13
- package/node_modules/xmlbuilder2/lib/writers/index.js.map +0 -1
- package/node_modules/xmlbuilder2/lib/xmlbuilder2.min.js +0 -8
- package/node_modules/xmlbuilder2/node_modules/argparse/CHANGELOG.md +0 -185
- package/node_modules/xmlbuilder2/node_modules/argparse/LICENSE +0 -21
- package/node_modules/xmlbuilder2/node_modules/argparse/README.md +0 -257
- package/node_modules/xmlbuilder2/node_modules/argparse/index.js +0 -3
- package/node_modules/xmlbuilder2/node_modules/argparse/lib/action/append/constant.js +0 -47
- package/node_modules/xmlbuilder2/node_modules/argparse/lib/action/append.js +0 -53
- package/node_modules/xmlbuilder2/node_modules/argparse/lib/action/count.js +0 -40
- package/node_modules/xmlbuilder2/node_modules/argparse/lib/action/help.js +0 -47
- package/node_modules/xmlbuilder2/node_modules/argparse/lib/action/store/constant.js +0 -43
- package/node_modules/xmlbuilder2/node_modules/argparse/lib/action/store/false.js +0 -27
- package/node_modules/xmlbuilder2/node_modules/argparse/lib/action/store/true.js +0 -26
- package/node_modules/xmlbuilder2/node_modules/argparse/lib/action/store.js +0 -50
- package/node_modules/xmlbuilder2/node_modules/argparse/lib/action/subparsers.js +0 -149
- package/node_modules/xmlbuilder2/node_modules/argparse/lib/action/version.js +0 -47
- package/node_modules/xmlbuilder2/node_modules/argparse/lib/action.js +0 -146
- package/node_modules/xmlbuilder2/node_modules/argparse/lib/action_container.js +0 -482
- package/node_modules/xmlbuilder2/node_modules/argparse/lib/argparse.js +0 -14
- package/node_modules/xmlbuilder2/node_modules/argparse/lib/argument/error.js +0 -50
- package/node_modules/xmlbuilder2/node_modules/argparse/lib/argument/exclusive.js +0 -54
- package/node_modules/xmlbuilder2/node_modules/argparse/lib/argument/group.js +0 -75
- package/node_modules/xmlbuilder2/node_modules/argparse/lib/argument_parser.js +0 -1161
- package/node_modules/xmlbuilder2/node_modules/argparse/lib/const.js +0 -21
- package/node_modules/xmlbuilder2/node_modules/argparse/lib/help/added_formatters.js +0 -87
- package/node_modules/xmlbuilder2/node_modules/argparse/lib/help/formatter.js +0 -795
- package/node_modules/xmlbuilder2/node_modules/argparse/lib/namespace.js +0 -76
- package/node_modules/xmlbuilder2/node_modules/argparse/lib/utils.js +0 -57
- package/node_modules/xmlbuilder2/node_modules/argparse/package.json +0 -34
- package/node_modules/xmlbuilder2/node_modules/js-yaml/CHANGELOG.md +0 -557
- package/node_modules/xmlbuilder2/node_modules/js-yaml/LICENSE +0 -21
- package/node_modules/xmlbuilder2/node_modules/js-yaml/README.md +0 -299
- package/node_modules/xmlbuilder2/node_modules/js-yaml/bin/js-yaml.js +0 -132
- package/node_modules/xmlbuilder2/node_modules/js-yaml/dist/js-yaml.js +0 -3989
- package/node_modules/xmlbuilder2/node_modules/js-yaml/dist/js-yaml.min.js +0 -1
- package/node_modules/xmlbuilder2/node_modules/js-yaml/index.js +0 -7
- package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/common.js +0 -59
- package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/dumper.js +0 -850
- package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/exception.js +0 -43
- package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/loader.js +0 -1644
- package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/mark.js +0 -76
- package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/schema/core.js +0 -18
- package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/schema/default_full.js +0 -25
- package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/schema/default_safe.js +0 -28
- package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/schema/failsafe.js +0 -17
- package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/schema/json.js +0 -25
- package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/schema.js +0 -108
- package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/binary.js +0 -138
- package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/bool.js +0 -35
- package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/float.js +0 -116
- package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/int.js +0 -173
- package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/js/function.js +0 -93
- package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/js/regexp.js +0 -60
- package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/js/undefined.js +0 -28
- package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/map.js +0 -8
- package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/merge.js +0 -12
- package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/null.js +0 -34
- package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/omap.js +0 -44
- package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/pairs.js +0 -53
- package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/seq.js +0 -8
- package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/set.js +0 -29
- package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/str.js +0 -8
- package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/timestamp.js +0 -88
- package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type.js +0 -61
- package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml.js +0 -39
- package/node_modules/xmlbuilder2/node_modules/js-yaml/package.json +0 -49
- package/node_modules/xmlbuilder2/package.json +0 -82
- package/node_modules/xpath/LICENSE +0 -22
- package/node_modules/xpath/README.md +0 -133
- package/node_modules/xpath/package.json +0 -43
- package/node_modules/xpath/xpath.d.ts +0 -51
- package/node_modules/xpath/xpath.js +0 -5041
|
@@ -1,891 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
extendStatics(d, b);
|
|
11
|
-
function __() { this.constructor = d; }
|
|
12
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
13
|
-
};
|
|
14
|
-
})();
|
|
15
|
-
var __values = (this && this.__values) || function(o) {
|
|
16
|
-
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
17
|
-
if (m) return m.call(o);
|
|
18
|
-
if (o && typeof o.length === "number") return {
|
|
19
|
-
next: function () {
|
|
20
|
-
if (o && i >= o.length) o = void 0;
|
|
21
|
-
return { value: o && o[i++], done: !o };
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
25
|
-
};
|
|
26
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
-
var DOMImpl_1 = require("./DOMImpl");
|
|
28
|
-
var interfaces_1 = require("./interfaces");
|
|
29
|
-
var EventTargetImpl_1 = require("./EventTargetImpl");
|
|
30
|
-
var util_1 = require("../util");
|
|
31
|
-
var DOMException_1 = require("./DOMException");
|
|
32
|
-
var algorithm_1 = require("../algorithm");
|
|
33
|
-
var URLAlgorithm_1 = require("@oozcitak/url/lib/URLAlgorithm");
|
|
34
|
-
var WebIDLAlgorithm_1 = require("../algorithm/WebIDLAlgorithm");
|
|
35
|
-
/**
|
|
36
|
-
* Represents a generic XML node.
|
|
37
|
-
*/
|
|
38
|
-
var NodeImpl = /** @class */ (function (_super) {
|
|
39
|
-
__extends(NodeImpl, _super);
|
|
40
|
-
/**
|
|
41
|
-
* Initializes a new instance of `Node`.
|
|
42
|
-
*/
|
|
43
|
-
function NodeImpl() {
|
|
44
|
-
var _this = _super.call(this) || this;
|
|
45
|
-
_this._parent = null;
|
|
46
|
-
_this._firstChild = null;
|
|
47
|
-
_this._lastChild = null;
|
|
48
|
-
_this._previousSibling = null;
|
|
49
|
-
_this._nextSibling = null;
|
|
50
|
-
return _this;
|
|
51
|
-
}
|
|
52
|
-
Object.defineProperty(NodeImpl.prototype, "_childNodes", {
|
|
53
|
-
get: function () {
|
|
54
|
-
return this.__childNodes || (this.__childNodes = algorithm_1.create_nodeList(this));
|
|
55
|
-
},
|
|
56
|
-
enumerable: true,
|
|
57
|
-
configurable: true
|
|
58
|
-
});
|
|
59
|
-
Object.defineProperty(NodeImpl.prototype, "_nodeDocument", {
|
|
60
|
-
get: function () { return this._nodeDocumentOverride || DOMImpl_1.dom.window._associatedDocument; },
|
|
61
|
-
set: function (val) { this._nodeDocumentOverride = val; },
|
|
62
|
-
enumerable: true,
|
|
63
|
-
configurable: true
|
|
64
|
-
});
|
|
65
|
-
Object.defineProperty(NodeImpl.prototype, "_registeredObserverList", {
|
|
66
|
-
get: function () {
|
|
67
|
-
return this.__registeredObserverList || (this.__registeredObserverList = []);
|
|
68
|
-
},
|
|
69
|
-
enumerable: true,
|
|
70
|
-
configurable: true
|
|
71
|
-
});
|
|
72
|
-
Object.defineProperty(NodeImpl.prototype, "nodeType", {
|
|
73
|
-
/** @inheritdoc */
|
|
74
|
-
get: function () { return this._nodeType; },
|
|
75
|
-
enumerable: true,
|
|
76
|
-
configurable: true
|
|
77
|
-
});
|
|
78
|
-
Object.defineProperty(NodeImpl.prototype, "nodeName", {
|
|
79
|
-
/**
|
|
80
|
-
* Returns a string appropriate for the type of node.
|
|
81
|
-
*/
|
|
82
|
-
get: function () {
|
|
83
|
-
if (util_1.Guard.isElementNode(this)) {
|
|
84
|
-
return this._htmlUppercasedQualifiedName;
|
|
85
|
-
}
|
|
86
|
-
else if (util_1.Guard.isAttrNode(this)) {
|
|
87
|
-
return this._qualifiedName;
|
|
88
|
-
}
|
|
89
|
-
else if (util_1.Guard.isExclusiveTextNode(this)) {
|
|
90
|
-
return "#text";
|
|
91
|
-
}
|
|
92
|
-
else if (util_1.Guard.isCDATASectionNode(this)) {
|
|
93
|
-
return "#cdata-section";
|
|
94
|
-
}
|
|
95
|
-
else if (util_1.Guard.isProcessingInstructionNode(this)) {
|
|
96
|
-
return this._target;
|
|
97
|
-
}
|
|
98
|
-
else if (util_1.Guard.isCommentNode(this)) {
|
|
99
|
-
return "#comment";
|
|
100
|
-
}
|
|
101
|
-
else if (util_1.Guard.isDocumentNode(this)) {
|
|
102
|
-
return "#document";
|
|
103
|
-
}
|
|
104
|
-
else if (util_1.Guard.isDocumentTypeNode(this)) {
|
|
105
|
-
return this._name;
|
|
106
|
-
}
|
|
107
|
-
else if (util_1.Guard.isDocumentFragmentNode(this)) {
|
|
108
|
-
return "#document-fragment";
|
|
109
|
-
}
|
|
110
|
-
else {
|
|
111
|
-
return "";
|
|
112
|
-
}
|
|
113
|
-
},
|
|
114
|
-
enumerable: true,
|
|
115
|
-
configurable: true
|
|
116
|
-
});
|
|
117
|
-
Object.defineProperty(NodeImpl.prototype, "baseURI", {
|
|
118
|
-
/**
|
|
119
|
-
* Gets the absolute base URL of the node.
|
|
120
|
-
*/
|
|
121
|
-
get: function () {
|
|
122
|
-
/**
|
|
123
|
-
* The baseURI attribute’s getter must return node document’s document
|
|
124
|
-
* base URL, serialized.
|
|
125
|
-
* TODO: Implement in HTML DOM
|
|
126
|
-
* https://html.spec.whatwg.org/multipage/urls-and-fetching.html#document-base-url
|
|
127
|
-
*/
|
|
128
|
-
return URLAlgorithm_1.urlSerializer(this._nodeDocument._URL);
|
|
129
|
-
},
|
|
130
|
-
enumerable: true,
|
|
131
|
-
configurable: true
|
|
132
|
-
});
|
|
133
|
-
Object.defineProperty(NodeImpl.prototype, "isConnected", {
|
|
134
|
-
/**
|
|
135
|
-
* Returns whether the node is rooted to a document node.
|
|
136
|
-
*/
|
|
137
|
-
get: function () {
|
|
138
|
-
/**
|
|
139
|
-
* The isConnected attribute’s getter must return true, if context object
|
|
140
|
-
* is connected, and false otherwise.
|
|
141
|
-
*/
|
|
142
|
-
return util_1.Guard.isElementNode(this) && algorithm_1.shadowTree_isConnected(this);
|
|
143
|
-
},
|
|
144
|
-
enumerable: true,
|
|
145
|
-
configurable: true
|
|
146
|
-
});
|
|
147
|
-
Object.defineProperty(NodeImpl.prototype, "ownerDocument", {
|
|
148
|
-
/**
|
|
149
|
-
* Returns the parent document.
|
|
150
|
-
*/
|
|
151
|
-
get: function () {
|
|
152
|
-
/**
|
|
153
|
-
* The ownerDocument attribute’s getter must return null, if the context
|
|
154
|
-
* object is a document, and the context object’s node document otherwise.
|
|
155
|
-
* _Note:_ The node document of a document is that document itself. All
|
|
156
|
-
* nodes have a node document at all times.
|
|
157
|
-
*/
|
|
158
|
-
if (this._nodeType === interfaces_1.NodeType.Document)
|
|
159
|
-
return null;
|
|
160
|
-
else
|
|
161
|
-
return this._nodeDocument;
|
|
162
|
-
},
|
|
163
|
-
enumerable: true,
|
|
164
|
-
configurable: true
|
|
165
|
-
});
|
|
166
|
-
/**
|
|
167
|
-
* Returns the root node.
|
|
168
|
-
*
|
|
169
|
-
* @param options - if options has `composed = true` this function
|
|
170
|
-
* returns the node's shadow-including root, otherwise it returns
|
|
171
|
-
* the node's root node.
|
|
172
|
-
*/
|
|
173
|
-
NodeImpl.prototype.getRootNode = function (options) {
|
|
174
|
-
/**
|
|
175
|
-
* The getRootNode(options) method, when invoked, must return context
|
|
176
|
-
* object’s shadow-including root if options’s composed is true,
|
|
177
|
-
* and context object’s root otherwise.
|
|
178
|
-
*/
|
|
179
|
-
return algorithm_1.tree_rootNode(this, !!options && options.composed);
|
|
180
|
-
};
|
|
181
|
-
Object.defineProperty(NodeImpl.prototype, "parentNode", {
|
|
182
|
-
/**
|
|
183
|
-
* Returns the parent node.
|
|
184
|
-
*/
|
|
185
|
-
get: function () {
|
|
186
|
-
/**
|
|
187
|
-
* The parentNode attribute’s getter must return the context object’s parent.
|
|
188
|
-
* _Note:_ An Attr node has no parent.
|
|
189
|
-
*/
|
|
190
|
-
if (this._nodeType === interfaces_1.NodeType.Attribute) {
|
|
191
|
-
return null;
|
|
192
|
-
}
|
|
193
|
-
else {
|
|
194
|
-
return this._parent;
|
|
195
|
-
}
|
|
196
|
-
},
|
|
197
|
-
enumerable: true,
|
|
198
|
-
configurable: true
|
|
199
|
-
});
|
|
200
|
-
Object.defineProperty(NodeImpl.prototype, "parentElement", {
|
|
201
|
-
/**
|
|
202
|
-
* Returns the parent element.
|
|
203
|
-
*/
|
|
204
|
-
get: function () {
|
|
205
|
-
/**
|
|
206
|
-
* The parentElement attribute’s getter must return the context object’s
|
|
207
|
-
* parent element.
|
|
208
|
-
*/
|
|
209
|
-
if (this._parent && util_1.Guard.isElementNode(this._parent)) {
|
|
210
|
-
return this._parent;
|
|
211
|
-
}
|
|
212
|
-
else {
|
|
213
|
-
return null;
|
|
214
|
-
}
|
|
215
|
-
},
|
|
216
|
-
enumerable: true,
|
|
217
|
-
configurable: true
|
|
218
|
-
});
|
|
219
|
-
/**
|
|
220
|
-
* Determines whether a node has any children.
|
|
221
|
-
*/
|
|
222
|
-
NodeImpl.prototype.hasChildNodes = function () {
|
|
223
|
-
/**
|
|
224
|
-
* The hasChildNodes() method, when invoked, must return true if the context
|
|
225
|
-
* object has children, and false otherwise.
|
|
226
|
-
*/
|
|
227
|
-
return (this._firstChild !== null);
|
|
228
|
-
};
|
|
229
|
-
Object.defineProperty(NodeImpl.prototype, "childNodes", {
|
|
230
|
-
/**
|
|
231
|
-
* Returns a {@link NodeList} of child nodes.
|
|
232
|
-
*/
|
|
233
|
-
get: function () {
|
|
234
|
-
/**
|
|
235
|
-
* The childNodes attribute’s getter must return a NodeList rooted at the
|
|
236
|
-
* context object matching only children.
|
|
237
|
-
*/
|
|
238
|
-
return this._childNodes;
|
|
239
|
-
},
|
|
240
|
-
enumerable: true,
|
|
241
|
-
configurable: true
|
|
242
|
-
});
|
|
243
|
-
Object.defineProperty(NodeImpl.prototype, "firstChild", {
|
|
244
|
-
/**
|
|
245
|
-
* Returns the first child node.
|
|
246
|
-
*/
|
|
247
|
-
get: function () {
|
|
248
|
-
/**
|
|
249
|
-
* The firstChild attribute’s getter must return the context object’s first
|
|
250
|
-
* child.
|
|
251
|
-
*/
|
|
252
|
-
return this._firstChild;
|
|
253
|
-
},
|
|
254
|
-
enumerable: true,
|
|
255
|
-
configurable: true
|
|
256
|
-
});
|
|
257
|
-
Object.defineProperty(NodeImpl.prototype, "lastChild", {
|
|
258
|
-
/**
|
|
259
|
-
* Returns the last child node.
|
|
260
|
-
*/
|
|
261
|
-
get: function () {
|
|
262
|
-
/**
|
|
263
|
-
* The lastChild attribute’s getter must return the context object’s last
|
|
264
|
-
* child.
|
|
265
|
-
*/
|
|
266
|
-
return this._lastChild;
|
|
267
|
-
},
|
|
268
|
-
enumerable: true,
|
|
269
|
-
configurable: true
|
|
270
|
-
});
|
|
271
|
-
Object.defineProperty(NodeImpl.prototype, "previousSibling", {
|
|
272
|
-
/**
|
|
273
|
-
* Returns the previous sibling node.
|
|
274
|
-
*/
|
|
275
|
-
get: function () {
|
|
276
|
-
/**
|
|
277
|
-
* The previousSibling attribute’s getter must return the context object’s
|
|
278
|
-
* previous sibling.
|
|
279
|
-
* _Note:_ An Attr node has no siblings.
|
|
280
|
-
*/
|
|
281
|
-
return this._previousSibling;
|
|
282
|
-
},
|
|
283
|
-
enumerable: true,
|
|
284
|
-
configurable: true
|
|
285
|
-
});
|
|
286
|
-
Object.defineProperty(NodeImpl.prototype, "nextSibling", {
|
|
287
|
-
/**
|
|
288
|
-
* Returns the next sibling node.
|
|
289
|
-
*/
|
|
290
|
-
get: function () {
|
|
291
|
-
/**
|
|
292
|
-
* The nextSibling attribute’s getter must return the context object’s
|
|
293
|
-
* next sibling.
|
|
294
|
-
*/
|
|
295
|
-
return this._nextSibling;
|
|
296
|
-
},
|
|
297
|
-
enumerable: true,
|
|
298
|
-
configurable: true
|
|
299
|
-
});
|
|
300
|
-
Object.defineProperty(NodeImpl.prototype, "nodeValue", {
|
|
301
|
-
/**
|
|
302
|
-
* Gets or sets the data associated with a {@link CharacterData} node or the
|
|
303
|
-
* value of an {@link @Attr} node. For other node types returns `null`.
|
|
304
|
-
*/
|
|
305
|
-
get: function () {
|
|
306
|
-
if (util_1.Guard.isAttrNode(this)) {
|
|
307
|
-
return this._value;
|
|
308
|
-
}
|
|
309
|
-
else if (util_1.Guard.isCharacterDataNode(this)) {
|
|
310
|
-
return this._data;
|
|
311
|
-
}
|
|
312
|
-
else {
|
|
313
|
-
return null;
|
|
314
|
-
}
|
|
315
|
-
},
|
|
316
|
-
set: function (value) {
|
|
317
|
-
if (value === null) {
|
|
318
|
-
value = '';
|
|
319
|
-
}
|
|
320
|
-
if (util_1.Guard.isAttrNode(this)) {
|
|
321
|
-
algorithm_1.attr_setAnExistingAttributeValue(this, value);
|
|
322
|
-
}
|
|
323
|
-
else if (util_1.Guard.isCharacterDataNode(this)) {
|
|
324
|
-
algorithm_1.characterData_replaceData(this, 0, this._data.length, value);
|
|
325
|
-
}
|
|
326
|
-
},
|
|
327
|
-
enumerable: true,
|
|
328
|
-
configurable: true
|
|
329
|
-
});
|
|
330
|
-
Object.defineProperty(NodeImpl.prototype, "textContent", {
|
|
331
|
-
/**
|
|
332
|
-
* Returns the concatenation of data of all the {@link Text}
|
|
333
|
-
* node descendants in tree order. When set, replaces the text
|
|
334
|
-
* contents of the node with the given value.
|
|
335
|
-
*/
|
|
336
|
-
get: function () {
|
|
337
|
-
if (util_1.Guard.isDocumentFragmentNode(this) || util_1.Guard.isElementNode(this)) {
|
|
338
|
-
return algorithm_1.text_descendantTextContent(this);
|
|
339
|
-
}
|
|
340
|
-
else if (util_1.Guard.isAttrNode(this)) {
|
|
341
|
-
return this._value;
|
|
342
|
-
}
|
|
343
|
-
else if (util_1.Guard.isCharacterDataNode(this)) {
|
|
344
|
-
return this._data;
|
|
345
|
-
}
|
|
346
|
-
else {
|
|
347
|
-
return null;
|
|
348
|
-
}
|
|
349
|
-
},
|
|
350
|
-
set: function (value) {
|
|
351
|
-
if (value === null) {
|
|
352
|
-
value = '';
|
|
353
|
-
}
|
|
354
|
-
if (util_1.Guard.isDocumentFragmentNode(this) || util_1.Guard.isElementNode(this)) {
|
|
355
|
-
algorithm_1.node_stringReplaceAll(value, this);
|
|
356
|
-
}
|
|
357
|
-
else if (util_1.Guard.isAttrNode(this)) {
|
|
358
|
-
algorithm_1.attr_setAnExistingAttributeValue(this, value);
|
|
359
|
-
}
|
|
360
|
-
else if (util_1.Guard.isCharacterDataNode(this)) {
|
|
361
|
-
algorithm_1.characterData_replaceData(this, 0, algorithm_1.tree_nodeLength(this), value);
|
|
362
|
-
}
|
|
363
|
-
},
|
|
364
|
-
enumerable: true,
|
|
365
|
-
configurable: true
|
|
366
|
-
});
|
|
367
|
-
/**
|
|
368
|
-
* Puts all {@link Text} nodes in the full depth of the sub-tree
|
|
369
|
-
* underneath this node into a "normal" form where only markup
|
|
370
|
-
* (e.g., tags, comments, processing instructions, CDATA sections,
|
|
371
|
-
* and entity references) separates {@link Text} nodes, i.e., there
|
|
372
|
-
* are no adjacent Text nodes.
|
|
373
|
-
*/
|
|
374
|
-
NodeImpl.prototype.normalize = function () {
|
|
375
|
-
var e_1, _a, e_2, _b;
|
|
376
|
-
/**
|
|
377
|
-
* The normalize() method, when invoked, must run these steps for each
|
|
378
|
-
* descendant exclusive Text node node of context object:
|
|
379
|
-
*/
|
|
380
|
-
var descendantNodes = [];
|
|
381
|
-
var node = algorithm_1.tree_getFirstDescendantNode(this, false, false, function (e) { return util_1.Guard.isExclusiveTextNode(e); });
|
|
382
|
-
while (node !== null) {
|
|
383
|
-
descendantNodes.push(node);
|
|
384
|
-
node = algorithm_1.tree_getNextDescendantNode(this, node, false, false, function (e) { return util_1.Guard.isExclusiveTextNode(e); });
|
|
385
|
-
}
|
|
386
|
-
for (var i = 0; i < descendantNodes.length; i++) {
|
|
387
|
-
var node_1 = descendantNodes[i];
|
|
388
|
-
if (node_1._parent === null)
|
|
389
|
-
continue;
|
|
390
|
-
/**
|
|
391
|
-
* 1. Let length be node’s length.
|
|
392
|
-
* 2. If length is zero, then remove node and continue with the next
|
|
393
|
-
* exclusive Text node, if any.
|
|
394
|
-
*/
|
|
395
|
-
var length = algorithm_1.tree_nodeLength(node_1);
|
|
396
|
-
if (length === 0) {
|
|
397
|
-
algorithm_1.mutation_remove(node_1, node_1._parent);
|
|
398
|
-
continue;
|
|
399
|
-
}
|
|
400
|
-
/**
|
|
401
|
-
* 3. Let data be the concatenation of the data of node’s contiguous
|
|
402
|
-
* exclusive Text nodes (excluding itself), in tree order.
|
|
403
|
-
*/
|
|
404
|
-
var textSiblings = [];
|
|
405
|
-
var data = '';
|
|
406
|
-
try {
|
|
407
|
-
for (var _c = (e_1 = void 0, __values(algorithm_1.text_contiguousExclusiveTextNodes(node_1))), _d = _c.next(); !_d.done; _d = _c.next()) {
|
|
408
|
-
var sibling = _d.value;
|
|
409
|
-
textSiblings.push(sibling);
|
|
410
|
-
data += sibling._data;
|
|
411
|
-
}
|
|
412
|
-
}
|
|
413
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
414
|
-
finally {
|
|
415
|
-
try {
|
|
416
|
-
if (_d && !_d.done && (_a = _c.return)) _a.call(_c);
|
|
417
|
-
}
|
|
418
|
-
finally { if (e_1) throw e_1.error; }
|
|
419
|
-
}
|
|
420
|
-
/**
|
|
421
|
-
* 4. Replace data with node node, offset length, count 0, and data data.
|
|
422
|
-
*/
|
|
423
|
-
algorithm_1.characterData_replaceData(node_1, length, 0, data);
|
|
424
|
-
/**
|
|
425
|
-
* 5. Let currentNode be node’s next sibling.
|
|
426
|
-
* 6. While currentNode is an exclusive Text node:
|
|
427
|
-
*/
|
|
428
|
-
if (DOMImpl_1.dom.rangeList.size !== 0) {
|
|
429
|
-
var currentNode = node_1._nextSibling;
|
|
430
|
-
while (currentNode !== null && util_1.Guard.isExclusiveTextNode(currentNode)) {
|
|
431
|
-
/**
|
|
432
|
-
* 6.1. For each live range whose start node is currentNode, add length
|
|
433
|
-
* to its start offset and set its start node to node.
|
|
434
|
-
* 6.2. For each live range whose end node is currentNode, add length to
|
|
435
|
-
* its end offset and set its end node to node.
|
|
436
|
-
* 6.3. For each live range whose start node is currentNode’s parent and
|
|
437
|
-
* start offset is currentNode’s index, set its start node to node and
|
|
438
|
-
* its start offset to length.
|
|
439
|
-
* 6.4. For each live range whose end node is currentNode’s parent and
|
|
440
|
-
* end offset is currentNode’s index, set its end node to node and its
|
|
441
|
-
* end offset to length.
|
|
442
|
-
*/
|
|
443
|
-
var cn = currentNode;
|
|
444
|
-
var index = algorithm_1.tree_index(cn);
|
|
445
|
-
try {
|
|
446
|
-
for (var _e = (e_2 = void 0, __values(DOMImpl_1.dom.rangeList)), _f = _e.next(); !_f.done; _f = _e.next()) {
|
|
447
|
-
var range = _f.value;
|
|
448
|
-
if (range._start[0] === cn) {
|
|
449
|
-
range._start[0] = node_1;
|
|
450
|
-
range._start[1] += length;
|
|
451
|
-
}
|
|
452
|
-
if (range._end[0] === cn) {
|
|
453
|
-
range._end[0] = node_1;
|
|
454
|
-
range._end[1] += length;
|
|
455
|
-
}
|
|
456
|
-
if (range._start[0] === cn._parent && range._start[1] === index) {
|
|
457
|
-
range._start[0] = node_1;
|
|
458
|
-
range._start[1] = length;
|
|
459
|
-
}
|
|
460
|
-
if (range._end[0] === cn._parent && range._end[1] === index) {
|
|
461
|
-
range._end[0] = node_1;
|
|
462
|
-
range._end[1] = length;
|
|
463
|
-
}
|
|
464
|
-
}
|
|
465
|
-
}
|
|
466
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
467
|
-
finally {
|
|
468
|
-
try {
|
|
469
|
-
if (_f && !_f.done && (_b = _e.return)) _b.call(_e);
|
|
470
|
-
}
|
|
471
|
-
finally { if (e_2) throw e_2.error; }
|
|
472
|
-
}
|
|
473
|
-
/**
|
|
474
|
-
* 6.5. Add currentNode’s length to length.
|
|
475
|
-
* 6.6. Set currentNode to its next sibling.
|
|
476
|
-
*/
|
|
477
|
-
length += algorithm_1.tree_nodeLength(currentNode);
|
|
478
|
-
currentNode = currentNode._nextSibling;
|
|
479
|
-
}
|
|
480
|
-
}
|
|
481
|
-
/**
|
|
482
|
-
* 7. Remove node’s contiguous exclusive Text nodes (excluding itself),
|
|
483
|
-
* in tree order.
|
|
484
|
-
*/
|
|
485
|
-
for (var i_1 = 0; i_1 < textSiblings.length; i_1++) {
|
|
486
|
-
var sibling = textSiblings[i_1];
|
|
487
|
-
if (sibling._parent === null)
|
|
488
|
-
continue;
|
|
489
|
-
algorithm_1.mutation_remove(sibling, sibling._parent);
|
|
490
|
-
}
|
|
491
|
-
}
|
|
492
|
-
};
|
|
493
|
-
/**
|
|
494
|
-
* Returns a duplicate of this node, i.e., serves as a generic copy
|
|
495
|
-
* constructor for nodes. The duplicate node has no parent
|
|
496
|
-
* ({@link parentNode} returns `null`).
|
|
497
|
-
*
|
|
498
|
-
* @param deep - if `true`, recursively clone the subtree under the
|
|
499
|
-
* specified node. If `false`, clone only the node itself (and its
|
|
500
|
-
* attributes, if it is an {@link Element}).
|
|
501
|
-
*/
|
|
502
|
-
NodeImpl.prototype.cloneNode = function (deep) {
|
|
503
|
-
if (deep === void 0) { deep = false; }
|
|
504
|
-
/**
|
|
505
|
-
* 1. If context object is a shadow root, then throw a "NotSupportedError"
|
|
506
|
-
* DOMException.
|
|
507
|
-
* 2. Return a clone of the context object, with the clone children flag set
|
|
508
|
-
* if deep is true.
|
|
509
|
-
*/
|
|
510
|
-
if (util_1.Guard.isShadowRoot(this))
|
|
511
|
-
throw new DOMException_1.NotSupportedError();
|
|
512
|
-
return algorithm_1.node_clone(this, null, deep);
|
|
513
|
-
};
|
|
514
|
-
/**
|
|
515
|
-
* Determines if the given node is equal to this one.
|
|
516
|
-
*
|
|
517
|
-
* @param node - the node to compare with
|
|
518
|
-
*/
|
|
519
|
-
NodeImpl.prototype.isEqualNode = function (node) {
|
|
520
|
-
if (node === void 0) { node = null; }
|
|
521
|
-
/**
|
|
522
|
-
* The isEqualNode(otherNode) method, when invoked, must return true if
|
|
523
|
-
* otherNode is non-null and context object equals otherNode, and false
|
|
524
|
-
* otherwise.
|
|
525
|
-
*/
|
|
526
|
-
return (node !== null && algorithm_1.node_equals(this, node));
|
|
527
|
-
};
|
|
528
|
-
/**
|
|
529
|
-
* Determines if the given node is reference equal to this one.
|
|
530
|
-
*
|
|
531
|
-
* @param node - the node to compare with
|
|
532
|
-
*/
|
|
533
|
-
NodeImpl.prototype.isSameNode = function (node) {
|
|
534
|
-
if (node === void 0) { node = null; }
|
|
535
|
-
/**
|
|
536
|
-
* The isSameNode(otherNode) method, when invoked, must return true if
|
|
537
|
-
* otherNode is context object, and false otherwise.
|
|
538
|
-
*/
|
|
539
|
-
return (this === node);
|
|
540
|
-
};
|
|
541
|
-
/**
|
|
542
|
-
* Returns a bitmask indicating the position of the given `node`
|
|
543
|
-
* relative to this node.
|
|
544
|
-
*/
|
|
545
|
-
NodeImpl.prototype.compareDocumentPosition = function (other) {
|
|
546
|
-
/**
|
|
547
|
-
* 1. If context object is other, then return zero.
|
|
548
|
-
* 2. Let node1 be other and node2 be context object.
|
|
549
|
-
* 3. Let attr1 and attr2 be null.
|
|
550
|
-
* attr1’s element.
|
|
551
|
-
*/
|
|
552
|
-
if (other === this)
|
|
553
|
-
return 0;
|
|
554
|
-
var node1 = other;
|
|
555
|
-
var node2 = this;
|
|
556
|
-
var attr1 = null;
|
|
557
|
-
var attr2 = null;
|
|
558
|
-
/**
|
|
559
|
-
* 4. If node1 is an attribute, then set attr1 to node1 and node1 to
|
|
560
|
-
* attr1’s element.
|
|
561
|
-
*/
|
|
562
|
-
if (util_1.Guard.isAttrNode(node1)) {
|
|
563
|
-
attr1 = node1;
|
|
564
|
-
node1 = attr1._element;
|
|
565
|
-
}
|
|
566
|
-
/**
|
|
567
|
-
* 5. If node2 is an attribute, then:
|
|
568
|
-
*/
|
|
569
|
-
if (util_1.Guard.isAttrNode(node2)) {
|
|
570
|
-
/**
|
|
571
|
-
* 5.1. Set attr2 to node2 and node2 to attr2’s element.
|
|
572
|
-
*/
|
|
573
|
-
attr2 = node2;
|
|
574
|
-
node2 = attr2._element;
|
|
575
|
-
/**
|
|
576
|
-
* 5.2. If attr1 and node1 are non-null, and node2 is node1, then:
|
|
577
|
-
*/
|
|
578
|
-
if (attr1 && node1 && (node1 === node2)) {
|
|
579
|
-
/**
|
|
580
|
-
* 5.2. For each attr in node2’s attribute list:
|
|
581
|
-
*/
|
|
582
|
-
for (var i = 0; i < node2._attributeList.length; i++) {
|
|
583
|
-
var attr = node2._attributeList[i];
|
|
584
|
-
/**
|
|
585
|
-
* 5.2.1. If attr equals attr1, then return the result of adding
|
|
586
|
-
* DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC and
|
|
587
|
-
* DOCUMENT_POSITION_PRECEDING.
|
|
588
|
-
* 5.2.2. If attr equals attr2, then return the result of adding
|
|
589
|
-
* DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC and
|
|
590
|
-
* DOCUMENT_POSITION_FOLLOWING.
|
|
591
|
-
*/
|
|
592
|
-
if (algorithm_1.node_equals(attr, attr1)) {
|
|
593
|
-
return interfaces_1.Position.ImplementationSpecific | interfaces_1.Position.Preceding;
|
|
594
|
-
}
|
|
595
|
-
else if (algorithm_1.node_equals(attr, attr2)) {
|
|
596
|
-
return interfaces_1.Position.ImplementationSpecific | interfaces_1.Position.Following;
|
|
597
|
-
}
|
|
598
|
-
}
|
|
599
|
-
}
|
|
600
|
-
}
|
|
601
|
-
/**
|
|
602
|
-
* 6. If node1 or node2 is null, or node1’s root is not node2’s root, then
|
|
603
|
-
* return the result of adding DOCUMENT_POSITION_DISCONNECTED,
|
|
604
|
-
* DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, and either
|
|
605
|
-
* DOCUMENT_POSITION_PRECEDING or DOCUMENT_POSITION_FOLLOWING,
|
|
606
|
-
* with the constraint that this is to be consistent, together.
|
|
607
|
-
*/
|
|
608
|
-
if (node1 === null || node2 === null ||
|
|
609
|
-
algorithm_1.tree_rootNode(node1) !== algorithm_1.tree_rootNode(node2)) {
|
|
610
|
-
// nodes are disconnected
|
|
611
|
-
// return a random result but cache the value for consistency
|
|
612
|
-
return interfaces_1.Position.Disconnected | interfaces_1.Position.ImplementationSpecific |
|
|
613
|
-
(DOMImpl_1.dom.compareCache.check(this, other) ? interfaces_1.Position.Preceding : interfaces_1.Position.Following);
|
|
614
|
-
}
|
|
615
|
-
/**
|
|
616
|
-
* 7. If node1 is an ancestor of node2 and attr1 is null, or node1 is node2
|
|
617
|
-
* and attr2 is non-null, then return the result of adding
|
|
618
|
-
* DOCUMENT_POSITION_CONTAINS to DOCUMENT_POSITION_PRECEDING.
|
|
619
|
-
*/
|
|
620
|
-
if ((!attr1 && algorithm_1.tree_isAncestorOf(node2, node1)) ||
|
|
621
|
-
(attr2 && (node1 === node2))) {
|
|
622
|
-
return interfaces_1.Position.Contains | interfaces_1.Position.Preceding;
|
|
623
|
-
}
|
|
624
|
-
/**
|
|
625
|
-
* 8. If node1 is a descendant of node2 and attr2 is null, or node1 is node2
|
|
626
|
-
* and attr1 is non-null, then return the result of adding
|
|
627
|
-
* DOCUMENT_POSITION_CONTAINED_BY to DOCUMENT_POSITION_FOLLOWING.
|
|
628
|
-
*/
|
|
629
|
-
if ((!attr2 && algorithm_1.tree_isDescendantOf(node2, node1)) ||
|
|
630
|
-
(attr1 && (node1 === node2))) {
|
|
631
|
-
return interfaces_1.Position.ContainedBy | interfaces_1.Position.Following;
|
|
632
|
-
}
|
|
633
|
-
/**
|
|
634
|
-
* 9. If node1 is preceding node2, then return DOCUMENT_POSITION_PRECEDING.
|
|
635
|
-
*/
|
|
636
|
-
if (algorithm_1.tree_isPreceding(node2, node1))
|
|
637
|
-
return interfaces_1.Position.Preceding;
|
|
638
|
-
/**
|
|
639
|
-
* 10. Return DOCUMENT_POSITION_FOLLOWING.
|
|
640
|
-
*/
|
|
641
|
-
return interfaces_1.Position.Following;
|
|
642
|
-
};
|
|
643
|
-
/**
|
|
644
|
-
* Returns `true` if given node is an inclusive descendant of this
|
|
645
|
-
* node, and `false` otherwise (including when other node is `null`).
|
|
646
|
-
*
|
|
647
|
-
* @param other - the node to check
|
|
648
|
-
*/
|
|
649
|
-
NodeImpl.prototype.contains = function (other) {
|
|
650
|
-
/**
|
|
651
|
-
* The contains(other) method, when invoked, must return true if other is an
|
|
652
|
-
* inclusive descendant of context object, and false otherwise (including
|
|
653
|
-
* when other is null).
|
|
654
|
-
*/
|
|
655
|
-
if (other === null)
|
|
656
|
-
return false;
|
|
657
|
-
return algorithm_1.tree_isDescendantOf(this, other, true);
|
|
658
|
-
};
|
|
659
|
-
/**
|
|
660
|
-
* Returns the prefix for a given namespace URI, if present, and
|
|
661
|
-
* `null` if not.
|
|
662
|
-
*
|
|
663
|
-
* @param namespace - the namespace to search
|
|
664
|
-
*/
|
|
665
|
-
NodeImpl.prototype.lookupPrefix = function (namespace) {
|
|
666
|
-
/**
|
|
667
|
-
* 1. If namespace is null or the empty string, then return null.
|
|
668
|
-
* 2. Switch on the context object:
|
|
669
|
-
*/
|
|
670
|
-
if (!namespace)
|
|
671
|
-
return null;
|
|
672
|
-
if (util_1.Guard.isElementNode(this)) {
|
|
673
|
-
/**
|
|
674
|
-
* Return the result of locating a namespace prefix for it using
|
|
675
|
-
* namespace.
|
|
676
|
-
*/
|
|
677
|
-
return algorithm_1.node_locateANamespacePrefix(this, namespace);
|
|
678
|
-
}
|
|
679
|
-
else if (util_1.Guard.isDocumentNode(this)) {
|
|
680
|
-
/**
|
|
681
|
-
* Return the result of locating a namespace prefix for its document
|
|
682
|
-
* element, if its document element is non-null, and null otherwise.
|
|
683
|
-
*/
|
|
684
|
-
if (this.documentElement === null) {
|
|
685
|
-
return null;
|
|
686
|
-
}
|
|
687
|
-
else {
|
|
688
|
-
return algorithm_1.node_locateANamespacePrefix(this.documentElement, namespace);
|
|
689
|
-
}
|
|
690
|
-
}
|
|
691
|
-
else if (util_1.Guard.isDocumentTypeNode(this) || util_1.Guard.isDocumentFragmentNode(this)) {
|
|
692
|
-
return null;
|
|
693
|
-
}
|
|
694
|
-
else if (util_1.Guard.isAttrNode(this)) {
|
|
695
|
-
/**
|
|
696
|
-
* Return the result of locating a namespace prefix for its element,
|
|
697
|
-
* if its element is non-null, and null otherwise.
|
|
698
|
-
*/
|
|
699
|
-
if (this._element === null) {
|
|
700
|
-
return null;
|
|
701
|
-
}
|
|
702
|
-
else {
|
|
703
|
-
return algorithm_1.node_locateANamespacePrefix(this._element, namespace);
|
|
704
|
-
}
|
|
705
|
-
}
|
|
706
|
-
else {
|
|
707
|
-
/**
|
|
708
|
-
* Return the result of locating a namespace prefix for its parent
|
|
709
|
-
* element, if its parent element is non-null, and null otherwise.
|
|
710
|
-
*/
|
|
711
|
-
if (this._parent !== null && util_1.Guard.isElementNode(this._parent)) {
|
|
712
|
-
return algorithm_1.node_locateANamespacePrefix(this._parent, namespace);
|
|
713
|
-
}
|
|
714
|
-
else {
|
|
715
|
-
return null;
|
|
716
|
-
}
|
|
717
|
-
}
|
|
718
|
-
};
|
|
719
|
-
/**
|
|
720
|
-
* Returns the namespace URI for a given prefix if present, and `null`
|
|
721
|
-
* if not.
|
|
722
|
-
*
|
|
723
|
-
* @param prefix - the prefix to search
|
|
724
|
-
*/
|
|
725
|
-
NodeImpl.prototype.lookupNamespaceURI = function (prefix) {
|
|
726
|
-
/**
|
|
727
|
-
* 1. If prefix is the empty string, then set it to null.
|
|
728
|
-
* 2. Return the result of running locate a namespace for the context object
|
|
729
|
-
* using prefix.
|
|
730
|
-
*/
|
|
731
|
-
return algorithm_1.node_locateANamespace(this, prefix || null);
|
|
732
|
-
};
|
|
733
|
-
/**
|
|
734
|
-
* Returns `true` if the namespace is the default namespace on this
|
|
735
|
-
* node or `false` if not.
|
|
736
|
-
*
|
|
737
|
-
* @param namespace - the namespace to check
|
|
738
|
-
*/
|
|
739
|
-
NodeImpl.prototype.isDefaultNamespace = function (namespace) {
|
|
740
|
-
/**
|
|
741
|
-
* 1. If namespace is the empty string, then set it to null.
|
|
742
|
-
* 2. Let defaultNamespace be the result of running locate a namespace for
|
|
743
|
-
* context object using null.
|
|
744
|
-
* 3. Return true if defaultNamespace is the same as namespace, and false otherwise.
|
|
745
|
-
*/
|
|
746
|
-
if (!namespace)
|
|
747
|
-
namespace = null;
|
|
748
|
-
var defaultNamespace = algorithm_1.node_locateANamespace(this, null);
|
|
749
|
-
return (defaultNamespace === namespace);
|
|
750
|
-
};
|
|
751
|
-
/**
|
|
752
|
-
* Inserts the node `newChild` before the existing child node
|
|
753
|
-
* `refChild`. If `refChild` is `null`, inserts `newChild` at the end
|
|
754
|
-
* of the list of children.
|
|
755
|
-
*
|
|
756
|
-
* If `newChild` is a {@link DocumentFragment} object, all of its
|
|
757
|
-
* children are inserted, in the same order, before `refChild`.
|
|
758
|
-
*
|
|
759
|
-
* If `newChild` is already in the tree, it is first removed.
|
|
760
|
-
*
|
|
761
|
-
* @param newChild - the node to insert
|
|
762
|
-
* @param refChild - the node before which the new node must be
|
|
763
|
-
* inserted
|
|
764
|
-
*
|
|
765
|
-
* @returns the newly inserted child node
|
|
766
|
-
*/
|
|
767
|
-
NodeImpl.prototype.insertBefore = function (newChild, refChild) {
|
|
768
|
-
/**
|
|
769
|
-
* The insertBefore(node, child) method, when invoked, must return the
|
|
770
|
-
* result of pre-inserting node into context object before child.
|
|
771
|
-
*/
|
|
772
|
-
return algorithm_1.mutation_preInsert(newChild, this, refChild);
|
|
773
|
-
};
|
|
774
|
-
/**
|
|
775
|
-
* Adds the node `newChild` to the end of the list of children of this
|
|
776
|
-
* node, and returns it. If `newChild` is already in the tree, it is
|
|
777
|
-
* first removed.
|
|
778
|
-
*
|
|
779
|
-
* If `newChild` is a {@link DocumentFragment} object, the entire
|
|
780
|
-
* contents of the document fragment are moved into the child list of
|
|
781
|
-
* this node.
|
|
782
|
-
*
|
|
783
|
-
* @param newChild - the node to add
|
|
784
|
-
*
|
|
785
|
-
* @returns the newly inserted child node
|
|
786
|
-
*/
|
|
787
|
-
NodeImpl.prototype.appendChild = function (newChild) {
|
|
788
|
-
/**
|
|
789
|
-
* The appendChild(node) method, when invoked, must return the result of
|
|
790
|
-
* appending node to context object.
|
|
791
|
-
*/
|
|
792
|
-
return algorithm_1.mutation_append(newChild, this);
|
|
793
|
-
};
|
|
794
|
-
/**
|
|
795
|
-
* Replaces the child node `oldChild` with `newChild` in the list of
|
|
796
|
-
* children, and returns the `oldChild` node. If `newChild` is already
|
|
797
|
-
* in the tree, it is first removed.
|
|
798
|
-
*
|
|
799
|
-
* @param newChild - the new node to put in the child list
|
|
800
|
-
* @param oldChild - the node being replaced in the list
|
|
801
|
-
*
|
|
802
|
-
* @returns the removed child node
|
|
803
|
-
*/
|
|
804
|
-
NodeImpl.prototype.replaceChild = function (newChild, oldChild) {
|
|
805
|
-
/**
|
|
806
|
-
* The replaceChild(node, child) method, when invoked, must return the
|
|
807
|
-
* result of replacing child with node within context object.
|
|
808
|
-
*/
|
|
809
|
-
return algorithm_1.mutation_replace(oldChild, newChild, this);
|
|
810
|
-
};
|
|
811
|
-
/**
|
|
812
|
-
* Removes the child node indicated by `oldChild` from the list of
|
|
813
|
-
* children, and returns it.
|
|
814
|
-
*
|
|
815
|
-
* @param oldChild - the node being removed from the list
|
|
816
|
-
*
|
|
817
|
-
* @returns the removed child node
|
|
818
|
-
*/
|
|
819
|
-
NodeImpl.prototype.removeChild = function (oldChild) {
|
|
820
|
-
/**
|
|
821
|
-
* The removeChild(child) method, when invoked, must return the result of
|
|
822
|
-
* pre-removing child from context object.
|
|
823
|
-
*/
|
|
824
|
-
return algorithm_1.mutation_preRemove(oldChild, this);
|
|
825
|
-
};
|
|
826
|
-
/**
|
|
827
|
-
* Gets the parent event target for the given event.
|
|
828
|
-
*
|
|
829
|
-
* @param event - an event
|
|
830
|
-
*/
|
|
831
|
-
NodeImpl.prototype._getTheParent = function (event) {
|
|
832
|
-
/**
|
|
833
|
-
* A node’s get the parent algorithm, given an event, returns the node’s
|
|
834
|
-
* assigned slot, if node is assigned, and node’s parent otherwise.
|
|
835
|
-
*/
|
|
836
|
-
if (util_1.Guard.isSlotable(this) && algorithm_1.shadowTree_isAssigned(this)) {
|
|
837
|
-
return this._assignedSlot;
|
|
838
|
-
}
|
|
839
|
-
else {
|
|
840
|
-
return this._parent;
|
|
841
|
-
}
|
|
842
|
-
};
|
|
843
|
-
NodeImpl.ELEMENT_NODE = 1;
|
|
844
|
-
NodeImpl.ATTRIBUTE_NODE = 2;
|
|
845
|
-
NodeImpl.TEXT_NODE = 3;
|
|
846
|
-
NodeImpl.CDATA_SECTION_NODE = 4;
|
|
847
|
-
NodeImpl.ENTITY_REFERENCE_NODE = 5;
|
|
848
|
-
NodeImpl.ENTITY_NODE = 6;
|
|
849
|
-
NodeImpl.PROCESSING_INSTRUCTION_NODE = 7;
|
|
850
|
-
NodeImpl.COMMENT_NODE = 8;
|
|
851
|
-
NodeImpl.DOCUMENT_NODE = 9;
|
|
852
|
-
NodeImpl.DOCUMENT_TYPE_NODE = 10;
|
|
853
|
-
NodeImpl.DOCUMENT_FRAGMENT_NODE = 11;
|
|
854
|
-
NodeImpl.NOTATION_NODE = 12;
|
|
855
|
-
NodeImpl.DOCUMENT_POSITION_DISCONNECTED = 0x01;
|
|
856
|
-
NodeImpl.DOCUMENT_POSITION_PRECEDING = 0x02;
|
|
857
|
-
NodeImpl.DOCUMENT_POSITION_FOLLOWING = 0x04;
|
|
858
|
-
NodeImpl.DOCUMENT_POSITION_CONTAINS = 0x08;
|
|
859
|
-
NodeImpl.DOCUMENT_POSITION_CONTAINED_BY = 0x10;
|
|
860
|
-
NodeImpl.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20;
|
|
861
|
-
return NodeImpl;
|
|
862
|
-
}(EventTargetImpl_1.EventTargetImpl));
|
|
863
|
-
exports.NodeImpl = NodeImpl;
|
|
864
|
-
/**
|
|
865
|
-
* A performance tweak to share an empty set between all node classes. This will
|
|
866
|
-
* be overwritten by element, document and document fragment nodes to supply an
|
|
867
|
-
* actual set of nodes.
|
|
868
|
-
*/
|
|
869
|
-
NodeImpl.prototype._children = new util_1.EmptySet();
|
|
870
|
-
/**
|
|
871
|
-
* Define constants on prototype.
|
|
872
|
-
*/
|
|
873
|
-
WebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, "ELEMENT_NODE", 1);
|
|
874
|
-
WebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, "ATTRIBUTE_NODE", 2);
|
|
875
|
-
WebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, "TEXT_NODE", 3);
|
|
876
|
-
WebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, "CDATA_SECTION_NODE", 4);
|
|
877
|
-
WebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, "ENTITY_REFERENCE_NODE", 5);
|
|
878
|
-
WebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, "ENTITY_NODE", 6);
|
|
879
|
-
WebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, "PROCESSING_INSTRUCTION_NODE", 7);
|
|
880
|
-
WebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, "COMMENT_NODE", 8);
|
|
881
|
-
WebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, "DOCUMENT_NODE", 9);
|
|
882
|
-
WebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, "DOCUMENT_TYPE_NODE", 10);
|
|
883
|
-
WebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, "DOCUMENT_FRAGMENT_NODE", 11);
|
|
884
|
-
WebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, "NOTATION_NODE", 12);
|
|
885
|
-
WebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, "DOCUMENT_POSITION_DISCONNECTED", 0x01);
|
|
886
|
-
WebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, "DOCUMENT_POSITION_PRECEDING", 0x02);
|
|
887
|
-
WebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, "DOCUMENT_POSITION_FOLLOWING", 0x04);
|
|
888
|
-
WebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, "DOCUMENT_POSITION_CONTAINS", 0x08);
|
|
889
|
-
WebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, "DOCUMENT_POSITION_CONTAINED_BY", 0x10);
|
|
890
|
-
WebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, "DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC", 0x20);
|
|
891
|
-
//# sourceMappingURL=NodeImpl.js.map
|