@arcgis/api-extractor 5.0.0-next.170 → 5.0.0-next.172

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.
@@ -1,5 +1,5 @@
1
- import { l as H, a as se, e as Re, p as fe } from "./typeScript-DMWUxd36.js";
2
- import { a as be, o as Me, t as Ge, b as De, c as Le, e as Oe, d as _, p as Ne, f as Be, i as me, g as We, h as Ue, j as ze, k as je, n as He, r as Je } from "./worker-BkDzhZMK.js";
1
+ import { l as H, a as se, e as Re, p as fe } from "./typeScript-DTt83BNi.js";
2
+ import { a as be, o as Me, t as Ge, b as De, c as Le, e as Oe, d as _, p as Ne, f as Be, i as me, g as We, h as Ue, j as ze, k as je, n as He, r as Je } from "./worker-kjVQBaLf.js";
3
3
  import { getViewUrl as Ve, postProcessDeprecated as ee, postProcessDescription as G, postProcessDocsTags as V, resolveJsDocLink as Xe } from "./extractor/processing/links.js";
4
4
  import E from "typescript";
5
5
  import { path as N, toPosixPathSeparators as Ye } from "@arcgis/components-build-utils";
@@ -1,8 +1,8 @@
1
- import "../typeScript-DMWUxd36.js";
2
- import "../worker-BkDzhZMK.js";
1
+ import "../typeScript-DTt83BNi.js";
2
+ import "../worker-kjVQBaLf.js";
3
3
  import "./processing/links.js";
4
4
  import "typescript";
5
- import { A as x } from "../ApiExtractor-nkPAVjKb.js";
5
+ import { A as x } from "../ApiExtractor-BOM1F_hK.js";
6
6
  import "@arcgis/toolkit/function";
7
7
  export {
8
8
  x as ApiExtractor
@@ -1,6 +1,6 @@
1
1
  import "@arcgis/components-build-utils";
2
- import "../typeScript-DMWUxd36.js";
3
- import { l as n, m as A, r as C } from "../worker-BkDzhZMK.js";
2
+ import "../typeScript-DTt83BNi.js";
3
+ import { l as n, m as A, r as C } from "../worker-kjVQBaLf.js";
4
4
  import "./processing/links.js";
5
5
  import "typescript";
6
6
  import "fs/promises";
@@ -2,7 +2,7 @@ import { findPath as v, path as C, toSystemPathSeparators as y } from "@arcgis/c
2
2
  import t from "typescript";
3
3
  import E, { supportsColorStderr as S } from "chalk";
4
4
  import { styleText as w } from "util";
5
- const P = "@arcgis/api-extractor", D = "5.0.0-next.170", N = {
5
+ const P = "@arcgis/api-extractor", D = "5.0.0-next.172", N = {
6
6
  name: P,
7
7
  version: D
8
8
  };
@@ -1,82 +1,81 @@
1
- function y(s) {
2
- const t = g(s.modules);
3
- return k(t), t;
1
+ function y(t) {
2
+ const s = g(t.modules);
3
+ return k(s), s;
4
4
  }
5
- function g(s) {
6
- const t = /* @__PURE__ */ new Map();
7
- for (let o = 0; o < s.length; ++o) {
8
- const n = s[o];
9
- let i;
10
- for (let a = 0; a < n.declarations.length; ++a) {
11
- const r = n.declarations[a];
12
- if (r.kind === "class" || r.kind === "mixin") {
13
- i = r;
14
- break;
15
- }
5
+ function g(t) {
6
+ const s = /* @__PURE__ */ new Map();
7
+ for (let n = 0; n < t.length; ++n) {
8
+ const o = t[n];
9
+ let i, a = !1;
10
+ for (let l = 0; l < o.declarations.length; ++l) {
11
+ const c = o.declarations[l];
12
+ a ||= c.docsTags?.some((r) => r.name === "internal") === !0, (c.kind === "class" || c.kind === "mixin") && (i = c);
16
13
  }
17
- t.set(n.path, {
18
- apiModule: n,
14
+ a || s.set(o.path, {
15
+ apiModule: o,
19
16
  classLike: i,
20
17
  ancestors: void 0,
21
18
  children: void 0
22
19
  });
23
20
  }
24
- return t;
21
+ return s;
25
22
  }
26
- function k(s) {
27
- for (const t of s.values())
28
- p(t, s);
23
+ function k(t) {
24
+ for (const s of t.values())
25
+ p(s, t);
29
26
  }
30
- function p(s, t) {
31
- const o = s.classLike;
32
- if (o === void 0)
27
+ function p(t, s) {
28
+ const n = t.classLike;
29
+ if (n === void 0)
33
30
  return;
34
- const n = o;
35
- if (!(s.ancestors !== void 0 || o.mixins === void 0 && n.superclass === void 0)) {
36
- if (s.ancestors ??= [], o.mixins !== void 0)
37
- for (let a = o.mixins.length - 1; a >= 0; --a)
38
- v(o.mixins[a], s, t);
39
- n.superclass !== void 0 && h(n.superclass, s, t);
31
+ const o = n;
32
+ if (!(t.ancestors !== void 0 || n.mixins === void 0 && o.superclass === void 0)) {
33
+ if (t.ancestors ??= [], n.mixins !== void 0)
34
+ for (let a = n.mixins.length - 1; a >= 0; --a)
35
+ v(n.mixins[a], t, s);
36
+ o.superclass !== void 0 && d(o.superclass, t, s);
40
37
  }
41
38
  }
42
- function v(s, t, o) {
43
- if (s.module !== void 0 && s.package === void 0) {
44
- const n = o.get(s.module);
45
- p(n, o), n.children ??= [], n.children.push(t);
39
+ function v(t, s, n) {
40
+ if (t.module !== void 0 && t.package === void 0) {
41
+ const o = n.get(t.module);
42
+ p(o, n), o.children ??= [], o.children.push(s);
46
43
  }
47
- t.ancestors.push(s);
44
+ s.ancestors.push(t);
48
45
  }
49
- function h(s, t, o) {
50
- if (!(s.module !== void 0 && s.package === void 0)) {
51
- t.ancestors.push(s);
46
+ function d(t, s, n) {
47
+ if (!(t.module !== void 0 && t.package === void 0)) {
48
+ s.ancestors.push(t);
52
49
  return;
53
50
  }
54
- const i = o.get(s.module);
55
- p(i, o), i.children ??= [], i.children.push(t);
51
+ const i = n.get(t.module);
52
+ if (i === void 0)
53
+ return;
54
+ p(i, n), i.children ??= [], i.children.push(s);
56
55
  const a = i.classLike;
57
- if (a.kind === "mixin" && a.name !== s.name && s.name !== "default") {
58
- const u = i.apiModule.declarations;
59
- for (let e = 0; e < u.length; ++e) {
60
- const f = u[e];
61
- if (f.name === s.name) {
62
- const l = f;
63
- for (let m = l.supertypes.length - 1; m >= 1; --m) {
64
- const c = l.supertypes[m], d = c.module === void 0 && c.package === void 0 ? {
65
- name: c.name,
66
- module: s.module,
56
+ if (a.kind === "mixin" && a.name !== t.name && t.name !== "default") {
57
+ const c = i.apiModule.declarations;
58
+ for (let r = 0; r < c.length; ++r) {
59
+ const f = c[r];
60
+ if (f.name === t.name) {
61
+ const m = f;
62
+ for (let u = m.supertypes.length - 1; u >= 1; --u) {
63
+ const e = m.supertypes[u], h = e.module === void 0 && e.package === void 0 ? {
64
+ name: e.name,
65
+ module: t.module,
67
66
  package: void 0,
68
- viewUrl: c.viewUrl,
69
- typeArguments: c.typeArguments
70
- } : c;
71
- v(d, t, o);
67
+ viewUrl: e.viewUrl,
68
+ typeArguments: e.typeArguments
69
+ } : e;
70
+ v(h, s, n);
72
71
  }
73
- h(l.supertypes[0], t, o);
72
+ d(m.supertypes[0], s, n);
74
73
  break;
75
74
  }
76
75
  }
77
76
  } else
78
- t.ancestors.push(s);
79
- i.ancestors !== void 0 && t.ancestors.push(...i.ancestors);
77
+ s.ancestors.push(t);
78
+ i.ancestors !== void 0 && s.ancestors.push(...i.ancestors);
80
79
  }
81
80
  export {
82
81
  y as createIndex
@@ -1,6 +1,6 @@
1
- import { l as T, m as J } from "../worker-BkDzhZMK.js";
2
- import { A as b, w as S } from "../ApiExtractor-nkPAVjKb.js";
3
- import { p as k, l as A } from "../typeScript-DMWUxd36.js";
1
+ import { l as T, m as J } from "../worker-kjVQBaLf.js";
2
+ import { A as b, w as S } from "../ApiExtractor-BOM1F_hK.js";
3
+ import { p as k, l as A } from "../typeScript-DTt83BNi.js";
4
4
  import { writeFile as C } from "node:fs/promises";
5
5
  import { path as w } from "@arcgis/components-build-utils";
6
6
  const M = k.name;
@@ -1,6 +1,6 @@
1
1
  import "@arcgis/components-build-utils";
2
2
  import "typescript";
3
- import { b as t } from "../typeScript-DMWUxd36.js";
3
+ import { b as t } from "../typeScript-DTt83BNi.js";
4
4
  export {
5
5
  t as loadTypeScriptConfig
6
6
  };
@@ -1,5 +1,5 @@
1
1
  import { path as $e, existsAsync as Qt, getCwd as Pi, retrievePackageJson as lt, toPosixPathSeparators as xi } from "@arcgis/components-build-utils";
2
- import { b as Ri, p as Di, l as Li } from "./typeScript-DMWUxd36.js";
2
+ import { b as Ri, p as Di, l as Li } from "./typeScript-DTt83BNi.js";
3
3
  import { getDefaultBasePath as Yt, buildViewUrl as Ii, getViewUrl as Ge } from "./extractor/processing/links.js";
4
4
  import o from "typescript";
5
5
  import "fs/promises";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/api-extractor",
3
- "version": "5.0.0-next.170",
3
+ "version": "5.0.0-next.172",
4
4
  "type": "module",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",
@@ -53,8 +53,8 @@
53
53
  "chalk": "^5.4.1",
54
54
  "commander": "^14.0.0",
55
55
  "tslib": "^2.8.1",
56
- "@arcgis/components-build-utils": "5.0.0-next.170",
57
- "@arcgis/toolkit": "5.0.0-next.170"
56
+ "@arcgis/components-build-utils": "5.0.0-next.172",
57
+ "@arcgis/toolkit": "5.0.0-next.172"
58
58
  },
59
59
  "peerDependencies": {
60
60
  "typescript": "~5.9.3",