@angular/compiler-cli 20.0.1 → 20.0.2
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/bundles/{chunk-U5SKOFKE.js → chunk-3NKMA2JO.js} +2 -2
- package/bundles/{chunk-3TXROOKD.js → chunk-4RDNOL2U.js} +365 -169
- package/bundles/chunk-4RDNOL2U.js.map +6 -0
- package/bundles/{chunk-KGJOQ7ZK.js → chunk-5K43KTXL.js} +86 -88
- package/bundles/chunk-5K43KTXL.js.map +6 -0
- package/bundles/{chunk-NODL47CE.js → chunk-LKPFTZAW.js} +3 -3
- package/bundles/{chunk-NODL47CE.js.map → chunk-LKPFTZAW.js.map} +1 -1
- package/bundles/{chunk-M3WWDK6S.js → chunk-LMRFLQ2K.js} +3 -3
- package/bundles/{chunk-4OIPE63R.js → chunk-LYJARAHL.js} +31 -31
- package/bundles/{chunk-4OIPE63R.js.map → chunk-LYJARAHL.js.map} +1 -1
- package/bundles/{chunk-NVYT6OPE.js → chunk-PML5JK7B.js} +7 -7
- package/bundles/{chunk-H5Y7P5GQ.js → chunk-SEKYV57I.js} +3 -3
- package/bundles/{chunk-3AHGFMNS.js → chunk-TPEB2IXF.js} +7 -7
- package/bundles/{chunk-C5GIHHVB.js → chunk-XQCMDSKE.js} +5 -5
- package/bundles/{chunk-C5GIHHVB.js.map → chunk-XQCMDSKE.js.map} +1 -1
- package/bundles/{chunk-QAGJD3X3.js → chunk-ZY4GZNHC.js} +11 -11
- package/bundles/index.js +21 -23
- package/bundles/index.js.map +2 -2
- package/bundles/linker/babel/index.js +12 -12
- package/bundles/linker/babel/index.js.map +1 -1
- package/bundles/linker/index.js +3 -3
- package/bundles/private/localize.js +4 -4
- package/bundles/private/migrations.js +4 -5
- package/bundles/private/tooling.js +6 -7
- package/bundles/src/bin/ng_xi18n.js +10 -11
- package/bundles/src/bin/ng_xi18n.js.map +2 -2
- package/bundles/src/bin/ngc.js +8 -9
- package/bundles/src/bin/ngc.js.map +2 -2
- package/linker/src/file_linker/partial_linkers/util.d.ts +1 -1
- package/package.json +3 -7
- package/bundles/chunk-3TXROOKD.js.map +0 -6
- package/bundles/chunk-KGJOQ7ZK.js.map +0 -6
- package/bundles/chunk-WUCT7QTW.js +0 -216
- package/bundles/chunk-WUCT7QTW.js.map +0 -6
- package/bundles/private/bazel.js +0 -19
- package/bundles/private/bazel.js.map +0 -6
- package/private/babel.d.ts +0 -28
- package/private/bazel.d.ts +0 -12
- /package/bundles/{chunk-U5SKOFKE.js.map → chunk-3NKMA2JO.js.map} +0 -0
- /package/bundles/{chunk-M3WWDK6S.js.map → chunk-LMRFLQ2K.js.map} +0 -0
- /package/bundles/{chunk-NVYT6OPE.js.map → chunk-PML5JK7B.js.map} +0 -0
- /package/bundles/{chunk-H5Y7P5GQ.js.map → chunk-SEKYV57I.js.map} +0 -0
- /package/bundles/{chunk-3AHGFMNS.js.map → chunk-TPEB2IXF.js.map} +0 -0
- /package/bundles/{chunk-QAGJD3X3.js.map → chunk-ZY4GZNHC.js.map} +0 -0
|
@@ -5,12 +5,7 @@
|
|
|
5
5
|
import {
|
|
6
6
|
Context,
|
|
7
7
|
ExpressionTranslatorVisitor
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import {
|
|
10
|
-
PerfCheckpoint,
|
|
11
|
-
PerfEvent,
|
|
12
|
-
PerfPhase
|
|
13
|
-
} from "./chunk-WUCT7QTW.js";
|
|
8
|
+
} from "./chunk-LMRFLQ2K.js";
|
|
14
9
|
import {
|
|
15
10
|
LogicalProjectPath,
|
|
16
11
|
absoluteFrom,
|
|
@@ -22,12 +17,12 @@ import {
|
|
|
22
17
|
resolve,
|
|
23
18
|
stripExtension,
|
|
24
19
|
toRelativeImport
|
|
25
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-TPEB2IXF.js";
|
|
26
21
|
import {
|
|
27
22
|
__publicField
|
|
28
23
|
} from "./chunk-KPQ72R34.js";
|
|
29
24
|
|
|
30
|
-
// bazel-out/
|
|
25
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.js
|
|
31
26
|
var ErrorCode;
|
|
32
27
|
(function(ErrorCode2) {
|
|
33
28
|
ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
|
|
@@ -133,7 +128,7 @@ var ErrorCode;
|
|
|
133
128
|
ErrorCode2[ErrorCode2["LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION"] = 11003] = "LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION";
|
|
134
129
|
})(ErrorCode || (ErrorCode = {}));
|
|
135
130
|
|
|
136
|
-
// bazel-out/
|
|
131
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.js
|
|
137
132
|
var ERROR_CODE_MATCHER = /(\u001b\[\d+m ?)TS-99(\d+: ?\u001b\[\d+m)/g;
|
|
138
133
|
function replaceTsWithNgInErrors(errors) {
|
|
139
134
|
return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
|
|
@@ -142,7 +137,7 @@ function ngErrorCode(code) {
|
|
|
142
137
|
return parseInt("-99" + code);
|
|
143
138
|
}
|
|
144
139
|
|
|
145
|
-
// bazel-out/
|
|
140
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.js
|
|
146
141
|
import ts from "typescript";
|
|
147
142
|
var FatalDiagnosticError = class extends Error {
|
|
148
143
|
code;
|
|
@@ -211,7 +206,7 @@ function isLocalCompilationDiagnostics(diagnostic) {
|
|
|
211
206
|
return diagnostic.code === ngErrorCode(ErrorCode.LOCAL_COMPILATION_UNRESOLVED_CONST) || diagnostic.code === ngErrorCode(ErrorCode.LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION);
|
|
212
207
|
}
|
|
213
208
|
|
|
214
|
-
// bazel-out/
|
|
209
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.js
|
|
215
210
|
var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
216
211
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
217
212
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -223,10 +218,10 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
|
223
218
|
ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
|
|
224
219
|
]);
|
|
225
220
|
|
|
226
|
-
// bazel-out/
|
|
221
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.js
|
|
227
222
|
var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.dev/errors";
|
|
228
223
|
|
|
229
|
-
// bazel-out/
|
|
224
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.js
|
|
230
225
|
var ExtendedTemplateDiagnosticName;
|
|
231
226
|
(function(ExtendedTemplateDiagnosticName2) {
|
|
232
227
|
ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
|
|
@@ -247,10 +242,10 @@ var ExtendedTemplateDiagnosticName;
|
|
|
247
242
|
ExtendedTemplateDiagnosticName2["UNPARENTHESIZED_NULLISH_COALESCING"] = "unparenthesizedNullishCoalescing";
|
|
248
243
|
})(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
|
|
249
244
|
|
|
250
|
-
// bazel-out/
|
|
245
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.js
|
|
251
246
|
import ts5 from "typescript";
|
|
252
247
|
|
|
253
|
-
// bazel-out/
|
|
248
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.js
|
|
254
249
|
import ts2 from "typescript";
|
|
255
250
|
function isDecoratorIdentifier(exp) {
|
|
256
251
|
return ts2.isIdentifier(exp) || ts2.isPropertyAccessExpression(exp) && ts2.isIdentifier(exp.expression) && ts2.isIdentifier(exp.name);
|
|
@@ -273,7 +268,7 @@ var ClassMemberAccessLevel;
|
|
|
273
268
|
})(ClassMemberAccessLevel || (ClassMemberAccessLevel = {}));
|
|
274
269
|
var AmbientImport = {};
|
|
275
270
|
|
|
276
|
-
// bazel-out/
|
|
271
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.js
|
|
277
272
|
import ts3 from "typescript";
|
|
278
273
|
function typeToValue(typeNode, checker, isLocalCompilation) {
|
|
279
274
|
if (typeNode === null) {
|
|
@@ -456,7 +451,7 @@ function extractModuleName(node) {
|
|
|
456
451
|
return node.moduleSpecifier.text;
|
|
457
452
|
}
|
|
458
453
|
|
|
459
|
-
// bazel-out/
|
|
454
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.js
|
|
460
455
|
import ts4 from "typescript";
|
|
461
456
|
function isNamedClassDeclaration(node) {
|
|
462
457
|
return ts4.isClassDeclaration(node) && isIdentifier(node.name);
|
|
@@ -480,7 +475,7 @@ function classMemberAccessLevelToString(level) {
|
|
|
480
475
|
}
|
|
481
476
|
}
|
|
482
477
|
|
|
483
|
-
// bazel-out/
|
|
478
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.js
|
|
484
479
|
var TypeScriptReflectionHost = class {
|
|
485
480
|
checker;
|
|
486
481
|
isLocalCompilation;
|
|
@@ -985,7 +980,7 @@ function getExportedName(decl, originalId) {
|
|
|
985
980
|
}
|
|
986
981
|
var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
|
|
987
982
|
|
|
988
|
-
// bazel-out/
|
|
983
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.js
|
|
989
984
|
import ts6 from "typescript";
|
|
990
985
|
var TS = /\.tsx?$/i;
|
|
991
986
|
var D_TS = /\.d\.ts$/i;
|
|
@@ -1086,7 +1081,7 @@ function toUnredirectedSourceFile(sf) {
|
|
|
1086
1081
|
return redirectInfo.unredirected;
|
|
1087
1082
|
}
|
|
1088
1083
|
|
|
1089
|
-
// bazel-out/
|
|
1084
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.js
|
|
1090
1085
|
var Reference = class {
|
|
1091
1086
|
node;
|
|
1092
1087
|
bestGuessOwningModule;
|
|
@@ -1158,14 +1153,14 @@ var Reference = class {
|
|
|
1158
1153
|
}
|
|
1159
1154
|
};
|
|
1160
1155
|
|
|
1161
|
-
// bazel-out/
|
|
1156
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.js
|
|
1162
1157
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
1163
1158
|
|
|
1164
|
-
// bazel-out/
|
|
1159
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.js
|
|
1165
1160
|
import { ExternalExpr, ExternalReference, WrappedNodeExpr } from "@angular/compiler";
|
|
1166
1161
|
import ts7 from "typescript";
|
|
1167
1162
|
|
|
1168
|
-
// bazel-out/
|
|
1163
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.js
|
|
1169
1164
|
function findExportedNameOfNode(target, file, reflector) {
|
|
1170
1165
|
const exports = reflector.getExportsOfModule(file);
|
|
1171
1166
|
if (exports === null) {
|
|
@@ -1185,7 +1180,7 @@ function findExportedNameOfNode(target, file, reflector) {
|
|
|
1185
1180
|
return foundExportName;
|
|
1186
1181
|
}
|
|
1187
1182
|
|
|
1188
|
-
// bazel-out/
|
|
1183
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.js
|
|
1189
1184
|
var ImportFlags;
|
|
1190
1185
|
(function(ImportFlags2) {
|
|
1191
1186
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -1432,7 +1427,7 @@ var UnifiedModulesStrategy = class {
|
|
|
1432
1427
|
}
|
|
1433
1428
|
};
|
|
1434
1429
|
|
|
1435
|
-
// bazel-out/
|
|
1430
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.js
|
|
1436
1431
|
var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
|
|
1437
1432
|
var UnifiedModulesAliasingHost = class {
|
|
1438
1433
|
unifiedModulesHost;
|
|
@@ -1501,7 +1496,7 @@ var AliasStrategy = class {
|
|
|
1501
1496
|
}
|
|
1502
1497
|
};
|
|
1503
1498
|
|
|
1504
|
-
// bazel-out/
|
|
1499
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.js
|
|
1505
1500
|
function relativePathBetween(from, to) {
|
|
1506
1501
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
1507
1502
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
@@ -1520,7 +1515,7 @@ function getProjectRelativePath(fileName, rootDirs, compilerHost) {
|
|
|
1520
1515
|
return null;
|
|
1521
1516
|
}
|
|
1522
1517
|
|
|
1523
|
-
// bazel-out/
|
|
1518
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.js
|
|
1524
1519
|
var NoopImportRewriter = class {
|
|
1525
1520
|
rewriteSymbol(symbol, specifier) {
|
|
1526
1521
|
return symbol;
|
|
@@ -1580,7 +1575,7 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
1580
1575
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
1581
1576
|
}
|
|
1582
1577
|
|
|
1583
|
-
// bazel-out/
|
|
1578
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.js
|
|
1584
1579
|
import ts8 from "typescript";
|
|
1585
1580
|
var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
|
|
1586
1581
|
function loadIsReferencedAliasDeclarationPatch(context) {
|
|
@@ -1618,7 +1613,7 @@ function throwIncompatibleTransformationContextError() {
|
|
|
1618
1613
|
throw Error("Angular compiler is incompatible with this version of the TypeScript compiler.\n\nIf you recently updated TypeScript and this issue surfaces now, consider downgrading.\n\nPlease report an issue on the Angular repositories when this issue surfaces and you are using a supposedly compatible TypeScript version.");
|
|
1619
1614
|
}
|
|
1620
1615
|
|
|
1621
|
-
// bazel-out/
|
|
1616
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.js
|
|
1622
1617
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
1623
1618
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
1624
1619
|
expr[DefaultImportDeclaration] = importDecl;
|
|
@@ -1656,7 +1651,7 @@ var DefaultImportTracker = class {
|
|
|
1656
1651
|
}
|
|
1657
1652
|
};
|
|
1658
1653
|
|
|
1659
|
-
// bazel-out/
|
|
1654
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.js
|
|
1660
1655
|
import ts9 from "typescript";
|
|
1661
1656
|
var AssumeEager = "AssumeEager";
|
|
1662
1657
|
var DeferredSymbolTracker = class {
|
|
@@ -1778,7 +1773,7 @@ var DeferredSymbolTracker = class {
|
|
|
1778
1773
|
}
|
|
1779
1774
|
};
|
|
1780
1775
|
|
|
1781
|
-
// bazel-out/
|
|
1776
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/imported_symbols_tracker.js
|
|
1782
1777
|
import ts10 from "typescript";
|
|
1783
1778
|
var ImportedSymbolsTracker = class {
|
|
1784
1779
|
fileToNamedImports = /* @__PURE__ */ new WeakMap();
|
|
@@ -1844,7 +1839,7 @@ var ImportedSymbolsTracker = class {
|
|
|
1844
1839
|
}
|
|
1845
1840
|
};
|
|
1846
1841
|
|
|
1847
|
-
// bazel-out/
|
|
1842
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/local_compilation_extra_imports_tracker.js
|
|
1848
1843
|
import ts11 from "typescript";
|
|
1849
1844
|
var LocalCompilationExtraImportsTracker = class {
|
|
1850
1845
|
typeChecker;
|
|
@@ -1894,7 +1889,7 @@ function removeQuotations(s) {
|
|
|
1894
1889
|
return s.substring(1, s.length - 1).trim();
|
|
1895
1890
|
}
|
|
1896
1891
|
|
|
1897
|
-
// bazel-out/
|
|
1892
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.js
|
|
1898
1893
|
var ModuleResolver = class {
|
|
1899
1894
|
program;
|
|
1900
1895
|
compilerOptions;
|
|
@@ -1915,7 +1910,7 @@ var ModuleResolver = class {
|
|
|
1915
1910
|
}
|
|
1916
1911
|
};
|
|
1917
1912
|
|
|
1918
|
-
// bazel-out/
|
|
1913
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.js
|
|
1919
1914
|
import { ExternalExpr as ExternalExpr3, ParseLocation, ParseSourceFile, ParseSourceSpan, ReadPropExpr, WrappedNodeExpr as WrappedNodeExpr2 } from "@angular/compiler";
|
|
1920
1915
|
import ts12 from "typescript";
|
|
1921
1916
|
var CORE_MODULE2 = "@angular/core";
|
|
@@ -2178,7 +2173,7 @@ function isAbstractClassDeclaration(clazz) {
|
|
|
2178
2173
|
return ts12.canHaveModifiers(clazz) && clazz.modifiers !== void 0 ? clazz.modifiers.some((mod) => mod.kind === ts12.SyntaxKind.AbstractKeyword) : false;
|
|
2179
2174
|
}
|
|
2180
2175
|
|
|
2181
|
-
// bazel-out/
|
|
2176
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.js
|
|
2182
2177
|
var DynamicValue = class {
|
|
2183
2178
|
node;
|
|
2184
2179
|
reason;
|
|
@@ -2271,10 +2266,10 @@ var DynamicValue = class {
|
|
|
2271
2266
|
}
|
|
2272
2267
|
};
|
|
2273
2268
|
|
|
2274
|
-
// bazel-out/
|
|
2269
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.js
|
|
2275
2270
|
import ts13 from "typescript";
|
|
2276
2271
|
|
|
2277
|
-
// bazel-out/
|
|
2272
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.js
|
|
2278
2273
|
var ResolvedModule = class {
|
|
2279
2274
|
exports;
|
|
2280
2275
|
evaluate;
|
|
@@ -2309,7 +2304,7 @@ var EnumValue = class {
|
|
|
2309
2304
|
var KnownFn = class {
|
|
2310
2305
|
};
|
|
2311
2306
|
|
|
2312
|
-
// bazel-out/
|
|
2307
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.js
|
|
2313
2308
|
var ArraySliceBuiltinFn = class extends KnownFn {
|
|
2314
2309
|
lhs;
|
|
2315
2310
|
constructor(lhs) {
|
|
@@ -2364,7 +2359,7 @@ var StringConcatBuiltinFn = class extends KnownFn {
|
|
|
2364
2359
|
}
|
|
2365
2360
|
};
|
|
2366
2361
|
|
|
2367
|
-
// bazel-out/
|
|
2362
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/synthetic.js
|
|
2368
2363
|
var SyntheticValue = class {
|
|
2369
2364
|
value;
|
|
2370
2365
|
constructor(value) {
|
|
@@ -2372,7 +2367,7 @@ var SyntheticValue = class {
|
|
|
2372
2367
|
}
|
|
2373
2368
|
};
|
|
2374
2369
|
|
|
2375
|
-
// bazel-out/
|
|
2370
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.js
|
|
2376
2371
|
function literalBinaryOp(op) {
|
|
2377
2372
|
return { op, literal: true };
|
|
2378
2373
|
}
|
|
@@ -2953,7 +2948,7 @@ function owningModule(context, override = null) {
|
|
|
2953
2948
|
}
|
|
2954
2949
|
}
|
|
2955
2950
|
|
|
2956
|
-
// bazel-out/
|
|
2951
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.js
|
|
2957
2952
|
var PartialEvaluator = class {
|
|
2958
2953
|
host;
|
|
2959
2954
|
checker;
|
|
@@ -2976,7 +2971,7 @@ var PartialEvaluator = class {
|
|
|
2976
2971
|
}
|
|
2977
2972
|
};
|
|
2978
2973
|
|
|
2979
|
-
// bazel-out/
|
|
2974
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.js
|
|
2980
2975
|
import ts14 from "typescript";
|
|
2981
2976
|
function describeResolvedType(value, maxDepth = 1) {
|
|
2982
2977
|
if (value === null) {
|
|
@@ -3110,10 +3105,10 @@ function getContainerNode(node) {
|
|
|
3110
3105
|
return node.getSourceFile();
|
|
3111
3106
|
}
|
|
3112
3107
|
|
|
3113
|
-
// bazel-out/
|
|
3108
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.js
|
|
3114
3109
|
import ts19 from "typescript";
|
|
3115
3110
|
|
|
3116
|
-
// bazel-out/
|
|
3111
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/check_unique_identifier_name.js
|
|
3117
3112
|
import ts15 from "typescript";
|
|
3118
3113
|
function createGenerateUniqueIdentifierHelper() {
|
|
3119
3114
|
const generatedIdentifiers = /* @__PURE__ */ new Set();
|
|
@@ -3139,7 +3134,7 @@ function createGenerateUniqueIdentifierHelper() {
|
|
|
3139
3134
|
};
|
|
3140
3135
|
}
|
|
3141
3136
|
|
|
3142
|
-
// bazel-out/
|
|
3137
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_typescript_transform.js
|
|
3143
3138
|
import ts16 from "typescript";
|
|
3144
3139
|
function createTsTransformForImportManager(manager, extraStatementsForFiles) {
|
|
3145
3140
|
return (ctx) => {
|
|
@@ -3207,7 +3202,7 @@ function isImportStatement(stmt) {
|
|
|
3207
3202
|
return ts16.isImportDeclaration(stmt) || ts16.isImportEqualsDeclaration(stmt) || ts16.isNamespaceImport(stmt);
|
|
3208
3203
|
}
|
|
3209
3204
|
|
|
3210
|
-
// bazel-out/
|
|
3205
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_generated_imports.js
|
|
3211
3206
|
import ts17 from "typescript";
|
|
3212
3207
|
function attemptToReuseGeneratedImports(tracker, request) {
|
|
3213
3208
|
const requestHash = hashImportRequest(request);
|
|
@@ -3234,7 +3229,7 @@ function hashImportRequest(req) {
|
|
|
3234
3229
|
return `${req.requestedFile.fileName}:${req.exportModuleSpecifier}:${req.exportSymbolName}${req.unsafeAliasOverride ? ":" + req.unsafeAliasOverride : ""}`;
|
|
3235
3230
|
}
|
|
3236
3231
|
|
|
3237
|
-
// bazel-out/
|
|
3232
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_source_file_imports.js
|
|
3238
3233
|
import ts18 from "typescript";
|
|
3239
3234
|
function attemptToReuseExistingSourceFileImports(tracker, sourceFile, request) {
|
|
3240
3235
|
let candidateImportToBeUpdated = null;
|
|
@@ -3293,7 +3288,7 @@ function attemptToReuseExistingSourceFileImports(tracker, sourceFile, request) {
|
|
|
3293
3288
|
return fileUniqueAlias ?? propertyName;
|
|
3294
3289
|
}
|
|
3295
3290
|
|
|
3296
|
-
// bazel-out/
|
|
3291
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.js
|
|
3297
3292
|
var presetImportManagerForceNamespaceImports = {
|
|
3298
3293
|
disableOriginalSourceFileReuse: true,
|
|
3299
3294
|
forceGenerateNamespacesForNewImports: true
|
|
@@ -3511,7 +3506,7 @@ function createImportReference(asTypeReference, ref) {
|
|
|
3511
3506
|
}
|
|
3512
3507
|
}
|
|
3513
3508
|
|
|
3514
|
-
// bazel-out/
|
|
3509
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_emitter.js
|
|
3515
3510
|
import ts20 from "typescript";
|
|
3516
3511
|
var INELIGIBLE = {};
|
|
3517
3512
|
function canEmitType(type, canEmit) {
|
|
@@ -3587,11 +3582,11 @@ var TypeEmitter = class {
|
|
|
3587
3582
|
}
|
|
3588
3583
|
};
|
|
3589
3584
|
|
|
3590
|
-
// bazel-out/
|
|
3585
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.js
|
|
3591
3586
|
import * as o from "@angular/compiler";
|
|
3592
3587
|
import ts22 from "typescript";
|
|
3593
3588
|
|
|
3594
|
-
// bazel-out/
|
|
3589
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/ts_util.js
|
|
3595
3590
|
import ts21 from "typescript";
|
|
3596
3591
|
function tsNumericExpression(value) {
|
|
3597
3592
|
if (value < 0) {
|
|
@@ -3601,7 +3596,7 @@ function tsNumericExpression(value) {
|
|
|
3601
3596
|
return ts21.factory.createNumericLiteral(value);
|
|
3602
3597
|
}
|
|
3603
3598
|
|
|
3604
|
-
// bazel-out/
|
|
3599
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.js
|
|
3605
3600
|
function translateType(type, contextFile, reflector, refEmitter, imports) {
|
|
3606
3601
|
return type.visitType(new TypeTranslatorVisitor(imports, contextFile, reflector, refEmitter), new Context(false));
|
|
3607
3602
|
}
|
|
@@ -3834,7 +3829,7 @@ var TypeTranslatorVisitor = class {
|
|
|
3834
3829
|
}
|
|
3835
3830
|
};
|
|
3836
3831
|
|
|
3837
|
-
// bazel-out/
|
|
3832
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.js
|
|
3838
3833
|
import ts23 from "typescript";
|
|
3839
3834
|
var PureAnnotation;
|
|
3840
3835
|
(function(PureAnnotation2) {
|
|
@@ -4044,7 +4039,7 @@ function attachComments(statement, leadingComments) {
|
|
|
4044
4039
|
}
|
|
4045
4040
|
}
|
|
4046
4041
|
|
|
4047
|
-
// bazel-out/
|
|
4042
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.js
|
|
4048
4043
|
function translateExpression(contextFile, expression, imports, options = {}) {
|
|
4049
4044
|
return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, contextFile, options), new Context(false));
|
|
4050
4045
|
}
|
|
@@ -4052,14 +4047,14 @@ function translateStatement(contextFile, statement, imports, options = {}) {
|
|
|
4052
4047
|
return statement.visitStatement(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, contextFile, options), new Context(true));
|
|
4053
4048
|
}
|
|
4054
4049
|
|
|
4055
|
-
// bazel-out/
|
|
4050
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.js
|
|
4056
4051
|
var OptimizeFor;
|
|
4057
4052
|
(function(OptimizeFor2) {
|
|
4058
4053
|
OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
|
|
4059
4054
|
OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
|
|
4060
4055
|
})(OptimizeFor || (OptimizeFor = {}));
|
|
4061
4056
|
|
|
4062
|
-
// bazel-out/
|
|
4057
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.js
|
|
4063
4058
|
var PotentialImportKind;
|
|
4064
4059
|
(function(PotentialImportKind2) {
|
|
4065
4060
|
PotentialImportKind2[PotentialImportKind2["NgModule"] = 0] = "NgModule";
|
|
@@ -4071,7 +4066,7 @@ var PotentialImportMode;
|
|
|
4071
4066
|
PotentialImportMode2[PotentialImportMode2["ForceDirect"] = 1] = "ForceDirect";
|
|
4072
4067
|
})(PotentialImportMode || (PotentialImportMode = {}));
|
|
4073
4068
|
|
|
4074
|
-
// bazel-out/
|
|
4069
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.js
|
|
4075
4070
|
var CompletionKind;
|
|
4076
4071
|
(function(CompletionKind2) {
|
|
4077
4072
|
CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
|
|
@@ -4079,7 +4074,7 @@ var CompletionKind;
|
|
|
4079
4074
|
CompletionKind2[CompletionKind2["LetDeclaration"] = 2] = "LetDeclaration";
|
|
4080
4075
|
})(CompletionKind || (CompletionKind = {}));
|
|
4081
4076
|
|
|
4082
|
-
// bazel-out/
|
|
4077
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.js
|
|
4083
4078
|
var SymbolKind;
|
|
4084
4079
|
(function(SymbolKind2) {
|
|
4085
4080
|
SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
|
|
@@ -4096,7 +4091,7 @@ var SymbolKind;
|
|
|
4096
4091
|
SymbolKind2[SymbolKind2["LetDeclaration"] = 11] = "LetDeclaration";
|
|
4097
4092
|
})(SymbolKind || (SymbolKind = {}));
|
|
4098
4093
|
|
|
4099
|
-
// bazel-out/
|
|
4094
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.js
|
|
4100
4095
|
import { LiteralExpr, WrappedNodeExpr as WrappedNodeExpr3 } from "@angular/compiler";
|
|
4101
4096
|
import ts24 from "typescript";
|
|
4102
4097
|
function getConstructorDependencies(clazz, reflector, isCore) {
|
|
@@ -4242,10 +4237,10 @@ function createUnsuitableInjectionTokenError(clazz, error) {
|
|
|
4242
4237
|
return new FatalDiagnosticError(ErrorCode.PARAM_MISSING_TOKEN, param.nameNode, chain, hints);
|
|
4243
4238
|
}
|
|
4244
4239
|
|
|
4245
|
-
// bazel-out/
|
|
4240
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.js
|
|
4246
4241
|
import ts32 from "typescript";
|
|
4247
4242
|
|
|
4248
|
-
// bazel-out/
|
|
4243
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.js
|
|
4249
4244
|
var MetaKind;
|
|
4250
4245
|
(function(MetaKind2) {
|
|
4251
4246
|
MetaKind2[MetaKind2["Directive"] = 0] = "Directive";
|
|
@@ -4258,10 +4253,10 @@ var MatchSource;
|
|
|
4258
4253
|
MatchSource2[MatchSource2["HostDirective"] = 1] = "HostDirective";
|
|
4259
4254
|
})(MatchSource || (MatchSource = {}));
|
|
4260
4255
|
|
|
4261
|
-
// bazel-out/
|
|
4256
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.js
|
|
4262
4257
|
import ts26 from "typescript";
|
|
4263
4258
|
|
|
4264
|
-
// bazel-out/
|
|
4259
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.js
|
|
4265
4260
|
var ClassPropertyMapping = class {
|
|
4266
4261
|
forwardMap;
|
|
4267
4262
|
reverseMap;
|
|
@@ -4343,7 +4338,7 @@ function reverseMapFromForwardMap(forwardMap) {
|
|
|
4343
4338
|
return reverseMap;
|
|
4344
4339
|
}
|
|
4345
4340
|
|
|
4346
|
-
// bazel-out/
|
|
4341
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.js
|
|
4347
4342
|
import ts25 from "typescript";
|
|
4348
4343
|
function extractReferencesFromType(checker, def, bestGuessOwningModule) {
|
|
4349
4344
|
if (!ts25.isTupleTypeNode(def)) {
|
|
@@ -4558,7 +4553,7 @@ function isHostDirectiveMetaForGlobalMode(hostDirectiveMeta) {
|
|
|
4558
4553
|
return hostDirectiveMeta.directive instanceof Reference;
|
|
4559
4554
|
}
|
|
4560
4555
|
|
|
4561
|
-
// bazel-out/
|
|
4556
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.js
|
|
4562
4557
|
var DtsMetadataReader = class {
|
|
4563
4558
|
checker;
|
|
4564
4559
|
reflector;
|
|
@@ -4755,7 +4750,7 @@ function readHostDirectivesType(checker, type, bestGuessOwningModule) {
|
|
|
4755
4750
|
return result.length > 0 ? { result, isIncomplete } : null;
|
|
4756
4751
|
}
|
|
4757
4752
|
|
|
4758
|
-
// bazel-out/
|
|
4753
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.js
|
|
4759
4754
|
function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
4760
4755
|
const topMeta = reader.getDirectiveMetadata(dir);
|
|
4761
4756
|
if (topMeta === null) {
|
|
@@ -4819,7 +4814,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
|
4819
4814
|
};
|
|
4820
4815
|
}
|
|
4821
4816
|
|
|
4822
|
-
// bazel-out/
|
|
4817
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.js
|
|
4823
4818
|
var LocalMetadataRegistry = class {
|
|
4824
4819
|
directives = /* @__PURE__ */ new Map();
|
|
4825
4820
|
ngModules = /* @__PURE__ */ new Map();
|
|
@@ -4875,7 +4870,7 @@ var CompoundMetadataRegistry = class {
|
|
|
4875
4870
|
}
|
|
4876
4871
|
};
|
|
4877
4872
|
|
|
4878
|
-
// bazel-out/
|
|
4873
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.js
|
|
4879
4874
|
var ResourceRegistry = class {
|
|
4880
4875
|
externalTemplateToComponentsMap = /* @__PURE__ */ new Map();
|
|
4881
4876
|
componentToTemplateMap = /* @__PURE__ */ new Map();
|
|
@@ -4947,7 +4942,7 @@ var ResourceRegistry = class {
|
|
|
4947
4942
|
}
|
|
4948
4943
|
};
|
|
4949
4944
|
|
|
4950
|
-
// bazel-out/
|
|
4945
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/providers.js
|
|
4951
4946
|
var ExportedProviderStatusResolver = class {
|
|
4952
4947
|
metaReader;
|
|
4953
4948
|
calculating = /* @__PURE__ */ new Set();
|
|
@@ -4991,7 +4986,7 @@ var ExportedProviderStatusResolver = class {
|
|
|
4991
4986
|
}
|
|
4992
4987
|
};
|
|
4993
4988
|
|
|
4994
|
-
// bazel-out/
|
|
4989
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/host_directives_resolver.js
|
|
4995
4990
|
var EMPTY_ARRAY = [];
|
|
4996
4991
|
var HostDirectivesResolver = class {
|
|
4997
4992
|
metaReader;
|
|
@@ -5058,7 +5053,7 @@ function resolveOutput(bindingName) {
|
|
|
5058
5053
|
return bindingName;
|
|
5059
5054
|
}
|
|
5060
5055
|
|
|
5061
|
-
// bazel-out/
|
|
5056
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.js
|
|
5062
5057
|
var CompilationMode;
|
|
5063
5058
|
(function(CompilationMode2) {
|
|
5064
5059
|
CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
|
|
@@ -5072,7 +5067,7 @@ var HandlerPrecedence;
|
|
|
5072
5067
|
HandlerPrecedence2[HandlerPrecedence2["WEAK"] = 2] = "WEAK";
|
|
5073
5068
|
})(HandlerPrecedence || (HandlerPrecedence = {}));
|
|
5074
5069
|
|
|
5075
|
-
// bazel-out/
|
|
5070
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.js
|
|
5076
5071
|
import ts27 from "typescript";
|
|
5077
5072
|
function aliasTransformFactory(exportStatements) {
|
|
5078
5073
|
return () => {
|
|
@@ -5097,10 +5092,206 @@ function aliasTransformFactory(exportStatements) {
|
|
|
5097
5092
|
};
|
|
5098
5093
|
}
|
|
5099
5094
|
|
|
5100
|
-
// bazel-out/
|
|
5095
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.js
|
|
5101
5096
|
import ts28 from "typescript";
|
|
5102
5097
|
|
|
5103
|
-
// bazel-out/
|
|
5098
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/api.js
|
|
5099
|
+
var PerfPhase;
|
|
5100
|
+
(function(PerfPhase2) {
|
|
5101
|
+
PerfPhase2[PerfPhase2["Unaccounted"] = 0] = "Unaccounted";
|
|
5102
|
+
PerfPhase2[PerfPhase2["Setup"] = 1] = "Setup";
|
|
5103
|
+
PerfPhase2[PerfPhase2["TypeScriptProgramCreate"] = 2] = "TypeScriptProgramCreate";
|
|
5104
|
+
PerfPhase2[PerfPhase2["Reconciliation"] = 3] = "Reconciliation";
|
|
5105
|
+
PerfPhase2[PerfPhase2["ResourceUpdate"] = 4] = "ResourceUpdate";
|
|
5106
|
+
PerfPhase2[PerfPhase2["TypeScriptDiagnostics"] = 5] = "TypeScriptDiagnostics";
|
|
5107
|
+
PerfPhase2[PerfPhase2["Analysis"] = 6] = "Analysis";
|
|
5108
|
+
PerfPhase2[PerfPhase2["Resolve"] = 7] = "Resolve";
|
|
5109
|
+
PerfPhase2[PerfPhase2["CycleDetection"] = 8] = "CycleDetection";
|
|
5110
|
+
PerfPhase2[PerfPhase2["TcbGeneration"] = 9] = "TcbGeneration";
|
|
5111
|
+
PerfPhase2[PerfPhase2["TcbUpdateProgram"] = 10] = "TcbUpdateProgram";
|
|
5112
|
+
PerfPhase2[PerfPhase2["TypeScriptEmit"] = 11] = "TypeScriptEmit";
|
|
5113
|
+
PerfPhase2[PerfPhase2["Compile"] = 12] = "Compile";
|
|
5114
|
+
PerfPhase2[PerfPhase2["TtcAutocompletion"] = 13] = "TtcAutocompletion";
|
|
5115
|
+
PerfPhase2[PerfPhase2["TtcDiagnostics"] = 14] = "TtcDiagnostics";
|
|
5116
|
+
PerfPhase2[PerfPhase2["TtcSymbol"] = 15] = "TtcSymbol";
|
|
5117
|
+
PerfPhase2[PerfPhase2["LsReferencesAndRenames"] = 16] = "LsReferencesAndRenames";
|
|
5118
|
+
PerfPhase2[PerfPhase2["LsQuickInfo"] = 17] = "LsQuickInfo";
|
|
5119
|
+
PerfPhase2[PerfPhase2["LsDefinition"] = 18] = "LsDefinition";
|
|
5120
|
+
PerfPhase2[PerfPhase2["LsCompletions"] = 19] = "LsCompletions";
|
|
5121
|
+
PerfPhase2[PerfPhase2["LsTcb"] = 20] = "LsTcb";
|
|
5122
|
+
PerfPhase2[PerfPhase2["LsDiagnostics"] = 21] = "LsDiagnostics";
|
|
5123
|
+
PerfPhase2[PerfPhase2["LsComponentLocations"] = 22] = "LsComponentLocations";
|
|
5124
|
+
PerfPhase2[PerfPhase2["LsSignatureHelp"] = 23] = "LsSignatureHelp";
|
|
5125
|
+
PerfPhase2[PerfPhase2["OutliningSpans"] = 24] = "OutliningSpans";
|
|
5126
|
+
PerfPhase2[PerfPhase2["LAST"] = 25] = "LAST";
|
|
5127
|
+
PerfPhase2[PerfPhase2["LsCodeFixes"] = 26] = "LsCodeFixes";
|
|
5128
|
+
PerfPhase2[PerfPhase2["LsCodeFixesAll"] = 27] = "LsCodeFixesAll";
|
|
5129
|
+
PerfPhase2[PerfPhase2["LSComputeApplicableRefactorings"] = 28] = "LSComputeApplicableRefactorings";
|
|
5130
|
+
PerfPhase2[PerfPhase2["LSApplyRefactoring"] = 29] = "LSApplyRefactoring";
|
|
5131
|
+
})(PerfPhase || (PerfPhase = {}));
|
|
5132
|
+
var PerfEvent;
|
|
5133
|
+
(function(PerfEvent2) {
|
|
5134
|
+
PerfEvent2[PerfEvent2["InputDtsFile"] = 0] = "InputDtsFile";
|
|
5135
|
+
PerfEvent2[PerfEvent2["InputTsFile"] = 1] = "InputTsFile";
|
|
5136
|
+
PerfEvent2[PerfEvent2["AnalyzeComponent"] = 2] = "AnalyzeComponent";
|
|
5137
|
+
PerfEvent2[PerfEvent2["AnalyzeDirective"] = 3] = "AnalyzeDirective";
|
|
5138
|
+
PerfEvent2[PerfEvent2["AnalyzeInjectable"] = 4] = "AnalyzeInjectable";
|
|
5139
|
+
PerfEvent2[PerfEvent2["AnalyzeNgModule"] = 5] = "AnalyzeNgModule";
|
|
5140
|
+
PerfEvent2[PerfEvent2["AnalyzePipe"] = 6] = "AnalyzePipe";
|
|
5141
|
+
PerfEvent2[PerfEvent2["TraitAnalyze"] = 7] = "TraitAnalyze";
|
|
5142
|
+
PerfEvent2[PerfEvent2["TraitReuseAnalysis"] = 8] = "TraitReuseAnalysis";
|
|
5143
|
+
PerfEvent2[PerfEvent2["SourceFilePhysicalChange"] = 9] = "SourceFilePhysicalChange";
|
|
5144
|
+
PerfEvent2[PerfEvent2["SourceFileLogicalChange"] = 10] = "SourceFileLogicalChange";
|
|
5145
|
+
PerfEvent2[PerfEvent2["SourceFileReuseAnalysis"] = 11] = "SourceFileReuseAnalysis";
|
|
5146
|
+
PerfEvent2[PerfEvent2["GenerateTcb"] = 12] = "GenerateTcb";
|
|
5147
|
+
PerfEvent2[PerfEvent2["SkipGenerateTcbNoInline"] = 13] = "SkipGenerateTcbNoInline";
|
|
5148
|
+
PerfEvent2[PerfEvent2["ReuseTypeCheckFile"] = 14] = "ReuseTypeCheckFile";
|
|
5149
|
+
PerfEvent2[PerfEvent2["UpdateTypeCheckProgram"] = 15] = "UpdateTypeCheckProgram";
|
|
5150
|
+
PerfEvent2[PerfEvent2["EmitSkipSourceFile"] = 16] = "EmitSkipSourceFile";
|
|
5151
|
+
PerfEvent2[PerfEvent2["EmitSourceFile"] = 17] = "EmitSourceFile";
|
|
5152
|
+
PerfEvent2[PerfEvent2["LAST"] = 18] = "LAST";
|
|
5153
|
+
})(PerfEvent || (PerfEvent = {}));
|
|
5154
|
+
var PerfCheckpoint;
|
|
5155
|
+
(function(PerfCheckpoint2) {
|
|
5156
|
+
PerfCheckpoint2[PerfCheckpoint2["Initial"] = 0] = "Initial";
|
|
5157
|
+
PerfCheckpoint2[PerfCheckpoint2["TypeScriptProgramCreate"] = 1] = "TypeScriptProgramCreate";
|
|
5158
|
+
PerfCheckpoint2[PerfCheckpoint2["PreAnalysis"] = 2] = "PreAnalysis";
|
|
5159
|
+
PerfCheckpoint2[PerfCheckpoint2["Analysis"] = 3] = "Analysis";
|
|
5160
|
+
PerfCheckpoint2[PerfCheckpoint2["Resolve"] = 4] = "Resolve";
|
|
5161
|
+
PerfCheckpoint2[PerfCheckpoint2["TtcGeneration"] = 5] = "TtcGeneration";
|
|
5162
|
+
PerfCheckpoint2[PerfCheckpoint2["TtcUpdateProgram"] = 6] = "TtcUpdateProgram";
|
|
5163
|
+
PerfCheckpoint2[PerfCheckpoint2["PreEmit"] = 7] = "PreEmit";
|
|
5164
|
+
PerfCheckpoint2[PerfCheckpoint2["Emit"] = 8] = "Emit";
|
|
5165
|
+
PerfCheckpoint2[PerfCheckpoint2["LAST"] = 9] = "LAST";
|
|
5166
|
+
})(PerfCheckpoint || (PerfCheckpoint = {}));
|
|
5167
|
+
|
|
5168
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.js
|
|
5169
|
+
var NoopPerfRecorder = class {
|
|
5170
|
+
eventCount() {
|
|
5171
|
+
}
|
|
5172
|
+
memory() {
|
|
5173
|
+
}
|
|
5174
|
+
phase() {
|
|
5175
|
+
return PerfPhase.Unaccounted;
|
|
5176
|
+
}
|
|
5177
|
+
inPhase(phase, fn) {
|
|
5178
|
+
return fn();
|
|
5179
|
+
}
|
|
5180
|
+
reset() {
|
|
5181
|
+
}
|
|
5182
|
+
};
|
|
5183
|
+
var NOOP_PERF_RECORDER = new NoopPerfRecorder();
|
|
5184
|
+
|
|
5185
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/clock.js
|
|
5186
|
+
function mark() {
|
|
5187
|
+
return process.hrtime();
|
|
5188
|
+
}
|
|
5189
|
+
function timeSinceInMicros(mark2) {
|
|
5190
|
+
const delta = process.hrtime(mark2);
|
|
5191
|
+
return delta[0] * 1e6 + Math.floor(delta[1] / 1e3);
|
|
5192
|
+
}
|
|
5193
|
+
|
|
5194
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/recorder.js
|
|
5195
|
+
var ActivePerfRecorder = class {
|
|
5196
|
+
zeroTime;
|
|
5197
|
+
counters;
|
|
5198
|
+
phaseTime;
|
|
5199
|
+
bytes;
|
|
5200
|
+
currentPhase = PerfPhase.Unaccounted;
|
|
5201
|
+
currentPhaseEntered;
|
|
5202
|
+
static zeroedToNow() {
|
|
5203
|
+
return new ActivePerfRecorder(mark());
|
|
5204
|
+
}
|
|
5205
|
+
constructor(zeroTime) {
|
|
5206
|
+
this.zeroTime = zeroTime;
|
|
5207
|
+
this.currentPhaseEntered = this.zeroTime;
|
|
5208
|
+
this.counters = Array(PerfEvent.LAST).fill(0);
|
|
5209
|
+
this.phaseTime = Array(PerfPhase.LAST).fill(0);
|
|
5210
|
+
this.bytes = Array(PerfCheckpoint.LAST).fill(0);
|
|
5211
|
+
this.memory(PerfCheckpoint.Initial);
|
|
5212
|
+
}
|
|
5213
|
+
reset() {
|
|
5214
|
+
this.counters = Array(PerfEvent.LAST).fill(0);
|
|
5215
|
+
this.phaseTime = Array(PerfPhase.LAST).fill(0);
|
|
5216
|
+
this.bytes = Array(PerfCheckpoint.LAST).fill(0);
|
|
5217
|
+
this.zeroTime = mark();
|
|
5218
|
+
this.currentPhase = PerfPhase.Unaccounted;
|
|
5219
|
+
this.currentPhaseEntered = this.zeroTime;
|
|
5220
|
+
}
|
|
5221
|
+
memory(after) {
|
|
5222
|
+
this.bytes[after] = process.memoryUsage().heapUsed;
|
|
5223
|
+
}
|
|
5224
|
+
phase(phase) {
|
|
5225
|
+
const previous = this.currentPhase;
|
|
5226
|
+
this.phaseTime[this.currentPhase] += timeSinceInMicros(this.currentPhaseEntered);
|
|
5227
|
+
this.currentPhase = phase;
|
|
5228
|
+
this.currentPhaseEntered = mark();
|
|
5229
|
+
return previous;
|
|
5230
|
+
}
|
|
5231
|
+
inPhase(phase, fn) {
|
|
5232
|
+
const previousPhase = this.phase(phase);
|
|
5233
|
+
try {
|
|
5234
|
+
return fn();
|
|
5235
|
+
} finally {
|
|
5236
|
+
this.phase(previousPhase);
|
|
5237
|
+
}
|
|
5238
|
+
}
|
|
5239
|
+
eventCount(counter, incrementBy = 1) {
|
|
5240
|
+
this.counters[counter] += incrementBy;
|
|
5241
|
+
}
|
|
5242
|
+
finalize() {
|
|
5243
|
+
this.phase(PerfPhase.Unaccounted);
|
|
5244
|
+
const results = {
|
|
5245
|
+
events: {},
|
|
5246
|
+
phases: {},
|
|
5247
|
+
memory: {}
|
|
5248
|
+
};
|
|
5249
|
+
for (let i = 0; i < this.phaseTime.length; i++) {
|
|
5250
|
+
if (this.phaseTime[i] > 0) {
|
|
5251
|
+
results.phases[PerfPhase[i]] = this.phaseTime[i];
|
|
5252
|
+
}
|
|
5253
|
+
}
|
|
5254
|
+
for (let i = 0; i < this.phaseTime.length; i++) {
|
|
5255
|
+
if (this.counters[i] > 0) {
|
|
5256
|
+
results.events[PerfEvent[i]] = this.counters[i];
|
|
5257
|
+
}
|
|
5258
|
+
}
|
|
5259
|
+
for (let i = 0; i < this.bytes.length; i++) {
|
|
5260
|
+
if (this.bytes[i] > 0) {
|
|
5261
|
+
results.memory[PerfCheckpoint[i]] = this.bytes[i];
|
|
5262
|
+
}
|
|
5263
|
+
}
|
|
5264
|
+
return results;
|
|
5265
|
+
}
|
|
5266
|
+
};
|
|
5267
|
+
var DelegatingPerfRecorder = class {
|
|
5268
|
+
target;
|
|
5269
|
+
constructor(target) {
|
|
5270
|
+
this.target = target;
|
|
5271
|
+
}
|
|
5272
|
+
eventCount(counter, incrementBy) {
|
|
5273
|
+
this.target.eventCount(counter, incrementBy);
|
|
5274
|
+
}
|
|
5275
|
+
phase(phase) {
|
|
5276
|
+
return this.target.phase(phase);
|
|
5277
|
+
}
|
|
5278
|
+
inPhase(phase, fn) {
|
|
5279
|
+
const previousPhase = this.target.phase(phase);
|
|
5280
|
+
try {
|
|
5281
|
+
return fn();
|
|
5282
|
+
} finally {
|
|
5283
|
+
this.target.phase(previousPhase);
|
|
5284
|
+
}
|
|
5285
|
+
}
|
|
5286
|
+
memory(after) {
|
|
5287
|
+
this.target.memory(after);
|
|
5288
|
+
}
|
|
5289
|
+
reset() {
|
|
5290
|
+
this.target.reset();
|
|
5291
|
+
}
|
|
5292
|
+
};
|
|
5293
|
+
|
|
5294
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.js
|
|
5104
5295
|
var TraitState;
|
|
5105
5296
|
(function(TraitState2) {
|
|
5106
5297
|
TraitState2[TraitState2["Pending"] = 0] = "Pending";
|
|
@@ -5159,7 +5350,7 @@ var TraitImpl = class {
|
|
|
5159
5350
|
}
|
|
5160
5351
|
};
|
|
5161
5352
|
|
|
5162
|
-
// bazel-out/
|
|
5353
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.js
|
|
5163
5354
|
var TraitCompiler = class {
|
|
5164
5355
|
handlers;
|
|
5165
5356
|
reflector;
|
|
@@ -5637,7 +5828,7 @@ function containsErrors(diagnostics) {
|
|
|
5637
5828
|
return diagnostics !== null && diagnostics.some((diag) => diag.category === ts28.DiagnosticCategory.Error);
|
|
5638
5829
|
}
|
|
5639
5830
|
|
|
5640
|
-
// bazel-out/
|
|
5831
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.js
|
|
5641
5832
|
import ts29 from "typescript";
|
|
5642
5833
|
var DtsTransformRegistry = class {
|
|
5643
5834
|
ivyDeclarationTransforms = /* @__PURE__ */ new Map();
|
|
@@ -5787,11 +5978,11 @@ function markForEmitAsSingleLine(node) {
|
|
|
5787
5978
|
ts29.forEachChild(node, markForEmitAsSingleLine);
|
|
5788
5979
|
}
|
|
5789
5980
|
|
|
5790
|
-
// bazel-out/
|
|
5981
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.js
|
|
5791
5982
|
import { ConstantPool } from "@angular/compiler";
|
|
5792
5983
|
import ts31 from "typescript";
|
|
5793
5984
|
|
|
5794
|
-
// bazel-out/
|
|
5985
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.js
|
|
5795
5986
|
import ts30 from "typescript";
|
|
5796
5987
|
function visit(node, visitor, context) {
|
|
5797
5988
|
return visitor._visit(node, context);
|
|
@@ -5850,7 +6041,7 @@ var Visitor = class {
|
|
|
5850
6041
|
}
|
|
5851
6042
|
};
|
|
5852
6043
|
|
|
5853
|
-
// bazel-out/
|
|
6044
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.js
|
|
5854
6045
|
var NO_DECORATORS = /* @__PURE__ */ new Set();
|
|
5855
6046
|
var CLOSURE_FILE_OVERVIEW_REGEXP = /\s+@fileoverview\s+/i;
|
|
5856
6047
|
function ivyTransformFactory(compilation, reflector, importRewriter, defaultImportTracker, localCompilationExtraImportsTracker, perf, isCore, isClosureCompilerEnabled) {
|
|
@@ -6096,7 +6287,7 @@ function nodeArrayFromDecoratorsArray(decorators) {
|
|
|
6096
6287
|
return array;
|
|
6097
6288
|
}
|
|
6098
6289
|
|
|
6099
|
-
// bazel-out/
|
|
6290
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.js
|
|
6100
6291
|
function makeDuplicateDeclarationError(node, data, kind) {
|
|
6101
6292
|
const context = [];
|
|
6102
6293
|
for (const decl of data) {
|
|
@@ -6304,7 +6495,7 @@ function assertLocalCompilationUnresolvedConst(compilationMode, value, nodeToHig
|
|
|
6304
6495
|
}
|
|
6305
6496
|
}
|
|
6306
6497
|
|
|
6307
|
-
// bazel-out/
|
|
6498
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.js
|
|
6308
6499
|
import { ViewEncapsulation } from "@angular/compiler";
|
|
6309
6500
|
import ts33 from "typescript";
|
|
6310
6501
|
function resolveEnumValue(evaluator, metadata, field, enumSymbolName, isCore) {
|
|
@@ -6355,7 +6546,7 @@ function resolveLiteral(decorator, literalCache) {
|
|
|
6355
6546
|
return meta;
|
|
6356
6547
|
}
|
|
6357
6548
|
|
|
6358
|
-
// bazel-out/
|
|
6549
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.js
|
|
6359
6550
|
import { compileDeclareFactoryFunction, compileFactoryFunction } from "@angular/compiler";
|
|
6360
6551
|
function compileNgFactoryDefField(metadata) {
|
|
6361
6552
|
const res = compileFactoryFunction(metadata);
|
|
@@ -6378,7 +6569,7 @@ function compileDeclareFactory(metadata) {
|
|
|
6378
6569
|
};
|
|
6379
6570
|
}
|
|
6380
6571
|
|
|
6381
|
-
// bazel-out/
|
|
6572
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/injectable_registry.js
|
|
6382
6573
|
var InjectableClassRegistry = class {
|
|
6383
6574
|
host;
|
|
6384
6575
|
isCore;
|
|
@@ -6406,7 +6597,7 @@ var InjectableClassRegistry = class {
|
|
|
6406
6597
|
}
|
|
6407
6598
|
};
|
|
6408
6599
|
|
|
6409
|
-
// bazel-out/
|
|
6600
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.js
|
|
6410
6601
|
import { ArrowFunctionExpr, LiteralArrayExpr, LiteralExpr as LiteralExpr2, literalMap, WrappedNodeExpr as WrappedNodeExpr4 } from "@angular/compiler";
|
|
6411
6602
|
import ts34 from "typescript";
|
|
6412
6603
|
function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
|
|
@@ -6490,7 +6681,7 @@ function removeIdentifierReferences(node, names) {
|
|
|
6490
6681
|
return result.transformed[0];
|
|
6491
6682
|
}
|
|
6492
6683
|
|
|
6493
|
-
// bazel-out/
|
|
6684
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/debug_info.js
|
|
6494
6685
|
import { literal as literal2, WrappedNodeExpr as WrappedNodeExpr5 } from "@angular/compiler";
|
|
6495
6686
|
function extractClassDebugInfo(clazz, reflection, compilerHost, rootDirs, forbidOrphanRendering) {
|
|
6496
6687
|
if (!reflection.isClass(clazz)) {
|
|
@@ -6507,13 +6698,13 @@ function extractClassDebugInfo(clazz, reflection, compilerHost, rootDirs, forbid
|
|
|
6507
6698
|
};
|
|
6508
6699
|
}
|
|
6509
6700
|
|
|
6510
|
-
// bazel-out/
|
|
6701
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.js
|
|
6511
6702
|
var NoopReferencesRegistry = class {
|
|
6512
6703
|
add(source, ...references) {
|
|
6513
6704
|
}
|
|
6514
6705
|
};
|
|
6515
6706
|
|
|
6516
|
-
// bazel-out/
|
|
6707
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.js
|
|
6517
6708
|
import { CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA } from "@angular/compiler";
|
|
6518
6709
|
function extractSchemas(rawExpr, evaluator, context) {
|
|
6519
6710
|
const schemas = [];
|
|
@@ -6543,7 +6734,7 @@ function extractSchemas(rawExpr, evaluator, context) {
|
|
|
6543
6734
|
return schemas;
|
|
6544
6735
|
}
|
|
6545
6736
|
|
|
6546
|
-
// bazel-out/
|
|
6737
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/input_transforms.js
|
|
6547
6738
|
import { outputAst } from "@angular/compiler";
|
|
6548
6739
|
function compileInputTransformFields(inputs) {
|
|
6549
6740
|
const extraFields = [];
|
|
@@ -6561,16 +6752,16 @@ function compileInputTransformFields(inputs) {
|
|
|
6561
6752
|
return extraFields;
|
|
6562
6753
|
}
|
|
6563
6754
|
|
|
6564
|
-
// bazel-out/
|
|
6755
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/jit_declaration_registry.js
|
|
6565
6756
|
var JitDeclarationRegistry = class {
|
|
6566
6757
|
jitDeclarations = /* @__PURE__ */ new Set();
|
|
6567
6758
|
};
|
|
6568
6759
|
|
|
6569
|
-
// bazel-out/
|
|
6760
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.js
|
|
6570
6761
|
import { compileClassDebugInfo, compileHmrInitializer, compileComponentClassMetadata, compileComponentDeclareClassMetadata, compileComponentFromMetadata, compileDeclareComponentFromMetadata, compileDeferResolverFunction, ConstantPool as ConstantPool2, CssSelector as CssSelector5, DEFAULT_INTERPOLATION_CONFIG as DEFAULT_INTERPOLATION_CONFIG2, DomElementSchemaRegistry as DomElementSchemaRegistry3, ExternalExpr as ExternalExpr10, FactoryTarget as FactoryTarget3, makeBindingParser as makeBindingParser3, outputAst as o5, R3TargetBinder as R3TargetBinder2, R3TemplateDependencyKind, SelectorMatcher as SelectorMatcher3, ViewEncapsulation as ViewEncapsulation2 } from "@angular/compiler";
|
|
6571
6762
|
import ts71 from "typescript";
|
|
6572
6763
|
|
|
6573
|
-
// bazel-out/
|
|
6764
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.js
|
|
6574
6765
|
import ts35 from "typescript";
|
|
6575
6766
|
var SemanticSymbol = class {
|
|
6576
6767
|
decl;
|
|
@@ -6589,7 +6780,7 @@ function getSymbolIdentifier(decl) {
|
|
|
6589
6780
|
return decl.name.text;
|
|
6590
6781
|
}
|
|
6591
6782
|
|
|
6592
|
-
// bazel-out/
|
|
6783
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.js
|
|
6593
6784
|
import { ExternalExpr as ExternalExpr4 } from "@angular/compiler";
|
|
6594
6785
|
var OpaqueSymbol = class extends SemanticSymbol {
|
|
6595
6786
|
isPublicApiAffected() {
|
|
@@ -6731,10 +6922,10 @@ function getImportPath(expr) {
|
|
|
6731
6922
|
}
|
|
6732
6923
|
}
|
|
6733
6924
|
|
|
6734
|
-
// bazel-out/
|
|
6925
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.js
|
|
6735
6926
|
import ts36 from "typescript";
|
|
6736
6927
|
|
|
6737
|
-
// bazel-out/
|
|
6928
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.js
|
|
6738
6929
|
function isSymbolEqual(a, b) {
|
|
6739
6930
|
if (a.decl === b.decl) {
|
|
6740
6931
|
return true;
|
|
@@ -6784,7 +6975,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
|
|
|
6784
6975
|
return true;
|
|
6785
6976
|
}
|
|
6786
6977
|
|
|
6787
|
-
// bazel-out/
|
|
6978
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.js
|
|
6788
6979
|
function extractSemanticTypeParameters(node) {
|
|
6789
6980
|
if (!ts36.isClassDeclaration(node) || node.typeParameters === void 0) {
|
|
6790
6981
|
return null;
|
|
@@ -6806,14 +6997,14 @@ function isTypeParameterEqual(a, b) {
|
|
|
6806
6997
|
return a.hasGenericTypeBound === b.hasGenericTypeBound;
|
|
6807
6998
|
}
|
|
6808
6999
|
|
|
6809
|
-
// bazel-out/
|
|
7000
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.js
|
|
6810
7001
|
var ComponentScopeKind;
|
|
6811
7002
|
(function(ComponentScopeKind2) {
|
|
6812
7003
|
ComponentScopeKind2[ComponentScopeKind2["NgModule"] = 0] = "NgModule";
|
|
6813
7004
|
ComponentScopeKind2[ComponentScopeKind2["Standalone"] = 1] = "Standalone";
|
|
6814
7005
|
})(ComponentScopeKind || (ComponentScopeKind = {}));
|
|
6815
7006
|
|
|
6816
|
-
// bazel-out/
|
|
7007
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.js
|
|
6817
7008
|
var CompoundComponentScopeReader = class {
|
|
6818
7009
|
readers;
|
|
6819
7010
|
constructor(readers) {
|
|
@@ -6839,7 +7030,7 @@ var CompoundComponentScopeReader = class {
|
|
|
6839
7030
|
}
|
|
6840
7031
|
};
|
|
6841
7032
|
|
|
6842
|
-
// bazel-out/
|
|
7033
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.js
|
|
6843
7034
|
var MetadataDtsModuleScopeResolver = class {
|
|
6844
7035
|
dtsMetaReader;
|
|
6845
7036
|
aliasingHost;
|
|
@@ -6917,11 +7108,11 @@ var MetadataDtsModuleScopeResolver = class {
|
|
|
6917
7108
|
}
|
|
6918
7109
|
};
|
|
6919
7110
|
|
|
6920
|
-
// bazel-out/
|
|
7111
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.js
|
|
6921
7112
|
import { ExternalExpr as ExternalExpr5 } from "@angular/compiler";
|
|
6922
7113
|
import ts37 from "typescript";
|
|
6923
7114
|
|
|
6924
|
-
// bazel-out/
|
|
7115
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.js
|
|
6925
7116
|
function getDiagnosticNode(ref, rawExpr) {
|
|
6926
7117
|
return rawExpr !== null ? ref.getOriginForDiagnostics(rawExpr) : ref.node.name;
|
|
6927
7118
|
}
|
|
@@ -6947,7 +7138,7 @@ function makeUnknownComponentDeferredImportDiagnostic(ref, rawExpr) {
|
|
|
6947
7138
|
return makeDiagnostic(ErrorCode.COMPONENT_UNKNOWN_DEFERRED_IMPORT, getDiagnosticNode(ref, rawExpr), `Component deferred imports must be standalone components, directives or pipes.`);
|
|
6948
7139
|
}
|
|
6949
7140
|
|
|
6950
|
-
// bazel-out/
|
|
7141
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.js
|
|
6951
7142
|
var IN_PROGRESS_RESOLUTION = {};
|
|
6952
7143
|
var LocalModuleScopeRegistry = class {
|
|
6953
7144
|
localReader;
|
|
@@ -7306,7 +7497,7 @@ function reexportCollision(module, refA, refB) {
|
|
|
7306
7497
|
]);
|
|
7307
7498
|
}
|
|
7308
7499
|
|
|
7309
|
-
// bazel-out/
|
|
7500
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.js
|
|
7310
7501
|
import { CssSelector, SelectorMatcher } from "@angular/compiler";
|
|
7311
7502
|
import ts38 from "typescript";
|
|
7312
7503
|
var TypeCheckScopeRegistry = class {
|
|
@@ -7390,15 +7581,15 @@ var TypeCheckScopeRegistry = class {
|
|
|
7390
7581
|
}
|
|
7391
7582
|
};
|
|
7392
7583
|
|
|
7393
|
-
// bazel-out/
|
|
7584
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.js
|
|
7394
7585
|
import { compileClassMetadata, compileDeclareClassMetadata, compileDeclareDirectiveFromMetadata, compileDirectiveFromMetadata, FactoryTarget, makeBindingParser as makeBindingParser2, R3TargetBinder, WrappedNodeExpr as WrappedNodeExpr9 } from "@angular/compiler";
|
|
7395
7586
|
import ts63 from "typescript";
|
|
7396
7587
|
|
|
7397
|
-
// bazel-out/
|
|
7588
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.js
|
|
7398
7589
|
import { createMayBeForwardRefExpression as createMayBeForwardRefExpression2, emitDistinctChangesOnlyDefaultValue, ExternalExpr as ExternalExpr6, getSafePropertyAccessString, parseHostBindings, ParserError, verifyHostBindings, WrappedNodeExpr as WrappedNodeExpr6 } from "@angular/compiler";
|
|
7399
7590
|
import ts42 from "typescript";
|
|
7400
7591
|
|
|
7401
|
-
// bazel-out/
|
|
7592
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/initializer_function_access.js
|
|
7402
7593
|
function validateAccessOfInitializerApiMember({ api, call }, member) {
|
|
7403
7594
|
if (!api.allowedAccessLevels.includes(member.accessLevel)) {
|
|
7404
7595
|
throw new FatalDiagnosticError(ErrorCode.INITIALIZER_API_DISALLOWED_MEMBER_VISIBILITY, call, makeDiagnosticChain(`Cannot use "${api.functionName}" on a class member that is declared as ${classMemberAccessLevelToString(member.accessLevel)}.`, [
|
|
@@ -7407,7 +7598,7 @@ function validateAccessOfInitializerApiMember({ api, call }, member) {
|
|
|
7407
7598
|
}
|
|
7408
7599
|
}
|
|
7409
7600
|
|
|
7410
|
-
// bazel-out/
|
|
7601
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/initializer_functions.js
|
|
7411
7602
|
import ts39 from "typescript";
|
|
7412
7603
|
function tryParseInitializerApi(functions, expression, reflector, importTracker) {
|
|
7413
7604
|
if (!ts39.isCallExpression(expression)) {
|
|
@@ -7476,7 +7667,7 @@ function parseTopLevelCallFromNamespace(call, functions, importTracker) {
|
|
|
7476
7667
|
return { api: matchingApi, apiReference, isRequired };
|
|
7477
7668
|
}
|
|
7478
7669
|
|
|
7479
|
-
// bazel-out/
|
|
7670
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/input_output_parse_options.js
|
|
7480
7671
|
import ts40 from "typescript";
|
|
7481
7672
|
function parseAndValidateInputAndOutputOptions(optionsNode) {
|
|
7482
7673
|
if (!ts40.isObjectLiteralExpression(optionsNode)) {
|
|
@@ -7494,7 +7685,7 @@ function parseAndValidateInputAndOutputOptions(optionsNode) {
|
|
|
7494
7685
|
return { alias };
|
|
7495
7686
|
}
|
|
7496
7687
|
|
|
7497
|
-
// bazel-out/
|
|
7688
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/input_function.js
|
|
7498
7689
|
var INPUT_INITIALIZER_FN = {
|
|
7499
7690
|
functionName: "input",
|
|
7500
7691
|
owningModule: "@angular/core",
|
|
@@ -7525,7 +7716,7 @@ function tryParseSignalInputMapping(member, reflector, importTracker) {
|
|
|
7525
7716
|
};
|
|
7526
7717
|
}
|
|
7527
7718
|
|
|
7528
|
-
// bazel-out/
|
|
7719
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/model_function.js
|
|
7529
7720
|
var MODEL_INITIALIZER_FN = {
|
|
7530
7721
|
functionName: "model",
|
|
7531
7722
|
owningModule: "@angular/core",
|
|
@@ -7565,7 +7756,7 @@ function tryParseSignalModelMapping(member, reflector, importTracker) {
|
|
|
7565
7756
|
};
|
|
7566
7757
|
}
|
|
7567
7758
|
|
|
7568
|
-
// bazel-out/
|
|
7759
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/output_function.js
|
|
7569
7760
|
var allowedAccessLevels = [
|
|
7570
7761
|
ClassMemberAccessLevel.PublicWritable,
|
|
7571
7762
|
ClassMemberAccessLevel.PublicReadonly,
|
|
@@ -7608,7 +7799,7 @@ function tryParseInitializerBasedOutput(member, reflector, importTracker) {
|
|
|
7608
7799
|
};
|
|
7609
7800
|
}
|
|
7610
7801
|
|
|
7611
|
-
// bazel-out/
|
|
7802
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/query_functions.js
|
|
7612
7803
|
import { createMayBeForwardRefExpression, outputAst as o2 } from "@angular/compiler";
|
|
7613
7804
|
import ts41 from "typescript";
|
|
7614
7805
|
var queryFunctionNames = [
|
|
@@ -7693,7 +7884,7 @@ function parseDescendantsOption(value) {
|
|
|
7693
7884
|
throw new FatalDiagnosticError(ErrorCode.VALUE_HAS_WRONG_TYPE, value, `Expected "descendants" option to be a boolean literal.`);
|
|
7694
7885
|
}
|
|
7695
7886
|
|
|
7696
|
-
// bazel-out/
|
|
7887
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.js
|
|
7697
7888
|
var EMPTY_OBJECT = {};
|
|
7698
7889
|
var queryDecoratorNames = [
|
|
7699
7890
|
"ViewChild",
|
|
@@ -8526,7 +8717,7 @@ function extractHostBindingResources(nodes) {
|
|
|
8526
8717
|
return result;
|
|
8527
8718
|
}
|
|
8528
8719
|
|
|
8529
|
-
// bazel-out/
|
|
8720
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.js
|
|
8530
8721
|
var DirectiveSymbol = class extends SemanticSymbol {
|
|
8531
8722
|
selector;
|
|
8532
8723
|
inputs;
|
|
@@ -8612,10 +8803,10 @@ function isBaseClassEqual(current, previous) {
|
|
|
8612
8803
|
return isSymbolEqual(current, previous);
|
|
8613
8804
|
}
|
|
8614
8805
|
|
|
8615
|
-
// bazel-out/
|
|
8806
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.js
|
|
8616
8807
|
import { CssSelector as CssSelector4, DomElementSchemaRegistry as DomElementSchemaRegistry2, ExternalExpr as ExternalExpr8, WrappedNodeExpr as WrappedNodeExpr8 } from "@angular/compiler";
|
|
8617
8808
|
|
|
8618
|
-
// bazel-out/
|
|
8809
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.js
|
|
8619
8810
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
8620
8811
|
var UpdateMode;
|
|
8621
8812
|
(function(UpdateMode2) {
|
|
@@ -8623,13 +8814,13 @@ var UpdateMode;
|
|
|
8623
8814
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
8624
8815
|
})(UpdateMode || (UpdateMode = {}));
|
|
8625
8816
|
|
|
8626
|
-
// bazel-out/
|
|
8817
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.js
|
|
8627
8818
|
import ts44 from "typescript";
|
|
8628
8819
|
|
|
8629
|
-
// bazel-out/
|
|
8820
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.js
|
|
8630
8821
|
import ts43 from "typescript";
|
|
8631
8822
|
|
|
8632
|
-
// bazel-out/
|
|
8823
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.js
|
|
8633
8824
|
var NgExtension = Symbol("NgExtension");
|
|
8634
8825
|
function isExtended(sf) {
|
|
8635
8826
|
return sf[NgExtension] !== void 0;
|
|
@@ -8689,13 +8880,13 @@ function retagTsFile(sf) {
|
|
|
8689
8880
|
}
|
|
8690
8881
|
}
|
|
8691
8882
|
|
|
8692
|
-
// bazel-out/
|
|
8883
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.js
|
|
8693
8884
|
var TS_EXTENSIONS = /\.tsx?$/i;
|
|
8694
8885
|
function makeShimFileName(fileName, suffix) {
|
|
8695
8886
|
return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
|
|
8696
8887
|
}
|
|
8697
8888
|
|
|
8698
|
-
// bazel-out/
|
|
8889
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.js
|
|
8699
8890
|
var ShimAdapter = class {
|
|
8700
8891
|
delegate;
|
|
8701
8892
|
shims = /* @__PURE__ */ new Map();
|
|
@@ -8792,7 +8983,7 @@ var ShimAdapter = class {
|
|
|
8792
8983
|
}
|
|
8793
8984
|
};
|
|
8794
8985
|
|
|
8795
|
-
// bazel-out/
|
|
8986
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.js
|
|
8796
8987
|
var ShimReferenceTagger = class {
|
|
8797
8988
|
suffixes;
|
|
8798
8989
|
tagged = /* @__PURE__ */ new Set();
|
|
@@ -8827,7 +9018,7 @@ var ShimReferenceTagger = class {
|
|
|
8827
9018
|
}
|
|
8828
9019
|
};
|
|
8829
9020
|
|
|
8830
|
-
// bazel-out/
|
|
9021
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.js
|
|
8831
9022
|
var DelegatingCompilerHost = class {
|
|
8832
9023
|
delegate;
|
|
8833
9024
|
createHash;
|
|
@@ -8978,7 +9169,7 @@ var TsCreateProgramDriver = class {
|
|
|
8978
9169
|
}
|
|
8979
9170
|
};
|
|
8980
9171
|
|
|
8981
|
-
// bazel-out/
|
|
9172
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.js
|
|
8982
9173
|
import ts45 from "typescript";
|
|
8983
9174
|
function makeTemplateDiagnostic(id, mapping, span, category, code, messageText, relatedMessages) {
|
|
8984
9175
|
if (mapping.type === "direct") {
|
|
@@ -9088,7 +9279,7 @@ function parseTemplateAsSourceFile(fileName, template) {
|
|
|
9088
9279
|
);
|
|
9089
9280
|
}
|
|
9090
9281
|
|
|
9091
|
-
// bazel-out/
|
|
9282
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.js
|
|
9092
9283
|
var TYPE_CHECK_ID_MAP = Symbol("TypeCheckId");
|
|
9093
9284
|
function getTypeCheckId(clazz) {
|
|
9094
9285
|
const sf = clazz.getSourceFile();
|
|
@@ -9101,11 +9292,11 @@ function getTypeCheckId(clazz) {
|
|
|
9101
9292
|
return sf[TYPE_CHECK_ID_MAP].get(clazz);
|
|
9102
9293
|
}
|
|
9103
9294
|
|
|
9104
|
-
// bazel-out/
|
|
9295
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.js
|
|
9105
9296
|
import { EmptyExpr, ImplicitReceiver, PropertyRead, PropertyWrite, SafePropertyRead, TmplAstLetDeclaration, TmplAstReference, TmplAstTextAttribute } from "@angular/compiler";
|
|
9106
9297
|
import ts47 from "typescript";
|
|
9107
9298
|
|
|
9108
|
-
// bazel-out/
|
|
9299
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.js
|
|
9109
9300
|
import { AbsoluteSourceSpan } from "@angular/compiler";
|
|
9110
9301
|
import ts46 from "typescript";
|
|
9111
9302
|
var parseSpanComment = /^(\d+),(\d+)$/;
|
|
@@ -9235,7 +9426,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
|
|
|
9235
9426
|
}) || false;
|
|
9236
9427
|
}
|
|
9237
9428
|
|
|
9238
|
-
// bazel-out/
|
|
9429
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.js
|
|
9239
9430
|
var CompletionEngine = class {
|
|
9240
9431
|
tcb;
|
|
9241
9432
|
data;
|
|
@@ -9402,7 +9593,7 @@ var CompletionEngine = class {
|
|
|
9402
9593
|
}
|
|
9403
9594
|
};
|
|
9404
9595
|
|
|
9405
|
-
// bazel-out/
|
|
9596
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.js
|
|
9406
9597
|
import { ParseSourceFile as ParseSourceFile2 } from "@angular/compiler";
|
|
9407
9598
|
|
|
9408
9599
|
// node_modules/magic-string/dist/magic-string.es.mjs
|
|
@@ -10445,10 +10636,10 @@ var MagicString = class {
|
|
|
10445
10636
|
}
|
|
10446
10637
|
};
|
|
10447
10638
|
|
|
10448
|
-
// bazel-out/
|
|
10639
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.js
|
|
10449
10640
|
import ts61 from "typescript";
|
|
10450
10641
|
|
|
10451
|
-
// bazel-out/
|
|
10642
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.js
|
|
10452
10643
|
import { DomElementSchemaRegistry } from "@angular/compiler";
|
|
10453
10644
|
import ts48 from "typescript";
|
|
10454
10645
|
var REGISTRY = new DomElementSchemaRegistry();
|
|
@@ -10514,10 +10705,10 @@ var RegistryDomSchemaChecker = class {
|
|
|
10514
10705
|
}
|
|
10515
10706
|
};
|
|
10516
10707
|
|
|
10517
|
-
// bazel-out/
|
|
10708
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.js
|
|
10518
10709
|
import ts54 from "typescript";
|
|
10519
10710
|
|
|
10520
|
-
// bazel-out/
|
|
10711
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/reference_emit_environment.js
|
|
10521
10712
|
import { ExpressionType, ExternalExpr as ExternalExpr7, TypeModifier } from "@angular/compiler";
|
|
10522
10713
|
var ReferenceEmitEnvironment = class {
|
|
10523
10714
|
importManager;
|
|
@@ -10552,7 +10743,7 @@ var ReferenceEmitEnvironment = class {
|
|
|
10552
10743
|
}
|
|
10553
10744
|
};
|
|
10554
10745
|
|
|
10555
|
-
// bazel-out/
|
|
10746
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.js
|
|
10556
10747
|
import ts49 from "typescript";
|
|
10557
10748
|
var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
|
|
10558
10749
|
ts49.SyntaxKind.ParenthesizedExpression,
|
|
@@ -10643,15 +10834,15 @@ function tsNumericExpression2(value) {
|
|
|
10643
10834
|
return ts49.factory.createNumericLiteral(value);
|
|
10644
10835
|
}
|
|
10645
10836
|
|
|
10646
|
-
// bazel-out/
|
|
10837
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.js
|
|
10647
10838
|
import { ExpressionType as ExpressionType2, R3Identifiers as R3Identifiers2, WrappedNodeExpr as WrappedNodeExpr7 } from "@angular/compiler";
|
|
10648
10839
|
import ts53 from "typescript";
|
|
10649
10840
|
|
|
10650
|
-
// bazel-out/
|
|
10841
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.js
|
|
10651
10842
|
import { R3Identifiers } from "@angular/compiler";
|
|
10652
10843
|
import ts52 from "typescript";
|
|
10653
10844
|
|
|
10654
|
-
// bazel-out/
|
|
10845
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.js
|
|
10655
10846
|
import ts50 from "typescript";
|
|
10656
10847
|
var TypeParameterEmitter = class {
|
|
10657
10848
|
typeParameters;
|
|
@@ -10731,7 +10922,7 @@ var TypeParameterEmitter = class {
|
|
|
10731
10922
|
}
|
|
10732
10923
|
};
|
|
10733
10924
|
|
|
10734
|
-
// bazel-out/
|
|
10925
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/host_bindings.js
|
|
10735
10926
|
import { BindingType, CssSelector as CssSelector2, makeBindingParser, TmplAstBoundAttribute, TmplAstBoundEvent, TmplAstHostElement, AbsoluteSourceSpan as AbsoluteSourceSpan2, ParseSpan, PropertyRead as PropertyRead2, ParsedEventType, Call, ThisReceiver, KeyedRead, LiteralPrimitive, RecursiveAstVisitor, ASTWithName, SafeCall, ImplicitReceiver as ImplicitReceiver2 } from "@angular/compiler";
|
|
10736
10927
|
import ts51 from "typescript";
|
|
10737
10928
|
var GUARD_COMMENT_TEXT = "hostBindingsBlockGuard";
|
|
@@ -10957,7 +11148,7 @@ var ReplaceSpanVisitor = class extends RecursiveAstVisitor {
|
|
|
10957
11148
|
}
|
|
10958
11149
|
};
|
|
10959
11150
|
|
|
10960
|
-
// bazel-out/
|
|
11151
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.js
|
|
10961
11152
|
var TCB_FILE_IMPORT_GRAPH_PREPARE_IDENTIFIERS = [
|
|
10962
11153
|
R3Identifiers.InputSignalBrandWriteType
|
|
10963
11154
|
];
|
|
@@ -11079,7 +11270,7 @@ function findNodeInFile(file, predicate) {
|
|
|
11079
11270
|
return ts52.forEachChild(file, visit2) ?? null;
|
|
11080
11271
|
}
|
|
11081
11272
|
|
|
11082
|
-
// bazel-out/
|
|
11273
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.js
|
|
11083
11274
|
function generateTypeCtorDeclarationFn(env, meta, nodeTypeRef, typeParams) {
|
|
11084
11275
|
const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
|
|
11085
11276
|
const rawType = ts53.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
|
|
@@ -11202,7 +11393,7 @@ function typeParametersWithDefaultTypes(params) {
|
|
|
11202
11393
|
});
|
|
11203
11394
|
}
|
|
11204
11395
|
|
|
11205
|
-
// bazel-out/
|
|
11396
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.js
|
|
11206
11397
|
var Environment = class extends ReferenceEmitEnvironment {
|
|
11207
11398
|
config;
|
|
11208
11399
|
nextIds = {
|
|
@@ -11275,7 +11466,7 @@ var Environment = class extends ReferenceEmitEnvironment {
|
|
|
11275
11466
|
}
|
|
11276
11467
|
};
|
|
11277
11468
|
|
|
11278
|
-
// bazel-out/
|
|
11469
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.js
|
|
11279
11470
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan3, TmplAstBoundEvent as TmplAstBoundEvent2, TmplAstComponent, TmplAstDirective, TmplAstElement } from "@angular/compiler";
|
|
11280
11471
|
import ts55 from "typescript";
|
|
11281
11472
|
var OutOfBandDiagnosticRecorderImpl = class {
|
|
@@ -11501,7 +11692,7 @@ function makeInlineDiagnostic(id, code, node, messageText, relatedInformation) {
|
|
|
11501
11692
|
};
|
|
11502
11693
|
}
|
|
11503
11694
|
|
|
11504
|
-
// bazel-out/
|
|
11695
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.js
|
|
11505
11696
|
import ts56 from "typescript";
|
|
11506
11697
|
var TypeCheckShimGenerator = class {
|
|
11507
11698
|
extensionPrefix = "ngtypecheck";
|
|
@@ -11517,11 +11708,11 @@ var TypeCheckShimGenerator = class {
|
|
|
11517
11708
|
}
|
|
11518
11709
|
};
|
|
11519
11710
|
|
|
11520
|
-
// bazel-out/
|
|
11711
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.js
|
|
11521
11712
|
import { BindingPipe, BindingType as BindingType2, Call as Call3, createCssSelectorFromNode, CssSelector as CssSelector3, DYNAMIC_TYPE, ImplicitReceiver as ImplicitReceiver3, ParsedEventType as ParsedEventType2, PropertyRead as PropertyRead4, PropertyWrite as PropertyWrite2, R3Identifiers as R3Identifiers3, SafeCall as SafeCall2, SafePropertyRead as SafePropertyRead3, SelectorMatcher as SelectorMatcher2, ThisReceiver as ThisReceiver2, TmplAstBoundAttribute as TmplAstBoundAttribute2, TmplAstBoundText, TmplAstContent, TmplAstDeferredBlock, TmplAstElement as TmplAstElement2, TmplAstForLoopBlock, TmplAstIcu, TmplAstIfBlock, TmplAstIfBlockBranch, TmplAstLetDeclaration as TmplAstLetDeclaration2, TmplAstReference as TmplAstReference2, TmplAstSwitchBlock, TmplAstTemplate, TmplAstText, TmplAstTextAttribute as TmplAstTextAttribute2, TmplAstVariable, TmplAstHostElement as TmplAstHostElement2, TransplantedType, TmplAstComponent as TmplAstComponent2, TmplAstDirective as TmplAstDirective2 } from "@angular/compiler";
|
|
11522
11713
|
import ts59 from "typescript";
|
|
11523
11714
|
|
|
11524
|
-
// bazel-out/
|
|
11715
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.js
|
|
11525
11716
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan4 } from "@angular/compiler";
|
|
11526
11717
|
import ts57 from "typescript";
|
|
11527
11718
|
function wrapForDiagnostics(expr) {
|
|
@@ -11577,7 +11768,7 @@ function translateDiagnostic(diagnostic, resolver) {
|
|
|
11577
11768
|
return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
|
|
11578
11769
|
}
|
|
11579
11770
|
|
|
11580
|
-
// bazel-out/
|
|
11771
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.js
|
|
11581
11772
|
import { ASTWithSource, Call as Call2, EmptyExpr as EmptyExpr2, PropertyRead as PropertyRead3, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
|
|
11582
11773
|
import ts58 from "typescript";
|
|
11583
11774
|
var ANY_EXPRESSION = ts58.factory.createAsExpression(ts58.factory.createNumericLiteral("0"), ts58.factory.createKeywordTypeNode(ts58.SyntaxKind.AnyKeyword));
|
|
@@ -11971,7 +12162,7 @@ var _VeSafeLhsInferenceBugDetector = class {
|
|
|
11971
12162
|
var VeSafeLhsInferenceBugDetector = _VeSafeLhsInferenceBugDetector;
|
|
11972
12163
|
__publicField(VeSafeLhsInferenceBugDetector, "SINGLETON", new _VeSafeLhsInferenceBugDetector());
|
|
11973
12164
|
|
|
11974
|
-
// bazel-out/
|
|
12165
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.js
|
|
11975
12166
|
var TcbGenericContextBehavior;
|
|
11976
12167
|
(function(TcbGenericContextBehavior2) {
|
|
11977
12168
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -13877,7 +14068,7 @@ function getComponentTagName(node) {
|
|
|
13877
14068
|
return node.tagName || "ng-component";
|
|
13878
14069
|
}
|
|
13879
14070
|
|
|
13880
|
-
// bazel-out/
|
|
14071
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.js
|
|
13881
14072
|
import ts60 from "typescript";
|
|
13882
14073
|
var TypeCheckFile = class extends Environment {
|
|
13883
14074
|
fileName;
|
|
@@ -13926,7 +14117,7 @@ var TypeCheckFile = class extends Environment {
|
|
|
13926
14117
|
}
|
|
13927
14118
|
};
|
|
13928
14119
|
|
|
13929
|
-
// bazel-out/
|
|
14120
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.js
|
|
13930
14121
|
var InliningMode;
|
|
13931
14122
|
(function(InliningMode2) {
|
|
13932
14123
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
@@ -14210,10 +14401,10 @@ var TypeCtorOp = class {
|
|
|
14210
14401
|
}
|
|
14211
14402
|
};
|
|
14212
14403
|
|
|
14213
|
-
// bazel-out/
|
|
14404
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.js
|
|
14214
14405
|
import { ParseLocation as ParseLocation2, ParseSourceSpan as ParseSourceSpan2 } from "@angular/compiler";
|
|
14215
14406
|
|
|
14216
|
-
// bazel-out/
|
|
14407
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.js
|
|
14217
14408
|
var LF_CHAR = 10;
|
|
14218
14409
|
var CR_CHAR = 13;
|
|
14219
14410
|
var LINE_SEP_CHAR = 8232;
|
|
@@ -14254,7 +14445,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
|
|
|
14254
14445
|
return low - 1;
|
|
14255
14446
|
}
|
|
14256
14447
|
|
|
14257
|
-
// bazel-out/
|
|
14448
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.js
|
|
14258
14449
|
var Source = class {
|
|
14259
14450
|
mapping;
|
|
14260
14451
|
file;
|
|
@@ -14320,7 +14511,7 @@ var DirectiveSourceManager = class {
|
|
|
14320
14511
|
}
|
|
14321
14512
|
};
|
|
14322
14513
|
|
|
14323
|
-
// bazel-out/
|
|
14514
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.js
|
|
14324
14515
|
import { AST, ASTWithName as ASTWithName2, ASTWithSource as ASTWithSource2, BindingPipe as BindingPipe2, PropertyRead as PropertyRead5, PropertyWrite as PropertyWrite3, R3Identifiers as R3Identifiers4, SafePropertyRead as SafePropertyRead4, TmplAstBoundAttribute as TmplAstBoundAttribute3, TmplAstBoundEvent as TmplAstBoundEvent3, TmplAstElement as TmplAstElement3, TmplAstLetDeclaration as TmplAstLetDeclaration3, TmplAstReference as TmplAstReference3, TmplAstTemplate as TmplAstTemplate2, TmplAstTextAttribute as TmplAstTextAttribute3, TmplAstVariable as TmplAstVariable2 } from "@angular/compiler";
|
|
14325
14516
|
import ts62 from "typescript";
|
|
14326
14517
|
var SymbolBuilder = class {
|
|
@@ -14928,7 +15119,7 @@ function collectClassesWithName(sourceFile, className) {
|
|
|
14928
15119
|
return classes;
|
|
14929
15120
|
}
|
|
14930
15121
|
|
|
14931
|
-
// bazel-out/
|
|
15122
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.js
|
|
14932
15123
|
var REGISTRY2 = new DomElementSchemaRegistry2();
|
|
14933
15124
|
var TemplateTypeCheckerImpl = class {
|
|
14934
15125
|
originalProgram;
|
|
@@ -15656,7 +15847,7 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
|
|
|
15656
15847
|
}
|
|
15657
15848
|
};
|
|
15658
15849
|
|
|
15659
|
-
// bazel-out/
|
|
15850
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.js
|
|
15660
15851
|
var FIELD_DECORATORS = [
|
|
15661
15852
|
"Input",
|
|
15662
15853
|
"Output",
|
|
@@ -15914,11 +16105,11 @@ var DirectiveDecoratorHandler = class {
|
|
|
15914
16105
|
}
|
|
15915
16106
|
};
|
|
15916
16107
|
|
|
15917
|
-
// bazel-out/
|
|
16108
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.js
|
|
15918
16109
|
import { compileClassMetadata as compileClassMetadata2, compileDeclareClassMetadata as compileDeclareClassMetadata2, compileDeclareInjectorFromMetadata, compileDeclareNgModuleFromMetadata, compileInjector, compileNgModule, ExternalExpr as ExternalExpr9, FactoryTarget as FactoryTarget2, FunctionExpr, InvokeFunctionExpr, LiteralArrayExpr as LiteralArrayExpr2, R3Identifiers as R3Identifiers5, R3NgModuleMetadataKind, R3SelectorScopeMode, ReturnStatement, WrappedNodeExpr as WrappedNodeExpr10 } from "@angular/compiler";
|
|
15919
16110
|
import ts65 from "typescript";
|
|
15920
16111
|
|
|
15921
|
-
// bazel-out/
|
|
16112
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.js
|
|
15922
16113
|
import ts64 from "typescript";
|
|
15923
16114
|
function createModuleWithProvidersResolver(reflector, isCore) {
|
|
15924
16115
|
function _reflectModuleFromTypeParam(type, node) {
|
|
@@ -15989,7 +16180,7 @@ function isResolvedModuleWithProviders(sv) {
|
|
|
15989
16180
|
return typeof sv.value === "object" && sv.value != null && sv.value.hasOwnProperty("ngModule") && sv.value.hasOwnProperty("mwpCall");
|
|
15990
16181
|
}
|
|
15991
16182
|
|
|
15992
|
-
// bazel-out/
|
|
16183
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.js
|
|
15993
16184
|
var NgModuleSymbol = class extends SemanticSymbol {
|
|
15994
16185
|
hasProviders;
|
|
15995
16186
|
remotelyScopedComponents = [];
|
|
@@ -16639,7 +16830,7 @@ function isSyntheticReference(ref) {
|
|
|
16639
16830
|
return ref.synthetic;
|
|
16640
16831
|
}
|
|
16641
16832
|
|
|
16642
|
-
// bazel-out/
|
|
16833
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.js
|
|
16643
16834
|
function makeCyclicImportInfo(ref, type, cycle) {
|
|
16644
16835
|
const name = ref.debugName || "(unknown)";
|
|
16645
16836
|
const path = cycle.getPath().map((sf) => sf.fileName).join(" -> ");
|
|
@@ -16662,7 +16853,7 @@ function checkCustomElementSelectorForErrors(selector) {
|
|
|
16662
16853
|
return null;
|
|
16663
16854
|
}
|
|
16664
16855
|
|
|
16665
|
-
// bazel-out/
|
|
16856
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.js
|
|
16666
16857
|
import { DEFAULT_INTERPOLATION_CONFIG, InterpolationConfig, ParseSourceFile as ParseSourceFile3, parseTemplate } from "@angular/compiler";
|
|
16667
16858
|
import ts66 from "typescript";
|
|
16668
16859
|
function getTemplateDeclarationNodeForError(declaration) {
|
|
@@ -17037,7 +17228,7 @@ function _extractTemplateStyleUrls(template) {
|
|
|
17037
17228
|
}));
|
|
17038
17229
|
}
|
|
17039
17230
|
|
|
17040
|
-
// bazel-out/
|
|
17231
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.js
|
|
17041
17232
|
var ComponentSymbol = class extends DirectiveSymbol {
|
|
17042
17233
|
usedDirectives = [];
|
|
17043
17234
|
usedPipes = [];
|
|
@@ -17069,7 +17260,7 @@ var ComponentSymbol = class extends DirectiveSymbol {
|
|
|
17069
17260
|
}
|
|
17070
17261
|
};
|
|
17071
17262
|
|
|
17072
|
-
// bazel-out/
|
|
17263
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.js
|
|
17073
17264
|
import ts67 from "typescript";
|
|
17074
17265
|
function collectAnimationNames(value, animationTriggerNames) {
|
|
17075
17266
|
if (value instanceof Map) {
|
|
@@ -17160,10 +17351,10 @@ function isLikelyModuleWithProviders(value) {
|
|
|
17160
17351
|
return false;
|
|
17161
17352
|
}
|
|
17162
17353
|
|
|
17163
|
-
// bazel-out/
|
|
17354
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/hmr/src/metadata.js
|
|
17164
17355
|
import { outputAst as o4 } from "@angular/compiler";
|
|
17165
17356
|
|
|
17166
|
-
// bazel-out/
|
|
17357
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/hmr/src/extract_dependencies.js
|
|
17167
17358
|
import { outputAst as o3 } from "@angular/compiler";
|
|
17168
17359
|
import ts68 from "typescript";
|
|
17169
17360
|
function extractHmrDependencies(node, definition, factory, deferBlockMetadata, classMetadata, debugInfo, reflection, evaluator) {
|
|
@@ -17373,7 +17564,7 @@ function isConstEnumReference(node, reflection) {
|
|
|
17373
17564
|
return declaration !== null && ts68.isEnumDeclaration(declaration.node) && !!declaration.node.modifiers?.some((m) => m.kind === ts68.SyntaxKind.ConstKeyword);
|
|
17374
17565
|
}
|
|
17375
17566
|
|
|
17376
|
-
// bazel-out/
|
|
17567
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/hmr/src/metadata.js
|
|
17377
17568
|
import ts69 from "typescript";
|
|
17378
17569
|
function extractHmrMetatadata(clazz, reflection, evaluator, compilerHost, rootDirs, definition, factory, deferBlockMetadata, classMetadata, debugInfo) {
|
|
17379
17570
|
if (!reflection.isClass(clazz)) {
|
|
@@ -17395,7 +17586,7 @@ function extractHmrMetatadata(clazz, reflection, evaluator, compilerHost, rootDi
|
|
|
17395
17586
|
return meta;
|
|
17396
17587
|
}
|
|
17397
17588
|
|
|
17398
|
-
// bazel-out/
|
|
17589
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/hmr/src/update_declaration.js
|
|
17399
17590
|
import { compileHmrUpdateCallback } from "@angular/compiler";
|
|
17400
17591
|
import ts70 from "typescript";
|
|
17401
17592
|
function getHmrUpdateDeclaration(compilationResults, constantStatements, meta, declaration) {
|
|
@@ -17432,7 +17623,7 @@ var HmrModuleImportRewriter = class {
|
|
|
17432
17623
|
}
|
|
17433
17624
|
};
|
|
17434
17625
|
|
|
17435
|
-
// bazel-out/
|
|
17626
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.js
|
|
17436
17627
|
var EMPTY_ARRAY2 = [];
|
|
17437
17628
|
var isUsedDirective = (decl) => decl.kind === R3TemplateDependencyKind.Directive;
|
|
17438
17629
|
var isUsedPipe = (decl) => decl.kind === R3TemplateDependencyKind.Pipe;
|
|
@@ -18658,7 +18849,7 @@ function isDefaultImport(node) {
|
|
|
18658
18849
|
return node.importClause !== void 0 && node.importClause.namedBindings === void 0;
|
|
18659
18850
|
}
|
|
18660
18851
|
|
|
18661
|
-
// bazel-out/
|
|
18852
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.js
|
|
18662
18853
|
import { compileClassMetadata as compileClassMetadata3, compileDeclareClassMetadata as compileDeclareClassMetadata3, compileDeclareInjectableFromMetadata, compileInjectable, createMayBeForwardRefExpression as createMayBeForwardRefExpression3, FactoryTarget as FactoryTarget4, LiteralExpr as LiteralExpr3, WrappedNodeExpr as WrappedNodeExpr11 } from "@angular/compiler";
|
|
18663
18854
|
import ts72 from "typescript";
|
|
18664
18855
|
var InjectableDecoratorHandler = class {
|
|
@@ -18899,7 +19090,7 @@ function getDep(dep, reflector) {
|
|
|
18899
19090
|
return meta;
|
|
18900
19091
|
}
|
|
18901
19092
|
|
|
18902
|
-
// bazel-out/
|
|
19093
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.js
|
|
18903
19094
|
import { compileClassMetadata as compileClassMetadata4, compileDeclareClassMetadata as compileDeclareClassMetadata4, compileDeclarePipeFromMetadata, compilePipeFromMetadata, FactoryTarget as FactoryTarget5 } from "@angular/compiler";
|
|
18904
19095
|
import ts73 from "typescript";
|
|
18905
19096
|
var PipeSymbol = class extends SemanticSymbol {
|
|
@@ -19130,6 +19321,11 @@ export {
|
|
|
19130
19321
|
PartialEvaluator,
|
|
19131
19322
|
CompilationMode,
|
|
19132
19323
|
aliasTransformFactory,
|
|
19324
|
+
PerfPhase,
|
|
19325
|
+
PerfEvent,
|
|
19326
|
+
PerfCheckpoint,
|
|
19327
|
+
ActivePerfRecorder,
|
|
19328
|
+
DelegatingPerfRecorder,
|
|
19133
19329
|
TraitCompiler,
|
|
19134
19330
|
ImportManager,
|
|
19135
19331
|
DtsTransformRegistry,
|
|
@@ -19187,4 +19383,4 @@ export {
|
|
|
19187
19383
|
* Use of this source code is governed by an MIT-style license that can be
|
|
19188
19384
|
* found in the LICENSE file at https://angular.dev/license
|
|
19189
19385
|
*/
|
|
19190
|
-
//# sourceMappingURL=chunk-
|
|
19386
|
+
//# sourceMappingURL=chunk-4RDNOL2U.js.map
|