@arcgis/api-extractor 5.2.0-next.10 → 5.2.0-next.11
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-CE7LmkJj.js → ApiExtractor-DKbuT3yq.js} +236 -216
- package/dist/apiJson.d.ts +4 -4
- package/dist/extractor/ApiExtractor.js +3 -3
- package/dist/extractor/config.js +6 -5
- package/dist/{typeScript-B79ma30F.js → typeScript-rpB6x3rO.js} +1 -1
- package/dist/utils/hydrateApiType.js +14 -13
- package/dist/vite/plugin.js +3 -3
- package/dist/vite/typeScript.js +1 -1
- package/dist/{worker-DDand5P_.js → worker-B9PXR8bT.js} +320 -305
- package/package.json +3 -3
package/dist/apiJson.d.ts
CHANGED
|
@@ -451,7 +451,7 @@ export interface ApiWithInheritance {
|
|
|
451
451
|
inheritedFrom?: ApiReference;
|
|
452
452
|
}
|
|
453
453
|
|
|
454
|
-
/** @see [MDN Slot](https://developer.mozilla.org/
|
|
454
|
+
/** @see [MDN Slot](https://developer.mozilla.org/docs/Web/HTML/Element/slot) */
|
|
455
455
|
export interface ApiSlot extends ApiWithDescription, ApiWithUnusedSummary {
|
|
456
456
|
/**
|
|
457
457
|
* The slot name, or the empty string for an unnamed slot.
|
|
@@ -474,7 +474,7 @@ export interface ApiSlot extends ApiWithDescription, ApiWithUnusedSummary {
|
|
|
474
474
|
/**
|
|
475
475
|
* The description of exposed CSS Parts
|
|
476
476
|
*
|
|
477
|
-
* @see https://developer.mozilla.org/
|
|
477
|
+
* @see https://developer.mozilla.org/docs/Web/CSS/CSS_shadow_parts
|
|
478
478
|
*/
|
|
479
479
|
export interface ApiCssPart extends ApiWithDescription, ApiWithUnusedSummary {
|
|
480
480
|
/** @example "tab" */
|
|
@@ -494,7 +494,7 @@ export interface ApiCssPart extends ApiWithDescription, ApiWithUnusedSummary {
|
|
|
494
494
|
/**
|
|
495
495
|
* The description of a CSS Custom State.
|
|
496
496
|
*
|
|
497
|
-
* @see https://developer.mozilla.org/
|
|
497
|
+
* @see https://developer.mozilla.org/docs/Web/API/CustomStateSet
|
|
498
498
|
*/
|
|
499
499
|
export interface ApiCssCustomState extends ApiWithDescription, ApiWithUnusedSummary {
|
|
500
500
|
/**
|
|
@@ -527,7 +527,7 @@ export interface ApiCssCustomProperty extends ApiWithDescription, ApiWithUnusedS
|
|
|
527
527
|
* The expected syntax of the defined property. Defaults to "*".
|
|
528
528
|
*
|
|
529
529
|
* The syntax must be a valid CSS
|
|
530
|
-
* [syntax string](https://developer.mozilla.org/
|
|
530
|
+
* [syntax string](https://developer.mozilla.org/docs/Web/CSS/@property/syntax)
|
|
531
531
|
* as defined in the CSS Properties and Values API.
|
|
532
532
|
*
|
|
533
533
|
* Examples:
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "../typeScript-
|
|
2
|
-
import "../worker-
|
|
1
|
+
import "../typeScript-rpB6x3rO.js";
|
|
2
|
+
import "../worker-B9PXR8bT.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-DKbuT3yq.js";
|
|
6
6
|
import "@arcgis/toolkit/function";
|
|
7
7
|
export {
|
|
8
8
|
x as ApiExtractor
|
package/dist/extractor/config.js
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import "@arcgis/components-build-utils";
|
|
2
|
-
import "../typeScript-
|
|
3
|
-
import { l, m as
|
|
2
|
+
import "../typeScript-rpB6x3rO.js";
|
|
3
|
+
import { l as n, m as A, r as C } from "../worker-B9PXR8bT.js";
|
|
4
4
|
import "./processing/links.js";
|
|
5
5
|
import "typescript";
|
|
6
6
|
import "fs/promises";
|
|
7
7
|
import "node:util";
|
|
8
8
|
import "@arcgis/toolkit/string";
|
|
9
9
|
import "../utils/apiHelpers.js";
|
|
10
|
+
import "@arcgis/toolkit/array";
|
|
10
11
|
import "@arcgis/toolkit/function";
|
|
11
12
|
import "node:fs";
|
|
12
13
|
import "node:url";
|
|
13
14
|
export {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
n as loadApiExtractorConfig,
|
|
16
|
+
A as mergeApiExtractorConfigs,
|
|
17
|
+
C as resolveApiExtractorConfig
|
|
17
18
|
};
|
|
@@ -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.2.0-next.
|
|
4
|
+
const w = "@arcgis/api-extractor", P = "5.2.0-next.11", D = {
|
|
5
5
|
name: w,
|
|
6
6
|
version: P
|
|
7
7
|
};
|
|
@@ -13,40 +13,41 @@ const d = {
|
|
|
13
13
|
unknown: "https://www.typescriptlang.org/docs/handbook/2/functions.html#unknown",
|
|
14
14
|
never: "https://www.typescriptlang.org/docs/handbook/2/functions.html#never",
|
|
15
15
|
any: "https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#any",
|
|
16
|
-
this: "#"
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
this: "#",
|
|
17
|
+
symbol: "https://www.typescriptlang.org/docs/handbook/symbols.html"
|
|
18
|
+
}, p = Object.keys(d).join("|"), g = new RegExp(`(?<!["'-])\\b(?:${p})\\b(?!["'-])`, "u");
|
|
19
|
+
function v(e, c) {
|
|
19
20
|
const o = [];
|
|
20
21
|
let n = e.text.length;
|
|
21
22
|
if (e.references !== void 0)
|
|
22
|
-
for (let
|
|
23
|
-
const t = e.references[
|
|
23
|
+
for (let l = e.references.length - 1; l >= 0; l--) {
|
|
24
|
+
const t = e.references[l];
|
|
24
25
|
if (t.start === void 0 || t.end === void 0)
|
|
25
26
|
continue;
|
|
26
27
|
const r = e.text.slice(t.end, n);
|
|
27
|
-
r.length > 0 && i(r,
|
|
28
|
+
r.length > 0 && i(r, c, o);
|
|
28
29
|
const s = e.text.slice(t.start, t.end);
|
|
29
30
|
n = t.start, t.viewUrl === void 0 ? o.push(s) : o.push(
|
|
30
|
-
|
|
31
|
+
c(s, t)
|
|
31
32
|
);
|
|
32
33
|
}
|
|
33
34
|
if (n > 0) {
|
|
34
|
-
const
|
|
35
|
-
i(
|
|
35
|
+
const l = e.text.slice(0, n);
|
|
36
|
+
i(l, c, o);
|
|
36
37
|
}
|
|
37
38
|
return o.reverse();
|
|
38
39
|
}
|
|
39
|
-
function i(e,
|
|
40
|
+
function i(e, c, o) {
|
|
40
41
|
const n = o.length;
|
|
41
|
-
for (let
|
|
42
|
-
const t = e.match(
|
|
42
|
+
for (let l = 0; l < e.length; ) {
|
|
43
|
+
const t = e.match(g);
|
|
43
44
|
if (t?.index === void 0)
|
|
44
45
|
break;
|
|
45
46
|
const r = e.slice(0, t.index);
|
|
46
47
|
r.length > 0 && o.splice(n, 0, r);
|
|
47
48
|
const s = t[0];
|
|
48
49
|
e = e.slice(t.index + s.length);
|
|
49
|
-
const a = d[s], b =
|
|
50
|
+
const a = d[s], b = c(s, {
|
|
50
51
|
name: s,
|
|
51
52
|
module: void 0,
|
|
52
53
|
package: s === "this" ? void 0 : h,
|
package/dist/vite/plugin.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { l as O, m as J } from "../worker-
|
|
2
|
-
import { A as S, w as T } from "../ApiExtractor-
|
|
3
|
-
import { p as A, l as C } from "../typeScript-
|
|
1
|
+
import { l as O, m as J } from "../worker-B9PXR8bT.js";
|
|
2
|
+
import { A as S, w as T } from "../ApiExtractor-DKbuT3yq.js";
|
|
3
|
+
import { p as A, l as C } from "../typeScript-rpB6x3rO.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;
|