@angular/compiler-cli 18.0.0-next.4 → 18.0.0-next.6
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-WCD6LVCP.js → chunk-2WQIUGOU.js} +7 -7
- package/bundles/{chunk-VHKPES4D.js → chunk-5YGSPVK5.js} +31 -31
- package/bundles/{chunk-R4KQI5XI.js → chunk-64JBPJBS.js} +5 -5
- package/bundles/{chunk-3XKDS7QX.js → chunk-A2LVDCHW.js} +78 -78
- package/bundles/{chunk-4WIV5B72.js → chunk-CU5WWBVV.js} +13 -13
- package/bundles/{chunk-72BAHUP4.js → chunk-HE4PX3Z3.js} +47 -47
- package/bundles/{chunk-72BAHUP4.js.map → chunk-HE4PX3Z3.js.map} +1 -1
- package/bundles/{chunk-VK6ST3OM.js → chunk-JJY5IERQ.js} +144 -121
- package/bundles/chunk-JJY5IERQ.js.map +6 -0
- package/bundles/{chunk-SBDNBITT.js → chunk-LYJKWJUC.js} +3 -3
- package/bundles/{chunk-QDR2AJXR.js → chunk-QWOTSGRF.js} +5 -5
- package/bundles/{chunk-75YFKYUJ.js → chunk-UM6JO3VZ.js} +7 -7
- package/bundles/{chunk-YUMIYLNL.js → chunk-XIYC7KSQ.js} +5 -5
- package/bundles/index.js +14 -12
- package/bundles/index.js.map +1 -1
- package/bundles/linker/babel/index.js +12 -12
- package/bundles/linker/index.js +4 -4
- package/bundles/ngcc/index.js +1 -1
- package/bundles/private/bazel.js +1 -1
- package/bundles/private/localize.js +3 -3
- package/bundles/private/migrations.js +5 -5
- package/bundles/private/tooling.js +5 -5
- package/bundles/src/bin/ng_xi18n.js +10 -10
- package/bundles/src/bin/ngc.js +8 -8
- package/bundles_metadata.json +1 -1
- package/linker/src/file_linker/partial_linkers/util.d.ts +1 -1
- package/package.json +3 -3
- package/src/ngtsc/docs/src/entities.d.ts +9 -0
- package/src/ngtsc/docs/src/extractor.d.ts +1 -1
- package/src/ngtsc/typecheck/api/api.d.ts +4 -0
- package/bundles/chunk-VK6ST3OM.js.map +0 -6
- /package/bundles/{chunk-WCD6LVCP.js.map → chunk-2WQIUGOU.js.map} +0 -0
- /package/bundles/{chunk-VHKPES4D.js.map → chunk-5YGSPVK5.js.map} +0 -0
- /package/bundles/{chunk-R4KQI5XI.js.map → chunk-64JBPJBS.js.map} +0 -0
- /package/bundles/{chunk-3XKDS7QX.js.map → chunk-A2LVDCHW.js.map} +0 -0
- /package/bundles/{chunk-4WIV5B72.js.map → chunk-CU5WWBVV.js.map} +0 -0
- /package/bundles/{chunk-SBDNBITT.js.map → chunk-LYJKWJUC.js.map} +0 -0
- /package/bundles/{chunk-QDR2AJXR.js.map → chunk-QWOTSGRF.js.map} +0 -0
- /package/bundles/{chunk-75YFKYUJ.js.map → chunk-UM6JO3VZ.js.map} +0 -0
- /package/bundles/{chunk-YUMIYLNL.js.map → chunk-XIYC7KSQ.js.map} +0 -0
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
PotentialImportKind,
|
|
9
9
|
PotentialImportMode,
|
|
10
10
|
SymbolKind
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-XIYC7KSQ.js";
|
|
12
12
|
import {
|
|
13
13
|
CompilationMode,
|
|
14
14
|
ComponentDecoratorHandler,
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
isHostDirectiveMetaForGlobalMode,
|
|
45
45
|
ivyTransformFactory,
|
|
46
46
|
tryParseInitializerApi
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-A2LVDCHW.js";
|
|
48
48
|
import {
|
|
49
49
|
AbsoluteModuleStrategy,
|
|
50
50
|
AliasStrategy,
|
|
@@ -94,14 +94,14 @@ import {
|
|
|
94
94
|
toUnredirectedSourceFile,
|
|
95
95
|
translateExpression,
|
|
96
96
|
translateType
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-HE4PX3Z3.js";
|
|
98
98
|
import {
|
|
99
99
|
ActivePerfRecorder,
|
|
100
100
|
DelegatingPerfRecorder,
|
|
101
101
|
PerfCheckpoint,
|
|
102
102
|
PerfEvent,
|
|
103
103
|
PerfPhase
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-64JBPJBS.js";
|
|
105
105
|
import {
|
|
106
106
|
LogicalFileSystem,
|
|
107
107
|
absoluteFrom,
|
|
@@ -111,9 +111,9 @@ import {
|
|
|
111
111
|
getSourceFileOrError,
|
|
112
112
|
join,
|
|
113
113
|
resolve
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-UM6JO3VZ.js";
|
|
115
115
|
|
|
116
|
-
// bazel-out/
|
|
116
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
117
117
|
var DEFAULT_ERROR_CODE = 100;
|
|
118
118
|
var UNKNOWN_ERROR_CODE = 500;
|
|
119
119
|
var SOURCE = "angular";
|
|
@@ -131,7 +131,7 @@ var EmitFlags;
|
|
|
131
131
|
EmitFlags2[EmitFlags2["All"] = 31] = "All";
|
|
132
132
|
})(EmitFlags || (EmitFlags = {}));
|
|
133
133
|
|
|
134
|
-
// bazel-out/
|
|
134
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
135
135
|
import ts from "typescript";
|
|
136
136
|
var wrapHostForTest = null;
|
|
137
137
|
function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, true) }) {
|
|
@@ -141,7 +141,7 @@ function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, t
|
|
|
141
141
|
return tsHost;
|
|
142
142
|
}
|
|
143
143
|
|
|
144
|
-
// bazel-out/
|
|
144
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/entities.mjs
|
|
145
145
|
var EntryType;
|
|
146
146
|
(function(EntryType2) {
|
|
147
147
|
EntryType2["Block"] = "block";
|
|
@@ -184,24 +184,27 @@ var MemberTags;
|
|
|
184
184
|
MemberTags2["Output"] = "output";
|
|
185
185
|
MemberTags2["Inherited"] = "override";
|
|
186
186
|
})(MemberTags || (MemberTags = {}));
|
|
187
|
+
function isDocEntryWithSourceInfo(entry) {
|
|
188
|
+
return "source" in entry;
|
|
189
|
+
}
|
|
187
190
|
|
|
188
|
-
// bazel-out/
|
|
191
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
|
|
189
192
|
import ts10 from "typescript";
|
|
190
193
|
|
|
191
|
-
// bazel-out/
|
|
194
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
|
|
192
195
|
import ts5 from "typescript";
|
|
193
196
|
|
|
194
|
-
// bazel-out/
|
|
197
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/filters.mjs
|
|
195
198
|
function isAngularPrivateName(name) {
|
|
196
199
|
var _a;
|
|
197
200
|
const firstChar = (_a = name[0]) != null ? _a : "";
|
|
198
201
|
return firstChar === "\u0275" || firstChar === "_";
|
|
199
202
|
}
|
|
200
203
|
|
|
201
|
-
// bazel-out/
|
|
204
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
|
|
202
205
|
import ts3 from "typescript";
|
|
203
206
|
|
|
204
|
-
// bazel-out/
|
|
207
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/generics_extractor.mjs
|
|
205
208
|
function extractGenerics(declaration) {
|
|
206
209
|
var _a, _b;
|
|
207
210
|
return (_b = (_a = declaration.typeParameters) == null ? void 0 : _a.map((typeParam) => {
|
|
@@ -214,7 +217,7 @@ function extractGenerics(declaration) {
|
|
|
214
217
|
})) != null ? _b : [];
|
|
215
218
|
}
|
|
216
219
|
|
|
217
|
-
// bazel-out/
|
|
220
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/jsdoc_extractor.mjs
|
|
218
221
|
import ts2 from "typescript";
|
|
219
222
|
var decoratorExpression = /@(?=(Injectable|Component|Directive|Pipe|NgModule|Input|Output|HostBinding|HostListener|Inject|Optional|Self|Host|SkipSelf))/g;
|
|
220
223
|
function extractJsDocTags(node) {
|
|
@@ -258,12 +261,12 @@ function unescapeAngularDecorators(comment) {
|
|
|
258
261
|
return comment.replace(/_NG_AT_/g, "@");
|
|
259
262
|
}
|
|
260
263
|
|
|
261
|
-
// bazel-out/
|
|
264
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_extractor.mjs
|
|
262
265
|
function extractResolvedTypeString(node, checker) {
|
|
263
266
|
return checker.typeToString(checker.getTypeAtLocation(node));
|
|
264
267
|
}
|
|
265
268
|
|
|
266
|
-
// bazel-out/
|
|
269
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
|
|
267
270
|
var FunctionExtractor = class {
|
|
268
271
|
constructor(name, declaration, typeChecker) {
|
|
269
272
|
this.name = name;
|
|
@@ -319,7 +322,7 @@ function extractAllParams(params, typeChecker) {
|
|
|
319
322
|
}));
|
|
320
323
|
}
|
|
321
324
|
|
|
322
|
-
// bazel-out/
|
|
325
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/internal.mjs
|
|
323
326
|
import ts4 from "typescript";
|
|
324
327
|
function isInternal(member) {
|
|
325
328
|
return extractJsDocTags(member).some((tag) => tag.name === "internal") || hasLeadingInternalComment(member);
|
|
@@ -338,7 +341,7 @@ function hasLeadingInternalComment(member) {
|
|
|
338
341
|
)) != null ? _a : false;
|
|
339
342
|
}
|
|
340
343
|
|
|
341
|
-
// bazel-out/
|
|
344
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
|
|
342
345
|
var ClassExtractor = class {
|
|
343
346
|
constructor(declaration, typeChecker) {
|
|
344
347
|
this.declaration = declaration;
|
|
@@ -596,7 +599,7 @@ function extractInterface(declaration, typeChecker) {
|
|
|
596
599
|
return extractor.extract();
|
|
597
600
|
}
|
|
598
601
|
|
|
599
|
-
// bazel-out/
|
|
602
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/constant_extractor.mjs
|
|
600
603
|
import ts6 from "typescript";
|
|
601
604
|
var LITERAL_AS_ENUM_TAG = "object-literal-as-enum";
|
|
602
605
|
function extractConstant(declaration, typeChecker) {
|
|
@@ -654,7 +657,7 @@ function extractLiteralPropertiesAsEnumMembers(declaration) {
|
|
|
654
657
|
});
|
|
655
658
|
}
|
|
656
659
|
|
|
657
|
-
// bazel-out/
|
|
660
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/decorator_extractor.mjs
|
|
658
661
|
import ts7 from "typescript";
|
|
659
662
|
function extractorDecorator(declaration, typeChecker) {
|
|
660
663
|
const documentedNode = getDecoratorJsDocNode(declaration);
|
|
@@ -727,7 +730,7 @@ function getDecoratorJsDocNode(declaration) {
|
|
|
727
730
|
return callSignature;
|
|
728
731
|
}
|
|
729
732
|
|
|
730
|
-
// bazel-out/
|
|
733
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/enum_extractor.mjs
|
|
731
734
|
import ts8 from "typescript";
|
|
732
735
|
function extractEnum(declaration, typeChecker) {
|
|
733
736
|
return {
|
|
@@ -758,7 +761,7 @@ function getEnumMemberValue(memberNode) {
|
|
|
758
761
|
return (_a = literal == null ? void 0 : literal.getText()) != null ? _a : "";
|
|
759
762
|
}
|
|
760
763
|
|
|
761
|
-
// bazel-out/
|
|
764
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/initializer_api_function_extractor.mjs
|
|
762
765
|
import ts9 from "typescript";
|
|
763
766
|
var initializerApiTag = "initializerApiFunction";
|
|
764
767
|
function isInitializerApiFunction(node, typeChecker) {
|
|
@@ -895,7 +898,7 @@ function findImplementationOfFunction(node, typeChecker) {
|
|
|
895
898
|
return (_a = symbol == null ? void 0 : symbol.declarations) == null ? void 0 : _a.find((s) => ts9.isFunctionDeclaration(s) && s.body !== void 0);
|
|
896
899
|
}
|
|
897
900
|
|
|
898
|
-
// bazel-out/
|
|
901
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_alias_extractor.mjs
|
|
899
902
|
function extractTypeAlias(declaration) {
|
|
900
903
|
return {
|
|
901
904
|
name: declaration.name.getText(),
|
|
@@ -907,13 +910,13 @@ function extractTypeAlias(declaration) {
|
|
|
907
910
|
};
|
|
908
911
|
}
|
|
909
912
|
|
|
910
|
-
// bazel-out/
|
|
913
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
|
|
911
914
|
var DocsExtractor = class {
|
|
912
915
|
constructor(typeChecker, metadataReader) {
|
|
913
916
|
this.typeChecker = typeChecker;
|
|
914
917
|
this.metadataReader = metadataReader;
|
|
915
918
|
}
|
|
916
|
-
extractAll(sourceFile) {
|
|
919
|
+
extractAll(sourceFile, rootDir) {
|
|
917
920
|
const entries = [];
|
|
918
921
|
const exportedDeclarations = this.getExportedDeclarations(sourceFile);
|
|
919
922
|
for (const [exportName, node] of exportedDeclarations) {
|
|
@@ -922,6 +925,12 @@ var DocsExtractor = class {
|
|
|
922
925
|
}
|
|
923
926
|
const entry = this.extractDeclaration(node);
|
|
924
927
|
if (entry && !isIgnoredDocEntry(entry)) {
|
|
928
|
+
const realSourceFile = node.getSourceFile();
|
|
929
|
+
entry.source = {
|
|
930
|
+
filePath: getRelativeFilePath(realSourceFile, rootDir),
|
|
931
|
+
startLine: ts10.getLineAndCharacterOfPosition(realSourceFile, node.getStart()).line + 1,
|
|
932
|
+
endLine: ts10.getLineAndCharacterOfPosition(realSourceFile, node.getEnd()).line + 1
|
|
933
|
+
};
|
|
925
934
|
entries.push({ ...entry, name: exportName });
|
|
926
935
|
}
|
|
927
936
|
}
|
|
@@ -979,12 +988,17 @@ function isIgnoredDocEntry(entry) {
|
|
|
979
988
|
}
|
|
980
989
|
return isDocsPrivate !== void 0;
|
|
981
990
|
}
|
|
991
|
+
function getRelativeFilePath(sourceFile, rootDir) {
|
|
992
|
+
const fullPath = sourceFile.fileName;
|
|
993
|
+
const relativePath = fullPath.replace(rootDir, "");
|
|
994
|
+
return relativePath;
|
|
995
|
+
}
|
|
982
996
|
|
|
983
|
-
// bazel-out/
|
|
997
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
984
998
|
import { HtmlParser, MessageBundle } from "@angular/compiler";
|
|
985
999
|
import ts43 from "typescript";
|
|
986
1000
|
|
|
987
|
-
// bazel-out/
|
|
1001
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
988
1002
|
import { Xliff, Xliff2, Xmb } from "@angular/compiler";
|
|
989
1003
|
import * as path from "path";
|
|
990
1004
|
function i18nGetExtension(formatName) {
|
|
@@ -1035,10 +1049,10 @@ function getPathNormalizer(basePath) {
|
|
|
1035
1049
|
};
|
|
1036
1050
|
}
|
|
1037
1051
|
|
|
1038
|
-
// bazel-out/
|
|
1052
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
1039
1053
|
import ts11 from "typescript";
|
|
1040
1054
|
|
|
1041
|
-
// bazel-out/
|
|
1055
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
|
|
1042
1056
|
function toNumbers(value) {
|
|
1043
1057
|
const suffixIndex = value.lastIndexOf("-");
|
|
1044
1058
|
return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
|
|
@@ -1073,7 +1087,7 @@ function compareVersions(v1, v2) {
|
|
|
1073
1087
|
return compareNumbers(toNumbers(v1), toNumbers(v2));
|
|
1074
1088
|
}
|
|
1075
1089
|
|
|
1076
|
-
// bazel-out/
|
|
1090
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
1077
1091
|
var MIN_TS_VERSION = "5.4.0";
|
|
1078
1092
|
var MAX_TS_VERSION = "5.5.0";
|
|
1079
1093
|
var tsVersion = ts11.version;
|
|
@@ -1086,11 +1100,11 @@ function verifySupportedTypeScriptVersion() {
|
|
|
1086
1100
|
checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
|
|
1087
1101
|
}
|
|
1088
1102
|
|
|
1089
|
-
// bazel-out/
|
|
1103
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
1090
1104
|
import { R3Identifiers as R3Identifiers5 } from "@angular/compiler";
|
|
1091
1105
|
import ts41 from "typescript";
|
|
1092
1106
|
|
|
1093
|
-
// bazel-out/
|
|
1107
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
1094
1108
|
var CycleAnalyzer = class {
|
|
1095
1109
|
constructor(importGraph) {
|
|
1096
1110
|
this.importGraph = importGraph;
|
|
@@ -1161,7 +1175,7 @@ var Cycle = class {
|
|
|
1161
1175
|
}
|
|
1162
1176
|
};
|
|
1163
1177
|
|
|
1164
|
-
// bazel-out/
|
|
1178
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
1165
1179
|
import ts12 from "typescript";
|
|
1166
1180
|
var ImportGraph = class {
|
|
1167
1181
|
constructor(checker, perf) {
|
|
@@ -1253,7 +1267,7 @@ var Found = class {
|
|
|
1253
1267
|
}
|
|
1254
1268
|
};
|
|
1255
1269
|
|
|
1256
|
-
// bazel-out/
|
|
1270
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
1257
1271
|
import ts13 from "typescript";
|
|
1258
1272
|
var FlatIndexGenerator = class {
|
|
1259
1273
|
constructor(entryPoint, relativeFlatIndexPath, moduleName) {
|
|
@@ -1278,7 +1292,7 @@ export * from '${relativeEntryPoint}';
|
|
|
1278
1292
|
}
|
|
1279
1293
|
};
|
|
1280
1294
|
|
|
1281
|
-
// bazel-out/
|
|
1295
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
|
|
1282
1296
|
function findFlatIndexEntryPoint(rootFiles) {
|
|
1283
1297
|
const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
|
|
1284
1298
|
let resolvedEntryPoint = null;
|
|
@@ -1294,7 +1308,7 @@ function findFlatIndexEntryPoint(rootFiles) {
|
|
|
1294
1308
|
return resolvedEntryPoint;
|
|
1295
1309
|
}
|
|
1296
1310
|
|
|
1297
|
-
// bazel-out/
|
|
1311
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
1298
1312
|
import ts14 from "typescript";
|
|
1299
1313
|
function checkForPrivateExports(entryPoint, checker, refGraph) {
|
|
1300
1314
|
const diagnostics = [];
|
|
@@ -1374,7 +1388,7 @@ function getDescriptorOfDeclaration(decl) {
|
|
|
1374
1388
|
}
|
|
1375
1389
|
}
|
|
1376
1390
|
|
|
1377
|
-
// bazel-out/
|
|
1391
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
|
|
1378
1392
|
var ReferenceGraph = class {
|
|
1379
1393
|
constructor() {
|
|
1380
1394
|
this.references = /* @__PURE__ */ new Map();
|
|
@@ -1428,7 +1442,7 @@ var ReferenceGraph = class {
|
|
|
1428
1442
|
}
|
|
1429
1443
|
};
|
|
1430
1444
|
|
|
1431
|
-
// bazel-out/
|
|
1445
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
1432
1446
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
1433
1447
|
var UpdateMode;
|
|
1434
1448
|
(function(UpdateMode2) {
|
|
@@ -1436,13 +1450,13 @@ var UpdateMode;
|
|
|
1436
1450
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
1437
1451
|
})(UpdateMode || (UpdateMode = {}));
|
|
1438
1452
|
|
|
1439
|
-
// bazel-out/
|
|
1453
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
1440
1454
|
import ts16 from "typescript";
|
|
1441
1455
|
|
|
1442
|
-
// bazel-out/
|
|
1456
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
1443
1457
|
import ts15 from "typescript";
|
|
1444
1458
|
|
|
1445
|
-
// bazel-out/
|
|
1459
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
1446
1460
|
var NgExtension = Symbol("NgExtension");
|
|
1447
1461
|
function isExtended(sf) {
|
|
1448
1462
|
return sf[NgExtension] !== void 0;
|
|
@@ -1502,13 +1516,13 @@ function retagTsFile(sf) {
|
|
|
1502
1516
|
}
|
|
1503
1517
|
}
|
|
1504
1518
|
|
|
1505
|
-
// bazel-out/
|
|
1519
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
|
|
1506
1520
|
var TS_EXTENSIONS = /\.tsx?$/i;
|
|
1507
1521
|
function makeShimFileName(fileName, suffix) {
|
|
1508
1522
|
return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
|
|
1509
1523
|
}
|
|
1510
1524
|
|
|
1511
|
-
// bazel-out/
|
|
1525
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
1512
1526
|
var ShimAdapter = class {
|
|
1513
1527
|
constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
|
|
1514
1528
|
this.delegate = delegate;
|
|
@@ -1603,7 +1617,7 @@ var ShimAdapter = class {
|
|
|
1603
1617
|
}
|
|
1604
1618
|
};
|
|
1605
1619
|
|
|
1606
|
-
// bazel-out/
|
|
1620
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
|
|
1607
1621
|
var ShimReferenceTagger = class {
|
|
1608
1622
|
constructor(shimExtensions) {
|
|
1609
1623
|
this.tagged = /* @__PURE__ */ new Set();
|
|
@@ -1637,7 +1651,7 @@ var ShimReferenceTagger = class {
|
|
|
1637
1651
|
}
|
|
1638
1652
|
};
|
|
1639
1653
|
|
|
1640
|
-
// bazel-out/
|
|
1654
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
1641
1655
|
var DelegatingCompilerHost = class {
|
|
1642
1656
|
get jsDocParsingMode() {
|
|
1643
1657
|
return this.delegate.jsDocParsingMode;
|
|
@@ -1756,7 +1770,7 @@ var TsCreateProgramDriver = class {
|
|
|
1756
1770
|
}
|
|
1757
1771
|
};
|
|
1758
1772
|
|
|
1759
|
-
// bazel-out/
|
|
1773
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
|
|
1760
1774
|
var FileDependencyGraph = class {
|
|
1761
1775
|
constructor() {
|
|
1762
1776
|
this.nodes = /* @__PURE__ */ new Map();
|
|
@@ -1823,7 +1837,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
|
|
|
1823
1837
|
return false;
|
|
1824
1838
|
}
|
|
1825
1839
|
|
|
1826
|
-
// bazel-out/
|
|
1840
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
1827
1841
|
var IncrementalStateKind;
|
|
1828
1842
|
(function(IncrementalStateKind2) {
|
|
1829
1843
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -1831,7 +1845,7 @@ var IncrementalStateKind;
|
|
|
1831
1845
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
1832
1846
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
1833
1847
|
|
|
1834
|
-
// bazel-out/
|
|
1848
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
1835
1849
|
var PhaseKind;
|
|
1836
1850
|
(function(PhaseKind2) {
|
|
1837
1851
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
@@ -2032,7 +2046,7 @@ function toOriginalSourceFile(sf) {
|
|
|
2032
2046
|
}
|
|
2033
2047
|
}
|
|
2034
2048
|
|
|
2035
|
-
// bazel-out/
|
|
2049
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
2036
2050
|
var TrackedIncrementalBuildStrategy = class {
|
|
2037
2051
|
constructor() {
|
|
2038
2052
|
this.state = null;
|
|
@@ -2068,7 +2082,7 @@ var PatchedProgramIncrementalBuildStrategy = class {
|
|
|
2068
2082
|
};
|
|
2069
2083
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
2070
2084
|
|
|
2071
|
-
// bazel-out/
|
|
2085
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
2072
2086
|
var IdentifierKind;
|
|
2073
2087
|
(function(IdentifierKind2) {
|
|
2074
2088
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -2086,7 +2100,7 @@ var AbsoluteSourceSpan = class {
|
|
|
2086
2100
|
}
|
|
2087
2101
|
};
|
|
2088
2102
|
|
|
2089
|
-
// bazel-out/
|
|
2103
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
|
|
2090
2104
|
var IndexingContext = class {
|
|
2091
2105
|
constructor() {
|
|
2092
2106
|
this.components = /* @__PURE__ */ new Set();
|
|
@@ -2096,10 +2110,10 @@ var IndexingContext = class {
|
|
|
2096
2110
|
}
|
|
2097
2111
|
};
|
|
2098
2112
|
|
|
2099
|
-
// bazel-out/
|
|
2113
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
2100
2114
|
import { ParseSourceFile } from "@angular/compiler";
|
|
2101
2115
|
|
|
2102
|
-
// bazel-out/
|
|
2116
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
2103
2117
|
import { ASTWithSource, ImplicitReceiver, PropertyRead, PropertyWrite, RecursiveAstVisitor, TmplAstBoundDeferredTrigger, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate } from "@angular/compiler";
|
|
2104
2118
|
var ExpressionVisitor = class extends RecursiveAstVisitor {
|
|
2105
2119
|
constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
|
|
@@ -2381,7 +2395,7 @@ function getTemplateIdentifiers(boundTemplate) {
|
|
|
2381
2395
|
return { identifiers: visitor.identifiers, errors: visitor.errors };
|
|
2382
2396
|
}
|
|
2383
2397
|
|
|
2384
|
-
// bazel-out/
|
|
2398
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
2385
2399
|
function generateAnalysis(context) {
|
|
2386
2400
|
const analysis = /* @__PURE__ */ new Map();
|
|
2387
2401
|
context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
|
|
@@ -2417,7 +2431,7 @@ function generateAnalysis(context) {
|
|
|
2417
2431
|
return analysis;
|
|
2418
2432
|
}
|
|
2419
2433
|
|
|
2420
|
-
// bazel-out/
|
|
2434
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
|
|
2421
2435
|
var NgModuleIndexImpl = class {
|
|
2422
2436
|
constructor(metaReader, localReader) {
|
|
2423
2437
|
this.metaReader = metaReader;
|
|
@@ -2506,7 +2520,7 @@ var NgModuleIndexImpl = class {
|
|
|
2506
2520
|
}
|
|
2507
2521
|
};
|
|
2508
2522
|
|
|
2509
|
-
// bazel-out/
|
|
2523
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
2510
2524
|
import ts17 from "typescript";
|
|
2511
2525
|
var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
2512
2526
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
@@ -2652,7 +2666,7 @@ function createLookupResolutionHost(adapter) {
|
|
|
2652
2666
|
};
|
|
2653
2667
|
}
|
|
2654
2668
|
|
|
2655
|
-
// bazel-out/
|
|
2669
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
|
|
2656
2670
|
var StandaloneComponentScopeReader = class {
|
|
2657
2671
|
constructor(metaReader, localModuleReader, dtsModuleReader) {
|
|
2658
2672
|
this.metaReader = metaReader;
|
|
@@ -2748,10 +2762,10 @@ var StandaloneComponentScopeReader = class {
|
|
|
2748
2762
|
}
|
|
2749
2763
|
};
|
|
2750
2764
|
|
|
2751
|
-
// bazel-out/
|
|
2765
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
2752
2766
|
import { CssSelector as CssSelector2, DomElementSchemaRegistry as DomElementSchemaRegistry2, ExternalExpr as ExternalExpr2, WrappedNodeExpr as WrappedNodeExpr2 } from "@angular/compiler";
|
|
2753
2767
|
|
|
2754
|
-
// bazel-out/
|
|
2768
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
2755
2769
|
import ts18 from "typescript";
|
|
2756
2770
|
function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
|
|
2757
2771
|
var _a;
|
|
@@ -2858,7 +2872,7 @@ function parseTemplateAsSourceFile(fileName, template) {
|
|
|
2858
2872
|
return ts18.createSourceFile(fileName, template, ts18.ScriptTarget.Latest, false, ts18.ScriptKind.JSX);
|
|
2859
2873
|
}
|
|
2860
2874
|
|
|
2861
|
-
// bazel-out/
|
|
2875
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
2862
2876
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
2863
2877
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
2864
2878
|
function getTemplateId(clazz) {
|
|
@@ -2875,11 +2889,11 @@ function allocateTemplateId(sf) {
|
|
|
2875
2889
|
return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
|
|
2876
2890
|
}
|
|
2877
2891
|
|
|
2878
|
-
// bazel-out/
|
|
2892
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
2879
2893
|
import { EmptyExpr, ImplicitReceiver as ImplicitReceiver2, PropertyRead as PropertyRead2, PropertyWrite as PropertyWrite2, SafePropertyRead, TmplAstReference as TmplAstReference2, TmplAstTextAttribute } from "@angular/compiler";
|
|
2880
2894
|
import ts20 from "typescript";
|
|
2881
2895
|
|
|
2882
|
-
// bazel-out/
|
|
2896
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
2883
2897
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan2 } from "@angular/compiler";
|
|
2884
2898
|
import ts19 from "typescript";
|
|
2885
2899
|
var parseSpanComment = /^(\d+),(\d+)$/;
|
|
@@ -3010,7 +3024,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
|
|
|
3010
3024
|
}) || false;
|
|
3011
3025
|
}
|
|
3012
3026
|
|
|
3013
|
-
// bazel-out/
|
|
3027
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
3014
3028
|
var CompletionEngine = class {
|
|
3015
3029
|
constructor(tcb, data, tcbPath, tcbIsShim) {
|
|
3016
3030
|
this.tcb = tcb;
|
|
@@ -4187,10 +4201,10 @@ var MagicString = class {
|
|
|
4187
4201
|
}
|
|
4188
4202
|
};
|
|
4189
4203
|
|
|
4190
|
-
// bazel-out/
|
|
4204
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
4191
4205
|
import ts33 from "typescript";
|
|
4192
4206
|
|
|
4193
|
-
// bazel-out/
|
|
4207
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
4194
4208
|
import { DomElementSchemaRegistry } from "@angular/compiler";
|
|
4195
4209
|
import ts21 from "typescript";
|
|
4196
4210
|
var REGISTRY = new DomElementSchemaRegistry();
|
|
@@ -4243,10 +4257,10 @@ var RegistryDomSchemaChecker = class {
|
|
|
4243
4257
|
}
|
|
4244
4258
|
};
|
|
4245
4259
|
|
|
4246
|
-
// bazel-out/
|
|
4260
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
4247
4261
|
import ts26 from "typescript";
|
|
4248
4262
|
|
|
4249
|
-
// bazel-out/
|
|
4263
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/reference_emit_environment.mjs
|
|
4250
4264
|
import { ExpressionType, ExternalExpr, TypeModifier } from "@angular/compiler";
|
|
4251
4265
|
var ReferenceEmitEnvironment = class {
|
|
4252
4266
|
constructor(importManager, refEmitter, reflector, contextFile) {
|
|
@@ -4277,7 +4291,7 @@ var ReferenceEmitEnvironment = class {
|
|
|
4277
4291
|
}
|
|
4278
4292
|
};
|
|
4279
4293
|
|
|
4280
|
-
// bazel-out/
|
|
4294
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
4281
4295
|
import ts22 from "typescript";
|
|
4282
4296
|
var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
|
|
4283
4297
|
ts22.SyntaxKind.ParenthesizedExpression,
|
|
@@ -4360,15 +4374,15 @@ function tsNumericExpression(value) {
|
|
|
4360
4374
|
return ts22.factory.createNumericLiteral(value);
|
|
4361
4375
|
}
|
|
4362
4376
|
|
|
4363
|
-
// bazel-out/
|
|
4377
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
4364
4378
|
import { ExpressionType as ExpressionType2, R3Identifiers as R3Identifiers2, WrappedNodeExpr } from "@angular/compiler";
|
|
4365
4379
|
import ts25 from "typescript";
|
|
4366
4380
|
|
|
4367
|
-
// bazel-out/
|
|
4381
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
4368
4382
|
import { R3Identifiers } from "@angular/compiler";
|
|
4369
4383
|
import ts24 from "typescript";
|
|
4370
4384
|
|
|
4371
|
-
// bazel-out/
|
|
4385
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
4372
4386
|
import ts23 from "typescript";
|
|
4373
4387
|
var TypeParameterEmitter = class {
|
|
4374
4388
|
constructor(typeParameters, reflector) {
|
|
@@ -4446,7 +4460,7 @@ var TypeParameterEmitter = class {
|
|
|
4446
4460
|
}
|
|
4447
4461
|
};
|
|
4448
4462
|
|
|
4449
|
-
// bazel-out/
|
|
4463
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
4450
4464
|
var TCB_FILE_IMPORT_GRAPH_PREPARE_IDENTIFIERS = [
|
|
4451
4465
|
R3Identifiers.InputSignalBrandWriteType
|
|
4452
4466
|
];
|
|
@@ -4538,7 +4552,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
|
|
|
4538
4552
|
return emitter.canEmit((ref) => env.canReferenceType(ref));
|
|
4539
4553
|
}
|
|
4540
4554
|
|
|
4541
|
-
// bazel-out/
|
|
4555
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
4542
4556
|
function generateTypeCtorDeclarationFn(env, meta, nodeTypeRef, typeParams) {
|
|
4543
4557
|
const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
|
|
4544
4558
|
const rawType = ts25.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
|
|
@@ -4661,7 +4675,7 @@ function typeParametersWithDefaultTypes(params) {
|
|
|
4661
4675
|
});
|
|
4662
4676
|
}
|
|
4663
4677
|
|
|
4664
|
-
// bazel-out/
|
|
4678
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
4665
4679
|
var Environment = class extends ReferenceEmitEnvironment {
|
|
4666
4680
|
constructor(config, importManager, refEmitter, reflector, contextFile) {
|
|
4667
4681
|
super(importManager, refEmitter, reflector, contextFile);
|
|
@@ -4736,7 +4750,7 @@ var Environment = class extends ReferenceEmitEnvironment {
|
|
|
4736
4750
|
}
|
|
4737
4751
|
};
|
|
4738
4752
|
|
|
4739
|
-
// bazel-out/
|
|
4753
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
4740
4754
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan3, TmplAstElement as TmplAstElement2 } from "@angular/compiler";
|
|
4741
4755
|
import ts27 from "typescript";
|
|
4742
4756
|
var OutOfBandDiagnosticRecorderImpl = class {
|
|
@@ -4917,7 +4931,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
|
|
|
4917
4931
|
};
|
|
4918
4932
|
}
|
|
4919
4933
|
|
|
4920
|
-
// bazel-out/
|
|
4934
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
4921
4935
|
import ts28 from "typescript";
|
|
4922
4936
|
var TypeCheckShimGenerator = class {
|
|
4923
4937
|
constructor() {
|
|
@@ -4935,11 +4949,11 @@ var TypeCheckShimGenerator = class {
|
|
|
4935
4949
|
}
|
|
4936
4950
|
};
|
|
4937
4951
|
|
|
4938
|
-
// bazel-out/
|
|
4952
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
4939
4953
|
import { BindingPipe, BindingType, Call as Call2, createCssSelectorFromNode, CssSelector, DYNAMIC_TYPE, ImplicitReceiver as ImplicitReceiver3, ParsedEventType, PropertyRead as PropertyRead4, PropertyWrite as PropertyWrite3, R3Identifiers as R3Identifiers3, SafeCall, SafePropertyRead as SafePropertyRead3, SelectorMatcher, ThisReceiver, TmplAstBoundAttribute, TmplAstBoundText, TmplAstContent, TmplAstDeferredBlock, TmplAstElement as TmplAstElement3, TmplAstForLoopBlock, TmplAstIcu, TmplAstIfBlock, TmplAstIfBlockBranch, TmplAstReference as TmplAstReference3, TmplAstSwitchBlock, TmplAstTemplate as TmplAstTemplate2, TmplAstText, TmplAstTextAttribute as TmplAstTextAttribute2, TmplAstVariable, TransplantedType } from "@angular/compiler";
|
|
4940
4954
|
import ts31 from "typescript";
|
|
4941
4955
|
|
|
4942
|
-
// bazel-out/
|
|
4956
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
4943
4957
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan4 } from "@angular/compiler";
|
|
4944
4958
|
import ts29 from "typescript";
|
|
4945
4959
|
function wrapForDiagnostics(expr) {
|
|
@@ -4985,7 +4999,7 @@ function translateDiagnostic(diagnostic, resolver) {
|
|
|
4985
4999
|
return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
|
|
4986
5000
|
}
|
|
4987
5001
|
|
|
4988
|
-
// bazel-out/
|
|
5002
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
4989
5003
|
import { ASTWithSource as ASTWithSource2, Call, EmptyExpr as EmptyExpr2, PropertyRead as PropertyRead3, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
|
|
4990
5004
|
import ts30 from "typescript";
|
|
4991
5005
|
var NULL_AS_ANY = ts30.factory.createAsExpression(ts30.factory.createNull(), ts30.factory.createKeywordTypeNode(ts30.SyntaxKind.AnyKeyword));
|
|
@@ -5318,7 +5332,7 @@ var VeSafeLhsInferenceBugDetector = _VeSafeLhsInferenceBugDetector;
|
|
|
5318
5332
|
_VeSafeLhsInferenceBugDetector.SINGLETON = new _VeSafeLhsInferenceBugDetector();
|
|
5319
5333
|
})();
|
|
5320
5334
|
|
|
5321
|
-
// bazel-out/
|
|
5335
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
5322
5336
|
var TcbGenericContextBehavior;
|
|
5323
5337
|
(function(TcbGenericContextBehavior2) {
|
|
5324
5338
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -6085,16 +6099,20 @@ var TcbIfOp = class extends TcbOp {
|
|
|
6085
6099
|
return void 0;
|
|
6086
6100
|
}
|
|
6087
6101
|
if (branch.expression === null) {
|
|
6088
|
-
const branchScope =
|
|
6102
|
+
const branchScope = this.getBranchScope(this.scope, branch, index);
|
|
6089
6103
|
return ts31.factory.createBlock(branchScope.render());
|
|
6090
6104
|
}
|
|
6091
6105
|
const expressionScope = Scope.forNodes(this.tcb, this.scope, branch, [], null);
|
|
6092
6106
|
expressionScope.render().forEach((stmt) => this.scope.addStatement(stmt));
|
|
6093
6107
|
this.expressionScopes.set(branch, expressionScope);
|
|
6094
6108
|
const expression = branch.expressionAlias === null ? tcbExpression(branch.expression, this.tcb, expressionScope) : expressionScope.resolve(branch.expressionAlias);
|
|
6095
|
-
const bodyScope =
|
|
6109
|
+
const bodyScope = this.getBranchScope(expressionScope, branch, index);
|
|
6096
6110
|
return ts31.factory.createIfStatement(expression, ts31.factory.createBlock(bodyScope.render()), this.generateBranch(index + 1));
|
|
6097
6111
|
}
|
|
6112
|
+
getBranchScope(parentScope, branch, index) {
|
|
6113
|
+
const checkBody = this.tcb.env.config.checkControlFlowBodies;
|
|
6114
|
+
return Scope.forNodes(this.tcb, parentScope, null, checkBody ? branch.children : [], checkBody ? this.generateBranchGuard(index) : null);
|
|
6115
|
+
}
|
|
6098
6116
|
generateBranchGuard(index) {
|
|
6099
6117
|
let guard = null;
|
|
6100
6118
|
for (let i = 0; i <= index; i++) {
|
|
@@ -6132,7 +6150,8 @@ var TcbSwitchOp = class extends TcbOp {
|
|
|
6132
6150
|
execute() {
|
|
6133
6151
|
const switchExpression = tcbExpression(this.block.expression, this.tcb, this.scope);
|
|
6134
6152
|
const clauses = this.block.cases.map((current) => {
|
|
6135
|
-
const
|
|
6153
|
+
const checkBody = this.tcb.env.config.checkControlFlowBodies;
|
|
6154
|
+
const clauseScope = Scope.forNodes(this.tcb, this.scope, null, checkBody ? current.children : [], checkBody ? this.generateGuard(current, switchExpression) : null);
|
|
6136
6155
|
const statements = [...clauseScope.render(), ts31.factory.createBreakStatement()];
|
|
6137
6156
|
return current.expression === null ? ts31.factory.createDefaultClause(statements) : ts31.factory.createCaseClause(tcbExpression(current.expression, this.tcb, clauseScope), statements);
|
|
6138
6157
|
});
|
|
@@ -6173,7 +6192,7 @@ var TcbForOfOp = class extends TcbOp {
|
|
|
6173
6192
|
return false;
|
|
6174
6193
|
}
|
|
6175
6194
|
execute() {
|
|
6176
|
-
const loopScope = Scope.forNodes(this.tcb, this.scope, this.block, this.block.children, null);
|
|
6195
|
+
const loopScope = Scope.forNodes(this.tcb, this.scope, this.block, this.tcb.env.config.checkControlFlowBodies ? this.block.children : [], null);
|
|
6177
6196
|
const initializerId = loopScope.resolve(this.block.item);
|
|
6178
6197
|
if (!ts31.isIdentifier(initializerId)) {
|
|
6179
6198
|
throw new Error(`Could not resolve for loop variable ${this.block.item.name} to an identifier`);
|
|
@@ -6384,7 +6403,7 @@ var _Scope = class {
|
|
|
6384
6403
|
this.opQueue.push(new TcbSwitchOp(this.tcb, this, node));
|
|
6385
6404
|
} else if (node instanceof TmplAstForLoopBlock) {
|
|
6386
6405
|
this.opQueue.push(new TcbForOfOp(this.tcb, this, node));
|
|
6387
|
-
node.empty && this.appendChildren(node.empty);
|
|
6406
|
+
node.empty && this.tcb.env.config.checkControlFlowBodies && this.appendChildren(node.empty);
|
|
6388
6407
|
} else if (node instanceof TmplAstBoundText) {
|
|
6389
6408
|
this.opQueue.push(new TcbExpressionOp(this.tcb, this, node.value));
|
|
6390
6409
|
} else if (node instanceof TmplAstIcu) {
|
|
@@ -6826,7 +6845,7 @@ var TcbForLoopTrackTranslator = class extends TcbExpressionTranslator {
|
|
|
6826
6845
|
}
|
|
6827
6846
|
};
|
|
6828
6847
|
|
|
6829
|
-
// bazel-out/
|
|
6848
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
6830
6849
|
import ts32 from "typescript";
|
|
6831
6850
|
var TypeCheckFile = class extends Environment {
|
|
6832
6851
|
constructor(fileName, config, refEmitter, reflector, compilerHost) {
|
|
@@ -6874,7 +6893,7 @@ var TypeCheckFile = class extends Environment {
|
|
|
6874
6893
|
}
|
|
6875
6894
|
};
|
|
6876
6895
|
|
|
6877
|
-
// bazel-out/
|
|
6896
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
6878
6897
|
var InliningMode;
|
|
6879
6898
|
(function(InliningMode2) {
|
|
6880
6899
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
@@ -7126,10 +7145,10 @@ var TypeCtorOp = class {
|
|
|
7126
7145
|
}
|
|
7127
7146
|
};
|
|
7128
7147
|
|
|
7129
|
-
// bazel-out/
|
|
7148
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
7130
7149
|
import { ParseLocation, ParseSourceSpan } from "@angular/compiler";
|
|
7131
7150
|
|
|
7132
|
-
// bazel-out/
|
|
7151
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
|
|
7133
7152
|
var LF_CHAR = 10;
|
|
7134
7153
|
var CR_CHAR = 13;
|
|
7135
7154
|
var LINE_SEP_CHAR = 8232;
|
|
@@ -7170,7 +7189,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
|
|
|
7170
7189
|
return low - 1;
|
|
7171
7190
|
}
|
|
7172
7191
|
|
|
7173
|
-
// bazel-out/
|
|
7192
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
7174
7193
|
var TemplateSource = class {
|
|
7175
7194
|
constructor(mapping, file) {
|
|
7176
7195
|
this.mapping = mapping;
|
|
@@ -7221,7 +7240,7 @@ var TemplateSourceManager = class {
|
|
|
7221
7240
|
}
|
|
7222
7241
|
};
|
|
7223
7242
|
|
|
7224
|
-
// bazel-out/
|
|
7243
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
7225
7244
|
import { AST, ASTWithSource as ASTWithSource3, BindingPipe as BindingPipe2, PropertyRead as PropertyRead5, PropertyWrite as PropertyWrite4, R3Identifiers as R3Identifiers4, SafePropertyRead as SafePropertyRead4, TmplAstBoundAttribute as TmplAstBoundAttribute2, TmplAstBoundEvent, TmplAstElement as TmplAstElement4, TmplAstReference as TmplAstReference4, TmplAstTemplate as TmplAstTemplate3, TmplAstTextAttribute as TmplAstTextAttribute3, TmplAstVariable as TmplAstVariable2 } from "@angular/compiler";
|
|
7226
7245
|
import ts34 from "typescript";
|
|
7227
7246
|
var SymbolBuilder = class {
|
|
@@ -7739,7 +7758,7 @@ function unwrapSignalInputWriteTAccessor(expr) {
|
|
|
7739
7758
|
};
|
|
7740
7759
|
}
|
|
7741
7760
|
|
|
7742
|
-
// bazel-out/
|
|
7761
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
7743
7762
|
var REGISTRY2 = new DomElementSchemaRegistry2();
|
|
7744
7763
|
var TemplateTypeCheckerImpl = class {
|
|
7745
7764
|
constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, metaReader, localMetaReader, ngModuleIndex, componentScopeReader, typeCheckScopeRegistry, perf) {
|
|
@@ -8440,10 +8459,10 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
|
|
|
8440
8459
|
}
|
|
8441
8460
|
};
|
|
8442
8461
|
|
|
8443
|
-
// bazel-out/
|
|
8462
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
|
|
8444
8463
|
import { Interpolation, PropertyRead as PropertyRead6 } from "@angular/compiler";
|
|
8445
8464
|
|
|
8446
|
-
// bazel-out/
|
|
8465
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/symbol_util.mjs
|
|
8447
8466
|
import ts35 from "typescript";
|
|
8448
8467
|
var SIGNAL_FNS = /* @__PURE__ */ new Set([
|
|
8449
8468
|
"WritableSignal",
|
|
@@ -8463,7 +8482,7 @@ function isSignalSymbol(symbol) {
|
|
|
8463
8482
|
});
|
|
8464
8483
|
}
|
|
8465
8484
|
|
|
8466
|
-
// bazel-out/
|
|
8485
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
8467
8486
|
import { ASTWithSource as ASTWithSource4, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstBoundDeferredTrigger as TmplAstBoundDeferredTrigger2 } from "@angular/compiler";
|
|
8468
8487
|
var TemplateCheckWithVisitor = class {
|
|
8469
8488
|
run(ctx, component, template) {
|
|
@@ -8588,7 +8607,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor2 {
|
|
|
8588
8607
|
}
|
|
8589
8608
|
};
|
|
8590
8609
|
|
|
8591
|
-
// bazel-out/
|
|
8610
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
|
|
8592
8611
|
var SIGNAL_INSTANCE_PROPERTIES = /* @__PURE__ */ new Set(["set", "update", "asReadonly"]);
|
|
8593
8612
|
var FUNCTION_INSTANCE_PROPERTIES = /* @__PURE__ */ new Set(["name", "length", "prototype"]);
|
|
8594
8613
|
var InterpolatedSignalCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -8632,7 +8651,7 @@ var factory = {
|
|
|
8632
8651
|
create: () => new InterpolatedSignalCheck()
|
|
8633
8652
|
};
|
|
8634
8653
|
|
|
8635
|
-
// bazel-out/
|
|
8654
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
8636
8655
|
import { TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
|
|
8637
8656
|
var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
8638
8657
|
constructor() {
|
|
@@ -8658,7 +8677,7 @@ var factory2 = {
|
|
|
8658
8677
|
create: () => new InvalidBananaInBoxCheck()
|
|
8659
8678
|
};
|
|
8660
8679
|
|
|
8661
|
-
// bazel-out/
|
|
8680
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
|
|
8662
8681
|
import { TmplAstTemplate as TmplAstTemplate4 } from "@angular/compiler";
|
|
8663
8682
|
var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
|
|
8664
8683
|
["ngIf", { directive: "NgIf", builtIn: "@if" }],
|
|
@@ -8703,7 +8722,7 @@ var factory3 = {
|
|
|
8703
8722
|
}
|
|
8704
8723
|
};
|
|
8705
8724
|
|
|
8706
|
-
// bazel-out/
|
|
8725
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
|
|
8707
8726
|
import { TmplAstTemplate as TmplAstTemplate5 } from "@angular/compiler";
|
|
8708
8727
|
var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
|
|
8709
8728
|
constructor() {
|
|
@@ -8736,7 +8755,7 @@ var factory4 = {
|
|
|
8736
8755
|
create: () => new MissingNgForOfLetCheck()
|
|
8737
8756
|
};
|
|
8738
8757
|
|
|
8739
|
-
// bazel-out/
|
|
8758
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
8740
8759
|
import { Binary } from "@angular/compiler";
|
|
8741
8760
|
import ts36 from "typescript";
|
|
8742
8761
|
var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -8781,7 +8800,7 @@ var factory5 = {
|
|
|
8781
8800
|
}
|
|
8782
8801
|
};
|
|
8783
8802
|
|
|
8784
|
-
// bazel-out/
|
|
8803
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
|
|
8785
8804
|
import { SafeCall as SafeCall2, SafeKeyedRead as SafeKeyedRead2, SafePropertyRead as SafePropertyRead5 } from "@angular/compiler";
|
|
8786
8805
|
import ts37 from "typescript";
|
|
8787
8806
|
var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -8827,7 +8846,7 @@ var factory6 = {
|
|
|
8827
8846
|
}
|
|
8828
8847
|
};
|
|
8829
8848
|
|
|
8830
|
-
// bazel-out/
|
|
8849
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
|
|
8831
8850
|
import { TmplAstBoundAttribute as TmplAstBoundAttribute3 } from "@angular/compiler";
|
|
8832
8851
|
var STYLE_SUFFIXES = ["px", "%", "em"];
|
|
8833
8852
|
var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -8851,7 +8870,7 @@ var factory7 = {
|
|
|
8851
8870
|
create: () => new SuffixNotSupportedCheck()
|
|
8852
8871
|
};
|
|
8853
8872
|
|
|
8854
|
-
// bazel-out/
|
|
8873
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
|
|
8855
8874
|
import { TmplAstTextAttribute as TmplAstTextAttribute4 } from "@angular/compiler";
|
|
8856
8875
|
var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
|
|
8857
8876
|
constructor() {
|
|
@@ -8890,10 +8909,10 @@ var factory8 = {
|
|
|
8890
8909
|
create: () => new TextAttributeNotBindingSpec()
|
|
8891
8910
|
};
|
|
8892
8911
|
|
|
8893
|
-
// bazel-out/
|
|
8912
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
8894
8913
|
import ts38 from "typescript";
|
|
8895
8914
|
|
|
8896
|
-
// bazel-out/
|
|
8915
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
|
|
8897
8916
|
var DiagnosticCategoryLabel;
|
|
8898
8917
|
(function(DiagnosticCategoryLabel2) {
|
|
8899
8918
|
DiagnosticCategoryLabel2["Warning"] = "warning";
|
|
@@ -8901,7 +8920,7 @@ var DiagnosticCategoryLabel;
|
|
|
8901
8920
|
DiagnosticCategoryLabel2["Suppress"] = "suppress";
|
|
8902
8921
|
})(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
|
|
8903
8922
|
|
|
8904
|
-
// bazel-out/
|
|
8923
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
8905
8924
|
var ExtendedTemplateCheckerImpl = class {
|
|
8906
8925
|
constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
|
|
8907
8926
|
var _a, _b, _c, _d, _e;
|
|
@@ -8954,7 +8973,7 @@ function assertNever(value) {
|
|
|
8954
8973
|
${value}`);
|
|
8955
8974
|
}
|
|
8956
8975
|
|
|
8957
|
-
// bazel-out/
|
|
8976
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
|
|
8958
8977
|
var ALL_DIAGNOSTIC_FACTORIES = [
|
|
8959
8978
|
factory2,
|
|
8960
8979
|
factory5,
|
|
@@ -8970,7 +8989,7 @@ var SUPPORTED_DIAGNOSTIC_NAMES = /* @__PURE__ */ new Set([
|
|
|
8970
8989
|
...ALL_DIAGNOSTIC_FACTORIES.map((factory9) => factory9.name)
|
|
8971
8990
|
]);
|
|
8972
8991
|
|
|
8973
|
-
// bazel-out/
|
|
8992
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/template_semantics/src/template_semantics_checker.mjs
|
|
8974
8993
|
import { ASTWithSource as ASTWithSource5, ImplicitReceiver as ImplicitReceiver4, ParsedEventType as ParsedEventType2, RecursiveAstVisitor as RecursiveAstVisitor3, TmplAstBoundEvent as TmplAstBoundEvent3, TmplAstRecursiveVisitor as TmplAstRecursiveVisitor2, TmplAstVariable as TmplAstVariable3 } from "@angular/compiler";
|
|
8975
8994
|
import ts39 from "typescript";
|
|
8976
8995
|
var TemplateSemanticsCheckerImpl = class {
|
|
@@ -9052,7 +9071,7 @@ function unwrapAstWithSource(ast) {
|
|
|
9052
9071
|
return ast instanceof ASTWithSource5 ? ast.ast : ast;
|
|
9053
9072
|
}
|
|
9054
9073
|
|
|
9055
|
-
// bazel-out/
|
|
9074
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/rules/initializer_api_usage_rule.mjs
|
|
9056
9075
|
import ts40 from "typescript";
|
|
9057
9076
|
var APIS_TO_CHECK = [
|
|
9058
9077
|
INPUT_INITIALIZER_FN,
|
|
@@ -9103,7 +9122,7 @@ var InitializerApiUsageRule = class {
|
|
|
9103
9122
|
}
|
|
9104
9123
|
};
|
|
9105
9124
|
|
|
9106
|
-
// bazel-out/
|
|
9125
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/source_file_validator.mjs
|
|
9107
9126
|
var SourceFileValidator = class {
|
|
9108
9127
|
constructor(reflector, importedSymbolsTracker) {
|
|
9109
9128
|
this.rules = [new InitializerApiUsageRule(reflector, importedSymbolsTracker)];
|
|
@@ -9141,7 +9160,7 @@ var SourceFileValidator = class {
|
|
|
9141
9160
|
}
|
|
9142
9161
|
};
|
|
9143
9162
|
|
|
9144
|
-
// bazel-out/
|
|
9163
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/core_version.mjs
|
|
9145
9164
|
function coreHasSymbol(program, symbol) {
|
|
9146
9165
|
const checker = program.getTypeChecker();
|
|
9147
9166
|
for (const sf of program.getSourceFiles().filter(isMaybeCore)) {
|
|
@@ -9160,7 +9179,7 @@ function isMaybeCore(sf) {
|
|
|
9160
9179
|
return sf.isDeclarationFile && sf.fileName.includes("@angular/core") && sf.fileName.endsWith("index.d.ts");
|
|
9161
9180
|
}
|
|
9162
9181
|
|
|
9163
|
-
// bazel-out/
|
|
9182
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/feature_detection.mjs
|
|
9164
9183
|
import semver from "semver";
|
|
9165
9184
|
function coreVersionSupportsFeature(coreVersion, minVersion) {
|
|
9166
9185
|
if (coreVersion === `0.0.0-${"PLACEHOLDER"}`) {
|
|
@@ -9169,7 +9188,7 @@ function coreVersionSupportsFeature(coreVersion, minVersion) {
|
|
|
9169
9188
|
return semver.satisfies(coreVersion, minVersion);
|
|
9170
9189
|
}
|
|
9171
9190
|
|
|
9172
|
-
// bazel-out/
|
|
9191
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
9173
9192
|
var CompilationTicketKind;
|
|
9174
9193
|
(function(CompilationTicketKind2) {
|
|
9175
9194
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -9480,7 +9499,8 @@ var NgCompiler = class {
|
|
|
9480
9499
|
if (!entryPointSourceFile) {
|
|
9481
9500
|
throw new Error(`Entry point "${entryPoint}" not found in program sources.`);
|
|
9482
9501
|
}
|
|
9483
|
-
|
|
9502
|
+
const rootDir = this.inputProgram.getCurrentDirectory();
|
|
9503
|
+
return docsExtractor.extractAll(entryPointSourceFile, rootDir);
|
|
9484
9504
|
}
|
|
9485
9505
|
xi18n(ctx) {
|
|
9486
9506
|
const compilation = this.ensureAnalyzed();
|
|
@@ -9530,6 +9550,7 @@ var NgCompiler = class {
|
|
|
9530
9550
|
alwaysCheckSchemaInTemplateBodies: true,
|
|
9531
9551
|
checkTypeOfInputBindings: strictTemplates,
|
|
9532
9552
|
honorAccessModifiersForInputBindings: false,
|
|
9553
|
+
checkControlFlowBodies: true,
|
|
9533
9554
|
strictNullInputBindings: strictTemplates,
|
|
9534
9555
|
checkTypeOfAttributes: strictTemplates,
|
|
9535
9556
|
checkTypeOfDomBindings: false,
|
|
@@ -9553,6 +9574,7 @@ var NgCompiler = class {
|
|
|
9553
9574
|
applyTemplateContextGuards: false,
|
|
9554
9575
|
checkQueries: false,
|
|
9555
9576
|
checkTemplateBodies: false,
|
|
9577
|
+
checkControlFlowBodies: false,
|
|
9556
9578
|
alwaysCheckSchemaInTemplateBodies: this.closureCompilerEnabled,
|
|
9557
9579
|
checkTypeOfInputBindings: false,
|
|
9558
9580
|
strictNullInputBindings: false,
|
|
@@ -9961,7 +9983,7 @@ function versionMapFromProgram(program, driver) {
|
|
|
9961
9983
|
return versions;
|
|
9962
9984
|
}
|
|
9963
9985
|
|
|
9964
|
-
// bazel-out/
|
|
9986
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
9965
9987
|
import ts42 from "typescript";
|
|
9966
9988
|
var DelegatingCompilerHost2 = class {
|
|
9967
9989
|
get jsDocParsingMode() {
|
|
@@ -10100,7 +10122,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
|
|
|
10100
10122
|
}
|
|
10101
10123
|
};
|
|
10102
10124
|
|
|
10103
|
-
// bazel-out/
|
|
10125
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
10104
10126
|
var NgtscProgram = class {
|
|
10105
10127
|
constructor(rootNames, options, delegateHost, oldProgram) {
|
|
10106
10128
|
this.options = options;
|
|
@@ -10327,15 +10349,15 @@ function mergeEmitResults(emitResults) {
|
|
|
10327
10349
|
return { diagnostics, emitSkipped, emittedFiles };
|
|
10328
10350
|
}
|
|
10329
10351
|
|
|
10330
|
-
// bazel-out/
|
|
10352
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
10331
10353
|
function createProgram({ rootNames, options, host, oldProgram }) {
|
|
10332
10354
|
return new NgtscProgram(rootNames, options, host, oldProgram);
|
|
10333
10355
|
}
|
|
10334
10356
|
|
|
10335
|
-
// bazel-out/
|
|
10357
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
10336
10358
|
import ts45 from "typescript";
|
|
10337
10359
|
|
|
10338
|
-
// bazel-out/
|
|
10360
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
10339
10361
|
import ts44 from "typescript";
|
|
10340
10362
|
function createMessageDiagnostic(messageText) {
|
|
10341
10363
|
return {
|
|
@@ -10349,7 +10371,7 @@ function createMessageDiagnostic(messageText) {
|
|
|
10349
10371
|
};
|
|
10350
10372
|
}
|
|
10351
10373
|
|
|
10352
|
-
// bazel-out/
|
|
10374
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
10353
10375
|
var defaultFormatHost = {
|
|
10354
10376
|
getCurrentDirectory: () => ts45.sys.getCurrentDirectory(),
|
|
10355
10377
|
getCanonicalFileName: (fileName) => fileName,
|
|
@@ -10538,6 +10560,7 @@ export {
|
|
|
10538
10560
|
MemberType,
|
|
10539
10561
|
DecoratorType,
|
|
10540
10562
|
MemberTags,
|
|
10563
|
+
isDocEntryWithSourceInfo,
|
|
10541
10564
|
DocsExtractor,
|
|
10542
10565
|
untagAllTsFiles,
|
|
10543
10566
|
TsCreateProgramDriver,
|
|
@@ -10570,4 +10593,4 @@ export {
|
|
|
10570
10593
|
* Use of this source code is governed by an MIT-style license that can be
|
|
10571
10594
|
* found in the LICENSE file at https://angular.io/license
|
|
10572
10595
|
*/
|
|
10573
|
-
//# sourceMappingURL=chunk-
|
|
10596
|
+
//# sourceMappingURL=chunk-JJY5IERQ.js.map
|