@angular/compiler-cli 15.0.0-next.5 → 15.0.0-rc.0

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 (70) hide show
  1. package/bundles/{chunk-E7NQQTT7.js → chunk-4SINIALN.js} +3 -3
  2. package/bundles/{chunk-E7NQQTT7.js.map → chunk-4SINIALN.js.map} +0 -0
  3. package/bundles/{chunk-FHVSPC32.js → chunk-7YKDVBJ5.js} +31 -31
  4. package/bundles/{chunk-FHVSPC32.js.map → chunk-7YKDVBJ5.js.map} +0 -0
  5. package/bundles/{chunk-2HPI44CB.js → chunk-CTEVZGOM.js} +5 -5
  6. package/bundles/{chunk-2HPI44CB.js.map → chunk-CTEVZGOM.js.map} +0 -0
  7. package/bundles/{chunk-OZM4WUIW.js → chunk-D55CQOCC.js} +5 -5
  8. package/bundles/{chunk-OZM4WUIW.js.map → chunk-D55CQOCC.js.map} +0 -0
  9. package/bundles/{chunk-LBWAABMF.js → chunk-DLWNNV6S.js} +40 -40
  10. package/bundles/{chunk-LBWAABMF.js.map → chunk-DLWNNV6S.js.map} +0 -0
  11. package/bundles/{chunk-FM6NPN5V.js → chunk-GGLQGQHV.js} +4 -4
  12. package/bundles/{chunk-FM6NPN5V.js.map → chunk-GGLQGQHV.js.map} +0 -0
  13. package/bundles/{chunk-2RROWOZG.js → chunk-GVQAA5D3.js} +75 -75
  14. package/bundles/{chunk-2RROWOZG.js.map → chunk-GVQAA5D3.js.map} +1 -1
  15. package/bundles/{chunk-TF2TR2WS.js → chunk-JSLY52ZU.js} +29 -26
  16. package/bundles/chunk-JSLY52ZU.js.map +6 -0
  17. package/bundles/{chunk-VSAO3EZ7.js → chunk-KIQI22GZ.js} +1151 -1057
  18. package/bundles/chunk-KIQI22GZ.js.map +6 -0
  19. package/bundles/{chunk-7YHMCUJT.js → chunk-MEB4YHNS.js} +2 -5
  20. package/bundles/chunk-MEB4YHNS.js.map +6 -0
  21. package/bundles/{chunk-TOKOIIBI.js → chunk-RC2GY3FU.js} +8 -24
  22. package/bundles/{chunk-TOKOIIBI.js.map → chunk-RC2GY3FU.js.map} +1 -1
  23. package/bundles/{chunk-YEQI6VDV.js → chunk-RMZB2XBA.js} +137 -112
  24. package/bundles/chunk-RMZB2XBA.js.map +6 -0
  25. package/bundles/{chunk-R3C7RFJ4.js → chunk-SJL5HBUW.js} +2 -2
  26. package/bundles/{chunk-R3C7RFJ4.js.map → chunk-SJL5HBUW.js.map} +0 -0
  27. package/bundles/{chunk-XDX5RDY5.js → chunk-VZ2Q36OK.js} +7 -7
  28. package/bundles/{chunk-XDX5RDY5.js.map → chunk-VZ2Q36OK.js.map} +0 -0
  29. package/bundles/{chunk-UZLFREET.js → chunk-YGJACQGV.js} +7 -7
  30. package/bundles/{chunk-UZLFREET.js.map → chunk-YGJACQGV.js.map} +0 -0
  31. package/bundles/{chunk-CYVTLM4Z.js → chunk-Z57D3OKU.js} +7 -7
  32. package/bundles/{chunk-CYVTLM4Z.js.map → chunk-Z57D3OKU.js.map} +0 -0
  33. package/bundles/index.js +13 -13
  34. package/bundles/linker/babel/index.js +13 -13
  35. package/bundles/linker/index.js +5 -5
  36. package/bundles/ngcc/index.js +13 -13
  37. package/bundles/ngcc/main-ngcc.js +14 -14
  38. package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +14 -14
  39. package/bundles/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.js +4 -4
  40. package/bundles/private/bazel.js +1 -1
  41. package/bundles/private/localize.js +3 -3
  42. package/bundles/private/migrations.js +6 -6
  43. package/bundles/private/tooling.js +3 -3
  44. package/bundles/src/bin/ng_xi18n.js +11 -11
  45. package/bundles/src/bin/ngc.js +9 -9
  46. package/bundles_metadata.json +1 -1
  47. package/ngcc/src/analysis/decoration_analyzer.d.ts +2 -1
  48. package/ngcc/src/packages/build_marker.d.ts +1 -1
  49. package/package.json +4 -4
  50. package/src/ngtsc/annotations/common/index.d.ts +1 -0
  51. package/src/ngtsc/annotations/common/src/diagnostics.d.ts +11 -3
  52. package/src/ngtsc/annotations/common/src/injectable_registry.d.ts +25 -0
  53. package/src/ngtsc/annotations/common/src/util.d.ts +1 -0
  54. package/src/ngtsc/annotations/component/src/handler.d.ts +4 -3
  55. package/src/ngtsc/annotations/directive/src/handler.d.ts +4 -2
  56. package/src/ngtsc/annotations/ng_module/src/handler.d.ts +2 -2
  57. package/src/ngtsc/annotations/src/injectable.d.ts +7 -4
  58. package/src/ngtsc/annotations/src/pipe.d.ts +2 -1
  59. package/src/ngtsc/diagnostics/src/error_code.d.ts +12 -0
  60. package/src/ngtsc/file_system/src/node_js_file_system.d.ts +0 -1
  61. package/src/ngtsc/metadata/index.d.ts +2 -2
  62. package/src/ngtsc/metadata/src/registry.d.ts +1 -12
  63. package/src/ngtsc/ts_compatibility/src/ts_cross_version_utils.d.ts +0 -9
  64. package/src/ngtsc/typecheck/api/checker.d.ts +5 -1
  65. package/src/ngtsc/typecheck/api/scope.d.ts +16 -0
  66. package/src/ngtsc/typecheck/src/checker.d.ts +2 -1
  67. package/bundles/chunk-7YHMCUJT.js.map +0 -6
  68. package/bundles/chunk-TF2TR2WS.js.map +0 -6
  69. package/bundles/chunk-VSAO3EZ7.js.map +0 -6
  70. package/bundles/chunk-YEQI6VDV.js.map +0 -6
@@ -31,11 +31,11 @@ import {
31
31
  aliasTransformFactory,
32
32
  declarationTransformFactory,
33
33
  ivyTransformFactory
34
- } from "./chunk-VSAO3EZ7.js";
34
+ } from "./chunk-KIQI22GZ.js";
35
35
  import {
36
36
  TypeScriptReflectionHost,
37
37
  isNamedClassDeclaration
38
- } from "./chunk-XDX5RDY5.js";
38
+ } from "./chunk-VZ2Q36OK.js";
39
39
  import {
40
40
  AbsoluteModuleStrategy,
41
41
  AliasStrategy,
@@ -76,13 +76,12 @@ import {
76
76
  toUnredirectedSourceFile,
77
77
  translateExpression,
78
78
  translateType
79
- } from "./chunk-TF2TR2WS.js";
79
+ } from "./chunk-JSLY52ZU.js";
80
80
  import {
81
81
  getDecorators,
82
82
  getModifiers,
83
- updateImportDeclaration,
84
- updateTypeParameterDeclaration
85
- } from "./chunk-7YHMCUJT.js";
83
+ updateImportDeclaration
84
+ } from "./chunk-MEB4YHNS.js";
86
85
  import {
87
86
  LogicalFileSystem,
88
87
  absoluteFrom,
@@ -93,16 +92,16 @@ import {
93
92
  getSourceFileOrError,
94
93
  join,
95
94
  resolve
96
- } from "./chunk-TOKOIIBI.js";
95
+ } from "./chunk-RC2GY3FU.js";
97
96
  import {
98
97
  ActivePerfRecorder,
99
98
  DelegatingPerfRecorder,
100
99
  PerfCheckpoint,
101
100
  PerfEvent,
102
101
  PerfPhase
103
- } from "./chunk-2HPI44CB.js";
102
+ } from "./chunk-CTEVZGOM.js";
104
103
 
105
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
104
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
106
105
  var DEFAULT_ERROR_CODE = 100;
107
106
  var UNKNOWN_ERROR_CODE = 500;
108
107
  var SOURCE = "angular";
@@ -120,7 +119,7 @@ var EmitFlags;
120
119
  EmitFlags2[EmitFlags2["All"] = 31] = "All";
121
120
  })(EmitFlags || (EmitFlags = {}));
122
121
 
123
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
122
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
124
123
  import ts from "typescript";
125
124
  var wrapHostForTest = null;
126
125
  function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, true) }) {
@@ -130,21 +129,28 @@ function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, t
130
129
  return tsHost;
131
130
  }
132
131
 
133
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
132
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
134
133
  var OptimizeFor;
135
134
  (function(OptimizeFor2) {
136
135
  OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
137
136
  OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
138
137
  })(OptimizeFor || (OptimizeFor = {}));
139
138
 
140
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
139
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
141
140
  var CompletionKind;
142
141
  (function(CompletionKind2) {
143
142
  CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
144
143
  CompletionKind2[CompletionKind2["Variable"] = 1] = "Variable";
145
144
  })(CompletionKind || (CompletionKind = {}));
146
145
 
147
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
146
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
147
+ var PotentialImportKind;
148
+ (function(PotentialImportKind2) {
149
+ PotentialImportKind2[PotentialImportKind2["NgModule"] = 0] = "NgModule";
150
+ PotentialImportKind2[PotentialImportKind2["Standalone"] = 1] = "Standalone";
151
+ })(PotentialImportKind || (PotentialImportKind = {}));
152
+
153
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
148
154
  var SymbolKind;
149
155
  (function(SymbolKind2) {
150
156
  SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
@@ -160,11 +166,11 @@ var SymbolKind;
160
166
  SymbolKind2[SymbolKind2["Pipe"] = 10] = "Pipe";
161
167
  })(SymbolKind || (SymbolKind = {}));
162
168
 
163
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
169
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
164
170
  import { HtmlParser, MessageBundle } from "@angular/compiler";
165
171
  import ts34 from "typescript";
166
172
 
167
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
173
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
168
174
  import { Xliff, Xliff2, Xmb } from "@angular/compiler";
169
175
  import * as path from "path";
170
176
  function i18nGetExtension(formatName) {
@@ -215,10 +221,10 @@ function getPathNormalizer(basePath) {
215
221
  };
216
222
  }
217
223
 
218
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
224
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
219
225
  import ts2 from "typescript";
220
226
 
221
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
227
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
222
228
  function toNumbers(value) {
223
229
  const suffixIndex = value.lastIndexOf("-");
224
230
  return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
@@ -253,8 +259,8 @@ function compareVersions(v1, v2) {
253
259
  return compareNumbers(toNumbers(v1), toNumbers(v2));
254
260
  }
255
261
 
256
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
257
- var MIN_TS_VERSION = "4.6.2";
262
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
263
+ var MIN_TS_VERSION = "4.8.2";
258
264
  var MAX_TS_VERSION = "4.9.0";
259
265
  var tsVersion = ts2.version;
260
266
  function checkVersion(version, minVersion, maxVersion) {
@@ -266,10 +272,10 @@ function verifySupportedTypeScriptVersion() {
266
272
  checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
267
273
  }
268
274
 
269
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
275
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
270
276
  import ts32 from "typescript";
271
277
 
272
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
278
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
273
279
  var CycleAnalyzer = class {
274
280
  constructor(importGraph) {
275
281
  this.importGraph = importGraph;
@@ -340,7 +346,7 @@ var Cycle = class {
340
346
  }
341
347
  };
342
348
 
343
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
349
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
344
350
  import ts3 from "typescript";
345
351
  var ImportGraph = class {
346
352
  constructor(checker, perf) {
@@ -432,7 +438,7 @@ var Found = class {
432
438
  }
433
439
  };
434
440
 
435
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
441
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
436
442
  import ts4 from "typescript";
437
443
  var FlatIndexGenerator = class {
438
444
  constructor(entryPoint, relativeFlatIndexPath, moduleName) {
@@ -457,7 +463,7 @@ export * from '${relativeEntryPoint}';
457
463
  }
458
464
  };
459
465
 
460
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
466
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
461
467
  function findFlatIndexEntryPoint(rootFiles) {
462
468
  const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
463
469
  let resolvedEntryPoint = null;
@@ -473,7 +479,7 @@ function findFlatIndexEntryPoint(rootFiles) {
473
479
  return resolvedEntryPoint;
474
480
  }
475
481
 
476
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
482
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
477
483
  import ts5 from "typescript";
478
484
  function checkForPrivateExports(entryPoint, checker, refGraph) {
479
485
  const diagnostics = [];
@@ -553,7 +559,7 @@ function getDescriptorOfDeclaration(decl) {
553
559
  }
554
560
  }
555
561
 
556
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
562
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
557
563
  var ReferenceGraph = class {
558
564
  constructor() {
559
565
  this.references = /* @__PURE__ */ new Map();
@@ -607,7 +613,7 @@ var ReferenceGraph = class {
607
613
  }
608
614
  };
609
615
 
610
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
616
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
611
617
  var NgOriginalFile = Symbol("NgOriginalFile");
612
618
  var UpdateMode;
613
619
  (function(UpdateMode2) {
@@ -615,13 +621,13 @@ var UpdateMode;
615
621
  UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
616
622
  })(UpdateMode || (UpdateMode = {}));
617
623
 
618
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
624
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
619
625
  import ts9 from "typescript";
620
626
 
621
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
627
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
622
628
  import ts6 from "typescript";
623
629
 
624
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
630
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
625
631
  var NgExtension = Symbol("NgExtension");
626
632
  function isExtended(sf) {
627
633
  return sf[NgExtension] !== void 0;
@@ -681,7 +687,7 @@ function retagTsFile(sf) {
681
687
  }
682
688
  }
683
689
 
684
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
690
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
685
691
  var TS_EXTENSIONS = /\.tsx?$/i;
686
692
  function makeShimFileName(fileName, suffix) {
687
693
  return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
@@ -696,7 +702,7 @@ function generatedModuleName(originalModuleName, originalFileName, genSuffix) {
696
702
  return moduleName;
697
703
  }
698
704
 
699
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
705
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
700
706
  var ShimAdapter = class {
701
707
  constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
702
708
  this.delegate = delegate;
@@ -759,13 +765,11 @@ var ShimAdapter = class {
759
765
  }
760
766
  const prefix = match[1];
761
767
  let baseFileName = absoluteFrom(prefix + ".ts");
762
- if (!this.delegate.fileExists(baseFileName)) {
768
+ let inputFile = this.delegate.getSourceFile(baseFileName, ts6.ScriptTarget.Latest);
769
+ if (inputFile === void 0) {
763
770
  baseFileName = absoluteFrom(prefix + ".tsx");
764
- if (!this.delegate.fileExists(baseFileName)) {
765
- return void 0;
766
- }
771
+ inputFile = this.delegate.getSourceFile(baseFileName, ts6.ScriptTarget.Latest);
767
772
  }
768
- const inputFile = this.delegate.getSourceFile(baseFileName, ts6.ScriptTarget.Latest);
769
773
  if (inputFile === void 0 || isShim(inputFile)) {
770
774
  return void 0;
771
775
  }
@@ -793,7 +797,7 @@ var ShimAdapter = class {
793
797
  }
794
798
  };
795
799
 
796
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/factory_generator.mjs
800
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/factory_generator.mjs
797
801
  import ts7 from "typescript";
798
802
  var TS_DTS_SUFFIX = /(\.d)?\.ts$/;
799
803
  var STRIP_NG_FACTORY = /(.*)NgFactory$/;
@@ -941,7 +945,7 @@ function updateInitializers(stmt, update) {
941
945
  return ts7.factory.updateVariableStatement(stmt, getModifiers(stmt), ts7.factory.updateVariableDeclarationList(stmt.declarationList, stmt.declarationList.declarations.map((decl) => ts7.factory.updateVariableDeclaration(decl, decl.name, decl.exclamationToken, decl.type, update(decl.initializer)))));
942
946
  }
943
947
 
944
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
948
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
945
949
  var ShimReferenceTagger = class {
946
950
  constructor(shimExtensions) {
947
951
  this.tagged = /* @__PURE__ */ new Set();
@@ -975,7 +979,7 @@ var ShimReferenceTagger = class {
975
979
  }
976
980
  };
977
981
 
978
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/summary_generator.mjs
982
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/summary_generator.mjs
979
983
  import ts8 from "typescript";
980
984
  var SummaryGenerator = class {
981
985
  constructor() {
@@ -1016,7 +1020,7 @@ function isExported2(decl) {
1016
1020
  return modifiers !== void 0 && modifiers.some((mod) => mod.kind == ts8.SyntaxKind.ExportKeyword) || false;
1017
1021
  }
1018
1022
 
1019
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
1023
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
1020
1024
  var DelegatingCompilerHost = class {
1021
1025
  constructor(delegate) {
1022
1026
  this.delegate = delegate;
@@ -1127,7 +1131,7 @@ var TsCreateProgramDriver = class {
1127
1131
  }
1128
1132
  };
1129
1133
 
1130
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
1134
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
1131
1135
  var FileDependencyGraph = class {
1132
1136
  constructor() {
1133
1137
  this.nodes = /* @__PURE__ */ new Map();
@@ -1194,7 +1198,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
1194
1198
  return false;
1195
1199
  }
1196
1200
 
1197
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
1201
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
1198
1202
  var IncrementalStateKind;
1199
1203
  (function(IncrementalStateKind2) {
1200
1204
  IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
@@ -1202,7 +1206,7 @@ var IncrementalStateKind;
1202
1206
  IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
1203
1207
  })(IncrementalStateKind || (IncrementalStateKind = {}));
1204
1208
 
1205
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
1209
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
1206
1210
  var PhaseKind;
1207
1211
  (function(PhaseKind2) {
1208
1212
  PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
@@ -1403,7 +1407,7 @@ function toOriginalSourceFile(sf) {
1403
1407
  }
1404
1408
  }
1405
1409
 
1406
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
1410
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
1407
1411
  var TrackedIncrementalBuildStrategy = class {
1408
1412
  constructor() {
1409
1413
  this.state = null;
@@ -1439,7 +1443,7 @@ var PatchedProgramIncrementalBuildStrategy = class {
1439
1443
  };
1440
1444
  var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
1441
1445
 
1442
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
1446
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
1443
1447
  var IdentifierKind;
1444
1448
  (function(IdentifierKind2) {
1445
1449
  IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
@@ -1457,7 +1461,7 @@ var AbsoluteSourceSpan = class {
1457
1461
  }
1458
1462
  };
1459
1463
 
1460
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
1464
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
1461
1465
  var IndexingContext = class {
1462
1466
  constructor() {
1463
1467
  this.components = /* @__PURE__ */ new Set();
@@ -1467,10 +1471,10 @@ var IndexingContext = class {
1467
1471
  }
1468
1472
  };
1469
1473
 
1470
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
1474
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
1471
1475
  import { ParseSourceFile } from "@angular/compiler";
1472
1476
 
1473
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
1477
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
1474
1478
  import { ASTWithSource, ImplicitReceiver, PropertyRead, PropertyWrite, RecursiveAstVisitor, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate } from "@angular/compiler";
1475
1479
  var ExpressionVisitor = class extends RecursiveAstVisitor {
1476
1480
  constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
@@ -1707,7 +1711,7 @@ function getTemplateIdentifiers(boundTemplate) {
1707
1711
  return { identifiers: visitor.identifiers, errors: visitor.errors };
1708
1712
  }
1709
1713
 
1710
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
1714
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
1711
1715
  function generateAnalysis(context) {
1712
1716
  const analysis = /* @__PURE__ */ new Map();
1713
1717
  context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
@@ -1743,7 +1747,7 @@ function generateAnalysis(context) {
1743
1747
  return analysis;
1744
1748
  }
1745
1749
 
1746
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
1750
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
1747
1751
  import ts10 from "typescript";
1748
1752
  var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
1749
1753
  var RESOURCE_MARKER = ".$ngresource$";
@@ -1889,7 +1893,7 @@ function createLookupResolutionHost(adapter) {
1889
1893
  };
1890
1894
  }
1891
1895
 
1892
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
1896
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
1893
1897
  var StandaloneComponentScopeReader = class {
1894
1898
  constructor(metaReader, localModuleReader, dtsModuleReader) {
1895
1899
  this.metaReader = metaReader;
@@ -1967,10 +1971,10 @@ var StandaloneComponentScopeReader = class {
1967
1971
  }
1968
1972
  };
1969
1973
 
1970
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
1974
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
1971
1975
  import { CssSelector, DomElementSchemaRegistry as DomElementSchemaRegistry2 } from "@angular/compiler";
1972
1976
 
1973
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
1977
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
1974
1978
  import ts11 from "typescript";
1975
1979
  function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
1976
1980
  var _a;
@@ -2077,7 +2081,7 @@ function parseTemplateAsSourceFile(fileName, template) {
2077
2081
  return ts11.createSourceFile(fileName, template, ts11.ScriptTarget.Latest, false, ts11.ScriptKind.JSX);
2078
2082
  }
2079
2083
 
2080
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
2084
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
2081
2085
  var TEMPLATE_ID = Symbol("ngTemplateId");
2082
2086
  var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
2083
2087
  function getTemplateId(clazz) {
@@ -2094,11 +2098,11 @@ function allocateTemplateId(sf) {
2094
2098
  return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
2095
2099
  }
2096
2100
 
2097
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
2101
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
2098
2102
  import { EmptyExpr, ImplicitReceiver as ImplicitReceiver2, PropertyRead as PropertyRead2, PropertyWrite as PropertyWrite2, SafePropertyRead, TmplAstReference as TmplAstReference2, TmplAstTextAttribute } from "@angular/compiler";
2099
2103
  import ts13 from "typescript";
2100
2104
 
2101
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
2105
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
2102
2106
  import { AbsoluteSourceSpan as AbsoluteSourceSpan2 } from "@angular/compiler";
2103
2107
  import ts12 from "typescript";
2104
2108
  var parseSpanComment = /^(\d+),(\d+)$/;
@@ -2218,7 +2222,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
2218
2222
  }) || false;
2219
2223
  }
2220
2224
 
2221
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
2225
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
2222
2226
  var CompletionEngine = class {
2223
2227
  constructor(tcb, data, tcbPath, tcbIsShim) {
2224
2228
  this.tcb = tcb;
@@ -2375,10 +2379,10 @@ var CompletionEngine = class {
2375
2379
  }
2376
2380
  };
2377
2381
 
2378
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
2382
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
2379
2383
  import ts27 from "typescript";
2380
2384
 
2381
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
2385
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
2382
2386
  import { DomElementSchemaRegistry } from "@angular/compiler";
2383
2387
  import ts14 from "typescript";
2384
2388
  var REGISTRY = new DomElementSchemaRegistry();
@@ -2431,11 +2435,11 @@ var RegistryDomSchemaChecker = class {
2431
2435
  }
2432
2436
  };
2433
2437
 
2434
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
2438
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
2435
2439
  import { ExpressionType, ExternalExpr, TypeModifier } from "@angular/compiler";
2436
2440
  import ts20 from "typescript";
2437
2441
 
2438
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
2442
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
2439
2443
  import ts15 from "typescript";
2440
2444
  var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
2441
2445
  ts15.SyntaxKind.ParenthesizedExpression,
@@ -2482,16 +2486,16 @@ function isAccessExpression(node) {
2482
2486
  return ts15.isPropertyAccessExpression(node) || ts15.isElementAccessExpression(node);
2483
2487
  }
2484
2488
 
2485
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
2489
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
2486
2490
  import ts19 from "typescript";
2487
2491
 
2488
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
2492
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
2489
2493
  import ts18 from "typescript";
2490
2494
 
2491
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
2495
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
2492
2496
  import ts17 from "typescript";
2493
2497
 
2494
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
2498
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
2495
2499
  import ts16 from "typescript";
2496
2500
  var INELIGIBLE = {};
2497
2501
  function canEmitType(type, canEmit) {
@@ -2566,7 +2570,7 @@ var TypeEmitter = class {
2566
2570
  }
2567
2571
  };
2568
2572
 
2569
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
2573
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
2570
2574
  var TypeParameterEmitter = class {
2571
2575
  constructor(typeParameters, reflector) {
2572
2576
  this.typeParameters = typeParameters;
@@ -2603,7 +2607,7 @@ var TypeParameterEmitter = class {
2603
2607
  return this.typeParameters.map((typeParam) => {
2604
2608
  const constraint = typeParam.constraint !== void 0 ? emitter.emitType(typeParam.constraint) : void 0;
2605
2609
  const defaultType = typeParam.default !== void 0 ? emitter.emitType(typeParam.default) : void 0;
2606
- return updateTypeParameterDeclaration(typeParam, typeParam.modifiers, typeParam.name, constraint, defaultType);
2610
+ return ts17.factory.updateTypeParameterDeclaration(typeParam, typeParam.modifiers, typeParam.name, constraint, defaultType);
2607
2611
  });
2608
2612
  }
2609
2613
  resolveTypeReference(type) {
@@ -2643,7 +2647,7 @@ var TypeParameterEmitter = class {
2643
2647
  }
2644
2648
  };
2645
2649
 
2646
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
2650
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
2647
2651
  var TcbInliningRequirement;
2648
2652
  (function(TcbInliningRequirement2) {
2649
2653
  TcbInliningRequirement2[TcbInliningRequirement2["MustInline"] = 0] = "MustInline";
@@ -2723,7 +2727,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
2723
2727
  return emitter.canEmit((ref) => env.canReferenceType(ref));
2724
2728
  }
2725
2729
 
2726
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
2730
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
2727
2731
  function generateTypeCtorDeclarationFn(node, meta, nodeTypeRef, typeParams) {
2728
2732
  const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
2729
2733
  const rawType = ts19.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
@@ -2787,14 +2791,14 @@ function typeParametersWithDefaultTypes(params) {
2787
2791
  }
2788
2792
  return params.map((param) => {
2789
2793
  if (param.default === void 0) {
2790
- return updateTypeParameterDeclaration(param, param.modifiers, param.name, param.constraint, ts19.factory.createKeywordTypeNode(ts19.SyntaxKind.AnyKeyword));
2794
+ return ts19.factory.updateTypeParameterDeclaration(param, param.modifiers, param.name, param.constraint, ts19.factory.createKeywordTypeNode(ts19.SyntaxKind.AnyKeyword));
2791
2795
  } else {
2792
2796
  return param;
2793
2797
  }
2794
2798
  });
2795
2799
  }
2796
2800
 
2797
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
2801
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
2798
2802
  var Environment = class {
2799
2803
  constructor(config, importManager, refEmitter, reflector, contextFile) {
2800
2804
  this.config = config;
@@ -2886,7 +2890,7 @@ var Environment = class {
2886
2890
  }
2887
2891
  };
2888
2892
 
2889
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
2893
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
2890
2894
  import { TmplAstElement as TmplAstElement2 } from "@angular/compiler";
2891
2895
  import ts21 from "typescript";
2892
2896
  var OutOfBandDiagnosticRecorderImpl = class {
@@ -3019,7 +3023,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
3019
3023
  };
3020
3024
  }
3021
3025
 
3022
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
3026
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
3023
3027
  import ts22 from "typescript";
3024
3028
  var TypeCheckShimGenerator = class {
3025
3029
  constructor() {
@@ -3037,11 +3041,11 @@ var TypeCheckShimGenerator = class {
3037
3041
  }
3038
3042
  };
3039
3043
 
3040
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
3044
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
3041
3045
  import { BindingPipe, Call as Call2, DYNAMIC_TYPE, ImplicitReceiver as ImplicitReceiver4, PropertyRead as PropertyRead4, PropertyWrite as PropertyWrite3, SafeCall, SafePropertyRead as SafePropertyRead3, ThisReceiver, TmplAstBoundAttribute, TmplAstBoundText, TmplAstElement as TmplAstElement3, TmplAstIcu, TmplAstReference as TmplAstReference3, TmplAstTemplate as TmplAstTemplate2, TmplAstTextAttribute as TmplAstTextAttribute2, TmplAstVariable as TmplAstVariable2 } from "@angular/compiler";
3042
3046
  import ts25 from "typescript";
3043
3047
 
3044
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
3048
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
3045
3049
  import { AbsoluteSourceSpan as AbsoluteSourceSpan3 } from "@angular/compiler";
3046
3050
  import ts23 from "typescript";
3047
3051
  function wrapForDiagnostics(expr) {
@@ -3087,7 +3091,7 @@ function translateDiagnostic(diagnostic, resolver) {
3087
3091
  return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
3088
3092
  }
3089
3093
 
3090
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
3094
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
3091
3095
  import { ASTWithSource as ASTWithSource2, Call, EmptyExpr as EmptyExpr2, PropertyRead as PropertyRead3, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
3092
3096
  import ts24 from "typescript";
3093
3097
  var NULL_AS_ANY = ts24.factory.createAsExpression(ts24.factory.createNull(), ts24.factory.createKeywordTypeNode(ts24.SyntaxKind.AnyKeyword));
@@ -3417,7 +3421,7 @@ var VeSafeLhsInferenceBugDetector = class {
3417
3421
  };
3418
3422
  VeSafeLhsInferenceBugDetector.SINGLETON = new VeSafeLhsInferenceBugDetector();
3419
3423
 
3420
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
3424
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
3421
3425
  import { ImplicitReceiver as ImplicitReceiver3, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstVariable } from "@angular/compiler";
3422
3426
  var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
3423
3427
  constructor(templateId, boundTarget, oob) {
@@ -3441,7 +3445,7 @@ var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
3441
3445
  }
3442
3446
  };
3443
3447
 
3444
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
3448
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
3445
3449
  var TcbGenericContextBehavior;
3446
3450
  (function(TcbGenericContextBehavior2) {
3447
3451
  TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
@@ -4502,7 +4506,7 @@ var TcbEventHandlerTranslator = class extends TcbExpressionTranslator {
4502
4506
  }
4503
4507
  };
4504
4508
 
4505
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
4509
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
4506
4510
  import ts26 from "typescript";
4507
4511
  var TypeCheckFile = class extends Environment {
4508
4512
  constructor(fileName, config, refEmitter, reflector, compilerHost) {
@@ -4538,7 +4542,7 @@ var TypeCheckFile = class extends Environment {
4538
4542
  }
4539
4543
  };
4540
4544
 
4541
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
4545
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
4542
4546
  var InliningMode;
4543
4547
  (function(InliningMode2) {
4544
4548
  InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
@@ -4776,10 +4780,10 @@ function splitStringAtPoints(str, points) {
4776
4780
  return splits;
4777
4781
  }
4778
4782
 
4779
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
4783
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
4780
4784
  import { ParseLocation, ParseSourceSpan } from "@angular/compiler";
4781
4785
 
4782
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
4786
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
4783
4787
  var LF_CHAR = 10;
4784
4788
  var CR_CHAR = 13;
4785
4789
  var LINE_SEP_CHAR = 8232;
@@ -4820,7 +4824,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
4820
4824
  return low - 1;
4821
4825
  }
4822
4826
 
4823
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
4827
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
4824
4828
  var TemplateSource = class {
4825
4829
  constructor(mapping, file) {
4826
4830
  this.mapping = mapping;
@@ -4871,7 +4875,7 @@ var TemplateSourceManager = class {
4871
4875
  }
4872
4876
  };
4873
4877
 
4874
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
4878
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
4875
4879
  import { AST, ASTWithSource as ASTWithSource3, BindingPipe as BindingPipe2, PropertyRead as PropertyRead5, PropertyWrite as PropertyWrite4, SafePropertyRead as SafePropertyRead4, TmplAstBoundAttribute as TmplAstBoundAttribute2, TmplAstBoundEvent, TmplAstElement as TmplAstElement4, TmplAstReference as TmplAstReference4, TmplAstTemplate as TmplAstTemplate3, TmplAstTextAttribute as TmplAstTextAttribute3, TmplAstVariable as TmplAstVariable3 } from "@angular/compiler";
4876
4880
  import ts28 from "typescript";
4877
4881
  var SymbolBuilder = class {
@@ -5322,7 +5326,7 @@ function sourceSpanEqual(a, b) {
5322
5326
  return a.start.offset === b.start.offset && a.end.offset === b.end.offset;
5323
5327
  }
5324
5328
 
5325
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
5329
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
5326
5330
  var REGISTRY2 = new DomElementSchemaRegistry2();
5327
5331
  var TemplateTypeCheckerImpl = class {
5328
5332
  constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, metaReader, localMetaReader, componentScopeReader, typeCheckScopeRegistry, perf) {
@@ -5769,6 +5773,26 @@ var TemplateTypeCheckerImpl = class {
5769
5773
  }
5770
5774
  return scope.ngModule;
5771
5775
  }
5776
+ getPotentialImportsFor(toImport, inContext) {
5777
+ var _a;
5778
+ let ngModuleRef;
5779
+ if (toImport.ngModule !== null) {
5780
+ ngModuleRef = (_a = this.metaReader.getNgModuleMetadata(new Reference(toImport.ngModule))) == null ? void 0 : _a.ref;
5781
+ }
5782
+ const importTarget = ngModuleRef != null ? ngModuleRef : toImport.ref;
5783
+ const emittedRef = this.refEmitter.emit(importTarget, inContext.getSourceFile());
5784
+ if (emittedRef.kind === 1)
5785
+ return [];
5786
+ const emittedExpression = emittedRef.expression;
5787
+ if (emittedExpression.value.moduleName === null || emittedExpression.value.name === null)
5788
+ return [];
5789
+ const preferredImport = {
5790
+ kind: ngModuleRef ? PotentialImportKind.NgModule : PotentialImportKind.Standalone,
5791
+ moduleSpecifier: emittedExpression.value.moduleName,
5792
+ symbolName: emittedExpression.value.name
5793
+ };
5794
+ return [preferredImport];
5795
+ }
5772
5796
  getScopeData(component) {
5773
5797
  if (this.scopeCache.has(component)) {
5774
5798
  return this.scopeCache.get(component);
@@ -5917,10 +5941,10 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
5917
5941
  }
5918
5942
  };
5919
5943
 
5920
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
5944
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
5921
5945
  import { TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
5922
5946
 
5923
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
5947
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
5924
5948
  import { ASTWithSource as ASTWithSource4, RecursiveAstVisitor as RecursiveAstVisitor3 } from "@angular/compiler";
5925
5949
  var TemplateCheckWithVisitor = class {
5926
5950
  run(ctx, component, template) {
@@ -5997,7 +6021,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor3 {
5997
6021
  }
5998
6022
  };
5999
6023
 
6000
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
6024
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
6001
6025
  var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
6002
6026
  constructor() {
6003
6027
  super(...arguments);
@@ -6022,7 +6046,7 @@ var factory = {
6022
6046
  create: () => new InvalidBananaInBoxCheck()
6023
6047
  };
6024
6048
 
6025
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
6049
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
6026
6050
  import { TmplAstTemplate as TmplAstTemplate4 } from "@angular/compiler";
6027
6051
  var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
6028
6052
  ["ngIf", "NgIf"],
@@ -6067,7 +6091,7 @@ var factory2 = {
6067
6091
  }
6068
6092
  };
6069
6093
 
6070
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
6094
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
6071
6095
  import { TmplAstTemplate as TmplAstTemplate5 } from "@angular/compiler";
6072
6096
  var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
6073
6097
  constructor() {
@@ -6100,7 +6124,7 @@ var factory3 = {
6100
6124
  create: () => new MissingNgForOfLetCheck()
6101
6125
  };
6102
6126
 
6103
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
6127
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
6104
6128
  import { Binary } from "@angular/compiler";
6105
6129
  import ts29 from "typescript";
6106
6130
  var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
@@ -6145,7 +6169,7 @@ var factory4 = {
6145
6169
  }
6146
6170
  };
6147
6171
 
6148
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
6172
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
6149
6173
  import { SafeCall as SafeCall2, SafeKeyedRead as SafeKeyedRead2, SafePropertyRead as SafePropertyRead5 } from "@angular/compiler";
6150
6174
  import ts30 from "typescript";
6151
6175
  var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
@@ -6191,7 +6215,7 @@ var factory5 = {
6191
6215
  }
6192
6216
  };
6193
6217
 
6194
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
6218
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
6195
6219
  import { TmplAstBoundAttribute as TmplAstBoundAttribute3 } from "@angular/compiler";
6196
6220
  var STYLE_SUFFIXES = ["px", "%", "em"];
6197
6221
  var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
@@ -6215,7 +6239,7 @@ var factory6 = {
6215
6239
  create: () => new SuffixNotSupportedCheck()
6216
6240
  };
6217
6241
 
6218
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
6242
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
6219
6243
  import { TmplAstTextAttribute as TmplAstTextAttribute4 } from "@angular/compiler";
6220
6244
  var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
6221
6245
  constructor() {
@@ -6254,10 +6278,10 @@ var factory7 = {
6254
6278
  create: () => new TextAttributeNotBindingSpec()
6255
6279
  };
6256
6280
 
6257
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
6281
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
6258
6282
  import ts31 from "typescript";
6259
6283
 
6260
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
6284
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
6261
6285
  var DiagnosticCategoryLabel;
6262
6286
  (function(DiagnosticCategoryLabel2) {
6263
6287
  DiagnosticCategoryLabel2["Warning"] = "warning";
@@ -6265,7 +6289,7 @@ var DiagnosticCategoryLabel;
6265
6289
  DiagnosticCategoryLabel2["Suppress"] = "suppress";
6266
6290
  })(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
6267
6291
 
6268
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
6292
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
6269
6293
  var ExtendedTemplateCheckerImpl = class {
6270
6294
  constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
6271
6295
  var _a, _b, _c, _d, _e;
@@ -6318,7 +6342,7 @@ function assertNever(value) {
6318
6342
  ${value}`);
6319
6343
  }
6320
6344
 
6321
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
6345
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
6322
6346
  var ALL_DIAGNOSTIC_FACTORIES = [
6323
6347
  factory,
6324
6348
  factory4,
@@ -6329,7 +6353,7 @@ var ALL_DIAGNOSTIC_FACTORIES = [
6329
6353
  factory6
6330
6354
  ];
6331
6355
 
6332
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
6356
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
6333
6357
  var CompilationTicketKind;
6334
6358
  (function(CompilationTicketKind2) {
6335
6359
  CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
@@ -6811,6 +6835,7 @@ var NgCompiler = class {
6811
6835
  ]);
6812
6836
  aliasingHost = new UnifiedModulesAliasingHost(this.adapter.unifiedModulesHost);
6813
6837
  }
6838
+ const isCore = isAngularCorePackage(this.inputProgram);
6814
6839
  const evaluator = new PartialEvaluator(reflector, checker, this.incrementalCompilation.depGraph);
6815
6840
  const dtsReader = new DtsMetadataReader(checker, reflector);
6816
6841
  const localMetaRegistry = new LocalMetadataRegistry();
@@ -6822,7 +6847,7 @@ var NgCompiler = class {
6822
6847
  const scopeReader = new CompoundComponentScopeReader([ngModuleScopeRegistry, standaloneScopeReader]);
6823
6848
  const semanticDepGraphUpdater = this.incrementalCompilation.semanticDepGraphUpdater;
6824
6849
  const metaRegistry = new CompoundMetadataRegistry([localMetaRegistry, ngModuleScopeRegistry]);
6825
- const injectableRegistry = new InjectableClassRegistry(reflector);
6850
+ const injectableRegistry = new InjectableClassRegistry(reflector, isCore);
6826
6851
  const hostDirectivesResolver = new HostDirectivesResolver(metaReader);
6827
6852
  const typeCheckScopeRegistry = new TypeCheckScopeRegistry(scopeReader, metaReader, hostDirectivesResolver);
6828
6853
  let referencesRegistry;
@@ -6834,15 +6859,15 @@ var NgCompiler = class {
6834
6859
  referencesRegistry = new NoopReferencesRegistry();
6835
6860
  }
6836
6861
  const dtsTransforms = new DtsTransformRegistry();
6837
- const isCore = isAngularCorePackage(this.inputProgram);
6838
6862
  const resourceRegistry = new ResourceRegistry();
6839
6863
  const compilationMode = this.options.compilationMode === "partial" && !isCore ? CompilationMode.PARTIAL : CompilationMode.FULL;
6840
6864
  const cycleHandlingStrategy = compilationMode === CompilationMode.FULL ? 0 : 1;
6865
+ const strictCtorDeps = this.options.strictInjectionParameters || false;
6841
6866
  const handlers = [
6842
- new ComponentDecoratorHandler(reflector, evaluator, metaRegistry, metaReader, scopeReader, depScopeReader, ngModuleScopeRegistry, typeCheckScopeRegistry, resourceRegistry, isCore, 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, this.incrementalCompilation.depGraph, injectableRegistry, semanticDepGraphUpdater, this.closureCompilerEnabled, this.delegatingPerfRecorder, hostDirectivesResolver),
6843
- new DirectiveDecoratorHandler(reflector, evaluator, metaRegistry, ngModuleScopeRegistry, metaReader, injectableRegistry, refEmitter, isCore, semanticDepGraphUpdater, this.closureCompilerEnabled, false, this.delegatingPerfRecorder),
6867
+ 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, this.incrementalCompilation.depGraph, injectableRegistry, semanticDepGraphUpdater, this.closureCompilerEnabled, this.delegatingPerfRecorder, hostDirectivesResolver),
6868
+ new DirectiveDecoratorHandler(reflector, evaluator, metaRegistry, ngModuleScopeRegistry, metaReader, injectableRegistry, refEmitter, isCore, strictCtorDeps, semanticDepGraphUpdater, this.closureCompilerEnabled, false, this.delegatingPerfRecorder),
6844
6869
  new PipeDecoratorHandler(reflector, evaluator, metaRegistry, ngModuleScopeRegistry, injectableRegistry, isCore, this.delegatingPerfRecorder),
6845
- new InjectableDecoratorHandler(reflector, isCore, this.options.strictInjectionParameters || false, injectableRegistry, this.delegatingPerfRecorder),
6870
+ new InjectableDecoratorHandler(reflector, evaluator, isCore, strictCtorDeps, injectableRegistry, this.delegatingPerfRecorder),
6846
6871
  new NgModuleDecoratorHandler(reflector, evaluator, metaReader, metaRegistry, ngModuleScopeRegistry, referencesRegistry, isCore, refEmitter, this.adapter.factoryTracker, this.closureCompilerEnabled, (_a = this.options.onlyPublishPublicTypingsForNgModules) != null ? _a : false, injectableRegistry, this.delegatingPerfRecorder)
6847
6872
  ];
6848
6873
  const traitCompiler = new TraitCompiler(handlers, reflector, this.delegatingPerfRecorder, this.incrementalCompilation, this.options.compileNonExportedClasses !== false, compilationMode, dtsTransforms, semanticDepGraphUpdater, this.adapter);
@@ -7030,7 +7055,7 @@ function versionMapFromProgram(program, driver) {
7030
7055
  return versions;
7031
7056
  }
7032
7057
 
7033
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
7058
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
7034
7059
  import ts33 from "typescript";
7035
7060
  var DelegatingCompilerHost2 = class {
7036
7061
  constructor(delegate) {
@@ -7175,7 +7200,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
7175
7200
  }
7176
7201
  };
7177
7202
 
7178
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
7203
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
7179
7204
  var NgtscProgram = class {
7180
7205
  constructor(rootNames, options, delegateHost, oldProgram) {
7181
7206
  this.options = options;
@@ -7384,15 +7409,15 @@ function mergeEmitResults(emitResults) {
7384
7409
  return { diagnostics, emitSkipped, emittedFiles };
7385
7410
  }
7386
7411
 
7387
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
7412
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
7388
7413
  function createProgram({ rootNames, options, host, oldProgram }) {
7389
7414
  return new NgtscProgram(rootNames, options, host, oldProgram);
7390
7415
  }
7391
7416
 
7392
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
7417
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
7393
7418
  import ts36 from "typescript";
7394
7419
 
7395
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
7420
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
7396
7421
  import ts35 from "typescript";
7397
7422
  function createMessageDiagnostic(messageText) {
7398
7423
  return {
@@ -7406,7 +7431,7 @@ function createMessageDiagnostic(messageText) {
7406
7431
  };
7407
7432
  }
7408
7433
 
7409
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
7434
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
7410
7435
  var defaultFormatHost = {
7411
7436
  getCurrentDirectory: () => ts36.sys.getCurrentDirectory(),
7412
7437
  getCanonicalFileName: (fileName) => fileName,
@@ -7619,4 +7644,4 @@ export {
7619
7644
  * found in the LICENSE file at https://angular.io/license
7620
7645
  */
7621
7646
  // Closure Compiler ignores @suppress and similar if the comment contains @license.
7622
- //# sourceMappingURL=chunk-YEQI6VDV.js.map
7647
+ //# sourceMappingURL=chunk-RMZB2XBA.js.map