@arcgis/api-extractor 5.2.0-next.8 → 5.2.0-next.9
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-CZigdkl0.js → ApiExtractor-tnoeQpFa.js} +251 -254
- package/dist/extractor/ApiExtractor.js +3 -3
- package/dist/extractor/config.js +2 -2
- package/dist/{typeScript-NcS8rwl-.js → typeScript-DewdSAUb.js} +1 -1
- package/dist/utils/apiHelpers.d.ts +3 -0
- package/dist/vite/plugin.js +3 -3
- package/dist/vite/typeScript.js +1 -1
- package/dist/{worker-BNdRo3Yw.js → worker-BHro8ICj.js} +955 -939
- 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-DewdSAUb.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
|
|
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
16
|
import { identity as Se } from "@arcgis/toolkit/function";
|
|
17
|
-
import { pathToFileURL as
|
|
18
|
-
import
|
|
19
|
-
import { getWidenedLiteralType as
|
|
20
|
-
const
|
|
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
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 fa(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 fa(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,
|
|
@@ -78,11 +78,11 @@ function fa(e) {
|
|
|
78
78
|
afterDiagnostic: n?.afterDiagnostic ?? Se,
|
|
79
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 fa(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,
|
|
@@ -115,17 +115,17 @@ function fa(e) {
|
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
117
|
async function ya(e, t) {
|
|
118
|
-
const n = t !== void 0, i = e ?? process.cwd(), a =
|
|
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
|
}
|
|
@@ -150,8 +150,8 @@ function va(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,20 +179,20 @@ function va(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
|
|
191
|
+
function Oe(e, t) {
|
|
192
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
|
-
function
|
|
195
|
+
function Te(e) {
|
|
196
196
|
const t = [], n = e, i = e;
|
|
197
197
|
if (e.deprecated && t.push({
|
|
198
198
|
name: "deprecated",
|
|
@@ -222,25 +222,25 @@ function he(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 he(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)}
|
|
@@ -540,7 +540,7 @@ export abstract class __FeatureLayerSansType extends FeatureLayerSuperclass {`;
|
|
|
540
540
|
`, r = e.indexOf(a);
|
|
541
541
|
return r === -1 ? (n.emitError(
|
|
542
542
|
`Hardcoded behavior error: Expected .d.ts for ${t.path} to include "${a}".`,
|
|
543
|
-
{ file:
|
|
543
|
+
{ file: me(t).file, node: void 0 }
|
|
544
544
|
), e) : i + e.slice(0, r) + `extends __FeatureLayerSansType {
|
|
545
545
|
` + e.slice(r + a.length);
|
|
546
546
|
}
|
|
@@ -561,31 +561,31 @@ export namespace tsx {
|
|
|
561
561
|
return e;
|
|
562
562
|
}
|
|
563
563
|
}
|
|
564
|
-
function
|
|
564
|
+
function Sa(e, t) {
|
|
565
565
|
let n = `/// <reference types="../index.d.ts" />
|
|
566
566
|
`, i = `
|
|
567
567
|
|
|
568
|
-
`, a = "", r = "", l = "", s = "", c = "", p = "", d = "", m = "",
|
|
569
|
-
for (let
|
|
570
|
-
const
|
|
571
|
-
for (let A = 0; A <
|
|
572
|
-
const
|
|
573
|
-
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)
|
|
574
574
|
continue;
|
|
575
|
-
const
|
|
576
|
-
if (
|
|
575
|
+
const V = H;
|
|
576
|
+
if (V.privacy !== void 0 || ue(V).hasExplicitAbstract === !0)
|
|
577
577
|
continue;
|
|
578
|
-
const { name: G, tagName:
|
|
579
|
-
i += `import type { ${G} } from "./${
|
|
580
|
-
`, 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";
|
|
581
581
|
`;
|
|
582
|
-
const [
|
|
582
|
+
const [fe, ke] = yn(V.name, V.members);
|
|
583
583
|
let te = "", q = "";
|
|
584
|
-
if (
|
|
585
|
-
for (let
|
|
586
|
-
const
|
|
587
|
-
te += ` ${
|
|
588
|
-
`, 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};
|
|
589
589
|
`;
|
|
590
590
|
}
|
|
591
591
|
a += `export interface ${F}CustomEvent<T> extends CustomEvent<T> {
|
|
@@ -598,24 +598,24 @@ function ga(e, t) {
|
|
|
598
598
|
}
|
|
599
599
|
r += ` type HTML${F}Element = ${G};
|
|
600
600
|
|
|
601
|
-
`, l += ` "${
|
|
602
|
-
`, s += `interface Lumina${F} extends ${
|
|
601
|
+
`, l += ` "${U}": ${G};
|
|
602
|
+
`, s += `interface Lumina${F} extends ${fe}h.JSX.HTMLAttributes<${G}> {
|
|
603
603
|
${te}}
|
|
604
604
|
|
|
605
|
-
`, c += ` "${
|
|
606
|
-
`, p += `interface Preact${F} extends ${
|
|
605
|
+
`, c += ` "${U}": Lumina${F};
|
|
606
|
+
`, p += `interface Preact${F} extends ${fe}HTMLAttributes<${G}> {
|
|
607
607
|
${te}}
|
|
608
608
|
|
|
609
|
-
`, d += ` "${
|
|
610
|
-
`, m += `interface React${F} extends ${
|
|
609
|
+
`, d += ` "${U}": Preact${F};
|
|
610
|
+
`, m += `interface React${F} extends ${fe}HTMLProps<${G}> {
|
|
611
611
|
${te}}
|
|
612
612
|
|
|
613
|
-
`,
|
|
614
|
-
`,
|
|
613
|
+
`, u += ` "${U}": React${F};
|
|
614
|
+
`, f += `interface Stencil${F} extends ${fe}StencilJsx.HTMLAttributes<${G}> {
|
|
615
615
|
${q}}
|
|
616
616
|
|
|
617
|
-
`,
|
|
618
|
-
`,
|
|
617
|
+
`, S += ` "${U}": Stencil${F};
|
|
618
|
+
`, ke !== "" && (C += ke);
|
|
619
619
|
}
|
|
620
620
|
}
|
|
621
621
|
if (r === "") {
|
|
@@ -638,39 +638,39 @@ ${r}
|
|
|
638
638
|
const P = `import "./index.js";
|
|
639
639
|
export declare const defineCustomElements: import("${v}").DefineCustomElements;`, h = `${t.config.context.dtsEmitPath}loader.d.ts`;
|
|
640
640
|
t.dtsFiles.set(h, P);
|
|
641
|
-
const
|
|
641
|
+
const L = `${n}import type { h, EventHandler } from "${v}";
|
|
642
642
|
|
|
643
643
|
${C}${s}declare module "@arcgis/lumina" {
|
|
644
644
|
export namespace h.JSX {
|
|
645
645
|
interface IntrinsicElements {
|
|
646
646
|
${c} }
|
|
647
647
|
}
|
|
648
|
-
}`,
|
|
648
|
+
}`, b = ` interface IntrinsicElements {
|
|
649
649
|
${d} }`, y = `${n}import { HTMLAttributes } from "preact";
|
|
650
650
|
import type { EventHandler } from "${v}";
|
|
651
651
|
|
|
652
652
|
${C}${p}declare module 'preact' {
|
|
653
653
|
namespace createElement.JSX {
|
|
654
|
-
${
|
|
654
|
+
${b}
|
|
655
655
|
}
|
|
656
656
|
namespace h.JSX {
|
|
657
|
-
${
|
|
657
|
+
${b}
|
|
658
658
|
}
|
|
659
659
|
}`, k = `
|
|
660
660
|
namespace JSX {
|
|
661
661
|
interface IntrinsicElements {
|
|
662
|
-
${
|
|
662
|
+
${u} }
|
|
663
663
|
}
|
|
664
|
-
`,
|
|
664
|
+
`, D = `${n}import type { HTMLProps } from 'react';
|
|
665
665
|
import type { EventHandler } from "${v}";
|
|
666
666
|
|
|
667
667
|
${C}${m}declare module "react" {${k}}
|
|
668
668
|
declare module "react/jsx-runtime" {${k}}
|
|
669
|
-
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";
|
|
670
670
|
import type { EventHandler } from "${v}";
|
|
671
671
|
|
|
672
|
-
${C}${
|
|
673
|
-
${
|
|
672
|
+
${C}${f}interface ExposedElements {
|
|
673
|
+
${S}}
|
|
674
674
|
|
|
675
675
|
export namespace JSX {
|
|
676
676
|
export interface IntrinsicElements extends ExposedElements {}
|
|
@@ -681,10 +681,10 @@ declare module "@stencil/core/internal/stencil-public-runtime" {
|
|
|
681
681
|
interface IntrinsicElements extends ExposedElements {}
|
|
682
682
|
}
|
|
683
683
|
}`, x = `/** @deprecated import from stencil.d.ts instead */
|
|
684
|
-
export * from "./stencil.js";`,
|
|
685
|
-
t.dtsFiles.set(
|
|
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);
|
|
686
686
|
}
|
|
687
|
-
function
|
|
687
|
+
function yn(e, t) {
|
|
688
688
|
const n = [], i = [];
|
|
689
689
|
let a = !1;
|
|
690
690
|
if (t !== void 0)
|
|
@@ -696,25 +696,25 @@ function vn(e, t) {
|
|
|
696
696
|
a = !0;
|
|
697
697
|
continue;
|
|
698
698
|
}
|
|
699
|
-
c.docsTags?.includes(
|
|
699
|
+
c.docsTags?.includes(N.required) === !0 ? n.push(`"${c.name}"`) : i.push(`"${c.name}"`);
|
|
700
700
|
}
|
|
701
701
|
let r = n.length > 0 ? `Required<Pick<${e}, ${n.join(" | ")}>>` : "";
|
|
702
702
|
i.length > 0 && (r.length > 0 && (r += ", "), r += `Partial<Pick<${e}, ${i.join(" | ")}>>`), a && (r.length > 0 && (r += ", "), r += `${e}SetterTypes`);
|
|
703
|
-
const l = a ? `type ${e}SetterTypes = ${e}["${
|
|
703
|
+
const l = a ? `type ${e}SetterTypes = ${e}["${ai}"];
|
|
704
704
|
` : "";
|
|
705
705
|
return [r.length === 0 ? "" : `${r}, `, l];
|
|
706
706
|
}
|
|
707
|
-
function
|
|
707
|
+
function ga(e, t) {
|
|
708
708
|
const n = t.moduleMap.get("index");
|
|
709
709
|
if (n === void 0)
|
|
710
|
-
e.unshift(
|
|
710
|
+
e.unshift(vn);
|
|
711
711
|
else {
|
|
712
|
-
const i =
|
|
713
|
-
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);
|
|
714
714
|
}
|
|
715
715
|
}
|
|
716
|
-
const
|
|
717
|
-
[
|
|
716
|
+
const ai = "@setterTypes", ri = {
|
|
717
|
+
[J]: et(),
|
|
718
718
|
kind: "function",
|
|
719
719
|
name: "getAssetPath",
|
|
720
720
|
static: void 0,
|
|
@@ -755,8 +755,8 @@ const ri = "@setterTypes", si = {
|
|
|
755
755
|
signature: void 0,
|
|
756
756
|
privacy: void 0,
|
|
757
757
|
source: void 0
|
|
758
|
-
},
|
|
759
|
-
[
|
|
758
|
+
}, si = {
|
|
759
|
+
[J]: et(),
|
|
760
760
|
kind: "function",
|
|
761
761
|
name: "setAssetPath",
|
|
762
762
|
static: void 0,
|
|
@@ -792,7 +792,7 @@ browser will load the assets from.`,
|
|
|
792
792
|
{
|
|
793
793
|
name: "URL",
|
|
794
794
|
module: void 0,
|
|
795
|
-
package:
|
|
795
|
+
package: le,
|
|
796
796
|
viewUrl: "https://developer.mozilla.org/docs/Web/API/URL",
|
|
797
797
|
start: 0,
|
|
798
798
|
end: 3
|
|
@@ -818,10 +818,10 @@ browser will load the assets from.`,
|
|
|
818
818
|
signature: void 0,
|
|
819
819
|
privacy: void 0,
|
|
820
820
|
source: void 0
|
|
821
|
-
},
|
|
822
|
-
|
|
823
|
-
const
|
|
824
|
-
[
|
|
821
|
+
}, li = ti(void 0, "index", {}, { class: void 0, default: void 0, named: {} });
|
|
822
|
+
li.importsText = "";
|
|
823
|
+
const vn = {
|
|
824
|
+
[J]: li,
|
|
825
825
|
kind: "javascript-module",
|
|
826
826
|
path: "index",
|
|
827
827
|
sourcePath: "src/index.ts",
|
|
@@ -829,11 +829,67 @@ const gn = {
|
|
|
829
829
|
description: void 0,
|
|
830
830
|
docsTags: void 0,
|
|
831
831
|
summary: void 0,
|
|
832
|
-
declarations: [
|
|
832
|
+
declarations: [ri, si],
|
|
833
833
|
exports: void 0
|
|
834
834
|
};
|
|
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
|
+
}
|
|
835
891
|
function Ta(e, t) {
|
|
836
|
-
const n =
|
|
892
|
+
const n = Te(e), i = he(n), a = me(e);
|
|
837
893
|
if (a.index.class?.privacy !== void 0)
|
|
838
894
|
return e.declarations.length > 1 && t.emitError(
|
|
839
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(", ")}`,
|
|
@@ -846,16 +902,17 @@ function Ta(e, t) {
|
|
|
846
902
|
const c = a.reExports[s];
|
|
847
903
|
let p = "";
|
|
848
904
|
if (c.specifiers[0].exportName === "*") {
|
|
849
|
-
const
|
|
850
|
-
p = (c.isTypeOnly ? "type *" : "*") + (
|
|
905
|
+
const m = c.specifiers[0];
|
|
906
|
+
p = (c.isTypeOnly ? "type *" : "*") + (m.aliasName ? ` as ${m.aliasName}` : "");
|
|
851
907
|
} else {
|
|
852
|
-
for (let
|
|
853
|
-
const
|
|
854
|
-
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}` : "");
|
|
855
911
|
}
|
|
856
912
|
p += " }";
|
|
857
913
|
}
|
|
858
|
-
|
|
914
|
+
const d = c.modulePath === void 0 ? c.externalSpecifier : Sn(a.dtsPath, c.modulePath);
|
|
915
|
+
r += `export ${p} from "${d}";
|
|
859
916
|
`;
|
|
860
917
|
}
|
|
861
918
|
r += `
|
|
@@ -867,47 +924,47 @@ function Ta(e, t) {
|
|
|
867
924
|
|
|
868
925
|
`;
|
|
869
926
|
const l = e.declarations;
|
|
870
|
-
a.constructorPropertiesInterface !== void 0 && (r += `${
|
|
927
|
+
a.constructorPropertiesInterface !== void 0 && (r += `${Nt(a.constructorPropertiesInterface)}
|
|
871
928
|
|
|
872
929
|
`);
|
|
873
930
|
for (let s = 0; s < l.length; ++s) {
|
|
874
931
|
const c = l[s];
|
|
875
|
-
r +=
|
|
932
|
+
r += Nt(c), s < l.length - 1 && (r += `
|
|
876
933
|
|
|
877
934
|
`);
|
|
878
935
|
}
|
|
879
|
-
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" />
|
|
880
937
|
${r}` : e.path === "index" && (r += t.vanillaComponentTypes)), r);
|
|
881
938
|
}
|
|
882
|
-
function
|
|
883
|
-
return e === void 0 ? "" : `/*${
|
|
939
|
+
function he(e) {
|
|
940
|
+
return e === void 0 ? "" : `/*${an(e)}*/
|
|
884
941
|
`;
|
|
885
942
|
}
|
|
886
|
-
function
|
|
887
|
-
let t =
|
|
943
|
+
function Nt(e) {
|
|
944
|
+
let t = Te(e), n = "";
|
|
888
945
|
if (e.kind === "class" || e.kind === "mixin")
|
|
889
|
-
n =
|
|
946
|
+
n = wt(e);
|
|
890
947
|
else if (e.kind === "interface") {
|
|
891
|
-
const a =
|
|
948
|
+
const a = ue(e);
|
|
892
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")) {
|
|
893
950
|
const l = e.members[0];
|
|
894
|
-
let s =
|
|
895
|
-
const c =
|
|
951
|
+
let s = ci(l, !0);
|
|
952
|
+
const c = Te(l)?.docsTags;
|
|
896
953
|
c !== void 0 && (t = {
|
|
897
954
|
description: t?.description,
|
|
898
955
|
docsTags: [...c, ...t?.docsTags ?? []]
|
|
899
956
|
});
|
|
900
957
|
const p = s.indexOf("): ");
|
|
901
|
-
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);
|
|
902
959
|
} else if (a.isMixinBaseClass === !0)
|
|
903
|
-
n =
|
|
960
|
+
n = wt(e);
|
|
904
961
|
else if (a.emitAsTypeAlias === !0) {
|
|
905
962
|
let l = e.type?.text;
|
|
906
963
|
const s = mt(e);
|
|
907
|
-
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);
|
|
908
965
|
} else {
|
|
909
966
|
const l = mt(e);
|
|
910
|
-
n =
|
|
967
|
+
n = Ni(
|
|
911
968
|
a.isDefaultExported === !0,
|
|
912
969
|
e.name,
|
|
913
970
|
e.typeParameters,
|
|
@@ -916,8 +973,8 @@ function Ot(e) {
|
|
|
916
973
|
);
|
|
917
974
|
}
|
|
918
975
|
} else if (e.kind === "function") {
|
|
919
|
-
const a =
|
|
920
|
-
n =
|
|
976
|
+
const a = ht(e);
|
|
977
|
+
n = wi(
|
|
921
978
|
a.isDefaultExported === !0,
|
|
922
979
|
e.name,
|
|
923
980
|
e.typeParameters,
|
|
@@ -925,16 +982,16 @@ function Ot(e) {
|
|
|
925
982
|
e.return.type.text
|
|
926
983
|
);
|
|
927
984
|
} else if (e.kind === "variable") {
|
|
928
|
-
const a =
|
|
929
|
-
n +=
|
|
985
|
+
const a = ei(e);
|
|
986
|
+
n += Ui(a.isDefaultExported === !0, e.name, e.type.text);
|
|
930
987
|
}
|
|
931
|
-
return `${
|
|
988
|
+
return `${he(t)}${n}`;
|
|
932
989
|
}
|
|
933
|
-
function
|
|
934
|
-
const t =
|
|
990
|
+
function wt(e) {
|
|
991
|
+
const t = ue(e), n = t.isDefaultExported === !0, i = mt(e), a = e, r = e;
|
|
935
992
|
let l, s = a.mixins ?? r.supertypes;
|
|
936
|
-
s === void 0 ? a.superclass !== void 0 && (l =
|
|
937
|
-
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(
|
|
938
995
|
t.hasExplicitAbstract !== void 0,
|
|
939
996
|
n,
|
|
940
997
|
e.name,
|
|
@@ -944,10 +1001,10 @@ function Nt(e) {
|
|
|
944
1001
|
);
|
|
945
1002
|
if (s !== void 0) {
|
|
946
1003
|
c += `
|
|
947
|
-
declare const ${l}:`, a.superclass !== void 0 && (c += ` typeof ${
|
|
1004
|
+
declare const ${l}:`, a.superclass !== void 0 && (c += ` typeof ${Fe(a.superclass)}`);
|
|
948
1005
|
for (let p = 0; p < s.length; ++p) {
|
|
949
1006
|
const d = s[p];
|
|
950
|
-
c += ` & typeof ${
|
|
1007
|
+
c += ` & typeof ${Fe(d)}`;
|
|
951
1008
|
}
|
|
952
1009
|
}
|
|
953
1010
|
return c;
|
|
@@ -955,15 +1012,15 @@ declare const ${l}:`, a.superclass !== void 0 && (c += ` typeof ${Oe(a.superclas
|
|
|
955
1012
|
function mt(e) {
|
|
956
1013
|
const t = e.members;
|
|
957
1014
|
let n = "";
|
|
958
|
-
const i =
|
|
1015
|
+
const i = ue(e);
|
|
959
1016
|
if (e.kind === "mixin" && (n += `constructor(...args: any[]);
|
|
960
1017
|
`), i.eventTypesProperty !== void 0) {
|
|
961
1018
|
let l = Tn;
|
|
962
1019
|
if (i.eventTypesProperty.description !== void 0 || i.eventTypesProperty.docsTags !== void 0) {
|
|
963
|
-
const c =
|
|
964
|
-
l =
|
|
1020
|
+
const c = Te(i.eventTypesProperty);
|
|
1021
|
+
l = he(c);
|
|
965
1022
|
}
|
|
966
|
-
const s =
|
|
1023
|
+
const s = Ut(i.eventTypesProperty);
|
|
967
1024
|
n += `${l}${s}
|
|
968
1025
|
`;
|
|
969
1026
|
}
|
|
@@ -974,12 +1031,12 @@ function mt(e) {
|
|
|
974
1031
|
const c = t[s];
|
|
975
1032
|
if (c.inheritedFrom !== void 0 || c.privacy === "private")
|
|
976
1033
|
continue;
|
|
977
|
-
const d =
|
|
978
|
-
n +=
|
|
979
|
-
`), n +=
|
|
1034
|
+
const d = Te(c);
|
|
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 += `
|
|
980
1037
|
`;
|
|
981
1038
|
}
|
|
982
|
-
l !== "" && (n += `${
|
|
1039
|
+
l !== "" && (n += `${ve(!1, !1, !1, !1, !1, !1, ai, `{
|
|
983
1040
|
${l}}`)}
|
|
984
1041
|
`);
|
|
985
1042
|
}
|
|
@@ -995,14 +1052,14 @@ ${l}}`)}
|
|
|
995
1052
|
for (let c = 0; c < a.events.length; ++c) {
|
|
996
1053
|
const p = a.events[c];
|
|
997
1054
|
if (p.inheritedFrom === void 0) {
|
|
998
|
-
const d =
|
|
999
|
-
n += `${
|
|
1055
|
+
const d = Te(p);
|
|
1056
|
+
n += `${he(d)}${ve(!1, !1, !1, !0, !1, !1, p.name, `import("${gn}").TargetedEvent<this, ${p.type.text}>`)}
|
|
1000
1057
|
`;
|
|
1001
1058
|
}
|
|
1002
|
-
s += ` ${
|
|
1059
|
+
s += ` ${ve(!1, !1, !1, !1, !1, !1, p.name, `${l}["${p.name}"]["detail"]`)}
|
|
1003
1060
|
`;
|
|
1004
1061
|
}
|
|
1005
|
-
n += `${
|
|
1062
|
+
n += `${ve(!1, !1, !1, !0, !1, !1, "@eventTypes", `{
|
|
1006
1063
|
${s}}`)}
|
|
1007
1064
|
`;
|
|
1008
1065
|
}
|
|
@@ -1011,12 +1068,12 @@ ${s}}`)}
|
|
|
1011
1068
|
`, `
|
|
1012
1069
|
`).slice(0, -2)}`;
|
|
1013
1070
|
}
|
|
1014
|
-
const
|
|
1015
|
-
function
|
|
1071
|
+
const gn = "@arcgis/lumina";
|
|
1072
|
+
function Ut(e) {
|
|
1016
1073
|
let t = "";
|
|
1017
|
-
const n =
|
|
1074
|
+
const n = Gi(e), i = n.isAccessor === !0, a = e.readonly === !0;
|
|
1018
1075
|
if (e.getterType !== void 0 || i && a)
|
|
1019
|
-
t +=
|
|
1076
|
+
t += _i(
|
|
1020
1077
|
e.privacy !== void 0,
|
|
1021
1078
|
n.isAbstract === !0,
|
|
1022
1079
|
e.static === !0,
|
|
@@ -1026,7 +1083,7 @@ function wt(e) {
|
|
|
1026
1083
|
);
|
|
1027
1084
|
else {
|
|
1028
1085
|
const r = n.dtsTypeOverride ?? e.type.text, l = i ? !1 : r.endsWith(" | undefined"), s = l ? r.slice(0, -12) : r;
|
|
1029
|
-
t +=
|
|
1086
|
+
t += ve(
|
|
1030
1087
|
e.privacy !== void 0,
|
|
1031
1088
|
n.isAbstract === !0,
|
|
1032
1089
|
e.static === !0,
|
|
@@ -1039,9 +1096,9 @@ function wt(e) {
|
|
|
1039
1096
|
}
|
|
1040
1097
|
return t;
|
|
1041
1098
|
}
|
|
1042
|
-
function
|
|
1043
|
-
const n =
|
|
1044
|
-
return
|
|
1099
|
+
function ci(e, t) {
|
|
1100
|
+
const n = ht(e);
|
|
1101
|
+
return Wi(
|
|
1045
1102
|
e.privacy !== void 0,
|
|
1046
1103
|
n.isAbstract === !0,
|
|
1047
1104
|
e.static === !0,
|
|
@@ -1052,7 +1109,7 @@ function di(e, t) {
|
|
|
1052
1109
|
e.return?.type.text
|
|
1053
1110
|
);
|
|
1054
1111
|
}
|
|
1055
|
-
const Tn =
|
|
1112
|
+
const Tn = he({
|
|
1056
1113
|
description: void 0,
|
|
1057
1114
|
docsTags: [
|
|
1058
1115
|
{
|
|
@@ -1071,7 +1128,7 @@ function En(e) {
|
|
|
1071
1128
|
const t = e.indexOf("/");
|
|
1072
1129
|
return t === -1 ? e : e.slice(0, t);
|
|
1073
1130
|
}
|
|
1074
|
-
function
|
|
1131
|
+
function Vt(e, t, n) {
|
|
1075
1132
|
if (!n.isComponentProject || n.config.context.isLuminaMinimalExtraction || n.config.documentation.publicStoryUrlPrefix === !1)
|
|
1076
1133
|
return;
|
|
1077
1134
|
const i = e.match(Cn)?.[1];
|
|
@@ -1085,16 +1142,16 @@ function Ut(e, t, n) {
|
|
|
1085
1142
|
const a = [];
|
|
1086
1143
|
for (const l of e.matchAll(Pn)) {
|
|
1087
1144
|
const s = l[1], c = Dn(s), p = e.indexOf("{", l.index), d = e.indexOf("}", p), m = e.slice(0, l.index).trimEnd();
|
|
1088
|
-
let
|
|
1145
|
+
let u = "";
|
|
1089
1146
|
if (m.endsWith("*/")) {
|
|
1090
1147
|
const C = m.lastIndexOf("/**");
|
|
1091
|
-
|
|
1148
|
+
u = m.slice(C + 3, -2).trim().replaceAll(Mn, "");
|
|
1092
1149
|
}
|
|
1093
|
-
const
|
|
1150
|
+
const f = e.slice(p, d).match(bn)?.[1] || c, S = xn(c);
|
|
1094
1151
|
a.push({
|
|
1095
|
-
description: `${
|
|
1096
|
-
${
|
|
1097
|
-
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`,
|
|
1098
1155
|
source: void 0
|
|
1099
1156
|
});
|
|
1100
1157
|
}
|
|
@@ -1109,69 +1166,13 @@ ${f}` : ""}`,
|
|
|
1109
1166
|
r === void 0 ? n.componentStories[i] = a : r.push(...a);
|
|
1110
1167
|
}
|
|
1111
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();
|
|
1112
|
-
function ut(e, t) {
|
|
1113
|
-
let i = t.startsWith("./") ? t.slice(2) : t, a = e;
|
|
1114
|
-
for (; ; ) {
|
|
1115
|
-
const r = a.lastIndexOf("/");
|
|
1116
|
-
if (a = r === -1 ? "" : a.slice(0, r), i.startsWith("../"))
|
|
1117
|
-
i = i.slice(3);
|
|
1118
|
-
else
|
|
1119
|
-
return a === "" ? i : `${a}/${i}`;
|
|
1120
|
-
}
|
|
1121
|
-
}
|
|
1122
|
-
function ve(e, t) {
|
|
1123
|
-
let n = 0;
|
|
1124
|
-
for (; ; ) {
|
|
1125
|
-
const a = e.indexOf("/", n) + 1;
|
|
1126
|
-
if (a === 0)
|
|
1127
|
-
break;
|
|
1128
|
-
const r = e.slice(n, a), l = t.slice(n, a);
|
|
1129
|
-
if (r !== l)
|
|
1130
|
-
break;
|
|
1131
|
-
n = a;
|
|
1132
|
-
}
|
|
1133
|
-
let i = "";
|
|
1134
|
-
for (let a = n; a < e.length && (a = e.indexOf("/", a), a !== -1); ++a)
|
|
1135
|
-
i += "../";
|
|
1136
|
-
return i.length === 0 && (i = "./"), `${i}${t.slice(n)}`;
|
|
1137
|
-
}
|
|
1138
|
-
function Vt(e, t, n = 0) {
|
|
1139
|
-
for (; n < e.length; ++n) {
|
|
1140
|
-
const i = e[n];
|
|
1141
|
-
i.start += t, i.end += t;
|
|
1142
|
-
}
|
|
1143
|
-
return e;
|
|
1144
|
-
}
|
|
1145
|
-
function Wt(e, t) {
|
|
1146
|
-
if (e === t)
|
|
1147
|
-
return !0;
|
|
1148
|
-
if (typeof e != "object" || typeof t != "object" || e === null || t === null)
|
|
1149
|
-
return !1;
|
|
1150
|
-
if (Array.isArray(e)) {
|
|
1151
|
-
if (!Array.isArray(t) || e.length !== t.length)
|
|
1152
|
-
return !1;
|
|
1153
|
-
for (let a = 0; a < e.length; ++a)
|
|
1154
|
-
if (!Wt(e[a], t[a]))
|
|
1155
|
-
return !1;
|
|
1156
|
-
return !0;
|
|
1157
|
-
}
|
|
1158
|
-
const n = Object.keys(e), i = Object.keys(t);
|
|
1159
|
-
if (n.length !== i.length)
|
|
1160
|
-
return !1;
|
|
1161
|
-
for (let a = 0; a < n.length; ++a) {
|
|
1162
|
-
const r = n[a];
|
|
1163
|
-
if (!Wt(e[r], t[r]))
|
|
1164
|
-
return !1;
|
|
1165
|
-
}
|
|
1166
|
-
return !0;
|
|
1167
|
-
}
|
|
1168
1169
|
function Rn(e, t) {
|
|
1169
1170
|
if (t.config.context.isLuminaMinimalExtraction || t.componentTagName === void 0)
|
|
1170
1171
|
return;
|
|
1171
1172
|
const n = e.moduleSpecifier.text, i = /\.(?:css|s[ac]ss|less|styl(?:us)?|postcss|pcss|sss)(\\?|$)/u;
|
|
1172
1173
|
if (!(n.startsWith(".") && i.test(n)))
|
|
1173
1174
|
return;
|
|
1174
|
-
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);
|
|
1175
1176
|
c !== void 0 && (t.componentCssFileDocs = c);
|
|
1176
1177
|
}
|
|
1177
1178
|
function Ln(e) {
|
|
@@ -1190,7 +1191,7 @@ function Ln(e) {
|
|
|
1190
1191
|
return t.length === 0 ? void 0 : t;
|
|
1191
1192
|
}
|
|
1192
1193
|
const In = /@prop\s+(?<name>--[\w-]+)\s*:(?<description>[^@/]+)/gu, An = /\n\s+\*? ?/gu;
|
|
1193
|
-
function
|
|
1194
|
+
function di(e, t) {
|
|
1194
1195
|
if (e === void 0)
|
|
1195
1196
|
return !1;
|
|
1196
1197
|
for (let n = 0; n < e.length; ++n)
|
|
@@ -1198,7 +1199,7 @@ function pi(e, t) {
|
|
|
1198
1199
|
return !0;
|
|
1199
1200
|
return !1;
|
|
1200
1201
|
}
|
|
1201
|
-
function
|
|
1202
|
+
function tt(e) {
|
|
1202
1203
|
if (e.modifiers === void 0)
|
|
1203
1204
|
return 0;
|
|
1204
1205
|
for (let t = 0; t < e.modifiers.length; ++t)
|
|
@@ -1206,38 +1207,39 @@ function it(e) {
|
|
|
1206
1207
|
return e.modifiers[t + 1]?.kind === o.SyntaxKind.DefaultKeyword ? 2 : 1;
|
|
1207
1208
|
return 0;
|
|
1208
1209
|
}
|
|
1209
|
-
function
|
|
1210
|
+
function pi(e, t) {
|
|
1210
1211
|
return e.endsWith("Properties") && t.apiClassLikeName === e.slice(0, -10);
|
|
1211
1212
|
}
|
|
1212
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 = {
|
|
1213
1214
|
globals: kn
|
|
1214
|
-
},
|
|
1215
|
+
}, ut = Object.freeze(
|
|
1215
1216
|
Object.assign(/* @__PURE__ */ Object.create(null), Gn.globals)
|
|
1216
|
-
),
|
|
1217
|
-
function
|
|
1217
|
+
), ft = "https://developer.mozilla.org/docs/Web/API/";
|
|
1218
|
+
function mi(e, t, n = "*", i) {
|
|
1218
1219
|
if (e === "@arcgis/core")
|
|
1219
1220
|
return Fn(t, n, i);
|
|
1220
1221
|
}
|
|
1221
1222
|
function Fn(e, t, n) {
|
|
1222
1223
|
if (!(e === void 0 || e === "interfaces.d.ts")) {
|
|
1223
1224
|
const i = `https://${n.config.documentation.host}${On}${Z(e)}/`;
|
|
1224
|
-
return
|
|
1225
|
+
return ki(i, t === "default" || t === "*" ? void 0 : t, void 0);
|
|
1225
1226
|
}
|
|
1226
1227
|
}
|
|
1227
|
-
const On =
|
|
1228
|
-
function
|
|
1228
|
+
const On = Zt("core");
|
|
1229
|
+
function je(e, t, n, i) {
|
|
1229
1230
|
i.implicitPublicModules ??= /* @__PURE__ */ Object.create(null);
|
|
1230
1231
|
const a = i.implicitPublicModules[e];
|
|
1231
1232
|
a === void 0 ? i.implicitPublicModules[e] = {
|
|
1232
1233
|
actualModulePath: void 0,
|
|
1233
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
|
|
1234
1236
|
sourcePath: t.endsWith(".js") ? t.slice(0, -3) : t,
|
|
1235
1237
|
pendingNames: n === "*" ? void 0 : /* @__PURE__ */ new Set([n]),
|
|
1236
1238
|
extractedNames: /* @__PURE__ */ new Set()
|
|
1237
1239
|
} : a.pendingNames !== void 0 && n !== "*" ? a.pendingNames.add(n) : a.pendingNames = void 0;
|
|
1238
1240
|
}
|
|
1239
1241
|
function Nn(e, t) {
|
|
1240
|
-
const n =
|
|
1242
|
+
const n = tt(e);
|
|
1241
1243
|
if (t.pendingNames === void 0)
|
|
1242
1244
|
return n > 0;
|
|
1243
1245
|
if (n === 2 && t.pendingNames.has("default"))
|
|
@@ -1245,7 +1247,7 @@ function Nn(e, t) {
|
|
|
1245
1247
|
const a = (e.name ?? e.declarationList?.declarations[0].name).escapedText;
|
|
1246
1248
|
return t.pendingNames.has(a);
|
|
1247
1249
|
}
|
|
1248
|
-
function
|
|
1250
|
+
function Je(e, t, n, i, a) {
|
|
1249
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];
|
|
1250
1252
|
if (d === void 0)
|
|
1251
1253
|
return n.emitError(`Unable to resolve the declaration file name for the type ${p}`, {
|
|
@@ -1254,55 +1256,55 @@ function qe(e, t, n, i, a) {
|
|
|
1254
1256
|
}), {
|
|
1255
1257
|
name: p,
|
|
1256
1258
|
module: void 0,
|
|
1257
|
-
package:
|
|
1259
|
+
package: le,
|
|
1258
1260
|
viewUrl: void 0,
|
|
1259
1261
|
start: i,
|
|
1260
1262
|
end: a
|
|
1261
1263
|
};
|
|
1262
|
-
const m = d.getSourceFile(), { packageName:
|
|
1263
|
-
if (
|
|
1264
|
+
const m = d.getSourceFile(), { packageName: u, modulePath: f } = Un(m.fileName, n, p);
|
|
1265
|
+
if (u === "@arcgis/core" && f === "interfaces.js")
|
|
1264
1266
|
return n.moduleContext.importsMap.__esri = {
|
|
1265
1267
|
type: "*",
|
|
1266
1268
|
modulePath: void 0,
|
|
1267
|
-
|
|
1269
|
+
rawSpecifier: `${u}/${f}`,
|
|
1268
1270
|
replacementName: void 0,
|
|
1269
1271
|
actualName: void 0,
|
|
1270
1272
|
wasUsed: !0
|
|
1271
1273
|
}, {
|
|
1272
1274
|
name: "__esri",
|
|
1273
|
-
module:
|
|
1274
|
-
package:
|
|
1275
|
+
module: f,
|
|
1276
|
+
package: u,
|
|
1275
1277
|
viewUrl: void 0,
|
|
1276
1278
|
start: i,
|
|
1277
1279
|
end: a
|
|
1278
1280
|
};
|
|
1279
|
-
if (
|
|
1280
|
-
let v =
|
|
1281
|
+
if (u === "typescript" && f?.startsWith("lib/") === !0) {
|
|
1282
|
+
let v = ut[p], P, h = p;
|
|
1281
1283
|
if (v === void 0) {
|
|
1282
|
-
for (let
|
|
1283
|
-
if (o.isModuleDeclaration(
|
|
1284
|
-
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);
|
|
1285
1287
|
break;
|
|
1286
1288
|
}
|
|
1287
1289
|
}
|
|
1288
1290
|
return {
|
|
1289
1291
|
name: h,
|
|
1290
1292
|
module: void 0,
|
|
1291
|
-
package:
|
|
1292
|
-
viewUrl: v?.[0]?.startsWith("https") === !1 ? `${
|
|
1293
|
+
package: le,
|
|
1294
|
+
viewUrl: v?.[0]?.startsWith("https") === !1 ? `${ft}${v[0]}` : v?.[0] ?? void 0,
|
|
1293
1295
|
start: i,
|
|
1294
1296
|
end: i + h.length
|
|
1295
1297
|
};
|
|
1296
1298
|
}
|
|
1297
|
-
let
|
|
1298
|
-
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") {
|
|
1299
1301
|
if (s.endsWith("Element")) {
|
|
1300
1302
|
const v = o.isInterfaceDeclaration(d) ? d.heritageClauses?.[0]?.types[0]?.expression : o.isTypeAliasDeclaration(d) && o.isTypeReferenceNode(d.type) ? d.type.typeName : void 0;
|
|
1301
1303
|
if (v !== void 0 && o.isIdentifier(v)) {
|
|
1302
1304
|
const P = r.getSymbolAtLocation(v);
|
|
1303
1305
|
if (P !== void 0) {
|
|
1304
1306
|
const h = r.getAliasedSymbol(P);
|
|
1305
|
-
return
|
|
1307
|
+
return Je(
|
|
1306
1308
|
h,
|
|
1307
1309
|
t,
|
|
1308
1310
|
n,
|
|
@@ -1319,41 +1321,41 @@ function qe(e, t, n, i, a) {
|
|
|
1319
1321
|
) {
|
|
1320
1322
|
const v = r.getSymbolAtLocation(d.type.objectType.typeName);
|
|
1321
1323
|
if (v !== void 0) {
|
|
1322
|
-
const P = r.getAliasedSymbol(v), h =
|
|
1324
|
+
const P = r.getAliasedSymbol(v), h = Je(
|
|
1323
1325
|
P,
|
|
1324
1326
|
t,
|
|
1325
1327
|
n,
|
|
1326
1328
|
i,
|
|
1327
1329
|
i + P.escapedName.length
|
|
1328
1330
|
);
|
|
1329
|
-
return
|
|
1331
|
+
return be(t, c), be(t, `${h.name}["@eventTypes"]`), h;
|
|
1330
1332
|
}
|
|
1331
1333
|
}
|
|
1332
1334
|
}
|
|
1333
|
-
if (
|
|
1334
|
-
const v = s ?? ((
|
|
1335
|
+
if (u !== void 0 || f !== void 0) {
|
|
1336
|
+
const v = s ?? ((f ?? u).split("/").pop()?.replaceAll(wn, "") || "type");
|
|
1335
1337
|
for (let P = 1; ; P += 1) {
|
|
1336
1338
|
const h = P === 1 ? v : `${v}${P}`;
|
|
1337
|
-
let
|
|
1338
|
-
if (
|
|
1339
|
+
let L = n.functionLikeTypeParameters?.has(h) === !0 || n.objectLikeTypeParameters?.has(h) === !0 || n.localDeclarations.has(h);
|
|
1340
|
+
if (L)
|
|
1339
1341
|
continue;
|
|
1340
|
-
const
|
|
1341
|
-
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)
|
|
1342
1344
|
continue;
|
|
1343
1345
|
const k = h !== c;
|
|
1344
|
-
k && (
|
|
1345
|
-
const
|
|
1346
|
-
|
|
1347
|
-
|
|
1346
|
+
k && (be(t, h), a = i + h.length);
|
|
1347
|
+
const D = Kn(l), I = D === "named";
|
|
1348
|
+
I || (S = D), u === void 0 && !n.config.strict && je(
|
|
1349
|
+
f,
|
|
1348
1350
|
m.fileName.slice(n.basePath.length),
|
|
1349
|
-
|
|
1351
|
+
S,
|
|
1350
1352
|
n
|
|
1351
1353
|
), y || (n.moduleContext.importsMap[h] = {
|
|
1352
|
-
type:
|
|
1353
|
-
modulePath:
|
|
1354
|
-
|
|
1354
|
+
type: D,
|
|
1355
|
+
modulePath: u === void 0 ? f : void 0,
|
|
1356
|
+
rawSpecifier: u === void 0 ? "" : u + (f === void 0 ? "" : `/${f}`),
|
|
1355
1357
|
replacementName: void 0,
|
|
1356
|
-
actualName:
|
|
1358
|
+
actualName: I && k ? s : void 0,
|
|
1357
1359
|
wasUsed: !0
|
|
1358
1360
|
});
|
|
1359
1361
|
break;
|
|
@@ -1381,40 +1383,40 @@ function qe(e, t, n, i, a) {
|
|
|
1381
1383
|
}
|
|
1382
1384
|
);
|
|
1383
1385
|
}
|
|
1384
|
-
const C =
|
|
1385
|
-
return
|
|
1386
|
-
name:
|
|
1387
|
-
module:
|
|
1388
|
-
package:
|
|
1389
|
-
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),
|
|
1390
1392
|
start: i,
|
|
1391
1393
|
end: a
|
|
1392
1394
|
} : {
|
|
1393
|
-
name:
|
|
1394
|
-
module:
|
|
1395
|
+
name: S,
|
|
1396
|
+
module: f,
|
|
1395
1397
|
package: void 0,
|
|
1396
|
-
viewUrl:
|
|
1398
|
+
viewUrl: Ue(f ?? n.apiModule.path, C, void 0, n),
|
|
1397
1399
|
start: i,
|
|
1398
1400
|
end: a
|
|
1399
1401
|
};
|
|
1400
1402
|
}
|
|
1401
1403
|
const wn = /[^a-zA-Z0-9$_]/gu;
|
|
1402
1404
|
function Un(e, t, n) {
|
|
1403
|
-
const i = e.lastIndexOf(
|
|
1405
|
+
const i = e.lastIndexOf(rt);
|
|
1404
1406
|
if (i !== -1) {
|
|
1405
|
-
const s = e.slice(i +
|
|
1407
|
+
const s = e.slice(i + rt.length), c = ui(s), p = e.slice(
|
|
1406
1408
|
0,
|
|
1407
|
-
i +
|
|
1408
|
-
), d =
|
|
1409
|
-
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;
|
|
1410
1412
|
}
|
|
1411
1413
|
const r = e.indexOf(Vn);
|
|
1412
1414
|
if (r !== -1) {
|
|
1413
|
-
const s = e.slice(0, r), c =
|
|
1414
|
-
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;
|
|
1415
1417
|
}
|
|
1416
1418
|
if (e.startsWith(t.basePath)) {
|
|
1417
|
-
const s = e.slice(t.basePath.length), c =
|
|
1419
|
+
const s = e.slice(t.basePath.length), c = Ve(Z(s), t);
|
|
1418
1420
|
return c === t.apiModule.path ? {
|
|
1419
1421
|
packageName: void 0,
|
|
1420
1422
|
modulePath: void 0
|
|
@@ -1430,29 +1432,29 @@ function Un(e, t, n) {
|
|
|
1430
1432
|
node: void 0
|
|
1431
1433
|
}
|
|
1432
1434
|
), {
|
|
1433
|
-
packageName:
|
|
1435
|
+
packageName: le,
|
|
1434
1436
|
modulePath: void 0
|
|
1435
1437
|
};
|
|
1436
1438
|
}
|
|
1437
|
-
const
|
|
1438
|
-
function
|
|
1439
|
-
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);
|
|
1440
1442
|
return { packageName: t, modulePath: n };
|
|
1441
1443
|
}
|
|
1442
|
-
function
|
|
1444
|
+
function Wt(e) {
|
|
1443
1445
|
e.packageName?.startsWith("@types/") === !0 && (e.packageName = e.packageName.slice(7));
|
|
1444
1446
|
}
|
|
1445
|
-
function
|
|
1447
|
+
function _t(e, t, n, i) {
|
|
1446
1448
|
const a = Z(e);
|
|
1447
1449
|
if (t.exports === void 0)
|
|
1448
1450
|
return `${a}.js`;
|
|
1449
1451
|
const r = `./${a}`, l = "@arcgis/lumina" in (t.dependencies ?? {}) && r.endsWith("/customElement") ? `${r.slice(0, -13)}index` : r;
|
|
1450
|
-
let s =
|
|
1452
|
+
let s = yt(t.exports, ".", l);
|
|
1451
1453
|
if (s === void 0 && (s = Wn[t.name]?.(a)), s !== void 0)
|
|
1452
1454
|
return s === "." ? void 0 : s.slice(2);
|
|
1453
1455
|
const c = n.moduleContext.importsMap[i];
|
|
1454
1456
|
if (c !== void 0 && c.modulePath === void 0) {
|
|
1455
|
-
const p =
|
|
1457
|
+
const p = ui(c.rawSpecifier);
|
|
1456
1458
|
if (p.packageName === t.name)
|
|
1457
1459
|
return p.modulePath;
|
|
1458
1460
|
}
|
|
@@ -1467,18 +1469,18 @@ const Wn = {
|
|
|
1467
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;
|
|
1468
1470
|
}
|
|
1469
1471
|
};
|
|
1470
|
-
function
|
|
1472
|
+
function yt(e, t, n) {
|
|
1471
1473
|
if (typeof e == "string")
|
|
1472
1474
|
return _n(t, e, n);
|
|
1473
1475
|
if (Array.isArray(e))
|
|
1474
1476
|
for (let i = 0; i < e.length; ++i) {
|
|
1475
|
-
const a =
|
|
1477
|
+
const a = yt(e[i], t, n);
|
|
1476
1478
|
if (a !== void 0)
|
|
1477
1479
|
return a;
|
|
1478
1480
|
}
|
|
1479
1481
|
if (typeof e == "object" && e !== null)
|
|
1480
1482
|
for (const [i, a] of Object.entries(e)) {
|
|
1481
|
-
const l = i.startsWith(".") ? i : t, s =
|
|
1483
|
+
const l = i.startsWith(".") ? i : t, s = yt(a, l, n);
|
|
1482
1484
|
if (s !== void 0)
|
|
1483
1485
|
return s;
|
|
1484
1486
|
}
|
|
@@ -1495,8 +1497,8 @@ function _n(e, t, n) {
|
|
|
1495
1497
|
return;
|
|
1496
1498
|
const l = i.slice(a + 1), s = n.slice(r.length), c = t.slice(i.length);
|
|
1497
1499
|
if (l === "") {
|
|
1498
|
-
const m = Z(e),
|
|
1499
|
-
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;
|
|
1500
1502
|
}
|
|
1501
1503
|
if (!s.endsWith(l))
|
|
1502
1504
|
return;
|
|
@@ -1528,14 +1530,14 @@ function Hn(e) {
|
|
|
1528
1530
|
}
|
|
1529
1531
|
return !1;
|
|
1530
1532
|
}
|
|
1531
|
-
function
|
|
1533
|
+
function Et(e, t, n, i) {
|
|
1532
1534
|
const a = { file: n, node: e };
|
|
1533
1535
|
return e.getText(n).includes("* @public") && i.emitError(
|
|
1534
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",
|
|
1535
1537
|
a
|
|
1536
|
-
),
|
|
1538
|
+
), _(e, t, a, i);
|
|
1537
1539
|
}
|
|
1538
|
-
const
|
|
1540
|
+
const O = {
|
|
1539
1541
|
false: 0,
|
|
1540
1542
|
/**
|
|
1541
1543
|
* True for literal types. False for object types
|
|
@@ -1543,34 +1545,34 @@ const w = {
|
|
|
1543
1545
|
shallow: 2,
|
|
1544
1546
|
true: 1
|
|
1545
1547
|
};
|
|
1546
|
-
function
|
|
1548
|
+
function _(e, t, n, i) {
|
|
1547
1549
|
if (e.kind === o.SyntaxKind.TrueKeyword || e.kind === o.SyntaxKind.FalseKeyword)
|
|
1548
|
-
return t ===
|
|
1550
|
+
return t === O.false ? o.factory.createKeywordTypeNode(o.SyntaxKind.BooleanKeyword) : o.factory.createLiteralTypeNode(e);
|
|
1549
1551
|
if (e.kind === o.SyntaxKind.NullKeyword)
|
|
1550
1552
|
return o.factory.createLiteralTypeNode(e);
|
|
1551
1553
|
if (e.kind === o.SyntaxKind.UndefinedKeyword || o.isVoidExpression(e))
|
|
1552
1554
|
return o.factory.createKeywordTypeNode(o.SyntaxKind.UndefinedKeyword);
|
|
1553
1555
|
if (o.isStringLiteral(e) || o.isNoSubstitutionTemplateLiteral(e))
|
|
1554
|
-
return t ===
|
|
1556
|
+
return t === O.false ? o.factory.createKeywordTypeNode(o.SyntaxKind.StringKeyword) : o.factory.createLiteralTypeNode(e);
|
|
1555
1557
|
if (o.isTemplateExpression(e))
|
|
1556
|
-
return
|
|
1558
|
+
return ge(n, t, i) ?? o.factory.createKeywordTypeNode(o.SyntaxKind.StringKeyword);
|
|
1557
1559
|
if (o.isNumericLiteral(e))
|
|
1558
|
-
return t ===
|
|
1560
|
+
return t === O.false ? o.factory.createKeywordTypeNode(o.SyntaxKind.NumberKeyword) : o.factory.createLiteralTypeNode(e);
|
|
1559
1561
|
if (o.isBigIntLiteral(e))
|
|
1560
|
-
return t ===
|
|
1562
|
+
return t === O.false ? o.factory.createKeywordTypeNode(o.SyntaxKind.BigIntKeyword) : o.factory.createLiteralTypeNode(e);
|
|
1561
1563
|
if (o.isAsExpression(e) || o.isTypeAssertionExpression(e))
|
|
1562
|
-
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;
|
|
1563
1565
|
if (o.isSatisfiesExpression(e))
|
|
1564
|
-
return t ===
|
|
1566
|
+
return t === O.false ? e.type : _(e.expression, t, n, i);
|
|
1565
1567
|
if (o.isRegularExpressionLiteral(e))
|
|
1566
1568
|
return o.factory.createTypeReferenceNode(o.factory.createIdentifier("RegExp"));
|
|
1567
1569
|
if (o.isArrayLiteralExpression(e)) {
|
|
1568
1570
|
if (i.isInLuminaMinimalExtraction)
|
|
1569
|
-
return
|
|
1570
|
-
const a = t ===
|
|
1571
|
+
return we;
|
|
1572
|
+
const a = t === O.shallow ? O.false : t, r = new Array(e.elements.length);
|
|
1571
1573
|
for (let l = 0; l < r.length; ++l) {
|
|
1572
1574
|
const s = e.elements[l];
|
|
1573
|
-
r[l] =
|
|
1575
|
+
r[l] = _(s, a, { ...n, node: s }, i);
|
|
1574
1576
|
}
|
|
1575
1577
|
return a ? o.factory.createTypeOperatorNode(o.SyntaxKind.ReadonlyKeyword, o.factory.createTupleTypeNode(r)) : o.factory.createArrayTypeNode(
|
|
1576
1578
|
r.length === 1 ? r[0] : o.factory.createUnionTypeNode(r)
|
|
@@ -1578,8 +1580,8 @@ function H(e, t, n, i) {
|
|
|
1578
1580
|
}
|
|
1579
1581
|
if (o.isObjectLiteralExpression(e)) {
|
|
1580
1582
|
if (i.isInLuminaMinimalExtraction)
|
|
1581
|
-
return
|
|
1582
|
-
const a = t ===
|
|
1583
|
+
return we;
|
|
1584
|
+
const a = t === O.shallow ? O.false : t, r = new Array(e.properties.length);
|
|
1583
1585
|
for (let l = 0; l < r.length; ++l) {
|
|
1584
1586
|
const s = e.properties[l];
|
|
1585
1587
|
r[l] = $n(s, a, { ...n, node: s }, i);
|
|
@@ -1588,27 +1590,27 @@ function H(e, t, n, i) {
|
|
|
1588
1590
|
}
|
|
1589
1591
|
if (o.isPrefixUnaryExpression(e)) {
|
|
1590
1592
|
if (e.operator !== o.SyntaxKind.MinusToken)
|
|
1591
|
-
return
|
|
1592
|
-
if (t ===
|
|
1593
|
+
return Pe(n, Q, t, i);
|
|
1594
|
+
if (t === O.false)
|
|
1593
1595
|
return o.factory.createKeywordTypeNode(o.SyntaxKind.NumberKeyword);
|
|
1594
1596
|
{
|
|
1595
|
-
const a =
|
|
1597
|
+
const a = _(e.operand, t, n, i);
|
|
1596
1598
|
return o.isLiteralTypeNode(a) ? o.factory.createLiteralTypeNode(
|
|
1597
1599
|
o.factory.createPrefixUnaryExpression(o.SyntaxKind.MinusToken, a.literal)
|
|
1598
|
-
) :
|
|
1600
|
+
) : Pe(n, Q, t, i);
|
|
1599
1601
|
}
|
|
1600
1602
|
}
|
|
1601
1603
|
if (o.isParenthesizedExpression(e))
|
|
1602
|
-
return
|
|
1604
|
+
return _(e.expression, t, n, i);
|
|
1603
1605
|
if (o.isNewExpression(e)) {
|
|
1604
1606
|
if (i.isInLuminaMinimalExtraction)
|
|
1605
|
-
return
|
|
1607
|
+
return we;
|
|
1606
1608
|
if (o.isIdentifier(e.expression)) {
|
|
1607
1609
|
const r = e.expression.escapedText;
|
|
1608
1610
|
let l = e.typeArguments, s = !1;
|
|
1609
1611
|
if ((r === "Set" || r === "WeakSet") && l === void 0)
|
|
1610
1612
|
if (e.arguments?.[0] !== void 0) {
|
|
1611
|
-
const c =
|
|
1613
|
+
const c = _(
|
|
1612
1614
|
e.arguments[0],
|
|
1613
1615
|
t,
|
|
1614
1616
|
{ ...n, node: e.arguments[0] },
|
|
@@ -1622,23 +1624,23 @@ function H(e, t, n, i) {
|
|
|
1622
1624
|
if (!s)
|
|
1623
1625
|
return o.factory.createTypeReferenceNode(e.expression, l);
|
|
1624
1626
|
}
|
|
1625
|
-
const a =
|
|
1627
|
+
const a = _(e.expression, t, n, i);
|
|
1626
1628
|
if (o.isTypeReferenceNode(a))
|
|
1627
1629
|
return a;
|
|
1628
1630
|
}
|
|
1629
1631
|
if (o.isConditionalExpression(e))
|
|
1630
1632
|
return o.factory.createUnionTypeNode([
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
+
_(e.whenTrue, t, { ...n, node: e.whenTrue }, i),
|
|
1634
|
+
_(e.whenFalse, t, { ...n, node: e.whenFalse }, i)
|
|
1633
1635
|
]);
|
|
1634
1636
|
if (o.isIdentifier(e))
|
|
1635
|
-
return
|
|
1637
|
+
return ge(n, t, i) ?? o.factory.createTypeQueryNode(e);
|
|
1636
1638
|
if (o.isPropertyAccessExpression(e) && o.isIdentifier(e.name)) {
|
|
1637
|
-
const a =
|
|
1639
|
+
const a = ge(n, t, i);
|
|
1638
1640
|
if (a !== void 0)
|
|
1639
1641
|
return a;
|
|
1640
|
-
const r =
|
|
1641
|
-
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);
|
|
1642
1644
|
}
|
|
1643
1645
|
if (o.isCallExpression(e)) {
|
|
1644
1646
|
const a = e.expression, r = e.arguments.at(0);
|
|
@@ -1646,38 +1648,38 @@ function H(e, t, n, i) {
|
|
|
1646
1648
|
return o.factory.createTypeReferenceNode(a.expression, [
|
|
1647
1649
|
o.factory.createTypeReferenceNode(r)
|
|
1648
1650
|
]);
|
|
1649
|
-
const l =
|
|
1651
|
+
const l = ge(n, t, i);
|
|
1650
1652
|
if (l !== void 0)
|
|
1651
1653
|
return l;
|
|
1652
|
-
const s =
|
|
1654
|
+
const s = _(a, t, n, i);
|
|
1653
1655
|
return o.isTypeQueryNode(s) ? o.factory.createTypeReferenceNode(o.factory.createIdentifier("ReturnType"), [
|
|
1654
1656
|
o.factory.createTypeQueryNode(s.exprName, e.typeArguments)
|
|
1655
|
-
]) :
|
|
1657
|
+
]) : Pe(n, Q, t, i);
|
|
1656
1658
|
}
|
|
1657
1659
|
if (o.isArrowFunction(e)) {
|
|
1658
1660
|
if (i.isInLuminaMinimalExtraction)
|
|
1659
|
-
return
|
|
1660
|
-
const a = t ===
|
|
1661
|
+
return we;
|
|
1662
|
+
const a = t === O.shallow ? O.false : t;
|
|
1661
1663
|
return o.factory.createFunctionTypeNode(
|
|
1662
1664
|
e.typeParameters,
|
|
1663
1665
|
St(e.parameters, a, n, i),
|
|
1664
|
-
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))
|
|
1665
1667
|
);
|
|
1666
1668
|
}
|
|
1667
|
-
return
|
|
1669
|
+
return Pe(n, Q, t, i);
|
|
1668
1670
|
}
|
|
1669
1671
|
function $n(e, t, n, i) {
|
|
1670
|
-
const a = t ===
|
|
1672
|
+
const a = t === O.false ? void 0 : Xn;
|
|
1671
1673
|
return o.isPropertyAssignment(e) ? o.factory.createPropertySignature(
|
|
1672
1674
|
a,
|
|
1673
1675
|
e.name,
|
|
1674
1676
|
void 0,
|
|
1675
|
-
|
|
1677
|
+
_(e.initializer, t, { ...n, node: e.initializer }, i)
|
|
1676
1678
|
) : o.isShorthandPropertyAssignment(e) ? o.factory.createPropertySignature(
|
|
1677
1679
|
a,
|
|
1678
1680
|
e.name,
|
|
1679
1681
|
void 0,
|
|
1680
|
-
|
|
1682
|
+
ge(n, t, i) ?? o.factory.createTypeQueryNode(o.factory.createIdentifier(e.name.escapedText))
|
|
1681
1683
|
) : o.isSpreadAssignment(e) ? o.factory.createPropertySignature(
|
|
1682
1684
|
a,
|
|
1683
1685
|
"_spread",
|
|
@@ -1690,14 +1692,14 @@ function $n(e, t, n, i) {
|
|
|
1690
1692
|
o.factory.createFunctionTypeNode(
|
|
1691
1693
|
e.typeParameters,
|
|
1692
1694
|
St(e.parameters, t, n, i),
|
|
1693
|
-
e.type ??
|
|
1695
|
+
e.type ?? qe(e, i) ?? X(n, Q, i)
|
|
1694
1696
|
)
|
|
1695
1697
|
) : o.isGetAccessorDeclaration(e) ? o.factory.createGetAccessorDeclaration(
|
|
1696
1698
|
void 0,
|
|
1697
1699
|
e.name,
|
|
1698
1700
|
// Should always be empty
|
|
1699
1701
|
e.parameters,
|
|
1700
|
-
e.type ??
|
|
1702
|
+
e.type ?? qe(e, i) ?? X(n, Q, i),
|
|
1701
1703
|
void 0
|
|
1702
1704
|
) : o.factory.createSetAccessorDeclaration(
|
|
1703
1705
|
void 0,
|
|
@@ -1706,33 +1708,33 @@ function $n(e, t, n, i) {
|
|
|
1706
1708
|
void 0
|
|
1707
1709
|
);
|
|
1708
1710
|
}
|
|
1709
|
-
function
|
|
1710
|
-
return
|
|
1711
|
+
function Pe(e, t, n, i) {
|
|
1712
|
+
return ge(e, n, i) ?? X(e, t, i);
|
|
1711
1713
|
}
|
|
1712
|
-
function
|
|
1714
|
+
function ge(e, t, n) {
|
|
1713
1715
|
const i = n.program?.getTypeChecker?.();
|
|
1714
1716
|
if (i !== void 0 && e.node !== void 0) {
|
|
1715
1717
|
let a;
|
|
1716
|
-
const r = t ===
|
|
1718
|
+
const r = t === O.false;
|
|
1717
1719
|
if (r && e.node.kind === o.SyntaxKind.Identifier) {
|
|
1718
1720
|
const s = i.getSymbolAtLocation(e.node);
|
|
1719
1721
|
a = s === void 0 ? void 0 : i.getTypeOfSymbol(s);
|
|
1720
1722
|
}
|
|
1721
1723
|
a ??= i.getTypeAtLocation(e.node);
|
|
1722
|
-
const l = r ?
|
|
1723
|
-
return
|
|
1724
|
+
const l = r ? tn(i, a) : a;
|
|
1725
|
+
return it(i, l);
|
|
1724
1726
|
}
|
|
1725
1727
|
}
|
|
1726
|
-
function
|
|
1727
|
-
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);
|
|
1728
1730
|
return e.typeToTypeNode(
|
|
1729
1731
|
t,
|
|
1730
1732
|
void 0,
|
|
1731
1733
|
Jn & (n ? ~o.TypeFormatFlags.MultilineObjectLiterals : -1)
|
|
1732
1734
|
);
|
|
1733
1735
|
}
|
|
1734
|
-
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,
|
|
1735
|
-
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) {
|
|
1736
1738
|
const n = t.program?.getTypeChecker?.();
|
|
1737
1739
|
if (n === void 0)
|
|
1738
1740
|
return;
|
|
@@ -1740,19 +1742,19 @@ function Qe(e, t) {
|
|
|
1740
1742
|
if (i === void 0)
|
|
1741
1743
|
return;
|
|
1742
1744
|
const a = n.getReturnTypeOfSignature(i);
|
|
1743
|
-
return
|
|
1745
|
+
return it(n, a);
|
|
1744
1746
|
}
|
|
1745
1747
|
function qn(e, t) {
|
|
1746
1748
|
const n = t.program?.getTypeChecker?.();
|
|
1747
1749
|
if (n === void 0)
|
|
1748
1750
|
return;
|
|
1749
1751
|
const i = n.getTypeAtLocation(e);
|
|
1750
|
-
return
|
|
1752
|
+
return it(n, i);
|
|
1751
1753
|
}
|
|
1752
1754
|
function X(e, t, n) {
|
|
1753
|
-
return n.isInLuminaMinimalExtraction || n.emitError(t, e),
|
|
1755
|
+
return n.isInLuminaMinimalExtraction || n.emitError(t, e), vt;
|
|
1754
1756
|
}
|
|
1755
|
-
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];
|
|
1756
1758
|
function St(e, t, n, i) {
|
|
1757
1759
|
const a = new Array(e.length);
|
|
1758
1760
|
for (let r = 0; r < a.length; ++r) {
|
|
@@ -1762,7 +1764,7 @@ function St(e, t, n, i) {
|
|
|
1762
1764
|
l.dotDotDotToken,
|
|
1763
1765
|
o.isIdentifier(l.name) ? l.name : o.factory.createIdentifier(`parameter${r}`),
|
|
1764
1766
|
l.questionToken,
|
|
1765
|
-
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) : _(
|
|
1766
1768
|
l.initializer,
|
|
1767
1769
|
t,
|
|
1768
1770
|
{
|
|
@@ -1780,10 +1782,10 @@ function Yn(e, t) {
|
|
|
1780
1782
|
if (n === void 0 || !Zn(e.exprName, t))
|
|
1781
1783
|
return;
|
|
1782
1784
|
const i = n.getTypeAtLocation(e.exprName);
|
|
1783
|
-
return
|
|
1785
|
+
return it(n, i);
|
|
1784
1786
|
}
|
|
1785
1787
|
function Zn(e, t) {
|
|
1786
|
-
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;
|
|
1787
1789
|
}
|
|
1788
1790
|
function eo(e) {
|
|
1789
1791
|
for (; e !== void 0; )
|
|
@@ -1793,65 +1795,67 @@ function eo(e) {
|
|
|
1793
1795
|
return e.escapedText === "this";
|
|
1794
1796
|
return !1;
|
|
1795
1797
|
}
|
|
1796
|
-
function
|
|
1797
|
-
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(
|
|
1798
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",
|
|
1799
|
-
{ file:
|
|
1801
|
+
{ file: M.file, node: e }
|
|
1800
1802
|
), e.kind === o.SyntaxKind.Identifier || e.kind === o.SyntaxKind.QualifiedName)
|
|
1801
|
-
|
|
1803
|
+
Be(e);
|
|
1802
1804
|
else if (o.isFunctionTypeNode(e) || o.isConstructorTypeNode(e)) {
|
|
1803
1805
|
const i = e.typeParameters;
|
|
1804
1806
|
if (i !== void 0)
|
|
1805
1807
|
for (let a = 0; a < i.length; ++a) {
|
|
1806
1808
|
const r = i[a];
|
|
1807
|
-
|
|
1809
|
+
Qe.add(r.name.escapedText);
|
|
1808
1810
|
}
|
|
1809
1811
|
}
|
|
1810
|
-
return to.writeNode(o.EmitHint.Unspecified, e, void 0,
|
|
1811
|
-
text:
|
|
1812
|
-
references:
|
|
1812
|
+
return to.writeNode(o.EmitHint.Unspecified, e, void 0, _e), {
|
|
1813
|
+
text: _e.getText(),
|
|
1814
|
+
references: z.length > 0 ? z : void 0,
|
|
1813
1815
|
values: void 0,
|
|
1814
1816
|
source: void 0
|
|
1815
1817
|
};
|
|
1816
1818
|
}
|
|
1817
|
-
let
|
|
1818
|
-
const
|
|
1819
|
+
let M;
|
|
1820
|
+
const pe = (e, t, n) => {
|
|
1819
1821
|
switch (t.kind) {
|
|
1820
1822
|
case o.SyntaxKind.TypeReference:
|
|
1821
1823
|
const i = t, a = i.typeName;
|
|
1822
1824
|
switch (a.escapedText) {
|
|
1823
1825
|
case "nil":
|
|
1824
|
-
return
|
|
1826
|
+
return pe(e, io, n);
|
|
1825
1827
|
// Used in public typings in 88 files
|
|
1826
1828
|
// REFACTOR: consider refactoring out Const usages in public API to
|
|
1827
1829
|
// reduce divergence
|
|
1828
1830
|
case "Const":
|
|
1829
|
-
|
|
1830
|
-
//
|
|
1831
|
+
return pe(e, i.typeArguments[0], n);
|
|
1832
|
+
// In component public types, Lumina's "component" and "el" have the same type
|
|
1831
1833
|
case "ToElement":
|
|
1832
|
-
|
|
1834
|
+
if (M.isComponentProject)
|
|
1835
|
+
return pe(e, i.typeArguments[0], n);
|
|
1836
|
+
break;
|
|
1833
1837
|
/**
|
|
1834
1838
|
* @see https://webgis.esri.com/references/api-extractor/advanced-patterns#publicprivate-type-divergence
|
|
1835
1839
|
*/
|
|
1836
1840
|
case "PublicApiNarrowType":
|
|
1837
1841
|
case "PublicApiRelaxType":
|
|
1838
|
-
return
|
|
1842
|
+
return pe(e, i.typeArguments[1], n);
|
|
1839
1843
|
}
|
|
1840
|
-
|
|
1844
|
+
Be(a);
|
|
1841
1845
|
break;
|
|
1842
1846
|
case o.SyntaxKind.TypeQuery:
|
|
1843
|
-
const l = Yn(t,
|
|
1847
|
+
const l = Yn(t, M);
|
|
1844
1848
|
if (l !== void 0)
|
|
1845
|
-
return
|
|
1846
|
-
|
|
1849
|
+
return pe(e, l, n);
|
|
1850
|
+
Be(t.exprName, no);
|
|
1847
1851
|
break;
|
|
1848
1852
|
case o.SyntaxKind.PropertyAccessExpression:
|
|
1849
|
-
|
|
1853
|
+
Be(t);
|
|
1850
1854
|
break;
|
|
1851
1855
|
case o.SyntaxKind.InferType:
|
|
1852
1856
|
case o.SyntaxKind.MappedType:
|
|
1853
1857
|
const c = t.typeParameter;
|
|
1854
|
-
|
|
1858
|
+
Qe.add(c.name.escapedText);
|
|
1855
1859
|
break;
|
|
1856
1860
|
case o.SyntaxKind.TypeLiteral:
|
|
1857
1861
|
const p = t;
|
|
@@ -1862,27 +1866,27 @@ const ge = (e, t, n) => {
|
|
|
1862
1866
|
if (
|
|
1863
1867
|
// In public types, Lumina's "component" and "el" have the same type
|
|
1864
1868
|
// Thus print ArcgisHome["el"] as just ArcgisHome
|
|
1865
|
-
|
|
1869
|
+
M.isComponentProject && d.indexType.kind === o.SyntaxKind.LiteralType && d.indexType.literal.text === "el"
|
|
1866
1870
|
)
|
|
1867
|
-
return
|
|
1871
|
+
return pe(e, d.objectType, n);
|
|
1868
1872
|
break;
|
|
1869
1873
|
case o.SyntaxKind.ImportType:
|
|
1870
|
-
|
|
1874
|
+
M.emitError(
|
|
1871
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." : ""}`,
|
|
1872
|
-
{ file:
|
|
1876
|
+
{ file: M.file, node: t }
|
|
1873
1877
|
);
|
|
1874
1878
|
break;
|
|
1875
1879
|
}
|
|
1876
|
-
n(e, t),
|
|
1877
|
-
}, to =
|
|
1880
|
+
n(e, t), Xe !== void 0 && (fi(), Xe = void 0);
|
|
1881
|
+
}, to = on(
|
|
1878
1882
|
{},
|
|
1879
1883
|
{
|
|
1880
|
-
onEmitNode:
|
|
1884
|
+
onEmitNode: pe
|
|
1881
1885
|
}
|
|
1882
|
-
), io = o.factory.createIdentifier("null | undefined"),
|
|
1883
|
-
`), no = 7,
|
|
1884
|
-
let
|
|
1885
|
-
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) {
|
|
1886
1890
|
const n = [];
|
|
1887
1891
|
let i = e;
|
|
1888
1892
|
for (; i !== void 0; )
|
|
@@ -1892,20 +1896,20 @@ function Ke(e, t = 0) {
|
|
|
1892
1896
|
} else if (i.kind === o.SyntaxKind.QualifiedName)
|
|
1893
1897
|
n.push(i.right), i = i.left;
|
|
1894
1898
|
else if (i.kind === o.SyntaxKind.PropertyAccessExpression) {
|
|
1895
|
-
const
|
|
1896
|
-
n.push(
|
|
1899
|
+
const S = i.name;
|
|
1900
|
+
n.push(S), i = i.expression;
|
|
1897
1901
|
}
|
|
1898
|
-
const a = n.at(-1), r = a.escapedText, l =
|
|
1902
|
+
const a = n.at(-1), r = a.escapedText, l = _e.getTextPos() + t;
|
|
1899
1903
|
let s = l + r.length;
|
|
1900
1904
|
const c = a;
|
|
1901
1905
|
if (c.pos === -1 && c.symbol !== void 0) {
|
|
1902
|
-
|
|
1903
|
-
|
|
1906
|
+
z.push(
|
|
1907
|
+
Je(c.symbol, c, M, l, s)
|
|
1904
1908
|
);
|
|
1905
1909
|
return;
|
|
1906
1910
|
}
|
|
1907
|
-
if (
|
|
1908
|
-
|
|
1911
|
+
if (M.functionLikeTypeParameters?.has(r) === !0) {
|
|
1912
|
+
z.push({
|
|
1909
1913
|
name: r,
|
|
1910
1914
|
module: void 0,
|
|
1911
1915
|
package: void 0,
|
|
@@ -1915,8 +1919,8 @@ function Ke(e, t = 0) {
|
|
|
1915
1919
|
});
|
|
1916
1920
|
return;
|
|
1917
1921
|
}
|
|
1918
|
-
if (
|
|
1919
|
-
|
|
1922
|
+
if (M.objectLikeTypeParameters?.has(r) === !0) {
|
|
1923
|
+
z.push({
|
|
1920
1924
|
name: r,
|
|
1921
1925
|
module: void 0,
|
|
1922
1926
|
package: void 0,
|
|
@@ -1926,102 +1930,102 @@ function Ke(e, t = 0) {
|
|
|
1926
1930
|
});
|
|
1927
1931
|
return;
|
|
1928
1932
|
}
|
|
1929
|
-
if (
|
|
1930
|
-
|
|
1933
|
+
if (M.localDeclarations.has(r)) {
|
|
1934
|
+
z.push({
|
|
1931
1935
|
name: r,
|
|
1932
1936
|
module: void 0,
|
|
1933
1937
|
package: void 0,
|
|
1934
|
-
viewUrl:
|
|
1935
|
-
|
|
1936
|
-
r ===
|
|
1938
|
+
viewUrl: Ue(
|
|
1939
|
+
M.apiModule.path,
|
|
1940
|
+
r === M.exportDefaultName ? void 0 : r,
|
|
1937
1941
|
void 0,
|
|
1938
|
-
|
|
1942
|
+
M
|
|
1939
1943
|
),
|
|
1940
1944
|
start: l,
|
|
1941
1945
|
end: s
|
|
1942
1946
|
});
|
|
1943
1947
|
return;
|
|
1944
1948
|
}
|
|
1945
|
-
if (
|
|
1946
|
-
|
|
1949
|
+
if (M.localPrivateDeclarations?.has(r) === !0) {
|
|
1950
|
+
M.localPrivateDeclarations.set(r, Math.abs(M.localPrivateDeclarations.get(r))), z.push({
|
|
1947
1951
|
name: r,
|
|
1948
1952
|
module: void 0,
|
|
1949
1953
|
package: void 0,
|
|
1950
|
-
viewUrl:
|
|
1951
|
-
|
|
1952
|
-
r ===
|
|
1954
|
+
viewUrl: Ue(
|
|
1955
|
+
M.apiModule.path,
|
|
1956
|
+
r === M.exportDefaultName ? void 0 : r,
|
|
1953
1957
|
void 0,
|
|
1954
|
-
|
|
1958
|
+
M
|
|
1955
1959
|
),
|
|
1956
1960
|
start: l,
|
|
1957
1961
|
end: s
|
|
1958
1962
|
});
|
|
1959
1963
|
return;
|
|
1960
1964
|
}
|
|
1961
|
-
const d =
|
|
1965
|
+
const d = M.moduleContext.importsMap[r];
|
|
1962
1966
|
if (d !== void 0) {
|
|
1963
1967
|
d.wasUsed = !0;
|
|
1964
|
-
const
|
|
1965
|
-
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(
|
|
1966
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.`,
|
|
1967
|
-
{ file:
|
|
1971
|
+
{ file: M.file, node: e }
|
|
1968
1972
|
);
|
|
1969
|
-
const C =
|
|
1973
|
+
const C = S ? d.actualName ?? d.replacementName ?? r : void 0;
|
|
1970
1974
|
if (d.modulePath === void 0) {
|
|
1971
|
-
if (
|
|
1972
|
-
const h =
|
|
1973
|
-
|
|
1974
|
-
h === "esri" ? `Found unexpected absolute path import of ${ie("red", C ?? d.type)} from ${ie("red", d.
|
|
1975
|
-
{ 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 }
|
|
1976
1980
|
);
|
|
1977
1981
|
}
|
|
1978
|
-
} else
|
|
1982
|
+
} else M.config.strict || je(
|
|
1979
1983
|
d.modulePath,
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
d.
|
|
1984
|
+
d.rawSpecifier === "" ? d.modulePath : pt(
|
|
1985
|
+
M.apiModule.sourcePath.slice(M.config.context.basePath.length),
|
|
1986
|
+
d.rawSpecifier
|
|
1983
1987
|
),
|
|
1984
|
-
|
|
1985
|
-
|
|
1988
|
+
S ? C : d.type,
|
|
1989
|
+
M
|
|
1986
1990
|
);
|
|
1987
1991
|
let v, P = d.modulePath;
|
|
1988
|
-
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({
|
|
1989
1993
|
name: C ?? d.type,
|
|
1990
1994
|
module: P,
|
|
1991
1995
|
package: v,
|
|
1992
|
-
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),
|
|
1993
1997
|
start: l,
|
|
1994
1998
|
end: s
|
|
1995
1999
|
});
|
|
1996
2000
|
return;
|
|
1997
2001
|
}
|
|
1998
|
-
const m =
|
|
2002
|
+
const m = ut[r];
|
|
1999
2003
|
if (m !== void 0) {
|
|
2000
|
-
|
|
2004
|
+
z.push({
|
|
2001
2005
|
name: r,
|
|
2002
2006
|
module: void 0,
|
|
2003
|
-
package:
|
|
2004
|
-
viewUrl: m[0]?.startsWith("https") === !1 ? `${
|
|
2007
|
+
package: le,
|
|
2008
|
+
viewUrl: m[0]?.startsWith("https") === !1 ? `${ft}${m[0]}` : m[0] ?? void 0,
|
|
2005
2009
|
start: l,
|
|
2006
2010
|
end: s
|
|
2007
2011
|
});
|
|
2008
|
-
let
|
|
2009
|
-
if (
|
|
2012
|
+
let S = m;
|
|
2013
|
+
if (S.length > 1) {
|
|
2010
2014
|
let C = n.length - 2, v = s + 1;
|
|
2011
|
-
for (;
|
|
2015
|
+
for (; S[1] !== void 0 && C >= 0; ) {
|
|
2012
2016
|
const P = n[C--];
|
|
2013
|
-
if (
|
|
2014
|
-
|
|
2015
|
-
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,
|
|
2016
2020
|
node: e
|
|
2017
2021
|
});
|
|
2018
2022
|
else {
|
|
2019
2023
|
const h = v + P.escapedText.length;
|
|
2020
|
-
|
|
2024
|
+
z.push({
|
|
2021
2025
|
name: P.escapedText,
|
|
2022
2026
|
module: void 0,
|
|
2023
|
-
package:
|
|
2024
|
-
viewUrl:
|
|
2027
|
+
package: le,
|
|
2028
|
+
viewUrl: S[0]?.startsWith("https") === !1 ? `${ft}${S[0]}` : S[0] ?? void 0,
|
|
2025
2029
|
start: v,
|
|
2026
2030
|
end: h
|
|
2027
2031
|
}), v = h + 1;
|
|
@@ -2030,27 +2034,27 @@ function Ke(e, t = 0) {
|
|
|
2030
2034
|
}
|
|
2031
2035
|
return;
|
|
2032
2036
|
}
|
|
2033
|
-
if (
|
|
2037
|
+
if (Qe.has(r))
|
|
2034
2038
|
return;
|
|
2035
|
-
const
|
|
2036
|
-
if (
|
|
2037
|
-
|
|
2039
|
+
const f = M.program?.getTypeChecker?.()?.getSymbolAtLocation(a);
|
|
2040
|
+
if (f !== void 0) {
|
|
2041
|
+
z.push(Je(f, a, M, l, s));
|
|
2038
2042
|
return;
|
|
2039
2043
|
}
|
|
2040
|
-
|
|
2044
|
+
M.emitError(
|
|
2041
2045
|
"Failed to resolve the definition of the type reference. Ensure it has @public or refactor out its usage from the public API type",
|
|
2042
|
-
{ file:
|
|
2046
|
+
{ file: M.file, node: e }
|
|
2043
2047
|
);
|
|
2044
2048
|
}
|
|
2045
|
-
function
|
|
2049
|
+
function be(e, t) {
|
|
2046
2050
|
const n = e.escapedText;
|
|
2047
|
-
|
|
2051
|
+
Xe = e, gt = t, fi(), gt = n;
|
|
2048
2052
|
}
|
|
2049
|
-
let
|
|
2050
|
-
function
|
|
2051
|
-
|
|
2053
|
+
let Xe, gt;
|
|
2054
|
+
function fi() {
|
|
2055
|
+
Xe.escapedText = gt;
|
|
2052
2056
|
}
|
|
2053
|
-
function
|
|
2057
|
+
function nt(e, t, n) {
|
|
2054
2058
|
if (e === void 0 || n.isInLuminaMinimalExtraction) {
|
|
2055
2059
|
t ? n.objectLikeTypeParameters = void 0 : n.functionLikeTypeParameters = void 0;
|
|
2056
2060
|
return;
|
|
@@ -2078,25 +2082,25 @@ function ot(e, t, n) {
|
|
|
2078
2082
|
t ? n.objectLikeTypeParameters = a : n.functionLikeTypeParameters = a;
|
|
2079
2083
|
for (let r = 0; r < e.length; ++r) {
|
|
2080
2084
|
const l = e[r], s = l.constraint, c = l.default;
|
|
2081
|
-
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));
|
|
2082
2086
|
}
|
|
2083
2087
|
return i;
|
|
2084
2088
|
}
|
|
2085
2089
|
const oo = /* @__PURE__ */ new Set(), ao = /* @__PURE__ */ new Set();
|
|
2086
|
-
function
|
|
2090
|
+
function Ee(e, t, n) {
|
|
2087
2091
|
if (!o.isIdentifier(e) && !o.isQualifiedName(e) && !o.isPropertyAccessExpression(e))
|
|
2088
2092
|
return n.emitError(
|
|
2089
2093
|
"Expected the type nodes in the extends clause to be Identifier, QualifiedName or PropertyAccessExpression.",
|
|
2090
2094
|
{ file: n.file, node: e }
|
|
2091
2095
|
), {
|
|
2092
|
-
[
|
|
2096
|
+
[J]: "Record<never, Error>",
|
|
2093
2097
|
name: "error",
|
|
2094
2098
|
module: void 0,
|
|
2095
2099
|
package: void 0,
|
|
2096
2100
|
viewUrl: void 0,
|
|
2097
2101
|
typeArguments: void 0
|
|
2098
2102
|
};
|
|
2099
|
-
const i =
|
|
2103
|
+
const i = j(e, n), a = i.references?.[0] ?? {
|
|
2100
2104
|
module: void 0,
|
|
2101
2105
|
package: void 0,
|
|
2102
2106
|
viewUrl: void 0
|
|
@@ -2105,7 +2109,7 @@ function Ce(e, t, n) {
|
|
|
2105
2109
|
if (r = i.text, t !== void 0) {
|
|
2106
2110
|
l = new Array(t.length), r += "<";
|
|
2107
2111
|
for (let s = 0; s < t.length; ++s) {
|
|
2108
|
-
const c = t[s], p =
|
|
2112
|
+
const c = t[s], p = j(c, n);
|
|
2109
2113
|
l[s] = p, r += p.text, s < t.length - 1 && (r += ", ");
|
|
2110
2114
|
}
|
|
2111
2115
|
r += ">";
|
|
@@ -2116,7 +2120,7 @@ function Ce(e, t, n) {
|
|
|
2116
2120
|
* which is not a name suitable for .d.ts emit. So we preserve the original
|
|
2117
2121
|
* type string in a temporary field.
|
|
2118
2122
|
*/
|
|
2119
|
-
[
|
|
2123
|
+
[J]: r,
|
|
2120
2124
|
name: i.references?.length === 1 ? i.references[0].name : i.text,
|
|
2121
2125
|
module: a.module,
|
|
2122
2126
|
package: a.package,
|
|
@@ -2124,13 +2128,13 @@ function Ce(e, t, n) {
|
|
|
2124
2128
|
typeArguments: l
|
|
2125
2129
|
};
|
|
2126
2130
|
}
|
|
2127
|
-
function
|
|
2131
|
+
function Ct(e) {
|
|
2128
2132
|
return o.isTypeReferenceNode(e) && (e.typeName.escapedText === "PublicApiNarrowType" || e.typeName.escapedText === "PublicApiRelaxType") ? e.typeArguments[1] : e;
|
|
2129
2133
|
}
|
|
2130
2134
|
function ro(e) {
|
|
2131
2135
|
return e.expression.escapedText === "PublicApiNarrowType" || e.expression.escapedText === "PublicApiRelaxType" ? e.typeArguments[1] : e;
|
|
2132
2136
|
}
|
|
2133
|
-
const
|
|
2137
|
+
const yi = { text: "unknown", references: void 0, values: void 0, source: void 0 }, so = {
|
|
2134
2138
|
text: "Promise<unknown>",
|
|
2135
2139
|
references: void 0,
|
|
2136
2140
|
values: void 0,
|
|
@@ -2141,7 +2145,7 @@ const vi = { text: "unknown", references: void 0, values: void 0, source: void 0
|
|
|
2141
2145
|
{
|
|
2142
2146
|
name: "Record",
|
|
2143
2147
|
module: void 0,
|
|
2144
|
-
package:
|
|
2148
|
+
package: le,
|
|
2145
2149
|
viewUrl: "https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type",
|
|
2146
2150
|
start: 0,
|
|
2147
2151
|
end: 6
|
|
@@ -2153,8 +2157,8 @@ const vi = { text: "unknown", references: void 0, values: void 0, source: void 0
|
|
|
2153
2157
|
function co(e, t) {
|
|
2154
2158
|
if (t.isInLuminaMinimalExtraction)
|
|
2155
2159
|
return;
|
|
2156
|
-
const n =
|
|
2157
|
-
[
|
|
2160
|
+
const n = Ji(e.name), i = {
|
|
2161
|
+
[J]: po,
|
|
2158
2162
|
kind: "method",
|
|
2159
2163
|
name: "componentOnReady",
|
|
2160
2164
|
static: void 0,
|
|
@@ -2205,7 +2209,7 @@ console.log("${e.tagName} is ready to go!");
|
|
|
2205
2209
|
}
|
|
2206
2210
|
a.length > 0 && (e.demos = a);
|
|
2207
2211
|
}
|
|
2208
|
-
const po =
|
|
2212
|
+
const po = et(), mo = {
|
|
2209
2213
|
summary: void 0,
|
|
2210
2214
|
description: void 0,
|
|
2211
2215
|
type: {
|
|
@@ -2228,11 +2232,11 @@ const po = tt(), mo = {
|
|
|
2228
2232
|
module: void 0,
|
|
2229
2233
|
package: void 0,
|
|
2230
2234
|
viewUrl: void 0
|
|
2231
|
-
}, fo =
|
|
2232
|
-
function
|
|
2235
|
+
}, fo = ce, yo = ce, vo = ce, So = ce, go = ce, To = ce, ho = ce, vi = ce;
|
|
2236
|
+
function ce(e, t, n, i, a) {
|
|
2233
2237
|
if (i.docsTags === void 0 || n === void 0)
|
|
2234
2238
|
return;
|
|
2235
|
-
const r = i.docsTags.indexOf(
|
|
2239
|
+
const r = i.docsTags.indexOf(N.copyDoc);
|
|
2236
2240
|
if (r === -1)
|
|
2237
2241
|
return;
|
|
2238
2242
|
const l = i.name;
|
|
@@ -2243,9 +2247,9 @@ function de(e, t, n, i, a) {
|
|
|
2243
2247
|
file: e.file,
|
|
2244
2248
|
node: t
|
|
2245
2249
|
}
|
|
2246
|
-
), !(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);
|
|
2247
2251
|
}
|
|
2248
|
-
function
|
|
2252
|
+
function Pt(e, t, n) {
|
|
2249
2253
|
n.apiModule.exports.push({
|
|
2250
2254
|
kind: e.customElement === !0 ? "custom-element-definition" : e.kind === "interface" || e.kind === "mixin" ? "ts" : "js",
|
|
2251
2255
|
name: t ? "default" : e.tagName ?? e.name,
|
|
@@ -2258,8 +2262,8 @@ function bt(e, t, n) {
|
|
|
2258
2262
|
}
|
|
2259
2263
|
});
|
|
2260
2264
|
}
|
|
2261
|
-
const Eo =
|
|
2262
|
-
function
|
|
2265
|
+
const Eo = Ae, st = Ae, Co = Ae, Kt = Ae, Ht = Ae;
|
|
2266
|
+
function Ae(e, t, n, i) {
|
|
2263
2267
|
if (t === void 0) {
|
|
2264
2268
|
i.emitError("Computed function/method names are not yet supported.", {
|
|
2265
2269
|
file: i.file,
|
|
@@ -2267,8 +2271,8 @@ function ke(e, t, n, i) {
|
|
|
2267
2271
|
});
|
|
2268
2272
|
return;
|
|
2269
2273
|
}
|
|
2270
|
-
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,
|
|
2271
|
-
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;
|
|
2272
2276
|
if (!m && a.modifiers !== void 0)
|
|
2273
2277
|
for (let E = 0; E < a.modifiers.length; ++E)
|
|
2274
2278
|
switch (a.modifiers[E].kind) {
|
|
@@ -2279,28 +2283,28 @@ function ke(e, t, n, i) {
|
|
|
2279
2283
|
h = "protected";
|
|
2280
2284
|
break;
|
|
2281
2285
|
case o.SyntaxKind.AbstractKeyword:
|
|
2282
|
-
|
|
2286
|
+
L = !0;
|
|
2283
2287
|
break;
|
|
2284
2288
|
case o.SyntaxKind.AsyncKeyword:
|
|
2285
|
-
|
|
2289
|
+
b = !0;
|
|
2286
2290
|
break;
|
|
2287
2291
|
}
|
|
2288
2292
|
const y = {
|
|
2289
|
-
[
|
|
2290
|
-
kind: c ? "method" : m ? "function" :
|
|
2291
|
-
name:
|
|
2293
|
+
[J]: v,
|
|
2294
|
+
kind: c ? "method" : m ? "function" : u ? "call-signature" : S ? "constructor" : void 0,
|
|
2295
|
+
name: S || u ? void 0 : t,
|
|
2292
2296
|
static: P,
|
|
2293
2297
|
deprecated: void 0,
|
|
2294
2298
|
summary: void 0,
|
|
2295
2299
|
description: void 0,
|
|
2296
2300
|
docsTags: void 0,
|
|
2297
|
-
typeParameters:
|
|
2301
|
+
typeParameters: nt(e.typeParameters, !1, i),
|
|
2298
2302
|
parameters: [],
|
|
2299
|
-
return:
|
|
2303
|
+
return: f ? void 0 : {
|
|
2300
2304
|
summary: void 0,
|
|
2301
2305
|
description: void 0,
|
|
2302
|
-
type: C ?
|
|
2303
|
-
e.type ??
|
|
2306
|
+
type: C ? b ? so : yi : j(
|
|
2307
|
+
e.type ?? qe(e, i) ?? X(
|
|
2304
2308
|
{ file: i.file, node: e },
|
|
2305
2309
|
"@public function must have a return type annotation",
|
|
2306
2310
|
i
|
|
@@ -2312,103 +2316,103 @@ function ke(e, t, n, i) {
|
|
|
2312
2316
|
signature: void 0,
|
|
2313
2317
|
privacy: h,
|
|
2314
2318
|
source: void 0
|
|
2315
|
-
}, k = y,
|
|
2316
|
-
let x =
|
|
2317
|
-
for (let E = 0; E <
|
|
2318
|
-
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;
|
|
2319
2323
|
if (A === "this") {
|
|
2320
|
-
|
|
2324
|
+
K -= 1;
|
|
2321
2325
|
continue;
|
|
2322
2326
|
}
|
|
2323
|
-
const
|
|
2324
|
-
if (
|
|
2325
|
-
|
|
2326
|
-
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);
|
|
2327
2331
|
if (q === void 0)
|
|
2328
2332
|
continue;
|
|
2329
2333
|
i.apiObject.members.push(q);
|
|
2330
|
-
const
|
|
2334
|
+
const de = {
|
|
2331
2335
|
name: A,
|
|
2332
2336
|
deprecated: void 0,
|
|
2333
2337
|
summary: void 0,
|
|
2334
2338
|
description: q.description,
|
|
2335
2339
|
docsTags: void 0,
|
|
2336
2340
|
optional: void 0,
|
|
2337
|
-
rest:
|
|
2341
|
+
rest: T.dotDotDotToken ? !0 : void 0,
|
|
2338
2342
|
type: q.type,
|
|
2339
2343
|
default: q.default
|
|
2340
2344
|
};
|
|
2341
|
-
|
|
2345
|
+
de.optional = $t(T, de), y.parameters.push(de);
|
|
2342
2346
|
continue;
|
|
2343
2347
|
}
|
|
2344
|
-
let G =
|
|
2348
|
+
let G = D[E + K]?.text, U, F;
|
|
2345
2349
|
if (!i.config.strict && (G === void 0 || A === void 0) && (G = A ?? `parameter${E}`), G === void 0) {
|
|
2346
2350
|
i.emitError(
|
|
2347
|
-
`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)${
|
|
2348
|
-
{ file: i.file, node:
|
|
2349
|
-
),
|
|
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;
|
|
2350
2354
|
break;
|
|
2351
2355
|
}
|
|
2352
|
-
const
|
|
2353
|
-
if (
|
|
2354
|
-
`)) && (F = F.slice(2).trim()), A !== void 0 && A !==
|
|
2355
|
-
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("]");
|
|
2356
2360
|
if (i.config.strict) {
|
|
2357
2361
|
i.emitError(
|
|
2358
|
-
`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]" : ""}`,
|
|
2359
2363
|
{
|
|
2360
2364
|
file: i.file,
|
|
2361
|
-
node:
|
|
2365
|
+
node: T
|
|
2362
2366
|
}
|
|
2363
|
-
),
|
|
2367
|
+
), g = !0;
|
|
2364
2368
|
break;
|
|
2365
2369
|
} else
|
|
2366
|
-
|
|
2370
|
+
U = A.startsWith("_") ? A.slice(1) : A;
|
|
2367
2371
|
}
|
|
2368
|
-
const
|
|
2369
|
-
{ file: i.file, node:
|
|
2370
|
-
`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`,
|
|
2371
2375
|
i
|
|
2372
|
-
) :
|
|
2373
|
-
name:
|
|
2376
|
+
) : Et(T.initializer, O.false, i.file, i)), ke = j(fe, i), te = {
|
|
2377
|
+
name: U,
|
|
2374
2378
|
deprecated: void 0,
|
|
2375
2379
|
summary: void 0,
|
|
2376
2380
|
description: F || void 0,
|
|
2377
2381
|
docsTags: void 0,
|
|
2378
2382
|
optional: void 0,
|
|
2379
|
-
rest:
|
|
2380
|
-
type:
|
|
2381
|
-
default:
|
|
2383
|
+
rest: T.dotDotDotToken ? !0 : void 0,
|
|
2384
|
+
type: ke,
|
|
2385
|
+
default: $e(T.initializer, void 0, i.file)
|
|
2382
2386
|
};
|
|
2383
|
-
te.optional =
|
|
2387
|
+
te.optional = $t(T, te), y.parameters.push(te);
|
|
2384
2388
|
}
|
|
2385
|
-
if (i.config.strict && !
|
|
2386
|
-
`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" : ""}`,
|
|
2387
2391
|
{ file: i.file, node: e }
|
|
2388
2392
|
), y.parameters.length === 0)
|
|
2389
2393
|
y.parameters = void 0;
|
|
2390
2394
|
else {
|
|
2391
2395
|
let E = !0;
|
|
2392
|
-
for (let
|
|
2393
|
-
const
|
|
2394
|
-
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"));
|
|
2395
2399
|
}
|
|
2396
2400
|
}
|
|
2397
|
-
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.", {
|
|
2398
2402
|
file: i.file,
|
|
2399
2403
|
node: e
|
|
2400
2404
|
})), i.functionLikeTypeParameters = void 0;
|
|
2401
|
-
const
|
|
2402
|
-
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.", {
|
|
2403
2407
|
file: i.file,
|
|
2404
2408
|
node: e
|
|
2405
|
-
})), 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(
|
|
2406
2410
|
i,
|
|
2407
2411
|
n ?? e,
|
|
2408
2412
|
i.config.documentation.copyDocDefinitions.methods,
|
|
2409
2413
|
y,
|
|
2410
2414
|
i.apiObject
|
|
2411
|
-
) : m &&
|
|
2415
|
+
) : m && So(
|
|
2412
2416
|
i,
|
|
2413
2417
|
n ?? e,
|
|
2414
2418
|
i.config.documentation.copyDocDefinitions.functions,
|
|
@@ -2416,86 +2420,86 @@ function ke(e, t, n, i) {
|
|
|
2416
2420
|
i.apiModule
|
|
2417
2421
|
), y;
|
|
2418
2422
|
}
|
|
2419
|
-
const
|
|
2423
|
+
const $t = (e, t) => (
|
|
2420
2424
|
// Keep ? as is
|
|
2421
2425
|
e.questionToken !== void 0 || // If had default value internally, but not publicly, add ?
|
|
2422
2426
|
e.initializer !== void 0 && t.default === void 0 ? !0 : void 0
|
|
2423
2427
|
);
|
|
2424
2428
|
function Po(e, t, n) {
|
|
2425
|
-
return
|
|
2429
|
+
return Tt(), Me(e, t), bt && t !== void 0 && n !== void 0 && (Tt(), Mt(t.getTypeAtLocation(n))), Si();
|
|
2426
2430
|
}
|
|
2427
2431
|
function bo(e) {
|
|
2428
|
-
return
|
|
2432
|
+
return Tt(), Mt(e), Si();
|
|
2429
2433
|
}
|
|
2430
|
-
let
|
|
2431
|
-
const
|
|
2432
|
-
function
|
|
2433
|
-
|
|
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;
|
|
2434
2438
|
}
|
|
2435
2439
|
function Si() {
|
|
2436
|
-
if (!
|
|
2440
|
+
if (!ae && !Ie && !re && !Le)
|
|
2437
2441
|
return;
|
|
2438
2442
|
const e = [];
|
|
2439
|
-
if (
|
|
2440
|
-
for (let t = 0; t <
|
|
2441
|
-
e.push({ type: "string", value:
|
|
2442
|
-
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);
|
|
2443
2447
|
if (ee.length > 0)
|
|
2444
2448
|
for (let t = 0; t < ee.length; ++t)
|
|
2445
2449
|
e.push({ type: "number", value: ee[t] });
|
|
2446
|
-
else
|
|
2447
|
-
return
|
|
2450
|
+
else re && e.push(xo);
|
|
2451
|
+
return Ie && e.push(Do), Le ? e.push(Ro) : oe && e.push(Lo), e;
|
|
2448
2452
|
}
|
|
2449
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 };
|
|
2450
|
-
function
|
|
2454
|
+
function Me(e, t) {
|
|
2451
2455
|
switch (e.kind) {
|
|
2452
2456
|
case o.SyntaxKind.BooleanKeyword:
|
|
2453
2457
|
case o.SyntaxKind.TrueKeyword:
|
|
2454
2458
|
case o.SyntaxKind.FalseKeyword:
|
|
2455
|
-
|
|
2459
|
+
Ie = !0;
|
|
2456
2460
|
return;
|
|
2457
2461
|
case o.SyntaxKind.NumberKeyword:
|
|
2458
|
-
|
|
2462
|
+
re = !0;
|
|
2459
2463
|
return;
|
|
2460
2464
|
case o.SyntaxKind.StringKeyword:
|
|
2461
2465
|
case o.SyntaxKind.TemplateLiteralType:
|
|
2462
|
-
|
|
2466
|
+
ae = !0;
|
|
2463
2467
|
return;
|
|
2464
2468
|
case o.SyntaxKind.AnyKeyword:
|
|
2465
|
-
|
|
2469
|
+
Le = !0;
|
|
2466
2470
|
return;
|
|
2467
2471
|
case o.SyntaxKind.LiteralType:
|
|
2468
|
-
|
|
2472
|
+
Me(e.literal, t);
|
|
2469
2473
|
return;
|
|
2470
2474
|
case o.SyntaxKind.StringLiteral:
|
|
2471
2475
|
case o.SyntaxKind.NoSubstitutionTemplateLiteral:
|
|
2472
|
-
|
|
2476
|
+
ae = !0, se.push(e.text);
|
|
2473
2477
|
return;
|
|
2474
2478
|
case o.SyntaxKind.NumericLiteral:
|
|
2475
|
-
|
|
2479
|
+
re = !0, ee.push(e.text);
|
|
2476
2480
|
return;
|
|
2477
2481
|
case o.SyntaxKind.PrefixUnaryExpression:
|
|
2478
2482
|
const n = e.operand;
|
|
2479
|
-
n.kind === o.SyntaxKind.NumericLiteral ? (ee.push(`-${n.text}`),
|
|
2483
|
+
n.kind === o.SyntaxKind.NumericLiteral ? (ee.push(`-${n.text}`), re = !0) : oe = !0;
|
|
2480
2484
|
return;
|
|
2481
2485
|
case o.SyntaxKind.VoidKeyword:
|
|
2482
2486
|
case o.SyntaxKind.UndefinedKeyword:
|
|
2483
2487
|
case o.SyntaxKind.NullKeyword:
|
|
2484
2488
|
return;
|
|
2485
2489
|
case o.SyntaxKind.UnionType:
|
|
2486
|
-
const i = e.types, a = Math.min(i.length,
|
|
2490
|
+
const i = e.types, a = Math.min(i.length, Ye);
|
|
2487
2491
|
for (let l = 0; l < a; ++l)
|
|
2488
|
-
|
|
2489
|
-
i.length >
|
|
2492
|
+
Me(i[l], t);
|
|
2493
|
+
i.length > Ye && (se.length = 0, ee.length = 0);
|
|
2490
2494
|
return;
|
|
2491
2495
|
case o.SyntaxKind.ParenthesizedType:
|
|
2492
|
-
|
|
2496
|
+
Me(e.type, t);
|
|
2493
2497
|
return;
|
|
2494
2498
|
case o.SyntaxKind.TypeQuery:
|
|
2495
2499
|
case o.SyntaxKind.IndexedAccessType:
|
|
2496
2500
|
case o.SyntaxKind.ImportType:
|
|
2497
2501
|
case o.SyntaxKind.TypeReference:
|
|
2498
|
-
t === void 0 ?
|
|
2502
|
+
t === void 0 ? oe = !0 : Mt(
|
|
2499
2503
|
t.getTypeFromTypeNode(
|
|
2500
2504
|
e
|
|
2501
2505
|
)
|
|
@@ -2503,7 +2507,7 @@ function xe(e, t) {
|
|
|
2503
2507
|
return;
|
|
2504
2508
|
case o.SyntaxKind.TypeOperator:
|
|
2505
2509
|
const r = e;
|
|
2506
|
-
r.operator === o.SyntaxKind.KeyOfKeyword ?
|
|
2510
|
+
r.operator === o.SyntaxKind.KeyOfKeyword ? ae = !0 : r.operator === o.SyntaxKind.ReadonlyKeyword ? Me(r.type, t) : oe = !0;
|
|
2507
2511
|
return;
|
|
2508
2512
|
/*case ts.SyntaxKind.UnknownKeyword:
|
|
2509
2513
|
case ts.SyntaxKind.FunctionType:
|
|
@@ -2516,31 +2520,31 @@ function xe(e, t) {
|
|
|
2516
2520
|
case ts.SyntaxKind.ObjectKeyword:
|
|
2517
2521
|
case ts.SyntaxKind.SymbolKeyword:*/
|
|
2518
2522
|
default:
|
|
2519
|
-
|
|
2523
|
+
oe = !0;
|
|
2520
2524
|
return;
|
|
2521
2525
|
}
|
|
2522
2526
|
}
|
|
2523
|
-
const
|
|
2524
|
-
function
|
|
2527
|
+
const Ye = 40;
|
|
2528
|
+
function Mt(e) {
|
|
2525
2529
|
if (e.isUnion()) {
|
|
2526
|
-
const t = Math.min(e.types.length,
|
|
2530
|
+
const t = Math.min(e.types.length, Ye);
|
|
2527
2531
|
for (let n = 0; n < t; ++n)
|
|
2528
|
-
|
|
2529
|
-
e.types.length >
|
|
2532
|
+
zt(e.types[n]);
|
|
2533
|
+
e.types.length > Ye && (se.length = 0, ee.length = 0);
|
|
2530
2534
|
} else
|
|
2531
|
-
|
|
2535
|
+
zt(e);
|
|
2532
2536
|
}
|
|
2533
|
-
function
|
|
2537
|
+
function zt(e) {
|
|
2534
2538
|
const t = e.flags;
|
|
2535
2539
|
let n = !1;
|
|
2536
|
-
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) {
|
|
2537
2541
|
if (e.intrinsicName === "error") {
|
|
2538
|
-
|
|
2542
|
+
oe = !0, bt = !0;
|
|
2539
2543
|
return;
|
|
2540
2544
|
}
|
|
2541
|
-
|
|
2545
|
+
Le = !0, n = !0;
|
|
2542
2546
|
}
|
|
2543
|
-
t & Io || n || (
|
|
2547
|
+
t & Io || n || (oe = !0);
|
|
2544
2548
|
}
|
|
2545
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;
|
|
2546
2550
|
function ko(e, t, n) {
|
|
@@ -2550,12 +2554,12 @@ function ko(e, t, n) {
|
|
|
2550
2554
|
if (e.questionToken !== void 0)
|
|
2551
2555
|
return;
|
|
2552
2556
|
if (e.type !== void 0)
|
|
2553
|
-
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);
|
|
2554
2558
|
else if (a !== void 0 && o.isCallExpression(a)) {
|
|
2555
2559
|
const s = a.expression;
|
|
2556
2560
|
if (o.isIdentifier(s)) {
|
|
2557
2561
|
const c = s.escapedText;
|
|
2558
|
-
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));
|
|
2559
2563
|
} else if (o.isCallExpression(s) && o.isIdentifier(s.expression)) {
|
|
2560
2564
|
const c = s.expression.escapedText;
|
|
2561
2565
|
if (c === "usePropertyChange") {
|
|
@@ -2574,7 +2578,7 @@ function ko(e, t, n) {
|
|
|
2574
2578
|
p.length === 1 ? p[0] : o.factory.createUnionTypeNode(p)
|
|
2575
2579
|
)
|
|
2576
2580
|
]);
|
|
2577
|
-
} else c.startsWith("use") && (i =
|
|
2581
|
+
} else c.startsWith("use") && (i = jt(e, n));
|
|
2578
2582
|
}
|
|
2579
2583
|
}
|
|
2580
2584
|
if (i === void 0)
|
|
@@ -2585,14 +2589,14 @@ function ko(e, t, n) {
|
|
|
2585
2589
|
summary: void 0,
|
|
2586
2590
|
description: void 0,
|
|
2587
2591
|
docsTags: void 0,
|
|
2588
|
-
type:
|
|
2592
|
+
type: j(i, n),
|
|
2589
2593
|
inheritedFrom: void 0,
|
|
2590
2594
|
privacy: void 0,
|
|
2591
2595
|
bubbles: void 0,
|
|
2592
2596
|
cancelable: void 0,
|
|
2593
2597
|
composed: void 0
|
|
2594
2598
|
};
|
|
2595
|
-
return
|
|
2599
|
+
return un(l, n.jsDoc), r !== void 0 && Go(e, r, l, n), vo(
|
|
2596
2600
|
n,
|
|
2597
2601
|
e,
|
|
2598
2602
|
n.config.documentation.copyDocDefinitions.events,
|
|
@@ -2600,11 +2604,11 @@ function ko(e, t, n) {
|
|
|
2600
2604
|
n.apiObject
|
|
2601
2605
|
), l;
|
|
2602
2606
|
}
|
|
2603
|
-
const
|
|
2607
|
+
const Ke = "createEvent";
|
|
2604
2608
|
function Go(e, t, n, i) {
|
|
2605
2609
|
if (t !== void 0) {
|
|
2606
2610
|
if (!o.isObjectLiteralExpression(t)) {
|
|
2607
|
-
i.emitError(`Expected object literal expression as first argument of ${
|
|
2611
|
+
i.emitError(`Expected object literal expression as first argument of ${Ke}().`, {
|
|
2608
2612
|
file: i.file,
|
|
2609
2613
|
node: e
|
|
2610
2614
|
});
|
|
@@ -2612,7 +2616,7 @@ function Go(e, t, n, i) {
|
|
|
2612
2616
|
}
|
|
2613
2617
|
if (t.properties.some(o.isSpreadAssignment)) {
|
|
2614
2618
|
i.emitError(
|
|
2615
|
-
`Unexpected spread syntax in ${
|
|
2619
|
+
`Unexpected spread syntax in ${Ke}() argument. ${Ke}() arguments must be statically parsable at compile time`,
|
|
2616
2620
|
{
|
|
2617
2621
|
file: i.file,
|
|
2618
2622
|
node: e
|
|
@@ -2624,7 +2628,7 @@ function Go(e, t, n, i) {
|
|
|
2624
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));
|
|
2625
2629
|
}
|
|
2626
2630
|
}
|
|
2627
|
-
function
|
|
2631
|
+
function jt(e, t) {
|
|
2628
2632
|
const n = t.program?.getTypeChecker?.();
|
|
2629
2633
|
if (n === void 0)
|
|
2630
2634
|
return;
|
|
@@ -2633,28 +2637,28 @@ function Jt(e, t) {
|
|
|
2633
2637
|
return;
|
|
2634
2638
|
const r = n.getTypeArguments(i);
|
|
2635
2639
|
if (r.length === 0)
|
|
2636
|
-
return
|
|
2640
|
+
return We;
|
|
2637
2641
|
const l = r[0];
|
|
2638
2642
|
return n.typeToTypeNode(l, e, o.NodeBuilderFlags.NoTruncation);
|
|
2639
2643
|
}
|
|
2640
|
-
function
|
|
2644
|
+
function gi(e, t, n, i) {
|
|
2641
2645
|
if (t === void 0) {
|
|
2642
2646
|
i.emitError("Computed property names are not yet supported", { file: i.file, node: e });
|
|
2643
2647
|
return;
|
|
2644
2648
|
}
|
|
2645
|
-
const a = e, r =
|
|
2646
|
-
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;
|
|
2647
2651
|
if (c && e.modifiers !== void 0)
|
|
2648
2652
|
for (let E = 0; E < e.modifiers.length; ++E)
|
|
2649
2653
|
switch (e.modifiers[E].kind) {
|
|
2650
2654
|
case o.SyntaxKind.ReadonlyKeyword:
|
|
2651
|
-
|
|
2655
|
+
u = !0;
|
|
2652
2656
|
continue;
|
|
2653
2657
|
case o.SyntaxKind.AccessorKeyword:
|
|
2654
|
-
|
|
2658
|
+
f = !0;
|
|
2655
2659
|
continue;
|
|
2656
2660
|
case o.SyntaxKind.ProtectedKeyword:
|
|
2657
|
-
|
|
2661
|
+
S = "protected";
|
|
2658
2662
|
continue;
|
|
2659
2663
|
case o.SyntaxKind.StaticKeyword:
|
|
2660
2664
|
v = !0;
|
|
@@ -2663,38 +2667,38 @@ function Ti(e, t, n, i) {
|
|
|
2663
2667
|
C = !0;
|
|
2664
2668
|
continue;
|
|
2665
2669
|
}
|
|
2666
|
-
n ||=
|
|
2667
|
-
const
|
|
2668
|
-
let
|
|
2670
|
+
n ||= u || p && i.pairedSetter === void 0;
|
|
2671
|
+
const L = i.apiObject.customElement === !0;
|
|
2672
|
+
let b = !1;
|
|
2669
2673
|
if (i.moduleHasAccessorLikeClass)
|
|
2670
2674
|
if (s !== void 0) {
|
|
2671
2675
|
for (let E = 0; E < s.length; ++E) {
|
|
2672
|
-
const
|
|
2673
|
-
if (!o.isPropertyAssignment(
|
|
2674
|
-
|
|
2676
|
+
const T = s[E];
|
|
2677
|
+
if (!o.isPropertyAssignment(T)) {
|
|
2678
|
+
b ||= o.isSpreadAssignment(T);
|
|
2675
2679
|
continue;
|
|
2676
2680
|
}
|
|
2677
|
-
const
|
|
2678
|
-
|
|
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(
|
|
2679
2683
|
d,
|
|
2680
|
-
|
|
2684
|
+
T.initializer?.kind === o.SyntaxKind.ObjectLiteralExpression ? T.initializer : void 0
|
|
2681
2685
|
);
|
|
2682
2686
|
}
|
|
2683
|
-
|
|
2687
|
+
b && d.hasAutoCasting === void 0 && (d.hasAutoCasting = !0, d.autoCastingRequiresType = !0);
|
|
2684
2688
|
} else l !== void 0 && (d.hasAutoCasting = !0, d.autoCastingRequiresType = !0);
|
|
2685
|
-
else if (
|
|
2689
|
+
else if (L) {
|
|
2686
2690
|
const E = i.apiObject;
|
|
2687
2691
|
if (r === void 0) {
|
|
2688
2692
|
if (m)
|
|
2689
2693
|
return;
|
|
2690
2694
|
{
|
|
2691
|
-
const
|
|
2692
|
-
if (
|
|
2693
|
-
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);
|
|
2694
2698
|
return;
|
|
2695
|
-
} else !i.config.strict &&
|
|
2699
|
+
} else !i.config.strict && Ti(e) ? (S = "protected", P = !1, i.jsDoc = {
|
|
2696
2700
|
...i.jsDoc,
|
|
2697
|
-
docsTags: [...i.jsDoc.docsTags,
|
|
2701
|
+
docsTags: [...i.jsDoc.docsTags, N.internal]
|
|
2698
2702
|
}) : r === void 0 && i.emitError(
|
|
2699
2703
|
"Public properties on a Lumina component must have a @property() decorator for lazy-loading compatibility.",
|
|
2700
2704
|
{
|
|
@@ -2704,18 +2708,18 @@ function Ti(e, t, n, i) {
|
|
|
2704
2708
|
);
|
|
2705
2709
|
}
|
|
2706
2710
|
} else if (s !== void 0)
|
|
2707
|
-
for (let
|
|
2708
|
-
const
|
|
2709
|
-
if (!(!o.isPropertyAssignment(
|
|
2710
|
-
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) {
|
|
2711
2715
|
case "attribute":
|
|
2712
|
-
o.isStringLiteral(
|
|
2716
|
+
o.isStringLiteral(R.initializer) ? P = R.initializer.text : P = Y(R.initializer, i);
|
|
2713
2717
|
continue;
|
|
2714
2718
|
case "reflect":
|
|
2715
|
-
Y(
|
|
2719
|
+
Y(R.initializer, i) && (P ??= !0, h = !0);
|
|
2716
2720
|
continue;
|
|
2717
2721
|
case "readOnly":
|
|
2718
|
-
Y(
|
|
2722
|
+
Y(R.initializer, i) && (n = !0);
|
|
2719
2723
|
continue;
|
|
2720
2724
|
case "type":
|
|
2721
2725
|
case "converter":
|
|
@@ -2725,28 +2729,28 @@ function Ti(e, t, n, i) {
|
|
|
2725
2729
|
}
|
|
2726
2730
|
}
|
|
2727
2731
|
const y = i.pairedSetter ?? (o.isSetAccessor(e) ? e : void 0), k = n ? void 0 : y;
|
|
2728
|
-
|
|
2729
|
-
const
|
|
2730
|
-
let x =
|
|
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;
|
|
2731
2735
|
if (x === void 0) {
|
|
2732
2736
|
const E = k?.parameters[0].initializer ?? e.initializer;
|
|
2733
2737
|
if (c && E !== void 0 && o.isArrowFunction(E)) {
|
|
2734
2738
|
if (n)
|
|
2735
|
-
return
|
|
2736
|
-
|
|
2739
|
+
return Ht(E, t, e, i);
|
|
2740
|
+
Jt(e, i);
|
|
2737
2741
|
}
|
|
2738
2742
|
x = E === void 0 ? qn(e, i) ?? X(
|
|
2739
2743
|
{ file: i.file, node: e },
|
|
2740
2744
|
"Public property must have a type annotation or a default value",
|
|
2741
2745
|
i
|
|
2742
|
-
) :
|
|
2743
|
-
} else if (x =
|
|
2746
|
+
) : Et(E, n ? O.shallow : O.false, i.file, i);
|
|
2747
|
+
} else if (x = Ct(x), c && o.isFunctionTypeNode(x)) {
|
|
2744
2748
|
if (n)
|
|
2745
|
-
return
|
|
2746
|
-
|
|
2749
|
+
return Ht(x, t, e, i);
|
|
2750
|
+
Jt(e, i);
|
|
2747
2751
|
}
|
|
2748
|
-
const
|
|
2749
|
-
[
|
|
2752
|
+
const g = {
|
|
2753
|
+
[J]: d,
|
|
2750
2754
|
kind: "field",
|
|
2751
2755
|
name: t,
|
|
2752
2756
|
static: v,
|
|
@@ -2755,75 +2759,78 @@ function Ti(e, t, n, i) {
|
|
|
2755
2759
|
description: void 0,
|
|
2756
2760
|
docsTags: void 0,
|
|
2757
2761
|
// In minimal extraction, we care only for type.values (set below)
|
|
2758
|
-
type: m ? { ...
|
|
2762
|
+
type: m ? { ...yi } : j(x, i),
|
|
2759
2763
|
getterType: void 0,
|
|
2760
2764
|
default: void 0,
|
|
2761
2765
|
readonly: n || void 0,
|
|
2762
2766
|
inheritedFrom: void 0,
|
|
2763
|
-
privacy:
|
|
2767
|
+
privacy: S,
|
|
2764
2768
|
source: void 0,
|
|
2765
|
-
attribute: !
|
|
2769
|
+
attribute: !L || P === !1 ? void 0 : typeof P == "string" ? P : qi(t),
|
|
2766
2770
|
reflects: h,
|
|
2767
2771
|
docsOnlyReadonly: void 0
|
|
2768
2772
|
};
|
|
2769
|
-
|
|
2770
|
-
const
|
|
2771
|
-
|
|
2772
|
-
const
|
|
2773
|
-
if (
|
|
2774
|
-
!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);
|
|
2775
2779
|
const E = i.program?.getTypeChecker?.();
|
|
2776
|
-
|
|
2777
|
-
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
|
|
2778
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);
|
|
2779
|
-
if (("initializer" in e && e.initializer !== void 0 && (!
|
|
2780
|
-
const
|
|
2781
|
-
let
|
|
2782
|
-
const
|
|
2783
|
-
if (
|
|
2784
|
-
for (let F = 0; F <
|
|
2785
|
-
const
|
|
2786
|
-
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
|
|
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()
|
|
2790
2794
|
));
|
|
2791
2795
|
}
|
|
2792
|
-
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
|
|
2796
|
-
|
|
2797
|
-
|
|
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
|
+
}
|
|
2798
2805
|
}
|
|
2799
2806
|
}
|
|
2800
|
-
if (
|
|
2807
|
+
if (I !== void 0 && D !== void 0 && !m && // Quick perf check: type is definitely the same if raw type string matches.
|
|
2801
2808
|
// More reliable check follows in processing/index.ts, where printed normalized
|
|
2802
2809
|
// type string is compared.
|
|
2803
|
-
|
|
2804
|
-
...
|
|
2805
|
-
references:
|
|
2806
|
-
}), n && x.kind === o.SyntaxKind.LiteralType || (
|
|
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(
|
|
2807
2814
|
e.initializer,
|
|
2808
|
-
|
|
2815
|
+
g.default,
|
|
2809
2816
|
i.file
|
|
2810
|
-
)),
|
|
2811
|
-
const E =
|
|
2812
|
-
|
|
2813
|
-
`${
|
|
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`
|
|
2814
2821
|
), i.loggedBooleanWarning = !0));
|
|
2815
2822
|
}
|
|
2816
2823
|
return fo(
|
|
2817
2824
|
i,
|
|
2818
2825
|
e,
|
|
2819
2826
|
i.config.documentation.copyDocDefinitions?.properties,
|
|
2820
|
-
|
|
2827
|
+
g,
|
|
2821
2828
|
i.apiObject
|
|
2822
|
-
), 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
|
|
2823
2830
|
// with ? during printing
|
|
2824
|
-
|
|
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;
|
|
2825
2832
|
}
|
|
2826
|
-
function
|
|
2833
|
+
function Jt(e, t) {
|
|
2827
2834
|
if (!t.config.strict)
|
|
2828
2835
|
return;
|
|
2829
2836
|
const n = t.jsDoc.docsTags;
|
|
@@ -2851,11 +2858,11 @@ function Fo(e, t) {
|
|
|
2851
2858
|
}
|
|
2852
2859
|
}
|
|
2853
2860
|
}
|
|
2854
|
-
const
|
|
2855
|
-
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) {
|
|
2856
2863
|
const n = o.isClassDeclaration(e);
|
|
2857
2864
|
let i = e.name.escapedText;
|
|
2858
|
-
const a = n ? t.componentTagName : void 0, r = !n &&
|
|
2865
|
+
const a = n ? t.componentTagName : void 0, r = !n && pi(i, t);
|
|
2859
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;
|
|
2860
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) {
|
|
2861
2868
|
No(i, l.types[0].typeArguments[0], t);
|
|
@@ -2863,8 +2870,8 @@ function et(e, t) {
|
|
|
2863
2870
|
}
|
|
2864
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";
|
|
2865
2872
|
s && (l = void 0, i = t.mixinName);
|
|
2866
|
-
const c =
|
|
2867
|
-
[
|
|
2873
|
+
const c = ii(), p = {
|
|
2874
|
+
[J]: c,
|
|
2868
2875
|
kind: n ? "class" : "interface",
|
|
2869
2876
|
name: i,
|
|
2870
2877
|
customElement: a === void 0 ? void 0 : !0,
|
|
@@ -2877,14 +2884,14 @@ function et(e, t) {
|
|
|
2877
2884
|
* prefix (Arcgis), where as tag name always does. This also matches
|
|
2878
2885
|
* Stencil's behavior.
|
|
2879
2886
|
*/
|
|
2880
|
-
|
|
2887
|
+
Qi(a)
|
|
2881
2888
|
),
|
|
2882
2889
|
deprecated: void 0,
|
|
2883
2890
|
summary: void 0,
|
|
2884
2891
|
description: void 0,
|
|
2885
2892
|
docsTags: void 0,
|
|
2886
2893
|
demos: void 0,
|
|
2887
|
-
typeParameters: s ? void 0 :
|
|
2894
|
+
typeParameters: s ? void 0 : nt(e.typeParameters, !0, t),
|
|
2888
2895
|
superclass: void 0,
|
|
2889
2896
|
supertypes: void 0,
|
|
2890
2897
|
mixins: void 0,
|
|
@@ -2901,21 +2908,21 @@ function et(e, t) {
|
|
|
2901
2908
|
source: void 0,
|
|
2902
2909
|
// REFACTOR: remove this deprecated property
|
|
2903
2910
|
importPath: a === void 0 ? void 0 : t.apiModule.path
|
|
2904
|
-
}, d = p, m = d,
|
|
2905
|
-
|
|
2906
|
-
const
|
|
2911
|
+
}, d = p, m = d, u = d;
|
|
2912
|
+
oi(p, t.jsDoc);
|
|
2913
|
+
const f = r ? (
|
|
2907
2914
|
// Members will be added during post-processing
|
|
2908
2915
|
!1
|
|
2909
|
-
) :
|
|
2910
|
-
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(
|
|
2911
2918
|
"Lumina web component must extend LitElement class. Found a class that does not extend any class.",
|
|
2912
2919
|
{
|
|
2913
2920
|
file: t.file,
|
|
2914
2921
|
node: e
|
|
2915
2922
|
}
|
|
2916
|
-
) : 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 =
|
|
2917
|
-
const
|
|
2918
|
-
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(
|
|
2919
2926
|
t,
|
|
2920
2927
|
e,
|
|
2921
2928
|
t.config.documentation.copyDocDefinitions.classes,
|
|
@@ -2930,16 +2937,16 @@ function et(e, t) {
|
|
|
2930
2937
|
), t.moduleHasClass && t.config.strict && t.emitError(
|
|
2931
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",
|
|
2932
2939
|
{ file: t.file, node: e }
|
|
2933
|
-
), t.moduleHasClass = !0) :
|
|
2940
|
+
), t.moduleHasClass = !0) : vi(
|
|
2934
2941
|
t,
|
|
2935
2942
|
e,
|
|
2936
2943
|
t.config.documentation.copyDocDefinitions.interfaces,
|
|
2937
|
-
|
|
2944
|
+
u,
|
|
2938
2945
|
t.apiModule
|
|
2939
|
-
), 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.", {
|
|
2940
2947
|
file: t.file,
|
|
2941
2948
|
node: e
|
|
2942
|
-
}),
|
|
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;
|
|
2943
2950
|
}
|
|
2944
2951
|
function Oo(e, t, n, i, a) {
|
|
2945
2952
|
for (let r = 0; r < e.types.length; ++r) {
|
|
@@ -2963,7 +2970,7 @@ function Oo(e, t, n, i, a) {
|
|
|
2963
2970
|
n.mixins ??= [];
|
|
2964
2971
|
const m = c.expression;
|
|
2965
2972
|
n.mixins.unshift(
|
|
2966
|
-
|
|
2973
|
+
Ee(m, c.typeArguments, a)
|
|
2967
2974
|
), c = c.arguments[0];
|
|
2968
2975
|
}
|
|
2969
2976
|
} while (o.isCallExpression(c));
|
|
@@ -2975,13 +2982,13 @@ function Oo(e, t, n, i, a) {
|
|
|
2975
2982
|
break;
|
|
2976
2983
|
} else o.isExpressionWithTypeArguments(c) && (s = c.typeArguments, c = c.expression);
|
|
2977
2984
|
}
|
|
2978
|
-
const p =
|
|
2985
|
+
const p = Ee(
|
|
2979
2986
|
c,
|
|
2980
2987
|
a.isInLuminaMinimalExtraction ? void 0 : s,
|
|
2981
2988
|
a
|
|
2982
2989
|
);
|
|
2983
2990
|
if (p.name === "LitElement") {
|
|
2984
|
-
p.name = "HTMLElement", p.package =
|
|
2991
|
+
p.name = "HTMLElement", p.package = le, p.viewUrl = "https://developer.mozilla.org/docs/Web/API/HTMLElement";
|
|
2985
2992
|
const d = a.moduleContext.importsMap.LitElement;
|
|
2986
2993
|
d === void 0 ? a.emitError("Expected LitElement import to be defined", { file: a.file, node: i }) : d.actualName = "PublicLitElement";
|
|
2987
2994
|
}
|
|
@@ -2995,54 +3002,54 @@ function Oo(e, t, n, i, a) {
|
|
|
2995
3002
|
else if (o.isTypeReferenceNode(s) && (c = s.typeName, p = s.typeArguments, c.escapedText === "Record" && p?.length === 2 && p[0].kind === o.SyntaxKind.NeverKeyword && p[1].kind === o.SyntaxKind.NeverKeyword))
|
|
2996
3003
|
continue;
|
|
2997
3004
|
n.supertypes ??= [], n.supertypes.push(
|
|
2998
|
-
|
|
3005
|
+
Ee(c, p, a)
|
|
2999
3006
|
);
|
|
3000
3007
|
}
|
|
3001
3008
|
}
|
|
3002
3009
|
}
|
|
3003
|
-
function
|
|
3010
|
+
function hi(e, t, n, i) {
|
|
3004
3011
|
i.apiObject = e;
|
|
3005
3012
|
const a = e.customElement === !0, r = e.members, l = t.length;
|
|
3006
|
-
let s, c = t[0], p, d =
|
|
3007
|
-
for (let
|
|
3008
|
-
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) {
|
|
3009
3016
|
i.pairedSetter = void 0;
|
|
3010
3017
|
continue;
|
|
3011
3018
|
}
|
|
3012
3019
|
if (p === void 0 && s.name?.kind === o.SyntaxKind.PrivateIdentifier)
|
|
3013
3020
|
continue;
|
|
3014
3021
|
c !== void 0 && p === d && (o.isGetAccessor(c) ? (i.pairedSetter = s, s = c) : o.isSetAccessor(c) && (i.pairedSetter = c));
|
|
3015
|
-
let
|
|
3016
|
-
if (
|
|
3017
|
-
const C = i.pairedSetter === void 0 ?
|
|
3018
|
-
C?.docsTags.includes(
|
|
3019
|
-
} else
|
|
3020
|
-
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) {
|
|
3021
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));
|
|
3022
3029
|
continue;
|
|
3023
3030
|
}
|
|
3024
|
-
i.jsDoc =
|
|
3025
|
-
let
|
|
3026
|
-
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(
|
|
3027
3034
|
0,
|
|
3028
|
-
|
|
3035
|
+
lt.members.length,
|
|
3029
3036
|
s
|
|
3030
|
-
),
|
|
3037
|
+
), Ei(e, lt, i), ue(e).emitAsTypeAlias = !0) : i.emitError(`@public used on unsupported member kind: ${o.SyntaxKind[s.kind]}`, {
|
|
3031
3038
|
file: i.file,
|
|
3032
3039
|
node: s
|
|
3033
|
-
}),
|
|
3040
|
+
}), S !== void 0 && r.push(S);
|
|
3034
3041
|
}
|
|
3035
3042
|
return i.apiObject = void 0, m;
|
|
3036
3043
|
}
|
|
3037
|
-
const
|
|
3038
|
-
function
|
|
3044
|
+
const lt = o.factory.createTypeLiteralNode(void 0);
|
|
3045
|
+
function qt(e, t, n) {
|
|
3039
3046
|
if (e.kind === o.SyntaxKind.PropertyDeclaration || e.kind === o.SyntaxKind.GetAccessor || e.kind === o.SyntaxKind.SetAccessor) {
|
|
3040
3047
|
const i = e;
|
|
3041
|
-
if ((
|
|
3048
|
+
if ((xe(i.modifiers, "property") ?? (t === void 0 ? void 0 : xe(t.modifiers, "property"))) !== void 0)
|
|
3042
3049
|
return !0;
|
|
3043
3050
|
if (!n)
|
|
3044
3051
|
return !1;
|
|
3045
|
-
if (
|
|
3052
|
+
if (Ti(e))
|
|
3046
3053
|
return !0;
|
|
3047
3054
|
if (i.modifiers !== void 0)
|
|
3048
3055
|
for (let r = 0; r < (i.modifiers?.length ?? 0); ++r) {
|
|
@@ -3051,10 +3058,10 @@ function Qt(e, t, n) {
|
|
|
3051
3058
|
return !1;
|
|
3052
3059
|
}
|
|
3053
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;
|
|
3054
|
-
} else return e.kind === o.SyntaxKind.MethodDeclaration ?
|
|
3061
|
+
} else return e.kind === o.SyntaxKind.MethodDeclaration ? xe(e.modifiers, "method") !== void 0 : !1;
|
|
3055
3062
|
}
|
|
3056
|
-
function
|
|
3057
|
-
const i =
|
|
3063
|
+
function Ei(e, t, n) {
|
|
3064
|
+
const i = j(t, n);
|
|
3058
3065
|
if (e.type === void 0)
|
|
3059
3066
|
e.type = i;
|
|
3060
3067
|
else {
|
|
@@ -3062,7 +3069,7 @@ function Ci(e, t, n) {
|
|
|
3062
3069
|
`, r = a.length;
|
|
3063
3070
|
e.type = {
|
|
3064
3071
|
text: `${a}${i.text}`,
|
|
3065
|
-
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)],
|
|
3066
3073
|
values: void 0,
|
|
3067
3074
|
source: void 0
|
|
3068
3075
|
};
|
|
@@ -3131,12 +3138,12 @@ function No(e, t, n) {
|
|
|
3131
3138
|
});
|
|
3132
3139
|
return;
|
|
3133
3140
|
}
|
|
3134
|
-
r.mixins.unshift(
|
|
3141
|
+
r.mixins.unshift(Ee(c, void 0, n));
|
|
3135
3142
|
}
|
|
3136
3143
|
}
|
|
3137
3144
|
function wo(e, t) {
|
|
3138
|
-
const n = e.type, i = e.name.escapedText, a =
|
|
3139
|
-
[
|
|
3145
|
+
const n = e.type, i = e.name.escapedText, a = pi(i, t), r = ii(), l = {
|
|
3146
|
+
[J]: r,
|
|
3140
3147
|
kind: "interface",
|
|
3141
3148
|
name: i,
|
|
3142
3149
|
customElement: void 0,
|
|
@@ -3148,7 +3155,7 @@ function wo(e, t) {
|
|
|
3148
3155
|
description: void 0,
|
|
3149
3156
|
docsTags: void 0,
|
|
3150
3157
|
demos: void 0,
|
|
3151
|
-
typeParameters:
|
|
3158
|
+
typeParameters: nt(e.typeParameters, !0, t),
|
|
3152
3159
|
superclass: void 0,
|
|
3153
3160
|
supertypes: void 0,
|
|
3154
3161
|
mixins: void 0,
|
|
@@ -3165,32 +3172,32 @@ function wo(e, t) {
|
|
|
3165
3172
|
source: void 0,
|
|
3166
3173
|
importPath: void 0
|
|
3167
3174
|
}, s = l;
|
|
3168
|
-
if (
|
|
3175
|
+
if (oi(l, t.jsDoc), a)
|
|
3169
3176
|
t.moduleContext.constructorPropertiesInterface = s;
|
|
3170
3177
|
else {
|
|
3171
3178
|
r.emitAsTypeAlias = !0;
|
|
3172
3179
|
const c = o.isIntersectionTypeNode(n) ? n.types : [n];
|
|
3173
3180
|
for (let p = 0; p < c.length; ++p) {
|
|
3174
|
-
const d =
|
|
3181
|
+
const d = Ct(c[p]);
|
|
3175
3182
|
if (o.isTypeLiteralNode(d))
|
|
3176
|
-
|
|
3183
|
+
hi(s, d.members, i, t);
|
|
3177
3184
|
else if (o.isTypeReferenceNode(d))
|
|
3178
|
-
s.supertypes ??= [], s.supertypes.push(
|
|
3185
|
+
s.supertypes ??= [], s.supertypes.push(Ee(d.typeName, d.typeArguments, t));
|
|
3179
3186
|
else if (o.isFunctionTypeNode(d) || o.isConstructorTypeNode(d)) {
|
|
3180
|
-
if (t.jsDoc =
|
|
3181
|
-
t.jsDoc = { ...
|
|
3187
|
+
if (t.jsDoc = Re, s.docsTags !== void 0) {
|
|
3188
|
+
t.jsDoc = { ...Re, docsTags: [] };
|
|
3182
3189
|
for (let m = 0; m < s.docsTags.length; ++m) {
|
|
3183
|
-
const
|
|
3184
|
-
(
|
|
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);
|
|
3185
3192
|
}
|
|
3186
3193
|
s.docsTags.length === 0 && (s.docsTags = void 0);
|
|
3187
3194
|
}
|
|
3188
3195
|
s.members.push(Co(d, i, void 0, t));
|
|
3189
3196
|
} else
|
|
3190
|
-
|
|
3197
|
+
Ei(s, d, t);
|
|
3191
3198
|
}
|
|
3192
3199
|
}
|
|
3193
|
-
return t.objectLikeTypeParameters = void 0,
|
|
3200
|
+
return t.objectLikeTypeParameters = void 0, vi(
|
|
3194
3201
|
t,
|
|
3195
3202
|
e,
|
|
3196
3203
|
t.config.documentation.copyDocDefinitions.interfaces,
|
|
@@ -3204,13 +3211,13 @@ function Uo(e, t, n) {
|
|
|
3204
3211
|
for (let d = 0; d < a.statements.length; ++d) {
|
|
3205
3212
|
const m = a.statements[d];
|
|
3206
3213
|
if (o.isVariableStatement(m)) {
|
|
3207
|
-
const
|
|
3208
|
-
if (!o.isIdentifier(
|
|
3214
|
+
const u = m.declarationList.declarations[0];
|
|
3215
|
+
if (!o.isIdentifier(u.name) || u.name?.escapedText !== "TypedBase")
|
|
3209
3216
|
continue;
|
|
3210
|
-
let
|
|
3211
|
-
for (; o.isCallExpression(
|
|
3212
|
-
const
|
|
3213
|
-
r ??= [], r.push(
|
|
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];
|
|
3214
3221
|
}
|
|
3215
3222
|
} else o.isClassDeclaration(m) && (l = m);
|
|
3216
3223
|
}
|
|
@@ -3221,7 +3228,7 @@ function Uo(e, t, n) {
|
|
|
3221
3228
|
});
|
|
3222
3229
|
return;
|
|
3223
3230
|
}
|
|
3224
|
-
|
|
3231
|
+
nt(
|
|
3225
3232
|
// Skip the TBase type parameter - non-public implementation detail
|
|
3226
3233
|
i.typeParameters.length === 1 ? void 0 : i.typeParameters.slice(1),
|
|
3227
3234
|
!0,
|
|
@@ -3233,7 +3240,7 @@ function Uo(e, t, n) {
|
|
|
3233
3240
|
node: e
|
|
3234
3241
|
}
|
|
3235
3242
|
), n.mixinName = t, n.mixinMixins = r;
|
|
3236
|
-
const p =
|
|
3243
|
+
const p = Ze(l, n);
|
|
3237
3244
|
return p.kind = "mixin", p;
|
|
3238
3245
|
}
|
|
3239
3246
|
function Vo(e, t, n) {
|
|
@@ -3249,7 +3256,7 @@ function Vo(e, t, n) {
|
|
|
3249
3256
|
])
|
|
3250
3257
|
],
|
|
3251
3258
|
[]
|
|
3252
|
-
), r =
|
|
3259
|
+
), r = Ze(a, n), l = r, s = ue(l);
|
|
3253
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;
|
|
3254
3261
|
}
|
|
3255
3262
|
function Wo(e, t) {
|
|
@@ -3267,7 +3274,7 @@ function Wo(e, t) {
|
|
|
3267
3274
|
return;
|
|
3268
3275
|
}
|
|
3269
3276
|
const r = a.escapedText, l = t.exportDefaultName === r;
|
|
3270
|
-
if (
|
|
3277
|
+
if (tt(e) === 0 && !l && t.config.strict && t.emitError("Expected @public variable to be exported as named or default export.", {
|
|
3271
3278
|
file: t.file,
|
|
3272
3279
|
node: e
|
|
3273
3280
|
}), t.mixinName !== void 0 && i.initializer !== void 0 && o.isCallExpression(i.initializer) && o.isIdentifier(i.initializer.expression) && i.initializer.expression.escapedText === t.mixinName)
|
|
@@ -3275,18 +3282,18 @@ function Wo(e, t) {
|
|
|
3275
3282
|
let c = i.type;
|
|
3276
3283
|
const p = (e.declarationList.flags & o.NodeFlags.Const) !== 0;
|
|
3277
3284
|
if (c === void 0) {
|
|
3278
|
-
const
|
|
3279
|
-
if (
|
|
3280
|
-
return
|
|
3281
|
-
|
|
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(
|
|
3282
3289
|
{ file: t.file, node: i },
|
|
3283
3290
|
"Public variable must have a type annotation or a default value",
|
|
3284
3291
|
t
|
|
3285
|
-
) : c =
|
|
3286
|
-
} else if (c =
|
|
3287
|
-
return
|
|
3288
|
-
const d =
|
|
3289
|
-
[
|
|
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,
|
|
3290
3297
|
kind: "variable",
|
|
3291
3298
|
name: r,
|
|
3292
3299
|
deprecated: void 0,
|
|
@@ -3294,26 +3301,26 @@ function Wo(e, t) {
|
|
|
3294
3301
|
description: void 0,
|
|
3295
3302
|
docsTags: void 0,
|
|
3296
3303
|
source: void 0,
|
|
3297
|
-
type:
|
|
3304
|
+
type: j(c, t),
|
|
3298
3305
|
default: void 0
|
|
3299
3306
|
};
|
|
3300
|
-
return
|
|
3307
|
+
return mn(m, t.jsDoc), p && c.kind === o.SyntaxKind.LiteralType || (m.default = $e(i.initializer, m.default, t.file)), go(
|
|
3301
3308
|
t,
|
|
3302
3309
|
e,
|
|
3303
3310
|
t.config.documentation.copyDocDefinitions.variables,
|
|
3304
3311
|
m,
|
|
3305
3312
|
t.apiModule
|
|
3306
|
-
), l && (
|
|
3313
|
+
), l && (Pt(m, !0, t), t.produceDts && (d.isDefaultExported = !0)), m;
|
|
3307
3314
|
}
|
|
3308
|
-
function
|
|
3315
|
+
function Ci(e, t, n) {
|
|
3309
3316
|
const i = n.statementJsDocs[t];
|
|
3310
3317
|
if (i !== void 0) {
|
|
3311
3318
|
if (n.jsDoc = i, o.isClassDeclaration(e))
|
|
3312
|
-
return
|
|
3319
|
+
return Ze(e, n);
|
|
3313
3320
|
if (o.isFunctionDeclaration(e))
|
|
3314
3321
|
return Eo(e, e.name.escapedText, void 0, n);
|
|
3315
3322
|
if (o.isInterfaceDeclaration(e))
|
|
3316
|
-
return
|
|
3323
|
+
return Ze(e, n);
|
|
3317
3324
|
if (o.isTypeAliasDeclaration(e))
|
|
3318
3325
|
return wo(e, n);
|
|
3319
3326
|
if (o.isVariableStatement(e))
|
|
@@ -3323,7 +3330,7 @@ function Pi(e, t, n) {
|
|
|
3323
3330
|
function _o(e, t) {
|
|
3324
3331
|
const n = t.apiModule.declarations, i = e.statements;
|
|
3325
3332
|
for (let a = 0; a < i.length; ++a) {
|
|
3326
|
-
const r = i[a], l =
|
|
3333
|
+
const r = i[a], l = Ci(r, a, t);
|
|
3327
3334
|
l !== void 0 && n.push(l);
|
|
3328
3335
|
}
|
|
3329
3336
|
}
|
|
@@ -3335,142 +3342,144 @@ function Bo(e, t) {
|
|
|
3335
3342
|
if (i.isEmptyModule)
|
|
3336
3343
|
return;
|
|
3337
3344
|
}
|
|
3338
|
-
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`;
|
|
3339
3346
|
t.mixinName = void 0, t.moduleHasClass = !1, t.apiClassLikeName = void 0, t.isInLuminaMinimalExtraction = t.config.context.isLuminaMinimalExtraction;
|
|
3340
3347
|
const c = /* @__PURE__ */ Object.create(null), p = t.localDeclarations;
|
|
3341
3348
|
p.clear();
|
|
3342
3349
|
const d = t.localPrivateDeclarations;
|
|
3343
3350
|
d?.clear(), t.exportDefaultName = void 0;
|
|
3344
3351
|
let m;
|
|
3345
|
-
const
|
|
3352
|
+
const u = {
|
|
3346
3353
|
class: void 0,
|
|
3347
3354
|
default: void 0,
|
|
3348
3355
|
named: /* @__PURE__ */ Object.create(null)
|
|
3349
|
-
},
|
|
3350
|
-
t.moduleContext =
|
|
3351
|
-
const
|
|
3356
|
+
}, f = ti(e, s, c, u);
|
|
3357
|
+
t.moduleContext = f;
|
|
3358
|
+
const S = t.implicitPublicModules?.[l];
|
|
3352
3359
|
let C = !1;
|
|
3353
3360
|
const v = t.isJsApi && l.startsWith("applications/");
|
|
3354
3361
|
t.statementJsDocs.length = 0;
|
|
3355
|
-
for (let
|
|
3356
|
-
const y = e.statements[
|
|
3357
|
-
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;
|
|
3358
3365
|
if (
|
|
3359
3366
|
// Only look at web components in Lumina's dev server
|
|
3360
3367
|
t.isInLuminaMinimalExtraction
|
|
3361
3368
|
)
|
|
3362
|
-
|
|
3369
|
+
D = y.kind === o.SyntaxKind.ClassDeclaration && t.componentTagName !== void 0 && y.heritageClauses !== void 0 && y.modifiers !== void 0 ? Re : void 0;
|
|
3363
3370
|
else if (k) {
|
|
3364
|
-
if (
|
|
3365
|
-
const
|
|
3371
|
+
if (D = ne(y, !0, t), D === void 0 && !t.config.strict) {
|
|
3372
|
+
const I = ze(y, !1, t, {
|
|
3366
3373
|
description: void 0,
|
|
3367
3374
|
docsTags: []
|
|
3368
3375
|
}), x = y.kind === o.SyntaxKind.ClassDeclaration && t.componentTagName !== void 0 && y.heritageClauses !== void 0 && y.modifiers !== void 0;
|
|
3369
|
-
|
|
3370
|
-
} else
|
|
3371
|
-
|
|
3372
|
-
|
|
3373
|
-
|
|
3374
|
-
|
|
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(
|
|
3375
3384
|
(y.name ?? y.declarationList?.declarations[0].name).escapedText
|
|
3376
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);
|
|
3377
3386
|
else if (o.isImportDeclaration(y)) {
|
|
3378
|
-
const
|
|
3379
|
-
if (
|
|
3387
|
+
const I = y.importClause;
|
|
3388
|
+
if (I === void 0)
|
|
3380
3389
|
continue;
|
|
3381
|
-
const x = y.moduleSpecifier.text,
|
|
3382
|
-
if (Rn(y, t),
|
|
3383
|
-
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;
|
|
3384
3393
|
c[E] = {
|
|
3385
|
-
type:
|
|
3386
|
-
modulePath:
|
|
3387
|
-
|
|
3388
|
-
replacementName:
|
|
3394
|
+
type: T?.[2] ?? "default",
|
|
3395
|
+
modulePath: A,
|
|
3396
|
+
rawSpecifier: x,
|
|
3397
|
+
replacementName: R,
|
|
3389
3398
|
actualName: void 0,
|
|
3390
3399
|
wasUsed: !1
|
|
3391
3400
|
};
|
|
3392
3401
|
}
|
|
3393
|
-
const
|
|
3394
|
-
if (
|
|
3402
|
+
const B = I.namedBindings;
|
|
3403
|
+
if (B === void 0)
|
|
3395
3404
|
continue;
|
|
3396
|
-
if (
|
|
3397
|
-
const E =
|
|
3405
|
+
if (B.kind === o.SyntaxKind.NamespaceImport) {
|
|
3406
|
+
const E = B.name.escapedText, T = $?.[E], R = T?.[1], A = T?.[0] ?? w;
|
|
3398
3407
|
c[E] = {
|
|
3399
3408
|
type: "*",
|
|
3400
|
-
modulePath:
|
|
3401
|
-
|
|
3402
|
-
replacementName:
|
|
3409
|
+
modulePath: A,
|
|
3410
|
+
rawSpecifier: x,
|
|
3411
|
+
replacementName: R,
|
|
3403
3412
|
actualName: void 0,
|
|
3404
3413
|
wasUsed: !1
|
|
3405
3414
|
};
|
|
3406
3415
|
} else
|
|
3407
|
-
for (let E = 0; E <
|
|
3408
|
-
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;
|
|
3409
3418
|
c[A] = {
|
|
3410
|
-
type:
|
|
3411
|
-
modulePath:
|
|
3412
|
-
|
|
3413
|
-
replacementName:
|
|
3414
|
-
actualName:
|
|
3419
|
+
type: H?.[2] ?? "named",
|
|
3420
|
+
modulePath: G,
|
|
3421
|
+
rawSpecifier: x,
|
|
3422
|
+
replacementName: V,
|
|
3423
|
+
actualName: H === void 0 ? R : void 0,
|
|
3415
3424
|
wasUsed: !1
|
|
3416
3425
|
};
|
|
3417
3426
|
}
|
|
3418
3427
|
} else if (o.isExportAssignment(y)) {
|
|
3419
3428
|
if (o.isIdentifier(y.expression)) {
|
|
3420
|
-
const
|
|
3421
|
-
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)));
|
|
3422
3431
|
}
|
|
3423
3432
|
} else if (o.isExportDeclaration(y) && y.moduleSpecifier !== void 0 && !t.isInLuminaMinimalExtraction) {
|
|
3424
|
-
if (
|
|
3425
|
-
const x = y.moduleSpecifier.text,
|
|
3426
|
-
|
|
3427
|
-
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 $ = [];
|
|
3428
3437
|
if (y.exportClause?.kind === o.SyntaxKind.NamedExports) {
|
|
3429
|
-
const
|
|
3430
|
-
for (let
|
|
3431
|
-
const
|
|
3432
|
-
|
|
3433
|
-
exportName:
|
|
3434
|
-
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,
|
|
3435
3444
|
isTypeOnly: y.isTypeOnly
|
|
3436
|
-
}), !t.config.strict &&
|
|
3445
|
+
}), !t.config.strict && w !== void 0 && je(w, K, H, t);
|
|
3437
3446
|
}
|
|
3438
3447
|
} else
|
|
3439
|
-
|
|
3448
|
+
$.push({
|
|
3440
3449
|
exportName: "*",
|
|
3441
|
-
aliasName: y.exportClause === void 0 ? void 0 :
|
|
3450
|
+
aliasName: y.exportClause === void 0 ? void 0 : De(y.exportClause.name),
|
|
3442
3451
|
isTypeOnly: !1
|
|
3443
|
-
}), !t.config.strict &&
|
|
3444
|
-
|
|
3445
|
-
modulePath:
|
|
3446
|
-
|
|
3452
|
+
}), !t.config.strict && w !== void 0 && je(w, K, "*", t);
|
|
3453
|
+
f.reExports.push({
|
|
3454
|
+
modulePath: w,
|
|
3455
|
+
externalSpecifier: g ? x : void 0,
|
|
3447
3456
|
isTypeOnly: y.isTypeOnly,
|
|
3448
|
-
specifiers:
|
|
3457
|
+
specifiers: $
|
|
3449
3458
|
});
|
|
3450
3459
|
}
|
|
3451
|
-
} 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(
|
|
3452
3461
|
(y.name ?? y.declarationList?.declarations[0].name).escapedText,
|
|
3453
|
-
-
|
|
3462
|
+
-b
|
|
3454
3463
|
);
|
|
3455
3464
|
}
|
|
3456
3465
|
const P = t.config.types.typeReplacements[l];
|
|
3457
3466
|
if (P !== void 0) {
|
|
3458
|
-
const
|
|
3459
|
-
for (let y = 0; y <
|
|
3460
|
-
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];
|
|
3461
3470
|
c[k] = {
|
|
3462
|
-
type:
|
|
3463
|
-
modulePath:
|
|
3464
|
-
|
|
3465
|
-
replacementName:
|
|
3471
|
+
type: D[2],
|
|
3472
|
+
modulePath: D[0],
|
|
3473
|
+
rawSpecifier: "",
|
|
3474
|
+
replacementName: D[1],
|
|
3466
3475
|
actualName: void 0,
|
|
3467
3476
|
wasUsed: !1
|
|
3468
3477
|
};
|
|
3469
3478
|
}
|
|
3470
3479
|
}
|
|
3471
|
-
t.moduleHasAccessorLikeClass = c.subclass?.
|
|
3480
|
+
t.moduleHasAccessorLikeClass = c.subclass?.rawSpecifier.includes("accessorSupport") ?? !1;
|
|
3472
3481
|
const h = {
|
|
3473
|
-
[
|
|
3482
|
+
[J]: f,
|
|
3474
3483
|
kind: "javascript-module",
|
|
3475
3484
|
path: l,
|
|
3476
3485
|
sourcePath: n,
|
|
@@ -3482,40 +3491,40 @@ function Bo(e, t) {
|
|
|
3482
3491
|
exports: []
|
|
3483
3492
|
};
|
|
3484
3493
|
if (t.apiModule = h, _o(e, t), d !== void 0) {
|
|
3485
|
-
let
|
|
3494
|
+
let b = !1;
|
|
3486
3495
|
do {
|
|
3487
|
-
|
|
3496
|
+
b = !1;
|
|
3488
3497
|
for (const [y, k] of d)
|
|
3489
3498
|
if (k > 0 || Object.is(k, 0)) {
|
|
3490
|
-
d.delete(y), p.add(y),
|
|
3491
|
-
const
|
|
3499
|
+
d.delete(y), p.add(y), b = !0;
|
|
3500
|
+
const D = e.statements[k], I = ze(D, !1, t, {
|
|
3492
3501
|
description: void 0,
|
|
3493
3502
|
docsTags: []
|
|
3494
3503
|
});
|
|
3495
|
-
if (
|
|
3504
|
+
if (I === void 0)
|
|
3496
3505
|
continue;
|
|
3497
|
-
if (
|
|
3506
|
+
if (I.docsTags.includes(N.private))
|
|
3498
3507
|
t.emitError(
|
|
3499
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.`,
|
|
3500
3509
|
{
|
|
3501
3510
|
file: e,
|
|
3502
|
-
node:
|
|
3511
|
+
node: D
|
|
3503
3512
|
}
|
|
3504
3513
|
);
|
|
3505
3514
|
else {
|
|
3506
|
-
C && !
|
|
3507
|
-
const
|
|
3508
|
-
|
|
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);
|
|
3509
3518
|
}
|
|
3510
3519
|
}
|
|
3511
|
-
} while (
|
|
3520
|
+
} while (b);
|
|
3512
3521
|
}
|
|
3513
|
-
if (h.declarations.length === 0 &&
|
|
3522
|
+
if (h.declarations.length === 0 && f.reExports === void 0 && f.namespaces === void 0) {
|
|
3514
3523
|
i !== void 0 && (i.isEmptyModule = !0);
|
|
3515
3524
|
return;
|
|
3516
3525
|
}
|
|
3517
3526
|
t.moduleMap.set(l, h), t.watchFiles !== void 0 && (i === void 0 ? t.watchFiles.set(h.sourcePath, {
|
|
3518
|
-
file:
|
|
3527
|
+
file: f.file,
|
|
3519
3528
|
module: h,
|
|
3520
3529
|
previousModule: void 0,
|
|
3521
3530
|
isEmptyModule: !1,
|
|
@@ -3525,11 +3534,11 @@ function Bo(e, t) {
|
|
|
3525
3534
|
hasDirtyLinks: !1,
|
|
3526
3535
|
wasRemoved: !1
|
|
3527
3536
|
}) : i.module = h);
|
|
3528
|
-
const
|
|
3537
|
+
const L = t.componentTagName === void 0 ? h.exports[0]?.declaration.name : void 0;
|
|
3529
3538
|
h.exports.length === 0 && (h.exports = void 0);
|
|
3530
|
-
for (let
|
|
3531
|
-
const y = h.declarations[
|
|
3532
|
-
(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;
|
|
3533
3542
|
}
|
|
3534
3543
|
return m !== void 0 && (t.moduleHasClass ? t.emitError(
|
|
3535
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",
|
|
@@ -3539,55 +3548,55 @@ function Bo(e, t) {
|
|
|
3539
3548
|
length: e.statements[0]?.getStart(e) ?? 1,
|
|
3540
3549
|
node: void 0
|
|
3541
3550
|
}
|
|
3542
|
-
) : (v && m.docsTags.push(
|
|
3551
|
+
) : (v && m.docsTags.push(N.internal), cn(h, m))), h;
|
|
3543
3552
|
}
|
|
3544
3553
|
async function Ca(e) {
|
|
3545
3554
|
const t = [], n = e.basePath, i = e.config.context.excludedDirectories, a = `${e.basePath}components/`, r = [], l = !e.config.strict || e.config.context.includeLuminaPrivateComponents;
|
|
3546
3555
|
e.componentPathMapping = /* @__PURE__ */ Object.create(null);
|
|
3547
|
-
const s = e.isComponentProject ? (m) =>
|
|
3556
|
+
const s = e.isComponentProject ? (m) => Hi(m, a) : () => !1, c = e.isComponentProject ? p : d;
|
|
3548
3557
|
if (e.program === void 0)
|
|
3549
|
-
await
|
|
3550
|
-
if (
|
|
3558
|
+
await xi(n, i, async (m) => {
|
|
3559
|
+
if (Pi(m))
|
|
3551
3560
|
return;
|
|
3552
|
-
const
|
|
3561
|
+
const u = await Lt(m);
|
|
3553
3562
|
if (m.includes(".stories.")) {
|
|
3554
|
-
const C =
|
|
3555
|
-
|
|
3563
|
+
const C = u.toString("utf8");
|
|
3564
|
+
Vt(C, m, e);
|
|
3556
3565
|
return;
|
|
3557
3566
|
}
|
|
3558
|
-
const
|
|
3559
|
-
if (
|
|
3560
|
-
|
|
3561
|
-
const C =
|
|
3562
|
-
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);
|
|
3563
3572
|
}
|
|
3564
3573
|
});
|
|
3565
3574
|
else {
|
|
3566
3575
|
const m = e.program.getSourceFiles();
|
|
3567
|
-
for (let
|
|
3568
|
-
const
|
|
3569
|
-
if (!Ko(
|
|
3576
|
+
for (let u = 0; u < m.length; ++u) {
|
|
3577
|
+
const f = m[u], S = f.fileName;
|
|
3578
|
+
if (!Ko(S, e))
|
|
3570
3579
|
continue;
|
|
3571
|
-
if (
|
|
3572
|
-
|
|
3580
|
+
if (S.includes(".stories.")) {
|
|
3581
|
+
Vt(f.text, S, e);
|
|
3573
3582
|
continue;
|
|
3574
3583
|
}
|
|
3575
|
-
const C = s(
|
|
3576
|
-
(C && l ||
|
|
3584
|
+
const C = s(S);
|
|
3585
|
+
(C && l || f.text.includes(bi) || f.text.includes(Mi)) && c(f, C);
|
|
3577
3586
|
}
|
|
3578
3587
|
}
|
|
3579
|
-
function p(m,
|
|
3588
|
+
function p(m, u) {
|
|
3580
3589
|
r.push(m);
|
|
3581
|
-
const
|
|
3582
|
-
if (
|
|
3583
|
-
const
|
|
3584
|
-
|
|
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);
|
|
3585
3594
|
}
|
|
3586
3595
|
}
|
|
3587
3596
|
function d(m) {
|
|
3588
3597
|
e.file = m;
|
|
3589
|
-
const
|
|
3590
|
-
|
|
3598
|
+
const u = Bo(m, e);
|
|
3599
|
+
u !== void 0 && t.push(u);
|
|
3591
3600
|
}
|
|
3592
3601
|
for (let m = 0; m < r.length; ++m)
|
|
3593
3602
|
d(r[m]);
|
|
@@ -3595,16 +3604,16 @@ async function Ca(e) {
|
|
|
3595
3604
|
let m = !1;
|
|
3596
3605
|
do {
|
|
3597
3606
|
m = !1;
|
|
3598
|
-
for (const
|
|
3599
|
-
const
|
|
3600
|
-
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)
|
|
3601
3610
|
continue;
|
|
3602
|
-
if (
|
|
3603
|
-
const
|
|
3604
|
-
let y = !(
|
|
3605
|
-
const k = C === void 0 ? void 0 :
|
|
3606
|
-
for (const
|
|
3607
|
-
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))) {
|
|
3608
3617
|
y = !1;
|
|
3609
3618
|
break;
|
|
3610
3619
|
}
|
|
@@ -3613,29 +3622,36 @@ async function Ca(e) {
|
|
|
3613
3622
|
}
|
|
3614
3623
|
if (C !== void 0) {
|
|
3615
3624
|
t.splice(t.indexOf(C), 1);
|
|
3616
|
-
const
|
|
3617
|
-
|
|
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")));
|
|
3618
3636
|
}
|
|
3619
|
-
|
|
3620
|
-
|
|
3621
|
-
|
|
3622
|
-
const R = h.fileName.slice(e.basePath.length);
|
|
3623
|
-
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);
|
|
3624
3640
|
}
|
|
3625
3641
|
}
|
|
3626
3642
|
} while (m);
|
|
3627
3643
|
}
|
|
3628
3644
|
return t;
|
|
3629
3645
|
}
|
|
3630
|
-
const Ko = (e, t) => Ho(e) && $o(e, t), Ho = (e) => (e.endsWith(".ts") || e.endsWith(".tsx")) && !
|
|
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(
|
|
3631
3647
|
En(e.slice(t.basePath.length))
|
|
3632
|
-
) && !e.includes("node_modules"),
|
|
3648
|
+
) && !e.includes("node_modules"), Qt = 32, zo = 64, bi = "@public", jo = Buffer.from(bi), Mi = "@internal", Jo = Buffer.from(Mi);
|
|
3633
3649
|
async function Pa(e) {
|
|
3634
|
-
await
|
|
3650
|
+
await Yt(e) && await xi(e, /* @__PURE__ */ new Set(), Ki);
|
|
3635
3651
|
}
|
|
3636
|
-
async function
|
|
3652
|
+
async function xi(e, t, n) {
|
|
3637
3653
|
const i = [], a = [];
|
|
3638
|
-
for await (const d of await
|
|
3654
|
+
for await (const d of await It(e)) {
|
|
3639
3655
|
const m = `${e}${d.name}`;
|
|
3640
3656
|
d.isDirectory() && !t.has(d.name) ? a.push(m) : (d.name.endsWith(".ts") || d.name.endsWith(".tsx")) && i.push(m);
|
|
3641
3657
|
}
|
|
@@ -3643,15 +3659,15 @@ async function Di(e, t, n) {
|
|
|
3643
3659
|
function s(d) {
|
|
3644
3660
|
l.reject(d), r.length = 0;
|
|
3645
3661
|
}
|
|
3646
|
-
let c =
|
|
3647
|
-
for (let d = 0; d <
|
|
3662
|
+
let c = Qt;
|
|
3663
|
+
for (let d = 0; d < Qt; ++d)
|
|
3648
3664
|
p().catch(s);
|
|
3649
3665
|
async function p() {
|
|
3650
3666
|
for (; ; )
|
|
3651
3667
|
if (r.length === 0 && a.length > 0) {
|
|
3652
3668
|
const d = a.shift(), m = [];
|
|
3653
|
-
for await (const
|
|
3654
|
-
|
|
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}`);
|
|
3655
3671
|
if (m.length === 0)
|
|
3656
3672
|
continue;
|
|
3657
3673
|
r.push(m);
|
|
@@ -3665,7 +3681,7 @@ async function Di(e, t, n) {
|
|
|
3665
3681
|
}
|
|
3666
3682
|
return await l.promise;
|
|
3667
3683
|
}
|
|
3668
|
-
function
|
|
3684
|
+
function Xt(e, t) {
|
|
3669
3685
|
return o.createSourceFile(
|
|
3670
3686
|
e,
|
|
3671
3687
|
t,
|
|
@@ -3684,8 +3700,8 @@ function Yt(e, t) {
|
|
|
3684
3700
|
);
|
|
3685
3701
|
}
|
|
3686
3702
|
export {
|
|
3687
|
-
|
|
3688
|
-
|
|
3703
|
+
Sn as a,
|
|
3704
|
+
ga as b,
|
|
3689
3705
|
Pa as c,
|
|
3690
3706
|
Ta as d,
|
|
3691
3707
|
Ca as e,
|
|
@@ -3693,13 +3709,13 @@ export {
|
|
|
3693
3709
|
Ho as g,
|
|
3694
3710
|
$o as h,
|
|
3695
3711
|
Ko as i,
|
|
3696
|
-
|
|
3697
|
-
|
|
3712
|
+
Pi as j,
|
|
3713
|
+
Xt as k,
|
|
3698
3714
|
ya as l,
|
|
3699
3715
|
va as m,
|
|
3700
|
-
|
|
3701
|
-
|
|
3702
|
-
|
|
3716
|
+
Ot as n,
|
|
3717
|
+
Ft as o,
|
|
3718
|
+
Sa as p,
|
|
3703
3719
|
fa as r,
|
|
3704
3720
|
Ea as t
|
|
3705
3721
|
};
|