@arcgis/api-extractor 5.0.0-next.171 → 5.0.0-next.173
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/dist/{ApiExtractor-6KVMV1W2.js → ApiExtractor-S65ib_fe.js} +2 -2
- package/dist/extractor/ApiExtractor.js +3 -3
- package/dist/extractor/config.js +2 -2
- package/dist/{typeScript-BdAdT58M.js → typeScript-CokMemNe.js} +1 -1
- package/dist/utils/createIndex.js +55 -56
- package/dist/vite/plugin.js +3 -3
- package/dist/vite/typeScript.js +1 -1
- package/dist/{worker-C-H31BsE.js → worker-BkBpI6nm.js} +1 -1
- package/package.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { l as H, a as se, e as Re, p as fe } from "./typeScript-
|
|
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-
|
|
1
|
+
import { l as H, a as se, e as Re, p as fe } from "./typeScript-CokMemNe.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-BkBpI6nm.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-
|
|
2
|
-
import "../worker-
|
|
1
|
+
import "../typeScript-CokMemNe.js";
|
|
2
|
+
import "../worker-BkBpI6nm.js";
|
|
3
3
|
import "./processing/links.js";
|
|
4
4
|
import "typescript";
|
|
5
|
-
import { A as x } from "../ApiExtractor-
|
|
5
|
+
import { A as x } from "../ApiExtractor-S65ib_fe.js";
|
|
6
6
|
import "@arcgis/toolkit/function";
|
|
7
7
|
export {
|
|
8
8
|
x as ApiExtractor
|
package/dist/extractor/config.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "@arcgis/components-build-utils";
|
|
2
|
-
import "../typeScript-
|
|
3
|
-
import { l as n, m as A, r as C } from "../worker-
|
|
2
|
+
import "../typeScript-CokMemNe.js";
|
|
3
|
+
import { l as n, m as A, r as C } from "../worker-BkBpI6nm.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.
|
|
5
|
+
const P = "@arcgis/api-extractor", D = "5.0.0-next.173", N = {
|
|
6
6
|
name: P,
|
|
7
7
|
version: D
|
|
8
8
|
};
|
|
@@ -1,82 +1,81 @@
|
|
|
1
|
-
function y(
|
|
2
|
-
const
|
|
3
|
-
return k(
|
|
1
|
+
function y(t) {
|
|
2
|
+
const s = g(t.modules);
|
|
3
|
+
return k(s), s;
|
|
4
4
|
}
|
|
5
|
-
function g(
|
|
6
|
-
const
|
|
7
|
-
for (let
|
|
8
|
-
const
|
|
9
|
-
let i;
|
|
10
|
-
for (let
|
|
11
|
-
const
|
|
12
|
-
|
|
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
|
-
|
|
18
|
-
apiModule:
|
|
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
|
|
21
|
+
return s;
|
|
25
22
|
}
|
|
26
|
-
function k(
|
|
27
|
-
for (const
|
|
28
|
-
p(
|
|
23
|
+
function k(t) {
|
|
24
|
+
for (const s of t.values())
|
|
25
|
+
p(s, t);
|
|
29
26
|
}
|
|
30
|
-
function p(
|
|
31
|
-
const
|
|
32
|
-
if (
|
|
27
|
+
function p(t, s) {
|
|
28
|
+
const n = t.classLike;
|
|
29
|
+
if (n === void 0)
|
|
33
30
|
return;
|
|
34
|
-
const
|
|
35
|
-
if (!(
|
|
36
|
-
if (
|
|
37
|
-
for (let a =
|
|
38
|
-
v(
|
|
39
|
-
|
|
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(
|
|
43
|
-
if (
|
|
44
|
-
const
|
|
45
|
-
p(
|
|
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
|
-
|
|
44
|
+
s.ancestors.push(t);
|
|
48
45
|
}
|
|
49
|
-
function
|
|
50
|
-
if (!(
|
|
51
|
-
|
|
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 =
|
|
55
|
-
|
|
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 !==
|
|
58
|
-
const
|
|
59
|
-
for (let
|
|
60
|
-
const f =
|
|
61
|
-
if (f.name ===
|
|
62
|
-
const
|
|
63
|
-
for (let
|
|
64
|
-
const
|
|
65
|
-
name:
|
|
66
|
-
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:
|
|
69
|
-
typeArguments:
|
|
70
|
-
} :
|
|
71
|
-
v(
|
|
67
|
+
viewUrl: e.viewUrl,
|
|
68
|
+
typeArguments: e.typeArguments
|
|
69
|
+
} : e;
|
|
70
|
+
v(h, s, n);
|
|
72
71
|
}
|
|
73
|
-
|
|
72
|
+
d(m.supertypes[0], s, n);
|
|
74
73
|
break;
|
|
75
74
|
}
|
|
76
75
|
}
|
|
77
76
|
} else
|
|
78
|
-
|
|
79
|
-
i.ancestors !== void 0 &&
|
|
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
|
package/dist/vite/plugin.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { l as T, m as J } from "../worker-
|
|
2
|
-
import { A as b, w as S } from "../ApiExtractor-
|
|
3
|
-
import { p as k, l as A } from "../typeScript-
|
|
1
|
+
import { l as T, m as J } from "../worker-BkBpI6nm.js";
|
|
2
|
+
import { A as b, w as S } from "../ApiExtractor-S65ib_fe.js";
|
|
3
|
+
import { p as k, l as A } from "../typeScript-CokMemNe.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;
|
package/dist/vite/typeScript.js
CHANGED
|
@@ -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-
|
|
2
|
+
import { b as Ri, p as Di, l as Li } from "./typeScript-CokMemNe.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.
|
|
3
|
+
"version": "5.0.0-next.173",
|
|
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.
|
|
57
|
-
"@arcgis/toolkit": "5.0.0-next.
|
|
56
|
+
"@arcgis/components-build-utils": "5.0.0-next.173",
|
|
57
|
+
"@arcgis/toolkit": "5.0.0-next.173"
|
|
58
58
|
},
|
|
59
59
|
"peerDependencies": {
|
|
60
60
|
"typescript": "~5.9.3",
|