@arcgis/api-extractor 5.1.0-next.9 → 5.1.0-next.90

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/apiJson.d.ts CHANGED
@@ -328,6 +328,13 @@ export interface ApiCustomElementDeclaration extends ApiClassDeclaration, ApiWit
328
328
  * @example "ArcgisCounter" (even if class name is `Counter`)
329
329
  */
330
330
  pascalCaseName: string;
331
+ /**
332
+ * True if the custom element is
333
+ * [form-associated](https://html.spec.whatwg.org/dev/custom-elements.html).
334
+ *
335
+ * @default false
336
+ */
337
+ formAssociated?: boolean;
331
338
  members: ApiCustomElementMember[];
332
339
  /**
333
340
  * The attributes that this element is known to understand.
@@ -651,7 +658,7 @@ export interface ApiClassDeclaration extends ApiObjectLikeDeclaration, ApiWithEv
651
658
  * matches the order of language used to describe mixin application, like
652
659
  * "S with A, B".
653
660
  *
654
- * @see https://webgis.esri.com/webgis/core/core/mixins
661
+ * @see https://webgis.esri.com/sdk/contributing/core/core/mixins
655
662
  */
656
663
  mixins?: ApiReferenceWithTypeArguments[];
657
664
  }
@@ -778,7 +785,7 @@ export interface ApiClassMethod extends ApiFunctionLike, ApiWithInheritance, Api
778
785
  * displaying the signature is redundant.
779
786
  * Still, if needed, you can use printSignature() util from
780
787
  * `@arcgis/api-extractor`.
781
- * @example "(options?: __esri.PopupViewOpenPopupOptions): Promise<void>"
788
+ * @example "(options?: PopupViewOpenPopupOptions): Promise<void>"
782
789
  */
783
790
  signature: string;
784
791
  }
@@ -796,7 +803,7 @@ export interface ApiClassCallSignature extends Omit<ApiFunctionLike, "name">, Ap
796
803
  /**
797
804
  * A description of a class mixin.
798
805
  *
799
- * @see [WebGIS - Mixins](https://webgis.esri.com/webgis/core/core/mixins)
806
+ * @see [WebGIS - Mixins](https://webgis.esri.com/sdk/contributing/core/core/mixins)
800
807
  */
801
808
  export interface ApiMixinDeclaration extends Omit<ApiFunctionLike, "return">, ApiObjectLikeDeclaration, ApiWithEvents {
802
809
  kind: "mixin";
package/dist/cli.js CHANGED
@@ -1,4 +1,3 @@
1
- #!/usr/bin/env node
2
1
  import { Command as c } from "@commander-js/extra-typings";
3
2
  const o = new c();
4
3
  o.name("api-extractor").description("Extract public API from a TypeScript project to produce .d.ts types and api.json docs");
@@ -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], U = s.path.split("/");
9
- let y = U;
10
- const x = U.at(-1);
11
- s.declarations.length === 1 && s.declarations[0].name === x && (y = U.slice(0, -1));
12
- let w = o;
13
- for (const $ of y)
14
- w = L(w, $);
15
- for (let $ = 0; $ < s.declarations.length; ++$) {
16
- const l = s.declarations[$], S = B(l), O = l.removed === !0 ? void 0 : g(t, s.path, l, void 0), k = j(l), D = { label: S, viewUrl: O, change: k }, u = l, f = [];
17
- if (u.members !== void 0)
18
- for (let d = 0; d < u.members.length; ++d) {
19
- const i = u.members[d], m = b(i.kind, i);
20
- if (m === void 0)
8
+ const i = e[n], w = i.path.split("/");
9
+ let y = w;
10
+ const M = w.at(-1);
11
+ i.declarations.length === 1 && i.declarations[0].name === M && (y = w.slice(0, -1));
12
+ let U = o;
13
+ for (const g of y)
14
+ U = D(U, g);
15
+ for (let g = 0; g < i.declarations.length; ++g) {
16
+ const f = i.declarations[g], S = B(f), O = f.removed === !0 ? void 0 : $(t, i.path, f, void 0), C = j(f), N = { label: S, viewUrl: O, change: C }, d = f, h = [];
17
+ if (d.members !== void 0)
18
+ for (let l = 0; l < d.members.length; ++l) {
19
+ const r = d.members[l], m = r.kind === "field" ? "property" : r.kind === "call-signature" ? "call signature" : r.kind, p = v(m, r);
20
+ if (p === void 0)
21
21
  continue;
22
- const v = F(i), a = i.removed === !0 ? void 0 : g(
22
+ const s = F(r), a = r.removed === !0 ? void 0 : $(
23
23
  t,
24
- s.path,
25
- l,
26
- "name" in i ? i.name : `${l.name}Properties`
24
+ i.path,
25
+ f,
26
+ "name" in r ? r.name : `${f.name}Properties`
27
27
  );
28
- f.push({ label: v, viewUrl: a, change: m });
28
+ h.push({ label: s, viewUrl: a, change: p });
29
29
  }
30
- if (u.events !== void 0)
31
- for (let d = 0; d < u.events.length; ++d) {
32
- const i = u.events[d], m = b("event", i);
30
+ if (d.events !== void 0)
31
+ for (let l = 0; l < d.events.length; ++l) {
32
+ const r = d.events[l], m = v("event", r);
33
33
  if (m === void 0)
34
34
  continue;
35
- const v = i.removed === !0 ? void 0 : g(t, s.path, l, i.name);
36
- f.push({ label: `@${i.name}`, viewUrl: v, change: m });
35
+ const p = r.removed === !0 ? void 0 : $(t, i.path, f, `event-${r.name}`);
36
+ h.push({ label: `@${r.name}`, viewUrl: p, change: m });
37
37
  }
38
- if (typeof u.tagName == "string") {
39
- const d = u.slots, i = u.cssParts, m = u.cssProperties, v = u.cssStates;
40
- if (d !== void 0)
41
- for (let a = 0; a < d.length; ++a) {
42
- const r = d[a], h = b("slot", r);
43
- if (h === void 0)
38
+ if (typeof d.tagName == "string") {
39
+ const l = d.slots, r = d.cssParts, m = d.cssProperties, p = d.cssStates;
40
+ if (l !== void 0)
41
+ for (let s = 0; s < l.length; ++s) {
42
+ const a = l[s], u = v("slot", a);
43
+ if (u === void 0)
44
44
  continue;
45
- const p = r.removed === !0 ? void 0 : g(t, s.path, l, r.name);
46
- f.push({ label: r.name, viewUrl: p, change: h });
45
+ const b = a.removed === !0 ? void 0 : $(t, i.path, f, `slot-${a.name}`);
46
+ h.push({ label: a.name, viewUrl: b, change: u });
47
47
  }
48
- if (i !== void 0)
49
- for (let a = 0; a < i.length; ++a) {
50
- const r = i[a], h = b("css part", r);
51
- if (h === void 0)
48
+ if (r !== void 0)
49
+ for (let s = 0; s < r.length; ++s) {
50
+ const a = r[s], u = v("css part", a);
51
+ if (u === void 0)
52
52
  continue;
53
- const p = r.removed === !0 ? void 0 : g(t, s.path, l, r.name);
54
- f.push({ label: r.name, viewUrl: p, change: h });
53
+ h.push({ label: a.name, viewUrl: void 0, change: u });
55
54
  }
56
55
  if (m !== void 0)
57
- for (let a = 0; a < m.length; ++a) {
58
- const r = m[a], h = b("css property", r);
59
- if (h === void 0)
56
+ for (let s = 0; s < m.length; ++s) {
57
+ const a = m[s], u = v("css property", a);
58
+ if (u === void 0)
60
59
  continue;
61
- const p = r.removed === !0 ? void 0 : g(t, s.path, l, r.name);
62
- f.push({ label: r.name, viewUrl: p, change: h });
60
+ const b = a.removed === !0 ? void 0 : $(t, i.path, f, a.name);
61
+ h.push({ label: a.name, viewUrl: b, change: u });
63
62
  }
64
- if (v !== void 0)
65
- for (let a = 0; a < v.length; ++a) {
66
- const r = v[a], h = b("css state", r);
67
- if (h === void 0)
63
+ if (p !== void 0)
64
+ for (let s = 0; s < p.length; ++s) {
65
+ const a = p[s], u = v("css state", a);
66
+ if (u === void 0)
68
67
  continue;
69
- const p = r.removed === !0 ? void 0 : g(t, s.path, l, r.name);
70
- f.push({ label: r.name, viewUrl: p, change: h });
68
+ h.push({ label: a.name, viewUrl: void 0, change: u });
71
69
  }
72
70
  }
73
- f.length > 0 ? E(w, D).members.push(...f) : k !== void 0 && w.members.push(D);
71
+ h.length > 0 ? E(U, N).members.push(...h) : C !== void 0 && U.members.push(N);
74
72
  }
75
73
  }
76
74
  const c = [];
77
75
  for (const n of o.children.values())
78
- M(n, "", c);
76
+ L(n, "", c);
79
77
  return c.join(`
80
78
  `);
81
79
  }
82
- function L(e, t) {
80
+ function D(e, t) {
83
81
  const o = e.children.get(t);
84
82
  if (o !== void 0)
85
83
  return o;
@@ -88,42 +86,42 @@ 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 b(t, e);
89
+ return v(t, e);
92
90
  }
93
- function b(e, t) {
91
+ function v(e, t) {
94
92
  const { added: o, removed: c, deprecated: n } = t;
95
93
  if (c) {
96
- const s = `**removed** ${e}`;
97
- return typeof n == "string" ? `${s} - deprecated ${N(n)}` : s;
94
+ const i = `**removed** ${e}`;
95
+ return typeof n == "string" ? `${i} - deprecated ${x(n)}` : i;
98
96
  }
99
97
  if (n)
100
- return typeof n == "string" ? `**deprecated** ${e} ${N(n)}` : `**deprecated** ${e}`;
98
+ return typeof n == "string" ? `**deprecated** ${e} ${x(n)}` : `**deprecated** ${e}`;
101
99
  if (o)
102
100
  return `**added** ${e}`;
103
101
  }
104
102
  function B(e) {
105
103
  const t = e.tagName;
106
- return typeof t == "string" && t.length > 0 ? t : C(e.name) + (e.kind === "function" ? "()" : "");
104
+ return typeof t == "string" && t.length > 0 ? t : k(e.name) + (e.kind === "function" ? "()" : "");
107
105
  }
108
- function g(e, t, o, c) {
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 = L(e, t.label);
111
+ const o = D(e, t.label);
114
112
  return o.node = t, o;
115
113
  }
116
114
  function F(e) {
117
- return e.kind === "constructor" ? "constructor" : e.kind === "call-signature" ? "call signature" : e.kind === "method" ? `${C(e.name)}()` : C(e.name);
115
+ return e.kind === "constructor" ? "constructor" : e.kind === "call-signature" ? "call signature" : e.kind === "method" ? `${k(e.name)}()` : k(e.name);
118
116
  }
119
- function C(e) {
117
+ function k(e) {
120
118
  return e.replace(/[\\\[\]\(\)]/gu, "\\$&");
121
119
  }
122
- function N(e) {
120
+ function x(e) {
123
121
  return e.split(`
124
122
  `)[0];
125
123
  }
126
- function M(e, t, o) {
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}`);
@@ -131,11 +129,11 @@ function M(e, t, o) {
131
129
  o.push(`${t}- ${e.name}/`);
132
130
  const c = `${t} `;
133
131
  for (const n of e.members) {
134
- const s = n.viewUrl === void 0 ? n.label : `[${n.label}](${n.viewUrl})`;
135
- n.change ? o.push(`${c}- ${s} - ${n.change}`) : o.push(`${c}- ${s}`);
132
+ const i = n.viewUrl === void 0 ? n.label : `[${n.label}](${n.viewUrl})`;
133
+ n.change ? o.push(`${c}- ${i} - ${n.change}`) : o.push(`${c}- ${i}`);
136
134
  }
137
135
  for (const n of e.children.values())
138
- M(n, c, o);
136
+ L(n, c, o);
139
137
  }
140
138
  export {
141
139
  K as apiDiffToMarkdown
@@ -1,29 +1,29 @@
1
- function w(n, s) {
2
- if (n.compiler?.name !== "@arcgis/core:manual" || n.compiler?.version !== "4.34")
1
+ function w(i, o) {
2
+ if (i.compiler?.name !== "@arcgis/core:manual" || i.compiler?.version !== "4.34")
3
3
  return;
4
- const o = {};
5
- return n.modules.forEach((e) => {
6
- o[e.path] = e;
4
+ const a = {};
5
+ return i.modules.forEach((e) => {
6
+ a[e.path] = e;
7
7
  }), {
8
- ...s,
9
- modules: s.modules.filter((e) => {
10
- const r = o[e.path];
11
- return e.declarations = e.declarations.filter((a) => {
12
- if (a.kind === "mixin")
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 (a.kind === "interface") {
15
- const i = r?.declarations.find(
16
- (d) => d.name === a.name && d.kind === "interface"
14
+ if (s.kind === "interface") {
15
+ const r = t?.declarations.find(
16
+ (d) => d.name === s.name && d.kind === "interface"
17
17
  );
18
- return a.members = void 0, i !== void 0;
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 A(n) {
26
- const s = /* @__PURE__ */ new Set([
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
- ]), o = n.modules.filter((t) => s.has(t.path) ? !1 : (t.declarations = t.declarations.filter((e) => e.kind === "class" ? e.members === void 0 ? !0 : (e.members = e.members.filter((r) => !(r.kind === "constructor" || r.kind === "call-signature" || P.has(r.name))), e.members.length > 0) : !0), t.declarations.length > 0));
42
- return { ...n, modules: o };
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 P = /* @__PURE__ */ new Set([
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(n, s) {
95
- const o = w(n, s), t = o ?? s, e = n.compiler?.version.startsWith("4.") === !0 && t.compiler?.version.startsWith("4.") !== !0, r = new Map(
96
- n.modules.map((d) => [
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
- ), a = [];
101
- for (const d of t.modules) {
102
- const l = r.get(d.path), m = y(l, d, !0);
103
- m !== void 0 && a.push(m), r.delete(d.path);
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 r.values()) {
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 && a.push(l);
116
+ l !== void 0 && s.push(l);
112
117
  }
113
- const i = { modules: a };
114
- return o === void 0 ? i : A(i);
118
+ const r = { modules: s };
119
+ return a === void 0 ? r : x(r);
115
120
  }
116
- function b(n, s) {
117
- return s ? n.declarations?.[0]?.importPath ?? n.path : n.path;
121
+ function b(i, o) {
122
+ return o ? i.declarations?.[0]?.importPath ?? i.path : i.path;
118
123
  }
119
- function y(n, s, o) {
120
- const t = [], e = h(n?.declarations ?? []), r = h(s.declarations ?? []);
121
- for (const a of r.values()) {
122
- const i = a.at(-1), d = i.tagName, l = d ?? i.name, m = e.get(l);
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 && !o ? !0 : void 0, f = (
129
+ const g = m === void 0 && !a ? !0 : void 0, v = (
125
130
  // Only mark as deprecated if all overloads are deprecated
126
- a.length === 1 || a.every((c) => c.deprecated !== void 0) ? i.deprecated : void 0
127
- ), k = !f && m === void 0 && o ? !0 : void 0;
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
- t.push({
130
- kind: i.kind,
131
- name: i.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: f
141
+ deprecated: v
137
142
  });
138
143
  continue;
139
- } else if (!o)
144
+ } else if (!a)
140
145
  continue;
141
146
  if (d !== void 0) {
142
- const c = i, u = m?.[0], v = {
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: f,
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
- (f !== void 0 || v.members !== void 0 || v.events !== void 0 || v.slots !== void 0 || v.cssParts !== void 0 || v.cssProperties !== void 0 || v.cssStates !== void 0) && t.push(v);
157
- } else if (i.kind === "class" || i.kind === "interface" || i.kind === "mixin") {
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: i.kind,
160
- name: i.name,
161
- deprecated: f,
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, i.members),
165
- events: "events" in i ? p(c?.events, i.events) : void 0
169
+ members: M(c?.members, r.members),
170
+ events: "events" in r ? p(c?.events, r.events) : void 0
166
171
  };
167
- (f !== void 0 || u.members !== void 0 || u.events !== void 0) && t.push(u);
168
- } else f !== void 0 && t.push({
169
- kind: i.kind,
170
- name: i.name,
171
- deprecated: f,
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 (o)
177
- for (const [a] of e.values())
178
- t.push({
179
- kind: a.kind,
180
- name: a.name,
181
- tagName: a.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: a.deprecated
190
+ deprecated: s.deprecated
186
191
  });
187
- if (t.length !== 0)
192
+ if (n.length !== 0)
188
193
  return {
189
- path: s.path,
190
- declarations: t
194
+ path: o.path,
195
+ declarations: n
191
196
  };
192
197
  }
193
- function h(n) {
194
- const s = /* @__PURE__ */ new Map();
195
- for (let o = 0; o < n.length; ++o) {
196
- const t = n[o], e = t.tagName ?? t.name ?? t.kind, r = s.get(e);
197
- x(t.docsTags) || (r === void 0 ? s.set(e, [t]) : r.push(t));
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 s;
204
+ return o;
200
205
  }
201
- function x(n) {
202
- if (n !== void 0) {
203
- for (let s = 0; s < n.length; ++s)
204
- if (n[s].name === "internal")
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(n, s) {
210
- const o = h(n ?? []), t = [];
211
- if (s !== void 0)
212
- for (const e of s)
213
- o.get(e.name) === void 0 ? t.push({
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 && t.push({
221
+ }) : e.deprecated && n.push({
217
222
  name: e.name,
218
223
  deprecated: e.deprecated
219
- }), o.delete(e.name);
220
- for (const [e] of o.values())
221
- t.push({
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 t.length ? t : void 0;
231
+ return n.length ? n : void 0;
227
232
  }
228
- function M(n, s) {
229
- const o = h(n ?? []), t = h(s ?? []), e = [];
230
- for (const [r, a] of t.entries()) {
231
- const i = a.at(-1), d = o.get(r);
232
- o.delete(r);
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
- a.length === 1 || a.every((g) => g.deprecated !== void 0) ? i.deprecated : void 0
236
- ), m = r === "constructor" || r === "call-signature" ? void 0 : r;
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: i.kind,
243
+ kind: r.kind,
239
244
  name: m,
240
245
  deprecated: l
241
246
  }) : d === void 0 && e.push({
242
- kind: i.kind,
247
+ kind: r.kind,
243
248
  name: m,
244
249
  added: !0
245
250
  });
246
251
  }
247
- for (const [r, [a]] of o.entries()) {
248
- const i = r === "constructor" || r === "call-signature" ? void 0 : r;
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: a.kind,
251
- name: i,
255
+ kind: s.kind,
256
+ name: r,
252
257
  removed: !0,
253
- deprecated: a.deprecated
258
+ deprecated: s.deprecated
254
259
  });
255
260
  }
256
261
  return e.length ? e : void 0;
@@ -1,8 +1,8 @@
1
- import "../typeScript-CInYutJl.js";
2
- import "../worker-CkQr9LFy.js";
1
+ import "../typeScript-Bcylmvl-.js";
2
+ import "../worker-DdLxplOi.js";
3
3
  import "./processing/links.js";
4
4
  import "typescript";
5
- import { A as x } from "../ApiExtractor-n7bNNfky.js";
5
+ import { A as x } from "../ApiExtractor-DD4ODfUV.js";
6
6
  import "@arcgis/toolkit/function";
7
7
  export {
8
8
  x as ApiExtractor
@@ -186,7 +186,7 @@ export interface ApiExtractorTypesConfig {
186
186
  * anyway, this option deduplicates work by removing the need for you to run
187
187
  * type checking separately.
188
188
  *
189
- * @default // false if running standalone. true if running in Vite.
189
+ * @default // false if running standalone or in storybook. true if running in Vite.
190
190
  */
191
191
  readonly fullTypeCheck?: boolean;
192
192
  /**
@@ -279,6 +279,15 @@ export type TypeReplacements = Record<string, Record<string, readonly [modulePat
279
279
  export interface ApiExtractorDocumentationConfig {
280
280
  readonly copyDocDefinitions?: CopyDocDefinitions;
281
281
  readonly noInheritMembers?: NoInheritMembers;
282
+ /**
283
+ * Whether to omit \@internal APIs from api.json.
284
+ * This can only be disabled if not emitting .d.ts files.
285
+ * Otherwise, you can manually filter out nodes that have
286
+ * .docsTags[].name==="internal" in the api.json.
287
+ *
288
+ * @default false
289
+ */
290
+ readonly omitInternal?: boolean;
282
291
  /**
283
292
  * Get a prefix for a public-facing URL for each component story.
284
293
  *
@@ -1,18 +1,17 @@
1
1
  import "@arcgis/components-build-utils";
2
- import "../typeScript-CInYutJl.js";
3
- import { l as n, m as A, r as C } from "../worker-CkQr9LFy.js";
2
+ import "../typeScript-Bcylmvl-.js";
3
+ import { l, m as n, r as A } from "../worker-DdLxplOi.js";
4
4
  import "./processing/links.js";
5
5
  import "typescript";
6
6
  import "fs/promises";
7
- import "chalk";
8
- import "util";
7
+ import "node:util";
9
8
  import "@arcgis/toolkit/string";
10
- import "../apiHelpers-BYzO767m.js";
9
+ import "../utils/apiHelpers.js";
11
10
  import "@arcgis/toolkit/function";
12
11
  import "node:fs";
13
12
  import "node:url";
14
13
  export {
15
- n as loadApiExtractorConfig,
16
- A as mergeApiExtractorConfigs,
17
- C as resolveApiExtractorConfig
14
+ l as loadApiExtractorConfig,
15
+ n as mergeApiExtractorConfigs,
16
+ A as resolveApiExtractorConfig
18
17
  };
@@ -1,6 +1,6 @@
1
1
  import type { ApiClassDeclaration, ApiClassMethod, ApiCustomElementDeclaration, ApiCustomElementField, ApiEvent, ApiFunctionDeclaration, ApiInterfaceDeclaration, ApiModule, ApiVariableDeclaration } from "../../apiJson.js";
2
2
 
3
- /** [Documentation](https://webgis.esri.com/webgis/core/core/documenting-api#copydoc) */
3
+ /** [Documentation](https://webgis.esri.com/sdk/contributing/core/core/documenting-api#copydoc) */
4
4
  export interface CopyDocDefinitions {
5
5
  properties?: CopyDocMemberDeclarations<ApiCustomElementField>;
6
6
  methods?: CopyDocMemberDeclarations<ApiClassMethod>;