@abapify/ts-xsd 0.4.17 → 0.4.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.
@@ -2,7 +2,7 @@ import { DOMParser } from "@xmldom/xmldom";
2
2
  import { existsSync, mkdirSync, readFileSync, rmSync, writeFileSync } from "node:fs";
3
3
  import { basename, dirname, isAbsolute, join, relative, resolve } from "node:path";
4
4
 
5
- //#region src/xml/dom-utils.ts
5
+ // src/xml/dom-utils.ts
6
6
  /**
7
7
  * Type guard to check if a Node is an Element
8
8
  */
@@ -63,8 +63,7 @@ function getLocalName(node) {
63
63
  return node.localName || node.tagName.split(":").pop() || node.tagName;
64
64
  }
65
65
 
66
- //#endregion
67
- //#region src/xsd/parse.ts
66
+ // src/xsd/parse.ts
68
67
  /**
69
68
  * XSD Parser - Parse XSD documents to typed Schema objects
70
69
  *
@@ -851,8 +850,7 @@ function copyXmlns(el, target) {
851
850
  if (xmlns) target.$xmlns = xmlns;
852
851
  }
853
852
 
854
- //#endregion
855
- //#region src/xsd/traverser.ts
853
+ // src/xsd/traverser.ts
856
854
  /**
857
855
  * Base class for OO schema traversal using real W3C XSD types.
858
856
  *
@@ -1065,8 +1063,7 @@ function resolveSchemaTypes(schema, options = {}) {
1065
1063
  return resolver.getResolved();
1066
1064
  }
1067
1065
 
1068
- //#endregion
1069
- //#region src/xsd/resolve.ts
1066
+ // src/xsd/resolve.ts
1070
1067
  /**
1071
1068
  * Collects all schema components into Maps for resolution.
1072
1069
  *
@@ -1334,8 +1331,7 @@ function collectElementRefsFromType(ct, refs) {
1334
1331
  }
1335
1332
  }
1336
1333
 
1337
- //#endregion
1338
- //#region src/xsd/loader.ts
1334
+ // src/xsd/loader.ts
1339
1335
  /**
1340
1336
  * Schema Loader - Load and parse XSD files from disk
1341
1337
  *
@@ -1515,8 +1511,7 @@ function loadAndLinkSchema(schemaPath, options = {}) {
1515
1511
  });
1516
1512
  }
1517
1513
 
1518
- //#endregion
1519
- //#region src/codegen/runner.ts
1514
+ // src/codegen/runner.ts
1520
1515
  /**
1521
1516
  * Config Runner
1522
1517
  *
@@ -1843,6 +1838,5 @@ function resolveSchemaName(schemaLocation, currentDir, xsdDir) {
1843
1838
  return null;
1844
1839
  }
1845
1840
 
1846
- //#endregion
1847
1841
  export { getLocalName as _, loadAndLinkSchema as a, getSubstitutes as c, SchemaTraverser as d, resolveSchemaTypes as f, getChildElements as g, getAttributeValue as h, linkSchema as i, resolveSchema as l, getAllChildElements as m, createSchemaLoader as n, loadSchema as o, parseXsd as p, defaultLoader as r, parseSchemaContent as s, runCodegen as t, SchemaResolver as u, getTextContent as v };
1848
- //# sourceMappingURL=runner-DX40fZp_.mjs.map
1842
+ //# sourceMappingURL=runner-BGNA8Sl-.mjs.map