From 849c98edbaef4934642c3a4218b9d37ab3239255 Mon Sep 17 00:00:00 2001 From: Fernando Isidro Luna Date: Wed, 14 Aug 2024 14:51:21 -0600 Subject: [PATCH] chore(release): :tada: 0.5.0 --- CHANGELOG.md | 5 +++++ docs/assets/navigation.js | 2 +- .../xml_nodes_xml_attributes.default.html | 4 ++-- docs/classes/xml_nodes_xml_node.default.html | 4 ++-- .../xml_nodes_xml_node_exporter.default.html | 4 ++-- .../xml_nodes_xml_node_importer.default.html | 4 ++-- docs/classes/xml_nodes_xml_nodes.default.html | 20 +++++++++---------- .../xml_nodes_xml_nodes_sorter.default.html | 4 ++-- ...al.MIME_TYPE.html => index.MIME_TYPE.html} | 12 +++++------ ...al.NAMESPACE.html => index.NAMESPACE.html} | 10 +++++----- docs/functions/dom.getDomImplementation.html | 2 +- docs/functions/dom.getParser.html | 2 +- docs/functions/dom.getSerializer.html | 2 +- docs/functions/dom.isAttribute.html | 2 +- docs/functions/dom.isDocument.html | 2 +- docs/functions/dom.isElement.html | 2 +- docs/functions/dom.isNode.html | 2 +- docs/functions/dom.isText.html | 2 +- .../types_global.isHtmlMimeType.html | 4 ++-- .../types_global.isValidMimeType.html | 4 ++-- docs/functions/utils_number.formatNumber.html | 2 +- docs/functions/utils_number.roundNumber.html | 2 +- docs/functions/utils_number.toFloat.html | 2 +- .../functions/utils_xml.createDomElement.html | 2 +- docs/functions/utils_xml.createElement.html | 2 +- docs/functions/utils_xml.documentElement.html | 2 +- docs/functions/utils_xml.isValidXmlName.html | 2 +- docs/functions/utils_xml.newDocument.html | 2 +- .../utils_xml.newDocumentContent.html | 2 +- docs/functions/utils_xml.ownerDocument.html | 2 +- ...des_xml_node_utils.nodeFromXmlElement.html | 2 +- ...odes_xml_node_utils.nodeFromXmlString.html | 2 +- ...nodes_xml_node_utils.nodeToXmlElement.html | 2 +- ..._nodes_xml_node_utils.nodeToXmlString.html | 2 +- docs/interfaces/types.XmlNodeInterface.html | 4 ++-- .../types_global.DOMImplementation.html | 2 +- .../types_global.DOMImplementationStatic.html | 4 ++-- docs/interfaces/types_global.DOMParser.html | 4 ++-- docs/modules/dom.html | 2 +- docs/modules/index.html | 4 +++- docs/modules/types.html | 2 +- docs/modules/types_global.html | 6 +++--- docs/modules/utils_number.html | 2 +- docs/modules/utils_xml.html | 2 +- docs/modules/xml_nodes_xml_attributes.html | 2 +- docs/modules/xml_nodes_xml_node.html | 2 +- docs/modules/xml_nodes_xml_node_exporter.html | 2 +- docs/modules/xml_nodes_xml_node_importer.html | 2 +- docs/modules/xml_nodes_xml_node_utils.html | 2 +- docs/modules/xml_nodes_xml_nodes.html | 2 +- docs/modules/xml_nodes_xml_nodes_sorter.html | 2 +- .../types_global.DOMImplementation-1.html | 2 +- package.json | 2 +- 53 files changed, 89 insertions(+), 82 deletions(-) rename docs/enums/{types_global.MIME_TYPE.html => index.MIME_TYPE.html} (94%) rename docs/enums/{types_global.NAMESPACE.html => index.NAMESPACE.html} (94%) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7769ba7..5cf56c2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## [0.5.0](https://github.com/nodecfdi/cfdi-core/compare/v0.4.3...v0.5.0) (2024-08-14) + +### Performance Improvements + +* :sparkles: add shared enums from xmldom ([f5bf2e0](https://github.com/nodecfdi/cfdi-core/commit/f5bf2e0e977c1b1443a6c4633156f557a278af3e)) ## [0.4.3](https://github.com/nodecfdi/cfdi-core/compare/v0.4.2...v0.4.3) (2024-08-12) ### Bug Fixes diff --git a/docs/assets/navigation.js b/docs/assets/navigation.js index 1e8d467..fce485e 100644 --- a/docs/assets/navigation.js +++ b/docs/assets/navigation.js @@ -1 +1 @@ -window.navigationData = "data:application/octet-stream;base64,H4sIAAAAAAAAA61XW0/bMBT+L3kum2ADTX1DtBVICyC12phQFbmxW6z5UtnOCJv471PudmI7F/oESr7LOe7xyTnP/wKFUhXMA8hpMAuOQL0E84BymBAkP0NOP70oSoJZ8BszGMwvZkH8ggkUiAXz55p8QGrB6R09EkQRU0Bhzhq1fcLi7EmhZ8OaJldf32e69CMQEgmPXgHwi6yRwIDgv16hBuQRw/JaKYF3iUIuKQ3iFVrwOMkOwa1TIbwyy+Io3SolwCtyz6Enn+ytl77J/nHSs7cd+lYXYBCl3QLMH7dKUGOptyOSXVb+eFDhPlGSZXbHFBJ7EGsHgKtHlVwb2tK/vNLrjfAdII7AouJtNz4CpMySkvAMyzOUKiRYrmKLPLwLl9Hm1+OycUEsoS2PGmW6fXO7aVncX4fL9eP1jd+iRk2xWDyEyzRGR7Nh5MT2celQ0+r8YphZ3iaWQnDRY9UApxktHkJXL2yXlZadryVeXF5Nc15nf+IJ/gVxchTtnu3xtXXv0U4PeV3IEYYl44O+I85XJ0xzzUvyFjBIkFiVHbbf2saa5v8Ufrd9Rl3GBvwEjkPP2kI60W1qvP8AgcGu09M7jLNz0/qLp9H7b5DbsUBOdHL8pg43Az3REUiJD9bx0LAqYO2hYZADlreKkhBTtHk7Wocaw8mET3T8AQiGIywN/CRPzvKbvVb8mFUAZode2y5lovNPIBhmh3HeXdII960xLiYKE+mYjFhCd3opV8NXzomKt4OGwz0XFKj7llyTniGogz2DsuAJgwMlNaxHUfEV4cA6extqJc47hafUMrQWKim1TKyWQ4sFAgotOPUsJY1iG+3Js4COUO2XhOVyNUi0BfYuQ/nlzhYGQK29oFE1sR5Rhl5922KjqAGHyd1wpsaolniPOH9lSAyL1oBaarNVnRHjELkufvYeVHu3ZS2s+ZGJHFTXEO1BQlR3c3CqlozOCmHNqS9a1tm/PxZnrjcqwgilRy6UrbN2pWvwqWNuhMcFj+mI4CvwyYOvhccFX33t+iPPkYPCzuArwekTJZ7257To0n3NpgGvlXAMC0OsCnaP04Z/ICedPMRnYj4at++DXLe83l//pI2sEBxVpzKSg+9YhT15yJWuJ/Lt+/Y/VKCFNvgWAAA=" \ No newline at end of file +window.navigationData = "data:application/octet-stream;base64,H4sIAAAAAAAAA62XXW/bIBSG/wvX6aZ2azXlrmoStdLcVkq0daqiiNgkReMjAry6m/rfJ3/FYAPGbq4Smfc878HA8eH5H1AoU2AKEk7BBBygegFTQHmSEiQ/J5x+elGUgAn4jVkCphcTEL9gkgjEwPT5GLxHasbpHT0QRBFTUGHOGtouZXH+pOTZtKbJ1df3iY5+hEIi4eGVAj9kiQSGBP/1ghqRB4bltVICb1OFXChN4gXNeJzmL8HNqRVezLx8lW5KJfBC7nnimU8+6g1f5X+c4floJ3ytA1iCsu4GLB4HbcHoLppvVr8e5w0EsZTWiOOwCfs2ATGBUoIpUDI5w/IMZQoJBgnQkru/jubLx+sbB/s4HM7Wp67eDkh2p148Dpr6EyX58twxhcQOxtoq4vpRjWtLW/zLK/3QEL6FxJHYphzt5ueYsT3z2UM0z2J0MOtFwWgb6VLT9fwibBWLKjEXgoseq0Y4zmj2ELlKYXtBtNn5KuLF5dU452X+E4/wLwNHZ9Eu2R5fW/Ee7PRQ7As5wLCK+KDvgPerB4xzLbbkLWQJQWJRFdh+a1vUOP+n6LvtK+oyNuQncAx915agE52mxvsPFBhuO9WwE3F2blp/8ZRI/wlyO5bKkU6ONXW4GeqRjlBKvLd2h4ZVKWv3DEEOWN4qSiJM0ertYO1pDCdTPtLxByQ4GWBp6Ed5clac7KXih3wHYLbvte2GjHT+CQXDbD/Muxs0wH1ttEypwkQ6egqW0q2+leu2pYjZlKNBbdWOCwrVfQvXTM8A6mJPnyx4ypJApKb1EBVfEA6trbdBq3TeJjyjlnavpGTU0utZXlosEFRoxqnnTtIQ22rPPEvpAGo/MqnuVkHQlth7FyoOd95qQ2qtBQ3V1HqgDL36LosNUROG4W44U0Oold4D568MibBsDallb7Z254bxBLkOfj4O62u35UJ1jN+YyqB9naAdTInq3hyc1Cqic4WwzqkvW9a5fn8sz4I3KMMNyg5cKFtl7aKP4lPn3ICHJY/pgORr8cmTP4KHJV9/7fozL5RBaefyheD0iRJP+XNadMN9xaYRL5VwNAshVmV0j9OKf2BOenCIz8j5aLF9H+Rjyetd/ZMWshI4aJ/KjQw+Y7X25CnXXE/m6/f1f0AZS8D3FgAA" \ No newline at end of file diff --git a/docs/classes/xml_nodes_xml_attributes.default.html b/docs/classes/xml_nodes_xml_attributes.default.html index d3c5b2d..a8f018b 100644 --- a/docs/classes/xml_nodes_xml_attributes.default.html +++ b/docs/classes/xml_nodes_xml_attributes.default.html @@ -156,7 +156,7 @@ --md-sys-color-surface-container-high: #eae8e0; --md-sys-color-surface-container-highest: #e4e3db } -

Constructors

constructor +

Constructors

Properties

Accessors

length size @@ -173,7 +173,7 @@ keys set values -

Constructors

Properties

[toStringTag]: "XmlAttributes" = 'XmlAttributes'

Accessors

Methods

  • Parameters

    • callbackFn: ((value: string, key: string, map: Map<string, string>) => void)
        • (value, key, map): void
        • Parameters

          • value: string
          • key: string
          • map: Map<string, string>

          Returns void

    • OptionalthisArgument: unknown

    Returns void

Implements

Constructors

constructor +

Implements

Constructors

Accessors

Methods

Constructors

Accessors

Methods

Constructors

constructor +

Constructors

Methods

Constructors

Methods

Constructors

constructor +

Constructors

Methods

Constructors

Methods

Hierarchy

Constructors

constructor +

Hierarchy

Constructors

Properties

Accessors

[species] @@ -215,16 +215,16 @@ fromAsync isArray of -

Constructors

Properties

[unscopables]: {
    [unscopables]?: boolean;
    length?: boolean;
    [iterator]?: any;
    at?: any;
    concat?: any;
    copyWithin?: any;
    entries?: any;
    every?: any;
    fill?: any;
    filter?: any;
    find?: any;
    findIndex?: any;
    findLast?: any;
    findLastIndex?: any;
    flat?: any;
    flatMap?: any;
    forEach?: any;
    includes?: any;
    indexOf?: any;
    join?: any;
    keys?: any;
    lastIndexOf?: any;
    map?: any;
    pop?: any;
    push?: any;
    reduce?: any;
    reduceRight?: any;
    reverse?: any;
    shift?: any;
    slice?: any;
    some?: any;
    sort?: any;
    splice?: any;
    toLocaleString?: any;
    toReversed?: any;
    toSorted?: any;
    toSpliced?: any;
    toString?: any;
    unshift?: any;
    values?: any;
    with?: any;
}

Is an object whose properties have the value 'true' +

Constructors

Properties

[unscopables]: {
    [unscopables]?: boolean;
    length?: boolean;
    [iterator]?: any;
    at?: any;
    concat?: any;
    copyWithin?: any;
    entries?: any;
    every?: any;
    fill?: any;
    filter?: any;
    find?: any;
    findIndex?: any;
    findLast?: any;
    findLastIndex?: any;
    flat?: any;
    flatMap?: any;
    forEach?: any;
    includes?: any;
    indexOf?: any;
    join?: any;
    keys?: any;
    lastIndexOf?: any;
    map?: any;
    pop?: any;
    push?: any;
    reduce?: any;
    reduceRight?: any;
    reverse?: any;
    shift?: any;
    slice?: any;
    some?: any;
    sort?: any;
    splice?: any;
    toLocaleString?: any;
    toReversed?: any;
    toSorted?: any;
    toSpliced?: any;
    toString?: any;
    unshift?: any;
    values?: any;
    with?: any;
}

Is an object whose properties have the value 'true' when they will be absent when used in a 'with' statement.

Type declaration

  • Optional Readonly[unscopables]?: boolean

    Is an object whose properties have the value 'true' when they will be absent when used in a 'with' statement.

  • Optionallength?: boolean

    Gets or sets the length of the array. This is a number one higher than the highest index in the array.

length: number

Gets or sets the length of the array. This is a number one higher than the highest index in the array.

-

Accessors

Methods

  • Iterator

    -

    Returns IterableIterator<XmlNodeInterface>

  • Returns the item located at the specified index.

    +

Accessors

Methods

  • Iterator

    +

    Returns IterableIterator<XmlNodeInterface>

  • Returns the item located at the specified index.

    Parameters

    • index: number

      The zero-based index of the desired code unit. A negative index will count back from the last item.

      -

    Returns undefined | XmlNodeInterface

Returns undefined | XmlNodeInterface

  • Combines two or more arrays. This method returns a new array without modifying any existing arrays.

    Parameters

    • Rest...items: ConcatArray<XmlNodeInterface>[]

      Additional arrays and/or items to add to the end of the array.

    Returns XmlNodeInterface[]

  • Combines two or more arrays. @@ -237,7 +237,7 @@

  • start: number

    If start is negative, it is treated as length+start. If end is negative, it is treated as length+end.

  • Optionalend: number

    If not specified, length of the this object is used as its default value.

    -

Returns this

  • Returns an iterable of key, value pairs for every entry in the array

    +

Returns this

  • Returns an iterable of key, value pairs for every entry in the array

    Returns IterableIterator<[number, XmlNodeInterface]>

  • Determines whether all the members of an array satisfy the specified test.

    Type Parameters

    Parameters

    • predicate: ((value: XmlNodeInterface, index: number, array: XmlNodeInterface[]) => value is S)

      A function that accepts up to three arguments. The every method calls the predicate function for each element in the array until the predicate returns a value @@ -290,7 +290,7 @@ findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.

    • OptionalthisArg: any

      If provided, it will be used as the this value for each invocation of predicate. If it is not provided, undefined is used instead.

      -

    Returns number

  • Returns a new array with all sub-array elements concatenated into it recursively up to the +

Returns number

  • Returns a new array with all sub-array elements concatenated into it recursively up to the specified depth.

    Type Parameters

    • A
    • D extends number = 1

    Parameters

    • this: A
    • Optionaldepth: D

      The maximum recursion depth

    Returns FlatArray<A, D>[]

  • Calls a defined callback function on each element of an array. Then, flattens the result into @@ -303,7 +303,7 @@

Returns U[]

  • Performs the specified action for each element in an array.

    Parameters

    • callbackfn: ((value: XmlNodeInterface, index: number, array: XmlNodeInterface[]) => void)

      A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.

    • OptionalthisArg: any

      An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.

      -

    Returns void

  • Determines whether an array includes a certain element, returning true or false as appropriate.

    +

Returns void

  • Determines whether an array includes a certain element, returning true or false as appropriate.

    Parameters

    • searchElement: XmlNodeInterface

      The element to search for.

    • OptionalfromIndex: number

      The position in this array at which to begin searching for searchElement.

    Returns boolean

  • Returns the index of the first occurrence of a value in an array, or -1 if it is not present.

    @@ -318,7 +318,7 @@

Returns number

  • Calls a defined callback function on each element of an array, and returns an array that contains the results.

    Type Parameters

    • U

    Parameters

    • callbackfn: ((value: XmlNodeInterface, index: number, array: XmlNodeInterface[]) => U)

      A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.

    • OptionalthisArg: any

      An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.

      -

    Returns U[]

  • Removes the last element from an array and returns it. +

Returns U[]

  • Removes the last element from an array and returns it. If the array is empty, undefined is returned and the array is not modified.

    Returns undefined | XmlNodeInterface

  • Appends new elements to the end of an array, and returns the new length of the array.

    Parameters

    • Rest...items: XmlNodeInterface[]

      New elements to add to the array.

      @@ -335,7 +335,7 @@

    Returns U

  • Reverses the elements in an array in place. This method mutates the array and returns a reference to the same array.

    Returns XmlNodeInterface[]

  • It takes only the unique string names and sort using the order of appearance.

    -

    Parameters

    • names: string[]

    Returns void

  • Removes the first element from an array and returns it. If the array is empty, undefined is returned and the array is not modified.

    Returns undefined | XmlNodeInterface

  • Returns a copy of a section of an array. For both start and end, a negative index can be used to indicate an offset from the end of the array. diff --git a/docs/classes/xml_nodes_xml_nodes_sorter.default.html b/docs/classes/xml_nodes_xml_nodes_sorter.default.html index a4cdef5..15671b0 100644 --- a/docs/classes/xml_nodes_xml_nodes_sorter.default.html +++ b/docs/classes/xml_nodes_xml_nodes_sorter.default.html @@ -156,14 +156,14 @@ --md-sys-color-surface-container-high: #eae8e0; --md-sys-color-surface-container-highest: #e4e3db } -

    Constructors

    constructor +

    Constructors

    Methods

    All mime types that are allowed as input to DOMParser.parseFromString

    +

    All mime types that are allowed as input to DOMParser.parseFromString

    -

    Enumeration Members

    Enumeration Members

    HTML: "text/html"

    text/html, the only mime type that triggers treating an XML document as HTML.

    • https://www.iana.org/assignments/media-types/text/html IANA MimeType registration
    • diff --git a/docs/enums/types_global.NAMESPACE.html b/docs/enums/index.NAMESPACE.html similarity index 94% rename from docs/enums/types_global.NAMESPACE.html rename to docs/enums/index.NAMESPACE.html index bd33859..d22a585 100644 --- a/docs/enums/types_global.NAMESPACE.html +++ b/docs/enums/index.NAMESPACE.html @@ -156,12 +156,12 @@ --md-sys-color-surface-container-high: #eae8e0; --md-sys-color-surface-container-highest: #e4e3db } -

      Namespaces that are used in xmldom.

      +

      Namespaces that are used in xmldom.

      Enumeration Members

      Enumeration Members

      Enumeration Members

      HTML: "http://www.w3.org/1999/xhtml"

      The XHTML namespace.

      SVG: "http://www.w3.org/2000/svg"

      The SVG namespace.

      diff --git a/docs/functions/dom.getDomImplementation.html b/docs/functions/dom.getDomImplementation.html index 3e26922..580ad57 100644 --- a/docs/functions/dom.getDomImplementation.html +++ b/docs/functions/dom.getDomImplementation.html @@ -156,7 +156,7 @@ --md-sys-color-surface-container-high: #eae8e0; --md-sys-color-surface-container-highest: #e4e3db } -

      Function getDomImplementation

      Function getDomImplementation

      • Parameters

        • nodo: unknown

        Returns nodo is Attr

      • Parameters

        • nodo: unknown

        Returns nodo is Attr

      • Parameters

        • nodo: unknown

        Returns nodo is Document

      • Parameters

        • nodo: unknown

        Returns nodo is Document

      • Parameters

        • nodo: unknown

        Returns nodo is Element

      • Parameters

        • nodo: unknown

        Returns nodo is Element

      • Parameters

        • nodo: unknown

        Returns nodo is Node

      • Parameters

        • nodo: unknown

        Returns nodo is Node

      • Parameters

        • nodo: unknown

        Returns nodo is Text

      • Parameters

        • nodo: unknown

        Returns nodo is Text

      • Only returns true if value matches MIME_TYPE.HTML, which indicates an HTML document.

        -

        Parameters

        • mimeType: string

        Returns mimeType is HTML

          +
          • Only returns true if value matches MIME_TYPE.HTML, which indicates an HTML document.

            +

            Parameters

            • mimeType: string

            Returns mimeType is HTML

            • https://www.iana.org/assignments/media-types/text/html
            • https://en.wikipedia.org/wiki/HTML
            • https://developer.mozilla.org/en-US/docs/Web/API/DOMParser/parseFromString
            • diff --git a/docs/functions/types_global.isValidMimeType.html b/docs/functions/types_global.isValidMimeType.html index 2b5f4ab..11a65ce 100644 --- a/docs/functions/types_global.isValidMimeType.html +++ b/docs/functions/types_global.isValidMimeType.html @@ -156,8 +156,8 @@ --md-sys-color-surface-container-high: #eae8e0; --md-sys-color-surface-container-highest: #e4e3db } -
              • Only returns true if mimeType is one of the allowed values for DOMParser.parseFromString.

                -

                Parameters

                • mimeType: string

                Returns mimeType is MIME_TYPE

              • Only returns true if mimeType is one of the allowed values for DOMParser.parseFromString.

                +

                Parameters

                • mimeType: string

                Returns mimeType is MIME_TYPE

              • Parameters

                • num: number
                • precision: number

                Returns string

              • Parameters

                • num: number
                • precision: number

                Returns string

              • Parameters

                • num: number
                • precision: number

                Returns number

              • Parameters

                • num: number
                • precision: number

                Returns number

              • Parameters

                • makeElement: (() => Element)
                    • (): Element
                    • Returns Element

                • errorMessage: string
                • content: string

                Returns Element

              • Parameters

                • makeElement: (() => Element)
                    • (): Element
                    • Returns Element

                • errorMessage: string
                • content: string

                Returns Element

              • Parameters

                • document: Document
                • name: string
                • content: string = ''

                Returns Element

              • Parameters

                • document: Document
                • name: string
                • content: string = ''

                Returns Element

              • Parameters

                • document: Document

                Returns Element

              • Parameters

                • document: Document

                Returns Element

              • Parameters

                • name: string

                Returns boolean

              • Parameters

                • name: string

                Returns boolean

              • Parameters

                • Optionaldocument: Document

                Returns Document

              • Parameters

                • Optionaldocument: Document

                Returns Document

              • Parameters

                • content: string

                Returns Document

              • Parameters

                • content: string

                Returns Document

              • Parameters

                • node: Node

                Returns Document

              • Parameters

                • node: Node

                Returns Document

              interface XmlNodeInterface {
                  length: number;
                  [iterator](): IterableIterator<XmlNodeInterface>;
                  addAttributes(attributes: Record<string, unknown>): void;
                  addChild(node: XmlNodeInterface): XmlNodeInterface;
                  attributes(): default;
                  children(): default;
                  clear(): void;
                  getAttribute(name: string): string;
                  hasAttribute(name: string): boolean;
                  name(): string;
                  searchAttribute(...searchPath: string[]): string;
                  searchNode(...searchPath: string[]): undefined | XmlNodeInterface;
                  searchNodes(...searchPath: string[]): default;
                  setAttribute(name: string, value?: null | string): void;
                  setValue(value: string): void;
                  value(): string;
              }

              Implemented by

              Properties

              length +
              interface XmlNodeInterface {
                  length: number;
                  [iterator](): IterableIterator<XmlNodeInterface>;
                  addAttributes(attributes: Record<string, unknown>): void;
                  addChild(node: XmlNodeInterface): XmlNodeInterface;
                  attributes(): default;
                  children(): default;
                  clear(): void;
                  getAttribute(name: string): string;
                  hasAttribute(name: string): boolean;
                  name(): string;
                  searchAttribute(...searchPath: string[]): string;
                  searchNode(...searchPath: string[]): undefined | XmlNodeInterface;
                  searchNodes(...searchPath: string[]): default;
                  setAttribute(name: string, value?: null | string): void;
                  setValue(value: string): void;
                  value(): string;
              }

              Implemented by

              Properties

              Methods

              Properties

              length: number

              Methods

              • Parameters

                • attributes: Record<string, unknown>

                Returns void

              • Parameters

                • name: string

                Returns string

              • Parameters

                • name: string

                Returns boolean

              • Parameters

                • Rest...searchPath: string[]

                Returns string

              • Parameters

                • name: string
                • Optionalvalue: null | string

                Returns void

              • Parameters

                • value: string

                Returns void

              interface DOMImplementation {
                  new DOMImplementationnew (): DOMImplementation;
                  createDocument(namespaceURI: null | string, qualifiedName: string, doctype?: null | DocumentType): Document;
                  createDocumentType(qualifiedName: string, publicId?: string, systemId?: string): DocumentType;
                  createHTMLDocument(title?: string | false): Document;
                  hasFeature(feature: string, version?: string): true;
              }

              Constructors

              constructor +
              interface DOMImplementation {
                  new DOMImplementationnew (): DOMImplementation;
                  createDocument(namespaceURI: null | string, qualifiedName: string, doctype?: null | DocumentType): Document;
                  createDocumentType(qualifiedName: string, publicId?: string, systemId?: string): DocumentType;
                  createHTMLDocument(title?: string | false): Document;
                  hasFeature(feature: string, version?: string): true;
              }

              Constructors

              Methods

              createDocument createDocumentType createHTMLDocument diff --git a/docs/interfaces/types_global.DOMImplementationStatic.html b/docs/interfaces/types_global.DOMImplementationStatic.html index 75fcd6c..74d9036 100644 --- a/docs/interfaces/types_global.DOMImplementationStatic.html +++ b/docs/interfaces/types_global.DOMImplementationStatic.html @@ -156,8 +156,8 @@ --md-sys-color-surface-container-high: #eae8e0; --md-sys-color-surface-container-highest: #e4e3db } -
              interface DOMImplementationStatic {
                  new DOMImplementationStaticnew (): DOMImplementation;
              }

              Constructors

              Constructors

              interface DOMImplementationStatic {
                  new DOMImplementationStaticnew (): DOMImplementation;
              }

              Constructors

              Constructors

              Index

              Functions

              getDomImplementation +

              Index

              Functions

              getDomImplementation getParser getSerializer isAttribute diff --git a/docs/modules/index.html b/docs/modules/index.html index b6328f9..10ee34c 100644 --- a/docs/modules/index.html +++ b/docs/modules/index.html @@ -156,7 +156,7 @@ --md-sys-color-surface-container-high: #eae8e0; --md-sys-color-surface-container-highest: #e4e3db } -

              References

              XmlAttributes +

              References

              Renames and re-exports default
              Renames and re-exports default
              Renames and re-exports default
              Renames and re-exports default
              Renames and re-exports default
              Renames and re-exports default
              Re-exports createDomElement
              Re-exports createElement
              Re-exports documentElement
              Re-exports formatNumber
              Re-exports getDomImplementation
              Re-exports getParser
              Re-exports getSerializer
              Re-exports isAttribute
              Re-exports isDocument
              Re-exports isElement
              Re-exports isNode
              Re-exports isText
              Re-exports isValidXmlName
              Re-exports newDocument
              Re-exports newDocumentContent
              Re-exports nodeFromXmlElement
              Re-exports nodeFromXmlString
              Re-exports nodeToXmlElement
              Re-exports nodeToXmlString
              Re-exports ownerDocument
              Re-exports roundNumber
              Re-exports toFloat

              Index

              Interfaces

              XmlNodeInterface +

              Index

              Interfaces

              Index

              Enumerations

              MIME_TYPE -NAMESPACE +

              Index

              Functions

              formatNumber +

              Index

              Functions

              createDomElement +

              Index

              Functions

              createDomElement createElement documentElement isValidXmlName diff --git a/docs/modules/xml_nodes_xml_attributes.html b/docs/modules/xml_nodes_xml_attributes.html index 329c091..0f28ffc 100644 --- a/docs/modules/xml_nodes_xml_attributes.html +++ b/docs/modules/xml_nodes_xml_attributes.html @@ -156,7 +156,7 @@ --md-sys-color-surface-container-high: #eae8e0; --md-sys-color-surface-container-highest: #e4e3db } -

              Module xml_nodes/xml_attributes

              Index

              Classes

              default +

              Module xml_nodes/xml_node

              Index

              Classes

              default +

              Module xml_nodes/xml_node

              Index

              Classes

              Module xml_nodes/xml_node_exporter

              Index

              Classes

              default +

              Module xml_nodes/xml_node_importer

              Index

              Classes

              default +

              Module xml_nodes/xml_node_utils

              Index

              Functions

              nodeFromXmlElement +

              Module xml_nodes/xml_node_utils

              Index

              Functions

              nodeFromXmlElement nodeFromXmlString nodeToXmlElement nodeToXmlString diff --git a/docs/modules/xml_nodes_xml_nodes.html b/docs/modules/xml_nodes_xml_nodes.html index 624157d..058b86a 100644 --- a/docs/modules/xml_nodes_xml_nodes.html +++ b/docs/modules/xml_nodes_xml_nodes.html @@ -156,7 +156,7 @@ --md-sys-color-surface-container-high: #eae8e0; --md-sys-color-surface-container-highest: #e4e3db } -

              Module xml_nodes/xml_nodes

              Index

              Classes

              default +

              Module xml_nodes/xml_nodes

              Index

              Classes

              Module xml_nodes/xml_nodes_sorter

              Index

              Classes

              default +
              DOMImplementation: DOMImplementationStatic
              DOMImplementation: DOMImplementationStatic