@angular/compiler-cli 20.0.0-next.5 → 20.0.0-next.7

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.
Files changed (40) hide show
  1. package/bundles/{chunk-4Q2AWNO5.js → chunk-5AFVNN25.js} +3 -3
  2. package/bundles/{chunk-77D5CI2U.js → chunk-5UDS2TPQ.js} +7 -7
  3. package/bundles/{chunk-WWBWIRJR.js → chunk-BFF3JTCC.js} +44 -42
  4. package/bundles/chunk-BFF3JTCC.js.map +6 -0
  5. package/bundles/{chunk-GYERXSPU.js → chunk-BNQ3VNZP.js} +158 -116
  6. package/bundles/chunk-BNQ3VNZP.js.map +6 -0
  7. package/bundles/{chunk-NIVE5PXL.js → chunk-BOV3QCZL.js} +31 -31
  8. package/bundles/{chunk-FKXFEX7K.js → chunk-GBKXY6BH.js} +3 -3
  9. package/bundles/{chunk-Q2WE7ECN.js → chunk-I6R3GL3L.js} +5 -5
  10. package/bundles/{chunk-6PQV2MG7.js → chunk-K6NOY73Y.js} +12 -12
  11. package/bundles/{chunk-5QDXDB4N.js → chunk-OBDNP2CK.js} +5 -5
  12. package/bundles/{chunk-4L4X3YJZ.js → chunk-QDS4K6PQ.js} +127 -127
  13. package/bundles/{chunk-37JMVF7H.js → chunk-STORTTKY.js} +8 -8
  14. package/bundles/index.js +12 -12
  15. package/bundles/linker/babel/index.js +12 -12
  16. package/bundles/linker/index.js +4 -4
  17. package/bundles/private/bazel.js +1 -1
  18. package/bundles/private/localize.js +3 -3
  19. package/bundles/private/migrations.js +4 -4
  20. package/bundles/private/tooling.js +6 -6
  21. package/bundles/src/bin/ng_xi18n.js +10 -10
  22. package/bundles/src/bin/ngc.js +8 -8
  23. package/bundles_metadata.json +1 -1
  24. package/linker/src/file_linker/partial_linkers/util.d.ts +1 -1
  25. package/package.json +2 -2
  26. package/src/ngtsc/diagnostics/src/error_code.d.ts +16 -0
  27. package/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.d.ts +1 -0
  28. package/src/ngtsc/typecheck/extended/checks/uninvoked_track_function/index.d.ts +10 -0
  29. package/bundles/chunk-GYERXSPU.js.map +0 -6
  30. package/bundles/chunk-WWBWIRJR.js.map +0 -6
  31. package/src/ngtsc/core/src/core_version.d.ts +0 -11
  32. /package/bundles/{chunk-4Q2AWNO5.js.map → chunk-5AFVNN25.js.map} +0 -0
  33. /package/bundles/{chunk-77D5CI2U.js.map → chunk-5UDS2TPQ.js.map} +0 -0
  34. /package/bundles/{chunk-NIVE5PXL.js.map → chunk-BOV3QCZL.js.map} +0 -0
  35. /package/bundles/{chunk-FKXFEX7K.js.map → chunk-GBKXY6BH.js.map} +0 -0
  36. /package/bundles/{chunk-Q2WE7ECN.js.map → chunk-I6R3GL3L.js.map} +0 -0
  37. /package/bundles/{chunk-6PQV2MG7.js.map → chunk-K6NOY73Y.js.map} +0 -0
  38. /package/bundles/{chunk-5QDXDB4N.js.map → chunk-OBDNP2CK.js.map} +0 -0
  39. /package/bundles/{chunk-4L4X3YJZ.js.map → chunk-QDS4K6PQ.js.map} +0 -0
  40. /package/bundles/{chunk-37JMVF7H.js.map → chunk-STORTTKY.js.map} +0 -0
@@ -4,7 +4,7 @@
4
4
 
5
5
  import {
6
6
  angularJitApplicationTransform
7
- } from "./chunk-6PQV2MG7.js";
7
+ } from "./chunk-K6NOY73Y.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-4L4X3YJZ.js";
54
+ } from "./chunk-QDS4K6PQ.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-WWBWIRJR.js";
90
+ } from "./chunk-BFF3JTCC.js";
91
91
  import {
92
92
  ActivePerfRecorder,
93
93
  DelegatingPerfRecorder,
94
94
  PerfCheckpoint,
95
95
  PerfEvent,
96
96
  PerfPhase
97
- } from "./chunk-Q2WE7ECN.js";
97
+ } from "./chunk-I6R3GL3L.js";
98
98
  import {
99
99
  LogicalFileSystem,
100
100
  absoluteFrom,
@@ -104,9 +104,9 @@ import {
104
104
  getFileSystem,
105
105
  join,
106
106
  resolve
107
- } from "./chunk-37JMVF7H.js";
107
+ } from "./chunk-STORTTKY.js";
108
108
 
109
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
109
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
110
110
  var DEFAULT_ERROR_CODE = 100;
111
111
  var UNKNOWN_ERROR_CODE = 500;
112
112
  var SOURCE = "angular";
@@ -124,7 +124,7 @@ var EmitFlags;
124
124
  EmitFlags2[EmitFlags2["All"] = 31] = "All";
125
125
  })(EmitFlags || (EmitFlags = {}));
126
126
 
127
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
127
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
128
128
  import ts from "typescript";
129
129
  var wrapHostForTest = null;
130
130
  function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, true) }) {
@@ -134,7 +134,7 @@ function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, t
134
134
  return tsHost;
135
135
  }
136
136
 
137
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/entities.mjs
137
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/entities.mjs
138
138
  var EntryType;
139
139
  (function(EntryType2) {
140
140
  EntryType2["Block"] = "block";
@@ -181,23 +181,23 @@ function isDocEntryWithSourceInfo(entry) {
181
181
  return "source" in entry;
182
182
  }
183
183
 
184
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
184
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
185
185
  import ts12 from "typescript";
186
186
 
187
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
187
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
188
188
  import ts6 from "typescript";
189
189
 
190
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/filters.mjs
190
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/filters.mjs
191
191
  function isAngularPrivateName(name) {
192
192
  var _a;
193
193
  const firstChar = (_a = name[0]) != null ? _a : "";
194
194
  return firstChar === "\u0275" || firstChar === "_";
195
195
  }
196
196
 
197
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
197
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
198
198
  import ts4 from "typescript";
199
199
 
200
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/generics_extractor.mjs
200
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/generics_extractor.mjs
201
201
  function extractGenerics(declaration) {
202
202
  var _a, _b;
203
203
  return (_b = (_a = declaration.typeParameters) == null ? void 0 : _a.map((typeParam) => {
@@ -210,7 +210,7 @@ function extractGenerics(declaration) {
210
210
  })) != null ? _b : [];
211
211
  }
212
212
 
213
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/jsdoc_extractor.mjs
213
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/jsdoc_extractor.mjs
214
214
  import ts2 from "typescript";
215
215
  var decoratorExpression = /@(?=(Injectable|Component|Directive|Pipe|NgModule|Input|Output|HostBinding|HostListener|Inject|Optional|Self|Host|SkipSelf|ViewChild|ViewChildren|ContentChild|ContentChildren))/g;
216
216
  function extractJsDocTags(node) {
@@ -254,13 +254,13 @@ function unescapeAngularDecorators(comment) {
254
254
  return comment.replace(/_NG_AT_/g, "@");
255
255
  }
256
256
 
257
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_extractor.mjs
257
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_extractor.mjs
258
258
  import ts3 from "typescript";
259
259
  function extractResolvedTypeString(node, checker) {
260
260
  return checker.typeToString(checker.getTypeAtLocation(node), void 0, ts3.TypeFormatFlags.NoTruncation);
261
261
  }
262
262
 
263
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
263
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
264
264
  var FunctionExtractor = class {
265
265
  name;
266
266
  exportDeclaration;
@@ -371,7 +371,7 @@ function findImplementationOfFunction(node, typeChecker) {
371
371
  return implementation;
372
372
  }
373
373
 
374
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/internal.mjs
374
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/internal.mjs
375
375
  import ts5 from "typescript";
376
376
  function isInternal(member) {
377
377
  return extractJsDocTags(member).some((tag) => tag.name === "internal") || hasLeadingInternalComment(member);
@@ -390,7 +390,7 @@ function hasLeadingInternalComment(member) {
390
390
  )) != null ? _a : false;
391
391
  }
392
392
 
393
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
393
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
394
394
  var ClassExtractor = class {
395
395
  declaration;
396
396
  typeChecker;
@@ -706,7 +706,7 @@ function extractInterface(declaration, typeChecker) {
706
706
  return extractor.extract();
707
707
  }
708
708
 
709
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/constant_extractor.mjs
709
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/constant_extractor.mjs
710
710
  import ts7 from "typescript";
711
711
  var LITERAL_AS_ENUM_TAG = "object-literal-as-enum";
712
712
  function extractConstant(declaration, typeChecker) {
@@ -764,7 +764,7 @@ function extractLiteralPropertiesAsEnumMembers(declaration) {
764
764
  });
765
765
  }
766
766
 
767
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/decorator_extractor.mjs
767
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/decorator_extractor.mjs
768
768
  import ts8 from "typescript";
769
769
  function extractorDecorator(declaration, typeChecker) {
770
770
  const documentedNode = getDecoratorJsDocNode(declaration);
@@ -837,7 +837,7 @@ function getDecoratorJsDocNode(declaration) {
837
837
  return callSignature;
838
838
  }
839
839
 
840
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/enum_extractor.mjs
840
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/enum_extractor.mjs
841
841
  import ts9 from "typescript";
842
842
  function extractEnum(declaration, typeChecker) {
843
843
  return {
@@ -868,7 +868,7 @@ function getEnumMemberValue(memberNode) {
868
868
  return (_a = literal == null ? void 0 : literal.getText()) != null ? _a : "";
869
869
  }
870
870
 
871
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/initializer_api_function_extractor.mjs
871
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/initializer_api_function_extractor.mjs
872
872
  import ts10 from "typescript";
873
873
  var initializerApiTag = "initializerApiFunction";
874
874
  function isInitializerApiFunction(node, typeChecker) {
@@ -977,7 +977,7 @@ function extractFunctionWithOverloads(name, type, typeChecker) {
977
977
  };
978
978
  }
979
979
 
980
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_alias_extractor.mjs
980
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_alias_extractor.mjs
981
981
  function extractTypeAlias(declaration) {
982
982
  return {
983
983
  name: declaration.name.getText(),
@@ -990,7 +990,7 @@ function extractTypeAlias(declaration) {
990
990
  };
991
991
  }
992
992
 
993
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/import_extractor.mjs
993
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/import_extractor.mjs
994
994
  import ts11 from "typescript";
995
995
  function getImportedSymbols(sourceFile) {
996
996
  const importSpecifiers = /* @__PURE__ */ new Map();
@@ -1015,7 +1015,7 @@ function getImportedSymbols(sourceFile) {
1015
1015
  return importSpecifiers;
1016
1016
  }
1017
1017
 
1018
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
1018
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
1019
1019
  var DocsExtractor = class {
1020
1020
  typeChecker;
1021
1021
  metadataReader;
@@ -1103,11 +1103,11 @@ function getRelativeFilePath(sourceFile, rootDir) {
1103
1103
  return relativePath;
1104
1104
  }
1105
1105
 
1106
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
1106
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
1107
1107
  import { HtmlParser, MessageBundle } from "@angular/compiler";
1108
1108
  import ts27 from "typescript";
1109
1109
 
1110
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
1110
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
1111
1111
  import { Xliff, Xliff2, Xmb } from "@angular/compiler";
1112
1112
  import * as path from "path";
1113
1113
  function i18nGetExtension(formatName) {
@@ -1158,10 +1158,10 @@ function getPathNormalizer(basePath) {
1158
1158
  };
1159
1159
  }
1160
1160
 
1161
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
1161
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
1162
1162
  import ts13 from "typescript";
1163
1163
 
1164
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
1164
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
1165
1165
  function toNumbers(value) {
1166
1166
  const suffixIndex = value.lastIndexOf("-");
1167
1167
  return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
@@ -1196,7 +1196,7 @@ function compareVersions(v1, v2) {
1196
1196
  return compareNumbers(toNumbers(v1), toNumbers(v2));
1197
1197
  }
1198
1198
 
1199
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
1199
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
1200
1200
  var MIN_TS_VERSION = "5.8.0";
1201
1201
  var MAX_TS_VERSION = "5.9.0";
1202
1202
  var tsVersion = ts13.version;
@@ -1209,11 +1209,10 @@ function verifySupportedTypeScriptVersion() {
1209
1209
  checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
1210
1210
  }
1211
1211
 
1212
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
1213
- import { R3Identifiers } from "@angular/compiler";
1212
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
1214
1213
  import ts25 from "typescript";
1215
1214
 
1216
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
1215
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
1217
1216
  var CycleAnalyzer = class {
1218
1217
  importGraph;
1219
1218
  cachedResults = null;
@@ -1290,7 +1289,7 @@ var Cycle = class {
1290
1289
  }
1291
1290
  };
1292
1291
 
1293
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
1292
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
1294
1293
  import ts14 from "typescript";
1295
1294
  var ImportGraph = class {
1296
1295
  checker;
@@ -1386,7 +1385,7 @@ var Found = class {
1386
1385
  }
1387
1386
  };
1388
1387
 
1389
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
1388
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
1390
1389
  import ts15 from "typescript";
1391
1390
  var FlatIndexGenerator = class {
1392
1391
  entryPoint;
@@ -1414,7 +1413,7 @@ export * from '${relativeEntryPoint}';
1414
1413
  }
1415
1414
  };
1416
1415
 
1417
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
1416
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
1418
1417
  function findFlatIndexEntryPoint(rootFiles) {
1419
1418
  const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
1420
1419
  let resolvedEntryPoint = null;
@@ -1430,7 +1429,7 @@ function findFlatIndexEntryPoint(rootFiles) {
1430
1429
  return resolvedEntryPoint;
1431
1430
  }
1432
1431
 
1433
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
1432
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
1434
1433
  import ts16 from "typescript";
1435
1434
  function checkForPrivateExports(entryPoint, checker, refGraph) {
1436
1435
  const diagnostics = [];
@@ -1510,7 +1509,7 @@ function getDescriptorOfDeclaration(decl) {
1510
1509
  }
1511
1510
  }
1512
1511
 
1513
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
1512
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
1514
1513
  var ReferenceGraph = class {
1515
1514
  references = /* @__PURE__ */ new Map();
1516
1515
  add(from, to) {
@@ -1562,7 +1561,7 @@ var ReferenceGraph = class {
1562
1561
  }
1563
1562
  };
1564
1563
 
1565
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
1564
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
1566
1565
  var FileDependencyGraph = class {
1567
1566
  nodes = /* @__PURE__ */ new Map();
1568
1567
  addDependency(from, on) {
@@ -1627,7 +1626,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
1627
1626
  return false;
1628
1627
  }
1629
1628
 
1630
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
1629
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
1631
1630
  var IncrementalStateKind;
1632
1631
  (function(IncrementalStateKind2) {
1633
1632
  IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
@@ -1635,7 +1634,7 @@ var IncrementalStateKind;
1635
1634
  IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
1636
1635
  })(IncrementalStateKind || (IncrementalStateKind = {}));
1637
1636
 
1638
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
1637
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
1639
1638
  var PhaseKind;
1640
1639
  (function(PhaseKind2) {
1641
1640
  PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
@@ -1841,7 +1840,7 @@ function toOriginalSourceFile(sf) {
1841
1840
  }
1842
1841
  }
1843
1842
 
1844
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
1843
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
1845
1844
  var TrackedIncrementalBuildStrategy = class {
1846
1845
  state = null;
1847
1846
  isSet = false;
@@ -1875,7 +1874,7 @@ var PatchedProgramIncrementalBuildStrategy = class {
1875
1874
  };
1876
1875
  var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
1877
1876
 
1878
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
1877
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
1879
1878
  var IdentifierKind;
1880
1879
  (function(IdentifierKind2) {
1881
1880
  IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
@@ -1896,7 +1895,7 @@ var AbsoluteSourceSpan = class {
1896
1895
  }
1897
1896
  };
1898
1897
 
1899
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
1898
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
1900
1899
  var IndexingContext = class {
1901
1900
  components = /* @__PURE__ */ new Set();
1902
1901
  addComponent(info) {
@@ -1904,10 +1903,10 @@ var IndexingContext = class {
1904
1903
  }
1905
1904
  };
1906
1905
 
1907
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
1906
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
1908
1907
  import { ParseSourceFile } from "@angular/compiler";
1909
1908
 
1910
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
1909
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
1911
1910
  import { ASTWithSource, ImplicitReceiver, PropertyRead, PropertyWrite, RecursiveAstVisitor, TmplAstBoundDeferredTrigger, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate, TmplAstVariable } from "@angular/compiler";
1912
1911
  var ExpressionVisitor = class extends RecursiveAstVisitor {
1913
1912
  expressionStr;
@@ -1988,6 +1987,7 @@ var TemplateVisitor = class extends TmplAstRecursiveVisitor {
1988
1987
  this.visitAll(element.references);
1989
1988
  this.visitAll(element.inputs);
1990
1989
  this.visitAll(element.attributes);
1990
+ this.visitAll(element.directives);
1991
1991
  this.visitAll(element.children);
1992
1992
  this.visitAll(element.outputs);
1993
1993
  }
@@ -1996,6 +1996,7 @@ var TemplateVisitor = class extends TmplAstRecursiveVisitor {
1996
1996
  if (templateIdentifier !== null) {
1997
1997
  this.identifiers.add(templateIdentifier);
1998
1998
  }
1999
+ this.visitAll(template.directives);
1999
2000
  this.visitAll(template.variables);
2000
2001
  this.visitAll(template.attributes);
2001
2002
  this.visitAll(template.templateAttrs);
@@ -2082,6 +2083,12 @@ var TemplateVisitor = class extends TmplAstRecursiveVisitor {
2082
2083
  }
2083
2084
  this.visitExpression(decl.value);
2084
2085
  }
2086
+ visitComponent(component) {
2087
+ throw new Error("TODO");
2088
+ }
2089
+ visitDirective(directive) {
2090
+ throw new Error("TODO");
2091
+ }
2085
2092
  elementOrTemplateToIdentifier(node) {
2086
2093
  var _a;
2087
2094
  if (this.elementAndTemplateIdentifierCache.has(node)) {
@@ -2207,7 +2214,7 @@ function getTemplateIdentifiers(boundTemplate) {
2207
2214
  return { identifiers: visitor.identifiers, errors: visitor.errors };
2208
2215
  }
2209
2216
 
2210
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
2217
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
2211
2218
  function generateAnalysis(context) {
2212
2219
  const analysis = /* @__PURE__ */ new Map();
2213
2220
  context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
@@ -2243,7 +2250,7 @@ function generateAnalysis(context) {
2243
2250
  return analysis;
2244
2251
  }
2245
2252
 
2246
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
2253
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
2247
2254
  var NgModuleIndexImpl = class {
2248
2255
  metaReader;
2249
2256
  localReader;
@@ -2334,7 +2341,7 @@ var NgModuleIndexImpl = class {
2334
2341
  }
2335
2342
  };
2336
2343
 
2337
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
2344
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
2338
2345
  import ts17 from "typescript";
2339
2346
  var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
2340
2347
  var RESOURCE_MARKER = ".$ngresource$";
@@ -2492,7 +2499,7 @@ function createLookupResolutionHost(adapter) {
2492
2499
  };
2493
2500
  }
2494
2501
 
2495
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
2502
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
2496
2503
  var StandaloneComponentScopeReader = class {
2497
2504
  metaReader;
2498
2505
  localModuleReader;
@@ -2591,10 +2598,10 @@ var StandaloneComponentScopeReader = class {
2591
2598
  }
2592
2599
  };
2593
2600
 
2594
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
2601
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
2595
2602
  import { ASTWithSource as ASTWithSource3, BindingType, Interpolation, PropertyRead as PropertyRead2, TmplAstBoundAttribute } from "@angular/compiler";
2596
2603
 
2597
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/symbol_util.mjs
2604
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/symbol_util.mjs
2598
2605
  import ts18 from "typescript";
2599
2606
  var SIGNAL_FNS = /* @__PURE__ */ new Set([
2600
2607
  "WritableSignal",
@@ -2614,7 +2621,7 @@ function isSignalSymbol(symbol) {
2614
2621
  });
2615
2622
  }
2616
2623
 
2617
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
2624
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
2618
2625
  import { ASTWithSource as ASTWithSource2, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstBoundDeferredTrigger as TmplAstBoundDeferredTrigger2 } from "@angular/compiler";
2619
2626
  var TemplateCheckWithVisitor = class {
2620
2627
  canVisitStructuralAttributes = true;
@@ -2653,6 +2660,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor2 {
2653
2660
  this.visitAllNodes(element.attributes);
2654
2661
  this.visitAllNodes(element.inputs);
2655
2662
  this.visitAllNodes(element.outputs);
2663
+ this.visitAllNodes(element.directives);
2656
2664
  this.visitAllNodes(element.references);
2657
2665
  this.visitAllNodes(element.children);
2658
2666
  }
@@ -2663,6 +2671,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor2 {
2663
2671
  this.visitAllNodes(template.inputs);
2664
2672
  this.visitAllNodes(template.outputs);
2665
2673
  }
2674
+ this.visitAllNodes(template.directives);
2666
2675
  if (this.check.canVisitStructuralAttributes || isInlineTemplate) {
2667
2676
  this.visitAllNodes(template.templateAttrs);
2668
2677
  }
@@ -2744,6 +2753,20 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor2 {
2744
2753
  visitLetDeclaration(decl) {
2745
2754
  this.visitAst(decl.value);
2746
2755
  }
2756
+ visitComponent(component) {
2757
+ this.visitAllNodes(component.attributes);
2758
+ this.visitAllNodes(component.inputs);
2759
+ this.visitAllNodes(component.outputs);
2760
+ this.visitAllNodes(component.directives);
2761
+ this.visitAllNodes(component.references);
2762
+ this.visitAllNodes(component.children);
2763
+ }
2764
+ visitDirective(directive) {
2765
+ this.visitAllNodes(directive.attributes);
2766
+ this.visitAllNodes(directive.inputs);
2767
+ this.visitAllNodes(directive.outputs);
2768
+ this.visitAllNodes(directive.references);
2769
+ }
2747
2770
  getDiagnostics(template) {
2748
2771
  this.diagnostics = [];
2749
2772
  this.visitAllNodes(template);
@@ -2751,7 +2774,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor2 {
2751
2774
  }
2752
2775
  };
2753
2776
 
2754
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
2777
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
2755
2778
  var SIGNAL_INSTANCE_PROPERTIES = /* @__PURE__ */ new Set(["set", "update", "asReadonly"]);
2756
2779
  var FUNCTION_INSTANCE_PROPERTIES = /* @__PURE__ */ new Set(["name", "length", "prototype"]);
2757
2780
  var InterpolatedSignalCheck = class extends TemplateCheckWithVisitor {
@@ -2800,7 +2823,7 @@ var factory = {
2800
2823
  create: () => new InterpolatedSignalCheck()
2801
2824
  };
2802
2825
 
2803
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
2826
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
2804
2827
  import { TmplAstBoundEvent } from "@angular/compiler";
2805
2828
  var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
2806
2829
  code = ErrorCode.INVALID_BANANA_IN_BOX;
@@ -2823,7 +2846,7 @@ var factory2 = {
2823
2846
  create: () => new InvalidBananaInBoxCheck()
2824
2847
  };
2825
2848
 
2826
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
2849
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
2827
2850
  import { TmplAstTemplate as TmplAstTemplate2 } from "@angular/compiler";
2828
2851
  var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
2829
2852
  ["ngIf", { directive: "NgIf", builtIn: "@if" }],
@@ -2865,7 +2888,7 @@ var factory3 = {
2865
2888
  }
2866
2889
  };
2867
2890
 
2868
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
2891
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
2869
2892
  import { TmplAstTemplate as TmplAstTemplate3 } from "@angular/compiler";
2870
2893
  var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
2871
2894
  code = ErrorCode.MISSING_NGFOROF_LET;
@@ -2895,7 +2918,7 @@ var factory4 = {
2895
2918
  create: () => new MissingNgForOfLetCheck()
2896
2919
  };
2897
2920
 
2898
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
2921
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
2899
2922
  import { Binary } from "@angular/compiler";
2900
2923
  import ts19 from "typescript";
2901
2924
  var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
@@ -2938,7 +2961,7 @@ var factory5 = {
2938
2961
  }
2939
2962
  };
2940
2963
 
2941
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
2964
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
2942
2965
  import { SafeCall, SafeKeyedRead, SafePropertyRead } from "@angular/compiler";
2943
2966
  import ts20 from "typescript";
2944
2967
  var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
@@ -2982,7 +3005,7 @@ var factory6 = {
2982
3005
  }
2983
3006
  };
2984
3007
 
2985
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/skip_hydration_not_static/index.mjs
3008
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/skip_hydration_not_static/index.mjs
2986
3009
  import { TmplAstBoundAttribute as TmplAstBoundAttribute2, TmplAstTextAttribute } from "@angular/compiler";
2987
3010
  var NG_SKIP_HYDRATION_ATTR_NAME = "ngSkipHydration";
2988
3011
  var NgSkipHydrationSpec = class extends TemplateCheckWithVisitor {
@@ -3008,7 +3031,7 @@ var factory7 = {
3008
3031
  create: () => new NgSkipHydrationSpec()
3009
3032
  };
3010
3033
 
3011
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
3034
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
3012
3035
  import { TmplAstBoundAttribute as TmplAstBoundAttribute3 } from "@angular/compiler";
3013
3036
  var STYLE_SUFFIXES = ["px", "%", "em"];
3014
3037
  var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
@@ -3029,7 +3052,7 @@ var factory8 = {
3029
3052
  create: () => new SuffixNotSupportedCheck()
3030
3053
  };
3031
3054
 
3032
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
3055
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
3033
3056
  import { TmplAstTextAttribute as TmplAstTextAttribute2 } from "@angular/compiler";
3034
3057
  var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
3035
3058
  code = ErrorCode.TEXT_ATTRIBUTE_NOT_BINDING;
@@ -3065,7 +3088,7 @@ var factory9 = {
3065
3088
  create: () => new TextAttributeNotBindingSpec()
3066
3089
  };
3067
3090
 
3068
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/uninvoked_function_in_event_binding/index.mjs
3091
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/uninvoked_function_in_event_binding/index.mjs
3069
3092
  import { ASTWithSource as ASTWithSource4, Call, Chain, Conditional, ParsedEventType, PropertyRead as PropertyRead3, SafeCall as SafeCall2, SafePropertyRead as SafePropertyRead2, TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
3070
3093
  var UninvokedFunctionInEventBindingSpec = class extends TemplateCheckWithVisitor {
3071
3094
  code = ErrorCode.UNINVOKED_FUNCTION_IN_EVENT_BINDING;
@@ -3114,7 +3137,7 @@ var factory10 = {
3114
3137
  create: () => new UninvokedFunctionInEventBindingSpec()
3115
3138
  };
3116
3139
 
3117
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/unparenthesized_nullish_coalescing/index.mjs
3140
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/unparenthesized_nullish_coalescing/index.mjs
3118
3141
  import { Binary as Binary2 } from "@angular/compiler";
3119
3142
  var UnparenthesizedNullishCoalescing = class extends TemplateCheckWithVisitor {
3120
3143
  code = ErrorCode.UNPARENTHESIZED_NULLISH_COALESCING;
@@ -3144,7 +3167,7 @@ var factory11 = {
3144
3167
  create: () => new UnparenthesizedNullishCoalescing()
3145
3168
  };
3146
3169
 
3147
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/unused_let_declaration/index.mjs
3170
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/unused_let_declaration/index.mjs
3148
3171
  import { AST, ASTWithSource as ASTWithSource5, TmplAstLetDeclaration } from "@angular/compiler";
3149
3172
  var UnusedLetDeclarationCheck = class extends TemplateCheckWithVisitor {
3150
3173
  code = ErrorCode.UNUSED_LET_DECLARATION;
@@ -3186,10 +3209,43 @@ var factory12 = {
3186
3209
  create: () => new UnusedLetDeclarationCheck()
3187
3210
  };
3188
3211
 
3189
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
3212
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/uninvoked_track_function/index.mjs
3213
+ import { Call as Call2, PropertyRead as PropertyRead4, SafeCall as SafeCall3, SafePropertyRead as SafePropertyRead3, TmplAstForLoopBlock } from "@angular/compiler";
3214
+ var UninvokedTrackFunctionCheck = class extends TemplateCheckWithVisitor {
3215
+ code = ErrorCode.UNINVOKED_TRACK_FUNCTION;
3216
+ visitNode(ctx, component, node) {
3217
+ var _a;
3218
+ if (!(node instanceof TmplAstForLoopBlock) || !node.trackBy) {
3219
+ return [];
3220
+ }
3221
+ if (node.trackBy.ast instanceof Call2 || node.trackBy.ast instanceof SafeCall3) {
3222
+ return [];
3223
+ }
3224
+ if (!(node.trackBy.ast instanceof PropertyRead4) && !(node.trackBy.ast instanceof SafePropertyRead3)) {
3225
+ return [];
3226
+ }
3227
+ const symbol = ctx.templateTypeChecker.getSymbolOfNode(node.trackBy.ast, component);
3228
+ if (symbol !== null && symbol.kind === SymbolKind.Expression && ((_a = symbol.tsType.getCallSignatures()) == null ? void 0 : _a.length) > 0) {
3229
+ const fullExpressionText = generateStringFromExpression2(node.trackBy.ast, node.trackBy.source || "");
3230
+ const errorString = `The track function in the @for block should be invoked: ${fullExpressionText}(/* arguments */)`;
3231
+ return [ctx.makeTemplateDiagnostic(node.sourceSpan, errorString)];
3232
+ }
3233
+ return [];
3234
+ }
3235
+ };
3236
+ function generateStringFromExpression2(expression, source) {
3237
+ return source.substring(expression.span.start, expression.span.end);
3238
+ }
3239
+ var factory13 = {
3240
+ code: ErrorCode.UNINVOKED_TRACK_FUNCTION,
3241
+ name: ExtendedTemplateDiagnosticName.UNINVOKED_TRACK_FUNCTION,
3242
+ create: () => new UninvokedTrackFunctionCheck()
3243
+ };
3244
+
3245
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
3190
3246
  import ts21 from "typescript";
3191
3247
 
3192
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
3248
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
3193
3249
  var DiagnosticCategoryLabel;
3194
3250
  (function(DiagnosticCategoryLabel2) {
3195
3251
  DiagnosticCategoryLabel2["Warning"] = "warning";
@@ -3197,7 +3253,7 @@ var DiagnosticCategoryLabel;
3197
3253
  DiagnosticCategoryLabel2["Suppress"] = "suppress";
3198
3254
  })(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
3199
3255
 
3200
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
3256
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
3201
3257
  var ExtendedTemplateCheckerImpl = class {
3202
3258
  partialCtx;
3203
3259
  templateChecks;
@@ -3205,12 +3261,12 @@ var ExtendedTemplateCheckerImpl = class {
3205
3261
  var _a, _b, _c, _d, _e;
3206
3262
  this.partialCtx = { templateTypeChecker, typeChecker };
3207
3263
  this.templateChecks = /* @__PURE__ */ new Map();
3208
- for (const factory13 of templateCheckFactories) {
3209
- const category = diagnosticLabelToCategory((_e = (_d = (_b = (_a = options == null ? void 0 : options.extendedDiagnostics) == null ? void 0 : _a.checks) == null ? void 0 : _b[factory13.name]) != null ? _d : (_c = options == null ? void 0 : options.extendedDiagnostics) == null ? void 0 : _c.defaultCategory) != null ? _e : DiagnosticCategoryLabel.Warning);
3264
+ for (const factory14 of templateCheckFactories) {
3265
+ const category = diagnosticLabelToCategory((_e = (_d = (_b = (_a = options == null ? void 0 : options.extendedDiagnostics) == null ? void 0 : _a.checks) == null ? void 0 : _b[factory14.name]) != null ? _d : (_c = options == null ? void 0 : options.extendedDiagnostics) == null ? void 0 : _c.defaultCategory) != null ? _e : DiagnosticCategoryLabel.Warning);
3210
3266
  if (category === null) {
3211
3267
  continue;
3212
3268
  }
3213
- const check = factory13.create(options);
3269
+ const check = factory14.create(options);
3214
3270
  if (check === null) {
3215
3271
  continue;
3216
3272
  }
@@ -3252,7 +3308,7 @@ function assertNever(value) {
3252
3308
  ${value}`);
3253
3309
  }
3254
3310
 
3255
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
3311
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
3256
3312
  var ALL_DIAGNOSTIC_FACTORIES = [
3257
3313
  factory2,
3258
3314
  factory5,
@@ -3265,15 +3321,16 @@ var ALL_DIAGNOSTIC_FACTORIES = [
3265
3321
  factory10,
3266
3322
  factory12,
3267
3323
  factory7,
3268
- factory11
3324
+ factory11,
3325
+ factory13
3269
3326
  ];
3270
3327
  var SUPPORTED_DIAGNOSTIC_NAMES = /* @__PURE__ */ new Set([
3271
3328
  ExtendedTemplateDiagnosticName.CONTROL_FLOW_PREVENTING_CONTENT_PROJECTION,
3272
3329
  ExtendedTemplateDiagnosticName.UNUSED_STANDALONE_IMPORTS,
3273
- ...ALL_DIAGNOSTIC_FACTORIES.map((factory13) => factory13.name)
3330
+ ...ALL_DIAGNOSTIC_FACTORIES.map((factory14) => factory14.name)
3274
3331
  ]);
3275
3332
 
3276
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/template_semantics/src/template_semantics_checker.mjs
3333
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/template_semantics/src/template_semantics_checker.mjs
3277
3334
  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";
3278
3335
  import ts22 from "typescript";
3279
3336
  var TemplateSemanticsCheckerImpl = class {
@@ -3369,7 +3426,7 @@ function unwrapAstWithSource(ast) {
3369
3426
  return ast instanceof ASTWithSource6 ? ast.ast : ast;
3370
3427
  }
3371
3428
 
3372
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/rules/initializer_api_usage_rule.mjs
3429
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/rules/initializer_api_usage_rule.mjs
3373
3430
  import ts23 from "typescript";
3374
3431
  var APIS_TO_CHECK = [
3375
3432
  INPUT_INITIALIZER_FN,
@@ -3422,7 +3479,7 @@ var InitializerApiUsageRule = class {
3422
3479
  }
3423
3480
  };
3424
3481
 
3425
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/rules/unused_standalone_imports_rule.mjs
3482
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/rules/unused_standalone_imports_rule.mjs
3426
3483
  import ts24 from "typescript";
3427
3484
  var UnusedStandaloneImportsRule = class {
3428
3485
  templateTypeChecker;
@@ -3514,10 +3571,10 @@ function closestNode(start, predicate) {
3514
3571
  return null;
3515
3572
  }
3516
3573
 
3517
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/config.mjs
3574
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/config.mjs
3518
3575
  var UNUSED_STANDALONE_IMPORTS_RULE_ENABLED = true;
3519
3576
 
3520
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/source_file_validator.mjs
3577
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/source_file_validator.mjs
3521
3578
  var SourceFileValidator = class {
3522
3579
  rules;
3523
3580
  constructor(reflector, importedSymbolsTracker, templateTypeChecker, typeCheckingConfig) {
@@ -3559,26 +3616,7 @@ var SourceFileValidator = class {
3559
3616
  }
3560
3617
  };
3561
3618
 
3562
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/core_version.mjs
3563
- function coreHasSymbol(program, symbol) {
3564
- const checker = program.getTypeChecker();
3565
- for (const sf of program.getSourceFiles().filter(isMaybeCore)) {
3566
- const sym = checker.getSymbolAtLocation(sf);
3567
- if (sym === void 0 || sym.exports === void 0) {
3568
- continue;
3569
- }
3570
- if (!sym.exports.has("\u0275\u0275template")) {
3571
- continue;
3572
- }
3573
- return sym.exports.has(symbol.name);
3574
- }
3575
- return null;
3576
- }
3577
- function isMaybeCore(sf) {
3578
- return sf.isDeclarationFile && sf.fileName.includes("@angular/core") && sf.fileName.endsWith("index.d.ts");
3579
- }
3580
-
3581
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/feature_detection.mjs
3619
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/feature_detection.mjs
3582
3620
  import semver from "semver";
3583
3621
  function coreVersionSupportsFeature(coreVersion, minVersion) {
3584
3622
  if (coreVersion === `0.0.0-${"PLACEHOLDER"}`) {
@@ -3587,7 +3625,7 @@ function coreVersionSupportsFeature(coreVersion, minVersion) {
3587
3625
  return semver.satisfies(coreVersion, minVersion, { includePrerelease: true });
3588
3626
  }
3589
3627
 
3590
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
3628
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
3591
3629
  var CompilationTicketKind;
3592
3630
  (function(CompilationTicketKind2) {
3593
3631
  CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
@@ -3963,7 +4001,11 @@ var NgCompiler = class {
3963
4001
  const printer = ts25.createPrinter();
3964
4002
  const nodeText = printer.printNode(ts25.EmitHint.Unspecified, callback, sourceFile);
3965
4003
  return ts25.transpileModule(nodeText, {
3966
- compilerOptions: this.options,
4004
+ compilerOptions: {
4005
+ ...this.options,
4006
+ module: ts25.ModuleKind.ES2022,
4007
+ target: ts25.ScriptTarget.ES2022
4008
+ },
3967
4009
  fileName: sourceFile.fileName,
3968
4010
  reportDiagnostics: false
3969
4011
  }).outputText;
@@ -3999,11 +4041,11 @@ var NgCompiler = class {
3999
4041
  return strictTemplates || !!this.options.fullTemplateTypeCheck;
4000
4042
  }
4001
4043
  getTypeCheckingConfig() {
4002
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j;
4044
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i;
4003
4045
  const strictTemplates = !!this.options.strictTemplates;
4004
4046
  const useInlineTypeConstructors = this.programDriver.supportsInlineOperations;
4005
4047
  const checkTwoWayBoundEvents = (_a = this.options["_checkTwoWayBoundEvents"]) != null ? _a : false;
4006
- let allowSignalsInTwoWayBindings = (_b = coreHasSymbol(this.inputProgram, R3Identifiers.unwrapWritableSignal)) != null ? _b : this.angularCoreVersion === null || coreVersionSupportsFeature(this.angularCoreVersion, ">= 17.2.0");
4048
+ const allowSignalsInTwoWayBindings = this.angularCoreVersion === null || coreVersionSupportsFeature(this.angularCoreVersion, ">= 17.2.0-0");
4007
4049
  let typeCheckingConfig;
4008
4050
  if (this.fullTemplateTypeCheck) {
4009
4051
  typeCheckingConfig = {
@@ -4029,8 +4071,8 @@ var NgCompiler = class {
4029
4071
  enableTemplateTypeChecker: this.enableTemplateTypeChecker,
4030
4072
  useInlineTypeConstructors,
4031
4073
  suggestionsForSuboptimalTypeInference: this.enableTemplateTypeChecker && !strictTemplates,
4032
- controlFlowPreventingContentProjection: ((_c = this.options.extendedDiagnostics) == null ? void 0 : _c.defaultCategory) || DiagnosticCategoryLabel.Warning,
4033
- unusedStandaloneImports: ((_d = this.options.extendedDiagnostics) == null ? void 0 : _d.defaultCategory) || DiagnosticCategoryLabel.Warning,
4074
+ controlFlowPreventingContentProjection: ((_b = this.options.extendedDiagnostics) == null ? void 0 : _b.defaultCategory) || DiagnosticCategoryLabel.Warning,
4075
+ unusedStandaloneImports: ((_c = this.options.extendedDiagnostics) == null ? void 0 : _c.defaultCategory) || DiagnosticCategoryLabel.Warning,
4034
4076
  allowSignalsInTwoWayBindings,
4035
4077
  checkTwoWayBoundEvents
4036
4078
  };
@@ -4058,8 +4100,8 @@ var NgCompiler = class {
4058
4100
  enableTemplateTypeChecker: this.enableTemplateTypeChecker,
4059
4101
  useInlineTypeConstructors,
4060
4102
  suggestionsForSuboptimalTypeInference: false,
4061
- controlFlowPreventingContentProjection: ((_e = this.options.extendedDiagnostics) == null ? void 0 : _e.defaultCategory) || DiagnosticCategoryLabel.Warning,
4062
- unusedStandaloneImports: ((_f = this.options.extendedDiagnostics) == null ? void 0 : _f.defaultCategory) || DiagnosticCategoryLabel.Warning,
4103
+ controlFlowPreventingContentProjection: ((_d = this.options.extendedDiagnostics) == null ? void 0 : _d.defaultCategory) || DiagnosticCategoryLabel.Warning,
4104
+ unusedStandaloneImports: ((_e = this.options.extendedDiagnostics) == null ? void 0 : _e.defaultCategory) || DiagnosticCategoryLabel.Warning,
4063
4105
  allowSignalsInTwoWayBindings,
4064
4106
  checkTwoWayBoundEvents
4065
4107
  };
@@ -4096,10 +4138,10 @@ var NgCompiler = class {
4096
4138
  if (this.options.strictLiteralTypes !== void 0) {
4097
4139
  typeCheckingConfig.strictLiteralTypes = this.options.strictLiteralTypes;
4098
4140
  }
4099
- if (((_h = (_g = this.options.extendedDiagnostics) == null ? void 0 : _g.checks) == null ? void 0 : _h.controlFlowPreventingContentProjection) !== void 0) {
4141
+ if (((_g = (_f = this.options.extendedDiagnostics) == null ? void 0 : _f.checks) == null ? void 0 : _g.controlFlowPreventingContentProjection) !== void 0) {
4100
4142
  typeCheckingConfig.controlFlowPreventingContentProjection = this.options.extendedDiagnostics.checks.controlFlowPreventingContentProjection;
4101
4143
  }
4102
- if (((_j = (_i = this.options.extendedDiagnostics) == null ? void 0 : _i.checks) == null ? void 0 : _j.unusedStandaloneImports) !== void 0) {
4144
+ if (((_i = (_h = this.options.extendedDiagnostics) == null ? void 0 : _h.checks) == null ? void 0 : _i.unusedStandaloneImports) !== void 0) {
4103
4145
  typeCheckingConfig.unusedStandaloneImports = this.options.extendedDiagnostics.checks.unusedStandaloneImports;
4104
4146
  }
4105
4147
  return typeCheckingConfig;
@@ -4466,7 +4508,7 @@ function versionMapFromProgram(program, driver) {
4466
4508
  return versions;
4467
4509
  }
4468
4510
 
4469
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
4511
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
4470
4512
  import ts26 from "typescript";
4471
4513
  var DelegatingCompilerHost = class {
4472
4514
  delegate;
@@ -4640,7 +4682,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost {
4640
4682
  }
4641
4683
  };
4642
4684
 
4643
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
4685
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
4644
4686
  var NgtscProgram = class {
4645
4687
  options;
4646
4688
  compiler;
@@ -4871,15 +4913,15 @@ function mergeEmitResults(emitResults) {
4871
4913
  return { diagnostics, emitSkipped, emittedFiles };
4872
4914
  }
4873
4915
 
4874
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
4916
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
4875
4917
  function createProgram({ rootNames, options, host, oldProgram }) {
4876
4918
  return new NgtscProgram(rootNames, options, host, oldProgram);
4877
4919
  }
4878
4920
 
4879
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
4921
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
4880
4922
  import ts29 from "typescript";
4881
4923
 
4882
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
4924
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
4883
4925
  import ts28 from "typescript";
4884
4926
  function createMessageDiagnostic(messageText) {
4885
4927
  return {
@@ -4893,7 +4935,7 @@ function createMessageDiagnostic(messageText) {
4893
4935
  };
4894
4936
  }
4895
4937
 
4896
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
4938
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
4897
4939
  var defaultFormatHost = {
4898
4940
  getCurrentDirectory: () => ts29.sys.getCurrentDirectory(),
4899
4941
  getCanonicalFileName: (fileName) => fileName,
@@ -5126,4 +5168,4 @@ export {
5126
5168
  * Use of this source code is governed by an MIT-style license that can be
5127
5169
  * found in the LICENSE file at https://angular.dev/license
5128
5170
  */
5129
- //# sourceMappingURL=chunk-GYERXSPU.js.map
5171
+ //# sourceMappingURL=chunk-BNQ3VNZP.js.map