@angular/compiler-cli 17.0.0-next.7 → 17.0.0-next.8

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 (55) hide show
  1. package/bundles/{chunk-PBDWVP2J.js → chunk-35SQ73FP.js} +687 -548
  2. package/bundles/chunk-35SQ73FP.js.map +6 -0
  3. package/bundles/{chunk-3NXCUQ44.js → chunk-5WC7IWWT.js} +8 -8
  4. package/bundles/{chunk-HJOPJLIM.js → chunk-BV3ZUD7T.js} +9 -8
  5. package/bundles/chunk-BV3ZUD7T.js.map +6 -0
  6. package/bundles/{chunk-GYHDNUIK.js → chunk-EKTJ7622.js} +7 -7
  7. package/bundles/{chunk-PYIYPY3X.js → chunk-EQ7Q3KIO.js} +30 -30
  8. package/bundles/{chunk-W3AMRN7J.js → chunk-JPBJE7OS.js} +5 -5
  9. package/bundles/{chunk-UHYH6BYB.js → chunk-JZC4T2RR.js} +1 -1
  10. package/bundles/{chunk-SBDNBITT.js → chunk-LYJKWJUC.js} +3 -3
  11. package/bundles/{chunk-C4TR4DIO.js → chunk-NNS2FLUN.js} +4 -4
  12. package/bundles/{chunk-PAPUMJUA.js → chunk-NVNYQX3M.js} +29 -27
  13. package/bundles/{chunk-PAPUMJUA.js.map → chunk-NVNYQX3M.js.map} +1 -1
  14. package/bundles/{chunk-CSOLWS7O.js → chunk-PCMLSPQF.js} +7 -7
  15. package/bundles/{chunk-I3FLXBLP.js → chunk-XXCMYI3O.js} +182 -147
  16. package/bundles/chunk-XXCMYI3O.js.map +6 -0
  17. package/bundles/index.js +13 -13
  18. package/bundles/linker/babel/index.js +13 -13
  19. package/bundles/linker/index.js +5 -5
  20. package/bundles/ngcc/index.js +1 -1
  21. package/bundles/private/bazel.js +1 -1
  22. package/bundles/private/localize.js +3 -3
  23. package/bundles/private/migrations.js +6 -6
  24. package/bundles/private/tooling.js +4 -4
  25. package/bundles/src/bin/ng_xi18n.js +11 -11
  26. package/bundles/src/bin/ngc.js +9 -9
  27. package/bundles_metadata.json +1 -1
  28. package/linker/src/file_linker/partial_linkers/util.d.ts +1 -1
  29. package/package.json +3 -3
  30. package/src/ngtsc/annotations/common/index.d.ts +1 -0
  31. package/src/ngtsc/annotations/common/src/debug_info.d.ts +10 -0
  32. package/src/ngtsc/annotations/common/src/util.d.ts +1 -1
  33. package/src/ngtsc/annotations/component/src/handler.d.ts +2 -1
  34. package/src/ngtsc/annotations/component/src/metadata.d.ts +2 -1
  35. package/src/ngtsc/core/api/src/public_options.d.ts +8 -0
  36. package/src/ngtsc/diagnostics/src/error_code.d.ts +9 -0
  37. package/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.d.ts +2 -1
  38. package/src/ngtsc/docs/src/entities.d.ts +5 -0
  39. package/src/ngtsc/docs/src/extractor.d.ts +4 -0
  40. package/src/ngtsc/docs/src/filters.d.ts +9 -0
  41. package/src/ngtsc/docs/src/function_extractor.d.ts +3 -0
  42. package/src/ngtsc/docs/src/type_alias_extractor.d.ts +18 -0
  43. package/src/ngtsc/perf/src/api.d.ts +7 -3
  44. package/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.d.ts +10 -0
  45. package/bundles/chunk-HJOPJLIM.js.map +0 -6
  46. package/bundles/chunk-I3FLXBLP.js.map +0 -6
  47. package/bundles/chunk-PBDWVP2J.js.map +0 -6
  48. /package/bundles/{chunk-3NXCUQ44.js.map → chunk-5WC7IWWT.js.map} +0 -0
  49. /package/bundles/{chunk-GYHDNUIK.js.map → chunk-EKTJ7622.js.map} +0 -0
  50. /package/bundles/{chunk-PYIYPY3X.js.map → chunk-EQ7Q3KIO.js.map} +0 -0
  51. /package/bundles/{chunk-W3AMRN7J.js.map → chunk-JPBJE7OS.js.map} +0 -0
  52. /package/bundles/{chunk-UHYH6BYB.js.map → chunk-JZC4T2RR.js.map} +0 -0
  53. /package/bundles/{chunk-SBDNBITT.js.map → chunk-LYJKWJUC.js.map} +0 -0
  54. /package/bundles/{chunk-C4TR4DIO.js.map → chunk-NNS2FLUN.js.map} +0 -0
  55. /package/bundles/{chunk-CSOLWS7O.js.map → chunk-PCMLSPQF.js.map} +0 -0
@@ -7,7 +7,7 @@ import {
7
7
  translateExpression,
8
8
  translateStatement,
9
9
  translateType
10
- } from "./chunk-3NXCUQ44.js";
10
+ } from "./chunk-5WC7IWWT.js";
11
11
  import {
12
12
  ClassMemberKind,
13
13
  ErrorCode,
@@ -30,18 +30,18 @@ import {
30
30
  reflectObjectLiteral,
31
31
  reflectTypeEntityToDeclaration,
32
32
  typeNodeToValueExpr
33
- } from "./chunk-PAPUMJUA.js";
33
+ } from "./chunk-NVNYQX3M.js";
34
34
  import {
35
35
  PerfEvent,
36
36
  PerfPhase
37
- } from "./chunk-HJOPJLIM.js";
37
+ } from "./chunk-BV3ZUD7T.js";
38
38
  import {
39
39
  absoluteFrom,
40
40
  absoluteFromSourceFile,
41
41
  relative
42
- } from "./chunk-CSOLWS7O.js";
42
+ } from "./chunk-PCMLSPQF.js";
43
43
 
44
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
44
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
45
45
  import { ExternalExpr, ParseLocation, ParseSourceFile, ParseSourceSpan, ReadPropExpr, WrappedNodeExpr } from "@angular/compiler";
46
46
  import ts from "typescript";
47
47
  function valueReferenceToExpression(valueRef) {
@@ -232,11 +232,14 @@ function createSourceSpan(node) {
232
232
  const parseSf = new ParseSourceFile(sf.getFullText(), sf.fileName);
233
233
  return new ParseSourceSpan(new ParseLocation(parseSf, startOffset, startLine + 1, startCol + 1), new ParseLocation(parseSf, endOffset, endLine + 1, endCol + 1));
234
234
  }
235
- function compileResults(fac, def, metadataStmt, propName, additionalFields, deferrableImports) {
235
+ function compileResults(fac, def, metadataStmt, propName, additionalFields, deferrableImports, debugInfo = null) {
236
236
  const statements = def.statements;
237
237
  if (metadataStmt !== null) {
238
238
  statements.push(metadataStmt);
239
239
  }
240
+ if (debugInfo !== null) {
241
+ statements.push(debugInfo);
242
+ }
240
243
  const results = [
241
244
  fac,
242
245
  {
@@ -283,7 +286,7 @@ function isAbstractClassDeclaration(clazz) {
283
286
  return ts.canHaveModifiers(clazz) && clazz.modifiers !== void 0 ? clazz.modifiers.some((mod) => mod.kind === ts.SyntaxKind.AbstractKeyword) : false;
284
287
  }
285
288
 
286
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
289
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
287
290
  var DynamicValue = class {
288
291
  constructor(node, reason, code) {
289
292
  this.node = node;
@@ -373,10 +376,10 @@ var DynamicValue = class {
373
376
  }
374
377
  };
375
378
 
376
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
379
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
377
380
  import ts2 from "typescript";
378
381
 
379
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
382
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
380
383
  var ResolvedModule = class {
381
384
  constructor(exports, evaluate) {
382
385
  this.exports = exports;
@@ -406,7 +409,7 @@ var EnumValue = class {
406
409
  var KnownFn = class {
407
410
  };
408
411
 
409
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
412
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
410
413
  var ArraySliceBuiltinFn = class extends KnownFn {
411
414
  constructor(lhs) {
412
415
  super();
@@ -458,14 +461,14 @@ var StringConcatBuiltinFn = class extends KnownFn {
458
461
  }
459
462
  };
460
463
 
461
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/synthetic.mjs
464
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/synthetic.mjs
462
465
  var SyntheticValue = class {
463
466
  constructor(value) {
464
467
  this.value = value;
465
468
  }
466
469
  };
467
470
 
468
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
471
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
469
472
  function literalBinaryOp(op) {
470
473
  return { op, literal: true };
471
474
  }
@@ -622,7 +625,7 @@ var StaticInterpreter = class {
622
625
  visitIdentifier(node, context) {
623
626
  const decl = this.host.getDeclarationOfIdentifier(node);
624
627
  if (decl === null) {
625
- if (getOriginalKeywordKind(node) === ts2.SyntaxKind.UndefinedKeyword) {
628
+ if (ts2.identifierToKeywordKind(node) === ts2.SyntaxKind.UndefinedKeyword) {
626
629
  return void 0;
627
630
  } else {
628
631
  if (this.dependencyTracker !== null && this.host.getImportOfIdentifier(node) !== null) {
@@ -916,11 +919,11 @@ var StaticInterpreter = class {
916
919
  }
917
920
  }
918
921
  visitBindingElement(node, context) {
919
- const path = [];
922
+ const path2 = [];
920
923
  let closestDeclaration = node;
921
924
  while (ts2.isBindingElement(closestDeclaration) || ts2.isArrayBindingPattern(closestDeclaration) || ts2.isObjectBindingPattern(closestDeclaration)) {
922
925
  if (ts2.isBindingElement(closestDeclaration)) {
923
- path.unshift(closestDeclaration);
926
+ path2.unshift(closestDeclaration);
924
927
  }
925
928
  closestDeclaration = closestDeclaration.parent;
926
929
  }
@@ -928,7 +931,7 @@ var StaticInterpreter = class {
928
931
  return DynamicValue.fromUnknown(node);
929
932
  }
930
933
  let value = this.visit(closestDeclaration.initializer, context);
931
- for (const element of path) {
934
+ for (const element of path2) {
932
935
  let key;
933
936
  if (ts2.isArrayBindingPattern(element.parent)) {
934
937
  key = element.parent.elements.indexOf(element);
@@ -951,8 +954,8 @@ var StaticInterpreter = class {
951
954
  if (ts2.isIdentifier(node) || ts2.isStringLiteral(node) || ts2.isNumericLiteral(node)) {
952
955
  return node.text;
953
956
  } else if (ts2.isComputedPropertyName(node)) {
954
- const literal2 = this.visitExpression(node.expression, context);
955
- return typeof literal2 === "string" ? literal2 : void 0;
957
+ const literal3 = this.visitExpression(node.expression, context);
958
+ return typeof literal3 === "string" ? literal3 : void 0;
956
959
  } else {
957
960
  return void 0;
958
961
  }
@@ -1042,11 +1045,8 @@ function owningModule(context, override = null) {
1042
1045
  return null;
1043
1046
  }
1044
1047
  }
1045
- function getOriginalKeywordKind(identifier) {
1046
- return typeof ts2.identifierToKeywordKind === "function" ? ts2.identifierToKeywordKind(identifier) : identifier.originalKeywordKind;
1047
- }
1048
1048
 
1049
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
1049
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
1050
1050
  var PartialEvaluator = class {
1051
1051
  constructor(host, checker, dependencyTracker) {
1052
1052
  this.host = host;
@@ -1066,7 +1066,7 @@ var PartialEvaluator = class {
1066
1066
  }
1067
1067
  };
1068
1068
 
1069
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
1069
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
1070
1070
  import ts3 from "typescript";
1071
1071
  function describeResolvedType(value, maxDepth = 1) {
1072
1072
  var _a, _b;
@@ -1196,11 +1196,11 @@ function getContainerNode(node) {
1196
1196
  return node.getSourceFile();
1197
1197
  }
1198
1198
 
1199
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
1199
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
1200
1200
  import { LiteralExpr, ReadPropExpr as ReadPropExpr2, WrappedNodeExpr as WrappedNodeExpr2 } from "@angular/compiler";
1201
1201
  import ts10 from "typescript";
1202
1202
 
1203
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
1203
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
1204
1204
  var CompilationMode;
1205
1205
  (function(CompilationMode2) {
1206
1206
  CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
@@ -1214,7 +1214,7 @@ var HandlerPrecedence;
1214
1214
  HandlerPrecedence2[HandlerPrecedence2["WEAK"] = 2] = "WEAK";
1215
1215
  })(HandlerPrecedence || (HandlerPrecedence = {}));
1216
1216
 
1217
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
1217
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
1218
1218
  import ts4 from "typescript";
1219
1219
  function aliasTransformFactory(exportStatements) {
1220
1220
  return () => {
@@ -1237,10 +1237,10 @@ function aliasTransformFactory(exportStatements) {
1237
1237
  };
1238
1238
  }
1239
1239
 
1240
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
1240
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
1241
1241
  import ts5 from "typescript";
1242
1242
 
1243
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
1243
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
1244
1244
  var TraitState;
1245
1245
  (function(TraitState2) {
1246
1246
  TraitState2[TraitState2["Pending"] = 0] = "Pending";
@@ -1297,7 +1297,7 @@ var TraitImpl = class {
1297
1297
  }
1298
1298
  };
1299
1299
 
1300
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
1300
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
1301
1301
  var TraitCompiler = class {
1302
1302
  constructor(handlers, reflector, perf, incrementalBuild, compileNonExportedClasses, compilationMode, dtsTransforms, semanticDepGraphUpdater, sourceFileTypeIdentifier) {
1303
1303
  this.handlers = handlers;
@@ -1745,10 +1745,10 @@ function containsErrors(diagnostics) {
1745
1745
  return diagnostics !== null && diagnostics.some((diag) => diag.category === ts5.DiagnosticCategory.Error);
1746
1746
  }
1747
1747
 
1748
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
1748
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
1749
1749
  import ts7 from "typescript";
1750
1750
 
1751
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
1751
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
1752
1752
  import ts6 from "typescript";
1753
1753
  function addImports(importManager, sf, extraStatements = []) {
1754
1754
  const addedImports = importManager.getAllImports(sf.fileName).map((i) => {
@@ -1784,7 +1784,7 @@ function isImportStatement(stmt) {
1784
1784
  return ts6.isImportDeclaration(stmt) || ts6.isImportEqualsDeclaration(stmt) || ts6.isNamespaceImport(stmt);
1785
1785
  }
1786
1786
 
1787
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
1787
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
1788
1788
  var DtsTransformRegistry = class {
1789
1789
  constructor() {
1790
1790
  this.ivyDeclarationTransforms = /* @__PURE__ */ new Map();
@@ -1931,11 +1931,11 @@ function markForEmitAsSingleLine(node) {
1931
1931
  ts7.forEachChild(node, markForEmitAsSingleLine);
1932
1932
  }
1933
1933
 
1934
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
1934
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
1935
1935
  import { ConstantPool } from "@angular/compiler";
1936
1936
  import ts9 from "typescript";
1937
1937
 
1938
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
1938
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
1939
1939
  import ts8 from "typescript";
1940
1940
  function visit(node, visitor, context) {
1941
1941
  return visitor._visit(node, context);
@@ -1996,7 +1996,7 @@ var Visitor = class {
1996
1996
  }
1997
1997
  };
1998
1998
 
1999
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
1999
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
2000
2000
  var NO_DECORATORS = /* @__PURE__ */ new Set();
2001
2001
  var CLOSURE_FILE_OVERVIEW_REGEXP = /\s+@fileoverview\s+/i;
2002
2002
  function ivyTransformFactory(compilation, reflector, importRewriter, defaultImportTracker, perf, isCore, isClosureCompilerEnabled) {
@@ -2220,7 +2220,7 @@ function nodeArrayFromDecoratorsArray(decorators) {
2220
2220
  return array;
2221
2221
  }
2222
2222
 
2223
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
2223
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
2224
2224
  function getConstructorDependencies(clazz, reflector, isCore, compilationMode) {
2225
2225
  const deps = [];
2226
2226
  const errors = [];
@@ -2237,14 +2237,7 @@ function getConstructorDependencies(clazz, reflector, isCore, compilationMode) {
2237
2237
  if (compilationMode === CompilationMode.LOCAL && param.typeValueReference.kind === 2 && param.typeValueReference.reason.kind !== 0) {
2238
2238
  const typeNode = param.typeValueReference.reason.typeNode;
2239
2239
  if (ts10.isTypeReferenceNode(typeNode)) {
2240
- if (ts10.isIdentifier(typeNode.typeName)) {
2241
- token = new WrappedNodeExpr2(typeNode.typeName);
2242
- } else if (ts10.isQualifiedName(typeNode.typeName)) {
2243
- const receiver = new WrappedNodeExpr2(typeNode.typeName.left);
2244
- token = new ReadPropExpr2(receiver, typeNode.typeName.right.getText());
2245
- } else {
2246
- throw new Error("Impossible state!");
2247
- }
2240
+ token = toQualifiedExpression(typeNode.typeName);
2248
2241
  }
2249
2242
  } else {
2250
2243
  token = valueReferenceToExpression(param.typeValueReference);
@@ -2300,6 +2293,12 @@ function getConstructorDependencies(clazz, reflector, isCore, compilationMode) {
2300
2293
  return { deps: null, errors };
2301
2294
  }
2302
2295
  }
2296
+ function toQualifiedExpression(entity) {
2297
+ if (ts10.isIdentifier(entity)) {
2298
+ return new WrappedNodeExpr2(entity);
2299
+ }
2300
+ return new ReadPropExpr2(toQualifiedExpression(entity.left), entity.right.text);
2301
+ }
2303
2302
  function unwrapConstructorDependencies(deps) {
2304
2303
  if (deps === null) {
2305
2304
  return null;
@@ -2377,10 +2376,10 @@ function createUnsuitableInjectionTokenError(clazz, error) {
2377
2376
  return new FatalDiagnosticError(ErrorCode.PARAM_MISSING_TOKEN, param.nameNode, chain, hints);
2378
2377
  }
2379
2378
 
2380
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
2379
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
2381
2380
  import ts13 from "typescript";
2382
2381
 
2383
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
2382
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
2384
2383
  var MetaKind;
2385
2384
  (function(MetaKind2) {
2386
2385
  MetaKind2[MetaKind2["Directive"] = 0] = "Directive";
@@ -2393,10 +2392,10 @@ var MatchSource;
2393
2392
  MatchSource2[MatchSource2["HostDirective"] = 1] = "HostDirective";
2394
2393
  })(MatchSource || (MatchSource = {}));
2395
2394
 
2396
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
2395
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
2397
2396
  import ts12 from "typescript";
2398
2397
 
2399
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
2398
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
2400
2399
  var ClassPropertyMapping = class {
2401
2400
  constructor(forwardMap) {
2402
2401
  this.forwardMap = forwardMap;
@@ -2474,7 +2473,7 @@ function reverseMapFromForwardMap(forwardMap) {
2474
2473
  return reverseMap;
2475
2474
  }
2476
2475
 
2477
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
2476
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
2478
2477
  import ts11 from "typescript";
2479
2478
  function extractReferencesFromType(checker, def, bestGuessOwningModule) {
2480
2479
  if (!ts11.isTupleTypeNode(def)) {
@@ -2658,7 +2657,7 @@ function hasInjectableFields(clazz, host) {
2658
2657
  return members.some(({ isStatic, name }) => isStatic && (name === "\u0275prov" || name === "\u0275fac"));
2659
2658
  }
2660
2659
 
2661
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
2660
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
2662
2661
  var DtsMetadataReader = class {
2663
2662
  constructor(checker, reflector) {
2664
2663
  this.checker = checker;
@@ -2833,7 +2832,7 @@ function readHostDirectivesType(checker, type, bestGuessOwningModule) {
2833
2832
  return result.length > 0 ? result : null;
2834
2833
  }
2835
2834
 
2836
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
2835
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
2837
2836
  function flattenInheritedDirectiveMetadata(reader, dir) {
2838
2837
  const topMeta = reader.getDirectiveMetadata(dir);
2839
2838
  if (topMeta === null) {
@@ -2891,7 +2890,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
2891
2890
  };
2892
2891
  }
2893
2892
 
2894
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
2893
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
2895
2894
  var LocalMetadataRegistry = class {
2896
2895
  constructor() {
2897
2896
  this.directives = /* @__PURE__ */ new Map();
@@ -2948,7 +2947,7 @@ var CompoundMetadataRegistry = class {
2948
2947
  }
2949
2948
  };
2950
2949
 
2951
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
2950
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
2952
2951
  var ResourceRegistry = class {
2953
2952
  constructor() {
2954
2953
  this.externalTemplateToComponentsMap = /* @__PURE__ */ new Map();
@@ -2971,12 +2970,12 @@ var ResourceRegistry = class {
2971
2970
  }
2972
2971
  }
2973
2972
  registerTemplate(templateResource, component) {
2974
- const { path } = templateResource;
2975
- if (path !== null) {
2976
- if (!this.externalTemplateToComponentsMap.has(path)) {
2977
- this.externalTemplateToComponentsMap.set(path, /* @__PURE__ */ new Set());
2973
+ const { path: path2 } = templateResource;
2974
+ if (path2 !== null) {
2975
+ if (!this.externalTemplateToComponentsMap.has(path2)) {
2976
+ this.externalTemplateToComponentsMap.set(path2, /* @__PURE__ */ new Set());
2978
2977
  }
2979
- this.externalTemplateToComponentsMap.get(path).add(component);
2978
+ this.externalTemplateToComponentsMap.get(path2).add(component);
2980
2979
  }
2981
2980
  this.componentToTemplateMap.set(component, templateResource);
2982
2981
  }
@@ -2987,15 +2986,15 @@ var ResourceRegistry = class {
2987
2986
  return this.componentToTemplateMap.get(component);
2988
2987
  }
2989
2988
  registerStyle(styleResource, component) {
2990
- const { path } = styleResource;
2989
+ const { path: path2 } = styleResource;
2991
2990
  if (!this.componentToStylesMap.has(component)) {
2992
2991
  this.componentToStylesMap.set(component, /* @__PURE__ */ new Set());
2993
2992
  }
2994
- if (path !== null) {
2995
- if (!this.externalStyleToComponentsMap.has(path)) {
2996
- this.externalStyleToComponentsMap.set(path, /* @__PURE__ */ new Set());
2993
+ if (path2 !== null) {
2994
+ if (!this.externalStyleToComponentsMap.has(path2)) {
2995
+ this.externalStyleToComponentsMap.set(path2, /* @__PURE__ */ new Set());
2997
2996
  }
2998
- this.externalStyleToComponentsMap.get(path).add(component);
2997
+ this.externalStyleToComponentsMap.get(path2).add(component);
2999
2998
  }
3000
2999
  this.componentToStylesMap.get(component).add(styleResource);
3001
3000
  }
@@ -3013,7 +3012,7 @@ var ResourceRegistry = class {
3013
3012
  }
3014
3013
  };
3015
3014
 
3016
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/providers.mjs
3015
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/providers.mjs
3017
3016
  var ExportedProviderStatusResolver = class {
3018
3017
  constructor(metaReader) {
3019
3018
  this.metaReader = metaReader;
@@ -3057,7 +3056,7 @@ var ExportedProviderStatusResolver = class {
3057
3056
  }
3058
3057
  };
3059
3058
 
3060
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/host_directives_resolver.mjs
3059
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/host_directives_resolver.mjs
3061
3060
  var EMPTY_ARRAY = [];
3062
3061
  var HostDirectivesResolver = class {
3063
3062
  constructor(metaReader) {
@@ -3119,7 +3118,7 @@ function resolveOutput(bindingName) {
3119
3118
  return bindingName;
3120
3119
  }
3121
3120
 
3122
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
3121
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
3123
3122
  function makeDuplicateDeclarationError(node, data, kind) {
3124
3123
  const context = [];
3125
3124
  for (const decl of data) {
@@ -3315,7 +3314,7 @@ function getInheritedUndecoratedCtorDiagnostic(node, baseClass, kind) {
3315
3314
  return makeDiagnostic(ErrorCode.DIRECTIVE_INHERITS_UNDECORATED_CTOR, node.name, `The ${kind.toLowerCase()} ${node.name.text} inherits its constructor from ${baseClassName}, but the latter does not have an Angular decorator of its own. Dependency injection will not be able to resolve the parameters of ${baseClassName}'s constructor. Either add a @${baseNeedsDecorator} decorator to ${baseClassName}, or add an explicit constructor to ${node.name.text}.`);
3316
3315
  }
3317
3316
 
3318
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
3317
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
3319
3318
  import { ViewEncapsulation } from "@angular/compiler";
3320
3319
  import ts14 from "typescript";
3321
3320
  function resolveEnumValue(evaluator, metadata, field, enumSymbolName) {
@@ -3366,7 +3365,7 @@ function resolveLiteral(decorator, literalCache) {
3366
3365
  return meta;
3367
3366
  }
3368
3367
 
3369
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.mjs
3368
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.mjs
3370
3369
  import { compileDeclareFactoryFunction, compileFactoryFunction } from "@angular/compiler";
3371
3370
  function compileNgFactoryDefField(metadata) {
3372
3371
  const res = compileFactoryFunction(metadata);
@@ -3389,7 +3388,7 @@ function compileDeclareFactory(metadata) {
3389
3388
  };
3390
3389
  }
3391
3390
 
3392
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/injectable_registry.mjs
3391
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/injectable_registry.mjs
3393
3392
  var InjectableClassRegistry = class {
3394
3393
  constructor(host, isCore) {
3395
3394
  this.host = host;
@@ -3415,7 +3414,7 @@ var InjectableClassRegistry = class {
3415
3414
  }
3416
3415
  };
3417
3416
 
3418
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
3417
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
3419
3418
  import { ArrowFunctionExpr, LiteralArrayExpr, LiteralExpr as LiteralExpr2, literalMap, WrappedNodeExpr as WrappedNodeExpr3 } from "@angular/compiler";
3420
3419
  import ts15 from "typescript";
3421
3420
  function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
@@ -3500,13 +3499,40 @@ function removeIdentifierReferences(node, names) {
3500
3499
  return result.transformed[0];
3501
3500
  }
3502
3501
 
3503
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.mjs
3502
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/debug_info.mjs
3503
+ import { literal as literal2, WrappedNodeExpr as WrappedNodeExpr4 } from "@angular/compiler";
3504
+ import * as path from "path";
3505
+ function extractClassDebugInfo(clazz, reflection, rootDirs, forbidOrphanRendering) {
3506
+ if (!reflection.isClass(clazz)) {
3507
+ return null;
3508
+ }
3509
+ const srcFile = clazz.getSourceFile();
3510
+ const srcFileMaybeRelativePath = computeRelativePathIfPossible(srcFile.fileName, rootDirs);
3511
+ return {
3512
+ type: new WrappedNodeExpr4(clazz.name),
3513
+ className: literal2(clazz.name.getText()),
3514
+ filePath: srcFileMaybeRelativePath ? literal2(srcFileMaybeRelativePath) : null,
3515
+ lineNumber: literal2(srcFile.getLineAndCharacterOfPosition(clazz.name.pos).line + 1),
3516
+ forbidOrphanRendering
3517
+ };
3518
+ }
3519
+ function computeRelativePathIfPossible(filePath, rootDirs) {
3520
+ for (const rootDir of rootDirs) {
3521
+ const rel = path.relative(rootDir, filePath);
3522
+ if (!rel.startsWith("..")) {
3523
+ return rel;
3524
+ }
3525
+ }
3526
+ return null;
3527
+ }
3528
+
3529
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.mjs
3504
3530
  var NoopReferencesRegistry = class {
3505
3531
  add(source, ...references) {
3506
3532
  }
3507
3533
  };
3508
3534
 
3509
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.mjs
3535
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.mjs
3510
3536
  import { CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA } from "@angular/compiler";
3511
3537
  function extractSchemas(rawExpr, evaluator, context) {
3512
3538
  const schemas = [];
@@ -3536,7 +3562,7 @@ function extractSchemas(rawExpr, evaluator, context) {
3536
3562
  return schemas;
3537
3563
  }
3538
3564
 
3539
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/input_transforms.mjs
3565
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/input_transforms.mjs
3540
3566
  import { outputAst } from "@angular/compiler";
3541
3567
  function compileInputTransformFields(inputs) {
3542
3568
  const extraFields = [];
@@ -3554,11 +3580,11 @@ function compileInputTransformFields(inputs) {
3554
3580
  return extraFields;
3555
3581
  }
3556
3582
 
3557
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
3558
- import { compileClassMetadata as compileClassMetadata3, compileComponentClassMetadata, compileComponentFromMetadata, compileDeclareClassMetadata as compileDeclareClassMetadata3, compileDeclareComponentFromMetadata, CssSelector as CssSelector2, DEFAULT_INTERPOLATION_CONFIG as DEFAULT_INTERPOLATION_CONFIG2, DomElementSchemaRegistry, FactoryTarget as FactoryTarget3, makeBindingParser as makeBindingParser2, R3TargetBinder, R3TemplateDependencyKind, SelectorMatcher as SelectorMatcher2, ViewEncapsulation as ViewEncapsulation2, WrappedNodeExpr as WrappedNodeExpr7 } from "@angular/compiler";
3583
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
3584
+ import { compileClassDebugInfo, compileClassMetadata as compileClassMetadata3, compileComponentClassMetadata, compileComponentFromMetadata, compileDeclareClassMetadata as compileDeclareClassMetadata3, compileDeclareComponentFromMetadata, CssSelector as CssSelector2, DEFAULT_INTERPOLATION_CONFIG as DEFAULT_INTERPOLATION_CONFIG2, DomElementSchemaRegistry, FactoryTarget as FactoryTarget3, makeBindingParser as makeBindingParser2, R3TargetBinder, R3TemplateDependencyKind, SelectorMatcher as SelectorMatcher2, ViewEncapsulation as ViewEncapsulation2, WrappedNodeExpr as WrappedNodeExpr8 } from "@angular/compiler";
3559
3585
  import ts24 from "typescript";
3560
3586
 
3561
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
3587
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
3562
3588
  import ts16 from "typescript";
3563
3589
  var SemanticSymbol = class {
3564
3590
  constructor(decl) {
@@ -3574,7 +3600,7 @@ function getSymbolIdentifier(decl) {
3574
3600
  return decl.name.text;
3575
3601
  }
3576
3602
 
3577
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
3603
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
3578
3604
  import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
3579
3605
  var OpaqueSymbol = class extends SemanticSymbol {
3580
3606
  isPublicApiAffected() {
@@ -3605,11 +3631,11 @@ var SemanticDepGraph = class {
3605
3631
  }
3606
3632
  return previousSymbol;
3607
3633
  }
3608
- getSymbolByName(path, identifier) {
3609
- if (!this.files.has(path)) {
3634
+ getSymbolByName(path2, identifier) {
3635
+ if (!this.files.has(path2)) {
3610
3636
  return null;
3611
3637
  }
3612
- const file = this.files.get(path);
3638
+ const file = this.files.get(path2);
3613
3639
  if (!file.has(identifier)) {
3614
3640
  return null;
3615
3641
  }
@@ -3717,10 +3743,10 @@ function getImportPath(expr) {
3717
3743
  }
3718
3744
  }
3719
3745
 
3720
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
3746
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
3721
3747
  import ts17 from "typescript";
3722
3748
 
3723
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
3749
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
3724
3750
  function isSymbolEqual(a, b) {
3725
3751
  if (a.decl === b.decl) {
3726
3752
  return true;
@@ -3770,7 +3796,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
3770
3796
  return true;
3771
3797
  }
3772
3798
 
3773
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
3799
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
3774
3800
  function extractSemanticTypeParameters(node) {
3775
3801
  if (!ts17.isClassDeclaration(node) || node.typeParameters === void 0) {
3776
3802
  return null;
@@ -3790,14 +3816,14 @@ function isTypeParameterEqual(a, b) {
3790
3816
  return a.hasGenericTypeBound === b.hasGenericTypeBound;
3791
3817
  }
3792
3818
 
3793
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
3819
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
3794
3820
  var ComponentScopeKind;
3795
3821
  (function(ComponentScopeKind2) {
3796
3822
  ComponentScopeKind2[ComponentScopeKind2["NgModule"] = 0] = "NgModule";
3797
3823
  ComponentScopeKind2[ComponentScopeKind2["Standalone"] = 1] = "Standalone";
3798
3824
  })(ComponentScopeKind || (ComponentScopeKind = {}));
3799
3825
 
3800
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.mjs
3826
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.mjs
3801
3827
  var CompoundComponentScopeReader = class {
3802
3828
  constructor(readers) {
3803
3829
  this.readers = readers;
@@ -3822,7 +3848,7 @@ var CompoundComponentScopeReader = class {
3822
3848
  }
3823
3849
  };
3824
3850
 
3825
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
3851
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
3826
3852
  var MetadataDtsModuleScopeResolver = class {
3827
3853
  constructor(dtsMetaReader, aliasingHost) {
3828
3854
  this.dtsMetaReader = dtsMetaReader;
@@ -3898,11 +3924,11 @@ var MetadataDtsModuleScopeResolver = class {
3898
3924
  }
3899
3925
  };
3900
3926
 
3901
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
3927
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
3902
3928
  import { ExternalExpr as ExternalExpr3 } from "@angular/compiler";
3903
3929
  import ts18 from "typescript";
3904
3930
 
3905
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.mjs
3931
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.mjs
3906
3932
  function getDiagnosticNode(ref, rawExpr) {
3907
3933
  return rawExpr !== null ? ref.getOriginForDiagnostics(rawExpr) : ref.node.name;
3908
3934
  }
@@ -3925,7 +3951,7 @@ function makeUnknownComponentImportDiagnostic(ref, rawExpr) {
3925
3951
  return makeDiagnostic(ErrorCode.COMPONENT_UNKNOWN_IMPORT, getDiagnosticNode(ref, rawExpr), `Component imports must be standalone components, directives, pipes, or must be NgModules.`);
3926
3952
  }
3927
3953
 
3928
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
3954
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
3929
3955
  var LocalModuleScopeRegistry = class {
3930
3956
  constructor(localReader, fullReader, dependencyScopeReader, refEmitter, aliasingHost) {
3931
3957
  this.localReader = localReader;
@@ -4264,7 +4290,7 @@ function reexportCollision(module, refA, refB) {
4264
4290
  ]);
4265
4291
  }
4266
4292
 
4267
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
4293
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
4268
4294
  import { CssSelector, SelectorMatcher } from "@angular/compiler";
4269
4295
  import ts19 from "typescript";
4270
4296
  var TypeCheckScopeRegistry = class {
@@ -4333,11 +4359,11 @@ var TypeCheckScopeRegistry = class {
4333
4359
  }
4334
4360
  };
4335
4361
 
4336
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
4337
- import { compileClassMetadata, compileDeclareClassMetadata, compileDeclareDirectiveFromMetadata, compileDirectiveFromMetadata, FactoryTarget, makeBindingParser, WrappedNodeExpr as WrappedNodeExpr5 } from "@angular/compiler";
4362
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
4363
+ import { compileClassMetadata, compileDeclareClassMetadata, compileDeclareDirectiveFromMetadata, compileDirectiveFromMetadata, FactoryTarget, makeBindingParser, WrappedNodeExpr as WrappedNodeExpr6 } from "@angular/compiler";
4338
4364
 
4339
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
4340
- import { createMayBeForwardRefExpression, emitDistinctChangesOnlyDefaultValue, ExternalExpr as ExternalExpr4, getSafePropertyAccessString, parseHostBindings, verifyHostBindings, WrappedNodeExpr as WrappedNodeExpr4 } from "@angular/compiler";
4365
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
4366
+ import { createMayBeForwardRefExpression, emitDistinctChangesOnlyDefaultValue, ExternalExpr as ExternalExpr4, getSafePropertyAccessString, parseHostBindings, verifyHostBindings, WrappedNodeExpr as WrappedNodeExpr5 } from "@angular/compiler";
4341
4367
  import ts20 from "typescript";
4342
4368
  var EMPTY_OBJECT = {};
4343
4369
  var QUERY_TYPES = /* @__PURE__ */ new Set([
@@ -4395,7 +4421,7 @@ function extractDirectiveMetadata(clazz, decorator, reflector, evaluator, refEmi
4395
4421
  }
4396
4422
  }
4397
4423
  const host = extractHostBindings(decoratedElements, evaluator, coreModule, directive);
4398
- const providers = directive.has("providers") ? new WrappedNodeExpr4(annotateForClosureCompiler ? wrapFunctionExpressionsInParens(directive.get("providers")) : directive.get("providers")) : null;
4424
+ const providers = directive.has("providers") ? new WrappedNodeExpr5(annotateForClosureCompiler ? wrapFunctionExpressionsInParens(directive.get("providers")) : directive.get("providers")) : null;
4399
4425
  const usesOnChanges = members.some((member) => !member.isStatic && member.kind === ClassMemberKind.Method && member.name === "ngOnChanges");
4400
4426
  let exportAs = null;
4401
4427
  if (directive.has("exportAs")) {
@@ -4479,7 +4505,7 @@ function extractQueryMetadata(exprNode, name, args, propertyName, reflector, eva
4479
4505
  let isStatic = false;
4480
4506
  let predicate = null;
4481
4507
  if (arg instanceof Reference || arg instanceof DynamicValue) {
4482
- predicate = createMayBeForwardRefExpression(new WrappedNodeExpr4(node), forwardReferenceTarget !== null ? 2 : 0);
4508
+ predicate = createMayBeForwardRefExpression(new WrappedNodeExpr5(node), forwardReferenceTarget !== null ? 2 : 0);
4483
4509
  } else if (typeof arg === "string") {
4484
4510
  predicate = [arg];
4485
4511
  } else if (isStringArrayOrDie(arg, `@${name} predicate`, node)) {
@@ -4497,7 +4523,7 @@ function extractQueryMetadata(exprNode, name, args, propertyName, reflector, eva
4497
4523
  }
4498
4524
  const options = reflectObjectLiteral(optionsExpr);
4499
4525
  if (options.has("read")) {
4500
- read = new WrappedNodeExpr4(options.get("read"));
4526
+ read = new WrappedNodeExpr5(options.get("read"));
4501
4527
  }
4502
4528
  if (options.has("descendants")) {
4503
4529
  const descendantsExpr = options.get("descendants");
@@ -4860,7 +4886,7 @@ function evaluateHostExpressionBindings(hostExpr, evaluator) {
4860
4886
  if (typeof value == "string") {
4861
4887
  hostMetadata[key] = value;
4862
4888
  } else if (value instanceof DynamicValue) {
4863
- hostMetadata[key] = new WrappedNodeExpr4(value.node);
4889
+ hostMetadata[key] = new WrappedNodeExpr5(value.node);
4864
4890
  } else {
4865
4891
  throw createValueHasWrongTypeError(hostExpr, value, `Decorator host metadata must be a string -> string object, but found unparseable value`);
4866
4892
  }
@@ -4921,11 +4947,11 @@ function toR3InputMetadata(mapping) {
4921
4947
  classPropertyName: mapping.classPropertyName,
4922
4948
  bindingPropertyName: mapping.bindingPropertyName,
4923
4949
  required: mapping.required,
4924
- transformFunction: mapping.transform !== null ? new WrappedNodeExpr4(mapping.transform.node) : null
4950
+ transformFunction: mapping.transform !== null ? new WrappedNodeExpr5(mapping.transform.node) : null
4925
4951
  };
4926
4952
  }
4927
4953
 
4928
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.mjs
4954
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.mjs
4929
4955
  var DirectiveSymbol = class extends SemanticSymbol {
4930
4956
  constructor(decl, selector, inputs, outputs, exportAs, typeCheckMeta, typeParameters) {
4931
4957
  super(decl);
@@ -5005,7 +5031,7 @@ function isBaseClassEqual(current, previous) {
5005
5031
  return isSymbolEqual(current, previous);
5006
5032
  }
5007
5033
 
5008
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
5034
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
5009
5035
  var FIELD_DECORATORS = [
5010
5036
  "Input",
5011
5037
  "Output",
@@ -5129,7 +5155,7 @@ var DirectiveDecoratorHandler = class {
5129
5155
  symbol.baseClass = this.semanticDepGraphUpdater.getSymbol(analysis.baseClass.node);
5130
5156
  }
5131
5157
  const diagnostics = [];
5132
- if (analysis.providersRequiringFactory !== null && analysis.meta.providers instanceof WrappedNodeExpr5) {
5158
+ if (analysis.providersRequiringFactory !== null && analysis.meta.providers instanceof WrappedNodeExpr6) {
5133
5159
  const providerDiagnostics = getProviderDiagnostics(analysis.providersRequiringFactory, analysis.meta.providers.node, this.injectableRegistry);
5134
5160
  diagnostics.push(...providerDiagnostics);
5135
5161
  }
@@ -5177,11 +5203,11 @@ var DirectiveDecoratorHandler = class {
5177
5203
  }
5178
5204
  };
5179
5205
 
5180
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
5181
- import { compileClassMetadata as compileClassMetadata2, compileDeclareClassMetadata as compileDeclareClassMetadata2, compileDeclareInjectorFromMetadata, compileDeclareNgModuleFromMetadata, compileInjector, compileNgModule, ExternalExpr as ExternalExpr5, FactoryTarget as FactoryTarget2, FunctionExpr, InvokeFunctionExpr, LiteralArrayExpr as LiteralArrayExpr2, R3Identifiers, R3NgModuleMetadataKind, R3SelectorScopeMode, ReturnStatement, WrappedNodeExpr as WrappedNodeExpr6 } from "@angular/compiler";
5206
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
5207
+ import { compileClassMetadata as compileClassMetadata2, compileDeclareClassMetadata as compileDeclareClassMetadata2, compileDeclareInjectorFromMetadata, compileDeclareNgModuleFromMetadata, compileInjector, compileNgModule, ExternalExpr as ExternalExpr5, FactoryTarget as FactoryTarget2, FunctionExpr, InvokeFunctionExpr, LiteralArrayExpr as LiteralArrayExpr2, R3Identifiers, R3NgModuleMetadataKind, R3SelectorScopeMode, ReturnStatement, WrappedNodeExpr as WrappedNodeExpr7 } from "@angular/compiler";
5182
5208
  import ts22 from "typescript";
5183
5209
 
5184
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
5210
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
5185
5211
  import ts21 from "typescript";
5186
5212
  function createModuleWithProvidersResolver(reflector, isCore) {
5187
5213
  function _reflectModuleFromTypeParam(type, node) {
@@ -5248,7 +5274,7 @@ function isResolvedModuleWithProviders(sv) {
5248
5274
  return typeof sv.value === "object" && sv.value != null && sv.value.hasOwnProperty("ngModule") && sv.value.hasOwnProperty("mwpCall");
5249
5275
  }
5250
5276
 
5251
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
5277
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
5252
5278
  var NgModuleSymbol = class extends SemanticSymbol {
5253
5279
  constructor(decl, hasProviders) {
5254
5280
  super(decl);
@@ -5416,7 +5442,7 @@ var NgModuleDecoratorHandler = class {
5416
5442
  if (ngModule.has("id")) {
5417
5443
  const idExpr = ngModule.get("id");
5418
5444
  if (!isModuleIdExpression(idExpr)) {
5419
- id = new WrappedNodeExpr6(idExpr);
5445
+ id = new WrappedNodeExpr7(idExpr);
5420
5446
  } else {
5421
5447
  const diag = makeDiagnostic(ErrorCode.WARN_NGMODULE_ID_UNNECESSARY, idExpr, `Using 'module.id' for NgModule.id is a common anti-pattern that is ignored by the Angular compiler.`);
5422
5448
  diag.category = ts22.DiagnosticCategory.Warning;
@@ -5445,10 +5471,10 @@ var NgModuleDecoratorHandler = class {
5445
5471
  ngModuleMetadata = {
5446
5472
  kind: R3NgModuleMetadataKind.Local,
5447
5473
  type,
5448
- bootstrapExpression: rawBootstrap ? new WrappedNodeExpr6(rawBootstrap) : null,
5449
- declarationsExpression: rawDeclarations ? new WrappedNodeExpr6(rawDeclarations) : null,
5450
- exportsExpression: rawExports ? new WrappedNodeExpr6(rawExports) : null,
5451
- importsExpression: rawImports ? new WrappedNodeExpr6(rawImports) : null,
5474
+ bootstrapExpression: rawBootstrap ? new WrappedNodeExpr7(rawBootstrap) : null,
5475
+ declarationsExpression: rawDeclarations ? new WrappedNodeExpr7(rawDeclarations) : null,
5476
+ exportsExpression: rawExports ? new WrappedNodeExpr7(rawExports) : null,
5477
+ importsExpression: rawImports ? new WrappedNodeExpr7(rawImports) : null,
5452
5478
  id,
5453
5479
  selectorScopeMode: R3SelectorScopeMode.SideEffect,
5454
5480
  schemas: []
@@ -5472,7 +5498,7 @@ var NgModuleDecoratorHandler = class {
5472
5498
  const rawProviders = ngModule.has("providers") ? ngModule.get("providers") : null;
5473
5499
  let wrappedProviders = null;
5474
5500
  if (rawProviders !== null && (!ts22.isArrayLiteralExpression(rawProviders) || rawProviders.elements.length > 0)) {
5475
- wrappedProviders = new WrappedNodeExpr6(this.annotateForClosureCompiler ? wrapFunctionExpressionsInParens(rawProviders) : rawProviders);
5501
+ wrappedProviders = new WrappedNodeExpr7(this.annotateForClosureCompiler ? wrapFunctionExpressionsInParens(rawProviders) : rawProviders);
5476
5502
  }
5477
5503
  const topLevelImports = [];
5478
5504
  if (this.compilationMode !== CompilationMode.LOCAL && ngModule.has("imports")) {
@@ -5514,10 +5540,10 @@ var NgModuleDecoratorHandler = class {
5514
5540
  }
5515
5541
  if (ts22.isArrayLiteralExpression(exp)) {
5516
5542
  if (exp.elements) {
5517
- injectorMetadata.imports.push(...exp.elements.map((n) => new WrappedNodeExpr6(n)));
5543
+ injectorMetadata.imports.push(...exp.elements.map((n) => new WrappedNodeExpr7(n)));
5518
5544
  }
5519
5545
  } else {
5520
- injectorMetadata.imports.push(new WrappedNodeExpr6(exp));
5546
+ injectorMetadata.imports.push(new WrappedNodeExpr7(exp));
5521
5547
  }
5522
5548
  }
5523
5549
  }
@@ -5590,7 +5616,7 @@ var NgModuleDecoratorHandler = class {
5590
5616
  };
5591
5617
  for (const topLevelImport of analysis.imports) {
5592
5618
  if (topLevelImport.hasModuleWithProviders) {
5593
- data.injectorImports.push(new WrappedNodeExpr6(topLevelImport.expression));
5619
+ data.injectorImports.push(new WrappedNodeExpr7(topLevelImport.expression));
5594
5620
  continue;
5595
5621
  }
5596
5622
  const refsToEmit = [];
@@ -5624,7 +5650,7 @@ var NgModuleDecoratorHandler = class {
5624
5650
  refsToEmit.push(ref);
5625
5651
  }
5626
5652
  if (refsToEmit.length === topLevelImport.resolvedReferences.length) {
5627
- data.injectorImports.push(new WrappedNodeExpr6(topLevelImport.expression));
5653
+ data.injectorImports.push(new WrappedNodeExpr7(topLevelImport.expression));
5628
5654
  } else {
5629
5655
  const context = node.getSourceFile();
5630
5656
  for (const ref of refsToEmit) {
@@ -5817,12 +5843,12 @@ function isSyntheticReference(ref) {
5817
5843
  return ref.synthetic;
5818
5844
  }
5819
5845
 
5820
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.mjs
5846
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.mjs
5821
5847
  function makeCyclicImportInfo(ref, type, cycle) {
5822
5848
  const name = ref.debugName || "(unknown)";
5823
- const path = cycle.getPath().map((sf) => sf.fileName).join(" -> ");
5849
+ const path2 = cycle.getPath().map((sf) => sf.fileName).join(" -> ");
5824
5850
  const message = `The ${type} '${name}' is used in the template but importing it would create a cycle: `;
5825
- return makeRelatedInformation(ref.node, message + path);
5851
+ return makeRelatedInformation(ref.node, message + path2);
5826
5852
  }
5827
5853
  function checkCustomElementSelectorForErrors(selector) {
5828
5854
  if (selector.includes(".") || selector.includes("[") && selector.includes("]")) {
@@ -5840,7 +5866,7 @@ function checkCustomElementSelectorForErrors(selector) {
5840
5866
  return null;
5841
5867
  }
5842
5868
 
5843
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
5869
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
5844
5870
  import { DEFAULT_INTERPOLATION_CONFIG, InterpolationConfig, ParseSourceFile as ParseSourceFile2, parseTemplate } from "@angular/compiler";
5845
5871
  import ts23 from "typescript";
5846
5872
  function getTemplateDeclarationNodeForError(declaration) {
@@ -6197,7 +6223,7 @@ function _extractTemplateStyleUrls(template) {
6197
6223
  return template.styleUrls.map((url) => ({ url, source: 1, nodeForError }));
6198
6224
  }
6199
6225
 
6200
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.mjs
6226
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.mjs
6201
6227
  var ComponentSymbol = class extends DirectiveSymbol {
6202
6228
  constructor() {
6203
6229
  super(...arguments);
@@ -6232,7 +6258,7 @@ var ComponentSymbol = class extends DirectiveSymbol {
6232
6258
  }
6233
6259
  };
6234
6260
 
6235
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.mjs
6261
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.mjs
6236
6262
  function collectAnimationNames(value, animationTriggerNames) {
6237
6263
  if (value instanceof Map) {
6238
6264
  const name = value.get("name");
@@ -6308,12 +6334,12 @@ function isLikelyModuleWithProviders(value) {
6308
6334
  return false;
6309
6335
  }
6310
6336
 
6311
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
6337
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
6312
6338
  var EMPTY_ARRAY2 = [];
6313
6339
  var isUsedDirective = (decl) => decl.kind === R3TemplateDependencyKind.Directive;
6314
6340
  var isUsedPipe = (decl) => decl.kind === R3TemplateDependencyKind.Pipe;
6315
6341
  var ComponentDecoratorHandler = class {
6316
- constructor(reflector, evaluator, metaRegistry, metaReader, scopeReader, dtsScopeReader, scopeRegistry, typeCheckScopeRegistry, resourceRegistry, isCore, strictCtorDeps, resourceLoader, rootDirs, defaultPreserveWhitespaces, i18nUseExternalIds, enableI18nLegacyMessageIdFormat, usePoisonedData, i18nNormalizeLineEndingsInICUs, moduleResolver, cycleAnalyzer, cycleHandlingStrategy, refEmitter, referencesRegistry, depTracker, injectableRegistry, semanticDepGraphUpdater, annotateForClosureCompiler, perf, hostDirectivesResolver, includeClassMetadata, compilationMode, deferredSymbolTracker) {
6342
+ constructor(reflector, evaluator, metaRegistry, metaReader, scopeReader, dtsScopeReader, scopeRegistry, typeCheckScopeRegistry, resourceRegistry, isCore, strictCtorDeps, resourceLoader, rootDirs, defaultPreserveWhitespaces, i18nUseExternalIds, enableI18nLegacyMessageIdFormat, usePoisonedData, i18nNormalizeLineEndingsInICUs, moduleResolver, cycleAnalyzer, cycleHandlingStrategy, refEmitter, referencesRegistry, depTracker, injectableRegistry, semanticDepGraphUpdater, annotateForClosureCompiler, perf, hostDirectivesResolver, includeClassMetadata, compilationMode, deferredSymbolTracker, forbidOrphanRendering) {
6317
6343
  this.reflector = reflector;
6318
6344
  this.evaluator = evaluator;
6319
6345
  this.metaRegistry = metaRegistry;
@@ -6346,6 +6372,7 @@ var ComponentDecoratorHandler = class {
6346
6372
  this.includeClassMetadata = includeClassMetadata;
6347
6373
  this.compilationMode = compilationMode;
6348
6374
  this.deferredSymbolTracker = deferredSymbolTracker;
6375
+ this.forbidOrphanRendering = forbidOrphanRendering;
6349
6376
  this.literalCache = /* @__PURE__ */ new Map();
6350
6377
  this.elementSchemaRegistry = new DomElementSchemaRegistry();
6351
6378
  this.preanalyzeTemplateCache = /* @__PURE__ */ new Map();
@@ -6431,13 +6458,13 @@ var ComponentDecoratorHandler = class {
6431
6458
  if (this.compilationMode !== CompilationMode.LOCAL) {
6432
6459
  changeDetection = resolveEnumValue(this.evaluator, component, "changeDetection", "ChangeDetectionStrategy");
6433
6460
  } else if (component.has("changeDetection")) {
6434
- changeDetection = new WrappedNodeExpr7(component.get("changeDetection"));
6461
+ changeDetection = new WrappedNodeExpr8(component.get("changeDetection"));
6435
6462
  }
6436
6463
  let animations = null;
6437
6464
  let animationTriggerNames = null;
6438
6465
  if (component.has("animations")) {
6439
6466
  const animationExpression = component.get("animations");
6440
- animations = new WrappedNodeExpr7(animationExpression);
6467
+ animations = new WrappedNodeExpr8(animationExpression);
6441
6468
  const animationsValue = this.evaluator.evaluate(animationExpression, animationTriggerResolver);
6442
6469
  animationTriggerNames = { includesDynamicAnimations: false, staticTriggerNames: [] };
6443
6470
  collectAnimationNames(animationsValue, animationTriggerNames);
@@ -6456,7 +6483,7 @@ var ComponentDecoratorHandler = class {
6456
6483
  if (component.has("viewProviders")) {
6457
6484
  const viewProviders = component.get("viewProviders");
6458
6485
  viewProvidersRequiringFactory = resolveProvidersRequiringFactory(viewProviders, this.reflector, this.evaluator);
6459
- wrappedViewProviders = new WrappedNodeExpr7(this.annotateForClosureCompiler ? wrapFunctionExpressionsInParens(viewProviders) : viewProviders);
6486
+ wrappedViewProviders = new WrappedNodeExpr8(this.annotateForClosureCompiler ? wrapFunctionExpressionsInParens(viewProviders) : viewProviders);
6460
6487
  }
6461
6488
  if (component.has("providers")) {
6462
6489
  providersRequiringFactory = resolveProvidersRequiringFactory(component.get("providers"), this.reflector, this.evaluator);
@@ -6592,10 +6619,16 @@ var ComponentDecoratorHandler = class {
6592
6619
  viewProviders: wrappedViewProviders,
6593
6620
  i18nUseExternalIds: this.i18nUseExternalIds,
6594
6621
  relativeContextFilePath,
6595
- rawImports: rawImports !== null ? new WrappedNodeExpr7(rawImports) : void 0
6622
+ rawImports: rawImports !== null ? new WrappedNodeExpr8(rawImports) : void 0
6596
6623
  },
6597
6624
  typeCheckMeta: extractDirectiveTypeCheckMeta(node, inputs, this.reflector),
6598
6625
  classMetadata: this.includeClassMetadata ? extractClassMetadata(node, this.reflector, this.isCore, this.annotateForClosureCompiler, (dec) => transformDecoratorResources(dec, component, styles, template)) : null,
6626
+ classDebugInfo: extractClassDebugInfo(
6627
+ node,
6628
+ this.reflector,
6629
+ this.rootDirs,
6630
+ this.forbidOrphanRendering
6631
+ ),
6599
6632
  template,
6600
6633
  providersRequiringFactory,
6601
6634
  viewProvidersRequiringFactory,
@@ -6875,11 +6908,11 @@ var ComponentDecoratorHandler = class {
6875
6908
  const standaloneDiagnostics = validateStandaloneImports(analysis.resolvedImports, analysis.rawImports, this.metaReader, this.scopeReader);
6876
6909
  diagnostics.push(...standaloneDiagnostics);
6877
6910
  }
6878
- if (analysis.providersRequiringFactory !== null && analysis.meta.providers instanceof WrappedNodeExpr7) {
6911
+ if (analysis.providersRequiringFactory !== null && analysis.meta.providers instanceof WrappedNodeExpr8) {
6879
6912
  const providerDiagnostics = getProviderDiagnostics(analysis.providersRequiringFactory, analysis.meta.providers.node, this.injectableRegistry);
6880
6913
  diagnostics.push(...providerDiagnostics);
6881
6914
  }
6882
- if (analysis.viewProvidersRequiringFactory !== null && analysis.meta.viewProviders instanceof WrappedNodeExpr7) {
6915
+ if (analysis.viewProvidersRequiringFactory !== null && analysis.meta.viewProviders instanceof WrappedNodeExpr8) {
6883
6916
  const viewProviderDiagnostics = getProviderDiagnostics(analysis.viewProvidersRequiringFactory, analysis.meta.viewProviders.node, this.injectableRegistry);
6884
6917
  diagnostics.push(...viewProviderDiagnostics);
6885
6918
  }
@@ -6950,13 +6983,14 @@ var ComponentDecoratorHandler = class {
6950
6983
  if (analysis.classMetadata) {
6951
6984
  const deferrableSymbols = new Set(deferrableTypes.keys());
6952
6985
  const rewrittenDecoratorsNode = removeIdentifierReferences(analysis.classMetadata.decorators.node, deferrableSymbols);
6953
- analysis.classMetadata.decorators = new WrappedNodeExpr7(rewrittenDecoratorsNode);
6986
+ analysis.classMetadata.decorators = new WrappedNodeExpr8(rewrittenDecoratorsNode);
6954
6987
  }
6955
6988
  const def = compileComponentFromMetadata(meta, pool, makeBindingParser2());
6956
6989
  const inputTransformFields = compileInputTransformFields(analysis.inputs);
6957
6990
  const classMetadata = analysis.classMetadata !== null ? compileComponentClassMetadata(analysis.classMetadata, deferrableTypes).toStmt() : null;
6991
+ const debugInfo = analysis.classDebugInfo !== null ? compileClassDebugInfo(analysis.classDebugInfo).toStmt() : null;
6958
6992
  const deferrableImports = this.deferredSymbolTracker.getDeferrableImportDecls();
6959
- return compileResults(fac, def, classMetadata, "\u0275cmp", inputTransformFields, deferrableImports);
6993
+ return compileResults(fac, def, classMetadata, "\u0275cmp", inputTransformFields, deferrableImports, debugInfo);
6960
6994
  }
6961
6995
  compilePartial(node, analysis, resolution) {
6962
6996
  if (analysis.template.errors !== null && analysis.template.errors.length > 0) {
@@ -6966,7 +7000,7 @@ var ComponentDecoratorHandler = class {
6966
7000
  content: analysis.template.content,
6967
7001
  sourceUrl: analysis.template.declaration.resolvedTemplateUrl,
6968
7002
  isInline: analysis.template.declaration.isInline,
6969
- inlineTemplateLiteralExpression: analysis.template.sourceMapping.type === "direct" ? new WrappedNodeExpr7(analysis.template.sourceMapping.node) : null
7003
+ inlineTemplateLiteralExpression: analysis.template.sourceMapping.type === "direct" ? new WrappedNodeExpr8(analysis.template.sourceMapping.node) : null
6970
7004
  };
6971
7005
  const meta = { ...analysis.meta, ...resolution };
6972
7006
  const fac = compileDeclareFactory(toFactoryMetadata(meta, FactoryTarget3.Component));
@@ -6990,7 +7024,8 @@ var ComponentDecoratorHandler = class {
6990
7024
  const def = compileComponentFromMetadata(meta, pool, makeBindingParser2());
6991
7025
  const inputTransformFields = compileInputTransformFields(analysis.inputs);
6992
7026
  const classMetadata = analysis.classMetadata !== null ? compileClassMetadata3(analysis.classMetadata).toStmt() : null;
6993
- return compileResults(fac, def, classMetadata, "\u0275cmp", inputTransformFields, null);
7027
+ const debugInfo = analysis.classDebugInfo !== null ? compileClassDebugInfo(analysis.classDebugInfo).toStmt() : null;
7028
+ return compileResults(fac, def, classMetadata, "\u0275cmp", inputTransformFields, null, debugInfo);
6994
7029
  }
6995
7030
  _checkForCyclicImport(importedFile, expr, origin) {
6996
7031
  const imported = resolveImportedFile(this.moduleResolver, importedFile, expr, origin);
@@ -7108,8 +7143,8 @@ function validateStandaloneImports(importRefs, importExpr, metaReader, scopeRead
7108
7143
  return diagnostics;
7109
7144
  }
7110
7145
 
7111
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
7112
- import { compileClassMetadata as compileClassMetadata4, compileDeclareClassMetadata as compileDeclareClassMetadata4, compileDeclareInjectableFromMetadata, compileInjectable, createMayBeForwardRefExpression as createMayBeForwardRefExpression2, FactoryTarget as FactoryTarget4, LiteralExpr as LiteralExpr3, WrappedNodeExpr as WrappedNodeExpr8 } from "@angular/compiler";
7146
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
7147
+ import { compileClassMetadata as compileClassMetadata4, compileDeclareClassMetadata as compileDeclareClassMetadata4, compileDeclareInjectableFromMetadata, compileInjectable, createMayBeForwardRefExpression as createMayBeForwardRefExpression2, FactoryTarget as FactoryTarget4, LiteralExpr as LiteralExpr3, WrappedNodeExpr as WrappedNodeExpr9 } from "@angular/compiler";
7113
7148
  import ts25 from "typescript";
7114
7149
  var InjectableDecoratorHandler = class {
7115
7150
  constructor(reflector, evaluator, isCore, strictCtorDeps, injectableRegistry, perf, includeClassMetadata, compilationMode, errorOnDuplicateProv = true) {
@@ -7246,7 +7281,7 @@ function extractInjectableMetadata(clazz, decorator, reflector) {
7246
7281
  result.useClass = getProviderExpression(meta.get("useClass"), reflector);
7247
7282
  result.deps = deps;
7248
7283
  } else if (meta.has("useFactory")) {
7249
- result.useFactory = new WrappedNodeExpr8(meta.get("useFactory"));
7284
+ result.useFactory = new WrappedNodeExpr9(meta.get("useFactory"));
7250
7285
  result.deps = deps;
7251
7286
  }
7252
7287
  return result;
@@ -7256,7 +7291,7 @@ function extractInjectableMetadata(clazz, decorator, reflector) {
7256
7291
  }
7257
7292
  function getProviderExpression(expression, reflector) {
7258
7293
  const forwardRefValue = tryUnwrapForwardRef(expression, reflector);
7259
- return createMayBeForwardRefExpression2(new WrappedNodeExpr8(forwardRefValue != null ? forwardRefValue : expression), forwardRefValue !== null ? 2 : 0);
7294
+ return createMayBeForwardRefExpression2(new WrappedNodeExpr9(forwardRefValue != null ? forwardRefValue : expression), forwardRefValue !== null ? 2 : 0);
7260
7295
  }
7261
7296
  function extractInjectableCtorDeps(clazz, meta, decorator, reflector, isCore, strictCtorDeps, compilationMode) {
7262
7297
  if (decorator.args === null) {
@@ -7285,7 +7320,7 @@ function requiresValidCtor(meta) {
7285
7320
  }
7286
7321
  function getDep(dep, reflector) {
7287
7322
  const meta = {
7288
- token: new WrappedNodeExpr8(dep),
7323
+ token: new WrappedNodeExpr9(dep),
7289
7324
  attributeNameType: null,
7290
7325
  host: false,
7291
7326
  optional: false,
@@ -7300,7 +7335,7 @@ function getDep(dep, reflector) {
7300
7335
  switch (source.name) {
7301
7336
  case "Inject":
7302
7337
  if (token !== void 0) {
7303
- meta.token = new WrappedNodeExpr8(token);
7338
+ meta.token = new WrappedNodeExpr9(token);
7304
7339
  }
7305
7340
  break;
7306
7341
  case "Optional":
@@ -7327,14 +7362,14 @@ function getDep(dep, reflector) {
7327
7362
  isDecorator = maybeUpdateDecorator(el.expression, reflector, token);
7328
7363
  }
7329
7364
  if (!isDecorator) {
7330
- meta.token = new WrappedNodeExpr8(el);
7365
+ meta.token = new WrappedNodeExpr9(el);
7331
7366
  }
7332
7367
  });
7333
7368
  }
7334
7369
  return meta;
7335
7370
  }
7336
7371
 
7337
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
7372
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
7338
7373
  import { compileClassMetadata as compileClassMetadata5, compileDeclareClassMetadata as compileDeclareClassMetadata5, compileDeclarePipeFromMetadata, compilePipeFromMetadata, FactoryTarget as FactoryTarget5 } from "@angular/compiler";
7339
7374
  import ts26 from "typescript";
7340
7375
  var PipeSymbol = class extends SemanticSymbol {
@@ -7486,14 +7521,14 @@ var PipeDecoratorHandler = class {
7486
7521
  }
7487
7522
  };
7488
7523
 
7489
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
7524
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
7490
7525
  var OptimizeFor;
7491
7526
  (function(OptimizeFor2) {
7492
7527
  OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
7493
7528
  OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
7494
7529
  })(OptimizeFor || (OptimizeFor = {}));
7495
7530
 
7496
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
7531
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
7497
7532
  var PotentialImportKind;
7498
7533
  (function(PotentialImportKind2) {
7499
7534
  PotentialImportKind2[PotentialImportKind2["NgModule"] = 0] = "NgModule";
@@ -7505,14 +7540,14 @@ var PotentialImportMode;
7505
7540
  PotentialImportMode2[PotentialImportMode2["ForceDirect"] = 1] = "ForceDirect";
7506
7541
  })(PotentialImportMode || (PotentialImportMode = {}));
7507
7542
 
7508
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
7543
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
7509
7544
  var CompletionKind;
7510
7545
  (function(CompletionKind2) {
7511
7546
  CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
7512
7547
  CompletionKind2[CompletionKind2["Variable"] = 1] = "Variable";
7513
7548
  })(CompletionKind || (CompletionKind = {}));
7514
7549
 
7515
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
7550
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
7516
7551
  var SymbolKind;
7517
7552
  (function(SymbolKind2) {
7518
7553
  SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
@@ -7580,4 +7615,4 @@ export {
7580
7615
  * Use of this source code is governed by an MIT-style license that can be
7581
7616
  * found in the LICENSE file at https://angular.io/license
7582
7617
  */
7583
- //# sourceMappingURL=chunk-I3FLXBLP.js.map
7618
+ //# sourceMappingURL=chunk-XXCMYI3O.js.map