@angular/compiler-cli 20.0.0 → 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-TSBVO2TY.js → chunk-4RDNOL2U.js} +399 -173
- package/bundles/chunk-4RDNOL2U.js.map +6 -0
- package/bundles/{chunk-YZVRRB6E.js → chunk-5K43KTXL.js} +86 -88
- package/bundles/chunk-5K43KTXL.js.map +6 -0
- package/bundles/{chunk-5PLBB4J5.js → chunk-LKPFTZAW.js} +3 -3
- package/bundles/{chunk-5PLBB4J5.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-A7TLTAA4.js → chunk-XQCMDSKE.js} +5 -5
- package/bundles/{chunk-A7TLTAA4.js.map → chunk-XQCMDSKE.js.map} +1 -1
- package/bundles/{chunk-T36IFLGD.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/index.d.ts +1 -1
- package/linker/src/file_linker/partial_linkers/util.d.ts +1 -1
- package/package.json +4 -11
- package/src/ngtsc/diagnostics/src/error_code.d.ts +24 -0
- package/src/ngtsc/typecheck/src/oob.d.ts +11 -0
- package/src/ngtsc/typecheck/src/type_check_block.d.ts +1 -1
- package/bundles/chunk-TSBVO2TY.js.map +0 -6
- package/bundles/chunk-WUCT7QTW.js +0 -216
- package/bundles/chunk-WUCT7QTW.js.map +0 -6
- package/bundles/chunk-YZVRRB6E.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-T36IFLGD.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";
|
|
@@ -106,6 +101,8 @@ var ErrorCode;
|
|
|
106
101
|
ErrorCode2[ErrorCode2["LET_USED_BEFORE_DEFINITION"] = 8016] = "LET_USED_BEFORE_DEFINITION";
|
|
107
102
|
ErrorCode2[ErrorCode2["CONFLICTING_LET_DECLARATION"] = 8017] = "CONFLICTING_LET_DECLARATION";
|
|
108
103
|
ErrorCode2[ErrorCode2["UNCLAIMED_DIRECTIVE_BINDING"] = 8018] = "UNCLAIMED_DIRECTIVE_BINDING";
|
|
104
|
+
ErrorCode2[ErrorCode2["DEFER_IMPLICIT_TRIGGER_MISSING_PLACEHOLDER"] = 8019] = "DEFER_IMPLICIT_TRIGGER_MISSING_PLACEHOLDER";
|
|
105
|
+
ErrorCode2[ErrorCode2["DEFER_IMPLICIT_TRIGGER_INVALID_PLACEHOLDER"] = 8020] = "DEFER_IMPLICIT_TRIGGER_INVALID_PLACEHOLDER";
|
|
109
106
|
ErrorCode2[ErrorCode2["INVALID_BANANA_IN_BOX"] = 8101] = "INVALID_BANANA_IN_BOX";
|
|
110
107
|
ErrorCode2[ErrorCode2["NULLISH_COALESCING_NOT_NULLABLE"] = 8102] = "NULLISH_COALESCING_NOT_NULLABLE";
|
|
111
108
|
ErrorCode2[ErrorCode2["MISSING_CONTROL_FLOW_DIRECTIVE"] = 8103] = "MISSING_CONTROL_FLOW_DIRECTIVE";
|
|
@@ -131,7 +128,7 @@ var ErrorCode;
|
|
|
131
128
|
ErrorCode2[ErrorCode2["LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION"] = 11003] = "LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION";
|
|
132
129
|
})(ErrorCode || (ErrorCode = {}));
|
|
133
130
|
|
|
134
|
-
// bazel-out/
|
|
131
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.js
|
|
135
132
|
var ERROR_CODE_MATCHER = /(\u001b\[\d+m ?)TS-99(\d+: ?\u001b\[\d+m)/g;
|
|
136
133
|
function replaceTsWithNgInErrors(errors) {
|
|
137
134
|
return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
|
|
@@ -140,7 +137,7 @@ function ngErrorCode(code) {
|
|
|
140
137
|
return parseInt("-99" + code);
|
|
141
138
|
}
|
|
142
139
|
|
|
143
|
-
// bazel-out/
|
|
140
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.js
|
|
144
141
|
import ts from "typescript";
|
|
145
142
|
var FatalDiagnosticError = class extends Error {
|
|
146
143
|
code;
|
|
@@ -209,7 +206,7 @@ function isLocalCompilationDiagnostics(diagnostic) {
|
|
|
209
206
|
return diagnostic.code === ngErrorCode(ErrorCode.LOCAL_COMPILATION_UNRESOLVED_CONST) || diagnostic.code === ngErrorCode(ErrorCode.LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION);
|
|
210
207
|
}
|
|
211
208
|
|
|
212
|
-
// bazel-out/
|
|
209
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.js
|
|
213
210
|
var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
214
211
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
215
212
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -221,10 +218,10 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
|
221
218
|
ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
|
|
222
219
|
]);
|
|
223
220
|
|
|
224
|
-
// bazel-out/
|
|
221
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.js
|
|
225
222
|
var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.dev/errors";
|
|
226
223
|
|
|
227
|
-
// bazel-out/
|
|
224
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.js
|
|
228
225
|
var ExtendedTemplateDiagnosticName;
|
|
229
226
|
(function(ExtendedTemplateDiagnosticName2) {
|
|
230
227
|
ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
|
|
@@ -245,10 +242,10 @@ var ExtendedTemplateDiagnosticName;
|
|
|
245
242
|
ExtendedTemplateDiagnosticName2["UNPARENTHESIZED_NULLISH_COALESCING"] = "unparenthesizedNullishCoalescing";
|
|
246
243
|
})(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
|
|
247
244
|
|
|
248
|
-
// bazel-out/
|
|
245
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.js
|
|
249
246
|
import ts5 from "typescript";
|
|
250
247
|
|
|
251
|
-
// bazel-out/
|
|
248
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.js
|
|
252
249
|
import ts2 from "typescript";
|
|
253
250
|
function isDecoratorIdentifier(exp) {
|
|
254
251
|
return ts2.isIdentifier(exp) || ts2.isPropertyAccessExpression(exp) && ts2.isIdentifier(exp.expression) && ts2.isIdentifier(exp.name);
|
|
@@ -271,7 +268,7 @@ var ClassMemberAccessLevel;
|
|
|
271
268
|
})(ClassMemberAccessLevel || (ClassMemberAccessLevel = {}));
|
|
272
269
|
var AmbientImport = {};
|
|
273
270
|
|
|
274
|
-
// bazel-out/
|
|
271
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.js
|
|
275
272
|
import ts3 from "typescript";
|
|
276
273
|
function typeToValue(typeNode, checker, isLocalCompilation) {
|
|
277
274
|
if (typeNode === null) {
|
|
@@ -454,7 +451,7 @@ function extractModuleName(node) {
|
|
|
454
451
|
return node.moduleSpecifier.text;
|
|
455
452
|
}
|
|
456
453
|
|
|
457
|
-
// bazel-out/
|
|
454
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.js
|
|
458
455
|
import ts4 from "typescript";
|
|
459
456
|
function isNamedClassDeclaration(node) {
|
|
460
457
|
return ts4.isClassDeclaration(node) && isIdentifier(node.name);
|
|
@@ -478,7 +475,7 @@ function classMemberAccessLevelToString(level) {
|
|
|
478
475
|
}
|
|
479
476
|
}
|
|
480
477
|
|
|
481
|
-
// bazel-out/
|
|
478
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.js
|
|
482
479
|
var TypeScriptReflectionHost = class {
|
|
483
480
|
checker;
|
|
484
481
|
isLocalCompilation;
|
|
@@ -983,7 +980,7 @@ function getExportedName(decl, originalId) {
|
|
|
983
980
|
}
|
|
984
981
|
var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
|
|
985
982
|
|
|
986
|
-
// bazel-out/
|
|
983
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.js
|
|
987
984
|
import ts6 from "typescript";
|
|
988
985
|
var TS = /\.tsx?$/i;
|
|
989
986
|
var D_TS = /\.d\.ts$/i;
|
|
@@ -1084,7 +1081,7 @@ function toUnredirectedSourceFile(sf) {
|
|
|
1084
1081
|
return redirectInfo.unredirected;
|
|
1085
1082
|
}
|
|
1086
1083
|
|
|
1087
|
-
// bazel-out/
|
|
1084
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.js
|
|
1088
1085
|
var Reference = class {
|
|
1089
1086
|
node;
|
|
1090
1087
|
bestGuessOwningModule;
|
|
@@ -1156,14 +1153,14 @@ var Reference = class {
|
|
|
1156
1153
|
}
|
|
1157
1154
|
};
|
|
1158
1155
|
|
|
1159
|
-
// bazel-out/
|
|
1156
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.js
|
|
1160
1157
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
1161
1158
|
|
|
1162
|
-
// bazel-out/
|
|
1159
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.js
|
|
1163
1160
|
import { ExternalExpr, ExternalReference, WrappedNodeExpr } from "@angular/compiler";
|
|
1164
1161
|
import ts7 from "typescript";
|
|
1165
1162
|
|
|
1166
|
-
// bazel-out/
|
|
1163
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.js
|
|
1167
1164
|
function findExportedNameOfNode(target, file, reflector) {
|
|
1168
1165
|
const exports = reflector.getExportsOfModule(file);
|
|
1169
1166
|
if (exports === null) {
|
|
@@ -1183,7 +1180,7 @@ function findExportedNameOfNode(target, file, reflector) {
|
|
|
1183
1180
|
return foundExportName;
|
|
1184
1181
|
}
|
|
1185
1182
|
|
|
1186
|
-
// bazel-out/
|
|
1183
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.js
|
|
1187
1184
|
var ImportFlags;
|
|
1188
1185
|
(function(ImportFlags2) {
|
|
1189
1186
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -1430,7 +1427,7 @@ var UnifiedModulesStrategy = class {
|
|
|
1430
1427
|
}
|
|
1431
1428
|
};
|
|
1432
1429
|
|
|
1433
|
-
// bazel-out/
|
|
1430
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.js
|
|
1434
1431
|
var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
|
|
1435
1432
|
var UnifiedModulesAliasingHost = class {
|
|
1436
1433
|
unifiedModulesHost;
|
|
@@ -1499,7 +1496,7 @@ var AliasStrategy = class {
|
|
|
1499
1496
|
}
|
|
1500
1497
|
};
|
|
1501
1498
|
|
|
1502
|
-
// bazel-out/
|
|
1499
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.js
|
|
1503
1500
|
function relativePathBetween(from, to) {
|
|
1504
1501
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
1505
1502
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
@@ -1518,7 +1515,7 @@ function getProjectRelativePath(fileName, rootDirs, compilerHost) {
|
|
|
1518
1515
|
return null;
|
|
1519
1516
|
}
|
|
1520
1517
|
|
|
1521
|
-
// bazel-out/
|
|
1518
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.js
|
|
1522
1519
|
var NoopImportRewriter = class {
|
|
1523
1520
|
rewriteSymbol(symbol, specifier) {
|
|
1524
1521
|
return symbol;
|
|
@@ -1578,7 +1575,7 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
1578
1575
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
1579
1576
|
}
|
|
1580
1577
|
|
|
1581
|
-
// bazel-out/
|
|
1578
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.js
|
|
1582
1579
|
import ts8 from "typescript";
|
|
1583
1580
|
var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
|
|
1584
1581
|
function loadIsReferencedAliasDeclarationPatch(context) {
|
|
@@ -1616,7 +1613,7 @@ function throwIncompatibleTransformationContextError() {
|
|
|
1616
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.");
|
|
1617
1614
|
}
|
|
1618
1615
|
|
|
1619
|
-
// bazel-out/
|
|
1616
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.js
|
|
1620
1617
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
1621
1618
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
1622
1619
|
expr[DefaultImportDeclaration] = importDecl;
|
|
@@ -1654,7 +1651,7 @@ var DefaultImportTracker = class {
|
|
|
1654
1651
|
}
|
|
1655
1652
|
};
|
|
1656
1653
|
|
|
1657
|
-
// bazel-out/
|
|
1654
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.js
|
|
1658
1655
|
import ts9 from "typescript";
|
|
1659
1656
|
var AssumeEager = "AssumeEager";
|
|
1660
1657
|
var DeferredSymbolTracker = class {
|
|
@@ -1776,7 +1773,7 @@ var DeferredSymbolTracker = class {
|
|
|
1776
1773
|
}
|
|
1777
1774
|
};
|
|
1778
1775
|
|
|
1779
|
-
// bazel-out/
|
|
1776
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/imported_symbols_tracker.js
|
|
1780
1777
|
import ts10 from "typescript";
|
|
1781
1778
|
var ImportedSymbolsTracker = class {
|
|
1782
1779
|
fileToNamedImports = /* @__PURE__ */ new WeakMap();
|
|
@@ -1842,7 +1839,7 @@ var ImportedSymbolsTracker = class {
|
|
|
1842
1839
|
}
|
|
1843
1840
|
};
|
|
1844
1841
|
|
|
1845
|
-
// bazel-out/
|
|
1842
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/local_compilation_extra_imports_tracker.js
|
|
1846
1843
|
import ts11 from "typescript";
|
|
1847
1844
|
var LocalCompilationExtraImportsTracker = class {
|
|
1848
1845
|
typeChecker;
|
|
@@ -1892,7 +1889,7 @@ function removeQuotations(s) {
|
|
|
1892
1889
|
return s.substring(1, s.length - 1).trim();
|
|
1893
1890
|
}
|
|
1894
1891
|
|
|
1895
|
-
// bazel-out/
|
|
1892
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.js
|
|
1896
1893
|
var ModuleResolver = class {
|
|
1897
1894
|
program;
|
|
1898
1895
|
compilerOptions;
|
|
@@ -1913,7 +1910,7 @@ var ModuleResolver = class {
|
|
|
1913
1910
|
}
|
|
1914
1911
|
};
|
|
1915
1912
|
|
|
1916
|
-
// bazel-out/
|
|
1913
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.js
|
|
1917
1914
|
import { ExternalExpr as ExternalExpr3, ParseLocation, ParseSourceFile, ParseSourceSpan, ReadPropExpr, WrappedNodeExpr as WrappedNodeExpr2 } from "@angular/compiler";
|
|
1918
1915
|
import ts12 from "typescript";
|
|
1919
1916
|
var CORE_MODULE2 = "@angular/core";
|
|
@@ -2176,7 +2173,7 @@ function isAbstractClassDeclaration(clazz) {
|
|
|
2176
2173
|
return ts12.canHaveModifiers(clazz) && clazz.modifiers !== void 0 ? clazz.modifiers.some((mod) => mod.kind === ts12.SyntaxKind.AbstractKeyword) : false;
|
|
2177
2174
|
}
|
|
2178
2175
|
|
|
2179
|
-
// bazel-out/
|
|
2176
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.js
|
|
2180
2177
|
var DynamicValue = class {
|
|
2181
2178
|
node;
|
|
2182
2179
|
reason;
|
|
@@ -2269,10 +2266,10 @@ var DynamicValue = class {
|
|
|
2269
2266
|
}
|
|
2270
2267
|
};
|
|
2271
2268
|
|
|
2272
|
-
// bazel-out/
|
|
2269
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.js
|
|
2273
2270
|
import ts13 from "typescript";
|
|
2274
2271
|
|
|
2275
|
-
// bazel-out/
|
|
2272
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.js
|
|
2276
2273
|
var ResolvedModule = class {
|
|
2277
2274
|
exports;
|
|
2278
2275
|
evaluate;
|
|
@@ -2307,7 +2304,7 @@ var EnumValue = class {
|
|
|
2307
2304
|
var KnownFn = class {
|
|
2308
2305
|
};
|
|
2309
2306
|
|
|
2310
|
-
// bazel-out/
|
|
2307
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.js
|
|
2311
2308
|
var ArraySliceBuiltinFn = class extends KnownFn {
|
|
2312
2309
|
lhs;
|
|
2313
2310
|
constructor(lhs) {
|
|
@@ -2362,7 +2359,7 @@ var StringConcatBuiltinFn = class extends KnownFn {
|
|
|
2362
2359
|
}
|
|
2363
2360
|
};
|
|
2364
2361
|
|
|
2365
|
-
// bazel-out/
|
|
2362
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/synthetic.js
|
|
2366
2363
|
var SyntheticValue = class {
|
|
2367
2364
|
value;
|
|
2368
2365
|
constructor(value) {
|
|
@@ -2370,7 +2367,7 @@ var SyntheticValue = class {
|
|
|
2370
2367
|
}
|
|
2371
2368
|
};
|
|
2372
2369
|
|
|
2373
|
-
// bazel-out/
|
|
2370
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.js
|
|
2374
2371
|
function literalBinaryOp(op) {
|
|
2375
2372
|
return { op, literal: true };
|
|
2376
2373
|
}
|
|
@@ -2951,7 +2948,7 @@ function owningModule(context, override = null) {
|
|
|
2951
2948
|
}
|
|
2952
2949
|
}
|
|
2953
2950
|
|
|
2954
|
-
// bazel-out/
|
|
2951
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.js
|
|
2955
2952
|
var PartialEvaluator = class {
|
|
2956
2953
|
host;
|
|
2957
2954
|
checker;
|
|
@@ -2974,7 +2971,7 @@ var PartialEvaluator = class {
|
|
|
2974
2971
|
}
|
|
2975
2972
|
};
|
|
2976
2973
|
|
|
2977
|
-
// bazel-out/
|
|
2974
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.js
|
|
2978
2975
|
import ts14 from "typescript";
|
|
2979
2976
|
function describeResolvedType(value, maxDepth = 1) {
|
|
2980
2977
|
if (value === null) {
|
|
@@ -3108,10 +3105,10 @@ function getContainerNode(node) {
|
|
|
3108
3105
|
return node.getSourceFile();
|
|
3109
3106
|
}
|
|
3110
3107
|
|
|
3111
|
-
// bazel-out/
|
|
3108
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.js
|
|
3112
3109
|
import ts19 from "typescript";
|
|
3113
3110
|
|
|
3114
|
-
// bazel-out/
|
|
3111
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/check_unique_identifier_name.js
|
|
3115
3112
|
import ts15 from "typescript";
|
|
3116
3113
|
function createGenerateUniqueIdentifierHelper() {
|
|
3117
3114
|
const generatedIdentifiers = /* @__PURE__ */ new Set();
|
|
@@ -3137,7 +3134,7 @@ function createGenerateUniqueIdentifierHelper() {
|
|
|
3137
3134
|
};
|
|
3138
3135
|
}
|
|
3139
3136
|
|
|
3140
|
-
// bazel-out/
|
|
3137
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_typescript_transform.js
|
|
3141
3138
|
import ts16 from "typescript";
|
|
3142
3139
|
function createTsTransformForImportManager(manager, extraStatementsForFiles) {
|
|
3143
3140
|
return (ctx) => {
|
|
@@ -3205,7 +3202,7 @@ function isImportStatement(stmt) {
|
|
|
3205
3202
|
return ts16.isImportDeclaration(stmt) || ts16.isImportEqualsDeclaration(stmt) || ts16.isNamespaceImport(stmt);
|
|
3206
3203
|
}
|
|
3207
3204
|
|
|
3208
|
-
// bazel-out/
|
|
3205
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_generated_imports.js
|
|
3209
3206
|
import ts17 from "typescript";
|
|
3210
3207
|
function attemptToReuseGeneratedImports(tracker, request) {
|
|
3211
3208
|
const requestHash = hashImportRequest(request);
|
|
@@ -3232,7 +3229,7 @@ function hashImportRequest(req) {
|
|
|
3232
3229
|
return `${req.requestedFile.fileName}:${req.exportModuleSpecifier}:${req.exportSymbolName}${req.unsafeAliasOverride ? ":" + req.unsafeAliasOverride : ""}`;
|
|
3233
3230
|
}
|
|
3234
3231
|
|
|
3235
|
-
// bazel-out/
|
|
3232
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_source_file_imports.js
|
|
3236
3233
|
import ts18 from "typescript";
|
|
3237
3234
|
function attemptToReuseExistingSourceFileImports(tracker, sourceFile, request) {
|
|
3238
3235
|
let candidateImportToBeUpdated = null;
|
|
@@ -3291,7 +3288,7 @@ function attemptToReuseExistingSourceFileImports(tracker, sourceFile, request) {
|
|
|
3291
3288
|
return fileUniqueAlias ?? propertyName;
|
|
3292
3289
|
}
|
|
3293
3290
|
|
|
3294
|
-
// bazel-out/
|
|
3291
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.js
|
|
3295
3292
|
var presetImportManagerForceNamespaceImports = {
|
|
3296
3293
|
disableOriginalSourceFileReuse: true,
|
|
3297
3294
|
forceGenerateNamespacesForNewImports: true
|
|
@@ -3509,7 +3506,7 @@ function createImportReference(asTypeReference, ref) {
|
|
|
3509
3506
|
}
|
|
3510
3507
|
}
|
|
3511
3508
|
|
|
3512
|
-
// bazel-out/
|
|
3509
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_emitter.js
|
|
3513
3510
|
import ts20 from "typescript";
|
|
3514
3511
|
var INELIGIBLE = {};
|
|
3515
3512
|
function canEmitType(type, canEmit) {
|
|
@@ -3585,11 +3582,11 @@ var TypeEmitter = class {
|
|
|
3585
3582
|
}
|
|
3586
3583
|
};
|
|
3587
3584
|
|
|
3588
|
-
// bazel-out/
|
|
3585
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.js
|
|
3589
3586
|
import * as o from "@angular/compiler";
|
|
3590
3587
|
import ts22 from "typescript";
|
|
3591
3588
|
|
|
3592
|
-
// bazel-out/
|
|
3589
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/ts_util.js
|
|
3593
3590
|
import ts21 from "typescript";
|
|
3594
3591
|
function tsNumericExpression(value) {
|
|
3595
3592
|
if (value < 0) {
|
|
@@ -3599,7 +3596,7 @@ function tsNumericExpression(value) {
|
|
|
3599
3596
|
return ts21.factory.createNumericLiteral(value);
|
|
3600
3597
|
}
|
|
3601
3598
|
|
|
3602
|
-
// bazel-out/
|
|
3599
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.js
|
|
3603
3600
|
function translateType(type, contextFile, reflector, refEmitter, imports) {
|
|
3604
3601
|
return type.visitType(new TypeTranslatorVisitor(imports, contextFile, reflector, refEmitter), new Context(false));
|
|
3605
3602
|
}
|
|
@@ -3832,7 +3829,7 @@ var TypeTranslatorVisitor = class {
|
|
|
3832
3829
|
}
|
|
3833
3830
|
};
|
|
3834
3831
|
|
|
3835
|
-
// bazel-out/
|
|
3832
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.js
|
|
3836
3833
|
import ts23 from "typescript";
|
|
3837
3834
|
var PureAnnotation;
|
|
3838
3835
|
(function(PureAnnotation2) {
|
|
@@ -4042,7 +4039,7 @@ function attachComments(statement, leadingComments) {
|
|
|
4042
4039
|
}
|
|
4043
4040
|
}
|
|
4044
4041
|
|
|
4045
|
-
// bazel-out/
|
|
4042
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.js
|
|
4046
4043
|
function translateExpression(contextFile, expression, imports, options = {}) {
|
|
4047
4044
|
return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, contextFile, options), new Context(false));
|
|
4048
4045
|
}
|
|
@@ -4050,14 +4047,14 @@ function translateStatement(contextFile, statement, imports, options = {}) {
|
|
|
4050
4047
|
return statement.visitStatement(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, contextFile, options), new Context(true));
|
|
4051
4048
|
}
|
|
4052
4049
|
|
|
4053
|
-
// bazel-out/
|
|
4050
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.js
|
|
4054
4051
|
var OptimizeFor;
|
|
4055
4052
|
(function(OptimizeFor2) {
|
|
4056
4053
|
OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
|
|
4057
4054
|
OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
|
|
4058
4055
|
})(OptimizeFor || (OptimizeFor = {}));
|
|
4059
4056
|
|
|
4060
|
-
// bazel-out/
|
|
4057
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.js
|
|
4061
4058
|
var PotentialImportKind;
|
|
4062
4059
|
(function(PotentialImportKind2) {
|
|
4063
4060
|
PotentialImportKind2[PotentialImportKind2["NgModule"] = 0] = "NgModule";
|
|
@@ -4069,7 +4066,7 @@ var PotentialImportMode;
|
|
|
4069
4066
|
PotentialImportMode2[PotentialImportMode2["ForceDirect"] = 1] = "ForceDirect";
|
|
4070
4067
|
})(PotentialImportMode || (PotentialImportMode = {}));
|
|
4071
4068
|
|
|
4072
|
-
// bazel-out/
|
|
4069
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.js
|
|
4073
4070
|
var CompletionKind;
|
|
4074
4071
|
(function(CompletionKind2) {
|
|
4075
4072
|
CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
|
|
@@ -4077,7 +4074,7 @@ var CompletionKind;
|
|
|
4077
4074
|
CompletionKind2[CompletionKind2["LetDeclaration"] = 2] = "LetDeclaration";
|
|
4078
4075
|
})(CompletionKind || (CompletionKind = {}));
|
|
4079
4076
|
|
|
4080
|
-
// bazel-out/
|
|
4077
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.js
|
|
4081
4078
|
var SymbolKind;
|
|
4082
4079
|
(function(SymbolKind2) {
|
|
4083
4080
|
SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
|
|
@@ -4094,7 +4091,7 @@ var SymbolKind;
|
|
|
4094
4091
|
SymbolKind2[SymbolKind2["LetDeclaration"] = 11] = "LetDeclaration";
|
|
4095
4092
|
})(SymbolKind || (SymbolKind = {}));
|
|
4096
4093
|
|
|
4097
|
-
// bazel-out/
|
|
4094
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.js
|
|
4098
4095
|
import { LiteralExpr, WrappedNodeExpr as WrappedNodeExpr3 } from "@angular/compiler";
|
|
4099
4096
|
import ts24 from "typescript";
|
|
4100
4097
|
function getConstructorDependencies(clazz, reflector, isCore) {
|
|
@@ -4240,10 +4237,10 @@ function createUnsuitableInjectionTokenError(clazz, error) {
|
|
|
4240
4237
|
return new FatalDiagnosticError(ErrorCode.PARAM_MISSING_TOKEN, param.nameNode, chain, hints);
|
|
4241
4238
|
}
|
|
4242
4239
|
|
|
4243
|
-
// bazel-out/
|
|
4240
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.js
|
|
4244
4241
|
import ts32 from "typescript";
|
|
4245
4242
|
|
|
4246
|
-
// bazel-out/
|
|
4243
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.js
|
|
4247
4244
|
var MetaKind;
|
|
4248
4245
|
(function(MetaKind2) {
|
|
4249
4246
|
MetaKind2[MetaKind2["Directive"] = 0] = "Directive";
|
|
@@ -4256,10 +4253,10 @@ var MatchSource;
|
|
|
4256
4253
|
MatchSource2[MatchSource2["HostDirective"] = 1] = "HostDirective";
|
|
4257
4254
|
})(MatchSource || (MatchSource = {}));
|
|
4258
4255
|
|
|
4259
|
-
// bazel-out/
|
|
4256
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.js
|
|
4260
4257
|
import ts26 from "typescript";
|
|
4261
4258
|
|
|
4262
|
-
// bazel-out/
|
|
4259
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.js
|
|
4263
4260
|
var ClassPropertyMapping = class {
|
|
4264
4261
|
forwardMap;
|
|
4265
4262
|
reverseMap;
|
|
@@ -4341,7 +4338,7 @@ function reverseMapFromForwardMap(forwardMap) {
|
|
|
4341
4338
|
return reverseMap;
|
|
4342
4339
|
}
|
|
4343
4340
|
|
|
4344
|
-
// bazel-out/
|
|
4341
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.js
|
|
4345
4342
|
import ts25 from "typescript";
|
|
4346
4343
|
function extractReferencesFromType(checker, def, bestGuessOwningModule) {
|
|
4347
4344
|
if (!ts25.isTupleTypeNode(def)) {
|
|
@@ -4556,7 +4553,7 @@ function isHostDirectiveMetaForGlobalMode(hostDirectiveMeta) {
|
|
|
4556
4553
|
return hostDirectiveMeta.directive instanceof Reference;
|
|
4557
4554
|
}
|
|
4558
4555
|
|
|
4559
|
-
// bazel-out/
|
|
4556
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.js
|
|
4560
4557
|
var DtsMetadataReader = class {
|
|
4561
4558
|
checker;
|
|
4562
4559
|
reflector;
|
|
@@ -4753,7 +4750,7 @@ function readHostDirectivesType(checker, type, bestGuessOwningModule) {
|
|
|
4753
4750
|
return result.length > 0 ? { result, isIncomplete } : null;
|
|
4754
4751
|
}
|
|
4755
4752
|
|
|
4756
|
-
// bazel-out/
|
|
4753
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.js
|
|
4757
4754
|
function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
4758
4755
|
const topMeta = reader.getDirectiveMetadata(dir);
|
|
4759
4756
|
if (topMeta === null) {
|
|
@@ -4817,7 +4814,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
|
4817
4814
|
};
|
|
4818
4815
|
}
|
|
4819
4816
|
|
|
4820
|
-
// bazel-out/
|
|
4817
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.js
|
|
4821
4818
|
var LocalMetadataRegistry = class {
|
|
4822
4819
|
directives = /* @__PURE__ */ new Map();
|
|
4823
4820
|
ngModules = /* @__PURE__ */ new Map();
|
|
@@ -4873,7 +4870,7 @@ var CompoundMetadataRegistry = class {
|
|
|
4873
4870
|
}
|
|
4874
4871
|
};
|
|
4875
4872
|
|
|
4876
|
-
// bazel-out/
|
|
4873
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.js
|
|
4877
4874
|
var ResourceRegistry = class {
|
|
4878
4875
|
externalTemplateToComponentsMap = /* @__PURE__ */ new Map();
|
|
4879
4876
|
componentToTemplateMap = /* @__PURE__ */ new Map();
|
|
@@ -4945,7 +4942,7 @@ var ResourceRegistry = class {
|
|
|
4945
4942
|
}
|
|
4946
4943
|
};
|
|
4947
4944
|
|
|
4948
|
-
// bazel-out/
|
|
4945
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/providers.js
|
|
4949
4946
|
var ExportedProviderStatusResolver = class {
|
|
4950
4947
|
metaReader;
|
|
4951
4948
|
calculating = /* @__PURE__ */ new Set();
|
|
@@ -4989,7 +4986,7 @@ var ExportedProviderStatusResolver = class {
|
|
|
4989
4986
|
}
|
|
4990
4987
|
};
|
|
4991
4988
|
|
|
4992
|
-
// bazel-out/
|
|
4989
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/host_directives_resolver.js
|
|
4993
4990
|
var EMPTY_ARRAY = [];
|
|
4994
4991
|
var HostDirectivesResolver = class {
|
|
4995
4992
|
metaReader;
|
|
@@ -5056,7 +5053,7 @@ function resolveOutput(bindingName) {
|
|
|
5056
5053
|
return bindingName;
|
|
5057
5054
|
}
|
|
5058
5055
|
|
|
5059
|
-
// bazel-out/
|
|
5056
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.js
|
|
5060
5057
|
var CompilationMode;
|
|
5061
5058
|
(function(CompilationMode2) {
|
|
5062
5059
|
CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
|
|
@@ -5070,7 +5067,7 @@ var HandlerPrecedence;
|
|
|
5070
5067
|
HandlerPrecedence2[HandlerPrecedence2["WEAK"] = 2] = "WEAK";
|
|
5071
5068
|
})(HandlerPrecedence || (HandlerPrecedence = {}));
|
|
5072
5069
|
|
|
5073
|
-
// bazel-out/
|
|
5070
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.js
|
|
5074
5071
|
import ts27 from "typescript";
|
|
5075
5072
|
function aliasTransformFactory(exportStatements) {
|
|
5076
5073
|
return () => {
|
|
@@ -5095,10 +5092,206 @@ function aliasTransformFactory(exportStatements) {
|
|
|
5095
5092
|
};
|
|
5096
5093
|
}
|
|
5097
5094
|
|
|
5098
|
-
// bazel-out/
|
|
5095
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.js
|
|
5099
5096
|
import ts28 from "typescript";
|
|
5100
5097
|
|
|
5101
|
-
// 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
|
|
5102
5295
|
var TraitState;
|
|
5103
5296
|
(function(TraitState2) {
|
|
5104
5297
|
TraitState2[TraitState2["Pending"] = 0] = "Pending";
|
|
@@ -5157,7 +5350,7 @@ var TraitImpl = class {
|
|
|
5157
5350
|
}
|
|
5158
5351
|
};
|
|
5159
5352
|
|
|
5160
|
-
// bazel-out/
|
|
5353
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.js
|
|
5161
5354
|
var TraitCompiler = class {
|
|
5162
5355
|
handlers;
|
|
5163
5356
|
reflector;
|
|
@@ -5635,7 +5828,7 @@ function containsErrors(diagnostics) {
|
|
|
5635
5828
|
return diagnostics !== null && diagnostics.some((diag) => diag.category === ts28.DiagnosticCategory.Error);
|
|
5636
5829
|
}
|
|
5637
5830
|
|
|
5638
|
-
// bazel-out/
|
|
5831
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.js
|
|
5639
5832
|
import ts29 from "typescript";
|
|
5640
5833
|
var DtsTransformRegistry = class {
|
|
5641
5834
|
ivyDeclarationTransforms = /* @__PURE__ */ new Map();
|
|
@@ -5785,11 +5978,11 @@ function markForEmitAsSingleLine(node) {
|
|
|
5785
5978
|
ts29.forEachChild(node, markForEmitAsSingleLine);
|
|
5786
5979
|
}
|
|
5787
5980
|
|
|
5788
|
-
// bazel-out/
|
|
5981
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.js
|
|
5789
5982
|
import { ConstantPool } from "@angular/compiler";
|
|
5790
5983
|
import ts31 from "typescript";
|
|
5791
5984
|
|
|
5792
|
-
// bazel-out/
|
|
5985
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.js
|
|
5793
5986
|
import ts30 from "typescript";
|
|
5794
5987
|
function visit(node, visitor, context) {
|
|
5795
5988
|
return visitor._visit(node, context);
|
|
@@ -5848,7 +6041,7 @@ var Visitor = class {
|
|
|
5848
6041
|
}
|
|
5849
6042
|
};
|
|
5850
6043
|
|
|
5851
|
-
// bazel-out/
|
|
6044
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.js
|
|
5852
6045
|
var NO_DECORATORS = /* @__PURE__ */ new Set();
|
|
5853
6046
|
var CLOSURE_FILE_OVERVIEW_REGEXP = /\s+@fileoverview\s+/i;
|
|
5854
6047
|
function ivyTransformFactory(compilation, reflector, importRewriter, defaultImportTracker, localCompilationExtraImportsTracker, perf, isCore, isClosureCompilerEnabled) {
|
|
@@ -6094,7 +6287,7 @@ function nodeArrayFromDecoratorsArray(decorators) {
|
|
|
6094
6287
|
return array;
|
|
6095
6288
|
}
|
|
6096
6289
|
|
|
6097
|
-
// bazel-out/
|
|
6290
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.js
|
|
6098
6291
|
function makeDuplicateDeclarationError(node, data, kind) {
|
|
6099
6292
|
const context = [];
|
|
6100
6293
|
for (const decl of data) {
|
|
@@ -6302,7 +6495,7 @@ function assertLocalCompilationUnresolvedConst(compilationMode, value, nodeToHig
|
|
|
6302
6495
|
}
|
|
6303
6496
|
}
|
|
6304
6497
|
|
|
6305
|
-
// bazel-out/
|
|
6498
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.js
|
|
6306
6499
|
import { ViewEncapsulation } from "@angular/compiler";
|
|
6307
6500
|
import ts33 from "typescript";
|
|
6308
6501
|
function resolveEnumValue(evaluator, metadata, field, enumSymbolName, isCore) {
|
|
@@ -6353,7 +6546,7 @@ function resolveLiteral(decorator, literalCache) {
|
|
|
6353
6546
|
return meta;
|
|
6354
6547
|
}
|
|
6355
6548
|
|
|
6356
|
-
// bazel-out/
|
|
6549
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.js
|
|
6357
6550
|
import { compileDeclareFactoryFunction, compileFactoryFunction } from "@angular/compiler";
|
|
6358
6551
|
function compileNgFactoryDefField(metadata) {
|
|
6359
6552
|
const res = compileFactoryFunction(metadata);
|
|
@@ -6376,7 +6569,7 @@ function compileDeclareFactory(metadata) {
|
|
|
6376
6569
|
};
|
|
6377
6570
|
}
|
|
6378
6571
|
|
|
6379
|
-
// bazel-out/
|
|
6572
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/injectable_registry.js
|
|
6380
6573
|
var InjectableClassRegistry = class {
|
|
6381
6574
|
host;
|
|
6382
6575
|
isCore;
|
|
@@ -6404,7 +6597,7 @@ var InjectableClassRegistry = class {
|
|
|
6404
6597
|
}
|
|
6405
6598
|
};
|
|
6406
6599
|
|
|
6407
|
-
// bazel-out/
|
|
6600
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.js
|
|
6408
6601
|
import { ArrowFunctionExpr, LiteralArrayExpr, LiteralExpr as LiteralExpr2, literalMap, WrappedNodeExpr as WrappedNodeExpr4 } from "@angular/compiler";
|
|
6409
6602
|
import ts34 from "typescript";
|
|
6410
6603
|
function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
|
|
@@ -6488,7 +6681,7 @@ function removeIdentifierReferences(node, names) {
|
|
|
6488
6681
|
return result.transformed[0];
|
|
6489
6682
|
}
|
|
6490
6683
|
|
|
6491
|
-
// bazel-out/
|
|
6684
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/debug_info.js
|
|
6492
6685
|
import { literal as literal2, WrappedNodeExpr as WrappedNodeExpr5 } from "@angular/compiler";
|
|
6493
6686
|
function extractClassDebugInfo(clazz, reflection, compilerHost, rootDirs, forbidOrphanRendering) {
|
|
6494
6687
|
if (!reflection.isClass(clazz)) {
|
|
@@ -6505,13 +6698,13 @@ function extractClassDebugInfo(clazz, reflection, compilerHost, rootDirs, forbid
|
|
|
6505
6698
|
};
|
|
6506
6699
|
}
|
|
6507
6700
|
|
|
6508
|
-
// bazel-out/
|
|
6701
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.js
|
|
6509
6702
|
var NoopReferencesRegistry = class {
|
|
6510
6703
|
add(source, ...references) {
|
|
6511
6704
|
}
|
|
6512
6705
|
};
|
|
6513
6706
|
|
|
6514
|
-
// bazel-out/
|
|
6707
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.js
|
|
6515
6708
|
import { CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA } from "@angular/compiler";
|
|
6516
6709
|
function extractSchemas(rawExpr, evaluator, context) {
|
|
6517
6710
|
const schemas = [];
|
|
@@ -6541,7 +6734,7 @@ function extractSchemas(rawExpr, evaluator, context) {
|
|
|
6541
6734
|
return schemas;
|
|
6542
6735
|
}
|
|
6543
6736
|
|
|
6544
|
-
// bazel-out/
|
|
6737
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/input_transforms.js
|
|
6545
6738
|
import { outputAst } from "@angular/compiler";
|
|
6546
6739
|
function compileInputTransformFields(inputs) {
|
|
6547
6740
|
const extraFields = [];
|
|
@@ -6559,16 +6752,16 @@ function compileInputTransformFields(inputs) {
|
|
|
6559
6752
|
return extraFields;
|
|
6560
6753
|
}
|
|
6561
6754
|
|
|
6562
|
-
// bazel-out/
|
|
6755
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/jit_declaration_registry.js
|
|
6563
6756
|
var JitDeclarationRegistry = class {
|
|
6564
6757
|
jitDeclarations = /* @__PURE__ */ new Set();
|
|
6565
6758
|
};
|
|
6566
6759
|
|
|
6567
|
-
// bazel-out/
|
|
6760
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.js
|
|
6568
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";
|
|
6569
6762
|
import ts71 from "typescript";
|
|
6570
6763
|
|
|
6571
|
-
// bazel-out/
|
|
6764
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.js
|
|
6572
6765
|
import ts35 from "typescript";
|
|
6573
6766
|
var SemanticSymbol = class {
|
|
6574
6767
|
decl;
|
|
@@ -6587,7 +6780,7 @@ function getSymbolIdentifier(decl) {
|
|
|
6587
6780
|
return decl.name.text;
|
|
6588
6781
|
}
|
|
6589
6782
|
|
|
6590
|
-
// bazel-out/
|
|
6783
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.js
|
|
6591
6784
|
import { ExternalExpr as ExternalExpr4 } from "@angular/compiler";
|
|
6592
6785
|
var OpaqueSymbol = class extends SemanticSymbol {
|
|
6593
6786
|
isPublicApiAffected() {
|
|
@@ -6729,10 +6922,10 @@ function getImportPath(expr) {
|
|
|
6729
6922
|
}
|
|
6730
6923
|
}
|
|
6731
6924
|
|
|
6732
|
-
// bazel-out/
|
|
6925
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.js
|
|
6733
6926
|
import ts36 from "typescript";
|
|
6734
6927
|
|
|
6735
|
-
// bazel-out/
|
|
6928
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.js
|
|
6736
6929
|
function isSymbolEqual(a, b) {
|
|
6737
6930
|
if (a.decl === b.decl) {
|
|
6738
6931
|
return true;
|
|
@@ -6782,7 +6975,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
|
|
|
6782
6975
|
return true;
|
|
6783
6976
|
}
|
|
6784
6977
|
|
|
6785
|
-
// bazel-out/
|
|
6978
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.js
|
|
6786
6979
|
function extractSemanticTypeParameters(node) {
|
|
6787
6980
|
if (!ts36.isClassDeclaration(node) || node.typeParameters === void 0) {
|
|
6788
6981
|
return null;
|
|
@@ -6804,14 +6997,14 @@ function isTypeParameterEqual(a, b) {
|
|
|
6804
6997
|
return a.hasGenericTypeBound === b.hasGenericTypeBound;
|
|
6805
6998
|
}
|
|
6806
6999
|
|
|
6807
|
-
// bazel-out/
|
|
7000
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.js
|
|
6808
7001
|
var ComponentScopeKind;
|
|
6809
7002
|
(function(ComponentScopeKind2) {
|
|
6810
7003
|
ComponentScopeKind2[ComponentScopeKind2["NgModule"] = 0] = "NgModule";
|
|
6811
7004
|
ComponentScopeKind2[ComponentScopeKind2["Standalone"] = 1] = "Standalone";
|
|
6812
7005
|
})(ComponentScopeKind || (ComponentScopeKind = {}));
|
|
6813
7006
|
|
|
6814
|
-
// bazel-out/
|
|
7007
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.js
|
|
6815
7008
|
var CompoundComponentScopeReader = class {
|
|
6816
7009
|
readers;
|
|
6817
7010
|
constructor(readers) {
|
|
@@ -6837,7 +7030,7 @@ var CompoundComponentScopeReader = class {
|
|
|
6837
7030
|
}
|
|
6838
7031
|
};
|
|
6839
7032
|
|
|
6840
|
-
// bazel-out/
|
|
7033
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.js
|
|
6841
7034
|
var MetadataDtsModuleScopeResolver = class {
|
|
6842
7035
|
dtsMetaReader;
|
|
6843
7036
|
aliasingHost;
|
|
@@ -6915,11 +7108,11 @@ var MetadataDtsModuleScopeResolver = class {
|
|
|
6915
7108
|
}
|
|
6916
7109
|
};
|
|
6917
7110
|
|
|
6918
|
-
// bazel-out/
|
|
7111
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.js
|
|
6919
7112
|
import { ExternalExpr as ExternalExpr5 } from "@angular/compiler";
|
|
6920
7113
|
import ts37 from "typescript";
|
|
6921
7114
|
|
|
6922
|
-
// bazel-out/
|
|
7115
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.js
|
|
6923
7116
|
function getDiagnosticNode(ref, rawExpr) {
|
|
6924
7117
|
return rawExpr !== null ? ref.getOriginForDiagnostics(rawExpr) : ref.node.name;
|
|
6925
7118
|
}
|
|
@@ -6945,7 +7138,7 @@ function makeUnknownComponentDeferredImportDiagnostic(ref, rawExpr) {
|
|
|
6945
7138
|
return makeDiagnostic(ErrorCode.COMPONENT_UNKNOWN_DEFERRED_IMPORT, getDiagnosticNode(ref, rawExpr), `Component deferred imports must be standalone components, directives or pipes.`);
|
|
6946
7139
|
}
|
|
6947
7140
|
|
|
6948
|
-
// bazel-out/
|
|
7141
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.js
|
|
6949
7142
|
var IN_PROGRESS_RESOLUTION = {};
|
|
6950
7143
|
var LocalModuleScopeRegistry = class {
|
|
6951
7144
|
localReader;
|
|
@@ -7304,7 +7497,7 @@ function reexportCollision(module, refA, refB) {
|
|
|
7304
7497
|
]);
|
|
7305
7498
|
}
|
|
7306
7499
|
|
|
7307
|
-
// bazel-out/
|
|
7500
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.js
|
|
7308
7501
|
import { CssSelector, SelectorMatcher } from "@angular/compiler";
|
|
7309
7502
|
import ts38 from "typescript";
|
|
7310
7503
|
var TypeCheckScopeRegistry = class {
|
|
@@ -7388,15 +7581,15 @@ var TypeCheckScopeRegistry = class {
|
|
|
7388
7581
|
}
|
|
7389
7582
|
};
|
|
7390
7583
|
|
|
7391
|
-
// bazel-out/
|
|
7584
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.js
|
|
7392
7585
|
import { compileClassMetadata, compileDeclareClassMetadata, compileDeclareDirectiveFromMetadata, compileDirectiveFromMetadata, FactoryTarget, makeBindingParser as makeBindingParser2, R3TargetBinder, WrappedNodeExpr as WrappedNodeExpr9 } from "@angular/compiler";
|
|
7393
7586
|
import ts63 from "typescript";
|
|
7394
7587
|
|
|
7395
|
-
// bazel-out/
|
|
7588
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.js
|
|
7396
7589
|
import { createMayBeForwardRefExpression as createMayBeForwardRefExpression2, emitDistinctChangesOnlyDefaultValue, ExternalExpr as ExternalExpr6, getSafePropertyAccessString, parseHostBindings, ParserError, verifyHostBindings, WrappedNodeExpr as WrappedNodeExpr6 } from "@angular/compiler";
|
|
7397
7590
|
import ts42 from "typescript";
|
|
7398
7591
|
|
|
7399
|
-
// bazel-out/
|
|
7592
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/initializer_function_access.js
|
|
7400
7593
|
function validateAccessOfInitializerApiMember({ api, call }, member) {
|
|
7401
7594
|
if (!api.allowedAccessLevels.includes(member.accessLevel)) {
|
|
7402
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)}.`, [
|
|
@@ -7405,7 +7598,7 @@ function validateAccessOfInitializerApiMember({ api, call }, member) {
|
|
|
7405
7598
|
}
|
|
7406
7599
|
}
|
|
7407
7600
|
|
|
7408
|
-
// bazel-out/
|
|
7601
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/initializer_functions.js
|
|
7409
7602
|
import ts39 from "typescript";
|
|
7410
7603
|
function tryParseInitializerApi(functions, expression, reflector, importTracker) {
|
|
7411
7604
|
if (!ts39.isCallExpression(expression)) {
|
|
@@ -7474,7 +7667,7 @@ function parseTopLevelCallFromNamespace(call, functions, importTracker) {
|
|
|
7474
7667
|
return { api: matchingApi, apiReference, isRequired };
|
|
7475
7668
|
}
|
|
7476
7669
|
|
|
7477
|
-
// bazel-out/
|
|
7670
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/input_output_parse_options.js
|
|
7478
7671
|
import ts40 from "typescript";
|
|
7479
7672
|
function parseAndValidateInputAndOutputOptions(optionsNode) {
|
|
7480
7673
|
if (!ts40.isObjectLiteralExpression(optionsNode)) {
|
|
@@ -7492,7 +7685,7 @@ function parseAndValidateInputAndOutputOptions(optionsNode) {
|
|
|
7492
7685
|
return { alias };
|
|
7493
7686
|
}
|
|
7494
7687
|
|
|
7495
|
-
// bazel-out/
|
|
7688
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/input_function.js
|
|
7496
7689
|
var INPUT_INITIALIZER_FN = {
|
|
7497
7690
|
functionName: "input",
|
|
7498
7691
|
owningModule: "@angular/core",
|
|
@@ -7523,7 +7716,7 @@ function tryParseSignalInputMapping(member, reflector, importTracker) {
|
|
|
7523
7716
|
};
|
|
7524
7717
|
}
|
|
7525
7718
|
|
|
7526
|
-
// bazel-out/
|
|
7719
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/model_function.js
|
|
7527
7720
|
var MODEL_INITIALIZER_FN = {
|
|
7528
7721
|
functionName: "model",
|
|
7529
7722
|
owningModule: "@angular/core",
|
|
@@ -7563,7 +7756,7 @@ function tryParseSignalModelMapping(member, reflector, importTracker) {
|
|
|
7563
7756
|
};
|
|
7564
7757
|
}
|
|
7565
7758
|
|
|
7566
|
-
// bazel-out/
|
|
7759
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/output_function.js
|
|
7567
7760
|
var allowedAccessLevels = [
|
|
7568
7761
|
ClassMemberAccessLevel.PublicWritable,
|
|
7569
7762
|
ClassMemberAccessLevel.PublicReadonly,
|
|
@@ -7606,7 +7799,7 @@ function tryParseInitializerBasedOutput(member, reflector, importTracker) {
|
|
|
7606
7799
|
};
|
|
7607
7800
|
}
|
|
7608
7801
|
|
|
7609
|
-
// bazel-out/
|
|
7802
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/query_functions.js
|
|
7610
7803
|
import { createMayBeForwardRefExpression, outputAst as o2 } from "@angular/compiler";
|
|
7611
7804
|
import ts41 from "typescript";
|
|
7612
7805
|
var queryFunctionNames = [
|
|
@@ -7691,7 +7884,7 @@ function parseDescendantsOption(value) {
|
|
|
7691
7884
|
throw new FatalDiagnosticError(ErrorCode.VALUE_HAS_WRONG_TYPE, value, `Expected "descendants" option to be a boolean literal.`);
|
|
7692
7885
|
}
|
|
7693
7886
|
|
|
7694
|
-
// bazel-out/
|
|
7887
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.js
|
|
7695
7888
|
var EMPTY_OBJECT = {};
|
|
7696
7889
|
var queryDecoratorNames = [
|
|
7697
7890
|
"ViewChild",
|
|
@@ -8524,7 +8717,7 @@ function extractHostBindingResources(nodes) {
|
|
|
8524
8717
|
return result;
|
|
8525
8718
|
}
|
|
8526
8719
|
|
|
8527
|
-
// bazel-out/
|
|
8720
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.js
|
|
8528
8721
|
var DirectiveSymbol = class extends SemanticSymbol {
|
|
8529
8722
|
selector;
|
|
8530
8723
|
inputs;
|
|
@@ -8610,10 +8803,10 @@ function isBaseClassEqual(current, previous) {
|
|
|
8610
8803
|
return isSymbolEqual(current, previous);
|
|
8611
8804
|
}
|
|
8612
8805
|
|
|
8613
|
-
// bazel-out/
|
|
8806
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.js
|
|
8614
8807
|
import { CssSelector as CssSelector4, DomElementSchemaRegistry as DomElementSchemaRegistry2, ExternalExpr as ExternalExpr8, WrappedNodeExpr as WrappedNodeExpr8 } from "@angular/compiler";
|
|
8615
8808
|
|
|
8616
|
-
// bazel-out/
|
|
8809
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.js
|
|
8617
8810
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
8618
8811
|
var UpdateMode;
|
|
8619
8812
|
(function(UpdateMode2) {
|
|
@@ -8621,13 +8814,13 @@ var UpdateMode;
|
|
|
8621
8814
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
8622
8815
|
})(UpdateMode || (UpdateMode = {}));
|
|
8623
8816
|
|
|
8624
|
-
// bazel-out/
|
|
8817
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.js
|
|
8625
8818
|
import ts44 from "typescript";
|
|
8626
8819
|
|
|
8627
|
-
// bazel-out/
|
|
8820
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.js
|
|
8628
8821
|
import ts43 from "typescript";
|
|
8629
8822
|
|
|
8630
|
-
// bazel-out/
|
|
8823
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.js
|
|
8631
8824
|
var NgExtension = Symbol("NgExtension");
|
|
8632
8825
|
function isExtended(sf) {
|
|
8633
8826
|
return sf[NgExtension] !== void 0;
|
|
@@ -8687,13 +8880,13 @@ function retagTsFile(sf) {
|
|
|
8687
8880
|
}
|
|
8688
8881
|
}
|
|
8689
8882
|
|
|
8690
|
-
// bazel-out/
|
|
8883
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.js
|
|
8691
8884
|
var TS_EXTENSIONS = /\.tsx?$/i;
|
|
8692
8885
|
function makeShimFileName(fileName, suffix) {
|
|
8693
8886
|
return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
|
|
8694
8887
|
}
|
|
8695
8888
|
|
|
8696
|
-
// bazel-out/
|
|
8889
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.js
|
|
8697
8890
|
var ShimAdapter = class {
|
|
8698
8891
|
delegate;
|
|
8699
8892
|
shims = /* @__PURE__ */ new Map();
|
|
@@ -8790,7 +8983,7 @@ var ShimAdapter = class {
|
|
|
8790
8983
|
}
|
|
8791
8984
|
};
|
|
8792
8985
|
|
|
8793
|
-
// bazel-out/
|
|
8986
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.js
|
|
8794
8987
|
var ShimReferenceTagger = class {
|
|
8795
8988
|
suffixes;
|
|
8796
8989
|
tagged = /* @__PURE__ */ new Set();
|
|
@@ -8825,7 +9018,7 @@ var ShimReferenceTagger = class {
|
|
|
8825
9018
|
}
|
|
8826
9019
|
};
|
|
8827
9020
|
|
|
8828
|
-
// bazel-out/
|
|
9021
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.js
|
|
8829
9022
|
var DelegatingCompilerHost = class {
|
|
8830
9023
|
delegate;
|
|
8831
9024
|
createHash;
|
|
@@ -8976,7 +9169,7 @@ var TsCreateProgramDriver = class {
|
|
|
8976
9169
|
}
|
|
8977
9170
|
};
|
|
8978
9171
|
|
|
8979
|
-
// bazel-out/
|
|
9172
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.js
|
|
8980
9173
|
import ts45 from "typescript";
|
|
8981
9174
|
function makeTemplateDiagnostic(id, mapping, span, category, code, messageText, relatedMessages) {
|
|
8982
9175
|
if (mapping.type === "direct") {
|
|
@@ -9086,7 +9279,7 @@ function parseTemplateAsSourceFile(fileName, template) {
|
|
|
9086
9279
|
);
|
|
9087
9280
|
}
|
|
9088
9281
|
|
|
9089
|
-
// bazel-out/
|
|
9282
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.js
|
|
9090
9283
|
var TYPE_CHECK_ID_MAP = Symbol("TypeCheckId");
|
|
9091
9284
|
function getTypeCheckId(clazz) {
|
|
9092
9285
|
const sf = clazz.getSourceFile();
|
|
@@ -9099,11 +9292,11 @@ function getTypeCheckId(clazz) {
|
|
|
9099
9292
|
return sf[TYPE_CHECK_ID_MAP].get(clazz);
|
|
9100
9293
|
}
|
|
9101
9294
|
|
|
9102
|
-
// bazel-out/
|
|
9295
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.js
|
|
9103
9296
|
import { EmptyExpr, ImplicitReceiver, PropertyRead, PropertyWrite, SafePropertyRead, TmplAstLetDeclaration, TmplAstReference, TmplAstTextAttribute } from "@angular/compiler";
|
|
9104
9297
|
import ts47 from "typescript";
|
|
9105
9298
|
|
|
9106
|
-
// bazel-out/
|
|
9299
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.js
|
|
9107
9300
|
import { AbsoluteSourceSpan } from "@angular/compiler";
|
|
9108
9301
|
import ts46 from "typescript";
|
|
9109
9302
|
var parseSpanComment = /^(\d+),(\d+)$/;
|
|
@@ -9233,7 +9426,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
|
|
|
9233
9426
|
}) || false;
|
|
9234
9427
|
}
|
|
9235
9428
|
|
|
9236
|
-
// bazel-out/
|
|
9429
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.js
|
|
9237
9430
|
var CompletionEngine = class {
|
|
9238
9431
|
tcb;
|
|
9239
9432
|
data;
|
|
@@ -9400,7 +9593,7 @@ var CompletionEngine = class {
|
|
|
9400
9593
|
}
|
|
9401
9594
|
};
|
|
9402
9595
|
|
|
9403
|
-
// bazel-out/
|
|
9596
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.js
|
|
9404
9597
|
import { ParseSourceFile as ParseSourceFile2 } from "@angular/compiler";
|
|
9405
9598
|
|
|
9406
9599
|
// node_modules/magic-string/dist/magic-string.es.mjs
|
|
@@ -10443,10 +10636,10 @@ var MagicString = class {
|
|
|
10443
10636
|
}
|
|
10444
10637
|
};
|
|
10445
10638
|
|
|
10446
|
-
// bazel-out/
|
|
10639
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.js
|
|
10447
10640
|
import ts61 from "typescript";
|
|
10448
10641
|
|
|
10449
|
-
// bazel-out/
|
|
10642
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.js
|
|
10450
10643
|
import { DomElementSchemaRegistry } from "@angular/compiler";
|
|
10451
10644
|
import ts48 from "typescript";
|
|
10452
10645
|
var REGISTRY = new DomElementSchemaRegistry();
|
|
@@ -10512,10 +10705,10 @@ var RegistryDomSchemaChecker = class {
|
|
|
10512
10705
|
}
|
|
10513
10706
|
};
|
|
10514
10707
|
|
|
10515
|
-
// bazel-out/
|
|
10708
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.js
|
|
10516
10709
|
import ts54 from "typescript";
|
|
10517
10710
|
|
|
10518
|
-
// bazel-out/
|
|
10711
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/reference_emit_environment.js
|
|
10519
10712
|
import { ExpressionType, ExternalExpr as ExternalExpr7, TypeModifier } from "@angular/compiler";
|
|
10520
10713
|
var ReferenceEmitEnvironment = class {
|
|
10521
10714
|
importManager;
|
|
@@ -10550,7 +10743,7 @@ var ReferenceEmitEnvironment = class {
|
|
|
10550
10743
|
}
|
|
10551
10744
|
};
|
|
10552
10745
|
|
|
10553
|
-
// bazel-out/
|
|
10746
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.js
|
|
10554
10747
|
import ts49 from "typescript";
|
|
10555
10748
|
var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
|
|
10556
10749
|
ts49.SyntaxKind.ParenthesizedExpression,
|
|
@@ -10641,15 +10834,15 @@ function tsNumericExpression2(value) {
|
|
|
10641
10834
|
return ts49.factory.createNumericLiteral(value);
|
|
10642
10835
|
}
|
|
10643
10836
|
|
|
10644
|
-
// bazel-out/
|
|
10837
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.js
|
|
10645
10838
|
import { ExpressionType as ExpressionType2, R3Identifiers as R3Identifiers2, WrappedNodeExpr as WrappedNodeExpr7 } from "@angular/compiler";
|
|
10646
10839
|
import ts53 from "typescript";
|
|
10647
10840
|
|
|
10648
|
-
// bazel-out/
|
|
10841
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.js
|
|
10649
10842
|
import { R3Identifiers } from "@angular/compiler";
|
|
10650
10843
|
import ts52 from "typescript";
|
|
10651
10844
|
|
|
10652
|
-
// bazel-out/
|
|
10845
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.js
|
|
10653
10846
|
import ts50 from "typescript";
|
|
10654
10847
|
var TypeParameterEmitter = class {
|
|
10655
10848
|
typeParameters;
|
|
@@ -10729,7 +10922,7 @@ var TypeParameterEmitter = class {
|
|
|
10729
10922
|
}
|
|
10730
10923
|
};
|
|
10731
10924
|
|
|
10732
|
-
// bazel-out/
|
|
10925
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/host_bindings.js
|
|
10733
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";
|
|
10734
10927
|
import ts51 from "typescript";
|
|
10735
10928
|
var GUARD_COMMENT_TEXT = "hostBindingsBlockGuard";
|
|
@@ -10955,7 +11148,7 @@ var ReplaceSpanVisitor = class extends RecursiveAstVisitor {
|
|
|
10955
11148
|
}
|
|
10956
11149
|
};
|
|
10957
11150
|
|
|
10958
|
-
// bazel-out/
|
|
11151
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.js
|
|
10959
11152
|
var TCB_FILE_IMPORT_GRAPH_PREPARE_IDENTIFIERS = [
|
|
10960
11153
|
R3Identifiers.InputSignalBrandWriteType
|
|
10961
11154
|
];
|
|
@@ -11077,7 +11270,7 @@ function findNodeInFile(file, predicate) {
|
|
|
11077
11270
|
return ts52.forEachChild(file, visit2) ?? null;
|
|
11078
11271
|
}
|
|
11079
11272
|
|
|
11080
|
-
// bazel-out/
|
|
11273
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.js
|
|
11081
11274
|
function generateTypeCtorDeclarationFn(env, meta, nodeTypeRef, typeParams) {
|
|
11082
11275
|
const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
|
|
11083
11276
|
const rawType = ts53.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
|
|
@@ -11200,7 +11393,7 @@ function typeParametersWithDefaultTypes(params) {
|
|
|
11200
11393
|
});
|
|
11201
11394
|
}
|
|
11202
11395
|
|
|
11203
|
-
// bazel-out/
|
|
11396
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.js
|
|
11204
11397
|
var Environment = class extends ReferenceEmitEnvironment {
|
|
11205
11398
|
config;
|
|
11206
11399
|
nextIds = {
|
|
@@ -11273,7 +11466,7 @@ var Environment = class extends ReferenceEmitEnvironment {
|
|
|
11273
11466
|
}
|
|
11274
11467
|
};
|
|
11275
11468
|
|
|
11276
|
-
// bazel-out/
|
|
11469
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.js
|
|
11277
11470
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan3, TmplAstBoundEvent as TmplAstBoundEvent2, TmplAstComponent, TmplAstDirective, TmplAstElement } from "@angular/compiler";
|
|
11278
11471
|
import ts55 from "typescript";
|
|
11279
11472
|
var OutOfBandDiagnosticRecorderImpl = class {
|
|
@@ -11484,6 +11677,12 @@ Deferred blocks can only access triggers in same view, a parent embedded view or
|
|
|
11484
11677
|
const errorMsg = `Directive ${directive.name} does not have an ${node instanceof TmplAstBoundEvent2 ? "output" : "input"} named "${node.name}". Bindings to directives must target existing inputs or outputs.`;
|
|
11485
11678
|
this._diagnostics.push(makeTemplateDiagnostic(id, this.resolver.getTemplateSourceMapping(id), node.keySpan || node.sourceSpan, ts55.DiagnosticCategory.Error, ngErrorCode(ErrorCode.UNCLAIMED_DIRECTIVE_BINDING), errorMsg));
|
|
11486
11679
|
}
|
|
11680
|
+
deferImplicitTriggerMissingPlaceholder(id, trigger) {
|
|
11681
|
+
this._diagnostics.push(makeTemplateDiagnostic(id, this.resolver.getTemplateSourceMapping(id), trigger.sourceSpan, ts55.DiagnosticCategory.Error, ngErrorCode(ErrorCode.DEFER_IMPLICIT_TRIGGER_MISSING_PLACEHOLDER), "Trigger with no parameters can only be placed on an @defer that has a @placeholder block"));
|
|
11682
|
+
}
|
|
11683
|
+
deferImplicitTriggerInvalidPlaceholder(id, trigger) {
|
|
11684
|
+
this._diagnostics.push(makeTemplateDiagnostic(id, this.resolver.getTemplateSourceMapping(id), trigger.sourceSpan, ts55.DiagnosticCategory.Error, ngErrorCode(ErrorCode.DEFER_IMPLICIT_TRIGGER_INVALID_PLACEHOLDER), "Trigger with no parameters can only be placed on an @defer that has a @placeholder block with exactly one root element node"));
|
|
11685
|
+
}
|
|
11487
11686
|
};
|
|
11488
11687
|
function makeInlineDiagnostic(id, code, node, messageText, relatedInformation) {
|
|
11489
11688
|
return {
|
|
@@ -11493,7 +11692,7 @@ function makeInlineDiagnostic(id, code, node, messageText, relatedInformation) {
|
|
|
11493
11692
|
};
|
|
11494
11693
|
}
|
|
11495
11694
|
|
|
11496
|
-
// bazel-out/
|
|
11695
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.js
|
|
11497
11696
|
import ts56 from "typescript";
|
|
11498
11697
|
var TypeCheckShimGenerator = class {
|
|
11499
11698
|
extensionPrefix = "ngtypecheck";
|
|
@@ -11509,11 +11708,11 @@ var TypeCheckShimGenerator = class {
|
|
|
11509
11708
|
}
|
|
11510
11709
|
};
|
|
11511
11710
|
|
|
11512
|
-
// bazel-out/
|
|
11711
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.js
|
|
11513
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";
|
|
11514
11713
|
import ts59 from "typescript";
|
|
11515
11714
|
|
|
11516
|
-
// bazel-out/
|
|
11715
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.js
|
|
11517
11716
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan4 } from "@angular/compiler";
|
|
11518
11717
|
import ts57 from "typescript";
|
|
11519
11718
|
function wrapForDiagnostics(expr) {
|
|
@@ -11569,7 +11768,7 @@ function translateDiagnostic(diagnostic, resolver) {
|
|
|
11569
11768
|
return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
|
|
11570
11769
|
}
|
|
11571
11770
|
|
|
11572
|
-
// bazel-out/
|
|
11771
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.js
|
|
11573
11772
|
import { ASTWithSource, Call as Call2, EmptyExpr as EmptyExpr2, PropertyRead as PropertyRead3, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
|
|
11574
11773
|
import ts58 from "typescript";
|
|
11575
11774
|
var ANY_EXPRESSION = ts58.factory.createAsExpression(ts58.factory.createNumericLiteral("0"), ts58.factory.createKeywordTypeNode(ts58.SyntaxKind.AnyKeyword));
|
|
@@ -11963,7 +12162,7 @@ var _VeSafeLhsInferenceBugDetector = class {
|
|
|
11963
12162
|
var VeSafeLhsInferenceBugDetector = _VeSafeLhsInferenceBugDetector;
|
|
11964
12163
|
__publicField(VeSafeLhsInferenceBugDetector, "SINGLETON", new _VeSafeLhsInferenceBugDetector());
|
|
11965
12164
|
|
|
11966
|
-
// bazel-out/
|
|
12165
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.js
|
|
11967
12166
|
var TcbGenericContextBehavior;
|
|
11968
12167
|
(function(TcbGenericContextBehavior2) {
|
|
11969
12168
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -13527,16 +13726,38 @@ var _Scope = class {
|
|
|
13527
13726
|
this.opQueue.push(new TcbExpressionOp(this.tcb, this, triggers.when.value));
|
|
13528
13727
|
}
|
|
13529
13728
|
if (triggers.hover !== void 0) {
|
|
13530
|
-
this.
|
|
13729
|
+
this.validateReferenceBasedDeferredTrigger(block, triggers.hover);
|
|
13531
13730
|
}
|
|
13532
13731
|
if (triggers.interaction !== void 0) {
|
|
13533
|
-
this.
|
|
13732
|
+
this.validateReferenceBasedDeferredTrigger(block, triggers.interaction);
|
|
13534
13733
|
}
|
|
13535
13734
|
if (triggers.viewport !== void 0) {
|
|
13536
|
-
this.
|
|
13735
|
+
this.validateReferenceBasedDeferredTrigger(block, triggers.viewport);
|
|
13537
13736
|
}
|
|
13538
13737
|
}
|
|
13539
|
-
|
|
13738
|
+
validateReferenceBasedDeferredTrigger(block, trigger) {
|
|
13739
|
+
if (trigger.reference === null) {
|
|
13740
|
+
if (block.placeholder === null) {
|
|
13741
|
+
this.tcb.oobRecorder.deferImplicitTriggerMissingPlaceholder(this.tcb.id, trigger);
|
|
13742
|
+
return;
|
|
13743
|
+
}
|
|
13744
|
+
let rootNode = null;
|
|
13745
|
+
for (const child of block.placeholder.children) {
|
|
13746
|
+
if (!this.tcb.hostPreserveWhitespaces && child instanceof TmplAstText && child.value.trim().length === 0) {
|
|
13747
|
+
continue;
|
|
13748
|
+
}
|
|
13749
|
+
if (rootNode === null) {
|
|
13750
|
+
rootNode = child;
|
|
13751
|
+
} else {
|
|
13752
|
+
rootNode = null;
|
|
13753
|
+
break;
|
|
13754
|
+
}
|
|
13755
|
+
}
|
|
13756
|
+
if (rootNode === null || !(rootNode instanceof TmplAstElement2)) {
|
|
13757
|
+
this.tcb.oobRecorder.deferImplicitTriggerInvalidPlaceholder(this.tcb.id, trigger);
|
|
13758
|
+
}
|
|
13759
|
+
return;
|
|
13760
|
+
}
|
|
13540
13761
|
if (this.tcb.boundTarget.getDeferredTriggerTarget(block, trigger) === null) {
|
|
13541
13762
|
this.tcb.oobRecorder.inaccessibleDeferredTriggerElement(this.tcb.id, trigger);
|
|
13542
13763
|
}
|
|
@@ -13847,7 +14068,7 @@ function getComponentTagName(node) {
|
|
|
13847
14068
|
return node.tagName || "ng-component";
|
|
13848
14069
|
}
|
|
13849
14070
|
|
|
13850
|
-
// bazel-out/
|
|
14071
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.js
|
|
13851
14072
|
import ts60 from "typescript";
|
|
13852
14073
|
var TypeCheckFile = class extends Environment {
|
|
13853
14074
|
fileName;
|
|
@@ -13896,7 +14117,7 @@ var TypeCheckFile = class extends Environment {
|
|
|
13896
14117
|
}
|
|
13897
14118
|
};
|
|
13898
14119
|
|
|
13899
|
-
// bazel-out/
|
|
14120
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.js
|
|
13900
14121
|
var InliningMode;
|
|
13901
14122
|
(function(InliningMode2) {
|
|
13902
14123
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
@@ -14180,10 +14401,10 @@ var TypeCtorOp = class {
|
|
|
14180
14401
|
}
|
|
14181
14402
|
};
|
|
14182
14403
|
|
|
14183
|
-
// bazel-out/
|
|
14404
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.js
|
|
14184
14405
|
import { ParseLocation as ParseLocation2, ParseSourceSpan as ParseSourceSpan2 } from "@angular/compiler";
|
|
14185
14406
|
|
|
14186
|
-
// bazel-out/
|
|
14407
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.js
|
|
14187
14408
|
var LF_CHAR = 10;
|
|
14188
14409
|
var CR_CHAR = 13;
|
|
14189
14410
|
var LINE_SEP_CHAR = 8232;
|
|
@@ -14224,7 +14445,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
|
|
|
14224
14445
|
return low - 1;
|
|
14225
14446
|
}
|
|
14226
14447
|
|
|
14227
|
-
// bazel-out/
|
|
14448
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.js
|
|
14228
14449
|
var Source = class {
|
|
14229
14450
|
mapping;
|
|
14230
14451
|
file;
|
|
@@ -14290,7 +14511,7 @@ var DirectiveSourceManager = class {
|
|
|
14290
14511
|
}
|
|
14291
14512
|
};
|
|
14292
14513
|
|
|
14293
|
-
// bazel-out/
|
|
14514
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.js
|
|
14294
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";
|
|
14295
14516
|
import ts62 from "typescript";
|
|
14296
14517
|
var SymbolBuilder = class {
|
|
@@ -14898,7 +15119,7 @@ function collectClassesWithName(sourceFile, className) {
|
|
|
14898
15119
|
return classes;
|
|
14899
15120
|
}
|
|
14900
15121
|
|
|
14901
|
-
// bazel-out/
|
|
15122
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.js
|
|
14902
15123
|
var REGISTRY2 = new DomElementSchemaRegistry2();
|
|
14903
15124
|
var TemplateTypeCheckerImpl = class {
|
|
14904
15125
|
originalProgram;
|
|
@@ -15626,7 +15847,7 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
|
|
|
15626
15847
|
}
|
|
15627
15848
|
};
|
|
15628
15849
|
|
|
15629
|
-
// bazel-out/
|
|
15850
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.js
|
|
15630
15851
|
var FIELD_DECORATORS = [
|
|
15631
15852
|
"Input",
|
|
15632
15853
|
"Output",
|
|
@@ -15884,11 +16105,11 @@ var DirectiveDecoratorHandler = class {
|
|
|
15884
16105
|
}
|
|
15885
16106
|
};
|
|
15886
16107
|
|
|
15887
|
-
// bazel-out/
|
|
16108
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.js
|
|
15888
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";
|
|
15889
16110
|
import ts65 from "typescript";
|
|
15890
16111
|
|
|
15891
|
-
// bazel-out/
|
|
16112
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.js
|
|
15892
16113
|
import ts64 from "typescript";
|
|
15893
16114
|
function createModuleWithProvidersResolver(reflector, isCore) {
|
|
15894
16115
|
function _reflectModuleFromTypeParam(type, node) {
|
|
@@ -15959,7 +16180,7 @@ function isResolvedModuleWithProviders(sv) {
|
|
|
15959
16180
|
return typeof sv.value === "object" && sv.value != null && sv.value.hasOwnProperty("ngModule") && sv.value.hasOwnProperty("mwpCall");
|
|
15960
16181
|
}
|
|
15961
16182
|
|
|
15962
|
-
// bazel-out/
|
|
16183
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.js
|
|
15963
16184
|
var NgModuleSymbol = class extends SemanticSymbol {
|
|
15964
16185
|
hasProviders;
|
|
15965
16186
|
remotelyScopedComponents = [];
|
|
@@ -16609,7 +16830,7 @@ function isSyntheticReference(ref) {
|
|
|
16609
16830
|
return ref.synthetic;
|
|
16610
16831
|
}
|
|
16611
16832
|
|
|
16612
|
-
// bazel-out/
|
|
16833
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.js
|
|
16613
16834
|
function makeCyclicImportInfo(ref, type, cycle) {
|
|
16614
16835
|
const name = ref.debugName || "(unknown)";
|
|
16615
16836
|
const path = cycle.getPath().map((sf) => sf.fileName).join(" -> ");
|
|
@@ -16632,7 +16853,7 @@ function checkCustomElementSelectorForErrors(selector) {
|
|
|
16632
16853
|
return null;
|
|
16633
16854
|
}
|
|
16634
16855
|
|
|
16635
|
-
// bazel-out/
|
|
16856
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.js
|
|
16636
16857
|
import { DEFAULT_INTERPOLATION_CONFIG, InterpolationConfig, ParseSourceFile as ParseSourceFile3, parseTemplate } from "@angular/compiler";
|
|
16637
16858
|
import ts66 from "typescript";
|
|
16638
16859
|
function getTemplateDeclarationNodeForError(declaration) {
|
|
@@ -17007,7 +17228,7 @@ function _extractTemplateStyleUrls(template) {
|
|
|
17007
17228
|
}));
|
|
17008
17229
|
}
|
|
17009
17230
|
|
|
17010
|
-
// bazel-out/
|
|
17231
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.js
|
|
17011
17232
|
var ComponentSymbol = class extends DirectiveSymbol {
|
|
17012
17233
|
usedDirectives = [];
|
|
17013
17234
|
usedPipes = [];
|
|
@@ -17039,7 +17260,7 @@ var ComponentSymbol = class extends DirectiveSymbol {
|
|
|
17039
17260
|
}
|
|
17040
17261
|
};
|
|
17041
17262
|
|
|
17042
|
-
// bazel-out/
|
|
17263
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.js
|
|
17043
17264
|
import ts67 from "typescript";
|
|
17044
17265
|
function collectAnimationNames(value, animationTriggerNames) {
|
|
17045
17266
|
if (value instanceof Map) {
|
|
@@ -17130,10 +17351,10 @@ function isLikelyModuleWithProviders(value) {
|
|
|
17130
17351
|
return false;
|
|
17131
17352
|
}
|
|
17132
17353
|
|
|
17133
|
-
// bazel-out/
|
|
17354
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/hmr/src/metadata.js
|
|
17134
17355
|
import { outputAst as o4 } from "@angular/compiler";
|
|
17135
17356
|
|
|
17136
|
-
// bazel-out/
|
|
17357
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/hmr/src/extract_dependencies.js
|
|
17137
17358
|
import { outputAst as o3 } from "@angular/compiler";
|
|
17138
17359
|
import ts68 from "typescript";
|
|
17139
17360
|
function extractHmrDependencies(node, definition, factory, deferBlockMetadata, classMetadata, debugInfo, reflection, evaluator) {
|
|
@@ -17343,7 +17564,7 @@ function isConstEnumReference(node, reflection) {
|
|
|
17343
17564
|
return declaration !== null && ts68.isEnumDeclaration(declaration.node) && !!declaration.node.modifiers?.some((m) => m.kind === ts68.SyntaxKind.ConstKeyword);
|
|
17344
17565
|
}
|
|
17345
17566
|
|
|
17346
|
-
// bazel-out/
|
|
17567
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/hmr/src/metadata.js
|
|
17347
17568
|
import ts69 from "typescript";
|
|
17348
17569
|
function extractHmrMetatadata(clazz, reflection, evaluator, compilerHost, rootDirs, definition, factory, deferBlockMetadata, classMetadata, debugInfo) {
|
|
17349
17570
|
if (!reflection.isClass(clazz)) {
|
|
@@ -17365,7 +17586,7 @@ function extractHmrMetatadata(clazz, reflection, evaluator, compilerHost, rootDi
|
|
|
17365
17586
|
return meta;
|
|
17366
17587
|
}
|
|
17367
17588
|
|
|
17368
|
-
// bazel-out/
|
|
17589
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/hmr/src/update_declaration.js
|
|
17369
17590
|
import { compileHmrUpdateCallback } from "@angular/compiler";
|
|
17370
17591
|
import ts70 from "typescript";
|
|
17371
17592
|
function getHmrUpdateDeclaration(compilationResults, constantStatements, meta, declaration) {
|
|
@@ -17402,7 +17623,7 @@ var HmrModuleImportRewriter = class {
|
|
|
17402
17623
|
}
|
|
17403
17624
|
};
|
|
17404
17625
|
|
|
17405
|
-
// bazel-out/
|
|
17626
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.js
|
|
17406
17627
|
var EMPTY_ARRAY2 = [];
|
|
17407
17628
|
var isUsedDirective = (decl) => decl.kind === R3TemplateDependencyKind.Directive;
|
|
17408
17629
|
var isUsedPipe = (decl) => decl.kind === R3TemplateDependencyKind.Pipe;
|
|
@@ -18628,7 +18849,7 @@ function isDefaultImport(node) {
|
|
|
18628
18849
|
return node.importClause !== void 0 && node.importClause.namedBindings === void 0;
|
|
18629
18850
|
}
|
|
18630
18851
|
|
|
18631
|
-
// bazel-out/
|
|
18852
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.js
|
|
18632
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";
|
|
18633
18854
|
import ts72 from "typescript";
|
|
18634
18855
|
var InjectableDecoratorHandler = class {
|
|
@@ -18869,7 +19090,7 @@ function getDep(dep, reflector) {
|
|
|
18869
19090
|
return meta;
|
|
18870
19091
|
}
|
|
18871
19092
|
|
|
18872
|
-
// bazel-out/
|
|
19093
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.js
|
|
18873
19094
|
import { compileClassMetadata as compileClassMetadata4, compileDeclareClassMetadata as compileDeclareClassMetadata4, compileDeclarePipeFromMetadata, compilePipeFromMetadata, FactoryTarget as FactoryTarget5 } from "@angular/compiler";
|
|
18874
19095
|
import ts73 from "typescript";
|
|
18875
19096
|
var PipeSymbol = class extends SemanticSymbol {
|
|
@@ -19100,6 +19321,11 @@ export {
|
|
|
19100
19321
|
PartialEvaluator,
|
|
19101
19322
|
CompilationMode,
|
|
19102
19323
|
aliasTransformFactory,
|
|
19324
|
+
PerfPhase,
|
|
19325
|
+
PerfEvent,
|
|
19326
|
+
PerfCheckpoint,
|
|
19327
|
+
ActivePerfRecorder,
|
|
19328
|
+
DelegatingPerfRecorder,
|
|
19103
19329
|
TraitCompiler,
|
|
19104
19330
|
ImportManager,
|
|
19105
19331
|
DtsTransformRegistry,
|
|
@@ -19157,4 +19383,4 @@ export {
|
|
|
19157
19383
|
* Use of this source code is governed by an MIT-style license that can be
|
|
19158
19384
|
* found in the LICENSE file at https://angular.dev/license
|
|
19159
19385
|
*/
|
|
19160
|
-
//# sourceMappingURL=chunk-
|
|
19386
|
+
//# sourceMappingURL=chunk-4RDNOL2U.js.map
|