@angular/compiler-cli 17.1.0-next.3 → 17.1.0-next.4

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 (64) hide show
  1. package/bundles/{chunk-ZH5AJH3B.js → chunk-5QWOGIJL.js} +5 -5
  2. package/bundles/{chunk-EVIA54WP.js → chunk-EFMKZSXJ.js} +59 -33
  3. package/bundles/chunk-EFMKZSXJ.js.map +6 -0
  4. package/bundles/{chunk-DV5CKGO6.js → chunk-HQUXRCDO.js} +199 -151
  5. package/bundles/chunk-HQUXRCDO.js.map +6 -0
  6. package/bundles/{chunk-XI2N3MV4.js → chunk-MFE4YVWE.js} +15 -14
  7. package/bundles/chunk-MFE4YVWE.js.map +6 -0
  8. package/bundles/{chunk-5ASJ74IM.js → chunk-OZXTEOXW.js} +34 -32
  9. package/bundles/chunk-OZXTEOXW.js.map +6 -0
  10. package/bundles/{chunk-I3M5LXMW.js → chunk-QPMYDNZG.js} +7 -7
  11. package/bundles/{chunk-JOIB3454.js → chunk-R4KQI5XI.js} +5 -5
  12. package/bundles/{chunk-CF2CT7RQ.js → chunk-SBDNBITT.js} +3 -3
  13. package/bundles/{chunk-LJKJD6DP.js → chunk-U4EFDEE4.js} +290 -166
  14. package/bundles/chunk-U4EFDEE4.js.map +6 -0
  15. package/bundles/{chunk-WMUBJYYX.js → chunk-WCD6LVCP.js} +7 -7
  16. package/bundles/{chunk-5JRMFWYO.js → chunk-YGXKICXB.js} +4 -4
  17. package/bundles/index.js +12 -13
  18. package/bundles/index.js.map +1 -1
  19. package/bundles/linker/babel/index.js +18 -18
  20. package/bundles/linker/babel/index.js.map +1 -1
  21. package/bundles/linker/index.js +5 -5
  22. package/bundles/ngcc/index.js +1 -1
  23. package/bundles/private/bazel.js +1 -1
  24. package/bundles/private/localize.js +3 -3
  25. package/bundles/private/migrations.js +5 -6
  26. package/bundles/private/tooling.js +3 -4
  27. package/bundles/src/bin/ng_xi18n.js +10 -11
  28. package/bundles/src/bin/ng_xi18n.js.map +1 -1
  29. package/bundles/src/bin/ngc.js +8 -9
  30. package/bundles/src/bin/ngc.js.map +1 -1
  31. package/bundles_metadata.json +1 -1
  32. package/linker/babel/src/ast/babel_ast_factory.d.ts +0 -1
  33. package/linker/babel/src/ast/babel_ast_host.d.ts +0 -1
  34. package/linker/babel/src/babel_declaration_scope.d.ts +2 -5
  35. package/linker/babel/src/babel_plugin.d.ts +0 -1
  36. package/linker/babel/src/es2015_linker_plugin.d.ts +0 -1
  37. package/linker/src/file_linker/partial_linkers/util.d.ts +1 -1
  38. package/package.json +2 -2
  39. package/private/babel.d.ts +6 -20
  40. package/src/ngtsc/annotations/directive/src/input_function.d.ts +23 -0
  41. package/src/ngtsc/annotations/directive/src/shared.d.ts +15 -3
  42. package/src/ngtsc/imports/src/emitter.d.ts +5 -1
  43. package/src/ngtsc/imports/src/references.d.ts +3 -1
  44. package/src/ngtsc/metadata/src/api.d.ts +25 -3
  45. package/src/ngtsc/metadata/src/property_mapping.d.ts +3 -1
  46. package/src/ngtsc/reflection/src/host.d.ts +6 -1
  47. package/src/ngtsc/reflection/src/typescript.d.ts +1 -0
  48. package/src/ngtsc/typecheck/src/environment.d.ts +2 -27
  49. package/src/ngtsc/typecheck/src/reference_emit_environment.d.ts +50 -0
  50. package/src/ngtsc/typecheck/src/tcb_util.d.ts +7 -8
  51. package/src/ngtsc/typecheck/src/type_constructor.d.ts +3 -3
  52. package/bundles/chunk-3O3O4L34.js +0 -12
  53. package/bundles/chunk-3O3O4L34.js.map +0 -6
  54. package/bundles/chunk-5ASJ74IM.js.map +0 -6
  55. package/bundles/chunk-DV5CKGO6.js.map +0 -6
  56. package/bundles/chunk-EVIA54WP.js.map +0 -6
  57. package/bundles/chunk-LJKJD6DP.js.map +0 -6
  58. package/bundles/chunk-XI2N3MV4.js.map +0 -6
  59. /package/bundles/{chunk-ZH5AJH3B.js.map → chunk-5QWOGIJL.js.map} +0 -0
  60. /package/bundles/{chunk-I3M5LXMW.js.map → chunk-QPMYDNZG.js.map} +0 -0
  61. /package/bundles/{chunk-JOIB3454.js.map → chunk-R4KQI5XI.js.map} +0 -0
  62. /package/bundles/{chunk-CF2CT7RQ.js.map → chunk-SBDNBITT.js.map} +0 -0
  63. /package/bundles/{chunk-WMUBJYYX.js.map → chunk-WCD6LVCP.js.map} +0 -0
  64. /package/bundles/{chunk-5JRMFWYO.js.map → chunk-YGXKICXB.js.map} +0 -0
@@ -36,17 +36,18 @@ import {
36
36
  aliasTransformFactory,
37
37
  declarationTransformFactory,
38
38
  ivyTransformFactory
39
- } from "./chunk-LJKJD6DP.js";
39
+ } from "./chunk-U4EFDEE4.js";
40
40
  import {
41
41
  ImportManager,
42
42
  TypeEmitter,
43
43
  canEmitType,
44
44
  translateExpression,
45
45
  translateType
46
- } from "./chunk-XI2N3MV4.js";
46
+ } from "./chunk-MFE4YVWE.js";
47
47
  import {
48
48
  AbsoluteModuleStrategy,
49
49
  AliasStrategy,
50
+ AmbientImport,
50
51
  COMPILER_ERRORS_WITH_GUIDES,
51
52
  DefaultImportTracker,
52
53
  DeferredSymbolTracker,
@@ -85,14 +86,14 @@ import {
85
86
  relativePathBetween,
86
87
  replaceTsWithNgInErrors,
87
88
  toUnredirectedSourceFile
88
- } from "./chunk-EVIA54WP.js";
89
+ } from "./chunk-EFMKZSXJ.js";
89
90
  import {
90
91
  ActivePerfRecorder,
91
92
  DelegatingPerfRecorder,
92
93
  PerfCheckpoint,
93
94
  PerfEvent,
94
95
  PerfPhase
95
- } from "./chunk-JOIB3454.js";
96
+ } from "./chunk-R4KQI5XI.js";
96
97
  import {
97
98
  LogicalFileSystem,
98
99
  absoluteFrom,
@@ -102,9 +103,9 @@ import {
102
103
  getSourceFileOrError,
103
104
  join,
104
105
  resolve
105
- } from "./chunk-I3M5LXMW.js";
106
+ } from "./chunk-QPMYDNZG.js";
106
107
 
107
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
108
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
108
109
  var DEFAULT_ERROR_CODE = 100;
109
110
  var UNKNOWN_ERROR_CODE = 500;
110
111
  var SOURCE = "angular";
@@ -122,7 +123,7 @@ var EmitFlags;
122
123
  EmitFlags2[EmitFlags2["All"] = 31] = "All";
123
124
  })(EmitFlags || (EmitFlags = {}));
124
125
 
125
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
126
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
126
127
  import ts from "typescript";
127
128
  var wrapHostForTest = null;
128
129
  function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, true) }) {
@@ -132,7 +133,7 @@ function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, t
132
133
  return tsHost;
133
134
  }
134
135
 
135
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/entities.mjs
136
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/entities.mjs
136
137
  var EntryType;
137
138
  (function(EntryType2) {
138
139
  EntryType2["Block"] = "block";
@@ -175,11 +176,11 @@ var MemberTags;
175
176
  MemberTags2["Inherited"] = "override";
176
177
  })(MemberTags || (MemberTags = {}));
177
178
 
178
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
179
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
179
180
  import { HtmlParser, MessageBundle } from "@angular/compiler";
180
181
  import ts37 from "typescript";
181
182
 
182
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
183
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
183
184
  import { Xliff, Xliff2, Xmb } from "@angular/compiler";
184
185
  import * as path from "path";
185
186
  function i18nGetExtension(formatName) {
@@ -230,10 +231,10 @@ function getPathNormalizer(basePath) {
230
231
  };
231
232
  }
232
233
 
233
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
234
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
234
235
  import ts2 from "typescript";
235
236
 
236
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
237
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
237
238
  function toNumbers(value) {
238
239
  const suffixIndex = value.lastIndexOf("-");
239
240
  return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
@@ -268,7 +269,7 @@ function compareVersions(v1, v2) {
268
269
  return compareNumbers(toNumbers(v1), toNumbers(v2));
269
270
  }
270
271
 
271
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
272
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
272
273
  var MIN_TS_VERSION = "5.2.0";
273
274
  var MAX_TS_VERSION = "5.4.0";
274
275
  var tsVersion = ts2.version;
@@ -281,10 +282,10 @@ function verifySupportedTypeScriptVersion() {
281
282
  checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
282
283
  }
283
284
 
284
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
285
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
285
286
  import ts35 from "typescript";
286
287
 
287
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
288
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
288
289
  var CycleAnalyzer = class {
289
290
  constructor(importGraph) {
290
291
  this.importGraph = importGraph;
@@ -355,7 +356,7 @@ var Cycle = class {
355
356
  }
356
357
  };
357
358
 
358
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
359
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
359
360
  import ts3 from "typescript";
360
361
  var ImportGraph = class {
361
362
  constructor(checker, perf) {
@@ -447,23 +448,23 @@ var Found = class {
447
448
  }
448
449
  };
449
450
 
450
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
451
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
451
452
  import ts9 from "typescript";
452
453
 
453
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
454
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
454
455
  import ts6 from "typescript";
455
456
 
456
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/filters.mjs
457
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/filters.mjs
457
458
  function isAngularPrivateName(name) {
458
459
  var _a;
459
460
  const firstChar = (_a = name[0]) != null ? _a : "";
460
461
  return firstChar === "\u0275" || firstChar === "_";
461
462
  }
462
463
 
463
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
464
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
464
465
  import ts5 from "typescript";
465
466
 
466
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/generics_extractor.mjs
467
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/generics_extractor.mjs
467
468
  function extractGenerics(declaration) {
468
469
  var _a, _b;
469
470
  return (_b = (_a = declaration.typeParameters) == null ? void 0 : _a.map((typeParam) => {
@@ -476,7 +477,7 @@ function extractGenerics(declaration) {
476
477
  })) != null ? _b : [];
477
478
  }
478
479
 
479
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/jsdoc_extractor.mjs
480
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/jsdoc_extractor.mjs
480
481
  import ts4 from "typescript";
481
482
  var decoratorExpression = /@(?=(Injectable|Component|Directive|Pipe|NgModule|Input|Output|HostBinding|HostListener|Inject|Optional|Self|Host|SkipSelf))/g;
482
483
  function extractJsDocTags(node) {
@@ -520,12 +521,12 @@ function unescapeAngularDecorators(comment) {
520
521
  return comment.replace(/_NG_AT_/g, "@");
521
522
  }
522
523
 
523
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_extractor.mjs
524
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_extractor.mjs
524
525
  function extractResolvedTypeString(node, checker) {
525
526
  return checker.typeToString(checker.getTypeAtLocation(node));
526
527
  }
527
528
 
528
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
529
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
529
530
  var FunctionExtractor = class {
530
531
  constructor(declaration, typeChecker) {
531
532
  this.declaration = declaration;
@@ -579,7 +580,7 @@ var FunctionExtractor = class {
579
580
  }
580
581
  };
581
582
 
582
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
583
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
583
584
  var ClassExtractor = class {
584
585
  constructor(declaration, typeChecker) {
585
586
  this.declaration = declaration;
@@ -811,7 +812,7 @@ function extractInterface(declaration, typeChecker) {
811
812
  return extractor.extract();
812
813
  }
813
814
 
814
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/constant_extractor.mjs
815
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/constant_extractor.mjs
815
816
  function extractConstant(declaration, typeChecker) {
816
817
  const resolvedType = typeChecker.getBaseTypeOfLiteralType(typeChecker.getTypeAtLocation(declaration));
817
818
  const variableStatement = declaration.parent.parent;
@@ -829,7 +830,7 @@ function isSyntheticAngularConstant(declaration) {
829
830
  return declaration.name.getText() === "USED_FOR_NG_TYPE_CHECKING";
830
831
  }
831
832
 
832
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/decorator_extractor.mjs
833
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/decorator_extractor.mjs
833
834
  import ts7 from "typescript";
834
835
  function extractorDecorator(declaration, typeChecker) {
835
836
  const documentedNode = getDecoratorJsDocNode(declaration);
@@ -902,7 +903,7 @@ function getDecoratorJsDocNode(declaration) {
902
903
  return callSignature;
903
904
  }
904
905
 
905
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/enum_extractor.mjs
906
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/enum_extractor.mjs
906
907
  import ts8 from "typescript";
907
908
  function extractEnum(declaration, typeChecker) {
908
909
  return {
@@ -933,7 +934,7 @@ function getEnumMemberValue(memberNode) {
933
934
  return (_a = literal == null ? void 0 : literal.getText()) != null ? _a : "";
934
935
  }
935
936
 
936
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_alias_extractor.mjs
937
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_alias_extractor.mjs
937
938
  function extractTypeAlias(declaration) {
938
939
  return {
939
940
  name: declaration.name.getText(),
@@ -945,7 +946,7 @@ function extractTypeAlias(declaration) {
945
946
  };
946
947
  }
947
948
 
948
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
949
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
949
950
  var DocsExtractor = class {
950
951
  constructor(typeChecker, metadataReader) {
951
952
  this.typeChecker = typeChecker;
@@ -1007,7 +1008,7 @@ function isIgnoredInterface(node) {
1007
1008
  return node.name.getText().endsWith("Decorator") || isDecoratorOptionsInterface(node);
1008
1009
  }
1009
1010
 
1010
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
1011
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
1011
1012
  import ts10 from "typescript";
1012
1013
  var FlatIndexGenerator = class {
1013
1014
  constructor(entryPoint, relativeFlatIndexPath, moduleName) {
@@ -1032,7 +1033,7 @@ export * from '${relativeEntryPoint}';
1032
1033
  }
1033
1034
  };
1034
1035
 
1035
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
1036
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
1036
1037
  function findFlatIndexEntryPoint(rootFiles) {
1037
1038
  const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
1038
1039
  let resolvedEntryPoint = null;
@@ -1048,7 +1049,7 @@ function findFlatIndexEntryPoint(rootFiles) {
1048
1049
  return resolvedEntryPoint;
1049
1050
  }
1050
1051
 
1051
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
1052
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
1052
1053
  import ts11 from "typescript";
1053
1054
  function checkForPrivateExports(entryPoint, checker, refGraph) {
1054
1055
  const diagnostics = [];
@@ -1128,7 +1129,7 @@ function getDescriptorOfDeclaration(decl) {
1128
1129
  }
1129
1130
  }
1130
1131
 
1131
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
1132
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
1132
1133
  var ReferenceGraph = class {
1133
1134
  constructor() {
1134
1135
  this.references = /* @__PURE__ */ new Map();
@@ -1182,7 +1183,7 @@ var ReferenceGraph = class {
1182
1183
  }
1183
1184
  };
1184
1185
 
1185
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
1186
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
1186
1187
  var NgOriginalFile = Symbol("NgOriginalFile");
1187
1188
  var UpdateMode;
1188
1189
  (function(UpdateMode2) {
@@ -1190,13 +1191,13 @@ var UpdateMode;
1190
1191
  UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
1191
1192
  })(UpdateMode || (UpdateMode = {}));
1192
1193
 
1193
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
1194
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
1194
1195
  import ts13 from "typescript";
1195
1196
 
1196
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
1197
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
1197
1198
  import ts12 from "typescript";
1198
1199
 
1199
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
1200
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
1200
1201
  var NgExtension = Symbol("NgExtension");
1201
1202
  function isExtended(sf) {
1202
1203
  return sf[NgExtension] !== void 0;
@@ -1256,13 +1257,13 @@ function retagTsFile(sf) {
1256
1257
  }
1257
1258
  }
1258
1259
 
1259
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
1260
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
1260
1261
  var TS_EXTENSIONS = /\.tsx?$/i;
1261
1262
  function makeShimFileName(fileName, suffix) {
1262
1263
  return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
1263
1264
  }
1264
1265
 
1265
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
1266
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
1266
1267
  var ShimAdapter = class {
1267
1268
  constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
1268
1269
  this.delegate = delegate;
@@ -1357,7 +1358,7 @@ var ShimAdapter = class {
1357
1358
  }
1358
1359
  };
1359
1360
 
1360
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
1361
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
1361
1362
  var ShimReferenceTagger = class {
1362
1363
  constructor(shimExtensions) {
1363
1364
  this.tagged = /* @__PURE__ */ new Set();
@@ -1391,7 +1392,7 @@ var ShimReferenceTagger = class {
1391
1392
  }
1392
1393
  };
1393
1394
 
1394
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
1395
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
1395
1396
  var DelegatingCompilerHost = class {
1396
1397
  get jsDocParsingMode() {
1397
1398
  return this.delegate.jsDocParsingMode;
@@ -1510,7 +1511,7 @@ var TsCreateProgramDriver = class {
1510
1511
  }
1511
1512
  };
1512
1513
 
1513
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
1514
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
1514
1515
  var FileDependencyGraph = class {
1515
1516
  constructor() {
1516
1517
  this.nodes = /* @__PURE__ */ new Map();
@@ -1577,7 +1578,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
1577
1578
  return false;
1578
1579
  }
1579
1580
 
1580
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
1581
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
1581
1582
  var IncrementalStateKind;
1582
1583
  (function(IncrementalStateKind2) {
1583
1584
  IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
@@ -1585,7 +1586,7 @@ var IncrementalStateKind;
1585
1586
  IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
1586
1587
  })(IncrementalStateKind || (IncrementalStateKind = {}));
1587
1588
 
1588
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
1589
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
1589
1590
  var PhaseKind;
1590
1591
  (function(PhaseKind2) {
1591
1592
  PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
@@ -1786,7 +1787,7 @@ function toOriginalSourceFile(sf) {
1786
1787
  }
1787
1788
  }
1788
1789
 
1789
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
1790
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
1790
1791
  var TrackedIncrementalBuildStrategy = class {
1791
1792
  constructor() {
1792
1793
  this.state = null;
@@ -1822,7 +1823,7 @@ var PatchedProgramIncrementalBuildStrategy = class {
1822
1823
  };
1823
1824
  var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
1824
1825
 
1825
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
1826
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
1826
1827
  var IdentifierKind;
1827
1828
  (function(IdentifierKind2) {
1828
1829
  IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
@@ -1840,7 +1841,7 @@ var AbsoluteSourceSpan = class {
1840
1841
  }
1841
1842
  };
1842
1843
 
1843
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
1844
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
1844
1845
  var IndexingContext = class {
1845
1846
  constructor() {
1846
1847
  this.components = /* @__PURE__ */ new Set();
@@ -1850,10 +1851,10 @@ var IndexingContext = class {
1850
1851
  }
1851
1852
  };
1852
1853
 
1853
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
1854
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
1854
1855
  import { ParseSourceFile } from "@angular/compiler";
1855
1856
 
1856
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
1857
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
1857
1858
  import { ASTWithSource, ImplicitReceiver, PropertyRead, PropertyWrite, RecursiveAstVisitor, TmplAstBoundDeferredTrigger, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate } from "@angular/compiler";
1858
1859
  var ExpressionVisitor = class extends RecursiveAstVisitor {
1859
1860
  constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
@@ -2135,7 +2136,7 @@ function getTemplateIdentifiers(boundTemplate) {
2135
2136
  return { identifiers: visitor.identifiers, errors: visitor.errors };
2136
2137
  }
2137
2138
 
2138
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
2139
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
2139
2140
  function generateAnalysis(context) {
2140
2141
  const analysis = /* @__PURE__ */ new Map();
2141
2142
  context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
@@ -2171,7 +2172,7 @@ function generateAnalysis(context) {
2171
2172
  return analysis;
2172
2173
  }
2173
2174
 
2174
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
2175
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
2175
2176
  var NgModuleIndexImpl = class {
2176
2177
  constructor(metaReader, localReader) {
2177
2178
  this.metaReader = metaReader;
@@ -2260,7 +2261,7 @@ var NgModuleIndexImpl = class {
2260
2261
  }
2261
2262
  };
2262
2263
 
2263
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
2264
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
2264
2265
  import ts14 from "typescript";
2265
2266
  var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
2266
2267
  var RESOURCE_MARKER = ".$ngresource$";
@@ -2406,7 +2407,7 @@ function createLookupResolutionHost(adapter) {
2406
2407
  };
2407
2408
  }
2408
2409
 
2409
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
2410
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
2410
2411
  var StandaloneComponentScopeReader = class {
2411
2412
  constructor(metaReader, localModuleReader, dtsModuleReader) {
2412
2413
  this.metaReader = metaReader;
@@ -2484,10 +2485,10 @@ var StandaloneComponentScopeReader = class {
2484
2485
  }
2485
2486
  };
2486
2487
 
2487
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
2488
- import { CssSelector as CssSelector2, DomElementSchemaRegistry as DomElementSchemaRegistry2, ExternalExpr as ExternalExpr2, WrappedNodeExpr } from "@angular/compiler";
2488
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
2489
+ import { CssSelector as CssSelector2, DomElementSchemaRegistry as DomElementSchemaRegistry2, ExternalExpr as ExternalExpr2, WrappedNodeExpr as WrappedNodeExpr2 } from "@angular/compiler";
2489
2490
 
2490
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
2491
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
2491
2492
  import ts15 from "typescript";
2492
2493
  function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
2493
2494
  var _a;
@@ -2594,7 +2595,7 @@ function parseTemplateAsSourceFile(fileName, template) {
2594
2595
  return ts15.createSourceFile(fileName, template, ts15.ScriptTarget.Latest, false, ts15.ScriptKind.JSX);
2595
2596
  }
2596
2597
 
2597
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
2598
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
2598
2599
  var TEMPLATE_ID = Symbol("ngTemplateId");
2599
2600
  var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
2600
2601
  function getTemplateId(clazz) {
@@ -2611,11 +2612,11 @@ function allocateTemplateId(sf) {
2611
2612
  return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
2612
2613
  }
2613
2614
 
2614
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
2615
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
2615
2616
  import { EmptyExpr, ImplicitReceiver as ImplicitReceiver2, PropertyRead as PropertyRead2, PropertyWrite as PropertyWrite2, SafePropertyRead, TmplAstReference as TmplAstReference2, TmplAstTextAttribute } from "@angular/compiler";
2616
2617
  import ts17 from "typescript";
2617
2618
 
2618
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
2619
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
2619
2620
  import { AbsoluteSourceSpan as AbsoluteSourceSpan2 } from "@angular/compiler";
2620
2621
  import ts16 from "typescript";
2621
2622
  var parseSpanComment = /^(\d+),(\d+)$/;
@@ -2745,7 +2746,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
2745
2746
  }) || false;
2746
2747
  }
2747
2748
 
2748
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
2749
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
2749
2750
  var CompletionEngine = class {
2750
2751
  constructor(tcb, data, tcbPath, tcbIsShim) {
2751
2752
  this.tcb = tcb;
@@ -2902,10 +2903,10 @@ var CompletionEngine = class {
2902
2903
  }
2903
2904
  };
2904
2905
 
2905
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
2906
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
2906
2907
  import ts30 from "typescript";
2907
2908
 
2908
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
2909
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
2909
2910
  import { DomElementSchemaRegistry } from "@angular/compiler";
2910
2911
  import ts18 from "typescript";
2911
2912
  var REGISTRY = new DomElementSchemaRegistry();
@@ -2958,11 +2959,41 @@ var RegistryDomSchemaChecker = class {
2958
2959
  }
2959
2960
  };
2960
2961
 
2961
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
2962
- import { ExpressionType, ExternalExpr, TypeModifier } from "@angular/compiler";
2962
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
2963
2963
  import ts23 from "typescript";
2964
2964
 
2965
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
2965
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/reference_emit_environment.mjs
2966
+ import { ExpressionType, ExternalExpr, TypeModifier } from "@angular/compiler";
2967
+ var ReferenceEmitEnvironment = class {
2968
+ constructor(importManager, refEmitter, reflector, contextFile) {
2969
+ this.importManager = importManager;
2970
+ this.refEmitter = refEmitter;
2971
+ this.reflector = reflector;
2972
+ this.contextFile = contextFile;
2973
+ }
2974
+ canReferenceType(ref, flags = ImportFlags.NoAliasing | ImportFlags.AllowTypeImports | ImportFlags.AllowRelativeDtsImports) {
2975
+ const result = this.refEmitter.emit(ref, this.contextFile, flags);
2976
+ return result.kind === 0;
2977
+ }
2978
+ referenceType(ref, flags = ImportFlags.NoAliasing | ImportFlags.AllowTypeImports | ImportFlags.AllowRelativeDtsImports) {
2979
+ const ngExpr = this.refEmitter.emit(ref, this.contextFile, flags);
2980
+ assertSuccessfulReferenceEmit(ngExpr, this.contextFile, "symbol");
2981
+ return translateType(new ExpressionType(ngExpr.expression), this.contextFile, this.reflector, this.refEmitter, this.importManager);
2982
+ }
2983
+ referenceExternalSymbol(moduleName, name) {
2984
+ const external = new ExternalExpr({ moduleName, name });
2985
+ return translateExpression(external, this.importManager);
2986
+ }
2987
+ referenceExternalType(moduleName, name, typeParams) {
2988
+ const external = new ExternalExpr({ moduleName, name });
2989
+ return translateType(new ExpressionType(external, TypeModifier.None, typeParams), this.contextFile, this.reflector, this.refEmitter, this.importManager);
2990
+ }
2991
+ referenceTransplantedType(type) {
2992
+ return translateType(type, this.contextFile, this.reflector, this.refEmitter, this.importManager);
2993
+ }
2994
+ };
2995
+
2996
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
2966
2997
  import ts19 from "typescript";
2967
2998
  var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
2968
2999
  ts19.SyntaxKind.ParenthesizedExpression,
@@ -3047,13 +3078,15 @@ function tsNumericExpression(value) {
3047
3078
  return ts19.factory.createNumericLiteral(value);
3048
3079
  }
3049
3080
 
3050
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
3081
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
3082
+ import { ExpressionType as ExpressionType2, R3Identifiers as R3Identifiers2, WrappedNodeExpr } from "@angular/compiler";
3051
3083
  import ts22 from "typescript";
3052
3084
 
3053
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
3085
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
3086
+ import { R3Identifiers } from "@angular/compiler";
3054
3087
  import ts21 from "typescript";
3055
3088
 
3056
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
3089
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
3057
3090
  import ts20 from "typescript";
3058
3091
  var TypeParameterEmitter = class {
3059
3092
  constructor(typeParameters, reflector) {
@@ -3104,13 +3137,13 @@ var TypeParameterEmitter = class {
3104
3137
  return type;
3105
3138
  }
3106
3139
  let owningModule = null;
3107
- if (declaration.viaModule !== null) {
3140
+ if (typeof declaration.viaModule === "string") {
3108
3141
  owningModule = {
3109
3142
  specifier: declaration.viaModule,
3110
3143
  resolutionContext: type.getSourceFile().fileName
3111
3144
  };
3112
3145
  }
3113
- return new Reference(declaration.node, owningModule);
3146
+ return new Reference(declaration.node, declaration.viaModule === AmbientImport ? AmbientImport : owningModule);
3114
3147
  }
3115
3148
  translateTypeReference(type, emitReference) {
3116
3149
  const reference = this.resolveTypeReference(type);
@@ -3131,7 +3164,10 @@ var TypeParameterEmitter = class {
3131
3164
  }
3132
3165
  };
3133
3166
 
3134
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
3167
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
3168
+ var TCB_FILE_IMPORT_GRAPH_PREPARE_MODULES = [
3169
+ R3Identifiers.InputSignalBrandWriteType.moduleName
3170
+ ];
3135
3171
  var TcbInliningRequirement;
3136
3172
  (function(TcbInliningRequirement2) {
3137
3173
  TcbInliningRequirement2[TcbInliningRequirement2["MustInline"] = 0] = "MustInline";
@@ -3206,16 +3242,21 @@ function getTemplateId2(node, sourceFile, isDiagnosticRequest) {
3206
3242
  return commentText;
3207
3243
  }) || null;
3208
3244
  }
3245
+ function ensureTypeCheckFilePreparationImports(env) {
3246
+ for (const moduleName of TCB_FILE_IMPORT_GRAPH_PREPARE_MODULES) {
3247
+ env.importManager.generateNamespaceImport(moduleName);
3248
+ }
3249
+ }
3209
3250
  function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
3210
3251
  const emitter = new TypeParameterEmitter(node.typeParameters, reflector);
3211
3252
  return emitter.canEmit((ref) => env.canReferenceType(ref));
3212
3253
  }
3213
3254
 
3214
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
3215
- function generateTypeCtorDeclarationFn(node, meta, nodeTypeRef, typeParams) {
3255
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
3256
+ function generateTypeCtorDeclarationFn(env, meta, nodeTypeRef, typeParams) {
3216
3257
  const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
3217
3258
  const rawType = ts22.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
3218
- const initParam = constructTypeCtorParameter(node, meta, rawType);
3259
+ const initParam = constructTypeCtorParameter(env, meta, rawType);
3219
3260
  const typeParameters = typeParametersWithDefaultTypes(typeParams);
3220
3261
  if (meta.body) {
3221
3262
  const fnType = ts22.factory.createFunctionTypeNode(
@@ -3246,10 +3287,10 @@ function generateTypeCtorDeclarationFn(node, meta, nodeTypeRef, typeParams) {
3246
3287
  );
3247
3288
  }
3248
3289
  }
3249
- function generateInlineTypeCtor(node, meta) {
3290
+ function generateInlineTypeCtor(env, node, meta) {
3250
3291
  const rawTypeArgs = node.typeParameters !== void 0 ? generateGenericArgs(node.typeParameters) : void 0;
3251
3292
  const rawType = ts22.factory.createTypeReferenceNode(node.name, rawTypeArgs);
3252
- const initParam = constructTypeCtorParameter(node, meta, rawType);
3293
+ const initParam = constructTypeCtorParameter(env, meta, rawType);
3253
3294
  let body = void 0;
3254
3295
  if (meta.body) {
3255
3296
  body = ts22.factory.createBlock([
@@ -3267,19 +3308,23 @@ function generateInlineTypeCtor(node, meta) {
3267
3308
  body
3268
3309
  );
3269
3310
  }
3270
- function constructTypeCtorParameter(node, meta, rawType) {
3311
+ function constructTypeCtorParameter(env, meta, rawType) {
3271
3312
  let initType = null;
3272
3313
  const plainKeys = [];
3273
3314
  const coercedKeys = [];
3274
- for (const { classPropertyName, transform } of meta.fields.inputs) {
3275
- if (!meta.coercedInputFields.has(classPropertyName)) {
3315
+ const signalInputKeys = [];
3316
+ for (const { classPropertyName, transform, isSignal } of meta.fields.inputs) {
3317
+ if (isSignal) {
3318
+ signalInputKeys.push(ts22.factory.createLiteralTypeNode(ts22.factory.createStringLiteral(classPropertyName)));
3319
+ } else if (!meta.coercedInputFields.has(classPropertyName)) {
3276
3320
  plainKeys.push(ts22.factory.createLiteralTypeNode(ts22.factory.createStringLiteral(classPropertyName)));
3277
3321
  } else {
3322
+ const coercionType = transform != null ? transform.type.node : tsCreateTypeQueryForCoercedInput(rawType.typeName, classPropertyName);
3278
3323
  coercedKeys.push(ts22.factory.createPropertySignature(
3279
3324
  void 0,
3280
3325
  classPropertyName,
3281
3326
  void 0,
3282
- transform == null ? tsCreateTypeQueryForCoercedInput(rawType.typeName, classPropertyName) : transform.type.node
3327
+ coercionType
3283
3328
  ));
3284
3329
  }
3285
3330
  }
@@ -3291,6 +3336,14 @@ function constructTypeCtorParameter(node, meta, rawType) {
3291
3336
  const coercedLiteral = ts22.factory.createTypeLiteralNode(coercedKeys);
3292
3337
  initType = initType !== null ? ts22.factory.createIntersectionTypeNode([initType, coercedLiteral]) : coercedLiteral;
3293
3338
  }
3339
+ if (signalInputKeys.length > 0) {
3340
+ const keyTypeUnion = ts22.factory.createUnionTypeNode(signalInputKeys);
3341
+ const unwrapDirectiveSignalInputsExpr = env.referenceExternalType(R3Identifiers2.UnwrapDirectiveSignalInputs.moduleName, R3Identifiers2.UnwrapDirectiveSignalInputs.name, [
3342
+ new ExpressionType2(new WrappedNodeExpr(rawType)),
3343
+ new ExpressionType2(new WrappedNodeExpr(keyTypeUnion))
3344
+ ]);
3345
+ initType = initType !== null ? ts22.factory.createIntersectionTypeNode([initType, unwrapDirectiveSignalInputsExpr]) : unwrapDirectiveSignalInputsExpr;
3346
+ }
3294
3347
  if (initType === null) {
3295
3348
  initType = ts22.factory.createTypeLiteralNode([]);
3296
3349
  }
@@ -3322,14 +3375,11 @@ function typeParametersWithDefaultTypes(params) {
3322
3375
  });
3323
3376
  }
3324
3377
 
3325
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
3326
- var Environment = class {
3378
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
3379
+ var Environment = class extends ReferenceEmitEnvironment {
3327
3380
  constructor(config, importManager, refEmitter, reflector, contextFile) {
3381
+ super(importManager, refEmitter, reflector, contextFile);
3328
3382
  this.config = config;
3329
- this.importManager = importManager;
3330
- this.refEmitter = refEmitter;
3331
- this.reflector = reflector;
3332
- this.contextFile = contextFile;
3333
3383
  this.nextIds = {
3334
3384
  pipeInst: 1,
3335
3385
  typeCtor: 1
@@ -3366,7 +3416,7 @@ var Environment = class {
3366
3416
  coercedInputFields: dir.coercedInputFields
3367
3417
  };
3368
3418
  const typeParams = this.emitTypeParameters(node);
3369
- const typeCtor = generateTypeCtorDeclarationFn(node, meta, nodeTypeRef.typeName, typeParams);
3419
+ const typeCtor = generateTypeCtorDeclarationFn(this, meta, nodeTypeRef.typeName, typeParams);
3370
3420
  this.typeCtorStatements.push(typeCtor);
3371
3421
  const fnId = ts23.factory.createIdentifier(fnName);
3372
3422
  this.typeCtors.set(node, fnId);
@@ -3388,26 +3438,10 @@ var Environment = class {
3388
3438
  assertSuccessfulReferenceEmit(ngExpr, this.contextFile, "class");
3389
3439
  return translateExpression(ngExpr.expression, this.importManager);
3390
3440
  }
3391
- canReferenceType(ref) {
3392
- const result = this.refEmitter.emit(ref, this.contextFile, ImportFlags.NoAliasing | ImportFlags.AllowTypeImports | ImportFlags.AllowRelativeDtsImports);
3393
- return result.kind === 0;
3394
- }
3395
- referenceType(ref) {
3396
- const ngExpr = this.refEmitter.emit(ref, this.contextFile, ImportFlags.NoAliasing | ImportFlags.AllowTypeImports | ImportFlags.AllowRelativeDtsImports);
3397
- assertSuccessfulReferenceEmit(ngExpr, this.contextFile, "symbol");
3398
- return translateType(new ExpressionType(ngExpr.expression), this.contextFile, this.reflector, this.refEmitter, this.importManager);
3399
- }
3400
3441
  emitTypeParameters(declaration) {
3401
3442
  const emitter = new TypeParameterEmitter(declaration.typeParameters, this.reflector);
3402
3443
  return emitter.emit((ref) => this.referenceType(ref));
3403
3444
  }
3404
- referenceExternalType(moduleName, name, typeParams) {
3405
- const external = new ExternalExpr({ moduleName, name });
3406
- return translateType(new ExpressionType(external, TypeModifier.None, typeParams), this.contextFile, this.reflector, this.refEmitter, this.importManager);
3407
- }
3408
- referenceTransplantedType(type) {
3409
- return translateType(type, this.contextFile, this.reflector, this.refEmitter, this.importManager);
3410
- }
3411
3445
  getPreludeStatements() {
3412
3446
  return [
3413
3447
  ...this.pipeInstStatements,
@@ -3416,7 +3450,7 @@ var Environment = class {
3416
3450
  }
3417
3451
  };
3418
3452
 
3419
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
3453
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
3420
3454
  import { TmplAstElement as TmplAstElement2, TmplAstIfBlockBranch } from "@angular/compiler";
3421
3455
  import ts24 from "typescript";
3422
3456
  var OutOfBandDiagnosticRecorderImpl = class {
@@ -3587,7 +3621,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
3587
3621
  };
3588
3622
  }
3589
3623
 
3590
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
3624
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
3591
3625
  import ts25 from "typescript";
3592
3626
  var TypeCheckShimGenerator = class {
3593
3627
  constructor() {
@@ -3605,11 +3639,11 @@ var TypeCheckShimGenerator = class {
3605
3639
  }
3606
3640
  };
3607
3641
 
3608
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
3609
- import { BindingPipe, Call as Call2, createCssSelectorFromNode, CssSelector, DYNAMIC_TYPE, ImplicitReceiver as ImplicitReceiver4, PropertyRead as PropertyRead4, PropertyWrite as PropertyWrite3, SafeCall, SafePropertyRead as SafePropertyRead3, SelectorMatcher, ThisReceiver, TmplAstBoundAttribute, TmplAstBoundText, TmplAstDeferredBlock, TmplAstElement as TmplAstElement3, TmplAstForLoopBlock, TmplAstIcu, TmplAstIfBlock, TmplAstIfBlockBranch as TmplAstIfBlockBranch2, TmplAstReference as TmplAstReference3, TmplAstSwitchBlock, TmplAstTemplate as TmplAstTemplate2, TmplAstText, TmplAstTextAttribute as TmplAstTextAttribute2, TmplAstVariable as TmplAstVariable2, TransplantedType } from "@angular/compiler";
3642
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
3643
+ import { BindingPipe, Call as Call2, createCssSelectorFromNode, CssSelector, DYNAMIC_TYPE, ImplicitReceiver as ImplicitReceiver4, PropertyRead as PropertyRead4, PropertyWrite as PropertyWrite3, R3Identifiers as R3Identifiers3, SafeCall, SafePropertyRead as SafePropertyRead3, SelectorMatcher, ThisReceiver, TmplAstBoundAttribute, TmplAstBoundText, TmplAstDeferredBlock, TmplAstElement as TmplAstElement3, TmplAstForLoopBlock, TmplAstIcu, TmplAstIfBlock, TmplAstIfBlockBranch as TmplAstIfBlockBranch2, TmplAstReference as TmplAstReference3, TmplAstSwitchBlock, TmplAstTemplate as TmplAstTemplate2, TmplAstText, TmplAstTextAttribute as TmplAstTextAttribute2, TmplAstVariable as TmplAstVariable2, TransplantedType } from "@angular/compiler";
3610
3644
  import ts28 from "typescript";
3611
3645
 
3612
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
3646
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
3613
3647
  import { AbsoluteSourceSpan as AbsoluteSourceSpan3 } from "@angular/compiler";
3614
3648
  import ts26 from "typescript";
3615
3649
  function wrapForDiagnostics(expr) {
@@ -3655,7 +3689,7 @@ function translateDiagnostic(diagnostic, resolver) {
3655
3689
  return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
3656
3690
  }
3657
3691
 
3658
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
3692
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
3659
3693
  import { ASTWithSource as ASTWithSource2, Call, EmptyExpr as EmptyExpr2, PropertyRead as PropertyRead3, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
3660
3694
  import ts27 from "typescript";
3661
3695
  var NULL_AS_ANY = ts27.factory.createAsExpression(ts27.factory.createNull(), ts27.factory.createKeywordTypeNode(ts27.SyntaxKind.AnyKeyword));
@@ -3988,7 +4022,7 @@ var VeSafeLhsInferenceBugDetector = _VeSafeLhsInferenceBugDetector;
3988
4022
  _VeSafeLhsInferenceBugDetector.SINGLETON = new _VeSafeLhsInferenceBugDetector();
3989
4023
  })();
3990
4024
 
3991
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
4025
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
3992
4026
  import { ImplicitReceiver as ImplicitReceiver3, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstVariable } from "@angular/compiler";
3993
4027
  var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
3994
4028
  constructor(templateId, boundTarget, oob) {
@@ -4012,7 +4046,7 @@ var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
4012
4046
  }
4013
4047
  };
4014
4048
 
4015
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
4049
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
4016
4050
  var TcbGenericContextBehavior;
4017
4051
  (function(TcbGenericContextBehavior2) {
4018
4052
  TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
@@ -4326,7 +4360,12 @@ var TcbDirectiveCtorOp = class extends TcbOp {
4326
4360
  continue;
4327
4361
  }
4328
4362
  const expression = translateInput(attr.attribute, this.tcb, this.scope);
4329
- genericInputs.set(fieldName, { type: "binding", field: fieldName, expression, sourceSpan: attr.attribute.sourceSpan });
4363
+ genericInputs.set(fieldName, {
4364
+ type: "binding",
4365
+ field: fieldName,
4366
+ expression,
4367
+ sourceSpan: attr.attribute.sourceSpan
4368
+ });
4330
4369
  }
4331
4370
  }
4332
4371
  for (const { classPropertyName } of this.dir.inputs) {
@@ -4361,7 +4400,7 @@ var TcbDirectiveInputsOp = class extends TcbOp {
4361
4400
  for (const attr of boundAttrs) {
4362
4401
  const expr = widenBinding(translateInput(attr.attribute, this.tcb, this.scope), this.tcb);
4363
4402
  let assignment = wrapForDiagnostics(expr);
4364
- for (const { fieldName, required, transformType } of attr.inputs) {
4403
+ for (const { fieldName, required, transformType, isSignal } of attr.inputs) {
4365
4404
  let target;
4366
4405
  if (required) {
4367
4406
  seenRequiredInputs.add(fieldName);
@@ -4401,6 +4440,13 @@ var TcbDirectiveInputsOp = class extends TcbOp {
4401
4440
  }
4402
4441
  target = this.dir.stringLiteralInputFields.has(fieldName) ? ts28.factory.createElementAccessExpression(dirId, ts28.factory.createStringLiteral(fieldName)) : ts28.factory.createPropertyAccessExpression(dirId, ts28.factory.createIdentifier(fieldName));
4403
4442
  }
4443
+ if (isSignal) {
4444
+ const inputSignalBrandWriteSymbol = this.tcb.env.referenceExternalSymbol(R3Identifiers3.InputSignalBrandWriteType.moduleName, R3Identifiers3.InputSignalBrandWriteType.name);
4445
+ if (!ts28.isIdentifier(inputSignalBrandWriteSymbol) && !ts28.isPropertyAccessExpression(inputSignalBrandWriteSymbol)) {
4446
+ throw new Error(`Expected identifier or property access for reference to ${R3Identifiers3.InputSignalBrandWriteType.name}`);
4447
+ }
4448
+ target = ts28.factory.createElementAccessExpression(target, inputSignalBrandWriteSymbol);
4449
+ }
4404
4450
  if (attr.attribute.keySpan !== void 0) {
4405
4451
  addParseSpanInfo(target, attr.attribute.keySpan);
4406
4452
  }
@@ -4713,9 +4759,7 @@ var TcbBlockImplicitVariableOp = class extends TcbOp {
4713
4759
  this.scope = scope;
4714
4760
  this.type = type;
4715
4761
  this.variable = variable;
4716
- }
4717
- get optional() {
4718
- return false;
4762
+ this.optional = true;
4719
4763
  }
4720
4764
  execute() {
4721
4765
  const id = this.tcb.allocateId();
@@ -5360,7 +5404,8 @@ function getBoundAttributes(directive, node) {
5360
5404
  return {
5361
5405
  fieldName: input.classPropertyName,
5362
5406
  required: input.required,
5363
- transformType: ((_a = input.transform) == null ? void 0 : _a.type) || null
5407
+ transformType: ((_a = input.transform) == null ? void 0 : _a.type) || null,
5408
+ isSignal: input.isSignal
5364
5409
  };
5365
5410
  })
5366
5411
  });
@@ -5475,7 +5520,7 @@ var TcbForLoopTrackTranslator = class extends TcbExpressionTranslator {
5475
5520
  }
5476
5521
  };
5477
5522
 
5478
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
5523
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
5479
5524
  import ts29 from "typescript";
5480
5525
  var TypeCheckFile = class extends Environment {
5481
5526
  constructor(fileName, config, refEmitter, reflector, compilerHost) {
@@ -5490,6 +5535,7 @@ var TypeCheckFile = class extends Environment {
5490
5535
  this.tcbStatements.push(fn);
5491
5536
  }
5492
5537
  render(removeComments) {
5538
+ ensureTypeCheckFilePreparationImports(this);
5493
5539
  let source = this.importManager.getAllImports(this.contextFile.fileName).map((i) => `import * as ${i.qualifier.text} from '${i.specifier}';`).join("\n") + "\n\n";
5494
5540
  const printer = ts29.createPrinter({ removeComments });
5495
5541
  source += "\n";
@@ -5511,7 +5557,7 @@ var TypeCheckFile = class extends Environment {
5511
5557
  }
5512
5558
  };
5513
5559
 
5514
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
5560
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
5515
5561
  var InliningMode;
5516
5562
  (function(InliningMode2) {
5517
5563
  InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
@@ -5607,7 +5653,7 @@ var TypeCheckContextImpl = class {
5607
5653
  this.opMap.set(sf, []);
5608
5654
  }
5609
5655
  const ops = this.opMap.get(sf);
5610
- ops.push(new TypeCtorOp(ref, ctorMeta));
5656
+ ops.push(new TypeCtorOp(ref, this.reflector, ctorMeta));
5611
5657
  fileData.hasInlines = true;
5612
5658
  }
5613
5659
  transform(sf) {
@@ -5722,15 +5768,17 @@ var InlineTcbOp = class {
5722
5768
  }
5723
5769
  };
5724
5770
  var TypeCtorOp = class {
5725
- constructor(ref, meta) {
5771
+ constructor(ref, reflector, meta) {
5726
5772
  this.ref = ref;
5773
+ this.reflector = reflector;
5727
5774
  this.meta = meta;
5728
5775
  }
5729
5776
  get splitPoint() {
5730
5777
  return this.ref.node.end - 1;
5731
5778
  }
5732
5779
  execute(im, sf, refEmitter, printer) {
5733
- const tcb = generateInlineTypeCtor(this.ref.node, this.meta);
5780
+ const emitEnv = new ReferenceEmitEnvironment(im, refEmitter, this.reflector, sf);
5781
+ const tcb = generateInlineTypeCtor(emitEnv, this.ref.node, this.meta);
5734
5782
  return printer.printNode(ts30.EmitHint.Unspecified, tcb, sf);
5735
5783
  }
5736
5784
  };
@@ -5749,10 +5797,10 @@ function splitStringAtPoints(str, points) {
5749
5797
  return splits;
5750
5798
  }
5751
5799
 
5752
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
5800
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
5753
5801
  import { ParseLocation, ParseSourceSpan } from "@angular/compiler";
5754
5802
 
5755
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
5803
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
5756
5804
  var LF_CHAR = 10;
5757
5805
  var CR_CHAR = 13;
5758
5806
  var LINE_SEP_CHAR = 8232;
@@ -5793,7 +5841,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
5793
5841
  return low - 1;
5794
5842
  }
5795
5843
 
5796
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
5844
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
5797
5845
  var TemplateSource = class {
5798
5846
  constructor(mapping, file) {
5799
5847
  this.mapping = mapping;
@@ -5844,7 +5892,7 @@ var TemplateSourceManager = class {
5844
5892
  }
5845
5893
  };
5846
5894
 
5847
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
5895
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
5848
5896
  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";
5849
5897
  import ts31 from "typescript";
5850
5898
  var SymbolBuilder = class {
@@ -6328,7 +6376,7 @@ function sourceSpanEqual(a, b) {
6328
6376
  return a.start.offset === b.start.offset && a.end.offset === b.end.offset;
6329
6377
  }
6330
6378
 
6331
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
6379
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
6332
6380
  var REGISTRY2 = new DomElementSchemaRegistry2();
6333
6381
  var TemplateTypeCheckerImpl = class {
6334
6382
  constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, metaReader, localMetaReader, ngModuleIndex, componentScopeReader, typeCheckScopeRegistry, perf) {
@@ -6825,7 +6873,7 @@ var TemplateTypeCheckerImpl = class {
6825
6873
  return null;
6826
6874
  }
6827
6875
  const emitted = emittedRef.expression;
6828
- if (emitted instanceof WrappedNodeExpr) {
6876
+ if (emitted instanceof WrappedNodeExpr2) {
6829
6877
  if (refTo.node === inContext) {
6830
6878
  return null;
6831
6879
  }
@@ -7025,10 +7073,10 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
7025
7073
  }
7026
7074
  };
7027
7075
 
7028
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
7076
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
7029
7077
  import { Interpolation, PropertyRead as PropertyRead6 } from "@angular/compiler";
7030
7078
 
7031
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
7079
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
7032
7080
  import { ASTWithSource as ASTWithSource4, RecursiveAstVisitor as RecursiveAstVisitor3, TmplAstBoundDeferredTrigger as TmplAstBoundDeferredTrigger2 } from "@angular/compiler";
7033
7081
  var TemplateCheckWithVisitor = class {
7034
7082
  run(ctx, component, template) {
@@ -7152,7 +7200,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor3 {
7152
7200
  }
7153
7201
  };
7154
7202
 
7155
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
7203
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
7156
7204
  var InterpolatedSignalCheck = class extends TemplateCheckWithVisitor {
7157
7205
  constructor() {
7158
7206
  super(...arguments);
@@ -7187,7 +7235,7 @@ var factory = {
7187
7235
  create: () => new InterpolatedSignalCheck()
7188
7236
  };
7189
7237
 
7190
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
7238
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
7191
7239
  import { TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
7192
7240
  var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
7193
7241
  constructor() {
@@ -7213,7 +7261,7 @@ var factory2 = {
7213
7261
  create: () => new InvalidBananaInBoxCheck()
7214
7262
  };
7215
7263
 
7216
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
7264
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
7217
7265
  import { TmplAstTemplate as TmplAstTemplate4 } from "@angular/compiler";
7218
7266
  var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
7219
7267
  ["ngIf", { directive: "NgIf", builtIn: "@if" }],
@@ -7258,7 +7306,7 @@ var factory3 = {
7258
7306
  }
7259
7307
  };
7260
7308
 
7261
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
7309
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
7262
7310
  import { TmplAstTemplate as TmplAstTemplate5 } from "@angular/compiler";
7263
7311
  var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
7264
7312
  constructor() {
@@ -7291,7 +7339,7 @@ var factory4 = {
7291
7339
  create: () => new MissingNgForOfLetCheck()
7292
7340
  };
7293
7341
 
7294
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
7342
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
7295
7343
  import { Binary } from "@angular/compiler";
7296
7344
  import ts32 from "typescript";
7297
7345
  var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
@@ -7336,7 +7384,7 @@ var factory5 = {
7336
7384
  }
7337
7385
  };
7338
7386
 
7339
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
7387
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
7340
7388
  import { SafeCall as SafeCall2, SafeKeyedRead as SafeKeyedRead2, SafePropertyRead as SafePropertyRead5 } from "@angular/compiler";
7341
7389
  import ts33 from "typescript";
7342
7390
  var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
@@ -7382,7 +7430,7 @@ var factory6 = {
7382
7430
  }
7383
7431
  };
7384
7432
 
7385
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
7433
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
7386
7434
  import { TmplAstBoundAttribute as TmplAstBoundAttribute3 } from "@angular/compiler";
7387
7435
  var STYLE_SUFFIXES = ["px", "%", "em"];
7388
7436
  var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
@@ -7406,7 +7454,7 @@ var factory7 = {
7406
7454
  create: () => new SuffixNotSupportedCheck()
7407
7455
  };
7408
7456
 
7409
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
7457
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
7410
7458
  import { TmplAstTextAttribute as TmplAstTextAttribute4 } from "@angular/compiler";
7411
7459
  var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
7412
7460
  constructor() {
@@ -7445,10 +7493,10 @@ var factory8 = {
7445
7493
  create: () => new TextAttributeNotBindingSpec()
7446
7494
  };
7447
7495
 
7448
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
7496
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
7449
7497
  import ts34 from "typescript";
7450
7498
 
7451
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
7499
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
7452
7500
  var DiagnosticCategoryLabel;
7453
7501
  (function(DiagnosticCategoryLabel2) {
7454
7502
  DiagnosticCategoryLabel2["Warning"] = "warning";
@@ -7456,7 +7504,7 @@ var DiagnosticCategoryLabel;
7456
7504
  DiagnosticCategoryLabel2["Suppress"] = "suppress";
7457
7505
  })(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
7458
7506
 
7459
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
7507
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
7460
7508
  var ExtendedTemplateCheckerImpl = class {
7461
7509
  constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
7462
7510
  var _a, _b, _c, _d, _e;
@@ -7509,7 +7557,7 @@ function assertNever(value) {
7509
7557
  ${value}`);
7510
7558
  }
7511
7559
 
7512
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
7560
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
7513
7561
  var ALL_DIAGNOSTIC_FACTORIES = [
7514
7562
  factory2,
7515
7563
  factory5,
@@ -7525,7 +7573,7 @@ var SUPPORTED_DIAGNOSTIC_NAMES = /* @__PURE__ */ new Set([
7525
7573
  ...ALL_DIAGNOSTIC_FACTORIES.map((factory9) => factory9.name)
7526
7574
  ]);
7527
7575
 
7528
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
7576
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
7529
7577
  var CompilationTicketKind;
7530
7578
  (function(CompilationTicketKind2) {
7531
7579
  CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
@@ -8290,7 +8338,7 @@ function versionMapFromProgram(program, driver) {
8290
8338
  return versions;
8291
8339
  }
8292
8340
 
8293
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
8341
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
8294
8342
  import ts36 from "typescript";
8295
8343
  var DelegatingCompilerHost2 = class {
8296
8344
  get jsDocParsingMode() {
@@ -8429,7 +8477,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
8429
8477
  }
8430
8478
  };
8431
8479
 
8432
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
8480
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
8433
8481
  var NgtscProgram = class {
8434
8482
  constructor(rootNames, options, delegateHost, oldProgram) {
8435
8483
  this.options = options;
@@ -8656,15 +8704,15 @@ function mergeEmitResults(emitResults) {
8656
8704
  return { diagnostics, emitSkipped, emittedFiles };
8657
8705
  }
8658
8706
 
8659
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
8707
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
8660
8708
  function createProgram({ rootNames, options, host, oldProgram }) {
8661
8709
  return new NgtscProgram(rootNames, options, host, oldProgram);
8662
8710
  }
8663
8711
 
8664
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
8712
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
8665
8713
  import ts39 from "typescript";
8666
8714
 
8667
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
8715
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
8668
8716
  import ts38 from "typescript";
8669
8717
  function createMessageDiagnostic(messageText) {
8670
8718
  return {
@@ -8678,7 +8726,7 @@ function createMessageDiagnostic(messageText) {
8678
8726
  };
8679
8727
  }
8680
8728
 
8681
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
8729
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
8682
8730
  var defaultFormatHost = {
8683
8731
  getCurrentDirectory: () => ts39.sys.getCurrentDirectory(),
8684
8732
  getCanonicalFileName: (fileName) => fileName,
@@ -8891,4 +8939,4 @@ export {
8891
8939
  * Use of this source code is governed by an MIT-style license that can be
8892
8940
  * found in the LICENSE file at https://angular.io/license
8893
8941
  */
8894
- //# sourceMappingURL=chunk-DV5CKGO6.js.map
8942
+ //# sourceMappingURL=chunk-HQUXRCDO.js.map