@arcgis/api-extractor 5.2.0-next.1 → 5.2.0-next.10
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-CZfBqER_.js → ApiExtractor-CE7LmkJj.js} +262 -265
- package/dist/extractor/ApiExtractor.js +3 -3
- package/dist/extractor/config.js +2 -2
- package/dist/extractor/extractors/copyDoc.d.ts +10 -4
- package/dist/{typeScript-Bi6LkUmP.js → typeScript-B79ma30F.js} +1 -1
- package/dist/utils/apiHelpers.d.ts +3 -0
- package/dist/utils/apiHelpers.js +5 -5
- package/dist/utils/hydrateApiType.js +25 -24
- package/dist/vite/plugin.js +3 -3
- package/dist/vite/typeScript.js +1 -1
- package/dist/{worker-C9agsAIe.js → worker-DDand5P_.js} +984 -962
- package/package.json +3 -3
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { path as
|
|
2
|
-
import { b as
|
|
3
|
-
import { getDefaultBasePath as
|
|
1
|
+
import { path as He, existsAsync as Yt, getCwd as Di, retrievePackageJson as ct, toPosixPathSeparators as Ri } from "@arcgis/components-build-utils";
|
|
2
|
+
import { b as Li, p as Ii, l as Ai } from "./typeScript-B79ma30F.js";
|
|
3
|
+
import { getDefaultBasePath as Zt, buildViewUrl as ki, getViewUrl as Ue } from "./extractor/processing/links.js";
|
|
4
4
|
import o from "typescript";
|
|
5
5
|
import "fs/promises";
|
|
6
|
-
import { a as
|
|
7
|
-
import { maybeEscapePropertyName as
|
|
6
|
+
import { a as ue, b as ei, c as ht, g as me, p as J, f as et, h as ti, d as Fe, e as Gi, i as Fi, j as ii, k as Oi } from "./privateContext-CB7P40up.js";
|
|
7
|
+
import { maybeEscapePropertyName as Dt, printTypeAlias as Rt, printInterface as Ni, printFunction as wi, printVariable as Ui, printClass as Vi, printMethod as Wi, printProperty as ve, printGetterSetter as _i, printSignature as Bi } from "./utils/partPrinter.js";
|
|
8
8
|
import { styleText as ie } from "node:util";
|
|
9
|
-
import { readFile as
|
|
10
|
-
import { pathIsComponentEntrypoint as
|
|
11
|
-
import { renameComponentFolder as
|
|
12
|
-
import { getBasename as Z, getPackageNameFromExternalSpecifier as
|
|
13
|
-
import { readFileSync as
|
|
14
|
-
import { uncapitalize as
|
|
15
|
-
import { globalPackageIdentifier as
|
|
16
|
-
import { identity as
|
|
17
|
-
import { pathToFileURL as
|
|
18
|
-
import
|
|
19
|
-
import { getWidenedLiteralType as
|
|
20
|
-
const
|
|
21
|
-
function
|
|
9
|
+
import { readFile as Lt, opendir as It, rm as Ki } from "node:fs/promises";
|
|
10
|
+
import { pathIsComponentEntrypoint as Hi, findDeclaredComponent as $i } from "./extractor/webComponent/findComponents.js";
|
|
11
|
+
import { renameComponentFolder as Ve, addComponentPathMapping as zi } from "./extractor/webComponent/pathMapping.js";
|
|
12
|
+
import { getBasename as Z, getPackageNameFromExternalSpecifier as dt, extractInitializer as $e, extractBooleanInitializer as Y, findDecorator as xe, getMemberName as De } from "./utils/astHelpers.js";
|
|
13
|
+
import { readFileSync as ji, existsSync as ye } from "node:fs";
|
|
14
|
+
import { uncapitalize as Ji, camelToKebab as qi, kebabToPascal as Qi } from "@arcgis/toolkit/string";
|
|
15
|
+
import { globalPackageIdentifier as le, mergeApiNodes as Xi, isApiMethodAsync as Yi } from "./utils/apiHelpers.js";
|
|
16
|
+
import { identity as Se } from "@arcgis/toolkit/function";
|
|
17
|
+
import { pathToFileURL as Zi } from "node:url";
|
|
18
|
+
import en from "path";
|
|
19
|
+
import { getWidenedLiteralType as tn, unsafeUndocumentedTs as nn, unsafeGetUndocumentedPrinter as on } from "./utils/internalTypeScriptApis.js";
|
|
20
|
+
const At = "developers.arcgis.com", kt = "next.gha.afd.arcgis.com";
|
|
21
|
+
function fa(e) {
|
|
22
22
|
if (e.isResolvedConfig === !0)
|
|
23
23
|
return e;
|
|
24
|
-
const t = e.context, n = e.types, i = e.documentation, r = `${t?.cwd === void 0 ?
|
|
24
|
+
const t = e.context, n = e.types, i = e.documentation, r = `${t?.cwd === void 0 ? Di() : He.resolve(t?.cwd)}/`, l = t?.packageJson ?? ct(r);
|
|
25
25
|
let s = t?.basePath ?? "src/";
|
|
26
26
|
s.endsWith("/") || (s += "/");
|
|
27
|
-
const c = "customElements" in l && "@arcgis/lumina" in (l.dependencies ?? {}), p = n?.typeCheckedExtraction ?? c, d = n?.fullTypeCheck ?? !1, m = n?.typeScriptConfig ?? (p || d ?
|
|
27
|
+
const c = "customElements" in l && "@arcgis/lumina" in (l.dependencies ?? {}), p = n?.typeCheckedExtraction ?? c, d = n?.fullTypeCheck ?? !1, m = n?.typeScriptConfig ?? (p || d ? Li(r, n?.typeScriptConfigPath, !0) : {
|
|
28
28
|
configPath: "",
|
|
29
29
|
config: {
|
|
30
30
|
options: {},
|
|
@@ -34,9 +34,9 @@ function ua(e) {
|
|
|
34
34
|
});
|
|
35
35
|
if (n?.typeScriptConfig?.config.fileNames.length === 0)
|
|
36
36
|
throw Error(
|
|
37
|
-
`${
|
|
37
|
+
`${Ii.name}: Provided types.typeScriptConfig has no included files. If you used loadTypeScriptConfig, make sure to set resolveIncludedFiles to true.`
|
|
38
38
|
);
|
|
39
|
-
const
|
|
39
|
+
const u = {
|
|
40
40
|
config: {
|
|
41
41
|
...m.config,
|
|
42
42
|
options: {
|
|
@@ -45,15 +45,15 @@ function ua(e) {
|
|
|
45
45
|
}
|
|
46
46
|
},
|
|
47
47
|
configPath: m.configPath
|
|
48
|
-
},
|
|
49
|
-
if (h && (
|
|
48
|
+
}, f = t?.dtsEmitPath === void 0 || t?.dtsEmitPath === "" ? "" : `${He.resolve(r, t.dtsEmitPath)}/`, S = f !== "", C = t?.environment ?? "production", v = C === "development", P = t?.emptyDtsEmitPath ?? (!v && S), h = i?.omitInternal ?? !1, L = n?.forceProduceDts ?? !1;
|
|
49
|
+
if (h && (S || L))
|
|
50
50
|
throw Error(
|
|
51
51
|
"omitInternal must be false if emitting .d.ts files in order to produce functional types for internal APIs."
|
|
52
52
|
);
|
|
53
53
|
return {
|
|
54
54
|
isResolvedConfig: !0,
|
|
55
55
|
context: {
|
|
56
|
-
dtsEmitPath:
|
|
56
|
+
dtsEmitPath: f,
|
|
57
57
|
emptyDtsEmitPath: P,
|
|
58
58
|
apiJsonEmitPath: t?.apiJsonEmitPath ?? "",
|
|
59
59
|
environment: C,
|
|
@@ -75,14 +75,14 @@ function ua(e) {
|
|
|
75
75
|
types: {
|
|
76
76
|
typeCheckedExtraction: p,
|
|
77
77
|
fullTypeCheck: d,
|
|
78
|
-
afterDiagnostic: n?.afterDiagnostic ??
|
|
79
|
-
typeScriptInstanceCreated: n?.typeScriptInstanceCreated ??
|
|
78
|
+
afterDiagnostic: n?.afterDiagnostic ?? Se,
|
|
79
|
+
typeScriptInstanceCreated: n?.typeScriptInstanceCreated ?? Se,
|
|
80
80
|
typeScriptConfigPath: m.configPath,
|
|
81
|
-
typeScriptConfig:
|
|
82
|
-
compilerOptions:
|
|
81
|
+
typeScriptConfig: u,
|
|
82
|
+
compilerOptions: u.config.options,
|
|
83
83
|
declarationTextTransformers: n?.declarationTextTransformers ?? [],
|
|
84
84
|
typeReplacements: n?.typeReplacements ?? {},
|
|
85
|
-
forceProduceDts:
|
|
85
|
+
forceProduceDts: L
|
|
86
86
|
},
|
|
87
87
|
documentation: {
|
|
88
88
|
copyDocDefinitions: i?.copyDocDefinitions ?? {},
|
|
@@ -91,9 +91,9 @@ function ua(e) {
|
|
|
91
91
|
publicStoryUrlPrefix: i?.publicStoryUrlPrefix ?? !1,
|
|
92
92
|
getComponentDocsUrl: i?.getComponentDocsUrl ?? !1,
|
|
93
93
|
getComponentDemoUrl: i?.getComponentDemoUrl ?? !1,
|
|
94
|
-
host: i?.host ?? (v ?
|
|
95
|
-
alternativeHost: i?.alternativeHost ?? (v ?
|
|
96
|
-
basePath: i?.basePath ??
|
|
94
|
+
host: i?.host ?? (v ? kt : At),
|
|
95
|
+
alternativeHost: i?.alternativeHost ?? (v ? At : kt),
|
|
96
|
+
basePath: i?.basePath ?? Zt(l.name.split("/").at(-1))
|
|
97
97
|
},
|
|
98
98
|
verify: {
|
|
99
99
|
typeCheckTypes: e.verify?.typeCheckTypes ?? !1,
|
|
@@ -101,7 +101,7 @@ function ua(e) {
|
|
|
101
101
|
detectBrokenLinks: e.verify?.detectBrokenLinks ?? !0
|
|
102
102
|
},
|
|
103
103
|
watch: {
|
|
104
|
-
onUpdate: e.watch?.onUpdate ??
|
|
104
|
+
onUpdate: e.watch?.onUpdate ?? Se,
|
|
105
105
|
// Many reads can happen in a short time (on folder moves, or if prettier re-runs)
|
|
106
106
|
// Shorter than TypeScript's default of 250ms as we are blocked until this
|
|
107
107
|
// timeout is complete. Short timeout for unchecked extraction as it is fast,
|
|
@@ -111,25 +111,25 @@ function ua(e) {
|
|
|
111
111
|
skipWritingUnchanged: P ? !1 : e.watch?.skipWritingUnchanged ?? !0
|
|
112
112
|
},
|
|
113
113
|
strict: e.strict ?? !c,
|
|
114
|
-
afterApiJsonCreate: e.afterApiJsonCreate ??
|
|
114
|
+
afterApiJsonCreate: e.afterApiJsonCreate ?? Se
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
|
-
async function
|
|
118
|
-
const n = t !== void 0, i = e ?? process.cwd(), a =
|
|
117
|
+
async function ya(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
119
|
if (n && !r)
|
|
120
120
|
throw Error(`The provided config file at ${a} does not exist.`);
|
|
121
121
|
if (!r)
|
|
122
122
|
return e === void 0 ? {} : { context: { cwd: e } };
|
|
123
|
-
const l = (await import(
|
|
123
|
+
const l = (await import(Zi(a).href)).config;
|
|
124
124
|
return {
|
|
125
125
|
...l,
|
|
126
126
|
context: {
|
|
127
127
|
...l.context,
|
|
128
|
-
cwd: l.context?.cwd ??
|
|
128
|
+
cwd: l.context?.cwd ?? He.dirname(a)
|
|
129
129
|
}
|
|
130
130
|
};
|
|
131
131
|
}
|
|
132
|
-
function
|
|
132
|
+
function va(e, t) {
|
|
133
133
|
const n = e.context, i = t.context, a = e.types, r = t.types, l = e.documentation, s = t.documentation, c = e.verify, p = t.verify, d = e.watch, m = t.watch;
|
|
134
134
|
return {
|
|
135
135
|
isResolvedConfig: e.isResolvedConfig || t.isResolvedConfig || void 0,
|
|
@@ -150,8 +150,8 @@ function ya(e, t) {
|
|
|
150
150
|
types: {
|
|
151
151
|
typeCheckedExtraction: r?.typeCheckedExtraction ?? a?.typeCheckedExtraction,
|
|
152
152
|
fullTypeCheck: r?.fullTypeCheck ?? a?.fullTypeCheck,
|
|
153
|
-
afterDiagnostic:
|
|
154
|
-
typeScriptInstanceCreated:
|
|
153
|
+
afterDiagnostic: Oe(r?.afterDiagnostic, a?.afterDiagnostic),
|
|
154
|
+
typeScriptInstanceCreated: Oe(
|
|
155
155
|
t?.types?.typeScriptInstanceCreated,
|
|
156
156
|
e?.types?.typeScriptInstanceCreated
|
|
157
157
|
),
|
|
@@ -179,17 +179,17 @@ function ya(e, t) {
|
|
|
179
179
|
detectBrokenLinks: p?.detectBrokenLinks ?? c?.detectBrokenLinks
|
|
180
180
|
},
|
|
181
181
|
watch: {
|
|
182
|
-
onUpdate:
|
|
182
|
+
onUpdate: Oe(m?.onUpdate, d?.onUpdate),
|
|
183
183
|
debounceTime: m?.debounceTime ?? d?.debounceTime,
|
|
184
184
|
clearScreen: m?.clearScreen ?? d?.clearScreen,
|
|
185
185
|
skipWritingUnchanged: m?.skipWritingUnchanged ?? d?.skipWritingUnchanged
|
|
186
186
|
},
|
|
187
187
|
strict: t.strict ?? e.strict,
|
|
188
|
-
afterApiJsonCreate:
|
|
188
|
+
afterApiJsonCreate: Oe(t.afterApiJsonCreate, e.afterApiJsonCreate)
|
|
189
189
|
};
|
|
190
190
|
}
|
|
191
|
-
function
|
|
192
|
-
const n = t ===
|
|
191
|
+
function Oe(e, t) {
|
|
192
|
+
const n = t === Se ? void 0 : t, i = e === Se ? void 0 : e;
|
|
193
193
|
return n !== void 0 && i !== void 0 ? ((...a) => (n(...a), i(...a))) : i ?? n;
|
|
194
194
|
}
|
|
195
195
|
function Te(e) {
|
|
@@ -222,25 +222,25 @@ function Te(e) {
|
|
|
222
222
|
for (const l of a.cssProperties)
|
|
223
223
|
t.push({
|
|
224
224
|
name: "cssproperty",
|
|
225
|
-
text:
|
|
225
|
+
text: Ne(l)
|
|
226
226
|
});
|
|
227
227
|
if (a.cssParts !== void 0)
|
|
228
228
|
for (const l of a.cssParts)
|
|
229
229
|
t.push({
|
|
230
230
|
name: "csspart",
|
|
231
|
-
text:
|
|
231
|
+
text: Ne(l)
|
|
232
232
|
});
|
|
233
233
|
if (a.cssStates !== void 0)
|
|
234
234
|
for (const l of a.cssStates)
|
|
235
235
|
t.push({
|
|
236
236
|
name: "cssstate",
|
|
237
|
-
text:
|
|
237
|
+
text: Ne(l)
|
|
238
238
|
});
|
|
239
239
|
if (a.slots !== void 0)
|
|
240
240
|
for (const l of a.slots)
|
|
241
241
|
t.push({
|
|
242
242
|
name: "slot",
|
|
243
|
-
text:
|
|
243
|
+
text: Ne(l)
|
|
244
244
|
});
|
|
245
245
|
}
|
|
246
246
|
e.docsTags !== void 0 && t.push(...e.docsTags);
|
|
@@ -251,11 +251,11 @@ function Te(e) {
|
|
|
251
251
|
docsTags: t
|
|
252
252
|
};
|
|
253
253
|
}
|
|
254
|
-
function
|
|
254
|
+
function Ne(e) {
|
|
255
255
|
const t = e, n = e.name + (t.default !== void 0 ? `=${t.default}` : ""), i = n.length > 0 ? `[${n}]` : "", a = e.description ?? "", r = a.length > 0 ? ` - ${a}` : "";
|
|
256
256
|
return `${i}${r}`;
|
|
257
257
|
}
|
|
258
|
-
function
|
|
258
|
+
function an(e) {
|
|
259
259
|
const t = e.description ?? "", n = t.length === 0, i = e.docsTags, a = (
|
|
260
260
|
// Has 2+ tags, or multi-line description, or single tag and single line description
|
|
261
261
|
i.length + (n ? 0 : t.includes(`
|
|
@@ -265,44 +265,44 @@ function rn(e) {
|
|
|
265
265
|
);
|
|
266
266
|
let r = "*";
|
|
267
267
|
n ? a || (r += " ") : (a ? (r += `
|
|
268
|
-
* `, r +=
|
|
268
|
+
* `, r += Gt(t)) : r += ` ${t.replaceAll(" @", " \\@")}`, i.length > 0 && (r += `
|
|
269
269
|
*`));
|
|
270
270
|
for (let l = 0; l < i.length; ++l) {
|
|
271
271
|
const s = i[l], c = `@${s.name}`, p = s.text ?? "";
|
|
272
272
|
r += `${a ? `
|
|
273
273
|
* ` : ""}${c}`, p.includes(`
|
|
274
274
|
`) ? (s.name === "returns" || s.name === "param" ? r += " " : r += `
|
|
275
|
-
* `, r +=
|
|
275
|
+
* `, r += Gt(p)) : p.length > 0 && (r += ` ${p.replaceAll(" @", " \\@")}`);
|
|
276
276
|
}
|
|
277
277
|
return r += a ? `
|
|
278
278
|
` : " ", r;
|
|
279
279
|
}
|
|
280
|
-
const
|
|
281
|
-
function
|
|
280
|
+
const ot = 10, rn = 32, sn = 64;
|
|
281
|
+
function Gt(e) {
|
|
282
282
|
let t = "";
|
|
283
283
|
const n = e.length;
|
|
284
284
|
let i = 0;
|
|
285
285
|
for (let a = 0; a < n; ++a) {
|
|
286
286
|
const r = e.charCodeAt(a);
|
|
287
|
-
if (r ===
|
|
288
|
-
t += e.slice(i, a), e.charCodeAt(a + 1) ===
|
|
287
|
+
if (r === ot)
|
|
288
|
+
t += e.slice(i, a), e.charCodeAt(a + 1) === ot ? t += `
|
|
289
289
|
*` : t += `
|
|
290
290
|
* `, i = a + 1;
|
|
291
|
-
else if (r ===
|
|
291
|
+
else if (r === sn) {
|
|
292
292
|
const l = a === 0 ? 0 : e.charCodeAt(a - 1);
|
|
293
|
-
(a === 0 || l ===
|
|
293
|
+
(a === 0 || l === rn || l === ot) && (t += e.slice(i, a), t += "\\@", i = a + 1);
|
|
294
294
|
}
|
|
295
295
|
}
|
|
296
296
|
return i < n && (t += e.slice(i)), t;
|
|
297
297
|
}
|
|
298
|
-
function
|
|
299
|
-
return
|
|
298
|
+
function ne(e, t, n) {
|
|
299
|
+
return ni(e, t, n) ?? void 0;
|
|
300
300
|
}
|
|
301
|
-
function
|
|
302
|
-
const a =
|
|
301
|
+
function ze(e, t, n, i) {
|
|
302
|
+
const a = ni(e, t, n);
|
|
303
303
|
return a === void 0 ? i : a ?? void 0;
|
|
304
304
|
}
|
|
305
|
-
function
|
|
305
|
+
function ni(e, t, n) {
|
|
306
306
|
const i = o.getLeadingCommentRanges(n.file.text, e.pos);
|
|
307
307
|
if (i === void 0)
|
|
308
308
|
return;
|
|
@@ -322,9 +322,9 @@ If this is meant to be a function overload, read the documentation: https://webg
|
|
|
322
322
|
if (a === void 0)
|
|
323
323
|
return;
|
|
324
324
|
const r = n.config.documentation.omitInternal;
|
|
325
|
-
return
|
|
325
|
+
return ln(a, t, r, n);
|
|
326
326
|
}
|
|
327
|
-
function
|
|
327
|
+
function ln(e, t, n, i) {
|
|
328
328
|
if (t && !e.includes("* @public") && (n || !e.includes("* @internal")))
|
|
329
329
|
return null;
|
|
330
330
|
const a = e.length - 2;
|
|
@@ -335,34 +335,34 @@ function cn(e, t, n, i) {
|
|
|
335
335
|
let m = e.indexOf(`
|
|
336
336
|
`, r);
|
|
337
337
|
m === -1 && (m = a);
|
|
338
|
-
let
|
|
339
|
-
if (r = m + 1,
|
|
338
|
+
let u = e.slice(r, m).trim();
|
|
339
|
+
if (r = m + 1, u === "*" ? u = "" : u.startsWith("*") && (u[1] === " " ? u = u.slice(2) : i.config.strict ? i.emitError(
|
|
340
340
|
`For consistency, include a space character after '*' in JSDoc. Did not find it in "${e}"`,
|
|
341
341
|
{
|
|
342
342
|
file: i.file,
|
|
343
343
|
node: void 0
|
|
344
344
|
}
|
|
345
|
-
) :
|
|
345
|
+
) : u = u.slice(1)), u.startsWith("@")) {
|
|
346
346
|
c !== void 0 && !d && s.push(
|
|
347
|
-
|
|
347
|
+
N[c] ?? {
|
|
348
348
|
name: c,
|
|
349
349
|
text: p.trim().replaceAll("\\@", "@") || void 0
|
|
350
350
|
}
|
|
351
351
|
);
|
|
352
|
-
const
|
|
353
|
-
if (
|
|
352
|
+
const f = u.indexOf(" "), S = f === -1 ? u.slice(1) : u.slice(1, f);
|
|
353
|
+
if (S === "internal") {
|
|
354
354
|
if (n)
|
|
355
355
|
return null;
|
|
356
356
|
t = !1;
|
|
357
|
-
} else
|
|
358
|
-
const C =
|
|
359
|
-
c =
|
|
357
|
+
} else S === "public" ? (t = !1, d = !0) : d = S === "privateRemarks";
|
|
358
|
+
const C = f === -1 ? "" : u.slice(f + 1);
|
|
359
|
+
c = S, p = C;
|
|
360
360
|
} else c !== void 0 ? p = `${p}
|
|
361
|
-
${
|
|
361
|
+
${u}` : l += `${u}
|
|
362
362
|
`;
|
|
363
363
|
}
|
|
364
364
|
return t ? null : (c !== void 0 && !d && s.push(
|
|
365
|
-
|
|
365
|
+
N[c] ?? {
|
|
366
366
|
name: c,
|
|
367
367
|
text: p.trim().replaceAll("\\@", "@") || void 0
|
|
368
368
|
}
|
|
@@ -371,61 +371,61 @@ ${f}` : l += `${f}
|
|
|
371
371
|
docsTags: s
|
|
372
372
|
});
|
|
373
373
|
}
|
|
374
|
-
function
|
|
374
|
+
function cn(e, t) {
|
|
375
375
|
for (let n = 0; n < t.docsTags.length; ++n) {
|
|
376
376
|
const i = t.docsTags[n], { name: a, text: r } = i;
|
|
377
377
|
a === "deprecated" ? e.deprecated = r || !0 : (e.docsTags ??= [], e.docsTags.push(i));
|
|
378
378
|
}
|
|
379
379
|
e.description = t.description;
|
|
380
380
|
}
|
|
381
|
-
function
|
|
381
|
+
function oi(e, t) {
|
|
382
382
|
for (let n = 0; n < t.docsTags.length; ++n) {
|
|
383
383
|
const i = t.docsTags[n], { name: a, text: r } = i;
|
|
384
384
|
if (a === "deprecated")
|
|
385
385
|
e.deprecated = r || !0;
|
|
386
|
-
else if (i ===
|
|
386
|
+
else if (i === N.private)
|
|
387
387
|
e.privacy = "private";
|
|
388
388
|
else if (a === "csspart")
|
|
389
|
-
e.cssParts ??= [], e.cssParts.push(
|
|
389
|
+
e.cssParts ??= [], e.cssParts.push(at(r));
|
|
390
390
|
else if (a === "cssstate")
|
|
391
|
-
e.cssStates ??= [], e.cssStates.push(
|
|
391
|
+
e.cssStates ??= [], e.cssStates.push(at(r));
|
|
392
392
|
else if (a === "slot")
|
|
393
|
-
e.slots ??= [], e.slots.push(
|
|
393
|
+
e.slots ??= [], e.slots.push(at(r));
|
|
394
394
|
else if (a === "esriCompatibilityName") {
|
|
395
|
-
const l =
|
|
395
|
+
const l = ue(e);
|
|
396
396
|
l.esriCompatibilityNames ??= [], l.esriCompatibilityNames.push(r ?? "");
|
|
397
397
|
} else a === "readonly" || (e.docsTags ??= [], e.docsTags.push(i));
|
|
398
398
|
}
|
|
399
399
|
e.description = t.description;
|
|
400
400
|
}
|
|
401
|
-
function
|
|
401
|
+
function dn(e, t) {
|
|
402
402
|
const n = e, i = [];
|
|
403
403
|
for (let a = 0; a < t.docsTags.length; ++a) {
|
|
404
404
|
const r = t.docsTags[a], { name: l, text: s } = r;
|
|
405
405
|
if (l === "deprecated")
|
|
406
406
|
e.deprecated = s || !0;
|
|
407
|
-
else if (r ===
|
|
407
|
+
else if (r === N.private)
|
|
408
408
|
e.privacy = "private";
|
|
409
409
|
else if (l === "param")
|
|
410
410
|
i.push(r);
|
|
411
411
|
else if (l === "returns")
|
|
412
412
|
n.return.description = r.text;
|
|
413
413
|
else if (l === "esriCompatibilityName") {
|
|
414
|
-
const c =
|
|
414
|
+
const c = ht(e);
|
|
415
415
|
c.esriCompatibilityNames ??= [], c.esriCompatibilityNames.push(s ?? "");
|
|
416
416
|
} else
|
|
417
417
|
e.docsTags ??= [], e.docsTags.push(r);
|
|
418
418
|
}
|
|
419
419
|
return e.description = t.description, i;
|
|
420
420
|
}
|
|
421
|
-
function
|
|
421
|
+
function pn(e, t) {
|
|
422
422
|
for (let n = 0; n < t.docsTags.length; ++n) {
|
|
423
423
|
const i = t.docsTags[n], { name: a, text: r } = i;
|
|
424
|
-
a === "deprecated" ? e.deprecated = r || !0 : a === "default" ? e.default = r : i ===
|
|
424
|
+
a === "deprecated" ? e.deprecated = r || !0 : a === "default" ? e.default = r : i === N.readonly ? e.readonly = !0 : i === N.private ? e.privacy = "private" : (e.docsTags ??= [], e.docsTags.push(i));
|
|
425
425
|
}
|
|
426
426
|
e.description = t.description;
|
|
427
427
|
}
|
|
428
|
-
function
|
|
428
|
+
function mn(e, t) {
|
|
429
429
|
for (let n = 0; n < t.docsTags.length; ++n) {
|
|
430
430
|
const i = t.docsTags[n], { name: a, text: r } = i;
|
|
431
431
|
if (a === "deprecated")
|
|
@@ -433,21 +433,21 @@ function un(e, t) {
|
|
|
433
433
|
else if (a === "default")
|
|
434
434
|
e.default = r;
|
|
435
435
|
else if (a !== "readonly") if (a === "esriCompatibilityName") {
|
|
436
|
-
const l =
|
|
436
|
+
const l = ei(e);
|
|
437
437
|
l.esriCompatibilityNames ??= [], l.esriCompatibilityNames.push(r ?? "");
|
|
438
438
|
} else
|
|
439
439
|
e.docsTags ??= [], e.docsTags.push(i);
|
|
440
440
|
}
|
|
441
441
|
e.description = t.description;
|
|
442
442
|
}
|
|
443
|
-
function
|
|
443
|
+
function un(e, t) {
|
|
444
444
|
for (let n = 0; n < t.docsTags.length; ++n) {
|
|
445
445
|
const i = t.docsTags[n], { name: a, text: r } = i;
|
|
446
|
-
a === "deprecated" ? e.deprecated = r || !0 : i ===
|
|
446
|
+
a === "deprecated" ? e.deprecated = r || !0 : i === N.private ? e.privacy = "private" : (e.docsTags ??= [], e.docsTags.push(i));
|
|
447
447
|
}
|
|
448
448
|
e.description = t.description;
|
|
449
449
|
}
|
|
450
|
-
function
|
|
450
|
+
function at(e) {
|
|
451
451
|
if (e === void 0)
|
|
452
452
|
return {
|
|
453
453
|
name: "",
|
|
@@ -489,7 +489,7 @@ function rt(e) {
|
|
|
489
489
|
default: n
|
|
490
490
|
};
|
|
491
491
|
}
|
|
492
|
-
const
|
|
492
|
+
const N = {
|
|
493
493
|
// Create a null prototype object to avoid collisions with Object.prototype when doing lookups
|
|
494
494
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
495
495
|
__proto__: null,
|
|
@@ -500,33 +500,33 @@ const U = {
|
|
|
500
500
|
experimental: { name: "experimental", text: void 0 },
|
|
501
501
|
readonly: { name: "readonly", text: void 0 },
|
|
502
502
|
required: { name: "required", text: void 0 }
|
|
503
|
-
},
|
|
503
|
+
}, Re = {
|
|
504
504
|
description: void 0,
|
|
505
505
|
docsTags: []
|
|
506
506
|
}, Ce = {
|
|
507
507
|
description: void 0,
|
|
508
|
-
docsTags: [
|
|
508
|
+
docsTags: [N.private]
|
|
509
509
|
};
|
|
510
|
-
function
|
|
510
|
+
function fn(e, t, n) {
|
|
511
511
|
switch (t.path) {
|
|
512
512
|
case "layers/FeatureLayer": {
|
|
513
513
|
const i = "export default class FeatureLayer extends FeatureLayerSuperclass {", a = e.indexOf(i);
|
|
514
514
|
if (a === -1)
|
|
515
515
|
return n.emitError(
|
|
516
516
|
`Hardcoded behavior error: Expected .d.ts for FeatureLayer to include "${i}".`,
|
|
517
|
-
{ file:
|
|
517
|
+
{ file: me(t).file, node: void 0 }
|
|
518
518
|
), e;
|
|
519
519
|
const r = 'get type(): "feature";', l = e.indexOf(r);
|
|
520
520
|
if (l === -1)
|
|
521
521
|
return n.emitError(
|
|
522
522
|
`Hardcoded behavior error: Expected .d.ts for FeatureLayer to include "${r}".`,
|
|
523
|
-
{ file:
|
|
523
|
+
{ file: me(t).file, node: void 0 }
|
|
524
524
|
), e;
|
|
525
525
|
const s = l + r.length, c = e.lastIndexOf("/**", l);
|
|
526
526
|
if (c === -1)
|
|
527
527
|
return n.emitError(
|
|
528
528
|
`Hardcoded behavior error: Expected .d.ts for FeatureLayer to include JSDoc for "${r}".`,
|
|
529
|
-
{ file:
|
|
529
|
+
{ file: me(t).file, node: void 0 }
|
|
530
530
|
), e;
|
|
531
531
|
const p = `export default class FeatureLayer extends __FeatureLayerSansType {
|
|
532
532
|
${e.slice(c, s)}
|
|
@@ -534,15 +534,13 @@ function yn(e, t, n) {
|
|
|
534
534
|
export abstract class __FeatureLayerSansType extends FeatureLayerSuperclass {`;
|
|
535
535
|
return e.slice(0, a) + p + e.slice(a + i.length, c) + e.slice(s);
|
|
536
536
|
}
|
|
537
|
-
case "layers/OrientedImageryLayer":
|
|
538
|
-
case "layers/AnnotationLayer":
|
|
539
|
-
case "layers/DimensionFeatureLayer": {
|
|
537
|
+
case "layers/OrientedImageryLayer": {
|
|
540
538
|
const i = `import type { __FeatureLayerSansType } from "./FeatureLayer.js";
|
|
541
539
|
`, a = `extends FeatureLayer {
|
|
542
540
|
`, r = e.indexOf(a);
|
|
543
541
|
return r === -1 ? (n.emitError(
|
|
544
542
|
`Hardcoded behavior error: Expected .d.ts for ${t.path} to include "${a}".`,
|
|
545
|
-
{ file:
|
|
543
|
+
{ file: me(t).file, node: void 0 }
|
|
546
544
|
), e) : i + e.slice(0, r) + `extends __FeatureLayerSansType {
|
|
547
545
|
` + e.slice(r + a.length);
|
|
548
546
|
}
|
|
@@ -563,31 +561,31 @@ export namespace tsx {
|
|
|
563
561
|
return e;
|
|
564
562
|
}
|
|
565
563
|
}
|
|
566
|
-
function
|
|
564
|
+
function Sa(e, t) {
|
|
567
565
|
let n = `/// <reference types="../index.d.ts" />
|
|
568
566
|
`, i = `
|
|
569
567
|
|
|
570
|
-
`, a = "", r = "", l = "", s = "", c = "", p = "", d = "", m = "",
|
|
571
|
-
for (let
|
|
572
|
-
const
|
|
573
|
-
for (let A = 0; A <
|
|
574
|
-
const
|
|
575
|
-
if (
|
|
568
|
+
`, a = "", r = "", l = "", s = "", c = "", p = "", d = "", m = "", u = "", f = "", S = "", C = "";
|
|
569
|
+
for (let T = 0; T < e.length; ++T) {
|
|
570
|
+
const R = e[T];
|
|
571
|
+
for (let A = 0; A < R.declarations.length; ++A) {
|
|
572
|
+
const H = R.declarations[A];
|
|
573
|
+
if (H.customElement !== !0)
|
|
576
574
|
continue;
|
|
577
|
-
const
|
|
578
|
-
if (
|
|
575
|
+
const V = H;
|
|
576
|
+
if (V.privacy !== void 0 || ue(V).hasExplicitAbstract === !0)
|
|
579
577
|
continue;
|
|
580
|
-
const { name: G, tagName:
|
|
581
|
-
i += `import type { ${G} } from "./${
|
|
582
|
-
`, n += `import type { ${G} } from "../${
|
|
578
|
+
const { name: G, tagName: U, pascalCaseName: F, events: W } = V;
|
|
579
|
+
i += `import type { ${G} } from "./${R.path}/customElement.js";
|
|
580
|
+
`, n += `import type { ${G} } from "../${R.path}/customElement.js";
|
|
583
581
|
`;
|
|
584
|
-
const [
|
|
582
|
+
const [fe, ke] = yn(V.name, V.members);
|
|
585
583
|
let te = "", q = "";
|
|
586
|
-
if (
|
|
587
|
-
for (let de = 0; de <
|
|
588
|
-
const
|
|
589
|
-
te += ` ${
|
|
590
|
-
`, q += ` ${
|
|
584
|
+
if (W !== void 0) {
|
|
585
|
+
for (let de = 0; de < W.length; ++de) {
|
|
586
|
+
const Ge = W[de], xt = `EventHandler<${G}["${Ge.name}"]>`;
|
|
587
|
+
te += ` ${Dt(`on${Ge.name}`)}?: ${xt};
|
|
588
|
+
`, q += ` ${Dt(`on${Ge.name[0].toUpperCase()}${Ge.name.slice(1)}`)}?: ${xt};
|
|
591
589
|
`;
|
|
592
590
|
}
|
|
593
591
|
a += `export interface ${F}CustomEvent<T> extends CustomEvent<T> {
|
|
@@ -600,24 +598,24 @@ function va(e, t) {
|
|
|
600
598
|
}
|
|
601
599
|
r += ` type HTML${F}Element = ${G};
|
|
602
600
|
|
|
603
|
-
`, l += ` "${
|
|
604
|
-
`, s += `interface Lumina${F} extends ${
|
|
601
|
+
`, l += ` "${U}": ${G};
|
|
602
|
+
`, s += `interface Lumina${F} extends ${fe}h.JSX.HTMLAttributes<${G}> {
|
|
605
603
|
${te}}
|
|
606
604
|
|
|
607
|
-
`, c += ` "${
|
|
608
|
-
`, p += `interface Preact${F} extends ${
|
|
605
|
+
`, c += ` "${U}": Lumina${F};
|
|
606
|
+
`, p += `interface Preact${F} extends ${fe}HTMLAttributes<${G}> {
|
|
609
607
|
${te}}
|
|
610
608
|
|
|
611
|
-
`, d += ` "${
|
|
612
|
-
`, m += `interface React${F} extends ${
|
|
609
|
+
`, d += ` "${U}": Preact${F};
|
|
610
|
+
`, m += `interface React${F} extends ${fe}HTMLProps<${G}> {
|
|
613
611
|
${te}}
|
|
614
612
|
|
|
615
|
-
`,
|
|
616
|
-
`,
|
|
613
|
+
`, u += ` "${U}": React${F};
|
|
614
|
+
`, f += `interface Stencil${F} extends ${fe}StencilJsx.HTMLAttributes<${G}> {
|
|
617
615
|
${q}}
|
|
618
616
|
|
|
619
|
-
`,
|
|
620
|
-
`,
|
|
617
|
+
`, S += ` "${U}": Stencil${F};
|
|
618
|
+
`, ke !== "" && (C += ke);
|
|
621
619
|
}
|
|
622
620
|
}
|
|
623
621
|
if (r === "") {
|
|
@@ -640,39 +638,39 @@ ${r}
|
|
|
640
638
|
const P = `import "./index.js";
|
|
641
639
|
export declare const defineCustomElements: import("${v}").DefineCustomElements;`, h = `${t.config.context.dtsEmitPath}loader.d.ts`;
|
|
642
640
|
t.dtsFiles.set(h, P);
|
|
643
|
-
const
|
|
641
|
+
const L = `${n}import type { h, EventHandler } from "${v}";
|
|
644
642
|
|
|
645
643
|
${C}${s}declare module "@arcgis/lumina" {
|
|
646
644
|
export namespace h.JSX {
|
|
647
645
|
interface IntrinsicElements {
|
|
648
646
|
${c} }
|
|
649
647
|
}
|
|
650
|
-
}`,
|
|
648
|
+
}`, b = ` interface IntrinsicElements {
|
|
651
649
|
${d} }`, y = `${n}import { HTMLAttributes } from "preact";
|
|
652
650
|
import type { EventHandler } from "${v}";
|
|
653
651
|
|
|
654
652
|
${C}${p}declare module 'preact' {
|
|
655
653
|
namespace createElement.JSX {
|
|
656
|
-
${
|
|
654
|
+
${b}
|
|
657
655
|
}
|
|
658
656
|
namespace h.JSX {
|
|
659
|
-
${
|
|
657
|
+
${b}
|
|
660
658
|
}
|
|
661
659
|
}`, k = `
|
|
662
660
|
namespace JSX {
|
|
663
661
|
interface IntrinsicElements {
|
|
664
|
-
${
|
|
662
|
+
${u} }
|
|
665
663
|
}
|
|
666
|
-
`,
|
|
664
|
+
`, D = `${n}import type { HTMLProps } from 'react';
|
|
667
665
|
import type { EventHandler } from "${v}";
|
|
668
666
|
|
|
669
667
|
${C}${m}declare module "react" {${k}}
|
|
670
668
|
declare module "react/jsx-runtime" {${k}}
|
|
671
|
-
declare module "react/jsx-dev-runtime" {${k}}`,
|
|
669
|
+
declare module "react/jsx-dev-runtime" {${k}}`, I = `${n}import { JSXBase as StencilJsx } from "@stencil/core/internal";
|
|
672
670
|
import type { EventHandler } from "${v}";
|
|
673
671
|
|
|
674
|
-
${C}${
|
|
675
|
-
${
|
|
672
|
+
${C}${f}interface ExposedElements {
|
|
673
|
+
${S}}
|
|
676
674
|
|
|
677
675
|
export namespace JSX {
|
|
678
676
|
export interface IntrinsicElements extends ExposedElements {}
|
|
@@ -682,11 +680,11 @@ declare module "@stencil/core/internal/stencil-public-runtime" {
|
|
|
682
680
|
export namespace h.JSX {
|
|
683
681
|
interface IntrinsicElements extends ExposedElements {}
|
|
684
682
|
}
|
|
685
|
-
}`,
|
|
686
|
-
export * from "./stencil.js";`,
|
|
687
|
-
t.dtsFiles.set(
|
|
683
|
+
}`, x = `/** @deprecated import from stencil.d.ts instead */
|
|
684
|
+
export * from "./stencil.js";`, g = `${t.config.context.dtsEmitPath}types/`, K = `${g}lumina.d.ts`, w = `${g}preact.d.ts`, $ = `${g}react.d.ts`, B = `${g}stencil.d.ts`, E = `${g}components.d.ts`;
|
|
685
|
+
t.dtsFiles.set(K, L), t.dtsFiles.set(w, y), t.dtsFiles.set($, D), t.dtsFiles.set(B, I), t.dtsFiles.set(E, x);
|
|
688
686
|
}
|
|
689
|
-
function
|
|
687
|
+
function yn(e, t) {
|
|
690
688
|
const n = [], i = [];
|
|
691
689
|
let a = !1;
|
|
692
690
|
if (t !== void 0)
|
|
@@ -698,25 +696,25 @@ function vn(e, t) {
|
|
|
698
696
|
a = !0;
|
|
699
697
|
continue;
|
|
700
698
|
}
|
|
701
|
-
c.docsTags?.includes(
|
|
699
|
+
c.docsTags?.includes(N.required) === !0 ? n.push(`"${c.name}"`) : i.push(`"${c.name}"`);
|
|
702
700
|
}
|
|
703
701
|
let r = n.length > 0 ? `Required<Pick<${e}, ${n.join(" | ")}>>` : "";
|
|
704
702
|
i.length > 0 && (r.length > 0 && (r += ", "), r += `Partial<Pick<${e}, ${i.join(" | ")}>>`), a && (r.length > 0 && (r += ", "), r += `${e}SetterTypes`);
|
|
705
|
-
const l = a ? `type ${e}SetterTypes = ${e}["${
|
|
703
|
+
const l = a ? `type ${e}SetterTypes = ${e}["${ai}"];
|
|
706
704
|
` : "";
|
|
707
705
|
return [r.length === 0 ? "" : `${r}, `, l];
|
|
708
706
|
}
|
|
709
707
|
function ga(e, t) {
|
|
710
708
|
const n = t.moduleMap.get("index");
|
|
711
709
|
if (n === void 0)
|
|
712
|
-
e.unshift(
|
|
710
|
+
e.unshift(vn);
|
|
713
711
|
else {
|
|
714
|
-
const i =
|
|
715
|
-
i.index.named.getAssetPath === void 0 && n.declarations.push(
|
|
712
|
+
const i = me(n);
|
|
713
|
+
i.index.named.getAssetPath === void 0 && n.declarations.push(ri), i.index.named.setAssetPath === void 0 && n.declarations.push(si);
|
|
716
714
|
}
|
|
717
715
|
}
|
|
718
|
-
const
|
|
719
|
-
[
|
|
716
|
+
const ai = "@setterTypes", ri = {
|
|
717
|
+
[J]: et(),
|
|
720
718
|
kind: "function",
|
|
721
719
|
name: "getAssetPath",
|
|
722
720
|
static: void 0,
|
|
@@ -757,8 +755,8 @@ const ri = "@setterTypes", si = {
|
|
|
757
755
|
signature: void 0,
|
|
758
756
|
privacy: void 0,
|
|
759
757
|
source: void 0
|
|
760
|
-
},
|
|
761
|
-
[
|
|
758
|
+
}, si = {
|
|
759
|
+
[J]: et(),
|
|
762
760
|
kind: "function",
|
|
763
761
|
name: "setAssetPath",
|
|
764
762
|
static: void 0,
|
|
@@ -794,7 +792,7 @@ browser will load the assets from.`,
|
|
|
794
792
|
{
|
|
795
793
|
name: "URL",
|
|
796
794
|
module: void 0,
|
|
797
|
-
package:
|
|
795
|
+
package: le,
|
|
798
796
|
viewUrl: "https://developer.mozilla.org/docs/Web/API/URL",
|
|
799
797
|
start: 0,
|
|
800
798
|
end: 3
|
|
@@ -820,10 +818,10 @@ browser will load the assets from.`,
|
|
|
820
818
|
signature: void 0,
|
|
821
819
|
privacy: void 0,
|
|
822
820
|
source: void 0
|
|
823
|
-
},
|
|
824
|
-
|
|
825
|
-
const
|
|
826
|
-
[
|
|
821
|
+
}, li = ti(void 0, "index", {}, { class: void 0, default: void 0, named: {} });
|
|
822
|
+
li.importsText = "";
|
|
823
|
+
const vn = {
|
|
824
|
+
[J]: li,
|
|
827
825
|
kind: "javascript-module",
|
|
828
826
|
path: "index",
|
|
829
827
|
sourcePath: "src/index.ts",
|
|
@@ -831,11 +829,67 @@ const gn = {
|
|
|
831
829
|
description: void 0,
|
|
832
830
|
docsTags: void 0,
|
|
833
831
|
summary: void 0,
|
|
834
|
-
declarations: [
|
|
832
|
+
declarations: [ri, si],
|
|
835
833
|
exports: void 0
|
|
836
834
|
};
|
|
837
|
-
function
|
|
838
|
-
|
|
835
|
+
function pt(e, t) {
|
|
836
|
+
let i = t.startsWith("./") ? t.slice(2) : t, a = e;
|
|
837
|
+
for (; ; ) {
|
|
838
|
+
const r = a.lastIndexOf("/");
|
|
839
|
+
if (a = r === -1 ? "" : a.slice(0, r), i.startsWith("../"))
|
|
840
|
+
i = i.slice(3);
|
|
841
|
+
else
|
|
842
|
+
return a === "" ? i : `${a}/${i}`;
|
|
843
|
+
}
|
|
844
|
+
}
|
|
845
|
+
function Sn(e, t) {
|
|
846
|
+
let n = 0;
|
|
847
|
+
for (; ; ) {
|
|
848
|
+
const a = e.indexOf("/", n) + 1;
|
|
849
|
+
if (a === 0)
|
|
850
|
+
break;
|
|
851
|
+
const r = e.slice(n, a), l = t.slice(n, a);
|
|
852
|
+
if (r !== l)
|
|
853
|
+
break;
|
|
854
|
+
n = a;
|
|
855
|
+
}
|
|
856
|
+
let i = "";
|
|
857
|
+
for (let a = n; a < e.length && (a = e.indexOf("/", a), a !== -1); ++a)
|
|
858
|
+
i += "../";
|
|
859
|
+
return i.length === 0 && (i = "./"), `${i}${t.slice(n)}.js`;
|
|
860
|
+
}
|
|
861
|
+
function Ft(e, t, n = 0) {
|
|
862
|
+
for (; n < e.length; ++n) {
|
|
863
|
+
const i = e[n];
|
|
864
|
+
i.start += t, i.end += t;
|
|
865
|
+
}
|
|
866
|
+
return e;
|
|
867
|
+
}
|
|
868
|
+
function Ot(e, t) {
|
|
869
|
+
if (e === t)
|
|
870
|
+
return !0;
|
|
871
|
+
if (typeof e != "object" || typeof t != "object" || e === null || t === null)
|
|
872
|
+
return !1;
|
|
873
|
+
if (Array.isArray(e)) {
|
|
874
|
+
if (!Array.isArray(t) || e.length !== t.length)
|
|
875
|
+
return !1;
|
|
876
|
+
for (let a = 0; a < e.length; ++a)
|
|
877
|
+
if (!Ot(e[a], t[a]))
|
|
878
|
+
return !1;
|
|
879
|
+
return !0;
|
|
880
|
+
}
|
|
881
|
+
const n = Object.keys(e), i = Object.keys(t);
|
|
882
|
+
if (n.length !== i.length)
|
|
883
|
+
return !1;
|
|
884
|
+
for (let a = 0; a < n.length; ++a) {
|
|
885
|
+
const r = n[a];
|
|
886
|
+
if (!Ot(e[r], t[r]))
|
|
887
|
+
return !1;
|
|
888
|
+
}
|
|
889
|
+
return !0;
|
|
890
|
+
}
|
|
891
|
+
function Ta(e, t) {
|
|
892
|
+
const n = Te(e), i = he(n), a = me(e);
|
|
839
893
|
if (a.index.class?.privacy !== void 0)
|
|
840
894
|
return e.declarations.length > 1 && t.emitError(
|
|
841
895
|
`Did not expect to find any public declarations in a module that declares a private web component. Found: ${e.declarations.filter((s) => s !== a.index.class).map((s) => s.name).join(", ")}`,
|
|
@@ -848,16 +902,17 @@ function Sa(e, t) {
|
|
|
848
902
|
const c = a.reExports[s];
|
|
849
903
|
let p = "";
|
|
850
904
|
if (c.specifiers[0].exportName === "*") {
|
|
851
|
-
const
|
|
852
|
-
p = (c.isTypeOnly ? "type *" : "*") + (
|
|
905
|
+
const m = c.specifiers[0];
|
|
906
|
+
p = (c.isTypeOnly ? "type *" : "*") + (m.aliasName ? ` as ${m.aliasName}` : "");
|
|
853
907
|
} else {
|
|
854
|
-
for (let
|
|
855
|
-
const
|
|
856
|
-
p += (
|
|
908
|
+
for (let m = 0; m < c.specifiers.length; ++m) {
|
|
909
|
+
const u = c.specifiers[m];
|
|
910
|
+
p += (m === 0 ? "{" : ",") + (c.isTypeOnly ? " type " : " ") + u.exportName + (u.aliasName ? ` as ${u.aliasName}` : "");
|
|
857
911
|
}
|
|
858
912
|
p += " }";
|
|
859
913
|
}
|
|
860
|
-
|
|
914
|
+
const d = c.modulePath === void 0 ? c.externalSpecifier : Sn(a.dtsPath, c.modulePath);
|
|
915
|
+
r += `export ${p} from "${d}";
|
|
861
916
|
`;
|
|
862
917
|
}
|
|
863
918
|
r += `
|
|
@@ -869,47 +924,47 @@ function Sa(e, t) {
|
|
|
869
924
|
|
|
870
925
|
`;
|
|
871
926
|
const l = e.declarations;
|
|
872
|
-
a.constructorPropertiesInterface !== void 0 && (r += `${
|
|
927
|
+
a.constructorPropertiesInterface !== void 0 && (r += `${Nt(a.constructorPropertiesInterface)}
|
|
873
928
|
|
|
874
929
|
`);
|
|
875
930
|
for (let s = 0; s < l.length; ++s) {
|
|
876
931
|
const c = l[s];
|
|
877
|
-
r +=
|
|
932
|
+
r += Nt(c), s < l.length - 1 && (r += `
|
|
878
933
|
|
|
879
934
|
`);
|
|
880
935
|
}
|
|
881
|
-
return t.isJsApi ?
|
|
936
|
+
return t.isJsApi ? fn(r, e, t) : (t.isComponentProject && (e.exports?.[0].kind === "custom-element-definition" ? r = `/// <reference path="../../index.d.ts" />
|
|
882
937
|
${r}` : e.path === "index" && (r += t.vanillaComponentTypes)), r);
|
|
883
938
|
}
|
|
884
939
|
function he(e) {
|
|
885
|
-
return e === void 0 ? "" : `/*${
|
|
940
|
+
return e === void 0 ? "" : `/*${an(e)}*/
|
|
886
941
|
`;
|
|
887
942
|
}
|
|
888
|
-
function
|
|
943
|
+
function Nt(e) {
|
|
889
944
|
let t = Te(e), n = "";
|
|
890
945
|
if (e.kind === "class" || e.kind === "mixin")
|
|
891
|
-
n =
|
|
946
|
+
n = wt(e);
|
|
892
947
|
else if (e.kind === "interface") {
|
|
893
|
-
const a =
|
|
948
|
+
const a = ue(e);
|
|
894
949
|
if (e.supertypes === void 0 && e.type === void 0 && e.members?.length === 1 && (e.members[0].kind === "call-signature" || e.members[0].kind === "constructor")) {
|
|
895
950
|
const l = e.members[0];
|
|
896
|
-
let s =
|
|
951
|
+
let s = ci(l, !0);
|
|
897
952
|
const c = Te(l)?.docsTags;
|
|
898
953
|
c !== void 0 && (t = {
|
|
899
954
|
description: t?.description,
|
|
900
955
|
docsTags: [...c, ...t?.docsTags ?? []]
|
|
901
956
|
});
|
|
902
957
|
const p = s.indexOf("): ");
|
|
903
|
-
s = `${s.slice(0, p)}) => ${s.slice(p + 3, -1)}`, n =
|
|
958
|
+
s = `${s.slice(0, p)}) => ${s.slice(p + 3, -1)}`, n = Rt(e.name, e.typeParameters, void 0, s);
|
|
904
959
|
} else if (a.isMixinBaseClass === !0)
|
|
905
|
-
n =
|
|
960
|
+
n = wt(e);
|
|
906
961
|
else if (a.emitAsTypeAlias === !0) {
|
|
907
962
|
let l = e.type?.text;
|
|
908
963
|
const s = mt(e);
|
|
909
|
-
s !== "" ? l = l === void 0 ? `{${s}}` : `${l} & {${s}}` : l === void 0 && e.supertypes === void 0 && (l = "{}"), n =
|
|
964
|
+
s !== "" ? l = l === void 0 ? `{${s}}` : `${l} & {${s}}` : l === void 0 && e.supertypes === void 0 && (l = "{}"), n = Rt(e.name, e.typeParameters, e.supertypes, l);
|
|
910
965
|
} else {
|
|
911
966
|
const l = mt(e);
|
|
912
|
-
n =
|
|
967
|
+
n = Ni(
|
|
913
968
|
a.isDefaultExported === !0,
|
|
914
969
|
e.name,
|
|
915
970
|
e.typeParameters,
|
|
@@ -918,8 +973,8 @@ function Ot(e) {
|
|
|
918
973
|
);
|
|
919
974
|
}
|
|
920
975
|
} else if (e.kind === "function") {
|
|
921
|
-
const a =
|
|
922
|
-
n =
|
|
976
|
+
const a = ht(e);
|
|
977
|
+
n = wi(
|
|
923
978
|
a.isDefaultExported === !0,
|
|
924
979
|
e.name,
|
|
925
980
|
e.typeParameters,
|
|
@@ -927,16 +982,16 @@ function Ot(e) {
|
|
|
927
982
|
e.return.type.text
|
|
928
983
|
);
|
|
929
984
|
} else if (e.kind === "variable") {
|
|
930
|
-
const a =
|
|
931
|
-
n +=
|
|
985
|
+
const a = ei(e);
|
|
986
|
+
n += Ui(a.isDefaultExported === !0, e.name, e.type.text);
|
|
932
987
|
}
|
|
933
988
|
return `${he(t)}${n}`;
|
|
934
989
|
}
|
|
935
|
-
function
|
|
936
|
-
const t =
|
|
990
|
+
function wt(e) {
|
|
991
|
+
const t = ue(e), n = t.isDefaultExported === !0, i = mt(e), a = e, r = e;
|
|
937
992
|
let l, s = a.mixins ?? r.supertypes;
|
|
938
|
-
s === void 0 ? a.superclass !== void 0 && (l =
|
|
939
|
-
let c =
|
|
993
|
+
s === void 0 ? a.superclass !== void 0 && (l = Fe(a.superclass)) : a.superclass === void 0 && s.length === 1 ? (l = Fe(s[0]), s = void 0) : l = `${e.name}Superclass`;
|
|
994
|
+
let c = Vi(
|
|
940
995
|
t.hasExplicitAbstract !== void 0,
|
|
941
996
|
n,
|
|
942
997
|
e.name,
|
|
@@ -946,10 +1001,10 @@ function Nt(e) {
|
|
|
946
1001
|
);
|
|
947
1002
|
if (s !== void 0) {
|
|
948
1003
|
c += `
|
|
949
|
-
declare const ${l}:`, a.superclass !== void 0 && (c += ` typeof ${
|
|
1004
|
+
declare const ${l}:`, a.superclass !== void 0 && (c += ` typeof ${Fe(a.superclass)}`);
|
|
950
1005
|
for (let p = 0; p < s.length; ++p) {
|
|
951
1006
|
const d = s[p];
|
|
952
|
-
c += ` & typeof ${
|
|
1007
|
+
c += ` & typeof ${Fe(d)}`;
|
|
953
1008
|
}
|
|
954
1009
|
}
|
|
955
1010
|
return c;
|
|
@@ -957,7 +1012,7 @@ declare const ${l}:`, a.superclass !== void 0 && (c += ` typeof ${Oe(a.superclas
|
|
|
957
1012
|
function mt(e) {
|
|
958
1013
|
const t = e.members;
|
|
959
1014
|
let n = "";
|
|
960
|
-
const i =
|
|
1015
|
+
const i = ue(e);
|
|
961
1016
|
if (e.kind === "mixin" && (n += `constructor(...args: any[]);
|
|
962
1017
|
`), i.eventTypesProperty !== void 0) {
|
|
963
1018
|
let l = Tn;
|
|
@@ -965,7 +1020,7 @@ function mt(e) {
|
|
|
965
1020
|
const c = Te(i.eventTypesProperty);
|
|
966
1021
|
l = he(c);
|
|
967
1022
|
}
|
|
968
|
-
const s =
|
|
1023
|
+
const s = Ut(i.eventTypesProperty);
|
|
969
1024
|
n += `${l}${s}
|
|
970
1025
|
`;
|
|
971
1026
|
}
|
|
@@ -977,11 +1032,11 @@ function mt(e) {
|
|
|
977
1032
|
if (c.inheritedFrom !== void 0 || c.privacy === "private")
|
|
978
1033
|
continue;
|
|
979
1034
|
const d = Te(c);
|
|
980
|
-
n += he(d), c.kind === "field" ? (r && c.getterType !== void 0 && (l += ` ${
|
|
981
|
-
`), n +=
|
|
1035
|
+
n += he(d), c.kind === "field" ? (r && c.getterType !== void 0 && (l += ` ${ve(!1, !1, !1, !1, !1, c.docsTags?.includes(N.required) !== !0, c.name, c.type.text)}
|
|
1036
|
+
`), n += Ut(c)) : n += ci(c, !1), n += `
|
|
982
1037
|
`;
|
|
983
1038
|
}
|
|
984
|
-
l !== "" && (n += `${
|
|
1039
|
+
l !== "" && (n += `${ve(!1, !1, !1, !1, !1, !1, ai, `{
|
|
985
1040
|
${l}}`)}
|
|
986
1041
|
`);
|
|
987
1042
|
}
|
|
@@ -998,13 +1053,13 @@ ${l}}`)}
|
|
|
998
1053
|
const p = a.events[c];
|
|
999
1054
|
if (p.inheritedFrom === void 0) {
|
|
1000
1055
|
const d = Te(p);
|
|
1001
|
-
n += `${he(d)}${
|
|
1056
|
+
n += `${he(d)}${ve(!1, !1, !1, !0, !1, !1, p.name, `import("${gn}").TargetedEvent<this, ${p.type.text}>`)}
|
|
1002
1057
|
`;
|
|
1003
1058
|
}
|
|
1004
|
-
s += ` ${
|
|
1059
|
+
s += ` ${ve(!1, !1, !1, !1, !1, !1, p.name, `${l}["${p.name}"]["detail"]`)}
|
|
1005
1060
|
`;
|
|
1006
1061
|
}
|
|
1007
|
-
n += `${
|
|
1062
|
+
n += `${ve(!1, !1, !1, !0, !1, !1, "@eventTypes", `{
|
|
1008
1063
|
${s}}`)}
|
|
1009
1064
|
`;
|
|
1010
1065
|
}
|
|
@@ -1013,12 +1068,12 @@ ${s}}`)}
|
|
|
1013
1068
|
`, `
|
|
1014
1069
|
`).slice(0, -2)}`;
|
|
1015
1070
|
}
|
|
1016
|
-
const
|
|
1017
|
-
function
|
|
1071
|
+
const gn = "@arcgis/lumina";
|
|
1072
|
+
function Ut(e) {
|
|
1018
1073
|
let t = "";
|
|
1019
|
-
const n =
|
|
1074
|
+
const n = Gi(e), i = n.isAccessor === !0, a = e.readonly === !0;
|
|
1020
1075
|
if (e.getterType !== void 0 || i && a)
|
|
1021
|
-
t +=
|
|
1076
|
+
t += _i(
|
|
1022
1077
|
e.privacy !== void 0,
|
|
1023
1078
|
n.isAbstract === !0,
|
|
1024
1079
|
e.static === !0,
|
|
@@ -1028,7 +1083,7 @@ function wt(e) {
|
|
|
1028
1083
|
);
|
|
1029
1084
|
else {
|
|
1030
1085
|
const r = n.dtsTypeOverride ?? e.type.text, l = i ? !1 : r.endsWith(" | undefined"), s = l ? r.slice(0, -12) : r;
|
|
1031
|
-
t +=
|
|
1086
|
+
t += ve(
|
|
1032
1087
|
e.privacy !== void 0,
|
|
1033
1088
|
n.isAbstract === !0,
|
|
1034
1089
|
e.static === !0,
|
|
@@ -1041,9 +1096,9 @@ function wt(e) {
|
|
|
1041
1096
|
}
|
|
1042
1097
|
return t;
|
|
1043
1098
|
}
|
|
1044
|
-
function
|
|
1045
|
-
const n =
|
|
1046
|
-
return
|
|
1099
|
+
function ci(e, t) {
|
|
1100
|
+
const n = ht(e);
|
|
1101
|
+
return Wi(
|
|
1047
1102
|
e.privacy !== void 0,
|
|
1048
1103
|
n.isAbstract === !0,
|
|
1049
1104
|
e.static === !0,
|
|
@@ -1064,7 +1119,7 @@ Use EventNames and EventTypes helpers from @arcgis/core/Evented`
|
|
|
1064
1119
|
}
|
|
1065
1120
|
]
|
|
1066
1121
|
});
|
|
1067
|
-
function
|
|
1122
|
+
function ha() {
|
|
1068
1123
|
const e = Date.now();
|
|
1069
1124
|
return () => (Date.now() - e) / hn;
|
|
1070
1125
|
}
|
|
@@ -1073,7 +1128,7 @@ function En(e) {
|
|
|
1073
1128
|
const t = e.indexOf("/");
|
|
1074
1129
|
return t === -1 ? e : e.slice(0, t);
|
|
1075
1130
|
}
|
|
1076
|
-
function
|
|
1131
|
+
function Vt(e, t, n) {
|
|
1077
1132
|
if (!n.isComponentProject || n.config.context.isLuminaMinimalExtraction || n.config.documentation.publicStoryUrlPrefix === !1)
|
|
1078
1133
|
return;
|
|
1079
1134
|
const i = e.match(Cn)?.[1];
|
|
@@ -1086,17 +1141,17 @@ function Ut(e, t, n) {
|
|
|
1086
1141
|
}
|
|
1087
1142
|
const a = [];
|
|
1088
1143
|
for (const l of e.matchAll(Pn)) {
|
|
1089
|
-
const s = l[1], c =
|
|
1090
|
-
let
|
|
1144
|
+
const s = l[1], c = Dn(s), p = e.indexOf("{", l.index), d = e.indexOf("}", p), m = e.slice(0, l.index).trimEnd();
|
|
1145
|
+
let u = "";
|
|
1091
1146
|
if (m.endsWith("*/")) {
|
|
1092
1147
|
const C = m.lastIndexOf("/**");
|
|
1093
|
-
|
|
1148
|
+
u = m.slice(C + 3, -2).trim().replaceAll(Mn, "");
|
|
1094
1149
|
}
|
|
1095
|
-
const
|
|
1150
|
+
const f = e.slice(p, d).match(bn)?.[1] || c, S = xn(c);
|
|
1096
1151
|
a.push({
|
|
1097
|
-
description: `${
|
|
1098
|
-
${
|
|
1099
|
-
url: `${n.config.documentation.publicStoryUrlPrefix}?path=/story/${i}--${
|
|
1152
|
+
description: `${f}${u ? `
|
|
1153
|
+
${u}` : ""}`,
|
|
1154
|
+
url: `${n.config.documentation.publicStoryUrlPrefix}?path=/story/${i}--${S}&singleStory=true`,
|
|
1100
1155
|
source: void 0
|
|
1101
1156
|
});
|
|
1102
1157
|
}
|
|
@@ -1110,70 +1165,14 @@ ${f}` : ""}`,
|
|
|
1110
1165
|
const r = n.componentStories[i];
|
|
1111
1166
|
r === void 0 ? n.componentStories[i] = a : r.push(...a);
|
|
1112
1167
|
}
|
|
1113
|
-
const Cn = /component: ["']([^"']+)["']/u, Pn = /export const (\w+)/gu, bn = /name: ["']([^"']+)["']/u, Mn = /^\s*\*\s?/gmu,
|
|
1114
|
-
function ut(e, t) {
|
|
1115
|
-
let i = t.startsWith("./") ? t.slice(2) : t, a = e;
|
|
1116
|
-
for (; ; ) {
|
|
1117
|
-
const r = a.lastIndexOf("/");
|
|
1118
|
-
if (a = r === -1 ? "" : a.slice(0, r), i.startsWith("../"))
|
|
1119
|
-
i = i.slice(3);
|
|
1120
|
-
else
|
|
1121
|
-
return a === "" ? i : `${a}/${i}`;
|
|
1122
|
-
}
|
|
1123
|
-
}
|
|
1124
|
-
function ye(e, t) {
|
|
1125
|
-
let n = 0;
|
|
1126
|
-
for (; ; ) {
|
|
1127
|
-
const a = e.indexOf("/", n) + 1;
|
|
1128
|
-
if (a === 0)
|
|
1129
|
-
break;
|
|
1130
|
-
const r = e.slice(n, a), l = t.slice(n, a);
|
|
1131
|
-
if (r !== l)
|
|
1132
|
-
break;
|
|
1133
|
-
n = a;
|
|
1134
|
-
}
|
|
1135
|
-
let i = "";
|
|
1136
|
-
for (let a = n; a < e.length && (a = e.indexOf("/", a), a !== -1); ++a)
|
|
1137
|
-
i += "../";
|
|
1138
|
-
return i.length === 0 && (i = "./"), `${i}${t.slice(n)}`;
|
|
1139
|
-
}
|
|
1140
|
-
function Vt(e, t, n = 0) {
|
|
1141
|
-
for (; n < e.length; ++n) {
|
|
1142
|
-
const i = e[n];
|
|
1143
|
-
i.start += t, i.end += t;
|
|
1144
|
-
}
|
|
1145
|
-
return e;
|
|
1146
|
-
}
|
|
1147
|
-
function Wt(e, t) {
|
|
1148
|
-
if (e === t)
|
|
1149
|
-
return !0;
|
|
1150
|
-
if (typeof e != "object" || typeof t != "object" || e === null || t === null)
|
|
1151
|
-
return !1;
|
|
1152
|
-
if (Array.isArray(e)) {
|
|
1153
|
-
if (!Array.isArray(t) || e.length !== t.length)
|
|
1154
|
-
return !1;
|
|
1155
|
-
for (let a = 0; a < e.length; ++a)
|
|
1156
|
-
if (!Wt(e[a], t[a]))
|
|
1157
|
-
return !1;
|
|
1158
|
-
return !0;
|
|
1159
|
-
}
|
|
1160
|
-
const n = Object.keys(e), i = Object.keys(t);
|
|
1161
|
-
if (n.length !== i.length)
|
|
1162
|
-
return !1;
|
|
1163
|
-
for (let a = 0; a < n.length; ++a) {
|
|
1164
|
-
const r = n[a];
|
|
1165
|
-
if (!Wt(e[r], t[r]))
|
|
1166
|
-
return !1;
|
|
1167
|
-
}
|
|
1168
|
-
return !0;
|
|
1169
|
-
}
|
|
1168
|
+
const Cn = /component: ["']([^"']+)["']/u, Pn = /export const (\w+)/gu, bn = /name: ["']([^"']+)["']/u, Mn = /^\s*\*\s?/gmu, xn = (e) => e.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>{}[\]\\/]/giu, "-").replace(/-+/gu, "-").replace(/^-+/u, "").replace(/-+$/u, ""), Dn = (e) => e.replace(/_/gu, " ").replace(/-/gu, " ").replace(/\./gu, " ").replace(/([^\n])([A-Z])([a-z])/gu, (t, n, i, a) => `${n} ${i}${a}`).replace(/([a-z])([A-Z])/gu, (t, n, i) => `${n} ${i}`).replace(/([a-z])([0-9])/giu, (t, n, i) => `${n} ${i}`).replace(/([0-9])([a-z])/giu, (t, n, i) => `${n} ${i}`).replace(/(\s|^)(\w)/gu, (t, n, i) => `${n}${i.toUpperCase()}`).replace(/ +/gu, " ").trim();
|
|
1170
1169
|
function Rn(e, t) {
|
|
1171
1170
|
if (t.config.context.isLuminaMinimalExtraction || t.componentTagName === void 0)
|
|
1172
1171
|
return;
|
|
1173
1172
|
const n = e.moduleSpecifier.text, i = /\.(?:css|s[ac]ss|less|styl(?:us)?|postcss|pcss|sss)(\\?|$)/u;
|
|
1174
1173
|
if (!(n.startsWith(".") && i.test(n)))
|
|
1175
1174
|
return;
|
|
1176
|
-
const r = n.split("?", 1)[0], l =
|
|
1175
|
+
const r = n.split("?", 1)[0], l = en.join(t.file.fileName, "..", r), s = ji(l, "utf-8"), c = Ln(s);
|
|
1177
1176
|
c !== void 0 && (t.componentCssFileDocs = c);
|
|
1178
1177
|
}
|
|
1179
1178
|
function Ln(e) {
|
|
@@ -1192,7 +1191,7 @@ function Ln(e) {
|
|
|
1192
1191
|
return t.length === 0 ? void 0 : t;
|
|
1193
1192
|
}
|
|
1194
1193
|
const In = /@prop\s+(?<name>--[\w-]+)\s*:(?<description>[^@/]+)/gu, An = /\n\s+\*? ?/gu;
|
|
1195
|
-
function
|
|
1194
|
+
function di(e, t) {
|
|
1196
1195
|
if (e === void 0)
|
|
1197
1196
|
return !1;
|
|
1198
1197
|
for (let n = 0; n < e.length; ++n)
|
|
@@ -1200,7 +1199,7 @@ function pi(e, t) {
|
|
|
1200
1199
|
return !0;
|
|
1201
1200
|
return !1;
|
|
1202
1201
|
}
|
|
1203
|
-
function
|
|
1202
|
+
function tt(e) {
|
|
1204
1203
|
if (e.modifiers === void 0)
|
|
1205
1204
|
return 0;
|
|
1206
1205
|
for (let t = 0; t < e.modifiers.length; ++t)
|
|
@@ -1208,38 +1207,39 @@ function it(e) {
|
|
|
1208
1207
|
return e.modifiers[t + 1]?.kind === o.SyntaxKind.DefaultKeyword ? 2 : 1;
|
|
1209
1208
|
return 0;
|
|
1210
1209
|
}
|
|
1211
|
-
function
|
|
1210
|
+
function pi(e, t) {
|
|
1212
1211
|
return e.endsWith("Properties") && t.apiClassLikeName === e.slice(0, -10);
|
|
1213
1212
|
}
|
|
1214
1213
|
const kn = /* @__PURE__ */ JSON.parse('{"AacBitstreamFormat":[],"AacEncoderConfig":[],"AbortController":["AbortController"],"AbortSignal":["AbortSignal"],"AbortSignalEventMap":[],"AbstractRange":["AbstractRange"],"AbstractWorker":["error_event"],"AbstractWorkerEventMap":[],"ActiveXObject":[],"addEventListener":[],"AddEventListenerOptions":[],"AddressErrors":[],"AesCbcParams":[],"AesCtrParams":[],"AesDerivedKeyParams":[],"AesGcmParams":[],"AesKeyAlgorithm":[],"AesKeyGenParams":[],"AggregateError":[],"AggregateErrorConstructor":[],"alert":["Window/alert"],"Algorithm":[],"AlgorithmIdentifier":[],"AlignSetting":[],"AllAcceptedCredentialsOptions":[],"AllowSharedBufferSource":[],"AlphaOption":[],"AnalyserNode":["AnalyserNode"],"AnalyserOptions":[],"ANGLE_instanced_arrays":["ANGLE_instanced_arrays"],"Animatable":["animate"],"Animation":["Animation"],"AnimationEffect":["AnimationEffect"],"AnimationEvent":["AnimationEvent"],"AnimationEventInit":[],"AnimationEventMap":[],"AnimationFrameProvider":["cancelAnimationFrame"],"AnimationPlaybackEvent":["AnimationPlaybackEvent"],"AnimationPlaybackEventInit":[],"AnimationPlayState":[],"AnimationReplaceState":[],"AnimationTimeline":["AnimationTimeline"],"AppendMode":[],"ARIAMixin":["ariaActiveDescendantElement"],"Array":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array"],"ArrayBuffer":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer"],"ArrayBufferConstructor":[],"ArrayBufferLike":[],"ArrayBufferTypes":[],"ArrayBufferView":[],"ArrayConstructor":[],"ArrayIterator":[],"ArrayLike":[],"AssignedNodesOptions":[],"AsyncDisposable":[],"AsyncDisposableStack":[],"AsyncDisposableStackConstructor":[],"AsyncGenerator":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AsyncGenerator"],"AsyncGeneratorFunction":[],"AsyncGeneratorFunctionConstructor":[],"AsyncIterable":[],"AsyncIterableIterator":[],"AsyncIterator":[],"AsyncIteratorObject":[],"atob":["Window/atob"],"Atomics":[],"AttestationConveyancePreference":[],"Attr":["Attr"],"Audio":[],"AudioBuffer":["AudioBuffer"],"AudioBufferOptions":[],"AudioBufferSourceNode":["AudioBufferSourceNode"],"AudioBufferSourceOptions":[],"AudioConfiguration":[],"AudioContext":["AudioContext"],"AudioContextLatencyCategory":[],"AudioContextOptions":[],"AudioContextState":[],"AudioData":["AudioData"],"AudioDataCopyToOptions":[],"AudioDataInit":[],"AudioDataOutputCallback":[],"AudioDecoder":["AudioDecoder"],"AudioDecoderConfig":[],"AudioDecoderEventMap":[],"AudioDecoderInit":[],"AudioDecoderSupport":[],"AudioDestinationNode":["AudioDestinationNode"],"AudioEncoder":["AudioEncoder"],"AudioEncoderConfig":[],"AudioEncoderEventMap":[],"AudioEncoderInit":[],"AudioEncoderSupport":[],"AudioListener":["AudioListener"],"AudioNode":["AudioNode"],"AudioNodeOptions":[],"AudioParam":["AudioParam"],"AudioParamMap":["AudioParamMap"],"AudioProcessingEvent":["AudioProcessingEvent"],"AudioProcessingEventInit":[],"AudioSampleFormat":[],"AudioScheduledSourceNode":["AudioScheduledSourceNode"],"AudioScheduledSourceNodeEventMap":[],"AudioTimestamp":[],"AudioWorklet":["AudioWorklet"],"AudioWorkletNode":["AudioWorkletNode"],"AudioWorkletNodeEventMap":[],"AudioWorkletNodeOptions":[],"AuthenticationExtensionsClientInputs":[],"AuthenticationExtensionsClientInputsJSON":[],"AuthenticationExtensionsClientOutputs":[],"AuthenticationExtensionsClientOutputsJSON":[],"AuthenticationExtensionsLargeBlobInputs":[],"AuthenticationExtensionsLargeBlobInputsJSON":[],"AuthenticationExtensionsLargeBlobOutputs":[],"AuthenticationExtensionsLargeBlobOutputsJSON":[],"AuthenticationExtensionsPRFInputs":[],"AuthenticationExtensionsPRFInputsJSON":[],"AuthenticationExtensionsPRFOutputs":[],"AuthenticationExtensionsPRFOutputsJSON":[],"AuthenticationExtensionsPRFValues":[],"AuthenticationExtensionsPRFValuesJSON":[],"AuthenticationResponseJSON":[],"AuthenticatorAssertionResponse":["AuthenticatorAssertionResponse"],"AuthenticatorAssertionResponseJSON":[],"AuthenticatorAttachment":[],"AuthenticatorAttestationResponse":["AuthenticatorAttestationResponse"],"AuthenticatorAttestationResponseJSON":[],"AuthenticatorResponse":["AuthenticatorResponse"],"AuthenticatorSelectionCriteria":[],"AuthenticatorTransport":[],"AutoFill":[],"AutoFillAddressKind":[],"AutoFillBase":[],"AutoFillContactField":[],"AutoFillContactKind":[],"AutoFillCredentialField":[],"AutoFillField":[],"AutoFillNormalField":[],"AutoFillSection":[],"AutoKeyword":[],"AutomationRate":[],"AvcBitstreamFormat":[],"AvcEncoderConfig":[],"Awaited":["https://www.typescriptlang.org/docs/handbook/utility-types.html#awaitedtype"],"BarProp":["BarProp"],"Base64URLString":[],"BaseAudioContext":["BaseAudioContext"],"BaseAudioContextEventMap":[],"BeforeUnloadEvent":["BeforeUnloadEvent"],"BigInt":[],"BigInt64Array":[],"BigInt64ArrayConstructor":[],"BigIntConstructor":[],"BigInteger":[],"BigIntToLocaleStringOptions":[],"BigUint64Array":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint64Array"],"BigUint64ArrayConstructor":[],"BinaryType":[],"BiquadFilterNode":["BiquadFilterNode"],"BiquadFilterOptions":[],"BiquadFilterType":[],"BitrateMode":[],"Blob":["Blob"],"BlobCallback":[],"BlobEvent":["BlobEvent"],"BlobEventInit":[],"BlobPart":[],"BlobPropertyBag":[],"blur":["Window/blur"],"Body":["body"],"BodyInit":[],"Boolean":[],"BooleanConstructor":[],"BroadcastChannel":["BroadcastChannel"],"BroadcastChannelEventMap":[],"btoa":["Window/btoa"],"BufferSource":[],"BuiltinIteratorReturn":[],"ByteLengthQueuingStrategy":["ByteLengthQueuingStrategy"],"Cache":["Cache"],"CacheQueryOptions":[],"caches":[],"CacheStorage":["CacheStorage"],"CallableFunction":[],"cancelAnimationFrame":["DedicatedWorkerGlobalScope/cancelAnimationFrame"],"cancelIdleCallback":["Window/cancelIdleCallback"],"CanPlayTypeResult":[],"CanvasCaptureMediaStreamTrack":["CanvasCaptureMediaStreamTrack"],"CanvasCompositing":["globalAlpha"],"CanvasDirection":[],"CanvasDrawImage":["drawImage"],"CanvasDrawPath":["beginPath"],"CanvasFillRule":[],"CanvasFillStrokeStyles":["fillStyle"],"CanvasFilters":["filter"],"CanvasFontKerning":[],"CanvasFontStretch":[],"CanvasFontVariantCaps":[],"CanvasGradient":["CanvasGradient"],"CanvasImageData":["createImageData"],"CanvasImageSmoothing":["imageSmoothingEnabled"],"CanvasImageSource":[],"CanvasLineCap":[],"CanvasLineJoin":[],"CanvasPath":["arc"],"CanvasPathDrawingStyles":["lineCap"],"CanvasPattern":["CanvasPattern"],"CanvasRect":["clearRect"],"CanvasRenderingContext2D":["CanvasRenderingContext2D"],"CanvasRenderingContext2DSettings":[],"CanvasSettings":["getContextAttributes"],"CanvasShadowStyles":["shadowBlur"],"CanvasState":["isContextLost"],"CanvasText":["fillText"],"CanvasTextAlign":[],"CanvasTextBaseline":[],"CanvasTextDrawingStyles":["direction"],"CanvasTextRendering":[],"CanvasTransform":["getTransform"],"CanvasUserInterface":["drawFocusIfNeeded"],"Capitalize":["https://www.typescriptlang.org/docs/handbook/utility-types.html#intrinsic-string-manipulation-types"],"captureEvents":["Window/captureEvents"],"CaretPosition":["CaretPosition"],"CaretPositionFromPointOptions":[],"CDATASection":["CDATASection"],"ChannelCountMode":[],"ChannelInterpretation":[],"ChannelMergerNode":["ChannelMergerNode"],"ChannelMergerOptions":[],"ChannelSplitterNode":["ChannelSplitterNode"],"ChannelSplitterOptions":[],"CharacterData":["CharacterData"],"CheckVisibilityOptions":[],"ChildNode":["after"],"ClassAccessorDecoratorContext":[],"ClassAccessorDecoratorResult":[],"ClassAccessorDecoratorTarget":[],"ClassDecorator":[],"ClassDecoratorContext":[],"ClassFieldDecoratorContext":[],"ClassGetterDecoratorContext":[],"ClassMemberDecoratorContext":[],"ClassMethodDecoratorContext":[],"ClassSetterDecoratorContext":[],"clearInterval":["Window/clearInterval"],"clearTimeout":["Window/clearTimeout"],"Client":["Client"],"clientInformation":[],"ClientQueryOptions":[],"ClientRect":[],"Clients":["Clients"],"ClientTypes":[],"Clipboard":["Clipboard"],"ClipboardEvent":["ClipboardEvent"],"ClipboardEventInit":[],"ClipboardItem":["ClipboardItem"],"ClipboardItemData":[],"ClipboardItemOptions":[],"ClipboardItems":[],"close":["DedicatedWorkerGlobalScope/close"],"closed":[],"CloseEvent":["CloseEvent"],"CloseEventInit":[],"CodecState":[],"ColorGamut":[],"ColorSpaceConversion":[],"CommandEvent":["CommandEvent"],"CommandEventInit":[],"Comment":["Comment"],"CompositeOperation":[],"CompositeOperationOrAuto":[],"CompositionEvent":["CompositionEvent"],"CompositionEventInit":[],"CompressionFormat":[],"CompressionStream":["CompressionStream"],"ComputedEffectTiming":[],"ComputedKeyframe":[],"ConcatArray":[],"confirm":["Window/confirm"],"console":[],"Console":["console"],"ConstantSourceNode":["ConstantSourceNode"],"ConstantSourceOptions":[],"ConstrainBoolean":[],"ConstrainBooleanOrDOMString":[],"ConstrainBooleanOrDOMStringParameters":[],"ConstrainBooleanParameters":[],"ConstrainDOMString":[],"ConstrainDOMStringParameters":[],"ConstrainDouble":[],"ConstrainDoubleRange":[],"ConstrainULong":[],"ConstrainULongRange":[],"ConstructorParameters":["https://www.typescriptlang.org/docs/handbook/utility-types.html#constructorparameterstype"],"ContentVisibilityAutoStateChangeEvent":["ContentVisibilityAutoStateChangeEvent"],"ContentVisibilityAutoStateChangeEventInit":[],"ConvolverNode":["ConvolverNode"],"ConvolverOptions":[],"CookieChangeEvent":["CookieChangeEvent"],"CookieChangeEventInit":[],"CookieInit":[],"CookieList":[],"CookieListItem":[],"CookieSameSite":[],"cookieStore":[],"CookieStore":["CookieStore"],"CookieStoreDeleteOptions":[],"CookieStoreEventMap":[],"CookieStoreGetOptions":[],"CookieStoreManager":["CookieStoreManager"],"COSEAlgorithmIdentifier":[],"CountQueuingStrategy":["CountQueuingStrategy"],"createImageBitmap":["Window/createImageBitmap"],"Credential":["Credential"],"CredentialCreationOptions":[],"CredentialMediationRequirement":[],"CredentialPropertiesOutput":[],"CredentialRequestOptions":[],"CredentialsContainer":["CredentialsContainer"],"crossOriginIsolated":[],"crypto":[],"Crypto":["Crypto"],"CryptoKey":["CryptoKey"],"CryptoKeyPair":[],"CSS":[null,{"cap":[],"ch":["CSS/factory_functions_static"],"cm":["CSS/factory_functions_static"],"cqb":["CSS/factory_functions_static"],"cqh":["CSS/factory_functions_static"],"cqi":["CSS/factory_functions_static"],"cqmax":["CSS/factory_functions_static"],"cqmin":["CSS/factory_functions_static"],"cqw":["CSS/factory_functions_static"],"deg":["CSS/factory_functions_static"],"dpcm":["CSS/factory_functions_static"],"dpi":["CSS/factory_functions_static"],"dppx":["CSS/factory_functions_static"],"dvb":["CSS/factory_functions_static"],"dvh":["CSS/factory_functions_static"],"dvi":["CSS/factory_functions_static"],"dvmax":["CSS/factory_functions_static"],"dvmin":["CSS/factory_functions_static"],"dvw":["CSS/factory_functions_static"],"em":["CSS/factory_functions_static"],"escape":["CSS/escape_static"],"ex":["CSS/factory_functions_static"],"fr":["CSS/factory_functions_static"],"grad":["CSS/factory_functions_static"],"highlights":[],"Hz":["CSS/factory_functions_static"],"ic":[],"kHz":["CSS/factory_functions_static"],"lh":[],"lvb":["CSS/factory_functions_static"],"lvh":["CSS/factory_functions_static"],"lvi":["CSS/factory_functions_static"],"lvmax":["CSS/factory_functions_static"],"lvmin":["CSS/factory_functions_static"],"lvw":["CSS/factory_functions_static"],"mm":["CSS/factory_functions_static"],"ms":["CSS/factory_functions_static"],"number":["CSS/factory_functions_static"],"pc":["CSS/factory_functions_static"],"percent":["CSS/factory_functions_static"],"pt":["CSS/factory_functions_static"],"px":["CSS/factory_functions_static"],"Q":["CSS/factory_functions_static"],"rad":["CSS/factory_functions_static"],"rcap":[],"rch":[],"registerProperty":["CSS/registerProperty_static"],"rem":["CSS/factory_functions_static"],"rex":[],"ric":[],"rlh":[],"s":["CSS/factory_functions_static"],"supports":["CSS/supports_static"],"svb":["CSS/factory_functions_static"],"svh":["CSS/factory_functions_static"],"svi":["CSS/factory_functions_static"],"svmax":["CSS/factory_functions_static"],"svmin":["CSS/factory_functions_static"],"svw":["CSS/factory_functions_static"],"turn":["CSS/factory_functions_static"],"vb":["CSS/factory_functions_static"],"vh":["CSS/factory_functions_static"],"vi":["CSS/factory_functions_static"],"vmax":["CSS/factory_functions_static"],"vmin":["CSS/factory_functions_static"],"vw":["CSS/factory_functions_static"]}],"CSSAnimation":["CSSAnimation"],"CSSConditionRule":["CSSConditionRule"],"CSSContainerRule":["CSSContainerRule"],"CSSCounterStyleRule":["CSSCounterStyleRule"],"CSSFontFaceRule":["CSSFontFaceRule"],"CSSFontFeatureValuesRule":["CSSFontFeatureValuesRule"],"CSSFontPaletteValuesRule":["CSSFontPaletteValuesRule"],"CSSGroupingRule":["CSSGroupingRule"],"CSSImageValue":["CSSImageValue"],"CSSImportRule":["CSSImportRule"],"CSSKeyframeRule":["CSSKeyframeRule"],"CSSKeyframesRule":["CSSKeyframesRule"],"CSSKeywordish":[],"CSSKeywordValue":["CSSKeywordValue"],"CSSLayerBlockRule":["CSSLayerBlockRule"],"CSSLayerStatementRule":["CSSLayerStatementRule"],"CSSMathClamp":[],"CSSMathInvert":["CSSMathInvert"],"CSSMathMax":["CSSMathMax"],"CSSMathMin":["CSSMathMin"],"CSSMathNegate":["CSSMathNegate"],"CSSMathOperator":[],"CSSMathProduct":["CSSMathProduct"],"CSSMathSum":["CSSMathSum"],"CSSMathValue":["CSSMathValue"],"CSSMatrixComponent":["CSSMatrixComponent"],"CSSMatrixComponentOptions":[],"CSSMediaRule":["CSSMediaRule"],"CSSNamespaceRule":["CSSNamespaceRule"],"CSSNestedDeclarations":["CSSNestedDeclarations"],"CSSNumberish":[],"CSSNumericArray":["CSSNumericArray"],"CSSNumericBaseType":[],"CSSNumericType":[],"CSSNumericValue":["CSSNumericValue"],"CSSPageDescriptors":["CSSPageDescriptors"],"CSSPageRule":["CSSPageRule"],"CSSPerspective":["CSSPerspective"],"CSSPerspectiveValue":[],"CSSPositionTryDescriptors":["CSSPositionTryDescriptors"],"CSSPositionTryRule":["CSSPositionTryRule"],"CSSPropertyRule":["CSSPropertyRule"],"CSSRotate":["CSSRotate"],"CSSRule":["CSSRule"],"CSSRuleList":["CSSRuleList"],"CSSScale":["CSSScale"],"CSSScopeRule":["CSSScopeRule"],"CSSSkew":["CSSSkew"],"CSSSkewX":["CSSSkewX"],"CSSSkewY":["CSSSkewY"],"CSSStartingStyleRule":["CSSStartingStyleRule"],"CSSStyleDeclaration":[],"CSSStyleDeclarationBase":["CSSStyleDeclaration"],"CSSStyleProperties":["CSSStyleProperties"],"CSSStyleRule":["CSSStyleRule"],"CSSStyleSheet":["CSSStyleSheet"],"CSSStyleSheetInit":[],"CSSStyleValue":["CSSStyleValue"],"CSSSupportsRule":["CSSSupportsRule"],"CSSTransformComponent":["CSSTransformComponent"],"CSSTransformValue":["CSSTransformValue"],"CSSTransition":["CSSTransition"],"CSSTranslate":["CSSTranslate"],"CSSUnitValue":["CSSUnitValue"],"CSSUnparsedSegment":[],"CSSUnparsedValue":["CSSUnparsedValue"],"CSSVariableReferenceValue":["CSSVariableReferenceValue"],"CSSViewTransitionRule":["CSSViewTransitionRule"],"CurrentUserDetailsOptions":[],"CustomElementConstructor":[],"CustomElementRegistry":["CustomElementRegistry"],"customElements":[],"CustomEvent":["CustomEvent"],"CustomEventInit":[],"CustomStateSet":["CustomStateSet"],"DataTransfer":["DataTransfer"],"DataTransferItem":["DataTransferItem"],"DataTransferItemList":["DataTransferItemList"],"DataView":[],"DataViewConstructor":[],"Date":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Date"],"DateConstructor":[],"DecodeErrorCallback":[],"DecodeSuccessCallback":[],"decodeURI":[],"decodeURIComponent":[],"DecompressionStream":["DecompressionStream"],"DecoratorContext":[],"DecoratorMetadata":[],"DecoratorMetadataObject":[],"DedicatedWorkerGlobalScope":["DedicatedWorkerGlobalScope"],"DedicatedWorkerGlobalScopeEventMap":[],"DelayNode":["DelayNode"],"DelayOptions":[],"DeviceMotionEvent":["DeviceMotionEvent"],"DeviceMotionEventAcceleration":["DeviceMotionEventAcceleration"],"DeviceMotionEventAccelerationInit":[],"DeviceMotionEventInit":[],"DeviceMotionEventRotationRate":["DeviceMotionEventRotationRate"],"DeviceMotionEventRotationRateInit":[],"DeviceOrientationEvent":["DeviceOrientationEvent"],"DeviceOrientationEventInit":[],"devicePixelRatio":[],"DigitalCredential":[],"DirectionSetting":[],"dispatchEvent":["EventTarget/dispatchEvent"],"DisplayCaptureSurfaceType":[],"DisplayMediaStreamOptions":[],"Disposable":[],"DisposableStack":[],"DisposableStackConstructor":[],"DistanceModelType":[],"document":[],"Document":["Document"],"DocumentEventMap":[],"DocumentFragment":["DocumentFragment"],"DocumentOrShadowRoot":["activeElement"],"DocumentReadyState":[],"DocumentTimeline":["DocumentTimeline"],"DocumentTimelineOptions":[],"DocumentType":["DocumentType"],"DocumentVisibilityState":[],"DOMException":["DOMException"],"DOMHighResTimeStamp":[],"DOMImplementation":["DOMImplementation"],"DOMMatrix":["DOMMatrix"],"DOMMatrix2DInit":[],"DOMMatrixInit":[],"DOMMatrixReadOnly":["DOMMatrixReadOnly"],"DOMParser":["DOMParser"],"DOMParserSupportedType":[],"DOMPoint":["DOMPoint"],"DOMPointInit":[],"DOMPointReadOnly":["DOMPointReadOnly"],"DOMQuad":["DOMQuad"],"DOMQuadInit":[],"DOMRect":["DOMRect"],"DOMRectInit":[],"DOMRectList":["DOMRectList"],"DOMRectReadOnly":["DOMRectReadOnly"],"DOMStringList":["DOMStringList"],"DOMStringMap":["DOMStringMap"],"DOMTokenList":["DOMTokenList"],"DoubleRange":[],"DragEvent":["DragEvent"],"DragEventInit":[],"DynamicsCompressorNode":["DynamicsCompressorNode"],"DynamicsCompressorOptions":[],"EcdhKeyDeriveParams":[],"EcdsaParams":[],"EcKeyAlgorithm":[],"EcKeyGenParams":[],"EcKeyImportParams":[],"EffectTiming":[],"Element":["Element"],"ElementContentEditable":["contentEditable"],"ElementCreationOptions":[],"ElementCSSInlineStyle":["attributeStyleMap"],"ElementDefinitionOptions":[],"ElementEventMap":[],"ElementInternals":["ElementInternals"],"ElementTagNameMap":[],"EncodedAudioChunk":["EncodedAudioChunk"],"EncodedAudioChunkInit":[],"EncodedAudioChunkMetadata":[],"EncodedAudioChunkOutputCallback":[],"EncodedAudioChunkType":[],"EncodedVideoChunk":["EncodedVideoChunk"],"EncodedVideoChunkInit":[],"EncodedVideoChunkMetadata":[],"EncodedVideoChunkOutputCallback":[],"EncodedVideoChunkType":[],"encodeURI":[],"encodeURIComponent":[],"EndingType":[],"EndOfStreamError":[],"Enumerator":[],"EnumeratorConstructor":[],"EpochTimeStamp":[],"Error":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error"],"ErrorCallback":[],"ErrorConstructor":[],"ErrorEvent":["ErrorEvent"],"ErrorEventInit":[],"ErrorOptions":[],"escape":[],"eval":[],"EvalError":[],"EvalErrorConstructor":[],"event":[],"Event":["Event"],"EventCounts":["EventCounts"],"EventInit":[],"EventListener":[],"EventListenerObject":[],"EventListenerOptions":[],"EventListenerOrEventListenerObject":[],"EventModifierInit":[],"EventSource":["EventSource"],"EventSourceEventMap":[],"EventSourceInit":[],"EventTarget":["EventTarget"],"Exclude":["https://www.typescriptlang.org/docs/handbook/utility-types.html#excludeuniontype-excludedmembers"],"EXT_blend_minmax":["EXT_blend_minmax"],"EXT_color_buffer_float":["EXT_color_buffer_float"],"EXT_color_buffer_half_float":["EXT_color_buffer_half_float"],"EXT_float_blend":["EXT_float_blend"],"EXT_frag_depth":["EXT_frag_depth"],"EXT_shader_texture_lod":["EXT_shader_texture_lod"],"EXT_sRGB":["EXT_sRGB"],"EXT_texture_compression_bptc":["EXT_texture_compression_bptc"],"EXT_texture_compression_rgtc":["EXT_texture_compression_rgtc"],"EXT_texture_filter_anisotropic":["EXT_texture_filter_anisotropic"],"EXT_texture_norm16":["EXT_texture_norm16"],"ExtendableCookieChangeEvent":["ExtendableCookieChangeEvent"],"ExtendableCookieChangeEventInit":[],"ExtendableEvent":["ExtendableEvent"],"ExtendableEventInit":[],"ExtendableMessageEvent":["ExtendableMessageEvent"],"ExtendableMessageEventInit":[],"external":[],"External":[],"Extract":["https://www.typescriptlang.org/docs/handbook/utility-types.html#extracttype-union"],"fetch":["Window/fetch"],"FetchEvent":["FetchEvent"],"FetchEventInit":[],"File":["File"],"FileCallback":[],"FileList":["FileList"],"FilePropertyBag":[],"FileReader":["FileReader"],"FileReaderEventMap":[],"FileReaderSync":["FileReaderSync"],"FileSystem":["FileSystem"],"FileSystemCreateWritableOptions":[],"FileSystemDirectoryEntry":["FileSystemDirectoryEntry"],"FileSystemDirectoryHandle":["FileSystemDirectoryHandle"],"FileSystemDirectoryHandleAsyncIterator":[],"FileSystemDirectoryReader":["FileSystemDirectoryReader"],"FileSystemEntriesCallback":[],"FileSystemEntry":["FileSystemEntry"],"FileSystemEntryCallback":[],"FileSystemFileEntry":["FileSystemFileEntry"],"FileSystemFileHandle":["FileSystemFileHandle"],"FileSystemFlags":[],"FileSystemGetDirectoryOptions":[],"FileSystemGetFileOptions":[],"FileSystemHandle":["FileSystemHandle"],"FileSystemHandleKind":[],"FileSystemReadWriteOptions":[],"FileSystemRemoveOptions":[],"FileSystemSyncAccessHandle":["FileSystemSyncAccessHandle"],"FileSystemWritableFileStream":["FileSystemWritableFileStream"],"FileSystemWriteChunkType":[],"FillLightMode":[],"FillMode":[],"FinalizationRegistry":[],"FinalizationRegistryConstructor":[],"FlatArray":[],"Float16Array":[],"Float16ArrayConstructor":[],"Float32Array":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Float32Array"],"Float32ArrayConstructor":[],"Float32List":[],"Float64Array":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Float64Array"],"Float64ArrayConstructor":[],"focus":["Window/focus"],"FocusEvent":["FocusEvent"],"FocusEventInit":[],"FocusOptions":[],"FontDisplay":[],"FontFace":["FontFace"],"FontFaceDescriptors":[],"FontFaceLoadStatus":[],"FontFaceSet":["FontFaceSet"],"FontFaceSetEventMap":[],"FontFaceSetLoadEvent":["FontFaceSetLoadEvent"],"FontFaceSetLoadEventInit":[],"FontFaceSetLoadStatus":[],"FontFaceSource":["fonts"],"fonts":[],"FormData":["FormData"],"FormDataEntryValue":[],"FormDataEvent":["FormDataEvent"],"FormDataEventInit":[],"FormDataIterator":[],"FragmentDirective":["FragmentDirective"],"frameElement":[],"FrameRequestCallback":[],"frames":[],"FrameType":[],"FullscreenNavigationUI":[],"FullscreenOptions":[],"Function":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function"],"FunctionConstructor":[],"FunctionStringCallback":[],"GainNode":["GainNode"],"GainOptions":[],"Gamepad":["Gamepad"],"GamepadButton":["GamepadButton"],"GamepadEffectParameters":[],"GamepadEvent":["GamepadEvent"],"GamepadEventInit":[],"GamepadHapticActuator":["GamepadHapticActuator"],"GamepadHapticEffectType":[],"GamepadHapticsResult":[],"GamepadMappingType":[],"Generator":[],"GeneratorFunction":[],"GeneratorFunctionConstructor":[],"GenericTransformStream":["readable"],"Geolocation":["Geolocation"],"GeolocationCoordinates":["GeolocationCoordinates"],"GeolocationPosition":["GeolocationPosition"],"GeolocationPositionError":["GeolocationPositionError"],"GetAnimationsOptions":[],"GetComposedRangesOptions":[],"getComputedStyle":["Window/getComputedStyle"],"GetHTMLOptions":[],"GetNotificationOptions":[],"GetRootNodeOptions":[],"getSelection":["Window/getSelection"],"GLbitfield":[],"GLboolean":[],"GLclampf":[],"GLenum":[],"GLfloat":[],"GLint":[],"GLint64":[],"GLintptr":[],"global":[],"GlobalCompositeOperation":[],"GlobalEventHandlers":["abort_event"],"GlobalEventHandlersEventMap":[],"GLsizei":[],"GLsizeiptr":[],"GLuint":[],"GLuint64":[],"GPU":["GPU"],"GPUAdapter":["GPUAdapter"],"GPUAdapterInfo":["GPUAdapterInfo"],"GPUAddressMode":[],"GPUAutoLayoutMode":[],"GPUBindGroup":["GPUBindGroup"],"GPUBindGroupDescriptor":[],"GPUBindGroupEntry":[],"GPUBindGroupLayout":["GPUBindGroupLayout"],"GPUBindGroupLayoutDescriptor":[],"GPUBindGroupLayoutEntry":[],"GPUBindingCommandsMixin":["setBindGroup"],"GPUBindingResource":[],"GPUBlendComponent":[],"GPUBlendFactor":[],"GPUBlendOperation":[],"GPUBlendState":[],"GPUBuffer":["GPUBuffer"],"GPUBufferBinding":[],"GPUBufferBindingLayout":[],"GPUBufferBindingType":[],"GPUBufferDescriptor":[],"GPUBufferDynamicOffset":[],"GPUBufferMapState":[],"GPUBufferUsageFlags":[],"GPUCanvasAlphaMode":[],"GPUCanvasConfiguration":[],"GPUCanvasContext":["GPUCanvasContext"],"GPUCanvasToneMapping":[],"GPUCanvasToneMappingMode":[],"GPUColor":[],"GPUColorDict":[],"GPUColorTargetState":[],"GPUColorWriteFlags":[],"GPUCommandBuffer":["GPUCommandBuffer"],"GPUCommandBufferDescriptor":[],"GPUCommandEncoder":["GPUCommandEncoder"],"GPUCommandEncoderDescriptor":[],"GPUCompareFunction":[],"GPUCompilationInfo":["GPUCompilationInfo"],"GPUCompilationMessage":["GPUCompilationMessage"],"GPUCompilationMessageType":[],"GPUComputePassDescriptor":[],"GPUComputePassEncoder":["GPUComputePassEncoder"],"GPUComputePassTimestampWrites":[],"GPUComputePipeline":["GPUComputePipeline"],"GPUComputePipelineDescriptor":[],"GPUCopyExternalImageDestInfo":[],"GPUCopyExternalImageSource":[],"GPUCopyExternalImageSourceInfo":[],"GPUCullMode":[],"GPUDebugCommandsMixin":["insertDebugMarker"],"GPUDepthBias":[],"GPUDepthStencilState":[],"GPUDevice":["GPUDevice"],"GPUDeviceDescriptor":[],"GPUDeviceEventMap":[],"GPUDeviceLostInfo":["GPUDeviceLostInfo"],"GPUDeviceLostReason":[],"GPUError":["GPUError"],"GPUErrorFilter":[],"GPUExtent3D":[],"GPUExtent3DDict":[],"GPUExternalTexture":["GPUExternalTexture"],"GPUExternalTextureBindingLayout":[],"GPUExternalTextureDescriptor":[],"GPUFeatureName":[],"GPUFilterMode":[],"GPUFlagsConstant":[],"GPUFragmentState":[],"GPUFrontFace":[],"GPUIndex32":[],"GPUIndexFormat":[],"GPUIntegerCoordinate":[],"GPUIntegerCoordinateOut":[],"GPUInternalError":["GPUInternalError"],"GPULoadOp":[],"GPUMapModeFlags":[],"GPUMipmapFilterMode":[],"GPUMultisampleState":[],"GPUObjectBase":["label"],"GPUObjectDescriptorBase":[],"GPUOrigin2D":[],"GPUOrigin2DDict":[],"GPUOrigin3D":[],"GPUOrigin3DDict":[],"GPUOutOfMemoryError":["GPUOutOfMemoryError"],"GPUPipelineBase":["getBindGroupLayout"],"GPUPipelineConstantValue":[],"GPUPipelineDescriptorBase":[],"GPUPipelineError":["GPUPipelineError"],"GPUPipelineErrorInit":[],"GPUPipelineErrorReason":[],"GPUPipelineLayout":["GPUPipelineLayout"],"GPUPipelineLayoutDescriptor":[],"GPUPowerPreference":[],"GPUPrimitiveState":[],"GPUPrimitiveTopology":[],"GPUProgrammableStage":[],"GPUQuerySet":["GPUQuerySet"],"GPUQuerySetDescriptor":[],"GPUQueryType":[],"GPUQueue":["GPUQueue"],"GPUQueueDescriptor":[],"GPURenderBundle":["GPURenderBundle"],"GPURenderBundleDescriptor":[],"GPURenderBundleEncoder":["GPURenderBundleEncoder"],"GPURenderBundleEncoderDescriptor":[],"GPURenderCommandsMixin":["draw"],"GPURenderPassColorAttachment":[],"GPURenderPassDepthStencilAttachment":[],"GPURenderPassDescriptor":[],"GPURenderPassEncoder":["GPURenderPassEncoder"],"GPURenderPassLayout":[],"GPURenderPassTimestampWrites":[],"GPURenderPipeline":["GPURenderPipeline"],"GPURenderPipelineDescriptor":[],"GPURequestAdapterOptions":[],"GPUSampleMask":[],"GPUSampler":["GPUSampler"],"GPUSamplerBindingLayout":[],"GPUSamplerBindingType":[],"GPUSamplerDescriptor":[],"GPUShaderModule":["GPUShaderModule"],"GPUShaderModuleDescriptor":[],"GPUShaderStageFlags":[],"GPUSignedOffset32":[],"GPUSize32":[],"GPUSize32Out":[],"GPUSize64":[],"GPUSize64Out":[],"GPUStencilFaceState":[],"GPUStencilOperation":[],"GPUStencilValue":[],"GPUStorageTextureAccess":[],"GPUStorageTextureBindingLayout":[],"GPUStoreOp":[],"GPUSupportedFeatures":["GPUSupportedFeatures"],"GPUSupportedLimits":["GPUSupportedLimits"],"GPUTexelCopyBufferInfo":[],"GPUTexelCopyBufferLayout":[],"GPUTexelCopyTextureInfo":[],"GPUTexture":["GPUTexture"],"GPUTextureAspect":[],"GPUTextureBindingLayout":[],"GPUTextureDescriptor":[],"GPUTextureDimension":[],"GPUTextureFormat":[],"GPUTextureSampleType":[],"GPUTextureUsageFlags":[],"GPUTextureView":["GPUTextureView"],"GPUTextureViewDescriptor":[],"GPUTextureViewDimension":[],"GPUUncapturedErrorEvent":["GPUUncapturedErrorEvent"],"GPUUncapturedErrorEventInit":[],"GPUValidationError":["GPUValidationError"],"GPUVertexAttribute":[],"GPUVertexBufferLayout":[],"GPUVertexFormat":[],"GPUVertexState":[],"GPUVertexStepMode":[],"HardwareAcceleration":[],"HashAlgorithmIdentifier":[],"HashChangeEvent":["HashChangeEvent"],"HashChangeEventInit":[],"HdrMetadataType":[],"Headers":["Headers"],"HeadersInit":[],"HeadersIterator":[],"Highlight":["Highlight"],"HighlightRegistry":["HighlightRegistry"],"HighlightType":[],"history":[],"History":["History"],"HkdfParams":[],"HmacImportParams":[],"HmacKeyAlgorithm":[],"HmacKeyGenParams":[],"HTMLAllCollection":["HTMLAllCollection"],"HTMLAnchorElement":["HTMLAnchorElement"],"HTMLAreaElement":["HTMLAreaElement"],"HTMLAudioElement":["HTMLAudioElement"],"HTMLBaseElement":["HTMLBaseElement"],"HTMLBodyElement":["HTMLBodyElement"],"HTMLBodyElementEventMap":[],"HTMLBRElement":["HTMLBRElement"],"HTMLButtonElement":["HTMLButtonElement"],"HTMLCanvasElement":["HTMLCanvasElement"],"HTMLCollection":["namedItem"],"HTMLCollectionBase":["HTMLCollection"],"HTMLCollectionOf":[],"HTMLDataElement":["HTMLDataElement"],"HTMLDataListElement":["HTMLDataListElement"],"HTMLDetailsElement":["HTMLDetailsElement"],"HTMLDialogElement":["HTMLDialogElement"],"HTMLDirectoryElement":[],"HTMLDivElement":["HTMLDivElement"],"HTMLDListElement":["HTMLDListElement"],"HTMLDocument":[],"HTMLElement":["HTMLElement"],"HTMLElementDeprecatedTagNameMap":[],"HTMLElementEventMap":[],"HTMLElementTagNameMap":[],"HTMLEmbedElement":["HTMLEmbedElement"],"HTMLFieldSetElement":["HTMLFieldSetElement"],"HTMLFontElement":["HTMLFontElement"],"HTMLFormControlsCollection":["HTMLFormControlsCollection"],"HTMLFormElement":["HTMLFormElement"],"HTMLFrameElement":[],"HTMLFrameSetElement":["HTMLFrameSetElement"],"HTMLFrameSetElementEventMap":[],"HTMLHeadElement":["HTMLHeadElement"],"HTMLHeadingElement":["HTMLHeadingElement"],"HTMLHRElement":["HTMLHRElement"],"HTMLHtmlElement":["HTMLHtmlElement"],"HTMLHyperlinkElementUtils":["hash"],"HTMLIFrameElement":["HTMLIFrameElement"],"HTMLImageElement":["HTMLImageElement"],"HTMLInputElement":["HTMLInputElement"],"HTMLLabelElement":["HTMLLabelElement"],"HTMLLegendElement":["HTMLLegendElement"],"HTMLLIElement":["HTMLLIElement"],"HTMLLinkElement":["HTMLLinkElement"],"HTMLMapElement":["HTMLMapElement"],"HTMLMarqueeElement":["HTMLMarqueeElement"],"HTMLMediaElement":["HTMLMediaElement"],"HTMLMediaElementEventMap":[],"HTMLMenuElement":["HTMLMenuElement"],"HTMLMetaElement":["HTMLMetaElement"],"HTMLMeterElement":["HTMLMeterElement"],"HTMLModElement":["HTMLModElement"],"HTMLObjectElement":["HTMLObjectElement"],"HTMLOListElement":["HTMLOListElement"],"HTMLOptGroupElement":["HTMLOptGroupElement"],"HTMLOptionElement":["HTMLOptionElement"],"HTMLOptionsCollection":["HTMLOptionsCollection"],"HTMLOrSVGElement":["autofocus"],"HTMLOrSVGImageElement":[],"HTMLOrSVGScriptElement":[],"HTMLOutputElement":["HTMLOutputElement"],"HTMLParagraphElement":["HTMLParagraphElement"],"HTMLParamElement":["HTMLParamElement"],"HTMLPictureElement":["HTMLPictureElement"],"HTMLPreElement":["HTMLPreElement"],"HTMLProgressElement":["HTMLProgressElement"],"HTMLQuoteElement":["HTMLQuoteElement"],"HTMLScriptElement":["HTMLScriptElement"],"HTMLSelectElement":["HTMLSelectElement"],"HTMLSlotElement":["HTMLSlotElement"],"HTMLSourceElement":["HTMLSourceElement"],"HTMLSpanElement":["HTMLSpanElement"],"HTMLStyleElement":["HTMLStyleElement"],"HTMLTableCaptionElement":["HTMLTableCaptionElement"],"HTMLTableCellElement":["HTMLTableCellElement"],"HTMLTableColElement":["HTMLTableColElement"],"HTMLTableDataCellElement":[],"HTMLTableElement":["HTMLTableElement"],"HTMLTableHeaderCellElement":[],"HTMLTableRowElement":["HTMLTableRowElement"],"HTMLTableSectionElement":["HTMLTableSectionElement"],"HTMLTemplateElement":["HTMLTemplateElement"],"HTMLTextAreaElement":["HTMLTextAreaElement"],"HTMLTimeElement":["HTMLTimeElement"],"HTMLTitleElement":["HTMLTitleElement"],"HTMLTrackElement":["HTMLTrackElement"],"HTMLUListElement":["HTMLUListElement"],"HTMLUnknownElement":["HTMLUnknownElement"],"HTMLVideoElement":["HTMLVideoElement"],"HTMLVideoElementEventMap":[],"IArguments":[],"IDBCursor":["IDBCursor"],"IDBCursorDirection":[],"IDBCursorWithValue":["IDBCursorWithValue"],"IDBDatabase":["IDBDatabase"],"IDBDatabaseEventMap":[],"IDBDatabaseInfo":[],"IDBFactory":["IDBFactory"],"IDBIndex":["IDBIndex"],"IDBIndexParameters":[],"IDBKeyRange":["IDBKeyRange"],"IDBObjectStore":["IDBObjectStore"],"IDBObjectStoreParameters":[],"IDBOpenDBRequest":["IDBOpenDBRequest"],"IDBOpenDBRequestEventMap":[],"IDBRequest":["IDBRequest"],"IDBRequestEventMap":[],"IDBRequestReadyState":[],"IDBTransaction":["IDBTransaction"],"IDBTransactionDurability":[],"IDBTransactionEventMap":[],"IDBTransactionMode":[],"IDBTransactionOptions":[],"IDBValidKey":[],"IDBVersionChangeEvent":["IDBVersionChangeEvent"],"IDBVersionChangeEventInit":[],"IdleDeadline":["IdleDeadline"],"IdleRequestCallback":[],"IdleRequestOptions":[],"IIRFilterNode":["IIRFilterNode"],"IIRFilterOptions":[],"Image":[],"ImageBitmap":["ImageBitmap"],"ImageBitmapOptions":[],"ImageBitmapRenderingContext":["ImageBitmapRenderingContext"],"ImageBitmapRenderingContextSettings":[],"ImageBitmapSource":[],"ImageBufferSource":[],"ImageCapture":["ImageCapture"],"ImageData":["ImageData"],"ImageDataArray":[],"ImageDataPixelFormat":[],"ImageDataSettings":[],"ImageDecodeOptions":[],"ImageDecoder":["ImageDecoder"],"ImageDecodeResult":[],"ImageDecoderInit":[],"ImageEncodeOptions":[],"ImageOrientation":[],"ImageSmoothingQuality":[],"ImageTrack":["ImageTrack"],"ImageTrackList":["ImageTrackList"],"ImportAssertions":[],"ImportAttributes":[],"ImportCallOptions":[],"ImportMeta":[],"ImportNodeOptions":[],"importScripts":["WorkerGlobalScope/importScripts"],"indexedDB":[],"Infinity":[],"innerHeight":[],"innerWidth":[],"InputDeviceInfo":["InputDeviceInfo"],"InputEvent":["InputEvent"],"InputEventInit":[],"InsertPosition":[],"InstanceType":["https://www.typescriptlang.org/docs/handbook/utility-types.html#instancetypetype"],"Int16Array":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Int16Array"],"Int16ArrayConstructor":[],"Int32Array":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Int32Array"],"Int32ArrayConstructor":[],"Int32List":[],"Int8Array":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Int8Array"],"Int8ArrayConstructor":[],"IntersectionObserver":["IntersectionObserver"],"IntersectionObserverCallback":[],"IntersectionObserverEntry":["IntersectionObserverEntry"],"IntersectionObserverInit":[],"Intl":[null,{"Collator":[],"CollatorConstructor":[],"CollatorOptions":[],"DateTimeFormat":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat"],"DateTimeFormatConstructor":[],"DateTimeFormatOptions":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormat"],"DateTimeFormatPart":[],"DateTimeFormatPartTypes":[],"DateTimeFormatPartTypesRegistry":[],"DateTimeRangeFormatPart":[],"DisplayNames":[],"DisplayNamesFallback":[],"DisplayNamesLanguageDisplay":[],"DisplayNamesOptions":[],"DisplayNamesType":[],"DurationFormat":[],"DurationFormatDisplayOption":[],"DurationFormatLocaleMatcher":[],"DurationFormatOptions":[],"DurationFormatPart":[],"DurationFormatStyle":[],"DurationFormatUnit":[],"DurationFormatUnitSingular":[],"FormattableTemporalObject":[],"getCanonicalLocales":[],"LDMLPluralRule":[],"ListFormat":[],"ListFormatLocaleMatcher":[],"ListFormatOptions":[],"ListFormatStyle":[],"ListFormatType":[],"Locale":["getCalendars"],"LocaleCollationCaseFirst":[],"LocaleHourCycleKey":[],"LocaleOptions":[],"LocalesArgument":[],"NumberFormat":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/NumberFormat"],"NumberFormatConstructor":[],"NumberFormatOptions":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat"],"NumberFormatOptionsCurrencyDisplay":[],"NumberFormatOptionsCurrencyDisplayRegistry":[],"NumberFormatOptionsSignDisplay":[],"NumberFormatOptionsSignDisplayRegistry":[],"NumberFormatOptionsStyle":[],"NumberFormatOptionsStyleRegistry":[],"NumberFormatOptionsUseGrouping":[],"NumberFormatOptionsUseGroupingRegistry":[],"NumberFormatPart":[],"NumberFormatPartTypeRegistry":[],"NumberFormatPartTypes":[],"NumberFormatRangePartTypeRegistry":[],"NumberFormatRangePartTypes":[],"NumberRangeFormatPart":[],"PluralRules":[],"PluralRulesConstructor":[],"PluralRulesOptions":[],"PluralRuleType":[],"RelativeTimeFormat":[],"RelativeTimeFormatLocaleMatcher":[],"RelativeTimeFormatNumeric":[],"RelativeTimeFormatOptions":[],"RelativeTimeFormatPart":[],"RelativeTimeFormatStyle":[],"RelativeTimeFormatUnit":[],"RelativeTimeFormatUnitSingular":[],"ResolvedCollatorOptions":[],"ResolvedDateTimeFormatOptions":[],"ResolvedDisplayNamesOptions":[],"ResolvedDurationFormatOptions":[],"ResolvedListFormatOptions":[],"ResolvedNumberFormatOptions":[],"ResolvedNumberFormatOptionsUseGrouping":[],"ResolvedPluralRulesOptions":[],"ResolvedRelativeTimeFormatOptions":[],"ResolvedSegmenterOptions":[],"SegmentData":[],"Segmenter":[],"SegmenterOptions":[],"SegmentIterator":[],"Segments":[],"StringNumericLiteral":[],"supportedValuesOf":[],"TextInfo":["https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getTextInfo#return_value"],"UnicodeBCP47LocaleIdentifier":[],"WeekInfo":["https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getWeekInfo#return_value"]}],"isFinite":[],"isNaN":[],"isSecureContext":[],"Iterable":[],"IterableIterator":[],"IterationCompositeOperation":[],"Iterator":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Iterator"],"IteratorConstructor":[],"IteratorObject":[],"IteratorObjectConstructor":[],"IteratorResult":[],"IteratorReturnResult":[],"IteratorYieldResult":[],"ITextWriter":[],"JSON":[],"JsonWebKey":[],"KeyAlgorithm":[],"KeyboardEvent":["KeyboardEvent"],"KeyboardEventInit":[],"KeyFormat":[],"Keyframe":[],"KeyframeAnimationOptions":[],"KeyframeEffect":["KeyframeEffect"],"KeyframeEffectOptions":[],"KeySystemTrackConfiguration":[],"KeyType":[],"KeyUsage":[],"KHR_parallel_shader_compile":["KHR_parallel_shader_compile"],"LargestContentfulPaint":["LargestContentfulPaint"],"LatencyMode":[],"length":[],"LineAlignSetting":[],"LineAndPositionSetting":[],"LinkStyle":["sheet"],"localStorage":[],"location":[],"Location":["Location"],"locationbar":[],"Lock":["Lock"],"LockGrantedCallback":[],"LockInfo":[],"LockManager":["LockManager"],"LockManagerSnapshot":[],"LockMode":[],"LockOptions":[],"LoginStatus":[],"Lowercase":["https://www.typescriptlang.org/docs/handbook/utility-types.html#intrinsic-string-manipulation-types"],"Map":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Map"],"MapConstructor":[],"MapIterator":[],"matchMedia":["Window/matchMedia"],"Math":[],"MathMLElement":["MathMLElement"],"MathMLElementEventMap":[],"MathMLElementTagNameMap":[],"MediaCapabilities":["MediaCapabilities"],"MediaCapabilitiesDecodingInfo":[],"MediaCapabilitiesEncodingInfo":[],"MediaCapabilitiesInfo":[],"MediaCapabilitiesKeySystemConfiguration":[],"MediaConfiguration":[],"MediaDecodingConfiguration":[],"MediaDecodingType":[],"MediaDeviceInfo":["MediaDeviceInfo"],"MediaDeviceKind":[],"MediaDevices":["MediaDevices"],"MediaDevicesEventMap":[],"MediaElementAudioSourceNode":["MediaElementAudioSourceNode"],"MediaElementAudioSourceOptions":[],"MediaEncodingConfiguration":[],"MediaEncodingType":[],"MediaEncryptedEvent":["MediaEncryptedEvent"],"MediaEncryptedEventInit":[],"MediaError":["MediaError"],"MediaImage":[],"MediaKeyMessageEvent":["MediaKeyMessageEvent"],"MediaKeyMessageEventInit":[],"MediaKeyMessageType":[],"MediaKeys":["MediaKeys"],"MediaKeySession":["MediaKeySession"],"MediaKeySessionClosedReason":[],"MediaKeySessionEventMap":[],"MediaKeySessionType":[],"MediaKeysPolicy":[],"MediaKeysRequirement":[],"MediaKeyStatus":[],"MediaKeyStatusMap":["MediaKeyStatusMap"],"MediaKeyStatusMapIterator":[],"MediaKeySystemAccess":["MediaKeySystemAccess"],"MediaKeySystemConfiguration":[],"MediaKeySystemMediaCapability":[],"MediaList":["MediaList"],"MediaMetadata":["MediaMetadata"],"MediaMetadataInit":[],"MediaPositionState":[],"MediaProvider":[],"MediaQueryList":["MediaQueryList"],"MediaQueryListEvent":["MediaQueryListEvent"],"MediaQueryListEventInit":[],"MediaQueryListEventMap":[],"MediaRecorder":["MediaRecorder"],"MediaRecorderEventMap":[],"MediaRecorderOptions":[],"MediaSession":["MediaSession"],"MediaSessionAction":[],"MediaSessionActionDetails":[],"MediaSessionActionHandler":[],"MediaSessionPlaybackState":[],"MediaSettingsRange":[],"MediaSource":["MediaSource"],"MediaSourceEventMap":[],"MediaSourceHandle":["MediaSourceHandle"],"MediaStream":["MediaStream"],"MediaStreamAudioDestinationNode":["MediaStreamAudioDestinationNode"],"MediaStreamAudioSourceNode":["MediaStreamAudioSourceNode"],"MediaStreamAudioSourceOptions":[],"MediaStreamConstraints":[],"MediaStreamEventMap":[],"MediaStreamTrack":["MediaStreamTrack"],"MediaStreamTrackEvent":["MediaStreamTrackEvent"],"MediaStreamTrackEventInit":[],"MediaStreamTrackEventMap":[],"MediaStreamTrackProcessor":["MediaStreamTrackProcessor"],"MediaStreamTrackProcessorInit":[],"MediaStreamTrackState":[],"MediaTrackCapabilities":[],"MediaTrackConstraints":[],"MediaTrackConstraintSet":[],"MediaTrackSettings":[],"MediaTrackSupportedConstraints":[],"menubar":[],"MessageChannel":["MessageChannel"],"MessageEvent":["MessageEvent"],"MessageEventInit":[],"MessageEventSource":[],"MessageEventTarget":["message_event"],"MessageEventTargetEventMap":[],"MessagePort":["MessagePort"],"MessagePortEventMap":[],"MethodDecorator":[],"MIDIAccess":["MIDIAccess"],"MIDIAccessEventMap":[],"MIDIConnectionEvent":["MIDIConnectionEvent"],"MIDIConnectionEventInit":[],"MIDIInput":["MIDIInput"],"MIDIInputEventMap":[],"MIDIInputMap":["MIDIInputMap"],"MIDIMessageEvent":["MIDIMessageEvent"],"MIDIMessageEventInit":[],"MIDIOptions":[],"MIDIOutput":["MIDIOutput"],"MIDIOutputMap":["MIDIOutputMap"],"MIDIPort":["MIDIPort"],"MIDIPortConnectionState":[],"MIDIPortDeviceState":[],"MIDIPortEventMap":[],"MIDIPortType":[],"MimeType":["MimeType"],"MimeTypeArray":["MimeTypeArray"],"MouseEvent":["MouseEvent"],"MouseEventInit":[],"moveBy":["Window/moveBy"],"moveTo":["Window/moveTo"],"MultiCacheQueryOptions":[],"MutationCallback":[],"MutationObserver":["MutationObserver"],"MutationObserverInit":[],"MutationRecord":["MutationRecord"],"MutationRecordType":[],"name":[],"NamedCurve":[],"NamedNodeMap":["NamedNodeMap"],"NaN":[],"NavigateEvent":["NavigateEvent"],"NavigateEventInit":[],"navigation":[],"Navigation":["Navigation"],"NavigationActivation":["NavigationActivation"],"NavigationCurrentEntryChangeEvent":["NavigationCurrentEntryChangeEvent"],"NavigationCurrentEntryChangeEventInit":[],"NavigationDestination":["NavigationDestination"],"NavigationEventMap":[],"NavigationFocusReset":[],"NavigationHistoryBehavior":[],"NavigationHistoryEntry":["NavigationHistoryEntry"],"NavigationHistoryEntryEventMap":[],"NavigationInterceptHandler":[],"NavigationInterceptOptions":[],"NavigationNavigateOptions":[],"NavigationOptions":[],"NavigationPrecommitController":["NavigationPrecommitController"],"NavigationPrecommitHandler":[],"NavigationPreloadManager":["NavigationPreloadManager"],"NavigationPreloadState":[],"NavigationReloadOptions":[],"NavigationResult":[],"NavigationScrollBehavior":[],"NavigationTimingType":[],"NavigationTransition":["NavigationTransition"],"NavigationType":[],"NavigationUpdateCurrentEntryOptions":[],"navigator":[],"Navigator":["Navigator"],"NavigatorAutomationInformation":["webdriver"],"NavigatorBadge":["clearAppBadge"],"NavigatorConcurrentHardware":["hardwareConcurrency"],"NavigatorContentUtils":["registerProtocolHandler"],"NavigatorCookies":["cookieEnabled"],"NavigatorGPU":["gpu"],"NavigatorID":["appCodeName"],"NavigatorLanguage":["language"],"NavigatorLocks":["locks"],"NavigatorLogin":["NavigatorLogin"],"NavigatorOnLine":["onLine"],"NavigatorPlugins":["mimeTypes"],"NavigatorStorage":["storage"],"NewableFunction":[],"Node":["Node"],"NodeFilter":[],"NodeIterator":["NodeIterator"],"NodeList":["NodeList"],"NodeListOf":[],"NoInfer":["https://www.typescriptlang.org/docs/handbook/utility-types.html#noinfertype"],"NonDocumentTypeChildNode":["nextElementSibling"],"NonElementParentNode":["getElementById"],"NonNullable":["https://www.typescriptlang.org/docs/handbook/utility-types.html#extracttype-union"],"Notification":["Notification"],"NotificationDirection":[],"NotificationEvent":["NotificationEvent"],"NotificationEventInit":[],"NotificationEventMap":[],"NotificationOptions":[],"NotificationPermission":[],"NotificationPermissionCallback":[],"Number":[],"NumberConstructor":[],"Object":[],"ObjectConstructor":[],"OES_draw_buffers_indexed":["OES_draw_buffers_indexed"],"OES_element_index_uint":["OES_element_index_uint"],"OES_fbo_render_mipmap":["OES_fbo_render_mipmap"],"OES_standard_derivatives":["OES_standard_derivatives"],"OES_texture_float":["OES_texture_float"],"OES_texture_float_linear":["OES_texture_float_linear"],"OES_texture_half_float":["OES_texture_half_float"],"OES_texture_half_float_linear":["OES_texture_half_float_linear"],"OES_vertex_array_object":["OES_vertex_array_object"],"OfflineAudioCompletionEvent":["OfflineAudioCompletionEvent"],"OfflineAudioCompletionEventInit":[],"OfflineAudioContext":["OfflineAudioContext"],"OfflineAudioContextEventMap":[],"OfflineAudioContextOptions":[],"OffscreenCanvas":["OffscreenCanvas"],"OffscreenCanvasEventMap":[],"OffscreenCanvasRenderingContext2D":["OffscreenCanvasRenderingContext2D"],"OffscreenRenderingContext":[],"OffscreenRenderingContextId":[],"Omit":["https://www.typescriptlang.org/docs/handbook/utility-types.html#omittype-keys"],"OmitThisParameter":["https://www.typescriptlang.org/docs/handbook/utility-types.html#omitthisparametertype"],"onabort":[],"onafterprint":[],"onanimationcancel":[],"onanimationend":[],"onanimationiteration":[],"onanimationstart":[],"onauxclick":[],"onbeforeinput":[],"onbeforematch":[],"onbeforeprint":[],"onbeforetoggle":[],"onbeforeunload":[],"OnBeforeUnloadEventHandler":[],"OnBeforeUnloadEventHandlerNonNull":[],"onblur":[],"oncancel":[],"oncanplay":[],"oncanplaythrough":[],"onchange":[],"onclick":[],"onclose":[],"oncommand":[],"oncontextlost":[],"oncontextmenu":[],"oncontextrestored":[],"oncopy":[],"oncuechange":[],"oncut":[],"ondblclick":[],"ondevicemotion":[],"ondeviceorientation":[],"ondeviceorientationabsolute":[],"ondrag":[],"ondragend":[],"ondragenter":[],"ondragleave":[],"ondragover":[],"ondragstart":[],"ondrop":[],"ondurationchange":[],"onemptied":[],"onended":[],"onerror":[],"OnErrorEventHandler":[],"OnErrorEventHandlerNonNull":[],"onfocus":[],"onformdata":[],"ongamepadconnected":[],"ongamepaddisconnected":[],"ongotpointercapture":[],"onhashchange":[],"oninput":[],"oninvalid":[],"onkeydown":[],"onkeypress":[],"onkeyup":[],"onlanguagechange":[],"onload":[],"onloadeddata":[],"onloadedmetadata":[],"onloadstart":[],"onlostpointercapture":[],"onmessage":[],"onmessageerror":[],"onmousedown":[],"onmouseenter":[],"onmouseleave":[],"onmousemove":[],"onmouseout":[],"onmouseover":[],"onmouseup":[],"onoffline":[],"ononline":[],"onorientationchange":[],"onpagehide":[],"onpagereveal":[],"onpageshow":[],"onpageswap":[],"onpaste":[],"onpause":[],"onplay":[],"onplaying":[],"onpointercancel":[],"onpointerdown":[],"onpointerenter":[],"onpointerleave":[],"onpointermove":[],"onpointerout":[],"onpointerover":[],"onpointerrawupdate":[],"onpointerup":[],"onpopstate":[],"onprogress":[],"onratechange":[],"onrejectionhandled":[],"onreset":[],"onresize":[],"onrtctransform":[],"onscroll":[],"onscrollend":[],"onsecuritypolicyviolation":[],"onseeked":[],"onseeking":[],"onselect":[],"onselectionchange":[],"onselectstart":[],"onslotchange":[],"onstalled":[],"onstorage":[],"onsubmit":[],"onsuspend":[],"ontimeupdate":[],"ontoggle":[],"ontouchcancel":[],"ontouchend":[],"ontouchmove":[],"ontouchstart":[],"ontransitioncancel":[],"ontransitionend":[],"ontransitionrun":[],"ontransitionstart":[],"onunhandledrejection":[],"onunload":[],"onvolumechange":[],"onwaiting":[],"onwebkitanimationend":[],"onwebkitanimationiteration":[],"onwebkitanimationstart":[],"onwebkittransitionend":[],"onwheel":[],"open":["Window/open"],"opener":[],"Option":[],"OptionalEffectTiming":[],"OptionalPostfixToken":[],"OptionalPrefixToken":[],"OpusBitstreamFormat":[],"OpusEncoderConfig":[],"orientation":[],"OrientationLockType":[],"OrientationType":[],"origin":[],"originAgentCluster":[],"OscillatorNode":["OscillatorNode"],"OscillatorOptions":[],"OscillatorType":[],"outerHeight":[],"outerWidth":[],"OverconstrainedError":["OverconstrainedError"],"OverSampleType":[],"OVR_multiview2":["OVR_multiview2"],"PageRevealEvent":["PageRevealEvent"],"PageRevealEventInit":[],"PageSwapEvent":["PageSwapEvent"],"PageSwapEventInit":[],"PageTransitionEvent":["PageTransitionEvent"],"PageTransitionEventInit":[],"pageXOffset":[],"pageYOffset":[],"PaintTimingMixin":[],"PannerNode":["PannerNode"],"PannerOptions":[],"PanningModelType":[],"ParameterDecorator":[],"Parameters":["https://www.typescriptlang.org/docs/handbook/utility-types.html#parameterstype"],"parent":[],"ParentNode":["childElementCount"],"parseFloat":[],"parseInt":[],"Partial":["https://www.typescriptlang.org/docs/handbook/utility-types.html#partialtype"],"Path2D":["Path2D"],"PayerErrors":[],"PaymentAddress":["ContactAddress"],"PaymentComplete":[],"PaymentCurrencyAmount":[],"PaymentDetailsBase":[],"PaymentDetailsInit":[],"PaymentDetailsModifier":[],"PaymentDetailsUpdate":[],"PaymentItem":[],"PaymentMethodChangeEvent":["PaymentMethodChangeEvent"],"PaymentMethodChangeEventInit":[],"PaymentMethodData":[],"PaymentOptions":[],"PaymentRequest":["PaymentRequest"],"PaymentRequestEventMap":[],"PaymentRequestUpdateEvent":["PaymentRequestUpdateEvent"],"PaymentRequestUpdateEventInit":[],"PaymentResponse":["PaymentResponse"],"PaymentResponseEventMap":[],"PaymentShippingOption":[],"PaymentShippingType":[],"PaymentValidationErrors":[],"Pbkdf2Params":[],"performance":[],"Performance":["Performance"],"PerformanceEntry":["PerformanceEntry"],"PerformanceEntryList":[],"PerformanceEventMap":[],"PerformanceEventTiming":["PerformanceEventTiming"],"PerformanceMark":["PerformanceMark"],"PerformanceMarkOptions":[],"PerformanceMeasure":["PerformanceMeasure"],"PerformanceMeasureOptions":[],"PerformanceNavigation":["PerformanceNavigation"],"PerformanceNavigationTiming":["PerformanceNavigationTiming"],"PerformanceObserver":["PerformanceObserver"],"PerformanceObserverCallback":[],"PerformanceObserverEntryList":["PerformanceObserverEntryList"],"PerformanceObserverInit":[],"PerformancePaintTiming":["PerformancePaintTiming"],"PerformanceResourceTiming":["PerformanceResourceTiming"],"PerformanceServerTiming":["PerformanceServerTiming"],"PerformanceTiming":["PerformanceTiming"],"PeriodicWave":["PeriodicWave"],"PeriodicWaveConstraints":[],"PeriodicWaveOptions":[],"PermissionDescriptor":[],"PermissionName":[],"Permissions":["Permissions"],"PermissionState":[],"PermissionStatus":["PermissionStatus"],"PermissionStatusEventMap":[],"personalbar":[],"PhotoCapabilities":[],"PhotoSettings":[],"Pick":["https://www.typescriptlang.org/docs/handbook/utility-types.html#picktype-keys"],"PictureInPictureEvent":["PictureInPictureEvent"],"PictureInPictureEventInit":[],"PictureInPictureWindow":["PictureInPictureWindow"],"PictureInPictureWindowEventMap":[],"PlaneLayout":[],"PlaybackDirection":[],"Plugin":["Plugin"],"PluginArray":["PluginArray"],"PointerEvent":["PointerEvent"],"PointerEventInit":[],"PointerLockOptions":[],"PopoverTargetAttributes":["popoverTargetAction"],"PopStateEvent":["PopStateEvent"],"PopStateEventInit":[],"PositionAlignSetting":[],"PositionCallback":[],"PositionErrorCallback":[],"PositionOptions":[],"postMessage":["DedicatedWorkerGlobalScope/postMessage"],"PredefinedColorSpace":[],"PremultiplyAlpha":[],"PresentationStyle":[],"print":["Window/print"],"ProcessingInstruction":["ProcessingInstruction"],"ProgressEvent":["ProgressEvent"],"ProgressEventInit":[],"Promise":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise"],"PromiseConstructor":[],"PromiseConstructorLike":[],"PromiseFulfilledResult":[],"PromiseLike":[],"PromiseRejectedResult":[],"PromiseRejectionEvent":["PromiseRejectionEvent"],"PromiseRejectionEventInit":[],"PromiseSettledResult":[],"PromiseWithResolvers":[],"prompt":["Window/prompt"],"PropertyDecorator":[],"PropertyDefinition":[],"PropertyDescriptor":[],"PropertyDescriptorMap":[],"PropertyIndexedKeyframes":[],"PropertyKey":[],"Proxy":[],"ProxyConstructor":[],"ProxyHandler":[],"PublicKeyCredential":["PublicKeyCredential"],"PublicKeyCredentialClientCapabilities":[],"PublicKeyCredentialCreationOptions":[],"PublicKeyCredentialCreationOptionsJSON":[],"PublicKeyCredentialDescriptor":[],"PublicKeyCredentialDescriptorJSON":[],"PublicKeyCredentialEntity":[],"PublicKeyCredentialParameters":[],"PublicKeyCredentialRequestOptions":[],"PublicKeyCredentialRequestOptionsJSON":[],"PublicKeyCredentialRpEntity":[],"PublicKeyCredentialType":[],"PublicKeyCredentialUserEntity":[],"PublicKeyCredentialUserEntityJSON":[],"PushEncryptionKeyName":[],"PushEvent":["PushEvent"],"PushEventInit":[],"PushManager":["PushManager"],"PushManagerAttribute":["pushManager"],"PushMessageData":["PushMessageData"],"PushMessageDataInit":[],"PushSubscription":["PushSubscription"],"PushSubscriptionChangeEvent":[],"PushSubscriptionChangeEventInit":[],"PushSubscriptionJSON":[],"PushSubscriptionOptions":["PushSubscriptionOptions"],"PushSubscriptionOptionsInit":[],"queueMicrotask":["Window/queueMicrotask"],"QueuingStrategy":[],"QueuingStrategyInit":[],"QueuingStrategySize":[],"RadioNodeList":["RadioNodeList"],"Range":["Range"],"RangeError":[],"RangeErrorConstructor":[],"ReadableByteStreamController":["ReadableByteStreamController"],"ReadableStream":["ReadableStream"],"ReadableStreamAsyncIterator":[],"ReadableStreamBYOBReader":["ReadableStreamBYOBReader"],"ReadableStreamBYOBReaderReadOptions":[],"ReadableStreamBYOBRequest":["ReadableStreamBYOBRequest"],"ReadableStreamController":[],"ReadableStreamDefaultController":["ReadableStreamDefaultController"],"ReadableStreamDefaultReader":["ReadableStreamDefaultReader"],"ReadableStreamGenericReader":["closed"],"ReadableStreamGetReaderOptions":[],"ReadableStreamIteratorOptions":[],"ReadableStreamReadDoneResult":[],"ReadableStreamReader":[],"ReadableStreamReaderMode":[],"ReadableStreamReadResult":[],"ReadableStreamReadValueResult":[],"ReadableStreamType":[],"ReadableWritablePair":[],"Readonly":["https://www.typescriptlang.org/docs/handbook/utility-types.html#readonlytype"],"ReadonlyArray":[],"ReadonlyMap":[],"ReadonlySet":[],"ReadonlySetLike":[],"ReadyState":[],"Record":["https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type"],"RecordingState":[],"RedEyeReduction":[],"ReferenceError":[],"ReferenceErrorConstructor":[],"ReferrerPolicy":[],"Reflect":[null,{"apply":[],"construct":[],"defineProperty":[],"deleteProperty":[],"get":[],"getOwnPropertyDescriptor":[],"getPrototypeOf":[],"has":[],"isExtensible":[],"ownKeys":[],"preventExtensions":[],"set":[],"setPrototypeOf":[]}],"RegExp":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RegExp"],"RegExpConstructor":[],"RegExpExecArray":[],"RegExpIndicesArray":[],"RegExpMatchArray":[],"RegExpStringIterator":[],"RegistrationOptions":[],"RegistrationResponseJSON":[],"releaseEvents":["Window/releaseEvents"],"RemotePlayback":["RemotePlayback"],"RemotePlaybackAvailabilityCallback":[],"RemotePlaybackEventMap":[],"RemotePlaybackState":[],"removeEventListener":[],"RenderingContext":[],"Report":[],"ReportBody":[],"reportError":["Window/reportError"],"ReportingObserver":["ReportingObserver"],"ReportingObserverCallback":[],"ReportingObserverOptions":[],"ReportList":[],"Request":["Request"],"requestAnimationFrame":["DedicatedWorkerGlobalScope/requestAnimationFrame"],"RequestCache":[],"RequestCredentials":[],"RequestDestination":[],"requestIdleCallback":["Window/requestIdleCallback"],"RequestInfo":[],"RequestInit":[],"RequestMode":[],"RequestPriority":[],"RequestRedirect":[],"Required":["https://www.typescriptlang.org/docs/handbook/utility-types.html#requiredtype"],"ResidentKeyRequirement":[],"resizeBy":["Window/resizeBy"],"ResizeObserver":["ResizeObserver"],"ResizeObserverBoxOptions":[],"ResizeObserverCallback":[],"ResizeObserverEntry":["ResizeObserverEntry"],"ResizeObserverOptions":[],"ResizeObserverSize":["ResizeObserverSize"],"ResizeQuality":[],"resizeTo":["Window/resizeTo"],"Response":["Response"],"ResponseInit":[],"ResponseType":[],"ReturnType":["https://www.typescriptlang.org/docs/handbook/utility-types.html#returntypetype"],"RsaHashedImportParams":[],"RsaHashedKeyAlgorithm":[],"RsaHashedKeyGenParams":[],"RsaKeyAlgorithm":[],"RsaKeyGenParams":[],"RsaOaepParams":[],"RsaOtherPrimesInfo":[],"RsaPssParams":[],"RTCAnswerOptions":[],"RTCBundlePolicy":[],"RTCCertificate":["RTCCertificate"],"RTCCertificateExpiration":[],"RTCConfiguration":[],"RTCDataChannel":["RTCDataChannel"],"RTCDataChannelEvent":["RTCDataChannelEvent"],"RTCDataChannelEventInit":[],"RTCDataChannelEventMap":[],"RTCDataChannelInit":[],"RTCDataChannelState":[],"RTCDegradationPreference":[],"RTCDtlsFingerprint":[],"RTCDtlsRole":[],"RTCDtlsTransport":["RTCDtlsTransport"],"RTCDtlsTransportEventMap":[],"RTCDtlsTransportState":[],"RTCDTMFSender":["RTCDTMFSender"],"RTCDTMFSenderEventMap":[],"RTCDTMFToneChangeEvent":["RTCDTMFToneChangeEvent"],"RTCDTMFToneChangeEventInit":[],"RTCEncodedAudioFrame":["RTCEncodedAudioFrame"],"RTCEncodedAudioFrameMetadata":[],"RTCEncodedFrameMetadata":[],"RTCEncodedVideoFrame":["RTCEncodedVideoFrame"],"RTCEncodedVideoFrameMetadata":[],"RTCError":["RTCError"],"RTCErrorDetailType":[],"RTCErrorEvent":["RTCErrorEvent"],"RTCErrorEventInit":[],"RTCErrorInit":[],"RTCIceCandidate":["RTCIceCandidate"],"RTCIceCandidateInit":[],"RTCIceCandidatePair":[],"RTCIceCandidatePairStats":[],"RTCIceCandidateType":[],"RTCIceComponent":[],"RTCIceConnectionState":[],"RTCIceGathererState":[],"RTCIceGatheringState":[],"RTCIceProtocol":[],"RTCIceRole":[],"RTCIceServer":[],"RTCIceTcpCandidateType":[],"RTCIceTransport":["RTCIceTransport"],"RTCIceTransportEventMap":[],"RTCIceTransportPolicy":[],"RTCIceTransportState":[],"RTCInboundRtpStreamStats":[],"RTCLocalIceCandidateInit":[],"RTCLocalSessionDescriptionInit":[],"RTCOfferAnswerOptions":[],"RTCOfferOptions":[],"RTCOutboundRtpStreamStats":[],"RTCPeerConnection":["RTCPeerConnection"],"RTCPeerConnectionErrorCallback":[],"RTCPeerConnectionEventMap":[],"RTCPeerConnectionIceErrorEvent":["RTCPeerConnectionIceErrorEvent"],"RTCPeerConnectionIceErrorEventInit":[],"RTCPeerConnectionIceEvent":["RTCPeerConnectionIceEvent"],"RTCPeerConnectionIceEventInit":[],"RTCPeerConnectionState":[],"RTCPriorityType":[],"RTCQualityLimitationReason":[],"RTCReceivedRtpStreamStats":[],"RTCRtcpMuxPolicy":[],"RTCRtcpParameters":[],"RTCRtpCapabilities":[],"RTCRtpCodec":[],"RTCRtpCodecParameters":[],"RTCRtpCodingParameters":[],"RTCRtpContributingSource":[],"RTCRtpEncodingParameters":[],"RTCRtpHeaderExtensionCapability":[],"RTCRtpHeaderExtensionParameters":[],"RTCRtpParameters":[],"RTCRtpReceiveParameters":[],"RTCRtpReceiver":["RTCRtpReceiver"],"RTCRtpReceiverTransform":[],"RTCRtpScriptTransform":["RTCRtpScriptTransform"],"RTCRtpScriptTransformer":["RTCRtpScriptTransformer"],"RTCRtpSender":["RTCRtpSender"],"RTCRtpSenderTransform":[],"RTCRtpSendParameters":[],"RTCRtpStreamStats":[],"RTCRtpSynchronizationSource":[],"RTCRtpTransceiver":["RTCRtpTransceiver"],"RTCRtpTransceiverDirection":[],"RTCRtpTransceiverInit":[],"RTCSctpTransport":["RTCSctpTransport"],"RTCSctpTransportEventMap":[],"RTCSctpTransportState":[],"RTCSdpType":[],"RTCSentRtpStreamStats":[],"RTCSessionDescription":["RTCSessionDescription"],"RTCSessionDescriptionCallback":[],"RTCSessionDescriptionInit":[],"RTCSetParameterOptions":[],"RTCSignalingState":[],"RTCStats":[],"RTCStatsIceCandidatePairState":[],"RTCStatsReport":["RTCStatsReport"],"RTCStatsType":[],"RTCTrackEvent":["RTCTrackEvent"],"RTCTrackEventInit":[],"RTCTransformEvent":["RTCTransformEvent"],"RTCTransportStats":[],"SafeArray":[],"Sanitizer":["allowAttribute"],"SanitizerAttribute":[],"SanitizerAttributeNamespace":[],"SanitizerConfig":[],"SanitizerElement":[],"SanitizerElementNamespace":[],"SanitizerElementNamespaceWithAttributes":[],"SanitizerElementWithAttributes":[],"SanitizerPresets":[],"scheduler":[],"Scheduler":["Scheduler"],"SchedulerPostTaskCallback":[],"SchedulerPostTaskOptions":[],"screen":[],"Screen":["Screen"],"screenLeft":[],"ScreenOrientation":["ScreenOrientation"],"ScreenOrientationEventMap":[],"screenTop":[],"screenX":[],"screenY":[],"ScriptProcessorNode":["ScriptProcessorNode"],"ScriptProcessorNodeEventMap":[],"scroll":["Window/scroll"],"ScrollAxis":[],"scrollbars":[],"ScrollBehavior":[],"scrollBy":["Window/scrollBy"],"ScrollIntoViewOptions":[],"ScrollLogicalPosition":[],"ScrollOptions":[],"ScrollRestoration":[],"ScrollSetting":[],"ScrollTimeline":["ScrollTimeline"],"ScrollTimelineOptions":[],"scrollTo":["Window/scrollTo"],"ScrollToOptions":[],"scrollX":[],"scrollY":[],"SecurityPolicyViolationEvent":["SecurityPolicyViolationEvent"],"SecurityPolicyViolationEventDisposition":[],"SecurityPolicyViolationEventInit":[],"Selection":["Selection"],"SelectionDirection":[],"SelectionMode":[],"self":[],"ServiceWorker":["ServiceWorker"],"ServiceWorkerContainer":["ServiceWorkerContainer"],"ServiceWorkerContainerEventMap":[],"ServiceWorkerEventMap":[],"ServiceWorkerGlobalScope":["ServiceWorkerGlobalScope"],"ServiceWorkerGlobalScopeEventMap":[],"ServiceWorkerRegistration":["ServiceWorkerRegistration"],"ServiceWorkerRegistrationEventMap":[],"ServiceWorkerState":[],"ServiceWorkerUpdateViaCache":[],"sessionStorage":[],"Set":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Set"],"SetConstructor":[],"setInterval":["Window/setInterval"],"SetIterator":[],"setTimeout":["Window/setTimeout"],"ShadowRoot":["ShadowRoot"],"ShadowRootEventMap":[],"ShadowRootInit":[],"ShadowRootMode":[],"SharedArrayBuffer":[],"SharedArrayBufferConstructor":[],"ShareData":[],"SharedWorker":["SharedWorker"],"SharedWorkerGlobalScope":["SharedWorkerGlobalScope"],"SharedWorkerGlobalScopeEventMap":[],"ShowPopoverOptions":[],"SlotAssignmentMode":[],"Slottable":["assignedSlot"],"SourceBuffer":["SourceBuffer"],"SourceBufferEventMap":[],"SourceBufferList":["SourceBufferList"],"SourceBufferListEventMap":[],"SpeechRecognitionAlternative":["SpeechRecognitionAlternative"],"SpeechRecognitionErrorCode":[],"SpeechRecognitionErrorEvent":["SpeechRecognitionErrorEvent"],"SpeechRecognitionErrorEventInit":[],"SpeechRecognitionEvent":["SpeechRecognitionEvent"],"SpeechRecognitionEventInit":[],"SpeechRecognitionResult":["SpeechRecognitionResult"],"SpeechRecognitionResultList":["SpeechRecognitionResultList"],"speechSynthesis":[],"SpeechSynthesis":["SpeechSynthesis"],"SpeechSynthesisErrorCode":[],"SpeechSynthesisErrorEvent":["SpeechSynthesisErrorEvent"],"SpeechSynthesisErrorEventInit":[],"SpeechSynthesisEvent":["SpeechSynthesisEvent"],"SpeechSynthesisEventInit":[],"SpeechSynthesisEventMap":[],"SpeechSynthesisUtterance":["SpeechSynthesisUtterance"],"SpeechSynthesisUtteranceEventMap":[],"SpeechSynthesisVoice":["SpeechSynthesisVoice"],"StartViewTransitionOptions":[],"StaticRange":["StaticRange"],"StaticRangeInit":[],"status":[],"statusbar":[],"StereoPannerNode":["StereoPannerNode"],"StereoPannerOptions":[],"stop":["Window/stop"],"Storage":["Storage"],"StorageEstimate":[],"StorageEvent":["StorageEvent"],"StorageEventInit":[],"StorageManager":["StorageManager"],"StreamPipeOptions":[],"String":[],"StringConstructor":[],"StringIterator":[],"structuredClone":["Window/structuredClone"],"StructuredSerializeOptions":[],"StylePropertyMap":["StylePropertyMap"],"StylePropertyMapReadOnly":["StylePropertyMapReadOnly"],"StylePropertyMapReadOnlyIterator":[],"StyleSheet":["StyleSheet"],"StyleSheetList":["StyleSheetList"],"SubmitEvent":["SubmitEvent"],"SubmitEventInit":[],"SubtleCrypto":["SubtleCrypto"],"SuppressedError":[],"SuppressedErrorConstructor":[],"SvcOutputMetadata":[],"SVGAElement":["SVGAElement"],"SVGAngle":["SVGAngle"],"SVGAnimatedAngle":["SVGAnimatedAngle"],"SVGAnimatedBoolean":["SVGAnimatedBoolean"],"SVGAnimatedEnumeration":["SVGAnimatedEnumeration"],"SVGAnimatedInteger":["SVGAnimatedInteger"],"SVGAnimatedLength":["SVGAnimatedLength"],"SVGAnimatedLengthList":["SVGAnimatedLengthList"],"SVGAnimatedNumber":["SVGAnimatedNumber"],"SVGAnimatedNumberList":["SVGAnimatedNumberList"],"SVGAnimatedPoints":["animatedPoints"],"SVGAnimatedPreserveAspectRatio":["SVGAnimatedPreserveAspectRatio"],"SVGAnimatedRect":["SVGAnimatedRect"],"SVGAnimatedString":["SVGAnimatedString"],"SVGAnimatedTransformList":["SVGAnimatedTransformList"],"SVGAnimateElement":["SVGAnimateElement"],"SVGAnimateMotionElement":["SVGAnimateMotionElement"],"SVGAnimateTransformElement":["SVGAnimateTransformElement"],"SVGAnimationElement":["SVGAnimationElement"],"SVGBoundingBoxOptions":[],"SVGCircleElement":["SVGCircleElement"],"SVGClipPathElement":["SVGClipPathElement"],"SVGComponentTransferFunctionElement":["SVGComponentTransferFunctionElement"],"SVGDefsElement":["SVGDefsElement"],"SVGDescElement":["SVGDescElement"],"SVGElement":["SVGElement"],"SVGElementEventMap":[],"SVGElementTagNameMap":[],"SVGEllipseElement":["SVGEllipseElement"],"SVGFEBlendElement":["SVGFEBlendElement"],"SVGFEColorMatrixElement":["SVGFEColorMatrixElement"],"SVGFEComponentTransferElement":["SVGFEComponentTransferElement"],"SVGFECompositeElement":["SVGFECompositeElement"],"SVGFEConvolveMatrixElement":["SVGFEConvolveMatrixElement"],"SVGFEDiffuseLightingElement":["SVGFEDiffuseLightingElement"],"SVGFEDisplacementMapElement":["SVGFEDisplacementMapElement"],"SVGFEDistantLightElement":["SVGFEDistantLightElement"],"SVGFEDropShadowElement":["SVGFEDropShadowElement"],"SVGFEFloodElement":["SVGFEFloodElement"],"SVGFEFuncAElement":["SVGFEFuncAElement"],"SVGFEFuncBElement":["SVGFEFuncBElement"],"SVGFEFuncGElement":["SVGFEFuncGElement"],"SVGFEFuncRElement":["SVGFEFuncRElement"],"SVGFEGaussianBlurElement":["SVGFEGaussianBlurElement"],"SVGFEImageElement":["SVGFEImageElement"],"SVGFEMergeElement":["SVGFEMergeElement"],"SVGFEMergeNodeElement":["SVGFEMergeNodeElement"],"SVGFEMorphologyElement":["SVGFEMorphologyElement"],"SVGFEOffsetElement":["SVGFEOffsetElement"],"SVGFEPointLightElement":["SVGFEPointLightElement"],"SVGFESpecularLightingElement":["SVGFESpecularLightingElement"],"SVGFESpotLightElement":["SVGFESpotLightElement"],"SVGFETileElement":["SVGFETileElement"],"SVGFETurbulenceElement":["SVGFETurbulenceElement"],"SVGFilterElement":["SVGFilterElement"],"SVGFilterPrimitiveStandardAttributes":["height"],"SVGFitToViewBox":["preserveAspectRatio"],"SVGForeignObjectElement":["SVGForeignObjectElement"],"SVGGElement":["SVGGElement"],"SVGGeometryElement":["SVGGeometryElement"],"SVGGradientElement":["SVGGradientElement"],"SVGGraphicsElement":["SVGGraphicsElement"],"SVGImageElement":["SVGImageElement"],"SVGLength":["SVGLength"],"SVGLengthList":["SVGLengthList"],"SVGLinearGradientElement":["SVGLinearGradientElement"],"SVGLineElement":["SVGLineElement"],"SVGMarkerElement":["SVGMarkerElement"],"SVGMaskElement":["SVGMaskElement"],"SVGMatrix":[],"SVGMetadataElement":["SVGMetadataElement"],"SVGMPathElement":["SVGMPathElement"],"SVGNumber":["SVGNumber"],"SVGNumberList":["SVGNumberList"],"SVGPathElement":["SVGPathElement"],"SVGPatternElement":["SVGPatternElement"],"SVGPoint":[],"SVGPointList":["SVGPointList"],"SVGPolygonElement":["SVGPolygonElement"],"SVGPolylineElement":["SVGPolylineElement"],"SVGPreserveAspectRatio":["SVGPreserveAspectRatio"],"SVGRadialGradientElement":["SVGRadialGradientElement"],"SVGRect":[],"SVGRectElement":["SVGRectElement"],"SVGScriptElement":["SVGScriptElement"],"SVGSetElement":["SVGSetElement"],"SVGStopElement":["SVGStopElement"],"SVGStringList":["SVGStringList"],"SVGStyleElement":["SVGStyleElement"],"SVGSVGElement":["SVGSVGElement"],"SVGSVGElementEventMap":[],"SVGSwitchElement":["SVGSwitchElement"],"SVGSymbolElement":["SVGSymbolElement"],"SVGTests":["requiredExtensions"],"SVGTextContentElement":["SVGTextContentElement"],"SVGTextElement":["SVGTextElement"],"SVGTextPathElement":["SVGTextPathElement"],"SVGTextPositioningElement":["SVGTextPositioningElement"],"SVGTitleElement":["SVGTitleElement"],"SVGTransform":["SVGTransform"],"SVGTransformList":["SVGTransformList"],"SVGTSpanElement":["SVGTSpanElement"],"SVGUnitTypes":["SVGUnitTypes"],"SVGURIReference":["href"],"SVGUseElement":["SVGUseElement"],"SVGViewElement":["SVGViewElement"],"Symbol":[],"SymbolConstructor":[],"SyntaxError":[],"SyntaxErrorConstructor":[],"TaskController":["TaskController"],"TaskControllerInit":[],"TaskPriority":[],"TaskPriorityChangeEvent":["TaskPriorityChangeEvent"],"TaskPriorityChangeEventInit":[],"TaskSignal":["TaskSignal"],"TaskSignalAnyInit":[],"TaskSignalEventMap":[],"TemplateStringsArray":[],"Temporal":[null,{"CalendarLike":[],"DateLikeObject":[],"DateTimeLikeObject":[],"DateUnit":[],"DisambiguationOptions":[],"Duration":[],"DurationConstructor":[],"DurationLike":[],"DurationLikeObject":[],"DurationRelativeToOptions":[],"DurationRoundingOptions":[],"DurationToStringOptions":[],"DurationTotalOptions":[],"Instant":[],"InstantConstructor":[],"InstantLike":[],"InstantToStringOptions":[],"Now":[null,{"instant":[],"plainDateISO":[],"plainDateTimeISO":[],"plainTimeISO":[],"timeZoneId":[],"zonedDateTimeISO":[]}],"OverflowOptions":[],"PartialTemporalLike":[],"PlainDate":[],"PlainDateConstructor":[],"PlainDateLike":[],"PlainDateTime":[],"PlainDateTimeConstructor":[],"PlainDateTimeLike":[],"PlainDateTimeToStringOptions":[],"PlainDateToStringOptions":[],"PlainDateToZonedDateTimeOptions":[],"PlainMonthDay":[],"PlainMonthDayConstructor":[],"PlainMonthDayLike":[],"PlainMonthDayToPlainDateOptions":[],"PlainTime":[],"PlainTimeConstructor":[],"PlainTimeLike":[],"PlainTimeToStringOptions":[],"PlainYearMonth":[],"PlainYearMonthConstructor":[],"PlainYearMonthLike":[],"PlainYearMonthToPlainDateOptions":[],"PluralizeUnit":[],"RoundingOptions":[],"RoundingOptionsWithLargestUnit":[],"TimeLikeObject":[],"TimeUnit":[],"TimeZoneLike":[],"ToStringRoundingOptions":[],"ToStringRoundingOptionsWithFractionalSeconds":[],"TransitionOptions":[],"YearMonthLikeObject":[],"ZonedDateTime":[],"ZonedDateTimeConstructor":[],"ZonedDateTimeFromOptions":[],"ZonedDateTimeLike":[],"ZonedDateTimeLikeObject":[],"ZonedDateTimeToStringOptions":[]}],"TexImageSource":[],"Text":["Text"],"TextDecodeOptions":[],"TextDecoder":["TextDecoder"],"TextDecoderCommon":["encoding"],"TextDecoderOptions":[],"TextDecoderStream":["TextDecoderStream"],"TextEncoder":["TextEncoder"],"TextEncoderCommon":["encoding"],"TextEncoderEncodeIntoResult":[],"TextEncoderStream":["TextEncoderStream"],"TextEvent":["TextEvent"],"TextMetrics":["TextMetrics"],"TextStreamBase":[],"TextStreamReader":[],"TextStreamWriter":[],"TextTrack":["TextTrack"],"TextTrackCue":["TextTrackCue"],"TextTrackCueEventMap":[],"TextTrackCueList":["TextTrackCueList"],"TextTrackEventMap":[],"TextTrackKind":[],"TextTrackList":["TextTrackList"],"TextTrackListEventMap":[],"TextTrackMode":[],"ThisParameterType":["https://www.typescriptlang.org/docs/handbook/utility-types.html#thisparametertypetype"],"ThisType":["https://www.typescriptlang.org/docs/handbook/utility-types.html#thistypetype"],"TimelineRangeOffset":[],"TimeRanges":["TimeRanges"],"TimerHandler":[],"ToggleEvent":["ToggleEvent"],"ToggleEventInit":[],"TogglePopoverOptions":[],"toolbar":[],"top":[],"Touch":["Touch"],"TouchEvent":["TouchEvent"],"TouchEventInit":[],"TouchInit":[],"TouchList":["TouchList"],"TouchType":[],"TrackEvent":["TrackEvent"],"TrackEventInit":[],"Transferable":[],"TransferFunction":[],"Transformer":[],"TransformerFlushCallback":[],"TransformerStartCallback":[],"TransformerTransformCallback":[],"TransformStream":["TransformStream"],"TransformStreamDefaultController":["TransformStreamDefaultController"],"TransitionEvent":["TransitionEvent"],"TransitionEventInit":[],"TreeWalker":["TreeWalker"],"TypedPropertyDescriptor":[],"TypeError":[],"TypeErrorConstructor":[],"UIEvent":["UIEvent"],"UIEventInit":[],"Uint16Array":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint16Array"],"Uint16ArrayConstructor":[],"Uint32Array":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint32Array"],"Uint32ArrayConstructor":[],"Uint32List":[],"Uint8Array":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array"],"Uint8ArrayConstructor":[],"Uint8ClampedArray":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8ClampedArray"],"Uint8ClampedArrayConstructor":[],"ULongRange":[],"Uncapitalize":["https://www.typescriptlang.org/docs/handbook/utility-types.html#intrinsic-string-manipulation-types"],"UnderlyingByteSource":[],"UnderlyingDefaultSource":[],"UnderlyingSink":[],"UnderlyingSinkAbortCallback":[],"UnderlyingSinkCloseCallback":[],"UnderlyingSinkStartCallback":[],"UnderlyingSinkWriteCallback":[],"UnderlyingSource":[],"UnderlyingSourceCancelCallback":[],"UnderlyingSourcePullCallback":[],"UnderlyingSourceStartCallback":[],"unescape":[],"UnknownCredentialOptions":[],"Uppercase":["https://www.typescriptlang.org/docs/handbook/utility-types.html#intrinsic-string-manipulation-types"],"URIError":[],"URIErrorConstructor":[],"URL":["URL"],"URLPattern":["URLPattern"],"URLPatternComponentResult":[],"URLPatternInit":[],"URLPatternInput":[],"URLPatternOptions":[],"URLPatternResult":[],"URLSearchParams":["URLSearchParams"],"URLSearchParamsIterator":[],"UserActivation":["UserActivation"],"UserVerificationRequirement":[],"ValidityState":["ValidityState"],"ValidityStateFlags":[],"VarDate":[],"VBArray":[],"VBArrayConstructor":[],"VibratePattern":[],"VideoColorPrimaries":[],"VideoColorSpace":["VideoColorSpace"],"VideoColorSpaceInit":[],"VideoConfiguration":[],"VideoDecoder":["VideoDecoder"],"VideoDecoderConfig":[],"VideoDecoderEventMap":[],"VideoDecoderInit":[],"VideoDecoderSupport":[],"VideoEncoder":["VideoEncoder"],"VideoEncoderBitrateMode":[],"VideoEncoderConfig":[],"VideoEncoderEncodeOptions":[],"VideoEncoderEncodeOptionsForAvc":[],"VideoEncoderEventMap":[],"VideoEncoderInit":[],"VideoEncoderSupport":[],"VideoFacingModeEnum":[],"VideoFrame":["VideoFrame"],"VideoFrameBufferInit":[],"VideoFrameCallbackMetadata":[],"VideoFrameCopyToOptions":[],"VideoFrameInit":[],"VideoFrameOutputCallback":[],"VideoFrameRequestCallback":[],"VideoMatrixCoefficients":[],"VideoPixelFormat":[],"VideoPlaybackQuality":["VideoPlaybackQuality"],"VideoTransferCharacteristics":[],"ViewTimeline":["ViewTimeline"],"ViewTimelineOptions":[],"ViewTransition":["ViewTransition"],"ViewTransitionTypeSet":["ViewTransitionTypeSet"],"ViewTransitionUpdateCallback":[],"visualViewport":[],"VisualViewport":["VisualViewport"],"VisualViewportEventMap":[],"VoidFunction":[],"VTTCue":["VTTCue"],"VTTRegion":["VTTRegion"],"WakeLock":["WakeLock"],"WakeLockSentinel":["WakeLockSentinel"],"WakeLockSentinelEventMap":[],"WakeLockType":[],"WaveShaperNode":["WaveShaperNode"],"WaveShaperOptions":[],"WeakKey":[],"WeakKeyTypes":[],"WeakMap":[],"WeakMapConstructor":[],"WeakRef":[],"WeakRefConstructor":[],"WeakSet":[],"WeakSetConstructor":[],"WebAssembly":[null,{"AddressType":[],"AddressValue":[],"compile":["https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compile_static"],"CompileError":[],"compileStreaming":["https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compileStreaming_static"],"Exception":["https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Exception"],"ExceptionOptions":[],"Exports":[],"ExportValue":[],"Global":["https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Global"],"GlobalDescriptor":[],"ImportExportKind":[],"Imports":[],"ImportValue":[],"Instance":["https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Instance"],"instantiate":["https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiate_static"],"instantiateStreaming":["https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiateStreaming_static"],"JSTag":[],"LinkError":[],"Memory":["https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Memory"],"MemoryDescriptor":[],"Module":["https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Module"],"ModuleExportDescriptor":[],"ModuleImportDescriptor":[],"ModuleImports":[],"RuntimeError":[],"Table":["https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table"],"TableDescriptor":[],"TableKind":[],"Tag":["https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Tag"],"TagType":[],"validate":["https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/validate_static"],"ValueType":[],"ValueTypeMap":[],"WebAssemblyCompileOptions":[],"WebAssemblyInstantiatedSource":[]}],"WebCodecsErrorCallback":[],"WEBGL_color_buffer_float":["WEBGL_color_buffer_float"],"WEBGL_compressed_texture_astc":["WEBGL_compressed_texture_astc"],"WEBGL_compressed_texture_etc":["WEBGL_compressed_texture_etc"],"WEBGL_compressed_texture_etc1":["WEBGL_compressed_texture_etc1"],"WEBGL_compressed_texture_pvrtc":["WEBGL_compressed_texture_pvrtc"],"WEBGL_compressed_texture_s3tc":["WEBGL_compressed_texture_s3tc"],"WEBGL_compressed_texture_s3tc_srgb":["WEBGL_compressed_texture_s3tc_srgb"],"WEBGL_debug_renderer_info":["WEBGL_debug_renderer_info"],"WEBGL_debug_shaders":["WEBGL_debug_shaders"],"WEBGL_depth_texture":["WEBGL_depth_texture"],"WEBGL_draw_buffers":["WEBGL_draw_buffers"],"WEBGL_lose_context":["WEBGL_lose_context"],"WEBGL_multi_draw":["WEBGL_multi_draw"],"WebGL2RenderingContext":["WebGL2RenderingContext"],"WebGL2RenderingContextBase":["beginQuery"],"WebGL2RenderingContextOverloads":["bufferData"],"WebGLActiveInfo":["WebGLActiveInfo"],"WebGLBuffer":["WebGLBuffer"],"WebGLContextAttributes":[],"WebGLContextEvent":["WebGLContextEvent"],"WebGLContextEventInit":[],"WebGLFramebuffer":["WebGLFramebuffer"],"WebGLPowerPreference":[],"WebGLProgram":["WebGLProgram"],"WebGLQuery":["WebGLQuery"],"WebGLRenderbuffer":["WebGLRenderbuffer"],"WebGLRenderingContext":["WebGLRenderingContext"],"WebGLRenderingContextBase":["drawingBufferColorSpace"],"WebGLRenderingContextOverloads":["bufferData"],"WebGLSampler":["WebGLSampler"],"WebGLShader":["WebGLShader"],"WebGLShaderPrecisionFormat":["WebGLShaderPrecisionFormat"],"WebGLSync":["WebGLSync"],"WebGLTexture":["WebGLTexture"],"WebGLTransformFeedback":["WebGLTransformFeedback"],"WebGLUniformLocation":["WebGLUniformLocation"],"WebGLVertexArrayObject":["WebGLVertexArrayObject"],"WebGLVertexArrayObjectOES":["WebGLVertexArrayObject"],"WebKitCSSMatrix":[],"webkitURL":[],"WebSocket":["WebSocket"],"WebSocketEventMap":[],"WebTransport":["WebTransport"],"WebTransportBidirectionalStream":["WebTransportBidirectionalStream"],"WebTransportCloseInfo":[],"WebTransportCongestionControl":[],"WebTransportDatagramDuplexStream":["WebTransportDatagramDuplexStream"],"WebTransportError":["WebTransportError"],"WebTransportErrorOptions":[],"WebTransportErrorSource":[],"WebTransportHash":[],"WebTransportOptions":[],"WebTransportSendOptions":[],"WebTransportSendStreamOptions":[],"WGSLLanguageFeatures":["WGSLLanguageFeatures"],"WheelEvent":["WheelEvent"],"WheelEventInit":[],"window":[],"Window":["Window"],"WindowClient":["WindowClient"],"WindowEventHandlers":["afterprint_event"],"WindowEventHandlersEventMap":[],"WindowEventMap":[],"WindowLocalStorage":["localStorage"],"WindowOrWorkerGlobalScope":["caches"],"WindowPostMessageOptions":[],"WindowProxy":[],"WindowSessionStorage":["sessionStorage"],"Worker":["Worker"],"WorkerEventMap":[],"WorkerGlobalScope":["WorkerGlobalScope"],"WorkerGlobalScopeEventMap":[],"WorkerLocation":["WorkerLocation"],"WorkerNavigator":["WorkerNavigator"],"WorkerOptions":[],"WorkerType":[],"Worklet":["Worklet"],"WorkletOptions":[],"WritableStream":["WritableStream"],"WritableStreamDefaultController":["WritableStreamDefaultController"],"WritableStreamDefaultWriter":["WritableStreamDefaultWriter"],"WriteCommandType":[],"WriteParams":[],"WScript":[],"WSH":[],"XMLDocument":["XMLDocument"],"XMLHttpRequest":["XMLHttpRequest"],"XMLHttpRequestBodyInit":[],"XMLHttpRequestEventMap":[],"XMLHttpRequestEventTarget":["XMLHttpRequestEventTarget"],"XMLHttpRequestEventTargetEventMap":[],"XMLHttpRequestResponseType":[],"XMLHttpRequestUpload":["XMLHttpRequestUpload"],"XMLSerializer":["XMLSerializer"],"XPathEvaluator":["XPathEvaluator"],"XPathEvaluatorBase":["createExpression"],"XPathExpression":["XPathExpression"],"XPathNSResolver":[],"XPathResult":["XPathResult"],"XSLTProcessor":["XSLTProcessor"]}'), Gn = {
|
|
1215
1214
|
globals: kn
|
|
1216
|
-
},
|
|
1215
|
+
}, ut = Object.freeze(
|
|
1217
1216
|
Object.assign(/* @__PURE__ */ Object.create(null), Gn.globals)
|
|
1218
|
-
),
|
|
1219
|
-
function
|
|
1217
|
+
), ft = "https://developer.mozilla.org/docs/Web/API/";
|
|
1218
|
+
function mi(e, t, n = "*", i) {
|
|
1220
1219
|
if (e === "@arcgis/core")
|
|
1221
1220
|
return Fn(t, n, i);
|
|
1222
1221
|
}
|
|
1223
1222
|
function Fn(e, t, n) {
|
|
1224
1223
|
if (!(e === void 0 || e === "interfaces.d.ts")) {
|
|
1225
1224
|
const i = `https://${n.config.documentation.host}${On}${Z(e)}/`;
|
|
1226
|
-
return
|
|
1225
|
+
return ki(i, t === "default" || t === "*" ? void 0 : t, void 0);
|
|
1227
1226
|
}
|
|
1228
1227
|
}
|
|
1229
|
-
const On =
|
|
1230
|
-
function
|
|
1228
|
+
const On = Zt("core");
|
|
1229
|
+
function je(e, t, n, i) {
|
|
1231
1230
|
i.implicitPublicModules ??= /* @__PURE__ */ Object.create(null);
|
|
1232
1231
|
const a = i.implicitPublicModules[e];
|
|
1233
1232
|
a === void 0 ? i.implicitPublicModules[e] = {
|
|
1234
1233
|
actualModulePath: void 0,
|
|
1235
1234
|
// moduleResolution:Node16 may use .js extension to refer to non-JS files
|
|
1235
|
+
// We strip the extension, and manually guess the extension in worker.ts
|
|
1236
1236
|
sourcePath: t.endsWith(".js") ? t.slice(0, -3) : t,
|
|
1237
1237
|
pendingNames: n === "*" ? void 0 : /* @__PURE__ */ new Set([n]),
|
|
1238
1238
|
extractedNames: /* @__PURE__ */ new Set()
|
|
1239
1239
|
} : a.pendingNames !== void 0 && n !== "*" ? a.pendingNames.add(n) : a.pendingNames = void 0;
|
|
1240
1240
|
}
|
|
1241
1241
|
function Nn(e, t) {
|
|
1242
|
-
const n =
|
|
1242
|
+
const n = tt(e);
|
|
1243
1243
|
if (t.pendingNames === void 0)
|
|
1244
1244
|
return n > 0;
|
|
1245
1245
|
if (n === 2 && t.pendingNames.has("default"))
|
|
@@ -1247,7 +1247,7 @@ function Nn(e, t) {
|
|
|
1247
1247
|
const a = (e.name ?? e.declarationList?.declarations[0].name).escapedText;
|
|
1248
1248
|
return t.pendingNames.has(a);
|
|
1249
1249
|
}
|
|
1250
|
-
function
|
|
1250
|
+
function Je(e, t, n, i, a) {
|
|
1251
1251
|
const r = n.program.getTypeChecker(), l = e.flags & o.SymbolFlags.Alias ? r.getAliasedSymbol(e) : e, s = Bn(l), c = t.escapedText, p = s ?? c, d = l?.declarations?.[0];
|
|
1252
1252
|
if (d === void 0)
|
|
1253
1253
|
return n.emitError(`Unable to resolve the declaration file name for the type ${p}`, {
|
|
@@ -1256,55 +1256,55 @@ function qe(e, t, n, i, a) {
|
|
|
1256
1256
|
}), {
|
|
1257
1257
|
name: p,
|
|
1258
1258
|
module: void 0,
|
|
1259
|
-
package:
|
|
1259
|
+
package: le,
|
|
1260
1260
|
viewUrl: void 0,
|
|
1261
1261
|
start: i,
|
|
1262
1262
|
end: a
|
|
1263
1263
|
};
|
|
1264
|
-
const m = d.getSourceFile(), { packageName:
|
|
1265
|
-
if (
|
|
1264
|
+
const m = d.getSourceFile(), { packageName: u, modulePath: f } = Un(m.fileName, n, p);
|
|
1265
|
+
if (u === "@arcgis/core" && f === "interfaces.js")
|
|
1266
1266
|
return n.moduleContext.importsMap.__esri = {
|
|
1267
1267
|
type: "*",
|
|
1268
1268
|
modulePath: void 0,
|
|
1269
|
-
|
|
1269
|
+
rawSpecifier: `${u}/${f}`,
|
|
1270
1270
|
replacementName: void 0,
|
|
1271
1271
|
actualName: void 0,
|
|
1272
1272
|
wasUsed: !0
|
|
1273
1273
|
}, {
|
|
1274
1274
|
name: "__esri",
|
|
1275
|
-
module:
|
|
1276
|
-
package:
|
|
1275
|
+
module: f,
|
|
1276
|
+
package: u,
|
|
1277
1277
|
viewUrl: void 0,
|
|
1278
1278
|
start: i,
|
|
1279
1279
|
end: a
|
|
1280
1280
|
};
|
|
1281
|
-
if (
|
|
1282
|
-
let v =
|
|
1281
|
+
if (u === "typescript" && f?.startsWith("lib/") === !0) {
|
|
1282
|
+
let v = ut[p], P, h = p;
|
|
1283
1283
|
if (v === void 0) {
|
|
1284
|
-
for (let
|
|
1285
|
-
if (o.isModuleDeclaration(
|
|
1286
|
-
P =
|
|
1284
|
+
for (let L = d.parent; L !== void 0; L = L.parent)
|
|
1285
|
+
if (o.isModuleDeclaration(L) && o.isIdentifier(L.name)) {
|
|
1286
|
+
P = L.name.escapedText, v = ut[P]?.[1]?.[p], h = `${P}.${p}`, be(t, h);
|
|
1287
1287
|
break;
|
|
1288
1288
|
}
|
|
1289
1289
|
}
|
|
1290
1290
|
return {
|
|
1291
1291
|
name: h,
|
|
1292
1292
|
module: void 0,
|
|
1293
|
-
package:
|
|
1294
|
-
viewUrl: v?.[0]?.startsWith("https") === !1 ? `${
|
|
1293
|
+
package: le,
|
|
1294
|
+
viewUrl: v?.[0]?.startsWith("https") === !1 ? `${ft}${v[0]}` : v?.[0] ?? void 0,
|
|
1295
1295
|
start: i,
|
|
1296
1296
|
end: i + h.length
|
|
1297
1297
|
};
|
|
1298
1298
|
}
|
|
1299
|
-
let
|
|
1300
|
-
if (
|
|
1299
|
+
let S = p;
|
|
1300
|
+
if (u !== void 0 && f === void 0 && s?.startsWith("HTML") === !0 && d.parent.kind === o.SyntaxKind.ModuleBlock && d.parent.parent.kind === o.SyntaxKind.ModuleDeclaration && d.parent.parent.name.escapedText === "global") {
|
|
1301
1301
|
if (s.endsWith("Element")) {
|
|
1302
1302
|
const v = o.isInterfaceDeclaration(d) ? d.heritageClauses?.[0]?.types[0]?.expression : o.isTypeAliasDeclaration(d) && o.isTypeReferenceNode(d.type) ? d.type.typeName : void 0;
|
|
1303
1303
|
if (v !== void 0 && o.isIdentifier(v)) {
|
|
1304
1304
|
const P = r.getSymbolAtLocation(v);
|
|
1305
1305
|
if (P !== void 0) {
|
|
1306
1306
|
const h = r.getAliasedSymbol(P);
|
|
1307
|
-
return
|
|
1307
|
+
return Je(
|
|
1308
1308
|
h,
|
|
1309
1309
|
t,
|
|
1310
1310
|
n,
|
|
@@ -1321,7 +1321,7 @@ function qe(e, t, n, i, a) {
|
|
|
1321
1321
|
) {
|
|
1322
1322
|
const v = r.getSymbolAtLocation(d.type.objectType.typeName);
|
|
1323
1323
|
if (v !== void 0) {
|
|
1324
|
-
const P = r.getAliasedSymbol(v), h =
|
|
1324
|
+
const P = r.getAliasedSymbol(v), h = Je(
|
|
1325
1325
|
P,
|
|
1326
1326
|
t,
|
|
1327
1327
|
n,
|
|
@@ -1332,30 +1332,30 @@ function qe(e, t, n, i, a) {
|
|
|
1332
1332
|
}
|
|
1333
1333
|
}
|
|
1334
1334
|
}
|
|
1335
|
-
if (
|
|
1336
|
-
const v = s ?? ((
|
|
1335
|
+
if (u !== void 0 || f !== void 0) {
|
|
1336
|
+
const v = s ?? ((f ?? u).split("/").pop()?.replaceAll(wn, "") || "type");
|
|
1337
1337
|
for (let P = 1; ; P += 1) {
|
|
1338
1338
|
const h = P === 1 ? v : `${v}${P}`;
|
|
1339
|
-
let
|
|
1340
|
-
if (
|
|
1339
|
+
let L = n.functionLikeTypeParameters?.has(h) === !0 || n.objectLikeTypeParameters?.has(h) === !0 || n.localDeclarations.has(h);
|
|
1340
|
+
if (L)
|
|
1341
1341
|
continue;
|
|
1342
|
-
const
|
|
1343
|
-
if (y ?
|
|
1342
|
+
const b = n.moduleContext.importsMap[h], y = b !== void 0 && (u === void 0 ? b.modulePath === f : b.rawSpecifier === u + (f === void 0 ? "" : `/${f}`));
|
|
1343
|
+
if (y ? b.wasUsed = !0 : L = n.moduleContext.importsMap[h] !== void 0, L)
|
|
1344
1344
|
continue;
|
|
1345
1345
|
const k = h !== c;
|
|
1346
1346
|
k && (be(t, h), a = i + h.length);
|
|
1347
|
-
const
|
|
1348
|
-
|
|
1349
|
-
|
|
1347
|
+
const D = Kn(l), I = D === "named";
|
|
1348
|
+
I || (S = D), u === void 0 && !n.config.strict && je(
|
|
1349
|
+
f,
|
|
1350
1350
|
m.fileName.slice(n.basePath.length),
|
|
1351
|
-
|
|
1351
|
+
S,
|
|
1352
1352
|
n
|
|
1353
1353
|
), y || (n.moduleContext.importsMap[h] = {
|
|
1354
|
-
type:
|
|
1355
|
-
modulePath:
|
|
1356
|
-
|
|
1354
|
+
type: D,
|
|
1355
|
+
modulePath: u === void 0 ? f : void 0,
|
|
1356
|
+
rawSpecifier: u === void 0 ? "" : u + (f === void 0 ? "" : `/${f}`),
|
|
1357
1357
|
replacementName: void 0,
|
|
1358
|
-
actualName:
|
|
1358
|
+
actualName: I && k ? s : void 0,
|
|
1359
1359
|
wasUsed: !0
|
|
1360
1360
|
});
|
|
1361
1361
|
break;
|
|
@@ -1383,40 +1383,40 @@ function qe(e, t, n, i, a) {
|
|
|
1383
1383
|
}
|
|
1384
1384
|
);
|
|
1385
1385
|
}
|
|
1386
|
-
const C =
|
|
1387
|
-
return
|
|
1388
|
-
name:
|
|
1389
|
-
module:
|
|
1390
|
-
package:
|
|
1391
|
-
viewUrl:
|
|
1386
|
+
const C = S === "default" || S === "*" ? void 0 : s;
|
|
1387
|
+
return u ? {
|
|
1388
|
+
name: S,
|
|
1389
|
+
module: f || void 0,
|
|
1390
|
+
package: u,
|
|
1391
|
+
viewUrl: mi(u, f ?? "", C, n),
|
|
1392
1392
|
start: i,
|
|
1393
1393
|
end: a
|
|
1394
1394
|
} : {
|
|
1395
|
-
name:
|
|
1396
|
-
module:
|
|
1395
|
+
name: S,
|
|
1396
|
+
module: f,
|
|
1397
1397
|
package: void 0,
|
|
1398
|
-
viewUrl:
|
|
1398
|
+
viewUrl: Ue(f ?? n.apiModule.path, C, void 0, n),
|
|
1399
1399
|
start: i,
|
|
1400
1400
|
end: a
|
|
1401
1401
|
};
|
|
1402
1402
|
}
|
|
1403
1403
|
const wn = /[^a-zA-Z0-9$_]/gu;
|
|
1404
1404
|
function Un(e, t, n) {
|
|
1405
|
-
const i = e.lastIndexOf(
|
|
1405
|
+
const i = e.lastIndexOf(rt);
|
|
1406
1406
|
if (i !== -1) {
|
|
1407
|
-
const s = e.slice(i +
|
|
1407
|
+
const s = e.slice(i + rt.length), c = ui(s), p = e.slice(
|
|
1408
1408
|
0,
|
|
1409
|
-
i +
|
|
1410
|
-
), d =
|
|
1411
|
-
return
|
|
1409
|
+
i + rt.length + c.packageName.length
|
|
1410
|
+
), d = ct(p);
|
|
1411
|
+
return Wt(c), c.modulePath = _t(c.modulePath, d, t, n), c;
|
|
1412
1412
|
}
|
|
1413
1413
|
const r = e.indexOf(Vn);
|
|
1414
1414
|
if (r !== -1) {
|
|
1415
|
-
const s = e.slice(0, r), c =
|
|
1416
|
-
return
|
|
1415
|
+
const s = e.slice(0, r), c = ct(s), p = c.name, d = e.slice(r + 1), m = _t(d, c, t, n), u = { packageName: p, modulePath: m };
|
|
1416
|
+
return Wt(u), u;
|
|
1417
1417
|
}
|
|
1418
1418
|
if (e.startsWith(t.basePath)) {
|
|
1419
|
-
const s = e.slice(t.basePath.length), c =
|
|
1419
|
+
const s = e.slice(t.basePath.length), c = Ve(Z(s), t);
|
|
1420
1420
|
return c === t.apiModule.path ? {
|
|
1421
1421
|
packageName: void 0,
|
|
1422
1422
|
modulePath: void 0
|
|
@@ -1432,29 +1432,29 @@ function Un(e, t, n) {
|
|
|
1432
1432
|
node: void 0
|
|
1433
1433
|
}
|
|
1434
1434
|
), {
|
|
1435
|
-
packageName:
|
|
1435
|
+
packageName: le,
|
|
1436
1436
|
modulePath: void 0
|
|
1437
1437
|
};
|
|
1438
1438
|
}
|
|
1439
|
-
const
|
|
1440
|
-
function
|
|
1441
|
-
const t =
|
|
1439
|
+
const rt = "/node_modules/", Vn = "/dist/";
|
|
1440
|
+
function ui(e) {
|
|
1441
|
+
const t = dt(e), n = e.length === t.length ? void 0 : e.slice(t.length + 1);
|
|
1442
1442
|
return { packageName: t, modulePath: n };
|
|
1443
1443
|
}
|
|
1444
|
-
function
|
|
1444
|
+
function Wt(e) {
|
|
1445
1445
|
e.packageName?.startsWith("@types/") === !0 && (e.packageName = e.packageName.slice(7));
|
|
1446
1446
|
}
|
|
1447
|
-
function
|
|
1447
|
+
function _t(e, t, n, i) {
|
|
1448
1448
|
const a = Z(e);
|
|
1449
1449
|
if (t.exports === void 0)
|
|
1450
1450
|
return `${a}.js`;
|
|
1451
1451
|
const r = `./${a}`, l = "@arcgis/lumina" in (t.dependencies ?? {}) && r.endsWith("/customElement") ? `${r.slice(0, -13)}index` : r;
|
|
1452
|
-
let s =
|
|
1452
|
+
let s = yt(t.exports, ".", l);
|
|
1453
1453
|
if (s === void 0 && (s = Wn[t.name]?.(a)), s !== void 0)
|
|
1454
1454
|
return s === "." ? void 0 : s.slice(2);
|
|
1455
1455
|
const c = n.moduleContext.importsMap[i];
|
|
1456
1456
|
if (c !== void 0 && c.modulePath === void 0) {
|
|
1457
|
-
const p =
|
|
1457
|
+
const p = ui(c.rawSpecifier);
|
|
1458
1458
|
if (p.packageName === t.name)
|
|
1459
1459
|
return p.modulePath;
|
|
1460
1460
|
}
|
|
@@ -1469,18 +1469,18 @@ const Wn = {
|
|
|
1469
1469
|
return e.startsWith("dist/globalTypes/") || e.startsWith("dist/typings/") ? "./globalTypes" : e.startsWith("dist/controllers/accessor/") ? "./controllers/accessor" : e.startsWith("dist/controllers/") ? "./controllers" : e.startsWith("dist/jsx/") || !e.slice(5).includes("/") ? "." : void 0;
|
|
1470
1470
|
}
|
|
1471
1471
|
};
|
|
1472
|
-
function
|
|
1472
|
+
function yt(e, t, n) {
|
|
1473
1473
|
if (typeof e == "string")
|
|
1474
1474
|
return _n(t, e, n);
|
|
1475
1475
|
if (Array.isArray(e))
|
|
1476
1476
|
for (let i = 0; i < e.length; ++i) {
|
|
1477
|
-
const a =
|
|
1477
|
+
const a = yt(e[i], t, n);
|
|
1478
1478
|
if (a !== void 0)
|
|
1479
1479
|
return a;
|
|
1480
1480
|
}
|
|
1481
1481
|
if (typeof e == "object" && e !== null)
|
|
1482
1482
|
for (const [i, a] of Object.entries(e)) {
|
|
1483
|
-
const l = i.startsWith(".") ? i : t, s =
|
|
1483
|
+
const l = i.startsWith(".") ? i : t, s = yt(a, l, n);
|
|
1484
1484
|
if (s !== void 0)
|
|
1485
1485
|
return s;
|
|
1486
1486
|
}
|
|
@@ -1497,8 +1497,8 @@ function _n(e, t, n) {
|
|
|
1497
1497
|
return;
|
|
1498
1498
|
const l = i.slice(a + 1), s = n.slice(r.length), c = t.slice(i.length);
|
|
1499
1499
|
if (l === "") {
|
|
1500
|
-
const m = Z(e),
|
|
1501
|
-
return m.slice(0, -1) + s +
|
|
1500
|
+
const m = Z(e), u = e.slice(m.length), f = m === e && c === "" ? ".js" : u;
|
|
1501
|
+
return m.slice(0, -1) + s + f;
|
|
1502
1502
|
}
|
|
1503
1503
|
if (!s.endsWith(l))
|
|
1504
1504
|
return;
|
|
@@ -1530,14 +1530,14 @@ function Hn(e) {
|
|
|
1530
1530
|
}
|
|
1531
1531
|
return !1;
|
|
1532
1532
|
}
|
|
1533
|
-
function
|
|
1533
|
+
function Et(e, t, n, i) {
|
|
1534
1534
|
const a = { file: n, node: e };
|
|
1535
1535
|
return e.getText(n).includes("* @public") && i.emitError(
|
|
1536
1536
|
"@public is not permitted in nested types. See options in documentation: https://webgis.esri.com/references/api-extractor/advanced-patterns#describing-nested-object-types and https://webgis.esri.com/references/api-extractor/api-node-kinds#variables",
|
|
1537
1537
|
a
|
|
1538
|
-
),
|
|
1538
|
+
), _(e, t, a, i);
|
|
1539
1539
|
}
|
|
1540
|
-
const
|
|
1540
|
+
const O = {
|
|
1541
1541
|
false: 0,
|
|
1542
1542
|
/**
|
|
1543
1543
|
* True for literal types. False for object types
|
|
@@ -1545,34 +1545,34 @@ const w = {
|
|
|
1545
1545
|
shallow: 2,
|
|
1546
1546
|
true: 1
|
|
1547
1547
|
};
|
|
1548
|
-
function
|
|
1548
|
+
function _(e, t, n, i) {
|
|
1549
1549
|
if (e.kind === o.SyntaxKind.TrueKeyword || e.kind === o.SyntaxKind.FalseKeyword)
|
|
1550
|
-
return t ===
|
|
1550
|
+
return t === O.false ? o.factory.createKeywordTypeNode(o.SyntaxKind.BooleanKeyword) : o.factory.createLiteralTypeNode(e);
|
|
1551
1551
|
if (e.kind === o.SyntaxKind.NullKeyword)
|
|
1552
1552
|
return o.factory.createLiteralTypeNode(e);
|
|
1553
1553
|
if (e.kind === o.SyntaxKind.UndefinedKeyword || o.isVoidExpression(e))
|
|
1554
1554
|
return o.factory.createKeywordTypeNode(o.SyntaxKind.UndefinedKeyword);
|
|
1555
1555
|
if (o.isStringLiteral(e) || o.isNoSubstitutionTemplateLiteral(e))
|
|
1556
|
-
return t ===
|
|
1556
|
+
return t === O.false ? o.factory.createKeywordTypeNode(o.SyntaxKind.StringKeyword) : o.factory.createLiteralTypeNode(e);
|
|
1557
1557
|
if (o.isTemplateExpression(e))
|
|
1558
|
-
return
|
|
1558
|
+
return ge(n, t, i) ?? o.factory.createKeywordTypeNode(o.SyntaxKind.StringKeyword);
|
|
1559
1559
|
if (o.isNumericLiteral(e))
|
|
1560
|
-
return t ===
|
|
1560
|
+
return t === O.false ? o.factory.createKeywordTypeNode(o.SyntaxKind.NumberKeyword) : o.factory.createLiteralTypeNode(e);
|
|
1561
1561
|
if (o.isBigIntLiteral(e))
|
|
1562
|
-
return t ===
|
|
1562
|
+
return t === O.false ? o.factory.createKeywordTypeNode(o.SyntaxKind.BigIntKeyword) : o.factory.createLiteralTypeNode(e);
|
|
1563
1563
|
if (o.isAsExpression(e) || o.isTypeAssertionExpression(e))
|
|
1564
|
-
return o.isTypeReferenceNode(e.type) && o.isIdentifier(e.type.typeName) && e.type.typeName.escapedText === "const" ?
|
|
1564
|
+
return o.isTypeReferenceNode(e.type) && o.isIdentifier(e.type.typeName) && e.type.typeName.escapedText === "const" ? _(e.expression, O.true, n, i) : e.type;
|
|
1565
1565
|
if (o.isSatisfiesExpression(e))
|
|
1566
|
-
return t ===
|
|
1566
|
+
return t === O.false ? e.type : _(e.expression, t, n, i);
|
|
1567
1567
|
if (o.isRegularExpressionLiteral(e))
|
|
1568
1568
|
return o.factory.createTypeReferenceNode(o.factory.createIdentifier("RegExp"));
|
|
1569
1569
|
if (o.isArrayLiteralExpression(e)) {
|
|
1570
1570
|
if (i.isInLuminaMinimalExtraction)
|
|
1571
|
-
return
|
|
1572
|
-
const a = t ===
|
|
1571
|
+
return we;
|
|
1572
|
+
const a = t === O.shallow ? O.false : t, r = new Array(e.elements.length);
|
|
1573
1573
|
for (let l = 0; l < r.length; ++l) {
|
|
1574
1574
|
const s = e.elements[l];
|
|
1575
|
-
r[l] =
|
|
1575
|
+
r[l] = _(s, a, { ...n, node: s }, i);
|
|
1576
1576
|
}
|
|
1577
1577
|
return a ? o.factory.createTypeOperatorNode(o.SyntaxKind.ReadonlyKeyword, o.factory.createTupleTypeNode(r)) : o.factory.createArrayTypeNode(
|
|
1578
1578
|
r.length === 1 ? r[0] : o.factory.createUnionTypeNode(r)
|
|
@@ -1580,8 +1580,8 @@ function H(e, t, n, i) {
|
|
|
1580
1580
|
}
|
|
1581
1581
|
if (o.isObjectLiteralExpression(e)) {
|
|
1582
1582
|
if (i.isInLuminaMinimalExtraction)
|
|
1583
|
-
return
|
|
1584
|
-
const a = t ===
|
|
1583
|
+
return we;
|
|
1584
|
+
const a = t === O.shallow ? O.false : t, r = new Array(e.properties.length);
|
|
1585
1585
|
for (let l = 0; l < r.length; ++l) {
|
|
1586
1586
|
const s = e.properties[l];
|
|
1587
1587
|
r[l] = $n(s, a, { ...n, node: s }, i);
|
|
@@ -1591,26 +1591,26 @@ function H(e, t, n, i) {
|
|
|
1591
1591
|
if (o.isPrefixUnaryExpression(e)) {
|
|
1592
1592
|
if (e.operator !== o.SyntaxKind.MinusToken)
|
|
1593
1593
|
return Pe(n, Q, t, i);
|
|
1594
|
-
if (t ===
|
|
1594
|
+
if (t === O.false)
|
|
1595
1595
|
return o.factory.createKeywordTypeNode(o.SyntaxKind.NumberKeyword);
|
|
1596
1596
|
{
|
|
1597
|
-
const a =
|
|
1597
|
+
const a = _(e.operand, t, n, i);
|
|
1598
1598
|
return o.isLiteralTypeNode(a) ? o.factory.createLiteralTypeNode(
|
|
1599
1599
|
o.factory.createPrefixUnaryExpression(o.SyntaxKind.MinusToken, a.literal)
|
|
1600
1600
|
) : Pe(n, Q, t, i);
|
|
1601
1601
|
}
|
|
1602
1602
|
}
|
|
1603
1603
|
if (o.isParenthesizedExpression(e))
|
|
1604
|
-
return
|
|
1604
|
+
return _(e.expression, t, n, i);
|
|
1605
1605
|
if (o.isNewExpression(e)) {
|
|
1606
1606
|
if (i.isInLuminaMinimalExtraction)
|
|
1607
|
-
return
|
|
1607
|
+
return we;
|
|
1608
1608
|
if (o.isIdentifier(e.expression)) {
|
|
1609
1609
|
const r = e.expression.escapedText;
|
|
1610
1610
|
let l = e.typeArguments, s = !1;
|
|
1611
1611
|
if ((r === "Set" || r === "WeakSet") && l === void 0)
|
|
1612
1612
|
if (e.arguments?.[0] !== void 0) {
|
|
1613
|
-
const c =
|
|
1613
|
+
const c = _(
|
|
1614
1614
|
e.arguments[0],
|
|
1615
1615
|
t,
|
|
1616
1616
|
{ ...n, node: e.arguments[0] },
|
|
@@ -1624,23 +1624,23 @@ function H(e, t, n, i) {
|
|
|
1624
1624
|
if (!s)
|
|
1625
1625
|
return o.factory.createTypeReferenceNode(e.expression, l);
|
|
1626
1626
|
}
|
|
1627
|
-
const a =
|
|
1627
|
+
const a = _(e.expression, t, n, i);
|
|
1628
1628
|
if (o.isTypeReferenceNode(a))
|
|
1629
1629
|
return a;
|
|
1630
1630
|
}
|
|
1631
1631
|
if (o.isConditionalExpression(e))
|
|
1632
1632
|
return o.factory.createUnionTypeNode([
|
|
1633
|
-
|
|
1634
|
-
|
|
1633
|
+
_(e.whenTrue, t, { ...n, node: e.whenTrue }, i),
|
|
1634
|
+
_(e.whenFalse, t, { ...n, node: e.whenFalse }, i)
|
|
1635
1635
|
]);
|
|
1636
1636
|
if (o.isIdentifier(e))
|
|
1637
|
-
return
|
|
1637
|
+
return ge(n, t, i) ?? o.factory.createTypeQueryNode(e);
|
|
1638
1638
|
if (o.isPropertyAccessExpression(e) && o.isIdentifier(e.name)) {
|
|
1639
|
-
const a =
|
|
1639
|
+
const a = ge(n, t, i);
|
|
1640
1640
|
if (a !== void 0)
|
|
1641
1641
|
return a;
|
|
1642
|
-
const r =
|
|
1643
|
-
return o.isTypeQueryNode(r) ? o.factory.createTypeQueryNode(o.factory.createQualifiedName(r.exprName, e.name)) : r ===
|
|
1642
|
+
const r = _(e.expression, t, n, i);
|
|
1643
|
+
return o.isTypeQueryNode(r) ? o.factory.createTypeQueryNode(o.factory.createQualifiedName(r.exprName, e.name)) : r === vt ? vt : Pe(n, Q, t, i);
|
|
1644
1644
|
}
|
|
1645
1645
|
if (o.isCallExpression(e)) {
|
|
1646
1646
|
const a = e.expression, r = e.arguments.at(0);
|
|
@@ -1648,38 +1648,38 @@ function H(e, t, n, i) {
|
|
|
1648
1648
|
return o.factory.createTypeReferenceNode(a.expression, [
|
|
1649
1649
|
o.factory.createTypeReferenceNode(r)
|
|
1650
1650
|
]);
|
|
1651
|
-
const l =
|
|
1651
|
+
const l = ge(n, t, i);
|
|
1652
1652
|
if (l !== void 0)
|
|
1653
1653
|
return l;
|
|
1654
|
-
const s =
|
|
1654
|
+
const s = _(a, t, n, i);
|
|
1655
1655
|
return o.isTypeQueryNode(s) ? o.factory.createTypeReferenceNode(o.factory.createIdentifier("ReturnType"), [
|
|
1656
1656
|
o.factory.createTypeQueryNode(s.exprName, e.typeArguments)
|
|
1657
1657
|
]) : Pe(n, Q, t, i);
|
|
1658
1658
|
}
|
|
1659
1659
|
if (o.isArrowFunction(e)) {
|
|
1660
1660
|
if (i.isInLuminaMinimalExtraction)
|
|
1661
|
-
return
|
|
1662
|
-
const a = t ===
|
|
1661
|
+
return we;
|
|
1662
|
+
const a = t === O.shallow ? O.false : t;
|
|
1663
1663
|
return o.factory.createFunctionTypeNode(
|
|
1664
1664
|
e.typeParameters,
|
|
1665
1665
|
St(e.parameters, a, n, i),
|
|
1666
|
-
e.type ?? (o.isBlock(e.body) ?
|
|
1666
|
+
e.type ?? (o.isBlock(e.body) ? qe(e, i) ?? X(n, Q, i) : _(e.body, a, n, i))
|
|
1667
1667
|
);
|
|
1668
1668
|
}
|
|
1669
1669
|
return Pe(n, Q, t, i);
|
|
1670
1670
|
}
|
|
1671
1671
|
function $n(e, t, n, i) {
|
|
1672
|
-
const a = t ===
|
|
1672
|
+
const a = t === O.false ? void 0 : Xn;
|
|
1673
1673
|
return o.isPropertyAssignment(e) ? o.factory.createPropertySignature(
|
|
1674
1674
|
a,
|
|
1675
1675
|
e.name,
|
|
1676
1676
|
void 0,
|
|
1677
|
-
|
|
1677
|
+
_(e.initializer, t, { ...n, node: e.initializer }, i)
|
|
1678
1678
|
) : o.isShorthandPropertyAssignment(e) ? o.factory.createPropertySignature(
|
|
1679
1679
|
a,
|
|
1680
1680
|
e.name,
|
|
1681
1681
|
void 0,
|
|
1682
|
-
|
|
1682
|
+
ge(n, t, i) ?? o.factory.createTypeQueryNode(o.factory.createIdentifier(e.name.escapedText))
|
|
1683
1683
|
) : o.isSpreadAssignment(e) ? o.factory.createPropertySignature(
|
|
1684
1684
|
a,
|
|
1685
1685
|
"_spread",
|
|
@@ -1692,14 +1692,14 @@ function $n(e, t, n, i) {
|
|
|
1692
1692
|
o.factory.createFunctionTypeNode(
|
|
1693
1693
|
e.typeParameters,
|
|
1694
1694
|
St(e.parameters, t, n, i),
|
|
1695
|
-
e.type ??
|
|
1695
|
+
e.type ?? qe(e, i) ?? X(n, Q, i)
|
|
1696
1696
|
)
|
|
1697
1697
|
) : o.isGetAccessorDeclaration(e) ? o.factory.createGetAccessorDeclaration(
|
|
1698
1698
|
void 0,
|
|
1699
1699
|
e.name,
|
|
1700
1700
|
// Should always be empty
|
|
1701
1701
|
e.parameters,
|
|
1702
|
-
e.type ??
|
|
1702
|
+
e.type ?? qe(e, i) ?? X(n, Q, i),
|
|
1703
1703
|
void 0
|
|
1704
1704
|
) : o.factory.createSetAccessorDeclaration(
|
|
1705
1705
|
void 0,
|
|
@@ -1709,32 +1709,32 @@ function $n(e, t, n, i) {
|
|
|
1709
1709
|
);
|
|
1710
1710
|
}
|
|
1711
1711
|
function Pe(e, t, n, i) {
|
|
1712
|
-
return
|
|
1712
|
+
return ge(e, n, i) ?? X(e, t, i);
|
|
1713
1713
|
}
|
|
1714
|
-
function
|
|
1714
|
+
function ge(e, t, n) {
|
|
1715
1715
|
const i = n.program?.getTypeChecker?.();
|
|
1716
1716
|
if (i !== void 0 && e.node !== void 0) {
|
|
1717
1717
|
let a;
|
|
1718
|
-
const r = t ===
|
|
1718
|
+
const r = t === O.false;
|
|
1719
1719
|
if (r && e.node.kind === o.SyntaxKind.Identifier) {
|
|
1720
1720
|
const s = i.getSymbolAtLocation(e.node);
|
|
1721
1721
|
a = s === void 0 ? void 0 : i.getTypeOfSymbol(s);
|
|
1722
1722
|
}
|
|
1723
1723
|
a ??= i.getTypeAtLocation(e.node);
|
|
1724
|
-
const l = r ?
|
|
1725
|
-
return
|
|
1724
|
+
const l = r ? tn(i, a) : a;
|
|
1725
|
+
return it(i, l);
|
|
1726
1726
|
}
|
|
1727
1727
|
}
|
|
1728
|
-
function
|
|
1729
|
-
const n = t.flags & o.TypeFlags.Union ? t.types.every(
|
|
1728
|
+
function it(e, t) {
|
|
1729
|
+
const n = t.flags & o.TypeFlags.Union ? t.types.every(Bt) : Bt(t);
|
|
1730
1730
|
return e.typeToTypeNode(
|
|
1731
1731
|
t,
|
|
1732
1732
|
void 0,
|
|
1733
1733
|
Jn & (n ? ~o.TypeFormatFlags.MultilineObjectLiterals : -1)
|
|
1734
1734
|
);
|
|
1735
1735
|
}
|
|
1736
|
-
const zn = o.TypeFormatFlags.NoTruncation | o.TypeFormatFlags.WriteArrayAsGenericType | o.TypeFormatFlags.SuppressAnyReturnType | o.TypeFormatFlags.MultilineObjectLiterals, jn = zn & o.TypeFormatFlags.NodeBuilderFlagsMask, Jn = jn | o.NodeBuilderFlags.IgnoreErrors | o.NodeBuilderFlags.NoTruncation,
|
|
1737
|
-
function
|
|
1736
|
+
const zn = o.TypeFormatFlags.NoTruncation | o.TypeFormatFlags.WriteArrayAsGenericType | o.TypeFormatFlags.SuppressAnyReturnType | o.TypeFormatFlags.MultilineObjectLiterals, jn = zn & o.TypeFormatFlags.NodeBuilderFlagsMask, Jn = jn | o.NodeBuilderFlags.IgnoreErrors | o.NodeBuilderFlags.NoTruncation, Bt = (e) => e.flags & o.TypeFlags.Object ? e.getProperties().length === 1 : !!(e.flags & o.TypeFlags.PossiblyFalsy);
|
|
1737
|
+
function qe(e, t) {
|
|
1738
1738
|
const n = t.program?.getTypeChecker?.();
|
|
1739
1739
|
if (n === void 0)
|
|
1740
1740
|
return;
|
|
@@ -1742,19 +1742,19 @@ function Qe(e, t) {
|
|
|
1742
1742
|
if (i === void 0)
|
|
1743
1743
|
return;
|
|
1744
1744
|
const a = n.getReturnTypeOfSignature(i);
|
|
1745
|
-
return
|
|
1745
|
+
return it(n, a);
|
|
1746
1746
|
}
|
|
1747
1747
|
function qn(e, t) {
|
|
1748
1748
|
const n = t.program?.getTypeChecker?.();
|
|
1749
1749
|
if (n === void 0)
|
|
1750
1750
|
return;
|
|
1751
1751
|
const i = n.getTypeAtLocation(e);
|
|
1752
|
-
return
|
|
1752
|
+
return it(n, i);
|
|
1753
1753
|
}
|
|
1754
1754
|
function X(e, t, n) {
|
|
1755
|
-
return n.isInLuminaMinimalExtraction || n.emitError(t, e),
|
|
1755
|
+
return n.isInLuminaMinimalExtraction || n.emitError(t, e), vt;
|
|
1756
1756
|
}
|
|
1757
|
-
const Q = "Failed to infer the type of the expression. Please provide an explicit type annotation or simplify the expression.",
|
|
1757
|
+
const Q = "Failed to infer the type of the expression. Please provide an explicit type annotation or simplify the expression.", vt = o.factory.createKeywordTypeNode(o.SyntaxKind.AnyKeyword), we = o.factory.createKeywordTypeNode(o.SyntaxKind.UnknownKeyword), We = o.factory.createKeywordTypeNode(o.SyntaxKind.VoidKeyword), Qn = o.factory.createToken(o.SyntaxKind.ReadonlyKeyword), Xn = [Qn];
|
|
1758
1758
|
function St(e, t, n, i) {
|
|
1759
1759
|
const a = new Array(e.length);
|
|
1760
1760
|
for (let r = 0; r < a.length; ++r) {
|
|
@@ -1764,7 +1764,7 @@ function St(e, t, n, i) {
|
|
|
1764
1764
|
l.dotDotDotToken,
|
|
1765
1765
|
o.isIdentifier(l.name) ? l.name : o.factory.createIdentifier(`parameter${r}`),
|
|
1766
1766
|
l.questionToken,
|
|
1767
|
-
l.type ?? (l.initializer === void 0 ? X({ ...n, node: l }, Q, i) :
|
|
1767
|
+
l.type ?? (l.initializer === void 0 ? X({ ...n, node: l }, Q, i) : _(
|
|
1768
1768
|
l.initializer,
|
|
1769
1769
|
t,
|
|
1770
1770
|
{
|
|
@@ -1782,10 +1782,10 @@ function Yn(e, t) {
|
|
|
1782
1782
|
if (n === void 0 || !Zn(e.exprName, t))
|
|
1783
1783
|
return;
|
|
1784
1784
|
const i = n.getTypeAtLocation(e.exprName);
|
|
1785
|
-
return
|
|
1785
|
+
return it(n, i);
|
|
1786
1786
|
}
|
|
1787
1787
|
function Zn(e, t) {
|
|
1788
|
-
return e.kind === o.SyntaxKind.QualifiedName ? eo(e.left) : t.moduleContext.importsMap[e.escapedText]?.
|
|
1788
|
+
return e.kind === o.SyntaxKind.QualifiedName ? eo(e.left) : t.moduleContext.importsMap[e.escapedText]?.rawSpecifier.endsWith(".json") === !0;
|
|
1789
1789
|
}
|
|
1790
1790
|
function eo(e) {
|
|
1791
1791
|
for (; e !== void 0; )
|
|
@@ -1795,65 +1795,67 @@ function eo(e) {
|
|
|
1795
1795
|
return e.escapedText === "this";
|
|
1796
1796
|
return !1;
|
|
1797
1797
|
}
|
|
1798
|
-
function
|
|
1799
|
-
if (
|
|
1798
|
+
function j(e, t) {
|
|
1799
|
+
if (M = t, _e.clear(), z = [], Qe.clear(), e.pos !== -1 && e.getText(M.file).includes("* @public") && M.emitError(
|
|
1800
1800
|
"@public JSDoc tag may only appear in interfaces, top-level of type alias, or top-level intersection inside a type-alias. @public JSDoc tag inside inline object literal types or deeper aliases is not supported as such are tricky to represent in the docs UI. Refactor out the type into a separate top-level interface/type-alias. Documentation: https://webgis.esri.com/references/api-extractor/advanced-patterns#describing-nested-object-types",
|
|
1801
|
-
{ file:
|
|
1801
|
+
{ file: M.file, node: e }
|
|
1802
1802
|
), e.kind === o.SyntaxKind.Identifier || e.kind === o.SyntaxKind.QualifiedName)
|
|
1803
|
-
|
|
1803
|
+
Be(e);
|
|
1804
1804
|
else if (o.isFunctionTypeNode(e) || o.isConstructorTypeNode(e)) {
|
|
1805
1805
|
const i = e.typeParameters;
|
|
1806
1806
|
if (i !== void 0)
|
|
1807
1807
|
for (let a = 0; a < i.length; ++a) {
|
|
1808
1808
|
const r = i[a];
|
|
1809
|
-
|
|
1809
|
+
Qe.add(r.name.escapedText);
|
|
1810
1810
|
}
|
|
1811
1811
|
}
|
|
1812
|
-
return to.writeNode(o.EmitHint.Unspecified, e, void 0,
|
|
1813
|
-
text:
|
|
1814
|
-
references:
|
|
1812
|
+
return to.writeNode(o.EmitHint.Unspecified, e, void 0, _e), {
|
|
1813
|
+
text: _e.getText(),
|
|
1814
|
+
references: z.length > 0 ? z : void 0,
|
|
1815
1815
|
values: void 0,
|
|
1816
1816
|
source: void 0
|
|
1817
1817
|
};
|
|
1818
1818
|
}
|
|
1819
|
-
let
|
|
1820
|
-
const
|
|
1819
|
+
let M;
|
|
1820
|
+
const pe = (e, t, n) => {
|
|
1821
1821
|
switch (t.kind) {
|
|
1822
1822
|
case o.SyntaxKind.TypeReference:
|
|
1823
1823
|
const i = t, a = i.typeName;
|
|
1824
1824
|
switch (a.escapedText) {
|
|
1825
1825
|
case "nil":
|
|
1826
|
-
return
|
|
1826
|
+
return pe(e, io, n);
|
|
1827
1827
|
// Used in public typings in 88 files
|
|
1828
1828
|
// REFACTOR: consider refactoring out Const usages in public API to
|
|
1829
1829
|
// reduce divergence
|
|
1830
1830
|
case "Const":
|
|
1831
|
-
|
|
1832
|
-
//
|
|
1831
|
+
return pe(e, i.typeArguments[0], n);
|
|
1832
|
+
// In component public types, Lumina's "component" and "el" have the same type
|
|
1833
1833
|
case "ToElement":
|
|
1834
|
-
|
|
1834
|
+
if (M.isComponentProject)
|
|
1835
|
+
return pe(e, i.typeArguments[0], n);
|
|
1836
|
+
break;
|
|
1835
1837
|
/**
|
|
1836
1838
|
* @see https://webgis.esri.com/references/api-extractor/advanced-patterns#publicprivate-type-divergence
|
|
1837
1839
|
*/
|
|
1838
1840
|
case "PublicApiNarrowType":
|
|
1839
1841
|
case "PublicApiRelaxType":
|
|
1840
|
-
return
|
|
1842
|
+
return pe(e, i.typeArguments[1], n);
|
|
1841
1843
|
}
|
|
1842
|
-
|
|
1844
|
+
Be(a);
|
|
1843
1845
|
break;
|
|
1844
1846
|
case o.SyntaxKind.TypeQuery:
|
|
1845
|
-
const l = Yn(t,
|
|
1847
|
+
const l = Yn(t, M);
|
|
1846
1848
|
if (l !== void 0)
|
|
1847
|
-
return
|
|
1848
|
-
|
|
1849
|
+
return pe(e, l, n);
|
|
1850
|
+
Be(t.exprName, no);
|
|
1849
1851
|
break;
|
|
1850
1852
|
case o.SyntaxKind.PropertyAccessExpression:
|
|
1851
|
-
|
|
1853
|
+
Be(t);
|
|
1852
1854
|
break;
|
|
1853
1855
|
case o.SyntaxKind.InferType:
|
|
1854
1856
|
case o.SyntaxKind.MappedType:
|
|
1855
1857
|
const c = t.typeParameter;
|
|
1856
|
-
|
|
1858
|
+
Qe.add(c.name.escapedText);
|
|
1857
1859
|
break;
|
|
1858
1860
|
case o.SyntaxKind.TypeLiteral:
|
|
1859
1861
|
const p = t;
|
|
@@ -1864,27 +1866,27 @@ const ve = (e, t, n) => {
|
|
|
1864
1866
|
if (
|
|
1865
1867
|
// In public types, Lumina's "component" and "el" have the same type
|
|
1866
1868
|
// Thus print ArcgisHome["el"] as just ArcgisHome
|
|
1867
|
-
|
|
1869
|
+
M.isComponentProject && d.indexType.kind === o.SyntaxKind.LiteralType && d.indexType.literal.text === "el"
|
|
1868
1870
|
)
|
|
1869
|
-
return
|
|
1871
|
+
return pe(e, d.objectType, n);
|
|
1870
1872
|
break;
|
|
1871
1873
|
case o.SyntaxKind.ImportType:
|
|
1872
|
-
|
|
1874
|
+
M.emitError(
|
|
1873
1875
|
`\`import()\` syntax inside types is not supported - refactor to import the type at the top of the file${t.pos === -1 ? ". The import() syntax might also be inserted by TypeScript if you are referencing a type that is not otherwise accessible - refactor such cases by adding explicit type annotation." : ""}`,
|
|
1874
|
-
{ file:
|
|
1876
|
+
{ file: M.file, node: t }
|
|
1875
1877
|
);
|
|
1876
1878
|
break;
|
|
1877
1879
|
}
|
|
1878
|
-
n(e, t),
|
|
1879
|
-
}, to =
|
|
1880
|
+
n(e, t), Xe !== void 0 && (fi(), Xe = void 0);
|
|
1881
|
+
}, to = on(
|
|
1880
1882
|
{},
|
|
1881
1883
|
{
|
|
1882
|
-
onEmitNode:
|
|
1884
|
+
onEmitNode: pe
|
|
1883
1885
|
}
|
|
1884
|
-
), io = o.factory.createIdentifier("null | undefined"),
|
|
1885
|
-
`), no = 7,
|
|
1886
|
-
let
|
|
1887
|
-
function
|
|
1886
|
+
), io = o.factory.createIdentifier("null | undefined"), _e = nn.createTextWriter(`
|
|
1887
|
+
`), no = 7, Qe = /* @__PURE__ */ new Set();
|
|
1888
|
+
let z;
|
|
1889
|
+
function Be(e, t = 0) {
|
|
1888
1890
|
const n = [];
|
|
1889
1891
|
let i = e;
|
|
1890
1892
|
for (; i !== void 0; )
|
|
@@ -1894,20 +1896,20 @@ function Ke(e, t = 0) {
|
|
|
1894
1896
|
} else if (i.kind === o.SyntaxKind.QualifiedName)
|
|
1895
1897
|
n.push(i.right), i = i.left;
|
|
1896
1898
|
else if (i.kind === o.SyntaxKind.PropertyAccessExpression) {
|
|
1897
|
-
const
|
|
1898
|
-
n.push(
|
|
1899
|
+
const S = i.name;
|
|
1900
|
+
n.push(S), i = i.expression;
|
|
1899
1901
|
}
|
|
1900
|
-
const a = n.at(-1), r = a.escapedText, l =
|
|
1902
|
+
const a = n.at(-1), r = a.escapedText, l = _e.getTextPos() + t;
|
|
1901
1903
|
let s = l + r.length;
|
|
1902
1904
|
const c = a;
|
|
1903
1905
|
if (c.pos === -1 && c.symbol !== void 0) {
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
+
z.push(
|
|
1907
|
+
Je(c.symbol, c, M, l, s)
|
|
1906
1908
|
);
|
|
1907
1909
|
return;
|
|
1908
1910
|
}
|
|
1909
|
-
if (
|
|
1910
|
-
|
|
1911
|
+
if (M.functionLikeTypeParameters?.has(r) === !0) {
|
|
1912
|
+
z.push({
|
|
1911
1913
|
name: r,
|
|
1912
1914
|
module: void 0,
|
|
1913
1915
|
package: void 0,
|
|
@@ -1917,8 +1919,8 @@ function Ke(e, t = 0) {
|
|
|
1917
1919
|
});
|
|
1918
1920
|
return;
|
|
1919
1921
|
}
|
|
1920
|
-
if (
|
|
1921
|
-
|
|
1922
|
+
if (M.objectLikeTypeParameters?.has(r) === !0) {
|
|
1923
|
+
z.push({
|
|
1922
1924
|
name: r,
|
|
1923
1925
|
module: void 0,
|
|
1924
1926
|
package: void 0,
|
|
@@ -1928,102 +1930,102 @@ function Ke(e, t = 0) {
|
|
|
1928
1930
|
});
|
|
1929
1931
|
return;
|
|
1930
1932
|
}
|
|
1931
|
-
if (
|
|
1932
|
-
|
|
1933
|
+
if (M.localDeclarations.has(r)) {
|
|
1934
|
+
z.push({
|
|
1933
1935
|
name: r,
|
|
1934
1936
|
module: void 0,
|
|
1935
1937
|
package: void 0,
|
|
1936
|
-
viewUrl:
|
|
1937
|
-
|
|
1938
|
-
r ===
|
|
1938
|
+
viewUrl: Ue(
|
|
1939
|
+
M.apiModule.path,
|
|
1940
|
+
r === M.exportDefaultName ? void 0 : r,
|
|
1939
1941
|
void 0,
|
|
1940
|
-
|
|
1942
|
+
M
|
|
1941
1943
|
),
|
|
1942
1944
|
start: l,
|
|
1943
1945
|
end: s
|
|
1944
1946
|
});
|
|
1945
1947
|
return;
|
|
1946
1948
|
}
|
|
1947
|
-
if (
|
|
1948
|
-
|
|
1949
|
+
if (M.localPrivateDeclarations?.has(r) === !0) {
|
|
1950
|
+
M.localPrivateDeclarations.set(r, Math.abs(M.localPrivateDeclarations.get(r))), z.push({
|
|
1949
1951
|
name: r,
|
|
1950
1952
|
module: void 0,
|
|
1951
1953
|
package: void 0,
|
|
1952
|
-
viewUrl:
|
|
1953
|
-
|
|
1954
|
-
r ===
|
|
1954
|
+
viewUrl: Ue(
|
|
1955
|
+
M.apiModule.path,
|
|
1956
|
+
r === M.exportDefaultName ? void 0 : r,
|
|
1955
1957
|
void 0,
|
|
1956
|
-
|
|
1958
|
+
M
|
|
1957
1959
|
),
|
|
1958
1960
|
start: l,
|
|
1959
1961
|
end: s
|
|
1960
1962
|
});
|
|
1961
1963
|
return;
|
|
1962
1964
|
}
|
|
1963
|
-
const d =
|
|
1965
|
+
const d = M.moduleContext.importsMap[r];
|
|
1964
1966
|
if (d !== void 0) {
|
|
1965
1967
|
d.wasUsed = !0;
|
|
1966
|
-
const
|
|
1967
|
-
d.replacementName !== void 0 && (be(a, d.replacementName), s = l + d.replacementName.length), d.replacementName !== void 0 && (
|
|
1968
|
+
const S = d.type === "named";
|
|
1969
|
+
d.replacementName !== void 0 && (be(a, d.replacementName), s = l + d.replacementName.length), d.replacementName !== void 0 && (M.functionLikeTypeParameters?.has(d.replacementName) === !0 || M.objectLikeTypeParameters?.has(d.replacementName) === !0) && M.emitError(
|
|
1968
1970
|
`Can't do a type replacement of ${ie("green", r)} to ${ie("red", d.replacementName)} as the latter name conflicts with a type parameter name in the current scope. Rename the type parameter or refactor out the type replacement.`,
|
|
1969
|
-
{ file:
|
|
1971
|
+
{ file: M.file, node: e }
|
|
1970
1972
|
);
|
|
1971
|
-
const C =
|
|
1973
|
+
const C = S ? d.actualName ?? d.replacementName ?? r : void 0;
|
|
1972
1974
|
if (d.modulePath === void 0) {
|
|
1973
|
-
if (
|
|
1974
|
-
const h =
|
|
1975
|
-
|
|
1976
|
-
h === "esri" ? `Found unexpected absolute path import of ${ie("red", C ?? d.type)} from ${ie("red", d.
|
|
1977
|
-
{ file:
|
|
1975
|
+
if (M.config.strict) {
|
|
1976
|
+
const h = dt(d.rawSpecifier);
|
|
1977
|
+
M.runtimeDependencyNames.has(h) || M.emitError(
|
|
1978
|
+
h === "esri" ? `Found unexpected absolute path import of ${ie("red", C ?? d.type)} from ${ie("red", d.rawSpecifier)}. Did you mean to use a relative import instead?` : `Type ${ie("red", C ?? d.type)} imported from ${ie("red", h)} cannot be referenced in public types as this dependency is not declared as a "dependency" in the package.json`,
|
|
1979
|
+
{ file: M.file, node: e }
|
|
1978
1980
|
);
|
|
1979
1981
|
}
|
|
1980
|
-
} else
|
|
1982
|
+
} else M.config.strict || je(
|
|
1981
1983
|
d.modulePath,
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
d.
|
|
1984
|
+
d.rawSpecifier === "" ? d.modulePath : pt(
|
|
1985
|
+
M.apiModule.sourcePath.slice(M.config.context.basePath.length),
|
|
1986
|
+
d.rawSpecifier
|
|
1985
1987
|
),
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
+
S ? C : d.type,
|
|
1989
|
+
M
|
|
1988
1990
|
);
|
|
1989
1991
|
let v, P = d.modulePath;
|
|
1990
|
-
P === void 0 && (v =
|
|
1992
|
+
P === void 0 && (v = dt(d.rawSpecifier), P = d.rawSpecifier.length === v.length ? void 0 : d.rawSpecifier.slice(v.length + 1)), z.push({
|
|
1991
1993
|
name: C ?? d.type,
|
|
1992
1994
|
module: P,
|
|
1993
1995
|
package: v,
|
|
1994
|
-
viewUrl: d.modulePath === void 0 ?
|
|
1996
|
+
viewUrl: d.modulePath === void 0 ? mi(v, P, S ? r : d.type, M) : Ue(d.modulePath, C, void 0, M),
|
|
1995
1997
|
start: l,
|
|
1996
1998
|
end: s
|
|
1997
1999
|
});
|
|
1998
2000
|
return;
|
|
1999
2001
|
}
|
|
2000
|
-
const m =
|
|
2002
|
+
const m = ut[r];
|
|
2001
2003
|
if (m !== void 0) {
|
|
2002
|
-
|
|
2004
|
+
z.push({
|
|
2003
2005
|
name: r,
|
|
2004
2006
|
module: void 0,
|
|
2005
|
-
package:
|
|
2006
|
-
viewUrl: m[0]?.startsWith("https") === !1 ? `${
|
|
2007
|
+
package: le,
|
|
2008
|
+
viewUrl: m[0]?.startsWith("https") === !1 ? `${ft}${m[0]}` : m[0] ?? void 0,
|
|
2007
2009
|
start: l,
|
|
2008
2010
|
end: s
|
|
2009
2011
|
});
|
|
2010
|
-
let
|
|
2011
|
-
if (
|
|
2012
|
+
let S = m;
|
|
2013
|
+
if (S.length > 1) {
|
|
2012
2014
|
let C = n.length - 2, v = s + 1;
|
|
2013
|
-
for (;
|
|
2015
|
+
for (; S[1] !== void 0 && C >= 0; ) {
|
|
2014
2016
|
const P = n[C--];
|
|
2015
|
-
if (
|
|
2016
|
-
|
|
2017
|
-
file:
|
|
2017
|
+
if (S = S[1][P.escapedText], S === void 0)
|
|
2018
|
+
M.emitError("Failed to resolve the definition of the type reference", {
|
|
2019
|
+
file: M.file,
|
|
2018
2020
|
node: e
|
|
2019
2021
|
});
|
|
2020
2022
|
else {
|
|
2021
2023
|
const h = v + P.escapedText.length;
|
|
2022
|
-
|
|
2024
|
+
z.push({
|
|
2023
2025
|
name: P.escapedText,
|
|
2024
2026
|
module: void 0,
|
|
2025
|
-
package:
|
|
2026
|
-
viewUrl:
|
|
2027
|
+
package: le,
|
|
2028
|
+
viewUrl: S[0]?.startsWith("https") === !1 ? `${ft}${S[0]}` : S[0] ?? void 0,
|
|
2027
2029
|
start: v,
|
|
2028
2030
|
end: h
|
|
2029
2031
|
}), v = h + 1;
|
|
@@ -2032,27 +2034,27 @@ function Ke(e, t = 0) {
|
|
|
2032
2034
|
}
|
|
2033
2035
|
return;
|
|
2034
2036
|
}
|
|
2035
|
-
if (
|
|
2037
|
+
if (Qe.has(r))
|
|
2036
2038
|
return;
|
|
2037
|
-
const
|
|
2038
|
-
if (
|
|
2039
|
-
|
|
2039
|
+
const f = M.program?.getTypeChecker?.()?.getSymbolAtLocation(a);
|
|
2040
|
+
if (f !== void 0) {
|
|
2041
|
+
z.push(Je(f, a, M, l, s));
|
|
2040
2042
|
return;
|
|
2041
2043
|
}
|
|
2042
|
-
|
|
2044
|
+
M.emitError(
|
|
2043
2045
|
"Failed to resolve the definition of the type reference. Ensure it has @public or refactor out its usage from the public API type",
|
|
2044
|
-
{ file:
|
|
2046
|
+
{ file: M.file, node: e }
|
|
2045
2047
|
);
|
|
2046
2048
|
}
|
|
2047
2049
|
function be(e, t) {
|
|
2048
2050
|
const n = e.escapedText;
|
|
2049
|
-
|
|
2051
|
+
Xe = e, gt = t, fi(), gt = n;
|
|
2050
2052
|
}
|
|
2051
|
-
let
|
|
2052
|
-
function
|
|
2053
|
-
|
|
2053
|
+
let Xe, gt;
|
|
2054
|
+
function fi() {
|
|
2055
|
+
Xe.escapedText = gt;
|
|
2054
2056
|
}
|
|
2055
|
-
function
|
|
2057
|
+
function nt(e, t, n) {
|
|
2056
2058
|
if (e === void 0 || n.isInLuminaMinimalExtraction) {
|
|
2057
2059
|
t ? n.objectLikeTypeParameters = void 0 : n.functionLikeTypeParameters = void 0;
|
|
2058
2060
|
return;
|
|
@@ -2080,7 +2082,7 @@ function ot(e, t, n) {
|
|
|
2080
2082
|
t ? n.objectLikeTypeParameters = a : n.functionLikeTypeParameters = a;
|
|
2081
2083
|
for (let r = 0; r < e.length; ++r) {
|
|
2082
2084
|
const l = e[r], s = l.constraint, c = l.default;
|
|
2083
|
-
s !== void 0 && (i[r].constraint =
|
|
2085
|
+
s !== void 0 && (i[r].constraint = j(s, n)), c !== void 0 && (i[r].default = j(c, n));
|
|
2084
2086
|
}
|
|
2085
2087
|
return i;
|
|
2086
2088
|
}
|
|
@@ -2091,14 +2093,14 @@ function Ee(e, t, n) {
|
|
|
2091
2093
|
"Expected the type nodes in the extends clause to be Identifier, QualifiedName or PropertyAccessExpression.",
|
|
2092
2094
|
{ file: n.file, node: e }
|
|
2093
2095
|
), {
|
|
2094
|
-
[
|
|
2096
|
+
[J]: "Record<never, Error>",
|
|
2095
2097
|
name: "error",
|
|
2096
2098
|
module: void 0,
|
|
2097
2099
|
package: void 0,
|
|
2098
2100
|
viewUrl: void 0,
|
|
2099
2101
|
typeArguments: void 0
|
|
2100
2102
|
};
|
|
2101
|
-
const i =
|
|
2103
|
+
const i = j(e, n), a = i.references?.[0] ?? {
|
|
2102
2104
|
module: void 0,
|
|
2103
2105
|
package: void 0,
|
|
2104
2106
|
viewUrl: void 0
|
|
@@ -2107,7 +2109,7 @@ function Ee(e, t, n) {
|
|
|
2107
2109
|
if (r = i.text, t !== void 0) {
|
|
2108
2110
|
l = new Array(t.length), r += "<";
|
|
2109
2111
|
for (let s = 0; s < t.length; ++s) {
|
|
2110
|
-
const c = t[s], p =
|
|
2112
|
+
const c = t[s], p = j(c, n);
|
|
2111
2113
|
l[s] = p, r += p.text, s < t.length - 1 && (r += ", ");
|
|
2112
2114
|
}
|
|
2113
2115
|
r += ">";
|
|
@@ -2118,7 +2120,7 @@ function Ee(e, t, n) {
|
|
|
2118
2120
|
* which is not a name suitable for .d.ts emit. So we preserve the original
|
|
2119
2121
|
* type string in a temporary field.
|
|
2120
2122
|
*/
|
|
2121
|
-
[
|
|
2123
|
+
[J]: r,
|
|
2122
2124
|
name: i.references?.length === 1 ? i.references[0].name : i.text,
|
|
2123
2125
|
module: a.module,
|
|
2124
2126
|
package: a.package,
|
|
@@ -2126,13 +2128,13 @@ function Ee(e, t, n) {
|
|
|
2126
2128
|
typeArguments: l
|
|
2127
2129
|
};
|
|
2128
2130
|
}
|
|
2129
|
-
function
|
|
2131
|
+
function Ct(e) {
|
|
2130
2132
|
return o.isTypeReferenceNode(e) && (e.typeName.escapedText === "PublicApiNarrowType" || e.typeName.escapedText === "PublicApiRelaxType") ? e.typeArguments[1] : e;
|
|
2131
2133
|
}
|
|
2132
2134
|
function ro(e) {
|
|
2133
2135
|
return e.expression.escapedText === "PublicApiNarrowType" || e.expression.escapedText === "PublicApiRelaxType" ? e.typeArguments[1] : e;
|
|
2134
2136
|
}
|
|
2135
|
-
const
|
|
2137
|
+
const yi = { text: "unknown", references: void 0, values: void 0, source: void 0 }, so = {
|
|
2136
2138
|
text: "Promise<unknown>",
|
|
2137
2139
|
references: void 0,
|
|
2138
2140
|
values: void 0,
|
|
@@ -2143,7 +2145,7 @@ const vi = { text: "unknown", references: void 0, values: void 0, source: void 0
|
|
|
2143
2145
|
{
|
|
2144
2146
|
name: "Record",
|
|
2145
2147
|
module: void 0,
|
|
2146
|
-
package:
|
|
2148
|
+
package: le,
|
|
2147
2149
|
viewUrl: "https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type",
|
|
2148
2150
|
start: 0,
|
|
2149
2151
|
end: 6
|
|
@@ -2155,8 +2157,8 @@ const vi = { text: "unknown", references: void 0, values: void 0, source: void 0
|
|
|
2155
2157
|
function co(e, t) {
|
|
2156
2158
|
if (t.isInLuminaMinimalExtraction)
|
|
2157
2159
|
return;
|
|
2158
|
-
const n =
|
|
2159
|
-
[
|
|
2160
|
+
const n = Ji(e.name), i = {
|
|
2161
|
+
[J]: po,
|
|
2160
2162
|
kind: "method",
|
|
2161
2163
|
name: "componentOnReady",
|
|
2162
2164
|
static: void 0,
|
|
@@ -2177,7 +2179,10 @@ console.log("${e.tagName} is ready to go!");
|
|
|
2177
2179
|
typeParameters: void 0,
|
|
2178
2180
|
parameters: void 0,
|
|
2179
2181
|
return: mo,
|
|
2180
|
-
inheritedFrom
|
|
2182
|
+
// Must include .inheritedFrom for this member so that it is excluded from
|
|
2183
|
+
// .d.ts printing (TypeScript inherits it from PublicLitElement) and from
|
|
2184
|
+
// the docs search index.
|
|
2185
|
+
inheritedFrom: uo,
|
|
2181
2186
|
signature: "(): Promise<this>",
|
|
2182
2187
|
privacy: void 0,
|
|
2183
2188
|
source: void 0
|
|
@@ -2204,7 +2209,7 @@ console.log("${e.tagName} is ready to go!");
|
|
|
2204
2209
|
}
|
|
2205
2210
|
a.length > 0 && (e.demos = a);
|
|
2206
2211
|
}
|
|
2207
|
-
const po =
|
|
2212
|
+
const po = et(), mo = {
|
|
2208
2213
|
summary: void 0,
|
|
2209
2214
|
description: void 0,
|
|
2210
2215
|
type: {
|
|
@@ -2222,11 +2227,16 @@ const po = tt(), mo = {
|
|
|
2222
2227
|
values: void 0,
|
|
2223
2228
|
source: void 0
|
|
2224
2229
|
}
|
|
2225
|
-
}, uo =
|
|
2230
|
+
}, uo = {
|
|
2231
|
+
name: "this",
|
|
2232
|
+
module: void 0,
|
|
2233
|
+
package: void 0,
|
|
2234
|
+
viewUrl: void 0
|
|
2235
|
+
}, fo = ce, yo = ce, vo = ce, So = ce, go = ce, To = ce, ho = ce, vi = ce;
|
|
2226
2236
|
function ce(e, t, n, i, a) {
|
|
2227
2237
|
if (i.docsTags === void 0 || n === void 0)
|
|
2228
2238
|
return;
|
|
2229
|
-
const r = i.docsTags.indexOf(
|
|
2239
|
+
const r = i.docsTags.indexOf(N.copyDoc);
|
|
2230
2240
|
if (r === -1)
|
|
2231
2241
|
return;
|
|
2232
2242
|
const l = i.name;
|
|
@@ -2237,9 +2247,9 @@ function ce(e, t, n, i, a) {
|
|
|
2237
2247
|
file: e.file,
|
|
2238
2248
|
node: t
|
|
2239
2249
|
}
|
|
2240
|
-
), !(typeof s == "function" && (s = s(i, a, e.apiModule), s === void 0)) &&
|
|
2250
|
+
), !(typeof s == "function" && (s = s(i, a, e.apiModule), s === void 0)) && Xi(s, i, r);
|
|
2241
2251
|
}
|
|
2242
|
-
function
|
|
2252
|
+
function Pt(e, t, n) {
|
|
2243
2253
|
n.apiModule.exports.push({
|
|
2244
2254
|
kind: e.customElement === !0 ? "custom-element-definition" : e.kind === "interface" || e.kind === "mixin" ? "ts" : "js",
|
|
2245
2255
|
name: t ? "default" : e.tagName ?? e.name,
|
|
@@ -2252,8 +2262,8 @@ function bt(e, t, n) {
|
|
|
2252
2262
|
}
|
|
2253
2263
|
});
|
|
2254
2264
|
}
|
|
2255
|
-
const
|
|
2256
|
-
function
|
|
2265
|
+
const Eo = Ae, st = Ae, Co = Ae, Kt = Ae, Ht = Ae;
|
|
2266
|
+
function Ae(e, t, n, i) {
|
|
2257
2267
|
if (t === void 0) {
|
|
2258
2268
|
i.emitError("Computed function/method names are not yet supported.", {
|
|
2259
2269
|
file: i.file,
|
|
@@ -2261,8 +2271,8 @@ function ke(e, t, n, i) {
|
|
|
2261
2271
|
});
|
|
2262
2272
|
return;
|
|
2263
2273
|
}
|
|
2264
|
-
const a = n ?? e, r = n !== void 0 && !o.isVariableStatement(n), l = o.isMethodDeclaration(e), s = o.isMethodSignature(e), c = l || s || r, p = n !== void 0 && o.isVariableStatement(n), m = o.isFunctionDeclaration(e) || p,
|
|
2265
|
-
let P, h,
|
|
2274
|
+
const a = n ?? e, r = n !== void 0 && !o.isVariableStatement(n), l = o.isMethodDeclaration(e), s = o.isMethodSignature(e), c = l || s || r, p = n !== void 0 && o.isVariableStatement(n), m = o.isFunctionDeclaration(e) || p, u = !r && !p && o.isFunctionTypeNode(e) || o.isCallSignatureDeclaration(e), f = o.isConstructorDeclaration(e), S = f || o.isConstructSignatureDeclaration(e) || o.isConstructorTypeNode(e), C = i.isInLuminaMinimalExtraction || i.jsDoc === Ce, v = et();
|
|
2275
|
+
let P, h, L = !1, b = !1;
|
|
2266
2276
|
if (!m && a.modifiers !== void 0)
|
|
2267
2277
|
for (let E = 0; E < a.modifiers.length; ++E)
|
|
2268
2278
|
switch (a.modifiers[E].kind) {
|
|
@@ -2273,28 +2283,28 @@ function ke(e, t, n, i) {
|
|
|
2273
2283
|
h = "protected";
|
|
2274
2284
|
break;
|
|
2275
2285
|
case o.SyntaxKind.AbstractKeyword:
|
|
2276
|
-
|
|
2286
|
+
L = !0;
|
|
2277
2287
|
break;
|
|
2278
2288
|
case o.SyntaxKind.AsyncKeyword:
|
|
2279
|
-
|
|
2289
|
+
b = !0;
|
|
2280
2290
|
break;
|
|
2281
2291
|
}
|
|
2282
2292
|
const y = {
|
|
2283
|
-
[
|
|
2284
|
-
kind: c ? "method" : m ? "function" :
|
|
2285
|
-
name:
|
|
2293
|
+
[J]: v,
|
|
2294
|
+
kind: c ? "method" : m ? "function" : u ? "call-signature" : S ? "constructor" : void 0,
|
|
2295
|
+
name: S || u ? void 0 : t,
|
|
2286
2296
|
static: P,
|
|
2287
2297
|
deprecated: void 0,
|
|
2288
2298
|
summary: void 0,
|
|
2289
2299
|
description: void 0,
|
|
2290
2300
|
docsTags: void 0,
|
|
2291
|
-
typeParameters:
|
|
2301
|
+
typeParameters: nt(e.typeParameters, !1, i),
|
|
2292
2302
|
parameters: [],
|
|
2293
|
-
return:
|
|
2303
|
+
return: f ? void 0 : {
|
|
2294
2304
|
summary: void 0,
|
|
2295
2305
|
description: void 0,
|
|
2296
|
-
type: C ?
|
|
2297
|
-
e.type ??
|
|
2306
|
+
type: C ? b ? so : yi : j(
|
|
2307
|
+
e.type ?? qe(e, i) ?? X(
|
|
2298
2308
|
{ file: i.file, node: e },
|
|
2299
2309
|
"@public function must have a return type annotation",
|
|
2300
2310
|
i
|
|
@@ -2306,18 +2316,18 @@ function ke(e, t, n, i) {
|
|
|
2306
2316
|
signature: void 0,
|
|
2307
2317
|
privacy: h,
|
|
2308
2318
|
source: void 0
|
|
2309
|
-
}, k = y,
|
|
2310
|
-
let
|
|
2311
|
-
for (let E = 0; E <
|
|
2312
|
-
const
|
|
2319
|
+
}, k = y, D = dn(y, i.jsDoc), I = C ? [] : e.parameters;
|
|
2320
|
+
let x = D.length, g = !1, K = 0;
|
|
2321
|
+
for (let E = 0; E < I.length; ++E) {
|
|
2322
|
+
const T = I[E], A = o.isIdentifier(T.name) ? T.name.escapedText : void 0;
|
|
2313
2323
|
if (A === "this") {
|
|
2314
|
-
|
|
2324
|
+
K -= 1;
|
|
2315
2325
|
continue;
|
|
2316
2326
|
}
|
|
2317
|
-
const
|
|
2318
|
-
if (
|
|
2319
|
-
|
|
2320
|
-
const q =
|
|
2327
|
+
const V = f && A !== void 0 && T.modifiers !== void 0 && T.modifiers.length > 0 ? ne(T, !0, i) : void 0;
|
|
2328
|
+
if (V !== void 0) {
|
|
2329
|
+
K -= 1, x += 1, i.jsDoc = V;
|
|
2330
|
+
const q = gi(T, A, !1, i);
|
|
2321
2331
|
if (q === void 0)
|
|
2322
2332
|
continue;
|
|
2323
2333
|
i.apiObject.members.push(q);
|
|
@@ -2328,81 +2338,81 @@ function ke(e, t, n, i) {
|
|
|
2328
2338
|
description: q.description,
|
|
2329
2339
|
docsTags: void 0,
|
|
2330
2340
|
optional: void 0,
|
|
2331
|
-
rest:
|
|
2341
|
+
rest: T.dotDotDotToken ? !0 : void 0,
|
|
2332
2342
|
type: q.type,
|
|
2333
2343
|
default: q.default
|
|
2334
2344
|
};
|
|
2335
|
-
de.optional =
|
|
2345
|
+
de.optional = $t(T, de), y.parameters.push(de);
|
|
2336
2346
|
continue;
|
|
2337
2347
|
}
|
|
2338
|
-
let G =
|
|
2348
|
+
let G = D[E + K]?.text, U, F;
|
|
2339
2349
|
if (!i.config.strict && (G === void 0 || A === void 0) && (G = A ?? `parameter${E}`), G === void 0) {
|
|
2340
2350
|
i.emitError(
|
|
2341
|
-
`Expected @param tag for every parameter on a public function. If you need to include a non-public parameter on a public function, see https://webgis.esri.com/references/api-extractor/tags-reference#param)${
|
|
2342
|
-
{ file: i.file, node:
|
|
2343
|
-
),
|
|
2351
|
+
`Expected @param tag for every parameter on a public function. If you need to include a non-public parameter on a public function, see https://webgis.esri.com/references/api-extractor/tags-reference#param)${S ? " and https://webgis.esri.com/references/api-extractor/api-node-kinds#constructor" : ""}`,
|
|
2352
|
+
{ file: i.file, node: T }
|
|
2353
|
+
), g = !0;
|
|
2344
2354
|
break;
|
|
2345
2355
|
}
|
|
2346
|
-
const
|
|
2347
|
-
if (
|
|
2348
|
-
`)) && (F = F.slice(2).trim()), A !== void 0 && A !==
|
|
2349
|
-
const q =
|
|
2356
|
+
const W = G.indexOf(" ");
|
|
2357
|
+
if (U = W === -1 ? G : G.slice(0, W), F = W === -1 ? "" : G.slice(W + 1).trim(), (F.startsWith("- ") || F.startsWith(`-
|
|
2358
|
+
`)) && (F = F.slice(2).trim()), A !== void 0 && A !== U && `_${U}` !== A) {
|
|
2359
|
+
const q = U.startsWith("[") || U.endsWith("]");
|
|
2350
2360
|
if (i.config.strict) {
|
|
2351
2361
|
i.emitError(
|
|
2352
|
-
`The '${A}' TypeScript parameter name does not match the @param tag at position ${E}, '${
|
|
2362
|
+
`The '${A}' TypeScript parameter name does not match the @param tag at position ${E}, '${U}'${q ? ". If you meant to mark the parameter as optional, use TypeScript's `?` syntax or `=` default value syntax instead of JSDoc [square brackets]" : ""}`,
|
|
2353
2363
|
{
|
|
2354
2364
|
file: i.file,
|
|
2355
|
-
node:
|
|
2365
|
+
node: T
|
|
2356
2366
|
}
|
|
2357
|
-
),
|
|
2367
|
+
), g = !0;
|
|
2358
2368
|
break;
|
|
2359
2369
|
} else
|
|
2360
|
-
|
|
2370
|
+
U = A.startsWith("_") ? A.slice(1) : A;
|
|
2361
2371
|
}
|
|
2362
|
-
const
|
|
2363
|
-
{ file: i.file, node:
|
|
2364
|
-
`Public parameter ${
|
|
2372
|
+
const fe = T.type ?? (T.initializer === void 0 ? X(
|
|
2373
|
+
{ file: i.file, node: T },
|
|
2374
|
+
`Public parameter ${U} must have a type annotation or a default value`,
|
|
2365
2375
|
i
|
|
2366
|
-
) :
|
|
2367
|
-
name:
|
|
2376
|
+
) : Et(T.initializer, O.false, i.file, i)), ke = j(fe, i), te = {
|
|
2377
|
+
name: U,
|
|
2368
2378
|
deprecated: void 0,
|
|
2369
2379
|
summary: void 0,
|
|
2370
2380
|
description: F || void 0,
|
|
2371
2381
|
docsTags: void 0,
|
|
2372
2382
|
optional: void 0,
|
|
2373
|
-
rest:
|
|
2374
|
-
type:
|
|
2375
|
-
default:
|
|
2383
|
+
rest: T.dotDotDotToken ? !0 : void 0,
|
|
2384
|
+
type: ke,
|
|
2385
|
+
default: $e(T.initializer, void 0, i.file)
|
|
2376
2386
|
};
|
|
2377
|
-
te.optional =
|
|
2387
|
+
te.optional = $t(T, te), y.parameters.push(te);
|
|
2378
2388
|
}
|
|
2379
|
-
if (i.config.strict && !
|
|
2380
|
-
`Expected @param tags to match the number of parameters on a public function. Found ${
|
|
2389
|
+
if (i.config.strict && !g && !i.isInLuminaMinimalExtraction && x !== y.parameters.length && i.emitError(
|
|
2390
|
+
`Expected @param tags to match the number of parameters on a public function. Found ${D.length} @param tags for ${y.parameters.length} TypeScript parameters. Documentation: https://webgis.esri.com/references/api-extractor/tags-reference#param)${S ? " and https://webgis.esri.com/references/api-extractor/api-node-kinds#constructor" : ""}`,
|
|
2381
2391
|
{ file: i.file, node: e }
|
|
2382
2392
|
), y.parameters.length === 0)
|
|
2383
2393
|
y.parameters = void 0;
|
|
2384
2394
|
else {
|
|
2385
2395
|
let E = !0;
|
|
2386
|
-
for (let
|
|
2387
|
-
const
|
|
2388
|
-
E &&=
|
|
2396
|
+
for (let T = y.parameters.length - 1; T >= 0; T--) {
|
|
2397
|
+
const R = y.parameters[T];
|
|
2398
|
+
E &&= R.optional === !0 || R.rest === !0 || R.default !== void 0, !E && R.optional && (R.optional = void 0, R.type.text.endsWith(" | undefined") || (R.type.text += " | undefined"));
|
|
2389
2399
|
}
|
|
2390
2400
|
}
|
|
2391
|
-
l && i.componentTagName !== void 0 && (k.signature =
|
|
2401
|
+
l && i.componentTagName !== void 0 && (k.signature = Bi(k), b && !Yi(k) && i.emitError("Public method marked as async must have a Promise<SomeType> return type annotation.", {
|
|
2392
2402
|
file: i.file,
|
|
2393
2403
|
node: e
|
|
2394
2404
|
})), i.functionLikeTypeParameters = void 0;
|
|
2395
|
-
const
|
|
2396
|
-
return m && (
|
|
2405
|
+
const w = m ? tt(a) : 0, $ = m && i.exportDefaultName === t, B = w === 2 || $;
|
|
2406
|
+
return m && (B ? Pt(y, !0, i) : w === 0 && i.config.strict && i.emitError("Expected @public function to be exported using named or default export.", {
|
|
2397
2407
|
file: i.file,
|
|
2398
2408
|
node: e
|
|
2399
|
-
})), i.produceDts && (c ||
|
|
2409
|
+
})), i.produceDts && (c || S || u ? (L && (v.isAbstract = !0), v.hasQuestionToken = a.questionToken !== void 0 ? !0 : void 0) : v.isDefaultExported = B || void 0), c ? yo(
|
|
2400
2410
|
i,
|
|
2401
2411
|
n ?? e,
|
|
2402
2412
|
i.config.documentation.copyDocDefinitions.methods,
|
|
2403
2413
|
y,
|
|
2404
2414
|
i.apiObject
|
|
2405
|
-
) : m &&
|
|
2415
|
+
) : m && So(
|
|
2406
2416
|
i,
|
|
2407
2417
|
n ?? e,
|
|
2408
2418
|
i.config.documentation.copyDocDefinitions.functions,
|
|
@@ -2410,77 +2420,77 @@ function ke(e, t, n, i) {
|
|
|
2410
2420
|
i.apiModule
|
|
2411
2421
|
), y;
|
|
2412
2422
|
}
|
|
2413
|
-
const
|
|
2423
|
+
const $t = (e, t) => (
|
|
2414
2424
|
// Keep ? as is
|
|
2415
2425
|
e.questionToken !== void 0 || // If had default value internally, but not publicly, add ?
|
|
2416
2426
|
e.initializer !== void 0 && t.default === void 0 ? !0 : void 0
|
|
2417
2427
|
);
|
|
2418
|
-
function
|
|
2419
|
-
return
|
|
2428
|
+
function Po(e, t, n) {
|
|
2429
|
+
return Tt(), Me(e, t), bt && t !== void 0 && n !== void 0 && (Tt(), Mt(t.getTypeAtLocation(n))), Si();
|
|
2420
2430
|
}
|
|
2421
|
-
function
|
|
2422
|
-
return
|
|
2431
|
+
function bo(e) {
|
|
2432
|
+
return Tt(), Mt(e), Si();
|
|
2423
2433
|
}
|
|
2424
|
-
let
|
|
2425
|
-
const
|
|
2426
|
-
function
|
|
2427
|
-
|
|
2434
|
+
let Le = !1, oe = !1, ae = !1, Ie = !1, re = !1, bt = !1;
|
|
2435
|
+
const se = [], ee = [];
|
|
2436
|
+
function Tt() {
|
|
2437
|
+
Le = !1, oe = !1, ae = !1, Ie = !1, re = !1, bt = !1, se.length = 0, ee.length = 0;
|
|
2428
2438
|
}
|
|
2429
2439
|
function Si() {
|
|
2430
|
-
if (!
|
|
2440
|
+
if (!ae && !Ie && !re && !Le)
|
|
2431
2441
|
return;
|
|
2432
2442
|
const e = [];
|
|
2433
|
-
if (
|
|
2434
|
-
for (let t = 0; t <
|
|
2435
|
-
e.push({ type: "string", value:
|
|
2436
|
-
else
|
|
2443
|
+
if (se.length > 0)
|
|
2444
|
+
for (let t = 0; t < se.length; ++t)
|
|
2445
|
+
e.push({ type: "string", value: se[t] });
|
|
2446
|
+
else ae && e.push(Mo);
|
|
2437
2447
|
if (ee.length > 0)
|
|
2438
2448
|
for (let t = 0; t < ee.length; ++t)
|
|
2439
2449
|
e.push({ type: "number", value: ee[t] });
|
|
2440
|
-
else
|
|
2441
|
-
return
|
|
2450
|
+
else re && e.push(xo);
|
|
2451
|
+
return Ie && e.push(Do), Le ? e.push(Ro) : oe && e.push(Lo), e;
|
|
2442
2452
|
}
|
|
2443
|
-
const
|
|
2453
|
+
const Mo = { type: "string", value: void 0 }, xo = { type: "number", value: void 0 }, Do = { type: "boolean", value: void 0 }, Ro = { type: "any", value: void 0 }, Lo = { type: "object", value: void 0 };
|
|
2444
2454
|
function Me(e, t) {
|
|
2445
2455
|
switch (e.kind) {
|
|
2446
2456
|
case o.SyntaxKind.BooleanKeyword:
|
|
2447
2457
|
case o.SyntaxKind.TrueKeyword:
|
|
2448
2458
|
case o.SyntaxKind.FalseKeyword:
|
|
2449
|
-
|
|
2459
|
+
Ie = !0;
|
|
2450
2460
|
return;
|
|
2451
2461
|
case o.SyntaxKind.NumberKeyword:
|
|
2452
|
-
|
|
2462
|
+
re = !0;
|
|
2453
2463
|
return;
|
|
2454
2464
|
case o.SyntaxKind.StringKeyword:
|
|
2455
2465
|
case o.SyntaxKind.TemplateLiteralType:
|
|
2456
|
-
|
|
2466
|
+
ae = !0;
|
|
2457
2467
|
return;
|
|
2458
2468
|
case o.SyntaxKind.AnyKeyword:
|
|
2459
|
-
|
|
2469
|
+
Le = !0;
|
|
2460
2470
|
return;
|
|
2461
2471
|
case o.SyntaxKind.LiteralType:
|
|
2462
2472
|
Me(e.literal, t);
|
|
2463
2473
|
return;
|
|
2464
2474
|
case o.SyntaxKind.StringLiteral:
|
|
2465
2475
|
case o.SyntaxKind.NoSubstitutionTemplateLiteral:
|
|
2466
|
-
|
|
2476
|
+
ae = !0, se.push(e.text);
|
|
2467
2477
|
return;
|
|
2468
2478
|
case o.SyntaxKind.NumericLiteral:
|
|
2469
|
-
|
|
2479
|
+
re = !0, ee.push(e.text);
|
|
2470
2480
|
return;
|
|
2471
2481
|
case o.SyntaxKind.PrefixUnaryExpression:
|
|
2472
2482
|
const n = e.operand;
|
|
2473
|
-
n.kind === o.SyntaxKind.NumericLiteral ? (ee.push(`-${n.text}`),
|
|
2483
|
+
n.kind === o.SyntaxKind.NumericLiteral ? (ee.push(`-${n.text}`), re = !0) : oe = !0;
|
|
2474
2484
|
return;
|
|
2475
2485
|
case o.SyntaxKind.VoidKeyword:
|
|
2476
2486
|
case o.SyntaxKind.UndefinedKeyword:
|
|
2477
2487
|
case o.SyntaxKind.NullKeyword:
|
|
2478
2488
|
return;
|
|
2479
2489
|
case o.SyntaxKind.UnionType:
|
|
2480
|
-
const i = e.types, a = Math.min(i.length,
|
|
2490
|
+
const i = e.types, a = Math.min(i.length, Ye);
|
|
2481
2491
|
for (let l = 0; l < a; ++l)
|
|
2482
2492
|
Me(i[l], t);
|
|
2483
|
-
i.length >
|
|
2493
|
+
i.length > Ye && (se.length = 0, ee.length = 0);
|
|
2484
2494
|
return;
|
|
2485
2495
|
case o.SyntaxKind.ParenthesizedType:
|
|
2486
2496
|
Me(e.type, t);
|
|
@@ -2489,7 +2499,7 @@ function Me(e, t) {
|
|
|
2489
2499
|
case o.SyntaxKind.IndexedAccessType:
|
|
2490
2500
|
case o.SyntaxKind.ImportType:
|
|
2491
2501
|
case o.SyntaxKind.TypeReference:
|
|
2492
|
-
t === void 0 ?
|
|
2502
|
+
t === void 0 ? oe = !0 : Mt(
|
|
2493
2503
|
t.getTypeFromTypeNode(
|
|
2494
2504
|
e
|
|
2495
2505
|
)
|
|
@@ -2497,7 +2507,7 @@ function Me(e, t) {
|
|
|
2497
2507
|
return;
|
|
2498
2508
|
case o.SyntaxKind.TypeOperator:
|
|
2499
2509
|
const r = e;
|
|
2500
|
-
r.operator === o.SyntaxKind.KeyOfKeyword ?
|
|
2510
|
+
r.operator === o.SyntaxKind.KeyOfKeyword ? ae = !0 : r.operator === o.SyntaxKind.ReadonlyKeyword ? Me(r.type, t) : oe = !0;
|
|
2501
2511
|
return;
|
|
2502
2512
|
/*case ts.SyntaxKind.UnknownKeyword:
|
|
2503
2513
|
case ts.SyntaxKind.FunctionType:
|
|
@@ -2510,46 +2520,46 @@ function Me(e, t) {
|
|
|
2510
2520
|
case ts.SyntaxKind.ObjectKeyword:
|
|
2511
2521
|
case ts.SyntaxKind.SymbolKeyword:*/
|
|
2512
2522
|
default:
|
|
2513
|
-
|
|
2523
|
+
oe = !0;
|
|
2514
2524
|
return;
|
|
2515
2525
|
}
|
|
2516
2526
|
}
|
|
2517
|
-
const
|
|
2518
|
-
function
|
|
2527
|
+
const Ye = 40;
|
|
2528
|
+
function Mt(e) {
|
|
2519
2529
|
if (e.isUnion()) {
|
|
2520
|
-
const t = Math.min(e.types.length,
|
|
2530
|
+
const t = Math.min(e.types.length, Ye);
|
|
2521
2531
|
for (let n = 0; n < t; ++n)
|
|
2522
|
-
|
|
2523
|
-
e.types.length >
|
|
2532
|
+
zt(e.types[n]);
|
|
2533
|
+
e.types.length > Ye && (se.length = 0, ee.length = 0);
|
|
2524
2534
|
} else
|
|
2525
|
-
|
|
2535
|
+
zt(e);
|
|
2526
2536
|
}
|
|
2527
|
-
function
|
|
2537
|
+
function zt(e) {
|
|
2528
2538
|
const t = e.flags;
|
|
2529
2539
|
let n = !1;
|
|
2530
|
-
if (t & o.TypeFlags.StringLiteral ? (n = !0,
|
|
2540
|
+
if (t & o.TypeFlags.StringLiteral ? (n = !0, ae = !0, se.push(e.value)) : t & o.TypeFlags.StringLike && (n = !0, ae = !0), t & o.TypeFlags.NumberLiteral ? (n = !0, re = !0, ee.push(e.value.toString())) : t & o.TypeFlags.NumberLike && (n = !0, re = !0), t & o.TypeFlags.BooleanLike && (n = !0, Ie = !0), t & o.TypeFlags.Any) {
|
|
2531
2541
|
if (e.intrinsicName === "error") {
|
|
2532
|
-
|
|
2542
|
+
oe = !0, bt = !0;
|
|
2533
2543
|
return;
|
|
2534
2544
|
}
|
|
2535
|
-
|
|
2545
|
+
Le = !0, n = !0;
|
|
2536
2546
|
}
|
|
2537
|
-
t &
|
|
2547
|
+
t & Io || n || (oe = !0);
|
|
2538
2548
|
}
|
|
2539
|
-
const
|
|
2540
|
-
function
|
|
2549
|
+
const Io = o.TypeFlags.Null | o.TypeFlags.VoidLike, Ea = (e) => e.map(Ao).join(" | "), Ao = (e) => e.type === "string" && e.value !== void 0 ? `"${e.value}"` : e.value ?? e.type;
|
|
2550
|
+
function ko(e, t, n) {
|
|
2541
2551
|
let i;
|
|
2542
2552
|
const a = e.initializer;
|
|
2543
2553
|
let r;
|
|
2544
2554
|
if (e.questionToken !== void 0)
|
|
2545
2555
|
return;
|
|
2546
2556
|
if (e.type !== void 0)
|
|
2547
|
-
o.isTypeReferenceNode(e.type) && e.type.typeName.escapedText === "EventEmitter" && (i = e.type.typeArguments?.[0] ??
|
|
2557
|
+
o.isTypeReferenceNode(e.type) && e.type.typeName.escapedText === "EventEmitter" && (i = e.type.typeArguments?.[0] ?? We);
|
|
2548
2558
|
else if (a !== void 0 && o.isCallExpression(a)) {
|
|
2549
2559
|
const s = a.expression;
|
|
2550
2560
|
if (o.isIdentifier(s)) {
|
|
2551
2561
|
const c = s.escapedText;
|
|
2552
|
-
c ===
|
|
2562
|
+
c === Ke ? (i = a.typeArguments?.[0] ?? We, r = a.arguments[0]) : c === "reEmitEvent" ? i = a.typeArguments?.[0] ?? We : c.startsWith("use") && (i = jt(e, n));
|
|
2553
2563
|
} else if (o.isCallExpression(s) && o.isIdentifier(s.expression)) {
|
|
2554
2564
|
const c = s.expression.escapedText;
|
|
2555
2565
|
if (c === "usePropertyChange") {
|
|
@@ -2568,7 +2578,7 @@ function Ao(e, t, n) {
|
|
|
2568
2578
|
p.length === 1 ? p[0] : o.factory.createUnionTypeNode(p)
|
|
2569
2579
|
)
|
|
2570
2580
|
]);
|
|
2571
|
-
} else c.startsWith("use") && (i =
|
|
2581
|
+
} else c.startsWith("use") && (i = jt(e, n));
|
|
2572
2582
|
}
|
|
2573
2583
|
}
|
|
2574
2584
|
if (i === void 0)
|
|
@@ -2579,14 +2589,14 @@ function Ao(e, t, n) {
|
|
|
2579
2589
|
summary: void 0,
|
|
2580
2590
|
description: void 0,
|
|
2581
2591
|
docsTags: void 0,
|
|
2582
|
-
type:
|
|
2592
|
+
type: j(i, n),
|
|
2583
2593
|
inheritedFrom: void 0,
|
|
2584
2594
|
privacy: void 0,
|
|
2585
2595
|
bubbles: void 0,
|
|
2586
2596
|
cancelable: void 0,
|
|
2587
2597
|
composed: void 0
|
|
2588
2598
|
};
|
|
2589
|
-
return
|
|
2599
|
+
return un(l, n.jsDoc), r !== void 0 && Go(e, r, l, n), vo(
|
|
2590
2600
|
n,
|
|
2591
2601
|
e,
|
|
2592
2602
|
n.config.documentation.copyDocDefinitions.events,
|
|
@@ -2594,11 +2604,11 @@ function Ao(e, t, n) {
|
|
|
2594
2604
|
n.apiObject
|
|
2595
2605
|
), l;
|
|
2596
2606
|
}
|
|
2597
|
-
const
|
|
2598
|
-
function
|
|
2607
|
+
const Ke = "createEvent";
|
|
2608
|
+
function Go(e, t, n, i) {
|
|
2599
2609
|
if (t !== void 0) {
|
|
2600
2610
|
if (!o.isObjectLiteralExpression(t)) {
|
|
2601
|
-
i.emitError(`Expected object literal expression as first argument of ${
|
|
2611
|
+
i.emitError(`Expected object literal expression as first argument of ${Ke}().`, {
|
|
2602
2612
|
file: i.file,
|
|
2603
2613
|
node: e
|
|
2604
2614
|
});
|
|
@@ -2606,7 +2616,7 @@ function ko(e, t, n, i) {
|
|
|
2606
2616
|
}
|
|
2607
2617
|
if (t.properties.some(o.isSpreadAssignment)) {
|
|
2608
2618
|
i.emitError(
|
|
2609
|
-
`Unexpected spread syntax in ${
|
|
2619
|
+
`Unexpected spread syntax in ${Ke}() argument. ${Ke}() arguments must be statically parsable at compile time`,
|
|
2610
2620
|
{
|
|
2611
2621
|
file: i.file,
|
|
2612
2622
|
node: e
|
|
@@ -2618,7 +2628,7 @@ function ko(e, t, n, i) {
|
|
|
2618
2628
|
!o.isPropertyAssignment(a) || !o.isIdentifier(a.name) || (a.name.text === "cancelable" && !Y(a.initializer, i) && (n.cancelable = !1), a.name.text === "bubbles" && !Y(a.initializer, i) && (n.bubbles = !1), a.name.text === "composed" && !Y(a.initializer, i) && (n.composed = !1));
|
|
2619
2629
|
}
|
|
2620
2630
|
}
|
|
2621
|
-
function
|
|
2631
|
+
function jt(e, t) {
|
|
2622
2632
|
const n = t.program?.getTypeChecker?.();
|
|
2623
2633
|
if (n === void 0)
|
|
2624
2634
|
return;
|
|
@@ -2627,28 +2637,28 @@ function Jt(e, t) {
|
|
|
2627
2637
|
return;
|
|
2628
2638
|
const r = n.getTypeArguments(i);
|
|
2629
2639
|
if (r.length === 0)
|
|
2630
|
-
return
|
|
2640
|
+
return We;
|
|
2631
2641
|
const l = r[0];
|
|
2632
2642
|
return n.typeToTypeNode(l, e, o.NodeBuilderFlags.NoTruncation);
|
|
2633
2643
|
}
|
|
2634
|
-
function
|
|
2644
|
+
function gi(e, t, n, i) {
|
|
2635
2645
|
if (t === void 0) {
|
|
2636
2646
|
i.emitError("Computed property names are not yet supported", { file: i.file, node: e });
|
|
2637
2647
|
return;
|
|
2638
2648
|
}
|
|
2639
|
-
const a = e, r =
|
|
2640
|
-
let
|
|
2649
|
+
const a = e, r = xe(a.modifiers, "property") ?? (i.pairedSetter === void 0 ? void 0 : xe(i.pairedSetter.modifiers, "property")), l = r?.arguments[0], s = l !== void 0 && o.isObjectLiteralExpression(l) ? l.properties : void 0, c = o.isPropertyDeclaration(e) || o.isPropertySignature(e), p = o.isGetAccessor(e), d = Fi(), m = i.isInLuminaMinimalExtraction || i.jsDoc === Ce;
|
|
2650
|
+
let u = !1, f = !1, S, C = !1, v, P, h;
|
|
2641
2651
|
if (c && e.modifiers !== void 0)
|
|
2642
2652
|
for (let E = 0; E < e.modifiers.length; ++E)
|
|
2643
2653
|
switch (e.modifiers[E].kind) {
|
|
2644
2654
|
case o.SyntaxKind.ReadonlyKeyword:
|
|
2645
|
-
|
|
2655
|
+
u = !0;
|
|
2646
2656
|
continue;
|
|
2647
2657
|
case o.SyntaxKind.AccessorKeyword:
|
|
2648
|
-
|
|
2658
|
+
f = !0;
|
|
2649
2659
|
continue;
|
|
2650
2660
|
case o.SyntaxKind.ProtectedKeyword:
|
|
2651
|
-
|
|
2661
|
+
S = "protected";
|
|
2652
2662
|
continue;
|
|
2653
2663
|
case o.SyntaxKind.StaticKeyword:
|
|
2654
2664
|
v = !0;
|
|
@@ -2657,38 +2667,38 @@ function Ti(e, t, n, i) {
|
|
|
2657
2667
|
C = !0;
|
|
2658
2668
|
continue;
|
|
2659
2669
|
}
|
|
2660
|
-
n ||=
|
|
2661
|
-
const
|
|
2662
|
-
let
|
|
2670
|
+
n ||= u || p && i.pairedSetter === void 0;
|
|
2671
|
+
const L = i.apiObject.customElement === !0;
|
|
2672
|
+
let b = !1;
|
|
2663
2673
|
if (i.moduleHasAccessorLikeClass)
|
|
2664
2674
|
if (s !== void 0) {
|
|
2665
2675
|
for (let E = 0; E < s.length; ++E) {
|
|
2666
|
-
const
|
|
2667
|
-
if (!o.isPropertyAssignment(
|
|
2668
|
-
|
|
2676
|
+
const T = s[E];
|
|
2677
|
+
if (!o.isPropertyAssignment(T)) {
|
|
2678
|
+
b ||= o.isSpreadAssignment(T);
|
|
2669
2679
|
continue;
|
|
2670
2680
|
}
|
|
2671
|
-
const
|
|
2672
|
-
|
|
2681
|
+
const R = T.name.escapedText;
|
|
2682
|
+
R === "readOnly" && Y(T.initializer, i) ? n = !0 : R === "constructOnly" && Y(T.initializer, i) ? d.isConstructorOnly = !0 : R === "type" ? d.hasAutoCasting = !0 : R === "types" && Fo(
|
|
2673
2683
|
d,
|
|
2674
|
-
|
|
2684
|
+
T.initializer?.kind === o.SyntaxKind.ObjectLiteralExpression ? T.initializer : void 0
|
|
2675
2685
|
);
|
|
2676
2686
|
}
|
|
2677
|
-
|
|
2687
|
+
b && d.hasAutoCasting === void 0 && (d.hasAutoCasting = !0, d.autoCastingRequiresType = !0);
|
|
2678
2688
|
} else l !== void 0 && (d.hasAutoCasting = !0, d.autoCastingRequiresType = !0);
|
|
2679
|
-
else if (
|
|
2689
|
+
else if (L) {
|
|
2680
2690
|
const E = i.apiObject;
|
|
2681
2691
|
if (r === void 0) {
|
|
2682
2692
|
if (m)
|
|
2683
2693
|
return;
|
|
2684
2694
|
{
|
|
2685
|
-
const
|
|
2686
|
-
if (
|
|
2687
|
-
E.events ??= [], E.events.push(
|
|
2695
|
+
const T = c && !v ? ko(e, t, i) : void 0;
|
|
2696
|
+
if (T !== void 0) {
|
|
2697
|
+
E.events ??= [], E.events.push(T);
|
|
2688
2698
|
return;
|
|
2689
|
-
} else !i.config.strict &&
|
|
2699
|
+
} else !i.config.strict && Ti(e) ? (S = "protected", P = !1, i.jsDoc = {
|
|
2690
2700
|
...i.jsDoc,
|
|
2691
|
-
docsTags: [...i.jsDoc.docsTags,
|
|
2701
|
+
docsTags: [...i.jsDoc.docsTags, N.internal]
|
|
2692
2702
|
}) : r === void 0 && i.emitError(
|
|
2693
2703
|
"Public properties on a Lumina component must have a @property() decorator for lazy-loading compatibility.",
|
|
2694
2704
|
{
|
|
@@ -2698,18 +2708,18 @@ function Ti(e, t, n, i) {
|
|
|
2698
2708
|
);
|
|
2699
2709
|
}
|
|
2700
2710
|
} else if (s !== void 0)
|
|
2701
|
-
for (let
|
|
2702
|
-
const
|
|
2703
|
-
if (!(!o.isPropertyAssignment(
|
|
2704
|
-
switch (
|
|
2711
|
+
for (let T = 0; T < s.length; ++T) {
|
|
2712
|
+
const R = s[T];
|
|
2713
|
+
if (!(!o.isPropertyAssignment(R) || !o.isIdentifier(R.name)))
|
|
2714
|
+
switch (R.name.escapedText) {
|
|
2705
2715
|
case "attribute":
|
|
2706
|
-
o.isStringLiteral(
|
|
2716
|
+
o.isStringLiteral(R.initializer) ? P = R.initializer.text : P = Y(R.initializer, i);
|
|
2707
2717
|
continue;
|
|
2708
2718
|
case "reflect":
|
|
2709
|
-
Y(
|
|
2719
|
+
Y(R.initializer, i) && (P ??= !0, h = !0);
|
|
2710
2720
|
continue;
|
|
2711
2721
|
case "readOnly":
|
|
2712
|
-
Y(
|
|
2722
|
+
Y(R.initializer, i) && (n = !0);
|
|
2713
2723
|
continue;
|
|
2714
2724
|
case "type":
|
|
2715
2725
|
case "converter":
|
|
@@ -2719,28 +2729,28 @@ function Ti(e, t, n, i) {
|
|
|
2719
2729
|
}
|
|
2720
2730
|
}
|
|
2721
2731
|
const y = i.pairedSetter ?? (o.isSetAccessor(e) ? e : void 0), k = n ? void 0 : y;
|
|
2722
|
-
|
|
2723
|
-
const
|
|
2724
|
-
let
|
|
2725
|
-
if (
|
|
2732
|
+
f ||= r !== void 0 || p || y !== void 0, d.isAccessor = f || void 0;
|
|
2733
|
+
const D = k?.parameters[0].type, I = a.type;
|
|
2734
|
+
let x = D ?? I;
|
|
2735
|
+
if (x === void 0) {
|
|
2726
2736
|
const E = k?.parameters[0].initializer ?? e.initializer;
|
|
2727
2737
|
if (c && E !== void 0 && o.isArrowFunction(E)) {
|
|
2728
2738
|
if (n)
|
|
2729
|
-
return
|
|
2730
|
-
|
|
2739
|
+
return Ht(E, t, e, i);
|
|
2740
|
+
Jt(e, i);
|
|
2731
2741
|
}
|
|
2732
|
-
|
|
2742
|
+
x = E === void 0 ? qn(e, i) ?? X(
|
|
2733
2743
|
{ file: i.file, node: e },
|
|
2734
2744
|
"Public property must have a type annotation or a default value",
|
|
2735
2745
|
i
|
|
2736
|
-
) :
|
|
2737
|
-
} else if (
|
|
2746
|
+
) : Et(E, n ? O.shallow : O.false, i.file, i);
|
|
2747
|
+
} else if (x = Ct(x), c && o.isFunctionTypeNode(x)) {
|
|
2738
2748
|
if (n)
|
|
2739
|
-
return
|
|
2740
|
-
|
|
2749
|
+
return Ht(x, t, e, i);
|
|
2750
|
+
Jt(e, i);
|
|
2741
2751
|
}
|
|
2742
|
-
const
|
|
2743
|
-
[
|
|
2752
|
+
const g = {
|
|
2753
|
+
[J]: d,
|
|
2744
2754
|
kind: "field",
|
|
2745
2755
|
name: t,
|
|
2746
2756
|
static: v,
|
|
@@ -2749,75 +2759,78 @@ function Ti(e, t, n, i) {
|
|
|
2749
2759
|
description: void 0,
|
|
2750
2760
|
docsTags: void 0,
|
|
2751
2761
|
// In minimal extraction, we care only for type.values (set below)
|
|
2752
|
-
type: m ? { ...
|
|
2762
|
+
type: m ? { ...yi } : j(x, i),
|
|
2753
2763
|
getterType: void 0,
|
|
2754
2764
|
default: void 0,
|
|
2755
2765
|
readonly: n || void 0,
|
|
2756
2766
|
inheritedFrom: void 0,
|
|
2757
|
-
privacy:
|
|
2767
|
+
privacy: S,
|
|
2758
2768
|
source: void 0,
|
|
2759
|
-
attribute: !
|
|
2769
|
+
attribute: !L || P === !1 ? void 0 : typeof P == "string" ? P : qi(t),
|
|
2760
2770
|
reflects: h,
|
|
2761
2771
|
docsOnlyReadonly: void 0
|
|
2762
2772
|
};
|
|
2763
|
-
|
|
2764
|
-
const
|
|
2765
|
-
|
|
2766
|
-
const
|
|
2767
|
-
if (
|
|
2768
|
-
!n &&
|
|
2773
|
+
pn(g, i.jsDoc);
|
|
2774
|
+
const K = g.default;
|
|
2775
|
+
L && t === "messageOverrides" && (d.dtsTypeOverride = g.type.text, g.type = lo);
|
|
2776
|
+
const w = L && r !== void 0;
|
|
2777
|
+
if (w) {
|
|
2778
|
+
!n && g.readonly === !0 && (g.docsOnlyReadonly = !0);
|
|
2769
2779
|
const E = i.program?.getTypeChecker?.();
|
|
2770
|
-
|
|
2771
|
-
const
|
|
2780
|
+
g.type.values = E !== void 0 && x.pos === -1 && (x.kind === o.SyntaxKind.TypeQuery || x.kind === o.SyntaxKind.IndexedAccessType || x.kind === o.SyntaxKind.ImportType || x.kind === o.SyntaxKind.TypeReference) ? bo(E.getTypeAtLocation(y?.parameters[0] ?? e)) : Po(x, E, y?.parameters[0] ?? e), (P === void 0 && g.type.values === void 0 && !i.config.context.isLuminaMinimalExtraction || g.readonly && !g.reflects) && (g.attribute = void 0);
|
|
2781
|
+
const T = E !== void 0 && o.isPropertyDeclaration(e) && // BUG: should not check node.type here? but do check in property.getterType below
|
|
2772
2782
|
e.type !== void 0 && e.initializer !== void 0 && o.isPropertyAccessExpression(e.initializer) && o.isPropertyAccessExpression(e.initializer.expression) && e.initializer.expression.expression.kind === o.SyntaxKind.ThisKeyword && o.isIdentifier(e.initializer.expression.name) && o.isIdentifier(e.initializer.name);
|
|
2773
|
-
if (("initializer" in e && e.initializer !== void 0 && (!
|
|
2774
|
-
const
|
|
2775
|
-
let
|
|
2776
|
-
const
|
|
2777
|
-
if (
|
|
2778
|
-
for (let F = 0; F <
|
|
2779
|
-
const
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
|
|
2783
|
+
if (("initializer" in e && e.initializer !== void 0 && (!g.default || !g.description) || T) && !m) {
|
|
2784
|
+
const R = e.initializer, A = E?.getSymbolAtLocation(R), H = A !== void 0 && ((A.flags ?? 0) & o.SymbolFlags.Alias) !== 0 ? E?.getAliasedSymbol(A) : A;
|
|
2785
|
+
let V, G;
|
|
2786
|
+
const U = H?.getDeclarations();
|
|
2787
|
+
if (U !== void 0)
|
|
2788
|
+
for (let F = 0; F < U.length; ++F) {
|
|
2789
|
+
const W = U[F];
|
|
2790
|
+
V ??= o.isGetAccessor(W) ? W : void 0, G ??= o.isSetAccessor(W) ? W : void 0, "initializer" in W && (g.default = $e(
|
|
2791
|
+
W.initializer,
|
|
2792
|
+
g.default,
|
|
2793
|
+
W.getSourceFile()
|
|
2784
2794
|
));
|
|
2785
2795
|
}
|
|
2786
|
-
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
|
|
2791
|
-
|
|
2796
|
+
if (T && V?.type !== void 0 && G !== void 0 && V.type.getText() !== G.parameters[0]?.type?.getText()) {
|
|
2797
|
+
const F = V.getSourceFile(), W = i.file;
|
|
2798
|
+
i.file = F, g.getterType = {
|
|
2799
|
+
text: j(V.type, i).text,
|
|
2800
|
+
references: void 0,
|
|
2801
|
+
values: void 0,
|
|
2802
|
+
source: void 0
|
|
2803
|
+
}, i.file = W;
|
|
2804
|
+
}
|
|
2792
2805
|
}
|
|
2793
2806
|
}
|
|
2794
|
-
if (
|
|
2807
|
+
if (I !== void 0 && D !== void 0 && !m && // Quick perf check: type is definitely the same if raw type string matches.
|
|
2795
2808
|
// More reliable check follows in processing/index.ts, where printed normalized
|
|
2796
2809
|
// type string is compared.
|
|
2797
|
-
|
|
2798
|
-
...
|
|
2799
|
-
references:
|
|
2800
|
-
}), n &&
|
|
2810
|
+
I.getText(i.file) !== D.getText(i.file) ? g.getterType = j(I, i) : g.readonly === !0 && g.name === "type" && x.kind === o.SyntaxKind.LiteralType && x.literal.kind === o.SyntaxKind.StringLiteral && (i.moduleContext.typeName = x.literal.text), (d.hasAutoCasting === !0 || d.isConstructorOnly === !0) && (g.readonly === !0 && d.isConstructorOnly !== !0 ? d.hasAutoCasting = void 0 : g.getterType ??= {
|
|
2811
|
+
...g.type,
|
|
2812
|
+
references: g.type.references === void 0 ? void 0 : [...g.type.references]
|
|
2813
|
+
}), n && x.kind === o.SyntaxKind.LiteralType || (g.default = $e(
|
|
2801
2814
|
e.initializer,
|
|
2802
|
-
|
|
2815
|
+
g.default,
|
|
2803
2816
|
i.file
|
|
2804
|
-
)),
|
|
2805
|
-
const E =
|
|
2806
|
-
|
|
2807
|
-
`${
|
|
2817
|
+
)), w) {
|
|
2818
|
+
const E = K === void 0 && g.default === "true";
|
|
2819
|
+
g.type.values?.length === 1 && g.type.values[0].type === "boolean" && (g.default === void 0 ? g.default = "false" : E && g.deprecated === void 0 && (i.loggedBooleanWarning || i.config.context.logger.error(
|
|
2820
|
+
`${Ai}Boolean properties should default to "false". Found default value "true" in ${i.apiObject.name}.${g.name}. See https://webgis.esri.com/references/lumina/properties#boolean-properties`
|
|
2808
2821
|
), i.loggedBooleanWarning = !0));
|
|
2809
2822
|
}
|
|
2810
|
-
return
|
|
2823
|
+
return fo(
|
|
2811
2824
|
i,
|
|
2812
2825
|
e,
|
|
2813
2826
|
i.config.documentation.copyDocDefinitions?.properties,
|
|
2814
|
-
|
|
2827
|
+
g,
|
|
2815
2828
|
i.apiObject
|
|
2816
|
-
), i.produceDts && C && (d.isAbstract = !0), c && e.questionToken !== void 0 && (
|
|
2829
|
+
), i.produceDts && C && (d.isAbstract = !0), c && e.questionToken !== void 0 && (g.type.text.endsWith(" | undefined") || (g.type.text = // Don't need to wrap non-accessors in |undefined as we replace |undefined
|
|
2817
2830
|
// with ? during printing
|
|
2818
|
-
|
|
2831
|
+
f && (x.kind === o.SyntaxKind.FunctionType || x.kind === o.SyntaxKind.ConstructorType || x.kind === o.SyntaxKind.ConditionalType || x.kind === o.SyntaxKind.InferType) ? `(${g.type.text}) | undefined` : `${g.type.text} | undefined`), g.getterType !== void 0 && !g.getterType.text.endsWith(" | undefined") && (g.getterType.text += " | undefined")), g;
|
|
2819
2832
|
}
|
|
2820
|
-
function
|
|
2833
|
+
function Jt(e, t) {
|
|
2821
2834
|
if (!t.config.strict)
|
|
2822
2835
|
return;
|
|
2823
2836
|
const n = t.jsDoc.docsTags;
|
|
@@ -2835,7 +2848,7 @@ function qt(e, t) {
|
|
|
2835
2848
|
}
|
|
2836
2849
|
}
|
|
2837
2850
|
}
|
|
2838
|
-
function
|
|
2851
|
+
function Fo(e, t) {
|
|
2839
2852
|
if (e.hasAutoCasting = !0, e.autoCastingRequiresType = !0, t !== void 0)
|
|
2840
2853
|
for (let n = 0; n < t.properties.length; ++n) {
|
|
2841
2854
|
const i = t.properties[n];
|
|
@@ -2845,20 +2858,20 @@ function Go(e, t) {
|
|
|
2845
2858
|
}
|
|
2846
2859
|
}
|
|
2847
2860
|
}
|
|
2848
|
-
const
|
|
2849
|
-
function
|
|
2861
|
+
const Ti = (e) => o.isPropertyDeclaration(e) && e.initializer !== void 0 && o.isCallExpression(e.initializer) && o.isIdentifier(e.initializer.expression) && e.initializer.expression.escapedText === "useT9n";
|
|
2862
|
+
function Ze(e, t) {
|
|
2850
2863
|
const n = o.isClassDeclaration(e);
|
|
2851
2864
|
let i = e.name.escapedText;
|
|
2852
|
-
const a = n ? t.componentTagName : void 0, r = !n &&
|
|
2865
|
+
const a = n ? t.componentTagName : void 0, r = !n && pi(i, t);
|
|
2853
2866
|
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;
|
|
2854
2867
|
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) {
|
|
2855
|
-
|
|
2868
|
+
No(i, l.types[0].typeArguments[0], t);
|
|
2856
2869
|
return;
|
|
2857
2870
|
}
|
|
2858
2871
|
const s = n && t.mixinName !== void 0 && l !== void 0 && o.isExpressionWithTypeArguments(l.types[0]) && o.isIdentifier(l.types[0].expression) && l.types[0].expression.escapedText === "TypedBase";
|
|
2859
2872
|
s && (l = void 0, i = t.mixinName);
|
|
2860
|
-
const c =
|
|
2861
|
-
[
|
|
2873
|
+
const c = ii(), p = {
|
|
2874
|
+
[J]: c,
|
|
2862
2875
|
kind: n ? "class" : "interface",
|
|
2863
2876
|
name: i,
|
|
2864
2877
|
customElement: a === void 0 ? void 0 : !0,
|
|
@@ -2871,14 +2884,14 @@ function et(e, t) {
|
|
|
2871
2884
|
* prefix (Arcgis), where as tag name always does. This also matches
|
|
2872
2885
|
* Stencil's behavior.
|
|
2873
2886
|
*/
|
|
2874
|
-
|
|
2887
|
+
Qi(a)
|
|
2875
2888
|
),
|
|
2876
2889
|
deprecated: void 0,
|
|
2877
2890
|
summary: void 0,
|
|
2878
2891
|
description: void 0,
|
|
2879
2892
|
docsTags: void 0,
|
|
2880
2893
|
demos: void 0,
|
|
2881
|
-
typeParameters: s ? void 0 :
|
|
2894
|
+
typeParameters: s ? void 0 : nt(e.typeParameters, !0, t),
|
|
2882
2895
|
superclass: void 0,
|
|
2883
2896
|
supertypes: void 0,
|
|
2884
2897
|
mixins: void 0,
|
|
@@ -2895,27 +2908,27 @@ function et(e, t) {
|
|
|
2895
2908
|
source: void 0,
|
|
2896
2909
|
// REFACTOR: remove this deprecated property
|
|
2897
2910
|
importPath: a === void 0 ? void 0 : t.apiModule.path
|
|
2898
|
-
}, d = p, m = d,
|
|
2899
|
-
|
|
2900
|
-
const
|
|
2911
|
+
}, d = p, m = d, u = d;
|
|
2912
|
+
oi(p, t.jsDoc);
|
|
2913
|
+
const f = r ? (
|
|
2901
2914
|
// Members will be added during post-processing
|
|
2902
2915
|
!1
|
|
2903
|
-
) :
|
|
2904
|
-
s && (t.mixinMixins !== void 0 && (m.mixins = t.mixinMixins),
|
|
2916
|
+
) : hi(d, e.members, i, t);
|
|
2917
|
+
s && (t.mixinMixins !== void 0 && (m.mixins = t.mixinMixins), f && t.emitError("Mixin class is not expected to have a @public constructor", { file: t.file, node: e })), l === void 0 ? a !== void 0 && m.superclass === void 0 && t.emitError(
|
|
2905
2918
|
"Lumina web component must extend LitElement class. Found a class that does not extend any class.",
|
|
2906
2919
|
{
|
|
2907
2920
|
file: t.file,
|
|
2908
2921
|
node: e
|
|
2909
2922
|
}
|
|
2910
|
-
) :
|
|
2911
|
-
const
|
|
2912
|
-
return (v || a !== void 0) &&
|
|
2923
|
+
) : Oo(l, n, p, e, t), a !== void 0 && co(m, t), d.members.length === 0 && (a === void 0 && (d.members = void 0), r && (t.moduleContext.constructorPropertiesInterface = u));
|
|
2924
|
+
const S = t.exportDefaultName === i, C = tt(e), v = S || C === 2;
|
|
2925
|
+
return (v || a !== void 0) && Pt(d, v, t), n ? (a === void 0 ? To(
|
|
2913
2926
|
t,
|
|
2914
2927
|
e,
|
|
2915
2928
|
t.config.documentation.copyDocDefinitions.classes,
|
|
2916
2929
|
m,
|
|
2917
2930
|
t.apiModule
|
|
2918
|
-
) :
|
|
2931
|
+
) : ho(
|
|
2919
2932
|
t,
|
|
2920
2933
|
e,
|
|
2921
2934
|
t.config.documentation.copyDocDefinitions.customElements,
|
|
@@ -2924,18 +2937,18 @@ function et(e, t) {
|
|
|
2924
2937
|
), t.moduleHasClass && t.config.strict && t.emitError(
|
|
2925
2938
|
"A module may only export at most one public class/mixin/custom element. Documentation: https://webgis.esri.com/references/api-extractor/api-node-kinds#module-level-documentation",
|
|
2926
2939
|
{ file: t.file, node: e }
|
|
2927
|
-
), t.moduleHasClass = !0) :
|
|
2940
|
+
), t.moduleHasClass = !0) : vi(
|
|
2928
2941
|
t,
|
|
2929
2942
|
e,
|
|
2930
2943
|
t.config.documentation.copyDocDefinitions.interfaces,
|
|
2931
|
-
|
|
2944
|
+
u,
|
|
2932
2945
|
t.apiModule
|
|
2933
|
-
), t.produceDts && (c.isDefaultExported = v || void 0, n && (!s && (!
|
|
2946
|
+
), t.produceDts && (c.isDefaultExported = v || void 0, n && (!s && (!S && C === 0) && t.config.strict && t.emitError("Expected @public class to be exported using named or default export.", {
|
|
2934
2947
|
file: t.file,
|
|
2935
2948
|
node: e
|
|
2936
|
-
}),
|
|
2949
|
+
}), di(e.modifiers, o.SyntaxKind.AbstractKeyword) ? c.hasExplicitAbstract = !0 : !f && (t.config.strict || a !== void 0) && (c.hasExplicitAbstract = !1))), t.objectLikeTypeParameters = void 0, d;
|
|
2937
2950
|
}
|
|
2938
|
-
function
|
|
2951
|
+
function Oo(e, t, n, i, a) {
|
|
2939
2952
|
for (let r = 0; r < e.types.length; ++r) {
|
|
2940
2953
|
const l = e.types[r];
|
|
2941
2954
|
if (t) {
|
|
@@ -2975,7 +2988,7 @@ function Fo(e, t, n, i, a) {
|
|
|
2975
2988
|
a
|
|
2976
2989
|
);
|
|
2977
2990
|
if (p.name === "LitElement") {
|
|
2978
|
-
p.name = "
|
|
2991
|
+
p.name = "HTMLElement", p.package = le, p.viewUrl = "https://developer.mozilla.org/docs/Web/API/HTMLElement";
|
|
2979
2992
|
const d = a.moduleContext.importsMap.LitElement;
|
|
2980
2993
|
d === void 0 ? a.emitError("Expected LitElement import to be defined", { file: a.file, node: i }) : d.actualName = "PublicLitElement";
|
|
2981
2994
|
}
|
|
@@ -2994,49 +3007,49 @@ function Fo(e, t, n, i, a) {
|
|
|
2994
3007
|
}
|
|
2995
3008
|
}
|
|
2996
3009
|
}
|
|
2997
|
-
function
|
|
3010
|
+
function hi(e, t, n, i) {
|
|
2998
3011
|
i.apiObject = e;
|
|
2999
3012
|
const a = e.customElement === !0, r = e.members, l = t.length;
|
|
3000
|
-
let s, c = t[0], p, d =
|
|
3001
|
-
for (let
|
|
3002
|
-
if (s = c, c = t[
|
|
3013
|
+
let s, c = t[0], p, d = De(c?.name), m = !1;
|
|
3014
|
+
for (let u = 0; u < l; ++u) {
|
|
3015
|
+
if (s = c, c = t[u + 1], p = d, d = De(c?.name), i.pairedSetter !== void 0) {
|
|
3003
3016
|
i.pairedSetter = void 0;
|
|
3004
3017
|
continue;
|
|
3005
3018
|
}
|
|
3006
3019
|
if (p === void 0 && s.name?.kind === o.SyntaxKind.PrivateIdentifier)
|
|
3007
3020
|
continue;
|
|
3008
3021
|
c !== void 0 && p === d && (o.isGetAccessor(c) ? (i.pairedSetter = s, s = c) : o.isSetAccessor(c) && (i.pairedSetter = c));
|
|
3009
|
-
let
|
|
3010
|
-
if (
|
|
3011
|
-
const C = i.pairedSetter === void 0 ?
|
|
3012
|
-
C?.docsTags.includes(
|
|
3013
|
-
} else
|
|
3014
|
-
if (
|
|
3022
|
+
let f = ne(s, !0, i) ?? (i.pairedSetter === void 0 ? void 0 : ne(i.pairedSetter, !0, i));
|
|
3023
|
+
if (f === void 0 && !i.config.strict && (a ? p !== void 0 && qt(s, i.pairedSetter, !0) : !di(s.modifiers, o.SyntaxKind.PrivateKeyword))) {
|
|
3024
|
+
const C = i.pairedSetter === void 0 ? ze(s, !1, i, Re) : ne(s, !1, i) ?? ze(i.pairedSetter, !1, i, Re);
|
|
3025
|
+
C?.docsTags.includes(N.private) === !0 ? a && i.config.context.includeLuminaPrivateComponents ? f = Ce : f = void 0 : f = C;
|
|
3026
|
+
} else f === void 0 && a && i.config.context.includeLuminaPrivateComponents && qt(s, i.pairedSetter, !1) && (f = Ce);
|
|
3027
|
+
if (f === void 0) {
|
|
3015
3028
|
a && o.isPropertyDeclaration(s) && o.isIdentifier(s.name) && (s.name.escapedText === "shadowRootOptions" && s.initializer !== void 0 && o.isIdentifier(s.initializer) && s.initializer.escapedText === "noShadowRoot" && (i.apiObject.encapsulation = "none"), s.name.escapedText === "formAssociated" && s.initializer !== void 0 && Y(s.initializer, i) && (i.apiObject.formAssociated = !0));
|
|
3016
3029
|
continue;
|
|
3017
3030
|
}
|
|
3018
|
-
i.jsDoc =
|
|
3019
|
-
let
|
|
3020
|
-
o.isPropertyDeclaration(s) || o.isPropertyAssignment(s) || o.isGetAccessorDeclaration(s) || o.isSetAccessorDeclaration(s) || o.isPropertySignature(s) ?
|
|
3031
|
+
i.jsDoc = f;
|
|
3032
|
+
let S;
|
|
3033
|
+
o.isPropertyDeclaration(s) || o.isPropertyAssignment(s) || o.isGetAccessorDeclaration(s) || o.isSetAccessorDeclaration(s) || o.isPropertySignature(s) ? S = gi(s, p, !1, i) : o.isMethodDeclaration(s) || o.isMethodSignature(s) ? S = st(s, p, void 0, i) : o.isConstructorDeclaration(s) || o.isConstructSignatureDeclaration(s) ? (m = !0, S = st(s, n, void 0, i)) : o.isCallSignatureDeclaration(s) ? S = st(s, n, void 0, i) : o.isIndexSignatureDeclaration(s) && e.kind === "interface" ? (lt.members.splice(
|
|
3021
3034
|
0,
|
|
3022
|
-
|
|
3035
|
+
lt.members.length,
|
|
3023
3036
|
s
|
|
3024
|
-
),
|
|
3037
|
+
), Ei(e, lt, i), ue(e).emitAsTypeAlias = !0) : i.emitError(`@public used on unsupported member kind: ${o.SyntaxKind[s.kind]}`, {
|
|
3025
3038
|
file: i.file,
|
|
3026
3039
|
node: s
|
|
3027
|
-
}),
|
|
3040
|
+
}), S !== void 0 && r.push(S);
|
|
3028
3041
|
}
|
|
3029
3042
|
return i.apiObject = void 0, m;
|
|
3030
3043
|
}
|
|
3031
|
-
const
|
|
3032
|
-
function
|
|
3044
|
+
const lt = o.factory.createTypeLiteralNode(void 0);
|
|
3045
|
+
function qt(e, t, n) {
|
|
3033
3046
|
if (e.kind === o.SyntaxKind.PropertyDeclaration || e.kind === o.SyntaxKind.GetAccessor || e.kind === o.SyntaxKind.SetAccessor) {
|
|
3034
3047
|
const i = e;
|
|
3035
|
-
if ((
|
|
3048
|
+
if ((xe(i.modifiers, "property") ?? (t === void 0 ? void 0 : xe(t.modifiers, "property"))) !== void 0)
|
|
3036
3049
|
return !0;
|
|
3037
3050
|
if (!n)
|
|
3038
3051
|
return !1;
|
|
3039
|
-
if (
|
|
3052
|
+
if (Ti(e))
|
|
3040
3053
|
return !0;
|
|
3041
3054
|
if (i.modifiers !== void 0)
|
|
3042
3055
|
for (let r = 0; r < (i.modifiers?.length ?? 0); ++r) {
|
|
@@ -3045,10 +3058,10 @@ function Qt(e, t, n) {
|
|
|
3045
3058
|
return !1;
|
|
3046
3059
|
}
|
|
3047
3060
|
return e.kind === o.SyntaxKind.PropertyDeclaration && i.initializer !== void 0 && o.isCallExpression(i.initializer) ? o.isIdentifier(i.initializer.expression) && (i.initializer.expression.escapedText === "createEvent" || i.initializer.expression.escapedText === "useCloseEvent" || i.initializer.expression.escapedText === "useArcgisLoadError" || i.initializer.expression.escapedText === "useArcgisViewReadyError" || i.initializer.expression.escapedText === "reEmitEvent") || o.isCallExpression(i.initializer.expression) && o.isIdentifier(i.initializer.expression.expression) && i.initializer.expression.expression.escapedText === "usePropertyChange" : !1;
|
|
3048
|
-
} else return e.kind === o.SyntaxKind.MethodDeclaration ?
|
|
3061
|
+
} else return e.kind === o.SyntaxKind.MethodDeclaration ? xe(e.modifiers, "method") !== void 0 : !1;
|
|
3049
3062
|
}
|
|
3050
|
-
function
|
|
3051
|
-
const i =
|
|
3063
|
+
function Ei(e, t, n) {
|
|
3064
|
+
const i = j(t, n);
|
|
3052
3065
|
if (e.type === void 0)
|
|
3053
3066
|
e.type = i;
|
|
3054
3067
|
else {
|
|
@@ -3056,13 +3069,13 @@ function Ci(e, t, n) {
|
|
|
3056
3069
|
`, r = a.length;
|
|
3057
3070
|
e.type = {
|
|
3058
3071
|
text: `${a}${i.text}`,
|
|
3059
|
-
references: i.references === void 0 ? e.type.references : e.type.references === void 0 ?
|
|
3072
|
+
references: i.references === void 0 ? e.type.references : e.type.references === void 0 ? Ft(i.references, r) : [...e.type.references, ...Ft(i.references, r)],
|
|
3060
3073
|
values: void 0,
|
|
3061
3074
|
source: void 0
|
|
3062
3075
|
};
|
|
3063
3076
|
}
|
|
3064
3077
|
}
|
|
3065
|
-
function
|
|
3078
|
+
function No(e, t, n) {
|
|
3066
3079
|
if (!o.isTypeQueryNode(t)) {
|
|
3067
3080
|
n.emitError("Expected a TypeQueryNode for applyMixins syntax", { file: n.file, node: t });
|
|
3068
3081
|
return;
|
|
@@ -3128,9 +3141,9 @@ function Oo(e, t, n) {
|
|
|
3128
3141
|
r.mixins.unshift(Ee(c, void 0, n));
|
|
3129
3142
|
}
|
|
3130
3143
|
}
|
|
3131
|
-
function
|
|
3132
|
-
const n = e.type, i = e.name.escapedText, a =
|
|
3133
|
-
[
|
|
3144
|
+
function wo(e, t) {
|
|
3145
|
+
const n = e.type, i = e.name.escapedText, a = pi(i, t), r = ii(), l = {
|
|
3146
|
+
[J]: r,
|
|
3134
3147
|
kind: "interface",
|
|
3135
3148
|
name: i,
|
|
3136
3149
|
customElement: void 0,
|
|
@@ -3142,7 +3155,7 @@ function No(e, t) {
|
|
|
3142
3155
|
description: void 0,
|
|
3143
3156
|
docsTags: void 0,
|
|
3144
3157
|
demos: void 0,
|
|
3145
|
-
typeParameters:
|
|
3158
|
+
typeParameters: nt(e.typeParameters, !0, t),
|
|
3146
3159
|
superclass: void 0,
|
|
3147
3160
|
supertypes: void 0,
|
|
3148
3161
|
mixins: void 0,
|
|
@@ -3159,32 +3172,32 @@ function No(e, t) {
|
|
|
3159
3172
|
source: void 0,
|
|
3160
3173
|
importPath: void 0
|
|
3161
3174
|
}, s = l;
|
|
3162
|
-
if (
|
|
3175
|
+
if (oi(l, t.jsDoc), a)
|
|
3163
3176
|
t.moduleContext.constructorPropertiesInterface = s;
|
|
3164
3177
|
else {
|
|
3165
3178
|
r.emitAsTypeAlias = !0;
|
|
3166
3179
|
const c = o.isIntersectionTypeNode(n) ? n.types : [n];
|
|
3167
3180
|
for (let p = 0; p < c.length; ++p) {
|
|
3168
|
-
const d =
|
|
3181
|
+
const d = Ct(c[p]);
|
|
3169
3182
|
if (o.isTypeLiteralNode(d))
|
|
3170
|
-
|
|
3183
|
+
hi(s, d.members, i, t);
|
|
3171
3184
|
else if (o.isTypeReferenceNode(d))
|
|
3172
3185
|
s.supertypes ??= [], s.supertypes.push(Ee(d.typeName, d.typeArguments, t));
|
|
3173
3186
|
else if (o.isFunctionTypeNode(d) || o.isConstructorTypeNode(d)) {
|
|
3174
|
-
if (t.jsDoc =
|
|
3175
|
-
t.jsDoc = { ...
|
|
3187
|
+
if (t.jsDoc = Re, s.docsTags !== void 0) {
|
|
3188
|
+
t.jsDoc = { ...Re, docsTags: [] };
|
|
3176
3189
|
for (let m = 0; m < s.docsTags.length; ++m) {
|
|
3177
|
-
const
|
|
3178
|
-
(
|
|
3190
|
+
const u = s.docsTags[m];
|
|
3191
|
+
(u.name === "param" || u.name === "returns") && (t.jsDoc.docsTags.push(u), s.docsTags.splice(m, 1), m -= 1);
|
|
3179
3192
|
}
|
|
3180
3193
|
s.docsTags.length === 0 && (s.docsTags = void 0);
|
|
3181
3194
|
}
|
|
3182
|
-
s.members.push(
|
|
3195
|
+
s.members.push(Co(d, i, void 0, t));
|
|
3183
3196
|
} else
|
|
3184
|
-
|
|
3197
|
+
Ei(s, d, t);
|
|
3185
3198
|
}
|
|
3186
3199
|
}
|
|
3187
|
-
return t.objectLikeTypeParameters = void 0,
|
|
3200
|
+
return t.objectLikeTypeParameters = void 0, vi(
|
|
3188
3201
|
t,
|
|
3189
3202
|
e,
|
|
3190
3203
|
t.config.documentation.copyDocDefinitions.interfaces,
|
|
@@ -3192,19 +3205,19 @@ function No(e, t) {
|
|
|
3192
3205
|
t.apiModule
|
|
3193
3206
|
), s.members.length === 0 && (s.members = void 0), s;
|
|
3194
3207
|
}
|
|
3195
|
-
function
|
|
3208
|
+
function Uo(e, t, n) {
|
|
3196
3209
|
const i = e.initializer, a = i.body;
|
|
3197
3210
|
let r, l;
|
|
3198
3211
|
for (let d = 0; d < a.statements.length; ++d) {
|
|
3199
3212
|
const m = a.statements[d];
|
|
3200
3213
|
if (o.isVariableStatement(m)) {
|
|
3201
|
-
const
|
|
3202
|
-
if (!o.isIdentifier(
|
|
3214
|
+
const u = m.declarationList.declarations[0];
|
|
3215
|
+
if (!o.isIdentifier(u.name) || u.name?.escapedText !== "TypedBase")
|
|
3203
3216
|
continue;
|
|
3204
|
-
let
|
|
3205
|
-
for (; o.isCallExpression(
|
|
3206
|
-
const
|
|
3207
|
-
r ??= [], r.push(Ee(
|
|
3217
|
+
let f = u.initializer.expression.expression;
|
|
3218
|
+
for (; o.isCallExpression(f); ) {
|
|
3219
|
+
const S = f.expression;
|
|
3220
|
+
r ??= [], r.push(Ee(S, f.typeArguments, n)), f = f.arguments[0];
|
|
3208
3221
|
}
|
|
3209
3222
|
} else o.isClassDeclaration(m) && (l = m);
|
|
3210
3223
|
}
|
|
@@ -3215,7 +3228,7 @@ function wo(e, t, n) {
|
|
|
3215
3228
|
});
|
|
3216
3229
|
return;
|
|
3217
3230
|
}
|
|
3218
|
-
|
|
3231
|
+
nt(
|
|
3219
3232
|
// Skip the TBase type parameter - non-public implementation detail
|
|
3220
3233
|
i.typeParameters.length === 1 ? void 0 : i.typeParameters.slice(1),
|
|
3221
3234
|
!0,
|
|
@@ -3227,10 +3240,10 @@ function wo(e, t, n) {
|
|
|
3227
3240
|
node: e
|
|
3228
3241
|
}
|
|
3229
3242
|
), n.mixinName = t, n.mixinMixins = r;
|
|
3230
|
-
const p =
|
|
3243
|
+
const p = Ze(l, n);
|
|
3231
3244
|
return p.kind = "mixin", p;
|
|
3232
3245
|
}
|
|
3233
|
-
function
|
|
3246
|
+
function Vo(e, t, n) {
|
|
3234
3247
|
const i = n.moduleHasClass;
|
|
3235
3248
|
n.moduleHasClass = !1;
|
|
3236
3249
|
const a = o.factory.createClassDeclaration(
|
|
@@ -3243,10 +3256,10 @@ function Uo(e, t, n) {
|
|
|
3243
3256
|
])
|
|
3244
3257
|
],
|
|
3245
3258
|
[]
|
|
3246
|
-
), r =
|
|
3259
|
+
), r = Ze(a, n), l = r, s = ue(l);
|
|
3247
3260
|
return l.kind = "interface", l.supertypes = r.mixins, r.mixins = void 0, r.superclass !== void 0 && (l.supertypes ??= [], l.supertypes.unshift(r.superclass), r.superclass = void 0), n.moduleHasClass = i, s.isMixinBaseClass = !0, l;
|
|
3248
3261
|
}
|
|
3249
|
-
function
|
|
3262
|
+
function Wo(e, t) {
|
|
3250
3263
|
const n = e.declarationList.declarations;
|
|
3251
3264
|
n.length !== 1 && t.emitError("Public variable statements must have only a single variable declarations. Found multiple.", {
|
|
3252
3265
|
file: t.file,
|
|
@@ -3261,26 +3274,26 @@ function Vo(e, t) {
|
|
|
3261
3274
|
return;
|
|
3262
3275
|
}
|
|
3263
3276
|
const r = a.escapedText, l = t.exportDefaultName === r;
|
|
3264
|
-
if (
|
|
3277
|
+
if (tt(e) === 0 && !l && t.config.strict && t.emitError("Expected @public variable to be exported as named or default export.", {
|
|
3265
3278
|
file: t.file,
|
|
3266
3279
|
node: e
|
|
3267
3280
|
}), t.mixinName !== void 0 && i.initializer !== void 0 && o.isCallExpression(i.initializer) && o.isIdentifier(i.initializer.expression) && i.initializer.expression.escapedText === t.mixinName)
|
|
3268
|
-
return
|
|
3281
|
+
return Vo(i.initializer, r, t);
|
|
3269
3282
|
let c = i.type;
|
|
3270
3283
|
const p = (e.declarationList.flags & o.NodeFlags.Const) !== 0;
|
|
3271
3284
|
if (c === void 0) {
|
|
3272
|
-
const
|
|
3273
|
-
if (
|
|
3274
|
-
return
|
|
3275
|
-
|
|
3285
|
+
const f = i.initializer;
|
|
3286
|
+
if (f !== void 0 && o.isArrowFunction(f) && p)
|
|
3287
|
+
return f.typeParameters?.at(0)?.name?.escapedText === "TBase" ? Uo(i, r, t) : Kt(f, r, e, t);
|
|
3288
|
+
f === void 0 ? c = X(
|
|
3276
3289
|
{ file: t.file, node: i },
|
|
3277
3290
|
"Public variable must have a type annotation or a default value",
|
|
3278
3291
|
t
|
|
3279
|
-
) : c =
|
|
3280
|
-
} else if (c =
|
|
3281
|
-
return
|
|
3282
|
-
const d =
|
|
3283
|
-
[
|
|
3292
|
+
) : c = Et(f, p ? O.shallow : O.false, t.file, t);
|
|
3293
|
+
} else if (c = Ct(c), o.isFunctionTypeNode(c))
|
|
3294
|
+
return Kt(c, r, e, t);
|
|
3295
|
+
const d = Oi(), m = {
|
|
3296
|
+
[J]: d,
|
|
3284
3297
|
kind: "variable",
|
|
3285
3298
|
name: r,
|
|
3286
3299
|
deprecated: void 0,
|
|
@@ -3288,40 +3301,40 @@ function Vo(e, t) {
|
|
|
3288
3301
|
description: void 0,
|
|
3289
3302
|
docsTags: void 0,
|
|
3290
3303
|
source: void 0,
|
|
3291
|
-
type:
|
|
3304
|
+
type: j(c, t),
|
|
3292
3305
|
default: void 0
|
|
3293
3306
|
};
|
|
3294
|
-
return
|
|
3307
|
+
return mn(m, t.jsDoc), p && c.kind === o.SyntaxKind.LiteralType || (m.default = $e(i.initializer, m.default, t.file)), go(
|
|
3295
3308
|
t,
|
|
3296
3309
|
e,
|
|
3297
3310
|
t.config.documentation.copyDocDefinitions.variables,
|
|
3298
3311
|
m,
|
|
3299
3312
|
t.apiModule
|
|
3300
|
-
), l && (
|
|
3313
|
+
), l && (Pt(m, !0, t), t.produceDts && (d.isDefaultExported = !0)), m;
|
|
3301
3314
|
}
|
|
3302
|
-
function
|
|
3315
|
+
function Ci(e, t, n) {
|
|
3303
3316
|
const i = n.statementJsDocs[t];
|
|
3304
3317
|
if (i !== void 0) {
|
|
3305
3318
|
if (n.jsDoc = i, o.isClassDeclaration(e))
|
|
3306
|
-
return
|
|
3319
|
+
return Ze(e, n);
|
|
3307
3320
|
if (o.isFunctionDeclaration(e))
|
|
3308
|
-
return
|
|
3321
|
+
return Eo(e, e.name.escapedText, void 0, n);
|
|
3309
3322
|
if (o.isInterfaceDeclaration(e))
|
|
3310
|
-
return
|
|
3323
|
+
return Ze(e, n);
|
|
3311
3324
|
if (o.isTypeAliasDeclaration(e))
|
|
3312
|
-
return
|
|
3325
|
+
return wo(e, n);
|
|
3313
3326
|
if (o.isVariableStatement(e))
|
|
3314
|
-
return
|
|
3327
|
+
return Wo(e, n);
|
|
3315
3328
|
}
|
|
3316
3329
|
}
|
|
3317
|
-
function
|
|
3330
|
+
function _o(e, t) {
|
|
3318
3331
|
const n = t.apiModule.declarations, i = e.statements;
|
|
3319
3332
|
for (let a = 0; a < i.length; ++a) {
|
|
3320
|
-
const r = i[a], l =
|
|
3333
|
+
const r = i[a], l = Ci(r, a, t);
|
|
3321
3334
|
l !== void 0 && n.push(l);
|
|
3322
3335
|
}
|
|
3323
3336
|
}
|
|
3324
|
-
function
|
|
3337
|
+
function Bo(e, t) {
|
|
3325
3338
|
const n = e.fileName.slice(t.config.context.cwd.length), i = t.watchFiles?.get(n);
|
|
3326
3339
|
if (i !== void 0) {
|
|
3327
3340
|
if (i.module !== void 0)
|
|
@@ -3329,142 +3342,144 @@ function _o(e, t) {
|
|
|
3329
3342
|
if (i.isEmptyModule)
|
|
3330
3343
|
return;
|
|
3331
3344
|
}
|
|
3332
|
-
const a = n.slice(t.config.context.basePath.length), r = Z(a), l =
|
|
3345
|
+
const a = n.slice(t.config.context.basePath.length), r = Z(a), l = Ve(r, t, !0), s = t.componentTagName === void 0 ? l : `${l}/customElement`;
|
|
3333
3346
|
t.mixinName = void 0, t.moduleHasClass = !1, t.apiClassLikeName = void 0, t.isInLuminaMinimalExtraction = t.config.context.isLuminaMinimalExtraction;
|
|
3334
3347
|
const c = /* @__PURE__ */ Object.create(null), p = t.localDeclarations;
|
|
3335
3348
|
p.clear();
|
|
3336
3349
|
const d = t.localPrivateDeclarations;
|
|
3337
3350
|
d?.clear(), t.exportDefaultName = void 0;
|
|
3338
3351
|
let m;
|
|
3339
|
-
const
|
|
3352
|
+
const u = {
|
|
3340
3353
|
class: void 0,
|
|
3341
3354
|
default: void 0,
|
|
3342
3355
|
named: /* @__PURE__ */ Object.create(null)
|
|
3343
|
-
},
|
|
3344
|
-
t.moduleContext =
|
|
3345
|
-
const
|
|
3356
|
+
}, f = ti(e, s, c, u);
|
|
3357
|
+
t.moduleContext = f;
|
|
3358
|
+
const S = t.implicitPublicModules?.[l];
|
|
3346
3359
|
let C = !1;
|
|
3347
3360
|
const v = t.isJsApi && l.startsWith("applications/");
|
|
3348
3361
|
t.statementJsDocs.length = 0;
|
|
3349
|
-
for (let
|
|
3350
|
-
const y = e.statements[
|
|
3351
|
-
let
|
|
3362
|
+
for (let b = 0; b < e.statements.length; ++b) {
|
|
3363
|
+
const y = e.statements[b], k = y.kind === o.SyntaxKind.ClassDeclaration || y.kind === o.SyntaxKind.FunctionDeclaration || y.kind === o.SyntaxKind.InterfaceDeclaration || y.kind === o.SyntaxKind.TypeAliasDeclaration || y.kind === o.SyntaxKind.VariableStatement;
|
|
3364
|
+
let D;
|
|
3352
3365
|
if (
|
|
3353
3366
|
// Only look at web components in Lumina's dev server
|
|
3354
3367
|
t.isInLuminaMinimalExtraction
|
|
3355
3368
|
)
|
|
3356
|
-
|
|
3369
|
+
D = y.kind === o.SyntaxKind.ClassDeclaration && t.componentTagName !== void 0 && y.heritageClauses !== void 0 && y.modifiers !== void 0 ? Re : void 0;
|
|
3357
3370
|
else if (k) {
|
|
3358
|
-
if (
|
|
3359
|
-
const
|
|
3371
|
+
if (D = ne(y, !0, t), D === void 0 && !t.config.strict) {
|
|
3372
|
+
const I = ze(y, !1, t, {
|
|
3360
3373
|
description: void 0,
|
|
3361
3374
|
docsTags: []
|
|
3362
|
-
}),
|
|
3363
|
-
|
|
3364
|
-
} else
|
|
3365
|
-
|
|
3366
|
-
|
|
3367
|
-
|
|
3368
|
-
|
|
3375
|
+
}), x = y.kind === o.SyntaxKind.ClassDeclaration && t.componentTagName !== void 0 && y.heritageClauses !== void 0 && y.modifiers !== void 0;
|
|
3376
|
+
I?.docsTags.includes(N.private) === !0 ? x && t.config.context.includeLuminaPrivateComponents ? (D = Ce, t.isInLuminaMinimalExtraction = !0) : D = void 0 : I !== void 0 && (x || S !== void 0 && Nn(y, S)) && (D = I);
|
|
3377
|
+
} else D === void 0 && t.componentTagName !== void 0 && t.config.context.includeLuminaPrivateComponents && y.kind === o.SyntaxKind.ClassDeclaration && // Avoid the following from being falsely considered a component class
|
|
3378
|
+
// https://devtopia.esri.com/WebGIS/arcgis-web-components/blob/223ebb8df0067bf332013a4cfc6032152c14fe58/packages/common-packages/common-components/src/components/ramp-color/ramp-color.tsx#L19-L26
|
|
3379
|
+
y.heritageClauses !== void 0 && y.modifiers !== void 0 && (D = Ce, t.isInLuminaMinimalExtraction = !0);
|
|
3380
|
+
D !== void 0 && !t.config.strict && y.kind === o.SyntaxKind.ClassDeclaration && t.componentTagName !== void 0 && y.heritageClauses !== void 0 && y.modifiers !== void 0 && D.docsTags.includes(N.internal) && (C = !0);
|
|
3381
|
+
}
|
|
3382
|
+
if (t.statementJsDocs[b] = D, k || b === 0 && (m = ne(e, !0, t)), D !== void 0)
|
|
3383
|
+
v && D.docsTags.push(N.internal), p.add(
|
|
3369
3384
|
(y.name ?? y.declarationList?.declarations[0].name).escapedText
|
|
3370
3385
|
), y.kind === o.SyntaxKind.ClassDeclaration ? t.apiClassLikeName = y.name?.escapedText : y.kind === o.SyntaxKind.VariableStatement && y.declarationList.declarations[0].initializer?.kind === o.SyntaxKind.ArrowFunction && (t.apiClassLikeName = y.declarationList.declarations[0].name.escapedText);
|
|
3371
3386
|
else if (o.isImportDeclaration(y)) {
|
|
3372
|
-
const
|
|
3373
|
-
if (
|
|
3387
|
+
const I = y.importClause;
|
|
3388
|
+
if (I === void 0)
|
|
3374
3389
|
continue;
|
|
3375
|
-
const
|
|
3376
|
-
if (Rn(y, t),
|
|
3377
|
-
const E =
|
|
3390
|
+
const x = y.moduleSpecifier.text, g = !x.startsWith("."), K = g ? x : Z(x), w = g ? void 0 : Ve(pt(r, K), t), $ = w === void 0 ? void 0 : t.config.types.typeReplacements[w];
|
|
3391
|
+
if (Rn(y, t), I.name !== void 0) {
|
|
3392
|
+
const E = I.name.escapedText, T = $?.[E], R = T?.[1], A = T?.[0] ?? w;
|
|
3378
3393
|
c[E] = {
|
|
3379
|
-
type:
|
|
3380
|
-
modulePath:
|
|
3381
|
-
|
|
3382
|
-
replacementName:
|
|
3394
|
+
type: T?.[2] ?? "default",
|
|
3395
|
+
modulePath: A,
|
|
3396
|
+
rawSpecifier: x,
|
|
3397
|
+
replacementName: R,
|
|
3383
3398
|
actualName: void 0,
|
|
3384
3399
|
wasUsed: !1
|
|
3385
3400
|
};
|
|
3386
3401
|
}
|
|
3387
|
-
const
|
|
3388
|
-
if (
|
|
3402
|
+
const B = I.namedBindings;
|
|
3403
|
+
if (B === void 0)
|
|
3389
3404
|
continue;
|
|
3390
|
-
if (
|
|
3391
|
-
const E =
|
|
3405
|
+
if (B.kind === o.SyntaxKind.NamespaceImport) {
|
|
3406
|
+
const E = B.name.escapedText, T = $?.[E], R = T?.[1], A = T?.[0] ?? w;
|
|
3392
3407
|
c[E] = {
|
|
3393
3408
|
type: "*",
|
|
3394
|
-
modulePath:
|
|
3395
|
-
|
|
3396
|
-
replacementName:
|
|
3409
|
+
modulePath: A,
|
|
3410
|
+
rawSpecifier: x,
|
|
3411
|
+
replacementName: R,
|
|
3397
3412
|
actualName: void 0,
|
|
3398
3413
|
wasUsed: !1
|
|
3399
3414
|
};
|
|
3400
3415
|
} else
|
|
3401
|
-
for (let E = 0; E <
|
|
3402
|
-
const
|
|
3416
|
+
for (let E = 0; E < B.elements.length; ++E) {
|
|
3417
|
+
const T = B.elements[E], R = T.propertyName === void 0 ? void 0 : T.propertyName.escapedText ?? T.propertyName.text, A = T.name.escapedText, H = $?.[R ?? A], V = H?.[1], G = H?.[0] ?? w;
|
|
3403
3418
|
c[A] = {
|
|
3404
|
-
type:
|
|
3405
|
-
modulePath:
|
|
3406
|
-
|
|
3407
|
-
replacementName:
|
|
3408
|
-
actualName:
|
|
3419
|
+
type: H?.[2] ?? "named",
|
|
3420
|
+
modulePath: G,
|
|
3421
|
+
rawSpecifier: x,
|
|
3422
|
+
replacementName: V,
|
|
3423
|
+
actualName: H === void 0 ? R : void 0,
|
|
3409
3424
|
wasUsed: !1
|
|
3410
3425
|
};
|
|
3411
3426
|
}
|
|
3412
3427
|
} else if (o.isExportAssignment(y)) {
|
|
3413
3428
|
if (o.isIdentifier(y.expression)) {
|
|
3414
|
-
const
|
|
3415
|
-
t.exportDefaultName =
|
|
3429
|
+
const I = y.expression.escapedText;
|
|
3430
|
+
t.exportDefaultName = I, !p.has(I) && d?.has(I) === !0 && S?.pendingNames?.has("default") === !0 && d.set(I, Math.abs(d.get(I)));
|
|
3416
3431
|
}
|
|
3417
3432
|
} else if (o.isExportDeclaration(y) && y.moduleSpecifier !== void 0 && !t.isInLuminaMinimalExtraction) {
|
|
3418
|
-
if (
|
|
3419
|
-
const
|
|
3420
|
-
|
|
3421
|
-
const
|
|
3433
|
+
if (ne(y, !0, t) !== void 0) {
|
|
3434
|
+
const x = y.moduleSpecifier.text, g = !x.startsWith("."), K = g ? x : pt(r, Z(x)), w = g ? void 0 : Ve(K, t);
|
|
3435
|
+
f.reExports ??= [];
|
|
3436
|
+
const $ = [];
|
|
3422
3437
|
if (y.exportClause?.kind === o.SyntaxKind.NamedExports) {
|
|
3423
|
-
const
|
|
3424
|
-
for (let
|
|
3425
|
-
const
|
|
3426
|
-
|
|
3427
|
-
exportName:
|
|
3428
|
-
aliasName:
|
|
3438
|
+
const B = y.exportClause.elements;
|
|
3439
|
+
for (let E = 0; E < B.length; ++E) {
|
|
3440
|
+
const T = B[E], R = De(T.name), A = T.propertyName === void 0 ? void 0 : De(T.propertyName), H = A ?? R, V = A === void 0 ? void 0 : R;
|
|
3441
|
+
$.push({
|
|
3442
|
+
exportName: H,
|
|
3443
|
+
aliasName: V,
|
|
3429
3444
|
isTypeOnly: y.isTypeOnly
|
|
3430
|
-
}), !t.config.strict &&
|
|
3445
|
+
}), !t.config.strict && w !== void 0 && je(w, K, H, t);
|
|
3431
3446
|
}
|
|
3432
3447
|
} else
|
|
3433
|
-
|
|
3448
|
+
$.push({
|
|
3434
3449
|
exportName: "*",
|
|
3435
|
-
aliasName: y.exportClause === void 0 ? void 0 :
|
|
3450
|
+
aliasName: y.exportClause === void 0 ? void 0 : De(y.exportClause.name),
|
|
3436
3451
|
isTypeOnly: !1
|
|
3437
|
-
}), !t.config.strict &&
|
|
3438
|
-
|
|
3439
|
-
modulePath:
|
|
3440
|
-
|
|
3452
|
+
}), !t.config.strict && w !== void 0 && je(w, K, "*", t);
|
|
3453
|
+
f.reExports.push({
|
|
3454
|
+
modulePath: w,
|
|
3455
|
+
externalSpecifier: g ? x : void 0,
|
|
3441
3456
|
isTypeOnly: y.isTypeOnly,
|
|
3442
|
-
specifiers:
|
|
3457
|
+
specifiers: $
|
|
3443
3458
|
});
|
|
3444
3459
|
}
|
|
3445
|
-
} else o.isModuleDeclaration(y) ?
|
|
3460
|
+
} else o.isModuleDeclaration(y) ? ne(y, !0, t) !== void 0 && (f.namespaces ??= [], f.namespaces.push(y.getFullText(e))) : d !== void 0 && k && d.set(
|
|
3446
3461
|
(y.name ?? y.declarationList?.declarations[0].name).escapedText,
|
|
3447
|
-
-
|
|
3462
|
+
-b
|
|
3448
3463
|
);
|
|
3449
3464
|
}
|
|
3450
3465
|
const P = t.config.types.typeReplacements[l];
|
|
3451
3466
|
if (P !== void 0) {
|
|
3452
|
-
const
|
|
3453
|
-
for (let y = 0; y <
|
|
3454
|
-
const k =
|
|
3467
|
+
const b = Object.keys(P);
|
|
3468
|
+
for (let y = 0; y < b.length; ++y) {
|
|
3469
|
+
const k = b[y], D = P[k];
|
|
3455
3470
|
c[k] = {
|
|
3456
|
-
type:
|
|
3457
|
-
modulePath:
|
|
3458
|
-
|
|
3459
|
-
replacementName:
|
|
3471
|
+
type: D[2],
|
|
3472
|
+
modulePath: D[0],
|
|
3473
|
+
rawSpecifier: "",
|
|
3474
|
+
replacementName: D[1],
|
|
3460
3475
|
actualName: void 0,
|
|
3461
3476
|
wasUsed: !1
|
|
3462
3477
|
};
|
|
3463
3478
|
}
|
|
3464
3479
|
}
|
|
3465
|
-
t.moduleHasAccessorLikeClass = c.subclass?.
|
|
3480
|
+
t.moduleHasAccessorLikeClass = c.subclass?.rawSpecifier.includes("accessorSupport") ?? !1;
|
|
3466
3481
|
const h = {
|
|
3467
|
-
[
|
|
3482
|
+
[J]: f,
|
|
3468
3483
|
kind: "javascript-module",
|
|
3469
3484
|
path: l,
|
|
3470
3485
|
sourcePath: n,
|
|
@@ -3475,41 +3490,41 @@ function _o(e, t) {
|
|
|
3475
3490
|
declarations: [],
|
|
3476
3491
|
exports: []
|
|
3477
3492
|
};
|
|
3478
|
-
if (t.apiModule = h,
|
|
3479
|
-
let
|
|
3493
|
+
if (t.apiModule = h, _o(e, t), d !== void 0) {
|
|
3494
|
+
let b = !1;
|
|
3480
3495
|
do {
|
|
3481
|
-
|
|
3496
|
+
b = !1;
|
|
3482
3497
|
for (const [y, k] of d)
|
|
3483
3498
|
if (k > 0 || Object.is(k, 0)) {
|
|
3484
|
-
d.delete(y), p.add(y),
|
|
3485
|
-
const
|
|
3499
|
+
d.delete(y), p.add(y), b = !0;
|
|
3500
|
+
const D = e.statements[k], I = ze(D, !1, t, {
|
|
3486
3501
|
description: void 0,
|
|
3487
3502
|
docsTags: []
|
|
3488
3503
|
});
|
|
3489
|
-
if (
|
|
3504
|
+
if (I === void 0)
|
|
3490
3505
|
continue;
|
|
3491
|
-
if (
|
|
3506
|
+
if (I.docsTags.includes(N.private))
|
|
3492
3507
|
t.emitError(
|
|
3493
3508
|
`Declaration "${y}" is marked @private but is used by public API in the same file. Either refactor our its reference or remove the @private tag.`,
|
|
3494
3509
|
{
|
|
3495
3510
|
file: e,
|
|
3496
|
-
node:
|
|
3511
|
+
node: D
|
|
3497
3512
|
}
|
|
3498
3513
|
);
|
|
3499
3514
|
else {
|
|
3500
|
-
C && !
|
|
3501
|
-
const
|
|
3502
|
-
|
|
3515
|
+
C && !I.docsTags.includes(N.internal) && I.docsTags.push(N.internal), t.statementJsDocs[k] = I;
|
|
3516
|
+
const g = Ci(D, k, t);
|
|
3517
|
+
g !== void 0 && h.declarations.push(g);
|
|
3503
3518
|
}
|
|
3504
3519
|
}
|
|
3505
|
-
} while (
|
|
3520
|
+
} while (b);
|
|
3506
3521
|
}
|
|
3507
|
-
if (h.declarations.length === 0 &&
|
|
3522
|
+
if (h.declarations.length === 0 && f.reExports === void 0 && f.namespaces === void 0) {
|
|
3508
3523
|
i !== void 0 && (i.isEmptyModule = !0);
|
|
3509
3524
|
return;
|
|
3510
3525
|
}
|
|
3511
3526
|
t.moduleMap.set(l, h), t.watchFiles !== void 0 && (i === void 0 ? t.watchFiles.set(h.sourcePath, {
|
|
3512
|
-
file:
|
|
3527
|
+
file: f.file,
|
|
3513
3528
|
module: h,
|
|
3514
3529
|
previousModule: void 0,
|
|
3515
3530
|
isEmptyModule: !1,
|
|
@@ -3519,11 +3534,11 @@ function _o(e, t) {
|
|
|
3519
3534
|
hasDirtyLinks: !1,
|
|
3520
3535
|
wasRemoved: !1
|
|
3521
3536
|
}) : i.module = h);
|
|
3522
|
-
const
|
|
3537
|
+
const L = t.componentTagName === void 0 ? h.exports[0]?.declaration.name : void 0;
|
|
3523
3538
|
h.exports.length === 0 && (h.exports = void 0);
|
|
3524
|
-
for (let
|
|
3525
|
-
const y = h.declarations[
|
|
3526
|
-
(y.kind === "class" || y.kind === "mixin") && (
|
|
3539
|
+
for (let b = 0; b < h.declarations.length; ++b) {
|
|
3540
|
+
const y = h.declarations[b];
|
|
3541
|
+
(y.kind === "class" || y.kind === "mixin") && (u.class = y), L === y.name && (u.default = y), u.named[y.name] = y;
|
|
3527
3542
|
}
|
|
3528
3543
|
return m !== void 0 && (t.moduleHasClass ? t.emitError(
|
|
3529
3544
|
"A module that exports a class must have JSDoc attached to the class, rather than module-top JSDoc. See https://webgis.esri.com/references/api-extractor/api-node-kinds#module-level-documentation",
|
|
@@ -3533,55 +3548,55 @@ function _o(e, t) {
|
|
|
3533
3548
|
length: e.statements[0]?.getStart(e) ?? 1,
|
|
3534
3549
|
node: void 0
|
|
3535
3550
|
}
|
|
3536
|
-
) : (v && m.docsTags.push(
|
|
3551
|
+
) : (v && m.docsTags.push(N.internal), cn(h, m))), h;
|
|
3537
3552
|
}
|
|
3538
|
-
async function
|
|
3553
|
+
async function Ca(e) {
|
|
3539
3554
|
const t = [], n = e.basePath, i = e.config.context.excludedDirectories, a = `${e.basePath}components/`, r = [], l = !e.config.strict || e.config.context.includeLuminaPrivateComponents;
|
|
3540
3555
|
e.componentPathMapping = /* @__PURE__ */ Object.create(null);
|
|
3541
|
-
const s = e.isComponentProject ? (m) =>
|
|
3556
|
+
const s = e.isComponentProject ? (m) => Hi(m, a) : () => !1, c = e.isComponentProject ? p : d;
|
|
3542
3557
|
if (e.program === void 0)
|
|
3543
3558
|
await xi(n, i, async (m) => {
|
|
3544
|
-
if (
|
|
3559
|
+
if (Pi(m))
|
|
3545
3560
|
return;
|
|
3546
|
-
const
|
|
3561
|
+
const u = await Lt(m);
|
|
3547
3562
|
if (m.includes(".stories.")) {
|
|
3548
|
-
const C =
|
|
3549
|
-
|
|
3563
|
+
const C = u.toString("utf8");
|
|
3564
|
+
Vt(C, m, e);
|
|
3550
3565
|
return;
|
|
3551
3566
|
}
|
|
3552
|
-
const
|
|
3553
|
-
if (
|
|
3554
|
-
|
|
3555
|
-
const C =
|
|
3556
|
-
c(v,
|
|
3567
|
+
const f = s(m);
|
|
3568
|
+
if (f && l || // Exclude files before paying .toString() cost
|
|
3569
|
+
u.includes(zo) && (u.includes(jo) || u.includes(Jo))) {
|
|
3570
|
+
const C = u.toString("utf8"), v = Xt(m, C);
|
|
3571
|
+
c(v, f);
|
|
3557
3572
|
}
|
|
3558
3573
|
});
|
|
3559
3574
|
else {
|
|
3560
3575
|
const m = e.program.getSourceFiles();
|
|
3561
|
-
for (let
|
|
3562
|
-
const
|
|
3563
|
-
if (!
|
|
3576
|
+
for (let u = 0; u < m.length; ++u) {
|
|
3577
|
+
const f = m[u], S = f.fileName;
|
|
3578
|
+
if (!Ko(S, e))
|
|
3564
3579
|
continue;
|
|
3565
|
-
if (
|
|
3566
|
-
|
|
3580
|
+
if (S.includes(".stories.")) {
|
|
3581
|
+
Vt(f.text, S, e);
|
|
3567
3582
|
continue;
|
|
3568
3583
|
}
|
|
3569
|
-
const C = s(
|
|
3570
|
-
(C && l ||
|
|
3584
|
+
const C = s(S);
|
|
3585
|
+
(C && l || f.text.includes(bi) || f.text.includes(Mi)) && c(f, C);
|
|
3571
3586
|
}
|
|
3572
3587
|
}
|
|
3573
|
-
function p(m,
|
|
3588
|
+
function p(m, u) {
|
|
3574
3589
|
r.push(m);
|
|
3575
|
-
const
|
|
3576
|
-
if (
|
|
3577
|
-
const
|
|
3578
|
-
|
|
3590
|
+
const f = u ? $i(m.text)?.[0] : void 0;
|
|
3591
|
+
if (f !== void 0) {
|
|
3592
|
+
const S = m.fileName.slice(e.basePath.length);
|
|
3593
|
+
zi(f, e, S);
|
|
3579
3594
|
}
|
|
3580
3595
|
}
|
|
3581
3596
|
function d(m) {
|
|
3582
3597
|
e.file = m;
|
|
3583
|
-
const
|
|
3584
|
-
|
|
3598
|
+
const u = Bo(m, e);
|
|
3599
|
+
u !== void 0 && t.push(u);
|
|
3585
3600
|
}
|
|
3586
3601
|
for (let m = 0; m < r.length; ++m)
|
|
3587
3602
|
d(r[m]);
|
|
@@ -3589,16 +3604,16 @@ async function Ea(e) {
|
|
|
3589
3604
|
let m = !1;
|
|
3590
3605
|
do {
|
|
3591
3606
|
m = !1;
|
|
3592
|
-
for (const
|
|
3593
|
-
const
|
|
3594
|
-
if (
|
|
3607
|
+
for (const u in e.implicitPublicModules) {
|
|
3608
|
+
const f = e.implicitPublicModules[u], S = f.actualModulePath ?? u, C = e.moduleMap.get(S);
|
|
3609
|
+
if (f.extractedNames === void 0)
|
|
3595
3610
|
continue;
|
|
3596
|
-
if (
|
|
3597
|
-
const
|
|
3598
|
-
let y = !(
|
|
3599
|
-
const k = C === void 0 ? void 0 :
|
|
3600
|
-
for (const
|
|
3601
|
-
if (!
|
|
3611
|
+
if (f.pendingNames !== void 0) {
|
|
3612
|
+
const L = e.watchFiles?.get(e.config.context.basePath + f.sourcePath);
|
|
3613
|
+
let y = !(L !== void 0 && L.module === void 0 && !L.isEmptyModule);
|
|
3614
|
+
const k = C === void 0 ? void 0 : me(C).index;
|
|
3615
|
+
for (const D of f.pendingNames)
|
|
3616
|
+
if (!f.extractedNames.has(D) && (k === void 0 || (D === "default" ? k.default === void 0 : k.named[D] === void 0))) {
|
|
3602
3617
|
y = !1;
|
|
3603
3618
|
break;
|
|
3604
3619
|
}
|
|
@@ -3607,29 +3622,36 @@ async function Ea(e) {
|
|
|
3607
3622
|
}
|
|
3608
3623
|
if (C !== void 0) {
|
|
3609
3624
|
t.splice(t.indexOf(C), 1);
|
|
3610
|
-
const
|
|
3611
|
-
|
|
3625
|
+
const L = e.watchFiles?.get(C.sourcePath);
|
|
3626
|
+
L !== void 0 && (L.module = void 0);
|
|
3627
|
+
}
|
|
3628
|
+
m = !0, f.extractedNames = f.pendingNames === void 0 ? void 0 : new Set(f.pendingNames);
|
|
3629
|
+
let v = e.basePath + f.sourcePath, P = !1, h = e.program?.getSourceFile(v) ?? e.program?.getSourceFile(`${v}.ts`) ?? e.program?.getSourceFile(`${v}.tsx`) ?? e.program?.getSourceFile(`${v}.d.ts`);
|
|
3630
|
+
if (h === void 0 && (h = e.program?.getSourceFile(`${v}/index.ts`) ?? e.program?.getSourceFile(`${v}/index.tsx`) ?? e.program?.getSourceFile(`${v}/index.d.ts`), h !== void 0 && (P = !0)), e.program === void 0) {
|
|
3631
|
+
if (Z(v) === v) {
|
|
3632
|
+
const b = v;
|
|
3633
|
+
v = ye(`${b}.ts`) ? `${b}.ts` : ye(`${b}.tsx`) ? `${b}.tsx` : ye(`${b}.d.ts`) ? `${b}.d.ts` : void 0, v === void 0 && (v = ye(`${b}/index.ts`) ? `${b}/index.ts` : ye(`${b}/index.tsx`) ? `${b}/index.tsx` : ye(`${b}/index.d.ts`) ? `${b}/index.d.ts` : void 0, v !== void 0 && (P = !0));
|
|
3634
|
+
}
|
|
3635
|
+
v !== void 0 && (h = Xt(v, await Lt(v, "utf8")));
|
|
3612
3636
|
}
|
|
3613
|
-
|
|
3614
|
-
|
|
3615
|
-
|
|
3616
|
-
const R = h.fileName.slice(e.basePath.length);
|
|
3617
|
-
R !== u.sourcePath && (u.sourcePath = R), P && (u.actualModulePath = `${g}/index`), d(h);
|
|
3637
|
+
if (h !== void 0) {
|
|
3638
|
+
const L = h.fileName.slice(e.basePath.length);
|
|
3639
|
+
L !== f.sourcePath && (f.sourcePath = L), P && (f.actualModulePath = `${S}/index`), d(h);
|
|
3618
3640
|
}
|
|
3619
3641
|
}
|
|
3620
3642
|
} while (m);
|
|
3621
3643
|
}
|
|
3622
3644
|
return t;
|
|
3623
3645
|
}
|
|
3624
|
-
const
|
|
3646
|
+
const Ko = (e, t) => Ho(e) && $o(e, t), Ho = (e) => (e.endsWith(".ts") || e.endsWith(".tsx")) && !Pi(e), Pi = (e) => e.includes("__test") || e.includes(".e2e.") || e.includes(".spec.") || e.includes(".test."), $o = (e, t) => e.startsWith(t.basePath) && !t.config.context.excludedDirectories.has(
|
|
3625
3647
|
En(e.slice(t.basePath.length))
|
|
3626
|
-
) && !e.includes("node_modules"),
|
|
3627
|
-
async function
|
|
3628
|
-
await
|
|
3648
|
+
) && !e.includes("node_modules"), Qt = 32, zo = 64, bi = "@public", jo = Buffer.from(bi), Mi = "@internal", Jo = Buffer.from(Mi);
|
|
3649
|
+
async function Pa(e) {
|
|
3650
|
+
await Yt(e) && await xi(e, /* @__PURE__ */ new Set(), Ki);
|
|
3629
3651
|
}
|
|
3630
3652
|
async function xi(e, t, n) {
|
|
3631
3653
|
const i = [], a = [];
|
|
3632
|
-
for await (const d of await
|
|
3654
|
+
for await (const d of await It(e)) {
|
|
3633
3655
|
const m = `${e}${d.name}`;
|
|
3634
3656
|
d.isDirectory() && !t.has(d.name) ? a.push(m) : (d.name.endsWith(".ts") || d.name.endsWith(".tsx")) && i.push(m);
|
|
3635
3657
|
}
|
|
@@ -3637,15 +3659,15 @@ async function xi(e, t, n) {
|
|
|
3637
3659
|
function s(d) {
|
|
3638
3660
|
l.reject(d), r.length = 0;
|
|
3639
3661
|
}
|
|
3640
|
-
let c =
|
|
3641
|
-
for (let d = 0; d <
|
|
3662
|
+
let c = Qt;
|
|
3663
|
+
for (let d = 0; d < Qt; ++d)
|
|
3642
3664
|
p().catch(s);
|
|
3643
3665
|
async function p() {
|
|
3644
3666
|
for (; ; )
|
|
3645
3667
|
if (r.length === 0 && a.length > 0) {
|
|
3646
3668
|
const d = a.shift(), m = [];
|
|
3647
|
-
for await (const
|
|
3648
|
-
|
|
3669
|
+
for await (const u of await It(d, { recursive: !0 }))
|
|
3670
|
+
u.isFile() && (u.name.endsWith(".ts") || u.name.endsWith(".tsx")) && m.push(`${Ri(u.parentPath)}/${u.name}`);
|
|
3649
3671
|
if (m.length === 0)
|
|
3650
3672
|
continue;
|
|
3651
3673
|
r.push(m);
|
|
@@ -3659,7 +3681,7 @@ async function xi(e, t, n) {
|
|
|
3659
3681
|
}
|
|
3660
3682
|
return await l.promise;
|
|
3661
3683
|
}
|
|
3662
|
-
function
|
|
3684
|
+
function Xt(e, t) {
|
|
3663
3685
|
return o.createSourceFile(
|
|
3664
3686
|
e,
|
|
3665
3687
|
t,
|
|
@@ -3678,22 +3700,22 @@ function Yt(e, t) {
|
|
|
3678
3700
|
);
|
|
3679
3701
|
}
|
|
3680
3702
|
export {
|
|
3681
|
-
|
|
3703
|
+
Sn as a,
|
|
3682
3704
|
ga as b,
|
|
3683
|
-
|
|
3684
|
-
|
|
3685
|
-
|
|
3686
|
-
|
|
3687
|
-
|
|
3688
|
-
|
|
3689
|
-
|
|
3690
|
-
|
|
3691
|
-
|
|
3692
|
-
|
|
3693
|
-
|
|
3694
|
-
|
|
3695
|
-
|
|
3696
|
-
|
|
3697
|
-
|
|
3698
|
-
|
|
3705
|
+
Pa as c,
|
|
3706
|
+
Ta as d,
|
|
3707
|
+
Ca as e,
|
|
3708
|
+
ha as f,
|
|
3709
|
+
Ho as g,
|
|
3710
|
+
$o as h,
|
|
3711
|
+
Ko as i,
|
|
3712
|
+
Pi as j,
|
|
3713
|
+
Xt as k,
|
|
3714
|
+
ya as l,
|
|
3715
|
+
va as m,
|
|
3716
|
+
Ot as n,
|
|
3717
|
+
Ft as o,
|
|
3718
|
+
Sa as p,
|
|
3719
|
+
fa as r,
|
|
3720
|
+
Ea as t
|
|
3699
3721
|
};
|