@angular/compiler-cli 19.0.0-next.0 → 19.0.0-next.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-JA5OGHV4.js → chunk-4R27633S.js} +3 -3
- package/bundles/{chunk-WYWH4ABE.js → chunk-5DVL3S3Z.js} +43 -43
- package/bundles/{chunk-KCKRBU6N.js → chunk-B4ZOGV3N.js} +31 -31
- package/bundles/{chunk-TOHNTVMY.js → chunk-LYN2P66H.js} +86 -84
- package/bundles/chunk-LYN2P66H.js.map +6 -0
- package/bundles/{chunk-2SSA4Y5F.js → chunk-R3PIQMGX.js} +178 -178
- package/bundles/chunk-R3PIQMGX.js.map +6 -0
- package/bundles/{chunk-LYJKWJUC.js → chunk-SBDNBITT.js} +3 -3
- package/bundles/{chunk-ERN7RQQ7.js → chunk-THQF5ZZE.js} +5 -5
- package/bundles/{chunk-ZHNORXPH.js → chunk-W4UV2VRG.js} +12 -12
- package/bundles/{chunk-QYV344EV.js → chunk-WR7TUJ7M.js} +7 -7
- package/bundles/{chunk-3W345P4E.js → chunk-XNL3EK5H.js} +7 -7
- package/bundles/{chunk-QTQ6EDMV.js → chunk-YFWSLIDV.js} +5 -5
- package/bundles/index.js +12 -12
- 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 +4 -4
- package/bundles/private/tooling.js +6 -6
- 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/annotations/component/src/handler.d.ts +2 -1
- package/src/ngtsc/annotations/component/src/resources.d.ts +4 -3
- package/src/ngtsc/core/api/src/public_options.d.ts +7 -0
- package/bundles/chunk-2SSA4Y5F.js.map +0 -6
- package/bundles/chunk-TOHNTVMY.js.map +0 -6
- /package/bundles/{chunk-JA5OGHV4.js.map → chunk-4R27633S.js.map} +0 -0
- /package/bundles/{chunk-WYWH4ABE.js.map → chunk-5DVL3S3Z.js.map} +0 -0
- /package/bundles/{chunk-KCKRBU6N.js.map → chunk-B4ZOGV3N.js.map} +0 -0
- /package/bundles/{chunk-LYJKWJUC.js.map → chunk-SBDNBITT.js.map} +0 -0
- /package/bundles/{chunk-ERN7RQQ7.js.map → chunk-THQF5ZZE.js.map} +0 -0
- /package/bundles/{chunk-ZHNORXPH.js.map → chunk-W4UV2VRG.js.map} +0 -0
- /package/bundles/{chunk-QYV344EV.js.map → chunk-WR7TUJ7M.js.map} +0 -0
- /package/bundles/{chunk-3W345P4E.js.map → chunk-XNL3EK5H.js.map} +0 -0
- /package/bundles/{chunk-QTQ6EDMV.js.map → chunk-YFWSLIDV.js.map} +0 -0
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
angularJitApplicationTransform
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-W4UV2VRG.js";
|
|
8
8
|
import {
|
|
9
9
|
CompilationMode,
|
|
10
10
|
ComponentDecoratorHandler,
|
|
@@ -51,7 +51,7 @@ import {
|
|
|
51
51
|
retagAllTsFiles,
|
|
52
52
|
tryParseInitializerApi,
|
|
53
53
|
untagAllTsFiles
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-R3PIQMGX.js";
|
|
55
55
|
import {
|
|
56
56
|
AbsoluteModuleStrategy,
|
|
57
57
|
AliasStrategy,
|
|
@@ -87,14 +87,14 @@ import {
|
|
|
87
87
|
relativePathBetween,
|
|
88
88
|
replaceTsWithNgInErrors,
|
|
89
89
|
toUnredirectedSourceFile
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-5DVL3S3Z.js";
|
|
91
91
|
import {
|
|
92
92
|
ActivePerfRecorder,
|
|
93
93
|
DelegatingPerfRecorder,
|
|
94
94
|
PerfCheckpoint,
|
|
95
95
|
PerfEvent,
|
|
96
96
|
PerfPhase
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-THQF5ZZE.js";
|
|
98
98
|
import {
|
|
99
99
|
LogicalFileSystem,
|
|
100
100
|
absoluteFrom,
|
|
@@ -103,9 +103,9 @@ import {
|
|
|
103
103
|
getFileSystem,
|
|
104
104
|
join,
|
|
105
105
|
resolve
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-XNL3EK5H.js";
|
|
107
107
|
|
|
108
|
-
// bazel-out/
|
|
108
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
109
109
|
var DEFAULT_ERROR_CODE = 100;
|
|
110
110
|
var UNKNOWN_ERROR_CODE = 500;
|
|
111
111
|
var SOURCE = "angular";
|
|
@@ -123,7 +123,7 @@ var EmitFlags;
|
|
|
123
123
|
EmitFlags2[EmitFlags2["All"] = 31] = "All";
|
|
124
124
|
})(EmitFlags || (EmitFlags = {}));
|
|
125
125
|
|
|
126
|
-
// bazel-out/
|
|
126
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
127
127
|
import ts from "typescript";
|
|
128
128
|
var wrapHostForTest = null;
|
|
129
129
|
function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, true) }) {
|
|
@@ -133,7 +133,7 @@ function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, t
|
|
|
133
133
|
return tsHost;
|
|
134
134
|
}
|
|
135
135
|
|
|
136
|
-
// bazel-out/
|
|
136
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/entities.mjs
|
|
137
137
|
var EntryType;
|
|
138
138
|
(function(EntryType2) {
|
|
139
139
|
EntryType2["Block"] = "block";
|
|
@@ -180,23 +180,23 @@ function isDocEntryWithSourceInfo(entry) {
|
|
|
180
180
|
return "source" in entry;
|
|
181
181
|
}
|
|
182
182
|
|
|
183
|
-
// bazel-out/
|
|
183
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
|
|
184
184
|
import ts10 from "typescript";
|
|
185
185
|
|
|
186
|
-
// bazel-out/
|
|
186
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
|
|
187
187
|
import ts5 from "typescript";
|
|
188
188
|
|
|
189
|
-
// bazel-out/
|
|
189
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/filters.mjs
|
|
190
190
|
function isAngularPrivateName(name) {
|
|
191
191
|
var _a;
|
|
192
192
|
const firstChar = (_a = name[0]) != null ? _a : "";
|
|
193
193
|
return firstChar === "\u0275" || firstChar === "_";
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
// bazel-out/
|
|
196
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
|
|
197
197
|
import ts3 from "typescript";
|
|
198
198
|
|
|
199
|
-
// bazel-out/
|
|
199
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/generics_extractor.mjs
|
|
200
200
|
function extractGenerics(declaration) {
|
|
201
201
|
var _a, _b;
|
|
202
202
|
return (_b = (_a = declaration.typeParameters) == null ? void 0 : _a.map((typeParam) => {
|
|
@@ -209,7 +209,7 @@ function extractGenerics(declaration) {
|
|
|
209
209
|
})) != null ? _b : [];
|
|
210
210
|
}
|
|
211
211
|
|
|
212
|
-
// bazel-out/
|
|
212
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/jsdoc_extractor.mjs
|
|
213
213
|
import ts2 from "typescript";
|
|
214
214
|
var decoratorExpression = /@(?=(Injectable|Component|Directive|Pipe|NgModule|Input|Output|HostBinding|HostListener|Inject|Optional|Self|Host|SkipSelf|ViewChild|ViewChildren|ContentChild|ContentChildren))/g;
|
|
215
215
|
function extractJsDocTags(node) {
|
|
@@ -253,12 +253,12 @@ function unescapeAngularDecorators(comment) {
|
|
|
253
253
|
return comment.replace(/_NG_AT_/g, "@");
|
|
254
254
|
}
|
|
255
255
|
|
|
256
|
-
// bazel-out/
|
|
256
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_extractor.mjs
|
|
257
257
|
function extractResolvedTypeString(node, checker) {
|
|
258
258
|
return checker.typeToString(checker.getTypeAtLocation(node));
|
|
259
259
|
}
|
|
260
260
|
|
|
261
|
-
// bazel-out/
|
|
261
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
|
|
262
262
|
var FunctionExtractor = class {
|
|
263
263
|
constructor(name, exportDeclaration, typeChecker) {
|
|
264
264
|
this.name = name;
|
|
@@ -346,7 +346,7 @@ function findImplementationOfFunction(node, typeChecker) {
|
|
|
346
346
|
return implementation;
|
|
347
347
|
}
|
|
348
348
|
|
|
349
|
-
// bazel-out/
|
|
349
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/internal.mjs
|
|
350
350
|
import ts4 from "typescript";
|
|
351
351
|
function isInternal(member) {
|
|
352
352
|
return extractJsDocTags(member).some((tag) => tag.name === "internal") || hasLeadingInternalComment(member);
|
|
@@ -365,7 +365,7 @@ function hasLeadingInternalComment(member) {
|
|
|
365
365
|
)) != null ? _a : false;
|
|
366
366
|
}
|
|
367
367
|
|
|
368
|
-
// bazel-out/
|
|
368
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
|
|
369
369
|
var ClassExtractor = class {
|
|
370
370
|
constructor(declaration, typeChecker) {
|
|
371
371
|
this.declaration = declaration;
|
|
@@ -631,7 +631,7 @@ function extractInterface(declaration, typeChecker) {
|
|
|
631
631
|
return extractor.extract();
|
|
632
632
|
}
|
|
633
633
|
|
|
634
|
-
// bazel-out/
|
|
634
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/constant_extractor.mjs
|
|
635
635
|
import ts6 from "typescript";
|
|
636
636
|
var LITERAL_AS_ENUM_TAG = "object-literal-as-enum";
|
|
637
637
|
function extractConstant(declaration, typeChecker) {
|
|
@@ -689,7 +689,7 @@ function extractLiteralPropertiesAsEnumMembers(declaration) {
|
|
|
689
689
|
});
|
|
690
690
|
}
|
|
691
691
|
|
|
692
|
-
// bazel-out/
|
|
692
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/decorator_extractor.mjs
|
|
693
693
|
import ts7 from "typescript";
|
|
694
694
|
function extractorDecorator(declaration, typeChecker) {
|
|
695
695
|
const documentedNode = getDecoratorJsDocNode(declaration);
|
|
@@ -762,7 +762,7 @@ function getDecoratorJsDocNode(declaration) {
|
|
|
762
762
|
return callSignature;
|
|
763
763
|
}
|
|
764
764
|
|
|
765
|
-
// bazel-out/
|
|
765
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/enum_extractor.mjs
|
|
766
766
|
import ts8 from "typescript";
|
|
767
767
|
function extractEnum(declaration, typeChecker) {
|
|
768
768
|
return {
|
|
@@ -793,7 +793,7 @@ function getEnumMemberValue(memberNode) {
|
|
|
793
793
|
return (_a = literal == null ? void 0 : literal.getText()) != null ? _a : "";
|
|
794
794
|
}
|
|
795
795
|
|
|
796
|
-
// bazel-out/
|
|
796
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/initializer_api_function_extractor.mjs
|
|
797
797
|
import ts9 from "typescript";
|
|
798
798
|
var initializerApiTag = "initializerApiFunction";
|
|
799
799
|
function isInitializerApiFunction(node, typeChecker) {
|
|
@@ -902,7 +902,7 @@ function extractFunctionWithOverloads(name, type, typeChecker) {
|
|
|
902
902
|
};
|
|
903
903
|
}
|
|
904
904
|
|
|
905
|
-
// bazel-out/
|
|
905
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_alias_extractor.mjs
|
|
906
906
|
function extractTypeAlias(declaration) {
|
|
907
907
|
return {
|
|
908
908
|
name: declaration.name.getText(),
|
|
@@ -914,7 +914,7 @@ function extractTypeAlias(declaration) {
|
|
|
914
914
|
};
|
|
915
915
|
}
|
|
916
916
|
|
|
917
|
-
// bazel-out/
|
|
917
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
|
|
918
918
|
var DocsExtractor = class {
|
|
919
919
|
constructor(typeChecker, metadataReader) {
|
|
920
920
|
this.typeChecker = typeChecker;
|
|
@@ -989,11 +989,11 @@ function getRelativeFilePath(sourceFile, rootDir) {
|
|
|
989
989
|
return relativePath;
|
|
990
990
|
}
|
|
991
991
|
|
|
992
|
-
// bazel-out/
|
|
992
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
993
993
|
import { HtmlParser, MessageBundle } from "@angular/compiler";
|
|
994
994
|
import ts24 from "typescript";
|
|
995
995
|
|
|
996
|
-
// bazel-out/
|
|
996
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
997
997
|
import { Xliff, Xliff2, Xmb } from "@angular/compiler";
|
|
998
998
|
import * as path from "path";
|
|
999
999
|
function i18nGetExtension(formatName) {
|
|
@@ -1024,7 +1024,9 @@ function i18nSerialize(bundle, formatName, options) {
|
|
|
1024
1024
|
let serializer;
|
|
1025
1025
|
switch (format) {
|
|
1026
1026
|
case "xmb":
|
|
1027
|
-
serializer = new Xmb(
|
|
1027
|
+
serializer = new Xmb(
|
|
1028
|
+
options.i18nPreserveWhitespaceForLegacyExtraction
|
|
1029
|
+
);
|
|
1028
1030
|
break;
|
|
1029
1031
|
case "xliff2":
|
|
1030
1032
|
case "xlf2":
|
|
@@ -1044,10 +1046,10 @@ function getPathNormalizer(basePath) {
|
|
|
1044
1046
|
};
|
|
1045
1047
|
}
|
|
1046
1048
|
|
|
1047
|
-
// bazel-out/
|
|
1049
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
1048
1050
|
import ts11 from "typescript";
|
|
1049
1051
|
|
|
1050
|
-
// bazel-out/
|
|
1052
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
|
|
1051
1053
|
function toNumbers(value) {
|
|
1052
1054
|
const suffixIndex = value.lastIndexOf("-");
|
|
1053
1055
|
return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
|
|
@@ -1082,9 +1084,9 @@ function compareVersions(v1, v2) {
|
|
|
1082
1084
|
return compareNumbers(toNumbers(v1), toNumbers(v2));
|
|
1083
1085
|
}
|
|
1084
1086
|
|
|
1085
|
-
// bazel-out/
|
|
1087
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
1086
1088
|
var MIN_TS_VERSION = "5.4.0";
|
|
1087
|
-
var MAX_TS_VERSION = "5.
|
|
1089
|
+
var MAX_TS_VERSION = "5.7.0";
|
|
1088
1090
|
var tsVersion = ts11.version;
|
|
1089
1091
|
function checkVersion(version, minVersion, maxVersion) {
|
|
1090
1092
|
if (compareVersions(version, minVersion) < 0 || compareVersions(version, maxVersion) >= 0) {
|
|
@@ -1095,11 +1097,11 @@ function verifySupportedTypeScriptVersion() {
|
|
|
1095
1097
|
checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
|
|
1096
1098
|
}
|
|
1097
1099
|
|
|
1098
|
-
// bazel-out/
|
|
1100
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
1099
1101
|
import { R3Identifiers } from "@angular/compiler";
|
|
1100
1102
|
import ts22 from "typescript";
|
|
1101
1103
|
|
|
1102
|
-
// bazel-out/
|
|
1104
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
1103
1105
|
var CycleAnalyzer = class {
|
|
1104
1106
|
constructor(importGraph) {
|
|
1105
1107
|
this.importGraph = importGraph;
|
|
@@ -1170,7 +1172,7 @@ var Cycle = class {
|
|
|
1170
1172
|
}
|
|
1171
1173
|
};
|
|
1172
1174
|
|
|
1173
|
-
// bazel-out/
|
|
1175
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
1174
1176
|
import ts12 from "typescript";
|
|
1175
1177
|
var ImportGraph = class {
|
|
1176
1178
|
constructor(checker, perf) {
|
|
@@ -1262,7 +1264,7 @@ var Found = class {
|
|
|
1262
1264
|
}
|
|
1263
1265
|
};
|
|
1264
1266
|
|
|
1265
|
-
// bazel-out/
|
|
1267
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
1266
1268
|
import ts13 from "typescript";
|
|
1267
1269
|
var FlatIndexGenerator = class {
|
|
1268
1270
|
constructor(entryPoint, relativeFlatIndexPath, moduleName) {
|
|
@@ -1287,7 +1289,7 @@ export * from '${relativeEntryPoint}';
|
|
|
1287
1289
|
}
|
|
1288
1290
|
};
|
|
1289
1291
|
|
|
1290
|
-
// bazel-out/
|
|
1292
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
|
|
1291
1293
|
function findFlatIndexEntryPoint(rootFiles) {
|
|
1292
1294
|
const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
|
|
1293
1295
|
let resolvedEntryPoint = null;
|
|
@@ -1303,7 +1305,7 @@ function findFlatIndexEntryPoint(rootFiles) {
|
|
|
1303
1305
|
return resolvedEntryPoint;
|
|
1304
1306
|
}
|
|
1305
1307
|
|
|
1306
|
-
// bazel-out/
|
|
1308
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
1307
1309
|
import ts14 from "typescript";
|
|
1308
1310
|
function checkForPrivateExports(entryPoint, checker, refGraph) {
|
|
1309
1311
|
const diagnostics = [];
|
|
@@ -1383,7 +1385,7 @@ function getDescriptorOfDeclaration(decl) {
|
|
|
1383
1385
|
}
|
|
1384
1386
|
}
|
|
1385
1387
|
|
|
1386
|
-
// bazel-out/
|
|
1388
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
|
|
1387
1389
|
var ReferenceGraph = class {
|
|
1388
1390
|
constructor() {
|
|
1389
1391
|
this.references = /* @__PURE__ */ new Map();
|
|
@@ -1437,7 +1439,7 @@ var ReferenceGraph = class {
|
|
|
1437
1439
|
}
|
|
1438
1440
|
};
|
|
1439
1441
|
|
|
1440
|
-
// bazel-out/
|
|
1442
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
|
|
1441
1443
|
var FileDependencyGraph = class {
|
|
1442
1444
|
constructor() {
|
|
1443
1445
|
this.nodes = /* @__PURE__ */ new Map();
|
|
@@ -1504,7 +1506,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
|
|
|
1504
1506
|
return false;
|
|
1505
1507
|
}
|
|
1506
1508
|
|
|
1507
|
-
// bazel-out/
|
|
1509
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
1508
1510
|
var IncrementalStateKind;
|
|
1509
1511
|
(function(IncrementalStateKind2) {
|
|
1510
1512
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -1512,7 +1514,7 @@ var IncrementalStateKind;
|
|
|
1512
1514
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
1513
1515
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
1514
1516
|
|
|
1515
|
-
// bazel-out/
|
|
1517
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
1516
1518
|
var PhaseKind;
|
|
1517
1519
|
(function(PhaseKind2) {
|
|
1518
1520
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
@@ -1713,7 +1715,7 @@ function toOriginalSourceFile(sf) {
|
|
|
1713
1715
|
}
|
|
1714
1716
|
}
|
|
1715
1717
|
|
|
1716
|
-
// bazel-out/
|
|
1718
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
1717
1719
|
var TrackedIncrementalBuildStrategy = class {
|
|
1718
1720
|
constructor() {
|
|
1719
1721
|
this.state = null;
|
|
@@ -1749,7 +1751,7 @@ var PatchedProgramIncrementalBuildStrategy = class {
|
|
|
1749
1751
|
};
|
|
1750
1752
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
1751
1753
|
|
|
1752
|
-
// bazel-out/
|
|
1754
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
1753
1755
|
var IdentifierKind;
|
|
1754
1756
|
(function(IdentifierKind2) {
|
|
1755
1757
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -1768,7 +1770,7 @@ var AbsoluteSourceSpan = class {
|
|
|
1768
1770
|
}
|
|
1769
1771
|
};
|
|
1770
1772
|
|
|
1771
|
-
// bazel-out/
|
|
1773
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
|
|
1772
1774
|
var IndexingContext = class {
|
|
1773
1775
|
constructor() {
|
|
1774
1776
|
this.components = /* @__PURE__ */ new Set();
|
|
@@ -1778,10 +1780,10 @@ var IndexingContext = class {
|
|
|
1778
1780
|
}
|
|
1779
1781
|
};
|
|
1780
1782
|
|
|
1781
|
-
// bazel-out/
|
|
1783
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
1782
1784
|
import { ParseSourceFile } from "@angular/compiler";
|
|
1783
1785
|
|
|
1784
|
-
// bazel-out/
|
|
1786
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
1785
1787
|
import { ASTWithSource, ImplicitReceiver, PropertyRead, PropertyWrite, RecursiveAstVisitor, TmplAstBoundDeferredTrigger, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate, TmplAstVariable } from "@angular/compiler";
|
|
1786
1788
|
var ExpressionVisitor = class extends RecursiveAstVisitor {
|
|
1787
1789
|
constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
|
|
@@ -2076,7 +2078,7 @@ function getTemplateIdentifiers(boundTemplate) {
|
|
|
2076
2078
|
return { identifiers: visitor.identifiers, errors: visitor.errors };
|
|
2077
2079
|
}
|
|
2078
2080
|
|
|
2079
|
-
// bazel-out/
|
|
2081
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
2080
2082
|
function generateAnalysis(context) {
|
|
2081
2083
|
const analysis = /* @__PURE__ */ new Map();
|
|
2082
2084
|
context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
|
|
@@ -2112,7 +2114,7 @@ function generateAnalysis(context) {
|
|
|
2112
2114
|
return analysis;
|
|
2113
2115
|
}
|
|
2114
2116
|
|
|
2115
|
-
// bazel-out/
|
|
2117
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
|
|
2116
2118
|
var NgModuleIndexImpl = class {
|
|
2117
2119
|
constructor(metaReader, localReader) {
|
|
2118
2120
|
this.metaReader = metaReader;
|
|
@@ -2201,7 +2203,7 @@ var NgModuleIndexImpl = class {
|
|
|
2201
2203
|
}
|
|
2202
2204
|
};
|
|
2203
2205
|
|
|
2204
|
-
// bazel-out/
|
|
2206
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
2205
2207
|
import ts15 from "typescript";
|
|
2206
2208
|
var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
2207
2209
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
@@ -2351,7 +2353,7 @@ function createLookupResolutionHost(adapter) {
|
|
|
2351
2353
|
};
|
|
2352
2354
|
}
|
|
2353
2355
|
|
|
2354
|
-
// bazel-out/
|
|
2356
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
|
|
2355
2357
|
var StandaloneComponentScopeReader = class {
|
|
2356
2358
|
constructor(metaReader, localModuleReader, dtsModuleReader) {
|
|
2357
2359
|
this.metaReader = metaReader;
|
|
@@ -2447,10 +2449,10 @@ var StandaloneComponentScopeReader = class {
|
|
|
2447
2449
|
}
|
|
2448
2450
|
};
|
|
2449
2451
|
|
|
2450
|
-
// bazel-out/
|
|
2452
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
|
|
2451
2453
|
import { ASTWithSource as ASTWithSource3, BindingType, Interpolation, PropertyRead as PropertyRead2, TmplAstBoundAttribute } from "@angular/compiler";
|
|
2452
2454
|
|
|
2453
|
-
// bazel-out/
|
|
2455
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/symbol_util.mjs
|
|
2454
2456
|
import ts16 from "typescript";
|
|
2455
2457
|
var SIGNAL_FNS = /* @__PURE__ */ new Set([
|
|
2456
2458
|
"WritableSignal",
|
|
@@ -2470,7 +2472,7 @@ function isSignalSymbol(symbol) {
|
|
|
2470
2472
|
});
|
|
2471
2473
|
}
|
|
2472
2474
|
|
|
2473
|
-
// bazel-out/
|
|
2475
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
2474
2476
|
import { ASTWithSource as ASTWithSource2, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstBoundDeferredTrigger as TmplAstBoundDeferredTrigger2 } from "@angular/compiler";
|
|
2475
2477
|
var TemplateCheckWithVisitor = class {
|
|
2476
2478
|
constructor() {
|
|
@@ -2604,7 +2606,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor2 {
|
|
|
2604
2606
|
}
|
|
2605
2607
|
};
|
|
2606
2608
|
|
|
2607
|
-
// bazel-out/
|
|
2609
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
|
|
2608
2610
|
var SIGNAL_INSTANCE_PROPERTIES = /* @__PURE__ */ new Set(["set", "update", "asReadonly"]);
|
|
2609
2611
|
var FUNCTION_INSTANCE_PROPERTIES = /* @__PURE__ */ new Set(["name", "length", "prototype"]);
|
|
2610
2612
|
var InterpolatedSignalCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -2656,7 +2658,7 @@ var factory = {
|
|
|
2656
2658
|
create: () => new InterpolatedSignalCheck()
|
|
2657
2659
|
};
|
|
2658
2660
|
|
|
2659
|
-
// bazel-out/
|
|
2661
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
2660
2662
|
import { TmplAstBoundEvent } from "@angular/compiler";
|
|
2661
2663
|
var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
2662
2664
|
constructor() {
|
|
@@ -2682,7 +2684,7 @@ var factory2 = {
|
|
|
2682
2684
|
create: () => new InvalidBananaInBoxCheck()
|
|
2683
2685
|
};
|
|
2684
2686
|
|
|
2685
|
-
// bazel-out/
|
|
2687
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
|
|
2686
2688
|
import { TmplAstTemplate as TmplAstTemplate2 } from "@angular/compiler";
|
|
2687
2689
|
var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
|
|
2688
2690
|
["ngIf", { directive: "NgIf", builtIn: "@if" }],
|
|
@@ -2727,7 +2729,7 @@ var factory3 = {
|
|
|
2727
2729
|
}
|
|
2728
2730
|
};
|
|
2729
2731
|
|
|
2730
|
-
// bazel-out/
|
|
2732
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
|
|
2731
2733
|
import { TmplAstTemplate as TmplAstTemplate3 } from "@angular/compiler";
|
|
2732
2734
|
var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
|
|
2733
2735
|
constructor() {
|
|
@@ -2760,7 +2762,7 @@ var factory4 = {
|
|
|
2760
2762
|
create: () => new MissingNgForOfLetCheck()
|
|
2761
2763
|
};
|
|
2762
2764
|
|
|
2763
|
-
// bazel-out/
|
|
2765
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
2764
2766
|
import { Binary } from "@angular/compiler";
|
|
2765
2767
|
import ts17 from "typescript";
|
|
2766
2768
|
var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -2806,7 +2808,7 @@ var factory5 = {
|
|
|
2806
2808
|
}
|
|
2807
2809
|
};
|
|
2808
2810
|
|
|
2809
|
-
// bazel-out/
|
|
2811
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
|
|
2810
2812
|
import { SafeCall, SafeKeyedRead, SafePropertyRead } from "@angular/compiler";
|
|
2811
2813
|
import ts18 from "typescript";
|
|
2812
2814
|
var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -2853,7 +2855,7 @@ var factory6 = {
|
|
|
2853
2855
|
}
|
|
2854
2856
|
};
|
|
2855
2857
|
|
|
2856
|
-
// bazel-out/
|
|
2858
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
|
|
2857
2859
|
import { TmplAstBoundAttribute as TmplAstBoundAttribute2 } from "@angular/compiler";
|
|
2858
2860
|
var STYLE_SUFFIXES = ["px", "%", "em"];
|
|
2859
2861
|
var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -2877,7 +2879,7 @@ var factory7 = {
|
|
|
2877
2879
|
create: () => new SuffixNotSupportedCheck()
|
|
2878
2880
|
};
|
|
2879
2881
|
|
|
2880
|
-
// bazel-out/
|
|
2882
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
|
|
2881
2883
|
import { TmplAstTextAttribute } from "@angular/compiler";
|
|
2882
2884
|
var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
|
|
2883
2885
|
constructor() {
|
|
@@ -2916,7 +2918,7 @@ var factory8 = {
|
|
|
2916
2918
|
create: () => new TextAttributeNotBindingSpec()
|
|
2917
2919
|
};
|
|
2918
2920
|
|
|
2919
|
-
// bazel-out/
|
|
2921
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/uninvoked_function_in_event_binding/index.mjs
|
|
2920
2922
|
import { ASTWithSource as ASTWithSource4, Call, Chain, Conditional, ParsedEventType, PropertyRead as PropertyRead3, SafeCall as SafeCall2, SafePropertyRead as SafePropertyRead2, TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
|
|
2921
2923
|
var UninvokedFunctionInEventBindingSpec = class extends TemplateCheckWithVisitor {
|
|
2922
2924
|
constructor() {
|
|
@@ -2968,7 +2970,7 @@ var factory9 = {
|
|
|
2968
2970
|
create: () => new UninvokedFunctionInEventBindingSpec()
|
|
2969
2971
|
};
|
|
2970
2972
|
|
|
2971
|
-
// bazel-out/
|
|
2973
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/unused_let_declaration/index.mjs
|
|
2972
2974
|
import { AST, ASTWithSource as ASTWithSource5, TmplAstLetDeclaration } from "@angular/compiler";
|
|
2973
2975
|
var UnusedLetDeclarationCheck = class extends TemplateCheckWithVisitor {
|
|
2974
2976
|
constructor() {
|
|
@@ -3013,10 +3015,10 @@ var factory10 = {
|
|
|
3013
3015
|
create: () => new UnusedLetDeclarationCheck()
|
|
3014
3016
|
};
|
|
3015
3017
|
|
|
3016
|
-
// bazel-out/
|
|
3018
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
3017
3019
|
import ts19 from "typescript";
|
|
3018
3020
|
|
|
3019
|
-
// bazel-out/
|
|
3021
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
|
|
3020
3022
|
var DiagnosticCategoryLabel;
|
|
3021
3023
|
(function(DiagnosticCategoryLabel2) {
|
|
3022
3024
|
DiagnosticCategoryLabel2["Warning"] = "warning";
|
|
@@ -3024,7 +3026,7 @@ var DiagnosticCategoryLabel;
|
|
|
3024
3026
|
DiagnosticCategoryLabel2["Suppress"] = "suppress";
|
|
3025
3027
|
})(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
|
|
3026
3028
|
|
|
3027
|
-
// bazel-out/
|
|
3029
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
3028
3030
|
var ExtendedTemplateCheckerImpl = class {
|
|
3029
3031
|
constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
|
|
3030
3032
|
var _a, _b, _c, _d, _e;
|
|
@@ -3077,7 +3079,7 @@ function assertNever(value) {
|
|
|
3077
3079
|
${value}`);
|
|
3078
3080
|
}
|
|
3079
3081
|
|
|
3080
|
-
// bazel-out/
|
|
3082
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
|
|
3081
3083
|
var ALL_DIAGNOSTIC_FACTORIES = [
|
|
3082
3084
|
factory2,
|
|
3083
3085
|
factory5,
|
|
@@ -3095,7 +3097,7 @@ var SUPPORTED_DIAGNOSTIC_NAMES = /* @__PURE__ */ new Set([
|
|
|
3095
3097
|
...ALL_DIAGNOSTIC_FACTORIES.map((factory11) => factory11.name)
|
|
3096
3098
|
]);
|
|
3097
3099
|
|
|
3098
|
-
// bazel-out/
|
|
3100
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/template_semantics/src/template_semantics_checker.mjs
|
|
3099
3101
|
import { ASTWithSource as ASTWithSource6, ImplicitReceiver as ImplicitReceiver2, ParsedEventType as ParsedEventType2, RecursiveAstVisitor as RecursiveAstVisitor3, TmplAstBoundEvent as TmplAstBoundEvent3, TmplAstLetDeclaration as TmplAstLetDeclaration2, TmplAstRecursiveVisitor as TmplAstRecursiveVisitor2, TmplAstVariable as TmplAstVariable2 } from "@angular/compiler";
|
|
3100
3102
|
import ts20 from "typescript";
|
|
3101
3103
|
var TemplateSemanticsCheckerImpl = class {
|
|
@@ -3186,7 +3188,7 @@ function unwrapAstWithSource(ast) {
|
|
|
3186
3188
|
return ast instanceof ASTWithSource6 ? ast.ast : ast;
|
|
3187
3189
|
}
|
|
3188
3190
|
|
|
3189
|
-
// bazel-out/
|
|
3191
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/rules/initializer_api_usage_rule.mjs
|
|
3190
3192
|
import ts21 from "typescript";
|
|
3191
3193
|
var APIS_TO_CHECK = [
|
|
3192
3194
|
INPUT_INITIALIZER_FN,
|
|
@@ -3237,7 +3239,7 @@ var InitializerApiUsageRule = class {
|
|
|
3237
3239
|
}
|
|
3238
3240
|
};
|
|
3239
3241
|
|
|
3240
|
-
// bazel-out/
|
|
3242
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/source_file_validator.mjs
|
|
3241
3243
|
var SourceFileValidator = class {
|
|
3242
3244
|
constructor(reflector, importedSymbolsTracker) {
|
|
3243
3245
|
this.rules = [new InitializerApiUsageRule(reflector, importedSymbolsTracker)];
|
|
@@ -3275,7 +3277,7 @@ var SourceFileValidator = class {
|
|
|
3275
3277
|
}
|
|
3276
3278
|
};
|
|
3277
3279
|
|
|
3278
|
-
// bazel-out/
|
|
3280
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/core_version.mjs
|
|
3279
3281
|
function coreHasSymbol(program, symbol) {
|
|
3280
3282
|
const checker = program.getTypeChecker();
|
|
3281
3283
|
for (const sf of program.getSourceFiles().filter(isMaybeCore)) {
|
|
@@ -3294,7 +3296,7 @@ function isMaybeCore(sf) {
|
|
|
3294
3296
|
return sf.isDeclarationFile && sf.fileName.includes("@angular/core") && sf.fileName.endsWith("index.d.ts");
|
|
3295
3297
|
}
|
|
3296
3298
|
|
|
3297
|
-
// bazel-out/
|
|
3299
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/feature_detection.mjs
|
|
3298
3300
|
import semver from "semver";
|
|
3299
3301
|
function coreVersionSupportsFeature(coreVersion, minVersion) {
|
|
3300
3302
|
if (coreVersion === `0.0.0-${"PLACEHOLDER"}`) {
|
|
@@ -3303,7 +3305,7 @@ function coreVersionSupportsFeature(coreVersion, minVersion) {
|
|
|
3303
3305
|
return semver.satisfies(coreVersion, minVersion);
|
|
3304
3306
|
}
|
|
3305
3307
|
|
|
3306
|
-
// bazel-out/
|
|
3308
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
3307
3309
|
var CompilationTicketKind;
|
|
3308
3310
|
(function(CompilationTicketKind2) {
|
|
3309
3311
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -3834,7 +3836,7 @@ var NgCompiler = class {
|
|
|
3834
3836
|
return diagnostics;
|
|
3835
3837
|
}
|
|
3836
3838
|
makeCompilation() {
|
|
3837
|
-
var _a, _b, _c, _d;
|
|
3839
|
+
var _a, _b, _c, _d, _e;
|
|
3838
3840
|
const isCore = isAngularCorePackage(this.inputProgram);
|
|
3839
3841
|
let compilationMode = CompilationMode.FULL;
|
|
3840
3842
|
if (!isCore) {
|
|
@@ -3929,11 +3931,11 @@ var NgCompiler = class {
|
|
|
3929
3931
|
}
|
|
3930
3932
|
const jitDeclarationRegistry = new JitDeclarationRegistry();
|
|
3931
3933
|
const handlers = [
|
|
3932
|
-
new ComponentDecoratorHandler(reflector, evaluator, metaRegistry, metaReader, scopeReader, depScopeReader, ngModuleScopeRegistry, typeCheckScopeRegistry, resourceRegistry, isCore, strictCtorDeps, this.resourceManager, this.adapter.rootDirs, this.options.preserveWhitespaces || false, this.options.i18nUseExternalIds !== false, this.options.enableI18nLegacyMessageIdFormat !== false, this.usePoisonedData, this.options.i18nNormalizeLineEndingsInICUs === true, this.moduleResolver, this.cycleAnalyzer, cycleHandlingStrategy, refEmitter, referencesRegistry, this.incrementalCompilation.depGraph, injectableRegistry, semanticDepGraphUpdater, this.closureCompilerEnabled, this.delegatingPerfRecorder, hostDirectivesResolver, importTracker, supportTestBed, compilationMode, deferredSymbolsTracker, !!this.options.forbidOrphanComponents, this.enableBlockSyntax, this.enableLetSyntax, localCompilationExtraImportsTracker, jitDeclarationRegistry),
|
|
3934
|
+
new ComponentDecoratorHandler(reflector, evaluator, metaRegistry, metaReader, scopeReader, depScopeReader, ngModuleScopeRegistry, typeCheckScopeRegistry, resourceRegistry, isCore, strictCtorDeps, this.resourceManager, this.adapter.rootDirs, this.options.preserveWhitespaces || false, this.options.i18nUseExternalIds !== false, this.options.enableI18nLegacyMessageIdFormat !== false, this.usePoisonedData, this.options.i18nNormalizeLineEndingsInICUs === true, this.moduleResolver, this.cycleAnalyzer, cycleHandlingStrategy, refEmitter, referencesRegistry, this.incrementalCompilation.depGraph, injectableRegistry, semanticDepGraphUpdater, this.closureCompilerEnabled, this.delegatingPerfRecorder, hostDirectivesResolver, importTracker, supportTestBed, compilationMode, deferredSymbolsTracker, !!this.options.forbidOrphanComponents, this.enableBlockSyntax, this.enableLetSyntax, localCompilationExtraImportsTracker, jitDeclarationRegistry, (_d = this.options.i18nPreserveWhitespaceForLegacyExtraction) != null ? _d : true),
|
|
3933
3935
|
new DirectiveDecoratorHandler(reflector, evaluator, metaRegistry, ngModuleScopeRegistry, metaReader, injectableRegistry, refEmitter, referencesRegistry, isCore, strictCtorDeps, semanticDepGraphUpdater, this.closureCompilerEnabled, this.delegatingPerfRecorder, importTracker, supportTestBed, compilationMode, jitDeclarationRegistry),
|
|
3934
3936
|
new PipeDecoratorHandler(reflector, evaluator, metaRegistry, ngModuleScopeRegistry, injectableRegistry, isCore, this.delegatingPerfRecorder, supportTestBed, compilationMode, !!this.options.generateExtraImportsInLocalMode),
|
|
3935
3937
|
new InjectableDecoratorHandler(reflector, evaluator, isCore, strictCtorDeps, injectableRegistry, this.delegatingPerfRecorder, supportTestBed, compilationMode),
|
|
3936
|
-
new NgModuleDecoratorHandler(reflector, evaluator, metaReader, metaRegistry, ngModuleScopeRegistry, referencesRegistry, exportedProviderStatusResolver, semanticDepGraphUpdater, isCore, refEmitter, this.closureCompilerEnabled, (
|
|
3938
|
+
new NgModuleDecoratorHandler(reflector, evaluator, metaReader, metaRegistry, ngModuleScopeRegistry, referencesRegistry, exportedProviderStatusResolver, semanticDepGraphUpdater, isCore, refEmitter, this.closureCompilerEnabled, (_e = this.options.onlyPublishPublicTypingsForNgModules) != null ? _e : false, injectableRegistry, this.delegatingPerfRecorder, supportTestBed, supportJitMode, compilationMode, localCompilationExtraImportsTracker, jitDeclarationRegistry)
|
|
3937
3939
|
];
|
|
3938
3940
|
const traitCompiler = new TraitCompiler(handlers, reflector, this.delegatingPerfRecorder, this.incrementalCompilation, this.options.compileNonExportedClasses !== false, compilationMode, dtsTransforms, semanticDepGraphUpdater, this.adapter);
|
|
3939
3941
|
const notifyingDriver = new NotifyingProgramDriverWrapper(this.programDriver, (program) => {
|
|
@@ -4126,7 +4128,7 @@ function versionMapFromProgram(program, driver) {
|
|
|
4126
4128
|
return versions;
|
|
4127
4129
|
}
|
|
4128
4130
|
|
|
4129
|
-
// bazel-out/
|
|
4131
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
4130
4132
|
import ts23 from "typescript";
|
|
4131
4133
|
var DelegatingCompilerHost = class {
|
|
4132
4134
|
get jsDocParsingMode() {
|
|
@@ -4265,7 +4267,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost {
|
|
|
4265
4267
|
}
|
|
4266
4268
|
};
|
|
4267
4269
|
|
|
4268
|
-
// bazel-out/
|
|
4270
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
4269
4271
|
var NgtscProgram = class {
|
|
4270
4272
|
constructor(rootNames, options, delegateHost, oldProgram) {
|
|
4271
4273
|
this.options = options;
|
|
@@ -4395,7 +4397,7 @@ var NgtscProgram = class {
|
|
|
4395
4397
|
}
|
|
4396
4398
|
emitXi18n() {
|
|
4397
4399
|
var _a, _b, _c;
|
|
4398
|
-
const ctx = new MessageBundle(new HtmlParser(), [], {}, (_a = this.options.i18nOutLocale) != null ? _a : null);
|
|
4400
|
+
const ctx = new MessageBundle(new HtmlParser(), [], {}, (_a = this.options.i18nOutLocale) != null ? _a : null, this.options.i18nPreserveWhitespaceForLegacyExtraction);
|
|
4399
4401
|
this.compiler.xi18n(ctx);
|
|
4400
4402
|
i18nExtract((_b = this.options.i18nOutFormat) != null ? _b : null, (_c = this.options.i18nOutFile) != null ? _c : null, this.host, this.options, ctx, resolve);
|
|
4401
4403
|
}
|
|
@@ -4491,15 +4493,15 @@ function mergeEmitResults(emitResults) {
|
|
|
4491
4493
|
return { diagnostics, emitSkipped, emittedFiles };
|
|
4492
4494
|
}
|
|
4493
4495
|
|
|
4494
|
-
// bazel-out/
|
|
4496
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
4495
4497
|
function createProgram({ rootNames, options, host, oldProgram }) {
|
|
4496
4498
|
return new NgtscProgram(rootNames, options, host, oldProgram);
|
|
4497
4499
|
}
|
|
4498
4500
|
|
|
4499
|
-
// bazel-out/
|
|
4501
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
4500
4502
|
import ts26 from "typescript";
|
|
4501
4503
|
|
|
4502
|
-
// bazel-out/
|
|
4504
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
4503
4505
|
import ts25 from "typescript";
|
|
4504
4506
|
function createMessageDiagnostic(messageText) {
|
|
4505
4507
|
return {
|
|
@@ -4513,7 +4515,7 @@ function createMessageDiagnostic(messageText) {
|
|
|
4513
4515
|
};
|
|
4514
4516
|
}
|
|
4515
4517
|
|
|
4516
|
-
// bazel-out/
|
|
4518
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
4517
4519
|
var defaultFormatHost = {
|
|
4518
4520
|
getCurrentDirectory: () => ts26.sys.getCurrentDirectory(),
|
|
4519
4521
|
getCanonicalFileName: (fileName) => fileName,
|
|
@@ -4744,4 +4746,4 @@ export {
|
|
|
4744
4746
|
* Use of this source code is governed by an MIT-style license that can be
|
|
4745
4747
|
* found in the LICENSE file at https://angular.io/license
|
|
4746
4748
|
*/
|
|
4747
|
-
//# sourceMappingURL=chunk-
|
|
4749
|
+
//# sourceMappingURL=chunk-LYN2P66H.js.map
|