@arcgis/api-extractor 5.1.0-next.11 → 5.1.0-next.13
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-CL9d5rhF.js → ApiExtractor-CsZw1gc4.js} +2 -2
- package/dist/diff/apiDiffToMarkdown.js +59 -61
- package/dist/diff/diffApiJson.js +107 -102
- package/dist/extractor/ApiExtractor.js +3 -3
- package/dist/extractor/config.js +2 -2
- package/dist/{typeScript-SqV74rkc.js → typeScript-C2M4aviw.js} +1 -1
- package/dist/vite/plugin.js +3 -3
- package/dist/vite/typeScript.js +1 -1
- package/dist/{worker-Bp9KmmwN.js → worker-oskaUWnO.js} +1 -2
- 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-C2M4aviw.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-oskaUWnO.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";
|
|
@@ -5,81 +5,79 @@ function K({ modules: e }, t) {
|
|
|
5
5
|
members: []
|
|
6
6
|
};
|
|
7
7
|
for (let n = 0; n < e.length; ++n) {
|
|
8
|
-
const s = e[n],
|
|
9
|
-
let y =
|
|
10
|
-
const
|
|
11
|
-
s.declarations.length === 1 && s.declarations[0].name ===
|
|
12
|
-
let
|
|
13
|
-
for (const
|
|
14
|
-
|
|
15
|
-
for (let
|
|
16
|
-
const
|
|
17
|
-
if (
|
|
18
|
-
for (let
|
|
19
|
-
const
|
|
20
|
-
if (
|
|
8
|
+
const s = e[n], w = s.path.split("/");
|
|
9
|
+
let y = w;
|
|
10
|
+
const M = w.at(-1);
|
|
11
|
+
s.declarations.length === 1 && s.declarations[0].name === M && (y = w.slice(0, -1));
|
|
12
|
+
let U = o;
|
|
13
|
+
for (const g of y)
|
|
14
|
+
U = N(U, g);
|
|
15
|
+
for (let g = 0; g < s.declarations.length; ++g) {
|
|
16
|
+
const h = s.declarations[g], S = B(h), O = h.removed === !0 ? void 0 : $(t, s.path, h, void 0), k = j(h), x = { label: S, viewUrl: O, change: k }, d = h, m = [];
|
|
17
|
+
if (d.members !== void 0)
|
|
18
|
+
for (let l = 0; l < d.members.length; ++l) {
|
|
19
|
+
const a = d.members[l], f = p(a.kind, a);
|
|
20
|
+
if (f === void 0)
|
|
21
21
|
continue;
|
|
22
|
-
const v = F(
|
|
22
|
+
const v = F(a), r = a.removed === !0 ? void 0 : $(
|
|
23
23
|
t,
|
|
24
24
|
s.path,
|
|
25
|
-
|
|
26
|
-
"name" in
|
|
25
|
+
h,
|
|
26
|
+
"name" in a ? a.name : `${h.name}Properties`
|
|
27
27
|
);
|
|
28
|
-
|
|
28
|
+
m.push({ label: v, viewUrl: r, change: f });
|
|
29
29
|
}
|
|
30
|
-
if (
|
|
31
|
-
for (let
|
|
32
|
-
const
|
|
33
|
-
if (
|
|
30
|
+
if (d.events !== void 0)
|
|
31
|
+
for (let l = 0; l < d.events.length; ++l) {
|
|
32
|
+
const a = d.events[l], f = p("event", a);
|
|
33
|
+
if (f === void 0)
|
|
34
34
|
continue;
|
|
35
|
-
const v =
|
|
36
|
-
|
|
35
|
+
const v = a.removed === !0 ? void 0 : $(t, s.path, h, `event-${a.name}`);
|
|
36
|
+
m.push({ label: `@${a.name}`, viewUrl: v, change: f });
|
|
37
37
|
}
|
|
38
|
-
if (typeof
|
|
39
|
-
const
|
|
40
|
-
if (
|
|
41
|
-
for (let
|
|
42
|
-
const
|
|
43
|
-
if (
|
|
38
|
+
if (typeof d.tagName == "string") {
|
|
39
|
+
const l = d.slots, a = d.cssParts, f = d.cssProperties, v = d.cssStates;
|
|
40
|
+
if (l !== void 0)
|
|
41
|
+
for (let r = 0; r < l.length; ++r) {
|
|
42
|
+
const i = l[r], u = p("slot", i);
|
|
43
|
+
if (u === void 0)
|
|
44
44
|
continue;
|
|
45
|
-
const
|
|
46
|
-
|
|
45
|
+
const b = i.removed === !0 ? void 0 : $(t, s.path, h, `slot-${i.name}`);
|
|
46
|
+
m.push({ label: i.name, viewUrl: b, change: u });
|
|
47
47
|
}
|
|
48
|
-
if (
|
|
49
|
-
for (let
|
|
50
|
-
const
|
|
51
|
-
if (
|
|
48
|
+
if (a !== void 0)
|
|
49
|
+
for (let r = 0; r < a.length; ++r) {
|
|
50
|
+
const i = a[r], u = p("css part", i);
|
|
51
|
+
if (u === void 0)
|
|
52
52
|
continue;
|
|
53
|
-
|
|
54
|
-
f.push({ label: r.name, viewUrl: p, change: h });
|
|
53
|
+
m.push({ label: i.name, viewUrl: void 0, change: u });
|
|
55
54
|
}
|
|
56
|
-
if (
|
|
57
|
-
for (let
|
|
58
|
-
const
|
|
59
|
-
if (
|
|
55
|
+
if (f !== void 0)
|
|
56
|
+
for (let r = 0; r < f.length; ++r) {
|
|
57
|
+
const i = f[r], u = p("css property", i);
|
|
58
|
+
if (u === void 0)
|
|
60
59
|
continue;
|
|
61
|
-
const
|
|
62
|
-
|
|
60
|
+
const b = i.removed === !0 ? void 0 : $(t, s.path, h, i.name);
|
|
61
|
+
m.push({ label: i.name, viewUrl: b, change: u });
|
|
63
62
|
}
|
|
64
63
|
if (v !== void 0)
|
|
65
|
-
for (let
|
|
66
|
-
const
|
|
67
|
-
if (
|
|
64
|
+
for (let r = 0; r < v.length; ++r) {
|
|
65
|
+
const i = v[r], u = p("css state", i);
|
|
66
|
+
if (u === void 0)
|
|
68
67
|
continue;
|
|
69
|
-
|
|
70
|
-
f.push({ label: r.name, viewUrl: p, change: h });
|
|
68
|
+
m.push({ label: i.name, viewUrl: void 0, change: u });
|
|
71
69
|
}
|
|
72
70
|
}
|
|
73
|
-
|
|
71
|
+
m.length > 0 ? E(U, x).members.push(...m) : k !== void 0 && U.members.push(x);
|
|
74
72
|
}
|
|
75
73
|
}
|
|
76
74
|
const c = [];
|
|
77
75
|
for (const n of o.children.values())
|
|
78
|
-
|
|
76
|
+
L(n, "", c);
|
|
79
77
|
return c.join(`
|
|
80
78
|
`);
|
|
81
79
|
}
|
|
82
|
-
function
|
|
80
|
+
function N(e, t) {
|
|
83
81
|
const o = e.children.get(t);
|
|
84
82
|
if (o !== void 0)
|
|
85
83
|
return o;
|
|
@@ -88,16 +86,16 @@ function L(e, t) {
|
|
|
88
86
|
}
|
|
89
87
|
function j(e) {
|
|
90
88
|
const t = e.tagName !== void 0 ? "component" : e.kind === "interface" ? "type declaration" : e.kind;
|
|
91
|
-
return
|
|
89
|
+
return p(t, e);
|
|
92
90
|
}
|
|
93
|
-
function
|
|
91
|
+
function p(e, t) {
|
|
94
92
|
const { added: o, removed: c, deprecated: n } = t;
|
|
95
93
|
if (c) {
|
|
96
94
|
const s = `**removed** ${e}`;
|
|
97
|
-
return typeof n == "string" ? `${s} - deprecated ${
|
|
95
|
+
return typeof n == "string" ? `${s} - deprecated ${D(n)}` : s;
|
|
98
96
|
}
|
|
99
97
|
if (n)
|
|
100
|
-
return typeof n == "string" ? `**deprecated** ${e} ${
|
|
98
|
+
return typeof n == "string" ? `**deprecated** ${e} ${D(n)}` : `**deprecated** ${e}`;
|
|
101
99
|
if (o)
|
|
102
100
|
return `**added** ${e}`;
|
|
103
101
|
}
|
|
@@ -105,12 +103,12 @@ function B(e) {
|
|
|
105
103
|
const t = e.tagName;
|
|
106
104
|
return typeof t == "string" && t.length > 0 ? t : C(e.name) + (e.kind === "function" ? "()" : "");
|
|
107
105
|
}
|
|
108
|
-
function
|
|
109
|
-
const n = `${e}${t}
|
|
106
|
+
function $(e, t, o, c) {
|
|
107
|
+
const n = `${e}${t}/`;
|
|
110
108
|
return T(n, o.kind === "class" ? void 0 : o.name, c);
|
|
111
109
|
}
|
|
112
110
|
function E(e, t) {
|
|
113
|
-
const o =
|
|
111
|
+
const o = N(e, t.label);
|
|
114
112
|
return o.node = t, o;
|
|
115
113
|
}
|
|
116
114
|
function F(e) {
|
|
@@ -119,11 +117,11 @@ function F(e) {
|
|
|
119
117
|
function C(e) {
|
|
120
118
|
return e.replace(/[\\\[\]\(\)]/gu, "\\$&");
|
|
121
119
|
}
|
|
122
|
-
function
|
|
120
|
+
function D(e) {
|
|
123
121
|
return e.split(`
|
|
124
122
|
`)[0];
|
|
125
123
|
}
|
|
126
|
-
function
|
|
124
|
+
function L(e, t, o) {
|
|
127
125
|
if (e.node) {
|
|
128
126
|
const n = e.node.viewUrl === void 0 ? e.node.label : `[${e.node.label}](${e.node.viewUrl})`;
|
|
129
127
|
e.node.change ? o.push(`${t}- ${n} - ${e.node.change}`) : o.push(`${t}- ${n}`);
|
|
@@ -135,7 +133,7 @@ function M(e, t, o) {
|
|
|
135
133
|
n.change ? o.push(`${c}- ${s} - ${n.change}`) : o.push(`${c}- ${s}`);
|
|
136
134
|
}
|
|
137
135
|
for (const n of e.children.values())
|
|
138
|
-
|
|
136
|
+
L(n, c, o);
|
|
139
137
|
}
|
|
140
138
|
export {
|
|
141
139
|
K as apiDiffToMarkdown
|
package/dist/diff/diffApiJson.js
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
function w(
|
|
2
|
-
if (
|
|
1
|
+
function w(i, o) {
|
|
2
|
+
if (i.compiler?.name !== "@arcgis/core:manual" || i.compiler?.version !== "4.34")
|
|
3
3
|
return;
|
|
4
|
-
const
|
|
5
|
-
return
|
|
6
|
-
|
|
4
|
+
const a = {};
|
|
5
|
+
return i.modules.forEach((e) => {
|
|
6
|
+
a[e.path] = e;
|
|
7
7
|
}), {
|
|
8
|
-
...
|
|
9
|
-
modules:
|
|
10
|
-
const
|
|
11
|
-
return e.declarations = e.declarations.filter((
|
|
12
|
-
if (
|
|
8
|
+
...o,
|
|
9
|
+
modules: o.modules.filter((e) => {
|
|
10
|
+
const t = a[e.path];
|
|
11
|
+
return e.declarations = e.declarations.filter((s) => {
|
|
12
|
+
if (s.kind === "mixin")
|
|
13
13
|
return !1;
|
|
14
|
-
if (
|
|
15
|
-
const
|
|
16
|
-
(d) => d.name ===
|
|
14
|
+
if (s.kind === "interface") {
|
|
15
|
+
const r = t?.declarations.find(
|
|
16
|
+
(d) => d.name === s.name && d.kind === "interface"
|
|
17
17
|
);
|
|
18
|
-
return
|
|
18
|
+
return s.members = void 0, r !== void 0;
|
|
19
19
|
}
|
|
20
20
|
return !0;
|
|
21
21
|
}), e.declarations.length > 0;
|
|
22
22
|
})
|
|
23
23
|
};
|
|
24
24
|
}
|
|
25
|
-
function
|
|
26
|
-
const
|
|
25
|
+
function x(i) {
|
|
26
|
+
const o = /* @__PURE__ */ new Set([
|
|
27
27
|
// Fake class turned into a variable
|
|
28
28
|
"config",
|
|
29
29
|
// Wasn't visible directly before due to doc mismatch
|
|
@@ -38,10 +38,15 @@ function A(n) {
|
|
|
38
38
|
"views/layers/PointCloudLayerView",
|
|
39
39
|
// ENUM-like objects turned into const variable + interfaces
|
|
40
40
|
"layers/support/rasterFunctionConstants"
|
|
41
|
-
]),
|
|
42
|
-
|
|
41
|
+
]), a = i.modules.filter((n) => {
|
|
42
|
+
if (o.has(n.path))
|
|
43
|
+
return !1;
|
|
44
|
+
const e = n.path.startsWith("widgets/");
|
|
45
|
+
return n.declarations = n.declarations.filter((t) => e ? t.deprecated === void 0 && t.removed === void 0 ? !1 : ((t.kind === "class" || t.kind === "interface" || t.kind === "mixin") && (t.members = void 0), !0) : t.kind === "class" ? t.members === void 0 ? !0 : (t.members = t.members.filter((s) => !(s.kind === "constructor" || s.kind === "call-signature" || A.has(s.name))), t.members.length > 0) : !0), n.declarations.length > 0;
|
|
46
|
+
});
|
|
47
|
+
return { ...i, modules: a };
|
|
43
48
|
}
|
|
44
|
-
const
|
|
49
|
+
const A = /* @__PURE__ */ new Set([
|
|
45
50
|
// Excluded from api.json inheritance to keep file size in check
|
|
46
51
|
"addHandles",
|
|
47
52
|
"hasHandles",
|
|
@@ -91,59 +96,59 @@ const P = /* @__PURE__ */ new Set([
|
|
|
91
96
|
// 6
|
|
92
97
|
"loadWarnings"
|
|
93
98
|
]);
|
|
94
|
-
function N(
|
|
95
|
-
const
|
|
96
|
-
|
|
99
|
+
function N(i, o) {
|
|
100
|
+
const a = w(i, o), n = a ?? o, e = i.compiler?.version.startsWith("4.") === !0 && n.compiler?.version.startsWith("4.") !== !0, t = new Map(
|
|
101
|
+
i.modules.map((d) => [
|
|
97
102
|
b(d, e),
|
|
98
103
|
d
|
|
99
104
|
])
|
|
100
|
-
),
|
|
101
|
-
for (const d of
|
|
102
|
-
const l =
|
|
103
|
-
m !== void 0 &&
|
|
105
|
+
), s = [];
|
|
106
|
+
for (const d of n.modules) {
|
|
107
|
+
const l = t.get(d.path), m = y(l, d, !0);
|
|
108
|
+
m !== void 0 && s.push(m), t.delete(d.path);
|
|
104
109
|
}
|
|
105
|
-
for (const d of
|
|
110
|
+
for (const d of t.values()) {
|
|
106
111
|
const l = y(
|
|
107
112
|
void 0,
|
|
108
113
|
e ? { ...d, path: b(d, e) } : d,
|
|
109
114
|
!1
|
|
110
115
|
);
|
|
111
|
-
l !== void 0 &&
|
|
116
|
+
l !== void 0 && s.push(l);
|
|
112
117
|
}
|
|
113
|
-
const
|
|
114
|
-
return
|
|
118
|
+
const r = { modules: s };
|
|
119
|
+
return a === void 0 ? r : x(r);
|
|
115
120
|
}
|
|
116
|
-
function b(
|
|
117
|
-
return
|
|
121
|
+
function b(i, o) {
|
|
122
|
+
return o ? i.declarations?.[0]?.importPath ?? i.path : i.path;
|
|
118
123
|
}
|
|
119
|
-
function y(
|
|
120
|
-
const
|
|
121
|
-
for (const
|
|
122
|
-
const
|
|
124
|
+
function y(i, o, a) {
|
|
125
|
+
const n = [], e = h(i?.declarations ?? []), t = h(o.declarations ?? []);
|
|
126
|
+
for (const s of t.values()) {
|
|
127
|
+
const r = s.at(-1), d = r.tagName, l = d ?? r.name, m = e.get(l);
|
|
123
128
|
e.delete(l);
|
|
124
|
-
const g = m === void 0 && !
|
|
129
|
+
const g = m === void 0 && !a ? !0 : void 0, v = (
|
|
125
130
|
// Only mark as deprecated if all overloads are deprecated
|
|
126
|
-
|
|
127
|
-
), k = !
|
|
131
|
+
s.length === 1 || s.every((c) => c.deprecated !== void 0) ? r.deprecated : void 0
|
|
132
|
+
), k = !v && m === void 0 && a ? !0 : void 0;
|
|
128
133
|
if (g || k) {
|
|
129
|
-
|
|
130
|
-
kind:
|
|
131
|
-
name:
|
|
134
|
+
n.push({
|
|
135
|
+
kind: r.kind,
|
|
136
|
+
name: r.name,
|
|
132
137
|
tagName: d,
|
|
133
138
|
members: void 0,
|
|
134
139
|
removed: g,
|
|
135
140
|
added: k,
|
|
136
|
-
deprecated:
|
|
141
|
+
deprecated: v
|
|
137
142
|
});
|
|
138
143
|
continue;
|
|
139
|
-
} else if (!
|
|
144
|
+
} else if (!a)
|
|
140
145
|
continue;
|
|
141
146
|
if (d !== void 0) {
|
|
142
|
-
const c =
|
|
147
|
+
const c = r, u = m?.[0], f = {
|
|
143
148
|
kind: c.kind,
|
|
144
149
|
name: c.name,
|
|
145
150
|
tagName: c.tagName,
|
|
146
|
-
deprecated:
|
|
151
|
+
deprecated: v,
|
|
147
152
|
added: void 0,
|
|
148
153
|
removed: void 0,
|
|
149
154
|
members: M(u?.members, c.members),
|
|
@@ -153,104 +158,104 @@ function y(n, s, o) {
|
|
|
153
158
|
cssProperties: p(u?.cssProperties, c.cssProperties),
|
|
154
159
|
cssStates: p(u?.cssStates, c.cssStates)
|
|
155
160
|
};
|
|
156
|
-
(
|
|
157
|
-
} else if (
|
|
161
|
+
(v !== void 0 || f.members !== void 0 || f.events !== void 0 || f.slots !== void 0 || f.cssParts !== void 0 || f.cssProperties !== void 0 || f.cssStates !== void 0) && n.push(f);
|
|
162
|
+
} else if (r.kind === "class" || r.kind === "interface" || r.kind === "mixin") {
|
|
158
163
|
const c = m?.[0], u = {
|
|
159
|
-
kind:
|
|
160
|
-
name:
|
|
161
|
-
deprecated:
|
|
164
|
+
kind: r.kind,
|
|
165
|
+
name: r.name,
|
|
166
|
+
deprecated: v,
|
|
162
167
|
added: void 0,
|
|
163
168
|
removed: void 0,
|
|
164
|
-
members: M(c?.members,
|
|
165
|
-
events: "events" in
|
|
169
|
+
members: M(c?.members, r.members),
|
|
170
|
+
events: "events" in r ? p(c?.events, r.events) : void 0
|
|
166
171
|
};
|
|
167
|
-
(
|
|
168
|
-
} else
|
|
169
|
-
kind:
|
|
170
|
-
name:
|
|
171
|
-
deprecated:
|
|
172
|
+
(v !== void 0 || u.members !== void 0 || u.events !== void 0) && n.push(u);
|
|
173
|
+
} else v !== void 0 && n.push({
|
|
174
|
+
kind: r.kind,
|
|
175
|
+
name: r.name,
|
|
176
|
+
deprecated: v,
|
|
172
177
|
added: void 0,
|
|
173
178
|
removed: void 0
|
|
174
179
|
});
|
|
175
180
|
}
|
|
176
|
-
if (
|
|
177
|
-
for (const [
|
|
178
|
-
|
|
179
|
-
kind:
|
|
180
|
-
name:
|
|
181
|
-
tagName:
|
|
181
|
+
if (a)
|
|
182
|
+
for (const [s] of e.values())
|
|
183
|
+
n.push({
|
|
184
|
+
kind: s.kind,
|
|
185
|
+
name: s.name,
|
|
186
|
+
tagName: s.tagName,
|
|
182
187
|
members: void 0,
|
|
183
188
|
removed: !0,
|
|
184
189
|
added: void 0,
|
|
185
|
-
deprecated:
|
|
190
|
+
deprecated: s.deprecated
|
|
186
191
|
});
|
|
187
|
-
if (
|
|
192
|
+
if (n.length !== 0)
|
|
188
193
|
return {
|
|
189
|
-
path:
|
|
190
|
-
declarations:
|
|
194
|
+
path: o.path,
|
|
195
|
+
declarations: n
|
|
191
196
|
};
|
|
192
197
|
}
|
|
193
|
-
function h(
|
|
194
|
-
const
|
|
195
|
-
for (let
|
|
196
|
-
const
|
|
197
|
-
|
|
198
|
+
function h(i) {
|
|
199
|
+
const o = /* @__PURE__ */ new Map();
|
|
200
|
+
for (let a = 0; a < i.length; ++a) {
|
|
201
|
+
const n = i[a], e = n.tagName ?? n.name ?? n.kind, t = o.get(e);
|
|
202
|
+
P(n.docsTags) || (t === void 0 ? o.set(e, [n]) : t.push(n));
|
|
198
203
|
}
|
|
199
|
-
return
|
|
204
|
+
return o;
|
|
200
205
|
}
|
|
201
|
-
function
|
|
202
|
-
if (
|
|
203
|
-
for (let
|
|
204
|
-
if (
|
|
206
|
+
function P(i) {
|
|
207
|
+
if (i !== void 0) {
|
|
208
|
+
for (let o = 0; o < i.length; ++o)
|
|
209
|
+
if (i[o].name === "internal")
|
|
205
210
|
return !0;
|
|
206
211
|
}
|
|
207
212
|
return !1;
|
|
208
213
|
}
|
|
209
|
-
function p(
|
|
210
|
-
const
|
|
211
|
-
if (
|
|
212
|
-
for (const e of
|
|
213
|
-
|
|
214
|
+
function p(i, o) {
|
|
215
|
+
const a = h(i ?? []), n = [];
|
|
216
|
+
if (o !== void 0)
|
|
217
|
+
for (const e of o)
|
|
218
|
+
a.get(e.name) === void 0 ? n.push({
|
|
214
219
|
name: e.name,
|
|
215
220
|
added: !0
|
|
216
|
-
}) : e.deprecated &&
|
|
221
|
+
}) : e.deprecated && n.push({
|
|
217
222
|
name: e.name,
|
|
218
223
|
deprecated: e.deprecated
|
|
219
|
-
}),
|
|
220
|
-
for (const [e] of
|
|
221
|
-
|
|
224
|
+
}), a.delete(e.name);
|
|
225
|
+
for (const [e] of a.values())
|
|
226
|
+
n.push({
|
|
222
227
|
name: e.name,
|
|
223
228
|
removed: !0,
|
|
224
229
|
deprecated: e.deprecated
|
|
225
230
|
});
|
|
226
|
-
return
|
|
231
|
+
return n.length ? n : void 0;
|
|
227
232
|
}
|
|
228
|
-
function M(
|
|
229
|
-
const
|
|
230
|
-
for (const [
|
|
231
|
-
const
|
|
232
|
-
|
|
233
|
+
function M(i, o) {
|
|
234
|
+
const a = h(i ?? []), n = h(o ?? []), e = [];
|
|
235
|
+
for (const [t, s] of n.entries()) {
|
|
236
|
+
const r = s.at(-1), d = a.get(t);
|
|
237
|
+
a.delete(t);
|
|
233
238
|
const l = (
|
|
234
239
|
// Only mark as deprecated if all overloads are deprecated
|
|
235
|
-
|
|
236
|
-
), m =
|
|
240
|
+
s.length === 1 || s.every((g) => g.deprecated !== void 0) ? r.deprecated : void 0
|
|
241
|
+
), m = t === "constructor" || t === "call-signature" ? void 0 : t;
|
|
237
242
|
l ? e.push({
|
|
238
|
-
kind:
|
|
243
|
+
kind: r.kind,
|
|
239
244
|
name: m,
|
|
240
245
|
deprecated: l
|
|
241
246
|
}) : d === void 0 && e.push({
|
|
242
|
-
kind:
|
|
247
|
+
kind: r.kind,
|
|
243
248
|
name: m,
|
|
244
249
|
added: !0
|
|
245
250
|
});
|
|
246
251
|
}
|
|
247
|
-
for (const [
|
|
248
|
-
const
|
|
252
|
+
for (const [t, [s]] of a.entries()) {
|
|
253
|
+
const r = t === "constructor" || t === "call-signature" ? void 0 : t;
|
|
249
254
|
e.push({
|
|
250
|
-
kind:
|
|
251
|
-
name:
|
|
255
|
+
kind: s.kind,
|
|
256
|
+
name: r,
|
|
252
257
|
removed: !0,
|
|
253
|
-
deprecated:
|
|
258
|
+
deprecated: s.deprecated
|
|
254
259
|
});
|
|
255
260
|
}
|
|
256
261
|
return e.length ? e : void 0;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "../typeScript-
|
|
2
|
-
import "../worker-
|
|
1
|
+
import "../typeScript-C2M4aviw.js";
|
|
2
|
+
import "../worker-oskaUWnO.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-CsZw1gc4.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-C2M4aviw.js";
|
|
3
|
+
import { l as n, m as A, r as C } from "../worker-oskaUWnO.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.1.0-next.
|
|
5
|
+
const P = "@arcgis/api-extractor", D = "5.1.0-next.13", N = {
|
|
6
6
|
name: P,
|
|
7
7
|
version: D
|
|
8
8
|
};
|
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-oskaUWnO.js";
|
|
2
|
+
import { A as b, w as S } from "../ApiExtractor-CsZw1gc4.js";
|
|
3
|
+
import { p as k, l as A } from "../typeScript-C2M4aviw.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-C2M4aviw.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";
|
|
@@ -514,7 +514,6 @@ function mn(e, t, n) {
|
|
|
514
514
|
export abstract class __FeatureLayerSansType extends FeatureLayerSuperclass {`;
|
|
515
515
|
return e.slice(0, a) + m + e.slice(a + i.length, c) + e.slice(r);
|
|
516
516
|
}
|
|
517
|
-
case "layers/CSVLayer":
|
|
518
517
|
case "layers/OrientedImageryLayer": {
|
|
519
518
|
const i = `import type { __FeatureLayerSansType } from "./FeatureLayer.js";
|
|
520
519
|
`, a = `extends FeatureLayer {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/api-extractor",
|
|
3
|
-
"version": "5.1.0-next.
|
|
3
|
+
"version": "5.1.0-next.13",
|
|
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.1.0-next.
|
|
57
|
-
"@arcgis/toolkit": "5.1.0-next.
|
|
56
|
+
"@arcgis/components-build-utils": "5.1.0-next.13",
|
|
57
|
+
"@arcgis/toolkit": "5.1.0-next.13"
|
|
58
58
|
},
|
|
59
59
|
"peerDependencies": {
|
|
60
60
|
"typescript": "~5.9.3",
|