@angular/compiler-cli 19.2.1 → 19.2.3

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-RQP5TAHR.js → chunk-2OGNON3Y.js} +5 -5
  2. package/bundles/{chunk-77D5CI2U.js → chunk-5UDS2TPQ.js} +7 -7
  3. package/bundles/{chunk-FKXFEX7K.js → chunk-GBKXY6BH.js} +3 -3
  4. package/bundles/{chunk-Q2WE7ECN.js → chunk-I6R3GL3L.js} +5 -5
  5. package/bundles/{chunk-OZ2WSYWM.js → chunk-KOIBHR3X.js} +42 -42
  6. package/bundles/{chunk-J7S5XIBF.js → chunk-RNO4EXM5.js} +31 -31
  7. package/bundles/{chunk-37JMVF7H.js → chunk-STORTTKY.js} +8 -8
  8. package/bundles/{chunk-GYTY2X5V.js → chunk-YEQZ4XY7.js} +12 -12
  9. package/bundles/{chunk-J2ZUZS7X.js → chunk-YNWO773W.js} +728 -696
  10. package/bundles/chunk-YNWO773W.js.map +6 -0
  11. package/bundles/{chunk-YDD3LCLX.js → chunk-Z4732XCW.js} +138 -107
  12. package/bundles/chunk-Z4732XCW.js.map +6 -0
  13. package/bundles/{chunk-ZWSJXDI6.js → chunk-ZSPLLTLI.js} +3 -3
  14. package/bundles/index.js +12 -12
  15. package/bundles/linker/babel/index.js +12 -12
  16. package/bundles/linker/index.js +4 -4
  17. package/bundles/ngcc/index.js +1 -1
  18. package/bundles/private/bazel.js +1 -1
  19. package/bundles/private/localize.js +3 -3
  20. package/bundles/private/migrations.js +6 -6
  21. package/bundles/private/tooling.js +6 -6
  22. package/bundles/src/bin/ng_xi18n.js +10 -10
  23. package/bundles/src/bin/ngc.js +8 -8
  24. package/bundles_metadata.json +1 -1
  25. package/linker/src/file_linker/partial_linkers/util.d.ts +1 -1
  26. package/package.json +2 -2
  27. package/private/migrations.d.ts +1 -1
  28. package/src/ngtsc/annotations/common/src/evaluation.d.ts +1 -1
  29. package/src/ngtsc/annotations/common/src/util.d.ts +19 -2
  30. package/src/ngtsc/annotations/component/src/metadata.d.ts +2 -2
  31. package/src/ngtsc/annotations/component/src/resources.d.ts +2 -2
  32. package/src/ngtsc/annotations/index.d.ts +1 -1
  33. package/src/ngtsc/core/api/src/options.d.ts +8 -0
  34. package/src/ngtsc/core/src/compiler.d.ts +3 -3
  35. package/src/ngtsc/docs/src/function_extractor.d.ts +1 -1
  36. package/src/ngtsc/hmr/src/update_declaration.d.ts +3 -2
  37. package/src/ngtsc/metadata/index.d.ts +1 -1
  38. package/src/ngtsc/metadata/src/resource_registry.d.ts +9 -8
  39. package/src/ngtsc/typecheck/api/api.d.ts +22 -24
  40. package/src/ngtsc/typecheck/api/checker.d.ts +3 -3
  41. package/src/ngtsc/typecheck/api/context.d.ts +26 -17
  42. package/src/ngtsc/typecheck/diagnostics/src/diagnostic.d.ts +2 -2
  43. package/src/ngtsc/typecheck/diagnostics/src/id.d.ts +2 -2
  44. package/src/ngtsc/typecheck/src/checker.d.ts +6 -6
  45. package/src/ngtsc/typecheck/src/completion.d.ts +2 -2
  46. package/src/ngtsc/typecheck/src/context.d.ts +24 -26
  47. package/src/ngtsc/typecheck/src/diagnostics.d.ts +5 -5
  48. package/src/ngtsc/typecheck/src/dom.d.ts +5 -5
  49. package/src/ngtsc/typecheck/src/oob.d.ts +41 -45
  50. package/src/ngtsc/typecheck/src/source.d.ts +11 -11
  51. package/src/ngtsc/typecheck/src/tcb_util.d.ts +15 -15
  52. package/src/ngtsc/typecheck/src/template_symbol_builder.d.ts +3 -3
  53. package/src/ngtsc/typecheck/src/type_check_block.d.ts +3 -3
  54. package/bundles/chunk-J2ZUZS7X.js.map +0 -6
  55. package/bundles/chunk-YDD3LCLX.js.map +0 -6
  56. /package/bundles/{chunk-RQP5TAHR.js.map → chunk-2OGNON3Y.js.map} +0 -0
  57. /package/bundles/{chunk-77D5CI2U.js.map → chunk-5UDS2TPQ.js.map} +0 -0
  58. /package/bundles/{chunk-FKXFEX7K.js.map → chunk-GBKXY6BH.js.map} +0 -0
  59. /package/bundles/{chunk-Q2WE7ECN.js.map → chunk-I6R3GL3L.js.map} +0 -0
  60. /package/bundles/{chunk-OZ2WSYWM.js.map → chunk-KOIBHR3X.js.map} +0 -0
  61. /package/bundles/{chunk-J7S5XIBF.js.map → chunk-RNO4EXM5.js.map} +0 -0
  62. /package/bundles/{chunk-37JMVF7H.js.map → chunk-STORTTKY.js.map} +0 -0
  63. /package/bundles/{chunk-GYTY2X5V.js.map → chunk-YEQZ4XY7.js.map} +0 -0
  64. /package/bundles/{chunk-ZWSJXDI6.js.map → chunk-ZSPLLTLI.js.map} +0 -0
@@ -4,7 +4,7 @@
4
4
 
5
5
  import {
6
6
  angularJitApplicationTransform
7
- } from "./chunk-GYTY2X5V.js";
7
+ } from "./chunk-YEQZ4XY7.js";
8
8
  import {
9
9
  CompilationMode,
10
10
  ComponentDecoratorHandler,
@@ -51,7 +51,7 @@ import {
51
51
  retagAllTsFiles,
52
52
  tryParseInitializerApi,
53
53
  untagAllTsFiles
54
- } from "./chunk-J2ZUZS7X.js";
54
+ } from "./chunk-YNWO773W.js";
55
55
  import {
56
56
  AbsoluteModuleStrategy,
57
57
  AliasStrategy,
@@ -87,14 +87,14 @@ import {
87
87
  relativePathBetween,
88
88
  replaceTsWithNgInErrors,
89
89
  toUnredirectedSourceFile
90
- } from "./chunk-OZ2WSYWM.js";
90
+ } from "./chunk-KOIBHR3X.js";
91
91
  import {
92
92
  ActivePerfRecorder,
93
93
  DelegatingPerfRecorder,
94
94
  PerfCheckpoint,
95
95
  PerfEvent,
96
96
  PerfPhase
97
- } from "./chunk-Q2WE7ECN.js";
97
+ } from "./chunk-I6R3GL3L.js";
98
98
  import {
99
99
  LogicalFileSystem,
100
100
  absoluteFrom,
@@ -104,9 +104,9 @@ import {
104
104
  getFileSystem,
105
105
  join,
106
106
  resolve
107
- } from "./chunk-37JMVF7H.js";
107
+ } from "./chunk-STORTTKY.js";
108
108
 
109
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
109
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
110
110
  var DEFAULT_ERROR_CODE = 100;
111
111
  var UNKNOWN_ERROR_CODE = 500;
112
112
  var SOURCE = "angular";
@@ -124,7 +124,7 @@ var EmitFlags;
124
124
  EmitFlags2[EmitFlags2["All"] = 31] = "All";
125
125
  })(EmitFlags || (EmitFlags = {}));
126
126
 
127
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
127
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
128
128
  import ts from "typescript";
129
129
  var wrapHostForTest = null;
130
130
  function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, true) }) {
@@ -134,7 +134,7 @@ function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, t
134
134
  return tsHost;
135
135
  }
136
136
 
137
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/entities.mjs
137
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/entities.mjs
138
138
  var EntryType;
139
139
  (function(EntryType2) {
140
140
  EntryType2["Block"] = "block";
@@ -181,23 +181,23 @@ function isDocEntryWithSourceInfo(entry) {
181
181
  return "source" in entry;
182
182
  }
183
183
 
184
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
184
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
185
185
  import ts12 from "typescript";
186
186
 
187
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
187
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
188
188
  import ts6 from "typescript";
189
189
 
190
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/filters.mjs
190
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/filters.mjs
191
191
  function isAngularPrivateName(name) {
192
192
  var _a;
193
193
  const firstChar = (_a = name[0]) != null ? _a : "";
194
194
  return firstChar === "\u0275" || firstChar === "_";
195
195
  }
196
196
 
197
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
197
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
198
198
  import ts4 from "typescript";
199
199
 
200
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/generics_extractor.mjs
200
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/generics_extractor.mjs
201
201
  function extractGenerics(declaration) {
202
202
  var _a, _b;
203
203
  return (_b = (_a = declaration.typeParameters) == null ? void 0 : _a.map((typeParam) => {
@@ -210,7 +210,7 @@ function extractGenerics(declaration) {
210
210
  })) != null ? _b : [];
211
211
  }
212
212
 
213
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/jsdoc_extractor.mjs
213
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/jsdoc_extractor.mjs
214
214
  import ts2 from "typescript";
215
215
  var decoratorExpression = /@(?=(Injectable|Component|Directive|Pipe|NgModule|Input|Output|HostBinding|HostListener|Inject|Optional|Self|Host|SkipSelf|ViewChild|ViewChildren|ContentChild|ContentChildren))/g;
216
216
  function extractJsDocTags(node) {
@@ -254,13 +254,13 @@ function unescapeAngularDecorators(comment) {
254
254
  return comment.replace(/_NG_AT_/g, "@");
255
255
  }
256
256
 
257
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_extractor.mjs
257
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_extractor.mjs
258
258
  import ts3 from "typescript";
259
259
  function extractResolvedTypeString(node, checker) {
260
260
  return checker.typeToString(checker.getTypeAtLocation(node), void 0, ts3.TypeFormatFlags.NoTruncation);
261
261
  }
262
262
 
263
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
263
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
264
264
  var FunctionExtractor = class {
265
265
  name;
266
266
  exportDeclaration;
@@ -280,7 +280,7 @@ var FunctionExtractor = class {
280
280
  ) : "unknown";
281
281
  const implementation = (_a = findImplementationOfFunction(this.exportDeclaration, this.typeChecker)) != null ? _a : this.exportDeclaration;
282
282
  const type = this.typeChecker.getTypeAtLocation(this.exportDeclaration);
283
- const overloads = extractCallSignatures(this.name, this.typeChecker, type);
283
+ const overloads = ts4.isConstructorDeclaration(this.exportDeclaration) ? constructorOverloads(this.exportDeclaration, this.typeChecker) : extractCallSignatures(this.name, this.typeChecker, type);
284
284
  const jsdocsTags = extractJsDocTags(implementation);
285
285
  const description = extractJsDocDescription(implementation);
286
286
  return {
@@ -305,6 +305,26 @@ var FunctionExtractor = class {
305
305
  };
306
306
  }
307
307
  };
308
+ function constructorOverloads(constructorDeclaration, typeChecker) {
309
+ const classDeclaration = constructorDeclaration.parent;
310
+ const constructorNode = classDeclaration.members.filter((member) => {
311
+ return ts4.isConstructorDeclaration(member) && !member.body;
312
+ });
313
+ return constructorNode.map((n) => {
314
+ var _a;
315
+ return {
316
+ name: "constructor",
317
+ params: extractAllParams(n.parameters, typeChecker),
318
+ returnType: (_a = typeChecker.getTypeAtLocation(classDeclaration)) == null ? void 0 : _a.symbol.name,
319
+ description: extractJsDocDescription(n),
320
+ entryType: EntryType.Function,
321
+ jsdocTags: extractJsDocTags(n),
322
+ rawComment: extractRawJsDoc(n),
323
+ generics: extractGenerics(n),
324
+ isNewType: false
325
+ };
326
+ });
327
+ }
308
328
  function extractAllParams(params, typeChecker) {
309
329
  return params.map((param) => ({
310
330
  name: param.name.getText(),
@@ -318,7 +338,7 @@ function filterSignatureDeclarations(signatures) {
318
338
  const result = [];
319
339
  for (const signature of signatures) {
320
340
  const decl = signature.getDeclaration();
321
- if (ts4.isFunctionDeclaration(decl) || ts4.isCallSignatureDeclaration(decl) || ts4.isMethodDeclaration(decl)) {
341
+ if (ts4.isFunctionDeclaration(decl) || ts4.isCallSignatureDeclaration(decl) || ts4.isMethodDeclaration(decl) || ts4.isConstructSignatureDeclaration(decl)) {
322
342
  result.push({ signature, decl });
323
343
  }
324
344
  }
@@ -351,7 +371,7 @@ function findImplementationOfFunction(node, typeChecker) {
351
371
  return implementation;
352
372
  }
353
373
 
354
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/internal.mjs
374
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/internal.mjs
355
375
  import ts5 from "typescript";
356
376
  function isInternal(member) {
357
377
  return extractJsDocTags(member).some((tag) => tag.name === "internal") || hasLeadingInternalComment(member);
@@ -370,7 +390,7 @@ function hasLeadingInternalComment(member) {
370
390
  )) != null ? _a : false;
371
391
  }
372
392
 
373
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
393
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
374
394
  var ClassExtractor = class {
375
395
  declaration;
376
396
  typeChecker;
@@ -411,6 +431,8 @@ var ClassExtractor = class {
411
431
  return this.extractClassProperty(memberDeclaration);
412
432
  } else if (ts6.isAccessor(memberDeclaration)) {
413
433
  return this.extractGetterSetter(memberDeclaration);
434
+ } else if (ts6.isConstructorDeclaration(memberDeclaration)) {
435
+ return this.extractConstructor(memberDeclaration);
414
436
  }
415
437
  return void 0;
416
438
  }
@@ -449,6 +471,14 @@ var ClassExtractor = class {
449
471
  memberType: ts6.isGetAccessor(accessor) ? MemberType.Getter : MemberType.Setter
450
472
  };
451
473
  }
474
+ extractConstructor(constructorDeclaration) {
475
+ const functionExtractor = new FunctionExtractor("constructor", constructorDeclaration, this.typeChecker);
476
+ return {
477
+ ...functionExtractor.extract(),
478
+ memberType: MemberType.Method,
479
+ memberTags: this.getMemberTags(constructorDeclaration)
480
+ };
481
+ }
452
482
  extractInheritance(declaration) {
453
483
  if (!declaration.heritageClauses) {
454
484
  return void 0;
@@ -493,14 +523,15 @@ var ClassExtractor = class {
493
523
  return result;
494
524
  }
495
525
  getMemberDeclarations() {
496
- var _a;
526
+ var _a, _b, _c;
497
527
  const type = this.typeChecker.getTypeAtLocation(this.declaration);
498
528
  const members = type.getProperties();
529
+ const constructor = (_b = (_a = type.getSymbol()) == null ? void 0 : _a.members) == null ? void 0 : _b.get(ts6.InternalSymbolName.Constructor);
499
530
  const typeOfConstructor = this.typeChecker.getTypeOfSymbol(type.symbol);
500
531
  const staticMembers = typeOfConstructor.getProperties();
501
532
  const result = [];
502
- for (const member of [...members, ...staticMembers]) {
503
- const memberDeclarations = this.filterMethodOverloads((_a = member.getDeclarations()) != null ? _a : []);
533
+ for (const member of [...constructor ? [constructor] : [], ...members, ...staticMembers]) {
534
+ const memberDeclarations = this.filterMethodOverloads((_c = member.getDeclarations()) != null ? _c : []);
504
535
  for (const memberDeclaration of memberDeclarations) {
505
536
  if (this.isDocumentableMember(memberDeclaration)) {
506
537
  result.push(memberDeclaration);
@@ -512,10 +543,10 @@ var ClassExtractor = class {
512
543
  filterMethodOverloads(declarations) {
513
544
  return declarations.filter((declaration, index) => {
514
545
  var _a;
515
- if (ts6.isFunctionDeclaration(declaration) || ts6.isMethodDeclaration(declaration)) {
546
+ if (ts6.isFunctionDeclaration(declaration) || ts6.isMethodDeclaration(declaration) || ts6.isConstructorDeclaration(declaration)) {
516
547
  const nextDeclaration = declarations[index + 1];
517
- const isNextAbstractMethodWithSameName = nextDeclaration && ts6.isMethodDeclaration(nextDeclaration) && nextDeclaration.name.getText() === ((_a = declaration.name) == null ? void 0 : _a.getText());
518
- return !isNextAbstractMethodWithSameName;
548
+ const isNextMethodWithSameName = nextDeclaration && (ts6.isMethodDeclaration(nextDeclaration) && nextDeclaration.name.getText() === ((_a = declaration.name) == null ? void 0 : _a.getText()) || ts6.isConstructorDeclaration(nextDeclaration) && ts6.isConstructorDeclaration(declaration));
549
+ return !isNextMethodWithSameName;
519
550
  }
520
551
  return true;
521
552
  });
@@ -545,10 +576,13 @@ var ClassExtractor = class {
545
576
  }
546
577
  isMemberExcluded(member) {
547
578
  var _a;
579
+ if (ts6.isConstructorDeclaration(member)) {
580
+ return false;
581
+ }
548
582
  return !member.name || !this.isDocumentableMember(member) || !ts6.isCallSignatureDeclaration(member) && ((_a = member.modifiers) == null ? void 0 : _a.some((mod) => mod.kind === ts6.SyntaxKind.PrivateKeyword)) || member.name.getText() === "prototype" || isAngularPrivateName(member.name.getText()) || isInternal(member);
549
583
  }
550
584
  isDocumentableMember(member) {
551
- return this.isMethod(member) || this.isProperty(member) || ts6.isAccessor(member) || ts6.isCallSignatureDeclaration(member);
585
+ return this.isMethod(member) || this.isProperty(member) || ts6.isAccessor(member) || ts6.isConstructorDeclaration(member) || ts6.isCallSignatureDeclaration(member);
552
586
  }
553
587
  isPublicConstructorParameterProperty(node) {
554
588
  if (ts6.isParameterPropertyDeclaration(node, node.parent) && node.modifiers) {
@@ -672,7 +706,7 @@ function extractInterface(declaration, typeChecker) {
672
706
  return extractor.extract();
673
707
  }
674
708
 
675
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/constant_extractor.mjs
709
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/constant_extractor.mjs
676
710
  import ts7 from "typescript";
677
711
  var LITERAL_AS_ENUM_TAG = "object-literal-as-enum";
678
712
  function extractConstant(declaration, typeChecker) {
@@ -730,7 +764,7 @@ function extractLiteralPropertiesAsEnumMembers(declaration) {
730
764
  });
731
765
  }
732
766
 
733
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/decorator_extractor.mjs
767
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/decorator_extractor.mjs
734
768
  import ts8 from "typescript";
735
769
  function extractorDecorator(declaration, typeChecker) {
736
770
  const documentedNode = getDecoratorJsDocNode(declaration);
@@ -803,7 +837,7 @@ function getDecoratorJsDocNode(declaration) {
803
837
  return callSignature;
804
838
  }
805
839
 
806
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/enum_extractor.mjs
840
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/enum_extractor.mjs
807
841
  import ts9 from "typescript";
808
842
  function extractEnum(declaration, typeChecker) {
809
843
  return {
@@ -834,7 +868,7 @@ function getEnumMemberValue(memberNode) {
834
868
  return (_a = literal == null ? void 0 : literal.getText()) != null ? _a : "";
835
869
  }
836
870
 
837
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/initializer_api_function_extractor.mjs
871
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/initializer_api_function_extractor.mjs
838
872
  import ts10 from "typescript";
839
873
  var initializerApiTag = "initializerApiFunction";
840
874
  function isInitializerApiFunction(node, typeChecker) {
@@ -943,7 +977,7 @@ function extractFunctionWithOverloads(name, type, typeChecker) {
943
977
  };
944
978
  }
945
979
 
946
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_alias_extractor.mjs
980
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_alias_extractor.mjs
947
981
  function extractTypeAlias(declaration) {
948
982
  return {
949
983
  name: declaration.name.getText(),
@@ -956,7 +990,7 @@ function extractTypeAlias(declaration) {
956
990
  };
957
991
  }
958
992
 
959
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/import_extractor.mjs
993
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/import_extractor.mjs
960
994
  import ts11 from "typescript";
961
995
  function getImportedSymbols(sourceFile) {
962
996
  const importSpecifiers = /* @__PURE__ */ new Map();
@@ -981,7 +1015,7 @@ function getImportedSymbols(sourceFile) {
981
1015
  return importSpecifiers;
982
1016
  }
983
1017
 
984
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
1018
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
985
1019
  var DocsExtractor = class {
986
1020
  typeChecker;
987
1021
  metadataReader;
@@ -1069,11 +1103,11 @@ function getRelativeFilePath(sourceFile, rootDir) {
1069
1103
  return relativePath;
1070
1104
  }
1071
1105
 
1072
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
1106
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
1073
1107
  import { HtmlParser, MessageBundle } from "@angular/compiler";
1074
1108
  import ts27 from "typescript";
1075
1109
 
1076
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
1110
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
1077
1111
  import { Xliff, Xliff2, Xmb } from "@angular/compiler";
1078
1112
  import * as path from "path";
1079
1113
  function i18nGetExtension(formatName) {
@@ -1124,10 +1158,10 @@ function getPathNormalizer(basePath) {
1124
1158
  };
1125
1159
  }
1126
1160
 
1127
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
1161
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
1128
1162
  import ts13 from "typescript";
1129
1163
 
1130
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
1164
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
1131
1165
  function toNumbers(value) {
1132
1166
  const suffixIndex = value.lastIndexOf("-");
1133
1167
  return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
@@ -1162,7 +1196,7 @@ function compareVersions(v1, v2) {
1162
1196
  return compareNumbers(toNumbers(v1), toNumbers(v2));
1163
1197
  }
1164
1198
 
1165
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
1199
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
1166
1200
  var MIN_TS_VERSION = "5.5.0";
1167
1201
  var MAX_TS_VERSION = "5.9.0";
1168
1202
  var tsVersion = ts13.version;
@@ -1175,11 +1209,11 @@ function verifySupportedTypeScriptVersion() {
1175
1209
  checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
1176
1210
  }
1177
1211
 
1178
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
1212
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
1179
1213
  import { R3Identifiers } from "@angular/compiler";
1180
1214
  import ts25 from "typescript";
1181
1215
 
1182
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
1216
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
1183
1217
  var CycleAnalyzer = class {
1184
1218
  importGraph;
1185
1219
  cachedResults = null;
@@ -1256,7 +1290,7 @@ var Cycle = class {
1256
1290
  }
1257
1291
  };
1258
1292
 
1259
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
1293
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
1260
1294
  import ts14 from "typescript";
1261
1295
  var ImportGraph = class {
1262
1296
  checker;
@@ -1352,7 +1386,7 @@ var Found = class {
1352
1386
  }
1353
1387
  };
1354
1388
 
1355
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
1389
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
1356
1390
  import ts15 from "typescript";
1357
1391
  var FlatIndexGenerator = class {
1358
1392
  entryPoint;
@@ -1380,7 +1414,7 @@ export * from '${relativeEntryPoint}';
1380
1414
  }
1381
1415
  };
1382
1416
 
1383
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
1417
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
1384
1418
  function findFlatIndexEntryPoint(rootFiles) {
1385
1419
  const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
1386
1420
  let resolvedEntryPoint = null;
@@ -1396,7 +1430,7 @@ function findFlatIndexEntryPoint(rootFiles) {
1396
1430
  return resolvedEntryPoint;
1397
1431
  }
1398
1432
 
1399
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
1433
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
1400
1434
  import ts16 from "typescript";
1401
1435
  function checkForPrivateExports(entryPoint, checker, refGraph) {
1402
1436
  const diagnostics = [];
@@ -1476,7 +1510,7 @@ function getDescriptorOfDeclaration(decl) {
1476
1510
  }
1477
1511
  }
1478
1512
 
1479
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
1513
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
1480
1514
  var ReferenceGraph = class {
1481
1515
  references = /* @__PURE__ */ new Map();
1482
1516
  add(from, to) {
@@ -1528,7 +1562,7 @@ var ReferenceGraph = class {
1528
1562
  }
1529
1563
  };
1530
1564
 
1531
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
1565
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
1532
1566
  var FileDependencyGraph = class {
1533
1567
  nodes = /* @__PURE__ */ new Map();
1534
1568
  addDependency(from, on) {
@@ -1593,7 +1627,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
1593
1627
  return false;
1594
1628
  }
1595
1629
 
1596
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
1630
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
1597
1631
  var IncrementalStateKind;
1598
1632
  (function(IncrementalStateKind2) {
1599
1633
  IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
@@ -1601,7 +1635,7 @@ var IncrementalStateKind;
1601
1635
  IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
1602
1636
  })(IncrementalStateKind || (IncrementalStateKind = {}));
1603
1637
 
1604
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
1638
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
1605
1639
  var PhaseKind;
1606
1640
  (function(PhaseKind2) {
1607
1641
  PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
@@ -1807,7 +1841,7 @@ function toOriginalSourceFile(sf) {
1807
1841
  }
1808
1842
  }
1809
1843
 
1810
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
1844
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
1811
1845
  var TrackedIncrementalBuildStrategy = class {
1812
1846
  state = null;
1813
1847
  isSet = false;
@@ -1841,7 +1875,7 @@ var PatchedProgramIncrementalBuildStrategy = class {
1841
1875
  };
1842
1876
  var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
1843
1877
 
1844
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
1878
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
1845
1879
  var IdentifierKind;
1846
1880
  (function(IdentifierKind2) {
1847
1881
  IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
@@ -1862,7 +1896,7 @@ var AbsoluteSourceSpan = class {
1862
1896
  }
1863
1897
  };
1864
1898
 
1865
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
1899
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
1866
1900
  var IndexingContext = class {
1867
1901
  components = /* @__PURE__ */ new Set();
1868
1902
  addComponent(info) {
@@ -1870,10 +1904,10 @@ var IndexingContext = class {
1870
1904
  }
1871
1905
  };
1872
1906
 
1873
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
1907
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
1874
1908
  import { ParseSourceFile } from "@angular/compiler";
1875
1909
 
1876
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
1910
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
1877
1911
  import { ASTWithSource, ImplicitReceiver, PropertyRead, PropertyWrite, RecursiveAstVisitor, TmplAstBoundDeferredTrigger, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate, TmplAstVariable } from "@angular/compiler";
1878
1912
  var ExpressionVisitor = class extends RecursiveAstVisitor {
1879
1913
  expressionStr;
@@ -2173,7 +2207,7 @@ function getTemplateIdentifiers(boundTemplate) {
2173
2207
  return { identifiers: visitor.identifiers, errors: visitor.errors };
2174
2208
  }
2175
2209
 
2176
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
2210
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
2177
2211
  function generateAnalysis(context) {
2178
2212
  const analysis = /* @__PURE__ */ new Map();
2179
2213
  context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
@@ -2209,7 +2243,7 @@ function generateAnalysis(context) {
2209
2243
  return analysis;
2210
2244
  }
2211
2245
 
2212
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
2246
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
2213
2247
  var NgModuleIndexImpl = class {
2214
2248
  metaReader;
2215
2249
  localReader;
@@ -2300,7 +2334,7 @@ var NgModuleIndexImpl = class {
2300
2334
  }
2301
2335
  };
2302
2336
 
2303
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
2337
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
2304
2338
  import ts17 from "typescript";
2305
2339
  var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
2306
2340
  var RESOURCE_MARKER = ".$ngresource$";
@@ -2458,7 +2492,7 @@ function createLookupResolutionHost(adapter) {
2458
2492
  };
2459
2493
  }
2460
2494
 
2461
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
2495
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
2462
2496
  var StandaloneComponentScopeReader = class {
2463
2497
  metaReader;
2464
2498
  localModuleReader;
@@ -2557,10 +2591,10 @@ var StandaloneComponentScopeReader = class {
2557
2591
  }
2558
2592
  };
2559
2593
 
2560
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
2594
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
2561
2595
  import { ASTWithSource as ASTWithSource3, BindingType, Interpolation, PropertyRead as PropertyRead2, TmplAstBoundAttribute } from "@angular/compiler";
2562
2596
 
2563
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/symbol_util.mjs
2597
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/symbol_util.mjs
2564
2598
  import ts18 from "typescript";
2565
2599
  var SIGNAL_FNS = /* @__PURE__ */ new Set([
2566
2600
  "WritableSignal",
@@ -2580,7 +2614,7 @@ function isSignalSymbol(symbol) {
2580
2614
  });
2581
2615
  }
2582
2616
 
2583
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
2617
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
2584
2618
  import { ASTWithSource as ASTWithSource2, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstBoundDeferredTrigger as TmplAstBoundDeferredTrigger2 } from "@angular/compiler";
2585
2619
  var TemplateCheckWithVisitor = class {
2586
2620
  canVisitStructuralAttributes = true;
@@ -2717,7 +2751,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor2 {
2717
2751
  }
2718
2752
  };
2719
2753
 
2720
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
2754
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
2721
2755
  var SIGNAL_INSTANCE_PROPERTIES = /* @__PURE__ */ new Set(["set", "update", "asReadonly"]);
2722
2756
  var FUNCTION_INSTANCE_PROPERTIES = /* @__PURE__ */ new Set(["name", "length", "prototype"]);
2723
2757
  var InterpolatedSignalCheck = class extends TemplateCheckWithVisitor {
@@ -2746,14 +2780,14 @@ function isSignalInstanceProperty(name) {
2746
2780
  function buildDiagnosticForSignal(ctx, node, component) {
2747
2781
  const symbol = ctx.templateTypeChecker.getSymbolOfNode(node, component);
2748
2782
  if (symbol !== null && symbol.kind === SymbolKind.Expression && isSignalReference(symbol)) {
2749
- const templateMapping = ctx.templateTypeChecker.getTemplateMappingAtTcbLocation(symbol.tcbLocation);
2783
+ const templateMapping = ctx.templateTypeChecker.getSourceMappingAtTcbLocation(symbol.tcbLocation);
2750
2784
  const errorString = `${node.name} is a function and should be invoked: ${node.name}()`;
2751
2785
  const diagnostic = ctx.makeTemplateDiagnostic(templateMapping.span, errorString);
2752
2786
  return [diagnostic];
2753
2787
  }
2754
2788
  const symbolOfReceiver = ctx.templateTypeChecker.getSymbolOfNode(node.receiver, component);
2755
2789
  if ((isFunctionInstanceProperty(node.name) || isSignalInstanceProperty(node.name)) && symbolOfReceiver !== null && symbolOfReceiver.kind === SymbolKind.Expression && isSignalReference(symbolOfReceiver)) {
2756
- const templateMapping = ctx.templateTypeChecker.getTemplateMappingAtTcbLocation(symbolOfReceiver.tcbLocation);
2790
+ const templateMapping = ctx.templateTypeChecker.getSourceMappingAtTcbLocation(symbolOfReceiver.tcbLocation);
2757
2791
  const errorString = `${node.receiver.name} is a function and should be invoked: ${node.receiver.name}()`;
2758
2792
  const diagnostic = ctx.makeTemplateDiagnostic(templateMapping.span, errorString);
2759
2793
  return [diagnostic];
@@ -2766,7 +2800,7 @@ var factory = {
2766
2800
  create: () => new InterpolatedSignalCheck()
2767
2801
  };
2768
2802
 
2769
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
2803
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
2770
2804
  import { TmplAstBoundEvent } from "@angular/compiler";
2771
2805
  var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
2772
2806
  code = ErrorCode.INVALID_BANANA_IN_BOX;
@@ -2789,7 +2823,7 @@ var factory2 = {
2789
2823
  create: () => new InvalidBananaInBoxCheck()
2790
2824
  };
2791
2825
 
2792
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
2826
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
2793
2827
  import { TmplAstTemplate as TmplAstTemplate2 } from "@angular/compiler";
2794
2828
  var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
2795
2829
  ["ngIf", { directive: "NgIf", builtIn: "@if" }],
@@ -2831,7 +2865,7 @@ var factory3 = {
2831
2865
  }
2832
2866
  };
2833
2867
 
2834
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
2868
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
2835
2869
  import { TmplAstTemplate as TmplAstTemplate3 } from "@angular/compiler";
2836
2870
  var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
2837
2871
  code = ErrorCode.MISSING_NGFOROF_LET;
@@ -2861,7 +2895,7 @@ var factory4 = {
2861
2895
  create: () => new MissingNgForOfLetCheck()
2862
2896
  };
2863
2897
 
2864
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
2898
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
2865
2899
  import { Binary } from "@angular/compiler";
2866
2900
  import ts19 from "typescript";
2867
2901
  var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
@@ -2884,7 +2918,7 @@ var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
2884
2918
  if (symbol.kind !== SymbolKind.Expression) {
2885
2919
  return [];
2886
2920
  }
2887
- const templateMapping = ctx.templateTypeChecker.getTemplateMappingAtTcbLocation(symbol.tcbLocation);
2921
+ const templateMapping = ctx.templateTypeChecker.getSourceMappingAtTcbLocation(symbol.tcbLocation);
2888
2922
  if (templateMapping === null) {
2889
2923
  return [];
2890
2924
  }
@@ -2904,7 +2938,7 @@ var factory5 = {
2904
2938
  }
2905
2939
  };
2906
2940
 
2907
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
2941
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
2908
2942
  import { SafeCall, SafeKeyedRead, SafePropertyRead } from "@angular/compiler";
2909
2943
  import ts20 from "typescript";
2910
2944
  var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
@@ -2927,7 +2961,7 @@ var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
2927
2961
  if (symbol.kind !== SymbolKind.Expression) {
2928
2962
  return [];
2929
2963
  }
2930
- const templateMapping = ctx.templateTypeChecker.getTemplateMappingAtTcbLocation(symbol.tcbLocation);
2964
+ const templateMapping = ctx.templateTypeChecker.getSourceMappingAtTcbLocation(symbol.tcbLocation);
2931
2965
  if (templateMapping === null) {
2932
2966
  return [];
2933
2967
  }
@@ -2948,7 +2982,7 @@ var factory6 = {
2948
2982
  }
2949
2983
  };
2950
2984
 
2951
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
2985
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
2952
2986
  import { TmplAstBoundAttribute as TmplAstBoundAttribute2 } from "@angular/compiler";
2953
2987
  var STYLE_SUFFIXES = ["px", "%", "em"];
2954
2988
  var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
@@ -2969,7 +3003,7 @@ var factory7 = {
2969
3003
  create: () => new SuffixNotSupportedCheck()
2970
3004
  };
2971
3005
 
2972
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
3006
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
2973
3007
  import { TmplAstTextAttribute } from "@angular/compiler";
2974
3008
  var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
2975
3009
  code = ErrorCode.TEXT_ATTRIBUTE_NOT_BINDING;
@@ -3005,7 +3039,7 @@ var factory8 = {
3005
3039
  create: () => new TextAttributeNotBindingSpec()
3006
3040
  };
3007
3041
 
3008
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/uninvoked_function_in_event_binding/index.mjs
3042
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/uninvoked_function_in_event_binding/index.mjs
3009
3043
  import { ASTWithSource as ASTWithSource4, Call, Chain, Conditional, ParsedEventType, PropertyRead as PropertyRead3, SafeCall as SafeCall2, SafePropertyRead as SafePropertyRead2, TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
3010
3044
  var UninvokedFunctionInEventBindingSpec = class extends TemplateCheckWithVisitor {
3011
3045
  code = ErrorCode.UNINVOKED_FUNCTION_IN_EVENT_BINDING;
@@ -3054,7 +3088,7 @@ var factory9 = {
3054
3088
  create: () => new UninvokedFunctionInEventBindingSpec()
3055
3089
  };
3056
3090
 
3057
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/unused_let_declaration/index.mjs
3091
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/unused_let_declaration/index.mjs
3058
3092
  import { AST, ASTWithSource as ASTWithSource5, TmplAstLetDeclaration } from "@angular/compiler";
3059
3093
  var UnusedLetDeclarationCheck = class extends TemplateCheckWithVisitor {
3060
3094
  code = ErrorCode.UNUSED_LET_DECLARATION;
@@ -3096,7 +3130,7 @@ var factory10 = {
3096
3130
  create: () => new UnusedLetDeclarationCheck()
3097
3131
  };
3098
3132
 
3099
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/skip_hydration_not_static/index.mjs
3133
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/skip_hydration_not_static/index.mjs
3100
3134
  import { TmplAstBoundAttribute as TmplAstBoundAttribute3, TmplAstTextAttribute as TmplAstTextAttribute2 } from "@angular/compiler";
3101
3135
  var NG_SKIP_HYDRATION_ATTR_NAME = "ngSkipHydration";
3102
3136
  var NgSkipHydrationSpec = class extends TemplateCheckWithVisitor {
@@ -3122,10 +3156,10 @@ var factory11 = {
3122
3156
  create: () => new NgSkipHydrationSpec()
3123
3157
  };
3124
3158
 
3125
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
3159
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
3126
3160
  import ts21 from "typescript";
3127
3161
 
3128
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
3162
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
3129
3163
  var DiagnosticCategoryLabel;
3130
3164
  (function(DiagnosticCategoryLabel2) {
3131
3165
  DiagnosticCategoryLabel2["Warning"] = "warning";
@@ -3133,7 +3167,7 @@ var DiagnosticCategoryLabel;
3133
3167
  DiagnosticCategoryLabel2["Suppress"] = "suppress";
3134
3168
  })(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
3135
3169
 
3136
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
3170
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
3137
3171
  var ExtendedTemplateCheckerImpl = class {
3138
3172
  partialCtx;
3139
3173
  templateChecks;
@@ -3188,7 +3222,7 @@ function assertNever(value) {
3188
3222
  ${value}`);
3189
3223
  }
3190
3224
 
3191
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
3225
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
3192
3226
  var ALL_DIAGNOSTIC_FACTORIES = [
3193
3227
  factory2,
3194
3228
  factory5,
@@ -3208,7 +3242,7 @@ var SUPPORTED_DIAGNOSTIC_NAMES = /* @__PURE__ */ new Set([
3208
3242
  ...ALL_DIAGNOSTIC_FACTORIES.map((factory12) => factory12.name)
3209
3243
  ]);
3210
3244
 
3211
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/template_semantics/src/template_semantics_checker.mjs
3245
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/template_semantics/src/template_semantics_checker.mjs
3212
3246
  import { ASTWithSource as ASTWithSource6, ImplicitReceiver as ImplicitReceiver2, ParsedEventType as ParsedEventType2, RecursiveAstVisitor as RecursiveAstVisitor3, TmplAstBoundEvent as TmplAstBoundEvent3, TmplAstLetDeclaration as TmplAstLetDeclaration2, TmplAstRecursiveVisitor as TmplAstRecursiveVisitor2, TmplAstVariable as TmplAstVariable2 } from "@angular/compiler";
3213
3247
  import ts22 from "typescript";
3214
3248
  var TemplateSemanticsCheckerImpl = class {
@@ -3304,7 +3338,7 @@ function unwrapAstWithSource(ast) {
3304
3338
  return ast instanceof ASTWithSource6 ? ast.ast : ast;
3305
3339
  }
3306
3340
 
3307
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/rules/initializer_api_usage_rule.mjs
3341
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/rules/initializer_api_usage_rule.mjs
3308
3342
  import ts23 from "typescript";
3309
3343
  var APIS_TO_CHECK = [
3310
3344
  INPUT_INITIALIZER_FN,
@@ -3357,7 +3391,7 @@ var InitializerApiUsageRule = class {
3357
3391
  }
3358
3392
  };
3359
3393
 
3360
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/rules/unused_standalone_imports_rule.mjs
3394
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/rules/unused_standalone_imports_rule.mjs
3361
3395
  import ts24 from "typescript";
3362
3396
  var UnusedStandaloneImportsRule = class {
3363
3397
  templateTypeChecker;
@@ -3449,10 +3483,10 @@ function closestNode(start, predicate) {
3449
3483
  return null;
3450
3484
  }
3451
3485
 
3452
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/config.mjs
3486
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/config.mjs
3453
3487
  var UNUSED_STANDALONE_IMPORTS_RULE_ENABLED = true;
3454
3488
 
3455
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/source_file_validator.mjs
3489
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/source_file_validator.mjs
3456
3490
  var SourceFileValidator = class {
3457
3491
  rules;
3458
3492
  constructor(reflector, importedSymbolsTracker, templateTypeChecker, typeCheckingConfig) {
@@ -3494,7 +3528,7 @@ var SourceFileValidator = class {
3494
3528
  }
3495
3529
  };
3496
3530
 
3497
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/core_version.mjs
3531
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/core_version.mjs
3498
3532
  function coreHasSymbol(program, symbol) {
3499
3533
  const checker = program.getTypeChecker();
3500
3534
  for (const sf of program.getSourceFiles().filter(isMaybeCore)) {
@@ -3513,7 +3547,7 @@ function isMaybeCore(sf) {
3513
3547
  return sf.isDeclarationFile && sf.fileName.includes("@angular/core") && sf.fileName.endsWith("index.d.ts");
3514
3548
  }
3515
3549
 
3516
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/feature_detection.mjs
3550
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/feature_detection.mjs
3517
3551
  import semver from "semver";
3518
3552
  function coreVersionSupportsFeature(coreVersion, minVersion) {
3519
3553
  if (coreVersion === `0.0.0-${"PLACEHOLDER"}`) {
@@ -3522,7 +3556,7 @@ function coreVersionSupportsFeature(coreVersion, minVersion) {
3522
3556
  return semver.satisfies(coreVersion, minVersion, { includePrerelease: true });
3523
3557
  }
3524
3558
 
3525
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
3559
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
3526
3560
  var CompilationTicketKind;
3527
3561
  (function(CompilationTicketKind2) {
3528
3562
  CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
@@ -3774,16 +3808,13 @@ var NgCompiler = class {
3774
3808
  const { resourceRegistry } = this.ensureAnalyzed();
3775
3809
  return resourceRegistry.getComponentsWithStyle(resolve(styleFilePath));
3776
3810
  }
3777
- getComponentResources(classDecl) {
3811
+ getDirectiveResources(classDecl) {
3778
3812
  if (!isNamedClassDeclaration(classDecl)) {
3779
3813
  return null;
3780
3814
  }
3781
3815
  const { resourceRegistry } = this.ensureAnalyzed();
3782
3816
  const styles = resourceRegistry.getStyles(classDecl);
3783
3817
  const template = resourceRegistry.getTemplate(classDecl);
3784
- if (template === null) {
3785
- return null;
3786
- }
3787
3818
  return { styles, template };
3788
3819
  }
3789
3820
  getMeta(classDecl) {
@@ -4104,8 +4135,8 @@ var NgCompiler = class {
4104
4135
  return diagnostics;
4105
4136
  }
4106
4137
  makeCompilation() {
4107
- var _a, _b, _c, _d, _e, _f;
4108
- const isCore = isAngularCorePackage(this.inputProgram);
4138
+ var _a, _b, _c, _d, _e, _f, _g;
4139
+ const isCore = (_a = this.options._isAngularCoreCompilation) != null ? _a : isAngularCorePackage(this.inputProgram);
4109
4140
  let compilationMode = CompilationMode.FULL;
4110
4141
  if (!isCore) {
4111
4142
  switch (this.options.compilationMode) {
@@ -4179,16 +4210,16 @@ var NgCompiler = class {
4179
4210
  }
4180
4211
  const dtsTransforms = new DtsTransformRegistry();
4181
4212
  const resourceRegistry = new ResourceRegistry();
4182
- const deferredSymbolsTracker = new DeferredSymbolTracker(this.inputProgram.getTypeChecker(), (_a = this.options.onlyExplicitDeferDependencyImports) != null ? _a : false);
4213
+ const deferredSymbolsTracker = new DeferredSymbolTracker(this.inputProgram.getTypeChecker(), (_b = this.options.onlyExplicitDeferDependencyImports) != null ? _b : false);
4183
4214
  let localCompilationExtraImportsTracker = null;
4184
4215
  if (compilationMode === CompilationMode.LOCAL && this.options.generateExtraImportsInLocalMode) {
4185
4216
  localCompilationExtraImportsTracker = new LocalCompilationExtraImportsTracker(checker);
4186
4217
  }
4187
4218
  const cycleHandlingStrategy = compilationMode === CompilationMode.PARTIAL ? 1 : 0;
4188
4219
  const strictCtorDeps = this.options.strictInjectionParameters || false;
4189
- const supportJitMode = (_b = this.options["supportJitMode"]) != null ? _b : true;
4190
- const supportTestBed = (_c = this.options["supportTestBed"]) != null ? _c : true;
4191
- const externalRuntimeStyles = (_d = this.options["externalRuntimeStyles"]) != null ? _d : false;
4220
+ const supportJitMode = (_c = this.options["supportJitMode"]) != null ? _c : true;
4221
+ const supportTestBed = (_d = this.options["supportTestBed"]) != null ? _d : true;
4222
+ const externalRuntimeStyles = (_e = this.options["externalRuntimeStyles"]) != null ? _e : false;
4192
4223
  if (supportTestBed === false && compilationMode === CompilationMode.PARTIAL) {
4193
4224
  throw new Error('TestBed support ("supportTestBed" option) cannot be disabled in partial compilation mode.');
4194
4225
  }
@@ -4200,11 +4231,11 @@ var NgCompiler = class {
4200
4231
  }
4201
4232
  const jitDeclarationRegistry = new JitDeclarationRegistry();
4202
4233
  const handlers = [
4203
- new ComponentDecoratorHandler(reflector, evaluator, metaRegistry, metaReader, scopeReader, this.adapter, ngModuleScopeRegistry, typeCheckScopeRegistry, resourceRegistry, isCore, strictCtorDeps, this.resourceManager, this.adapter.rootDirs, this.options.preserveWhitespaces || false, this.options.i18nUseExternalIds !== false, this.options.enableI18nLegacyMessageIdFormat !== false, this.usePoisonedData, this.options.i18nNormalizeLineEndingsInICUs === true, this.moduleResolver, this.cycleAnalyzer, cycleHandlingStrategy, refEmitter, referencesRegistry, this.incrementalCompilation.depGraph, injectableRegistry, semanticDepGraphUpdater, this.closureCompilerEnabled, this.delegatingPerfRecorder, hostDirectivesResolver, importTracker, supportTestBed, compilationMode, deferredSymbolsTracker, !!this.options.forbidOrphanComponents, this.enableBlockSyntax, this.enableLetSyntax, externalRuntimeStyles, localCompilationExtraImportsTracker, jitDeclarationRegistry, (_e = this.options.i18nPreserveWhitespaceForLegacyExtraction) != null ? _e : true, !!this.options.strictStandalone, this.enableHmr, this.implicitStandaloneValue),
4234
+ new ComponentDecoratorHandler(reflector, evaluator, metaRegistry, metaReader, scopeReader, this.adapter, ngModuleScopeRegistry, typeCheckScopeRegistry, resourceRegistry, isCore, strictCtorDeps, this.resourceManager, this.adapter.rootDirs, this.options.preserveWhitespaces || false, this.options.i18nUseExternalIds !== false, this.options.enableI18nLegacyMessageIdFormat !== false, this.usePoisonedData, this.options.i18nNormalizeLineEndingsInICUs === true, this.moduleResolver, this.cycleAnalyzer, cycleHandlingStrategy, refEmitter, referencesRegistry, this.incrementalCompilation.depGraph, injectableRegistry, semanticDepGraphUpdater, this.closureCompilerEnabled, this.delegatingPerfRecorder, hostDirectivesResolver, importTracker, supportTestBed, compilationMode, deferredSymbolsTracker, !!this.options.forbidOrphanComponents, this.enableBlockSyntax, this.enableLetSyntax, externalRuntimeStyles, localCompilationExtraImportsTracker, jitDeclarationRegistry, (_f = this.options.i18nPreserveWhitespaceForLegacyExtraction) != null ? _f : true, !!this.options.strictStandalone, this.enableHmr, this.implicitStandaloneValue),
4204
4235
  new DirectiveDecoratorHandler(reflector, evaluator, metaRegistry, ngModuleScopeRegistry, metaReader, injectableRegistry, refEmitter, referencesRegistry, isCore, strictCtorDeps, semanticDepGraphUpdater, this.closureCompilerEnabled, this.delegatingPerfRecorder, importTracker, supportTestBed, compilationMode, jitDeclarationRegistry, !!this.options.strictStandalone, this.implicitStandaloneValue),
4205
4236
  new PipeDecoratorHandler(reflector, evaluator, metaRegistry, ngModuleScopeRegistry, injectableRegistry, isCore, this.delegatingPerfRecorder, supportTestBed, compilationMode, !!this.options.generateExtraImportsInLocalMode, !!this.options.strictStandalone, this.implicitStandaloneValue),
4206
4237
  new InjectableDecoratorHandler(reflector, evaluator, isCore, strictCtorDeps, injectableRegistry, this.delegatingPerfRecorder, supportTestBed, compilationMode),
4207
- new NgModuleDecoratorHandler(reflector, evaluator, metaReader, metaRegistry, ngModuleScopeRegistry, referencesRegistry, exportedProviderStatusResolver, semanticDepGraphUpdater, isCore, refEmitter, this.closureCompilerEnabled, (_f = this.options.onlyPublishPublicTypingsForNgModules) != null ? _f : false, injectableRegistry, this.delegatingPerfRecorder, supportTestBed, supportJitMode, compilationMode, localCompilationExtraImportsTracker, jitDeclarationRegistry)
4238
+ new NgModuleDecoratorHandler(reflector, evaluator, metaReader, metaRegistry, ngModuleScopeRegistry, referencesRegistry, exportedProviderStatusResolver, semanticDepGraphUpdater, isCore, refEmitter, this.closureCompilerEnabled, (_g = this.options.onlyPublishPublicTypingsForNgModules) != null ? _g : false, injectableRegistry, this.delegatingPerfRecorder, supportTestBed, supportJitMode, compilationMode, localCompilationExtraImportsTracker, jitDeclarationRegistry)
4208
4239
  ];
4209
4240
  const traitCompiler = new TraitCompiler(handlers, reflector, this.delegatingPerfRecorder, this.incrementalCompilation, this.options.compileNonExportedClasses !== false, compilationMode, dtsTransforms, semanticDepGraphUpdater, this.adapter);
4210
4241
  const notifyingDriver = new NotifyingProgramDriverWrapper(this.programDriver, (program) => {
@@ -4402,7 +4433,7 @@ function versionMapFromProgram(program, driver) {
4402
4433
  return versions;
4403
4434
  }
4404
4435
 
4405
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
4436
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
4406
4437
  import ts26 from "typescript";
4407
4438
  var DelegatingCompilerHost = class {
4408
4439
  delegate;
@@ -4576,7 +4607,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost {
4576
4607
  }
4577
4608
  };
4578
4609
 
4579
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
4610
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
4580
4611
  var NgtscProgram = class {
4581
4612
  options;
4582
4613
  compiler;
@@ -4807,15 +4838,15 @@ function mergeEmitResults(emitResults) {
4807
4838
  return { diagnostics, emitSkipped, emittedFiles };
4808
4839
  }
4809
4840
 
4810
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
4841
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
4811
4842
  function createProgram({ rootNames, options, host, oldProgram }) {
4812
4843
  return new NgtscProgram(rootNames, options, host, oldProgram);
4813
4844
  }
4814
4845
 
4815
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
4846
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
4816
4847
  import ts29 from "typescript";
4817
4848
 
4818
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
4849
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
4819
4850
  import ts28 from "typescript";
4820
4851
  function createMessageDiagnostic(messageText) {
4821
4852
  return {
@@ -4829,7 +4860,7 @@ function createMessageDiagnostic(messageText) {
4829
4860
  };
4830
4861
  }
4831
4862
 
4832
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
4863
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
4833
4864
  var defaultFormatHost = {
4834
4865
  getCurrentDirectory: () => ts29.sys.getCurrentDirectory(),
4835
4866
  getCanonicalFileName: (fileName) => fileName,
@@ -5062,4 +5093,4 @@ export {
5062
5093
  * Use of this source code is governed by an MIT-style license that can be
5063
5094
  * found in the LICENSE file at https://angular.dev/license
5064
5095
  */
5065
- //# sourceMappingURL=chunk-YDD3LCLX.js.map
5096
+ //# sourceMappingURL=chunk-Z4732XCW.js.map