@arcgis/api-extractor 5.1.0-next.12 → 5.1.0-next.14

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-BCBmfHLx.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-BVWpH1zZ.js";
1
+ import { l as H, a as se, e as Re, p as fe } from "./typeScript-B5R2UwZ3.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-C6OjgDC9.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], 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 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(i), a = i.removed === !0 ? void 0 : g(
22
+ const v = F(a), r = a.removed === !0 ? void 0 : $(
23
23
  t,
24
24
  s.path,
25
- l,
26
- "name" in i ? i.name : `${l.name}Properties`
25
+ h,
26
+ "name" in a ? a.name : `${h.name}Properties`
27
27
  );
28
- f.push({ label: v, viewUrl: a, change: m });
28
+ m.push({ label: v, viewUrl: r, change: f });
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);
33
- if (m === void 0)
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 = i.removed === !0 ? void 0 : g(t, s.path, l, i.name);
36
- f.push({ label: `@${i.name}`, viewUrl: v, change: m });
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 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, 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 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 = 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 (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 (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
- 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
+ m.push({ label: i.name, viewUrl: void 0, change: u });
55
54
  }
56
- 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)
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 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 = 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 a = 0; a < v.length; ++a) {
66
- const r = v[a], h = b("css state", r);
67
- if (h === void 0)
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
- 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
+ m.push({ label: i.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
+ 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
- M(n, "", c);
76
+ L(n, "", c);
79
77
  return c.join(`
80
78
  `);
81
79
  }
82
- function L(e, t) {
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 b(t, e);
89
+ return p(t, e);
92
90
  }
93
- function b(e, t) {
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 ${N(n)}` : s;
95
+ return typeof n == "string" ? `${s} - deprecated ${D(n)}` : s;
98
96
  }
99
97
  if (n)
100
- return typeof n == "string" ? `**deprecated** ${e} ${N(n)}` : `**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 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 = 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 N(e) {
120
+ function D(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}`);
@@ -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
- M(n, c, o);
136
+ L(n, c, o);
139
137
  }
140
138
  export {
141
139
  K as apiDiffToMarkdown
@@ -1,8 +1,8 @@
1
- import "../typeScript-BCBmfHLx.js";
2
- import "../worker-BVWpH1zZ.js";
1
+ import "../typeScript-B5R2UwZ3.js";
2
+ import "../worker-C6OjgDC9.js";
3
3
  import "./processing/links.js";
4
4
  import "typescript";
5
- import { A as x } from "../ApiExtractor-BCmY4dON.js";
5
+ import { A as x } from "../ApiExtractor-TssKKvIp.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-BCBmfHLx.js";
3
- import { l as n, m as A, r as C } from "../worker-BVWpH1zZ.js";
2
+ import "../typeScript-B5R2UwZ3.js";
3
+ import { l as n, m as A, r as C } from "../worker-C6OjgDC9.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.12", N = {
5
+ const P = "@arcgis/api-extractor", D = "5.1.0-next.14", N = {
6
6
  name: P,
7
7
  version: D
8
8
  };
@@ -1,6 +1,6 @@
1
- import { l as T, m as J } from "../worker-BVWpH1zZ.js";
2
- import { A as b, w as S } from "../ApiExtractor-BCmY4dON.js";
3
- import { p as k, l as A } from "../typeScript-BCBmfHLx.js";
1
+ import { l as T, m as J } from "../worker-C6OjgDC9.js";
2
+ import { A as b, w as S } from "../ApiExtractor-TssKKvIp.js";
3
+ import { p as k, l as A } from "../typeScript-B5R2UwZ3.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-BCBmfHLx.js";
3
+ import { b as t } from "../typeScript-B5R2UwZ3.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-BCBmfHLx.js";
2
+ import { b as Ri, p as Di, l as Li } from "./typeScript-B5R2UwZ3.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.12",
3
+ "version": "5.1.0-next.14",
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.12",
57
- "@arcgis/toolkit": "5.1.0-next.12"
56
+ "@arcgis/components-build-utils": "5.1.0-next.14",
57
+ "@arcgis/toolkit": "5.1.0-next.14"
58
58
  },
59
59
  "peerDependencies": {
60
60
  "typescript": "~5.9.3",