@arcgis/api-extractor 5.1.0-next.97 → 5.1.0-next.99

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 De, p as me } from "./typeScript-zGiGmG3F.js";
2
- import { a as be, o as xe, t as Le, b as Oe, c as Ne, e as Be, p as We, d as Ue, f as _, i as pe, g as ze, h as je, j as He, k as Je, n as Ve, r as Xe } from "./worker-DPDqLo0a.js";
1
+ import { l as H, a as se, e as De, p as me } from "./typeScript-BJ98xoUG.js";
2
+ import { a as be, o as xe, t as Le, b as Oe, c as Ne, e as Be, p as We, d as Ue, f as _, i as pe, g as ze, h as je, j as He, k as Je, n as Ve, r as Xe } from "./worker-BKOEQXzG.js";
3
3
  import { getViewUrl as Ye, postProcessDeprecated as Q, postProcessDescription as G, postProcessDocsTags as V, resolveJsDocLink as qe } from "./extractor/processing/links.js";
4
4
  import E from "typescript";
5
5
  import { path as N, toPosixPathSeparators as Ze } from "@arcgis/components-build-utils";
@@ -1,8 +1,8 @@
1
- import "../typeScript-zGiGmG3F.js";
2
- import "../worker-DPDqLo0a.js";
1
+ import "../typeScript-BJ98xoUG.js";
2
+ import "../worker-BKOEQXzG.js";
3
3
  import "./processing/links.js";
4
4
  import "typescript";
5
- import { A as x } from "../ApiExtractor-C80dphXQ.js";
5
+ import { A as x } from "../ApiExtractor-CYe0v4qU.js";
6
6
  import "@arcgis/toolkit/function";
7
7
  export {
8
8
  x as ApiExtractor
@@ -293,9 +293,9 @@ export interface ApiExtractorDocumentationConfig {
293
293
  *
294
294
  * @see https://webgis.esri.com/references/support-packages/storybook
295
295
  * @example
296
- * Set this to "https://developers.arcgis.com/javascript/latest/storybook/map-components/".
296
+ * Set this to "https://developers.arcgis.com/javascript/latest/storybook/map-components/index.html".
297
297
  * This will produce URLs like
298
- * "https://developers.arcgis.com/javascript/latest/storybook/map-components/?path=/story/arcgis-area-measurement-2d--demo&singleStory=true"
298
+ * "https://developers.arcgis.com/javascript/latest/storybook/map-components/index.html?path=/story/arcgis-area-measurement-2d--demo&singleStory=true"
299
299
  */
300
300
  readonly publicStoryUrlPrefix?: string | false;
301
301
  /**
@@ -1,6 +1,6 @@
1
1
  import "@arcgis/components-build-utils";
2
- import "../typeScript-zGiGmG3F.js";
3
- import { l, m as n, r as A } from "../worker-DPDqLo0a.js";
2
+ import "../typeScript-BJ98xoUG.js";
3
+ import { l, m as n, r as A } from "../worker-BKOEQXzG.js";
4
4
  import "./processing/links.js";
5
5
  import "typescript";
6
6
  import "fs/promises";
@@ -1,7 +1,7 @@
1
1
  import { findPath as E, path as u, toSystemPathSeparators as S } from "@arcgis/components-build-utils";
2
2
  import t from "typescript";
3
3
  import { styleText as f } from "util";
4
- const w = "@arcgis/api-extractor", P = "5.1.0-next.97", D = {
4
+ const w = "@arcgis/api-extractor", P = "5.1.0-next.99", D = {
5
5
  name: w,
6
6
  version: P
7
7
  };
@@ -1,6 +1,6 @@
1
- import { l as O, m as J } from "../worker-DPDqLo0a.js";
2
- import { A as S, w as T } from "../ApiExtractor-C80dphXQ.js";
3
- import { p as A, l as C } from "../typeScript-zGiGmG3F.js";
1
+ import { l as O, m as J } from "../worker-BKOEQXzG.js";
2
+ import { A as S, w as T } from "../ApiExtractor-CYe0v4qU.js";
3
+ import { p as A, l as C } from "../typeScript-BJ98xoUG.js";
4
4
  import { writeFile as M } from "node:fs/promises";
5
5
  import { path as w } from "@arcgis/components-build-utils";
6
6
  const N = A.name;
@@ -1,6 +1,6 @@
1
1
  import "@arcgis/components-build-utils";
2
2
  import "typescript";
3
- import { b as t } from "../typeScript-zGiGmG3F.js";
3
+ import { b as t } from "../typeScript-BJ98xoUG.js";
4
4
  export {
5
5
  t as loadTypeScriptConfig
6
6
  };
@@ -1,5 +1,5 @@
1
1
  import { path as He, existsAsync as Yt, getCwd as Di, retrievePackageJson as ct, toPosixPathSeparators as xi } from "@arcgis/components-build-utils";
2
- import { b as Ri, p as Li, l as Ii } from "./typeScript-zGiGmG3F.js";
2
+ import { b as Ri, p as Li, l as Ii } from "./typeScript-BJ98xoUG.js";
3
3
  import { getDefaultBasePath as Zt, buildViewUrl as Ai, getViewUrl as Ue } from "./extractor/processing/links.js";
4
4
  import o from "typescript";
5
5
  import "fs/promises";
@@ -114,18 +114,18 @@ function pa(e) {
114
114
  afterApiJsonCreate: e.afterApiJsonCreate ?? ve
115
115
  };
116
116
  }
117
- async function ma(e = process.cwd(), t) {
118
- const n = t !== void 0, i = He.resolve(e, t ?? "api-extractor.config.ts"), a = await Yt(i);
119
- if (n && !a)
120
- throw Error(`The provided config file at ${i} does not exist.`);
121
- if (!a)
122
- return {};
123
- const r = (await import(Yi(i).href)).config;
117
+ async function ma(e, t) {
118
+ const n = t !== void 0, i = e ?? process.cwd(), a = He.resolve(i, t ?? "api-extractor.config.ts"), r = await Yt(a);
119
+ if (n && !r)
120
+ throw Error(`The provided config file at ${a} does not exist.`);
121
+ if (!r)
122
+ return e === void 0 ? {} : { context: { cwd: e } };
123
+ const l = (await import(Yi(a).href)).config;
124
124
  return {
125
- ...r,
125
+ ...l,
126
126
  context: {
127
- ...r.context,
128
- cwd: r.context?.cwd ?? He.dirname(i)
127
+ ...l.context,
128
+ cwd: l.context?.cwd ?? He.dirname(a)
129
129
  }
130
130
  };
131
131
  }
@@ -2843,8 +2843,6 @@ function Ze(e, t) {
2843
2843
  const n = o.isClassDeclaration(e);
2844
2844
  let i = e.name.escapedText;
2845
2845
  const a = n ? t.componentTagName : void 0, r = !n && di(i, t);
2846
- if (t.file.fileName.includes("serial-chart-model"))
2847
- debugger;
2848
2846
  let l = e.heritageClauses === void 0 || r ? void 0 : e.heritageClauses[0]?.token === o.SyntaxKind.ExtendsKeyword ? e.heritageClauses[0] : e.heritageClauses[1]?.token === o.SyntaxKind.ExtendsKeyword ? e.heritageClauses[1] : void 0;
2849
2847
  if (t.config.context.supportApplyMixinsSyntax && !n && l?.types.length === 1 && o.isExpressionWithTypeArguments(l.types[0]) && l.types[0].expression.escapedText === "MixinInstances" && l.types[0].typeArguments?.length === 1) {
2850
2848
  Go(i, l.types[0].typeArguments[0], t);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/api-extractor",
3
- "version": "5.1.0-next.97",
3
+ "version": "5.1.0-next.99",
4
4
  "description": "Documentation engine for WebGIS SDK packages",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
@@ -53,8 +53,8 @@
53
53
  "@commander-js/extra-typings": "^14.0.0",
54
54
  "commander": "^14.0.0",
55
55
  "tslib": "^2.8.1",
56
- "@arcgis/components-build-utils": "5.1.0-next.97",
57
- "@arcgis/toolkit": "5.1.0-next.97"
56
+ "@arcgis/toolkit": "5.1.0-next.99",
57
+ "@arcgis/components-build-utils": "5.1.0-next.99"
58
58
  },
59
59
  "peerDependencies": {
60
60
  "typescript": "~6.0.2",